Re: [Nagios-users] View all unhandled services and all unhandled hosts
On 24/06/09 13:30, Christoph Kluenter wrote: Hi, I want to see all unhandled service problems and all unhandled host problems on one page. I thought, this URL would do it: status.cgi?host=allservicestatustypes=28serviceprops=42hoststatustypes=12hostprops=42 I use status.cgi?host=alltype=detailhoststatustypes=6hostprops=10serviceprops=42servicestatustypes=60 It doesn't show Hosts without defined services, so all my hosts have the service PING defined., too. But it doesn't. It shows nothing instead of the down hosts and services I have. Any ideas ? Kind regards, Christoph -- BOFH excuse #3: electromagnetic radiation from satellite debris -- ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Multiple host service detail on one page
On 23/04/09 09:50, Nick Millen wrote: Hi All, I was wondering if anybody had anything place to see multiple hosts services on one page. For example I'm monitoring 3 individual exchange servers. I can add these to a hostgroup then check each individually : http://SERVER/nagios/cgi-bin/status.cgi?host=HOSTNAMEstyle=detail http://SERVER/nagios/cgi-bin/status.cgi?host=HOSTNAME2style=detail http://SERVER/nagios/cgi-bin/status.cgi?host=HOSTNAME3style=detail Is there any way to have 3 different host details such as the above but on one page ? So I can have a quick glance of exchange 1, 2 and 3 yes, put them in a group : http://SERVER/nagios/cgi-bin/status.cgi?hostgroup=EXCHANGESERVERSstyle=detail -- BOFH excuse #169: broadcast packets on wrong frequency -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Limit the alert notifications
On 16/04/09 17:33, Martyn wrote: Hi all I would like to change the email alerts per users if I may, is there a way of setting up so only 3 mails get sent to users A but only two mails to user B even if the fault is still there, if not per users then across the board. I have searched around but finding anything, not sure if I'm searching for the correct wording See the documentation under Notification Escalation http://nagios.sourceforge.net/docs/3_0/escalations.html Cheers Klaus -- BOFH excuse #261: The Usenet news is out of date -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Doubt about email notifications
On 14/04/09 07:29, Daniel Bareiro wrote: Hi all! Is there any variable where I can configure each how long are sent the email notifications for the services? At first I see that these are sent hourly. look for notification_interval in the documentation (I've set it to zero, so there is only one mail) On the other hand, I would like also to know if it is possible to define the maximum number of notifications that are sent. I read exist variables that allow to configure both things using escalations, although I do not have defined escalations. This can be defined with the Notification Escalations (see. the documentation about more) - Klaus -- BOFH excuse #179: multicasts on broken packets -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] .htpasswd login
On 23/03/09 12:55, Chris wrote: On Fri, Mar 20, 2009 at 5:08 PM, Klaus Umbach treibh...@sozial-inkompetent.de wrote: On 20/03/09 16:28, Chris wrote: Thanks. I have addedd AuthUserFile /etc/nagios/.htaccess to my /etc/apache2/conf.d/nagios.conf ScriptAlias /nagios/cgi-bin /usr/lib/nagios/cgi Directory /usr/lib/nagios/cgi Options ExecCGI AllowOverride None Order allow,deny Allow from all AuthName Nagios AuthType Basic AuthUserFile /etc/nagios/htpasswd.users AuthUserFile /etc/nagios/.htaccess ^ This can never work .htaccess is NOT a Userauthfile. Just do it as I wrote it in my example. Require valid-user /Directory Alias /nagios /usr/share/nagios Directory /usr/share/nagios Options None AllowOverride None Order allow,deny Allow from all AuthName Nagios AuthType Basic AuthUserFile /etc/nagios/htpasswd.users AuthUserFile /etc/nagios/.htaccess Require valid-user /Directory My /etc/nagios/.htaccess files look like this AuthName AD AuthType Basic AuthLDAPURL ldap://ad:389/ou=tree,dc=company,dc=com?sAMAccountName?sub AuthBasicProvider ldap AuthzLDAPAuthoritative off require valid-user I restarted apache2 and nagios, but now I can't login - neither as nagiosadmin nor as AD user. -- BOFH excuse #225: It's those computer people in X {city of world}. They keep stuffing things up. -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] .htpasswd login
On 20/03/09 16:28, Chris wrote: I like to implement .htpasswd so users can log in using their Active Directory user name and password to have a basic view of Nagios interface (as in a 'normal user') At the moment I have htpasswd.users with only one user - nagiosadmin. I would like to keep the nagiosadmin user to handle the admin. tasks. Everyone else will get a normal active directory login. You can use LDAP-authentication in Apache and file-based-authentication parallel. DirectoryMatch (/usr/share/nagios3/htdocs|/usr/lib/cgi-bin/) Options FollowSymLinks DirectoryIndex index.html AllowOverride AuthConfig Order Allow,Deny Allow From All AuthName Nagios Access AuthType Basic AuthUserFile /etc/nagios3/htpasswd.users # LDAP Auth AuthBasicProvider ldap file AuthzLDAPAuthoritative off AuthLDAPBindDN ACCOUNT AuthLDAPBindPassword PASSWORD AuthLDAPURL ldap://dc.foobar.de:389/ou=test,dc=foo,dc=bar,dc=de?sAMAccountName?sub?(ObjectClass=*) require valid-user /DirectoryMatch BUT all your AD-users need to be a defined contact in your Nagios configuration and one little stupid thing is: the AD doesn't care for case-sensitivity while Apache/Nagios do. So John, JOHN and john can successfully login but if Nagios knows only john, then John and JOHN wont see anything. Haven't found a solution here, I just told everyone nit to use capitals :-) - Klaus -- BOFH excuse #300: Digital Manipulator exceeding velocity parameters -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Monitoring IBM server-hardware (x3650) running Windows
On 16/03/09 10:07, Kevin Keane wrote: https://sourceforge.net/projects/tntnagiosplugin/Windows SNMP is really not all that useful in my experience. I have a feeling that Microsoft would like it to go away in favor of their proprietary MOM. What you may be able to use to get to hard disk failure information is WMI. I asked the IBM OIDs of the IBM Director, it is not a specific windows issue, SNMP is not helpfull here. :-( In fact, I wrote a plugin that checks the SMART information (not RAID, though) on either one host, or all workstations in a domain (it will need appropriate permissions, which translates to either administrator access or the Local System account). You can find that plugin in my tnt_nagios_plugins project on SourceForge. I'll be happy to create a plugin to check the IBM raid controller as long as you can provide me with the needed documentation and either do the testing for me or give me access to a development server for testing. If I knew where to get this information, I could write the plugins myself :-) - Klaus Klaus Umbach wrote: Hi, How can I monitor the hardware in IBM servers running Windows, especially the physical harddrives? I can't see anything via SNMP that makes sense and the IBM Director Agents sends no traps if a drive fails. I played around with check_serveraid, changed the ssh-stuff to winexe, but I don't like that solution because it needs an administrative account to execute ipssend.exe AND it doesn't work an all servers (sometimes it says Found 0 IBM ServeRAID controller(s)., which is definitly a lie!) Before that inconsistency I even thought about compiling it with pp and run it via NRPE. My current workaround is checking the application-eventlog and filter for the source substr:ServeRAID. Has anybody found a better solution? Cheers Klaus -- Kevin Keane Owner The NetTech Find the Uncommon: Expert Solutions for a Network You Never Have to Think About Office: 866-642-7116 http://www.4nettech.com This e-mail and attachments, if any, may contain confidential and/or proprietary information. Please be advised that the unauthorized use or disclosure of the information is strictly prohibited. The information herein is intended only for use by the intended recipient(s) named above. If you have received this transmission in error, please notify the sender immediately and permanently delete the e-mail and any copies, printouts or attachments thereof. -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- BOFH excuse #200: The monitor needs another box of pixels. -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Monitoring IBM server-hardware (x3650) running Windows
On 17/03/09 02:01, Kevin Keane wrote: The way the check_dell plugin works that I'm using to monitor Dell servers is that it bypasses SNMP altogether, and simply calls Dell's reporting utility and parses out the results. As long as there is a similar IBM utility, maybe you can use that instead of SNMP? yes, there is one: ipssend.exe, but sometimes it says, there is no controller, but I know, there is one. Klaus Umbach wrote: On 16/03/09 10:07, Kevin Keane wrote: https://sourceforge.net/projects/tntnagiosplugin/Windows SNMP is really not all that useful in my experience. I have a feeling that Microsoft would like it to go away in favor of their proprietary MOM. What you may be able to use to get to hard disk failure information is WMI. I asked the IBM OIDs of the IBM Director, it is not a specific windows issue, SNMP is not helpfull here. :-( In fact, I wrote a plugin that checks the SMART information (not RAID, though) on either one host, or all workstations in a domain (it will need appropriate permissions, which translates to either administrator access or the Local System account). You can find that plugin in my tnt_nagios_plugins project on SourceForge. I'll be happy to create a plugin to check the IBM raid controller as long as you can provide me with the needed documentation and either do the testing for me or give me access to a development server for testing. If I knew where to get this information, I could write the plugins myself :-) -- Kevin Keane Owner The NetTech Find the Uncommon: Expert Solutions for a Network You Never Have to Think About Office: 866-642-7116 http://www.4nettech.com This e-mail and attachments, if any, may contain confidential and/or proprietary information. Please be advised that the unauthorized use or disclosure of the information is strictly prohibited. The information herein is intended only for use by the intended recipient(s) named above. If you have received this transmission in error, please notify the sender immediately and permanently delete the e-mail and any copies, printouts or attachments thereof. -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- BOFH excuse #402: Secretary sent chain letter to all 5000 employees. -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] Monitoring IBM server-hardware (x3650) running Windows
Hi, How can I monitor the hardware in IBM servers running Windows, especially the physical harddrives? I can't see anything via SNMP that makes sense and the IBM Director Agents sends no traps if a drive fails. I played around with check_serveraid, changed the ssh-stuff to winexe, but I don't like that solution because it needs an administrative account to execute ipssend.exe AND it doesn't work an all servers (sometimes it says Found 0 IBM ServeRAID controller(s)., which is definitly a lie!) Before that inconsistency I even thought about compiling it with pp and run it via NRPE. My current workaround is checking the application-eventlog and filter for the source substr:ServeRAID. Has anybody found a better solution? Cheers Klaus -- BOFH excuse #92: Stale file handle (next time use Tupperware(tm)!) -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] getting warnings for connection refused with check_nrpe instead of critical
I should write a patch to make it configurable... That'd be nice =) Ehrm, I just looked in the code of nrpe 2.12... This function is already in (-u). I still had 2.5.1 (Debian Etch). This really hurts... :-) Cheers Klaus -- BOFH excuse #75: There isn't any problem -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] getting warnings for connection refused with check_nrpe instead of critical
Hi, I have a problem with unstable lines and/or machines under stress. Sometimes they just don't reply on nrpe, but are still working, so I get a lot of false alarms. Is it possible, to tell check_nrpe to exit with a warning instead of critical? Cheers Klaus -- BOFH excuse #401: Sales staff sold a product we don't offer. -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] getting warnings for connection refused with check_nrpe instead of critical
On 26/02/09 12:06, Lee Azzarello wrote: On Thu, Feb 26, 2009 at 5:21 AM, Klaus Umbach treibh...@sozial-inkompetent.de wrote: Hi, I have a problem with unstable lines and/or machines under stress. Sometimes they just don't reply on nrpe, but are still working, so I get a lot of false alarms. Is it possible, to tell check_nrpe to exit with a warning instead of critical? I believe that a state of socket timeout will always be flagged as critical, though you can increase the max_check_attempts so it won't throw a notification so soon if you know of false positives. Sometimes these periods last for a an hour so, on some machines it's because of shitty connections to another continent or in countries with unstable infrastructure. Of course figuring out the cause of your false positives is probably the better solution. Most of time I know the cause, but it is not solvable in a cheap way :-) The relevant services are still working, but if the monitored values pass the thresholds, I want to know it, not if connection fails. Cheers Klaus -- BOFH excuse #159: Stubborn processes -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] getting warnings for connection refused with check_nrpe instead of critical
On 26/02/09 13:18, Marc Powell wrote: change STATE_CRITICAL to whatever state you think it should be and recompile. Yes, that solution is an option, too, but I was hoping to find something without recompiling :-) I should write a patch to make it configurable... Cheers Klaus -- BOFH excuse #445: Browser's cookie is corrupted -- someone's been nibbling on it. -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] servicedependencies and flapping
I defined servicedependencies for all check_nrpe-based services depending on NSClient++ on the Windows-hosts, so I only get one notification if for any reason NSClient++ doesn't respond, which works quite well. Now for some reason on a host the connection to NSClient++ starts flapping and I get FLAPPINGSTART and FLAPPINGSTOP messages for all the dependent services and not only for my NSClient++-service. How can I stop this? Cheers Klaus -- BOFH excuse #209: Only people with names beginning with 'A' are getting mail this week (a la Microsoft) -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] Notifications when CRITICAL-WARNING, but not OK-WARNING
Hi, is it possible, to get notifications, if a service switches from CRITICAL back to WARNING, but not OK to WARNING? Background: We only want critical messages on our pager at night but if a service exeeds a critical threshold and falls back to warning, we get no back to WARNING-message. This especially annoying, if the CRITICAL was not because of a threshold-problem, but because of a temporary refused connection of NRPE... Any ideas? Klaus -- BOFH excuse #270: Someone has messed up the kernel pointers -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] time based first_notification_delay
Hi, I would like to delay notifications at night for 10 minutes. According to the documentation, first_notification_delay is only possible for service and host objects but not for contacts. I was thinking about using escalations, but they start counting after the last attempt of a check and after the first error like first_notification_delay. Any ideas how to setup my needs. (except changing configuration-files by cron! :-) ) - Klaus -- BOFH excuse #440: Cache miss - please take better aim next time -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Using nagios check_http for web basedauthentication
On 22/01/09 19:25, Venugopal S wrote: Hi Marc, Thanks for the reply. I am even now vague about how to proceed. Let me tell you the need : I have to open http://ww12.1800flowers.com/signin.do and enter my email(svenugop...@gmail.com) and password(podhum) in order to login. Why did you give us a valid user/password combination? :-) When I login using the above valid credentials it would take me to the next page or otherwise throw an error. How do I compose the command line for check_http ? Though this looks like a lot of hand holding, I have no other go. Can you please help ? Venu -Original Message- From: Marc Powell [mailto:m...@ena.com] Sent: Thursday, January 22, 2009 7:15 PM To: Nagios Users Mailinglist Subject: Re: [Nagios-users] Using nagios check_http for web basedauthentication On Jan 22, 2009, at 5:50 AM, Venugopal S wrote: Hi, Can I do a check on a particular website by supplying the username and password to nagios check_http commandline ? To be clear : Assume that I want to check whether login action happens properly on my website which is www.venu.com. And the login page name is www.venu.com/signup.do . This form would take username and password and send a POST request to www.venu.com/autorize.do. How will i check this in nagios ? If it had been GET method, I would have done that. But in my case, it is POST method Since you're using forms based authentication, use the -P parameter to check_http. $ ./check_http --help [chop] -P, --post=STRING URL encoded http POST data check_http -I ipaddress of serve -H www.venu.com -u /autorize.do -P usernamefield=usernamepasswordfield=password If you need something more complex than that you might want to search for past posts about use of perl's WWW::Mechanize or Nagios::WebTransact to help create a custom plugin. Note for future readers, if the site uses standard htaccess authentication then '-a username:password' if the format. -- Marc -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null This email message and its attachments may contain CONFIDENTIAL AND PRIVILEGED INFORMATION intended for the sole use of the addressee(s). If you have received it in error, please contact the sender by return email, notify your system manager and destroy the original message and any copies thereof. Any review, use, disclosure or distribution is unlawful. Please check this email and any attachments for the presence of viruses. The Company accepts no liability for any damage caused by any virus transmitted by this email. The views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company. The Company reserves the right to monitor, review and store the content of all messages sent to or from this e-mail address. www.aztecsoft.com -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- BOFH excuse #184: loop found in loop in redundant loopback -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] NSClient++, CheckDriveSize and perfdata
Hi, I check the drives with check_nrpe -H $HOST -c CheckDriveSize -a Drive=C ShowAll=long MaxWarnUsed=90% MaxCritUsed=95% This has a result like: OK: C:: 29.3G - Used: 5.73G (19%) - Free: 23.6G (81%)|'C:'=19%;90;95; Is it possible, to somehow increase the accuracy of the fillstate in percent in the perfdata? like: 'C:'=19.5;90;95; Background: I use nagiosgrapher to paint funny pictures, and on a drive with 1TB, a change of 1% is 10GB. - Klaus -- BOFH excuse #426: internet is needed to catch the etherbunny -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Recommended Plugin for Monitoring iptables
On 20/01/09 16:00, Kaplan, Andrew H. wrote: Hi there -- Thanks for your reply. I simply want to ensure that 'iptables -vnL' comes back with output indicating that firewall rules are in effect. I would write a script myself, that compares iptables -vnL /tmp/iptables.txt with iptables -vnL -Original Message- From: Klaus Umbach [mailto:treibh...@sozial-inkompetent.de] Sent: Tuesday, January 20, 2009 3:27 PM To: Kaplan, Andrew H. Cc: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Recommended Plugin for Monitoring iptables On 20/01/09 15:09, Kaplan, Andrew H. wrote: Is there a recommended plugin for monitoring iptables? The Nagios server is version 2.6, and the version of the bundled plugins is currently 1.4.5. Thanks. what exactly do you want to monitor? - Klaus -- BOFH excuse #406: Bad cafeteria food landed all the sysadmins in the hospital. The information in this e-mail is intended only for the person to whom it is addressed. If you believe this e-mail was sent to you in error and the e-mail contains patient information, please contact the Partners Compliance HelpLine at http://www.partners.org/complianceline . If the e-mail was sent to you in error but does not contain patient information, please contact the sender and properly dispose of the e-mail. -- BOFH excuse #189: SCSI's too wide. -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] NSClient++ and CheckEventLog
Hi, I wonder why the following check works on a German Windows 2k3 server, but not on an English one. To me this makes no sense... NSC.ini is the same. CheckEventLog filter=new file=application MaxWarn=1 MaxCrit=1 filter+generated=2h filter==eventID=888 Errormessage: EventlogBuffer is too small (set the value of buffer_size): 122 The data area passed to a system call is too small. NSClient++ Version: 0.3.5.1 2008-09-24 (32bit) Maybe the language is just a coincidence... Cheers Klaus -- BOFH excuse #300: Digital Manipulator exceeding velocity parameters -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] NSClient++ and CheckEventLog
On 19/01/09 11:07, Michael Medin wrote: It has nothing to do with language... The reason is that one of them has an entry which is too long so you need to update the buffer used when NSClinet++ reads the eventlog. The simplest way to solve this is to increase the buffer_size variable to something large enough. If you check the wiki/forums on nsclient.org you can find some values that worked for others or you can play around and find what works for you. Thanks! buffer_size=52 worked. Now I have to change it everywhere... :-( - Klaus // Michael Medin Klaus Umbach skrev: Hi, I wonder why the following check works on a German Windows 2k3 server, but not on an English one. To me this makes no sense... NSC.ini is the same. CheckEventLog filter=new file=application MaxWarn=1 MaxCrit=1 filter+generated=2h filter==eventID=888 Errormessage: EventlogBuffer is too small (set the value of buffer_size): 122 The data area passed to a system call is too small. NSClient++ Version: 0.3.5.1 2008-09-24 (32bit) Maybe the language is just a coincidence... Cheers Klaus -- BOFH excuse #271: The kernel license has expired -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] status.cgi-parameter question
Hi, I want status.cgi to show me the following: All hosts and services in the status (NOT ok OR flapping) NOT (acknowleded OR scheduled_downtime) Right now I have NOT ok NOT (acknowleded OR scheduled_downtime) with the following parameters: host=all type=detail servicestatustype=16 hoststatustype=6 hostprobs=10 serviceprobs=42 servicestatustypes=28 With my unterstanding, to get what I want, I just have to add 1024 to hostprobs and serviceprobs, but that doesn't work. What am I doing wrong? Cheers Klaus -- BOFH excuse #264: Your modem doesn't speak English. -- Check out the new SourceForge.net Marketplace. It is the best place to buy or sell services for just about anything Open Source. http://p.sf.net/sfu/Xq1LFB ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] English and German Counters with NSClient++
On 30/09/08 20:46, Michael Medin wrote: Hello, NSClient++ (version 3 and above) do not use the counter names so they are no longer language specific. The coutners.defs is there as a fall back so it is probably never used... So is there a way of asking NSClient++ language independent for e.g. \Physikalischer Datenträger(_Total)\Durchschnittl. Warteschlangenlänge des Datenträgers vs \PhysicalDisk(_Total)\Avg. Disk Queue Length or do I have to define different services for different languages? - Treibholz // Michael Medin Klaus Umbach skrev: Hi, I was just scared by the discovery that the performance counters in Windows are language specific... (Those morons even use Umlauts!) Is it somehow possible to define all I need in counters.defs and use them with a language-independent call? I already defined some, but I don't know how to call them now. Cheers Klaus - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] English and German Counters with NSClient++
Hi, I was just scared by the discovery that the performance counters in Windows are language specific... (Those morons even use Umlauts!) Is it somehow possible to define all I need in counters.defs and use them with a language-independent call? I already defined some, but I don't know how to call them now. Cheers Klaus - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Periodic downtime of a server
Thanks for your Help, I solved it with cron now. - Klaus On 22/09/08 13:42, Assaf Flatto wrote: If the host is defined to be checked in a specific time period , the during the lapse time his status remains in the last status it had before checking stopped. And since in 3.x services are inheriting time and contacts from their perspective host , you should have no issue at all. Can you post a host , service and their templates definition example ? On Monday 22 September 2008 12:40:09 Klaus Umbach wrote: On 22/09/08 13:22, Assaf Flatto wrote: From what i read on the nagios documentation , host groups have no declaration for time periods . The time period should be defined in the host itself not the host group, http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#hostgroup Sorry, I was wrong, I actually did define them in the host definition. - Klaus On Monday 22 September 2008 12:06:26 Klaus Umbach wrote: On 22/09/08 12:24, Assaf Flatto wrote: -- Assaf Flatto SSP Ops Team Linux System Administrator IMPORTANT . this email and the information in it may be confidential, legally privileged and/or protected by law. It is intended solely for the use of the person to whom it is addressed. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Please also delete all copies of this email and any attachments from your system. We cannot guarantee the security or confidentiality of email communications. We do not accept any liability for losses or damages that you may suffer as a result of your receipt of this email including but not limited to computer service or system failure, access delays or interruption, data non-delivery or mis-delivery, computer viruses or other harmful components. Copyright in this email and any attachments belong to Select Service Partner UK Limited. Should you communicate with anyone at Select Service Partner UK Limited by email, you consent to us monitoring and reading any such correspondence. Nothing in this email shall be taken or read as suggesting, proposing or relating to any agreement concerted practice or other practice that could infringe UK or EC competition legislation. Select Service Partner UK Limited is a company registered in England and Wales (company number 05687183) whose registered office is at 1 The Heights, Brooklands, Weybridge. Surrey. KT13 0NY - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] Periodic downtime of a server
Hi, How to I configure a periodic downtime of a server? My scenario: 7 groups of servers, each group gets rebooted on a specific weekday at 4am. (windows-servers, they reboot them before they crash!) If I change the check_period of the host to a timeperiod that excepts 3:30 - 4:30 I still get the notifications for all the services on the host, because nagios does not know, the host is down. If I change the notification_period of the host, Nagios stops checking the services when the host is down, but as some of them take a while to boot, I get the notifications after the host is up again but not yet completelly up. Can I somehow do a periodic scheduled downtime without using cron? Cheers Klaus - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Periodic downtime of a server
On 22/09/08 11:26, Assaf Flatto wrote: It seems that you need to make dependencies for the services on the host status to limit the amount of notifications . Also it is possible - if you have a set interval for each group ( set schedule ) you can define a time period for each group to be checked. I already have defined specific timeperiods. I don't want to limit the notifications, I don't want to be notified at all between 3:30 and 4:30, no matter if the host or a service has a problem. # 'exchange-servers' timeperiod definition define timeperiod{ timeperiod_name exchange alias exchange reboot time sunday 00:00-24:00 monday 00:00-03:00,04:30-24:00 tuesday 00:00-24:00 wednesday 00:00-24:00 thursday00:00-24:00 friday 00:00-24:00 saturday00:00-24:00 } And that will help you have a sorted and set schedule for each reboot time. Assaf On Monday 22 September 2008 09:47:04 Klaus Umbach wrote: Hi, How to I configure a periodic downtime of a server? My scenario: 7 groups of servers, each group gets rebooted on a specific weekday at 4am. (windows-servers, they reboot them before they crash!) If I change the check_period of the host to a timeperiod that excepts 3:30 - 4:30 I still get the notifications for all the services on the host, because nagios does not know, the host is down. If I change the notification_period of the host, Nagios stops checking the services when the host is down, but as some of them take a while to boot, I get the notifications after the host is up again but not yet completelly up. Can I somehow do a periodic scheduled downtime without using cron? Cheers Klaus - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when ::: reporting any issue. Messages without supporting info will risk being ::: sent to /dev/null IMPORTANT . this email and the information in it may be confidential, legally privileged and/or protected by law. It is intended solely for the use of the person to whom it is addressed. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Please also delete all copies of this email and any attachments from your system. We cannot guarantee the security or confidentiality of email communications. We do not accept any liability for losses or damages that you may suffer as a result of your receipt of this email including but not limited to computer service or system failure, access delays or interruption, data non-delivery or mis-delivery, computer viruses or other harmful components. Copyright in this email and any attachments belong to Select Service Partner UK Limited. Should you communicate with anyone at Select Service Partner UK Limited by email, you consent to us monitoring and reading any such correspondence. Nothing in this email shall be taken or read as suggesting, proposing or relating to any agreement concerted practice or other practice that could infringe UK or EC competition legislation. Select Service Partner UK Limited is a company registered in England and Wales (company number 05687183) whose registered office is at 1 The Heights, Brooklands, Weybridge. Surrey. KT13 0NY - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win
Re: [Nagios-users] Periodic downtime of a server
On 22/09/08 12:24, Assaf Flatto wrote: If you defined the time periods and associated the servers to them , you should not get any alerts for them at all . I associated them with the hostgroup. What version of nagios are you running ? 3.0.3 On Monday 22 September 2008 11:24:53 Klaus Umbach wrote: On 22/09/08 11:26, Assaf Flatto wrote: It seems that you need to make dependencies for the services on the host status to limit the amount of notifications . Also it is possible - if you have a set interval for each group ( set schedule ) you can define a time period for each group to be checked. I already have defined specific timeperiods. I don't want to limit the notifications, I don't want to be notified at all between 3:30 and 4:30, no matter if the host or a service has a problem. # 'exchange-servers' timeperiod definition define timeperiod{ timeperiod_name exchange alias exchange reboot time sunday 00:00-24:00 monday 00:00-03:00,04:30-24:00 tuesday 00:00-24:00 wednesday 00:00-24:00 thursday00:00-24:00 friday 00:00-24:00 saturday00:00-24:00 } And that will help you have a sorted and set schedule for each reboot time. Assaf On Monday 22 September 2008 09:47:04 Klaus Umbach wrote: Hi, How to I configure a periodic downtime of a server? My scenario: 7 groups of servers, each group gets rebooted on a specific weekday at 4am. (windows-servers, they reboot them before they crash!) If I change the check_period of the host to a timeperiod that excepts 3:30 - 4:30 I still get the notifications for all the services on the host, because nagios does not know, the host is down. If I change the notification_period of the host, Nagios stops checking the services when the host is down, but as some of them take a while to boot, I get the notifications after the host is up again but not yet completelly up. Can I somehow do a periodic scheduled downtime without using cron? Cheers Klaus --- -- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when ::: reporting any issue. Messages without supporting info will risk ::: being sent to /dev/null IMPORTANT . this email and the information in it may be confidential, legally privileged and/or protected by law. It is intended solely for the use of the person to whom it is addressed. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Please also delete all copies of this email and any attachments from your system. We cannot guarantee the security or confidentiality of email communications. We do not accept any liability for losses or damages that you may suffer as a result of your receipt of this email including but not limited to computer service or system failure, access delays or interruption, data non-delivery or mis-delivery, computer viruses or other harmful components. Copyright in this email and any attachments belong to Select Service Partner UK Limited. Should you communicate with anyone at Select Service Partner UK Limited by email, you consent to us monitoring and reading any such correspondence. Nothing in this email shall be taken or read as suggesting, proposing or relating to any agreement concerted practice or other practice that could infringe UK or EC competition legislation. Select Service Partner UK Limited is a company registered in England and Wales (company number 05687183) whose registered office is at 1 The Heights, Brooklands, Weybridge. Surrey. KT13 0NY - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Nagios
Re: [Nagios-users] Periodic downtime of a server
On 22/09/08 13:22, Assaf Flatto wrote: From what i read on the nagios documentation , host groups have no declaration for time periods . The time period should be defined in the host itself not the host group, http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#hostgroup Sorry, I was wrong, I actually did define them in the host definition. - Klaus On Monday 22 September 2008 12:06:26 Klaus Umbach wrote: On 22/09/08 12:24, Assaf Flatto wrote: If you defined the time periods and associated the servers to them , you should not get any alerts for them at all . I associated them with the hostgroup. What version of nagios are you running ? 3.0.3 On Monday 22 September 2008 11:24:53 Klaus Umbach wrote: On 22/09/08 11:26, Assaf Flatto wrote: It seems that you need to make dependencies for the services on the host status to limit the amount of notifications . Also it is possible - if you have a set interval for each group ( set schedule ) you can define a time period for each group to be checked. I already have defined specific timeperiods. I don't want to limit the notifications, I don't want to be notified at all between 3:30 and 4:30, no matter if the host or a service has a problem. # 'exchange-servers' timeperiod definition define timeperiod{ timeperiod_name exchange alias exchange reboot time sunday 00:00-24:00 monday 00:00-03:00,04:30-24:00 tuesday 00:00-24:00 wednesday 00:00-24:00 thursday00:00-24:00 friday 00:00-24:00 saturday00:00-24:00 } And that will help you have a sorted and set schedule for each reboot time. Assaf On Monday 22 September 2008 09:47:04 Klaus Umbach wrote: Hi, How to I configure a periodic downtime of a server? My scenario: 7 groups of servers, each group gets rebooted on a specific weekday at 4am. (windows-servers, they reboot them before they crash!) If I change the check_period of the host to a timeperiod that excepts 3:30 - 4:30 I still get the notifications for all the services on the host, because nagios does not know, the host is down. If I change the notification_period of the host, Nagios stops checking the services when the host is down, but as some of them take a while to boot, I get the notifications after the host is up again but not yet completelly up. Can I somehow do a periodic scheduled downtime without using cron? Cheers Klaus --- -- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when ::: reporting any issue. Messages without supporting info will risk ::: being sent to /dev/null IMPORTANT . this email and the information in it may be confidential, legally privileged and/or protected by law. It is intended solely for the use of the person to whom it is addressed. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Please also delete all copies of this email and any attachments from your system. We cannot guarantee the security or confidentiality of email communications. We do not accept any liability for losses or damages that you may suffer as a result of your receipt of this email including but not limited to computer service or system failure, access delays or interruption, data non-delivery or mis-delivery, computer viruses or other harmful components. Copyright in this email and any attachments belong to Select Service Partner UK Limited. Should you communicate with anyone at Select Service Partner UK Limited by email, you consent to us monitoring and reading any such correspondence. Nothing in this email shall be taken or read as suggesting, proposing or relating to any agreement concerted practice or other practice that could infringe UK or EC competition legislation
Re: [Nagios-users] Notifications are sent, even if Notifications are diabled.
2008/9/16 Marc Powell [EMAIL PROTECTED] On Sep 16, 2008, at 3:37 AM, Klaus Umbach wrote: Hi, I have the following problem: The notifications for a host are disabled, but I get the host down and th host up for the host... This does not seem to happen with all hosts... Without specific config snippets and assuming that they're really disabled, my only suggestion would be to verify that you don't have multiple nagios daemons running... Here are the snipplets. This HOST gets rebooted every night at 5am, and I get the notifications, although the timeperiod is set. define host { host_nameHOST aliaseasy-xbase addressIP_ADDRESS usegeneric-host parentsnagios-satellit check_periodHOST_daily notification_periodHOST_daily } define timeperiod{ timeperiod_name HOST_daily alias HOST_daily monday 00:00-04:30,05:30-24:00 tuesday 00:00-04:30,05:30-24:00 wednesday 00:00-04:30,05:30-24:00 thursday00:00-04:30,05:30-24:00 friday 00:00-04:30,05:30-24:00 saturday00:00-04:30,05:30-24:00 sunday 00:00-04:30,05:30-24:00 } -- First Official Internetdenier - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] Notifications are sent, even if Notifications are diabled.
Hi, I have the following problem: The notifications for a host are disabled, but I get the host down and th host up for the host... This does not seem to happen with all hosts... Cheers Klaus -- (Nagios 3.0.3) - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] freshness_threshold question
Hi, I have a local script to backup my Nagios-machine, which writes its status directly in nagios.cmd. This works fine, but after about 3 minutes after the OK it switches back to CRITICAL. The service is passive and the freshness_threshold is set to 26h. Why does it complain after 3 minutes? Cheers Klaus define service{ namebackup-job ; The 'name' of this service template active_checks_enabled 0 ; Active service checks are enabled passive_checks_enabled 1 ; Passive service checks are enabled/accepted parallelize_check 1 ; Active service checks should be parallelized (disabling this can lead to major performance problems) obsess_over_service 1 ; We should obsess over this service (if necessary) check_freshness 1 ; Default is to NOT check service 'freshness' notifications_enabled 1 ; Service notifications are enabled freshness_threshold93600;26h event_handler_enabled 1 ; Service event handler is enabled flap_detection_enabled 1 ; Flap detection is enabled failure_prediction_enabled 1 ; Failure prediction is enabled process_perf_data 1 ; Process performance data retain_status_information 1 ; Retain status information across program restarts retain_nonstatus_information1 ; Retain non-status information across program restarts notification_interval 0; Only send notifications on status change by default. is_volatile 0 check_period24x7 normal_check_interval 5 retry_check_interval1 max_check_attempts 4 notification_period 24x7 notification_optionsw,u,c,r contact_groups admins register0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL SERVICE, JUST A TEMPLATE! } define service{ usebackup-job host_namercc-nagios service_descriptionBackup Status check_commandnagios-backup-failed check_freshness1 max_check_attempts1 active_checks_enabled0 passive_checks_enabled1 } -- First Official Internetdenier - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] differentiate a WARNING - OK and CRITICAL - OK
Hi, is it possible, to differentiate the status change from WARNING to OK and from CRITICAL to OK? Background: I don't want WARNINGs on the pager at night, just CRITICAL and the corresponding OKs, but not the OKs from WARNINGs. - Klaus -- First Official Internetdenier - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] Checking Windows Services with stupid names.
Hi, I have a service on a windows-box to check, which has a in the name. (With check_nt and nsclient++) with 'SERVICESTATE -l Foo Bar' it checks for the services 'foo' and 'bar' , \, \\\ and using ' instead of did'n't help. How do I check this? Cheers Klaus -- First Official Internetdenier - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Checking Windows Services with stupid names.
2008/8/25 Michael Medin [EMAIL PROTECTED] I would say: use NRPE instead :) but perhaps this is a bug, I have seen the reports on and off but haven't had time to look into it (since it is so easily solved with NRPE) NRPE? To check a Windows-Box? No, that's not really funny... I found out, how it works:Windows Services always have 2 names, the internal one is better, than the description-name. Cheers Klaus -- First Official Internetdenier - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] Problem with Service Escalation 3.0rc3
Dear All, as stated above, I am running nagios 3.0rc3 and I seem to have a lack of understanding. I should state that I am new to nagios. I plan to have a host and service escalation for all hosts (with their associated services) belonging to a specific hostgroup. So here is what I have so far: define hostgroup{ hostgroup_namegroup1 alias group1 } define contact{ contact_name groupNetwork usegeneric-contact alias groupNetwork email mailto:[EMAIL PROTECTED] [EMAIL PROTECTED] } define host{ usewindows-server host_name host1 alias Host 1 hostgroups group1 address10.0.0.1 parentsDUSSW00 contacts defaultContact } define hostescalation{ hostgroup_namegroup1 contacts groupNetwork first_notification1 last_notification 0 notification_interval 120 escalation_period workhours } define serviceescalation{ service_description* hostgroup_name group1 contacts groupNetwork first_notification 1 last_notification 0 notification_interval 120 escalation_period workhours } When I try to start nagios, it tells me that it Could not expand services specified in service escalation. The plan is to send a mail to defaultContact 24x7 and to groupNetwork only in the working hours. When I remove the service escalation, I only get notifications when the host is down (guess this is by design). Is there any other way how I can achieve this? Any help is very much appretiated. Cheers Klaus - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Problem with Service Escalation 3.0rc3
Hi, yes I have. This is only a short extract of my configuration. I have about 370 services defined on 54 hosts. But you are right, I forgot to add this part of configuration. Sorry.. Here is a more complete one... define hostgroup{ hostgroup_namegroup1 alias group1 } define contact{ contact_name groupNetwork usegeneric-contact alias groupNetwork email [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] } define host{ usewindows-server host_name host1 alias Host 1 hostgroups group1 address10.0.0.1 parentsDUSSW00 contacts defaultContact } define service{ service_description SMTP use generic-service hostgroup_namegroup1 check_command check_smtp process_perf_data 1 action_url /nagios/pnp/index.php?host=$HOSTNAME$srv=$SERVICEDESC$ } define hostescalation{ hostgroup_namegroup1 contacts groupNetwork first_notification1 last_notification 0 notification_interval 120 escalation_period workhours } define serviceescalation{ service_description* hostgroup_name group1 contacts groupNetwork first_notification 1 last_notification 0 notification_interval 120 escalation_period workhours } - Hi, Have you actually got any services defined? Thanks Giles From: [EMAIL PROTECTED] Sent: 04 March 2008 10:44 To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Problem with Service Escalation 3.0rc3 Dear All, as stated above, I am running nagios 3.0rc3 and I seem to have a lack of understanding. I should state that I am new to nagios. I plan to have a host and service escalation for all hosts (with their associated services) belonging to a specific hostgroup. So here is what I have so far: define hostgroup{ hostgroup_namegroup1 alias group1 } define contact{ contact_name groupNetwork usegeneric-contact alias groupNetwork email [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] } define host{ usewindows-server host_name host1 alias Host 1 hostgroups group1 address10.0.0.1 parentsDUSSW00 contacts defaultContact } define hostescalation{ hostgroup_namegroup1 contacts groupNetwork first_notification1 last_notification 0 notification_interval 120 escalation_period workhours } define serviceescalation{ service_description* hostgroup_name group1 contacts groupNetwork first_notification 1 last_notification 0 notification_interval 120 escalation_period workhours } When I try to start nagios, it tells me that it Could not expand services specified in service escalation. The plan is to send a mail to defaultContact 24x7 and to groupNetwork only in the working hours. When I remove the service escalation, I only get notifications when the host is down (guess this is by design). Is there any other way how I can achieve this? Any help is very much appretiated. Cheers Klaus - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] SIGEXIT shutting down Nagios 2.9 on Solaris 10
We've been running Nagios 2.9 on Solaris 10 for a few weeks now and have noticed our Nagios server suddenly shutting down with the following in nagios.log: [1184189631] Caught SIGEXIT, shutting down... No one has been logged in at the time of these failures and nothing else is in the log files. Is there a known bug in Nagios 2.9? I've never seen this with the Nagios 2.4 we run on another Solaris 10 server and we are considering downgrading our Nagios 2.9 to Nagios 2.4 since it has been more stable. Thanks, Klaus - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Debugging Nagios?
nagios.log and syslog were of no value, but I was able to build with debug (./configure --enable-DEBUGALL) and see where Nagios is forcing all checks to occur at midnight tomorrow. I've seen several posts on this with questions, but no answers. Does anyone know how to fix the scheduling in Nagios so it does not schedule all checks at midnight every day? output below is from running 'bin/nagios -s etc/nagios.cfg' with debug on. Notice that all checks are scheduled for midnight tomorrow. Preferred Time: 1181761343 -- Wed Jun 13 19:02:23 2007 Next Valid Time: 1181779200 -- Thu Jun 14 00:00:00 2007 Preferred Time: 1181761343 -- Wed Jun 13 19:02:23 2007 Next Valid Time: 1181779200 -- Thu Jun 14 00:00:00 2007 Preferred Time: 1181761343 -- Wed Jun 13 19:02:23 2007 Next Valid Time: 1181779200 -- Thu Jun 14 00:00:00 2007 Preferred Time: 1181761343 -- Wed Jun 13 19:02:23 2007 Next Valid Time: 1181779200 -- Thu Jun 14 00:00:00 2007 Preferred Time: 1181761343 -- Wed Jun 13 19:02:23 2007 Next Valid Time: 1181779200 -- Thu Jun 14 00:00:00 2007 Preferred Time: 1181761343 -- Wed Jun 13 19:02:23 2007 Next Valid Time: 1181779200 -- Thu Jun 14 00:00:00 2007 Preferred Time: 1181761343 -- Wed Jun 13 19:02:23 2007 Next Valid Time: 1181779200 -- Thu Jun 14 00:00:00 2007 Preferred Time: 1181761343 -- Wed Jun 13 19:02:23 2007 Next Valid Time: 1181779200 -- Thu Jun 14 00:00:00 2007 Preferred Time: 1181761343 -- Wed Jun 13 19:02:23 2007 Next Valid Time: 1181779200 -- Thu Jun 14 00:00:00 2007 Preferred Time: 1181761343 -- Wed Jun 13 19:02:23 2007 Next Valid Time: 1181779200 -- Thu Jun 14 00:00:00 2007 Preferred Time: 1181761343 -- Wed Jun 13 19:02:23 2007 Next Valid Time: 1181779200 -- Thu Jun 14 00:00:00 2007 Preferred Time: 1181761343 -- Wed Jun 13 19:02:23 2007 Next Valid Time: 1181779200 -- Thu Jun 14 00:00:00 2007 Preferred Time: 1181761343 -- Wed Jun 13 19:02:23 2007 Next Valid Time: 1181779200 -- Thu Jun 14 00:00:00 2007 Preferred Time: 1181761343 -- Wed Jun 13 19:02:23 2007 Next Valid Time: 1181779200 -- Thu Jun 14 00:00:00 2007 Preferred Time: 1181761343 -- Wed Jun 13 19:02:23 2007 Next Valid Time: 1181779200 -- Thu Jun 14 00:00:00 2007 Preferred Time: 1181761343 -- Wed Jun 13 19:02:23 2007 Next Valid Time: 1181779200 -- Thu Jun 14 00:00:00 2007 Preferred Time: 1181761343 -- Wed Jun 13 19:02:23 2007 Next Valid Time: 1181779200 -- Thu Jun 14 00:00:00 2007 Preferred Time: 1181761343 -- Wed Jun 13 19:02:23 2007 Next Valid Time: 1181779200 -- Thu Jun 14 00:00:00 2007 Preferred Time: 1181761343 -- Wed Jun 13 19:02:23 2007 Next Valid Time: 1181779200 -- Thu Jun 14 00:00:00 2007 Preferred Time: 1181761343 -- Wed Jun 13 19:02:23 2007 Next Valid Time: 1181779200 -- Thu Jun 14 00:00:00 2007 Preferred Time: 1181761343 -- Wed Jun 13 19:02:23 2007 Next Valid Time: 1181779200 -- Thu Jun 14 00:00:00 2007 Preferred Time: 1181761343 -- Wed Jun 13 19:02:23 2007 Next Valid Time: 1181779200 -- Thu Jun 14 00:00:00 2007 Preferred Time: 1181761343 -- Wed Jun 13 19:02:23 2007 Next Valid Time: 1181779200 -- Thu Jun 14 00:00:00 2007 Preferred Time: 1181761343 -- Wed Jun 13 19:02:23 2007 Next Valid Time: 1181779200 -- Thu Jun 14 00:00:00 2007 Preferred Time: 1181761343 -- Wed Jun 13 19:02:23 2007 Next Valid Time: 1181779200 -- Thu Jun 14 00:00:00 2007 ... Host 'snazphoe04' should not be scheduled Host 'sncaanah01' should not be scheduled Host 'sncaanah02' should not be scheduled Host 'sncaanah03' should not be scheduled Host 'sncasacr01' should not be scheduled Host 'sncasacr02' should not be scheduled ... Total scheduled service checks: 502 Service check interval total:928800 Average service check interval: 1850.20 sec Service inter-check delay: 3.59 sec Total scheduled service checks: 502 Total hosts:61 Service Interleave factor: 9 Total scheduled services: 502 Service Interleave factor: 9 Total service interleave blocks: 56 Service inter-check delay: 3.6 -Original Message- From: Brian A. Seklecki [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 13, 2007 9:40 AM To: Bonaparte, Klaus Cc: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Debugging Nagios? What a great question! Well there's nagios.log in /var/spool/nagios, use_syslog=1 log_event_handlers=1 log_initial_states=1 log_external_commands=1 log_passive_checks=1 log_notifications=1 log_service_retries=1 But getting debug out the schedule probably requires a debug build of the binary. ~~BAS PS It could be worse, you could be trying to debug a plugin/module. On Tue, 2007
Re: [Nagios-users] Debugging Nagios?
EUREEKA!!! Thanks to some other users for pointing this out and helping me resolve... Somehow when I converted config files from Nagios 1.x to 2.9, my timeperiods.cfg was messed up and had the 24x7 entry going from 0:00-0:00 everyday, when it should have been 0:00-24:00 everyday. This caused all my checks to be scheduled at midnight everyday. Thanks for all the help with debugging flags and config files. Klaus -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bonaparte, Klaus Sent: Wednesday, June 13, 2007 12:18 PM To: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Debugging Nagios? nagios.log and syslog were of no value, but I was able to build with debug (./configure --enable-DEBUGALL) and see where Nagios is forcing all checks to occur at midnight tomorrow. I've seen several posts on this with questions, but no answers. Does anyone know how to fix the scheduling in Nagios so it does not schedule all checks at midnight every day? output below is from running 'bin/nagios -s etc/nagios.cfg' with debug on. Notice that all checks are scheduled for midnight tomorrow. Preferred Time: 1181761343 -- Wed Jun 13 19:02:23 2007 Next Valid Time: 1181779200 -- Thu Jun 14 00:00:00 2007 Preferred Time: 1181761343 -- Wed Jun 13 19:02:23 2007 Next Valid Time: 1181779200 -- Thu Jun 14 00:00:00 2007 Preferred Time: 1181761343 -- Wed Jun 13 19:02:23 2007 Next Valid Time: 1181779200 -- Thu Jun 14 00:00:00 2007 Preferred Time: 1181761343 -- Wed Jun 13 19:02:23 2007 Next Valid Time: 1181779200 -- Thu Jun 14 00:00:00 2007 Preferred Time: 1181761343 -- Wed Jun 13 19:02:23 2007 Next Valid Time: 1181779200 -- Thu Jun 14 00:00:00 2007 Preferred Time: 1181761343 -- Wed Jun 13 19:02:23 2007 Next Valid Time: 1181779200 -- Thu Jun 14 00:00:00 2007 Preferred Time: 1181761343 -- Wed Jun 13 19:02:23 2007 Next Valid Time: 1181779200 -- Thu Jun 14 00:00:00 2007 Preferred Time: 1181761343 -- Wed Jun 13 19:02:23 2007 Next Valid Time: 1181779200 -- Thu Jun 14 00:00:00 2007 Preferred Time: 1181761343 -- Wed Jun 13 19:02:23 2007 Next Valid Time: 1181779200 -- Thu Jun 14 00:00:00 2007 Preferred Time: 1181761343 -- Wed Jun 13 19:02:23 2007 Next Valid Time: 1181779200 -- Thu Jun 14 00:00:00 2007 Preferred Time: 1181761343 -- Wed Jun 13 19:02:23 2007 Next Valid Time: 1181779200 -- Thu Jun 14 00:00:00 2007 Preferred Time: 1181761343 -- Wed Jun 13 19:02:23 2007 Next Valid Time: 1181779200 -- Thu Jun 14 00:00:00 2007 Preferred Time: 1181761343 -- Wed Jun 13 19:02:23 2007 Next Valid Time: 1181779200 -- Thu Jun 14 00:00:00 2007 Preferred Time: 1181761343 -- Wed Jun 13 19:02:23 2007 Next Valid Time: 1181779200 -- Thu Jun 14 00:00:00 2007 Preferred Time: 1181761343 -- Wed Jun 13 19:02:23 2007 Next Valid Time: 1181779200 -- Thu Jun 14 00:00:00 2007 Preferred Time: 1181761343 -- Wed Jun 13 19:02:23 2007 Next Valid Time: 1181779200 -- Thu Jun 14 00:00:00 2007 Preferred Time: 1181761343 -- Wed Jun 13 19:02:23 2007 Next Valid Time: 1181779200 -- Thu Jun 14 00:00:00 2007 Preferred Time: 1181761343 -- Wed Jun 13 19:02:23 2007 Next Valid Time: 1181779200 -- Thu Jun 14 00:00:00 2007 Preferred Time: 1181761343 -- Wed Jun 13 19:02:23 2007 Next Valid Time: 1181779200 -- Thu Jun 14 00:00:00 2007 Preferred Time: 1181761343 -- Wed Jun 13 19:02:23 2007 Next Valid Time: 1181779200 -- Thu Jun 14 00:00:00 2007 Preferred Time: 1181761343 -- Wed Jun 13 19:02:23 2007 Next Valid Time: 1181779200 -- Thu Jun 14 00:00:00 2007 Preferred Time: 1181761343 -- Wed Jun 13 19:02:23 2007 Next Valid Time: 1181779200 -- Thu Jun 14 00:00:00 2007 Preferred Time: 1181761343 -- Wed Jun 13 19:02:23 2007 Next Valid Time: 1181779200 -- Thu Jun 14 00:00:00 2007 Preferred Time: 1181761343 -- Wed Jun 13 19:02:23 2007 Next Valid Time: 1181779200 -- Thu Jun 14 00:00:00 2007 Preferred Time: 1181761343 -- Wed Jun 13 19:02:23 2007 Next Valid Time: 1181779200 -- Thu Jun 14 00:00:00 2007 ... Host 'snazphoe04' should not be scheduled Host 'sncaanah01' should not be scheduled Host 'sncaanah02' should not be scheduled Host 'sncaanah03' should not be scheduled Host 'sncasacr01' should not be scheduled Host 'sncasacr02' should not be scheduled ... Total scheduled service checks: 502 Service check interval total:928800 Average service check interval: 1850.20 sec Service inter-check delay: 3.59 sec Total scheduled service checks: 502 Total hosts:61 Service Interleave factor: 9 Total scheduled services: 502 Service Interleave factor: 9 Total service interleave blocks: 56
[Nagios-users] Problems on Solaris 10?
Has anyone else had problems running the latest Nagios 2.9 on Solaris 10 (SPARC)? I've noticed a few issues, but most notably that hundreds of service checks are not scheduled with 24 hours of starting Nagios, even though the check interval is 10 minutes for most checks. Just wondering if perhaps some dependencies need to get updated or similar. - Klaus --- The mailing list archive is found here: http://www.nagiosexchange.org/nagios-users.34.0.html - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] Debugging Nagios?
How do you debug Nagios to determine why it is no longer running any checks? I see checks scheduled in the queue, but then time passes and they get removed from the top of the queue as if they were run but their status never changes, nothing is logged in nagios.log or syslogs, and once in a while you can see nagios processes running? Any help? Debug flags or common things to look for? Klaus - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] service check intervals ignored
My service check intervals seem to be ignored and Nagios is checking every service once a day at 0:00. I've never seen this problem with older Nagios. The scheduling queue has almost every check running at 0:00 the next day, instead of spreading checks out. Help!? $ ../bin/nagios -v nagios.cfg Nagios 2.9 Copyright (c) 1999-2007 Ethan Galstad (http://www.nagios.org) Last Modified: 04-10-2007 License: GPL Reading configuration data... Running pre-flight check on configuration data... Checking services... Checked 502 services. Checking hosts... Checked 61 hosts. Checking host groups... Checked 8 host groups. Checking service groups... Checked 0 service groups. Checking contacts... Checked 21 contacts. Checking contact groups... Checked 32 contact groups. Checking service escalations... Checked 0 service escalations. Checking service dependencies... Checked 0 service dependencies. Checking host escalations... Checked 0 host escalations. Checking host dependencies... Checked 0 host dependencies. Checking commands... Checked 36 commands. Checking time periods... Checked 9 time periods. Checking extended host info definitions... Checked 0 extended host info definitions. Checking extended service info definitions... Checked 0 extended service info definitions. Checking for circular paths between hosts... Checking for circular host and service dependencies... Checking global event handlers... Checking obsessive compulsive processor commands... Checking misc settings... Total Warnings: 0 Total Errors: 0 Things look okay - No serious problems were detected during the pre-flight check $ ../bin/nagios -s -d nagios.cfg Projected scheduling information for host and service checks is listed below. This information assumes that you are going to start running Nagios with your current config files. HOST SCHEDULING INFORMATION --- Total hosts: 61 Total scheduled hosts: 0 Host inter-check delay method: SMART Average host check interval: 0.00 sec Host inter-check delay: 0.00 sec Max host check spread: 30 min First scheduled check: N/A Last scheduled check:N/A SERVICE SCHEDULING INFORMATION --- Total services: 502 Total scheduled services: 502 Service inter-check delay method: SMART Average service check interval: 3600.00 sec Inter-check delay: 7.17 sec Interleave factor method: SMART Average services per host: 8.23 Service interleave factor: 9 Max service check spread: 720 min First scheduled check: Fri Jun 8 16:37:04 2007 Last scheduled check: Sat Jun 9 00:00:00 2007 CHECK PROCESSING INFORMATION Service check reaper interval: 10 sec Max concurrent service checks: Unlimited PERFORMANCE SUGGESTIONS --- I have no suggestions - things look okay. --- The mailing list archive is found here: http://www.nagiosexchange.org/nagios-users.34.0.html - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null