From mgagne at iweb.com Sat Nov 1 00:17:23 2008 From: mgagne at iweb.com (=?UTF-8?B?TWF0aGlldSBHYWduw6k=?=) Date: Fri, 31 Oct 2008 19:17:23 -0400 Subject: nrpe script In-Reply-To: <1225493925.3209.46.camel@jeremiah-laptop> References: <1225489105.3209.31.camel@jeremiah-laptop><490B8043.9010401@iweb.com> <1225491025.3209.34.camel@jeremiah-laptop> <1225491653.3209.36.camel@jeremiah-laptop> <490B897E.4030109@iweb.com> <1225493925.3209.46.camel@jeremiah-laptop> Message-ID: <490B9203.2010508@iweb.com> Hi, jeremiah wrote: > > I check the log file and this is all i'm seeing pertaining to this > command on the server. > > Oct 31 22:33:23 serv1 nagios2: SERVICE ALERT: serv2;LOADSCRIPT CHECK > ERRORS;WARNING;HARD;3;NRPE: Unable to read output > Oct 31 22:33:23 serv1 nagios2: SERVICE NOTIFICATION: > root;serv2;LOADSCRIPT CHECK ERRORS;WARNING;notify-by-email;NRPE: Unable > to read output > I successfully reproduced your issue by trying to execute a plugin located inside /root through NRPE, location which is obviously chmod to 700: nagios3:~# stat --format="%a %U:%G" /root 700 root:root nagios3:~# stat --format="%a %U:%G" /root/check_users 755 root:root command[check_root]=/root/check_users -w 5 -c 10 /usr/local/nagios/libexec/check_nrpe -H 127.0.0.1 -c check_root NRPE: Unable to read output You have to move your plugin outside your home directory like I explained previously otherwise NRPE won't be able to access/execute it due to chmod restriction. -- Mathieu ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ariccanfly at gmail.com Sat Nov 1 02:02:14 2008 From: ariccanfly at gmail.com (a gardner) Date: Fri, 31 Oct 2008 21:02:14 -0400 Subject: Nagios-users Digest, Vol 29, Issue 34 In-Reply-To: References: Message-ID: On Fri,n Oct 31, 2008 at 6:41 PM, < nagios-users-request at lists.sourceforge.net> wrote: > Send Nagios-users mailing list submissions to > nagios-users at lists.sourceforge.net > > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.sourceforge.net/lists/listinfo/nagios-users > or, via email, send a message with subject or body 'help' to > nagios-users-request at lists.sourceforge.net > > You can reach the person managing the list at > nagios-users-owner at lists.sourceforge.net > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Nagios-users digest..." > > > Today's Topics: > > 1. Re: does nagios need apache? (jeremiah) > 2. Re: does nagios need apache? (Marc Powell) > 3. Re: does nagios need apache? (Valdinger, Stephen (DOV, MSX)) > 4. Re: does nagios need apache? (jeremiah) > 5. nrpe script (jeremiah) > 6. Re: nrpe script (Valdinger, Stephen (DOV, MSX)) > 7. Re: nrpe script (Marc Powell) > 8. Re: nrpe script (Mathieu Gagn?) > 9. Re: nrpe script (Patrick Morris) > 10. Re: nrpe script (jeremiah) > 11. Re: nrpe script (jeremiah) > 12. Re: nrpe script (Aaron Segura) > 13. Re: nrpe script (Patrick Morris) > 14. Re: nrpe script (Mathieu Gagn?) > 15. Re: nrpe script (jeremiah) > 16. Re: nrpe script (jeremiah) > 17. Re: nrpe script (jeremiah) > 18. Re: nrpe script (Mathieu Gagn?) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Fri, 31 Oct 2008 13:25:28 -0700 > From: jeremiah > Subject: Re: [Nagios-users] does nagios need apache? > To: Novin Jaiswal > Cc: "Valdinger, Stephen \(DOV, MSX\)" , > nagios-users at lists.sourceforge.net > Message-ID: <1225484728.22686.40.camel at jeremiah-laptop> > Content-Type: text/plain > > But can i view the historical data without running apache by a nagios > command line interface without parsing log files? > > On Fri, 2008-10-31 at 13:23 -0700, Novin Jaiswal wrote: > > Using apache you can view the different historical data of Nagios as > > html out put. Using http protocol. > > > > For eg. http://servername/nagios > > > > Thanks & Regards > > Novin Jaiswal > > Ishi Systems Inc. > > 732-318-8156(cell) > > > > > > > > > > -----Original Message----- > > From: Valdinger, Stephen (DOV, MSX) [mailto:svalding at doverchem.com] > > Sent: Friday, October 31, 2008 4:20 PM > > To: jeremiah.jester at panasonic.aero; nagios-users at lists.sourceforge.net > > Subject: Re: [Nagios-users] does nagios need apache? > > > > Nagios itself is just a daemon. The only reason for apache is for the > > cgi's and web interface. > > > > > > ------Original Message------ > > From: jeremiah > > To: Nagios-Users > > ReplyTo: jeremiah.jester at panasonic.aero > > Sent: Oct 31, 2008 4:14 PM > > Subject: [Nagios-users] does nagios need apache? > > > > Does nagios need apache to run or is it possible to run as a daemon? > > > > thanks, > > JJ > > > > > > > > Disclaimer: The information contained in this transmission, including > > any > > attachments, may contain confidential information of Panasonic > > Avionics > > Corporation. This transmission is intended only for the use of the > > addressee(s) listed above. Unauthorized review, dissemination or > > other > > use > > of the information contained in this transmission is strictly > > prohibited. > > If you have received this transmission in error or have reason to > > believe > > you are not authorized to receive it, please notify the sender by > > return > > > > email and promptly delete the transmission. > > > > > > > > ------------------------------------------------------------------------ > > - > > 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=100&url=/ > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at 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 > > > > > > Stephen Valdinger > > MIS Helpdesk Coordinator > > P: 330.365.3622 > > C: 740.491.0958 > > > > ------------------------------------------------------------------------ > > - > > 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=100&url=/ > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at 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 > > > > > > > > > > ------------------------------ > > Message: 2 > Date: Fri, 31 Oct 2008 15:55:24 -0500 > From: Marc Powell > Subject: Re: [Nagios-users] does nagios need apache? > To: nagios-users at lists.sourceforge.net > Message-ID: <316B3A65-1A44-4458-AA1F-A7ADCE745C9B at ena.com> > Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes > > > On Oct 31, 2008, at 3:25 PM, jeremiah wrote: > > > But can i view the historical data without running apache by a nagios > > command line interface without parsing log files? > > No, the cgi's are the only provided interface for that. There are no > command-line reporting tools included. grep and less of the log files > for basic stuff; one of the reporting addons at nagiosexchange.org > are your other options. There's also a third party command line > interface at nagiosexchange (Utilities->Terminal) but I think it just > shows current states. > > -- > Marc > > > > ------------------------------ > > Message: 3 > Date: Fri, 31 Oct 2008 17:03:05 -0400 > From: "Valdinger, Stephen \(DOV, MSX\)" > Subject: Re: [Nagios-users] does nagios need apache? > To: , "Novin Jaiswal" > > Cc: nagios-users at lists.sourceforge.net > Message-ID: > > Content-Type: text/plain; charset="us-ascii" > > There are utilities do that yes. In the /usr/local/bin/Nagios (at least > in my install, your path may be different) there is a nagiosstats binary > you can run. There are options for mrtg (-m) or csv (-c) output. Note > that this only gives you performance data, and not data on individual > checks of hosts and services. As Marc stated you will have to look on > nagiosexchange.org for utilities that do those sorts of functions. > > Stephen Valdinger > MIS Helpdesk Coordinator > 330.365.3622 -O > 740.491.0958 - C > svalding at doverchem.com > Never agrue with an idiot. They drag you down to their level and then > beat you with their experience. > > -----Original Message----- > From: jeremiah [mailto:jeremiah.jester at panasonic.aero] > Sent: Friday, October 31, 2008 4:25 PM > To: Novin Jaiswal > Cc: Valdinger, Stephen (DOV, MSX); nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] does nagios need apache? > > But can i view the historical data without running apache by a nagios > command line interface without parsing log files? > > On Fri, 2008-10-31 at 13:23 -0700, Novin Jaiswal wrote: > > Using apache you can view the different historical data of Nagios as > > html out put. Using http protocol. > > > > For eg. http://servername/nagios > > > > Thanks & Regards > > Novin Jaiswal > > Ishi Systems Inc. > > 732-318-8156(cell) > > > > > > > > > > -----Original Message----- > > From: Valdinger, Stephen (DOV, MSX) [mailto:svalding at doverchem.com] > > Sent: Friday, October 31, 2008 4:20 PM > > To: jeremiah.jester at panasonic.aero; nagios-users at lists.sourceforge.net > > Subject: Re: [Nagios-users] does nagios need apache? > > > > Nagios itself is just a daemon. The only reason for apache is for the > > cgi's and web interface. > > > > > > ------Original Message------ > > From: jeremiah > > To: Nagios-Users > > ReplyTo: jeremiah.jester at panasonic.aero > > Sent: Oct 31, 2008 4:14 PM > > Subject: [Nagios-users] does nagios need apache? > > > > Does nagios need apache to run or is it possible to run as a daemon? > > > > thanks, > > JJ > > > > > > > > Disclaimer: The information contained in this transmission, including > > any > > attachments, may contain confidential information of Panasonic > > Avionics > > Corporation. This transmission is intended only for the use of the > > addressee(s) listed above. Unauthorized review, dissemination or > > other > > use > > of the information contained in this transmission is strictly > > prohibited. > > If you have received this transmission in error or have reason to > > believe > > you are not authorized to receive it, please notify the sender by > > return > > > > email and promptly delete the transmission. > > > > > > > > > ------------------------------------------------------------------------ > > - > > 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=100&url=/ > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at 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 > > > > > > Stephen Valdinger > > MIS Helpdesk Coordinator > > P: 330.365.3622 > > C: 740.491.0958 > > > > > ------------------------------------------------------------------------ > > - > > 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=100&url=/ > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at 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 > > > > > > > > > > ------------------------------ > > Message: 4 > Date: Fri, 31 Oct 2008 14:10:25 -0700 > From: jeremiah > Subject: Re: [Nagios-users] does nagios need apache? > To: "Valdinger, Stephen (DOV, MSX)" > Cc: nagios-users at lists.sourceforge.net > Message-ID: <1225487425.3209.9.camel at jeremiah-laptop> > Content-Type: text/plain > > Great. thanks to all. > > On Fri, 2008-10-31 at 14:03 -0700, Valdinger, Stephen (DOV, MSX) wrote: > > There are utilities do that yes. In the /usr/local/bin/Nagios (at > > least > > in my install, your path may be different) there is a nagiosstats > > binary > > you can run. There are options for mrtg (-m) or csv (-c) output. Note > > that this only gives you performance data, and not data on individual > > checks of hosts and services. As Marc stated you will have to look on > > nagiosexchange.org for utilities that do those sorts of functions. > > > > Stephen Valdinger > > MIS Helpdesk Coordinator > > 330.365.3622 -O > > 740.491.0958 - C > > svalding at doverchem.com > > Never agrue with an idiot. They drag you down to their level and then > > beat you with their experience. > > > > -----Original Message----- > > From: jeremiah [mailto:jeremiah.jester at panasonic.aero] > > Sent: Friday, October 31, 2008 4:25 PM > > To: Novin Jaiswal > > Cc: Valdinger, Stephen (DOV, MSX); nagios-users at lists.sourceforge.net > > Subject: RE: [Nagios-users] does nagios need apache? > > > > But can i view the historical data without running apache by a nagios > > command line interface without parsing log files? > > > > On Fri, 2008-10-31 at 13:23 -0700, Novin Jaiswal wrote: > > > Using apache you can view the different historical data of Nagios as > > > html out put. Using http protocol. > > > > > > For eg. http://servername/nagios > > > > > > Thanks & Regards > > > Novin Jaiswal > > > Ishi Systems Inc. > > > 732-318-8156(cell) > > > > > > > > > > > > > > > -----Original Message----- > > > From: Valdinger, Stephen (DOV, MSX) [mailto:svalding at doverchem.com] > > > Sent: Friday, October 31, 2008 4:20 PM > > > To: jeremiah.jester at panasonic.aero; > > nagios-users at lists.sourceforge.net > > > Subject: Re: [Nagios-users] does nagios need apache? > > > > > > Nagios itself is just a daemon. The only reason for apache is for > > the > > > cgi's and web interface. > > > > > > > > > ------Original Message------ > > > From: jeremiah > > > To: Nagios-Users > > > ReplyTo: jeremiah.jester at panasonic.aero > > > Sent: Oct 31, 2008 4:14 PM > > > Subject: [Nagios-users] does nagios need apache? > > > > > > Does nagios need apache to run or is it possible to run as a daemon? > > > > > > thanks, > > > JJ > > > > > > > > > > > > Disclaimer: The information contained in this transmission, > > including > > > any > > > attachments, may contain confidential information of Panasonic > > > Avionics > > > Corporation. This transmission is intended only for the use of the > > > addressee(s) listed above. Unauthorized review, dissemination or > > > other > > > use > > > of the information contained in this transmission is strictly > > > prohibited. > > > If you have received this transmission in error or have reason to > > > believe > > > you are not authorized to receive it, please notify the sender by > > > return > > > > > > email and promptly delete the transmission. > > > > > > > > > > > > > > ------------------------------------------------------------------------ > > > - > > > 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=100&url=/ > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at 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 > > > > > > > > > Stephen Valdinger > > > MIS Helpdesk Coordinator > > > P: 330.365.3622 > > > C: 740.491.0958 > > > > > > > > ------------------------------------------------------------------------ > > > - > > > 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=100&url=/ > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at 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 > > > > > > > > > > > > > > > > > > > ------------------------------ > > Message: 5 > Date: Fri, 31 Oct 2008 14:21:07 -0700 > From: jeremiah > Subject: [Nagios-users] nrpe script > To: Nagios > Message-ID: <1225488067.3209.20.camel at jeremiah-laptop> > Content-Type: text/plain; charset="iso-8859-1" > > Hi folks, > > I have another question for you all that i haven't been able to resolve. > > I want to run a python script on my monitored hosts using the nrpe > command. > > On my server I am running the following command: > > # /usr/lib/nagios/plugins/check_nrpe -H 10.10.10.45 -c > loadscript_check_error_log > > Every time i run the command above then i get the following error: > > "NRPE: Command 'loadscript_check_error_log' not defined > > On my monitored hosts, I've specified the corellary command > in /etc/nagios/nrpe.cfg, then restarted the service. > > # command[loadscript_check_error_log]=python /home/username/script.py > > Am I missing something? Does the command[loadscript_check_error_log] > actually have to be a valid plugin in the plugins directory or am I > defining the action of running the script in this file? > > Note: This is the only command in my config that is not working for me > so unlikely a service issue but rather something wrong with my config. > > Thanks! > > JJ > > > > Disclaimer: The information contained in this transmission, including any > attachments, may contain confidential information of Panasonic Avionics > Corporation. This transmission is intended only for the use of the > addressee(s) listed above. Unauthorized review, dissemination or other use > of the information contained in this transmission is strictly prohibited. > If you have received this transmission in error or have reason to believe > you are not authorized to receive it, please notify the sender by return > email and promptly delete the transmission. > > > > > > ------------------------------ > > Message: 6 > Date: Fri, 31 Oct 2008 17:25:01 -0400 > From: "Valdinger, Stephen \(DOV, MSX\)" > Subject: Re: [Nagios-users] nrpe script > To: , > > Message-ID: > > Content-Type: text/plain; charset="us-ascii" > > Is python in the path on the particular server? Try using /path/to/python > and see if you have success. > > > Stephen Valdinger > MIS Helpdesk Coordinator > P: 330.365.3622 > C: 740.491.0958 > > > -----Original Message----- > From: jeremiah > To: Nagios > Sent: Fri Oct 31 17:21:07 2008 > Subject: [Nagios-users] nrpe script > > Hi folks, > > I have another question for you all that i haven't been able to resolve. > > I want to run a python script on my monitored hosts using the nrpe > command. > > On my server I am running the following command: > > # /usr/lib/nagios/plugins/check_nrpe -H 10.10.10.45 -c > loadscript_check_error_log > > Every time i run the command above then i get the following error: > > "NRPE: Command 'loadscript_check_error_log' not defined > > On my monitored hosts, I've specified the corellary command > in /etc/nagios/nrpe.cfg, then restarted the service. > > # command[loadscript_check_error_log]=python /home/username/script.py > > Am I missing something? Does the command[loadscript_check_error_log] > actually have to be a valid plugin in the plugins directory or am I > defining the action of running the script in this file? > > Note: This is the only command in my config that is not working for me > so unlikely a service issue but rather something wrong with my config. > > Thanks! > > JJ > > > > Disclaimer: The information contained in this transmission, including any > attachments, may contain confidential information of Panasonic Avionics > Corporation. This transmission is intended only for the use of the > addressee(s) listed above. Unauthorized review, dissemination or other use > of the information contained in this transmission is strictly prohibited. > If you have received this transmission in error or have reason to believe > you are not authorized to receive it, please notify the sender by return > email and promptly delete the transmission. > > > > ------------------------------------------------------------------------- > 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=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > > > > ------------------------------ > > Message: 7 > Date: Fri, 31 Oct 2008 16:37:36 -0500 > From: Marc Powell > Subject: Re: [Nagios-users] nrpe script > To: Nagios > Message-ID: > Content-Type: text/plain; charset=US-ASCII; format=flowed > > > On Oct 31, 2008, at 4:21 PM, jeremiah wrote: > > > Every time i run the command above then i get the following error: > > > > "NRPE: Command 'loadscript_check_error_log' not defined > > > > On my monitored hosts, I've specified the corellary command > > in /etc/nagios/nrpe.cfg, then restarted the service. > > > > # command[loadscript_check_error_log]=python /home/username/script.py > > This command definition is commented out (#). > > -- > Marc > > > > > ------------------------------ > > Message: 8 > Date: Fri, 31 Oct 2008 17:42:54 -0400 > From: Mathieu Gagn? > Subject: Re: [Nagios-users] nrpe script > To: jeremiah.jester at panasonic.aero > Cc: Nagios > Message-ID: <490B7BDE.4080803 at iweb.com> > Content-Type: text/plain; charset=us-ascii; format=flowed > > Hi Jeremiah, > > jeremiah wrote: > > On my monitored hosts, I've specified the corellary command > > in /etc/nagios/nrpe.cfg, then restarted the service. > > > > # command[loadscript_check_error_log]=python /home/username/script.py > > > > Am I missing something? > > Is there really a "#" at the beginning of the line? > > You should remove it as this character indicates the beginning of a > comment, therefore everything after will be ignored. > > Also, make sure the daemon is loading the right configuration file and > not another located in /etc or /usr/local/nagios/etc, ... > > -- > Mathieu > > > > ------------------------------ > > Message: 9 > Date: Fri, 31 Oct 2008 14:36:58 -0700 > From: Patrick Morris > Subject: Re: [Nagios-users] nrpe script > To: jeremiah > Cc: "Morris, Patrick" , Nagios > > Message-ID: <20081031213658.GZ31128 at bakgwai.americas.hpqcorp.net> > Content-Type: text/plain; charset=us-ascii > > On Fri, 31 Oct 2008, jeremiah wrote: > > > No, I was trying to simulate a command prompt. > > > > JJ > > > > On Fri, 2008-10-31 at 14:31 -0700, Patrick Morris wrote: > > > On Fri, 31 Oct 2008, jeremiah wrote: > > > > > > > Hi folks, > > > > > > > > I have another question for you all that i haven't been able to > > > resolve. > > > > > > > > I want to run a python script on my monitored hosts using the nrpe > > > > command. > > > > > > > > On my server I am running the following command: > > > > > > > > # /usr/lib/nagios/plugins/check_nrpe -H 10.10.10.45 -c > > > > loadscript_check_error_log > > > > > > > > Every time i run the command above then i get the following error: > > > > > > > > "NRPE: Command 'loadscript_check_error_log' not defined > > > > > > > > On my monitored hosts, I've specified the corellary command > > > > in /etc/nagios/nrpe.cfg, then restarted the service. > > > > > > > > # > > > command[loadscript_check_error_log]=python /home/username/script.py > > > > > > > > Am I missing something? Does the command[loadscript_check_error_log] > > > > actually have to be a valid plugin in the plugins directory or am I > > > > defining the action of running the script in this file? > > > > > > > > Note: This is the only command in my config that is not working for > > > me > > > > so unlikely a service issue but rather something wrong with my > > > config. > > > > > > Is it in the config file commented out with a "#" like that? > > Even on the "command[loadscript_check_error_log]" line (which you > wouldn't have seen at a command line)? > > You should also always define your commands with absolute paths, both > for clarity and security reasons. > > > > ------------------------------ > > Message: 10 > Date: Fri, 31 Oct 2008 14:38:25 -0700 > From: jeremiah > Subject: Re: [Nagios-users] nrpe script > To: "Valdinger, Stephen (DOV, MSX)" > Cc: nagios-users at lists.sourceforge.net > Message-ID: <1225489105.3209.31.camel at jeremiah-laptop> > Content-Type: text/plain; charset="iso-8859-1" > > When I typed python on the command line it drops my into the python > interpreter. > > Regardless, I went ahead and specified it in the command: > > command[loadscript_check_error_log]=/usr/local/bin/python > /home/jesterj/report_loadscript_error_log.py > > now when i run the check_nrpe command from the server I get "could not > run command". > > $ sudo /usr/lib/nagios/plugins/check_nrpe -H 10.10.10.45 -c > loadscript_check_error_log > > Could not run command > > Thoughts? > > Thanks, > JJ > > > On Fri, 2008-10-31 at 14:25 -0700, Valdinger, Stephen (DOV, MSX) wrote: > > Is python in the path on the particular server? Try > > using /path/to/python and see if you have success. > > > > > > Stephen Valdinger > > MIS Helpdesk Coordinator > > P: 330.365.3622 > > C: 740.491.0958 > > > > > > -----Original Message----- > > From: jeremiah > > To: Nagios > > Sent: Fri Oct 31 17:21:07 2008 > > Subject: [Nagios-users] nrpe script > > > > Hi folks, > > > > I have another question for you all that i haven't been able to > > resolve. > > > > I want to run a python script on my monitored hosts using the nrpe > > command. > > > > On my server I am running the following command: > > > > # /usr/lib/nagios/plugins/check_nrpe -H 10.10.10.45 -c > > loadscript_check_error_log > > > > Every time i run the command above then i get the following error: > > > > "NRPE: Command 'loadscript_check_error_log' not defined > > > > On my monitored hosts, I've specified the corellary command > > in /etc/nagios/nrpe.cfg, then restarted the service. > > > > # command[loadscript_check_error_log]=python /home/username/script.py > > > > Am I missing something? Does the command[loadscript_check_error_log] > > actually have to be a valid plugin in the plugins directory or am I > > defining the action of running the script in this file? > > > > Note: This is the only command in my config that is not working for me > > so unlikely a service issue but rather something wrong with my config. > > > > Thanks! > > > > JJ > > > > > > > > Disclaimer: The information contained in this transmission, including > > any > > attachments, may contain confidential information of Panasonic > > Avionics > > Corporation. This transmission is intended only for the use of the > > addressee(s) listed above. Unauthorized review, dissemination or > > other use > > of the information contained in this transmission is strictly > > prohibited. > > If you have received this transmission in error or have reason to > > believe > > you are not authorized to receive it, please notify the sender by > > return > > email and promptly delete the transmission. > > > > > > > > ------------------------------------------------------------------------- > > 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=100&url=/ > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at 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 > > > > > > > > > > ------------------------------ > > Message: 11 > Date: Fri, 31 Oct 2008 14:33:57 -0700 > From: jeremiah > Subject: Re: [Nagios-users] nrpe script > To: Patrick Morris > Cc: Nagios > Message-ID: <1225488837.3209.26.camel at jeremiah-laptop> > Content-Type: text/plain; charset="iso-8859-1" > > No, I was trying to simulate a command prompt. > > JJ > > On Fri, 2008-10-31 at 14:31 -0700, Patrick Morris wrote: > > On Fri, 31 Oct 2008, jeremiah wrote: > > > > > Hi folks, > > > > > > I have another question for you all that i haven't been able to > > resolve. > > > > > > I want to run a python script on my monitored hosts using the nrpe > > > command. > > > > > > On my server I am running the following command: > > > > > > # /usr/lib/nagios/plugins/check_nrpe -H 10.10.10.45 -c > > > loadscript_check_error_log > > > > > > Every time i run the command above then i get the following error: > > > > > > "NRPE: Command 'loadscript_check_error_log' not defined > > > > > > On my monitored hosts, I've specified the corellary command > > > in /etc/nagios/nrpe.cfg, then restarted the service. > > > > > > # > > command[loadscript_check_error_log]=python /home/username/script.py > > > > > > Am I missing something? Does the command[loadscript_check_error_log] > > > actually have to be a valid plugin in the plugins directory or am I > > > defining the action of running the script in this file? > > > > > > Note: This is the only command in my config that is not working for > > me > > > so unlikely a service issue but rather something wrong with my > > config. > > > > Is it in the config file commented out with a "#" like that? > > > > > > > > > Disclaimer: The information contained in this transmission, including any > attachments, may contain confidential information of Panasonic Avionics > Corporation. This transmission is intended only for the use of the > addressee(s) listed above. Unauthorized review, dissemination or other use > of the information contained in this transmission is strictly prohibited. > If you have received this transmission in error or have reason to believe > you are not authorized to receive it, please notify the sender by return > email and promptly delete the transmission. > > > > > > ------------------------------ > > Message: 12 > Date: Fri, 31 Oct 2008 15:43:01 -0600 > From: Aaron Segura > Subject: Re: [Nagios-users] nrpe script > To: , "Nagios" > > Message-ID: > > > Content-Type: text/plain; charset="us-ascii" > > There is no '#' on the beginning of the line in your nrpe.cfg is there? > That's just in your e-mail for readability? > > -----Original Message----- > From: jeremiah [mailto:jeremiah.jester at panasonic.aero] > Sent: Friday, October 31, 2008 3:21 PM > To: Nagios > Subject: [Nagios-users] nrpe script > > Hi folks, > > I have another question for you all that i haven't been able to resolve. > > I want to run a python script on my monitored hosts using the nrpe > command. > > On my server I am running the following command: > > # /usr/lib/nagios/plugins/check_nrpe -H 10.10.10.45 -c > loadscript_check_error_log > > Every time i run the command above then i get the following error: > > "NRPE: Command 'loadscript_check_error_log' not defined > > On my monitored hosts, I've specified the corellary command > in /etc/nagios/nrpe.cfg, then restarted the service. > > # command[loadscript_check_error_log]=python /home/username/script.py > > Am I missing something? Does the command[loadscript_check_error_log] > actually have to be a valid plugin in the plugins directory or am I > defining the action of running the script in this file? > > Note: This is the only command in my config that is not working for me > so unlikely a service issue but rather something wrong with my config. > > Thanks! > > JJ > > > > Disclaimer: The information contained in this transmission, including > any > attachments, may contain confidential information of Panasonic Avionics > Corporation. This transmission is intended only for the use of the > addressee(s) listed above. Unauthorized review, dissemination or other > use > of the information contained in this transmission is strictly > prohibited. > If you have received this transmission in error or have reason to > believe > you are not authorized to receive it, please notify the sender by return > > email and promptly delete the transmission. > > > > ------------------------------------------------------------------------ > - > 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=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > > > > ------------------------------ > > Message: 13 > Date: Fri, 31 Oct 2008 14:31:36 -0700 > From: Patrick Morris > Subject: Re: [Nagios-users] nrpe script > To: jeremiah > Cc: Nagios > Message-ID: <20081031213136.GX31128 at bakgwai.americas.hpqcorp.net> > Content-Type: text/plain; charset=us-ascii > > On Fri, 31 Oct 2008, jeremiah wrote: > > > Hi folks, > > > > I have another question for you all that i haven't been able to resolve. > > > > I want to run a python script on my monitored hosts using the nrpe > > command. > > > > On my server I am running the following command: > > > > # /usr/lib/nagios/plugins/check_nrpe -H 10.10.10.45 -c > > loadscript_check_error_log > > > > Every time i run the command above then i get the following error: > > > > "NRPE: Command 'loadscript_check_error_log' not defined > > > > On my monitored hosts, I've specified the corellary command > > in /etc/nagios/nrpe.cfg, then restarted the service. > > > > # command[loadscript_check_error_log]=python /home/username/script.py > > > > Am I missing something? Does the command[loadscript_check_error_log] > > actually have to be a valid plugin in the plugins directory or am I > > defining the action of running the script in this file? > > > > Note: This is the only command in my config that is not working for me > > so unlikely a service issue but rather something wrong with my config. > > Is it in the config file commented out with a "#" like that? > > > > ------------------------------ > > Message: 14 > Date: Fri, 31 Oct 2008 18:01:39 -0400 > From: Mathieu Gagn? > Subject: Re: [Nagios-users] nrpe script > To: jeremiah.jester at panasonic.aero > Cc: nagios-users at lists.sourceforge.net > Message-ID: <490B8043.9010401 at iweb.com> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > Hi, > > jeremiah wrote: > > When I typed python on the command line it drops my into the python > > interpreter. > > > > Regardless, I went ahead and specified it in the command: > > > > command[loadscript_check_error_log]=/usr/local/bin/python > /home/jesterj/report_loadscript_error_log.py > > > > now when i run the check_nrpe command from the server I get "could not > > run command". > > > > $ sudo /usr/lib/nagios/plugins/check_nrpe -H 10.10.10.45 -c > > loadscript_check_error_log > > > > Could not run command > > > > Thoughts? > > Can the user under which the NRPE daemon runs access and execute > /home/jesterj/report_loadscript_error_log.py ? > > -- > Mathieu > > > > ------------------------------ > > Message: 15 > Date: Fri, 31 Oct 2008 15:10:25 -0700 > From: jeremiah > Subject: Re: [Nagios-users] nrpe script > To: Mathieu Gagn? > Cc: nagios-users at lists.sourceforge.net > Message-ID: <1225491025.3209.34.camel at jeremiah-laptop> > Content-Type: text/plain; charset="utf-8" > > I just chown'd the file for nagios. > > $ sudo chown nagios /home/jesterj/report_loadscript_error_log.py > > $ ls -la *.py > -rwxr-xr-x 1 nagios jesterj 3156 2008-10-31 21:55 > report_loadscript_error_log.py > > I'm now getting a different error after i fixed the path issue. > > $ /usr/lib/nagios/plugins/check_nrpe -H 10.10.10.45 -c > loadscript_check_error_log > NRPE: Unable to read output > > Thoughts? > > thanks, > JJ > > > > On Fri, 2008-10-31 at 15:01 -0700, Mathieu Gagn? wrote: > > Hi, > > > > jeremiah wrote: > > > When I typed python on the command line it drops my into the python > > > interpreter. > > > > > > Regardless, I went ahead and specified it in the command: > > > > > > > > command[loadscript_check_error_log]=/usr/local/bin/python > /home/jesterj/report_loadscript_error_log.py > > > > > > now when i run the check_nrpe command from the server I get "could > > not > > > run command". > > > > > > $ sudo /usr/lib/nagios/plugins/check_nrpe -H 10.10.10.45 -c > > > loadscript_check_error_log > > > > > > Could not run command > > > > > > Thoughts? > > > > Can the user under which the NRPE daemon runs access and execute > > /home/jesterj/report_loadscript_error_log.py ? > > > > -- > > Mathieu > > > > > > > > > > Disclaimer: The information contained in this transmission, including any > attachments, may contain confidential information of Panasonic Avionics > Corporation. This transmission is intended only for the use of the > addressee(s) listed above. Unauthorized review, dissemination or other use > of the information contained in this transmission is strictly prohibited. > If you have received this transmission in error or have reason to believe > you are not authorized to receive it, please notify the sender by return > email and promptly delete the transmission. > > > > > > ------------------------------ > > Message: 16 > Date: Fri, 31 Oct 2008 15:20:53 -0700 > From: jeremiah > Subject: Re: [Nagios-users] nrpe script > To: Mathieu Gagn? > Cc: nagios-users at lists.sourceforge.net > Message-ID: <1225491653.3209.36.camel at jeremiah-laptop> > Content-Type: text/plain; charset=utf-8 > > i check the manual and this is what it says about this particular error: > > On Fri, 2008-10-31 at 15:10 -0700, jeremiah wrote: > > I just chown'd the file for nagios. > > > > $ sudo chown nagios /home/jesterj/report_loadscript_error_log.py > > > > $ ls -la *.py > > -rwxr-xr-x 1 nagios jesterj 3156 2008-10-31 21:55 > > report_loadscript_error_log.py > > > > I'm now getting a different error after i fixed the path issue. > > > > $ /usr/lib/nagios/plugins/check_nrpe -H 10.10.10.45 -c > > loadscript_check_error_log > > NRPE: Unable to read output > > > > Thoughts? > > > > thanks, > > JJ > what does the output of the python file look like? You just want nrpe to print the output in the nagios monitor? or are you setting parameters for warning and critical email alerts? the log should show you what was sent to nrpe install check_nrpe on the machine with the py script to simplifiy your debugging -Aric > > > > > > > > On Fri, 2008-10-31 at 15:01 -0700, Mathieu Gagn? wrote: > > > Hi, > > > > > > jeremiah wrote: > > > > When I typed python on the command line it drops my into the > > python > > > > interpreter. > > > > > > > > Regardless, I went ahead and specified it in the command: > > > > > > > > > > > > > command[loadscript_check_error_log]=/usr/local/bin/python > /home/jesterj/report_loadscript_error_log.py > > > > > > > > now when i run the check_nrpe command from the server I get "could > > > not > > > > run command". > > > > > > > > $ sudo /usr/lib/nagios/plugins/check_nrpe -H 10.10.10.45 -c > > > > loadscript_check_error_log > > > > > > > > Could not run command > > > > > > > > Thoughts? > > > > > > Can the user under which the NRPE daemon runs access and execute > > > /home/jesterj/report_loadscript_error_log.py ? > > > > > > -- > > > Mathieu > > > > > > > > > > > > > > > > > Disclaimer: The information contained in this transmission, including > > any > > attachments, may contain confidential information of Panasonic > > Avionics > > Corporation. This transmission is intended only for the use of the > > addressee(s) listed above. Unauthorized review, dissemination or > > other use > > of the information contained in this transmission is strictly > > prohibited. > > If you have received this transmission in error or have reason to > > believe > > you are not authorized to receive it, please notify the sender by > > return > > email and promptly delete the transmission. > > > > > > > > ------------------------------------------------------------------------- > > 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=100&url=/ > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at 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 > > > > > > > > ------------------------------ > > Message: 17 > Date: Fri, 31 Oct 2008 15:27:31 -0700 > From: jeremiah > Subject: Re: [Nagios-users] nrpe script > To: Mathieu Gagn? > Cc: nagios-users at lists.sourceforge.net > Message-ID: <1225492051.3209.41.camel at jeremiah-laptop> > Content-Type: text/plain; charset=utf-8 > > I just pulled this error up in the manual and it sasy the following > about the error: "NRPE: Unable to read output" > > ===== > This error indicates that the command that was run by the NRPE daemon > did not return any character output. > This could be an indication of the following problems: > > -An incorrectly defined command line in the command definition. Verify > that the command definition in your NRPE configuration file is correct. > > -The plugin that is specified in the command line is malfunctioning. Run > the command line manually to make sure the plugin returns some kind of > text output."" > ===== > > I ran the command via the command prompt and works fine w/ returning > output. > > Hmmm. > > > On Fri, 2008-10-31 at 15:10 -0700, jeremiah wrote: > > I just chown'd the file for nagios. > > > > $ sudo chown nagios /home/jesterj/report_loadscript_error_log.py > > > > $ ls -la *.py > > -rwxr-xr-x 1 nagios jesterj 3156 2008-10-31 21:55 > > report_loadscript_error_log.py > > > > I'm now getting a different error after i fixed the path issue. > > > > $ /usr/lib/nagios/plugins/check_nrpe -H 10.10.10.45 -c > > loadscript_check_error_log > > NRPE: Unable to read output > > > > Thoughts? > > > > thanks, > > JJ > > > > > > > > On Fri, 2008-10-31 at 15:01 -0700, Mathieu Gagn? wrote: > > > Hi, > > > > > > jeremiah wrote: > > > > When I typed python on the command line it drops my into the > > python > > > > interpreter. > > > > > > > > Regardless, I went ahead and specified it in the command: > > > > > > > > > > > > > command[loadscript_check_error_log]=/usr/local/bin/python > /home/jesterj/report_loadscript_error_log.py > > > > > > > > now when i run the check_nrpe command from the server I get "could > > > not > > > > run command". > > > > > > > > $ sudo /usr/lib/nagios/plugins/check_nrpe -H 10.10.10.45 -c > > > > loadscript_check_error_log > > > > > > > > Could not run command > > > > > > > > Thoughts? > > > > > > Can the user under which the NRPE daemon runs access and execute > > > /home/jesterj/report_loadscript_error_log.py ? > > > > > > -- > > > Mathieu > > > > > > > > > > > > > > > > > Disclaimer: The information contained in this transmission, including > > any > > attachments, may contain confidential information of Panasonic > > Avionics > > Corporation. This transmission is intended only for the use of the > > addressee(s) listed above. Unauthorized review, dissemination or > > other use > > of the information contained in this transmission is strictly > > prohibited. > > If you have received this transmission in error or have reason to > > believe > > you are not authorized to receive it, please notify the sender by > > return > > email and promptly delete the transmission. > > > > > > > > ------------------------------------------------------------------------- > > 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=100&url=/ > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at 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 > > > > > > > > ------------------------------ > > Message: 18 > Date: Fri, 31 Oct 2008 18:41:02 -0400 > From: Mathieu Gagn? > Subject: Re: [Nagios-users] nrpe script > To: jeremiah.jester at panasonic.aero > Cc: nagios-users at lists.sourceforge.net > Message-ID: <490B897E.4030109 at iweb.com> > Content-Type: text/plain; charset=UTF-8; format=flowed > > Hi, > > jeremiah wrote: > > i check the manual and this is what it says about this particular error: > > > > On Fri, 2008-10-31 at 15:10 -0700, jeremiah wrote: > >> I just chown'd the file for nagios. > >> > >> $ sudo chown nagios /home/jesterj/report_loadscript_error_log.py > >> > >> $ ls -la *.py > >> -rwxr-xr-x 1 nagios jesterj 3156 2008-10-31 21:55 > >> report_loadscript_error_log.py > >> > >> I'm now getting a different error after i fixed the path issue. > >> > >> $ /usr/lib/nagios/plugins/check_nrpe -H 10.10.10.45 -c > >> loadscript_check_error_log > >> NRPE: Unable to read output > >> > >> Thoughts? > > "/home/jesterj/" is probably chowned to 700 anyway so the NRPE daemon > won't be able to access and execute it anyway. > > Try running it manually with sudo to see the actual result: > sudo -u nagios /usr/local/bin/python > /home/jesterj/report_loadscript_error_log.py > > Also, you should copy your script in a more appropriate location such as > /usr/local/bin or even /usr/lib/nagios/plugins if you have installed > Nagios on a Debian or Ubuntu server. > > You can also try to start NRPE with "debug=1": > > "How to go about debugging other problems... > > When debugging problems it may be useful to edit the NRPE configuration > file and change the debug=0 entry to debug=1. Once you do that, restart > the NRPE daemon if it is running as a standalone daemon. After you try > using the check_nrpe plugin again, you should be able to see some > debugging information in the log files of the remote host. Check your > logs carefully ? they should be able to help provide clues as to where > the problem lies..." > > Ref.: http://nagios.sourceforge.net/docs/nrpe/NRPE.pdf > > > -- > Mathieu > > > > ------------------------------ > > ------------------------------------------------------------------------- > 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=100&url=/ > > ------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > End of Nagios-users Digest, Vol 29, Issue 34 > ******************************************** > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From MachielR at agilitytech.co.za Sat Nov 1 08:28:22 2008 From: MachielR at agilitytech.co.za (Machiel Richards) Date: Sat, 1 Nov 2008 09:28:22 +0200 Subject: Monitoring telnet connections Message-ID: <83437EDC1BA9984683B498F1BF2ED27506E4B38664@CTMAIN.caretech.co.za> Hi Eveyone I hope someone can help me out here... I have written quite a couple of monitoring scripts for nagios but I now have a challenging one which I am not sure how to approach. We have two servers , one running linux and one running windows, on which we need to monitor telnet connectivity to a specific port. This obviously need to be run from the nagios server itself for a couple of reasons.... I am trying to find out how this can be achieved. Regards *** Disclaimer *** The information contained in this e-mail is confidential and legally privileged and is intended solely for the addressee and to others who have the authority to receive it. Access to this e-mail by anyone else is unauthorized and as such, any disclosure, copying, distribution or any action taken or omitted in reliance on it is unlawful. If you have received this e-mail in error, please notify the sender immediately. The views expressed in this e-mail are the views of the individual sender and should in no way be construed as the views of the Company. The Company is not liable to ensure that outgoing e-mails are virus-free. The Company is not liable, should information or data, for whatever reason, be corrupted or fail to reach its intended addressee. The Company is not liable for any loss or damage of whatsoever nature and howsoever arising resulting from the opening or the use of the information in this e-mail, including its attachments and links. The sender of this e-mail is subject to and bound by the terms and conditions of Company?s Electronic Communications Usage Policy. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From andy-lists at networkmail.eu Sat Nov 1 10:05:16 2008 From: andy-lists at networkmail.eu (Andy Shellam) Date: Sat, 01 Nov 2008 09:05:16 +0000 Subject: Monitoring telnet connections In-Reply-To: <83437EDC1BA9984683B498F1BF2ED27506E4B38664@CTMAIN.caretech.co.za> References: <83437EDC1BA9984683B498F1BF2ED27506E4B38664@CTMAIN.caretech.co.za> Message-ID: <490C1BCC.6080603@networkmail.eu> Hi Machiel, Is it something as simple as checking that the port on your Windows/Linux box is alive and responding? If so the check_tcp plugin will do that for you. You can also configure it to send a specific string (e.g a login request) and expect a response back (e.g. a login response.) /usr/local/nagios/libexec/check_tcp --help Regards, Andy Machiel Richards wrote: > > Hi Eveyone > > I hope someone can help me out here... > > I have written quite a couple of monitoring scripts for nagios but I > now have a challenging one which I am not sure how to approach. > > We have two servers , one running linux and one running windows, on > which we need to monitor telnet connectivity to a specific port. > > This obviously need to be run from the nagios server itself for a > couple of reasons.... > > I am trying to find out how this can be achieved. > > Regards > > *** Disclaimer *** > > The information contained in this e-mail is confidential and legally > privileged and is intended solely for the addressee and to others who > have the authority to receive it. Access to this e-mail by anyone else > is unauthorized and as such, any disclosure, copying, distribution or > any action taken or omitted in reliance on it is unlawful. If you have > received this e-mail in error, please notify the sender immediately. > > The views expressed in this e-mail are the views of the individual > sender and should in no way be construed as the views of the Company. > > The Company is not liable to ensure that outgoing e-mails are virus-free. > > The Company is not liable, should information or data, for whatever > reason, be corrupted or fail to reach its intended addressee. > > The Company is not liable for any loss or damage of whatsoever nature > and howsoever arising resulting from the opening or the use of the > information in this e-mail, including its attachments and links. > > The sender of this e-mail is subject to and bound by the terms and > conditions of Company?s Electronic Communications Usage Policy. > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > 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=100&url=/ > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From thomas at apestaart.org Sat Nov 1 15:46:39 2008 From: thomas at apestaart.org (Thomas Vander Stichele) Date: Sat, 01 Nov 2008 15:46:39 +0100 Subject: changing display of service description without losing history Message-ID: <1225550799.8244.104.camel@ana.amantes> Hi, I would like to know if there is any way in which display of service_description can be customized. I would like to have our web interface and sms notifications include a little bit of information: - an importance of the alarm (in cases where we have multiple, which happens quite often, I'd like our operators to be able to see the priority) - some initial info that tells them where to start looking at the root cause (in our case, usually that's a host:port combination where a service runs they should connect to from a custom tool) If I put this information in the service_description as I do now, then the drawback is that we lose all service history when we change the description, because that's what Nagios keys on. Is there any other way in which we can easily customize the display of a service_description without losing history ? I've noticed that in 3.0, a property was added called display_name to host and services, which would seem to be what I want. Sadly: "This directive is used to define an alternate name that should be displayed in the web interface for this service. If not specified, this defaults to the value you specify for the service_description directive. Note: The current CGIs do not use this option, although future versions of the web interface will." It seems to suggest this doesn't work in the web interface. It says nothing about the other notifications (email/SMS). This feature alone would make it worth it to me to upgrade from our current 2.5 to 3.0. Could someone tell me: - why display_name was added ? (I didn't find any mention of it in the archive of this list) My suspicion is it was added to address my specific use case. - what it actually does today ? - if patches to make it be used in the current web interface as well as notifications would be considered ? Thanks Thomas -- I pulled myself together It tore us apart -- MOAP - Maintaining your projects since 2006 https://apestaart.org/moap/trac/ ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From chunt at reachone.com Sun Nov 2 00:36:18 2008 From: chunt at reachone.com (Christopher Hunt) Date: Sat, 01 Nov 2008 16:36:18 -0700 Subject: who is on call? In-Reply-To: <4904B4CC.2040308@reachone.com> References: <4904B4CC.2040308@reachone.com> Message-ID: <490CE7F2.5080604@reachone.com> easy, create a test service: define service{ use generic-service host_name localhost service_description Notification Check check_command check-host-alive active_checks_enabled 0 ; Active service checks are disabled max_check_attempts 1 ; only take one submission to page notification_interval 5 } [root at pettit-nag ~]# cat /etc/cron.d/nagios-checker 20 8 * * 5 root /root/nagios-checker &>/dev/null [root at pettit-nag ~]# cat /root/nagios-checker ####################################################################### # # # This script will generate a passive service failure then recovery. # # It is designed to be regularly triggered to ensure that Nagios # # Notifications are still happening. # # # ####################################################################### #!/bin/bash echo "[`date +"%s"`] PROCESS_SERVICE_CHECK_RESULT;localhost;Notification Check;2;Notification check started" >>/var/log/nagios/rw/nagios.cmd sleep 80 echo "[`date +"%s"`] PROCESS_SERVICE_CHECK_RESULT;localhost;Notification Check;0;Notification check started" >>/var/log/nagios/rw/nagios.cmd Christopher Hunt ReachONE Internet, Inc. (360)456-5640 http://www.reachone.com Christopher Hunt wrote: > How can i tell who's REALLY on-call when using the rotation feature? > > I'm running nagios 3.0.3 and appreciating the timeperiod.cfg rotation > feature. I have 3 techs on call and we rotate weekly. All 3 techs are > part on the on-call contact-group. So part of my timeperiods.cfg looks > like this: > > define timeperiod{ > timeperiod_name bob-oncall > alias Bob Is On-Call > 2008-06-27 / 21 00:00-07:30,17:30-24:00 ; Friday - every 21 days > 2008-06-28 / 21 00:00-24:00 ; Saturday > 2008-06-29 / 21 00:00-24:00 ; Sunday > 2008-06-30 / 21 00:00-07:30,17:30-24:00 ; Monday > 2008-07-01 / 21 00:00-07:30,17:30-24:00 ; Tuesday > 2008-07-02 / 21 00:00-07:30,17:30-24:00 ; Wednesday > 2008-07-03 / 21 00:00-07:30,17:30-24:00 ; Thursday > } > > define timeperiod{ > timeperiod_name doug-oncall > alias Doug Is On-call > 2008-07-04 / 21 00:00-07:30,17:30-24:00 ; Friday - every 21 days > 2008-07-05 / 21 00:00-24:00 ; Saturday > 2008-07-06 / 21 00:00-24:00 ; Sunday > 2008-07-07 / 21 00:00-07:30,17:30-24:00 ; Monday > 2008-07-08 / 21 00:00-07:30,17:30-24:00 ; Tuesday > 2008-07-09 / 21 00:00-07:30,17:30-24:00 ; Wednesday > 2008-07-10 / 21 00:00-07:30,17:30-24:00 ; Thursday > } > > define timeperiod{ > alias McKenzie Is On-call > timeperiod_name mckenzie-oncall > 2008-07-11 / 21 00:00-07:30,17:30-24:00 ; Friday - every 21 days > 2008-07-12 / 21 00:00-24:00 ; Saturday > 2008-07-13 / 21 00:00-24:00 ; Sunday > 2008-07-14 / 21 00:00-07:30,17:30-24:00 ; Monday > 2008-07-15 / 21 00:00-07:30,17:30-24:00 ; Tuesday > 2008-07-16 / 21 00:00-07:30,17:30-24:00 ; Wednesday > 2008-07-17 / 21 00:00-07:30,17:30-24:00 ; Thursday > } > > I know, according to my paper calendar, who should theoretically be on > call but as the dates in the config get farther in the past it gets > harder to see who might be on call on a given day. Is there any way, > either through bash script, forced page or some other method, to get > nagios to tell me which contact it would use? > > Thanks > -Chris > > ------------------------------------------------------------------------- > 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=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jon at netdork.net Sun Nov 2 05:39:05 2008 From: jon at netdork.net (Jon Angliss) Date: Sat, 01 Nov 2008 23:39:05 -0500 Subject: Plugin Trouble References: <59022.65.161.127.93.1225395391.squirrel@ameliaschools.com> Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thu, 30 Oct 2008 15:36:31 -0400 (EDT), "Bo Lynch" wrote: >On Thu, October 30, 2008 3:19 pm, Charles Breite wrote: >> It looks like you need the -C for the community >> Here is an example of mine >> $USER1$/check_snmp_int -2 -i -H $HOSTADDRESS$ -C $ARG1$ -n >> $ARG2$ >> >> >> -----Original Message----- >> From: Bo Lynch [mailto:blynch at ameliaschools.com] >> Sent: Thursday, October 30, 2008 1:18 PM >> To: nagios-users at lists.sourceforge.net >> Subject: [Nagios-users] Plugin Trouble >> >> I am trying to use the check_snmp_printer plugin to monitor a few printers >> on the network. I am able to use it via the bash shell with >> ./check_snmp_printer 192.168.x.x public CONSUM ALL. However when I define >> it in objects/commands.cfg and make a .cfg file for a printer I get a >"usage is: " in nagios >> >> Here is how I have defined the command in commands.cfg >> # 'check_snmp_printer' command definition >> define command{ >> command_name check_snmp_printer >> command_line $USER1$/check_snmp_printer $HOSTADDRESS$ $ARG1$ >> $ARG2$ >> } >> I'm thinking its something with the way I have it defined. Any input would >> be greatly appreciated. >> Thanks >> -- >> Bo Lynch >> > >Thanks for the info. I am using the bash version of the script not the >perl version so it takes no swicthes like -C -H and such. I did however >manage to figure it out. command.cfg = ># 'check_snmp_printer' command definition >define command{ > command_name check_snmp_printer > command_line $USER1$/check_snmp_printer $ARG1$ $ARG2$ $ARG3$ } > >service def....... >define service{ > use generic-service > host_name ACHS Lounge > service_description Printer Consumables > check_command >check_snmp_printer!192.168.1.238!public!CONSUM ALL >normal_check_interval 10 > retry_check_interval 1 > } >Thanks everybody. > This seems a little bit of an odd change, but I'm not sure how you have your hosts defined. Do you have a host defined for each printer? Or do you have a single host, with multiple printer tests assigned? If you're using a single host per printer, passing in the IP address for the printer into the service is a little odd. The original definition for the command was OK, it looks like you probably just needed to drop the IP address. ie: define service { [...] check_command check_snmp_printer!public!CONSUM ALL } The command definition would get the host address from the other macros. You can then use hostgroups to assign services to a batch of printers that have the same tests. - -- Jon Angliss -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) - GPGshell v3.64 iEYEARECAAYFAkkNLuEACgkQK4PoFPj9H3MEXwCfesbTvw1/Iti1QY4fCyjCMwrJ 0vYAnAvJ/lD56gRoCXxhWWDN7SINEOiG =3+2z -----END PGP SIGNATURE----- ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jon at netdork.net Sun Nov 2 06:02:16 2008 From: jon at netdork.net (Jon Angliss) Date: Sun, 02 Nov 2008 00:02:16 -0500 Subject: host with multiple addresses and check_nrpe References: <200810301143.36972.dani@tydnet.org> <7166D98D-069C-4772-B830-B3FBB7641731@ena.com> <200810301427.24957.dani@tydnet.org> Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thu, 30 Oct 2008 14:27:24 +0100, Daniel L?pez wrote: >On Thursday 30 October 2008 02:10:16 pm Marc Powell wrote: > >>> Does not check_nrpe handle correctly the list of addresses? >> No, it does not. Most of the standard nagios plugins wouldn't. They >> expect a single host address. >ooh, ok. >>> How could i handle this? >> Write a wrapper plugin that accepts multiple host addresses, >> determines the 'aliveness' of host 1, 2 and 3, runs check_nrpe against >> the one you're interested in and returns the results, including exit >> code to nagios? >Ok, thanks a lot, Mark, it's a solution. I'll have to do that. The other option is to have each of the hosts setup individually, and do the checks against all 3 as normal, but use the check_cluster plugin to ensure you get a good result from at least one of the hosts. The alternative, as Marc suggested, is a custom script that takes the host address you have, splits it, and executes the command until it gets a good result. - -- Jon Angliss -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) - GPGshell v3.64 iEYEARECAAYFAkkNNEgACgkQK4PoFPj9H3Or4wCfQchbk0iQosBqCwkRamkr3SID ey8AoLO5AdKTKX1yx2tu/JvWp5zPq6Ja =s7ld -----END PGP SIGNATURE----- ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From hvdkooij at vanderkooij.org Sun Nov 2 13:07:46 2008 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Sun, 02 Nov 2008 13:07:46 +0100 Subject: Nagios 3 now on rpmforge Message-ID: <490D9812.4010906@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, The packagers at rpmforge have added nagios 3.0.4 to repository. I just finished doing the upgrade myself on 1 server and it only took me about 10 minutes to make the various changes. Most of those changes were changes I was planning to do anyhow to make a cleaner set of commands in my config. Hugo. - -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc A: Yes. >Q: Are you sure? >>A: Because it reverses the logical flow of conversation. >>>Q: Why is top posting frowned upon? Bored? Click on http://spamornot.org/ and rate those images. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org iD8DBQFJDZgJBvzDRVjxmYERAsZSAKCo7QRLEl84OVN9+DziY48IYJnTuQCfSUz0 uW4RGkfGqhpOk38adsJklpw= =yrUK -----END PGP SIGNATURE----- ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Sun Nov 2 16:30:48 2008 From: marc at ena.com (Marc Powell) Date: Sun, 2 Nov 2008 09:30:48 -0600 Subject: changing display of service description without losing history In-Reply-To: <1225550799.8244.104.camel@ana.amantes> References: <1225550799.8244.104.camel@ana.amantes> Message-ID: <4D217FF9-10B5-4DDE-B227-D5AF4A37FA8F@ena.com> On Nov 1, 2008, at 9:46 AM, Thomas Vander Stichele wrote: > Hi, > > I would like to know if there is any way in which display of > service_description can be customized. > If I put this information in the service_description as I do now, then > the drawback is that we lose all service history when we change the > description, because that's what Nagios keys on. > > Is there any other way in which we can easily customize the display > of a > service_description without losing history ? Change the service description in nagios.log and archives/* to match. I'd offer that you're wanting to use it for something it wasn't meant for. serviceextinfo{} definitions in nagios-2, specifically notes_url was meant for this purpose. notes_url was moved to service{} definitions in 3.x. That allows you to link to an external page/script/ whatever that contains all that troubleshooting information or whatever. > Could someone tell me: > - why display_name was added ? (I didn't find any mention of it in the > archive of this list) My suspicion is it was added to address my > specific use case. I'd take the docs at their word and assume that it's for displaying a brief alternate name for the service, not a large amount of information. > - what it actually does today ? useful in macros only. The macro documentation shows that it can be passed to Service Checks, Service event handlers and OCSP, Service Notifications and Service Perfdata commands. > - if patches to make it be used in the current web interface as well > as > notifications would be considered ? ask on nagios-devel. Chances are high that it would have to be extremely useful to be included in the current CGI code. Since your purpose appears to duplicate existing functionality, you need to make a strong case for it. -- Marc ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ladams at cloudmark.com Sun Nov 2 21:45:27 2008 From: ladams at cloudmark.com (Lori Adams) Date: Sun, 2 Nov 2008 12:45:27 -0800 Subject: failure_prediction_enabled flag Message-ID: Looking in both the 2.x and 3.x docs, I'm unable to find out what the "failure_prediction_enabled" flag does. I came across it in the objects.cache file and am curious what it means. Can someone enlighten me? Also it seems that the default = 1, even though I don't have that set anywhere in my configs. -Lori -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From sanjeeb.parida at orange-ftgroup.com Mon Nov 3 06:06:49 2008 From: sanjeeb.parida at orange-ftgroup.com (sanjeeb.parida at orange-ftgroup.com) Date: Mon, 3 Nov 2008 13:06:49 +0800 Subject: Nagios-users Digest, Vol 29, Issue 34 In-Reply-To: References: Message-ID: Hi , Can anyone help me to findout and how to configure Mysql with NAGIOS to store data?As Nagios with Apache can not store huge amount of data . Regards Sanjeeb Parida Implementation - Release Management Information Tech. & Services {IT&S} Orange Business Services Infinity Towers,Tower B - 8th Floor DLF Phase II, DLF Cyber City, Gurgaon Haryana - 122002 India CVS: 7-357-6619 Phone: +91-124-435-8332 Mobile Phone: +91-9873143615 sanjeeb.parida at orange-ftgroup.com www.orange-business.com -----Original Message----- From: nagios-users-request at lists.sourceforge.net [mailto:nagios-users-request at lists.sourceforge.net] Sent: Saturday, November 01, 2008 4:11 AM To: nagios-users at lists.sourceforge.net Subject: Nagios-users Digest, Vol 29, Issue 34 Send Nagios-users mailing list submissions to nagios-users at lists.sourceforge.net To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/nagios-users or, via email, send a message with subject or body 'help' to nagios-users-request at lists.sourceforge.net You can reach the person managing the list at nagios-users-owner at lists.sourceforge.net When replying, please edit your Subject line so it is more specific than "Re: Contents of Nagios-users digest..." Today's Topics: 1. Re: does nagios need apache? (jeremiah) 2. Re: does nagios need apache? (Marc Powell) 3. Re: does nagios need apache? (Valdinger, Stephen (DOV, MSX)) 4. Re: does nagios need apache? (jeremiah) 5. nrpe script (jeremiah) 6. Re: nrpe script (Valdinger, Stephen (DOV, MSX)) 7. Re: nrpe script (Marc Powell) 8. Re: nrpe script (Mathieu Gagn?) 9. Re: nrpe script (Patrick Morris) 10. Re: nrpe script (jeremiah) 11. Re: nrpe script (jeremiah) 12. Re: nrpe script (Aaron Segura) 13. Re: nrpe script (Patrick Morris) 14. Re: nrpe script (Mathieu Gagn?) 15. Re: nrpe script (jeremiah) 16. Re: nrpe script (jeremiah) 17. Re: nrpe script (jeremiah) 18. Re: nrpe script (Mathieu Gagn?) ---------------------------------------------------------------------- Message: 1 Date: Fri, 31 Oct 2008 13:25:28 -0700 From: jeremiah Subject: Re: [Nagios-users] does nagios need apache? To: Novin Jaiswal Cc: "Valdinger, Stephen \(DOV, MSX\)" , nagios-users at lists.sourceforge.net Message-ID: <1225484728.22686.40.camel at jeremiah-laptop> Content-Type: text/plain But can i view the historical data without running apache by a nagios command line interface without parsing log files? On Fri, 2008-10-31 at 13:23 -0700, Novin Jaiswal wrote: > Using apache you can view the different historical data of Nagios as > html out put. Using http protocol. > > For eg. http://servername/nagios > > Thanks & Regards > Novin Jaiswal > Ishi Systems Inc. > 732-318-8156(cell) > > > > > -----Original Message----- > From: Valdinger, Stephen (DOV, MSX) [mailto:svalding at doverchem.com] > Sent: Friday, October 31, 2008 4:20 PM > To: jeremiah.jester at panasonic.aero; nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] does nagios need apache? > > Nagios itself is just a daemon. The only reason for apache is for the > cgi's and web interface. > > > ------Original Message------ > From: jeremiah > To: Nagios-Users > ReplyTo: jeremiah.jester at panasonic.aero > Sent: Oct 31, 2008 4:14 PM > Subject: [Nagios-users] does nagios need apache? > > Does nagios need apache to run or is it possible to run as a daemon? > > thanks, > JJ > > > > Disclaimer: The information contained in this transmission, including > any attachments, may contain confidential information of Panasonic > Avionics Corporation. This transmission is intended only for the use > of the > addressee(s) listed above. Unauthorized review, dissemination or > other use of the information contained in this transmission is > strictly prohibited. > If you have received this transmission in error or have reason to > believe you are not authorized to receive it, please notify the sender > by return > > email and promptly delete the transmission. > > > > ---------------------------------------------------------------------- > -- > - > 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=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > > > Stephen Valdinger > MIS Helpdesk Coordinator > P: 330.365.3622 > C: 740.491.0958 > > ---------------------------------------------------------------------- > -- > - > 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=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > > > ------------------------------ Message: 2 Date: Fri, 31 Oct 2008 15:55:24 -0500 From: Marc Powell Subject: Re: [Nagios-users] does nagios need apache? To: nagios-users at lists.sourceforge.net Message-ID: <316B3A65-1A44-4458-AA1F-A7ADCE745C9B at ena.com> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes On Oct 31, 2008, at 3:25 PM, jeremiah wrote: > But can i view the historical data without running apache by a nagios > command line interface without parsing log files? No, the cgi's are the only provided interface for that. There are no command-line reporting tools included. grep and less of the log files for basic stuff; one of the reporting addons at nagiosexchange.org are your other options. There's also a third party command line interface at nagiosexchange (Utilities->Terminal) but I think it just shows current states. -- Marc ------------------------------ Message: 3 Date: Fri, 31 Oct 2008 17:03:05 -0400 From: "Valdinger, Stephen \(DOV, MSX\)" Subject: Re: [Nagios-users] does nagios need apache? To: , "Novin Jaiswal" Cc: nagios-users at lists.sourceforge.net Message-ID: Content-Type: text/plain; charset="us-ascii" There are utilities do that yes. In the /usr/local/bin/Nagios (at least in my install, your path may be different) there is a nagiosstats binary you can run. There are options for mrtg (-m) or csv (-c) output. Note that this only gives you performance data, and not data on individual checks of hosts and services. As Marc stated you will have to look on nagiosexchange.org for utilities that do those sorts of functions. Stephen Valdinger MIS Helpdesk Coordinator 330.365.3622 -O 740.491.0958 - C svalding at doverchem.com Never agrue with an idiot. They drag you down to their level and then beat you with their experience. -----Original Message----- From: jeremiah [mailto:jeremiah.jester at panasonic.aero] Sent: Friday, October 31, 2008 4:25 PM To: Novin Jaiswal Cc: Valdinger, Stephen (DOV, MSX); nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] does nagios need apache? But can i view the historical data without running apache by a nagios command line interface without parsing log files? On Fri, 2008-10-31 at 13:23 -0700, Novin Jaiswal wrote: > Using apache you can view the different historical data of Nagios as > html out put. Using http protocol. > > For eg. http://servername/nagios > > Thanks & Regards > Novin Jaiswal > Ishi Systems Inc. > 732-318-8156(cell) > > > > > -----Original Message----- > From: Valdinger, Stephen (DOV, MSX) [mailto:svalding at doverchem.com] > Sent: Friday, October 31, 2008 4:20 PM > To: jeremiah.jester at panasonic.aero; nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] does nagios need apache? > > Nagios itself is just a daemon. The only reason for apache is for the > cgi's and web interface. > > > ------Original Message------ > From: jeremiah > To: Nagios-Users > ReplyTo: jeremiah.jester at panasonic.aero > Sent: Oct 31, 2008 4:14 PM > Subject: [Nagios-users] does nagios need apache? > > Does nagios need apache to run or is it possible to run as a daemon? > > thanks, > JJ > > > > Disclaimer: The information contained in this transmission, including > any attachments, may contain confidential information of Panasonic > Avionics Corporation. This transmission is intended only for the use > of the > addressee(s) listed above. Unauthorized review, dissemination or > other use of the information contained in this transmission is > strictly prohibited. > If you have received this transmission in error or have reason to > believe you are not authorized to receive it, please notify the sender > by return > > email and promptly delete the transmission. > > > > ------------------------------------------------------------------------ > - > 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=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > > > Stephen Valdinger > MIS Helpdesk Coordinator > P: 330.365.3622 > C: 740.491.0958 > > ------------------------------------------------------------------------ > - > 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=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > > > ------------------------------ Message: 4 Date: Fri, 31 Oct 2008 14:10:25 -0700 From: jeremiah Subject: Re: [Nagios-users] does nagios need apache? To: "Valdinger, Stephen (DOV, MSX)" Cc: nagios-users at lists.sourceforge.net Message-ID: <1225487425.3209.9.camel at jeremiah-laptop> Content-Type: text/plain Great. thanks to all. On Fri, 2008-10-31 at 14:03 -0700, Valdinger, Stephen (DOV, MSX) wrote: > There are utilities do that yes. In the /usr/local/bin/Nagios (at > least in my install, your path may be different) there is a > nagiosstats binary you can run. There are options for mrtg (-m) or csv > (-c) output. Note that this only gives you performance data, and not > data on individual checks of hosts and services. As Marc stated you > will have to look on nagiosexchange.org for utilities that do those > sorts of functions. > > Stephen Valdinger > MIS Helpdesk Coordinator > 330.365.3622 -O > 740.491.0958 - C > svalding at doverchem.com > Never agrue with an idiot. They drag you down to their level and then > beat you with their experience. > > -----Original Message----- > From: jeremiah [mailto:jeremiah.jester at panasonic.aero] > Sent: Friday, October 31, 2008 4:25 PM > To: Novin Jaiswal > Cc: Valdinger, Stephen (DOV, MSX); nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] does nagios need apache? > > But can i view the historical data without running apache by a nagios > command line interface without parsing log files? > > On Fri, 2008-10-31 at 13:23 -0700, Novin Jaiswal wrote: > > Using apache you can view the different historical data of Nagios as > > html out put. Using http protocol. > > > > For eg. http://servername/nagios > > > > Thanks & Regards > > Novin Jaiswal > > Ishi Systems Inc. > > 732-318-8156(cell) > > > > > > > > > > -----Original Message----- > > From: Valdinger, Stephen (DOV, MSX) [mailto:svalding at doverchem.com] > > Sent: Friday, October 31, 2008 4:20 PM > > To: jeremiah.jester at panasonic.aero; > nagios-users at lists.sourceforge.net > > Subject: Re: [Nagios-users] does nagios need apache? > > > > Nagios itself is just a daemon. The only reason for apache is for > the > > cgi's and web interface. > > > > > > ------Original Message------ > > From: jeremiah > > To: Nagios-Users > > ReplyTo: jeremiah.jester at panasonic.aero > > Sent: Oct 31, 2008 4:14 PM > > Subject: [Nagios-users] does nagios need apache? > > > > Does nagios need apache to run or is it possible to run as a daemon? > > > > thanks, > > JJ > > > > > > > > Disclaimer: The information contained in this transmission, > including > > any > > attachments, may contain confidential information of Panasonic > > Avionics Corporation. This transmission is intended only for the > > use of the > > addressee(s) listed above. Unauthorized review, dissemination or > > other use of the information contained in this transmission is > > strictly prohibited. > > If you have received this transmission in error or have reason to > > believe you are not authorized to receive it, please notify the > > sender by return > > > > email and promptly delete the transmission. > > > > > > > > > ---------------------------------------------------------------------- > -- > > - > > 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=100&url=/ > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at 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 > > > > > > Stephen Valdinger > > MIS Helpdesk Coordinator > > P: 330.365.3622 > > C: 740.491.0958 > > > > > ---------------------------------------------------------------------- > -- > > - > > 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=100&url=/ > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at 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 > > > > > > > > > ------------------------------ Message: 5 Date: Fri, 31 Oct 2008 14:21:07 -0700 From: jeremiah Subject: [Nagios-users] nrpe script To: Nagios Message-ID: <1225488067.3209.20.camel at jeremiah-laptop> Content-Type: text/plain; charset="iso-8859-1" Hi folks, I have another question for you all that i haven't been able to resolve. I want to run a python script on my monitored hosts using the nrpe command. On my server I am running the following command: # /usr/lib/nagios/plugins/check_nrpe -H 10.10.10.45 -c loadscript_check_error_log Every time i run the command above then i get the following error: "NRPE: Command 'loadscript_check_error_log' not defined On my monitored hosts, I've specified the corellary command in /etc/nagios/nrpe.cfg, then restarted the service. # command[loadscript_check_error_log]=python /home/username/script.py Am I missing something? Does the command[loadscript_check_error_log] actually have to be a valid plugin in the plugins directory or am I defining the action of running the script in this file? Note: This is the only command in my config that is not working for me so unlikely a service issue but rather something wrong with my config. Thanks! JJ Disclaimer: The information contained in this transmission, including any attachments, may contain confidential information of Panasonic Avionics Corporation. This transmission is intended only for the use of the addressee(s) listed above. Unauthorized review, dissemination or other use of the information contained in this transmission is strictly prohibited. If you have received this transmission in error or have reason to believe you are not authorized to receive it, please notify the sender by return email and promptly delete the transmission. ------------------------------ Message: 6 Date: Fri, 31 Oct 2008 17:25:01 -0400 From: "Valdinger, Stephen \(DOV, MSX\)" Subject: Re: [Nagios-users] nrpe script To: , Message-ID: Content-Type: text/plain; charset="us-ascii" Is python in the path on the particular server? Try using /path/to/python and see if you have success. Stephen Valdinger MIS Helpdesk Coordinator P: 330.365.3622 C: 740.491.0958 -----Original Message----- From: jeremiah To: Nagios Sent: Fri Oct 31 17:21:07 2008 Subject: [Nagios-users] nrpe script Hi folks, I have another question for you all that i haven't been able to resolve. I want to run a python script on my monitored hosts using the nrpe command. On my server I am running the following command: # /usr/lib/nagios/plugins/check_nrpe -H 10.10.10.45 -c loadscript_check_error_log Every time i run the command above then i get the following error: "NRPE: Command 'loadscript_check_error_log' not defined On my monitored hosts, I've specified the corellary command in /etc/nagios/nrpe.cfg, then restarted the service. # command[loadscript_check_error_log]=python /home/username/script.py Am I missing something? Does the command[loadscript_check_error_log] actually have to be a valid plugin in the plugins directory or am I defining the action of running the script in this file? Note: This is the only command in my config that is not working for me so unlikely a service issue but rather something wrong with my config. Thanks! JJ Disclaimer: The information contained in this transmission, including any attachments, may contain confidential information of Panasonic Avionics Corporation. This transmission is intended only for the use of the addressee(s) listed above. Unauthorized review, dissemination or other use of the information contained in this transmission is strictly prohibited. If you have received this transmission in error or have reason to believe you are not authorized to receive it, please notify the sender by return email and promptly delete the transmission. ------------------------------------------------------------------------ - 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 ------------------------------ Message: 7 Date: Fri, 31 Oct 2008 16:37:36 -0500 From: Marc Powell Subject: Re: [Nagios-users] nrpe script To: Nagios Message-ID: Content-Type: text/plain; charset=US-ASCII; format=flowed On Oct 31, 2008, at 4:21 PM, jeremiah wrote: > Every time i run the command above then i get the following error: > > "NRPE: Command 'loadscript_check_error_log' not defined > > On my monitored hosts, I've specified the corellary command in > /etc/nagios/nrpe.cfg, then restarted the service. > > # command[loadscript_check_error_log]=python /home/username/script.py This command definition is commented out (#). -- Marc ------------------------------ Message: 8 Date: Fri, 31 Oct 2008 17:42:54 -0400 From: Mathieu Gagn? Subject: Re: [Nagios-users] nrpe script To: jeremiah.jester at panasonic.aero Cc: Nagios Message-ID: <490B7BDE.4080803 at iweb.com> Content-Type: text/plain; charset=us-ascii; format=flowed Hi Jeremiah, jeremiah wrote: > On my monitored hosts, I've specified the corellary command > in /etc/nagios/nrpe.cfg, then restarted the service. > > # command[loadscript_check_error_log]=python /home/username/script.py > > Am I missing something? Is there really a "#" at the beginning of the line? You should remove it as this character indicates the beginning of a comment, therefore everything after will be ignored. Also, make sure the daemon is loading the right configuration file and not another located in /etc or /usr/local/nagios/etc, ... -- Mathieu ------------------------------ Message: 9 Date: Fri, 31 Oct 2008 14:36:58 -0700 From: Patrick Morris Subject: Re: [Nagios-users] nrpe script To: jeremiah Cc: "Morris, Patrick" , Nagios Message-ID: <20081031213658.GZ31128 at bakgwai.americas.hpqcorp.net> Content-Type: text/plain; charset=us-ascii On Fri, 31 Oct 2008, jeremiah wrote: > No, I was trying to simulate a command prompt. > > JJ > > On Fri, 2008-10-31 at 14:31 -0700, Patrick Morris wrote: > > On Fri, 31 Oct 2008, jeremiah wrote: > > > > > Hi folks, > > > > > > I have another question for you all that i haven't been able to > > resolve. > > > > > > I want to run a python script on my monitored hosts using the nrpe > > > command. > > > > > > On my server I am running the following command: > > > > > > # /usr/lib/nagios/plugins/check_nrpe -H 10.10.10.45 -c > > > loadscript_check_error_log > > > > > > Every time i run the command above then i get the following error: > > > > > > "NRPE: Command 'loadscript_check_error_log' not defined > > > > > > On my monitored hosts, I've specified the corellary command in > > > /etc/nagios/nrpe.cfg, then restarted the service. > > > > > > # > > command[loadscript_check_error_log]=python /home/username/script.py > > > > > > Am I missing something? Does the > > > command[loadscript_check_error_log] > > > actually have to be a valid plugin in the plugins directory or am > > > I defining the action of running the script in this file? > > > > > > Note: This is the only command in my config that is not working > > > for > > me > > > so unlikely a service issue but rather something wrong with my > > config. > > > > Is it in the config file commented out with a "#" like that? Even on the "command[loadscript_check_error_log]" line (which you wouldn't have seen at a command line)? You should also always define your commands with absolute paths, both for clarity and security reasons. ------------------------------ Message: 10 Date: Fri, 31 Oct 2008 14:38:25 -0700 From: jeremiah Subject: Re: [Nagios-users] nrpe script To: "Valdinger, Stephen (DOV, MSX)" Cc: nagios-users at lists.sourceforge.net Message-ID: <1225489105.3209.31.camel at jeremiah-laptop> Content-Type: text/plain; charset="iso-8859-1" When I typed python on the command line it drops my into the python interpreter. Regardless, I went ahead and specified it in the command: command[loadscript_check_error_log]=/usr/local/bin/python /home/jesterj/report_loadscript_error_log.py now when i run the check_nrpe command from the server I get "could not run command". $ sudo /usr/lib/nagios/plugins/check_nrpe -H 10.10.10.45 -c loadscript_check_error_log Could not run command Thoughts? Thanks, JJ On Fri, 2008-10-31 at 14:25 -0700, Valdinger, Stephen (DOV, MSX) wrote: > Is python in the path on the particular server? Try using > /path/to/python and see if you have success. > > > Stephen Valdinger > MIS Helpdesk Coordinator > P: 330.365.3622 > C: 740.491.0958 > > > -----Original Message----- > From: jeremiah > To: Nagios > Sent: Fri Oct 31 17:21:07 2008 > Subject: [Nagios-users] nrpe script > > Hi folks, > > I have another question for you all that i haven't been able to > resolve. > > I want to run a python script on my monitored hosts using the nrpe > command. > > On my server I am running the following command: > > # /usr/lib/nagios/plugins/check_nrpe -H 10.10.10.45 -c > loadscript_check_error_log > > Every time i run the command above then i get the following error: > > "NRPE: Command 'loadscript_check_error_log' not defined > > On my monitored hosts, I've specified the corellary command in > /etc/nagios/nrpe.cfg, then restarted the service. > > # command[loadscript_check_error_log]=python /home/username/script.py > > Am I missing something? Does the command[loadscript_check_error_log] > actually have to be a valid plugin in the plugins directory or am I > defining the action of running the script in this file? > > Note: This is the only command in my config that is not working for me > so unlikely a service issue but rather something wrong with my config. > > Thanks! > > JJ > > > > Disclaimer: The information contained in this transmission, including > any attachments, may contain confidential information of Panasonic > Avionics Corporation. This transmission is intended only for the use > of the > addressee(s) listed above. Unauthorized review, dissemination or > other use of the information contained in this transmission is > strictly prohibited. > If you have received this transmission in error or have reason to > believe you are not authorized to receive it, please notify the sender > by return email and promptly delete the transmission. > > > > ---------------------------------------------------------------------- > --- 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=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > > > ------------------------------ Message: 11 Date: Fri, 31 Oct 2008 14:33:57 -0700 From: jeremiah Subject: Re: [Nagios-users] nrpe script To: Patrick Morris Cc: Nagios Message-ID: <1225488837.3209.26.camel at jeremiah-laptop> Content-Type: text/plain; charset="iso-8859-1" No, I was trying to simulate a command prompt. JJ On Fri, 2008-10-31 at 14:31 -0700, Patrick Morris wrote: > On Fri, 31 Oct 2008, jeremiah wrote: > > > Hi folks, > > > > I have another question for you all that i haven't been able to > resolve. > > > > I want to run a python script on my monitored hosts using the nrpe > > command. > > > > On my server I am running the following command: > > > > # /usr/lib/nagios/plugins/check_nrpe -H 10.10.10.45 -c > > loadscript_check_error_log > > > > Every time i run the command above then i get the following error: > > > > "NRPE: Command 'loadscript_check_error_log' not defined > > > > On my monitored hosts, I've specified the corellary command in > > /etc/nagios/nrpe.cfg, then restarted the service. > > > > # > command[loadscript_check_error_log]=python /home/username/script.py > > > > Am I missing something? Does the command[loadscript_check_error_log] > > actually have to be a valid plugin in the plugins directory or am I > > defining the action of running the script in this file? > > > > Note: This is the only command in my config that is not working for > me > > so unlikely a service issue but rather something wrong with my > config. > > Is it in the config file commented out with a "#" like that? > > > Disclaimer: The information contained in this transmission, including any attachments, may contain confidential information of Panasonic Avionics Corporation. This transmission is intended only for the use of the addressee(s) listed above. Unauthorized review, dissemination or other use of the information contained in this transmission is strictly prohibited. If you have received this transmission in error or have reason to believe you are not authorized to receive it, please notify the sender by return email and promptly delete the transmission. ------------------------------ Message: 12 Date: Fri, 31 Oct 2008 15:43:01 -0600 From: Aaron Segura Subject: Re: [Nagios-users] nrpe script To: , "Nagios" Message-ID: Content-Type: text/plain; charset="us-ascii" There is no '#' on the beginning of the line in your nrpe.cfg is there? That's just in your e-mail for readability? -----Original Message----- From: jeremiah [mailto:jeremiah.jester at panasonic.aero] Sent: Friday, October 31, 2008 3:21 PM To: Nagios Subject: [Nagios-users] nrpe script Hi folks, I have another question for you all that i haven't been able to resolve. I want to run a python script on my monitored hosts using the nrpe command. On my server I am running the following command: # /usr/lib/nagios/plugins/check_nrpe -H 10.10.10.45 -c loadscript_check_error_log Every time i run the command above then i get the following error: "NRPE: Command 'loadscript_check_error_log' not defined On my monitored hosts, I've specified the corellary command in /etc/nagios/nrpe.cfg, then restarted the service. # command[loadscript_check_error_log]=python /home/username/script.py Am I missing something? Does the command[loadscript_check_error_log] actually have to be a valid plugin in the plugins directory or am I defining the action of running the script in this file? Note: This is the only command in my config that is not working for me so unlikely a service issue but rather something wrong with my config. Thanks! JJ Disclaimer: The information contained in this transmission, including any attachments, may contain confidential information of Panasonic Avionics Corporation. This transmission is intended only for the use of the addressee(s) listed above. Unauthorized review, dissemination or other use of the information contained in this transmission is strictly prohibited. If you have received this transmission in error or have reason to believe you are not authorized to receive it, please notify the sender by return email and promptly delete the transmission. ------------------------------------------------------------------------ - 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 ------------------------------ Message: 13 Date: Fri, 31 Oct 2008 14:31:36 -0700 From: Patrick Morris Subject: Re: [Nagios-users] nrpe script To: jeremiah Cc: Nagios Message-ID: <20081031213136.GX31128 at bakgwai.americas.hpqcorp.net> Content-Type: text/plain; charset=us-ascii On Fri, 31 Oct 2008, jeremiah wrote: > Hi folks, > > I have another question for you all that i haven't been able to resolve. > > I want to run a python script on my monitored hosts using the nrpe > command. > > On my server I am running the following command: > > # /usr/lib/nagios/plugins/check_nrpe -H 10.10.10.45 -c > loadscript_check_error_log > > Every time i run the command above then i get the following error: > > "NRPE: Command 'loadscript_check_error_log' not defined > > On my monitored hosts, I've specified the corellary command in > /etc/nagios/nrpe.cfg, then restarted the service. > > # command[loadscript_check_error_log]=python /home/username/script.py > > Am I missing something? Does the command[loadscript_check_error_log] > actually have to be a valid plugin in the plugins directory or am I > defining the action of running the script in this file? > > Note: This is the only command in my config that is not working for me > so unlikely a service issue but rather something wrong with my config. Is it in the config file commented out with a "#" like that? ------------------------------ Message: 14 Date: Fri, 31 Oct 2008 18:01:39 -0400 From: Mathieu Gagn? Subject: Re: [Nagios-users] nrpe script To: jeremiah.jester at panasonic.aero Cc: nagios-users at lists.sourceforge.net Message-ID: <490B8043.9010401 at iweb.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Hi, jeremiah wrote: > When I typed python on the command line it drops my into the python > interpreter. > > Regardless, I went ahead and specified it in the command: > > command[loadscript_check_error_log]=/usr/local/bin/python > /home/jesterj/report_loadscript_error_log.py > > now when i run the check_nrpe command from the server I get "could not > run command". > > $ sudo /usr/lib/nagios/plugins/check_nrpe -H 10.10.10.45 -c > loadscript_check_error_log > > Could not run command > > Thoughts? Can the user under which the NRPE daemon runs access and execute /home/jesterj/report_loadscript_error_log.py ? -- Mathieu ------------------------------ Message: 15 Date: Fri, 31 Oct 2008 15:10:25 -0700 From: jeremiah Subject: Re: [Nagios-users] nrpe script To: Mathieu Gagn? Cc: nagios-users at lists.sourceforge.net Message-ID: <1225491025.3209.34.camel at jeremiah-laptop> Content-Type: text/plain; charset="utf-8" I just chown'd the file for nagios. $ sudo chown nagios /home/jesterj/report_loadscript_error_log.py $ ls -la *.py -rwxr-xr-x 1 nagios jesterj 3156 2008-10-31 21:55 report_loadscript_error_log.py I'm now getting a different error after i fixed the path issue. $ /usr/lib/nagios/plugins/check_nrpe -H 10.10.10.45 -c loadscript_check_error_log NRPE: Unable to read output Thoughts? thanks, JJ On Fri, 2008-10-31 at 15:01 -0700, Mathieu Gagn? wrote: > Hi, > > jeremiah wrote: > > When I typed python on the command line it drops my into the python > > interpreter. > > > > Regardless, I went ahead and specified it in the command: > > > > > command[loadscript_check_error_log]=/usr/local/bin/python > /home/jesterj/report_loadscript_error_log.py > > > > now when i run the check_nrpe command from the server I get "could > not > > run command". > > > > $ sudo /usr/lib/nagios/plugins/check_nrpe -H 10.10.10.45 -c > > loadscript_check_error_log > > > > Could not run command > > > > Thoughts? > > Can the user under which the NRPE daemon runs access and execute > /home/jesterj/report_loadscript_error_log.py ? > > -- > Mathieu > > > Disclaimer: The information contained in this transmission, including any attachments, may contain confidential information of Panasonic Avionics Corporation. This transmission is intended only for the use of the addressee(s) listed above. Unauthorized review, dissemination or other use of the information contained in this transmission is strictly prohibited. If you have received this transmission in error or have reason to believe you are not authorized to receive it, please notify the sender by return email and promptly delete the transmission. ------------------------------ Message: 16 Date: Fri, 31 Oct 2008 15:20:53 -0700 From: jeremiah Subject: Re: [Nagios-users] nrpe script To: Mathieu Gagn? Cc: nagios-users at lists.sourceforge.net Message-ID: <1225491653.3209.36.camel at jeremiah-laptop> Content-Type: text/plain; charset=utf-8 i check the manual and this is what it says about this particular error: On Fri, 2008-10-31 at 15:10 -0700, jeremiah wrote: > I just chown'd the file for nagios. > > $ sudo chown nagios /home/jesterj/report_loadscript_error_log.py > > $ ls -la *.py > -rwxr-xr-x 1 nagios jesterj 3156 2008-10-31 21:55 > report_loadscript_error_log.py > > I'm now getting a different error after i fixed the path issue. > > $ /usr/lib/nagios/plugins/check_nrpe -H 10.10.10.45 -c > loadscript_check_error_log > NRPE: Unable to read output > > Thoughts? > > thanks, > JJ > > > > On Fri, 2008-10-31 at 15:01 -0700, Mathieu Gagn? wrote: > > Hi, > > > > jeremiah wrote: > > > When I typed python on the command line it drops my into the > python > > > interpreter. > > > > > > Regardless, I went ahead and specified it in the command: > > > > > > > > > command[loadscript_check_error_log]=/usr/local/bin/python > /home/jesterj/report_loadscript_error_log.py > > > > > > now when i run the check_nrpe command from the server I get "could > > not > > > run command". > > > > > > $ sudo /usr/lib/nagios/plugins/check_nrpe -H 10.10.10.45 -c > > > loadscript_check_error_log > > > > > > Could not run command > > > > > > Thoughts? > > > > Can the user under which the NRPE daemon runs access and execute > > /home/jesterj/report_loadscript_error_log.py ? > > > > -- > > Mathieu > > > > > > > > > > Disclaimer: The information contained in this transmission, including > any attachments, may contain confidential information of Panasonic > Avionics Corporation. This transmission is intended only for the use > of the > addressee(s) listed above. Unauthorized review, dissemination or > other use of the information contained in this transmission is > strictly prohibited. > If you have received this transmission in error or have reason to > believe you are not authorized to receive it, please notify the sender > by return email and promptly delete the transmission. > > > > ---------------------------------------------------------------------- > --- 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=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > > ------------------------------ Message: 17 Date: Fri, 31 Oct 2008 15:27:31 -0700 From: jeremiah Subject: Re: [Nagios-users] nrpe script To: Mathieu Gagn? Cc: nagios-users at lists.sourceforge.net Message-ID: <1225492051.3209.41.camel at jeremiah-laptop> Content-Type: text/plain; charset=utf-8 I just pulled this error up in the manual and it sasy the following about the error: "NRPE: Unable to read output" ===== This error indicates that the command that was run by the NRPE daemon did not return any character output. This could be an indication of the following problems: -An incorrectly defined command line in the command definition. Verify that the command definition in your NRPE configuration file is correct. -The plugin that is specified in the command line is malfunctioning. Run the command line manually to make sure the plugin returns some kind of text output."" ===== I ran the command via the command prompt and works fine w/ returning output. Hmmm. On Fri, 2008-10-31 at 15:10 -0700, jeremiah wrote: > I just chown'd the file for nagios. > > $ sudo chown nagios /home/jesterj/report_loadscript_error_log.py > > $ ls -la *.py > -rwxr-xr-x 1 nagios jesterj 3156 2008-10-31 21:55 > report_loadscript_error_log.py > > I'm now getting a different error after i fixed the path issue. > > $ /usr/lib/nagios/plugins/check_nrpe -H 10.10.10.45 -c > loadscript_check_error_log > NRPE: Unable to read output > > Thoughts? > > thanks, > JJ > > > > On Fri, 2008-10-31 at 15:01 -0700, Mathieu Gagn? wrote: > > Hi, > > > > jeremiah wrote: > > > When I typed python on the command line it drops my into the > python > > > interpreter. > > > > > > Regardless, I went ahead and specified it in the command: > > > > > > > > > command[loadscript_check_error_log]=/usr/local/bin/python > /home/jesterj/report_loadscript_error_log.py > > > > > > now when i run the check_nrpe command from the server I get "could > > not > > > run command". > > > > > > $ sudo /usr/lib/nagios/plugins/check_nrpe -H 10.10.10.45 -c > > > loadscript_check_error_log > > > > > > Could not run command > > > > > > Thoughts? > > > > Can the user under which the NRPE daemon runs access and execute > > /home/jesterj/report_loadscript_error_log.py ? > > > > -- > > Mathieu > > > > > > > > > > Disclaimer: The information contained in this transmission, including > any attachments, may contain confidential information of Panasonic > Avionics Corporation. This transmission is intended only for the use > of the > addressee(s) listed above. Unauthorized review, dissemination or > other use of the information contained in this transmission is > strictly prohibited. > If you have received this transmission in error or have reason to > believe you are not authorized to receive it, please notify the sender > by return email and promptly delete the transmission. > > > > ---------------------------------------------------------------------- > --- 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=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > > ------------------------------ Message: 18 Date: Fri, 31 Oct 2008 18:41:02 -0400 From: Mathieu Gagn? Subject: Re: [Nagios-users] nrpe script To: jeremiah.jester at panasonic.aero Cc: nagios-users at lists.sourceforge.net Message-ID: <490B897E.4030109 at iweb.com> Content-Type: text/plain; charset=UTF-8; format=flowed Hi, jeremiah wrote: > i check the manual and this is what it says about this particular error: > > On Fri, 2008-10-31 at 15:10 -0700, jeremiah wrote: >> I just chown'd the file for nagios. >> >> $ sudo chown nagios /home/jesterj/report_loadscript_error_log.py >> >> $ ls -la *.py >> -rwxr-xr-x 1 nagios jesterj 3156 2008-10-31 21:55 >> report_loadscript_error_log.py >> >> I'm now getting a different error after i fixed the path issue. >> >> $ /usr/lib/nagios/plugins/check_nrpe -H 10.10.10.45 -c >> loadscript_check_error_log >> NRPE: Unable to read output >> >> Thoughts? "/home/jesterj/" is probably chowned to 700 anyway so the NRPE daemon won't be able to access and execute it anyway. Try running it manually with sudo to see the actual result: sudo -u nagios /usr/local/bin/python /home/jesterj/report_loadscript_error_log.py Also, you should copy your script in a more appropriate location such as /usr/local/bin or even /usr/lib/nagios/plugins if you have installed Nagios on a Debian or Ubuntu server. You can also try to start NRPE with "debug=1": "How to go about debugging other problems... When debugging problems it may be useful to edit the NRPE configuration file and change the debug=0 entry to debug=1. Once you do that, restart the NRPE daemon if it is running as a standalone daemon. After you try using the check_nrpe plugin again, you should be able to see some debugging information in the log files of the remote host. Check your logs carefully ? they should be able to help provide clues as to where the problem lies..." Ref.: http://nagios.sourceforge.net/docs/nrpe/NRPE.pdf -- Mathieu ------------------------------ ------------------------------------------------------------------------ - 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=100&url=/ ------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users End of Nagios-users Digest, Vol 29, Issue 34 ******************************************** ********************************* This message and any attachments (the "message") are confidential and intended solely for the addressees. Any unauthorised use or dissemination is prohibited. Messages are susceptible to alteration. France Telecom Group shall not be liable for the message if altered, changed or falsified. If you are not the intended addressee of this message, please cancel it immediately and inform the sender. ******************************** ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ojan at gfi.fr Mon Nov 3 09:16:13 2008 From: ojan at gfi.fr (Olivier JAN) Date: Mon, 03 Nov 2008 09:16:13 +0100 Subject: OpMon.org In-Reply-To: <490B5F5F.4060903@iweb.com> References: <4613553.22511225469757385.JavaMail.root@mail.opservices.com.br> <490B5F5F.4060903@iweb.com> Message-ID: <20081103091613.z5p191bjokc8g84w@intra.expertise-online.net> Hi list, Same for me on a ubuntu 8.0.4 and nagios 3.0.4. Same version of Apache, MySQL, PHP 5 as Mathieu Olivier Jan Mathieu Gagn? a ?crit : > I can't load OpCfg's interface. I'm getting those PHP errors: > > Fatal error: Call to a member function isSideBarIncluded() on a > non-object in /usr/local/nagios/share/opcfg/output/output.php on line 535 > > Fatal error: Call to a member function isSideBarIncluded() on a > non-object in /usr/local/nagios/share/opcfg/home.php on line 27 > > $fruity seems to be undefined. In fact, this variable is defined nowhere > except here: > > export.php:28: $fruity = new Fruity(); > includes/sessions.inc:64: $fruity = $_SESSION['fruity']; > includes/sessions.inc:86: $fruity = $_SESSION['fruity']; > templates_import.php:28: $fruity = new Fruity(); > > > Here is some version informations if required: > > Nagios 3.0.4 > PHP 5.2.6 > Apache 2.2.9 > MySQL 5.0.51a > OpCfg 1.0 > > Mathieu > > Dario B. Bestetti (OpServices) wrote: >> Sorry, the website is http://www.opmon.org > > ------------------------------------------------------------------------- > 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=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From junior.cunha at opservices.com.br Mon Nov 3 12:55:06 2008 From: junior.cunha at opservices.com.br (Junior Cunha) Date: Mon, 3 Nov 2008 09:55:06 -0200 (BRST) Subject: OpMon.org In-Reply-To: <21082878.27021225712970710.JavaMail.root@mail.opservices.com.br> References: <21082878.27021225712970710.JavaMail.root@mail.opservices.com.br> Message-ID: <19503075.27061225713305963.JavaMail.root@mail.opservices.com.br> Hi, This problem was already reported in our mailing list (http://www.opmon.org/get-involved). Looks like an issue with the verification of $_SERVER['argc'] and PHP 5.2. Could you comment out the following line in the includes/config.inc and try again? Line 76: if ( !isset( $_SERVER['argc']) ) Regards, Junior Cunha ----- Mensagem original ----- De: "Olivier JAN" Para: nagios-users at lists.sourceforge.net Enviadas: Segunda-feira, 3 de Novembro de 2008 6:16:13 (GMT-0300) Auto-Detected Assunto: Re: [Nagios-users] OpMon.org Hi list, Same for me on a ubuntu 8.0.4 and nagios 3.0.4. Same version of Apache, MySQL, PHP 5 as Mathieu Olivier Jan Mathieu Gagn? a ?crit : > I can't load OpCfg's interface. I'm getting those PHP errors: > > Fatal error: Call to a member function isSideBarIncluded() on a > non-object in /usr/local/nagios/share/opcfg/output/output.php on line 535 > > Fatal error: Call to a member function isSideBarIncluded() on a > non-object in /usr/local/nagios/share/opcfg/home.php on line 27 > > $fruity seems to be undefined. In fact, this variable is defined nowhere > except here: > > export.php:28: $fruity = new Fruity(); > includes/sessions.inc:64: $fruity = $_SESSION['fruity']; > includes/sessions.inc:86: $fruity = $_SESSION['fruity']; > templates_import.php:28: $fruity = new Fruity(); > > > Here is some version informations if required: > > Nagios 3.0.4 > PHP 5.2.6 > Apache 2.2.9 > MySQL 5.0.51a > OpCfg 1.0 > > Mathieu > > Dario B. Bestetti (OpServices) wrote: >> Sorry, the website is http://www.opmon.org > > ------------------------------------------------------------------------- > 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=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From tdondich at gmail.com Mon Nov 3 16:13:27 2008 From: tdondich at gmail.com (Taylor Dondich) Date: Mon, 3 Nov 2008 07:13:27 -0800 Subject: OpMon.org !!! Why did you do this? Message-ID: <3d2eb72a0811030713o62f75e64l173507c63297e24a@mail.gmail.com> Hi there. My name is Taylor Dondich, the author of Fruity, which you pose at your configuration tool OpCfg. I see you've made some modifications to support some limited capabilities of Nagios 3. However, I also see no mention of the projects you've used to fork and pose as the projects as your own. Nowhere in the Documentation have you posted what the projects used to be. And the funny thing is, this is the first time I've ever heard from your company. Not once was I contacted either personally or through the Fruity mailing lists or through the sourceforge project. I would have gladly accepted any patches or corrections/fixes to Fruity if someone provided them, however on your homepage you post: "Basically, we are doing improvements in many open source projects and sometimes it's not so easy to have these codes merged into main trunk. This is normal, because each project has your own ecosystem, own rules and some radical improvements may take much time before it can be accepted." It's a bit hard to swallow this if you've never even made the attempt. And it's hard to accept you guys as being good open source citizens if you fork projects without even discussion with the existing community. And never mention the project name. Sorry if this is such an irate e-mail, but when someone else even does the slightest to attempt to make the hard work you've done and pose it as their own with not even a mention or at least a cooperative effort, it's very frustrating. Good day. Taylor Dondich On Mon, Nov 3, 2008 at 3:55 AM, Junior Cunha wrote: > Hi, > > This problem was already reported in our mailing list (http://www.opmon.org/get-involved). Looks like an issue with the verification of $_SERVER['argc'] and PHP 5.2. Could you comment out the following line in the includes/config.inc and try again? > > Line 76: if ( !isset( $_SERVER['argc']) ) > > Regards, > Junior Cunha > > ----- Mensagem original ----- > De: "Olivier JAN" > Para: nagios-users at lists.sourceforge.net > Enviadas: Segunda-feira, 3 de Novembro de 2008 6:16:13 (GMT-0300) Auto-Detected > Assunto: Re: [Nagios-users] OpMon.org > > > Hi list, > > Same for me on a ubuntu 8.0.4 and nagios 3.0.4. Same version of > Apache, MySQL, PHP 5 as Mathieu > > > Olivier Jan > > Mathieu Gagn? a ?crit : > >> I can't load OpCfg's interface. I'm getting those PHP errors: >> >> Fatal error: Call to a member function isSideBarIncluded() on a >> non-object in /usr/local/nagios/share/opcfg/output/output.php on line 535 >> >> Fatal error: Call to a member function isSideBarIncluded() on a >> non-object in /usr/local/nagios/share/opcfg/home.php on line 27 >> >> $fruity seems to be undefined. In fact, this variable is defined nowhere >> except here: >> >> export.php:28: $fruity = new Fruity(); >> includes/sessions.inc:64: $fruity = $_SESSION['fruity']; >> includes/sessions.inc:86: $fruity = $_SESSION['fruity']; >> templates_import.php:28: $fruity = new Fruity(); >> >> >> Here is some version informations if required: >> >> Nagios 3.0.4 >> PHP 5.2.6 >> Apache 2.2.9 >> MySQL 5.0.51a >> OpCfg 1.0 >> >> Mathieu >> >> Dario B. Bestetti (OpServices) wrote: >>> Sorry, the website is http://www.opmon.org >> >> ------------------------------------------------------------------------- >> 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=100&url=/ >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at 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=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > -- Taylor Dondich Check out Lilac, a configuration tool for Nagios 3 at http://www.lilacplatform.com Check out my Shortcut with O'Reilly Press: Network Monitoring with Nagios: http://oreilly.com/catalog/9780596528195/index.html ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From paul.weaver at bbc.co.uk Mon Nov 3 16:16:30 2008 From: paul.weaver at bbc.co.uk (Paul Weaver) Date: Mon, 3 Nov 2008 15:16:30 -0000 Subject: several separate status maps with one nagios process- possible? In-Reply-To: <49099D07.106@wpkg.org> References: <49099D07.106@wpkg.org> Message-ID: > -----Original Message----- > From: Tomasz Chmielewski [mailto:mangoo at wpkg.org] > Sent: 30 October 2008 11:40 > > Is it possible to set up the web interface so that it shows several > *separate* status maps (i.e., in different browser windows on > different > displays)? > > My status map doesn't fit on one screen for some time now, and it's > getting worse as I keep adding new hosts (more than 100 now). Once you get to an installation of your size, you should probably look at other mapping tools, the built in statusmap isn't that great. NexSM and NagVis are two candidates ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From benamar.mohamed at free.fr Mon Nov 3 16:30:11 2008 From: benamar.mohamed at free.fr (benamar.mohamed at free.fr) Date: Mon, 03 Nov 2008 16:30:11 +0100 Subject: Nagios ibdata1 In-Reply-To: References: Message-ID: <1225726211.490f190332627@imp.free.fr> Bonjour, Hello, I Nagios 2 for the supervision of my computer. ibdata1 base which is located in (/ var/lib/mysql/ibdata1) made 19 Giga, in / var I that 20 Giga and I do not have room on the other suffers. on / var is full The problem is that / var is full and I am compelled to make: apt-get autoclean to try to empty the cache, but I do not recover anything. Thank you for helping me telling me how I'm going to do and especially why the basis ibdata1 made 19 giga? Best regard En Fran?ais: J'utilise Nagios 2 pour la supervision de mon parc informatique. la base ibdata1 qui se trouve dans(/var/lib/mysql/ibdata1) fait 19 Giga, dans /var j'ai que 20 Giga et je n'ai pas de place sur les autres patitions. le /var est donc full Le probl?me est que /var est full et je suis oblig? de faire un: apt-get autoclean pour essayer de vider le cache, mais je ne r?cup?re rien. Merci de m'aider en me disant comment je vais faire et surtout pourquoi la base ibdata1 fait 19 giga? Cordialement ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From dale at chatham.org Mon Nov 3 17:07:22 2008 From: dale at chatham.org (Dale J. Chatham) Date: Mon, 03 Nov 2008 10:07:22 -0600 Subject: Nagios 3, Bogus(?) "host could not be found" problem Message-ID: <490F21BA.7060109@chatham.org> I'm getting the following log messages. Below are the configuration items and below all are the appropriate entries from objects.cache. From /var/log/messages: Nov 3 10:00:34 coresvc05 nagios[12217]: [ID 702911 user.info] Warning: Check result queue contained results for host 'vio', but the host could not be found! Perhaps you forgot to define the host in your config files? define service{ service_description PING check_command check_ping use all_hosts,generic_service } define service{ host_name * name all_hosts register 0 } define service{ name generic_service max_check_attempts 3 normal_check_interval 10 retry_check_interval 5 active_checks_enabled 1 check_period 24x7 notification_interval 600 notification_period 24x7 notification_options w,c,r notifications_enabled 1 register 0 } define host { host_name vio alias vio address xxx.yyy.zzz.114 use generic_host,linux_host } define host { name generic_host check_command check_host_alive max_check_attempts 5 check_period 24x7 contact_groups dale notification_interval 30 notification_period 24x7 notification_options d,u,r,f register 0 } define host { name linux_host statusmap_image base/redhat.png register 0 } ==================================================================== Objects.cache: define host { host_name vio alias vio address xxx.yyy.zzz.114 check_period 24x7 check_command check_host_alive contact_groups dale notification_period 24x7 initial_state o check_interval 5.000000 retry_interval 1.000000 max_check_attempts 5 active_checks_enabled 1 passive_checks_enabled 1 obsess_over_host 1 event_handler_enabled 1 low_flap_threshold 0.000000 high_flap_threshold 0.000000 flap_detection_enabled 1 flap_detection_options o,d,u freshness_threshold 0 check_freshness 0 notification_options d,u,r,f notifications_enabled 1 notification_interval 30.000000 first_notification_delay 0.000000 stalking_options n process_perf_data 1 failure_prediction_enabled 1 statusmap_image base/redhat.png retain_status_information 1 retain_nonstatus_information 1 } define service { host_name vio service_description PING check_period 24x7 check_command check_ping contact_groups dale notification_period 24x7 initial_state o check_interval 10.000000 retry_interval 5.000000 max_check_attempts 3 is_volatile 0 parallelize_check 1 active_checks_enabled 1 passive_checks_enabled 1 obsess_over_service 1 event_handler_enabled 1 low_flap_threshold 0.000000 high_flap_threshold 0.000000 flap_detection_enabled 1 flap_detection_options o,w,u,c freshness_threshold 0 check_freshness 0 notification_options w,c,r notifications_enabled 1 notification_interval 600.000000 first_notification_delay 0.000000 stalking_options n process_perf_data 1 failure_prediction_enabled 1 retain_status_information 1 retain_nonstatus_information 1 } ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From mgagne at iweb.com Mon Nov 3 20:34:21 2008 From: mgagne at iweb.com (=?UTF-8?B?TWF0aGlldSBHYWduw6k=?=) Date: Mon, 03 Nov 2008 14:34:21 -0500 Subject: nrpe script In-Reply-To: <1225737574.26783.19.camel@jeremiah-laptop> References: <1225489105.3209.31.camel@jeremiah-laptop><490B8043.9010401@iweb.com> <1225491025.3209.34.camel@jeremiah-laptop> <1225491653.3209.36.camel@jeremiah-laptop> <490B897E.4030109@iweb.com> <1225493925.3209.46.camel@jeremiah-laptop> <490B9203.2010508@iweb.com> <1225737574.26783.19.camel@jeremiah-laptop> Message-ID: <490F523D.2050604@iweb.com> Hi, jeremiah wrote: > > *changed the path in the command. > command[loadscript_check_error_log]=/usr/bin/sudo /usr/local/bin/python /etc/nagios/report_loadscript_error_log.py > Can this command run without sudo? /usr/local/bin/python /etc/nagios/report_loadscript_error_log.py Try to not use sudo or add the appropriate sudo entry, otherwise it will prompt and ask for password. https://help.ubuntu.com/community/Sudoers -- Mathieu ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From guilherme.silva at constat.com.br Mon Nov 3 19:44:06 2008 From: guilherme.silva at constat.com.br (Guilherme Drago) Date: Mon, 3 Nov 2008 16:44:06 -0200 Subject: (no subject) Message-ID: <2367B9E7479C493B83B1A1700CF7410D@constat.local> Hi everyone, I?ve a Nagios 2.9 running at a fedora 6 and I having a problem, when the log rotate (daily) it don?t log the alerts of the day. It appears to be configured correctly. ConStat ::: Comprometimento Gerando resultados desde 1991 Guilherme Drago - Vistor (51) 30256681 www.constat.com.br / www.qualitor.com.br D?vidas, sugest?es, reclama??es: qualidade at constat.com.br ::: Preserve o ambiente. Imprima este email somente se for necess?rio ::: -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From junior.cunha at opservices.com.br Mon Nov 3 17:24:21 2008 From: junior.cunha at opservices.com.br (Junior Cunha) Date: Mon, 3 Nov 2008 14:24:21 -0200 (BRST) Subject: OpMon.org !!! Why did you do this? In-Reply-To: <3d2eb72a0811030713o62f75e64l173507c63297e24a@mail.gmail.com> References: <3d2eb72a0811030713o62f75e64l173507c63297e24a@mail.gmail.com> Message-ID: <10361040.30461225729461655.JavaMail.root@mail.opservices.com.br> Hello Taylor, We have submitted some patches to fruity sometime ago and we've noticed that fruity was quite abandoned as a project with some bugs at the time. We got the fruity source code and started upgrading and fixing it for our needs 2 years ago and now that is stable, we decided to publish it back to the community as a fork from fruity, as it is no longer pure "fruity" and, as far as we known, the fruity project in no longer maintained and has become lilac. We just did a fork of our own, nothing more. We forgot to mention fruity on the web page, we will correct it today, but all the credits are kept in the source code. If you check opmonagent, the old NSClient, we also embraced the code, fixed some things, added some features and had nowhere to submit patches, so we also published all the source code as I fork. Taylor, again we are sorry that we forgot to mention fruity, but it is corrected already on the web page. Thanks. ----- Mensagem original ----- De: "Taylor Dondich" Para: "Junior Cunha" Cc: ojan at expertise-online.net, nagios-users at lists.sourceforge.net Enviadas: Segunda-feira, 3 de Novembro de 2008 13:13:27 (GMT-0300) Auto-Detected Assunto: Re: [Nagios-users] OpMon.org !!! Why did you do this? Hi there. My name is Taylor Dondich, the author of Fruity, which you pose at your configuration tool OpCfg. I see you've made some modifications to support some limited capabilities of Nagios 3. However, I also see no mention of the projects you've used to fork and pose as the projects as your own. Nowhere in the Documentation have you posted what the projects used to be. And the funny thing is, this is the first time I've ever heard from your company. Not once was I contacted either personally or through the Fruity mailing lists or through the sourceforge project. I would have gladly accepted any patches or corrections/fixes to Fruity if someone provided them, however on your homepage you post: "Basically, we are doing improvements in many open source projects and sometimes it's not so easy to have these codes merged into main trunk. This is normal, because each project has your own ecosystem, own rules and some radical improvements may take much time before it can be accepted." It's a bit hard to swallow this if you've never even made the attempt. And it's hard to accept you guys as being good open source citizens if you fork projects without even discussion with the existing community. And never mention the project name. Sorry if this is such an irate e-mail, but when someone else even does the slightest to attempt to make the hard work you've done and pose it as their own with not even a mention or at least a cooperative effort, it's very frustrating. Good day. Taylor Dondich On Mon, Nov 3, 2008 at 3:55 AM, Junior Cunha wrote: > Hi, > > This problem was already reported in our mailing list (http://www.opmon.org/get-involved). Looks like an issue with the verification of $_SERVER['argc'] and PHP 5.2. Could you comment out the following line in the includes/config.inc and try again? > > Line 76: if ( !isset( $_SERVER['argc']) ) > > Regards, > Junior Cunha > > ----- Mensagem original ----- > De: "Olivier JAN" > Para: nagios-users at lists.sourceforge.net > Enviadas: Segunda-feira, 3 de Novembro de 2008 6:16:13 (GMT-0300) Auto-Detected > Assunto: Re: [Nagios-users] OpMon.org > > > Hi list, > > Same for me on a ubuntu 8.0.4 and nagios 3.0.4. Same version of > Apache, MySQL, PHP 5 as Mathieu > > > Olivier Jan > > Mathieu Gagn? a ?crit : > >> I can't load OpCfg's interface. I'm getting those PHP errors: >> >> Fatal error: Call to a member function isSideBarIncluded() on a >> non-object in /usr/local/nagios/share/opcfg/output/output.php on line 535 >> >> Fatal error: Call to a member function isSideBarIncluded() on a >> non-object in /usr/local/nagios/share/opcfg/home.php on line 27 >> >> $fruity seems to be undefined. In fact, this variable is defined nowhere >> except here: >> >> export.php:28: $fruity = new Fruity(); >> includes/sessions.inc:64: $fruity = $_SESSION['fruity']; >> includes/sessions.inc:86: $fruity = $_SESSION['fruity']; >> templates_import.php:28: $fruity = new Fruity(); >> >> >> Here is some version informations if required: >> >> Nagios 3.0.4 >> PHP 5.2.6 >> Apache 2.2.9 >> MySQL 5.0.51a >> OpCfg 1.0 >> >> Mathieu >> >> Dario B. Bestetti (OpServices) wrote: >>> Sorry, the website is http://www.opmon.org >> >> ------------------------------------------------------------------------- >> 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=100&url=/ >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at 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=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > -- Taylor Dondich Check out Lilac, a configuration tool for Nagios 3 at http://www.lilacplatform.com Check out my Shortcut with O'Reilly Press: Network Monitoring with Nagios: http://oreilly.com/catalog/9780596528195/index.html ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jeremiah.jester at panasonic.aero Mon Nov 3 23:05:22 2008 From: jeremiah.jester at panasonic.aero (jeremiah) Date: Mon, 03 Nov 2008 14:05:22 -0800 Subject: nrpe script In-Reply-To: <490B9203.2010508@iweb.com> References: <1225489105.3209.31.camel@jeremiah-laptop><490B8043.9010401@iweb.com> <1225491025.3209.34.camel@jeremiah-laptop> <1225491653.3209.36.camel@jeremiah-laptop> <490B897E.4030109@iweb.com> <1225493925.3209.46.camel@jeremiah-laptop> <490B9203.2010508@iweb.com> Message-ID: <1225749922.26783.37.camel@jeremiah-laptop> Problem resolved! Even though i removed the sudo command from my commands file it was uncommented and active in nrpg.cfg file. Does this make sense to you? Seems like it could output a better error message than "NRPE: Unable to read output"?! #command_prefix=/usr/bin/sudo Thanks for all yiour help! JJ On Fri, 2008-10-31 at 15:17 -0800, Mathieu Gagn? wrote: > Hi, > > jeremiah wrote: > > > > I check the log file and this is all i'm seeing pertaining to this > > command on the server. > > > > Oct 31 22:33:23 serv1 nagios2: SERVICE ALERT: serv2;LOADSCRIPT CHECK > > ERRORS;WARNING;HARD;3;NRPE: Unable to read output > > Oct 31 22:33:23 serv1 nagios2: SERVICE NOTIFICATION: > > root;serv2;LOADSCRIPT CHECK ERRORS;WARNING;notify-by-email;NRPE: > Unable > > to read output > > > > I successfully reproduced your issue by trying to execute a plugin > located inside /root through NRPE, location which is obviously chmod > to 700: > > nagios3:~# stat --format="%a %U:%G" /root > 700 root:root > nagios3:~# stat --format="%a %U:%G" /root/check_users > 755 root:root > > command[check_root]=/root/check_users -w 5 -c 10 > > /usr/local/nagios/libexec/check_nrpe -H 127.0.0.1 -c check_root > NRPE: Unable to read output > > You have to move your plugin outside your home directory like I > explained previously otherwise NRPE won't be able to access/execute it > due to chmod restriction. > > -- > Mathieu > > > Disclaimer: The information contained in this transmission, including any attachments, may contain confidential information of Panasonic Avionics Corporation. This transmission is intended only for the use of the addressee(s) listed above. Unauthorized review, dissemination or other use of the information contained in this transmission is strictly prohibited. If you have received this transmission in error or have reason to believe you are not authorized to receive it, please notify the sender by return email and promptly delete the transmission. ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From KlinkhamerK at landcareresearch.co.nz Mon Nov 3 22:54:57 2008 From: KlinkhamerK at landcareresearch.co.nz (Kim Klinkhamer) Date: Tue, 4 Nov 2008 10:54:57 +1300 Subject: Notifications sent out when they shouldn't be Message-ID: I'm trying to set up two types of notifications, namely emails and sms messages using gnokii. I want the emails to go 24x7, but the sms only to go out of work hours. The problem is, no matter what I try nagios sends out sms messages 24x7. I have tried commenting out the notification_period in the hosts.cfg and services.cfg file. A subset of my config files is below (addresses and names changed). Can anyone see what I've missed? ------------------------------------------------------------------ hosts.cfg # 'host1' host definition define host{ use generic-host ; Name of host template to use host_name host1 parents main_switch alias host1 definition address aaa.bbb.ccc.ddd check_command check-host-alive max_check_attempts 10 notification_interval 0 notification_period 24x7 notification_options d,u,r } ------------------------------------------------------------------- services.cfg define service{ use generic-service ; Name of service template to use host_name host1 service_description PING is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups server-admins notification_interval 120 notification_period 24x7 notification_options c,r check_command check_ping!250.0,33%!2000.0,80% } -------------------------------------------------------------------------- hostgroups.cfg # 'server-admins group definition define hostgroup{ hostgroup_name server-admins alias Servers members host1,host2 } ----------------------------------------------------------------------------- contactgroups.cfg # 'server-admins' contact group definition define contactgroup{ contactgroup_name server-admins alias Server Administrators members bob,bobbysms } -------------------------------------------------------------------------------- contacts.cfg # 'bob'' contact definition define contact{ contact_name bob alias bob service_notification_period 24x7 host_notification_period 24x7 service_notification_options c,r host_notification_options d,r service_notification_commands notify-by-email host_notification_commands host-notify-by-email email bob at nowhere.com } # 'bobbysms' contact definition define contact{ contact_name bobsms alias bob service_notification_period ournonworkhours host_notification_period ournonworkhours service_notification_options c,r host_notification_options d,r service_notification_commands notify-by-gnokii-queue host_notification_commands host-notify-by-gnokii-queue pager 123456789 } -------------------------------------------------------------------------------------- timeperiods.cfg # '24x7' timeperiod definition define timeperiod{ timeperiod_name 24x7 alias 24 Hours A Day, 7 Days A Week sunday 00:00-24:00 monday 00:00-24:00 tuesday 00:00-24:00 wednesday 00:00-24:00 thursday 00:00-24:00 friday 00:00-24:00 saturday 00:00-24:00 } # 'ournonworkhours' timeperiod definition define timeperiod{ timeperiod_name ournonworkhours alias Our Non-Work Hours inc. NZ holidays december 25 - january 5 00:00-24:00 ; Christmas february 6 00:00-24:00 ; Waitangi day 2009 april 10 00:00-24:00 ; Good Friday 2009 april 13 00:00-24:00 ; Easter Monday 2009 april 25 00:00-24:00 ; ANZAC day 2009 june 1 00:00-24:00 ; Queens Birthday 2009 october 26 00:00-24:00 ; Labour Day 2009 january 26 00:00-24:00 ; Auckland Ann. 2009 january 19 00:00-24:00 ; Wellington Ann. 2009 november 14 00:00-24:00 ; Canterbury Ann. 2008 sunday 00:00-24:00 monday 00:00-08:00,17:00-24:00 tuesday 00:00-08:00,17:00-24:00 wednesday 00:00-08:00,17:00-24:00 thursday 00:00-08:00,17:00-24:00 friday 00:00-08:00,17:00-24:00 saturday 00:00-24:00 } ---------------------------------------------------------------------------------- ________________________________ Please consider the environment before printing this email Warning: This electronic message together with any attachments is confidential. If you receive it in error: (i) you must not read, use, disclose, copy or retain it; (ii) please contact the sender immediately by reply email and then delete the emails. The views expressed in this email may not be those of Landcare Research New Zealand Limited. http://www.landcareresearch.co.nz -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From mgagne at iweb.com Mon Nov 3 23:24:48 2008 From: mgagne at iweb.com (=?UTF-8?B?TWF0aGlldSBHYWduw6k=?=) Date: Mon, 03 Nov 2008 17:24:48 -0500 Subject: nrpe script In-Reply-To: <1225749922.26783.37.camel@jeremiah-laptop> References: <1225489105.3209.31.camel@jeremiah-laptop><490B8043.9010401@iweb.com> <1225491025.3209.34.camel@jeremiah-laptop> <1225491653.3209.36.camel@jeremiah-laptop> <490B897E.4030109@iweb.com> <1225493925.3209.46.camel@jeremiah-laptop> <490B9203.2010508@iweb.com> <1225749922.26783.37.camel@jeremiah-laptop> Message-ID: <490F7A30.7070506@iweb.com> Hi, jeremiah wrote: > Problem resolved! Great! > Even though i removed the sudo command from my commands file it was > uncommented and active in nrpg.cfg file. > > Does this make sense to you? Seems like it could output a better error > message than "NRPE: Unable to read output"?! > > #command_prefix=/usr/bin/sudo It makes sense. You probably don't have any sudo entries so NRPE can't run sudo without being prompted for password. My guess is that the prompt don't send any EOF, check_nrpe can therefore not parse it as a valid output. Personally, I run NRPE using xinetd so nrpe.cfg is pretty much empty on my side, it only contains command definitions so I wasn't aware of command_prefix's existence. Good catch! -- Mathieu ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From andy-lists at networkmail.eu Mon Nov 3 23:29:50 2008 From: andy-lists at networkmail.eu (Andy Shellam) Date: Mon, 03 Nov 2008 22:29:50 +0000 Subject: OpMon.org In-Reply-To: <19503075.27061225713305963.JavaMail.root@mail.opservices.com.br> References: <19503075.27061225713305963.JavaMail.root@mail.opservices.com.br> Message-ID: <490F7B5E.6060307@networkmail.eu> Junior, I believe that argc and argv only get populated when register_argc_argv is turned on in php.ini as they are considered redundant in web applications. Not sure if this is a Fruity or OpCfg issue. Andy Junior Cunha wrote: > Hi, > > This problem was already reported in our mailing list (http://www.opmon.org/get-involved). Looks like an issue with the verification of $_SERVER['argc'] and PHP 5.2. Could you comment out the following line in the includes/config.inc and try again? > > Line 76: if ( !isset( $_SERVER['argc']) ) > > Regards, > Junior Cunha > > ----- Mensagem original ----- > De: "Olivier JAN" > Para: nagios-users at lists.sourceforge.net > Enviadas: Segunda-feira, 3 de Novembro de 2008 6:16:13 (GMT-0300) Auto-Detected > Assunto: Re: [Nagios-users] OpMon.org > > > Hi list, > > Same for me on a ubuntu 8.0.4 and nagios 3.0.4. Same version of > Apache, MySQL, PHP 5 as Mathieu > > > Olivier Jan > > Mathieu Gagn? a ?crit : > > >> I can't load OpCfg's interface. I'm getting those PHP errors: >> >> Fatal error: Call to a member function isSideBarIncluded() on a >> non-object in /usr/local/nagios/share/opcfg/output/output.php on line 535 >> >> Fatal error: Call to a member function isSideBarIncluded() on a >> non-object in /usr/local/nagios/share/opcfg/home.php on line 27 >> >> $fruity seems to be undefined. In fact, this variable is defined nowhere >> except here: >> >> export.php:28: $fruity = new Fruity(); >> includes/sessions.inc:64: $fruity = $_SESSION['fruity']; >> includes/sessions.inc:86: $fruity = $_SESSION['fruity']; >> templates_import.php:28: $fruity = new Fruity(); >> >> >> Here is some version informations if required: >> >> Nagios 3.0.4 >> PHP 5.2.6 >> Apache 2.2.9 >> MySQL 5.0.51a >> OpCfg 1.0 >> >> Mathieu >> >> Dario B. Bestetti (OpServices) wrote: >> >>> Sorry, the website is http://www.opmon.org >>> >> ------------------------------------------------------------------------- >> 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=100&url=/ >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at 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=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From sanjeeb.parida at orange-ftgroup.com Tue Nov 4 04:43:10 2008 From: sanjeeb.parida at orange-ftgroup.com (sanjeeb.parida at orange-ftgroup.com) Date: Tue, 4 Nov 2008 11:43:10 +0800 Subject: SUPPORT FOR CONFIGURING NAGIOS WITH MYSQL DATABASE TO STORE LOGAND DATA IN MYSQL In-Reply-To: <490F10A3.3070304@nagios.com> References: <490F10A3.3070304@nagios.com> Message-ID: HI Team, > I need your support regarding configuration of NAGIOS with MYSQL > database please help me How to configure NAGIOS with mysql to store > nagio's data. > > See i am talking about storing information of nagios in MYSQL database > not about monitoring MYSQL:) > > Regards > > > Sanjeeb Parida Sanjeeb Parida Implementation - Release Management Information Tech. & Services {IT&S} Orange Business Services Infinity Towers,Tower B - 8th Floor DLF Phase II, DLF Cyber City, Gurgaon Haryana - 122002 India CVS: 7-357-6619 Phone: +91-124-435-8332 Mobile Phone: +91-9873143615 sanjeeb.parida at orange-ftgroup.com www.orange-business.com -----Original Message----- From: Ethan Galstad [mailto:egalstad at nagios.com] Sent: Monday, November 03, 2008 8:24 PM To: PARIDA Sanjeeb SCE/ITS Subject: Re: SUPPORT FOR CONFIGURING NAGIOS WITH MYSQL DATABASE TO STORE LOGAND DATA IN MYSQL Hi Sanjeeb - Thank you for your inquiry. I would suggest you contact the nagios users mailing list for help with this. See: http://www.nagios.org/support/mailinglists.php Ethan Galstad President ___ Nagios Enterprises, LLC Office: (888)NAGIOS-1 x701 Fax: (651)204-9103 Mobile: (651)278-1477 Email: egalstad at nagios.com Web: www.nagios.com sanjeeb.parida at orange-ftgroup.com wrote: > HI Team, > I need your support regarding configuration of NAGIOS with MYSQL > database please help me How to configure NAGIOS with mysql to store > nagio's data. > > See i am talking about storing information of nagios in MYSQL database > not about monitoring MYSQL:) > > Regards > > > Sanjeeb Parida > > > > Implementation - Release Management > > Information Tech. & Services {IT&S} > > Orange Business Services > > Infinity Towers,Tower B - 8th Floor > > DLF Phase II, DLF Cyber City, Gurgaon > > Haryana - 122002 India > > CVS: 7-357-6619 > > Phone: +91-124-435-8332 > > Mobile Phone: +91-9873143615 > > sanjeeb.parida at orange-ftgroup.com > > www.orange-business.com > > ** > > > ********************************* > This message and any attachments (the "message") are confidential and > intended solely for the addressees. > Any unauthorised use or dissemination is prohibited. > Messages are susceptible to alteration. > France Telecom Group shall not be liable for the message if altered, > changed or falsified. > If you are not the intended addressee of this message, please cancel > it immediately and inform the sender. > ******************************** > ********************************* This message and any attachments (the "message") are confidential and intended solely for the addressees. Any unauthorised use or dissemination is prohibited. Messages are susceptible to alteration. France Telecom Group shall not be liable for the message if altered, changed or falsified. If you are not the intended addressee of this message, please cancel it immediately and inform the sender. ******************************** ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From tdondich at gmail.com Tue Nov 4 05:47:57 2008 From: tdondich at gmail.com (Taylor Dondich) Date: Mon, 3 Nov 2008 20:47:57 -0800 Subject: SUPPORT FOR CONFIGURING NAGIOS WITH MYSQL DATABASE TO STORE LOGAND DATA IN MYSQL In-Reply-To: References: <490F10A3.3070304@nagios.com> Message-ID: <3d2eb72a0811032047v338164c7k4645dfa6a6db663a@mail.gmail.com> Try and use Lilac, if you are using nagios 3.x. www.lilacplatform.com. It's in alpha right now. but capable of doing configs pretty well. On Mon, Nov 3, 2008 at 7:43 PM, wrote: > > > HI Team, >> I need your support regarding configuration of NAGIOS with MYSQL >> database please help me How to configure NAGIOS with mysql to store >> nagio's data. >> >> See i am talking about storing information of nagios in MYSQL database > >> not about monitoring MYSQL:) >> >> Regards >> >> >> Sanjeeb Parida > > > > Sanjeeb Parida > > > > Implementation - Release Management > > Information Tech. & Services {IT&S} > > Orange Business Services > > Infinity Towers,Tower B - 8th Floor > > DLF Phase II, DLF Cyber City, Gurgaon > > Haryana - 122002 India > > CVS: 7-357-6619 > > Phone: +91-124-435-8332 > > Mobile Phone: +91-9873143615 > > sanjeeb.parida at orange-ftgroup.com > www.orange-business.com > > > > > -----Original Message----- > From: Ethan Galstad [mailto:egalstad at nagios.com] > Sent: Monday, November 03, 2008 8:24 PM > To: PARIDA Sanjeeb SCE/ITS > Subject: Re: SUPPORT FOR CONFIGURING NAGIOS WITH MYSQL DATABASE TO STORE > LOGAND DATA IN MYSQL > > Hi Sanjeeb - > > Thank you for your inquiry. I would suggest you contact the nagios users > mailing list for help with this. See: > > http://www.nagios.org/support/mailinglists.php > > > Ethan Galstad > President > ___ > Nagios Enterprises, LLC > Office: (888)NAGIOS-1 x701 > Fax: (651)204-9103 > Mobile: (651)278-1477 > Email: egalstad at nagios.com > Web: www.nagios.com > > > > sanjeeb.parida at orange-ftgroup.com wrote: >> HI Team, >> I need your support regarding configuration of NAGIOS with MYSQL >> database please help me How to configure NAGIOS with mysql to store >> nagio's data. >> >> See i am talking about storing information of nagios in MYSQL database > >> not about monitoring MYSQL:) >> >> Regards >> >> >> Sanjeeb Parida >> >> >> >> Implementation - Release Management >> >> Information Tech. & Services {IT&S} >> >> Orange Business Services >> >> Infinity Towers,Tower B - 8th Floor >> >> DLF Phase II, DLF Cyber City, Gurgaon >> >> Haryana - 122002 India >> >> CVS: 7-357-6619 >> >> Phone: +91-124-435-8332 >> >> Mobile Phone: +91-9873143615 >> >> sanjeeb.parida at orange-ftgroup.com >> >> www.orange-business.com >> >> ** >> >> >> ********************************* >> This message and any attachments (the "message") are confidential and >> intended solely for the addressees. >> Any unauthorised use or dissemination is prohibited. >> Messages are susceptible to alteration. >> France Telecom Group shall not be liable for the message if altered, >> changed or falsified. >> If you are not the intended addressee of this message, please cancel >> it immediately and inform the sender. >> ******************************** >> > > ********************************* > This message and any attachments (the "message") are confidential and intended solely for the addressees. > Any unauthorised use or dissemination is prohibited. > Messages are susceptible to alteration. > France Telecom Group shall not be liable for the message if altered, changed or falsified. > If you are not the intended addressee of this message, please cancel it immediately and inform the sender. > ******************************** > > ------------------------------------------------------------------------- > 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=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > -- Taylor Dondich Check out Lilac, a configuration tool for Nagios 3 at http://www.lilacplatform.com Check out my Shortcut with O'Reilly Press: Network Monitoring with Nagios: http://oreilly.com/catalog/9780596528195/index.html ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Edgar.Matzinger at valid.nl Tue Nov 4 11:17:11 2008 From: Edgar.Matzinger at valid.nl (Edgar Matzinger) Date: Tue, 4 Nov 2008 11:17:11 +0100 Subject: SUPPORT FOR CONFIGURING NAGIOS WITH MYSQL DATABASETO STORE LOGAND DATA IN MYSQL In-Reply-To: References: <490F10A3.3070304@nagios.com> Message-ID: Hi Sanjeeb, > > I need your support regarding configuration of NAGIOS with MYSQL > > database please help me How to configure NAGIOS with mysql to store > > nagio's data. > > > > See i am talking about storing information of nagios in > MYSQL database if you're talking about storing this information only, take a look at ndo2db. If you need a frontend to configure nagios using a database take a look at groundwork, lilac, centreon, et al. > > > not about monitoring MYSQL:) OK, regards, Edgar. -- |\ /| : : Addr: Valid Eindhoven B.V. / | \/ | : Edgar R. Matzinger : t.a.v. E.R. Matzinger / | | : : Paradijslaan 36 \ /| /\| : : 5611 KN Eindhoven \/ / \ : Valid Eindhoven BV : \ /\ / : : \/ |\/ : : | : : Disclaimer: Any comments, opinions made are mine, etc ... ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From adambrooke at hotmail.com Tue Nov 4 11:50:15 2008 From: adambrooke at hotmail.com (adam brooke) Date: Tue, 4 Nov 2008 10:50:15 +0000 Subject: Nagiosgrapher Message-ID: Hello all, Is the Nagiosgrapher addonn still being maintained? Does it work with Nagios 3.0.4 yet? If so can anyone point me to some good documentation and a download locat? many thanks in advance for your help Adam _________________________________________________________________ Discover Bird's Eye View now with Multimap from Live Search http://clk.atdmt.com/UKM/go/111354026/direct/01/ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Sotiroff.Kristian at mtvne.com Tue Nov 4 11:53:56 2008 From: Sotiroff.Kristian at mtvne.com (Sotiroff, Kristian) Date: Tue, 4 Nov 2008 10:53:56 -0000 Subject: Nagiosgrapher In-Reply-To: References: Message-ID: ________________________________ From: adam brooke [mailto:adambrooke at hotmail.com] Sent: 04 November 2008 10:50 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagiosgrapher Hello all, Is the Nagiosgrapher addonn still being maintained? Does it work with Nagios 3.0.4 yet? If so can anyone point me to some good documentation and a download locat? many thanks in advance for your help Adam ________________________________ yes, any good documentation in english would be very appreciated. i couldn't evevn get it to work with nagios 3.0.3. CONFIDENTIALITY NOTICE This e-mail (and any attached files) is confidential and protected by copyright (and other intellectual property rights). If you are not the intended recipient please e-mail the sender and then delete the email and any attached files immediately. Any further use or dissemination is prohibited. While MTV Networks Europe has taken steps to ensure that this email and any attachments are virus free, it is your responsibility to ensure that this message and any attachments are virus free and do not affect your systems / data. Communicating by email is not 100% secure and carries risks such as delay, data corruption, non-delivery, wrongful interception and unauthorised amendment. If you communicate with us by e-mail, you acknowledge and assume these risks, and you agree to take appropriate measures to minimise these risks when e-mailing us. MTV Networks International, MTV Networks UK & Ireland, Greenhouse, Nickelodeon Viacom Consumer Products, VBSi, Viacom Brand Solutions International and Comedy Central are all trading names of MTV Networks Europe. MTV Networks Europe is a partnership between MTV Networks Europe Inc. and Viacom Networks Europe Inc. Address for service in Great Britain is UK House, 180 Oxford Street, London W1D 1DS, UK. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Sotiroff.Kristian at mtvne.com Tue Nov 4 12:02:14 2008 From: Sotiroff.Kristian at mtvne.com (Sotiroff, Kristian) Date: Tue, 4 Nov 2008 11:02:14 -0000 Subject: Using escalations and / or timeperiods for out of hours (SOLVED) In-Reply-To: References: Message-ID: figured it out, so thought i'd post back in case i need to find out how to do it again.. i set up a timeperiod called 'nonworkhours' that covers those hours out of work. i then defined a serviceescalation that would come into effect over those hours and used wildcards to define all services on all hosts. the tricky bit was the wildcard, as i thought '*' would work. turns out i had to use '.*' ie: define serviceescalation{ host_name .* service_description .* first_notification 1 last_notification 0 notification_interval 30 escalation_period nonworkhours contact_groups server,dba } all pretty obvious once you think about it :) ________________________________ From: Sotiroff, Kristian Sent: 22 October 2008 15:39 To: 'nagios-users at lists.sourceforge.net' Subject: RE: [Nagios-users] Using escalations and / or timeperiods for out ofhours with all this talk of escalations, I thought I'd try and push my question out again.... full text is below, but basically I'm trying to reduce the amount of emails that get sent out of hours, through escalations and the escalation time period. if its in normal work hours, send alerts every 5 mins. if not, send them every 30 mins. a few tests I've run haven't worked so has anybody got a better idea? ________________________________ From: Sotiroff, Kristian Sent: 17 October 2008 09:25 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Using escalations and / or timeperiods for out ofhours Hi (Version: Nagios 3.0.3 ) I'm trying to configure my alerts to work in such a way that engineers don't get mailed excessively out of hours. I've tried with escalations, but only with Nagios 2 and didn't have much success. Reading though the docs for v3 it seems that I can define an escalation with reduced email frequency to be active only during a specified period, so I thought this may be a way to do it. Let me explain my scenario Sun: 0000 - 0000 - reduced email Mon - Fri 0000 - 0800 - reduced email 0800 - 1900 - normal email 1900 - 0000 - reduced email Sat: 0000 - 0000 - reduced email If I configure the alerting to work so that after a single email is sent it escalates into my 'reduced email' period (if its in the right timeperiod) but otherwise will it then ignore the escalation and continue sending emails as normal? What happens if a server lets out some blue smoke over a weekend, so the escalation comes into play, but an engineer doesn't fix it until 12:00 Monday morning. Does this mean at 0800 (when the escalation is not valid any more) it will email normally? And if it continues into the next night will the escalation come back into play again or, because it has already been triggered, will it stay as normal. I'm sure someone has done this before. Does anybody have any first hand experience with it? How are other list users alerting out of hours? Cheers Kristian CONFIDENTIALITY NOTICE This e-mail (and any attached files) is confidential and protected by copyright (and other intellectual property rights). If you are not the intended recipient please e-mail the sender and then delete the email and any attached files immediately. Any further use or dissemination is prohibited. While MTV Networks Europe has taken steps to ensure that this email and any attachments are virus free, it is your responsibility to ensure that this message and any attachments are virus free and do not affect your systems / data. Communicating by email is not 100% secure and carries risks such as delay, data corruption, non-delivery, wrongful interception and unauthorised amendment. If you communicate with us by e-mail, you acknowledge and assume these risks, and you agree to take appropriate measures to minimise these risks when e-mailing us. MTV Networks International, MTV Networks UK & Ireland, Greenhouse, Nickelodeon Viacom Consumer Products, VBSi, Viacom Brand Solutions International and Comedy Central are all trading names of MTV Networks Europe. MTV Networks Europe is a partnership between MTV Networks Europe Inc. and Viacom Networks Europe Inc. Address for service in Great Britain is UK House, 180 Oxford Street, London W1D 1DS, UK. CONFIDENTIALITY NOTICE This e-mail (and any attached files) is confidential and protected by copyright (and other intellectual property rights). If you are not the intended recipient please e-mail the sender and then delete the email and any attached files immediately. Any further use or dissemination is prohibited. While MTV Networks Europe has taken steps to ensure that this email and any attachments are virus free, it is your responsibility to ensure that this message and any attachments are virus free and do not affect your systems / data. Communicating by email is not 100% secure and carries risks such as delay, data corruption, non-delivery, wrongful interception and unauthorised amendment. If you communicate with us by e-mail, you acknowledge and assume these risks, and you agree to take appropriate measures to minimise these risks when e-mailing us. MTV Networks International, MTV Networks UK & Ireland, Greenhouse, Nickelodeon Viacom Consumer Products, VBSi, Viacom Brand Solutions International and Comedy Central are all trading names of MTV Networks Europe. MTV Networks Europe is a partnership between MTV Networks Europe Inc. and Viacom Networks Europe Inc. Address for service in Great Britain is UK House, 180 Oxford Street, London W1D 1DS, UK. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From renato.casagrande.jr at gmail.com Tue Nov 4 12:23:59 2008 From: renato.casagrande.jr at gmail.com (=?ISO-8859-1?Q?Renato_Casagrande_J=FAnior?=) Date: Tue, 4 Nov 2008 09:23:59 -0200 Subject: Ubuntu and FreeBSD Server Message-ID: <5f73c2b50811040323m31109f37v9e0bc64ee673ef2b@mail.gmail.com> Hello!! People, I need your help!! I have already installed Nagios on FreeBSD Server. My diffcult is access it using Ubuntu 7.10 software. I think my problem is in Apache. For example: there is one server (FreeBSD) and 80 PCs (Ubuntu 7.10). I am not getting access Nagios from Ubuntu's PCs. Anyone can help me? Tnks a lot!! ;) -- Renato Casagrande J?nior Graduando em Engenharia de Computa??o - Furg Bolsista do Laborat?rio de Software da Engenharia de Computa??o - Furg Furg - Universidade Federal do Rio Grande - -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From junior.cunha at opservices.com.br Tue Nov 4 12:37:20 2008 From: junior.cunha at opservices.com.br (Junior Cunha) Date: Tue, 4 Nov 2008 09:37:20 -0200 (BRST) Subject: OpMon.org In-Reply-To: <11463740.33621225798425008.JavaMail.root@mail.opservices.com.br> References: <11463740.33621225798425008.JavaMail.root@mail.opservices.com.br> Message-ID: <30977422.33641225798640900.JavaMail.root@mail.opservices.com.br> Hi Andy, Good point. The if statement ( isset(argc) ) was used because we had some scripts including the file includes/config.inc. Since this scripts aren't part of this package, that verification became useless and already been removed from the current package. Regards, Junior Cunha ----- Mensagem original ----- De: "Andy Shellam" Para: "Junior Cunha" Cc: ojan at expertise-online.net, nagios-users at lists.sourceforge.net Enviadas: Segunda-feira, 3 de Novembro de 2008 20:29:50 (GMT-0300) Auto-Detected Assunto: Re: [Nagios-users] OpMon.org Junior, I believe that argc and argv only get populated when register_argc_argv is turned on in php.ini as they are considered redundant in web applications. Not sure if this is a Fruity or OpCfg issue. Andy Junior Cunha wrote: > Hi, > > This problem was already reported in our mailing list (http://www.opmon.org/get-involved). Looks like an issue with the verification of $_SERVER['argc'] and PHP 5.2. Could you comment out the following line in the includes/config.inc and try again? > > Line 76: if ( !isset( $_SERVER['argc']) ) > > Regards, > Junior Cunha > > ----- Mensagem original ----- > De: "Olivier JAN" > Para: nagios-users at lists.sourceforge.net > Enviadas: Segunda-feira, 3 de Novembro de 2008 6:16:13 (GMT-0300) Auto-Detected > Assunto: Re: [Nagios-users] OpMon.org > > > Hi list, > > Same for me on a ubuntu 8.0.4 and nagios 3.0.4. Same version of > Apache, MySQL, PHP 5 as Mathieu > > > Olivier Jan > > Mathieu Gagn? a ?crit : > > >> I can't load OpCfg's interface. I'm getting those PHP errors: >> >> Fatal error: Call to a member function isSideBarIncluded() on a >> non-object in /usr/local/nagios/share/opcfg/output/output.php on line 535 >> >> Fatal error: Call to a member function isSideBarIncluded() on a >> non-object in /usr/local/nagios/share/opcfg/home.php on line 27 >> >> $fruity seems to be undefined. In fact, this variable is defined nowhere >> except here: >> >> export.php:28: $fruity = new Fruity(); >> includes/sessions.inc:64: $fruity = $_SESSION['fruity']; >> includes/sessions.inc:86: $fruity = $_SESSION['fruity']; >> templates_import.php:28: $fruity = new Fruity(); >> >> >> Here is some version informations if required: >> >> Nagios 3.0.4 >> PHP 5.2.6 >> Apache 2.2.9 >> MySQL 5.0.51a >> OpCfg 1.0 >> >> Mathieu >> >> Dario B. Bestetti (OpServices) wrote: >> >>> Sorry, the website is http://www.opmon.org >>> >> ------------------------------------------------------------------------- >> 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=100&url=/ >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at 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=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Edgar.Matzinger at valid.nl Tue Nov 4 13:32:07 2008 From: Edgar.Matzinger at valid.nl (Edgar Matzinger) Date: Tue, 4 Nov 2008 13:32:07 +0100 Subject: SUPPORT FOR CONFIGURING NAGIOS WITH MYSQL DATABASETO STORE LOGAND DATA IN MYSQL In-Reply-To: References: <490F10A3.3070304@nagios.com> Message-ID: Hi Sanjeeb, you wrote: > Thanks for the response.Let me Describe what is my > requirement we have Nagios configured in one server with > apache where it is not able to store all datas(Means if we > want to gather last 1 year's data for KPI we are not able to > do same). You can do this with ndo2db. With this tool data can be stored on a different server than the one nagios is running on. > So my management decided to configure Nagios with > Mysql to store all information and can retrive all > information from url when ever they require it. If you need it for reporting purposes only, use ndo2db. There are probably some reporting tools available which can translate the contents of the NDO database into a report. Otherwise you could use a generic BI tool to generate such reports. Start with checking the tables nagios_checkhosts and nagios_checkservices. A short search didn't reveal any out-of-the-box solutions.... :-( > So please advice what steps and what I will follow to > implement the same .Do you have any specific document for > same then please help me . I don't have any experience with reporting from nagios. I do use ndo2db for nagvis. Sorry, cu l8r, Edgar. -- |\ /| : : Addr: Valid Eindhoven B.V. / | \/ | : Edgar R. Matzinger : t.a.v. E.R. Matzinger / | | : : Paradijslaan 36 \ /| /\| : : 5611 KN Eindhoven \/ / \ : Valid Eindhoven BV : \ /\ / : : \/ |\/ : : | : : Disclaimer: Any comments, opinions made are mine, etc ... ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From adambrooke at hotmail.com Tue Nov 4 15:42:21 2008 From: adambrooke at hotmail.com (adam brooke) Date: Tue, 4 Nov 2008 14:42:21 +0000 Subject: Nagiosgrapher In-Reply-To: <49105CE9.4060906@netways.de> References: <49105CE9.4060906@netways.de> Message-ID: Many thanks for the quick reponse on this Christian. What would be of help to me would be: 1) A download address for the latest version 2) An install guide (I will be installing on Solaris 10) 3) any other information you may have. Thanks in advance for your help. Kind regards, Adam > Date: Tue, 4 Nov 2008 15:32:09 +0100> From: christian.doebler at netways.de> To: adambrooke at hotmail.com> Subject: Re: [Nagios-users] Nagiosgrapher> > Hi Adam,> > the NagiosGrapher ist still maintained, of course. We are just a little busy> right now.> > The most recent Grapher [1] works fine with Nagios 3.0.3. So I'm sure it works> with 3.0.4, too.> > Unfortunately documentation has always been a problem with this project.> Can I help you somehow?> > Regards> > Christian> > [1] https://www.nagiosforge.org/gf/project/nagiosgrapher/frs/?action=FrsReleaseView&release_id=121> > > > Hello all,> >> > Is the Nagiosgrapher addonn still being maintained? Does it work with Nagios> > 3.0.4 yet?> >> > If so can anyone point me to some good documentation and a download locat?> >> > many thanks in advance for your help> >> > Adam> > -- > Christian D?bler> Application Developer> > NETWAYS GmbH | Deutschherrnstr. 15-19 | D-90429 N?rnberg> Tel: +49 911 92885-0 | Fax: +49 911 92885-77> GF: Julian Hein | AG N?rnberg HRB18461> > http://www.netways.de | christian.doebler at netways.de> > ** NETWAYS Nagios Training - http://www.netways.de/training ** _________________________________________________________________ Catch up on all the latest celebrity gossip http://clk.atdmt.com/GBL/go/115454061/direct/01/ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From dale at chatham.org Tue Nov 4 15:53:02 2008 From: dale at chatham.org (Dale J. Chatham) Date: Tue, 04 Nov 2008 08:53:02 -0600 Subject: Nagios 3, Bogus(?) "host could not be found" problem In-Reply-To: <490F21BA.7060109@chatham.org> References: <490F21BA.7060109@chatham.org> Message-ID: <491061CE.7060906@chatham.org> This was an issue with either the library search path or a compile problem that a recompile fixed. Dale J. Chatham wrote: > I'm getting the following log messages. Below are the configuration > items and below all are the appropriate entries from objects.cache. > > > > From /var/log/messages: > > Nov 3 10:00:34 coresvc05 nagios[12217]: [ID 702911 user.info] Warning: > Check result queue contained results for host 'vio', but the host could > not be found! Perhaps you forgot to define the host in your config files? > > define service{ > service_description PING > check_command check_ping > use all_hosts,generic_service > } > > > define service{ > host_name * > name all_hosts > register 0 > } > > > define service{ > name generic_service > max_check_attempts 3 > normal_check_interval 10 > retry_check_interval 5 > active_checks_enabled 1 > check_period 24x7 > notification_interval 600 > notification_period 24x7 > notification_options w,c,r > notifications_enabled 1 > register 0 > } > > define host { > host_name vio > alias vio > address xxx.yyy.zzz.114 > use generic_host,linux_host > } > > define host { > name generic_host > check_command check_host_alive > max_check_attempts 5 > check_period 24x7 > contact_groups dale > notification_interval 30 > notification_period 24x7 > notification_options d,u,r,f > register 0 > } > > define host { > name linux_host > statusmap_image base/redhat.png > register 0 > } > > ==================================================================== > > Objects.cache: > define host { > host_name vio > alias vio > address xxx.yyy.zzz.114 > check_period 24x7 > check_command check_host_alive > contact_groups dale > notification_period 24x7 > initial_state o > check_interval 5.000000 > retry_interval 1.000000 > max_check_attempts 5 > active_checks_enabled 1 > passive_checks_enabled 1 > obsess_over_host 1 > event_handler_enabled 1 > low_flap_threshold 0.000000 > high_flap_threshold 0.000000 > flap_detection_enabled 1 > flap_detection_options o,d,u > freshness_threshold 0 > check_freshness 0 > notification_options d,u,r,f > notifications_enabled 1 > notification_interval 30.000000 > first_notification_delay 0.000000 > stalking_options n > process_perf_data 1 > failure_prediction_enabled 1 > statusmap_image base/redhat.png > retain_status_information 1 > retain_nonstatus_information 1 > } > > define service { > host_name vio > service_description PING > check_period 24x7 > check_command check_ping > contact_groups dale > notification_period 24x7 > initial_state o > check_interval 10.000000 > retry_interval 5.000000 > max_check_attempts 3 > is_volatile 0 > parallelize_check 1 > active_checks_enabled 1 > passive_checks_enabled 1 > obsess_over_service 1 > event_handler_enabled 1 > low_flap_threshold 0.000000 > high_flap_threshold 0.000000 > flap_detection_enabled 1 > flap_detection_options o,w,u,c > freshness_threshold 0 > check_freshness 0 > notification_options w,c,r > notifications_enabled 1 > notification_interval 600.000000 > first_notification_delay 0.000000 > stalking_options n > process_perf_data 1 > failure_prediction_enabled 1 > retain_status_information 1 > retain_nonstatus_information 1 > } > > > ------------------------------------------------------------------------- > 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=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From novin.jaiswal at ishisystems.com Tue Nov 4 16:08:16 2008 From: novin.jaiswal at ishisystems.com (Novin Jaiswal) Date: Tue, 4 Nov 2008 10:08:16 -0500 Subject: Nagios MRTG sample graph not working Message-ID: <2BA70ED7C7275645B648362FB35913A901EB54EC@exchange.ishisystems.com> Hi All, I am using Nagios 3.0.3 and Mrtg. Both are installed and working fine. I have check a sample graph for my system for network traffic on mrtg and its working fine which was for test purpose only to see MRTG is working or not. Now I am trying to integrate MRTG and Nagios using nagiostats and copied the sample graphs come along with Nagios /sample-config and copied those to my /etc/mrtg/mymrtg.cong file After that I have re-run mrtg quite a few times using "env LANG=C /usr/local/mrtg-2/bin/mrtg /etc/mrtg/mymrtg.cfg". It starts properly without any error. When I refresh my http://ip/mymrtg/ html page its only showing the old test graph of network traffic not the Nagios sample graph which I have added. Am I missing something? Pls help me. Thanks in advance Thanks & Regards Novin Jaiswal Ishi Systems Inc. 732-318-8156(cell) -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From vmanojv at rediffmail.com Tue Nov 4 16:21:25 2008 From: vmanojv at rediffmail.com (Nair) Date: 4 Nov 2008 15:21:25 -0000 Subject: Return code of 141 Message-ID: <20081104152125.33216.qmail@f5mail-236-239.rediffmail.com> Friends Can anyone please give some idea on below error code: ? Additional Info: (Return code of 141 is out of bounds) Thank you Nair -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From thanhvovinam at gmail.com Tue Nov 4 16:28:11 2008 From: thanhvovinam at gmail.com (Thanh vovinam) Date: Tue, 4 Nov 2008 16:28:11 +0100 Subject: NSCA 2.7.2 (core Nagios 3.0.3) filters HTML-special characters in event messages Message-ID: Dear list, *From our old Nagios system:* we had NSCA 2.7.2 and core *Nagios 3.0.RC2*instance: we had *no* *problem* with NSCA and special HTML characters like <>" Fex.: in nagios.log: Note: nagios.cfg option: illegal_macro_output_chars=`~$&|'"<> *From our new Nagios system:**:* we have NSCA 2.7.2 and core *Nagios 3.0.3 *instance: we had problem with NSCA and special HTML characters like <>" Fex.: in nagios.log: iframe src=http://xxxxxxx width=400 height=400 scrolling=auto frameborder=1 /iframe Note: nagios.cfg option: illegal_macro_output_chars=`~$&|'"<> We had tried to change option: illegal_macro_output_chars=`~$&|' But it didnt help. Any hints/links/suggestion are always welcome with best regards, Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From dale at chatham.org Tue Nov 4 16:34:40 2008 From: dale at chatham.org (Dale J. Chatham) Date: Tue, 04 Nov 2008 09:34:40 -0600 Subject: Return code of 141 In-Reply-To: <20081104152125.33216.qmail@f5mail-236-239.rediffmail.com> References: <20081104152125.33216.qmail@f5mail-236-239.rediffmail.com> Message-ID: <49106B90.2090104@chatham.org> An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From mattias.ryrlen at op5.com Tue Nov 4 16:36:30 2008 From: mattias.ryrlen at op5.com (Mattias =?ISO-8859-1?Q?Ryrl=E9n?=) Date: Tue, 04 Nov 2008 16:36:30 +0100 Subject: How well does it scale? strange udp sync setup. Message-ID: <1225812990.7462.10.camel@mr-laptop> Hi, I have a strange solution setup for a Master/Poller setup. was wondering if someone can see any performance issue with this setup. You are only allowed to poll one-way udp, so i thought.. why not use syslog/logger to send the data. using centos syslog (not syslog-ng). ******** Scripts ******** - sync_udp_parser.sh (can be obtained, reading from the pipe and copy to nagios pipe) - sync_udp_send.sh (can be obtained, more or less using logger with preformatted nagios PASSIVE HOST/SERVICE format) ******** ServerA (Poller) ******** The server doing the actual polling. ******** Config ******** * Place sync_udp_send.sh to passive directory /opt/monitor/op5/passive/ ** nagios.cfg - obsess_over_services=1 - obsess_over_hosts=1 - ocsp_command=sync_send_udp_service - ochp_command=sync_send_udp_host (you may also need to verify that you have obsess_over_[services/hosts] enabled in your specific templates) ** misccommands.cfg # command 'sync_send_udp_host' define command{ command_name sync_send_udp_host command_line /opt/monitor/op5/passive/sync_udp_send.sh host $TIMET$ $HOSTNAME$ $HOSTSTATE$ '$HOSTOUTPUT$' } # command 'sync_send_udp_service' define command{ command_name sync_send_udp_service command_line /opt/monitor/op5/passive/sync_udp_send.sh service $TIMET$ $HOSTNAME$ $SERVICESTATE$ '$SERVICEOUTPUT$' '$SERVICEDES C$' } * syslogd edit /etc/syslog.conf local6.* @ service monitor configtest if everything went ok. service monitor reload ******** ServerB (Master) ******** The server that recive the passive result ******** Config ******** * Create pipe for passive syslog udp messages. mknod /opt/monitor/op5/passive/sync_udp.pipe p chmod 600 /opt/monitor/op5/passive/sync_udp.pipe * Place pipe parser (sync_udp_parser.sh) to passive directory /opt/monitor/op5/passive/ * Start parser /opt/monitor/op5/passive/sync_udp_parser.sh < /opt/monitor/op5/passive/sync_udp.pipe & * syslogd edit /etc/syslog.conf local6.* |/opt/monitor/op5/passive/sync_udp.pipe -- V?nliga h?lsningar / Best Regards Mattias Ryrl?n __________________________ op5 AB F?rsta L?nggatan 19 SE-413 27 G?teborg Mobil: +46 735-17 70 99 Support: +46 31-774 09 24 www.op5.com ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From melanie_pfefer at yahoo.co.uk Tue Nov 4 16:41:11 2008 From: melanie_pfefer at yahoo.co.uk (Melanie Pfefer) Date: Tue, 4 Nov 2008 15:41:11 +0000 (GMT) Subject: netscreen on nagios Message-ID: <6355.7953.qm@web26206.mail.ukl.yahoo.com> Hello I am using nagios2 any idea how to use this module? check_netscreen_vpn I do not see it in my libexec/ folder thank you ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From cschneemann at suse.de Tue Nov 4 16:46:36 2008 From: cschneemann at suse.de (Christian Schneemann) Date: Tue, 4 Nov 2008 16:46:36 +0100 Subject: Return code of 141 In-Reply-To: <20081104152125.33216.qmail@f5mail-236-239.rediffmail.com> References: <20081104152125.33216.qmail@f5mail-236-239.rediffmail.com> Message-ID: <200811041646.36746.cschneemann@suse.de> On Tuesday November 4 2008 04:21:25 pm Nair wrote: > Friends > > Can anyone please give some idea on below error code: ? > > Additional Info: > > (Return code of 141 is out of bounds) > > Thank you > Nair Hi, have a look at the command definition, is the plugin in place? Greetings, Christian -- Christian Schneemann ------------------------------------- SUSE LINUX Products GmbH, Maxfeldstr. 5, D - 90409 N?rnberg Phone:??+49 (0)911 - 740 53 0 e-mail:?cschneemann at suse.de ------------------------------------- SUSE LINUX Products GmbH, GF: Markus Rex HRB 16746 (AG N?rnberg) ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From peter at berghold.net Tue Nov 4 16:30:44 2008 From: peter at berghold.net (Peter L. Berghold) Date: Tue, 04 Nov 2008 10:30:44 -0500 Subject: Stand alone syntax checker? Message-ID: <49106AA4.9040407@berghold.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi folks, Does there exist a standalone syntax checker for Nagios configuration files? I normally author my config files on my laptop which does not have Nagios installed on it. I suppose I could just build the Nagios binary and use it in verify mode, but that seems like overkill to me. - -- Peter L. Berghold http://www.berghold.net peter at berghold.net Unix Professional Dog Agility Fan Crazed Cook "Those who fail to learn from history are condemned to repeat it." -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org iEYEARECAAYFAkkQaqQACgkQUM9/01RIhaBFoQCaArrRW92lzneHyZVhcq7C1wZ2 0McAn2wl0WbZ31jrEzWOP7i8rqx2VSuF =E0tn -----END PGP SIGNATURE----- ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From novin.jaiswal at ishisystems.com Tue Nov 4 16:46:24 2008 From: novin.jaiswal at ishisystems.com (Novin Jaiswal) Date: Tue, 4 Nov 2008 10:46:24 -0500 Subject: Nagios MRTG sample graph not working In-Reply-To: <2BA70ED7C7275645B648362FB35913A901EB54EC@exchange.ishisystems.com> References: <2BA70ED7C7275645B648362FB35913A901EB54EC@exchange.ishisystems.com> Message-ID: <2BA70ED7C7275645B648362FB35913A901EB54ED@exchange.ishisystems.com> Hi Guys, The graphs are working issue was I was not hitting the right htmp http://ip/mymrtg/nagios-a.html But One more Qn. Is there any way I can show a specific service 's graph of particular host . Let me explain it in brief. I have on passive service PegCount running for one of the monitored host(stage10) on Nagios server(stage5). I want to create graph for that service data( which is pegcount integer value) over the time period. If you have any idea pls let me know. I appreciate your help. Thanks & Regards Novin Jaiswal Ishi Systems Inc. 732-318-8156(cell) From: Novin Jaiswal [mailto:novin.jaiswal at ishisystems.com] Sent: Tuesday, November 04, 2008 10:08 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagios MRTG sample graph not working Hi All, I am using Nagios 3.0.3 and Mrtg. Both are installed and working fine. I have check a sample graph for my system for network traffic on mrtg and its working fine which was for test purpose only to see MRTG is working or not. Now I am trying to integrate MRTG and Nagios using nagiostats and copied the sample graphs come along with Nagios /sample-config and copied those to my /etc/mrtg/mymrtg.cong file After that I have re-run mrtg quite a few times using "env LANG=C /usr/local/mrtg-2/bin/mrtg /etc/mrtg/mymrtg.cfg". It starts properly without any error. When I refresh my http://ip/mymrtg/ html page its only showing the old test graph of network traffic not the Nagios sample graph which I have added. Am I missing something? Pls help me. Thanks in advance Thanks & Regards Novin Jaiswal Ishi Systems Inc. 732-318-8156(cell) -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From mattias.ryrlen at op5.com Tue Nov 4 16:47:38 2008 From: mattias.ryrlen at op5.com (Mattias =?ISO-8859-1?Q?Ryrl=E9n?=) Date: Tue, 04 Nov 2008 16:47:38 +0100 Subject: netscreen on nagios In-Reply-To: <6355.7953.qm@web26206.mail.ukl.yahoo.com> References: <6355.7953.qm@web26206.mail.ukl.yahoo.com> Message-ID: <1225813658.7462.12.camel@mr-laptop> Hello Melanie, Download it from http://www.nagiosexchange.org/cgi-bin/page.cgi?g=Detailed% 2F1681.html;d=1 * Put it under your plugins directory * Make sure you have the right permissions, users:group and execute rights * Define a command with your check * Define a service Best Regards Mattias Ryrl?n On Tue, 2008-11-04 at 15:41 +0000, Melanie Pfefer wrote: > Hello > > I am using nagios2 > > any idea how to use this module? check_netscreen_vpn > > I do not see it in my libexec/ folder > > thank you > > > > > ------------------------------------------------------------------------- > 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=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 -- V?nliga h?lsningar / Best Regards Mattias Ryrl?n __________________________ op5 AB F?rsta L?nggatan 19 SE-413 27 G?teborg Mobil: +46 735-17 70 99 Support: +46 31-774 09 24 www.op5.com ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From tdondich at gmail.com Tue Nov 4 17:37:27 2008 From: tdondich at gmail.com (Taylor Dondich) Date: Tue, 4 Nov 2008 08:37:27 -0800 Subject: OpMon and Fruity, a better understanding. Message-ID: <3d2eb72a0811040837o2be5aa93o41b6331d51461af6@mail.gmail.com> Hi all, might have seen a bit of an irate email from me regarding OpMon and it's use of Fruity as it's initial codebase. After discussing it with the OpMon team, they had good reason to fork the project. They didn't really ping the user community mailing list or myself in regards to forking the project, but they did submit patches. And because of the issue of Fruity being in a stale situation, their patches could not go into the official codetree. I've discussed with them how Fruity is basically no longer supported and really should not be used for production use. At least not with Nagios 3.x OpMon team did a good job of adding some initial support for Nagios 3.x but there would be a lot of work to be done to try and get the Fruity codebase up to par. The good news is that I've already done so and built Lilac, which is from the ground-up a major rewrite of Fruity to support Nagios 3.x and be much more robust. I'm now in discussions with the OpMon team in how we can leverage Lilac for their uses and bring some of the work they've done to Lilac and it's community. Glad we got things cleared up the open source way! By flaming and communication. 8) -- Taylor Dondich Check out Lilac, a configuration tool for Nagios 3 at http://www.lilacplatform.com Check out my Shortcut with O'Reilly Press: Network Monitoring with Nagios: http://oreilly.com/catalog/9780596528195/index.html ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From assaf.flatto at ssp.uk.com Tue Nov 4 17:49:42 2008 From: assaf.flatto at ssp.uk.com (Assaf Flatto) Date: Tue, 4 Nov 2008 16:49:42 +0000 Subject: Invisible servers In-Reply-To: <12CEE450-97B8-4E8F-89DC-C90B3C127F08@ena.com> References: <200810311450.25528.assaf.flatto@ssp.uk.com> Message-ID: <200811041649.42154.assaf.flatto@ssp.uk.com> I've tried this method , but it does not "clean" the CGI from the Down/Critical status of the units . Assaf On Friday 31 October 2008 15:50:25 Marc Powell wrote: > On Oct 31, 2008, at 9:50 AM, Assaf Flatto wrote: > > My problem is - i have a list of about 950 units i am monitoring > > once a day between 5 -7 AM , with > > the understanding that some of the (about 50-60) will be down. > > > > After the test is done - we do not need to see them ( once the test > > is done a report is gathered and > > sent out and we don't use the information for the rest of the day) , > > but they "cluter" the display > > with all the CRITICAL errors they stay in. > > > > My question is as follow - is there a way to make the nagios preform > > the test but not display those > > units in the CGI ? > > After the test is complete you could parse the status file or web page > and submit an external OK check result perhaps... > > http://www.nagios.org/developerinfo/externalcommands/commandinfo.php?comman >d_id=114 > > -- > Marc > > > ------------------------------------------------------------------------- > 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=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 -- Assaf Flatto SSP Ops Team Linux System Administrator 169 Euston Road, London, NW1 2AE 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From israel at frontierflying.com Tue Nov 4 18:14:41 2008 From: israel at frontierflying.com (Israel Brewster) Date: Tue, 4 Nov 2008 08:14:41 -0900 Subject: checkhostalive vs ping service In-Reply-To: References: Message-ID: For me, I went to doing all host checks (pings)/no service checks once we went to nagios 3 because of the logic of it. When I am pinging a host, I am checking to see if a host is up, i.e. host check. "ping" isn't some service running on the host that I am checking, it is checking the host itself. So from a logic standpoint, to me at least, it made more sense to just do the host checks. ----------------------------------------------- Israel Brewster Computer Support Technician Frontier Flying Service Inc. 5245 Airport Industrial Rd Fairbanks, AK 99709 (907) 450-7250 x293 ----------------------------------------------- On Oct 31, 2008, at 2:10 AM, L B wrote: > Hello all, > > What is the difference between checking a host is alive with a check > in the host template (check_command check-host-alive), and creating a > ping service applied to the host ? > I did a test with both configurations, and didn't see a different > behavior. > > I thought it was a question of dependencies: if a service fails, a > host check is done to check if the host is up. But if one of the > services (ping or another) fails, a host check is done anyway even if > my host checks are disabled (check_interval 0), (that's a correct > behavior for me) > > My configuration doesn't have host checks because it was imported > from Nagios 2.x, and disabling host checks was an optimization setting > I've read somewhere (I also read that it's not necessary anymore with > nagios 3) . Now I'm running Nagios 3, so I'm wondering if it would > make sense to disable the ping service checks and do it as a host > check. Why should I do /don't do this ? > > Thanks! > -- > L.B. > > ------------------------------------------------------------------------- > 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=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Tue Nov 4 19:21:10 2008 From: marc at ena.com (Marc Powell) Date: Tue, 4 Nov 2008 12:21:10 -0600 Subject: Nagios MRTG sample graph not working In-Reply-To: <2BA70ED7C7275645B648362FB35913A901EB54ED@exchange.ishisystems.com> References: <2BA70ED7C7275645B648362FB35913A901EB54EC@exchange.ishisystems.com> <2BA70ED7C7275645B648362FB35913A901EB54ED@exchange.ishisystems.com> Message-ID: <0B8E18DB-A6B8-4FAF-A50A-101A1C6A65A5@ena.com> On Nov 4, 2008, at 9:46 AM, Novin Jaiswal wrote: > Hi Guys, > > The graphs are working issue was I was not hitting the right htmp http://ip/mymrtg/nagios-a.html > > But One more Qn. Is there any way I can show a specific service ?s > graph of particular host . Let me explain it in brief. > > I have on passive service PegCount running for one of the monitored > host(stage10) on Nagios server(stage5). I want to create graph for > that service data( which is pegcount integer value) over the time > period. > > If you have any idea pls let me know. I appreciate your help. Hasn't this specific question been answered multiple times already? -- Marc ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Tue Nov 4 19:26:53 2008 From: marc at ena.com (Marc Powell) Date: Tue, 4 Nov 2008 12:26:53 -0600 Subject: Invisible servers In-Reply-To: <200811041649.42154.assaf.flatto@ssp.uk.com> References: <200810311450.25528.assaf.flatto@ssp.uk.com> <200811041649.42154.assaf.flatto@ssp.uk.com> Message-ID: (top-posting sucks) On Nov 4, 2008, at 10:49 AM, Assaf Flatto wrote: > > I've tried this method , but it does not "clean" the CGI from the > Down/Critical status of the > units . > Why not? Are they being checked more than the once a day you indicated? If you submit an OK result, they'll go into an OK state until a different result is received. You do need to have passive checks enabled for the service though. -- Marc ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From novin.jaiswal at ishisystems.com Tue Nov 4 19:33:59 2008 From: novin.jaiswal at ishisystems.com (Novin Jaiswal) Date: Tue, 4 Nov 2008 13:33:59 -0500 Subject: Nagios MRTG sample graph not working In-Reply-To: <0B8E18DB-A6B8-4FAF-A50A-101A1C6A65A5@ena.com> References: <2BA70ED7C7275645B648362FB35913A901EB54EC@exchange.ishisystems.com><2BA70ED7C7275645B648362FB35913A901EB54ED@exchange.ishisystems.com> <0B8E18DB-A6B8-4FAF-A50A-101A1C6A65A5@ena.com> Message-ID: <2BA70ED7C7275645B648362FB35913A901EB54F0@exchange.ishisystems.com> Hi Mark, Thanks for the reply. Sorry for asking the same qn again but the context this time is different(MRTG). Hugo gave me the hit to work with Cacti or Nagios add-on such a Nagios graph. But Mean while I have integrated MRTG. Is it possible to create that service specific graph using MRTG. If not then as per some users Nagiosgraph is hard to install pls suggest me some other Nagios addon for performance graphing. I am struggling with this task from last 1 week. Thanks > Is there any way I can show a specific service 's > graph of particular host . Let me explain it in brief. > > I have on passive service PegCount running for one of the monitored > host(stage10) on Nagios server(stage5). I want to create graph for > that service data( which is pegcount integer value) over the time > period. > Thanks & Regards Novin Jaiswal Ishi Systems Inc. 732-318-8156(cell) -----Original Message----- From: Marc Powell [mailto:marc at ena.com] Sent: Tuesday, November 04, 2008 1:21 PM To: Nagios Mailinglist Subject: Re: [Nagios-users] Nagios MRTG sample graph not working On Nov 4, 2008, at 9:46 AM, Novin Jaiswal wrote: > Hi Guys, > > The graphs are working issue was I was not hitting the right htmp http://ip/mymrtg/nagios-a.html > > But One more Qn. Is there any way I can show a specific service 's > graph of particular host . Let me explain it in brief. > > I have on passive service PegCount running for one of the monitored > host(stage10) on Nagios server(stage5). I want to create graph for > that service data( which is pegcount integer value) over the time > period. > > If you have any idea pls let me know. I appreciate your help. Hasn't this specific question been answered multiple times already? -- Marc ------------------------------------------------------------------------ - 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Edgar.Matzinger at valid.nl Tue Nov 4 19:55:46 2008 From: Edgar.Matzinger at valid.nl (Edgar Matzinger) Date: Tue, 4 Nov 2008 19:55:46 +0100 Subject: Any numbers on sizing a nagios server? Message-ID: LS, I've searched the internet (maybe I look in the wrong places) but I can't find any numbers on sizing a nagios server. Are there any numbers out there amongst you and are you willing to share? Thanks, regards, Edgar. -- |\ /| : : Addr: Valid Eindhoven B.V. / | \/ | : Edgar R. Matzinger : t.a.v. E.R. Matzinger / | | : : Paradijslaan 36 \ /| /\| : : 5611 KN Eindhoven \/ / \ : Valid Eindhoven BV : \ /\ / : : \/ |\/ : : | : : Disclaimer: Any comments, opinions made are mine, etc ... ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Aaron.Segura at cabelas.com Tue Nov 4 20:02:59 2008 From: Aaron.Segura at cabelas.com (Aaron Segura) Date: Tue, 4 Nov 2008 12:02:59 -0700 Subject: Any numbers on sizing a nagios server? In-Reply-To: References: Message-ID: I like 7. -----Original Message----- From: Edgar Matzinger [mailto:Edgar.Matzinger at valid.nl] Sent: Tuesday, November 04, 2008 11:56 AM To: Nagios Mailinglist Subject: [Nagios-users] Any numbers on sizing a nagios server? LS, I've searched the internet (maybe I look in the wrong places) but I can't find any numbers on sizing a nagios server. Are there any numbers out there amongst you and are you willing to share? Thanks, regards, Edgar. -- |\ /| : : Addr: Valid Eindhoven B.V. / | \/ | : Edgar R. Matzinger : t.a.v. E.R. Matzinger / | | : : Paradijslaan 36 \ /| /\| : : 5611 KN Eindhoven \/ / \ : Valid Eindhoven BV : \ /\ / : : \/ |\/ : : | : : Disclaimer: Any comments, opinions made are mine, etc ... ------------------------------------------------------------------------ - 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From svalding at doverchem.com Tue Nov 4 20:21:51 2008 From: svalding at doverchem.com (Valdinger, Stephen (DOV, MSX)) Date: Tue, 4 Nov 2008 14:21:51 -0500 Subject: Any numbers on sizing a nagios server? References: Message-ID: Personally I like 9, but I agree that 7 is a nice prime number, well thought Aaron! Stephen Valdinger MIS Helpdesk Coordinator 330.365.3622 -O 740.491.0958 - C svalding at doverchem.com Never agrue with an idiot. They drag you down to their level and then beat you with their experience. -----Original Message----- From: Aaron Segura [mailto:Aaron.Segura at cabelas.com] Sent: Tuesday, November 04, 2008 2:03 PM To: Edgar Matzinger; Nagios Mailinglist Subject: Re: [Nagios-users] Any numbers on sizing a nagios server? I like 7. -----Original Message----- From: Edgar Matzinger [mailto:Edgar.Matzinger at valid.nl] Sent: Tuesday, November 04, 2008 11:56 AM To: Nagios Mailinglist Subject: [Nagios-users] Any numbers on sizing a nagios server? LS, I've searched the internet (maybe I look in the wrong places) but I can't find any numbers on sizing a nagios server. Are there any numbers out there amongst you and are you willing to share? Thanks, regards, Edgar. -- |\ /| : : Addr: Valid Eindhoven B.V. / | \/ | : Edgar R. Matzinger : t.a.v. E.R. Matzinger / | | : : Paradijslaan 36 \ /| /\| : : 5611 KN Eindhoven \/ / \ : Valid Eindhoven BV : \ /\ / : : \/ |\/ : : | : : Disclaimer: Any comments, opinions made are mine, etc ... ------------------------------------------------------------------------ - 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jpaulus at sourceinterlink.com Tue Nov 4 20:19:48 2008 From: jpaulus at sourceinterlink.com (Paulus, Jake) Date: Tue, 4 Nov 2008 14:19:48 -0500 Subject: Any numbers on sizing a nagios server? In-Reply-To: References: Message-ID: <79B77295FBC9F247A32A6C98B67B1E1401E712EF@srv-1exch01.sourceinterlink.com> Nagios performance is very much specific to your environment. Nagios 3.x is also MUCH faster than Nagios 2.x because of parallel host checks (and other features.) Our performance is summed up below but your millage my vary: Primary server: Nagios 3.0.3 Dual, quad-core processors @ 2.4 GHz and 4GB of RAM ~650 hosts, 1550 services System load averages 0.8, 0.6, 0.5 (CPUs are mostly idle with spikes when hundreds of checks get kicked off at once) Average service check latency 0.3 seconds Average host check latency 2.5 seconds All of our service checks are active, mostly snmpget and snmpbulkget and lots of pings - largely checking every 2-5 minutes. Most of our service checks are bash and perl scripts (we don't use the embedded Perl interpreter.) We also collect and parse perfdata for graphing and run Cacti and other very small MySQL-driven webapps on this same server. The server is definitely a little over-kill but the price was right and it was purchased with Nagios 2.x in mind - once again, Nagios 3.x is much faster. Our environment is also not "tuned" for performance other than to put in sane timeouts for service checks so they don't sit around waiting too long. Thanks, -Jake -----Original Message----- From: Edgar Matzinger [mailto:Edgar.Matzinger at valid.nl] Sent: Tuesday, November 04, 2008 1:56 PM To: Nagios Mailinglist Subject: [Nagios-users] Any numbers on sizing a nagios server? LS, I've searched the internet (maybe I look in the wrong places) but I can't find any numbers on sizing a nagios server. Are there any numbers out there amongst you and are you willing to share? Thanks, regards, Edgar. -- |\ /| : : Addr: Valid Eindhoven B.V. / | \/ | : Edgar R. Matzinger : t.a.v. E.R. Matzinger / | | : : Paradijslaan 36 \ /| /\| : : 5611 KN Eindhoven \/ / \ : Valid Eindhoven BV : \ /\ / : : \/ |\/ : : | : : Disclaimer: Any comments, opinions made are mine, etc ... ------------------------------------------------------------------------ - 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From mattias.ryrlen at op5.com Tue Nov 4 21:14:24 2008 From: mattias.ryrlen at op5.com (=?ISO-8859-1?Q?Mattias_Ryrl=E9n?=) Date: Tue, 04 Nov 2008 21:14:24 +0100 Subject: Nagios MRTG sample graph not working In-Reply-To: <2BA70ED7C7275645B648362FB35913A901EB54F0@exchange.ishisystems.com> References: <2BA70ED7C7275645B648362FB35913A901EB54EC@exchange.ishisystems.com><2BA70ED7C7275645B648362FB35913A901EB54ED@exchange.ishisystems.com> <0B8E18DB-A6B8-4FAF-A50A-101A1C6A65A5@ena.com> <2BA70ED7C7275645B648362FB35913A901EB54F0@exchange.ishisystems.com> Message-ID: <4910AD20.2040600@op5.com> Hi Novin, You could use pnp4nagios instead.. great graphing addon and quite easy to install if you read the documentation. http://www.pnp4nagios.org/pnp/start Good Luck! V?nliga h?lsningar / Best Regards Mattias Ryrl?n __________________________ op5 AB F?rsta L?nggatan 19 SE-413 27 G?teborg Mobil: +46 735-17 70 99 Support: +46 31-774 09 24 www.op5.com Novin Jaiswal skrev: > Hi Mark, > > Thanks for the reply. Sorry for asking the same qn again but the context > this time is different(MRTG). > > Hugo gave me the hit to work with Cacti or Nagios add-on such a Nagios > graph. But Mean while I have integrated MRTG. > > Is it possible to create that service specific graph using MRTG. If not > then as per some users Nagiosgraph is hard to install pls suggest me > some other Nagios addon for performance graphing. I am struggling with > this task from last 1 week. > > Thanks > >> Is there any way I can show a specific service 's >> graph of particular host . Let me explain it in brief. >> >> I have on passive service PegCount running for one of the monitored >> host(stage10) on Nagios server(stage5). I want to create graph for >> that service data( which is pegcount integer value) over the time >> period. >> > > Thanks & Regards > Novin Jaiswal > Ishi Systems Inc. > 732-318-8156(cell) > > > > > -----Original Message----- > From: Marc Powell [mailto:marc at ena.com] > Sent: Tuesday, November 04, 2008 1:21 PM > To: Nagios Mailinglist > Subject: Re: [Nagios-users] Nagios MRTG sample graph not working > > > On Nov 4, 2008, at 9:46 AM, Novin Jaiswal wrote: > >> Hi Guys, >> >> The graphs are working issue was I was not hitting the right htmp > http://ip/mymrtg/nagios-a.html >> But One more Qn. Is there any way I can show a specific service 's >> graph of particular host . Let me explain it in brief. >> >> I have on passive service PegCount running for one of the monitored >> host(stage10) on Nagios server(stage5). I want to create graph for >> that service data( which is pegcount integer value) over the time >> period. >> >> If you have any idea pls let me know. I appreciate your help. > > Hasn't this specific question been answered multiple times already? > > -- > Marc > > > ------------------------------------------------------------------------ > - > 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=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ae at op5.se Tue Nov 4 21:48:55 2008 From: ae at op5.se (Andreas Ericsson) Date: Tue, 04 Nov 2008 21:48:55 +0100 Subject: Any numbers on sizing a nagios server? In-Reply-To: References: Message-ID: <4910B537.6090308@op5.se> Valdinger, Stephen (DOV, MSX) wrote: > Personally I like 9, but I agree that 7 is a nice prime number, well > thought Aaron! > 2 is the best prime in the world. Nuff said. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From adevey at omniture.com Tue Nov 4 23:32:12 2008 From: adevey at omniture.com (Aaron Devey) Date: Tue, 04 Nov 2008 15:32:12 -0700 Subject: Any numbers on sizing a nagios server? In-Reply-To: <79B77295FBC9F247A32A6C98B67B1E1401E712EF@srv-1exch01.sourceinterlink.com> References: <79B77295FBC9F247A32A6C98B67B1E1401E712EF@srv-1exch01.sourceinterlink.com> Message-ID: <4910CD6C.6050407@omniture.com> We're using a similar hardware config to the one Jake mentioned below and nagios 2.10. We push nagios slave servers to anywhere between 6000 and 7000 services per slave (though service latency starts to climb quickly around 7000.) Most services are checked every 5 minutes. The master server handles all host checks. We've been able to scale this config up to about 7800 hosts and 50000 services in a single datacenter. This includes 1 nagios master and 8 nagios slaves. Your mileage will vary and as Jake mentioned, your environment may have a large impact on expected performance. -Aaron Devey Paulus, Jake wrote: > Nagios performance is very much specific to your environment. Nagios 3.x > is also MUCH faster than Nagios 2.x because of parallel host checks (and > other features.) Our performance is summed up below but your millage my > vary: > > Primary server: > Nagios 3.0.3 > Dual, quad-core processors @ 2.4 GHz and 4GB of RAM > ~650 hosts, 1550 services > System load averages 0.8, 0.6, 0.5 (CPUs are mostly idle with spikes > when hundreds of checks get kicked off at once) > > Average service check latency 0.3 seconds > Average host check latency 2.5 seconds > > All of our service checks are active, mostly snmpget and snmpbulkget and > lots of pings - largely checking every 2-5 minutes. Most of our service > checks are bash and perl scripts (we don't use the embedded Perl > interpreter.) We also collect and parse perfdata for graphing and run > Cacti and other very small MySQL-driven webapps on this same server. The > server is definitely a little over-kill but the price was right and it > was purchased with Nagios 2.x in mind - once again, Nagios 3.x is much > faster. Our environment is also not "tuned" for performance other than > to put in sane timeouts for service checks so they don't sit around > waiting too long. > > > Thanks, -Jake > > > -----Original Message----- > From: Edgar Matzinger [mailto:Edgar.Matzinger at valid.nl] > Sent: Tuesday, November 04, 2008 1:56 PM > To: Nagios Mailinglist > Subject: [Nagios-users] Any numbers on sizing a nagios server? > > LS, > > I've searched the internet (maybe I look in the wrong places) but I > can't find any numbers on sizing a nagios server. Are there any numbers > out there amongst you and are you willing to share? > > Thanks, regards, Edgar. > -- > |\ /| : : Addr: Valid Eindhoven B.V. > / | \/ | : Edgar R. Matzinger : t.a.v. E.R. > Matzinger > / | | : : Paradijslaan 36 > \ /| /\| : : 5611 KN Eindhoven > \/ / \ : Valid Eindhoven BV : > \ /\ / : : > \/ |\/ : : > | : : > Disclaimer: Any comments, opinions made are mine, etc ... > > > ------------------------------------------------------------------------ > - > 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=100&url=/ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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=100&url=/ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From perldork at webwizarddesign.com Wed Nov 5 01:35:55 2008 From: perldork at webwizarddesign.com (Max) Date: Tue, 4 Nov 2008 19:35:55 -0500 Subject: Any numbers on sizing a nagios server? In-Reply-To: <4910CD6C.6050407@omniture.com> References: <79B77295FBC9F247A32A6C98B67B1E1401E712EF@srv-1exch01.sourceinterlink.com> <4910CD6C.6050407@omniture.com> Message-ID: On our pre-production server (HP DL185): * Dual AMD 2600+ CPUs * 6 GB RAM * SCSI drives * 250 hosts, 2055 checks, all active SNMP GETs and walks * ~ 58 seconds to complete all checks (all under ePN) * Avg load on system: 1 min ~ 1.71 * Avg CPU Util: 60-70% * Avg RAM in use: 35% ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From perldork at webwizarddesign.com Wed Nov 5 02:02:27 2008 From: perldork at webwizarddesign.com (Max) Date: Tue, 4 Nov 2008 20:02:27 -0500 Subject: Any numbers on sizing a nagios server? In-Reply-To: References: <79B77295FBC9F247A32A6C98B67B1E1401E712EF@srv-1exch01.sourceinterlink.com> <4910CD6C.6050407@omniture.com> Message-ID: On Tue, Nov 4, 2008 at 7:35 PM, Max wrote: > On our pre-production server (HP DL185): > * Dual AMD 2600+ CPUs > * 6 GB RAM > * SCSI drives > > * 250 hosts, 2055 checks, all active SNMP GETs and walks > * ~ 58 seconds to complete all checks (all under ePN) > * Avg load on system: 1 min ~ 1.71 > * Avg CPU Util: 60-70% > * Avg RAM in use: 35% Sorry, nagios 3.0.3 and RHEL52 .. whoops :p. - max ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From renato.casagrande.jr at gmail.com Wed Nov 5 07:24:28 2008 From: renato.casagrande.jr at gmail.com (=?ISO-8859-1?Q?Renato_Casagrande_J=FAnior?=) Date: Wed, 5 Nov 2008 04:24:28 -0200 Subject: Ubuntu and FreeBSD Server In-Reply-To: <5f73c2b50811040323m31109f37v9e0bc64ee673ef2b@mail.gmail.com> References: <5f73c2b50811040323m31109f37v9e0bc64ee673ef2b@mail.gmail.com> Message-ID: <5f73c2b50811042224y7f854e7am7adf1bdfb451a75f@mail.gmail.com> Hello!! People, I have already installed Nagios on FreeBSD Server. My diffcult is access it using Ubuntu 7.10 software. I think my problem is in Apache. For example: there is one server (FreeBSD) and 80 PCs (Ubuntu 7.10). I am not getting access Nagios from Ubuntu's PCs. Anyone can help me? Tnks a lot!! ;) -- Renato Casagrande J?nior Graduando em Engenharia de Computa??o - Furg Bolsista do Laborat?rio de Software da Engenharia de Computa??o - Furg Furg - Universidade Federal do Rio Grande - -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From hvdkooij at vanderkooij.org Wed Nov 5 07:45:02 2008 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Wed, 05 Nov 2008 07:45:02 +0100 Subject: Ubuntu and FreeBSD Server In-Reply-To: <5f73c2b50811042224y7f854e7am7adf1bdfb451a75f@mail.gmail.com> References: <5f73c2b50811040323m31109f37v9e0bc64ee673ef2b@mail.gmail.com> <5f73c2b50811042224y7f854e7am7adf1bdfb451a75f@mail.gmail.com> Message-ID: <491140EE.1070005@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Renato Casagrande J?nior wrote: > Hello!! > People, I have already installed Nagios on FreeBSD Server. My diffcult > is access it using Ubuntu 7.10 software. I think my problem is in > Apache. For example: there is one server (FreeBSD) and 80 PCs (Ubuntu > 7.10). I am not getting access Nagios from Ubuntu's PCs. > Anyone can help me? By all means keep repeating yourself without adding more information about what you tried and what failed exactly. We will also very happily ignore such resends. Help yourself by explaining things more clearly. What have you tried? What does and does not work? Which (error)logs did you check? Hugo. - -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc A: Yes. >Q: Are you sure? >>A: Because it reverses the logical flow of conversation. >>>Q: Why is top posting frowned upon? Bored? Click on http://spamornot.org/ and rate those images. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org iD8DBQFJEUDsBvzDRVjxmYERAmB9AJ9SxwhN8sCNmr1uaVKNfq3rZhxWVgCcDj56 +dM6mtm5dcrMsT5jlm8zqD8= =dk6Q -----END PGP SIGNATURE----- ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From nagios at pgmail.net Wed Nov 5 07:58:30 2008 From: nagios at pgmail.net (Philipp Geschke) Date: Wed, 05 Nov 2008 07:58:30 +0100 Subject: Ubuntu and FreeBSD Server In-Reply-To: <491140EE.1070005@vanderkooij.org> References: <5f73c2b50811040323m31109f37v9e0bc64ee673ef2b@mail.gmail.com> <5f73c2b50811042224y7f854e7am7adf1bdfb451a75f@mail.gmail.com> <491140EE.1070005@vanderkooij.org> Message-ID: <49114416.8060401@pgmail.net> Hugo van der Kooij schrieb: > Renato Casagrande J?nior wrote: >> Hello!! >> People, I have already installed Nagios on FreeBSD Server. My diffcult >> is access it using Ubuntu 7.10 software. I think my problem is in >> Apache. For example: there is one server (FreeBSD) and 80 PCs (Ubuntu >> 7.10). I am not getting access Nagios from Ubuntu's PCs. >> Anyone can help me? > > By all means keep repeating yourself without adding more information > about what you tried and what failed exactly. > > We will also very happily ignore such resends. > > Help yourself by explaining things more clearly. What have you tried? > What does and does not work? Which (error)logs did you check? > > Hugo. > > Also it is very unlikely that you have a Apache problem related to Ubuntu and FreeBSD. HTTP is a standard protocol that works pretty well between all flavors of operating systems. If you provide a good question or at least some more information, we will be more than happy to help you, but with an email like this... --Philipp ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From clee.hk at gmail.com Wed Nov 5 08:12:05 2008 From: clee.hk at gmail.com (Chris Lee) Date: Wed, 5 Nov 2008 15:12:05 +0800 Subject: Monitor windows process Message-ID: Dear All, I would like to use nagios to monitor a windows process, eg. java.exe. If the process is there, then nagios 's status is OK. If the process is not there, nagios will then send out "Critical" status. Is there any existing plugin that can help me do this job? Thanks a lot, -- Chris ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From izz_abdullah at inbox.com Wed Nov 5 08:37:51 2008 From: izz_abdullah at inbox.com (Izz Abdullah) Date: Tue, 4 Nov 2008 23:37:51 -0800 Subject: Monitor windows process In-Reply-To: References: Message-ID: Dear Chris, This is 'out-of-the-box' if you use check_nt (NTClient++). Please look at the documentation... HINT: define service{ use generic-service host_name PC1,PC2,PC3 service_description Java check_interval 5 retry_interval 3 check_command check_nt!PROCSTATE!-d SHOWALL -l java.exe } Regards, Izz > -----Original Message----- > From: clee.hk at gmail.com > Sent: Wed, 5 Nov 2008 15:12:05 +0800 > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Monitor windows process > > Dear All, > > I would like to use nagios to monitor a windows process, eg. java.exe. > If the process is there, then nagios 's status is OK. If the process > is not there, nagios will then send out "Critical" status. Is there > any existing plugin that can help me do this job? > > Thanks a lot, > > -- Chris > > ------------------------------------------------------------------------- > 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=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From kaushalshriyan at gmail.com Wed Nov 5 08:43:24 2008 From: kaushalshriyan at gmail.com (Kaushal Shriyan) Date: Wed, 5 Nov 2008 13:13:24 +0530 Subject: check_http Message-ID: <6b16fb4c0811042343k266edc20h2946dea2290730f9@mail.gmail.com> Hi, I have a query regarding check_http Nagios Plugin,it works fine without any issues my check_http line looks like /usr/lib/nagios/plugins/check_http -H 127.0.0.1 -p 8080 -u /SMPPSender/control -r "Disconnected" --invert-regex Now when i get sms alert i see it as HTTP CRITICAL - pattern found,if the service is critical Now instead of pattern found, is there a way i can get the string "Disconnected" in the sms Thanks and Regards Kaushal -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From btj at havleik.no Wed Nov 5 08:27:29 2008 From: btj at havleik.no (=?ISO-8859-1?Q?Bj=F8rn?= T Johansen) Date: Wed, 5 Nov 2008 08:27:29 +0100 Subject: PING is WARNING? Message-ID: <20081105082729.2ce9467c@btj-tux.asp-as.no> I get a lot of these from Nagios, what does those mean? All this is local servers (on our LAN) so not sure why ping is sending a warning? ***** Nagios ***** Notification Type: PROBLEM Service: PING Host: host Address: ip State: WARNING Date/Time: Wed Nov 5 00:03:54 CET 2008 Additional Info: PING WARNING - System call sent warnings to stderr Packet loss = 0%, RTA = 0.19 ms Is there a workaround? or perhaps a way to not notify on ping for just warnings? Regards, BTJ -- ----------------------------------------------------------------------------------------------- Bj?rn T Johansen btj at havleik.no ----------------------------------------------------------------------------------------------- Someone wrote: "I understand that if you play a Windows CD backwards you hear strange Satanic messages" To which someone replied: "It's even worse than that; play it forwards and it installs Windows" ----------------------------------------------------------------------------------------------- ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From sachin.holikar.ext at siemens.com Wed Nov 5 08:54:10 2008 From: sachin.holikar.ext at siemens.com (Holikar, Sachin (ext)) Date: Wed, 5 Nov 2008 08:54:10 +0100 Subject: Alerts for host down Message-ID: <7AA76280EE25C04894E7E837D46D0AA701BFE9E3@bwga0m1a.ww001.siemens.net> Hello, We have setup Nagios 3.0 in our network. Everythings work fine except when a host client is unreachable for a moment or so, we get notification for all the services for that host alongwith the host down/unreachable notification as well. Ideally Nagios should only notify about the host and not its respective services as it is obvious that if the host is down , so will the services running on it. How can I set this in Nagios, is there any setting for this? Thanks in advance. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From clee.hk at gmail.com Wed Nov 5 08:57:44 2008 From: clee.hk at gmail.com (Chris Lee) Date: Wed, 5 Nov 2008 15:57:44 +0800 Subject: Monitor windows process In-Reply-To: References: Message-ID: Hi, This is great! Thanks to all the responses! Regards, -- Chris On Wed, Nov 5, 2008 at 3:37 PM, Izz Abdullah wrote: > Dear Chris, > This is 'out-of-the-box' if you use check_nt (NTClient++). Please look at the documentation... > HINT: > define service{ > use generic-service > host_name PC1,PC2,PC3 > service_description Java > check_interval 5 > retry_interval 3 > check_command check_nt!PROCSTATE!-d SHOWALL -l java.exe > } > > Regards, > Izz > >> -----Original Message----- >> From: clee.hk at gmail.com >> Sent: Wed, 5 Nov 2008 15:12:05 +0800 >> To: nagios-users at lists.sourceforge.net >> Subject: [Nagios-users] Monitor windows process >> >> Dear All, >> >> I would like to use nagios to monitor a windows process, eg. java.exe. >> If the process is there, then nagios 's status is OK. If the process >> is not there, nagios will then send out "Critical" status. Is there >> any existing plugin that can help me do this job? >> >> Thanks a lot, >> >> -- Chris >> >> ------------------------------------------------------------------------- >> 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=100&url=/ >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From twelcome at tenet.ac.za Wed Nov 5 09:04:52 2008 From: twelcome at tenet.ac.za (Traiano Welcome) Date: Wed, 5 Nov 2008 10:04:52 +0200 Subject: Ubuntu and FreeBSD Server References: <5f73c2b50811040323m31109f37v9e0bc64ee673ef2b@mail.gmail.com> <5f73c2b50811042224y7f854e7am7adf1bdfb451a75f@mail.gmail.com> Message-ID: Hi Renato Please could you send us the output of a telnet from an Ubuntu machine to the freebsd Apache port? Your issue *may* be related to a tcp window-scaling issue that sometimes manifests between Ubuntu/Debian boxes and some operating system versions. Thanks, Traiano Welcome Network Monitoring Services Tertiary Education and Research Network of South Africa -----Original Message----- From: Renato Casagrande J?nior [mailto:renato.casagrande.jr at gmail.com] Sent: Wed 11/5/2008 8:24 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Ubuntu and FreeBSD Server Hello!! People, I have already installed Nagios on FreeBSD Server. My diffcult is access it using Ubuntu 7.10 software. I think my problem is in Apache. For example: there is one server (FreeBSD) and 80 PCs (Ubuntu 7.10). I am not getting access Nagios from Ubuntu's PCs. Anyone can help me? Tnks a lot!! ;) -- Renato Casagrande J?nior Graduando em Engenharia de Computa??o - Furg Bolsista do Laborat?rio de Software da Engenharia de Computa??o - Furg Furg - Universidade Federal do Rio Grande - -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From dennis at huenseler.net Wed Nov 5 08:58:26 2008 From: dennis at huenseler.net (=?UTF-8?Q?Dennis_H=C3=BCnseler?=) Date: Wed, 05 Nov 2008 08:58:26 +0100 Subject: =?utf-8?q?PING_is_WARNING=3F?= In-Reply-To: <20081105082729.2ce9467c@btj-tux.asp-as.no> References: <20081105082729.2ce9467c@btj-tux.asp-as.no> Message-ID: Hi, try pinging these machines from command line and take a look at the output. I think you will get an error on command line too. regards, Dennis On Wed, 5 Nov 2008 08:27:29 +0100, Bj?rn T Johansen wrote: > I get a lot of these from Nagios, what does those mean? All this is local > servers (on our LAN) so not sure why ping is sending a warning? > > > ***** Nagios ***** > > Notification Type: PROBLEM > > Service: PING > Host: host > Address: ip > State: WARNING > > Date/Time: Wed Nov 5 00:03:54 CET 2008 > > Additional Info: > > PING WARNING - System call sent warnings to stderr Packet loss = 0%, RTA = > 0.19 ms > > > > Is there a workaround? or perhaps a way to not notify on ping for just > warnings? > > > Regards, > > BTJ -- Mit freundlichen Gr??en, Dennis H?nseler ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From btj at havleik.no Wed Nov 5 09:23:24 2008 From: btj at havleik.no (=?ISO-8859-1?Q?Bj=F8rn?= T Johansen) Date: Wed, 5 Nov 2008 09:23:24 +0100 Subject: PING is WARNING? In-Reply-To: References: <20081105082729.2ce9467c@btj-tux.asp-as.no> Message-ID: <20081105092324.1ecead8d@btj-tux.asp-as.no> That's the problem; I don't get any errors from the commandline and Nagios also thinks the ping is OK most of the time... But is there a way to disable notification from warnings for this check? BTJ On Wed, 05 Nov 2008 08:58:26 +0100 Dennis H?nseler wrote: > > Hi, > > try pinging these machines from command line and take a look at the output. > I think you will get an error on command line too. > > regards, Dennis > > On Wed, 5 Nov 2008 08:27:29 +0100, Bj?rn T Johansen > wrote: > > I get a lot of these from Nagios, what does those mean? All this is local > > servers (on our LAN) so not sure why ping is sending a warning? > > > > > > ***** Nagios ***** > > > > Notification Type: PROBLEM > > > > Service: PING > > Host: host > > Address: ip > > State: WARNING > > > > Date/Time: Wed Nov 5 00:03:54 CET 2008 > > > > Additional Info: > > > > PING WARNING - System call sent warnings to stderr Packet loss = 0%, RTA > = > > 0.19 ms > > > > > > > > Is there a workaround? or perhaps a way to not notify on ping for just > > warnings? > > > > > > Regards, > > > > BTJ ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From dennis at huenseler.net Wed Nov 5 09:42:02 2008 From: dennis at huenseler.net (=?UTF-8?Q?Dennis_H=C3=BCnseler?=) Date: Wed, 05 Nov 2008 09:42:02 +0100 Subject: =?utf-8?q?PING_is_WARNING=3F?= In-Reply-To: <20081105092324.1ecead8d@btj-tux.asp-as.no> References: <20081105082729.2ce9467c@btj-tux.asp-as.no> <20081105092324.1ecead8d@btj-tux.asp-as.no> Message-ID: <9d39343401c754382fc4ba852f62380a@localhost> Yes you can :-) In the Service definition you can configure which notifications go out for which service: notification_options w,u,c,r (this will be warning, unknown, critical, recovery) From nagios Documentation: notification_options: This directive is used to determine when notifications for the service should be sent out. Valid options are a combination of one or more of the following: w = send notifications on a WARNING state, u = send notifications on an UNKNOWN state, c = send notifications on a CRITICAL state, r = send notifications on recoveries (OK state), f = send notifications when the service starts and stops flapping, and s = send notifications when scheduled downtime starts and ends. If you specify n (none) as an option, no service notifications will be sent out. If you do not specify any notification options, Nagios will assume that you want notifications to be sent out for all possible states. Example: If you specify w,r in this field, notifications will only be sent out when the service goes into a WARNING state and when it recovers from a WARNING state. regards, Dennis On Wed, 5 Nov 2008 09:23:24 +0100, Bj?rn T Johansen wrote: > That's the problem; I don't get any errors from the commandline and Nagios > also thinks the ping is OK most of the time... > But is there a way to disable notification from warnings for this check? > > BTJ > > On Wed, 05 Nov 2008 08:58:26 +0100 > Dennis H?nseler wrote: > >> >> Hi, >> >> try pinging these machines from command line and take a look at the >> output. >> I think you will get an error on command line too. >> >> regards, Dennis >> >> On Wed, 5 Nov 2008 08:27:29 +0100, Bj?rn T Johansen >> wrote: >> > I get a lot of these from Nagios, what does those mean? All this is >> > local >> > servers (on our LAN) so not sure why ping is sending a warning? >> > >> > >> > ***** Nagios ***** >> > >> > Notification Type: PROBLEM >> > >> > Service: PING >> > Host: host >> > Address: ip >> > State: WARNING >> > >> > Date/Time: Wed Nov 5 00:03:54 CET 2008 >> > >> > Additional Info: >> > >> > PING WARNING - System call sent warnings to stderr Packet loss = 0%, >> > RTA >> = >> > 0.19 ms >> > >> > >> > >> > Is there a workaround? or perhaps a way to not notify on ping for just >> > warnings? >> > >> > >> > Regards, >> > >> > BTJ -- Mit freundlichen Gr??en, Dennis H?nseler ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From btj at havleik.no Wed Nov 5 09:46:58 2008 From: btj at havleik.no (=?ISO-8859-1?Q?Bj=F8rn?= T Johansen) Date: Wed, 5 Nov 2008 09:46:58 +0100 Subject: PING is WARNING? In-Reply-To: <9d39343401c754382fc4ba852f62380a@localhost> References: <20081105082729.2ce9467c@btj-tux.asp-as.no> <20081105092324.1ecead8d@btj-tux.asp-as.no> <9d39343401c754382fc4ba852f62380a@localhost> Message-ID: <20081105094658.5eba582c@btj-tux.asp-as.no> Hmmmm... I should have known that.... Thx.. :) BTJ On Wed, 05 Nov 2008 09:42:02 +0100 Dennis H?nseler wrote: > > Yes you can :-) > In the Service definition you can configure which notifications go out for > which service: > > notification_options w,u,c,r (this will be warning, > unknown, critical, recovery) > > From nagios Documentation: > > notification_options: This directive is used to determine when > notifications for the service should be sent out. Valid options are a > combination of one or more of the following: w = send notifications on a > WARNING state, u = send notifications on an UNKNOWN state, c = send > notifications on a CRITICAL state, r = send notifications on recoveries (OK > state), f = send notifications when the service starts and stops flapping, > and s = send notifications when scheduled downtime starts and ends. If you > specify n (none) as an option, no service notifications will be sent out. > If you do not specify any notification options, Nagios will assume that you > want notifications to be sent out for all possible states. Example: If you > specify w,r in this field, notifications will only be sent out when the > service goes into a WARNING state and when it recovers from a WARNING > state. > > > regards, Dennis > > On Wed, 5 Nov 2008 09:23:24 +0100, Bj?rn T Johansen > wrote: > > That's the problem; I don't get any errors from the commandline and > Nagios > > also thinks the ping is OK most of the time... > > But is there a way to disable notification from warnings for this check? > > > > BTJ > > > > On Wed, 05 Nov 2008 08:58:26 +0100 > > Dennis H?nseler wrote: > > > >> > >> Hi, > >> > >> try pinging these machines from command line and take a look at the > >> output. > >> I think you will get an error on command line too. > >> > >> regards, Dennis > >> > >> On Wed, 5 Nov 2008 08:27:29 +0100, Bj?rn T Johansen > >> wrote: > >> > I get a lot of these from Nagios, what does those mean? All this is > >> > local > >> > servers (on our LAN) so not sure why ping is sending a warning? > >> > > >> > > >> > ***** Nagios ***** > >> > > >> > Notification Type: PROBLEM > >> > > >> > Service: PING > >> > Host: host > >> > Address: ip > >> > State: WARNING > >> > > >> > Date/Time: Wed Nov 5 00:03:54 CET 2008 > >> > > >> > Additional Info: > >> > > >> > PING WARNING - System call sent warnings to stderr Packet loss = 0%, > >> > RTA > >> = > >> > 0.19 ms > >> > > >> > > >> > > >> > Is there a workaround? or perhaps a way to not notify on ping for just > >> > warnings? > >> > > >> > > >> > Regards, > >> > > >> > BTJ > ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From fferreira at osiatis.es Wed Nov 5 10:18:15 2008 From: fferreira at osiatis.es (Felipe Ferreira) Date: Wed, 05 Nov 2008 10:18:15 +0100 Subject: Best Notification strategy? In-Reply-To: References: Message-ID: <491164D7.60304@osiatis.es> Hello list, Maybe this have been discussed but doing my searches I was not able to find. Well I have doubts on how to correctly setup the notifications for our admins on-call. They complain to be getting to many alarms all night. Here is how I have it setup: 1. Each 15min the Nagios check_host_alive each server, if there is no answer, it will try 10 times before the first email,then it sends emails to GROUP1 and repeats Each 1hr. 2. Each 2 emails to GROUP1 it will send max of 3 email to GROUP2(blackberry) in intervals of 10min. The technician on-call, would have to enter Nagios/Centreon web interface and clik in the alarm and assign " Acknowledge" this way they would notrecieve any other emails. The 2 problems of this solution: 1. The technician on-call is only going to receive a message after the servant this 2 hours down! 2. The guard technician must enter Nagios and do " Acknowledge". Is there a better way ? How is the best practice for this? Thanks in advance, Felipe Ferreira www.felipeferreira.net (Nagios blog, Custom Plugins, Scripts, Setup, Howto's) -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ki11er_bob at yahoo.dk Wed Nov 5 11:02:45 2008 From: ki11er_bob at yahoo.dk (Thomas Lorenzen) Date: Wed, 5 Nov 2008 10:02:45 +0000 (GMT) Subject: Ways of having a passive only service with freshness checking Message-ID: <155697.32745.qm@web23604.mail.ird.yahoo.com> Hi' For passive only services I typically use option ?? check_period??????????????????? none instead of option ?? active_checks_enabled?????????? 0 since the latter gives rise to showing these checks as disabled in the "tactical overview", which the former does not. It is less confusing for our operators to not see anything being disabled. Now I have spiced these passive only checks up with freshness checkings, see docs/freshness.html, but it seems, that this only works, if I use "active_checks_enabled 0" instead of "check_period none". One might suspect that, but docs/timeperiods.html states, that "Note: On-demand checks and passive checks are not restricted by the timeperiod you specify in the check_period directive. Only regularly scheduled active checks are restricted.". Would you think, that freshness checking should also fall under that category. Best regards. Thomas. Find din nye laptop p? kelkoo.dk. Se de gode tilbud her - http://dk.yahoo.com/r/pat/mm -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From sachin.holikar.ext at siemens.com Wed Nov 5 11:04:28 2008 From: sachin.holikar.ext at siemens.com (Holikar, Sachin (ext)) Date: Wed, 5 Nov 2008 11:04:28 +0100 Subject: Alerts for host down In-Reply-To: <7AA76280EE25C04894E7E837D46D0AA701BFE9E3@bwga0m1a.ww001.siemens.net> References: <7AA76280EE25C04894E7E837D46D0AA701BFE9E3@bwga0m1a.ww001.siemens.net> Message-ID: <7AA76280EE25C04894E7E837D46D0AA701BFE9E5@bwga0m1a.ww001.siemens.net> Hi all , Y no replies yet .....Am i missing any data or is something wrong? Thanks. sac ________________________________ From: Holikar, Sachin (ext) Sent: Mittwoch, 5. November 2008 08:54 To: Nagios-users at lists.sourceforge.net Subject: [Nagios-users] Alerts for host down Hello, We have setup Nagios 3.0 in our network. Everythings work fine except when a host client is unreachable for a moment or so, we get notification for all the services for that host alongwith the host down/unreachable notification as well. Ideally Nagios should only notify about the host and not its respective services as it is obvious that if the host is down , so will the services running on it. How can I set this in Nagios, is there any setting for this? Thanks in advance. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From t.ottavi at medi.fr Wed Nov 5 11:21:13 2008 From: t.ottavi at medi.fr (Toussaint OTTAVI) Date: Wed, 05 Nov 2008 11:21:13 +0100 Subject: test Message-ID: <49117399.6010608@medi.fr> test -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From t.ottavi at medi.fr Wed Nov 5 11:38:36 2008 From: t.ottavi at medi.fr (Toussaint OTTAVI) Date: Wed, 05 Nov 2008 11:38:36 +0100 Subject: Service dependency on host? Here's my working solution Message-ID: <491177AC.4000303@medi.fr> (Sorry for 'test', seems that my previous message didn't go through.) Charlie Reddington wrote : > I've seen the docs about having services dependent on services, and > hosts dependent on hosts. But how about services, dependent on hosts. > Do I just use hosts instead of services in the config? Hi Charlie, I had the same problem. I read a lot of topics, but I didn't find anything. It seems there's no way to do what we would like to do : services dependant on hosts, ie do not try to check all the services if the host is down. I must say I don't really understand the actual "logic" of nagios, but for now, this seems to be 'by design'. Anyway, the "magic" of nagios applies : if it does not do what you want, then you just have to do it yourself. Here's what I did, and it seems to work fine. - activate 'event handlers' on host. This will run a nagios command each time a host status changes - set up this command to run an external script (called 'disable service checks') - this script will send back to nagios an 'external command' to enable or disable all the service checks for that host - as there is only one handler for any state change (UP or DOWN), the script has to check the actual status : if host DOWN then disable service checks, if host UP then enable service checks Now, let's do that : In hosts or hosts template : event_handler_enabled 1 event_handler disable-service-checks In your commands file: # event handler to disable service checks when host is down define command { command_name disable-service-checks command_line $USER1$/eventhandlers/disable_service_checks $HOSTSTATE$ $STATETYPE$ $HOSTATTEMPT$ $HOSTNAME } Then, put the following script in your plugins/eventhandler/ subdirectory, with name 'disable_service_checks' and execution flag : #!/bin/sh # # Enable / Disable service checks after a state change of the host # Arguments received are : $SHOSTATE$ $STATETYPE$ $HOSTATTEMPT$ $HOSTNAME # # by Toussaint OTTAVI, t.ottavi at medi.fr # CommandFile="/var/spool/nagios/nagios.cmd" LogFile="/var/log/nagios/disable_service_checks.log" # get the current date/time in seconds since UNIX epoch datetime=`date +%s` # send debug information to logfile /usr/bin/printf "Event Handler called with Hostname:%s State:%s Type:%s Attempts:%s\n" $4 $1 $2 $3 >> $LogFile # Check the $HOSTSTATE$ case "$1" in UP) # Host is UP, re-enable service checks /usr/bin/printf "[%i] ENABLE_HOST_SVC_CHECKS;%s \n" $datetime $4 >> $CommandFile ;; UNREACHABLE) # Host is UNREACHABLE, disable service checks /usr/bin/printf "[%i] DISABLE_HOST_SVC_CHECKS;%s \n" $datetime $4 >> $CommandFile ;; DOWN) # Host is DOWN, disable service checks /usr/bin/printf "[%i] DISABLE_HOST_SVC_CHECKS;%s \n" $datetime $4 >> $CommandFile ;; esac exit 0 Notes : - This is early beta, I did it yesyerday evening, not sure it works 100%, please feel free to provide feedback - all paths are for installation on OpenSuse. You may have to check/change some things. - in case of problems, first try to run the script by hand : 'disable_service_checks DOWN HARD 1 NAME_OF_MY_HOST', then see what happens in Nagios - to see if the handler really triggers, have a look at the logfile : /var/log/nagios/disable_service_checks.log - external commands must be activated in nagios.cfg - host names must not contain spaces. Maybe some scripting specialist could improve it... - the $STATETYPE$ variable should return a state 'SOFT' or 'HARD', which would allow to improve the script (only do the action if the state change is HARD). But for an unknown reason, Nagios does not send this value, so we can not process it. Any idea ? Enjoy Nagios Magic, I really love this tool, and hope this helps. Kind regards, -- *Toussaint OTTAVI* *MEDI INFORMATIQUE* *Tel :* 04 95 20 10 03 *Gsm :* 06 10 28 41 72 *Mail:* t.ottavi at medi.fr -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ibloodyhatespam at gmail.com Wed Nov 5 13:46:57 2008 From: ibloodyhatespam at gmail.com (ibloodyhatespam at gmail.com) Date: Wed, 5 Nov 2008 13:46:57 +0100 Subject: nrpe / check_smart_ide In-Reply-To: <491177AC.4000303@medi.fr> References: <491177AC.4000303@medi.fr> Message-ID: <007e01c93f44$97b09d30$c711d790$@com> Odd problem this. I'm using nagios 3.0.4 and I've just installed nrpe 2.1.2. Most checks through nrpe work fine on this host except for one: check_smart_ide. Suid bit has been set, and logging in as the nagios user and manually performing a "./check_ide_smart -n -d /dev/sda" results in a nagios readable result ("OK - Operational (17/17 tests passed)") Nagios on this machine also checks an nrpe plugin on another one with two check_ide_smart checks, and they do work fine within nagios. For a check_smart_ide on the machine itself however, I get "NRPE: Unable to read output". nrpe.cfg: command[check_ide_smart_sda]=/usr/local/nagios/libexec/check_ide_smart -n -d /dev/sda server.cfg: define service{ use generic-service host_name hera service_description SMART sda 80GB system check_command check_nrpe!check_ide_smart_sda } If the nagios user itself can run the command, why wouldn't nagios/nrpe be able to? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jpaulus at sourceinterlink.com Wed Nov 5 15:06:10 2008 From: jpaulus at sourceinterlink.com (Paulus, Jake) Date: Wed, 5 Nov 2008 09:06:10 -0500 Subject: Monitor windows process In-Reply-To: References: Message-ID: <79B77295FBC9F247A32A6C98B67B1E1401E71511@srv-1exch01.sourceinterlink.com> Alternatively, you can use check_snmp_process.pl if you prefer SNMP over some other agent. Thanks, -Jake 239-949-4450 x6628 -----Original Message----- From: Izz Abdullah [mailto:izz_abdullah at inbox.com] Sent: Wednesday, November 05, 2008 2:38 AM To: Chris Lee; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Monitor windows process Dear Chris, This is 'out-of-the-box' if you use check_nt (NTClient++). Please look at the documentation... HINT: define service{ use generic-service host_name PC1,PC2,PC3 service_description Java check_interval 5 retry_interval 3 check_command check_nt!PROCSTATE!-d SHOWALL -l java.exe } Regards, Izz > -----Original Message----- > From: clee.hk at gmail.com > Sent: Wed, 5 Nov 2008 15:12:05 +0800 > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Monitor windows process > > Dear All, > > I would like to use nagios to monitor a windows process, eg. java.exe. > If the process is there, then nagios 's status is OK. If the process > is not there, nagios will then send out "Critical" status. Is there > any existing plugin that can help me do this job? > > Thanks a lot, > > -- Chris > > ------------------------------------------------------------------------ - > 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=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Wed Nov 5 15:08:09 2008 From: marc at ena.com (Marc Powell) Date: Wed, 5 Nov 2008 08:08:09 -0600 Subject: Alerts for host down In-Reply-To: <7AA76280EE25C04894E7E837D46D0AA701BFE9E5@bwga0m1a.ww001.siemens.net> References: <7AA76280EE25C04894E7E837D46D0AA701BFE9E3@bwga0m1a.ww001.siemens.net> <7AA76280EE25C04894E7E837D46D0AA701BFE9E5@bwga0m1a.ww001.siemens.net> Message-ID: <61E0701D-F57F-4848-BFC4-6E6C17D4A312@ena.com> On Nov 5, 2008, at 4:04 AM, Holikar, Sachin (ext) wrote: > Hi all , > > Y no replies yet .....Am i missing any data or is something wrong? Probably because 1/2 the world was still asleep when you posted. Probably because replying to list postings is not a priority for anyone here. Probably because the behavior you're stating is highly unusual given the facts you've presented. Probably because you haven't provided any relevant information about your actual configuration (host, service and contact configuration samples). Your 'ideal' example is what nagios does, be default. At this early hour I can't think of anything that could cause the behavior you say is happening outside of having multiple nagios daemons running at the same time or having 'is_volatile' enabled. -- Marc ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From t.ottavi at medi.fr Wed Nov 5 10:49:14 2008 From: t.ottavi at medi.fr (Toussaint OTTAVI) Date: Wed, 05 Nov 2008 10:49:14 +0100 Subject: service dependency on host? Here's my working solution Message-ID: <49116C1A.1030401@medi.fr> Charlie Reddington wrote : > I've seen the docs about having services dependent on services, and > hosts dependent on hosts. But how about services, dependent on hosts. > Do I just use hosts instead of services in the config? Hi Charlie, I had the same problem. I read a lot of topics, but I didn't find anything. It seems there's no way to do what we would like to do : services dependant on hosts, ie do not try to check all the services if the host is down. I must say I don't really understand the actual "logic" of nagios, but for now, this seems to be 'by design'. Anyway, the "magic" of nagios applies : if it does not do what you want, then you just have to do it yourself. Here's what I did, and it seems to work fine. - activate 'event handlers' on host. This will run a nagios command each time a host status changes - set up this command to run an external script (called 'disable service checks') - this script will send back to nagios an 'external command' to enable or disable all the service checks for that host - as there is only one handler for any state change (UP or DOWN), the script has to check the actual status : if host DOWN then disable service checks, if host UP then enable service checks Now, let's do that : In hosts or hosts template : event_handler_enabled 1 event_handler disable-service-checks In your commands file: # event handler to disable service checks when host is down define command { command_name disable-service-checks command_line $USER1$/eventhandlers/disable_service_checks $HOSTSTATE$ $STATETYPE$ $HOSTATTEMPT$ $HOSTNAME } Then, put the following script in your plugins/eventhandler/ subdirectory, with name 'disable_service_checks' and execution flag : #!/bin/sh # # Enable / Disable service checks after a state change of the host # Arguments received are : $SHOSTATE$ $STATETYPE$ $HOSTATTEMPT$ $HOSTNAME # # by Toussaint OTTAVI, t.ottavi at medi.fr # CommandFile="/var/spool/nagios/nagios.cmd" LogFile="/var/log/nagios/disable_service_checks.log" # get the current date/time in seconds since UNIX epoch datetime=`date +%s` # send debug information to logfile /usr/bin/printf "Event Handler called with Hostname:%s State:%s Type:%s Attempts:%s\n" $4 $1 $2 $3 >> $LogFile # Check the $HOSTSTATE$ case "$1" in UP) # Host is UP, re-enable service checks /usr/bin/printf "[%i] ENABLE_HOST_SVC_CHECKS;%s \n" $datetime $4 >> $CommandFile ;; UNREACHABLE) # Host is UNREACHABLE, disable service checks /usr/bin/printf "[%i] DISABLE_HOST_SVC_CHECKS;%s \n" $datetime $4 >> $CommandFile ;; DOWN) # Host is DOWN, disable service checks /usr/bin/printf "[%i] DISABLE_HOST_SVC_CHECKS;%s \n" $datetime $4 >> $CommandFile ;; esac exit 0 Notes : - This is early beta, I did it yesyerday evening, not sure it works 100%, please feel free to provide feedback - all paths are for installation on OpenSuse. You may have to check/change some things. - in case of problems, first try to run the script by hand : 'disable_service_checks DOWN HARD 1 NAME_OF_MY_HOST', then see what happens in Nagios - to see if the handler really triggers, have a look at the logfile : /var/log/nagios/disable_service_checks.log - external commands must be activated in nagios.cfg - host names must not contain spaces. Maybe some scripting specialist could improve it... - the $STATETYPE$ variable should return a state 'SOFT' or 'HARD', which would allow to improve the script (only do the action if the state change is HARD). But for an unknown reason, Nagios does not send this value, so we can not process it. Any idea ? Enjoy Nagios Magic, I really love this tool, and hope this helps. Kind regards, -- *Toussaint OTTAVI* *MEDI INFORMATIQUE* *Tel :* 04 95 20 10 03 *Gsm :* 06 10 28 41 72 *Mail:* t.ottavi at medi.fr -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Aaron.Segura at cabelas.com Wed Nov 5 16:13:45 2008 From: Aaron.Segura at cabelas.com (Aaron Segura) Date: Wed, 5 Nov 2008 08:13:45 -0700 Subject: test In-Reply-To: <49117399.6010608@medi.fr> References: <49117399.6010608@medi.fr> Message-ID: Fail. ________________________________ From: Toussaint OTTAVI [mailto:t.ottavi at medi.fr] Sent: Wednesday, November 05, 2008 3:21 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] test test -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From livio.zanol.puppim at gmail.com Wed Nov 5 16:21:36 2008 From: livio.zanol.puppim at gmail.com (Livio Zanol Puppim) Date: Wed, 5 Nov 2008 13:21:36 -0200 Subject: Monitor windows process In-Reply-To: <79B77295FBC9F247A32A6C98B67B1E1401E71511@srv-1exch01.sourceinterlink.com> References: <79B77295FBC9F247A32A6C98B67B1E1401E71511@srv-1exch01.sourceinterlink.com> Message-ID: User SNMP to do this... Via the hrSW MIB (1.3.6.1.2.1.25.4.2.1) You can also monitor memory and CPU usage. 2008/11/5 Paulus, Jake > Alternatively, you can use check_snmp_process.pl if you prefer SNMP over > some other agent. > > Thanks, -Jake > 239-949-4450 x6628 > > > -----Original Message----- > From: Izz Abdullah [mailto:izz_abdullah at inbox.com] > Sent: Wednesday, November 05, 2008 2:38 AM > To: Chris Lee; nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Monitor windows process > > Dear Chris, > This is 'out-of-the-box' if you use check_nt (NTClient++). Please look > at the documentation... > HINT: > define service{ > use generic-service > host_name PC1,PC2,PC3 > service_description Java > check_interval 5 > retry_interval 3 > check_command check_nt!PROCSTATE!-d SHOWALL -l > java.exe > } > > Regards, > Izz > > > -----Original Message----- > > From: clee.hk at gmail.com > > Sent: Wed, 5 Nov 2008 15:12:05 +0800 > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] Monitor windows process > > > > Dear All, > > > > I would like to use nagios to monitor a windows process, eg. java.exe. > > If the process is there, then nagios 's status is OK. If the process > > is not there, nagios will then send out "Critical" status. Is there > > any existing plugin that can help me do this job? > > > > Thanks a lot, > > > > -- Chris > > > > > ------------------------------------------------------------------------ > - > > 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=100&url=/ > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at 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=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > -- []'s L?vio Zanol Puppim -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From thenoob06 at gmail.com Wed Nov 5 16:52:42 2008 From: thenoob06 at gmail.com (The Noob) Date: Wed, 5 Nov 2008 16:52:42 +0100 Subject: check_ping modify output Message-ID: <9263743c0811050752s3df7af8clbedb0948c08a414b@mail.gmail.com> Hello all, I would like to customize the output of a check_ping command. In fact I do not want PING KO or PING CRITICAL but another message. Is it possible to do it ? Thanks for your help Best Regards The Noob -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Aaron.Segura at cabelas.com Wed Nov 5 17:00:01 2008 From: Aaron.Segura at cabelas.com (Aaron Segura) Date: Wed, 5 Nov 2008 09:00:01 -0700 Subject: check_ping modify output In-Reply-To: <9263743c0811050752s3df7af8clbedb0948c08a414b@mail.gmail.com> References: <9263743c0811050752s3df7af8clbedb0948c08a414b@mail.gmail.com> Message-ID: 1) Get the source 2) Modify 3) Compile 4) .... 5) Profit! ________________________________ From: The Noob [mailto:thenoob06 at gmail.com] Sent: Wednesday, November 05, 2008 8:53 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] check_ping modify output Hello all, I would like to customize the output of a check_ping command. In fact I do not want PING KO or PING CRITICAL but another message. Is it possible to do it ? Thanks for your help Best Regards The Noob -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From smcafee at collaborativefusion.com Wed Nov 5 17:07:58 2008 From: smcafee at collaborativefusion.com (Sean McAfee) Date: Wed, 05 Nov 2008 11:07:58 -0500 Subject: check_ping modify output In-Reply-To: References: <9263743c0811050752s3df7af8clbedb0948c08a414b@mail.gmail.com> Message-ID: <4911C4DE.8000801@collaborativefusion.com> Aaron Segura wrote: > > 1) Get the source > > 2) Modify > > 3) Compile > > 4) ?. > > 5) Profit! > Or write a script that wraps around check_ping, evaluates the native return, then returns whatever you want. -- Sean McAfee System Engineer Collaborative Fusion, Inc. smcafee at collaborativefusion.com 412-422-3463 x 4025 5849 Forbes Avenue Pittsburgh, PA 15217 **************************************************************** IMPORTANT: This message contains confidential information and is intended only for the individual named. If the reader of this message is not an intended recipient (or the individual responsible for the delivery of this message to an intended recipient), please be advised that any re-use, dissemination, distribution or copying of this message is prohibited. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. **************************************************************** IMPORTANT: This message contains confidential information and is intended only for the individual named. If the reader of this message is not an intended recipient (or the individual responsible for the delivery of this message to an intended recipient), please be advised that any re-use, dissemination, distribution or copying of this message is prohibited. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marouane.himdi at kereval.com Wed Nov 5 17:09:40 2008 From: marouane.himdi at kereval.com (Marouane HIMDI) Date: Wed, 5 Nov 2008 17:09:40 +0100 Subject: check_ping modify output In-Reply-To: References: <9263743c0811050752s3df7af8clbedb0948c08a414b@mail.gmail.com> Message-ID: <002a01c93f60$e886f9e0$b00aa8c0@pcmhi> The easiest way is to develop a customised plugin (based on check_ping) and have customised output message Dr Marouane HIMDI Ing?nieur R&D/R&D Engineer KEREVAL 4, rue H?l?ne Boucher Z.A. Bellevue 35235 Thorign? Fouillard Tel : +33 (0)2 23 20 36 64 http://www.kereval.com P Pensez ? l'environnement: n'imprimez ce message et ses pi?ces jointes que si n?cessaire ! _____ De : Aaron Segura [mailto:Aaron.Segura at cabelas.com] Envoy? : mercredi 5 novembre 2008 17:00 ? : The Noob; nagios-users at lists.sourceforge.net Objet : Re: [Nagios-users] check_ping modify output 1) Get the source 2) Modify 3) Compile 4) . 5) Profit! _____ From: The Noob [mailto:thenoob06 at gmail.com] Sent: Wednesday, November 05, 2008 8:53 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] check_ping modify output Hello all, I would like to customize the output of a check_ping command. In fact I do not want PING KO or PING CRITICAL but another message. Is it possible to do it ? Thanks for your help Best Regards The Noob -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.gif Type: image/gif Size: 2459 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From novin.jaiswal at ishisystems.com Wed Nov 5 18:16:49 2008 From: novin.jaiswal at ishisystems.com (Novin Jaiswal) Date: Wed, 5 Nov 2008 12:16:49 -0500 Subject: How to change Date and Time of Nagios Messages. Message-ID: <2BA70ED7C7275645B648362FB35913A901EB54F4@exchange.ishisystems.com> Hi Friends, I know It's a silly qn. I am getting event log with wrong time. Can any body tell me how to change the date and time. Do I need to change apache 's date or nagios Date. If yes then how? I have already changed my Linux box Date but I didn't make any difference. [11-06-2008 04:08:03] Successfully shutdown... (PID=10071) Thanks for all your help. Thanks & Regards Novin Jaiswal Ishi Systems Inc. 732-318-8156(cell) -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jpaulus at sourceinterlink.com Wed Nov 5 19:09:08 2008 From: jpaulus at sourceinterlink.com (Paulus, Jake) Date: Wed, 5 Nov 2008 13:09:08 -0500 Subject: How to change Date and Time of Nagios Messages. In-Reply-To: <2BA70ED7C7275645B648362FB35913A901EB54F4@exchange.ishisystems.com> References: <2BA70ED7C7275645B648362FB35913A901EB54F4@exchange.ishisystems.com> Message-ID: <79B77295FBC9F247A32A6C98B67B1E1401E71651@srv-1exch01.sourceinterlink.com> Novin: Nagios uses your system date/time unless you configure the timezone option in nagios.cfg. Take a look at http://nagios.sourceforge.net/docs/3_0/configmain.html and search for " Timezone Option." Thanks, -Jake 239-949-4450 x6628 From: Novin Jaiswal [mailto:novin.jaiswal at ishisystems.com] Sent: Wednesday, November 05, 2008 12:17 PM To: Nagios Mailinglist Subject: [Nagios-users] How to change Date and Time of Nagios Messages. Hi Friends, I know It's a silly qn. I am getting event log with wrong time. Can any body tell me how to change the date and time. Do I need to change apache 's date or nagios Date. If yes then how? I have already changed my Linux box Date but I didn't make any difference. [11-06-2008 04:08:03] Successfully shutdown... (PID=10071) Thanks for all your help. Thanks & Regards Novin Jaiswal Ishi Systems Inc. 732-318-8156(cell) -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From simon.kainz at tugraz.at Wed Nov 5 19:40:53 2008 From: simon.kainz at tugraz.at (Simon Kainz) Date: Wed, 05 Nov 2008 19:40:53 +0100 Subject: Hysteresis anyone? Message-ID: <4911E8B5.8090305@tugraz.at> Hi list ! I'm currently monitoring several room temperature and humidity meters and was wondering if anyone already has implementet some kind of hysteresis in Nagios ? My scenario is the following: I want an critical state when temp rises above 26 degrees. As long as it doesnt drop below, say 24 deg, the state should stay critial. The temp usually floats around 26 degrees (my upper bound) which would lead to lots of notifications. But i only want the ok notification after the temp drops below my lower bound (24 deg). Everything inbetween shoud not trigger any warnings. I've arguing to implement this behaviour directly in my temp check plugins but was wondering if there is another more general approach to this. Maybe some event handler magic ? Hope i got this clear... TIA, Simon ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From thenoob06 at gmail.com Wed Nov 5 19:50:27 2008 From: thenoob06 at gmail.com (The Noob) Date: Wed, 5 Nov 2008 19:50:27 +0100 Subject: check_ping modify output In-Reply-To: <4911C4DE.8000801@collaborativefusion.com> References: <9263743c0811050752s3df7af8clbedb0948c08a414b@mail.gmail.com> <4911C4DE.8000801@collaborativefusion.com> Message-ID: <9263743c0811051050w7ff6d381x6cbd167379b26e48@mail.gmail.com> Thanks all for your help. I will try to develop a new script to modify the output for PING OK, PING critical etc.. But I don't to forget the Exit code (0 for ping ok, 1 ping warning , 2 for ping critical) Best Regards The Noob 2008/11/5 Sean McAfee > Aaron Segura wrote: > > > > 1) Get the source > > > > 2) Modify > > > > 3) Compile > > > > 4) ?. > > > > 5) Profit! > > > Or write a script that wraps around check_ping, evaluates the native > return, then returns whatever you want. > > -- > Sean McAfee > System Engineer > > Collaborative Fusion, Inc. > smcafee at collaborativefusion.com > 412-422-3463 x 4025 > > 5849 Forbes Avenue > Pittsburgh, PA 15217 > > **************************************************************** > IMPORTANT: This message contains confidential information > and is intended only for the individual named. If the reader of > this message is not an intended recipient (or the individual > responsible for the delivery of this message to an intended > recipient), please be advised that any re-use, dissemination, > distribution or copying of this message is prohibited. Please > notify the sender immediately by e-mail if you have received > this e-mail by mistake and delete this e-mail from your system. > E-mail transmission cannot be guaranteed to be secure or > error-free as information could be intercepted, corrupted, lost, > destroyed, arrive late or incomplete, or contain viruses. The > sender therefore does not accept liability for any errors or > omissions in the contents of this message, which arise as a > result of e-mail transmission. > **************************************************************** > > > > > IMPORTANT: This message contains confidential information and is intended > only for the individual named. If the reader of this message is not an > intended recipient (or the individual responsible for the delivery of this > message to an intended recipient), please be advised that any re-use, > dissemination, distribution or copying of this message is prohibited. Please > notify the sender immediately by e-mail if you have received this e-mail by > mistake and delete this e-mail from your system. > > > > ------------------------------------------------------------------------- > 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=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From novin.jaiswal at ishisystems.com Wed Nov 5 20:12:36 2008 From: novin.jaiswal at ishisystems.com (Novin Jaiswal) Date: Wed, 5 Nov 2008 14:12:36 -0500 Subject: How to change Date and Time of Nagios Messages. In-Reply-To: <79B77295FBC9F247A32A6C98B67B1E1401E71651@srv-1exch01.sourceinterlink.com> References: <2BA70ED7C7275645B648362FB35913A901EB54F4@exchange.ishisystems.com> <79B77295FBC9F247A32A6C98B67B1E1401E71651@srv-1exch01.sourceinterlink.com> Message-ID: <2BA70ED7C7275645B648362FB35913A901EB54F5@exchange.ishisystems.com> Hi Thanks for your reply I have set like this but still it is showing me 6th Nov instead of 5th Nov Look like its not the issue of time zone but date setting on apache or php? Pls help. Nagios.cfg use_timezone=US/Est apache nagios.conf # SSLRequireSSL Options ExecCGI SetEnv TZ "US/Est" AllowOverride None Order allow,deny Allow from all # Order deny,allow # Deny from all # Allow from 127.0.0.1 AuthName "Nagios Access" AuthType Basic AuthUserFile /usr/local/nagios/etc/htpasswd.users Require valid-user Thanks & Regards Novin Jaiswal Ishi Systems Inc. 732-318-8156(cell) From: Paulus, Jake [mailto:jpaulus at sourceinterlink.com] Sent: Wednesday, November 05, 2008 1:09 PM To: Novin Jaiswal; Nagios Mailinglist Subject: RE: [Nagios-users] How to change Date and Time of Nagios Messages. Novin: Nagios uses your system date/time unless you configure the timezone option in nagios.cfg. Take a look at http://nagios.sourceforge.net/docs/3_0/configmain.html and search for " Timezone Option." Thanks, -Jake 239-949-4450 x6628 From: Novin Jaiswal [mailto:novin.jaiswal at ishisystems.com] Sent: Wednesday, November 05, 2008 12:17 PM To: Nagios Mailinglist Subject: [Nagios-users] How to change Date and Time of Nagios Messages. Hi Friends, I know It's a silly qn. I am getting event log with wrong time. Can any body tell me how to change the date and time. Do I need to change apache 's date or nagios Date. If yes then how? I have already changed my Linux box Date but I didn't make any difference. [11-06-2008 04:08:03] Successfully shutdown... (PID=10071) Thanks for all your help. Thanks & Regards Novin Jaiswal Ishi Systems Inc. 732-318-8156(cell) -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Matthias.Flacke at gmx.de Wed Nov 5 20:23:44 2008 From: Matthias.Flacke at gmx.de (Matthias Flacke) Date: Wed, 05 Nov 2008 20:23:44 +0100 Subject: Hysteresis anyone? In-Reply-To: <4911E8B5.8090305@tugraz.at> References: <4911E8B5.8090305@tugraz.at> Message-ID: <4911F2C0.50801@gmx.de> Maybe a check_multi solution is something for you (http://my-plugin.de/check_multi): ----- 8< ------------------------------------------------------ # hysteresis.cmd # call: check_multi -f hysteresis.cmd \ # -s LASTSERVICESTATEID=$LASTSERVICESTATEID$ \ # -s UPPER= -s LOWER= # # 1. get temperature value command [ temperature ] = check_snmp ... # 2. evaluate states state [ CRITICAL ] = \ $temperature$ >= $UPPER$ || \ ( $temperature$ >= $LOWER$ && $LASTSERVICESTATEID$ != OK ) ----- 8< ------------------------------------------------------ Didn't tested it, but it should work that way ;-) The trick is the state evaluation which allows arbitrary perl expressions. Nagios macros or extra parameters can be passed via -s/--set. HTH - Matthias Simon Kainz wrote: > I'm currently monitoring several room temperature and humidity meters > and was wondering if anyone already has implementet some kind of > hysteresis in Nagios ? > > My scenario is the following: I want an critical state when temp rises > above 26 degrees. As long as it doesnt drop below, say 24 deg, the state > should stay critial. The temp usually floats around 26 degrees (my upper > bound) which would lead to lots of notifications. But i only want the ok > notification after the temp drops below my lower bound (24 deg). > Everything inbetween shoud not trigger any warnings. > > > I've arguing to implement this behaviour directly in my temp check > plugins but was wondering if there is another more general approach to > this. Maybe some event handler magic ? > > > Hope i got this clear... > > > TIA, Simon ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From rjustinwilliams at gmail.com Wed Nov 5 20:33:55 2008 From: rjustinwilliams at gmail.com (rjustinwilliams at gmail.com) Date: Wed, 05 Nov 2008 11:33:55 -0800 Subject: nagios 3 authorization/authentication issues Message-ID: <001636417a85c3492e045af6420c@google.com> I'm more than a little confused here... Have just installed Nagios 3.0.4, and I have it popping up its web page, etc. I edited the cgi.cfg file to make sure that nagiosadmin is authorized to do just about anything it needs to (authorized_* has nagiosadmin in there). nagiosadmin is defined as the contact for the defined services/hosts. I created the requisite .htaccess and htpasswd.user files, and I am able to log in to Nagios as nagiosadmin with no trouble. Once I log in, though, nagiosadmin can't do diddly... Host Detail/Service Detail... nope... status map, sure; tactical overview, sure... If I turn off authentication, everything is available. If I set authorized_* to * instead of nagiosadmin, it still doesn't work... Somehow, it seems like the .htaccess authentication and nagios authorization are not communicating. Is there some other switch that I need to flip to get this on and working? I know I must b emissing something, but, I'm stumped... -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Wed Nov 5 21:38:44 2008 From: marc at ena.com (Marc Powell) Date: Wed, 5 Nov 2008 14:38:44 -0600 Subject: nagios 3 authorization/authentication issues In-Reply-To: <001636417a85c3492e045af6420c@google.com> References: <001636417a85c3492e045af6420c@google.com> Message-ID: <23876FB7-720D-443B-92FE-1502A5C56F99@ena.com> On Nov 5, 2008, at 1:33 PM, rjustinwilliams at gmail.com wrote: Hello, > Somehow, it seems like the .htaccess authentication and nagios > authorization are not communicating. Is there some other switch that > I need to flip to get this on and working? I know I must b emissing > something, but, I'm > stumped > ...------------------------------------------------------------------------- Does nagios show you logged in as nagiosadmin or 'logged in as ?'. Did you add .htaccess to the sbin directory? That's the only place it matters. -- Marc ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From dermoth at aei.ca Thu Nov 6 04:58:37 2008 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Wed, 05 Nov 2008 22:58:37 -0500 Subject: Hysteresis anyone? In-Reply-To: <4911F2C0.50801@gmx.de> References: <4911E8B5.8090305@tugraz.at> <4911F2C0.50801@gmx.de> Message-ID: <49126B6D.6020706@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 05/11/08 02:23 PM, Matthias Flacke wrote: > Maybe a check_multi solution is something for you > (http://my-plugin.de/check_multi): > > ----- 8< ------------------------------------------------------ > # hysteresis.cmd > # call: check_multi -f hysteresis.cmd \ > # -s LASTSERVICESTATEID=$LASTSERVICESTATEID$ \ > # -s UPPER= -s LOWER= > # > # 1. get temperature value > command [ temperature ] = check_snmp ... > > # 2. evaluate states > state [ CRITICAL ] = \ > $temperature$ >= $UPPER$ || \ > ( $temperature$ >= $LOWER$ && $LASTSERVICESTATEID$ != OK ) > ----- 8< ------------------------------------------------------ > > Didn't tested it, but it should work that way ;-) > > The trick is the state evaluation which allows arbitrary perl expressions. > Nagios macros or extra parameters can be passed via -s/--set. Interesting... I'm wondering if we could work it out in a similar similar way as negate by passing the last state, performance data, perfdata metric and upper/lower threshold... Or maybe better, integrate it in the new planned thresholds, although the former could work on 3rd party plugins too... I'll keep that aside if some day I have time to implement it :) - -- Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFJEmtt6dZ+Kt5BchYRArT1AKCeAb/3Uk3voI+m4WxBKIHnninibwCdFT/O ddHtC8ChsxsZCVd+gG4oKNY= =vlIE -----END PGP SIGNATURE----- ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From andurin at process-zero.de Thu Nov 6 07:59:57 2008 From: andurin at process-zero.de (=?UTF-8?B?SGVuZHJpayBCworDpGNrZXI=?=) Date: Thu, 06 Nov 2008 07:59:57 +0100 Subject: check_ping modify output In-Reply-To: References: <9263743c0811050752s3df7af8clbedb0948c08a414b@mail.gmail.com> Message-ID: <491295ED.20409@process-zero.de> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Little OT but: Aaron Segura schrieb: > 1) Get the source > > 2) Modify > > 3) Compile > > 4) ?. > > 5) Profit! > > 6) Share it back with the community ;) If it's nice enough send a unified patch file to the nagiosplugs-devel list, may be it's going upstream? - - Hendrik -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (Darwin) iEYEARECAAYFAkkSle0ACgkQlI0PwfxLQjkmyQCfXx2rXlxkz8357NNLxuzASkM4 c/wAoIN3Meno8l5Fnptki9S+tsEmWQW9 =JaT7 -----END PGP SIGNATURE----- ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From richard at newnet.co.uk Thu Nov 6 10:21:30 2008 From: richard at newnet.co.uk (Richard Savage) Date: Thu, 06 Nov 2008 09:21:30 +0000 Subject: Nagios 3.0.5 suspect bug Message-ID: <4912B71A.7000904@newnet.co.uk> Hi all Have upgraded to the latest 3.0.5 release of nagios. There seems to be a slight bug with it. When trying to add a comment to the service an error is thrown: Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, webmaster at newnet.co.uk and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. Looking in the apache error log there is also an error that details this as well: [Thu Nov 06 09:15:39 2008] [error] [client xxx.xxx.xxx.xxx] Premature end of script headers: cmd.cgi, referer: http://nagios.xxxxxx.xx.xx/nagios/cgi-bin/cmd.cgi?cmd_typ=3&host=smtp1-2.efilter&service=Send+Mail+In+Queue I have remove parts of the error where there are xxxx for obviuous reasons. This has worked perfectly in all previous versions. Does anyone else have any issues? If this is a bug, is it easy to re install Nagios 3.0.4? Many thanks Rich ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From sachin.holikar.ext at siemens.com Thu Nov 6 16:45:00 2008 From: sachin.holikar.ext at siemens.com (Holikar, Sachin (ext)) Date: Thu, 6 Nov 2008 16:45:00 +0100 Subject: availability report Message-ID: <7AA76280EE25C04894E7E837D46D0AA701BFE9F2@bwga0m1a.ww001.siemens.net> Hi , We have installed Nagios 3.0 on SuSE 10. Alls working fine. I have doubt about the Availability report. When we select First assumed state as Unspecified and try to get the report for all hosts for this month lets say, we get 9% or 13% Time Up for certain hosts. So basically Nagios shows whether it detected if that host was up or down from Nagios point of view (whether or not the host itself was UP or not). But what we want from Availability report is whether or not the Host itself was up or not. Is there any way we can overcome this? Thanks, Sac -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ae at op5.se Thu Nov 6 17:04:02 2008 From: ae at op5.se (Andreas Ericsson) Date: Thu, 06 Nov 2008 17:04:02 +0100 Subject: availability report In-Reply-To: <7AA76280EE25C04894E7E837D46D0AA701BFE9F2@bwga0m1a.ww001.siemens.net> References: <7AA76280EE25C04894E7E837D46D0AA701BFE9F2@bwga0m1a.ww001.siemens.net> Message-ID: <49131572.9010605@op5.se> Holikar, Sachin (ext) wrote: > > Hi , > > We have installed Nagios 3.0 on SuSE 10. Alls working fine. I have doubt > about the Availability report. > When we select First assumed state as Unspecified and try to get the > report for all hosts for this month lets say, we get 9% or 13% Time Up > for certain hosts. So basically Nagios shows whether it detected if that > host was up or down from Nagios point of view (whether or not the host > itself was UP or not). But what we want from Availability report is > whether or not the Host itself was up or not. > Is there any way we can overcome this? > No. Nagios can't know anything about the time before you started monitoring. It's good, but not that good. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From lmeier at ajc.com Thu Nov 6 16:54:35 2008 From: lmeier at ajc.com (Layne Meier) Date: Thu, 6 Nov 2008 10:54:35 -0500 Subject: hosts.config Message-ID: <995403B5-6AE1-4DFA-A054-9E8FB8C8432F@ajc.com> I have a question for anyone that can answer this for me. From the documentation, in configuring a host, this is the example given: define host{ host_name bogus-router alias Bogus Router #1 address 192.168.1.254 parents server-backbone check_command check-host-alive max_check_attempts 5 check_period 24x7 process_perf_data 0 retain_nonstatus_information 0 contact_groups router-admins notification_interval 30 notification_period 24x7 notification_options d,u,r } In place of the contact_groups as being defined as router-admins, can you put the name of an actual person there (from the contacts.cfg) ie; define host{ host_name bogus-router alias Bogus Router #1 address 192.168.1.254 parents server-backbone check_command check-host-alive max_check_attempts 5 check_period 24x7 process_perf_data 0 retain_nonstatus_information 0 contact_groups lmeier notification_interval 30 notification_period 24x7 notification_options d,u,r } Or is there a different command that needs to go there: define host{ host_name bogus-router alias Bogus Router #1 address 192.168.1.254 parents server-backbone check_command check-host-alive max_check_attempts 5 check_period 24x7 process_perf_data 0 retain_nonstatus_information 0 contact lmeier notification_interval 30 notification_period 24x7 notification_options d,u,r } Thank you, Layne Meier Atlanta Journal-Constitution -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From kellyjackie at eircom.net Thu Nov 6 17:36:48 2008 From: kellyjackie at eircom.net (kellyjackie at eircom.net) Date: Thu, 6 Nov 2008 16:36:48 +0000 (GMT) Subject: email notifications Message-ID: <1204657.41111225989408667.JavaMail.root@webmailbox300.eircom.net> I have nagios set up and configured monitoring some machines and services. However i cannot get email notifications to work. When installing nagios i installed mailx :i.e install apt-get mailx. will this work as the web server sending out the emails or will i have to set up SendMail or Postfix. If so does anyone have any simple instructions on how to do this? Thanks in advance ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From challenger_joseph at yahoo.com.mx Thu Nov 6 19:12:30 2008 From: challenger_joseph at yahoo.com.mx (=?iso-8859-1?Q?Christian_I=F1iguez?=) Date: Thu, 6 Nov 2008 10:12:30 -0800 (PST) Subject: Anybody help please!!! Message-ID: <618325.59166.qm@web36507.mail.mud.yahoo.com> I've sent 2 e-mails about nagios and n2rrd, but nobody has helped me. I need some help about n2rrd to create graphs. I need to know how generate templates, please!!! :( ?Todo sobre Amor y Sexo! La gu?a completa para tu vida en Mujer de Hoy. http://mx.mujer.yahoo.com/ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Aaron.Segura at cabelas.com Thu Nov 6 19:25:56 2008 From: Aaron.Segura at cabelas.com (Aaron Segura) Date: Thu, 6 Nov 2008 11:25:56 -0700 Subject: Anybody help please!!! In-Reply-To: <618325.59166.qm@web36507.mail.mud.yahoo.com> References: <618325.59166.qm@web36507.mail.mud.yahoo.com> Message-ID: This is not the way to get help. http://www.catb.org/~esr/faqs/smart-questions.html ________________________________ From: Christian I?iguez [mailto:challenger_joseph at yahoo.com.mx] Sent: Thursday, November 06, 2008 11:13 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Anybody help please!!! I've sent 2 e-mails about nagios and n2rrd, but nobody has helped me. I need some help about n2rrd to create graphs. I need to know how generate templates, please!!! :( ________________________________ ?Todo sobre Amor y Sexo! La gu?a completa para tu vida en Mujer de Hoy: http://mx.mujer.yahoo.com/ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From challenger_joseph at yahoo.com.mx Thu Nov 6 19:37:03 2008 From: challenger_joseph at yahoo.com.mx (=?iso-8859-1?Q?Christian_I=F1iguez?=) Date: Thu, 6 Nov 2008 10:37:03 -0800 (PST) Subject: Anybody help please!!! References: <618325.59166.qm@web36507.mail.mud.yahoo.com> Message-ID: <147191.28303.qm@web36502.mail.mud.yahoo.com> I know, and I'm sorry. But I'm a little desesperate and really need help, so if you or anybody else can help me, I'll really apreciate it ________________________________ De: Aaron Segura Para: Christian I?iguez ; nagios-users at lists.sourceforge.net Enviado: jueves, 6 de noviembre, 2008 12:25:56 Asunto: RE: [Nagios-users] Anybody help please!!! This is not the way to get help. http://www.catb.org/~esr/faqs/smart-questions.html ________________________________ From:Christian I?iguez [mailto:challenger_joseph at yahoo.com.mx] Sent: Thursday, November 06, 2008 11:13 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Anybody help please!!! I've sent 2 e-mails about nagios and n2rrd, but nobody has helped me. I need some help about n2rrd to create graphs. I need to know how generate templates, please!!! :( ________________________________ ?Todo sobre Amor y Sexo! La gu?a completa para tu vida en Mujer de Hoy: http://mx.mujer.yahoo.com/ ?Todo sobre Amor y Sexo! La gu?a completa para tu vida en Mujer de Hoy. http://mx.mujer.yahoo.com/ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From challenger_joseph at yahoo.com.mx Thu Nov 6 20:17:50 2008 From: challenger_joseph at yahoo.com.mx (=?iso-8859-1?Q?Christian_I=F1iguez?=) Date: Thu, 6 Nov 2008 11:17:50 -0800 (PST) Subject: Send notification by e-mail References: <618325.59166.qm@web36507.mail.mud.yahoo.com> <147191.28303.qm@web36502.mail.mud.yahoo.com> <37c712e0811061049g117e241dj73db7f9330de4d13@mail.gmail.com> Message-ID: <410135.4963.qm@web36504.mail.mud.yahoo.com> Hi all! I've set up Nagios 3.0.3 on my server and is working now. I would like that nagios notify me whenever is wrong on my server by e-mail. How can do this? Is there some plugin or any file to modify and be able to do it?? I hope you can help me :) Thanks in advance!! ?Todo sobre Amor y Sexo! La gu?a completa para tu vida en Mujer de Hoy. http://mx.mujer.yahoo.com/ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Aaron.Segura at cabelas.com Thu Nov 6 20:59:04 2008 From: Aaron.Segura at cabelas.com (Aaron Segura) Date: Thu, 6 Nov 2008 12:59:04 -0700 Subject: Send notification by e-mail In-Reply-To: <410135.4963.qm@web36504.mail.mud.yahoo.com> References: <618325.59166.qm@web36507.mail.mud.yahoo.com><147191.28303.qm@web36502.mail.mud.yahoo.com><37c712e0811061049g117e241dj73db7f9330de4d13@mail.gmail.com> <410135.4963.qm@web36504.mail.mud.yahoo.com> Message-ID: http://www.nagios.org/docs/ You didn't even open the link I sent before, did you? ________________________________ From: Christian I?iguez [mailto:challenger_joseph at yahoo.com.mx] Sent: Thursday, November 06, 2008 12:18 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Send notification by e-mail Hi all! I've set up Nagios 3.0.3 on my server and is working now. I would like that nagios notify me whenever is wrong on my server by e-mail. How can do this? Is there some plugin or any file to modify and be able to do it?? I hope you can help me :) Thanks in advance!! ________________________________ ?Todo sobre Amor y Sexo! La gu?a completa para tu vida en Mujer de Hoy: http://mx.mujer.yahoo.com/ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From novin.jaiswal at ishisystems.com Thu Nov 6 21:04:18 2008 From: novin.jaiswal at ishisystems.com (Novin Jaiswal) Date: Thu, 6 Nov 2008 15:04:18 -0500 Subject: Send notification by e-mail In-Reply-To: <410135.4963.qm@web36504.mail.mud.yahoo.com> References: <618325.59166.qm@web36507.mail.mud.yahoo.com><147191.28303.qm@web36502.mail.mud.yahoo.com><37c712e0811061049g117e241dj73db7f9330de4d13@mail.gmail.com> <410135.4963.qm@web36504.mail.mud.yahoo.com> Message-ID: <2BA70ED7C7275645B648362FB35913A901EB54FB@exchange.ishisystems.com> U need to create contacts.conf file where you can mentionthe email id of the person to whom u want to inform. Its very easy. Pls read the doc. Thanks & Regards Novin Jaiswal Ishi Systems Inc. 732-318-8156(cell) From: Christian I?iguez [mailto:challenger_joseph at yahoo.com.mx] Sent: Thursday, November 06, 2008 2:18 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Send notification by e-mail Hi all! I've set up Nagios 3.0.3 on my server and is working now. I would like that nagios notify me whenever is wrong on my server by e-mail. How can do this? Is there some plugin or any file to modify and be able to do it?? I hope you can help me :) Thanks in advance!! ________________________________ ?Todo sobre Amor y Sexo! La gu?a completa para tu vida en Mujer de Hoy: http://mx.mujer.yahoo.com/ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From hvdkooij at vanderkooij.org Thu Nov 6 23:54:56 2008 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Thu, 06 Nov 2008 23:54:56 +0100 Subject: Anybody help please!!! In-Reply-To: <147191.28303.qm@web36502.mail.mud.yahoo.com> References: <618325.59166.qm@web36507.mail.mud.yahoo.com> <147191.28303.qm@web36502.mail.mud.yahoo.com> Message-ID: <491375C0.6080508@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Christian I?iguez wrote: > I know, and I'm sorry. But I'm a little desesperate and really need > help, so if you or anybody else can help me, I'll really apreciate it So go about and pay a Nagios cunsultant. If it means that much to you then you can afford to pay some serious money to someone to do your work for you. Or sit down, read the manual cover to cover before you write another message to the mailinglist. This is just waisting everyone's time. Hugo. - -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc A: Yes. >Q: Are you sure? >>A: Because it reverses the logical flow of conversation. >>>Q: Why is top posting frowned upon? Bored? Click on http://spamornot.org/ and rate those images. Nid wyf yn y swyddfa ar hyn o bryd. Anfonwch unrhyw waith i'w gyfieithu. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org iD8DBQFJE3W/BvzDRVjxmYERAvDAAKCETd22fsrkX4q943u+ZFpnZYt/vQCdFRhr BpZvBnU7qHKzPSIGPhTEnfw= =QNGu -----END PGP SIGNATURE----- ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From hvdkooij at vanderkooij.org Thu Nov 6 23:58:33 2008 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Thu, 06 Nov 2008 23:58:33 +0100 Subject: [DISARMED] check_http In-Reply-To: <6b16fb4c0811042343k266edc20h2946dea2290730f9@mail.gmail.com> References: <6b16fb4c0811042343k266edc20h2946dea2290730f9@mail.gmail.com> Message-ID: <49137699.1060701@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Kaushal Shriyan wrote: > Hi, > > I have a query regarding check_http Nagios Plugin,it works fine without > any issues > my check_http line looks like /usr/lib/nagios/plugins/check_http -H > *MailScanner warning: numerical links are often malicious:* 127.0.0.1 > -p 8080 -u /SMPPSender/control -r "Disconnected" > --invert-regex > Now when i get sms alert i see it as HTTP CRITICAL - pattern found,if > the service is critical > Now instead of pattern found, is there a way i can get the string > "Disconnected" in the sms That would require you to rewite the notifications. and I guess you will need to make them a bit more complex then they are at the moment. If you only want this one services you will just add a new notification to be used for the specific services. Hugo. - -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc A: Yes. >Q: Are you sure? >>A: Because it reverses the logical flow of conversation. >>>Q: Why is top posting frowned upon? Bored? Click on http://spamornot.org/ and rate those images. Nid wyf yn y swyddfa ar hyn o bryd. Anfonwch unrhyw waith i'w gyfieithu. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org iD8DBQFJE3aXBvzDRVjxmYERAg57AJ4uFhpEcS1orY8q+Jxm253h1auMWwCbBR8r uasbcwH5e9w8u6/kQsQUFSQ= =RbLQ -----END PGP SIGNATURE----- ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From dennis at huenseler.net Fri Nov 7 08:21:09 2008 From: dennis at huenseler.net (=?UTF-8?Q?Dennis_H=C3=BCnseler?=) Date: Fri, 07 Nov 2008 08:21:09 +0100 Subject: hosts.config In-Reply-To: <995403B5-6AE1-4DFA-A054-9E8FB8C8432F@ajc.com> References: <995403B5-6AE1-4DFA-A054-9E8FB8C8432F@ajc.com> Message-ID: <5d324b0972a093b86c55a8d7798af2ef@localhost> Hi Layne, regarding the config you can configure contacts in stead of complete groups, but the keyword is contactS not contact as in your example :-) CONTACTS: This is a list of the _short names_ of the contacts [1] that should be notified whenever there are problems (or recoveries) with this host. Multiple contacts should be separated by commas. Useful if you want notifications to go to just a few people and don't want to configure contact groups [2]. You must specify at least one contact or contact group in each host definition. Regards, Dennis On Thu, 6 Nov 2008 10:54:35 -0500, Layne Meier wrote: I have a question for anyone that can answer this for me. From the documentation, in configuring a host, this is the example given: define host{ host_name bogus-router alias Bogus Router #1 address 192.168.1.254 parents server-backbone check_command check-host-alive max_check_attempts 5 check_period 24x7 process_perf_data 0 retain_nonstatus_information 0 contact_groups router-admins notification_interval 30 notification_period 24x7 notification_options d,u,r } define host{ host_name bogus-router alias Bogus Router #1 address 192.168.1.254 parents server-backbone check_command check-host-alive max_check_attempts 5 check_period 24x7 process_perf_data 0 retain_nonstatus_information 0 contact_groups router-admins notification_interval 30 notification_period 24x7 notification_options d,u,r } define host{ host_name bogus-router alias Bogus Router #1 address 192.168.1.254 parents server-backbone check_command check-host-alive max_check_attempts 5 check_period 24x7 process_perf_data 0 retain_nonstatus_information 0 contact_groups router-admins notification_interval 30 notification_period 24x7 notification_options d,u,r } define host{ host_name bogus-router alias Bogus Router #1 address 192.168.1.254 parents server-backbone check_command check-host-alive max_check_attempts 5 check_period 24x7 process_perf_data 0 retain_nonstatus_information 0 contact_groups router-admins notification_interval 30 notification_period 24x7 notification_options d,u,r } define host{ host_name bogus-router alias Bogus Router #1 address 192.168.1.254 parents server-backbone check_command check-host-alive max_check_attempts 5 check_period 24x7 process_perf_data 0 retain_nonstatus_information 0 contact_groups router-admins notification_interval 30 notification_period 24x7 notification_options d,u,r } define host{ host_name bogus-router alias Bogus Router #1 address 192.168.1.254 parents server-backbone check_command check-host-alive max_check_attempts 5 check_period 24x7 process_perf_data 0 retain_nonstatus_information 0 contact_groups router-admins notification_interval 30 notification_period 24x7 notification_options d,u,r } define host{ host_name bogus-router alias Bogus Router #1 address 192.168.1.254 parents server-backbone check_command check-host-alive max_check_attempts 5 check_period 24x7 process_perf_data 0 retain_nonstatus_information 0 contact_groups router-admins notification_interval 30 notification_period 24x7 notification_options d,u,r } define host{ host_name bogus-router alias Bogus Router #1 address 192.168.1.254 parents server-backbone check_command check-host-alive max_check_attempts 5 check_period 24x7 process_perf_data 0 retain_nonstatus_information 0 contact_groups router-admins notification_interval 30 notification_period 24x7 notification_options d,u,r } define host{ host_name bogus-router alias Bogus Router #1 address 192.168.1.254 parents server-backbone check_command check-host-alive max_check_attempts 5 check_period 24x7 process_perf_data 0 retain_nonstatus_information 0 contact_groups router-admins notification_interval 30 notification_period 24x7 notification_options d,u,r } define host{ host_name bogus-router alias Bogus Router #1 address 192.168.1.254 parents server-backbone check_command check-host-alive max_check_attempts 5 check_period 24x7 process_perf_data 0 retain_nonstatus_information 0 contact_groups router-admins notification_interval 30 notification_period 24x7 notification_options d,u,r } define host{ host_name bogus-router alias Bogus Router #1 address 192.168.1.254 parents server-backbone check_command check-host-alive max_check_attempts 5 check_period 24x7 process_perf_data 0 retain_nonstatus_information 0 contact_groups router-admins notification_interval 30 notification_period 24x7 notification_options d,u,r } Links: ------ [1] http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#contact [2] http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#contactgroup -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ae at op5.se Fri Nov 7 09:36:19 2008 From: ae at op5.se (Andreas Ericsson) Date: Fri, 07 Nov 2008 09:36:19 +0100 Subject: email notifications In-Reply-To: <1204657.41111225989408667.JavaMail.root@webmailbox300.eircom.net> References: <1204657.41111225989408667.JavaMail.root@webmailbox300.eircom.net> Message-ID: <4913FE03.9070801@op5.se> kellyjackie at eircom.net wrote: > I have nagios set up and configured monitoring some machines and > services. However i cannot get email notifications to work. When > installing nagios i installed mailx :i.e install apt-get mailx. will > this work as the web server sending out the emails or will i have to > set up SendMail or Postfix. If so does anyone have any simple > instructions on how to do this? Thanks in advance > You'll need some MTA software on the server, yes. mailx only queues messages for sending by the mta. I'm surprised mailx didn't require an MTA to be installed though. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Sascha.Runschke at gfkl.com Fri Nov 7 09:56:18 2008 From: Sascha.Runschke at gfkl.com (Sascha.Runschke at gfkl.com) Date: Fri, 7 Nov 2008 09:56:18 +0100 Subject: Antwort: Re: email notifications In-Reply-To: <4913FE03.9070801@op5.se> References: <4913FE03.9070801@op5.se> Message-ID: Andreas Ericsson schrieb am 07.11.2008 09:36:19: > kellyjackie at eircom.net wrote: > > I have nagios set up and configured monitoring some machines and > > services. However i cannot get email notifications to work. When > > installing nagios i installed mailx :i.e install apt-get mailx. will > > this work as the web server sending out the emails or will i have to > > set up SendMail or Postfix. If so does anyone have any simple > > instructions on how to do this? Thanks in advance > > > > You'll need some MTA software on the server, yes. mailx only queues > messages for sending by the mta. I'm surprised mailx didn't require > an MTA to be installed though. Most likely exim or postfix is installed - depending on the debian/ubuntu version, but not correctly configured. Please have a look into it and configure it for using your local mailserver as relayhost. Regards Sascha -- Sascha Runschke IT-Infrastruktur fon : +49 (201) / 102-1879 fax : +49 (201) / 102-1102105 mobil : +49 (173) / 5419665 GFKL Financial Services AG Vorstand: Dr. Peter J?nsch (Vors.), J?rgen Baltes, Dr. Till Ergenzinger, Dr. Tom Haverkamp Vorsitzender des Aufsichtsrats: Dr. Georg F. Thoma Sitz: Limbecker Platz 1, 45127 Essen, Amtsgericht Essen, HRB 13522 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From sachin.holikar.ext at siemens.com Fri Nov 7 10:18:03 2008 From: sachin.holikar.ext at siemens.com (Holikar, Sachin (ext)) Date: Fri, 7 Nov 2008 10:18:03 +0100 Subject: Nagios Notifications Message-ID: <7AA76280EE25C04894E7E837D46D0AA701BFE9F5@bwga0m1a.ww001.siemens.net> Hi All, We have configured the Nagios Setup and is working fine. Is there any provision in Nagios with which we can disable the Nagios checks/notifications during certain time period of the day ? I have seen the timeperiod options but the examples only show the provision for holidays or so. Can we bypass lets say few hrs in between everyday?? Thers is another option for Scheduled Downtimes but these are not recurring. Some setting with which we can disable Nagios check or notification for few hours everyday? Kindly suggest. - Sac -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From sachin.holikar.ext at siemens.com Fri Nov 7 10:50:05 2008 From: sachin.holikar.ext at siemens.com (Holikar, Sachin (ext)) Date: Fri, 7 Nov 2008 10:50:05 +0100 Subject: Nagios - Status Map Message-ID: <7AA76280EE25C04894E7E837D46D0AA701BFE9F6@bwga0m1a.ww001.siemens.net> Hi All, We have installed Nagios 3 version recently. It seems everythign working ok execpt few things. Like the Zoom in and Zoom out option in Status Map does not seem to work ever. Is ther any way with which we can remove that option from Nagios Gui itself. Kindly suggest. -Sac -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Markus.Almroth at teliasonera.com Fri Nov 7 10:49:40 2008 From: Markus.Almroth at teliasonera.com (Markus.Almroth at teliasonera.com) Date: Fri, 7 Nov 2008 10:49:40 +0100 Subject: Nagios retention problem. Message-ID: <9DFC8BEC38DA324391F4FC69634EE2B50110B21B@SEHAN014MB.tcad.telia.se> I run a nagios installation with 522 servers and 4654 service checks. When adding or removing clients, it happens that about half or perhaps 2/3 of the service checks loose all status retention. What is more concerning is that they also go back to "initial state" eg Notifications are turned off!! This is bad. It does'nt happen every time, and it is'nt the same servers every time. Very strange. It seems to me like some kind of buffer overflow. It started when I upgraded from 2.9 to 3.0.4. Best Regards /Markus Almroth Teliasonera AB. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Sotiroff.Kristian at mtvne.com Fri Nov 7 12:09:43 2008 From: Sotiroff.Kristian at mtvne.com (Sotiroff, Kristian) Date: Fri, 7 Nov 2008 11:09:43 -0000 Subject: Nagios Notifications In-Reply-To: <7AA76280EE25C04894E7E837D46D0AA701BFE9F5@bwga0m1a.ww001.siemens.net> References: <7AA76280EE25C04894E7E837D46D0AA701BFE9F5@bwga0m1a.ww001.siemens.net> Message-ID: ________________________________ From: Holikar, Sachin (ext) [mailto:sachin.holikar.ext at siemens.com] Sent: 07 November 2008 09:18 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagios Notifications Hi All, We have configured the Nagios Setup and is working fine. Is there any provision in Nagios with which we can disable the Nagios checks/notifications during certain time period of the day ? I have seen the timeperiod options but the examples only show the provision for holidays or so. Can we bypass lets say few hrs in between everyday?? Thers is another option for Scheduled Downtimes but these are not recurring. Some setting with which we can disable Nagios check or notification for few hours everyday? Kindly suggest. - Sac if you take a look in the eventhandlers directory, you'll find a couple of scripts that can be run from cron to disable and enable service checks. enable_active_service_checks and disable_active_service_checks are their names. we use them to disable checks during monthly patch time. CONFIDENTIALITY NOTICE This e-mail (and any attached files) is confidential and protected by copyright (and other intellectual property rights). If you are not the intended recipient please e-mail the sender and then delete the email and any attached files immediately. Any further use or dissemination is prohibited. While MTV Networks Europe has taken steps to ensure that this email and any attachments are virus free, it is your responsibility to ensure that this message and any attachments are virus free and do not affect your systems / data. Communicating by email is not 100% secure and carries risks such as delay, data corruption, non-delivery, wrongful interception and unauthorised amendment. If you communicate with us by e-mail, you acknowledge and assume these risks, and you agree to take appropriate measures to minimise these risks when e-mailing us. MTV Networks International, MTV Networks UK & Ireland, Greenhouse, Nickelodeon Viacom Consumer Products, VBSi, Viacom Brand Solutions International and Comedy Central are all trading names of MTV Networks Europe. MTV Networks Europe is a partnership between MTV Networks Europe Inc. and Viacom Networks Europe Inc. Address for service in Great Britain is UK House, 180 Oxford Street, London W1D 1DS, UK. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Sotiroff.Kristian at mtvne.com Fri Nov 7 12:26:57 2008 From: Sotiroff.Kristian at mtvne.com (Sotiroff, Kristian) Date: Fri, 7 Nov 2008 11:26:57 -0000 Subject: Nagios Notifications In-Reply-To: <7AA76280EE25C04894E7E837D46D0AA701BFE9FA@bwga0m1a.ww001.siemens.net> References: <7AA76280EE25C04894E7E837D46D0AA701BFE9F5@bwga0m1a.ww001.siemens.net> <7AA76280EE25C04894E7E837D46D0AA701BFE9FA@bwga0m1a.ww001.siemens.net> Message-ID: ________________________________ From: Holikar, Sachin (ext) [mailto:sachin.holikar.ext at siemens.com] Sent: 07 November 2008 11:20 To: Sotiroff, Kristian Subject: RE: [Nagios-users] Nagios Notifications Unfortunately we did not find any sample scripts under eventhandler directory. The directory specified in resource.cfg itself does not exist. Can you suggest ? <... snip....> have you installed the plugins? it comes with that i think. the scripts are pretty basic though. here is the 'disable_active_service_checks script: #!/bin/sh # Write a command to the Nagios command file to cause # it to disable active service checks. This can be # referred to as 'standby' mode in a redundant monitoring # environment. # Notes: # 1) This script is not intended to be used as an # event handler by itself. Instead, it is used by other # event handler scripts (like the redundancy examples). # 2) In order for Nagios to process any commands that # are written to the command file, you must enable # the check_external_commands option in the main # configuration file. echocmd="/bin/echo" CommandFile="/usr/local/nagios/var/rw/nagios.cmd" # get the current date/time in seconds since UNIX epoch datetime=`date +%s` # create the command line to add to the command file cmdline="[$datetime] STOP_EXECUTING_SERVICE_CHECKS" # append the command to the end of the command file `$echocmd $cmdline >> $CommandFile` in order to reenable them, simply change the STOP_EXECUTING_SERVICE_CHECKS to START_EXECUTING_SERVICE_CHECKS CONFIDENTIALITY NOTICE This e-mail (and any attached files) is confidential and protected by copyright (and other intellectual property rights). If you are not the intended recipient please e-mail the sender and then delete the email and any attached files immediately. Any further use or dissemination is prohibited. While MTV Networks Europe has taken steps to ensure that this email and any attachments are virus free, it is your responsibility to ensure that this message and any attachments are virus free and do not affect your systems / data. Communicating by email is not 100% secure and carries risks such as delay, data corruption, non-delivery, wrongful interception and unauthorised amendment. If you communicate with us by e-mail, you acknowledge and assume these risks, and you agree to take appropriate measures to minimise these risks when e-mailing us. MTV Networks International, MTV Networks UK & Ireland, Greenhouse, Nickelodeon Viacom Consumer Products, VBSi, Viacom Brand Solutions International and Comedy Central are all trading names of MTV Networks Europe. MTV Networks Europe is a partnership between MTV Networks Europe Inc. and Viacom Networks Europe Inc. Address for service in Great Britain is UK House, 180 Oxford Street, London W1D 1DS, UK. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Sotiroff.Kristian at mtvne.com Fri Nov 7 12:51:06 2008 From: Sotiroff.Kristian at mtvne.com (Sotiroff, Kristian) Date: Fri, 7 Nov 2008 11:51:06 -0000 Subject: Nagios Notifications In-Reply-To: <7AA76280EE25C04894E7E837D46D0AA701BFE9FB@bwga0m1a.ww001.siemens.net> References: <7AA76280EE25C04894E7E837D46D0AA701BFE9F5@bwga0m1a.ww001.siemens.net><7AA76280EE25C04894E7E837D46D0AA701BFE9FA@bwga0m1a.ww001.siemens.net> <7AA76280EE25C04894E7E837D46D0AA701BFE9FB@bwga0m1a.ww001.siemens.net> Message-ID: sounds like you're not that familiar with shell scripts. in which case, its probably easier if you simply create a timeperiod in whcih you leave out the required hours, then have your service checks and / or notifications occurring during this time. ________________________________ From: Holikar, Sachin (ext) [mailto:sachin.holikar.ext at siemens.com] Sent: 07 November 2008 11:40 To: Sotiroff, Kristian Subject: RE: [Nagios-users] Nagios Notifications Thanks for the reply. Are you saying that if I simply copy paste the below code in a file called 'disable_active_service_checks' under eventhandlers directory , that should work?? And how do you actually change the STOP_EXECUTING_SERVICE_CHECKS to START_EXECUTING_SERVICE_CHECKS Little confused , bare with me. ________________________________ From: Sotiroff, Kristian [mailto:Sotiroff.Kristian at mtvne.com] Sent: Freitag, 7. November 2008 12:27 To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagios Notifications ________________________________ From: Holikar, Sachin (ext) [mailto:sachin.holikar.ext at siemens.com] Sent: 07 November 2008 11:20 To: Sotiroff, Kristian Subject: RE: [Nagios-users] Nagios Notifications Unfortunately we did not find any sample scripts under eventhandler directory. The directory specified in resource.cfg itself does not exist. Can you suggest ? <... snip....> have you installed the plugins? it comes with that i think. the scripts are pretty basic though. here is the 'disable_active_service_checks script: #!/bin/sh # Write a command to the Nagios command file to cause # it to disable active service checks. This can be # referred to as 'standby' mode in a redundant monitoring # environment. # Notes: # 1) This script is not intended to be used as an # event handler by itself. Instead, it is used by other # event handler scripts (like the redundancy examples). # 2) In order for Nagios to process any commands that # are written to the command file, you must enable # the check_external_commands option in the main # configuration file. echocmd="/bin/echo" CommandFile="/usr/local/nagios/var/rw/nagios.cmd" # get the current date/time in seconds since UNIX epoch datetime=`date +%s` # create the command line to add to the command file cmdline="[$datetime] STOP_EXECUTING_SERVICE_CHECKS" # append the command to the end of the command file `$echocmd $cmdline >> $CommandFile` in order to reenable them, simply change the STOP_EXECUTING_SERVICE_CHECKS to START_EXECUTING_SERVICE_CHECKS CONFIDENTIALITY NOTICE This e-mail (and any attached files) is confidential and protected by copyright (and other intellectual property rights). If you are not the intended recipient please e-mail the sender and then delete the email and any attached files immediately. Any further use or dissemination is prohibited. While MTV Networks Europe has taken steps to ensure that this email and any attachments are virus free, it is your responsibility to ensure that this message and any attachments are virus free and do not affect your systems / data. Communicating by email is not 100% secure and carries risks such as delay, data corruption, non-delivery, wrongful interception and unauthorised amendment. If you communicate with us by e-mail, you acknowledge and assume these risks, and you agree to take appropriate measures to minimise these risks when e-mailing us. MTV Networks International, MTV Networks UK & Ireland, Greenhouse, Nickelodeon Viacom Consumer Products, VBSi, Viacom Brand Solutions International and Comedy Central are all trading names of MTV Networks Europe. MTV Networks Europe is a partnership between MTV Networks Europe Inc. and Viacom Networks Europe Inc. Address for service in Great Britain is UK House, 180 Oxford Street, London W1D 1DS, UK. CONFIDENTIALITY NOTICE This e-mail (and any attached files) is confidential and protected by copyright (and other intellectual property rights). If you are not the intended recipient please e-mail the sender and then delete the email and any attached files immediately. Any further use or dissemination is prohibited. While MTV Networks Europe has taken steps to ensure that this email and any attachments are virus free, it is your responsibility to ensure that this message and any attachments are virus free and do not affect your systems / data. Communicating by email is not 100% secure and carries risks such as delay, data corruption, non-delivery, wrongful interception and unauthorised amendment. If you communicate with us by e-mail, you acknowledge and assume these risks, and you agree to take appropriate measures to minimise these risks when e-mailing us. MTV Networks International, MTV Networks UK & Ireland, Greenhouse, Nickelodeon Viacom Consumer Products, VBSi, Viacom Brand Solutions International and Comedy Central are all trading names of MTV Networks Europe. MTV Networks Europe is a partnership between MTV Networks Europe Inc. and Viacom Networks Europe Inc. Address for service in Great Britain is UK House, 180 Oxford Street, London W1D 1DS, UK. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From kenneho.ndu at gmail.com Fri Nov 7 13:07:48 2008 From: kenneho.ndu at gmail.com (Kenneth Holter) Date: Fri, 7 Nov 2008 13:07:48 +0100 Subject: Turning off notification_period for ping Message-ID: Hi. I have a few machines that are currently blocked by the firewall, which are reported "down" by Nagios. I'm pretty happy with having just _one_ notification of this kind of error, and would like to set the notification_period for this kind of check to "0". Problem is that I can't find the place where this is defined. Does anyone know this? I'm running Nagios 3.0.3. Regards, Kenneth Holter -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From thomas at apestaart.org Fri Nov 7 12:31:15 2008 From: thomas at apestaart.org (Thomas Vander Stichele) Date: Fri, 07 Nov 2008 12:31:15 +0100 Subject: changing display of service description without losing history In-Reply-To: <4D217FF9-10B5-4DDE-B227-D5AF4A37FA8F@ena.com> References: <1225550799.8244.104.camel@ana.amantes> <4D217FF9-10B5-4DDE-B227-D5AF4A37FA8F@ena.com> Message-ID: <1226057475.869.175.camel@ana.amantes> Hi, > I'd offer that you're wanting to use it for something it wasn't meant > for. serviceextinfo{} definitions in nagios-2, specifically notes_url > was meant for this purpose. notes_url was moved to service{} > definitions in 3.x. That allows you to link to an external page/script/ > whatever that contains all that troubleshooting information or whatever. Thanks for the reply. That could definately work for the 'add more info' case. It doesn't really address the 'I would like to know a relative importance of alerts' case. What do people generally do for this particular problem ? (To repeat, the problem is 'making it clear which alarms are higher priority so that when you have a 100 at a time you know what to work on first') Today, the problem is that only people that really understand our whole system understand the priorities of alarms, and this is impossible to transfer to the operators. > > - if patches to make it be used in the current web interface as well > > as > > notifications would be considered ? > > ask on nagios-devel. Chances are high that it would have to be > extremely useful to be included in the current CGI code. Since your > purpose appears to duplicate existing functionality, you need to make > a strong case for it. If the docs say that 'in the future this will be used to display in the web cgi's', I assume the case was already made by someone else, no ? Thanks Thomas -- I used to play with toy guns and knives with my daddy He never taught me how to kill -- Flumotion - the only way to stream! http://www.flumotion.net/ ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From dennis at huenseler.net Fri Nov 7 13:32:57 2008 From: dennis at huenseler.net (=?UTF-8?Q?Dennis_H=C3=BCnseler?=) Date: Fri, 07 Nov 2008 13:32:57 +0100 Subject: =?utf-8?q?Turning_off_notification=5Fperiod_for_pi?= =?utf-8?q?ng?= In-Reply-To: References: Message-ID: <4624e12db3425c1f62d6c826ab1001dc@localhost> Hi Kenneth, it is normally defined in the Host-Template, so if you use the generic-host template for example for this host you have to check this template for the setting. But if you want this setting for several hosts that are behind a firewall you should create a special host template for them and when you know they will be reachable just change the host-template of the specific host to the normal one. And the option you have to set to "0" is not natification_period it is NOTIFICATION_INTERVAL, if this is set to "0" you only get one notification. Regards, Dennis On Fri, 7 Nov 2008 13:07:48 +0100, "Kenneth Holter" wrote: Hi. I have a few machines that are currently blocked by the firewall, which are reported "down" by Nagios. I'm pretty happy with having just _one_ notification of this kind of error, and would like to set the notification_period for this kind of check to "0". Problem is that I can't find the place where this is defined. Does anyone know this? I'm running Nagios 3.0.3. [1] Regards, Kenneth Holter Links: ------ [1] http://3.0.3. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Sotiroff.Kristian at mtvne.com Fri Nov 7 13:33:18 2008 From: Sotiroff.Kristian at mtvne.com (Sotiroff, Kristian) Date: Fri, 7 Nov 2008 12:33:18 -0000 Subject: Nagios Notifications In-Reply-To: References: <7AA76280EE25C04894E7E837D46D0AA701BFE9FC@bwga0m1a.ww001.siemens.net> Message-ID: please post back to the nagios userlist, rather than me. i have this for a period similar to what you want; define timeperiod{ timeperiod_name harris_reboot alias harris nightly reboot, skipping 2000 - 2200 sunday 00:00-20:00,22:00-24:00 monday 00:00-20:00,22:00-24:00 tuesday 00:00-20:00,22:00-24:00 wednesday 00:00-20:00,22:00-24:00 thursday 00:00-20:00,22:00-24:00 friday 00:00-20:00,22:00-24:00 saturday 00:00-20:00,22:00-24:00 } ________________________________ From: Holikar, Sachin (ext) [mailto:sachin.holikar.ext at siemens.com] Sent: 07 November 2008 12:29 To: Sotiroff, Kristian Subject: RE: [Nagios-users] Nagios Notifications That is what I was execting initially. I wrote "I have seen the timeperiod options but the examples only show the provision for holidays or so. Can we bypass lets say few hrs in between everyday??" If yes then how? I tried writing below templates but I'm sure its not perfect .. Intend to bypass 1 hr (from 6 AM to 7 AM) eeryday, I wrote 2 templates below, (System Name is Host12) define timeperiod{ name special timeperiod_name special alias special sunday 00:06-00:07 monday 00:06-00:07 tuesday 00:06-00:07 wednesday 00:06-00:07 thursday 00:06-00:07 friday 00:06-00:07 saturday 00:06-00:07 } define timeperiod{ name Host12_special timeperiod_name Host12_special use special alias Host12_special sunday 00:00-24:00 monday 00:00-24:00 tuesday 00:00-24:00 wednesday 00:00-24:00 thursday 00:00-24:00 friday 00:00-24:00 saturday 00:00-24:00 } ________________________________ From: Sotiroff, Kristian [mailto:Sotiroff.Kristian at mtvne.com] Sent: Freitag, 7. November 2008 12:51 To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagios Notifications sounds like you're not that familiar with shell scripts. in which case, its probably easier if you simply create a timeperiod in whcih you leave out the required hours, then have your service checks and / or notifications occurring during this time. ________________________________ From: Holikar, Sachin (ext) [mailto:sachin.holikar.ext at siemens.com] Sent: 07 November 2008 11:40 To: Sotiroff, Kristian Subject: RE: [Nagios-users] Nagios Notifications Thanks for the reply. Are you saying that if I simply copy paste the below code in a file called 'disable_active_service_checks' under eventhandlers directory , that should work?? And how do you actually change the STOP_EXECUTING_SERVICE_CHECKS to START_EXECUTING_SERVICE_CHECKS Little confused , bare with me. ________________________________ From: Sotiroff, Kristian [mailto:Sotiroff.Kristian at mtvne.com] Sent: Freitag, 7. November 2008 12:27 To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagios Notifications ________________________________ From: Holikar, Sachin (ext) [mailto:sachin.holikar.ext at siemens.com] Sent: 07 November 2008 11:20 To: Sotiroff, Kristian Subject: RE: [Nagios-users] Nagios Notifications Unfortunately we did not find any sample scripts under eventhandler directory. The directory specified in resource.cfg itself does not exist. Can you suggest ? <... snip....> have you installed the plugins? it comes with that i think. the scripts are pretty basic though. here is the 'disable_active_service_checks script: #!/bin/sh # Write a command to the Nagios command file to cause # it to disable active service checks. This can be # referred to as 'standby' mode in a redundant monitoring # environment. # Notes: # 1) This script is not intended to be used as an # event handler by itself. Instead, it is used by other # event handler scripts (like the redundancy examples). # 2) In order for Nagios to process any commands that # are written to the command file, you must enable # the check_external_commands option in the main # configuration file. echocmd="/bin/echo" CommandFile="/usr/local/nagios/var/rw/nagios.cmd" # get the current date/time in seconds since UNIX epoch datetime=`date +%s` # create the command line to add to the command file cmdline="[$datetime] STOP_EXECUTING_SERVICE_CHECKS" # append the command to the end of the command file `$echocmd $cmdline >> $CommandFile` in order to reenable them, simply change the STOP_EXECUTING_SERVICE_CHECKS to START_EXECUTING_SERVICE_CHECKS CONFIDENTIALITY NOTICE This e-mail (and any attached files) is confidential and protected by copyright (and other intellectual property rights). If you are not the intended recipient please e-mail the sender and then delete the email and any attached files immediately. Any further use or dissemination is prohibited. While MTV Networks Europe has taken steps to ensure that this email and any attachments are virus free, it is your responsibility to ensure that this message and any attachments are virus free and do not affect your systems / data. Communicating by email is not 100% secure and carries risks such as delay, data corruption, non-delivery, wrongful interception and unauthorised amendment. If you communicate with us by e-mail, you acknowledge and assume these risks, and you agree to take appropriate measures to minimise these risks when e-mailing us. MTV Networks International, MTV Networks UK & Ireland, Greenhouse, Nickelodeon Viacom Consumer Products, VBSi, Viacom Brand Solutions International and Comedy Central are all trading names of MTV Networks Europe. MTV Networks Europe is a partnership between MTV Networks Europe Inc. and Viacom Networks Europe Inc. Address for service in Great Britain is UK House, 180 Oxford Street, London W1D 1DS, UK. CONFIDENTIALITY NOTICE This e-mail (and any attached files) is confidential and protected by copyright (and other intellectual property rights). If you are not the intended recipient please e-mail the sender and then delete the email and any attached files immediately. Any further use or dissemination is prohibited. While MTV Networks Europe has taken steps to ensure that this email and any attachments are virus free, it is your responsibility to ensure that this message and any attachments are virus free and do not affect your systems / data. Communicating by email is not 100% secure and carries risks such as delay, data corruption, non-delivery, wrongful interception and unauthorised amendment. If you communicate with us by e-mail, you acknowledge and assume these risks, and you agree to take appropriate measures to minimise these risks when e-mailing us. MTV Networks International, MTV Networks UK & Ireland, Greenhouse, Nickelodeon Viacom Consumer Products, VBSi, Viacom Brand Solutions International and Comedy Central are all trading names of MTV Networks Europe. MTV Networks Europe is a partnership between MTV Networks Europe Inc. and Viacom Networks Europe Inc. Address for service in Great Britain is UK House, 180 Oxford Street, London W1D 1DS, UK. CONFIDENTIALITY NOTICE This e-mail (and any attached files) is confidential and protected by copyright (and other intellectual property rights). If you are not the intended recipient please e-mail the sender and then delete the email and any attached files immediately. Any further use or dissemination is prohibited. While MTV Networks Europe has taken steps to ensure that this email and any attachments are virus free, it is your responsibility to ensure that this message and any attachments are virus free and do not affect your systems / data. Communicating by email is not 100% secure and carries risks such as delay, data corruption, non-delivery, wrongful interception and unauthorised amendment. If you communicate with us by e-mail, you acknowledge and assume these risks, and you agree to take appropriate measures to minimise these risks when e-mailing us. MTV Networks International, MTV Networks UK & Ireland, Greenhouse, Nickelodeon Viacom Consumer Products, VBSi, Viacom Brand Solutions International and Comedy Central are all trading names of MTV Networks Europe. MTV Networks Europe is a partnership between MTV Networks Europe Inc. and Viacom Networks Europe Inc. Address for service in Great Britain is UK House, 180 Oxford Street, London W1D 1DS, UK. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From dennis at huenseler.net Fri Nov 7 13:34:18 2008 From: dennis at huenseler.net (=?UTF-8?Q?Dennis_H=C3=BCnseler?=) Date: Fri, 07 Nov 2008 13:34:18 +0100 Subject: =?utf-8?q?Turning_off_notification=5Fperiod_for_pi?= =?utf-8?q?ng?= In-Reply-To: References: Message-ID: <4b482fe36b42fb395a931cc6daaeee32@localhost> Additional to my first mail it is the same for service-templates and their notifications :-) On Fri, 7 Nov 2008 13:07:48 +0100, "Kenneth Holter" wrote: Hi. I have a few machines that are currently blocked by the firewall, which are reported "down" by Nagios. I'm pretty happy with having just _one_ notification of this kind of error, and would like to set the notification_period for this kind of check to "0". Problem is that I can't find the place where this is defined. Does anyone know this? I'm running Nagios 3.0.3. [1] Regards, Kenneth Holter Mit freundlichen Gren, Dennis Hnseler Links: ------ [1] http://3.0.3. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From smcafee at collaborativefusion.com Fri Nov 7 13:36:43 2008 From: smcafee at collaborativefusion.com (Sean McAfee) Date: Fri, 07 Nov 2008 07:36:43 -0500 Subject: changing display of service description without losing history In-Reply-To: <1226057475.869.175.camel@ana.amantes> References: <1225550799.8244.104.camel@ana.amantes> <4D217FF9-10B5-4DDE-B227-D5AF4A37FA8F@ena.com> <1226057475.869.175.camel@ana.amantes> Message-ID: <4914365B.1010907@collaborativefusion.com> Thomas Vander Stichele wrote: > (To repeat, the problem is 'making it clear which alarms are higher > priority so that when you have a 100 at a time you know what to work on > first') You could always have multiple notification templates that include the internal criticality level - i.e. ** PROBLEM Host Alert: Level 1: sample.host.com is DOWN ** - and use templates to assign them to hosts. It'd take about as much configuration as your idea and uses the pre-existing mechanisms to accomplish the same thing. -- Sean McAfee System Engineer Collaborative Fusion, Inc. smcafee at collaborativefusion.com 412-422-3463 x 4025 5849 Forbes Avenue Pittsburgh, PA 15217 **************************************************************** IMPORTANT: This message contains confidential information and is intended only for the individual named. If the reader of this message is not an intended recipient (or the individual responsible for the delivery of this message to an intended recipient), please be advised that any re-use, dissemination, distribution or copying of this message is prohibited. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. **************************************************************** IMPORTANT: This message contains confidential information and is intended only for the individual named. If the reader of this message is not an intended recipient (or the individual responsible for the delivery of this message to an intended recipient), please be advised that any re-use, dissemination, distribution or copying of this message is prohibited. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From lmeier at ajc.com Fri Nov 7 13:50:19 2008 From: lmeier at ajc.com (Layne Meier) Date: Fri, 7 Nov 2008 07:50:19 -0500 Subject: hosts.config In-Reply-To: <5d324b0972a093b86c55a8d7798af2ef@localhost> References: <995403B5-6AE1-4DFA-A054-9E8FB8C8432F@ajc.com> <5d324b0972a093b86c55a8d7798af2ef@localhost> Message-ID: <3D3775E4-5CCE-4C6A-9EF7-365ABEBD3369@ajc.com> Dennis - Thank you so much for your response. Can I use a mix of both individuals and contact groups when defining who should be contacted if a problem occurs? Layne Meier Atlanta Journal-Constitution A Cox Newspaper On Nov 7, 2008, at 2:21 AM, Dennis H?nseler wrote: Hi Layne, regarding the config you can configure contacts in stead of complete groups, but the keyword is contacts not contact as in your example :-) contacts: This is a list of the short names of the contacts that should be notified whenever there are problems (or recoveries) with this host. Multiple contacts should be separated by commas. Useful if you want notifications to go to just a few people and don't want to configure contact groups. You must specify at least one contact or contact group in each host definition. Regards, Dennis On Thu, 6 Nov 2008 10:54:35 -0500, Layne Meier wrote: I have a question for anyone that can answer this for me. From the documentation, in configuring a host, this is the example given: define host{ host_name bogus-router alias Bogus Router #1 address 192.168.1.254 parents server-backbone check_command check-host-alive max_check_attempts 5 check_period 24x7 process_perf_data 0 retain_nonstatus_information 0 contact_groups router-admins notification_interval 30 notification_period 24x7 notification_options d,u,r } In place of the contact_groups as being defined as router-admins, can you put the name of an actual person there (from the contacts.cfg) ie; define host{ host_name bogus-router alias Bogus Router #1 address 192.168.1.254 parents server-backbone check_command check-host-alive max_check_attempts 5 check_period 24x7 process_perf_data 0 retain_nonstatus_information 0 contact_groups lmeier notification_interval 30 notification_period 24x7 notification_options d,u,r } Or is there a different command that needs to go there: define host{ host_name bogus-router alias Bogus Router #1 address 192.168.1.254 parents server-backbone check_command check-host-alive max_check_attempts 5 check_period 24x7 process_perf_data 0 retain_nonstatus_information 0 contact lmeier notification_interval 30 notification_period 24x7 notification_options d,u,r } Thank you, Layne Meier Atlanta Journal-Constitution -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ae at op5.se Fri Nov 7 13:54:01 2008 From: ae at op5.se (Andreas Ericsson) Date: Fri, 07 Nov 2008 13:54:01 +0100 Subject: Nagios 3.0.5 suspect bug In-Reply-To: <4912B71A.7000904@newnet.co.uk> References: <4912B71A.7000904@newnet.co.uk> Message-ID: <49143A69.5090302@op5.se> Richard Savage wrote: > Hi all > > Have upgraded to the latest 3.0.5 release of nagios. There seems to be > a slight bug with it. > This bug is fixed, along with the CSRF issues recently discovered by Tim Starling in cmd.cgi. Try using the patched 3.0.5 version available at http://www.op5.org/src/nagios-3.0.5p1.tar.gz -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From sachin.holikar.ext at siemens.com Fri Nov 7 14:56:33 2008 From: sachin.holikar.ext at siemens.com (Holikar, Sachin (ext)) Date: Fri, 7 Nov 2008 14:56:33 +0100 Subject: Nagios Notifications In-Reply-To: References: <7AA76280EE25C04894E7E837D46D0AA701BFE9FC@bwga0m1a.ww001.siemens.net> Message-ID: <7AA76280EE25C04894E7E837D46D0AA701BFE9FE@bwga0m1a.ww001.siemens.net> Thanks it seems to be working. Never found any example of this sort. Thanks once again. - Sac ________________________________ From: Sotiroff, Kristian [mailto:Sotiroff.Kristian at mtvne.com] Sent: Freitag, 7. November 2008 13:33 To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagios Notifications please post back to the nagios userlist, rather than me. i have this for a period similar to what you want; define timeperiod{ timeperiod_name harris_reboot alias harris nightly reboot, skipping 2000 - 2200 sunday 00:00-20:00,22:00-24:00 monday 00:00-20:00,22:00-24:00 tuesday 00:00-20:00,22:00-24:00 wednesday 00:00-20:00,22:00-24:00 thursday 00:00-20:00,22:00-24:00 friday 00:00-20:00,22:00-24:00 saturday 00:00-20:00,22:00-24:00 } ________________________________ From: Holikar, Sachin (ext) [mailto:sachin.holikar.ext at siemens.com] Sent: 07 November 2008 12:29 To: Sotiroff, Kristian Subject: RE: [Nagios-users] Nagios Notifications That is what I was execting initially. I wrote "I have seen the timeperiod options but the examples only show the provision for holidays or so. Can we bypass lets say few hrs in between everyday??" If yes then how? I tried writing below templates but I'm sure its not perfect .. Intend to bypass 1 hr (from 6 AM to 7 AM) eeryday, I wrote 2 templates below, (System Name is Host12) define timeperiod{ name special timeperiod_name special alias special sunday 00:06-00:07 monday 00:06-00:07 tuesday 00:06-00:07 wednesday 00:06-00:07 thursday 00:06-00:07 friday 00:06-00:07 saturday 00:06-00:07 } define timeperiod{ name Host12_special timeperiod_name Host12_special use special alias Host12_special sunday 00:00-24:00 monday 00:00-24:00 tuesday 00:00-24:00 wednesday 00:00-24:00 thursday 00:00-24:00 friday 00:00-24:00 saturday 00:00-24:00 } ________________________________ From: Sotiroff, Kristian [mailto:Sotiroff.Kristian at mtvne.com] Sent: Freitag, 7. November 2008 12:51 To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagios Notifications in which case, its probably easier if you simply create a timeperiod in whcih you leave out the required hours, then have your service checks and / or notifications occurring during this time. ________________________________ From: Holikar, Sachin (ext) [mailto:sachin.holikar.ext at siemens.com] Sent: 07 November 2008 11:40 To: Sotiroff, Kristian Subject: RE: [Nagios-users] Nagios Notifications Thanks for the reply. Are you saying that if I simply copy paste the below code in a file called 'disable_active_service_checks' under eventhandlers directory , that should work?? And how do you actually change the STOP_EXECUTING_SERVICE_CHECKS to START_EXECUTING_SERVICE_CHECKS Little confused , bare with me. ________________________________ From: Sotiroff, Kristian [mailto:Sotiroff.Kristian at mtvne.com] Sent: Freitag, 7. November 2008 12:27 To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagios Notifications ________________________________ From: Holikar, Sachin (ext) [mailto:sachin.holikar.ext at siemens.com] Sent: 07 November 2008 11:20 To: Sotiroff, Kristian Subject: RE: [Nagios-users] Nagios Notifications Unfortunately we did not find any sample scripts under eventhandler directory. The directory specified in resource.cfg itself does not exist. Can you suggest ? <... snip....> have you installed the plugins? it comes with that i think. the scripts are pretty basic though. here is the 'disable_active_service_checks script: #!/bin/sh # Write a command to the Nagios command file to cause # it to disable active service checks. This can be # referred to as 'standby' mode in a redundant monitoring # environment. # Notes: # 1) This script is not intended to be used as an # event handler by itself. Instead, it is used by other # event handler scripts (like the redundancy examples). # 2) In order for Nagios to process any commands that # are written to the command file, you must enable # the check_external_commands option in the main # configuration file. echocmd="/bin/echo" CommandFile="/usr/local/nagios/var/rw/nagios.cmd" # get the current date/time in seconds since UNIX epoch datetime=`date +%s` # create the command line to add to the command file cmdline="[$datetime] STOP_EXECUTING_SERVICE_CHECKS" # append the command to the end of the command file `$echocmd $cmdline >> $CommandFile` in order to reenable them, simply change the STOP_EXECUTING_SERVICE_CHECKS to START_EXECUTING_SERVICE_CHECKS CONFIDENTIALITY NOTICE This e-mail (and any attached files) is confidential and protected by copyright (and other intellectual property rights). If you are not the intended recipient please e-mail the sender and then delete the email and any attached files immediately. Any further use or dissemination is prohibited. While MTV Networks Europe has taken steps to ensure that this email and any attachments are virus free, it is your responsibility to ensure that this message and any attachments are virus free and do not affect your systems / data. Communicating by email is not 100% secure and carries risks such as delay, data corruption, non-delivery, wrongful interception and unauthorised amendment. If you communicate with us by e-mail, you acknowledge and assume these risks, and you agree to take appropriate measures to minimise these risks when e-mailing us. MTV Networks International, MTV Networks UK & Ireland, Greenhouse, Nickelodeon Viacom Consumer Products, VBSi, Viacom Brand Solutions International and Comedy Central are all trading names of MTV Networks Europe. MTV Networks Europe is a partnership between MTV Networks Europe Inc. and Viacom Networks Europe Inc. Address for service in Great Britain is UK House, 180 Oxford Street, London W1D 1DS, UK. CONFIDENTIALITY NOTICE This e-mail (and any attached files) is confidential and protected by copyright (and other intellectual property rights). If you are not the intended recipient please e-mail the sender and then delete the email and any attached files immediately. Any further use or dissemination is prohibited. While MTV Networks Europe has taken steps to ensure that this email and any attachments are virus free, it is your responsibility to ensure that this message and any attachments are virus free and do not affect your systems / data. Communicating by email is not 100% secure and carries risks such as delay, data corruption, non-delivery, wrongful interception and unauthorised amendment. If you communicate with us by e-mail, you acknowledge and assume these risks, and you agree to take appropriate measures to minimise these risks when e-mailing us. MTV Networks International, MTV Networks UK & Ireland, Greenhouse, Nickelodeon Viacom Consumer Products, VBSi, Viacom Brand Solutions International and Comedy Central are all trading names of MTV Networks Europe. MTV Networks Europe is a partnership between MTV Networks Europe Inc. and Viacom Networks Europe Inc. Address for service in Great Britain is UK House, 180 Oxford Street, London W1D 1DS, UK. CONFIDENTIALITY NOTICE This e-mail (and any attached files) is confidential and protected by copyright (and other intellectual property rights). If you are not the intended recipient please e-mail the sender and then delete the email and any attached files immediately. Any further use or dissemination is prohibited. While MTV Networks Europe has taken steps to ensure that this email and any attachments are virus free, it is your responsibility to ensure that this message and any attachments are virus free and do not affect your systems / data. Communicating by email is not 100% secure and carries risks such as delay, data corruption, non-delivery, wrongful interception and unauthorised amendment. If you communicate with us by e-mail, you acknowledge and assume these risks, and you agree to take appropriate measures to minimise these risks when e-mailing us. MTV Networks International, MTV Networks UK & Ireland, Greenhouse, Nickelodeon Viacom Consumer Products, VBSi, Viacom Brand Solutions International and Comedy Central are all trading names of MTV Networks Europe. MTV Networks Europe is a partnership between MTV Networks Europe Inc. and Viacom Networks Europe Inc. Address for service in Great Britain is UK House, 180 Oxford Street, London W1D 1DS, UK. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ae at op5.se Fri Nov 7 15:07:45 2008 From: ae at op5.se (Andreas Ericsson) Date: Fri, 07 Nov 2008 15:07:45 +0100 Subject: Nagios retention problem. In-Reply-To: <9DFC8BEC38DA324391F4FC69634EE2B50110B21B@SEHAN014MB.tcad.telia.se> References: <9DFC8BEC38DA324391F4FC69634EE2B50110B21B@SEHAN014MB.tcad.telia.se> Message-ID: <49144BB1.6030703@op5.se> Markus.Almroth at teliasonera.com wrote: > I run a nagios installation with 522 servers and 4654 service checks. > > When adding or removing clients, it happens that about half or perhaps > 2/3 of the service checks loose all status retention. What is more > concerning is that they also go back to "initial state" eg Notifications > are turned off!! This is bad. > I'll clarify a bit here for history reasons, so that people reading the ML archives knows what's going on. I've gotten the details from our support staff. "Adding a client" in this case means the equivalent of running /etc/init.d/nagios reload or, in plaintext, sending SIGHUP to Nagios. > It does'nt happen every time, and it is'nt the same servers every time. > Does it happen with services or with hosts? If it's random, does it more usually happen with hosts/services that alphabetically sort last? Apart from that, I'll need some more info to properly determine what's going wrong here. What OS type/version are you using? 64 or 32-bit? Multi-processor or single? What version of glibc are you using (actually, what version of libpthread, but one can be inferred from the other)? If you're running this on VMWare on a guest-OS emulating multiple CPU's, I'm *guessing* you're running into an issue of Nagios not properly checking for received signals before starting to write the retention file, so the thread responsible for writing it gets killed by a signal delivered to the controller thread. If you're running Nagios in VMWare (a big nono as most know), this is more likely to happen. You could try sending the RESTART_PROCESS command to Nagios' command- file instead, but you probably want to stagger it a bit so you don't spam the poor FIFO in case you get lots of reload-requests at in a short timeframe, like touching a file and then reloading once every five minutes (from a cron-job) if the file exists (make sure to remove the file after restarting, or you'll be wasting cycles at a tremenduous rate). Needless to say, we don't have this problem and I haven't heard from anyone else that suffers from it either, which suggests to me that you're doing something that isn't quite normal. Having fired up our stress-test config (12000 hosts, 60000 services, running a plugin that emulates extremely skittish behaviour and submitting random commands every now and then) on one of our servers, I've failed to reproduce this problem. > Very strange. It seems to me like some kind of buffer overflow. It's not a buffer overflow. A buffer overflow would have left your system riddled with core-dumps and nagios would not have continued running after receiving the SIGHUP. > It started when I upgraded from 2.9 to 3.0.4. > Strange. Given that there are no changes in the core between 3.0.4 and 3.0.5, I don't think it's worth upgrading to see if that solves the problem (although you probably want to use 3.0.5, or the even more fixed 3.0.5p1 from http://www.op5.org/src/nagios-3.0.5p1.tar.gz anyway for the security fixes they add). If you figure out what it is, or if you can give me enough information to reproduce it, I'll see what I can do to fix this. We're just about to ship a release right now though, so I won't have time to do anything about it until monday at the earliest. Good luck. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From kenneho.ndu at gmail.com Fri Nov 7 15:12:58 2008 From: kenneho.ndu at gmail.com (Kenneth Holter) Date: Fri, 7 Nov 2008 15:12:58 +0100 Subject: Turning off notification_period for ping In-Reply-To: <4624e12db3425c1f62d6c826ab1001dc@localhost> References: <4624e12db3425c1f62d6c826ab1001dc@localhost> Message-ID: Thanks for the tip. I did mean notification_interval, and not notification_period. My mistake, thanks for pointing this out. I've changed the host template's notification_interval to "0", as this seems like a good enough solution at the moment. Thanks again. Regards, Kenneth On 11/7/08, Dennis H?nseler wrote: > > Hi Kenneth, > > it is normally defined in the Host-Template, so if you use the generic-host > template for example for this host you have to check this template for the > setting. But if you want this setting for several hosts that are behind a > firewall you should create a special host template for them and when you > know they will be reachable just change the host-template of the specific > host to the normal one. > > And the option you have to set to "0" is not natification_period it is * > notification_interval*, if this is set to "0" you only get one > notification. > > > > Regards, Dennis > > On Fri, 7 Nov 2008 13:07:48 +0100, "Kenneth Holter" > wrote: > > Hi. > > > I have a few machines that are currently blocked by the firewall, which are > reported "down" by Nagios. I'm pretty happy with having just _one_ > notification of this kind of error, and would like to set the > notification_period for this kind of check to "0". Problem is that I can't > find the place where this is defined. Does anyone know this? I'm running > Nagios 3.0.3. > > > Regards, > Kenneth Holter > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Markus.Almroth at teliasonera.com Fri Nov 7 15:52:32 2008 From: Markus.Almroth at teliasonera.com (Markus.Almroth at teliasonera.com) Date: Fri, 7 Nov 2008 15:52:32 +0100 Subject: Nagios retention problem. In-Reply-To: <49144BB1.6030703@op5.se> References: <9DFC8BEC38DA324391F4FC69634EE2B50110B21B@SEHAN014MB.tcad.telia.se> <49144BB1.6030703@op5.se> Message-ID: <9DFC8BEC38DA324391F4FC69634EE2B5012376AD@SEHAN014MB.tcad.telia.se> It seems only to happen vith services. It might be due to the fact that hosts comes first in the retention.dat file. Linux antnagios.sun.telia.se 2.6.9-42.0.2.ELsmp #1 SMP Thu Aug 17 18:00:32 EDT 2006 i686 athlon i386 GNU/Linux 32-bit. glibc-2.3.4-2.25 Running on a VM-Ware server, but only one CPU is emulated. I've tried restarting with kill -HUP or writing to the external commands file, but it still happens occasionly. Now I've changed to restart, we'll see what happens. My impression is that the problem occurs on startup rather than shutdown. I've set the retention_update_interval=0. Next time it happens I will check the contents of the retention.dat file to make sure all services is there, but I have a vague recollection they were before. My memory might mislead me though. As far as I can see, Nagios does not use the retained data when doing a restart (kill -HUP). It keeps the status.dat-file. (Line number 839 in nagios.c). As far as the reading of retention.dat, I don't really get the details of the mmap-file stuff. I will check how the reading is done next week. VMWare servers are as you know known for unreliable io. Maybe the read function does'nt check for errors. Yes service checks last in alphabetical order. What I meant with buffer overflow was like when you write commands to a named pipe faster than the reading process can handle it you might loose data. But I've checked, and noticed that the retention data is writen directly into the linked list inside Nagios. I was considering exactly what you suggest in touching a file and doing restarts from cron, but it does'nt seem to matter if there are many or few restarts. For a while I had the idea that the problem occured when doing a reload before the startup routines were finished. But then it happened again when doing a "single" reload, so it does'nt seem to be the case... I hav'nt been able to reproduce the problem with any reability either. It just happens every 10 or 20 reloads or so and of course - never when I want it to. The most annoying part of it is it has only happened in the production server. /Markus -----Original Message----- From: Andreas Ericsson [mailto:ae at op5.se] Sent: den 7 november 2008 15:08 To: Almroth, Markus M. Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagios retention problem. Markus.Almroth at teliasonera.com wrote: > I run a nagios installation with 522 servers and 4654 service checks. > > When adding or removing clients, it happens that about half or perhaps > 2/3 of the service checks loose all status retention. What is more > concerning is that they also go back to "initial state" eg > Notifications are turned off!! This is bad. > I'll clarify a bit here for history reasons, so that people reading the ML archives knows what's going on. I've gotten the details from our support staff. "Adding a client" in this case means the equivalent of running /etc/init.d/nagios reload or, in plaintext, sending SIGHUP to Nagios. > It does'nt happen every time, and it is'nt the same servers every time. > Does it happen with services or with hosts? If it's random, does it more usually happen with hosts/services that alphabetically sort last? Apart from that, I'll need some more info to properly determine what's going wrong here. What OS type/version are you using? 64 or 32-bit? Multi-processor or single? What version of glibc are you using (actually, what version of libpthread, but one can be inferred from the other)? If you're running this on VMWare on a guest-OS emulating multiple CPU's, I'm *guessing* you're running into an issue of Nagios not properly checking for received signals before starting to write the retention file, so the thread responsible for writing it gets killed by a signal delivered to the controller thread. If you're running Nagios in VMWare (a big nono as most know), this is more likely to happen. You could try sending the RESTART_PROCESS command to Nagios' command- file instead, but you probably want to stagger it a bit so you don't spam the poor FIFO in case you get lots of reload-requests at in a short timeframe, like touching a file and then reloading once every five minutes (from a cron-job) if the file exists (make sure to remove the file after restarting, or you'll be wasting cycles at a tremenduous rate). Needless to say, we don't have this problem and I haven't heard from anyone else that suffers from it either, which suggests to me that you're doing something that isn't quite normal. Having fired up our stress-test config (12000 hosts, 60000 services, running a plugin that emulates extremely skittish behaviour and submitting random commands every now and then) on one of our servers, I've failed to reproduce this problem. > Very strange. It seems to me like some kind of buffer overflow. It's not a buffer overflow. A buffer overflow would have left your system riddled with core-dumps and nagios would not have continued running after receiving the SIGHUP. > It started when I upgraded from 2.9 to 3.0.4. > Strange. Given that there are no changes in the core between 3.0.4 and 3.0.5, I don't think it's worth upgrading to see if that solves the problem (although you probably want to use 3.0.5, or the even more fixed 3.0.5p1 from http://www.op5.org/src/nagios-3.0.5p1.tar.gz anyway for the security fixes they add). If you figure out what it is, or if you can give me enough information to reproduce it, I'll see what I can do to fix this. We're just about to ship a release right now though, so I won't have time to do anything about it until monday at the earliest. Good luck. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From vicjalan at gmail.com Fri Nov 7 15:57:19 2008 From: vicjalan at gmail.com (Victor Lanza) Date: Fri, 7 Nov 2008 09:57:19 -0500 Subject: check_ssl_certificate Message-ID: Hi guys, I'm about go nuts here with this plugin. I'm running Fedora 8 with Nagios 3.0.1. I've installed the plugin I tested it via the CLI as follows: ./check_ssl_certificate -H 192.168.1.120 -c 7 -w 30 I get the following response: m=Nov, d=6, h=20, m=25, s=34, y=2009, z=GMT However when Nagios runs it, all I get is a big fat (null) on the interface with a critical state. I've changed my command file to look the following ways: define command{ command_name check_ssl command_line $USER1$/check_ssl_certificate -H $HOSTADDRESS$ -c $ARG1$ -w $ARG2$ } define command{ command_name check_ssl command_line $USER1$/check_ssl_certificate -H $HOSTADDRESS$ -c 7 -w 30 } define command{ command_name check_ssl command_line $USER1$/check_ssl_certificate -H 192.168.1.120 -c 7 -w 30 } None of which has worked, any way I put it, I still get a (null) output in the Nagios interface. It works in the CLI under both the root and nagios user. I really preferred this plugin because it allows me to specifiy a warning and critical criteria. Has anyone had any luck using it or has some insight into what I may be doing wrong? -- Thanks in Advance, Victor Lanza -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marcelo.maia.garcia at googlemail.com Fri Nov 7 16:13:44 2008 From: marcelo.maia.garcia at googlemail.com (Marcelo M. Garcia) Date: Fri, 07 Nov 2008 15:13:44 +0000 Subject: Should 'nagios.conf' generated automatically? Message-ID: <49145B28.6080007@googlemail.com> Hi I'm installing nagios-3.0.5 from the source in a CentOS-5.2 (x86) machine and I was wondering if the Apache configuration file "nagios.conf" should be generated by the system or if I have to write by hand. Thanks Marcelo ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Sascha.Runschke at gfkl.com Fri Nov 7 16:38:07 2008 From: Sascha.Runschke at gfkl.com (Sascha.Runschke at gfkl.com) Date: Fri, 7 Nov 2008 16:38:07 +0100 Subject: Antwort: Should 'nagios.conf' generated automatically? In-Reply-To: <49145B28.6080007@googlemail.com> References: <49145B28.6080007@googlemail.com> Message-ID: "Marcelo M. Garcia" schrieb am 07.11.2008 16:13:44: > I'm installing nagios-3.0.5 from the source in a CentOS-5.2 (x86) > machine and I was wondering if the Apache configuration file > "nagios.conf" should be generated by the system or if I have to write by > hand. What wrong with "make install-webconf"? Regards Sascha -- Sascha Runschke IT-Infrastruktur fon : +49 (201) / 102-1879 fax : +49 (201) / 102-1102105 mobil : +49 (173) / 5419665 GFKL Financial Services AG Vorstand: Dr. Peter J?nsch (Vors.), J?rgen Baltes, Dr. Till Ergenzinger, Dr. Tom Haverkamp Vorsitzender des Aufsichtsrats: Dr. Georg F. Thoma Sitz: Limbecker Platz 1, 45127 Essen, Amtsgericht Essen, HRB 13522 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From palleje at gmail.com Fri Nov 7 18:13:25 2008 From: palleje at gmail.com (Palle L Jensen) Date: Fri, 7 Nov 2008 12:13:25 -0500 Subject: USB Disconnect check? In-Reply-To: References: <49145B28.6080007@googlemail.com> Message-ID: <97E26ED880F54C0485E0507D9967AE7D@na.dsmain.com> Hey Nagios Users, Here's probably a very unusual question, but does anyone know if it is possible (using NSCLient++) to monitor USB port(s). What we would need to see (get alert) is when the device (headset) is being unplugged/plugged in. This is a call center and we are using VOIP, the agents found out that they can get some extra slack by unplugging the headset and drop the call. This monitoring would take place on workstation(s) running Win XP Pro. We are using NSCLient++ for our monitoring here. I've googled and checked forums and found nada. Thanks, Palle -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From scarolan at gmail.com Fri Nov 7 18:18:35 2008 From: scarolan at gmail.com (Sean Carolan) Date: Fri, 7 Nov 2008 11:18:35 -0600 Subject: Add hostgroup to servicegroup? Message-ID: <277020fc0811070918u37b33e49na2e9ca2e6facc200@mail.gmail.com> Why can't you add an entire hostgroup to servicegroup? As it stands I would have to maintain an entire list of hosts for each service group, something I'm not keen on doing. It would be so much easier if we could just drop the hostgroup name into the servicegroup definition and be done with it. Is this planned for a future version of Nagios? ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Aaron.Segura at cabelas.com Fri Nov 7 18:39:23 2008 From: Aaron.Segura at cabelas.com (Aaron Segura) Date: Fri, 7 Nov 2008 10:39:23 -0700 Subject: USB Disconnect check? In-Reply-To: <97E26ED880F54C0485E0507D9967AE7D@na.dsmain.com> References: <49145B28.6080007@googlemail.com> <97E26ED880F54C0485E0507D9967AE7D@na.dsmain.com> Message-ID: Did you check to see if the [dis]connects are logged in the event log? Being ignorant of most things windows, I couldn't tell you, but I would bet they are, and they could be monitored via the log. ________________________________ From: Palle L Jensen [mailto:palleje at gmail.com] Sent: Friday, November 07, 2008 10:13 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] USB Disconnect check? Hey Nagios Users, Here's probably a very unusual question, but does anyone know if it is possible (using NSCLient++) to monitor USB port(s). What we would need to see (get alert) is when the device (headset) is being unplugged/plugged in. This is a call center and we are using VOIP, the agents found out that they can get some extra slack by unplugging the headset and drop the call. This monitoring would take place on workstation(s) running Win XP Pro. We are using NSCLient++ for our monitoring here. I've googled and checked forums and found nada. Thanks, Palle -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From thomas at apestaart.org Fri Nov 7 18:53:21 2008 From: thomas at apestaart.org (Thomas Vander Stichele) Date: Fri, 07 Nov 2008 18:53:21 +0100 Subject: changing display of service description without losing history In-Reply-To: <4914365B.1010907@collaborativefusion.com> References: <1225550799.8244.104.camel@ana.amantes> <4D217FF9-10B5-4DDE-B227-D5AF4A37FA8F@ena.com> <1226057475.869.175.camel@ana.amantes> <4914365B.1010907@collaborativefusion.com> Message-ID: <1226080401.869.202.camel@ana.amantes> On Fri, 2008-11-07 at 07:36 -0500, Sean McAfee wrote: > Thomas Vander Stichele wrote: > > (To repeat, the problem is 'making it clear which alarms are higher > > priority so that when you have a 100 at a time you know what to work on > > first') > You could always have multiple notification templates that include the > internal criticality level - i.e. ** PROBLEM Host Alert: Level 1: > sample.host.com is DOWN ** - and use templates to assign them to hosts. > It'd take about as much configuration as your idea and uses the > pre-existing mechanisms to accomplish the same thing. How would this work in the web interface ? My current system of changing the service_description allows me to sort all alarms and get them sorted by priority. As far as I understand what you said, your solution only applies to the email/sms notifications, no ? Thomas -- slips her dress like a fly to the floor hands in the sky surrenders it all -- Flumotion - the only way to stream! http://www.flumotion.net/ ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From israel at frontierflying.com Fri Nov 7 19:03:10 2008 From: israel at frontierflying.com (Israel Brewster) Date: Fri, 7 Nov 2008 09:03:10 -0900 Subject: Add hostgroup to servicegroup? In-Reply-To: <277020fc0811070918u37b33e49na2e9ca2e6facc200@mail.gmail.com> References: <277020fc0811070918u37b33e49na2e9ca2e6facc200@mail.gmail.com> Message-ID: On Nov 7, 2008, at 8:18 AM, Sean Carolan wrote: > Why can't you add an entire hostgroup to servicegroup? As it stands I > would have to maintain an entire list of hosts for each service group, > something I'm not keen on doing. It would be so much easier if we > could just drop the hostgroup name into the servicegroup definition > and be done with it. Is this planned for a future version of Nagios? Well, you can at least add an entire hostgroup to a service using the hostgroup_name directive in the service definition - perhaps this would work? Granted, you would still need to add the hostgroup to each individual service in the servicegroup, but I would think this would still be better than adding/maintaining an entire list of hosts for each servicegroup. ----------------------------------------------- Israel Brewster Computer Support Technician Frontier Flying Service Inc. 5245 Airport Industrial Rd Fairbanks, AK 99709 (907) 450-7250 x293 ----------------------------------------------- > > > ------------------------------------------------------------------------- > 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=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From smcafee at collaborativefusion.com Fri Nov 7 19:20:27 2008 From: smcafee at collaborativefusion.com (Sean McAfee) Date: Fri, 07 Nov 2008 13:20:27 -0500 Subject: changing display of service description without losing history In-Reply-To: <1226080401.869.202.camel@ana.amantes> References: <1225550799.8244.104.camel@ana.amantes> <4D217FF9-10B5-4DDE-B227-D5AF4A37FA8F@ena.com> <1226057475.869.175.camel@ana.amantes> <4914365B.1010907@collaborativefusion.com> <1226080401.869.202.camel@ana.amantes> Message-ID: <491486EB.3020005@collaborativefusion.com> Thomas Vander Stichele wrote: > > How would this work in the web interface ? My current system of changing > the service_description allows me to sort all alarms and get them sorted > by priority. > > As far as I understand what you said, your solution only applies to the > email/sms notifications, no ? You're right - I respond out of my notifications folder so I didn't think it through the whole way. -- Sean McAfee System Engineer Collaborative Fusion, Inc. smcafee at collaborativefusion.com 412-422-3463 x 4025 5849 Forbes Avenue Pittsburgh, PA 15217 **************************************************************** IMPORTANT: This message contains confidential information and is intended only for the individual named. If the reader of this message is not an intended recipient (or the individual responsible for the delivery of this message to an intended recipient), please be advised that any re-use, dissemination, distribution or copying of this message is prohibited. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. **************************************************************** IMPORTANT: This message contains confidential information and is intended only for the individual named. If the reader of this message is not an intended recipient (or the individual responsible for the delivery of this message to an intended recipient), please be advised that any re-use, dissemination, distribution or copying of this message is prohibited. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From vicjalan at gmail.com Fri Nov 7 19:37:26 2008 From: vicjalan at gmail.com (Victor Lanza) Date: Fri, 7 Nov 2008 13:37:26 -0500 Subject: check_ssl_certificate In-Reply-To: <36141.65.161.127.93.1226073564.squirrel@ameliaschools.com> References: <36141.65.161.127.93.1226073564.squirrel@ameliaschools.com> Message-ID: Thanks for your suggestion Bo, however I tried that and it did not work. On Fri, Nov 7, 2008 at 10:59 AM, Bo Lynch wrote: > On Fri, November 7, 2008 9:57 am, Victor Lanza wrote: > > Hi guys, I'm about go nuts here with this plugin. I'm running Fedora 8 > > with > > Nagios 3.0.1. > > > > I've installed the plugin I tested it via the CLI as follows: > > ./check_ssl_certificate -H 192.168.1.120 -c 7 -w 30 > > > > I get the following response: > > > > m=Nov, d=6, h=20, m=25, s=34, y=2009, z=GMT > > > > However when Nagios runs it, all I get is a big fat (null) on the > > interface > > with a critical state. > > > > I've changed my command file to look the following ways: > > define command{ > > command_name check_ssl > > command_line $USER1$/check_ssl_certificate -H > > $HOSTADDRESS$ -c $ARG1$ -w $ARG2$ > > } > > > > define command{ > > command_name check_ssl > > command_line $USER1$/check_ssl_certificate -H $HOSTADDRESS$ -c > > 7 > > -w 30 > > } > > > > define command{ > > command_name check_ssl > > command_line $USER1$/check_ssl_certificate -H 192.168.1.120-c > > 7 > > -w 30 > > } > > > > None of which has worked, any way I put it, I still get a (null) output > in > > the Nagios interface. It works in the CLI under both the root and nagios > > user. I really preferred this plugin because it allows me to specifiy a > > warning and critical criteria. Has anyone had any luck using it or has > > some > > insight into what I may be doing wrong? > > > > -- > > Thanks in Advance, > > > > Victor Lanza > > > Try using -H $ARG1$ instead of -H $HOSTADDRESS$. > I had a similar problem with a different plugin and that got it working. > Hopefully this will be the case for you as well. > > Bo > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From vicjalan at gmail.com Fri Nov 7 20:17:47 2008 From: vicjalan at gmail.com (Victor Lanza) Date: Fri, 7 Nov 2008 14:17:47 -0500 Subject: check_ssl_certificate In-Reply-To: References: <36141.65.161.127.93.1226073564.squirrel@ameliaschools.com> Message-ID: On Fri, Nov 7, 2008 at 1:37 PM, Victor Lanza wrote: > Thanks for your suggestion Bo, however I tried that and it did not work. > > > > > On Fri, Nov 7, 2008 at 10:59 AM, Bo Lynch wrote: > >> On Fri, November 7, 2008 9:57 am, Victor Lanza wrote: >> > Hi guys, I'm about go nuts here with this plugin. I'm running Fedora 8 >> > with >> > Nagios 3.0.1. >> > >> > I've installed the plugin I tested it via the CLI as follows: >> > ./check_ssl_certificate -H 192.168.1.120 -c 7 -w 30 >> > >> > I get the following response: >> > >> > m=Nov, d=6, h=20, m=25, s=34, y=2009, z=GMT >> > >> > However when Nagios runs it, all I get is a big fat (null) on the >> > interface >> > with a critical state. >> > >> > I've changed my command file to look the following ways: >> > define command{ >> > command_name check_ssl >> > command_line $USER1$/check_ssl_certificate -H >> > $HOSTADDRESS$ -c $ARG1$ -w $ARG2$ >> > } >> > >> > define command{ >> > command_name check_ssl >> > command_line $USER1$/check_ssl_certificate -H $HOSTADDRESS$ >> -c >> > 7 >> > -w 30 >> > } >> > >> > define command{ >> > command_name check_ssl >> > command_line $USER1$/check_ssl_certificate -H 192.168.1.120-c >> > 7 >> > -w 30 >> > } >> > >> > None of which has worked, any way I put it, I still get a (null) output >> in >> > the Nagios interface. It works in the CLI under both the root and nagios >> > user. I really preferred this plugin because it allows me to specifiy a >> > warning and critical criteria. Has anyone had any luck using it or has >> > some >> > insight into what I may be doing wrong? >> > >> > -- >> > Thanks in Advance, >> > >> > Victor Lanza >> >> >> Try using -H $ARG1$ instead of -H $HOSTADDRESS$. >> I had a similar problem with a different plugin and that got it working. >> Hopefully this will be the case for you as well. >> >> Bo >> >> > > I got it! The plugin check_ssl_certificate that I downloaded had installation instructions inside the code. I would have thought I would need to look in there for that but in any case the solution was there. The script needed to know the path of the nagios plugins directory and by default it had "usr/lib/nagios/plugins". I changed it to the correct path to the plugins and it worked. Hopes this helps any one else out there. -- Best Regards, Victor Lanza -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From webknowledge at gmail.com Fri Nov 7 21:17:20 2008 From: webknowledge at gmail.com (Marcel) Date: Fri, 7 Nov 2008 18:17:20 -0200 Subject: Ubuntu and FreeBSD Server In-Reply-To: References: <5f73c2b50811040323m31109f37v9e0bc64ee673ef2b@mail.gmail.com> <5f73c2b50811042224y7f854e7am7adf1bdfb451a75f@mail.gmail.com> Message-ID: <2dfcbd1b0811071217s1e1cff01w8f3ae1a44254fd58@mail.gmail.com> Have you pointed a browser to /nagios ? On Wed, Nov 5, 2008 at 6:04 AM, Traiano Welcome wrote: > Hi Renato > > Please could you send us the output of a telnet from an Ubuntu machine to > the freebsd Apache port? Your issue *may* be related to a tcp window-scaling > issue that sometimes manifests between Ubuntu/Debian boxes and some > operating system versions. > > Thanks, > Traiano Welcome > Network Monitoring Services > Tertiary Education and Research Network of South Africa > > > > -----Original Message----- > From: Renato Casagrande J?nior [mailto:renato.casagrande.jr at gmail.com > ] > Sent: Wed 11/5/2008 8:24 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Ubuntu and FreeBSD Server > > Hello!! > People, I have already installed Nagios on FreeBSD Server. My diffcult is > access it using Ubuntu 7.10 software. I think my problem is in Apache. For > example: there is one server (FreeBSD) and 80 PCs (Ubuntu 7.10). I am not > getting access Nagios from Ubuntu's PCs. > Anyone can help me? > > Tnks a lot!! ;) > > -- > Renato Casagrande J?nior > Graduando em Engenharia de Computa??o - Furg > Bolsista do Laborat?rio de Software da Engenharia de Computa??o - Furg > Furg - Universidade Federal do Rio Grande - > > > ------------------------------------------------------------------------- > 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=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From usrbin at gmail.com Fri Nov 7 22:47:05 2008 From: usrbin at gmail.com (Jim Bala) Date: Fri, 7 Nov 2008 13:47:05 -0800 Subject: Hostname resolution errors on Mac OS X 10.5 and Nagios 1.x and 3.x Message-ID: <337fb9240811071347p65a76a6fwf52b42e49f7ffb4a@mail.gmail.com> OS: OS X 10.5.5 Server (all updates applied; problem also occurs under 10.5.4) Nagios: two instances on same machine, one is 1.8 and the other is 3.0.5 (transitioning from 1 to 3) The really, really short version of this problem: If I start, or restart, Nagios via cron or system startup scripts during a boot cycle, no problems. If I start, or restart, Nagios from a root shell -- and do not log out of that shell, no problems. If I start, or restart, Nagios from a root shell -- and then log out after X minutes (where X, so far, is any value greater than 0) -- several service checks shortly begin to fail with invalid hostname/IP errors. They will continue to fail indefinitely, until Nagios is restarted. The problem cannot be reproduced manually, by running the same check commands that Nagios is running; it happens only when Nagios runs the commands itself. The checks that are currently exhibiting this problem run on the Nagios server itself. Those that run on the remote clients (regardless of OS X version) do not exhibit the problem. Any suggestions or helpful wild-as_ guesses from anyone? :) Thank you. -Jim ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Roger at nagioswiki.com Sat Nov 8 07:07:59 2008 From: Roger at nagioswiki.com (Roger) Date: Fri, 7 Nov 2008 22:07:59 -0800 Subject: cool Nagios + DNX tutorial Message-ID: <2b7af7c40811072207k661f8002n52783082c48aa69d@mail.gmail.com> My buddy Pat at Petta Tech just put up a great DNX + Nagios tutorial http://nagioswiki.com/wiki/index.php/Nagios_%2B_DNX He did a good job of documenting how he worked out the various kinks. He's running about 5000 checks on 800 hosts, and the servers that have this running are HP DL360 G5s, dual quad cores, and 16Gb of RAM -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From thenoob06 at gmail.com Sat Nov 8 15:06:29 2008 From: thenoob06 at gmail.com (The Noob) Date: Sat, 8 Nov 2008 15:06:29 +0100 Subject: check_ping modify output In-Reply-To: <491295ED.20409@process-zero.de> References: <9263743c0811050752s3df7af8clbedb0948c08a414b@mail.gmail.com> <491295ED.20409@process-zero.de> Message-ID: <9263743c0811080606m51c6e2d7k5c07af1741e0b090@mail.gmail.com> Hello, Before your answer , I decided to do a perl script which can do what I want for my job. But I like your idea and I try to modify the actual source code of check_ping I am a total Noob in C/C++ but I try to do this (based on check_ping nagios-plugins-1.4.13). It is sure Developers Masters in C/C++ will improve it. I add three options: -C for Critical Output Message -W for Warning Output Message -O for OK Output Message I do some tests with my modified plugin check_ping: Before: [root at localhost plugins]# ./check_ping -H 127.0.0.1 -w 100.0,20% -c 500.0,60% -p 2 PING OK - Packet loss = 0%, RTA = 0.07 ms|rta=0.066000ms;100.000000;500.000000;0.000000 pl=0%;20;60;0 After: [root at localhost plugins]# ./check_ping -H 127.0.0.1 -w 100.0,20% -c 500.0,60% -p 2 -O CUSTOM_MESSAGE_OK -C CUSTOM_MESSAGE_CRITICAL -W WARNING_MESSAGE CUSTOM_MESSAGE_OK|rta=0.103000ms;100.000000;500.000000;0.000000 pl=0%;20;60;0 Before: [root at localhost plugins]# ./check_ping -H 128.0.0.1 -w 100.0,20% -c 500.0,60% -p 2 PING CRITICAL - Packet loss = 100%|rta=500.000000ms;100.000000;500.000000;0.000000 pl=100%;20;60;0 After: [root at localhost plugins]# ./check_ping -H 128.0.0.1 -w 100.0,20% -c 500.0,60% -p 2 -O CUSTOM_MESSAGE_OK -C CUSTOM_MESSAGE_CRITICAL -W WARNING_MESSAGE CUSTOM_MESSAGE_CRITICAL|rta=500.000000ms;100.000000;500.000000;0.000000 pl=100%;20;60;0 Now for warning messages( tested with iptables which block some icmp packets..): [root at localhost plugins]# ./check_ping -H 192.168.0.4 -w 100.0,20% -c 500.0,60% -p 10 -O CUSTOM_MESSAGE_OK -C CUSTOM_MESSAGE_CRITICAL -W WARNING_MESSAGE WARNING_MESSAGE|rta=1.212000ms;100.000000;500.000000;0.000000 pl=16%;20;60;0 I hope this script can help some of you. You can found the diff at the end of my email. Best Regards TheNoob 74a75,77 > char *critical_output; > char *ok_output; > char *warning_output; 160,162c163,168 < if (pl == 100) < printf (_("PING %s - %sPacket loss = %d%%"), state_text (this_result), warn_text, < pl); --- > if (pl == 100) { > if (critical_output != NULL) > printf(_(critical_output)); > else > printf (_("PING %s - %sPacket loss = %d%%"), state_text (this_result), warn_text,pl); > } 164c170,175 < printf (_("PING %s - %sPacket loss = %d%%, RTA = %2.2f ms"), --- > if ((ok_output != NULL) && (state_text (this_result) == "OK")) > printf(_(ok_output)); > else if ((warning_output != NULL) && (state_text (this_result) == "WARNING")) > printf(_(warning_output)); > else > printf (_("PING %s - %sPacket loss = %d%%, RTA = %2.2f ms"), 221c232 < c = getopt_long (argc, argv, "VvhnL46t:c:w:H:p:", longopts, &option); --- > c = getopt_long (argc, argv, "VvhnL46t:c:w:H:p:C:O:W:", longopts, &option); 289a301,309 > case 'C': > critical_output=optarg; > break; > case 'O': > ok_output=optarg; > break; > case 'W': > warning_output=optarg; > break; 584a605,607 > printf (" %s\n", "-C, Critical Output Message"); > printf (" %s\n", "-O, OK Output Message"); > printf (" %s\n", "-W, Warning Output Message"); 2008/11/6 Hendrik B??cker > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Little OT but: > > Aaron Segura schrieb: > > 1) Get the source > > > > 2) Modify > > > > 3) Compile > > > > 4) ?. > > > > 5) Profit! > > > > > 6) Share it back with the community ;) > > If it's nice enough send a unified patch file to the nagiosplugs-devel > list, may be it's going upstream? > > - - > Hendrik > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.8 (Darwin) > > iEYEARECAAYFAkkSle0ACgkQlI0PwfxLQjkmyQCfXx2rXlxkz8357NNLxuzASkM4 > c/wAoIN3Meno8l5Fnptki9S+tsEmWQW9 > =JaT7 > -----END PGP SIGNATURE----- > > ------------------------------------------------------------------------- > 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=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ae at op5.se Sat Nov 8 15:59:11 2008 From: ae at op5.se (Andreas Ericsson) Date: Sat, 08 Nov 2008 15:59:11 +0100 Subject: Add hostgroup to servicegroup? In-Reply-To: <277020fc0811070918u37b33e49na2e9ca2e6facc200@mail.gmail.com> References: <277020fc0811070918u37b33e49na2e9ca2e6facc200@mail.gmail.com> Message-ID: <4915A93F.3050607@op5.se> Sean Carolan wrote: > Why can't you add an entire hostgroup to servicegroup? As it stands I > would have to maintain an entire list of hosts for each service group, > something I'm not keen on doing. It would be so much easier if we > could just drop the hostgroup name into the servicegroup definition > and be done with it. Is this planned for a future version of Nagios? > You can define your service like this: define service{ service_description foo hostgroup_name bar servicegroups baz } If that doesn't satisfy your needs, you'll have to clarify your question. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ae at op5.se Sat Nov 8 16:01:02 2008 From: ae at op5.se (Andreas Ericsson) Date: Sat, 08 Nov 2008 16:01:02 +0100 Subject: cool Nagios + DNX tutorial In-Reply-To: <2b7af7c40811072207k661f8002n52783082c48aa69d@mail.gmail.com> References: <2b7af7c40811072207k661f8002n52783082c48aa69d@mail.gmail.com> Message-ID: <4915A9AE.2070300@op5.se> Roger wrote: > My buddy Pat at Petta Tech just put up a great DNX + Nagios tutorial > > http://nagioswiki.com/wiki/index.php/Nagios_%2B_DNX > > He did a good job of documenting how he worked out the various kinks. He's > running about 5000 checks on 800 hosts, and the servers that have this > running are HP DL360 G5s, dual quad cores, and 16Gb of RAM > Unless he's running that on a very short interval, I really don't think he needs DNX for that. We have customers running up to 1300 hosts and 12000 checks on dual quadcores with 8GB of RAM and no sweat. Even so, thanks for the links :) -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jpaulus at sourceinterlink.com Sat Nov 8 17:09:35 2008 From: jpaulus at sourceinterlink.com (Paulus, Jake) Date: Sat, 8 Nov 2008 11:09:35 -0500 Subject: cool Nagios + DNX tutorial In-Reply-To: <2b7af7c40811072207k661f8002n52783082c48aa69d@mail.gmail.com> References: <2b7af7c40811072207k661f8002n52783082c48aa69d@mail.gmail.com> Message-ID: <79B77295FBC9F247A32A6C98B67B1E1408BE80@srv-1exch01.sourceinterlink.com> Thank your buddy Pat for me. Even when something turns out to be relatively simple (as the steps in the article lead me to believe is the case for this example) it is always helpful to see a how-to lay out some steps to follow. For me, it shows how much work is involved and more easily allows me to decide whether the cost/benefit ratio hits the sweet spot for the project to get onto my to-do list. One note: Pat might find the following link useful to help finish the Files section: http://nagioswiki.com/wiki/index.php/Special:Upload (consider help sent :-) ) Thanks, -Jake ________________________________ From: Roger [mailto:Roger at nagioswiki.com] Sent: Saturday, November 08, 2008 1:08 AM To: Nagios Users Mailinglist Subject: [Nagios-users] cool Nagios + DNX tutorial My buddy Pat at Petta Tech just put up a great DNX + Nagios tutorial http://nagioswiki.com/wiki/index.php/Nagios_%2B_DNX He did a good job of documenting how he worked out the various kinks. He's running about 5000 checks on 800 hosts, and the servers that have this running are HP DL360 G5s, dual quad cores, and 16Gb of RAM -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From service at shdawson.com Sat Nov 8 17:27:54 2008 From: service at shdawson.com (Stephen H. Dawson) Date: Sat, 8 Nov 2008 11:27:54 -0500 Subject: cool Nagios + DNX tutorial In-Reply-To: <79B77295FBC9F247A32A6C98B67B1E1408BE80@srv-1exch01.sourceinterlink.com> References: <2b7af7c40811072207k661f8002n52783082c48aa69d@mail.gmail.com> <79B77295FBC9F247A32A6C98B67B1E1408BE80@srv-1exch01.sourceinterlink.com> Message-ID: Ditto. This format works best for me an my way of thinking/processing as well. S _____ From: Paulus, Jake [mailto:jpaulus at sourceinterlink.com] Sent: Saturday, November 08, 2008 11:10 EST To: Roger; Nagios Users Mailinglist Subject: Re: [Nagios-users] cool Nagios + DNX tutorial Thank your buddy Pat for me. Even when something turns out to be relatively simple (as the steps in the article lead me to believe is the case for this example) it is always helpful to see a how-to lay out some steps to follow. For me, it shows how much work is involved and more easily allows me to decide whether the cost/benefit ratio hits the sweet spot for the project to get onto my to-do list. One note: Pat might find the following link useful to help finish the Files section: http://nagioswiki.com/wiki/index.php/Special:Upload (consider help sent :-) ) Thanks, -Jake _____ From: Roger [mailto:Roger at nagioswiki.com] Sent: Saturday, November 08, 2008 1:08 AM To: Nagios Users Mailinglist Subject: [Nagios-users] cool Nagios + DNX tutorial My buddy Pat at Petta Tech just put up a great DNX + Nagios tutorial http://nagioswiki.com/wiki/index.php/Nagios_%2B_DNX He did a good job of documenting how he worked out the various kinks. He's running about 5000 checks on 800 hosts, and the servers that have this running are HP DL360 G5s, dual quad cores, and 16Gb of RAM -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From klausman at schwarzvogel.de Sat Nov 8 18:34:18 2008 From: klausman at schwarzvogel.de (Tobias Klausmann) Date: Sat, 8 Nov 2008 18:34:18 +0100 Subject: cool Nagios + DNX tutorial In-Reply-To: <2b7af7c40811072207k661f8002n52783082c48aa69d@mail.gmail.com> References: <2b7af7c40811072207k661f8002n52783082c48aa69d@mail.gmail.com> Message-ID: <20081108173418.GA15696@eric.schwarzvogel.de> Hi! On Fri, 07 Nov 2008, Roger wrote: > My buddy Pat at Petta Tech just put up a great DNX + Nagios tutorial > > http://nagioswiki.com/wiki/index.php/Nagios_%2B_DNX > > He did a good job of documenting how he worked out the various kinks. He's > running about 5000 checks on 800 hosts, and the servers that have this > running are HP DL360 G5s, dual quad cores, and 16Gb of RAM He touches upon one thing that's a real showstopper for me with DNX: it's pretty much unusable on 64-bit systems/installations. Apart from that I *really* like it, since it makes a distributed setup feasible (NSCA et al fall very short on that front). Are the DNX devs reading along here? If yes: are there plans to make it work on amd64? I'm willing to do some testing if that's needed. Regards, Tobias -- Yesterday upon the stair, I saw a man who wasn't there. He wasn't there again today, I think he's from the CIA. ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ae at op5.se Sun Nov 9 11:24:09 2008 From: ae at op5.se (Andreas Ericsson) Date: Sun, 09 Nov 2008 11:24:09 +0100 Subject: cool Nagios + DNX tutorial In-Reply-To: <20081108173418.GA15696@eric.schwarzvogel.de> References: <2b7af7c40811072207k661f8002n52783082c48aa69d@mail.gmail.com> <20081108173418.GA15696@eric.schwarzvogel.de> Message-ID: <4916BA49.2000406@op5.se> Tobias Klausmann wrote: > Hi! > > On Fri, 07 Nov 2008, Roger wrote: >> My buddy Pat at Petta Tech just put up a great DNX + Nagios tutorial >> >> http://nagioswiki.com/wiki/index.php/Nagios_%2B_DNX >> >> He did a good job of documenting how he worked out the various kinks. He's >> running about 5000 checks on 800 hosts, and the servers that have this >> running are HP DL360 G5s, dual quad cores, and 16Gb of RAM > > He touches upon one thing that's a real showstopper for me with > DNX: it's pretty much unusable on 64-bit systems/installations. > > Apart from that I *really* like it, since it makes a distributed > setup feasible (NSCA et al fall very short on that front). > > Are the DNX devs reading along here? If yes: are there plans to > make it work on amd64? I'm willing to do some testing if that's > needed. > Try pnsca. It removes the fork()-bomb related performance problems with nsca. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marcelo.maia.garcia at googlemail.com Sun Nov 9 12:13:51 2008 From: marcelo.maia.garcia at googlemail.com (Marcelo M. Garcia) Date: Sun, 09 Nov 2008 11:13:51 +0000 Subject: Antwort: Should 'nagios.conf' generated automatically? In-Reply-To: References: Message-ID: <4916C5EF.8040205@googlemail.com> Sascha.Runschke at gfkl.com wrote: > > "Marcelo M. Garcia" schrieb am > 07.11.2008 16:13:44: > > > I'm installing nagios-3.0.5 from the source in a CentOS-5.2 (x86) > > machine and I was wondering if the Apache configuration file > > "nagios.conf" should be generated by the system or if I have to write by > > hand. > > What wrong with "make install-webconf"? > > Regards > Sascha > Hi Thanks for that, it solved the problem. Is this option new in Nagios 3? Regards Marcelo ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From klausman at schwarzvogel.de Sun Nov 9 13:05:00 2008 From: klausman at schwarzvogel.de (Tobias Klausmann) Date: Sun, 9 Nov 2008 13:05:00 +0100 Subject: cool Nagios + DNX tutorial In-Reply-To: <4916BA49.2000406@op5.se> References: <2b7af7c40811072207k661f8002n52783082c48aa69d@mail.gmail.com> <20081108173418.GA15696@eric.schwarzvogel.de> <4916BA49.2000406@op5.se> Message-ID: <20081109120500.GA26694@eric.schwarzvogel.de> Hi! On Sun, 09 Nov 2008, Andreas Ericsson wrote: > Tobias Klausmann wrote: > > Apart from that I *really* like it, since it makes a distributed > > setup feasible (NSCA et al fall very short on that front). > > Try pnsca. It removes the fork()-bomb related performance problems with > nsca. The problem I/we have with NSCA is not that of performance. We provide Nagios services to a large-ish user base (>100 users). As a result, a single user interface for those users is a must. With NSCA, said UI is degraded: you can't reschedule a check or disable checking entirely from the central machine, since there is no backchannel to the checking nodes. Also, the UI is very misleading with purely passive checks on the central machines: it looks like all checks are disabled *entirely* in the web interface (this could be fixed by hacking the CGIs). DNX' approach with "dishing out" checks to waiting nodes solves these problems. Unfortunately, it quickly rendered the central machine absolutely useless with huge load and memory consumption last time I checked. Regards, Tobias -- Aibohphobia: n. Fear of Palindromes ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ae at op5.se Mon Nov 10 09:57:20 2008 From: ae at op5.se (Andreas Ericsson) Date: Mon, 10 Nov 2008 09:57:20 +0100 Subject: OpMon and Fruity, a better understanding. In-Reply-To: <3d2eb72a0811040837o2be5aa93o41b6331d51461af6@mail.gmail.com> References: <3d2eb72a0811040837o2be5aa93o41b6331d51461af6@mail.gmail.com> Message-ID: <4917F770.5060500@op5.se> Taylor Dondich wrote: > Hi all, might have seen a bit of an irate email from me regarding > OpMon and it's use of Fruity as it's initial codebase. After > discussing it with the OpMon team, they had good reason to fork the > project. They didn't really ping the user community mailing list or > myself in regards to forking the project, but they did submit patches. > And because of the issue of Fruity being in a stale situation, their > patches could not go into the official codetree. > > I've discussed with them how Fruity is basically no longer supported > and really should not be used for production use. At least not with > Nagios 3.x OpMon team did a good job of adding some initial support > for Nagios 3.x but there would be a lot of work to be done to try and > get the Fruity codebase up to par. The good news is that I've already > done so and built Lilac, which is from the ground-up a major rewrite > of Fruity to support Nagios 3.x and be much more robust. > > I'm now in discussions with the OpMon team in how we can leverage > Lilac for their uses and bring some of the work they've done to Lilac > and it's community. > Nice :) >From where can one get lilac nowadays? Sourceforge has nothing, and lilacplatform.com doesn't appear to be resolvable anymore. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From leahfist at gmail.com Mon Nov 10 15:09:30 2008 From: leahfist at gmail.com (Leah Fisher) Date: Mon, 10 Nov 2008 09:09:30 -0500 Subject: Notification Recovery Issue Message-ID: <31b92eb50811100609x64db6d12j64d8472a93fb6b4c@mail.gmail.com> I have been noticing an issue with notifications that I wanted to run by everyone before I report it as a bug. I'm also hoping someone who is on the development list can let me know if this has already been reported. I use escalations to suppress notifications on weekends so when no one is around to fix something, we don't have a very full inbox come Monday. So, on non work hours, I have a host escalation that goes to a false email starting from notification 2 to infinity. This works great, but if the host recovers during the escalation period, recovery notifications only go to the escalation user, not all the users that were notified of the problem. This becomes a problem as certain management folk don't seem to know how to go to the website to look at the status and think things are still down without a recovery notification. I am not sure about service alerts, but I know this has not worked for quite some time on host alerts. Has anyone else seen this problem? Thanks, Leah -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From assaf.flatto at ssp.uk.com Mon Nov 10 15:21:34 2008 From: assaf.flatto at ssp.uk.com (Assaf Flatto) Date: Mon, 10 Nov 2008 14:21:34 +0000 Subject: Notification Recovery Issue In-Reply-To: <31b92eb50811100609x64db6d12j64d8472a93fb6b4c@mail.gmail.com> References: <31b92eb50811100609x64db6d12j64d8472a93fb6b4c@mail.gmail.com> Message-ID: <200811101421.34310.assaf.flatto@ssp.uk.com> Which version are you using ? Do you also have them in the contact groups with the recovery option defined in the host/service definition Myself i am using the same issue and we get the alert for both the faiure and recovery ,however i use 2.12 . On Monday 10 November 2008 14:09:30 Leah Fisher wrote: > I have been noticing an issue with notifications that I wanted to run by > everyone before I report it as a bug. I'm also hoping someone who is on > the development list can let me know if this has already been reported. I > use escalations to suppress notifications on weekends so when no one is > around to fix something, we don't have a very full inbox come Monday. So, > on non work hours, I have a host escalation that goes to a false email > starting from notification 2 to infinity. This works great, but if the > host recovers during the escalation period, recovery notifications only go > to the escalation user, not all the users that were notified of the > problem. This becomes a problem as certain management folk don't seem to > know how to go to the website to look at the status and think things are > still down without a recovery notification. I am not sure about service > alerts, but I know this has not worked for quite some time on host alerts. > > Has anyone else seen this problem? > > Thanks, > > Leah -- Assaf Flatto SSP Ops Team Linux System Administrator 169 Euston Road, London, NW1 2AE 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From leah at primal-fitness.com Mon Nov 10 15:33:45 2008 From: leah at primal-fitness.com (Leah Fisher) Date: Mon, 10 Nov 2008 09:33:45 -0500 Subject: Notification Recovery Issue In-Reply-To: <200811101421.34310.assaf.flatto@ssp.uk.com> References: <31b92eb50811100609x64db6d12j64d8472a93fb6b4c@mail.gmail.com> <200811101421.34310.assaf.flatto@ssp.uk.com> Message-ID: <31b92eb50811100633w4c489bf1p91496f68bbdf3843@mail.gmail.com> Sorry, I should have included that. I'm using version 3.0.5 on RHEL4 ES. I get recoveries if the host escalations do not take effect and I can see in the event log that the notification was just sent to my escalation group once the escalation group gets a notification. Leah On Mon, Nov 10, 2008 at 9:21 AM, Assaf Flatto wrote: > Which version are you using ? > > Do you also have them in the contact groups with the recovery option > defined in the host/service > definition > > Myself i am using the same issue and we get the alert for both the faiure > and recovery ,however i > use 2.12 . > > > > > On Monday 10 November 2008 14:09:30 Leah Fisher wrote: > > I have been noticing an issue with notifications that I wanted to run by > > everyone before I report it as a bug. I'm also hoping someone who is on > > the development list can let me know if this has already been reported. > I > > use escalations to suppress notifications on weekends so when no one is > > around to fix something, we don't have a very full inbox come Monday. > So, > > on non work hours, I have a host escalation that goes to a false email > > starting from notification 2 to infinity. This works great, but if the > > host recovers during the escalation period, recovery notifications only > go > > to the escalation user, not all the users that were notified of the > > problem. This becomes a problem as certain management folk don't seem to > > know how to go to the website to look at the status and think things are > > still down without a recovery notification. I am not sure about service > > alerts, but I know this has not worked for quite some time on host > alerts. > > > > Has anyone else seen this problem? > > > > Thanks, > > > > Leah > > > > -- > Assaf Flatto > SSP Ops Team > Linux System Administrator > 169 Euston Road, London, NW1 2AE > > > > > > 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=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From cmies at itnovum.de Mon Nov 10 15:24:40 2008 From: cmies at itnovum.de (Mies, Christian) Date: Mon, 10 Nov 2008 15:24:40 +0100 Subject: Bug in ndo2db or Nagios? Message-ID: Hi List, I have the following situation. I try to connect to the NDO and want to get informations about Downtimes that will be set, or was set. The nagios_downtimehistory is shown each downtime. Also them who set in the future. If I try do remove a Downtime, that is set in the Future in the Nagios Interface, the NDO still show the Downtime with the flag 'was cancelled=0'. In the Nagios Interface the Downtime is removed. The 'event_broker_options' is set to '-1'. My NDO Version is 1.4b7 and Nagios is Version 3.0.5 Any ideas or suggestions. Regards Christian ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From lmeier at ajc.com Mon Nov 10 15:38:54 2008 From: lmeier at ajc.com (Layne Meier) Date: Mon, 10 Nov 2008 09:38:54 -0500 Subject: hosts.config In-Reply-To: <5d324b0972a093b86c55a8d7798af2ef@localhost> References: <995403B5-6AE1-4DFA-A054-9E8FB8C8432F@ajc.com> <5d324b0972a093b86c55a8d7798af2ef@localhost> Message-ID: Would it be okay then to have a host entry in the hosts.cfg file like this based upon the response I received from Dennis H?nsler: define host{ host_name bogus-router alias Bogus Router #1 address 192.168.1.254 parents server-backbone check_command check-host-alive max_check_attempts 5 check_period 24x7 process_perf_data 0 retain_nonstatus_information 0 contact_groups router-admins contacts lmeier notification_interval 30 notification_period 24x7 notification_options d,u,r } Thank you, Layne Meier Atlanta Journal-Constitution On Nov 7, 2008, at 2:21 AM, Dennis H?nseler wrote: Hi Layne, regarding the config you can configure contacts in stead of complete groups, but the keyword is contacts not contact as in your example :-) contacts: This is a list of the short names of the contacts that should be notified whenever there are problems (or recoveries) with this host. Multiple contacts should be separated by commas. Useful if you want notifications to go to just a few people and don't want to configure contact groups. You must specify at least one contact or contact group in each host definition. Regards, Dennis On Thu, 6 Nov 2008 10:54:35 -0500, Layne Meier wrote: I have a question for anyone that can answer this for me. From the documentation, in configuring a host, this is the example given: define host{ host_name bogus-router alias Bogus Router #1 address 192.168.1.254 parents server-backbone check_command check-host-alive max_check_attempts 5 check_period 24x7 process_perf_data 0 retain_nonstatus_information 0 contact_groups router-admins notification_interval 30 notification_period 24x7 notification_options d,u,r } In place of the contact_groups as being defined as router-admins, can you put the name of an actual person there (from the contacts.cfg) ie; define host{ host_name bogus-router alias Bogus Router #1 address 192.168.1.254 parents server-backbone check_command check-host-alive max_check_attempts 5 check_period 24x7 process_perf_data 0 retain_nonstatus_information 0 contact_groups lmeier notification_interval 30 notification_period 24x7 notification_options d,u,r } Or is there a different command that needs to go there: define host{ host_name bogus-router alias Bogus Router #1 address 192.168.1.254 parents server-backbone check_command check-host-alive max_check_attempts 5 check_period 24x7 process_perf_data 0 retain_nonstatus_information 0 contact lmeier notification_interval 30 notification_period 24x7 notification_options d,u,r } Thank you, Layne Meier Atlanta Journal-Constitution -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From assaf.flatto at ssp.uk.com Mon Nov 10 15:44:32 2008 From: assaf.flatto at ssp.uk.com (Assaf Flatto) Date: Mon, 10 Nov 2008 14:44:32 +0000 Subject: Notification Recovery Issue In-Reply-To: <31b92eb50811100633w4c489bf1p91496f68bbdf3843@mail.gmail.com> References: <31b92eb50811100609x64db6d12j64d8472a93fb6b4c@mail.gmail.com> Message-ID: <200811101444.33072.assaf.flatto@ssp.uk.com> can you show us the escalation config ? It will be easier to understand and debud , also a host declaration will help On Monday 10 November 2008 14:33:45 Leah Fisher wrote: > Sorry, I should have included that. I'm using version 3.0.5 on RHEL4 ES. > > I get recoveries if the host escalations do not take effect and I can see > in the event log that the notification was just sent to my escalation group > once the escalation group gets a notification. > > Leah > > On Mon, Nov 10, 2008 at 9:21 AM, Assaf Flatto wrote: > > Which version are you using ? > > > > Do you also have them in the contact groups with the recovery option > > defined in the host/service > > definition > > > > Myself i am using the same issue and we get the alert for both the faiure > > and recovery ,however i > > use 2.12 . > > > > On Monday 10 November 2008 14:09:30 Leah Fisher wrote: > > > I have been noticing an issue with notifications that I wanted to run > > > by everyone before I report it as a bug. I'm also hoping someone who > > > is on the development list can let me know if this has already been > > > reported. > > > > I > > > > > use escalations to suppress notifications on weekends so when no one is > > > around to fix something, we don't have a very full inbox come Monday. > > > > So, > > > > > on non work hours, I have a host escalation that goes to a false email > > > starting from notification 2 to infinity. This works great, but if the > > > host recovers during the escalation period, recovery notifications only > > > > go > > > > > to the escalation user, not all the users that were notified of the > > > problem. This becomes a problem as certain management folk don't seem > > > to know how to go to the website to look at the status and think things > > > are still down without a recovery notification. I am not sure about > > > service alerts, but I know this has not worked for quite some time on > > > host > > > > alerts. > > > > > Has anyone else seen this problem? > > > > > > Thanks, > > > > > > Leah > > > > -- > > Assaf Flatto > > SSP Ops Team > > Linux System Administrator > > 169 Euston Road, London, NW1 2AE > > > > > > > > > > > > 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=100&url=/ > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at 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 -- Assaf Flatto SSP Ops Team Linux System Administrator 169 Euston Road, London, NW1 2AE 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From assaf.flatto at ssp.uk.com Mon Nov 10 16:06:15 2008 From: assaf.flatto at ssp.uk.com (Assaf Flatto) Date: Mon, 10 Nov 2008 15:06:15 +0000 Subject: hosts.config In-Reply-To: References: <995403B5-6AE1-4DFA-A054-9E8FB8C8432F@ajc.com> Message-ID: <200811101506.15272.assaf.flatto@ssp.uk.com> I may be mistaken , but i don't think you can /need to define both contact groups and individual contacts in the host declaration. Besides that - the definitions look fine . On Monday 10 November 2008 14:38:54 Layne Meier wrote: > Would it be okay then to have a host entry in the hosts.cfg file like > this based upon the response I received from Dennis H?nsler: > > define host{ > host_name bogus-router > alias Bogus Router #1 > address 192.168.1.254 > parents server-backbone > check_command check-host-alive > max_check_attempts 5 > check_period 24x7 > process_perf_data 0 > retain_nonstatus_information 0 > contact_groups router-admins > contacts lmeier > notification_interval 30 > notification_period 24x7 > notification_options d,u,r > } > Thank you, > Layne Meier > Atlanta Journal-Constitution > > > > On Nov 7, 2008, at 2:21 AM, Dennis H?nseler wrote: > > Hi Layne, > > regarding the config you can configure contacts in stead of complete > groups, but the keyword is contacts not contact as in your example :-) > > contacts: This is a list of the short names of the contacts that > should be notified whenever there are problems (or recoveries) with > this host. Multiple contacts should be separated by commas. Useful if > you want notifications to go to just a few people and don't want to > configure contact groups. You must specify at least one contact or > contact group in each host definition. > > Regards, Dennis > > On Thu, 6 Nov 2008 10:54:35 -0500, Layne Meier wrote: > > I have a question for anyone that can answer this for me. From the > documentation, in configuring a host, this is the example given: > > define host{ > host_name bogus-router > alias Bogus Router #1 > address 192.168.1.254 > parents server-backbone > check_command check-host-alive > max_check_attempts 5 > check_period 24x7 > process_perf_data 0 > retain_nonstatus_information 0 > contact_groups router-admins > notification_interval 30 > notification_period 24x7 > notification_options d,u,r > } > In place of the contact_groups as being defined as router-admins, can > you put the name of an actual person there (from the contacts.cfg) ie; > define host{ > host_name bogus-router > alias Bogus Router #1 > address 192.168.1.254 > parents server-backbone > check_command check-host-alive > max_check_attempts 5 > check_period 24x7 > process_perf_data 0 > retain_nonstatus_information 0 > contact_groups lmeier > notification_interval 30 > notification_period 24x7 > notification_options d,u,r > } > Or is there a different command that needs to go there: > define host{ > host_name bogus-router > alias Bogus Router #1 > address 192.168.1.254 > parents server-backbone > check_command check-host-alive > max_check_attempts 5 > check_period 24x7 > process_perf_data 0 > retain_nonstatus_information 0 > contact lmeier > notification_interval 30 > notification_period 24x7 > notification_options d,u,r > } > > > Thank you, > Layne Meier > Atlanta Journal-Constitution -- Assaf Flatto SSP Ops Team Linux System Administrator 169 Euston Road, London, NW1 2AE 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From leahfist at gmail.com Mon Nov 10 16:08:54 2008 From: leahfist at gmail.com (Leah Fisher) Date: Mon, 10 Nov 2008 10:08:54 -0500 Subject: Notification Recovery Issue In-Reply-To: <200811101444.33072.assaf.flatto@ssp.uk.com> References: <31b92eb50811100633w4c489bf1p91496f68bbdf3843@mail.gmail.com> <200811101444.33072.assaf.flatto@ssp.uk.com> Message-ID: <31b92eb50811100708y2200c10fv8b470d61aed19732@mail.gmail.com> Here are a bunch of my definitions. A host, the inherited host definitions, a contact and the escalation I'm using. define host{ use win host_name windowshost address xxx.xxx.xxx.xxx contact_groups +win } define host{ use generic-host name win hostgroups windows contact_groups +win register 0 } define host{ name generic-host notifications_enabled 1 event_handler_enabled 1 flap_detection_enabled 0 failure_prediction_enabled 1 process_perf_data 0 retain_status_information 1 retail_nonstatus_information 1 notification_period 24x7 check_command check-host-alive max_check_attempts 5 notification_interval 120 check_period 24x7 notifcation_options d,r retry_interval 1 check_interval 5 contact_groups all register 0 } define contact{ contact_name lfisher alias Leah Fisher service_notification_period 24x7 host_notification_period 24x7 service_notification_opttions w,u,c,r,f host_notification_options d,r service_notification_commands notify-by-email host_notification_commands host-notify-by-email email leahfist at gmail.com contactgroups all } define hostescalation{ host_name * contact_groups none first_notification 2 last_notification 0 notification_interval 360 escalation_period nonworkhours } On Mon, Nov 10, 2008 at 9:44 AM, Assaf Flatto wrote: > can you show us the escalation config ? > > It will be easier to understand and debud , also a host declaration will > help > > > On Monday 10 November 2008 14:33:45 Leah Fisher wrote: > > Sorry, I should have included that. I'm using version 3.0.5 on RHEL4 ES. > > > > I get recoveries if the host escalations do not take effect and I can see > > in the event log that the notification was just sent to my escalation > group > > once the escalation group gets a notification. > > > > Leah > > > > On Mon, Nov 10, 2008 at 9:21 AM, Assaf Flatto >wrote: > > > Which version are you using ? > > > > > > Do you also have them in the contact groups with the recovery option > > > defined in the host/service > > > definition > > > > > > Myself i am using the same issue and we get the alert for both the > faiure > > > and recovery ,however i > > > use 2.12 . > > > > > > On Monday 10 November 2008 14:09:30 Leah Fisher wrote: > > > > I have been noticing an issue with notifications that I wanted to run > > > > by everyone before I report it as a bug. I'm also hoping someone who > > > > is on the development list can let me know if this has already been > > > > reported. > > > > > > I > > > > > > > use escalations to suppress notifications on weekends so when no one > is > > > > around to fix something, we don't have a very full inbox come Monday. > > > > > > So, > > > > > > > on non work hours, I have a host escalation that goes to a false > email > > > > starting from notification 2 to infinity. This works great, but if > the > > > > host recovers during the escalation period, recovery notifications > only > > > > > > go > > > > > > > to the escalation user, not all the users that were notified of the > > > > problem. This becomes a problem as certain management folk don't > seem > > > > to know how to go to the website to look at the status and think > things > > > > are still down without a recovery notification. I am not sure about > > > > service alerts, but I know this has not worked for quite some time on > > > > host > > > > > > alerts. > > > > > > > Has anyone else seen this problem? > > > > > > > > Thanks, > > > > > > > > Leah > > > > > > -- > > > Assaf Flatto > > > SSP Ops Team > > > Linux System Administrator > > > 169 Euston Road, London, NW1 2AE > > > > > > > > > > > > > > > > > > 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=100&url=/ > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at 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 > > > > -- > Assaf Flatto > SSP Ops Team > Linux System Administrator > 169 Euston Road, London, NW1 2AE > > > > > > 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=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From lmeier at ajc.com Mon Nov 10 16:18:00 2008 From: lmeier at ajc.com (Layne Meier) Date: Mon, 10 Nov 2008 10:18:00 -0500 Subject: hosts.config In-Reply-To: <200811101506.15272.assaf.flatto@ssp.uk.com> References: <995403B5-6AE1-4DFA-A054-9E8FB8C8432F@ajc.com> <200811101506.15272.assaf.flatto@ssp.uk.com> Message-ID: <9846CB1B-B397-4FA0-B017-AEF080240E85@ajc.com> That's what I'm trying to find out. Can I put an individual contact within the contact_groups list? ie; contact_groups router-admins,lmeier Thank you, Layne Meier AJC Information Technology Atlanta Journal-Constitution A Cox Newspaper On Nov 10, 2008, at 10:06 AM, Assaf Flatto wrote: I may be mistaken , but i don't think you can /need to define both contact groups and individual contacts in the host declaration. Besides that - the definitions look fine . On Monday 10 November 2008 14:38:54 Layne Meier wrote: > Would it be okay then to have a host entry in the hosts.cfg file like > this based upon the response I received from Dennis H?nsler: > > define host{ > host_name bogus-router > alias Bogus Router #1 > address 192.168.1.254 > parents server-backbone > check_command check-host-alive > max_check_attempts 5 > check_period 24x7 > process_perf_data 0 > retain_nonstatus_information 0 > contact_groups router-admins > contacts lmeier > notification_interval 30 > notification_period 24x7 > notification_options d,u,r > } > Thank you, > Layne Meier > Atlanta Journal-Constitution > > > > On Nov 7, 2008, at 2:21 AM, Dennis H?nseler wrote: > > Hi Layne, > > regarding the config you can configure contacts in stead of complete > groups, but the keyword is contacts not contact as in your example :-) > > contacts: This is a list of the short names of the contacts that > should be notified whenever there are problems (or recoveries) with > this host. Multiple contacts should be separated by commas. Useful if > you want notifications to go to just a few people and don't want to > configure contact groups. You must specify at least one contact or > contact group in each host definition. > > Regards, Dennis > > On Thu, 6 Nov 2008 10:54:35 -0500, Layne Meier wrote: > > I have a question for anyone that can answer this for me. From the > documentation, in configuring a host, this is the example given: > > define host{ > host_name bogus-router > alias Bogus Router #1 > address 192.168.1.254 > parents server-backbone > check_command check-host-alive > max_check_attempts 5 > check_period 24x7 > process_perf_data 0 > retain_nonstatus_information 0 > contact_groups router-admins > notification_interval 30 > notification_period 24x7 > notification_options d,u,r > } > In place of the contact_groups as being defined as router-admins, can > you put the name of an actual person there (from the contacts.cfg) ie; > define host{ > host_name bogus-router > alias Bogus Router #1 > address 192.168.1.254 > parents server-backbone > check_command check-host-alive > max_check_attempts 5 > check_period 24x7 > process_perf_data 0 > retain_nonstatus_information 0 > contact_groups lmeier > notification_interval 30 > notification_period 24x7 > notification_options d,u,r > } > Or is there a different command that needs to go there: > define host{ > host_name bogus-router > alias Bogus Router #1 > address 192.168.1.254 > parents server-backbone > check_command check-host-alive > max_check_attempts 5 > check_period 24x7 > process_perf_data 0 > retain_nonstatus_information 0 > contact lmeier > notification_interval 30 > notification_period 24x7 > notification_options d,u,r > } > > > Thank you, > Layne Meier > Atlanta Journal-Constitution -- Assaf Flatto SSP Ops Team Linux System Administrator 169 Euston Road, London, NW1 2AE 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From assaf.flatto at ssp.uk.com Mon Nov 10 16:21:41 2008 From: assaf.flatto at ssp.uk.com (Assaf Flatto) Date: Mon, 10 Nov 2008 15:21:41 +0000 Subject: Notification Recovery Issue In-Reply-To: <31b92eb50811100708y2200c10fv8b470d61aed19732@mail.gmail.com> References: <31b92eb50811100633w4c489bf1p91496f68bbdf3843@mail.gmail.com> Message-ID: <200811101521.41899.assaf.flatto@ssp.uk.com> >From these definitions - it should work and i see not reason why it doesn't . have you checked the log to see what happens when it detects a recovery ? could it be that you have tow instances running and thus the nagios isn't running with the corrent config ? On Monday 10 November 2008 15:08:54 Leah Fisher wrote: > Here are a bunch of my definitions. A host, the inherited host > definitions, a contact and the escalation I'm using. > > define host{ > use win > host_name windowshost > address xxx.xxx.xxx.xxx > contact_groups +win > } > define host{ > use generic-host > name win > hostgroups windows > contact_groups +win > register 0 > } > define host{ > name generic-host > notifications_enabled 1 > event_handler_enabled 1 > flap_detection_enabled 0 > failure_prediction_enabled 1 > process_perf_data 0 > retain_status_information 1 > retail_nonstatus_information 1 > notification_period 24x7 > check_command check-host-alive > max_check_attempts 5 > notification_interval 120 > check_period 24x7 > notifcation_options d,r > retry_interval 1 > check_interval 5 > contact_groups all > register 0 > } > define contact{ > contact_name lfisher > alias Leah Fisher > service_notification_period 24x7 > host_notification_period 24x7 > service_notification_opttions w,u,c,r,f > host_notification_options d,r > service_notification_commands notify-by-email > host_notification_commands host-notify-by-email > email leahfist at gmail.com > contactgroups all > } > define hostescalation{ > host_name * > contact_groups none > first_notification 2 > last_notification 0 > notification_interval 360 > escalation_period nonworkhours > } > > On Mon, Nov 10, 2008 at 9:44 AM, Assaf Flatto wrote: > > can you show us the escalation config ? > > > > It will be easier to understand and debud , also a host declaration > > will help > > > > On Monday 10 November 2008 14:33:45 Leah Fisher wrote: > > > Sorry, I should have included that. I'm using version 3.0.5 on RHEL4 > > > ES. > > > > > > I get recoveries if the host escalations do not take effect and I can > > > see in the event log that the notification was just sent to my > > > escalation > > > > group > > > > > once the escalation group gets a notification. > > > > > > Leah > > > > > > On Mon, Nov 10, 2008 at 9:21 AM, Assaf Flatto > > > > >wrote: > > > > Which version are you using ? > > > > > > > > Do you also have them in the contact groups with the recovery option > > > > defined in the host/service > > > > definition > > > > > > > > Myself i am using the same issue and we get the alert for both the > > > > faiure > > > > > > and recovery ,however i > > > > use 2.12 . > > > > > > > > On Monday 10 November 2008 14:09:30 Leah Fisher wrote: > > > > > I have been noticing an issue with notifications that I wanted to > > > > > run by everyone before I report it as a bug. I'm also hoping > > > > > someone who is on the development list can let me know if this has > > > > > already been reported. > > > > > > > > I > > > > > > > > > use escalations to suppress notifications on weekends so when no > > > > > one > > > > is > > > > > > > around to fix something, we don't have a very full inbox come > > > > > Monday. > > > > > > > > So, > > > > > > > > > on non work hours, I have a host escalation that goes to a false > > > > email > > > > > > > starting from notification 2 to infinity. This works great, but if > > > > the > > > > > > > host recovers during the escalation period, recovery notifications > > > > only > > > > > > go > > > > > > > > > to the escalation user, not all the users that were notified of the > > > > > problem. This becomes a problem as certain management folk don't > > > > seem > > > > > > > to know how to go to the website to look at the status and think > > > > things > > > > > > > are still down without a recovery notification. I am not sure > > > > > about service alerts, but I know this has not worked for quite some > > > > > time on host > > > > > > > > alerts. > > > > > > > > > Has anyone else seen this problem? > > > > > > > > > > Thanks, > > > > > > > > > > Leah > > > > > > > > -- > > > > Assaf Flatto > > > > SSP Ops Team > > > > Linux System Administrator > > > > 169 Euston Road, London, NW1 2AE > > > > > > > > > > > > > > > > > > > > > > > > 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=100&url=/ > > > > _______________________________________________ > > > > Nagios-users mailing list > > > > Nagios-users at 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 > > > > -- > > Assaf Flatto > > SSP Ops Team > > Linux System Administrator > > 169 Euston Road, London, NW1 2AE > > > > > > > > > > > > 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=100&url=/ > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at 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 -- Assaf Flatto SSP Ops Team Linux System Administrator 169 Euston Road, London, NW1 2AE From lmeier at ajc.com Mon Nov 10 16:31:00 2008 From: lmeier at ajc.com (Layne Meier) Date: Mon, 10 Nov 2008 10:31:00 -0500 Subject: hosts.config In-Reply-To: References: <995403B5-6AE1-4DFA-A054-9E8FB8C8432F@ajc.com><200811101506.15272.assaf.flatto@ssp.uk.com> <9846CB1B-B397-4FA0-B017-AEF080240E85@ajc.com> Message-ID: Herein lies my problem. I've inherited supporting our Nagios system. It was pre-configured and set-up by a previous employee. I've gone over the web-based manual, but can't find specifics like this defined in the manual. I was tasked with updating all of the groups and contacts, but need to make sure that I get it set up correctly. Layne Meier AJC Information Technology Atlanta Journal-Constitution A Cox Newspaper On Nov 10, 2008, at 10:21 AM, Sein, Jenny wrote: Hi, I've never been able to do that I've had to create a contact, then a contact group for that contact. Maybe others will tell me I've been doing it the hard way all this time though :-) -----Original Message----- From: Layne Meier [mailto:lmeier at ajc.com] Sent: Monday, November 10, 2008 10:18 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] hosts.config That's what I'm trying to find out. Can I put an individual contact within the contact_groups list? ie; contact_groups router-admins,lmeier Thank you, Layne Meier AJC Information Technology Atlanta Journal-Constitution A Cox Newspaper On Nov 10, 2008, at 10:06 AM, Assaf Flatto wrote: I may be mistaken , but i don't think you can /need to define both contact groups and individual contacts in the host declaration. Besides that - the definitions look fine . On Monday 10 November 2008 14:38:54 Layne Meier wrote: > Would it be okay then to have a host entry in the hosts.cfg file like > this based upon the response I received from Dennis H?nsler: > > define host{ > host_name bogus-router > alias Bogus Router #1 > address 192.168.1.254 > parents server-backbone > check_command check-host-alive > max_check_attempts 5 > check_period 24x7 > process_perf_data 0 > retain_nonstatus_information 0 > contact_groups router-admins > contacts lmeier > notification_interval 30 > notification_period 24x7 > notification_options d,u,r > } > Thank you, > Layne Meier > Atlanta Journal-Constitution > > > > On Nov 7, 2008, at 2:21 AM, Dennis H?nseler wrote: > > Hi Layne, > > regarding the config you can configure contacts in stead of complete > groups, but the keyword is contacts not contact as in your example :-) > > contacts: This is a list of the short names of the contacts that > should be notified whenever there are problems (or recoveries) with > this host. Multiple contacts should be separated by commas. Useful if > you want notifications to go to just a few people and don't want to > configure contact groups. You must specify at least one contact or > contact group in each host definition. > > Regards, Dennis > > On Thu, 6 Nov 2008 10:54:35 -0500, Layne Meier wrote: > > I have a question for anyone that can answer this for me. From the > documentation, in configuring a host, this is the example given: > > define host{ > host_name bogus-router > alias Bogus Router #1 > address 192.168.1.254 > parents server-backbone > check_command check-host-alive > max_check_attempts 5 > check_period 24x7 > process_perf_data 0 > retain_nonstatus_information 0 > contact_groups router-admins > notification_interval 30 > notification_period 24x7 > notification_options d,u,r > } > In place of the contact_groups as being defined as router-admins, can > you put the name of an actual person there (from the contacts.cfg) ie; > define host{ > host_name bogus-router > alias Bogus Router #1 > address 192.168.1.254 > parents server-backbone > check_command check-host-alive > max_check_attempts 5 > check_period 24x7 > process_perf_data 0 > retain_nonstatus_information 0 > contact_groups lmeier > notification_interval 30 > notification_period 24x7 > notification_options d,u,r > } > Or is there a different command that needs to go there: > define host{ > host_name bogus-router > alias Bogus Router #1 > address 192.168.1.254 > parents server-backbone > check_command check-host-alive > max_check_attempts 5 > check_period 24x7 > process_perf_data 0 > retain_nonstatus_information 0 > contact lmeier > notification_interval 30 > notification_period 24x7 > notification_options d,u,r > } > > > Thank you, > Layne Meier > Atlanta Journal-Constitution -- Assaf Flatto SSP Ops Team Linux System Administrator 169 Euston Road, London, NW1 2AE 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Sotiroff.Kristian at mtvne.com Mon Nov 10 16:32:11 2008 From: Sotiroff.Kristian at mtvne.com (Sotiroff, Kristian) Date: Mon, 10 Nov 2008 15:32:11 -0000 Subject: Notification Recovery Issue In-Reply-To: <200811101521.41899.assaf.flatto@ssp.uk.com> References: <31b92eb50811100708y2200c10fv8b470d61aed19732@mail.gmail.com> <200811101521.41899.assaf.flatto@ssp.uk.com> Message-ID: Here's a thought: could it be that your original contact list don't get notified because you are in an escalation period? Thus the original list is out of reach. One thing you could try is creating a new list (lfisher_ooh) and then set this group to get the alerts during escalation periods but only 'recovery' alerts (ie. notification_options r) -----Original Message----- From: Assaf Flatto [mailto:assaf.flatto at ssp.uk.com] Sent: 10 November 2008 15:22 To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Notification Recovery Issue >From these definitions - it should work and i see not reason why it doesn't . have you checked the log to see what happens when it detects a recovery ? could it be that you have tow instances running and thus the nagios isn't running with the corrent config ? On Monday 10 November 2008 15:08:54 Leah Fisher wrote: > Here are a bunch of my definitions. A host, the inherited host > definitions, a contact and the escalation I'm using. > > define host{ > use win > host_name windowshost > address xxx.xxx.xxx.xxx > contact_groups +win > } > define host{ > use generic-host > name win > hostgroups windows > contact_groups +win > register 0 > } > define host{ > name generic-host > notifications_enabled 1 > event_handler_enabled 1 > flap_detection_enabled 0 > failure_prediction_enabled 1 > process_perf_data 0 > retain_status_information 1 > retail_nonstatus_information 1 > notification_period 24x7 > check_command check-host-alive > max_check_attempts 5 > notification_interval 120 > check_period 24x7 > notifcation_options d,r > retry_interval 1 > check_interval 5 > contact_groups all > register 0 > } > define contact{ > contact_name lfisher > alias Leah Fisher > service_notification_period 24x7 > host_notification_period 24x7 > service_notification_opttions w,u,c,r,f > host_notification_options d,r > service_notification_commands notify-by-email > host_notification_commands host-notify-by-email > email leahfist at gmail.com > contactgroups all > } > define hostescalation{ > host_name * > contact_groups none > first_notification 2 > last_notification 0 > notification_interval 360 > escalation_period nonworkhours > } > > On Mon, Nov 10, 2008 at 9:44 AM, Assaf Flatto wrote: > > can you show us the escalation config ? > > > > It will be easier to understand and debud , also a host declaration > > will help > > > > On Monday 10 November 2008 14:33:45 Leah Fisher wrote: > > > Sorry, I should have included that. I'm using version 3.0.5 on RHEL4 > > > ES. > > > > > > I get recoveries if the host escalations do not take effect and I can > > > see in the event log that the notification was just sent to my > > > escalation > > > > group > > > > > once the escalation group gets a notification. > > > > > > Leah > > > > > > On Mon, Nov 10, 2008 at 9:21 AM, Assaf Flatto > > > > >wrote: > > > > Which version are you using ? > > > > > > > > Do you also have them in the contact groups with the recovery option > > > > defined in the host/service > > > > definition > > > > > > > > Myself i am using the same issue and we get the alert for both the > > > > faiure > > > > > > and recovery ,however i > > > > use 2.12 . > > > > > > > > On Monday 10 November 2008 14:09:30 Leah Fisher wrote: > > > > > I have been noticing an issue with notifications that I wanted to > > > > > run by everyone before I report it as a bug. I'm also hoping > > > > > someone who is on the development list can let me know if this has > > > > > already been reported. > > > > > > > > I > > > > > > > > > use escalations to suppress notifications on weekends so when no > > > > > one > > > > is > > > > > > > around to fix something, we don't have a very full inbox come > > > > > Monday. > > > > > > > > So, > > > > > > > > > on non work hours, I have a host escalation that goes to a false > > > > email > > > > > > > starting from notification 2 to infinity. This works great, but if > > > > the > > > > > > > host recovers during the escalation period, recovery notifications > > > > only > > > > > > go > > > > > > > > > to the escalation user, not all the users that were notified of the > > > > > problem. This becomes a problem as certain management folk don't > > > > seem > > > > > > > to know how to go to the website to look at the status and think > > > > things > > > > > > > are still down without a recovery notification. I am not sure > > > > > about service alerts, but I know this has not worked for quite some > > > > > time on host > > > > > > > > alerts. > > > > > > > > > Has anyone else seen this problem? > > > > > > > > > > Thanks, > > > > > > > > > > Leah > > > > > > > > -- > > > > Assaf Flatto > > > > SSP Ops Team > > > > Linux System Administrator > > > > 169 Euston Road, London, NW1 2AE > > > > > > > > > > > > > > > > > > > > > > > > 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=100&url=/ > > > > _______________________________________________ > > > > Nagios-users mailing list > > > > Nagios-users at 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 > > > > -- > > Assaf Flatto > > SSP Ops Team > > Linux System Administrator > > 169 Euston Road, London, NW1 2AE > > > > > > > > > > > > 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=100&url=/ > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at 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 -- Assaf Flatto SSP Ops Team Linux System Administrator 169 Euston Road, London, NW1 2AE 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 CONFIDENTIALITY NOTICE This e-mail (and any attached files) is confidential and protected by copyright (and other intellectual property rights). If you are not the intended recipient please e-mail the sender and then delete the email and any attached files immediately. Any further use or dissemination is prohibited. While MTV Networks Europe has taken steps to ensure that this email and any attachments are virus free, it is your responsibility to ensure that this message and any attachments are virus free and do not affect your systems / data. Communicating by email is not 100% secure and carries risks such as delay, data corruption, non-delivery, wrongful interception and unauthorised amendment. If you communicate with us by e-mail, you acknowledge and assume these risks, and you agree to take appropriate measures to minimise these risks when e-mailing us. MTV Networks International, MTV Networks UK & Ireland, Greenhouse, Nickelodeon Viacom Consumer Products, VBSi, Viacom Brand Solutions International and Comedy Central are all trading names of MTV Networks Europe. MTV Networks Europe is a partnership between MTV Networks Europe Inc. and Viacom Networks Europe Inc. Address for service in Great Britain is UK House, 180 Oxford Street, London W1D 1DS, UK. ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From leahfist at gmail.com Mon Nov 10 17:00:15 2008 From: leahfist at gmail.com (Leah Fisher) Date: Mon, 10 Nov 2008 11:00:15 -0500 Subject: Notification Recovery Issue In-Reply-To: References: <31b92eb50811100708y2200c10fv8b470d61aed19732@mail.gmail.com> <200811101521.41899.assaf.flatto@ssp.uk.com> Message-ID: <31b92eb50811100800m60e260e0w5cea0e5284cd89bf@mail.gmail.com> As I've said, I notice in the logs that there is a recovery notification going to my none contact group, then before that I see the notification sent to the none contact group, and then 2 hours before that I see the notification going to everyone that it is supposed to. This has been happening for awhile now. Also, I don't believe your suggestion would do anything as the documentations say: "Note: Notifications about host or service recoveries are only sent out if a notification was sent out for the original problem. It doesn't make sense to get a recovery notification for something you never knew was a problem." Therefore why would a contact only get recovery notifications. Leah On Mon, Nov 10, 2008 at 10:32 AM, Sotiroff, Kristian < Sotiroff.Kristian at mtvne.com> wrote: > Here's a thought: could it be that your original contact list don't get > notified because you are in an escalation period? Thus the original list > is out of reach. > > One thing you could try is creating a new list (lfisher_ooh) and then > set this group to get the alerts during escalation periods but only > 'recovery' alerts (ie. notification_options r) > > > > -----Original Message----- > From: Assaf Flatto [mailto:assaf.flatto at ssp.uk.com] > Sent: 10 November 2008 15:22 > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Notification Recovery Issue > > > >From these definitions - it should work and i see not reason why it > doesn't . > > have you checked the log to see what happens when it detects a recovery > ? > could it be that you have tow instances running and thus the nagios > isn't running with the corrent config ? > > > > > On Monday 10 November 2008 15:08:54 Leah Fisher wrote: > > Here are a bunch of my definitions. A host, the inherited host > > definitions, a contact and the escalation I'm using. > > > > define host{ > > use win > > host_name windowshost > > address xxx.xxx.xxx.xxx > > contact_groups +win > > } > > define host{ > > use generic-host > > name win > > hostgroups windows > > contact_groups +win > > register 0 > > } > > define host{ > > name generic-host > > notifications_enabled 1 > > event_handler_enabled 1 > > flap_detection_enabled 0 > > failure_prediction_enabled 1 > > process_perf_data 0 > > retain_status_information 1 > > retail_nonstatus_information 1 > > notification_period 24x7 > > check_command check-host-alive > > max_check_attempts 5 > > notification_interval 120 > > check_period 24x7 > > notifcation_options d,r > > retry_interval 1 > > check_interval 5 > > contact_groups all > > register 0 > > } > > define contact{ > > contact_name lfisher > > alias Leah Fisher > > service_notification_period 24x7 > > host_notification_period 24x7 > > service_notification_opttions w,u,c,r,f > > host_notification_options d,r > > service_notification_commands notify-by-email > > host_notification_commands host-notify-by-email > > email leahfist at gmail.com > > contactgroups all > > } > > define hostescalation{ > > host_name * > > contact_groups none > > first_notification 2 > > last_notification 0 > > notification_interval 360 > > escalation_period nonworkhours > > } > > > > On Mon, Nov 10, 2008 at 9:44 AM, Assaf Flatto > wrote: > > > can you show us the escalation config ? > > > > > > It will be easier to understand and debud , also a host declaration > > > > will help > > > > > > On Monday 10 November 2008 14:33:45 Leah Fisher wrote: > > > > Sorry, I should have included that. I'm using version 3.0.5 on > RHEL4 > > > > ES. > > > > > > > > I get recoveries if the host escalations do not take effect and I > can > > > > see in the event log that the notification was just sent to my > > > > escalation > > > > > > group > > > > > > > once the escalation group gets a notification. > > > > > > > > Leah > > > > > > > > On Mon, Nov 10, 2008 at 9:21 AM, Assaf Flatto > > > > > > > >wrote: > > > > > Which version are you using ? > > > > > > > > > > Do you also have them in the contact groups with the recovery > option > > > > > defined in the host/service > > > > > definition > > > > > > > > > > Myself i am using the same issue and we get the alert for both > the > > > > > > faiure > > > > > > > > and recovery ,however i > > > > > use 2.12 . > > > > > > > > > > On Monday 10 November 2008 14:09:30 Leah Fisher wrote: > > > > > > I have been noticing an issue with notifications that I wanted > to > > > > > > run by everyone before I report it as a bug. I'm also hoping > > > > > > someone who is on the development list can let me know if this > has > > > > > > already been reported. > > > > > > > > > > I > > > > > > > > > > > use escalations to suppress notifications on weekends so when > no > > > > > > one > > > > > > is > > > > > > > > > around to fix something, we don't have a very full inbox come > > > > > > Monday. > > > > > > > > > > So, > > > > > > > > > > > on non work hours, I have a host escalation that goes to a > false > > > > > > email > > > > > > > > > starting from notification 2 to infinity. This works great, > but if > > > > > > the > > > > > > > > > host recovers during the escalation period, recovery > notifications > > > > > > only > > > > > > > > go > > > > > > > > > > > to the escalation user, not all the users that were notified > of the > > > > > > problem. This becomes a problem as certain management folk > don't > > > > > > seem > > > > > > > > > to know how to go to the website to look at the status and > think > > > > > > things > > > > > > > > > are still down without a recovery notification. I am not sure > > > > > > about service alerts, but I know this has not worked for quite > some > > > > > > time on host > > > > > > > > > > alerts. > > > > > > > > > > > Has anyone else seen this problem? > > > > > > > > > > > > Thanks, > > > > > > > > > > > > Leah > > > > > > > > > > -- > > > > > Assaf Flatto > > > > > SSP Ops Team > > > > > Linux System Administrator > > > > > 169 Euston Road, London, NW1 2AE > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > 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=100&url=/ > > > > > _______________________________________________ > > > > > Nagios-users mailing list > > > > > Nagios-users at 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 > > > > > > -- > > > Assaf Flatto > > > SSP Ops Team > > > Linux System Administrator > > > 169 Euston Road, London, NW1 2AE > > > > > > > > > > > > > > > > > > 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=100&url=/ > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at 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 > > > > -- > Assaf Flatto > SSP Ops Team > Linux System Administrator > 169 Euston Road, London, NW1 2AE > > > > > > > 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=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > > > > CONFIDENTIALITY NOTICE > > This e-mail (and any attached files) is confidential and protected by > copyright (and other intellectual property rights). If you are not the > intended recipient please e-mail the sender and then delete the email and > any attached files immediately. Any further use or dissemination is > prohibited. > > While MTV Networks Europe has taken steps to ensure that this email and > any attachments are virus free, it is your responsibility to ensure that > this message and any attachments are virus free and do not affect your > systems / data. > > Communicating by email is not 100% secure and carries risks such as delay, > data corruption, non-delivery, wrongful interception and unauthorised > amendment. If you communicate with us by e-mail, you acknowledge and > assume these risks, and you agree to take appropriate measures to minimise > these risks when e-mailing us. > > MTV Networks International, MTV Networks UK & Ireland, Greenhouse, > Nickelodeon Viacom Consumer Products, VBSi, Viacom Brand Solutions > International and Comedy Central are all trading names of MTV Networks > Europe. MTV Networks Europe is a partnership between MTV Networks Europe > Inc. and Viacom Networks Europe Inc. Address for service in Great Britain > is UK House, 180 Oxford Street, London W1D 1DS, UK. > > > ------------------------------------------------------------------------- > 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=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Sotiroff.Kristian at mtvne.com Mon Nov 10 17:03:57 2008 From: Sotiroff.Kristian at mtvne.com (Sotiroff, Kristian) Date: Mon, 10 Nov 2008 16:03:57 -0000 Subject: Notification Recovery Issue In-Reply-To: <31b92eb50811100800m60e260e0w5cea0e5284cd89bf@mail.gmail.com> References: <31b92eb50811100708y2200c10fv8b470d61aed19732@mail.gmail.com><200811101521.41899.assaf.flatto@ssp.uk.com> <31b92eb50811100800m60e260e0w5cea0e5284cd89bf@mail.gmail.com> Message-ID: fair enough. should have read the entire thread before jumping in.. ________________________________ From: Leah Fisher [mailto:leahfist at gmail.com] Sent: 10 November 2008 16:00 To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Notification Recovery Issue As I've said, I notice in the logs that there is a recovery notification going to my none contact group, then before that I see the notification sent to the none contact group, and then 2 hours before that I see the notification going to everyone that it is supposed to. This has been happening for awhile now. Also, I don't believe your suggestion would do anything as the documentations say: "Note: Notifications about host or service recoveries are only sent out if a notification was sent out for the original problem. It doesn't make sense to get a recovery notification for something you never knew was a problem." Therefore why would a contact only get recovery notifications. Leah On Mon, Nov 10, 2008 at 10:32 AM, Sotiroff, Kristian wrote: Here's a thought: could it be that your original contact list don't get notified because you are in an escalation period? Thus the original list is out of reach. One thing you could try is creating a new list (lfisher_ooh) and then set this group to get the alerts during escalation periods but only 'recovery' alerts (ie. notification_options r) -----Original Message----- From: Assaf Flatto [mailto:assaf.flatto at ssp.uk.com] Sent: 10 November 2008 15:22 To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Notification Recovery Issue >From these definitions - it should work and i see not reason why it doesn't . have you checked the log to see what happens when it detects a recovery ? could it be that you have tow instances running and thus the nagios isn't running with the corrent config ? On Monday 10 November 2008 15:08:54 Leah Fisher wrote: > Here are a bunch of my definitions. A host, the inherited host > definitions, a contact and the escalation I'm using. > > define host{ > use win > host_name windowshost > address xxx.xxx.xxx.xxx > contact_groups +win > } > define host{ > use generic-host > name win > hostgroups windows > contact_groups +win > register 0 > } > define host{ > name generic-host > notifications_enabled 1 > event_handler_enabled 1 > flap_detection_enabled 0 > failure_prediction_enabled 1 > process_perf_data 0 > retain_status_information 1 > retail_nonstatus_information 1 > notification_period 24x7 > check_command check-host-alive > max_check_attempts 5 > notification_interval 120 > check_period 24x7 > notifcation_options d,r > retry_interval 1 > check_interval 5 > contact_groups all > register 0 > } > define contact{ > contact_name lfisher > alias Leah Fisher > service_notification_period 24x7 > host_notification_period 24x7 > service_notification_opttions w,u,c,r,f > host_notification_options d,r > service_notification_commands notify-by-email > host_notification_commands host-notify-by-email > email leahfist at gmail.com > contactgroups all > } > define hostescalation{ > host_name * > contact_groups none > first_notification 2 > last_notification 0 > notification_interval 360 > escalation_period nonworkhours > } > > On Mon, Nov 10, 2008 at 9:44 AM, Assaf Flatto wrote: > > can you show us the escalation config ? > > > > It will be easier to understand and debud , also a host declaration > > will help > > > > On Monday 10 November 2008 14:33:45 Leah Fisher wrote: > > > Sorry, I should have included that. I'm using version 3.0.5 on RHEL4 > > > ES. > > > > > > I get recoveries if the host escalations do not take effect and I can > > > see in the event log that the notification was just sent to my > > > escalation > > > > group > > > > > once the escalation group gets a notification. > > > > > > Leah > > > > > > On Mon, Nov 10, 2008 at 9:21 AM, Assaf Flatto > > > > >wrote: > > > > Which version are you using ? > > > > > > > > Do you also have them in the contact groups with the recovery option > > > > defined in the host/service > > > > definition > > > > > > > > Myself i am using the same issue and we get the alert for both the > > > > faiure > > > > > > and recovery ,however i > > > > use 2.12 . > > > > > > > > On Monday 10 November 2008 14:09:30 Leah Fisher wrote: > > > > > I have been noticing an issue with notifications that I wanted to > > > > > run by everyone before I report it as a bug. I'm also hoping > > > > > someone who is on the development list can let me know if this has > > > > > already been reported. > > > > > > > > I > > > > > > > > > use escalations to suppress notifications on weekends so when no > > > > > one > > > > is > > > > > > > around to fix something, we don't have a very full inbox come > > > > > Monday. > > > > > > > > So, > > > > > > > > > on non work hours, I have a host escalation that goes to a false > > > > email > > > > > > > starting from notification 2 to infinity. This works great, but if > > > > the > > > > > > > host recovers during the escalation period, recovery notifications > > > > only > > > > > > go > > > > > > > > > to the escalation user, not all the users that were notified of the > > > > > problem. This becomes a problem as certain management folk don't > > > > seem > > > > > > > to know how to go to the website to look at the status and think > > > > things > > > > > > > are still down without a recovery notification. I am not sure > > > > > about service alerts, but I know this has not worked for quite some > > > > > time on host > > > > > > > > alerts. > > > > > > > > > Has anyone else seen this problem? > > > > > > > > > > Thanks, > > > > > > > > > > Leah > > > > > > > > -- > > > > Assaf Flatto > > > > SSP Ops Team > > > > Linux System Administrator > > > > 169 Euston Road, London, NW1 2AE > > > > > > > > > > > > > > > > > > > > > > > > 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=100&url=/ > > > > _______________________________________________ > > > > Nagios-users mailing list > > > > Nagios-users at 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 > > > > -- > > Assaf Flatto > > SSP Ops Team > > Linux System Administrator > > 169 Euston Road, London, NW1 2AE > > > > > > > > > > > > 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=100&url=/ > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at 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 -- Assaf Flatto SSP Ops Team Linux System Administrator 169 Euston Road, London, NW1 2AE 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 CONFIDENTIALITY NOTICE This e-mail (and any attached files) is confidential and protected by copyright (and other intellectual property rights). If you are not the intended recipient please e-mail the sender and then delete the email and any attached files immediately. Any further use or dissemination is prohibited. While MTV Networks Europe has taken steps to ensure that this email and any attachments are virus free, it is your responsibility to ensure that this message and any attachments are virus free and do not affect your systems / data. Communicating by email is not 100% secure and carries risks such as delay, data corruption, non-delivery, wrongful interception and unauthorised amendment. If you communicate with us by e-mail, you acknowledge and assume these risks, and you agree to take appropriate measures to minimise these risks when e-mailing us. MTV Networks International, MTV Networks UK & Ireland, Greenhouse, Nickelodeon Viacom Consumer Products, VBSi, Viacom Brand Solutions International and Comedy Central are all trading names of MTV Networks Europe. MTV Networks Europe is a partnership between MTV Networks Europe Inc. and Viacom Networks Europe Inc. Address for service in Great Britain is UK House, 180 Oxford Street, London W1D 1DS, UK. ------------------------------------------------------------------------ - 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 CONFIDENTIALITY NOTICE This e-mail (and any attached files) is confidential and protected by copyright (and other intellectual property rights). If you are not the intended recipient please e-mail the sender and then delete the email and any attached files immediately. Any further use or dissemination is prohibited. While MTV Networks Europe has taken steps to ensure that this email and any attachments are virus free, it is your responsibility to ensure that this message and any attachments are virus free and do not affect your systems / data. Communicating by email is not 100% secure and carries risks such as delay, data corruption, non-delivery, wrongful interception and unauthorised amendment. If you communicate with us by e-mail, you acknowledge and assume these risks, and you agree to take appropriate measures to minimise these risks when e-mailing us. MTV Networks International, MTV Networks UK & Ireland, Greenhouse, Nickelodeon Viacom Consumer Products, VBSi, Viacom Brand Solutions International and Comedy Central are all trading names of MTV Networks Europe. MTV Networks Europe is a partnership between MTV Networks Europe Inc. and Viacom Networks Europe Inc. Address for service in Great Britain is UK House, 180 Oxford Street, London W1D 1DS, UK. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From novin.jaiswal at ishisystems.com Mon Nov 10 17:17:49 2008 From: novin.jaiswal at ishisystems.com (Novin Jaiswal) Date: Mon, 10 Nov 2008 11:17:49 -0500 Subject: Create a graph from Passive Host Check Results(NSCA) Message-ID: <2BA70ED7C7275645B648362FB35913A901EB5503@exchange.ishisystems.com> Hi, Using NSCA client I am sending the data to Nagios In following format. Its working fine and showing me the plugin out put on Nagios web interface for that service. [] PROCESS_HOST_CHECK_RESULT;;; Qn is how to create the graph of that plugin_output data result using MRTG or performance data over the period of time? Thanks for all your help in advance. Thanks & Regards Novin Jaiswal Ishi Systems Inc. 732-318-8156(cell) -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ssimmons at cymfony.com Mon Nov 10 18:55:39 2008 From: ssimmons at cymfony.com (Seth Simmons) Date: Mon, 10 Nov 2008 12:55:39 -0500 Subject: disabling checks of all service and host no longer works Message-ID: <13F36D2926AD444697093282F20041B707BD7FC9@buf-ex01.cymfony.com> Ever since I upgraded to 3.0.5 I noticed that if I select a host and choose 'disable checks on all services on this host' then select for host also, it doesn't do anything. If I disable the host check and service checks individually it works, but never all at once. I did notice, however, that if I select to disable checks of all services and don't check to disable for the host also, it will actually disable checks for all services - but not if I include the host. Anyone else notice that? ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From devin at phpcodeguru.com Mon Nov 10 18:19:34 2008 From: devin at phpcodeguru.com (Devin Atencio) Date: Mon, 10 Nov 2008 10:19:34 -0700 Subject: Increase output from nagios alert e-mails/pages? Message-ID: <20081110101934.15364ft3e4msauio@www.pabstatencio.com> I am using the latest version of Nagios. I am doing most of my checks using NRPE and I noticed that when it e-mails or pages me about an alert some of the information from the error appears to be getting cut off, is there a way to make it so that it e-mails me the entire message and not to have it cut off some of the text? I am not sure if there is a limit in Nagios on the error that nagios can handle? Any information would be appreciated. Devin ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From julien.touche at lycos.com Mon Nov 10 20:02:29 2008 From: julien.touche at lycos.com (Julien TOUCHE) Date: Mon, 10 Nov 2008 20:02:29 +0100 Subject: migrate 2.9 to 3.0: check configuration failed Message-ID: <49188545.2070805@lycos.com> Hello i'm trying to migrate my nagios install on 3.0. i use openbsd (4.4) with nagios port. after updating my configuration with (1), i get >>> # nagios -v `pwd`/nagios.cfg Nagios 3.0.3 Copyright (c) 1999-2008 Ethan Galstad (http://www.nagios.org) Last Modified: 06-25-2008 License: GPL Reading configuration data... ***> One or more problems was encountered while processing the config files... Check your configuration file(s) to ensure that they contain valid directives and data defintions. If you are upgrading from a previous version of Nagios, you should be aware that some variables/definitions may have been removed or modified in this version. Make sure to read the HTML documentation regarding the config files, as well as the 'Whats New' section to find out what has changed. <<< Same thing if i comment all lines with cfg_file= same with example files from the port, which i suppose are the ones from nagios distrib. Please note, i've remove all files from previous install, only restoring/updating config. As there is no file/line highlighted to look for the error, i don't know what to do. i didn't have any problems on 2.9. any ideas to locate error ? thanks Regards (1) http://nagios.sourceforge.net/docs/3_0/upgrading.html ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jwinkle at doit.wisc.edu Mon Nov 10 20:17:45 2008 From: jwinkle at doit.wisc.edu (Jim Winkle) Date: Mon, 10 Nov 2008 13:17:45 -0600 (CST) Subject: Nagios acknowledgement (with check_logfiles plugin) Message-ID: We're deploying Nagios (currently using 3.0.2) for our Unix servers, and I have a question about acknowledgement. We're using the check_logfiles plugin to monitor syslogs (e.g. /var/adm/messages on Solaris). check_logfiles returns CRITICAL when it detects a problem, but then normally clears itself (returns OK) the next time it runs. Nagios notifies us only once under this scenerio, and since it's possible that pagers might miss just one page (paging services aren't 100% reliable), we'd rather get notified until we explicitly acknowledge the problem. The check_logfiles plugin does have the capability to continue to report the error (using its "sticky" option). This is good since then we're notified longer, but if we then use the Nagios "Acknowledge" link to acknowledge the problem, new problems (e.g. new errors in /var/adm/messages) reported by the check_logfiles plugin get ignored. My question: Is there a way with Nagios to acknowledge a problem reported by a plugin like check_logfiles without ignoring future problems? Or would this be new functionality needed in Nagios? I realize we can syslog an "okpattern" string and check_logfiles will then clear, but I'm looking for something using the Nagios web (and external command_file) interfaces. Using the Nagios "Acknowledge" link would be ideal, since that's what folks are going to be using for other problems. Nagios and the check_logfiles plugin are great tools... perhaps I'm simply missing something. Thanks in advance! -- Jim ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From andy-lists at networkmail.eu Mon Nov 10 20:44:26 2008 From: andy-lists at networkmail.eu (Andy Shellam) Date: Mon, 10 Nov 2008 19:44:26 +0000 Subject: migrate 2.9 to 3.0: check configuration failed In-Reply-To: <49188545.2070805@lycos.com> References: <49188545.2070805@lycos.com> Message-ID: <49188F1A.6010908@networkmail.eu> Hi Julien, Julien TOUCHE wrote: > Hello > > i'm trying to migrate my nagios install on 3.0. i use openbsd (4.4) with > nagios port. > > after updating my configuration with (1), i get > > > # nagios -v `pwd`/nagios.cfg > > Nagios 3.0.3 > Copyright (c) 1999-2008 Ethan Galstad (http://www.nagios.org) > Last Modified: 06-25-2008 > License: GPL > > Reading configuration data... > > > ***> One or more problems was encountered while processing the config > files... > > Check your configuration file(s) to ensure that they contain valid > directives and data defintions. If you are upgrading from a previous > version of Nagios, you should be aware that some variables/definitions > may have been removed or modified in this version. Make sure to read > the HTML documentation regarding the config files, as well as the > 'Whats New' section to find out what has changed. > <<< > > Same thing if i comment all lines with cfg_file= > same with example files from the port, which i suppose are the ones from > nagios distrib. > Please note, i've remove all files from previous install, only > restoring/updating config. > > As there is no file/line highlighted to look for the error, i don't know > what to do. i didn't have any problems on 2.9. > > > any ideas to locate error ? > Errors from the configuration check are usually printed inline with the output - check the entire output from Nagios and it should give you the relevant line. Andy ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From mgargiullo at pivotpointsecurity.com Mon Nov 10 19:49:15 2008 From: mgargiullo at pivotpointsecurity.com (Michael Gargiullo) Date: Mon, 10 Nov 2008 13:49:15 -0500 Subject: Increase output from nagios alert e-mails/pages? In-Reply-To: <20081110101934.15364ft3e4msauio@www.pabstatencio.com> References: <20081110101934.15364ft3e4msauio@www.pabstatencio.com> Message-ID: -----Original Message----- From: Devin Atencio [mailto:devin at phpcodeguru.com] Sent: Monday, November 10, 2008 12:20 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Increase output from nagios alert e-mails/pages? I am using the latest version of Nagios. I am doing most of my checks using NRPE and I noticed that when it e-mails or pages me about an alert some of the information from the error appears to be getting cut off, is there a way to make it so that it e-mails me the entire message and not to have it cut off some of the text? I am not sure if there is a limit in Nagios on the error that nagios can handle? Any information would be appreciated. Devin ---------------------------------------------------------------- Email alerts are just another command in the commands.cfg file. By default it uses the 'mail' program, and pipes in the body. For certain alerts, we have written a perl script that uses Net::SMTP to send much nicer and more detailed messages. That's the beauty of Nagios... almost everything can be replaced or modified like that. -Mike ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From mgargiullo at pivotpointsecurity.com Mon Nov 10 20:54:41 2008 From: mgargiullo at pivotpointsecurity.com (Michael Gargiullo) Date: Mon, 10 Nov 2008 14:54:41 -0500 Subject: Check by ssh timeout problems Message-ID: I have 2 remote machines that only I only have ssh access to. I have about 5 services I check the status of. Occasionally the machine takes > 70seconds to respond. I have the global timeout set to 120 sec, but I still get 5 notifications "CRITICAL - Plugin timed out while executing system call" then maybe 10-20 minutes later 5 saying it's OK again. Is there a proper way to only send alerts on the 2nd or 3rd "CRITICAL - Plugin timed out while executing system call" message (a true problem) or better yet, increase the timeout for service checks? I never get a host message, just the services. Unfortunately, I only have ssh access to the remote hosts. Thanks, Mike ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From kyleodonnell at gmail.com Mon Nov 10 21:04:24 2008 From: kyleodonnell at gmail.com (Kyle O'Donnell) Date: Mon, 10 Nov 2008 15:04:24 -0500 Subject: Nagios acknowledgement (with check_logfiles plugin) In-Reply-To: References: Message-ID: <2274b9c30811101204i62728a33off4338b2c3cea723@mail.gmail.com> We configure check logfiles as a volatile service and choose not to use the sticky option. Some logs we configure check-logfiles to send a message via nsca for each pattern match, ensuring we don't miss any notifications. We also configure check-logfiles services not to send out recovery messages, and only schedule downtime or disable notifications during maintenance. On 11/10/08, Jim Winkle wrote: > We're deploying Nagios (currently using 3.0.2) for our Unix servers, and I > have > a question about acknowledgement. > > We're using the check_logfiles plugin to monitor syslogs (e.g. > /var/adm/messages on Solaris). check_logfiles returns CRITICAL when it > detects > a problem, but then normally clears itself (returns OK) the next time it > runs. > Nagios notifies us only once under this scenerio, and since it's possible > that > pagers might miss just one page (paging services aren't 100% reliable), we'd > rather get notified until we explicitly acknowledge the problem. > > The check_logfiles plugin does have the capability to continue to report the > error (using its "sticky" option). This is good since then we're notified > longer, but if we then use the Nagios "Acknowledge" link to acknowledge the > problem, new problems (e.g. new errors in /var/adm/messages) reported by the > check_logfiles plugin get ignored. > > My question: Is there a way with Nagios to acknowledge a problem reported by > a > plugin like check_logfiles without ignoring future problems? Or would this > be > new functionality needed in Nagios? I realize we can syslog an "okpattern" > string and check_logfiles will then clear, but I'm looking for something > using > the Nagios web (and external command_file) interfaces. Using the Nagios > "Acknowledge" link would be ideal, since that's what folks are going to be > using for other problems. > > Nagios and the check_logfiles plugin are great tools... perhaps I'm simply > missing something. > > Thanks in advance! > > -- Jim > > ------------------------------------------------------------------------- > 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=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Aaron.Segura at cabelas.com Mon Nov 10 21:29:55 2008 From: Aaron.Segura at cabelas.com (Aaron Segura) Date: Mon, 10 Nov 2008 13:29:55 -0700 Subject: Check by ssh timeout problems In-Reply-To: References: Message-ID: We had a similar problem (not using SSH, though). We use this script to handle our notifications: http://sweetdeliah.com/nagios/notify/nagios_notify-0.5.tar.gz Using the templates, we do something like (or, exactly like) this... #IF NOTIFICATIONNUMBER=1 #IF SERVICEOUTPUT~=/Service Check Timed Out/ #DIE #ENDIF #ENDIF You can pretty easily modify that to be: #IF NOTIFICATIONNUMBER<3 #IF SERVICEOUTPUT~=/Plugin timed out while executing system call/ #DIE #ENDIF #ENDIF Enjoy. -----Original Message----- From: Michael Gargiullo [mailto:mgargiullo at pivotpointsecurity.com] Sent: Monday, November 10, 2008 12:55 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Check by ssh timeout problems I have 2 remote machines that only I only have ssh access to. I have about 5 services I check the status of. Occasionally the machine takes > 70seconds to respond. I have the global timeout set to 120 sec, but I still get 5 notifications "CRITICAL - Plugin timed out while executing system call" then maybe 10-20 minutes later 5 saying it's OK again. Is there a proper way to only send alerts on the 2nd or 3rd "CRITICAL - Plugin timed out while executing system call" message (a true problem) or better yet, increase the timeout for service checks? I never get a host message, just the services. Unfortunately, I only have ssh access to the remote hosts. Thanks, Mike ------------------------------------------------------------------------ - 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From mgargiullo at pivotpointsecurity.com Mon Nov 10 21:59:38 2008 From: mgargiullo at pivotpointsecurity.com (Michael Gargiullo) Date: Mon, 10 Nov 2008 15:59:38 -0500 Subject: Check by ssh timeout problems In-Reply-To: References: Message-ID: Aaron, That looks great, Thanks! -Mike -----Original Message----- From: Aaron Segura [mailto:Aaron.Segura at cabelas.com] Sent: Monday, November 10, 2008 3:30 PM To: Michael Gargiullo; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Check by ssh timeout problems We had a similar problem (not using SSH, though). We use this script to handle our notifications: http://sweetdeliah.com/nagios/notify/nagios_notify-0.5.tar.gz Using the templates, we do something like (or, exactly like) this... #IF NOTIFICATIONNUMBER=1 #IF SERVICEOUTPUT~=/Service Check Timed Out/ #DIE #ENDIF #ENDIF You can pretty easily modify that to be: #IF NOTIFICATIONNUMBER<3 #IF SERVICEOUTPUT~=/Plugin timed out while executing system call/ #DIE #ENDIF #ENDIF Enjoy. -----Original Message----- From: Michael Gargiullo [mailto:mgargiullo at pivotpointsecurity.com] Sent: Monday, November 10, 2008 12:55 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Check by ssh timeout problems I have 2 remote machines that only I only have ssh access to. I have about 5 services I check the status of. Occasionally the machine takes > 70seconds to respond. I have the global timeout set to 120 sec, but I still get 5 notifications "CRITICAL - Plugin timed out while executing system call" then maybe 10-20 minutes later 5 saying it's OK again. Is there a proper way to only send alerts on the 2nd or 3rd "CRITICAL - Plugin timed out while executing system call" message (a true problem) or better yet, increase the timeout for service checks? I never get a host message, just the services. Unfortunately, I only have ssh access to the remote hosts. Thanks, Mike ------------------------------------------------------------------------ - 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From hvdkooij at vanderkooij.org Mon Nov 10 22:23:49 2008 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Mon, 10 Nov 2008 22:23:49 +0100 Subject: hosts.config In-Reply-To: References: <995403B5-6AE1-4DFA-A054-9E8FB8C8432F@ajc.com><200811101506.15272.assaf.flatto@ssp.uk.com> <9846CB1B-B397-4FA0-B017-AEF080240E85@ajc.com> Message-ID: <4918A665.1060605@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Layne Meier wrote: > Herein lies my problem. I've inherited supporting our Nagios system. > It was pre-configured and set-up by a previous employee. I've gone > over the web-based manual, but can't find specifics like this defined > in the manual. > > I was tasked with updating all of the groups and contacts, but need to > make sure that I get it set up correctly. Just curious. What is wrong with defining contacts to be individuals and contact groups for the specific areas people are responsible for? - From a logical point I find it a bit hard to see why you would need to add individuals besides groups to devices. Sometimes it pays of in the long run to be a bit stubborn about adding not to many exceptions. Exceptions have a tendency to take on a life of their own and triple your workload. Hugo. - -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc A: Yes. >Q: Are you sure? >>A: Because it reverses the logical flow of conversation. >>>Q: Why is top posting frowned upon? Bored? Click on http://spamornot.org/ and rate those images. Nid wyf yn y swyddfa ar hyn o bryd. Anfonwch unrhyw waith i'w gyfieithu. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org iD8DBQFJGKZjBvzDRVjxmYERAtTIAJ46dveE8ZCHGcR0UjzfV42rk+4O6gCfeXn+ ekULLxAQ32NAoGy6thkV7cU= =3GH/ -----END PGP SIGNATURE----- ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From hvdkooij at vanderkooij.org Mon Nov 10 22:28:45 2008 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Mon, 10 Nov 2008 22:28:45 +0100 Subject: Increase output from nagios alert e-mails/pages? In-Reply-To: <20081110101934.15364ft3e4msauio@www.pabstatencio.com> References: <20081110101934.15364ft3e4msauio@www.pabstatencio.com> Message-ID: <4918A78D.1070509@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Devin Atencio wrote: > I am using the latest version of Nagios. I am doing most of my checks > using NRPE and I noticed that when it e-mails or pages me about an > alert some of the information from the error appears to be getting cut > off, is there a way to make it so that it e-mails me the entire > message and not to have it cut off some of the text? I am not sure if > there is a limit in Nagios on the error that nagios can handle? My first guess is that you hit the character limit for SMS messages. To the best of my knowledge you can have only 160 bytes per message. And most email to SMS gateways do not handle content over this single message limit. If this does not apply you might want to add more details to your problem description. Hugo. - -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc A: Yes. >Q: Are you sure? >>A: Because it reverses the logical flow of conversation. >>>Q: Why is top posting frowned upon? Bored? Click on http://spamornot.org/ and rate those images. Nid wyf yn y swyddfa ar hyn o bryd. Anfonwch unrhyw waith i'w gyfieithu. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org iD8DBQFJGKeLBvzDRVjxmYERAglGAJ9BU371fZa3BS3/l9szJWGEmgGjpACePAl+ 7wNGhI5+xXDAxa1ekB7Ie7I= =uIyw -----END PGP SIGNATURE----- ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From hvdkooij at vanderkooij.org Mon Nov 10 22:43:01 2008 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Mon, 10 Nov 2008 22:43:01 +0100 Subject: migrate 2.9 to 3.0: check configuration failed In-Reply-To: <49188545.2070805@lycos.com> References: <49188545.2070805@lycos.com> Message-ID: <4918AAE5.3070006@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Julien TOUCHE wrote: > Hello > > i'm trying to migrate my nagios install on 3.0. i use openbsd (4.4) with > nagios port. Did you read the update part about the changes between 2.x and 3x configuration files? Having done 2 upgrades on 2 differnet system with rather different configurations I must say the upgrade was not as complicated as I expected. The worst case took me 10 minutes to make the required changes. Hugo. - -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc A: Yes. >Q: Are you sure? >>A: Because it reverses the logical flow of conversation. >>>Q: Why is top posting frowned upon? Bored? Click on http://spamornot.org/ and rate those images. Nid wyf yn y swyddfa ar hyn o bryd. Anfonwch unrhyw waith i'w gyfieithu. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org iD8DBQFJGKrjBvzDRVjxmYERAjG1AKCldkzRcGU1dsVjgTPESmgVCVWB5wCfRe1o s+ax/kpv3gXQgM7LJJxTtbI= =EIl0 -----END PGP SIGNATURE----- ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From rodolforodrigues at celepar.pr.gov.br Mon Nov 10 21:15:45 2008 From: rodolforodrigues at celepar.pr.gov.br (Rodolfo Belmonte Rodrigues) Date: Mon, 10 Nov 2008 18:15:45 -0200 Subject: first_notification_delay does not work - nagios-3.0.5 Message-ID: <1226348145.8445.14.camel@ecelepar91704> Hi, i found something strange in nagios-3.0.5, the first_notification_delay just works fine if the max_check_attempts is set to 1. If the max_check_attempts is set to more than 1 the notification is sent immediately after the last check attempt. Thank You Rodolfo - Curitiba - Paran? - Brasil CELEPAR - Companhia de Inform?tica do Paran?. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From sean.obrien at jp.fujitsu.com Tue Nov 11 04:51:05 2008 From: sean.obrien at jp.fujitsu.com (Sean O`Brien) Date: Tue, 11 Nov 2008 12:51:05 +0900 Subject: GroundWork (Nagios) Service Checks/Host Checks Message-ID: <200811110351.AA00040@FM-1303930367.jp.fujitsu.com> Dear All, I have been studying GroundWork monitor, with reference of course to Nagios. I hope someone can answer my query. Re: Nagios 2.x It is my understanding that when all the service checks fail, Nagios performs host checks; the number of which we have specified to 3. At which point (after reporting that Host is in a "Non-okay" state) Nagios resumes service checks. It is at this point my question lies. When does Nagios perform another host check? Would it be after all the service checks are reported "Okay" or will Nagios perform a host check after the first service check reports "okay". Thank you to all in advance for taking the time to read this and respond, it`s highly appreciated. Kind Regards. ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From dermoth at aei.ca Tue Nov 11 05:06:42 2008 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Mon, 10 Nov 2008 23:06:42 -0500 Subject: GroundWork (Nagios) Service Checks/Host Checks In-Reply-To: <200811110351.AA00040@FM-1303930367.jp.fujitsu.com> References: <200811110351.AA00040@FM-1303930367.jp.fujitsu.com> Message-ID: <491904D2.8040507@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 10/11/08 10:51 PM, Sean O`Brien wrote: > Dear All, > > I have been studying GroundWork monitor, with reference of course to Nagios. > > I hope someone can answer my query. > > Re: Nagios 2.x > > It is my understanding that when all the service checks fail, Nagios performs host checks; the number of which we have specified to 3. At which point (after reporting that Host is in a "Non-okay" state) > Nagios resumes service checks. It is at this point my question lies. When does Nagios perform another host check? Would it be after all the service checks are reported "Okay" or will Nagios perform a > host check after the first service check reports "okay". > > Thank you to all in advance for taking the time to read this and respond, it`s highly appreciated. I might be wrong, but as far as I know Nagios 2.x performs a host check on each service failure, and notify for that service only if the host is not in HARD DOWN state after the last check (when the service enter the HARD state and the host check has already been perfiormed for that last failure). I guess it also performs one on state changes, and possibly not when services are already in a hard critical state, to detect host up (haven't really read on that but that seems to be the logical thing to do). With Nagios 3.x, there's scheduled host checks and result caching in the mix, so that : 1. not every service failure will result in a host check 2. Host checks are not run serially like they did in nagios 2.x, which was by far the biggest bottleneck. The official Nagios documentation explains the check logic in details if you read it thoughtfully. - -- Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFJGQTS6dZ+Kt5BchYRAnOQAKDy6jYFWUSHe/+r5oPdrA4C0UM2LgCaA2Hi oIqady/Kz99UlzxLxDNhGiw= =kY+I -----END PGP SIGNATURE----- ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From julien.touche at lycos.com Tue Nov 11 08:26:47 2008 From: julien.touche at lycos.com (Julien TOUCHE) Date: Tue, 11 Nov 2008 08:26:47 +0100 Subject: migrate 2.9 to 3.0: check configuration failed In-Reply-To: <49188545.2070805@lycos.com> References: <49188545.2070805@lycos.com> Message-ID: <491933B7.2030500@lycos.com> strange, as i retry this evening, `nagios -v ...` now gives me error lines. i believe i only change some permissions. does nagios give some warning if it can't access some files ? or if permission directory is incorrect ? Maybe a warning could help thanks for the help Regards ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From kenneho.ndu at gmail.com Tue Nov 11 09:08:38 2008 From: kenneho.ndu at gmail.com (Kenneth Holter) Date: Tue, 11 Nov 2008 09:08:38 +0100 Subject: Limiting mail notification for clock drift Message-ID: Hello. I'm using Nagios 3.0.3 to monitor things such as time (synchronized with NTP) on our servers, and are getting a lot of semi-duplicate notification mails: As long as there is an error/warning, I get a mail notification every time the clock drift increases or decreases. Is there an option I can set to limit the notification to _one_ mail whenever we enter or leave an error/warning state, and thus not for every time a new drift time is calculated? The same problem also applies to things such as disk space. Regards, Kenneth Holter -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ae at op5.se Tue Nov 11 11:08:27 2008 From: ae at op5.se (Andreas Ericsson) Date: Tue, 11 Nov 2008 11:08:27 +0100 Subject: disabling checks of all service and host no longer works In-Reply-To: <13F36D2926AD444697093282F20041B707BD7FC9@buf-ex01.cymfony.com> References: <13F36D2926AD444697093282F20041B707BD7FC9@buf-ex01.cymfony.com> Message-ID: <4919599B.5010701@op5.se> Seth Simmons wrote: > Ever since I upgraded to 3.0.5 I noticed that if I select a host and > choose 'disable checks on all services on this host' then select for > host also, it doesn't do anything. If I disable the host check and > service checks individually it works, but never all at once. > > I did notice, however, that if I select to disable checks of all > services and don't check to disable for the host also, it will actually > disable checks for all services - but not if I include the host. > > Anyone else notice that? > There's a fix available at http://www.op5.org/src/nagios-3.0.5p1.tar.gz If that works for you, please make sure to report it here so Ethan knows it's safe to apply those patches to the official Nagios sources. Thanks. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From lmeier at ajc.com Tue Nov 11 14:39:28 2008 From: lmeier at ajc.com (Layne Meier) Date: Tue, 11 Nov 2008 08:39:28 -0500 Subject: hosts.config In-Reply-To: <4918A665.1060605@vanderkooij.org> References: <995403B5-6AE1-4DFA-A054-9E8FB8C8432F@ajc.com><200811101506.15272.assaf.flatto@ssp.uk.com> <9846CB1B-B397-4FA0-B017-AEF080240E85@ajc.com> <4918A665.1060605@vanderkooij.org> Message-ID: <08641F52-BFF2-43FE-B5DC-AA4EB47F1480@ajc.com> That's a perfectly good question. Let's say for example that the servers that manage our backup system run on Sun Solaris. I need to notify our Unix Administration group if something happens to the backup servers. However, the administrator of the backup system, is not in the Unix admin group. In this instance, I need to notify a group of people (Unix Admins) and an individual (backup software administrator). What I need help in figuring out is if I can add an individual contact into the contact_groups list, or should I just add a contacts list along with a contact_group listing. Thank you, Layne Meier AJC Information Technology Atlanta Journal-Constitution A Cox Newspaper On Nov 10, 2008, at 4:23 PM, Hugo van der Kooij wrote: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Layne Meier wrote: > Herein lies my problem. I've inherited supporting our Nagios system. > It was pre-configured and set-up by a previous employee. I've gone > over the web-based manual, but can't find specifics like this defined > in the manual. > > I was tasked with updating all of the groups and contacts, but need to > make sure that I get it set up correctly. Just curious. What is wrong with defining contacts to be individuals and contact groups for the specific areas people are responsible for? - From a logical point I find it a bit hard to see why you would need to add individuals besides groups to devices. Sometimes it pays of in the long run to be a bit stubborn about adding not to many exceptions. Exceptions have a tendency to take on a life of their own and triple your workload. Hugo. - -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc A: Yes. >Q: Are you sure? >>A: Because it reverses the logical flow of conversation. >>>Q: Why is top posting frowned upon? Bored? Click on http://spamornot.org/ and rate those images. Nid wyf yn y swyddfa ar hyn o bryd. Anfonwch unrhyw waith i'w gyfieithu. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org iD8DBQFJGKZjBvzDRVjxmYERAtTIAJ46dveE8ZCHGcR0UjzfV42rk+4O6gCfeXn+ ekULLxAQ32NAoGy6thkV7cU= =3GH/ -----END PGP SIGNATURE----- ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Tue Nov 11 14:49:56 2008 From: marc at ena.com (Marc Powell) Date: Tue, 11 Nov 2008 07:49:56 -0600 Subject: Limiting mail notification for clock drift In-Reply-To: References: Message-ID: On Nov 11, 2008, at 2:08 AM, Kenneth Holter wrote: > Hello. > > > I'm using Nagios 3.0.3 to monitor things such as time (synchronized > with NTP) on our servers, and are getting a lot of semi-duplicate > notification mails: As long as there is an error/warning, I get a > mail notification every time the clock drift increases or decreases. > Is there an option I can set to limit the notification to _one_ mail > whenever we enter or leave an error/warning state, and thus not for > every time a new drift time is calculated? Sounds like you need to remove the is_volatile option in your service definitions. http://nagios.sourceforge.net/docs/2_0/volatileservices.html -- Marc ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From novin.jaiswal at ishisystems.com Tue Nov 11 17:17:45 2008 From: novin.jaiswal at ishisystems.com (Novin Jaiswal) Date: Tue, 11 Nov 2008 11:17:45 -0500 Subject: Need Nagiosgraph tutorial/Help Link Message-ID: <2BA70ED7C7275645B648362FB35913A901EB5508@exchange.ishisystems.com> Hi Friends, I am trying to integrate Nagiosgraph with nagios. Is there any helpful link or tutorial available for Nagiosgraph? I appreciate your help. Thanks & Regards Novin Jaiswal Ishi Systems Inc. 732-318-8156(cell) -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jpaulus at sourceinterlink.com Tue Nov 11 17:26:35 2008 From: jpaulus at sourceinterlink.com (Paulus, Jake) Date: Tue, 11 Nov 2008 11:26:35 -0500 Subject: Need Nagiosgraph tutorial/Help Link In-Reply-To: <2BA70ED7C7275645B648362FB35913A901EB5508@exchange.ishisystems.com> References: <2BA70ED7C7275645B648362FB35913A901EB5508@exchange.ishisystems.com> Message-ID: <79B77295FBC9F247A32A6C98B67B1E1401EF7D5F@srv-1exch01.sourceinterlink.com> Not to be rude...but http://www.google.com/search?q=nagiosgraph Thanks, -Jake From: Novin Jaiswal [mailto:novin.jaiswal at ishisystems.com] Sent: Tuesday, November 11, 2008 11:18 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Need Nagiosgraph tutorial/Help Link Hi Friends, I am trying to integrate Nagiosgraph with nagios. Is there any helpful link or tutorial available for Nagiosgraph? I appreciate your help. Thanks & Regards Novin Jaiswal Ishi Systems Inc. 732-318-8156(cell) -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Aaron.Segura at cabelas.com Tue Nov 11 17:32:21 2008 From: Aaron.Segura at cabelas.com (Aaron Segura) Date: Tue, 11 Nov 2008 09:32:21 -0700 Subject: Need Nagiosgraph tutorial/Help Link In-Reply-To: <2BA70ED7C7275645B648362FB35913A901EB5508@exchange.ishisystems.com> References: <2BA70ED7C7275645B648362FB35913A901EB5508@exchange.ishisystems.com> Message-ID: That seems like a question google would be able to answer for you pretty easily. ________________________________ From: Novin Jaiswal [mailto:novin.jaiswal at ishisystems.com] Sent: Tuesday, November 11, 2008 9:18 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Need Nagiosgraph tutorial/Help Link Hi Friends, I am trying to integrate Nagiosgraph with nagios. Is there any helpful link or tutorial available for Nagiosgraph? I appreciate your help. Thanks & Regards Novin Jaiswal Ishi Systems Inc. 732-318-8156(cell) -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From charlie.reddington at gmail.com Tue Nov 11 18:48:58 2008 From: charlie.reddington at gmail.com (Charlie Reddington) Date: Tue, 11 Nov 2008 11:48:58 -0600 Subject: Confused on how this is working with out nrpe... Message-ID: Hi, I'm running the latest version of nagios - 3.0.5. On my remote hosts, I'm running NRPE. I haven't used nrpe with nagios since 2.9, so I'm wondering did I miss how things work now that we are 3.0. I have a bunch of checks - disk, load, users, etc, but I'm not putting it through nrpe, yet it's returning info. Do I not need nrpe any more? Or namely do I not need to do things like. check_nrpe!check_disk Thanks for clueing me in. Charlie ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Aaron.Segura at cabelas.com Tue Nov 11 18:58:31 2008 From: Aaron.Segura at cabelas.com (Aaron Segura) Date: Tue, 11 Nov 2008 10:58:31 -0700 Subject: Confused on how this is working with out nrpe... In-Reply-To: References: Message-ID: This is not nearly enough information to offer any sort of help other than "You're obviously misunderstanding or misstating something". Please include (at the very least) some relevant configs. -----Original Message----- From: Charlie Reddington [mailto:charlie.reddington at gmail.com] Sent: Tuesday, November 11, 2008 10:49 AM To: Nagios User list Subject: [Nagios-users] Confused on how this is working with out nrpe... Hi, I'm running the latest version of nagios - 3.0.5. On my remote hosts, I'm running NRPE. I haven't used nrpe with nagios since 2.9, so I'm wondering did I miss how things work now that we are 3.0. I have a bunch of checks - disk, load, users, etc, but I'm not putting it through nrpe, yet it's returning info. Do I not need nrpe any more? Or namely do I not need to do things like. check_nrpe!check_disk Thanks for clueing me in. Charlie ------------------------------------------------------------------------ - 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ssimmons at cymfony.com Tue Nov 11 19:06:26 2008 From: ssimmons at cymfony.com (Seth Simmons) Date: Tue, 11 Nov 2008 13:06:26 -0500 Subject: disabling checks of all service and host no longer works In-Reply-To: <4919599B.5010701@op5.se> References: <13F36D2926AD444697093282F20041B707BD7FC9@buf-ex01.cymfony.com> <4919599B.5010701@op5.se> Message-ID: <13F36D2926AD444697093282F20041B707BD833F@buf-ex01.cymfony.com> I applied the patch and it worked. I selected a host and told it to disable checks for all services and the host and this time it did it. -----Original Message----- From: Andreas Ericsson [mailto:ae at op5.se] Sent: Tuesday, November 11, 2008 5:08 AM To: Seth Simmons Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] disabling checks of all service and host no longer works Seth Simmons wrote: > Ever since I upgraded to 3.0.5 I noticed that if I select a host and > choose 'disable checks on all services on this host' then select for > host also, it doesn't do anything. If I disable the host check and > service checks individually it works, but never all at once. > > I did notice, however, that if I select to disable checks of all > services and don't check to disable for the host also, it will actually > disable checks for all services - but not if I include the host. > > Anyone else notice that? > There's a fix available at http://www.op5.org/src/nagios-3.0.5p1.tar.gz If that works for you, please make sure to report it here so Ethan knows it's safe to apply those patches to the official Nagios sources. Thanks. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From charlie.reddington at gmail.com Tue Nov 11 19:06:47 2008 From: charlie.reddington at gmail.com (Charlie Reddington) Date: Tue, 11 Nov 2008 12:06:47 -0600 Subject: Confused on how this is working with out nrpe... In-Reply-To: References: Message-ID: Sure thing. I think I am missing something as it's not working how I remembered it working. On my remote host, my config file. Alloweed_hosts=my.server.com # The following examples use hardcoded command arguments... command[check_smtp]=/usr/local/nagios/libexec/check_smtp -t20 -w 10 -c 20 command[check_ftp]=/usr/local/nagios/libexec/check_ftp -w 10 -c 20 command[check_users]=/usr/local/nagios/libexec/check_users -w 5 -c 10 command[check_load]=/usr/local/nagios/libexec/check_load -w 15,10,5 -c 30,25,20 command[check_hda1]=/usr/local/nagios/libexec/check_disk -w 20% -c 10% -p /dev/hda1 command[check_zombie_procs]=/usr/local/nagios/libexec/check_procs -w 5 -c 10 -s Z command[check_total_procs]=/usr/local/nagios/libexec/check_procs -w 200 -c 250 command[check_mysql]=/usr/local/nagios/libexec/check_mysql -u user -p password command[check_local_disk]=/usr/local/nagios/libexec/check_disk -w 20 - c 10 -u MB command[check_load]=/usr/local/nagios/libexec/check_load -w 5.0,4.0,3.0 -c 10.0,6.0,4.0 # The following examples allow user-supplied arguments and can # only be used if the NRPE daemon was compiled with support for # command arguments *AND* the dont_blame_nrpe directive in this # config file is set to '1'. This poses a potential security risk, so # make sure you read the SECURITY file before doing this. #command[check_users]=/usr/local/nagios/libexec/check_users -w $ARG1$ - c $ARG2$ #command[check_load]=/usr/local/nagios/libexec/check_load -w $ARG1$ -c $ARG2$ command[check_disk]=/usr/local/nagios/libexec/check_disk -w $ARG1$ -c $ARG2$ -p $ARG3$ command[check_procs]=/usr/local/nagios/libexec/check_procs -w $ARG1$ - c $ARG2$ -s $ARG3$ And on my host system, I have some checks and definiations as such. # 'check_ftp' command definition define command{ command_name check_ftp command_line $USER1$/check_ftp -H $HOSTADDRESS$ $ARG1$ } # 'check_hpjd' command definition define command{ command_name check_hpjd command_line $USER1$/check_hpjd -H $HOSTADDRESS$ $ARG1$ } # 'check_snmp' command definition define command{ command_name check_snmp command_line $USER1$/check_snmp -H $HOSTADDRESS$ $ARG1$ } # 'check_http' command definition define command{ command_name check_http command_line $USER1$/check_http -I $HOSTADDRESS$ $ARG1$ } ------------------- define service{ use generic-service ; Name of service template to use host_name master service_description PING check_command check_ping!100.0,20%!500.0,60% } define service{ use generic-service ; Name of service template to use host_name master,prodws01,prodws02 service_description Root Partition check_command check_local_disk!20%!10%!/ } define service{ use generic-service ; Name of service template to use host_name master,prodws01,prodws02 service_description Current Users check_command check_local_users!20!50 } define service{ use generic-service ; Name of service template to use host_name master,prodws01,prodws02 service_description Total Processes check_command check_local_procs!250!400!RSZDT } define service{ use generic-service ; Name of service template to use host_name master,prodws01,prodws02 service_description Current Load check_command check_local_load!5.0,4.0,3.0!10.0,6.0,4.0 } Now looking at this, I'm able to get successful checks, with out using nrpe on the host server. So my question comes back to, how is this working when I thought you had to define commands like this define service{ use generic-service host_name master,prodws01,prodws02 service_description Current Load check_command check_nrpe!check_local_load!5.0,4.0,3.0!10.0,6.0,4.0 } On Nov 11, 2008, at 11:58 AM, Aaron Segura wrote: > This is not nearly enough information to offer any sort of help other > than "You're obviously misunderstanding or misstating something". > Please include (at the very least) some relevant configs. > > -----Original Message----- > From: Charlie Reddington [mailto:charlie.reddington at gmail.com] > Sent: Tuesday, November 11, 2008 10:49 AM > To: Nagios User list > Subject: [Nagios-users] Confused on how this is working with out > nrpe... > > Hi, > > I'm running the latest version of nagios - 3.0.5. > > On my remote hosts, I'm running NRPE. > > I haven't used nrpe with nagios since 2.9, so I'm wondering did I miss > how things work now that we are 3.0. > > I have a bunch of checks - disk, load, users, etc, but I'm not putting > it through nrpe, yet it's returning info. > > Do I not need nrpe any more? Or namely do I not need to do things > like. > > check_nrpe!check_disk > > Thanks for clueing me in. > > Charlie > > ------------------------------------------------------------------------ > - > 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=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From smcafee at collaborativefusion.com Tue Nov 11 19:20:28 2008 From: smcafee at collaborativefusion.com (Sean McAfee) Date: Tue, 11 Nov 2008 13:20:28 -0500 Subject: Confused on how this is working with out nrpe... In-Reply-To: References: Message-ID: <4919CCEC.1010509@collaborativefusion.com> Charlie Reddington wrote: > Sure thing. I think I am missing something as it's not working how I > remembered it working. > > > ------------------- > > define service{ > use generic-service ; > Name of service template to use > host_name master,prodws01,prodws02 > service_description Root Partition > check_command check_local_disk!20%!10%!/ > } > > Now looking at this, I'm able to get successful checks, with out using > nrpe on the host server. So my question comes back to, how is this > working when I thought you had to define commands like this > > define service{ > use generic-service > host_name master,prodws01,prodws02 > service_description Current Load > check_command check_nrpe!check_local_load!5.0,4.0,3.0!10.0,6.0,4.0 > } You're missing See the "check_local_*" names in the service definitions? Somewhere you've defined something like: define command{ command_name check_local_disk command_line $USER1$/check_nrpe2 -H $HOSTNAME$ -c check_disk -a $ARG1$ $ARG2$ } That is how NRPE is getting invoked. Look closer at your templates. -- Sean McAfee System Engineer Collaborative Fusion, Inc. smcafee at collaborativefusion.com 412-422-3463 x 4025 5849 Forbes Avenue Pittsburgh, PA 15217 **************************************************************** IMPORTANT: This message contains confidential information and is intended only for the individual named. If the reader of this message is not an intended recipient (or the individual responsible for the delivery of this message to an intended recipient), please be advised that any re-use, dissemination, distribution or copying of this message is prohibited. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. **************************************************************** IMPORTANT: This message contains confidential information and is intended only for the individual named. If the reader of this message is not an intended recipient (or the individual responsible for the delivery of this message to an intended recipient), please be advised that any re-use, dissemination, distribution or copying of this message is prohibited. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From novin.jaiswal at ishisystems.com Tue Nov 11 19:59:21 2008 From: novin.jaiswal at ishisystems.com (Novin Jaiswal) Date: Tue, 11 Nov 2008 13:59:21 -0500 Subject: Nagiosgraph is not working Message-ID: <2BA70ED7C7275645B648362FB35913A901EB550D@exchange.ishisystems.com> Hi guys, Thanks for all your help have set up Nagios graph the way they I is been instructed as per http://www.novell.com/coolsolutions/feature/19843.html && also as per READMe.txt. Perf data is moving fine into the =/tmp/service-perfdata file. But the rrd file is not created(the rrd database with name "nagios" and datasource "pegcount"). It should be automatically created? Where It will create the .rrd file It should be in rrd folder as mentioned in nagiosgraph.conf Am I right. Or do I have create manually the dabase and data source using rrdtool -create? Do I need to add my service name to servdb.conf? Pls help me I m working on this from so many days? Pls let me know if any more information is required then. Nagios.conf ====================================== process_performance_data=1 service_perfdata_command=process-service-perfdata service_perfdata_file=/tmp/service-perfdata service_perfdata_file_template=$LASTSERVICECHECK$||$HOSTNAME$||$SERVICED ESC$||$SERVICEOUTPUT$||$SERVICEPERFDATA$ service_perfdata_file_mode=a service_perfdata_file_processing_interval=5 service_perfdata_file_processing_command=process-service-perfdata command.conf ====================================== define command { command_name process-service-perfdata command_line /usr/local/nagiosgraph/insert.pl } stage8.ishisystems.com.conf ====================================== #novin for nagiosgraph generation page pointing define serviceextinfo{ host_name stage8.ishisystems.com service_description AllCOMPONENT PEGCOUNT notes_url /nagiosgraph/show.cgi?host=$HOSTNAME$&service=$SERVICEDESC$&db=nagios,pe gcount&geom=500x100&rrdopts=%2Dl%200%20%2Du %201000%20%2Dt%20PEGCOUNT } Now I have updated my nagiosgraph/map file and added Map entry ====================================== # perfdata:1226534492||stage8.ishisystems.com||AllCOMPONENT PEGCOUNT||138|| /perfdata:AllCOMPONENT PEGCOUNT\|\|([0-9]+)/ and push @s, [ nagios, [ pegcount, GAUGE, $1 ] ]; PerfData: 1226534492||stage8.ishisystems.com||AllCOMPONENT PEGCOUNT||138|| Nagiosgraph.conf ====================================== debug = 5 debug_insert = 5 debug_showservice = 5 debug_showhost = 5 debug_showgraph = 5 logfile = /usr/local/nagiosgraph/log/nagiosgraph.log rrddir = /usr/local/nagiosgraph/rrd mapfile = /usr/local/nagiosgraph/map heartbeat = 600 perflog = /tmp/service-perfdata stylesheet = /usr/local/nagiosgraph/nagiosgraph.css Thanks & Regards Novin Jaiswal Ishi Systems Inc. 732-318-8156(cell) From: Aaron Segura [mailto:Aaron.Segura at cabelas.com] Sent: Tuesday, November 11, 2008 11:32 AM To: Novin Jaiswal; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Need Nagiosgraph tutorial/Help Link That seems like a question google would be able to answer for you pretty easily. ________________________________ From: Novin Jaiswal [mailto:novin.jaiswal at ishisystems.com] Sent: Tuesday, November 11, 2008 9:18 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Need Nagiosgraph tutorial/Help Link Hi Friends, I am trying to integrate Nagiosgraph with nagios. Is there any helpful link or tutorial available for Nagiosgraph? I appreciate your help. Thanks & Regards Novin Jaiswal Ishi Systems Inc. 732-318-8156(cell) -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From charlie.reddington at gmail.com Tue Nov 11 19:59:11 2008 From: charlie.reddington at gmail.com (Charlie Reddington) Date: Tue, 11 Nov 2008 12:59:11 -0600 Subject: Confused on how this is working with out nrpe... In-Reply-To: <4919CCEC.1010509@collaborativefusion.com> References: <4919CCEC.1010509@collaborativefusion.com> Message-ID: <6A69F573-2FBE-49F9-9C14-5820C3FE4C74@gmail.com> That's the thing, I don't have nrpe installed around. Which is where my confusion is. On Nov 11, 2008, at 12:20 PM, Sean McAfee wrote: > Charlie Reddington wrote: >> Sure thing. I think I am missing something as it's not working how I >> remembered it working. >> >> >> ------------------- >> >> define service{ >> use generic-service ; >> Name of service template to use >> host_name master,prodws01,prodws02 >> service_description Root Partition >> check_command check_local_disk!20%!10%!/ >> } >> >> Now looking at this, I'm able to get successful checks, with out >> using >> nrpe on the host server. So my question comes back to, how is this >> working when I thought you had to define commands like this >> >> define service{ >> use generic-service >> host_name master,prodws01,prodws02 >> service_description Current Load >> check_command check_nrpe!check_local_load!5.0,4.0,3.0!10.0,6.0,4.0 >> } > You're missing See the "check_local_*" names in the service > definitions? Somewhere you've defined something like: > > define command{ > command_name check_local_disk > command_line $USER1$/check_nrpe2 -H $HOSTNAME$ -c > check_disk -a $ARG1$ $ARG2$ > } > > That is how NRPE is getting invoked. Look closer at your templates. > > -- > Sean McAfee > System Engineer > > Collaborative Fusion, Inc. > smcafee at collaborativefusion.com > 412-422-3463 x 4025 > > 5849 Forbes Avenue > Pittsburgh, PA 15217 > > **************************************************************** > IMPORTANT: This message contains confidential information > and is intended only for the individual named. If the reader of > this message is not an intended recipient (or the individual > responsible for the delivery of this message to an intended > recipient), please be advised that any re-use, dissemination, > distribution or copying of this message is prohibited. Please > notify the sender immediately by e-mail if you have received > this e-mail by mistake and delete this e-mail from your system. > E-mail transmission cannot be guaranteed to be secure or > error-free as information could be intercepted, corrupted, lost, > destroyed, arrive late or incomplete, or contain viruses. The > sender therefore does not accept liability for any errors or > omissions in the contents of this message, which arise as a > result of e-mail transmission. > **************************************************************** > > > > > IMPORTANT: This message contains confidential information and is > intended only for the individual named. If the reader of this > message is not an intended recipient (or the individual responsible > for the delivery of this message to an intended recipient), please > be advised that any re-use, dissemination, distribution or copying > of this message is prohibited. Please notify the sender immediately > by e-mail if you have received this e-mail by mistake and delete > this e-mail from your system. > > > > ------------------------------------------------------------------------- > 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=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Tue Nov 11 20:05:54 2008 From: marc at ena.com (Marc Powell) Date: Tue, 11 Nov 2008 13:05:54 -0600 Subject: Confused on how this is working with out nrpe... In-Reply-To: References: Message-ID: On Nov 11, 2008, at 12:06 PM, Charlie Reddington wrote: > Sure thing. I think I am missing something as it's not working how I > remembered it working. > define service{ > use generic-service ; > Name of service template to use > host_name master,prodws01,prodws02 > service_description Root Partition > check_command check_local_disk!20%!10%!/ > } > > define service{ > use generic-service ; > Name of service template to use > host_name master,prodws01,prodws02 > service_description Current Users > check_command check_local_users!20!50 > } > > define service{ > use generic-service ; > Name of service template to use > host_name master,prodws01,prodws02 > service_description Total Processes > check_command check_local_procs!250!400!RSZDT > } > > define service{ > use generic-service ; > Name of service template to use > host_name master,prodws01,prodws02 > service_description Current Load > check_command check_local_load!5.0,4.0,3.0!10.0,6.0,4.0 > } > > > Now looking at this, I'm able to get successful checks, with out using > nrpe on the host server. So my question comes back to, how is this > working when I thought you had to define commands like this The results being reported are for the machine that nagios is running on only. The check_local_* commands almost certainly don't take a hostname parameter and always operate for localhost *. When checking host 'master', check_local_load shows the load for the nagios machine; when checking prodws01, check_local_load shows the load for the nagios machine, etc... As you suspect, you must use nrpe or some other remote connection methodology to run those plugins on the remote host to get the results you expect. * unless the command{} defintion uses check_nrpe or other remote connection methodology. -- Marc ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jpaulus at sourceinterlink.com Tue Nov 11 20:10:23 2008 From: jpaulus at sourceinterlink.com (Paulus, Jake) Date: Tue, 11 Nov 2008 14:10:23 -0500 Subject: Nagiosgraph is not working In-Reply-To: <2BA70ED7C7275645B648362FB35913A901EB550D@exchange.ishisystems.com> References: <2BA70ED7C7275645B648362FB35913A901EB550D@exchange.ishisystems.com> Message-ID: <79B77295FBC9F247A32A6C98B67B1E1401EF7E63@srv-1exch01.sourceinterlink.com> Don't forget that the directory you specify for the RRD files to go must be writable by the user you run Nagios as. Thanks, -Jake 239-949-4450 x6628 From: Novin Jaiswal [mailto:novin.jaiswal at ishisystems.com] Sent: Tuesday, November 11, 2008 1:59 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagiosgraph is not working Hi guys, Thanks for all your help have set up Nagios graph the way they I is been instructed as per http://www.novell.com/coolsolutions/feature/19843.html && also as per READMe.txt. Perf data is moving fine into the =/tmp/service-perfdata file. But the rrd file is not created(the rrd database with name "nagios" and datasource "pegcount"). It should be automatically created? Where It will create the .rrd file It should be in rrd folder as mentioned in nagiosgraph.conf Am I right. Or do I have create manually the dabase and data source using rrdtool -create? Do I need to add my service name to servdb.conf? Pls help me I m working on this from so many days? Pls let me know if any more information is required then. Nagios.conf ====================================== process_performance_data=1 service_perfdata_command=process-service-perfdata service_perfdata_file=/tmp/service-perfdata service_perfdata_file_template=$LASTSERVICECHECK$||$HOSTNAME$||$SERVICED ESC$||$SERVICEOUTPUT$||$SERVICEPERFDATA$ service_perfdata_file_mode=a service_perfdata_file_processing_interval=5 service_perfdata_file_processing_command=process-service-perfdata command.conf ====================================== define command { command_name process-service-perfdata command_line /usr/local/nagiosgraph/insert.pl } stage8.ishisystems.com.conf ====================================== #novin for nagiosgraph generation page pointing define serviceextinfo{ host_name stage8.ishisystems.com service_description AllCOMPONENT PEGCOUNT notes_url /nagiosgraph/show.cgi?host=$HOSTNAME$&service=$SERVICEDESC$&db=nagios,pe gcount&geom=500x100&rrdopts=%2Dl%200%20%2Du %201000%20%2Dt%20PEGCOUNT } Now I have updated my nagiosgraph/map file and added Map entry ====================================== # perfdata:1226534492||stage8.ishisystems.com||AllCOMPONENT PEGCOUNT||138|| /perfdata:AllCOMPONENT PEGCOUNT\|\|([0-9]+)/ and push @s, [ nagios, [ pegcount, GAUGE, $1 ] ]; PerfData: 1226534492||stage8.ishisystems.com||AllCOMPONENT PEGCOUNT||138|| Nagiosgraph.conf ====================================== debug = 5 debug_insert = 5 debug_showservice = 5 debug_showhost = 5 debug_showgraph = 5 logfile = /usr/local/nagiosgraph/log/nagiosgraph.log rrddir = /usr/local/nagiosgraph/rrd mapfile = /usr/local/nagiosgraph/map heartbeat = 600 perflog = /tmp/service-perfdata stylesheet = /usr/local/nagiosgraph/nagiosgraph.css Thanks & Regards Novin Jaiswal Ishi Systems Inc. 732-318-8156(cell) From: Aaron Segura [mailto:Aaron.Segura at cabelas.com] Sent: Tuesday, November 11, 2008 11:32 AM To: Novin Jaiswal; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Need Nagiosgraph tutorial/Help Link That seems like a question google would be able to answer for you pretty easily. ________________________________ From: Novin Jaiswal [mailto:novin.jaiswal at ishisystems.com] Sent: Tuesday, November 11, 2008 9:18 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Need Nagiosgraph tutorial/Help Link Hi Friends, I am trying to integrate Nagiosgraph with nagios. Is there any helpful link or tutorial available for Nagiosgraph? I appreciate your help. Thanks & Regards Novin Jaiswal Ishi Systems Inc. 732-318-8156(cell) -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From novin.jaiswal at ishisystems.com Tue Nov 11 20:21:47 2008 From: novin.jaiswal at ishisystems.com (Novin Jaiswal) Date: Tue, 11 Nov 2008 14:21:47 -0500 Subject: Nagiosgraph is not working In-Reply-To: <79B77295FBC9F247A32A6C98B67B1E1401EF7E63@srv-1exch01.sourceinterlink.com> References: <2BA70ED7C7275645B648362FB35913A901EB550D@exchange.ishisystems.com> <79B77295FBC9F247A32A6C98B67B1E1401EF7E63@srv-1exch01.sourceinterlink.com> Message-ID: <2BA70ED7C7275645B648362FB35913A901EB550E@exchange.ishisystems.com> Ya I have give chmod 777 nagios.nagios to all files and directories. When I run perl script from cmd prompt for my perfdata I am getting following error. I am missing rrds.pm from my configuration? Pls let me know wht is wrong? /usr/local/nagiosgraph/insert.pl "1226534492||stage8.ishisystems.com||AllCOMPONENT PEGCOUNT||138||" Can't locate RRDs.pm in @INC (@INC contains: /usr/local/nagiosgraph /usr/lib/perl5/5.8.5/i386-linux-thread-multi /usr/lib/perl5/5.8.5 /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.4/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.2/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.1/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2 /usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.4/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.2/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.1/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl/5.8.4 /usr/lib/perl5/vendor_perl/5.8.3 /usr/lib/perl5/vendor_perl/5.8.2 /usr/lib/perl5/vendor_perl/5.8.1 /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl .) at /usr/local/nagiosgraph/ngshared.pm line 65. BEGIN failed--compilation aborted at /usr/local/nagiosgraph/ngshared.pm line 65. Compilation failed in require at /usr/local/nagiosgraph/insert.pl line 119. BEGIN failed--compilation aborted at /usr/local/nagiosgraph/insert.pl line 119. Thanks & Regards Novin Jaiswal Ishi Systems Inc. 732-318-8156(cell) From: Paulus, Jake [mailto:jpaulus at sourceinterlink.com] Sent: Tuesday, November 11, 2008 2:10 PM To: Novin Jaiswal; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Nagiosgraph is not working Don't forget that the directory you specify for the RRD files to go must be writable by the user you run Nagios as. Thanks, -Jake 239-949-4450 x6628 From: Novin Jaiswal [mailto:novin.jaiswal at ishisystems.com] Sent: Tuesday, November 11, 2008 1:59 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagiosgraph is not working Hi guys, Thanks for all your help have set up Nagios graph the way they I is been instructed as per http://www.novell.com/coolsolutions/feature/19843.html && also as per READMe.txt. Perf data is moving fine into the =/tmp/service-perfdata file. But the rrd file is not created(the rrd database with name "nagios" and datasource "pegcount"). It should be automatically created? Where It will create the .rrd file It should be in rrd folder as mentioned in nagiosgraph.conf Am I right. Or do I have create manually the dabase and data source using rrdtool -create? Do I need to add my service name to servdb.conf? Pls help me I m working on this from so many days? Pls let me know if any more information is required then. Nagios.conf ====================================== process_performance_data=1 service_perfdata_command=process-service-perfdata service_perfdata_file=/tmp/service-perfdata service_perfdata_file_template=$LASTSERVICECHECK$||$HOSTNAME$||$SERVICED ESC$||$SERVICEOUTPUT$||$SERVICEPERFDATA$ service_perfdata_file_mode=a service_perfdata_file_processing_interval=5 service_perfdata_file_processing_command=process-service-perfdata command.conf ====================================== define command { command_name process-service-perfdata command_line /usr/local/nagiosgraph/insert.pl } stage8.ishisystems.com.conf ====================================== #novin for nagiosgraph generation page pointing define serviceextinfo{ host_name stage8.ishisystems.com service_description AllCOMPONENT PEGCOUNT notes_url /nagiosgraph/show.cgi?host=$HOSTNAME$&service=$SERVICEDESC$&db=nagios,pe gcount&geom=500x100&rrdopts=%2Dl%200%20%2Du %201000%20%2Dt%20PEGCOUNT } Now I have updated my nagiosgraph/map file and added Map entry ====================================== # perfdata:1226534492||stage8.ishisystems.com||AllCOMPONENT PEGCOUNT||138|| /perfdata:AllCOMPONENT PEGCOUNT\|\|([0-9]+)/ and push @s, [ nagios, [ pegcount, GAUGE, $1 ] ]; PerfData: 1226534492||stage8.ishisystems.com||AllCOMPONENT PEGCOUNT||138|| Nagiosgraph.conf ====================================== debug = 5 debug_insert = 5 debug_showservice = 5 debug_showhost = 5 debug_showgraph = 5 logfile = /usr/local/nagiosgraph/log/nagiosgraph.log rrddir = /usr/local/nagiosgraph/rrd mapfile = /usr/local/nagiosgraph/map heartbeat = 600 perflog = /tmp/service-perfdata stylesheet = /usr/local/nagiosgraph/nagiosgraph.css Thanks & Regards Novin Jaiswal Ishi Systems Inc. 732-318-8156(cell) From: Aaron Segura [mailto:Aaron.Segura at cabelas.com] Sent: Tuesday, November 11, 2008 11:32 AM To: Novin Jaiswal; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Need Nagiosgraph tutorial/Help Link That seems like a question google would be able to answer for you pretty easily. ________________________________ From: Novin Jaiswal [mailto:novin.jaiswal at ishisystems.com] Sent: Tuesday, November 11, 2008 9:18 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Need Nagiosgraph tutorial/Help Link Hi Friends, I am trying to integrate Nagiosgraph with nagios. Is there any helpful link or tutorial available for Nagiosgraph? I appreciate your help. Thanks & Regards Novin Jaiswal Ishi Systems Inc. 732-318-8156(cell) -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From patrick.morris at hp.com Tue Nov 11 20:41:37 2008 From: patrick.morris at hp.com (Patrick Morris) Date: Tue, 11 Nov 2008 11:41:37 -0800 Subject: Nagiosgraph is not working In-Reply-To: <2BA70ED7C7275645B648362FB35913A901EB550E@exchange.ishisystems.com> References: <2BA70ED7C7275645B648362FB35913A901EB550D@exchange.ishisystems.com> <79B77295FBC9F247A32A6C98B67B1E1401EF7E63@srv-1exch01.sourceinterlink.com> <2BA70ED7C7275645B648362FB35913A901EB550E@exchange.ishisystems.com> Message-ID: <20081111194137.GC13458@bakgwai.americas.hpqcorp.net> On Tue, 11 Nov 2008, Novin Jaiswal wrote: > Ya I have give chmod 777 nagios.nagios to all files and directories. > > When I run perl script from cmd prompt for my perfdata I am getting following error. I am missing rrds.pm from my configuration? > > Pls let me know wht is wrong? > > /usr/local/nagiosgraph/insert.pl "1226534492||stage8.ishisystems.com||AllCOMPONENT PEGCOUNT||138||" > > > Can't locate RRDs.pm in @INC (@INC contains: /usr/local/nagiosgraph /usr/lib/perl5/5.8.5/i386-linux-thread-multi /usr/lib/perl5/5.8.5 /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.4/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.2/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.1/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2 /usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.4/i386-linux-thread-multi /usr/lib/ perl5/vendor_perl/5.8.3/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.2/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.1/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl/5.8.4 /usr/lib/perl5/vendor_perl/5.8.3 /usr/lib/perl5/vendor_perl/5.8.2 /usr/lib/perl5/vendor_perl/5.8.1 /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl .) at /usr/local/nagiosgraph/ngshared.pm line 65. > BEGIN failed--compilation aborted at /usr/local/nagiosgraph/ngshared.pm line 65. > Compilation failed in require at /usr/local/nagiosgraph/insert.pl line 119. > BEGIN failed--compilation aborted at /usr/local/nagiosgraph/insert.pl line 119. The first line of the error probably explains it better than I could. The script can't find RRDs.pm in your Perl include path. Do you have the RRD::Simple module installed? ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jpratt at norwich.edu Tue Nov 11 20:32:46 2008 From: jpratt at norwich.edu (James Pratt) Date: Tue, 11 Nov 2008 14:32:46 -0500 Subject: Nagiosgraph is not working In-Reply-To: <2BA70ED7C7275645B648362FB35913A901EB550E@exchange.ishisystems.com> References: <2BA70ED7C7275645B648362FB35913A901EB550D@exchange.ishisystems.com><79B77295FBC9F247A32A6C98B67B1E1401EF7E63@srv-1exch01.sourceinterlink.com> <2BA70ED7C7275645B648362FB35913A901EB550E@exchange.ishisystems.com> Message-ID: <8147CCE3C4A8764DA9980125EE70E8234BA62E@nuexchg.norwich.edu> From: Novin Jaiswal [mailto:novin.jaiswal at ishisystems.com] Sent: Tuesday, November 11, 2008 2:22 PM To: Paulus, Jake; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagiosgraph is not working /usr/local/nagiosgraph/insert.pl "1226534492||stage8.ishisystems.com||AllCOMPONENT PEGCOUNT||138||" Can't locate RRDs.pm in @INC (@INC contains: /usr/local/nagiosgraph /usr/lib/perl5/5.8.5/i386-linux-thread-multi /usr/lib/perl5/5.8.5 /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.4/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.2/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.1/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2 /usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.4/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.2/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.1/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl/5.8.4 /usr/lib/perl5/vendor_perl/5.8.3 /usr/lib/perl5/vendor_perl/5.8.2 /usr/lib/perl5/vendor_perl/5.8.1 /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl .) at /usr/local/nagiosgraph/ngshared.pm line 65. BEGIN failed--compilation aborted at /usr/local/nagiosgraph/ngshared.pm line 65. Compilation failed in require at /usr/local/nagiosgraph/insert.pl line 119. BEGIN failed--compilation aborted at /usr/local/nagiosgraph/insert.pl line 119. --- Not sure of your linux distro, but sounds like you need the package: librrds-perl (If you used source, you can modify "@INC" like this within within your perl script, adjust to version/path you have).. use lib '/usr/local/rrdtool-1.0.33/lib/perl/'; regards jamie ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From novin.jaiswal at ishisystems.com Tue Nov 11 21:04:42 2008 From: novin.jaiswal at ishisystems.com (Novin Jaiswal) Date: Tue, 11 Nov 2008 15:04:42 -0500 Subject: Nagiosgraph is not working In-Reply-To: <8147CCE3C4A8764DA9980125EE70E8234BA62E@nuexchg.norwich.edu> References: <2BA70ED7C7275645B648362FB35913A901EB550D@exchange.ishisystems.com><79B77295FBC9F247A32A6C98B67B1E1401EF7E63@srv-1exch01.sourceinterlink.com> <2BA70ED7C7275645B648362FB35913A901EB550E@exchange.ishisystems.com> <8147CCE3C4A8764DA9980125EE70E8234BA62E@nuexchg.norwich.edu> Message-ID: <2BA70ED7C7275645B648362FB35913A901EB550F@exchange.ishisystems.com> Hi James, Thanks for your help. I have pasted into ngshared.pm use lib '/usr/local/lib/perl/5.8.5/i386-linux-thread-multi/'; Now there is no error when I execute that perl script from cmd prompt. But when I click from Nagios webinterface for nagiosgraph link of that service. It open a new browser with following error Nagiosgraph has detected an error in the configuration file: /usr/local/lib/perl/5.8.5/i386-linux-thread-multi//nagiosgraph.conf. /usr/local/lib/perl/5.8.5/i386-linux-thread-multi//nagiosgraph.conf not found Looks like it try to find nagiosgraph.conf inside the use lib One more thing to share with you When I go through documentation the required packages needed for nagiosgraph I don't have perl-CGI, and perl-rrdtool. How to know whether these 2 packages are installed or not? I have installed rrdtool as per the instruction of its site. Thanks & Regards Novin Jaiswal Ishi Systems Inc. 732-318-8156(cell) -----Original Message----- From: James Pratt [mailto:jpratt at norwich.edu] Sent: Tuesday, November 11, 2008 2:33 PM To: Novin Jaiswal; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Nagiosgraph is not working From: Novin Jaiswal [mailto:novin.jaiswal at ishisystems.com] Sent: Tuesday, November 11, 2008 2:22 PM To: Paulus, Jake; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagiosgraph is not working /usr/local/nagiosgraph/insert.pl "1226534492||stage8.ishisystems.com||AllCOMPONENT PEGCOUNT||138||" Can't locate RRDs.pm in @INC (@INC contains: /usr/local/nagiosgraph /usr/lib/perl5/5.8.5/i386-linux-thread-multi /usr/lib/perl5/5.8.5 /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.4/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.2/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.1/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2 /usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.4/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.2/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.1/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl/5.8.4 /usr/lib/perl5/vendor_perl/5.8.3 /usr/lib/perl5/vendor_perl/5.8.2 /usr/lib/perl5/vendor_perl/5.8.1 /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl .) at /usr/local/nagiosgraph/ngshared.pm line 65. BEGIN failed--compilation aborted at /usr/local/nagiosgraph/ngshared.pm line 65. Compilation failed in require at /usr/local/nagiosgraph/insert.pl line 119. BEGIN failed--compilation aborted at /usr/local/nagiosgraph/insert.pl line 119. --- Not sure of your linux distro, but sounds like you need the package: librrds-perl (If you used source, you can modify "@INC" like this within within your perl script, adjust to version/path you have).. use lib '/usr/local/rrdtool-1.0.33/lib/perl/'; regards jamie ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From christian.masopust at siemens.com Tue Nov 11 21:31:03 2008 From: christian.masopust at siemens.com (Masopust, Christian) Date: Tue, 11 Nov 2008 21:31:03 +0100 Subject: Perfparse, PNP, NagiosGrapher, ... Message-ID: <60721B67EAF0994EAFFB561767B70014032DED26@nets13ha.ww300.siemens.net> short question.... as I'm currently in the progress of switchin from Nagios 2 to Nagios 3 and had my performance data within APAN I plan to switch to something more sophisticated. so my question... which one do you use? and why did you choose exactly this one? is there a list of pros and cons? thanks a lot, christian ___________________________________________________________ Christian Masopust SIEMENS AG SIS PSE TMF Tel: +43 (0) 5 1707 26866 E-mail: christian.masopust at siemens.com Addr: Austria, 1210 Vienna, Siemensstra?e 90-92, B. 33, Rm. 243 Leader of the RUGA Firma: Siemens Aktiengesellschaft ?sterreich, Rechtsform: Aktiengesellschaft, Sitz: Wien, Firmenbuchnummer: FN 60562 m, Firmenbuchgericht: Handelsgericht Wien, DVR 0001708 ___________________________________________________________ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From novin.jaiswal at ishisystems.com Tue Nov 11 21:38:51 2008 From: novin.jaiswal at ishisystems.com (Novin Jaiswal) Date: Tue, 11 Nov 2008 15:38:51 -0500 Subject: Nagiosgraph is not working In-Reply-To: <2BA70ED7C7275645B648362FB35913A901EB550F@exchange.ishisystems.com> References: <2BA70ED7C7275645B648362FB35913A901EB550D@exchange.ishisystems.com><79B77295FBC9F247A32A6C98B67B1E1401EF7E63@srv-1exch01.sourceinterlink.com><2BA70ED7C7275645B648362FB35913A901EB550E@exchange.ishisystems.com><8147CCE3C4A8764DA9980125EE70E8234BA62E@nuexchg.norwich.edu> <2BA70ED7C7275645B648362FB35913A901EB550F@exchange.ishisystems.com> Message-ID: <2BA70ED7C7275645B648362FB35913A901EB5510@exchange.ishisystems.com> Hi Guys, Thanks a lot for all your help. I have added use lib '/usr/local/nagiosgraph/'; to ngshared.pm file now it show me the graph page. Now its reading the perfdata and that file is empty. Also created rrd files but not for the service " AllCOMPONENT PEGCOUNT'" which I have added. The issue is not showing any graphical data. Nagiosgraph.log entry for AllCOMPONENT PEGCOUNT service Thu Nov 13 03:58:58 2008 insert.pl debug - processdata(241) Thu Nov 13 03:58:58 2008 insert.pl debug - processdata data = [ '1226542383', 'stage8.ishisystems.com', 'AllCOMPONENT PEGCOUNT', '138', ' ' ]; Thu Nov 13 03:58:58 2008 insert.pl warn - perfdata not recognized: date||host||desc||out||data for: servicedescr:AllCOMPONENT PEGCOUNT output:138 perfdata: -----Original Message----- From: Novin Jaiswal [mailto:novin.jaiswal at ishisystems.com] Sent: Tuesday, November 11, 2008 3:05 PM To: James Pratt; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagiosgraph is not working Hi James, Thanks for your help. I have pasted into ngshared.pm use lib '/usr/local/lib/perl/5.8.5/i386-linux-thread-multi/'; Now there is no error when I execute that perl script from cmd prompt. But when I click from Nagios webinterface for nagiosgraph link of that service. It open a new browser with following error Nagiosgraph has detected an error in the configuration file: /usr/local/lib/perl/5.8.5/i386-linux-thread-multi//nagiosgraph.conf. /usr/local/lib/perl/5.8.5/i386-linux-thread-multi//nagiosgraph.conf not found Looks like it try to find nagiosgraph.conf inside the use lib One more thing to share with you When I go through documentation the required packages needed for nagiosgraph I don't have perl-CGI, and perl-rrdtool. How to know whether these 2 packages are installed or not? I have installed rrdtool as per the instruction of its site. Thanks & Regards Novin Jaiswal Ishi Systems Inc. 732-318-8156(cell) -----Original Message----- From: James Pratt [mailto:jpratt at norwich.edu] Sent: Tuesday, November 11, 2008 2:33 PM To: Novin Jaiswal; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Nagiosgraph is not working From: Novin Jaiswal [mailto:novin.jaiswal at ishisystems.com] Sent: Tuesday, November 11, 2008 2:22 PM To: Paulus, Jake; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagiosgraph is not working /usr/local/nagiosgraph/insert.pl "1226534492||stage8.ishisystems.com||AllCOMPONENT PEGCOUNT||138||" Can't locate RRDs.pm in @INC (@INC contains: /usr/local/nagiosgraph /usr/lib/perl5/5.8.5/i386-linux-thread-multi /usr/lib/perl5/5.8.5 /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.4/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.2/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.1/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2 /usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.4/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.2/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.1/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl/5.8.4 /usr/lib/perl5/vendor_perl/5.8.3 /usr/lib/perl5/vendor_perl/5.8.2 /usr/lib/perl5/vendor_perl/5.8.1 /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl .) at /usr/local/nagiosgraph/ngshared.pm line 65. BEGIN failed--compilation aborted at /usr/local/nagiosgraph/ngshared.pm line 65. Compilation failed in require at /usr/local/nagiosgraph/insert.pl line 119. BEGIN failed--compilation aborted at /usr/local/nagiosgraph/insert.pl line 119. --- Not sure of your linux distro, but sounds like you need the package: librrds-perl (If you used source, you can modify "@INC" like this within within your perl script, adjust to version/path you have).. use lib '/usr/local/rrdtool-1.0.33/lib/perl/'; regards jamie ------------------------------------------------------------------------ - 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jwinkle at doit.wisc.edu Tue Nov 11 22:02:17 2008 From: jwinkle at doit.wisc.edu (Jim Winkle) Date: Tue, 11 Nov 2008 15:02:17 -0600 (CST) Subject: Nagios acknowledgement (with check_logfiles plugin) In-Reply-To: <2274b9c30811101204i62728a33off4338b2c3cea723@mail.gmail.com> References: <2274b9c30811101204i62728a33off4338b2c3cea723@mail.gmail.com> Message-ID: We also configure check_logfiles as a volatile service, but that doesn't solve the problem at hand. I still don't understand how to get Nagios to send notifications until we acknowledge the problem, without ignoring future problems. Can anyone explain if this is possible? -- Jim On Mon, 10 Nov 2008 at 3:04pm, Kyle O'Donnell wrote: > We configure check logfiles as a volatile service and choose not to > use the sticky option. Some logs we configure check-logfiles to send > a message via nsca for each pattern match, ensuring we don't miss any > notifications. We also configure check-logfiles services not to send > out recovery messages, and only schedule downtime or disable > notifications during maintenance. > > On 11/10/08, Jim Winkle wrote: >> We're deploying Nagios (currently using 3.0.2) for our Unix servers, and I >> have >> a question about acknowledgement. >> >> We're using the check_logfiles plugin to monitor syslogs (e.g. >> /var/adm/messages on Solaris). check_logfiles returns CRITICAL when it >> detects >> a problem, but then normally clears itself (returns OK) the next time it >> runs. >> Nagios notifies us only once under this scenerio, and since it's possible >> that >> pagers might miss just one page (paging services aren't 100% reliable), we'd >> rather get notified until we explicitly acknowledge the problem. >> >> The check_logfiles plugin does have the capability to continue to report the >> error (using its "sticky" option). This is good since then we're notified >> longer, but if we then use the Nagios "Acknowledge" link to acknowledge the >> problem, new problems (e.g. new errors in /var/adm/messages) reported by the >> check_logfiles plugin get ignored. >> >> My question: Is there a way with Nagios to acknowledge a problem reported by >> a >> plugin like check_logfiles without ignoring future problems? Or would this >> be >> new functionality needed in Nagios? I realize we can syslog an "okpattern" >> string and check_logfiles will then clear, but I'm looking for something >> using >> the Nagios web (and external command_file) interfaces. Using the Nagios >> "Acknowledge" link would be ideal, since that's what folks are going to be >> using for other problems. >> >> Nagios and the check_logfiles plugin are great tools... perhaps I'm simply >> missing something. >> >> Thanks in advance! >> >> -- Jim >> >> ------------------------------------------------------------------------- >> 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=100&url=/ >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From novin.jaiswal at ishisystems.com Wed Nov 12 00:24:00 2008 From: novin.jaiswal at ishisystems.com (Novin Jaiswal) Date: Tue, 11 Nov 2008 18:24:00 -0500 Subject: Nagios graph is working now Message-ID: <2BA70ED7C7275645B648362FB35913A901EB5512@exchange.ishisystems.com> Hi guys, Thanks for all your support and help finally Nagios graph is working. Just need to fix the x-axis and y-axis. Thanks once again. Thanks & Regards Novin Jaiswal Ishi Systems Inc. 732-318-8156(cell) -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From chris.paul at sentinare.com Wed Nov 12 02:19:13 2008 From: chris.paul at sentinare.com (Chris Paul) Date: Tue, 11 Nov 2008 17:19:13 -0800 (SystemV_PST) Subject: why does a host appear under "unhandled problems" on the Tactical Overview when it depends on an acknowledge host that is down Message-ID: <49368.135.214.150.104.1226452753.squirrel@mail.sentinare.com> Hello Nagios Users, I'm wondering why a host appears under "unhandled problems" if its "parent" is down, but acknowledged. Shouldn't the host that has a down parent that is acknowledged be "handled"????? Thanks for your thoughts. CP -- Chris Paul Sentinare Messaging Solutions, Inc 309 Cedar Street #72, Santa Cruz, CA 95060 email: chris.paul at sentinare.com web: http://www.sentinare.com phone, toll-free: +1 (877) 727-9786 ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From hvdkooij at vanderkooij.org Wed Nov 12 07:17:07 2008 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Wed, 12 Nov 2008 07:17:07 +0100 Subject: hosts.config In-Reply-To: <08641F52-BFF2-43FE-B5DC-AA4EB47F1480@ajc.com> References: <995403B5-6AE1-4DFA-A054-9E8FB8C8432F@ajc.com><200811101506.15272.assaf.flatto@ssp.uk.com> <9846CB1B-B397-4FA0-B017-AEF080240E85@ajc.com> <4918A665.1060605@vanderkooij.org> <08641F52-BFF2-43FE-B5DC-AA4EB47F1480@ajc.com> Message-ID: <491A74E3.7000400@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Layne Meier wrote: > That's a perfectly good question. > > Let's say for example that the servers that manage our backup system > run on Sun Solaris. I need to notify our Unix Administration group if > something happens to the backup servers. However, the administrator > of the backup system, is not in the Unix admin group. In this > instance, I need to notify a group of people (Unix Admins) and an > individual (backup software administrator). In my view this calls for a backup admin group. Today that group might be one person. But how about tomorrow? Or next week? Hugo. - -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc A: Yes. >Q: Are you sure? >>A: Because it reverses the logical flow of conversation. >>>Q: Why is top posting frowned upon? Bored? Click on http://spamornot.org/ and rate those images. Nid wyf yn y swyddfa ar hyn o bryd. Anfonwch unrhyw waith i'w gyfieithu. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org iD8DBQFJGnThBvzDRVjxmYERAuh/AJ9uCrjfQvpA0wqZYRpw1nj3NxfYqgCguHQQ VdIng4imnb11RLtJZS0imis= =Duhc -----END PGP SIGNATURE----- ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From hvdkooij at vanderkooij.org Wed Nov 12 07:26:08 2008 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Wed, 12 Nov 2008 07:26:08 +0100 Subject: GroundWork (Nagios) Service Checks/Host Checks In-Reply-To: <200811110351.AA00040@FM-1303930367.jp.fujitsu.com> References: <200811110351.AA00040@FM-1303930367.jp.fujitsu.com> Message-ID: <491A7700.70603@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Sean O`Brien wrote: > Re: Nagios 2.x > > It is my understanding that when all the service checks fail, Nagios performs host checks; the number of which we have specified to 3. At which point (after reporting that Host is in a "Non-okay" state) > Nagios resumes service checks. It is at this point my question lies. When does Nagios perform another host check? Would it be after all the service checks are reported "Okay" or will Nagios perform a > host check after the first service check reports "okay". Once a service check fails the host check kicks in. This may result in not doing any other checks at that time. If the hosts checks faile beyon the limit set the host will reach a hard state of down and no further servic notifications will be done. This theory has been discussed rather intensively on this mailinglist and for full details I advise you to browse the archives where propably could have found the answer. Hugo. - -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc A: Yes. >Q: Are you sure? >>A: Because it reverses the logical flow of conversation. >>>Q: Why is top posting frowned upon? Bored? Click on http://spamornot.org/ and rate those images. Nid wyf yn y swyddfa ar hyn o bryd. Anfonwch unrhyw waith i'w gyfieithu. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org iD8DBQFJGnb9BvzDRVjxmYERAsE6AKC0d5+jyIB7HNe2Ox6JtVLkGP2yRACdHCwV AA34TGy4H6ZnXYegI0I3umQ= =duo9 -----END PGP SIGNATURE----- ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From hvdkooij at vanderkooij.org Wed Nov 12 07:34:19 2008 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Wed, 12 Nov 2008 07:34:19 +0100 Subject: Perfparse, PNP, NagiosGrapher, ... In-Reply-To: <60721B67EAF0994EAFFB561767B70014032DED26@nets13ha.ww300.siemens.net> References: <60721B67EAF0994EAFFB561767B70014032DED26@nets13ha.ww300.siemens.net> Message-ID: <491A78EB.2070004@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Masopust, Christian wrote: > short question.... as I'm currently in the progress of switchin from > Nagios 2 to Nagios 3 > and had my performance data within APAN I plan to switch to something > more sophisticated. > > so my question... which one do you use? and why did you choose exactly > this one? > is there a list of pros and cons? Scratch anything that does not make sense to you as far as operations or documentation goes. Then see what is left. Pick and try the one that looks good to you and see if it does what you want it to do. If it works you will propably stick with it. Which is why there is little in regard to comparing them available. No one wants to waste time on that. Hugo. - -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc A: Yes. >Q: Are you sure? >>A: Because it reverses the logical flow of conversation. >>>Q: Why is top posting frowned upon? Bored? Click on http://spamornot.org/ and rate those images. Nid wyf yn y swyddfa ar hyn o bryd. Anfonwch unrhyw waith i'w gyfieithu. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org iD8DBQFJGnjqBvzDRVjxmYERAtojAJ4tm/klZY/4tuPHDvlBFVEVyN6lVQCeI+NC sG9y6lqFr9SPQibsRwqk+Kc= =UOoS -----END PGP SIGNATURE----- ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From hir3npatel at gmail.com Wed Nov 12 08:30:42 2008 From: hir3npatel at gmail.com (hiren) Date: Wed, 12 Nov 2008 09:30:42 +0200 Subject: Perfparse, PNP, NagiosGrapher, ... In-Reply-To: <60721B67EAF0994EAFFB561767B70014032DED26@nets13ha.ww300.siemens.net> References: <60721B67EAF0994EAFFB561767B70014032DED26@nets13ha.ww300.siemens.net> Message-ID: <1226475042.5998.4.camel@firebird> we tried nagiosgrapher, but that seemed to impact the performance of our nagios server quite a bit, we therefore tried pnp in bulk mode with npcd, and found it worked a lot better for us. another thing I liked about pnp, is that it will graph any check with performance data, any new checks added to hosts that have performance data, just start getting graphed - no configuration needed, which is nice. hope it helps. On Tue, 2008-11-11 at 21:31 +0100, Masopust, Christian wrote: > short question.... as I'm currently in the progress of switchin from > Nagios 2 to Nagios 3 > and had my performance data within APAN I plan to switch to something > more sophisticated. > > so my question... which one do you use? and why did you choose exactly > this one? > is there a list of pros and cons? > > thanks a lot, > christian > > ___________________________________________________________ > > Christian Masopust > > SIEMENS AG SIS PSE TMF > Tel: +43 (0) 5 1707 26866 > E-mail: christian.masopust at siemens.com > Addr: Austria, 1210 Vienna, Siemensstra?e 90-92, B. 33, Rm. > 243 > > Leader of the RUGA > > Firma: Siemens Aktiengesellschaft ?sterreich, Rechtsform: > Aktiengesellschaft, > Sitz: Wien, Firmenbuchnummer: FN 60562 m, > Firmenbuchgericht: Handelsgericht Wien, DVR 0001708 > ___________________________________________________________ > > > > > ------------------------------------------------------------------------- > 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=100&url=/ > _______________________________________________ Nagios-users mailing list Nagios-users at 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ae at op5.se Wed Nov 12 09:38:13 2008 From: ae at op5.se (Andreas Ericsson) Date: Wed, 12 Nov 2008 09:38:13 +0100 Subject: [FIXED] disabling checks of all service and host no longer works In-Reply-To: <13F36D2926AD444697093282F20041B707BD833F@buf-ex01.cymfony.com> References: <13F36D2926AD444697093282F20041B707BD7FC9@buf-ex01.cymfony.com> <4919599B.5010701@op5.se> <13F36D2926AD444697093282F20041B707BD833F@buf-ex01.cymfony.com> Message-ID: <491A95F5.3060109@op5.se> Seth Simmons wrote: > I applied the patch and it worked. > I selected a host and told it to disable checks for all services and the > host and this time it did it. > Goodie. Thanks :) > > -----Original Message----- > From: Andreas Ericsson [mailto:ae at op5.se] > Sent: Tuesday, November 11, 2008 5:08 AM > To: Seth Simmons > Cc: nagios-users at lists.sourceforge.net > > > There's a fix available at http://www.op5.org/src/nagios-3.0.5p1.tar.gz > > If that works for you, please make sure to report it here so Ethan knows > it's safe to apply those patches to the official Nagios sources. > > Thanks. > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From kenneho.ndu at gmail.com Wed Nov 12 09:43:06 2008 From: kenneho.ndu at gmail.com (Kenneth Holter) Date: Wed, 12 Nov 2008 09:43:06 +0100 Subject: Limiting mail notification for clock drift In-Reply-To: References: Message-ID: Thanks for your reply. The "is_volatile" options is actually already set to "0". :/ I think it would be correct to sum up what I'm in need of like this: Whenever there is a transition from one hard error state to another hard error state, or when there has been a recovery from such an error, I'd like a notification. On 11/11/08, Marc Powell wrote: > > > On Nov 11, 2008, at 2:08 AM, Kenneth Holter wrote: > > > Hello. > > > > > > I'm using Nagios 3.0.3 to monitor things such as time (synchronized > > with NTP) on our servers, and are getting a lot of semi-duplicate > > notification mails: As long as there is an error/warning, I get a > > mail notification every time the clock drift increases or decreases. > > Is there an option I can set to limit the notification to _one_ mail > > whenever we enter or leave an error/warning state, and thus not for > > every time a new drift time is calculated? > > Sounds like you need to remove the is_volatile option in your service > definitions. > > http://nagios.sourceforge.net/docs/2_0/volatileservices.html > > -- > Marc > > > ------------------------------------------------------------------------- > 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=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From stephen.wing at steria.co.uk Wed Nov 12 09:56:26 2008 From: stephen.wing at steria.co.uk (stephen wing) Date: Wed, 12 Nov 2008 08:56:26 -0000 Subject: host_alert_check issue Message-ID: <007b01c944a4$8b86ea90$adefd589@uk.sterianet> Hi There I have a couple of different versions of nagios running on different contracts and have no issues. On one contract I have installed nagios version 3.0.3 running on suse 11. Has anyone had any issues with this version with the host alert check. Basically all my service checks are working fine, but if a host goes down, nagios is not picking this up. The host_alert_check is setup the same way as on my other versions of nagios and they work fine. Has anybody else found this problem on version 3.0.3? Regards Stephen This email originates from Steria*. It, and any attachments, may contain confidential information and may be subject to copyright or other intellectual property rights. It is only for the use of the addressee(s). You may not copy, forward, disclose, save or otherwise use it in any way if you are not the addressee(s) or responsible for delivery. If you receive this email by mistake, please advise the sender and cancel it immediately. Steria may monitor the content of emails within its network to ensure compliance with its policies and procedures. Any email is susceptible to alteration and its integrity cannot be assured. Steria shall not be liable if the message is altered, modified, falsified, or edited. _____________________________________________________ * Steria Limited, number 4077975; Steria Services Limited, number 2706218; Steria Recruitment Limited, number 1437998. Registered in England and Wales; registered office Three Cherry Trees Lane, Hemel Hempstead, Hertfordshire HP2 7AH **** Think before you print - save energy and paper **** -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ian at acces.co.jp Wed Nov 12 10:23:41 2008 From: ian at acces.co.jp (Ian Masters) Date: Wed, 12 Nov 2008 18:23:41 +0900 Subject: host_alert_check issue In-Reply-To: <007b01c944a4$8b86ea90$adefd589@uk.sterianet> References: <007b01c944a4$8b86ea90$adefd589@uk.sterianet> Message-ID: <491AA09D.50902@acces.co.jp> > I have a couple of different versions of nagios running on > different contracts and have no issues. On one contract I have installed > nagios version 3.0.3 running on suse 11. Has anyone had any issues with > this version with the host alert check. Basically all my service checks > are working fine, but if a host goes down, nagios is not picking this > up. The host_alert_check is setup the same way as on my other versions > of nagios and they work fine. Has anybody else found this problem on > version 3.0.3? I've been using version 3.0.3 for about a month and never seen this problem. Ian Masters -- Nagios 3.0.3 (with plugins v1.4.13) on CentOS 5.2 ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Edgar.Matzinger at valid.nl Wed Nov 12 11:20:16 2008 From: Edgar.Matzinger at valid.nl (Edgar Matzinger) Date: Wed, 12 Nov 2008 11:20:16 +0100 Subject: Citrix checks Message-ID: Fellow nagios users, I wonder how you would check several Citrix services. Like SMA, IMA, Print Manager, WWW Publishing, licenses, etc. with nagios/nrpe? Port checks? Are there any SNMP checks possible? I've seen some Citrix checks on nagiosexchange.org, but they handle the checks mentioned above.... Or are these services automatically by Microsoft Services? As you can see, I'm neither a Microsoft admin nor citrix admin. Thanks, regards, Edgar. -- |\ /| : : Addr: Valid Eindhoven B.V. / | \/ | : Edgar R. Matzinger : t.a.v. E.R. Matzinger / | | : : Paradijslaan 36 \ /| /\| : : 5611 KN Eindhoven \/ / \ : Valid Eindhoven BV : \ /\ / : : \/ |\/ : : | : : Disclaimer: Any comments, opinions made are mine, etc ... ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From richard at newnet.co.uk Wed Nov 12 12:05:01 2008 From: richard at newnet.co.uk (Richard Savage) Date: Wed, 12 Nov 2008 11:05:01 +0000 Subject: Audit users actions within nagios Message-ID: <491AB85D.8050909@newnet.co.uk> Hi Im running nagios 3.0.4 on FreeBSD 7.0 I have it set up so that all users to the system have an individual user name to access nagios. What i would like to be able to do to be able to log all the actions that the users perform and to be able to see which user performed which action? A bit like an audit trail. Is this possible? Regards Richard ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From assaf.flatto at ssp.uk.com Wed Nov 12 12:11:32 2008 From: assaf.flatto at ssp.uk.com (Assaf Flatto) Date: Wed, 12 Nov 2008 11:11:32 +0000 Subject: Audit users actions within nagios In-Reply-To: <491AB85D.8050909@newnet.co.uk> References: <491AB85D.8050909@newnet.co.uk> Message-ID: <200811121111.32083.assaf.flatto@ssp.uk.com> This is more of a OS security and administration issue , and not a nagios issue. try using sudo for that . On Wednesday 12 November 2008 11:05:01 Richard Savage wrote: > Hi > > Im running nagios 3.0.4 on FreeBSD 7.0 > > I have it set up so that all users to the system have an individual user > name to access nagios. What i would like to be able to do to be able to > log all the actions that the users perform and to be able to see which > user performed which action? > > A bit like an audit trail. > > Is this possible? > > Regards > > Richard > > ------------------------------------------------------------------------- > 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=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 -- Assaf Flatto SSP Ops Team Linux System Administrator 169 Euston Road, London, NW1 2AE 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From richard at newnet.co.uk Wed Nov 12 12:21:19 2008 From: richard at newnet.co.uk (Richard Savage) Date: Wed, 12 Nov 2008 11:21:19 +0000 Subject: Audit users actions within nagios In-Reply-To: <200811121111.32083.assaf.flatto@ssp.uk.com> References: <491AB85D.8050909@newnet.co.uk> <200811121111.32083.assaf.flatto@ssp.uk.com> Message-ID: <491ABC2F.1030203@newnet.co.uk> I think you might have misunderstood. Im not interested in what actions are performed on the actual box, as they cant log into that, im interested in what actions are performed within the Nagios program. Rich NewNet plc: Company Registration 03128506 Assaf Flatto wrote: > This is more of a OS security and administration issue , and not a nagios issue. > > try using sudo for that . > > On Wednesday 12 November 2008 11:05:01 Richard Savage wrote: > >> Hi >> >> Im running nagios 3.0.4 on FreeBSD 7.0 >> >> I have it set up so that all users to the system have an individual user >> name to access nagios. What i would like to be able to do to be able to >> log all the actions that the users perform and to be able to see which >> user performed which action? >> >> A bit like an audit trail. >> >> Is this possible? >> >> Regards >> >> Richard >> >> ------------------------------------------------------------------------- >> 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=100&url=/ >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ae at op5.se Wed Nov 12 12:40:42 2008 From: ae at op5.se (Andreas Ericsson) Date: Wed, 12 Nov 2008 12:40:42 +0100 Subject: Audit users actions within nagios In-Reply-To: <491ABC2F.1030203@newnet.co.uk> References: <491AB85D.8050909@newnet.co.uk> <200811121111.32083.assaf.flatto@ssp.uk.com> <491ABC2F.1030203@newnet.co.uk> Message-ID: <491AC0BA.9030803@op5.se> Richard Savage wrote: > I think you might have misunderstood. Im not interested in what actions > are performed on the actual box, as they cant log into that, im > interested in what actions are performed within the Nagios program. > Following your apache log will tell you who visited which page. It won't show POST data and such though, but it'll get you started. There's no way of getting enough info to essentially be able to replay the users' actions, and nor will there be within the foreseeable future (unless you patch it to do that, ofcourse). -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Wed Nov 12 13:19:51 2008 From: marc at ena.com (Marc Powell) Date: Wed, 12 Nov 2008 06:19:51 -0600 Subject: Limiting mail notification for clock drift In-Reply-To: References: Message-ID: <3A748B54-3E72-4693-8596-229A2412DB83@ena.com> On Nov 12, 2008, at 2:43 AM, Kenneth Holter wrote: > > Thanks for your reply. > > The "is_volatile" options is actually already set to "0". :/ That's interesting. That's about the only option that would cause the behavior you are reporting that I can think of. Are you using event handlers for notifications? Is your notification_interval the same or similar to your normal_check_interval? Make sure that you don't have multiple nagios daemons running at the same time and that the service definition in objects.cache is as you expect it to be. The only case in which nagios cares about the _text_ of the plugin output is when state stalking is enabled. Even then, it only provides logging of that change, not a notification. There are only two conditions under which notifications will be sent out (http://nagios.sourceforge.net/docs/3_0/notifications.html)-- "When Do Notifications Occur? The decision to send out notifications is made in the service check and host check logic. Host and service notifications occur in the following instances... * When a hard state change occurs. More information on state types and hard state changes can be found here. * When a host or service remains in a hard non-OK state and the time specified by the option in the host or service definition has passed since the last notification was sent out (for that specified host or service)." > I think it would be correct to sum up what I'm in need of like this: > Whenever there is a transition from one hard error state to another > hard error state, or when there has been a recovery from such an > error, I'd like a notification. Yup. Standard Operating Procedure for nagios. You have to do something unusual to not get this behavior. Perhaps you should post some config information from objects.cache for inspection. service definition, contact definition and notification command definition. -- Marc ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From kellyjackie at eircom.net Wed Nov 12 14:19:10 2008 From: kellyjackie at eircom.net (kellyjackie at eircom.net) Date: Wed, 12 Nov 2008 13:19:10 +0000 (GMT) Subject: Email Notifications Message-ID: <19651588.3301226495950801.JavaMail.root@webmailbox300.eircom.net> Please help! I have set up eSMTP as relay.The test from the command line is as follows: echo "test" | /usr/bin/esmtp -C ~/esmtp outside at email -f inside at email outside at email is an outside email address i am sending to from an inside email address on our email server. Do i need to specify the inside email server and the account i am using within nagios and if so where? or should the usual configuration be enough. the relevant parts of the config fiels are as follows. Thanks in advance for any help The following are the config files: >From the windows.cfg file: define host{ use windows-pcs ; Inherit default values from a template host_name invoicepc ; The name we're giving to this host alias invoicingpc ; A longer name associated with the host address x.x.x.x ; IP address of the host } define hostgroup{ hostgroup_name windows-pcs ; The name of the hostgroup alias Windows PCs ; Long name of the group members invoicepc } define service{ use generic-service hostgroup_name windows-pcs service_description Uptime check_command check_nt!UPTIME contact_groups admins } >From the commands.cfg file: # 'notify-host-by-email' command definition define command{ command_name notify-host-by-email command_line /usr/bin/esmtp/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n" | /usr/bin/esmtp -s "** $NOTIFICATIONTYPE$ Host Host Alert: $HOSTNAME$ is $HOSTSTATE$ **" $CONTACTEMAIL$ } # 'notify-service-by-email' command definition define command{ command_name notify-service-by-email command_line /usr/bin/esmtp/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional Info:\n\n$SERVICEOUTPUT$ | /usr/bin/esmtp -s "** $NOTIFICATIONTYPE$ Service Alert: $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$ } # 'process-host-perfdata' command definition define command{ command_name process-host-perfdata command_line /usr/bin/esmtp/printf "%b" "$LASTHOSTCHECK$\t$HOSTNAME$\t$HOSTSTATE$$E$\ } # 'process-service-perfdata' command definition define command{ command_name process-service-perfdata command_line /usr/bin/esmtp/printf "%b" "$LASTSERVICECHECK$\t$HOSTNAME$\t$SERVICEDESC$ } >From the contacts.cfg file: define contact{ contact_name nagiosadmin ; Short name of user use generic-contact ; Inherit default values from ge$ alias Nagios Admin ; Full name of user host_notifications_enabled 1 service_notifications_enabled 1 host_notification_period 24x7 service_notification_period 24x7 service_notification_options w,u,c,r host_notification_options d,u,r service_notification_commands notify-service-by-email host_notification_commands notify-host-by-email email outside email address ; <<***** CHANGE THIS TO YOUR EM$ } # NOTIFICATIONS OPTION # This determines whether or not Nagios will sent out any host or # service notifications when it is initially (re)started. # Values: 1 = enable notifications, 0 = disable notifications enable_notifications=1 ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ae at op5.se Wed Nov 12 15:06:02 2008 From: ae at op5.se (Andreas Ericsson) Date: Wed, 12 Nov 2008 15:06:02 +0100 Subject: Email Notifications In-Reply-To: <19651588.3301226495950801.JavaMail.root@webmailbox300.eircom.net> References: <19651588.3301226495950801.JavaMail.root@webmailbox300.eircom.net> Message-ID: <491AE2CA.3040603@op5.se> kellyjackie at eircom.net wrote: > Please help! > I have set up eSMTP as relay.The test from the command line is as follows: echo "test" | /usr/bin/esmtp -C ~/esmtp outside at email -f inside at email > outside at email is an outside email address i am sending to from an inside email address on our email server. Do i need to specify the inside email server and the account i am using within nagios and if so where? or should the usual configuration be enough. the relevant parts of the config fiels are as follows. > > Thanks in advance for any help > > The following are the config files: > > > >>From the windows.cfg file: > > define host{ > use windows-pcs ; Inherit default values from a template > host_name invoicepc ; The name we're giving to this host > alias invoicingpc ; A longer name associated with the host > address x.x.x.x ; IP address of the host > } > > > define hostgroup{ > hostgroup_name windows-pcs ; The name of the hostgroup > alias Windows PCs ; Long name of the group > members invoicepc > } > > > define service{ > use generic-service > hostgroup_name windows-pcs > service_description Uptime > check_command check_nt!UPTIME > contact_groups admins > } > > >>From the commands.cfg file: > > # 'notify-host-by-email' command definition > define command{ > command_name notify-host-by-email > command_line /usr/bin/esmtp/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n" | /usr/bin/esmtp -s "** $NOTIFICATIONTYPE$ Host Host Alert: $HOSTNAME$ is $HOSTSTATE$ **" $CONTACTEMAIL$ > /usr/bin/esmtp/printf looks totally bogus. I've got a feeling someone's used a crappy regex to modify the config here. Besides that, I believe esmtp is an smtp *server*, so it's not supposed to be run from the command line. I'm not sure about that though, so I'll just assume you've read the manuals for esmtp and know what you're doing (well, one can always hope, right?). -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From kenneho.ndu at gmail.com Wed Nov 12 16:03:12 2008 From: kenneho.ndu at gmail.com (Kenneth Holter) Date: Wed, 12 Nov 2008 16:03:12 +0100 Subject: Limiting mail notification for clock drift In-Reply-To: <3A748B54-3E72-4693-8596-229A2412DB83@ena.com> References: <3A748B54-3E72-4693-8596-229A2412DB83@ena.com> Message-ID: I think I found one of the causes for the excessive notifacations - the notification_interval was set to 0. For almost all our services we have a high number (such as 1440), but this current value of zero must have made it's way into the code somehow. This is my current definition: define service { use generic-service service_description Current load for virtual servers servicegroups performance hostgroups virtual-servers is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 notification_interval 0 notification_period 24x7 check_command check_remote_load!/home/nagios/.ssh/id_rsa!nagios!13.0,8.0,3.0!15.0,10.0,5.0 } Setting this attribute to a higher value should make me get a lot less notifications, but I will still get more or less duplicate notifications. Help on avoiding this will be appreciated. Regarding your specific questions: I think the service definition above answers most of them. We don't run multiple Nagios daemons on the same machine. I didn't find anything unusual in objects.cache. On 11/12/08, Marc Powell wrote: > > > On Nov 12, 2008, at 2:43 AM, Kenneth Holter wrote: > > > > > Thanks for your reply. > > > > The "is_volatile" options is actually already set to "0". :/ > > That's interesting. That's about the only option that would cause the > behavior you are reporting that I can think of. Are you using event > handlers for notifications? Is your notification_interval the same or > similar to your normal_check_interval? Make sure that you don't have > multiple nagios daemons running at the same time and that the service > definition in objects.cache is as you expect it to be. > > The only case in which nagios cares about the _text_ of the plugin > output is when state stalking is enabled. Even then, it only provides > logging of that change, not a notification. There are only two > conditions under which notifications will be sent out ( > http://nagios.sourceforge.net/docs/3_0/notifications.html)-- > > "When Do Notifications Occur? > > The decision to send out notifications is made in the service check > and host check logic. Host and service notifications occur in the > following instances... > > * When a hard state change occurs. More information on state > types and hard state changes can be found here. > * When a host or service remains in a hard non-OK state and the > time specified by the option in the host or > service definition has passed since the last notification was sent out > (for that specified host or service)." > > > I think it would be correct to sum up what I'm in need of like this: > > Whenever there is a transition from one hard error state to another > > hard error state, or when there has been a recovery from such an > > error, I'd like a notification. > > Yup. Standard Operating Procedure for nagios. You have to do something > unusual to not get this behavior. Perhaps you should post some config > information from objects.cache for inspection. service definition, > contact definition and notification command definition. > > -- > Marc > > > ------------------------------------------------------------------------- > 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=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Wed Nov 12 17:21:32 2008 From: marc at ena.com (Marc Powell) Date: Wed, 12 Nov 2008 10:21:32 -0600 Subject: Limiting mail notification for clock drift In-Reply-To: References: <3A748B54-3E72-4693-8596-229A2412DB83@ena.com> Message-ID: On Nov 12, 2008, at 9:03 AM, Kenneth Holter wrote: > I think I found one of the causes for the excessive notifacations - > the notification_interval was set to 0. For almost all our services > we have a high number (such as 1440), but this current value of zero > must have made it's way into the code somehow. It should be left at 0 to get the behavior you're expecting. With notification_interval 0, a notification for a {WARNING | CRITICAL | OK/ RECOVERY} state will only be sent once per problem. That's what you want. When set at 1440, you'll receive repeat notifications every 24 hours until recovery. http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#service "notification_interval: This directive is used to define the number of "time units" to wait before re-notifying a contact that this service is still in a non-OK state. Unless you've changed the interval_length directive from the default value of 60, this number will mean minutes. If you set this value to 0, Nagios will not re- notify contacts about problems for this service - only one problem notification will be sent out." > This is my current definition: > define service { > use generic-service > service_description Current load for virtual > servers > servicegroups performance > hostgroups virtual-servers > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 5 > retry_check_interval 1 > notification_interval 0 > notification_period 24x7 > check_command check_remote_load!/home/ > nagios/.ssh/id_rsa!nagios!13.0,8.0,3.0!15.0,10.0,5.0 > } This isn't the entire service definition (no contacts specified, no notification_options, what's in the template?, etc). That's why I suggested getting that (and more) from objects.cache. You might also want to include the log entries for the service and notifications to exemplify the problem. > Setting this attribute to a higher value should make me get a lot > less notifications, but I will still get more or less duplicate > notifications. Help on avoiding this will be appreciated. You just made it worse by saying you _should_ get repeat notifications once a day at least. ;) > > Regarding your specific questions: I think the service definition > above answers most of them. Not really, it's missing the key bits of information about who gets notified for what, when and how. > We don't run multiple Nagios daemons on the same machine. I'm sure you don't intentionally but it can happen accidentally and cause strange issues. Actively make sure that you don't have multiple nagios daemons running right now. > I didn't find anything unusual in objects.cache. This was a request so that we could see what was there and help you with your problem. What may not be unusual to you may be plainly unusual to us, otherwise you wouldn't be asking for help. To make any progress on this issue, you should -- - Verify you do not have multiple nagios daemons running right now. Stop nagios, use ps to see if any remain, kill them and restart nagios. Let us know if you had anything you needed to kill. If you didn't have multiple instances or you did and the problem continues after doing the above, - Gather the following information from objects.cache - The definition for the service experiencing this problem - The definition for the host running the service experiencing this problem - The definition for the contact experiencing this problem - The definition for that contact's notification command - Gather the following information from nagios.log - entries related to the service experiencing the problem when it initially goes down and subsequent checks during that outage - entries related to notifications for the service during this time. -- Marc ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From mgargiullo at pivotpointsecurity.com Wed Nov 12 17:43:30 2008 From: mgargiullo at pivotpointsecurity.com (Michael Gargiullo) Date: Wed, 12 Nov 2008 11:43:30 -0500 Subject: Email Notifications In-Reply-To: <491AE2CA.3040603@op5.se> References: <19651588.3301226495950801.JavaMail.root@webmailbox300.eircom.net> <491AE2CA.3040603@op5.se> Message-ID: -----Original Message----- From: Andreas Ericsson [mailto:ae at op5.se] Sent: Wednesday, November 12, 2008 9:06 AM To: kellyjackie at eircom.net Cc: nagios-user Mailinglist Subject: Re: [Nagios-users] Email Notifications kellyjackie at eircom.net wrote: > Please help! > I have set up eSMTP as relay.The test from the command line is as follows: echo "test" | /usr/bin/esmtp -C ~/esmtp outside at email -f inside at email > outside at email is an outside email address i am sending to from an inside email address on our email server. Do i need to specify the inside email server and the account i am using within nagios and if so where? or should the usual configuration be enough. the relevant parts of the config fiels are as follows. > > Thanks in advance for any help > > The following are the config files: > > > >>From the windows.cfg file: > > define host{ > use windows-pcs ; Inherit default values from a template > host_name invoicepc ; The name we're giving to this host > alias invoicingpc ; A longer name associated with the host > address x.x.x.x ; IP address of the host > } > > > define hostgroup{ > hostgroup_name windows-pcs ; The name of the hostgroup > alias Windows PCs ; Long name of the group > members invoicepc > } > > > define service{ > use generic-service > hostgroup_name windows-pcs > service_description Uptime > check_command check_nt!UPTIME > contact_groups admins > } > > >>From the commands.cfg file: > > # 'notify-host-by-email' command definition > define command{ > command_name notify-host-by-email > command_line /usr/bin/esmtp/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n" | /usr/bin/esmtp -s "** $NOTIFICATIONTYPE$ Host Host Alert: $HOSTNAME$ is $HOSTSTATE$ **" $CONTACTEMAIL$ > I thought esmtp was an MTA sendmail replacement, not a mail program replacement? Either way, you have /usr/bin/esmtp as both a directory and an executable in the same command. ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From AHKAPLAN at PARTNERS.ORG Wed Nov 12 17:43:14 2008 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Wed, 12 Nov 2008 11:43:14 -0500 Subject: Nagios 3.0.5 on Fedora Core 9 Message-ID: Hi there - I will be implementing Nagios 3.0.5 on a new server, and the operating system in question will be the Fedora Core 9 release. Are there any issues that I should be aware of prior to the installation of Nagios, via yum, onto the server? Thanks. The information transmitted in this electronic communication is intended only for the person or entity to whom it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you received this information in error, please contact the Compliance HelpLine at 800-856-1983 and properly dispose of this information. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Aaron.Segura at cabelas.com Wed Nov 12 17:52:59 2008 From: Aaron.Segura at cabelas.com (Aaron Segura) Date: Wed, 12 Nov 2008 09:52:59 -0700 Subject: Nagios 3.0.5 on Fedora Core 9 In-Reply-To: References: Message-ID: Did you search the applicable mailing list archives? I think that would be a pretty good indicator. ________________________________ From: Kaplan, Andrew H. [mailto:AHKAPLAN at PARTNERS.ORG] Sent: Wednesday, November 12, 2008 9:43 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagios 3.0.5 on Fedora Core 9 Hi there - I will be implementing Nagios 3.0.5 on a new server, and the operating system in question will be the Fedora Core 9 release. Are there any issues that I should be aware of prior to the installation of Nagios, via yum, onto the server? Thanks. The information transmitted in this electronic communication is intended only for the person or entity to whom it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you received this information in error, please contact the Compliance HelpLine at 800-856-1983 and properly dispose of this information. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ssimmons at cymfony.com Wed Nov 12 18:22:08 2008 From: ssimmons at cymfony.com (Seth Simmons) Date: Wed, 12 Nov 2008 12:22:08 -0500 Subject: Nagios 3.0.5 on Fedora Core 9 In-Reply-To: References: Message-ID: <13F36D2926AD444697093282F20041B707C27394@buf-ex01.cymfony.com> I've been running Nagios 3.0.5 on Fedora 9 for a while and runs well. Make sure you got apache and your compilers, download the Nagios and Nagios plugins tars and follow the quick install guide for fedora in the manual. From: Kaplan, Andrew H. [mailto:AHKAPLAN at PARTNERS.ORG] Sent: Wednesday, November 12, 2008 11:43 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagios 3.0.5 on Fedora Core 9 Hi there - I will be implementing Nagios 3.0.5 on a new server, and the operating system in question will be the Fedora Core 9 release. Are there any issues that I should be aware of prior to the installation of Nagios, via yum, onto the server? Thanks. The information transmitted in this electronic communication is intended only for the person or entity to whom it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you received this information in error, please contact the Compliance HelpLine at 800-856-1983 and properly dispose of this information. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From dale.sykora at hp.com Wed Nov 12 20:09:52 2008 From: dale.sykora at hp.com (dale sykora) Date: Wed, 12 Nov 2008 13:09:52 -0600 Subject: Nagios for client management? Message-ID: <491B2A00.5060908@hp.com> Hello, Nagios seems to be a good client monitor system. I was wondering if anyone also uses it as a client management system? By management, I mean running update scripts and other software on various Linux clients. For instance, I'd like to be able to tell clients to update a perl module with cpan or yum update some_rpm_package or download, untar, compile, install some in house software. I could write a client script to poll a server every so often asking what todo, but would rather not reinvent the wheel if something like this exists in Nagios/plugin or other software. Thanks, dale.sykora at hp.com ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From alan.mckay at gmail.com Wed Nov 12 20:24:03 2008 From: alan.mckay at gmail.com (Alan McKay) Date: Wed, 12 Nov 2008 14:24:03 -0500 Subject: check_disk and autofs Message-ID: <844129e80811121124s9594dfra37e5f5ffd9a7983@mail.gmail.com> Hey folks, First, thanks for such a great product. Totally loving Nagios! At first I found the config really intimidating but after maybe 20 or 30 minutes I had a few hosts banged in and it was all downhill from there. It's amazingly easy now, I find! But I'm having the following problem. I searched the list archives and did not find anything which matched this. I want to use Nagios to check some specific autofs-mounted disks, and report on them. But what I"m getting back flips back and forth between the info for the disk that I want, and the info for the mount point. I tried this first using NRPE to check it on a remote system, then when that failed I tried it locally on the Nagios server with the same results. Note I cannot and do not want to check all autofs disks because I am only concerned with a very small percentage of them which pertain to my group. I'm basically calling check_disk with -w -c and -p options. e.g. check_disk -w 20 -c 10 -p /path/to/autofs/mountpoint/disk1 check_disk -w 20 -c 10 -p /path/to/autofs/mountpoint/disk2 I've also tried adding a trailing / to the end of the disk mount point. I went through the "check_disk -h" output and cannot find anything that might help. And most frustratingly, when I call check_disk manually from the BASH prompt, I always get the info I want - from the disk not the mount point! thanks, -Alan -- "I destroy my enemies when I make them my friends" - Abraham Lincoln ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From mgargiullo at pivotpointsecurity.com Wed Nov 12 20:37:50 2008 From: mgargiullo at pivotpointsecurity.com (Michael Gargiullo) Date: Wed, 12 Nov 2008 14:37:50 -0500 Subject: Nagios for client management? In-Reply-To: <491B2A00.5060908@hp.com> References: <491B2A00.5060908@hp.com> Message-ID: -----Original Message----- From: dale sykora [mailto:dale.sykora at hp.com] Sent: Wednesday, November 12, 2008 2:10 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagios for client management? Hello, Nagios seems to be a good client monitor system. I was wondering if anyone also uses it as a client management system? By management, I mean running update scripts and other software on various Linux clients. For instance, I'd like to be able to tell clients to update a perl module with cpan or yum update some_rpm_package or download, untar, compile, install some in house software. I could write a client script to poll a server every so often asking what todo, but would rather not reinvent the wheel if something like this exists in Nagios/plugin or other software. Thanks, dale.sykora at hp.com ------------------------------------------------------------------------ - Using Nagios specifically to run updates may not be the best solution. That being said... I've used it to compare installed versions of software with a list of requirements. The plugin would handle the update if needed. It was very specific. It would also handle monitoring config file mod dates. Could you do that... yes... should you? Only you can answer that one. ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Wed Nov 12 20:53:39 2008 From: marc at ena.com (Marc Powell) Date: Wed, 12 Nov 2008 13:53:39 -0600 Subject: check_disk and autofs In-Reply-To: <844129e80811121124s9594dfra37e5f5ffd9a7983@mail.gmail.com> References: <844129e80811121124s9594dfra37e5f5ffd9a7983@mail.gmail.com> Message-ID: On Nov 12, 2008, at 1:24 PM, Alan McKay wrote: > Hey folks, Hey =) Welcome. > I'm basically calling check_disk with -w -c and -p options. e.g. > > check_disk -w 20 -c 10 -p /path/to/autofs/mountpoint/disk1 > check_disk -w 20 -c 10 -p /path/to/autofs/mountpoint/disk2 > > I've also tried adding a trailing / to the end of the disk mount > point. > > I went through the "check_disk -h" output and cannot find anything > that might help. > > And most frustratingly, when I call check_disk manually from the BASH > prompt, I always get the info I want - from the disk not the mount > point! This is good and tells me that either the command{} definition isn't the same as your test or there are permission problems. Can you post the relevant service{} and command{} definitions? Can you post the permissions on the mountpoints? The nagios user should have rx access to those directories and above. Are you performing your test as the nagios/nrpe user on the remote machine or as root? You shouldn't test as root as there can be significant permission discrepancies compared to the nagios user. -- Marc ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From matt at conundrum.com Wed Nov 12 21:05:21 2008 From: matt at conundrum.com (Matthew Pounsett) Date: Wed, 12 Nov 2008 15:05:21 -0500 Subject: Nagios for client management? In-Reply-To: <491B2A00.5060908@hp.com> References: <491B2A00.5060908@hp.com> Message-ID: On 12-Nov-2008, at 14:09 , dale sykora wrote: > Hello, > Nagios seems to be a good client monitor system. I was wondering if > anyone also uses it as a client management system? By management, I > mean running update scripts and other software on various Linux > clients. For instance, I'd like to be able to tell clients to > update a > perl module with cpan or yum update some_rpm_package or download, > untar, > compile, install some in house software. You could probably wedge something like that into Nagios, but there is software out there better suited to the task: configuration management and change management software (particularly the former). See cfengine, bcfg2, puppet, to name only three. I was also recently referred to an interesting paper which makes references to using configuration management software to manage other (client) organizations' systems, here . -------------- next part -------------- A non-text attachment was scrubbed... Name: PGP.sig Type: application/pgp-signature Size: 194 bytes Desc: This is a digitally signed message part URL: -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From alan.mckay at gmail.com Wed Nov 12 21:26:57 2008 From: alan.mckay at gmail.com (Alan McKay) Date: Wed, 12 Nov 2008 15:26:57 -0500 Subject: check_disk and autofs In-Reply-To: References: <844129e80811121124s9594dfra37e5f5ffd9a7983@mail.gmail.com> Message-ID: <844129e80811121226t341fd7c2n207d4377103c015a@mail.gmail.com> OK, I checked the perms and they seem fine. [nagios at host nagios]$ ls -ald /opt/corp/projects/BCM_CC drwxrwxrwx 8 otheruser othergroup 1024 2008-10-31 13:52 /opt/corp/projects/BCM_CC Note that "otheruser" is not nagios. othergroup is one that nagios is not a member of. [nagios at host nagios]$ ls -ald /opt/corp/projects drwxr-xr-x 3 root root 0 2008-11-12 15:22 /opt/corp/projects Aha, but maybe this is it! Above was with the automounter running. I turned it off and checked again : [root at bcmdhcp148 linux]# ls -ald /opt/corp/projects/ drwxr-x--- 2 root root 4096 2008-07-14 04:28 /opt/corp/projects/ So I chmodded it 0755 then turned it back on. [nagios at bcmdhcp148 nagios]$ ls -ald /opt/corp drwxr-xr-x 4 root root 4096 2008-07-14 04:28 /opt/corp [nagios at bcmdhcp148 nagios]$ ls -ald /opt drwxr-xr-x 4 root root 4096 2008-07-14 04:28 /opt Here is what I am doing on the Nagios server itself. Note that "check_nfs_disk" is the same as "check_local_disk" in the default config. I just copied it in case I needed to change anything. define service{ use local-service ; Name of service template to use host_name localhost service_description BCM CC Disk service_groups Disks contact_groups admins,LoadBuildAdmins check_command check_nfs_disk!20%!10%!/opt/corp/projects/BCM_CC/ } define command{ command_name check_nfs_disk command_line $USER1$/check_disk -w $ARG1$ -c $ARG2$ -p $ARG3$ } -- "I destroy my enemies when I make them my friends" - Abraham Lincoln ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From hvdkooij at vanderkooij.org Wed Nov 12 21:33:41 2008 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Wed, 12 Nov 2008 21:33:41 +0100 Subject: Audit users actions within nagios In-Reply-To: <491AC0BA.9030803@op5.se> References: <491AB85D.8050909@newnet.co.uk> <200811121111.32083.assaf.flatto@ssp.uk.com> <491ABC2F.1030203@newnet.co.uk> <491AC0BA.9030803@op5.se> Message-ID: <491B3DA5.8000903@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Andreas Ericsson wrote: > Richard Savage wrote: >> I think you might have misunderstood. Im not interested in what actions >> are performed on the actual box, as they cant log into that, im >> interested in what actions are performed within the Nagios program. >> > > Following your apache log will tell you who visited which page. It won't > show POST data and such though, but it'll get you started. > > There's no way of getting enough info to essentially be able to replay > the users' actions, and nor will there be within the foreseeable future > (unless you patch it to do that, ofcourse). Hold on. Given that a normal user is unable to login locally and change config files. The actions available to the users are limited. And to the best of my knowledge things like acknowledgements, scheduling downtime and sure are pretty well recorded in the logs. Or am I missing something here? Hugo. PS: Darn list makes it darn impossible to respond to the list. - -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc A: Yes. >Q: Are you sure? >>A: Because it reverses the logical flow of conversation. >>>Q: Why is top posting frowned upon? Bored? Click on http://spamornot.org/ and rate those images. Nid wyf yn y swyddfa ar hyn o bryd. Anfonwch unrhyw waith i'w gyfieithu. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org iD8DBQFJGz2jBvzDRVjxmYERAii0AJsE6l5FK+ahd+0vKQ/5Rf3VN86wZwCgo2v9 1X7OCgkqiQc11a1inqjpziY= =QL9T -----END PGP SIGNATURE----- ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From alan.mckay at gmail.com Wed Nov 12 21:39:33 2008 From: alan.mckay at gmail.com (Alan McKay) Date: Wed, 12 Nov 2008 15:39:33 -0500 Subject: check_disk and autofs In-Reply-To: <844129e80811121226t341fd7c2n207d4377103c015a@mail.gmail.com> References: <844129e80811121124s9594dfra37e5f5ffd9a7983@mail.gmail.com> <844129e80811121226t341fd7c2n207d4377103c015a@mail.gmail.com> Message-ID: <844129e80811121239v7db66546ne7de3879b4ebf128@mail.gmail.com> > Aha, but maybe this is it! Above was with the automounter running. I > turned it off and checked again : > > [root at bcmdhcp148 linux]# ls -ald /opt/corp/projects/ > drwxr-x--- 2 root root 4096 2008-07-14 04:28 /opt/corp/projects/ > > So I chmodded it 0755 then turned it back on. Nope, in the web GUI it's still flipping back and forth between / and the actual disk I want -- "I destroy my enemies when I make them my friends" - Abraham Lincoln ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From hvdkooij at vanderkooij.org Wed Nov 12 21:40:50 2008 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Wed, 12 Nov 2008 21:40:50 +0100 Subject: Nagios 3.0.5 on Fedora Core 9 In-Reply-To: References: Message-ID: <491B3F52.1090400@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Kaplan, Andrew H. wrote: > I will be implementing Nagios 3.0.5 on a new server, and the operating > system in question will be the Fedora Core 9 release. > > Are there any issues that I should be aware of prior to the installation > of Nagios, via yum, onto the server? Thanks. Life expectation? Fedora 9 will not be supported in 1 year from now. Do you want to do a major upgrade each year? That is why I never will run Fedora on a server. Only Centos on servers for me. Hugo. - -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc A: Yes. >Q: Are you sure? >>A: Because it reverses the logical flow of conversation. >>>Q: Why is top posting frowned upon? Bored? Click on http://spamornot.org/ and rate those images. Nid wyf yn y swyddfa ar hyn o bryd. Anfonwch unrhyw waith i'w gyfieithu. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org iD8DBQFJGz9RBvzDRVjxmYERAoqSAKCHEOvEH/loO7c3bOQPgRzH2/hX1QCeO5m9 cTGEwMUKjBWVKKhLQWH8LYQ= =nr0z -----END PGP SIGNATURE----- ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From hvdkooij at vanderkooij.org Wed Nov 12 21:51:58 2008 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Wed, 12 Nov 2008 21:51:58 +0100 Subject: Nagios for client management? In-Reply-To: <491B2A00.5060908@hp.com> References: <491B2A00.5060908@hp.com> Message-ID: <491B41EE.6090902@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 dale sykora wrote: > Nagios seems to be a good client monitor system. I was wondering if > anyone also uses it as a client management system? By management, I > mean running update scripts and other software on various Linux > clients. You might be able to whip up something that works. But Nagios is about monitoring. I think you need to look for another solution to do to proper management of clients. I can use a screwdriver to hit a nail. But a hammer is a better tool for it. Hugo. - -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc A: Yes. >Q: Are you sure? >>A: Because it reverses the logical flow of conversation. >>>Q: Why is top posting frowned upon? Bored? Click on http://spamornot.org/ and rate those images. Nid wyf yn y swyddfa ar hyn o bryd. Anfonwch unrhyw waith i'w gyfieithu. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org iD8DBQFJG0HsBvzDRVjxmYERAtGGAJ4zUm0HtoFsLGUE6K80QduNvedR1gCgqS4P bFqf+v+8/RVFgFxPYqR60tM= =qNti -----END PGP SIGNATURE----- ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Wed Nov 12 21:54:20 2008 From: marc at ena.com (Marc Powell) Date: Wed, 12 Nov 2008 14:54:20 -0600 Subject: check_disk and autofs In-Reply-To: <844129e80811121239v7db66546ne7de3879b4ebf128@mail.gmail.com> References: <844129e80811121124s9594dfra37e5f5ffd9a7983@mail.gmail.com> <844129e80811121226t341fd7c2n207d4377103c015a@mail.gmail.com> <844129e80811121239v7db66546ne7de3879b4ebf128@mail.gmail.com> Message-ID: <97057310-C4B0-4D7C-8BA8-6EBC51BE4C6C@ena.com> On Nov 12, 2008, at 2:39 PM, Alan McKay wrote: >> Aha, but maybe this is it! Above was with the automounter >> running. I >> turned it off and checked again : >> >> [root at bcmdhcp148 linux]# ls -ald /opt/corp/projects/ >> drwxr-x--- 2 root root 4096 2008-07-14 04:28 /opt/corp/projects/ >> >> So I chmodded it 0755 then turned it back on. > > Nope, in the web GUI it's still flipping back and forth between / and > the actual disk I want Please expand on this. What specifically is flipping back and forth? What is the service output when this is happening? flip-flop behavior is an indicator of accidentally having multiple nagios daemons running at the same time. -- Marc ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From AHKAPLAN at PARTNERS.ORG Wed Nov 12 21:54:07 2008 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Wed, 12 Nov 2008 15:54:07 -0500 Subject: Nagios 3.0.5 on Fedora Core 9 In-Reply-To: <491B3F52.1090400@vanderkooij.org> References: <491B3F52.1090400@vanderkooij.org> Message-ID: Hi Hugo -- If I was to go the CentOS route, would the Quick Install procedure available for Fedora also work for version 5.2 64-bit of CentOS? -----Original Message----- From: Hugo van der Kooij [mailto:hvdkooij at vanderkooij.org] Sent: Wednesday, November 12, 2008 3:41 PM To: Nagios Users Mailinglist Subject: Re: [Nagios-users] Nagios 3.0.5 on Fedora Core 9 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Kaplan, Andrew H. wrote: > I will be implementing Nagios 3.0.5 on a new server, and the operating > system in question will be the Fedora Core 9 release. > > Are there any issues that I should be aware of prior to the installation > of Nagios, via yum, onto the server? Thanks. Life expectation? Fedora 9 will not be supported in 1 year from now. Do you want to do a major upgrade each year? That is why I never will run Fedora on a server. Only Centos on servers for me. Hugo. - -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc A: Yes. >Q: Are you sure? >>A: Because it reverses the logical flow of conversation. >>>Q: Why is top posting frowned upon? Bored? Click on http://spamornot.org/ and rate those images. Nid wyf yn y swyddfa ar hyn o bryd. Anfonwch unrhyw waith i'w gyfieithu. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org iD8DBQFJGz9RBvzDRVjxmYERAoqSAKCHEOvEH/loO7c3bOQPgRzH2/hX1QCeO5m9 cTGEwMUKjBWVKKhLQWH8LYQ= =nr0z -----END PGP SIGNATURE----- ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 The information transmitted in this electronic communication is intended only for the person or entity to whom it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you received this information in error, please contact the Compliance HelpLine at 800-856-1983 and properly dispose of this information. ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From hvdkooij at vanderkooij.org Wed Nov 12 21:54:52 2008 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Wed, 12 Nov 2008 21:54:52 +0100 Subject: check_disk and autofs In-Reply-To: <844129e80811121239v7db66546ne7de3879b4ebf128@mail.gmail.com> References: <844129e80811121124s9594dfra37e5f5ffd9a7983@mail.gmail.com> <844129e80811121226t341fd7c2n207d4377103c015a@mail.gmail.com> <844129e80811121239v7db66546ne7de3879b4ebf128@mail.gmail.com> Message-ID: <491B429C.209@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Alan McKay wrote: >> Aha, but maybe this is it! Above was with the automounter running. I >> turned it off and checked again : >> >> [root at bcmdhcp148 linux]# ls -ald /opt/corp/projects/ >> drwxr-x--- 2 root root 4096 2008-07-14 04:28 /opt/corp/projects/ >> >> So I chmodded it 0755 then turned it back on. > > Nope, in the web GUI it's still flipping back and forth between / and > the actual disk I want When you tested by hand. How fast was the response? Could it be that the plugin through nagios is perhaps faster or slower so the response time of the automounter could be an issue? Hugo. - -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc A: Yes. >Q: Are you sure? >>A: Because it reverses the logical flow of conversation. >>>Q: Why is top posting frowned upon? Bored? Click on http://spamornot.org/ and rate those images. Nid wyf yn y swyddfa ar hyn o bryd. Anfonwch unrhyw waith i'w gyfieithu. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org iD8DBQFJG0KYBvzDRVjxmYERAj7QAJ9WNdJj1ckBxq672S5j1ISjEZFfeACgmj0k hQy/Zib1ANGO6JR+lRT3CRI= =5nM8 -----END PGP SIGNATURE----- ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From alan.mckay at gmail.com Wed Nov 12 22:01:03 2008 From: alan.mckay at gmail.com (Alan McKay) Date: Wed, 12 Nov 2008 16:01:03 -0500 Subject: Nagios 3.0.5 on Fedora Core 9 In-Reply-To: <491B3F52.1090400@vanderkooij.org> References: <491B3F52.1090400@vanderkooij.org> Message-ID: <844129e80811121301v78f5c548w3be65f273bf93816@mail.gmail.com> >> I will be implementing Nagios 3.0.5 on a new server, and the operating >> system in question will be the Fedora Core 9 release. >> >> Are there any issues that I should be aware of prior to the installation >> of Nagios, via yum, onto the server? Thanks. The Nagios version in FC9 is pretty old. I started out there and then blew it away and installed it manually. Latest version. The install was very easy. -- "I destroy my enemies when I make them my friends" - Abraham Lincoln ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From mgargiullo at pivotpointsecurity.com Wed Nov 12 22:05:12 2008 From: mgargiullo at pivotpointsecurity.com (Michael Gargiullo) Date: Wed, 12 Nov 2008 16:05:12 -0500 Subject: Nagios 3.0.5 on Fedora Core 9 In-Reply-To: References: <491B3F52.1090400@vanderkooij.org> Message-ID: -----Original Message----- From: Kaplan, Andrew H. [mailto:AHKAPLAN at PARTNERS.ORG] Sent: Wednesday, November 12, 2008 3:54 PM To: Nagios Users Mailinglist Subject: Re: [Nagios-users] Nagios 3.0.5 on Fedora Core 9 Hi Hugo -- If I was to go the CentOS route, would the Quick Install procedure available for Fedora also work for version 5.2 64-bit of CentOS? I run several instances of Nagios on CentOS 5.1 & 5.2... Never tried 64bit however. -----Original Message----- From: Hugo van der Kooij [mailto:hvdkooij at vanderkooij.org] Sent: Wednesday, November 12, 2008 3:41 PM To: Nagios Users Mailinglist Subject: Re: [Nagios-users] Nagios 3.0.5 on Fedora Core 9 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Kaplan, Andrew H. wrote: > I will be implementing Nagios 3.0.5 on a new server, and the operating > system in question will be the Fedora Core 9 release. > > Are there any issues that I should be aware of prior to the installation > of Nagios, via yum, onto the server? Thanks. Life expectation? Fedora 9 will not be supported in 1 year from now. Do you want to do a major upgrade each year? That is why I never will run Fedora on a server. Only Centos on servers for me. Hugo. - -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc A: Yes. >Q: Are you sure? >>A: Because it reverses the logical flow of conversation. >>>Q: Why is top posting frowned upon? Bored? Click on http://spamornot.org/ and rate those images. Nid wyf yn y swyddfa ar hyn o bryd. Anfonwch unrhyw waith i'w gyfieithu. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org iD8DBQFJGz9RBvzDRVjxmYERAoqSAKCHEOvEH/loO7c3bOQPgRzH2/hX1QCeO5m9 cTGEwMUKjBWVKKhLQWH8LYQ= =nr0z -----END PGP SIGNATURE----- ------------------------------------------------------------------------ - 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 The information transmitted in this electronic communication is intended only for the person or entity to whom it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you received this information in error, please contact the Compliance HelpLine at 800-856-1983 and properly dispose of this information. ------------------------------------------------------------------------ - 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From alan.mckay at gmail.com Wed Nov 12 22:06:07 2008 From: alan.mckay at gmail.com (Alan McKay) Date: Wed, 12 Nov 2008 16:06:07 -0500 Subject: check_disk and autofs In-Reply-To: <97057310-C4B0-4D7C-8BA8-6EBC51BE4C6C@ena.com> References: <844129e80811121124s9594dfra37e5f5ffd9a7983@mail.gmail.com> <844129e80811121226t341fd7c2n207d4377103c015a@mail.gmail.com> <844129e80811121239v7db66546ne7de3879b4ebf128@mail.gmail.com> <97057310-C4B0-4D7C-8BA8-6EBC51BE4C6C@ena.com> Message-ID: <844129e80811121306j5dd80a21x3c2bcd11830c192b@mail.gmail.com> > Please expand on this. What specifically is flipping back and forth? > What is the service output when this is happening? flip-flop behavior > is an indicator of accidentally having multiple nagios daemons running > at the same time. Right now the screen just refreshed and it's reporting correctly in the web GUI : DISK OK - free space: /opt/corp/projects/BCM_CC 64697 MB (73% inode=99%): Just before the refresh, it had / listed instead of /opt/corp/projects/BCM_CC, and the stats for / as well. In the meantime I have not changed the configuration. I'm thinking that like Hugo said, it could be the response time of the automounter. Maybe I have to write a wrapper-script for check_disk that first cd's to the directory, then sleeps for 1 or 2 seconds, then calls check_disk. Anyone ever done that? Anything special I have to know to do it? -- "I destroy my enemies when I make them my friends" - Abraham Lincoln ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From alan.mckay at gmail.com Wed Nov 12 22:08:55 2008 From: alan.mckay at gmail.com (Alan McKay) Date: Wed, 12 Nov 2008 16:08:55 -0500 Subject: check_disk and autofs In-Reply-To: <844129e80811121306j5dd80a21x3c2bcd11830c192b@mail.gmail.com> References: <844129e80811121124s9594dfra37e5f5ffd9a7983@mail.gmail.com> <844129e80811121226t341fd7c2n207d4377103c015a@mail.gmail.com> <844129e80811121239v7db66546ne7de3879b4ebf128@mail.gmail.com> <97057310-C4B0-4D7C-8BA8-6EBC51BE4C6C@ena.com> <844129e80811121306j5dd80a21x3c2bcd11830c192b@mail.gmail.com> Message-ID: <844129e80811121308w11b9c430r24c22a9516ab01ad@mail.gmail.com> > Right now the screen just refreshed and it's reporting correctly in > the web GUI : > > DISK OK - free space: /opt/corp/projects/BCM_CC 64697 MB (73% inode=99%): There, one more refresh and : DISK OK - free space: / 63202 MB (91% inode=94%): -- "I destroy my enemies when I make them my friends" - Abraham Lincoln ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From hvdkooij at vanderkooij.org Wed Nov 12 22:22:46 2008 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Wed, 12 Nov 2008 22:22:46 +0100 Subject: Nagios 3.0.5 on Fedora Core 9 In-Reply-To: References: Message-ID: <491B4926.2020401@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Kaplan, Andrew H. wrote: > If I was to go the CentOS route, would the Quick Install procedure available for > Fedora also work for version 5.2 64-bit of CentOS? I am not familiar with that. But with Centos it is like: - Install Centos - Add rpmforge as repository - Install nagios through yum - Configure Nagios The last line is the hardest part as it requires one to read the Nagios manual to understand the Nagios config files. But I actually have one Centos 4 and one Centos 5 server operational. And some custome checking to do a SMTP loopback check to see if a chain of anti-spam and anti-malware servers is working as it should be. Hugo. - -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc A: Yes. >Q: Are you sure? >>A: Because it reverses the logical flow of conversation. >>>Q: Why is top posting frowned upon? Bored? Click on http://spamornot.org/ and rate those images. Nid wyf yn y swyddfa ar hyn o bryd. Anfonwch unrhyw waith i'w gyfieithu. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org iD8DBQFJG0kkBvzDRVjxmYERAuCYAJwIb80OrUMJLjj2r1Kve9QAlTECCwCfZTRj FaUiSjx420xhKUOyq6pfUmc= =2QW+ -----END PGP SIGNATURE----- ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Wed Nov 12 22:39:15 2008 From: marc at ena.com (Marc Powell) Date: Wed, 12 Nov 2008 15:39:15 -0600 Subject: check_disk and autofs In-Reply-To: <844129e80811121306j5dd80a21x3c2bcd11830c192b@mail.gmail.com> References: <844129e80811121124s9594dfra37e5f5ffd9a7983@mail.gmail.com> <844129e80811121226t341fd7c2n207d4377103c015a@mail.gmail.com> <844129e80811121239v7db66546ne7de3879b4ebf128@mail.gmail.com> <97057310-C4B0-4D7C-8BA8-6EBC51BE4C6C@ena.com> <844129e80811121306j5dd80a21x3c2bcd11830c192b@mail.gmail.com> Message-ID: <7898CFF4-143E-4FE0-B10B-D94EE30563CA@ena.com> On Nov 12, 2008, at 3:06 PM, Alan McKay wrote: >> Please expand on this. What specifically is flipping back and forth? >> What is the service output when this is happening? flip-flop behavior >> is an indicator of accidentally having multiple nagios daemons >> running >> at the same time. > > Right now the screen just refreshed and it's reporting correctly in > the web GUI : > > DISK OK - free space: /opt/corp/projects/BCM_CC 64697 MB (73% > inode=99%): > > Just before the refresh, it had / listed instead of > /opt/corp/projects/BCM_CC, and the stats for / as well. > > In the meantime I have not changed the configuration. > > I'm thinking that like Hugo said, it could be the response time of the > automounter. Maybe I have to write a wrapper-script for check_disk > that first cd's to the directory, then sleeps for 1 or 2 seconds, then > calls check_disk. Anyone ever done that? Anything special I have to > know to do it? A more likely, and elegant reason is that you have multiple nagios daemons running at the same time, one with the current config and one with a prior config that was set to check '/'. That's much easier to verify and fix first than trying to figure out some obscure problem with the automounter. Unless the automounter is unmounting it in the time between checks, I doubt that's going to be it. I would also never expect the mountpoint being checked to change in that event. check_disk just doesn't do that from my experience. -- Marc ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From alan.mckay at gmail.com Wed Nov 12 22:57:23 2008 From: alan.mckay at gmail.com (Alan McKay) Date: Wed, 12 Nov 2008 16:57:23 -0500 Subject: check_disk and autofs In-Reply-To: <7898CFF4-143E-4FE0-B10B-D94EE30563CA@ena.com> References: <844129e80811121124s9594dfra37e5f5ffd9a7983@mail.gmail.com> <844129e80811121226t341fd7c2n207d4377103c015a@mail.gmail.com> <844129e80811121239v7db66546ne7de3879b4ebf128@mail.gmail.com> <97057310-C4B0-4D7C-8BA8-6EBC51BE4C6C@ena.com> <844129e80811121306j5dd80a21x3c2bcd11830c192b@mail.gmail.com> <7898CFF4-143E-4FE0-B10B-D94EE30563CA@ena.com> Message-ID: <844129e80811121357h30265584tb1202e6235ff9c26@mail.gmail.com> > A more likely, and elegant reason is that you have multiple nagios > daemons running at the same time, one with the current config and one > with a prior config that was set to check '/'. Nope, doesn't appear to be > Unless the automounter is unmounting it in the > time between checks, Why wouldn't it? That's it's job - to unmount stuff that is not needed anymore. -- "I destroy my enemies when I make them my friends" - Abraham Lincoln ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Wed Nov 12 23:17:16 2008 From: marc at ena.com (Marc Powell) Date: Wed, 12 Nov 2008 16:17:16 -0600 Subject: check_disk and autofs In-Reply-To: <844129e80811121357h30265584tb1202e6235ff9c26@mail.gmail.com> References: <844129e80811121124s9594dfra37e5f5ffd9a7983@mail.gmail.com> <844129e80811121226t341fd7c2n207d4377103c015a@mail.gmail.com> <844129e80811121239v7db66546ne7de3879b4ebf128@mail.gmail.com> <97057310-C4B0-4D7C-8BA8-6EBC51BE4C6C@ena.com> <844129e80811121306j5dd80a21x3c2bcd11830c192b@mail.gmail.com> <7898CFF4-143E-4FE0-B10B-D94EE30563CA@ena.com> <844129e80811121357h30265584tb1202e6235ff9c26@mail.gmail.com> Message-ID: <60CA0C45-F100-4AB5-A127-EA791E88735B@ena.com> On Nov 12, 2008, at 3:57 PM, Alan McKay wrote: >> Unless the automounter is unmounting it in the >> time between checks, > > Why wouldn't it? That's it's job - to unmount stuff that is not > needed anymore. I guess that my expectation is that automounter would wait about 10 minutes before unmounting. Typical normal_check_interval is 5. Lots of assumptions on my part there about your configuration. -- Marc ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From alan.mckay at gmail.com Wed Nov 12 23:28:22 2008 From: alan.mckay at gmail.com (Alan McKay) Date: Wed, 12 Nov 2008 17:28:22 -0500 Subject: check_disk and autofs In-Reply-To: <60CA0C45-F100-4AB5-A127-EA791E88735B@ena.com> References: <844129e80811121124s9594dfra37e5f5ffd9a7983@mail.gmail.com> <844129e80811121226t341fd7c2n207d4377103c015a@mail.gmail.com> <844129e80811121239v7db66546ne7de3879b4ebf128@mail.gmail.com> <97057310-C4B0-4D7C-8BA8-6EBC51BE4C6C@ena.com> <844129e80811121306j5dd80a21x3c2bcd11830c192b@mail.gmail.com> <7898CFF4-143E-4FE0-B10B-D94EE30563CA@ena.com> <844129e80811121357h30265584tb1202e6235ff9c26@mail.gmail.com> <60CA0C45-F100-4AB5-A127-EA791E88735B@ena.com> Message-ID: <844129e80811121428p2108aeacy9cfab0179a3d19cf@mail.gmail.com> > I guess that my expectation is that automounter would wait > about 10 minutes before unmounting. I'm not sure why this should matter though. It's job is to mount when needed, and unmount when not needed. > I guess that my expectation is that automounter would wait about 10 > minutes before unmounting. Typical normal_check_interval is 5. Lots of > assumptions on my part there about your configuration. I have not changed many defaults, certainly not that one. Here's a question : by what means does check_disk do it's checking? I guess it's using system calls? Which ones? I can look into those calls to see if there is a cleaner way around this than writing a wrapper script. -- "I destroy my enemies when I make them my friends" - Abraham Lincoln ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Wed Nov 12 23:45:02 2008 From: marc at ena.com (Marc Powell) Date: Wed, 12 Nov 2008 16:45:02 -0600 Subject: check_disk and autofs In-Reply-To: <844129e80811121428p2108aeacy9cfab0179a3d19cf@mail.gmail.com> References: <844129e80811121124s9594dfra37e5f5ffd9a7983@mail.gmail.com> <844129e80811121226t341fd7c2n207d4377103c015a@mail.gmail.com> <844129e80811121239v7db66546ne7de3879b4ebf128@mail.gmail.com> <97057310-C4B0-4D7C-8BA8-6EBC51BE4C6C@ena.com> <844129e80811121306j5dd80a21x3c2bcd11830c192b@mail.gmail.com> <7898CFF4-143E-4FE0-B10B-D94EE30563CA@ena.com> <844129e80811121357h30265584tb1202e6235ff9c26@mail.gmail.com> <60CA0C45-F100-4AB5-A127-EA791E88735B@ena.com> <844129e80811121428p2108aeacy9cfab0179a3d19cf@mail.gmail.com> Message-ID: <8EA11DD6-8140-41D8-AB9A-B4CF63D383D2@ena.com> On Nov 12, 2008, at 4:28 PM, Alan McKay wrote: > Here's a question : by what means does check_disk do it's checking? > I guess it's using system calls? Which ones? I can look into those > calls to see if there is a cleaner way around this than writing a > wrapper script. Don't remember. I'd have to look at the source but you can do that too. -- Marc ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From chris.paul at sentinare.com Thu Nov 13 00:07:53 2008 From: chris.paul at sentinare.com (Chris Paul) Date: Wed, 12 Nov 2008 15:07:53 -0800 (SystemV_PST) Subject: sticky acknowledgements do not persist across nagios restarts in Nagios 3 Message-ID: <56764.135.214.42.162.1226531273.squirrel@mail.sentinare.com> Hello Nagios-Users, I have nagios 3.0.4 in Solaris 10. When acknowledge a host that is down (with a sticky acknowledgement, and then restart the nagios daemon with a kill -HUP, it deletes the acknowledgement. This is not the correct behavior according to page 7 of the nagios-3.pdf document, "Acknowledgement comments that are marked as non-persistent are now only deleted when the acknowledgement is removed. They were previously automatically deleted when Nagios restarted, which was not ideal." Can anyone else verify this behavior? many thanks, CP -- Chris Paul Sentinare Messaging Solutions, Inc 309 Cedar Street #72, Santa Cruz, CA 95060 email: chris.paul at sentinare.com web: http://www.sentinare.com phone, toll-free: +1 (877) 727-9786 ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Bret.Goodfellow at questar.com Thu Nov 13 00:08:48 2008 From: Bret.Goodfellow at questar.com (Bret Goodfellow) Date: Wed, 12 Nov 2008 16:08:48 -0700 Subject: check_logs.pl gets 'uninitilized value' Message-ID: <91EDB00F83BAD443A9D05FA67623955A065049@QMAIL.corp.questar.com> Hi all, I have been running a perl plugin, check_logs.pl, on a RHEL server for several months (no changes to my knowledge). But, this week the plugin is having trouble. When it runs, an 'uninitialized value' warning is produced. Below is the shell output: [root at twin plugins]# ./check_logs.pl -c /etc/nagios/check_logs_linux.cfg Use of uninitialized value in numeric ne (!=) at ./check_logs.pl line 81. messages => (1): Nov 12 10:39:23 twin root: HELLO THERE!; [root at twin plugins]# This same code is running just fine on 29 other RHEL servers. How do I eliminate the 'uninitialized value' message? Below is the code starting from line 73: 73 # Open log file 74 open LOG_FILE, $cnf->{'file_name'} || die "Unable to open log file $cnf->{'file_name'}: $!"; 75 # Try to open log seek file. If open fails, we seek from beginning of 76 # file by default. 77 if (open(SEEK_FILE, $seek_file)) { 78 chomp(@seek_pos = ); 79 close(SEEK_FILE); 80 # If file is empty, no need to seek... 81 if ($seek_pos[0] != 0) { 82 # Compare seek position to actual file size. If file size is smaller 82 # then we just start from beginning i.e. file was rotated, etc. 84 ($dev,$ino,$mode,$nlink,$uid,$gid,$rdev,$size,$atime,$mtime,$ctime,$blksize,$blocks) = stat(LOG_FILE); 85 if ($seek_pos[0] <= $size) { 86 seek(LOG_FILE, $seek_pos[0], 0); 87 } 88 } 89 } Any ideas? Regards, Bret Goodfellow ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From alan.mckay at gmail.com Thu Nov 13 00:35:50 2008 From: alan.mckay at gmail.com (Alan McKay) Date: Wed, 12 Nov 2008 18:35:50 -0500 Subject: check_disk and autofs In-Reply-To: <8EA11DD6-8140-41D8-AB9A-B4CF63D383D2@ena.com> References: <844129e80811121124s9594dfra37e5f5ffd9a7983@mail.gmail.com> <844129e80811121226t341fd7c2n207d4377103c015a@mail.gmail.com> <844129e80811121239v7db66546ne7de3879b4ebf128@mail.gmail.com> <97057310-C4B0-4D7C-8BA8-6EBC51BE4C6C@ena.com> <844129e80811121306j5dd80a21x3c2bcd11830c192b@mail.gmail.com> <7898CFF4-143E-4FE0-B10B-D94EE30563CA@ena.com> <844129e80811121357h30265584tb1202e6235ff9c26@mail.gmail.com> <60CA0C45-F100-4AB5-A127-EA791E88735B@ena.com> <844129e80811121428p2108aeacy9cfab0179a3d19cf@mail.gmail.com> <8EA11DD6-8140-41D8-AB9A-B4CF63D383D2@ena.com> Message-ID: <844129e80811121535p6f928041t4910934b02ec18af@mail.gmail.com> > Don't remember. I'd have to look at the source but you can do that too. yes, I will if none of the designers recall off the top of their head -- "I destroy my enemies when I make them my friends" - Abraham Lincoln ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From hvdkooij at vanderkooij.org Thu Nov 13 07:15:28 2008 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Thu, 13 Nov 2008 07:15:28 +0100 Subject: sticky acknowledgements do not persist across nagios restarts in Nagios 3 In-Reply-To: <56764.135.214.42.162.1226531273.squirrel@mail.sentinare.com> References: <56764.135.214.42.162.1226531273.squirrel@mail.sentinare.com> Message-ID: <491BC600.9080902@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Chris Paul wrote: > Hello Nagios-Users, > > I have nagios 3.0.4 in Solaris 10. When acknowledge a host that is down > (with a sticky acknowledgement, and then restart the nagios daemon with a > kill -HUP, it deletes the acknowledgement. 1: sticky acknowledgement > This is not the correct behavior according to page 7 of the nagios-3.pdf > document, > > "Acknowledgement comments that are marked as non-persistent are now > only deleted when the acknowledgement is removed. They were previously > automatically deleted when Nagios restarted, which was not ideal." 2: non-persistent acknowledgement > Can anyone else verify this behavior? In my view 1 and 2 are not the same thing. Hugo. - -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc A: Yes. >Q: Are you sure? >>A: Because it reverses the logical flow of conversation. >>>Q: Why is top posting frowned upon? Bored? Click on http://spamornot.org/ and rate those images. Nid wyf yn y swyddfa ar hyn o bryd. Anfonwch unrhyw waith i'w gyfieithu. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org iD8DBQFJG8X+BvzDRVjxmYERAkUXAJ4u86BByhbqpVVkcxhqTG6LXtInEACfegp0 4I1+YbvzLkF+uLXv5z4/0zA= =JMVp -----END PGP SIGNATURE----- ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From chris.paul at sentinare.com Thu Nov 13 07:29:42 2008 From: chris.paul at sentinare.com (Chris Paul) Date: Wed, 12 Nov 2008 22:29:42 -0800 (SystemV_PST) Subject: sticky acknowledgements do not persist across nagios restarts in Nagios 3 Message-ID: <58273.135.214.154.104.1226557782.squirrel@mail.sentinare.com> Hugo van der Kooij [mailto:hvdkooij at vanderkooij.org] wrote: > 1: sticky acknowledgement > > > This is not the correct behavior according to page 7 of the nagios-3.pdf > > document, > > > > "Acknowledgement comments that are marked as non-persistent are > now > > only deleted when the acknowledgement is removed. They were > previously > > automatically deleted when Nagios restarted, which was not ideal." > > 2: non-persistent acknowledgement > > > Can anyone else verify this behavior? > > In my view 1 and 2 are not the same thing. Thanks Hugo. I could have been more clear... What I am talking about is sticky, non-persistent acknowledgements, so can you tell me... does a non-persistent, sticky ack (the default) remain on your system when you restart nagios with a HUP signal? best, CP ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ae at op5.se Thu Nov 13 09:30:21 2008 From: ae at op5.se (Andreas Ericsson) Date: Thu, 13 Nov 2008 09:30:21 +0100 Subject: Email Notifications In-Reply-To: <22893634.19971226501511852.JavaMail.root@webmailbox300.eircom.net> References: <22893634.19971226501511852.JavaMail.root@webmailbox300.eircom.net> Message-ID: <491BE59D.2050105@op5.se> Two things I'd like you to think about when next posting to a public mailing list: 1. Don't remove the mailing-list from the list of recipients. Doing so means the mailing list archives will not contain the answer to your problem, and those of us who answer it on the list will be forced to answer it over and over and over again. 2. Don't top-post. It makes it excessively hard to understand what you're replying to, and it makes those list archives pretty much useless since people can't read the questions before the answers. kellyjackie at eircom.net wrote: > Thanks for the response Andreas, Actually i don't know what i'm > doing. I'm on work experience and this is my first big task. I have > nagios set up, monitoring some machines and services. Now im trying > to set up the email notifications.I cant find any documentation on > how to configure nagios with eSMTP. As the command line includes > /usr/bin/esmtp i changed the lines in notify-hosts-by-email from > usr/bin/printf to usr/bin/esmtp/printf and usr/bin/mail to > usr/bin/esmtp/mail I noticed. That's a really wild shot in the dark. I take it you're not overly familiar with unix systems? If you're not, and noone else in your organization can help you, I'd really recommend getting professional help setting up your Nagios system. Altinity is UK-based and do Nagios-related consultancy work. They can probably help you get up and running in a very short time. op5 is Sweden-based (and I work there, so shameless plug here we go), but can do installations remotely with a little help from an on-site technician. We'll also do on-site, ofcourse, but travelling costs are sometimes prohibitive. http://www.nagios.org/support/servicepartners/ has a (much) more comprehensive list. >. For each host and service do i need to include > lines to enable notifications. No, you can do that using templates. Reading the nagios documentation before you get cracking would be well spent time. > The main nagios.cfg is set to enable > notifications and the contact person also. > ----- "Andreas Ericsson" > wrote: >> kellyjackie at eircom.net wrote: >>> Please help! I have set up eSMTP as relay.The test from the >>> command line is as >> follows: echo "test" | /usr/bin/esmtp -C ~/esmtp outside at email -f >> inside at email >>> outside at email is an outside email address i am sending to from an >>> >> inside email address on our email server. Do i need to specify the >> inside email server and the account i am using within nagios and if >> so where? or should the usual configuration be enough. the relevant >> parts of the config fiels are as follows. >>> Thanks in advance for any help >>> >>> The following are the config files: >>> >>> >>> >>>> From the windows.cfg file: >>> >>> define host{ use windows-pcs ; Inherit default >>> values >> from a template >>> host_name invoicepc ; The name we're giving to >> this host >>> alias invoicingpc ; A longer name associated >> with the host >>> address x.x.x.x ; IP address of the host } >>> >>> >>> define hostgroup{ hostgroup_name windows-pcs ; The name of >>> the hostgroup alias Windows PCs ; Long name of the >>> group members invoicepc } >>> >>> >>> define service{ use generic-service >>> hostgroup_name windows-pcs service_description >>> Uptime check_command check_nt!UPTIME contact_groups >>> admins } >>> >>> >>>> From the commands.cfg file: >>> >>> # 'notify-host-by-email' command definition define command{ >>> command_name notify-host-by-email command_line >>> /usr/bin/esmtp/printf "%b" "***** Nagios >> *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: >> $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: >> $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n" | /usr/bin/esmtp/mail >> -s "** $NOTIFICATIONTYPE$ Host Host Alert: $HOSTNAME$ is >> $HOSTSTATE$ **" $CONTACTEMAIL$ /usr/bin/esmtp/printf looks totally >> bogus. I've got a feeling someone's used a crappy regex to modify >> the config here. >> >> Besides that, I believe esmtp is an smtp *server*, so it's not >> supposed to be run from the command line. I'm not sure about that >> though, so I'll just assume you've read the manuals for esmtp and >> know what you're doing (well, one can always hope, right?). >> >> -- Andreas Ericsson andreas.ericsson at op5.se OP5 >> AB www.op5.se Tel: +46 8-230225 >> Fax: +46 8-230231 > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ae at op5.se Thu Nov 13 09:41:41 2008 From: ae at op5.se (Andreas Ericsson) Date: Thu, 13 Nov 2008 09:41:41 +0100 Subject: check_disk and autofs In-Reply-To: <844129e80811121428p2108aeacy9cfab0179a3d19cf@mail.gmail.com> References: <844129e80811121124s9594dfra37e5f5ffd9a7983@mail.gmail.com> <844129e80811121226t341fd7c2n207d4377103c015a@mail.gmail.com> <844129e80811121239v7db66546ne7de3879b4ebf128@mail.gmail.com> <97057310-C4B0-4D7C-8BA8-6EBC51BE4C6C@ena.com> <844129e80811121306j5dd80a21x3c2bcd11830c192b@mail.gmail.com> <7898CFF4-143E-4FE0-B10B-D94EE30563CA@ena.com> <844129e80811121357h30265584tb1202e6235ff9c26@mail.gmail.com> <60CA0C45-F100-4AB5-A127-EA791E88735B@ena.com> <844129e80811121428p2108aeacy9cfab0179a3d19cf@mail.gmail.com> Message-ID: <491BE845.9060903@op5.se> Alan McKay wrote: >> I guess that my expectation is that automounter would wait >> about 10 minutes before unmounting. > > I'm not sure why this should matter though. It's job is to mount when > needed, and unmount when not needed. > The problem is that it isn't needed when check_disk does its check, as it just parses the table of currently mounted partitions. If the disk isn't mounted and you run "df -h", do you see the partition in the list? If not, that's the same problem, and I'm guessing you've got some other process accessing stuff on that automounted partition with infrequent intervals (so that check_disk happens to flip states between each check). If you do see it, then check_disk is probably doing something the regular old df isn't, and should be fixed. >> I guess that my expectation is that automounter would wait about 10 >> minutes before unmounting. Typical normal_check_interval is 5. Lots of >> assumptions on my part there about your configuration. > > I have not changed many defaults, certainly not that one. > > Here's a question : by what means does check_disk do it's checking? > I guess it's using system calls? Which ones? strace be thy friend (or whatever tracer is available for the platform you're using). > I can look into those > calls to see if there is a cleaner way around this than writing a > wrapper script. > You can use a wrapper-script to just cd to the automounted path and then run check_disk. That should make it work, since the cd'ing into the path trigger the auto-mounter if necessary, or prevent it from un-mounting in the split second check_disk does its thing. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From richard at newnet.co.uk Thu Nov 13 12:03:06 2008 From: richard at newnet.co.uk (Richard Savage) Date: Thu, 13 Nov 2008 11:03:06 +0000 Subject: Audit users actions within nagios In-Reply-To: <491B3DA5.8000903@vanderkooij.org> References: <491AB85D.8050909@newnet.co.uk> <200811121111.32083.assaf.flatto@ssp.uk.com> <491ABC2F.1030203@newnet.co.uk> <491AC0BA.9030803@op5.se> <491B3DA5.8000903@vanderkooij.org> Message-ID: <491C096A.80201@newnet.co.uk> Hugo van der Kooij wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Andreas Ericsson wrote: > >> Richard Savage wrote: >> >>> I think you might have misunderstood. Im not interested in what actions >>> are performed on the actual box, as they cant log into that, im >>> interested in what actions are performed within the Nagios program. >>> >>> >> Following your apache log will tell you who visited which page. It won't >> show POST data and such though, but it'll get you started. >> >> There's no way of getting enough info to essentially be able to replay >> the users' actions, and nor will there be within the foreseeable future >> (unless you patch it to do that, ofcourse). >> > > Hold on. Given that a normal user is unable to login locally and change > config files. The actions available to the users are limited. And to the > best of my knowledge things like acknowledgements, scheduling downtime > and sure are pretty well recorded in the logs. > > Or am I missing something here? > > Hugo. > > PS: Darn list makes it darn impossible to respond to the list. > > Yes they are recorded in the logs, but no username is recorded with it. It just says, External command or something like that, it wont say which user has done it? Unless im going blind. Thanks rich ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From kellyjackie at eircom.net Thu Nov 13 12:12:15 2008 From: kellyjackie at eircom.net (kellyjackie at eircom.net) Date: Thu, 13 Nov 2008 11:12:15 +0000 (GMT) Subject: Email Notifications Message-ID: <30764511.52621226574735422.JavaMail.root@webmailbox300.eircom.net> I am dissapointed with the way in which my questions have been recieved here. It seems like only experts are welcome. How is anybody supposed to learn. There was once a day when you all were beginning too.I have heard so much about the linux community but im not experiencing that at all. So after almost unsubscribing from this mailing list Im going to give it another chance. Heres my question: I have set up Nagios 3 monitoring some machines and their services. I am now trying to set up email notifications. I have installed the following on the linux box: eSMTP- run procmail I can send emails with the following line: echo "test" | /usr/bin/esmtp - C ~/esmtprc me at outsideemailaddress - f me at internalemailaddress This sends me an email from our mail server. However when i try: mailx -s tacos myemail at email.com this just hangs. The commands.cfg files contains: # 'notify-host-by-email' command definition define command{ command_name notify-host-by-email command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotificatio$... | /usr/bin/mailx -s "** $NOTIFICATIONTYPE$ Host... } # 'notify-service-by-email' command definition define command{ command_name notify-service-by-email command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotificatio$... | /usr/bin/mailx -s "** $NOTIFICATIONTYPE$ Host } Can i make modifications to these commands to use esmtp and not mailx or any suggestions to getting mailx working with eSMTP. Also how can you force nagios to send email notifications for testing. Thanks for any advice ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From alan.mckay at gmail.com Thu Nov 13 12:12:57 2008 From: alan.mckay at gmail.com (Alan McKay) Date: Thu, 13 Nov 2008 06:12:57 -0500 Subject: check_disk and autofs In-Reply-To: <491BE845.9060903@op5.se> References: <844129e80811121124s9594dfra37e5f5ffd9a7983@mail.gmail.com> <844129e80811121226t341fd7c2n207d4377103c015a@mail.gmail.com> <844129e80811121239v7db66546ne7de3879b4ebf128@mail.gmail.com> <97057310-C4B0-4D7C-8BA8-6EBC51BE4C6C@ena.com> <844129e80811121306j5dd80a21x3c2bcd11830c192b@mail.gmail.com> <7898CFF4-143E-4FE0-B10B-D94EE30563CA@ena.com> <844129e80811121357h30265584tb1202e6235ff9c26@mail.gmail.com> <60CA0C45-F100-4AB5-A127-EA791E88735B@ena.com> <844129e80811121428p2108aeacy9cfab0179a3d19cf@mail.gmail.com> <491BE845.9060903@op5.se> Message-ID: <844129e80811130312t6d6e1293s2d583d24f4170f54@mail.gmail.com> On Thu, Nov 13, 2008 at 3:41 AM, Andreas Ericsson wrote: > The problem is that it isn't needed when check_disk does its check, > as it just parses the table of currently mounted partitions. If the Aha! That's what I'm missing! OK, this would be the problem then. OK, I'll write a wrapper to take care of it - should be easy enough to do. Tusen tak, Andreas! -- "I destroy my enemies when I make them my friends" - Abraham Lincoln ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From richard at newnet.co.uk Thu Nov 13 12:19:35 2008 From: richard at newnet.co.uk (Richard Savage) Date: Thu, 13 Nov 2008 11:19:35 +0000 Subject: Email Notifications In-Reply-To: <30764511.52621226574735422.JavaMail.root@webmailbox300.eircom.net> References: <30764511.52621226574735422.JavaMail.root@webmailbox300.eircom.net> Message-ID: <491C0D47.308@newnet.co.uk> Yes Just change the email commands so they look something like this: command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotificatio$... | /usr/bin/esmtp - C ~/esmtprc me at outsideemailaddress - f me at internalemailaddress -s "** $NOTIFICATIONTYPE$ Host... All this command is doing is printing out the relevant data and pipeing it to the esmtp program. I have left the -s in at the end, but not sure if esmtp uses this as an option. use man esmtp to look at the manual. The way i tested notofications, was to take a host you are monitring and add a temporay firewall rule on that box. Nagios will then see it as down and should send a notification. Hope this helps Rich kellyjackie at eircom.net wrote: > > I am dissapointed with the way in which my questions have been recieved here. It seems like only experts are welcome. How is anybody supposed to learn. There was once a day when you all were beginning too.I have heard so much about the linux community but im not experiencing that at all. > > So after almost unsubscribing from this mailing list Im going to give it another chance. > Heres my question: > > I have set up Nagios 3 monitoring some machines and their services. I am now trying to set up email notifications. > I have installed the following on the linux box: > eSMTP- run > procmail > I can send emails with the following line: > echo "test" | /usr/bin/esmtp - C ~/esmtprc me at outsideemailaddress - f me at internalemailaddress > This sends me an email from our mail server. However when i try: > mailx -s tacos myemail at email.com > this just hangs. > > The commands.cfg files contains: > # 'notify-host-by-email' command definition > define command{ > command_name notify-host-by-email > command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotificatio$... | /usr/bin/mailx -s "** $NOTIFICATIONTYPE$ Host... > } > > # 'notify-service-by-email' command definition > define command{ > command_name notify-service-by-email > command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotificatio$... | /usr/bin/mailx -s "** $NOTIFICATIONTYPE$ Host > } > > > Can i make modifications to these commands to use esmtp and not mailx or any suggestions to getting mailx working with eSMTP. > Also how can you force nagios to send email notifications for testing. > > Thanks for any advice > > > ------------------------------------------------------------------------- > 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=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From hars at bik-gmbh.de Thu Nov 13 12:48:39 2008 From: hars at bik-gmbh.de (Florian Hars) Date: Thu, 13 Nov 2008 12:48:39 +0100 Subject: 3.0.5 still crashes Message-ID: <491C1417.6000406@bik-gmbh.de> I've mentioned this several times before (but nobody seems to be processing the nagios-devel moderation queue): http://sourceforge.net/mailarchive/message.php?msg_id=48E51D7F.6010202%40bik-gmbh.de - Florian ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From kenneho.ndu at gmail.com Thu Nov 13 12:59:42 2008 From: kenneho.ndu at gmail.com (Kenneth Holter) Date: Thu, 13 Nov 2008 12:59:42 +0100 Subject: Limiting mail notification for clock drift In-Reply-To: References: <3A748B54-3E72-4693-8596-229A2412DB83@ena.com> Message-ID: Thank you for you patience. As you can see I'm not at all very experienced with Nagios (just recently set it up). :) I've reset the notification_interval to 0. Got confused for a moment as most of the other services are set to high numbers such as 1440. But you're right - 0 is what I need. I've extracted the information you asked for from objects.cache, but before take up space with that info let me show you what I found... I examined the log file, and found that this: - [root at server2 archives]# grep -i server1 nagios-11-12-2008-00.log |grep -i ntp|grep -i notification - [1226375094] SERVICE NOTIFICATION: nagios;server1;NTP 1.2.3.4;CRITICAL;notify-service-by-email;NTP CRITICAL: Offset -419.5424475 secs - [1226379294] SERVICE NOTIFICATION: nagios;server1;NTP 1.2.3.4;OK;notify-service-by-email;NTP OK: Offset 0.1932080023 secs - [1226381814] SERVICE NOTIFICATION: nagios;server1;NTP 1.2.3.4;WARNING;notify-service-by-email;NTP WARNING: Offset 0.5295080024 secs - [1226382714] SERVICE NOTIFICATION: nagios;server1;NTP 1.2.3.4;OK;notify-service-by-email;NTP OK: Offset 0.06872100243 secs - [1226387933] SERVICE NOTIFICATION: nagios;server1;NTP 1.2.3.4;WARNING;notify-service-by-email;NTP WARNING: Offset -0.8496964976 secs - [1226391833] SERVICE NOTIFICATION: nagios;server1;NTP 1.2.3.4;CRITICAL;notify-service-by-email;NTP CRITICAL: Offset -6.277684498 secs - [1226394233] SERVICE NOTIFICATION: nagios;server1;NTP 1.2.3.4;WARNING;notify-service-by-email;NTP WARNING: Offset -2.576738498 secs - [1226394533] SERVICE NOTIFICATION: nagios;server1;NTP 1.2.3.4;CRITICAL;notify-service-by-email;NTP CRITICAL: Offset -7.470661498 secs - [1226397533] SERVICE NOTIFICATION: nagios;server1;NTP 1.2.3.4;WARNING;notify-service-by-email;NTP WARNING: Offset - I does indeed seem like the notifications are sent out just like I was aiming at. But because there was so many notifications and my mailbox is a mess I didn't notice this then. So to me it seems like there is a lot of flapping going on, and I'll read up on the subject and see what I come up with. Thanks for the help. I've learned a lot more about Nagios. On 11/12/08, Marc Powell wrote: > > > On Nov 12, 2008, at 9:03 AM, Kenneth Holter wrote: > > > I think I found one of the causes for the excessive notifacations - > > the notification_interval was set to 0. For almost all our services > > we have a high number (such as 1440), but this current value of zero > > must have made it's way into the code somehow. > > It should be left at 0 to get the behavior you're expecting. With > notification_interval 0, a notification for a {WARNING | CRITICAL | OK/ > RECOVERY} state will only be sent once per problem. That's what you > want. When set at 1440, you'll receive repeat notifications every 24 > hours until recovery. > > http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#service > > "notification_interval: This directive is used to define the number > of "time units" to wait before re-notifying a contact that this > service is still in a non-OK state. Unless you've changed the > interval_length directive from the default value of 60, this number > will mean minutes. If you set this value to 0, Nagios will not re- > notify contacts about problems for this service - only one problem > notification will be sent out." > > > This is my current definition: > > define service { > > use generic-service > > service_description Current load for virtual > > servers > > servicegroups performance > > hostgroups virtual-servers > > is_volatile 0 > > check_period 24x7 > > max_check_attempts 3 > > normal_check_interval 5 > > retry_check_interval 1 > > notification_interval 0 > > notification_period 24x7 > > check_command check_remote_load!/home/ > > nagios/.ssh/id_rsa!nagios!13.0,8.0,3.0!15.0,10.0,5.0 > > } > > This isn't the entire service definition (no contacts specified, no > notification_options, what's in the template?, etc). That's why I > suggested getting that (and more) from objects.cache. You might also > want to include the log entries for the service and notifications to > exemplify the problem. > > > Setting this attribute to a higher value should make me get a lot > > less notifications, but I will still get more or less duplicate > > notifications. Help on avoiding this will be appreciated. > > You just made it worse by saying you _should_ get repeat notifications > once a day at least. ;) > > > > > Regarding your specific questions: I think the service definition > > above answers most of them. > > Not really, it's missing the key bits of information about who gets > notified for what, when and how. > > > We don't run multiple Nagios daemons on the same machine. > > I'm sure you don't intentionally but it can happen accidentally and > cause strange issues. Actively make sure that you don't have multiple > nagios daemons running right now. > > > I didn't find anything unusual in objects.cache. > > This was a request so that we could see what was there and help you > with your problem. What may not be unusual to you may be plainly > unusual to us, otherwise you wouldn't be asking for help. To make any > progress on this issue, you should -- > > - Verify you do not have multiple nagios daemons running right now. > Stop nagios, use ps to see if any remain, kill them and restart > nagios. Let us know if you had anything you needed to kill. > > If you didn't have multiple instances or you did and the problem > continues after doing the above, > > - Gather the following information from objects.cache > - The definition for the service experiencing this problem > - The definition for the host running the service experiencing this > problem > - The definition for the contact experiencing this problem > - The definition for that contact's notification command > - Gather the following information from nagios.log > - entries related to the service experiencing the problem when it > initially goes down and subsequent checks during that outage > - entries related to notifications for the service during this time. > > -- > Marc > > > ------------------------------------------------------------------------- > 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=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ae at op5.se Thu Nov 13 13:28:24 2008 From: ae at op5.se (Andreas Ericsson) Date: Thu, 13 Nov 2008 13:28:24 +0100 Subject: Email Notifications In-Reply-To: <30764511.52621226574735422.JavaMail.root@webmailbox300.eircom.net> References: <30764511.52621226574735422.JavaMail.root@webmailbox300.eircom.net> Message-ID: <491C1D68.9080307@op5.se> kellyjackie at eircom.net wrote: > > > I am dissapointed with the way in which my questions have been > recieved here. It seems like only experts are welcome. How is anybody > supposed to learn. There was once a day when you all were beginning > too.I have heard so much about the linux community but im not > experiencing that at all. > Basically, your less-than-overenthusiastic welcome has more to do with how you asked your questions than us. You're unfortunately at a level far below that which I would expect from anyone trying to compile and configure something like Nagios, so the remaining options are either to hold your hand for several weeks while you stumble on hurdles that noone else thinks of, because they're totally obvious to people with a bit of know-how (not a fun scenario), or I can direct you to some professional help, where you can ask as many questions as you want without wasting anyones spare time. > So after almost unsubscribing from this mailing list Im going to give > it another chance. Heres my question: > > I have set up Nagios 3 monitoring some machines and their services. I > am now trying to set up email notifications. I have installed the > following on the linux box: eSMTP- run procmail I can send emails > with the following line: echo "test" | /usr/bin/esmtp - C ~/esmtprc > me at outsideemailaddress - f me at internalemailaddress This sends me an > email from our mail server. However when i try: mailx -s tacos > myemail at email.com this just hangs. > > The commands.cfg files contains: # 'notify-host-by-email' command > definition define command{ command_name notify-host-by-email > command_line /usr/bin/printf "%b" "***** Nagios > *****\n\nNotificatio$... | /usr/bin/mailx -s "** $NOTIFICATIONTYPE$ > Host... } > > # 'notify-service-by-email' command definition define command{ > command_name notify-service-by-email command_line > /usr/bin/printf "%b" "***** Nagios *****\n\nNotificatio$... | > /usr/bin/mailx -s "** $NOTIFICATIONTYPE$ Host } > That's not what you posted earlier. This might work, assuming you've configured eSMTP properly. I'm not familiar with eSMTP, so I can't help you there. > > Can i make modifications to these commands to use esmtp and not mailx > or any suggestions to getting mailx working with eSMTP. Yes you can. You'll have to browse the manuals for eSMTP to understand how you can make that happen though (that's something the community won't ever do for you). > Also how can > you force nagios to send email notifications for testing. > Easy way; Configure a service that you know will fail. Disable state retention and restart Nagios when you want to test again. Hard way; Submit a passive check result for a service, flipping its state so that you *should* get a notification each time. You'll have to read the Nagios manual to figure out how the various notification options, timeperiods and other configuration options work together to send the actual notifications though. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ae at op5.se Thu Nov 13 13:31:42 2008 From: ae at op5.se (Andreas Ericsson) Date: Thu, 13 Nov 2008 13:31:42 +0100 Subject: 3.0.5 still crashes In-Reply-To: <491C1417.6000406@bik-gmbh.de> References: <491C1417.6000406@bik-gmbh.de> Message-ID: <491C1E2E.6000606@op5.se> Florian Hars wrote: > I've mentioned this several times before (but nobody seems to be processing the > nagios-devel moderation queue): > > http://sourceforge.net/mailarchive/message.php?msg_id=48E51D7F.6010202%40bik-gmbh.de > True. There's so much spam it in that it's not wort the trouble. Subscribing to nagios-devel would have worked though. Thanks for bringing this to my attention. I'll look it over next week. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From livio.zanol.puppim at gmail.com Thu Nov 13 15:48:42 2008 From: livio.zanol.puppim at gmail.com (Livio Zanol Puppim) Date: Thu, 13 Nov 2008 12:48:42 -0200 Subject: Citrix checks In-Reply-To: References: Message-ID: The CITRIX enterprise MIB is not such a great thing, but shows for example, each session currently active on the server and related informations. The only REALLY interesting OID that I've found was the 'number of active sessions', but you can try to monitor the Citrix related process via the HOST MIB, including the IMA service, the XML service, the printer services, etc... Ps.: Citrix Metaframe Presentation Server 4 2008/11/12 Edgar Matzinger > Fellow nagios users, > > I wonder how you would check several Citrix services. Like SMA, IMA, > Print Manager, WWW Publishing, licenses, etc. with nagios/nrpe? Port > checks? Are there any SNMP checks possible? I've seen some Citrix checks > on nagiosexchange.org, but they handle the checks mentioned above.... > Or are these services automatically by Microsoft Services? As you can > see, I'm neither a Microsoft admin nor citrix admin. > > Thanks, regards, Edgar. > -- > |\ /| : : Addr: Valid Eindhoven B.V. > / | \/ | : Edgar R. Matzinger : t.a.v. E.R. Matzinger > / | | : : Paradijslaan 36 > \ /| /\| : : 5611 KN Eindhoven > \/ / \ : Valid Eindhoven BV : > \ /\ / : : > \/ |\/ : : > | : : > Disclaimer: Any comments, opinions made are mine, etc ... > > ------------------------------------------------------------------------- > 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=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > -- []'s L?vio Zanol Puppim -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From paul.weaver at bbc.co.uk Thu Nov 13 15:57:12 2008 From: paul.weaver at bbc.co.uk (Paul Weaver) Date: Thu, 13 Nov 2008 14:57:12 -0000 Subject: Nagios for client management? References: <491B2A00.5060908@hp.com> Message-ID: > Nagios seems to be a good client monitor system. I was wondering if > anyone also uses it as a client management system? By management, I > mean running update scripts and other software on various Linux > clients. The closest thing we do is monitor patches on machines. For debian machines, we use a modified check-apt perl script (originally from http://www.logix.cz/michal/devel/nagios, modified to do things like run apt-get update first) For windows machines, we snmp-poll the server and compare the listed KB patches against an internal list For solaris machines we're looking at check_solaris_pca -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From hpsekhon at googlemail.com Thu Nov 13 16:31:13 2008 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Thu, 13 Nov 2008 15:31:13 +0000 Subject: Nagios for client management? In-Reply-To: References: <491B2A00.5060908@hp.com> Message-ID: <491C4841.8070207@googlemail.com> Paul Weaver wrote: > > > Nagios seems to be a good client monitor system. I was wondering if > > anyone also uses it as a client management system? By management, I > > mean running update scripts and other software on various Linux > > clients. > > The closest thing we do is monitor patches on machines. > > For debian machines, we use a modified check-apt perl script > (originally from http://www.logix.cz/michal/devel/nagios, modified to > do things like run apt-get update first) > For windows machines, we snmp-poll the server and compare the listed > KB patches against an internal list > For solaris machines we're looking at check_solaris_pca > Add to that list: Redhat / CentOS - check_yum Gentoo - check_gentoo_portage For patch monitoring on those Linux distros. I wrote both and you can get them from NagiosExchange.org. -h -- Hari Sekhon Always open to interesting opportunities http://www.linkedin.com/in/harisekhon ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From sluke at truepathtechnologies.com Thu Nov 13 19:57:59 2008 From: sluke at truepathtechnologies.com (Stephen Luke) Date: Thu, 13 Nov 2008 13:57:59 -0500 Subject: Notifications based on hostname? Message-ID: <9ed7ce5a0811131057u4fc01a78hb3a51d99db644527@mail.gmail.com> Is there an easy way to segment notifications based on host name? Instead of breaking our host groups into different definitions we would like (love) to be able to say: Jane Doe will get only NYC host service notifications and Admins * or all. Is this possible? Something new for 3.x maybe? -- Stephen P. Luke Sales Engineer TruePath Technologies Inc. Phone: 585-672-5443 Email: sluke at truepathtechnologies.com Web: http://www.truepathtechnologies.com -- Stephen P. Luke Sales Engineer TruePath Technologies Inc. Phone: 585-672-5443 Email: sluke at truepathtechnologies.com Web: http://www.truepathtechnologies.com ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From sdix at message.nmc.edu Thu Nov 13 21:56:17 2008 From: sdix at message.nmc.edu (Steve Dix) Date: Thu, 13 Nov 2008 15:56:17 -0500 Subject: browser reprompts for authentication Message-ID: <491C4E20.4BD8.0056.0@message.nmc.edu> I can log into Nagios and sit at the Tactical Monitoring Overview Screen just fine. But if I enter the Host Status Details for All Host Group screen I am prompted for authentication again and every time the web page refreshes. This does not seem to happen to everyone just a couple of users. Thanks for you time. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From fernando.lunardelli at opmon.org Thu Nov 13 21:47:18 2008 From: fernando.lunardelli at opmon.org (Fernando Lunardelli) Date: Thu, 13 Nov 2008 18:47:18 -0200 Subject: OpCp 1.0.0 Announce. Capacity planning for Nagios. Message-ID: <491C9256.5020307@opmon.org> We glad to announce a new project called OpCp. OpCp is a capacity planning for Nagios that generates performance graphics like CPU Load, Network Load, Processes and any other metric from collected performance data storage in MySQL (opdb). A important fact is that, OpCp, does not uses rrdtool, (at moment, we use jpGraph), so the graphics are not summarized. See some screenshots: http://www.opmon.org/project/opcp/screenshots Project page: http://www.opmon.org/project/opcp ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From hvdkooij at vanderkooij.org Thu Nov 13 23:30:29 2008 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Thu, 13 Nov 2008 23:30:29 +0100 Subject: Email Notifications In-Reply-To: <30764511.52621226574735422.JavaMail.root@webmailbox300.eircom.net> References: <30764511.52621226574735422.JavaMail.root@webmailbox300.eircom.net> Message-ID: <491CAA85.7080400@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 kellyjackie at eircom.net wrote: > I am dissapointed with the way in which my questions have been recieved here. It seems like only experts are welcome. How is anybody supposed to learn. There was once a day when you all were beginning too.I have heard so much about the linux community but im not experiencing that at all. I think you may have misunderstood things. But sometimes there are simple reasons for getting a response that is perceived as unfriendly. A few common issues I have seen that will get a less favourable or even a harsh response sometimes: - Clearly showing that someone has not read the manual. - Expecting a mailinglist to respond like they got some sort of SLA and are entitled to an swift answer. (I doubt it anyone here gets payed for reading the mailinglist, left alone writing up answers.) - Dropping a message with nothing to go on. Sometimes not even an error message. People posting questions can help by realizing that beyond what is put in the message we do not know a single bit about your setup. So unless they tell explain in sufficient detail it is just another inpossible puzzle. Hugo. - -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc A: Yes. >Q: Are you sure? >>A: Because it reverses the logical flow of conversation. >>>Q: Why is top posting frowned upon? Bored? Click on http://spamornot.org/ and rate those images. Nid wyf yn y swyddfa ar hyn o bryd. Anfonwch unrhyw waith i'w gyfieithu. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org iD8DBQFJHKqDBvzDRVjxmYERAtjpAJsFrrFAhuIFoy+Ta4HoTR+898iFCQCdHsUg hIyqDIeNtXtlTTo66k6peLA= =1VmJ -----END PGP SIGNATURE----- ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From sschwartz at gracenote.com Fri Nov 14 00:17:33 2008 From: sschwartz at gracenote.com (Steven Schwartz) Date: Thu, 13 Nov 2008 15:17:33 -0800 Subject: Oddities after restart Message-ID: Due to a site-wide power failure, I recently had to restart a Nagios v2.5 server, with 150+ hosts and 300+ services. After restart, only some of the machines were checked, and upon going back to do forced service checks, I discovered a bunch of machines had "next check times" that were in the past. Has anyone else encountered this type of problem after bringing Nagios up from a hard shutdown? Steven Schwartz CONFIDENTIALITY NOTICE: Proprietary/Confidential Information belonging to Gracenote, Inc. may be contained in this message. If you are not a recipient indicated or intended in this message (or responsible for delivery of this message to such person), or you think for any reason that this message may have been addressed to you in error, you may not use or copy or deliver this message (and all attachments) to anyone else. In such case, you should destroy this message (and all attached documents) and are asked to notify the sender by reply email. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From serjosh at gmail.com Fri Nov 14 04:35:40 2008 From: serjosh at gmail.com (Josh) Date: Thu, 13 Nov 2008 22:35:40 -0500 Subject: Installing nrpe Message-ID: I'm trying to install the nagios plugin so I can use nrpe and im getting errors with some of the make commands. Ive already done ./configure make make install which run without errors, then If I execute any of the following... make install-plugin make install-daemon make install-daemon-config make install-xinetd I get the error [root at host nagios-plugins-1.4.13]# make install-plugin make: *** No rule to make target `install-plugin'. Stop. What am I doing wrong? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Fri Nov 14 07:17:26 2008 From: marc at ena.com (Marc Powell) Date: Fri, 14 Nov 2008 00:17:26 -0600 Subject: Installing nrpe In-Reply-To: References: Message-ID: <9923C832-6CB6-4F1B-8BD1-AD48503CAAC9@ena.com> On Nov 13, 2008, at 9:35 PM, Josh wrote: > I'm trying to install the nagios plugin so I can use nrpe and im > getting errors with some of the make commands. Ive already done > ./configure > make > make install > > which run without errors, then If I execute any of the following... > > make install-plugin > make install-daemon > make install-daemon-config > make install-xinetd > > > I get the error > > [root at host nagios-plugins-1.4.13]# make install-plugin > make: *** No rule to make target `install-plugin'. Stop. > > > > What am I doing wrong? Assuming those are valid make targets for NRPE, you should be in the compiled NRPE source directory when using them, not the nagios-plugins directory. NRPE is distributed as a different source package. -- Marc ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From adesperateuser at googlemail.com Fri Nov 14 07:26:59 2008 From: adesperateuser at googlemail.com (Marcus) Date: Fri, 14 Nov 2008 07:26:59 +0100 Subject: Installing nrpe In-Reply-To: References: Message-ID: <491D1A33.9060701@googlemail.com> Josh schrieb: > I'm trying to install the nagios plugin so I can use nrpe and im getting > errors with some of the make commands. Ive already done > ./configure > make > make install > > which run without errors, then If I execute any of the following... To that point, you have successfully installed the plugins. > > make install-plugin > make install-daemon > make install-daemon-config > make install-xinetd This is for nrpe, i guess. > I get the error > > [root at host nagios-plugins-1.4.13]# make install-plugin > make: *** No rule to make target `install-plugin'. Stop. Thats because you're still in the plugins folder, but trying to issue make commands from the nrpe makefile. > What am I doing wrong? Either change to the nrpe-source-folder, or just leave it be after "make install". (If you really just wanna have the plugins :-) ) Cheers, Marcus ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ae at op5.se Fri Nov 14 10:30:47 2008 From: ae at op5.se (Andreas Ericsson) Date: Fri, 14 Nov 2008 10:30:47 +0100 Subject: Oddities after restart In-Reply-To: References: Message-ID: <491D4547.2010207@op5.se> Steven Schwartz wrote: > Due to a site-wide power failure, I recently had to restart a Nagios > v2.5 server, with 150+ hosts and 300+ services. After restart, only > some of the machines were checked, and upon going back to do forced > service checks, I discovered a bunch of machines had "next check times" > that were in the past. Has anyone else encountered this type of problem > after bringing Nagios up from a hard shutdown? > You almost certainly have multiple nagios instances running. Try /etc/init.d/nagios stop; sleep 5; killall -9 nagios; /etc/init.d/nagios start -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Markus.Almroth at teliasonera.com Fri Nov 14 13:50:57 2008 From: Markus.Almroth at teliasonera.com (Markus.Almroth at teliasonera.com) Date: Fri, 14 Nov 2008 13:50:57 +0100 Subject: Nagios retention problem. In-Reply-To: <9DFC8BEC38DA324391F4FC69634EE2B50110B21B@SEHAN014MB.tcad.telia.se> References: <9DFC8BEC38DA324391F4FC69634EE2B50110B21B@SEHAN014MB.tcad.telia.se> Message-ID: <9DFC8BEC38DA324391F4FC69634EE2B501237A52@SEHAN014MB.tcad.telia.se> Does anybody know if Nagios _always_ write the retention file when reloading/restarting? /Markus Almroth -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ae at op5.se Fri Nov 14 14:11:30 2008 From: ae at op5.se (Andreas Ericsson) Date: Fri, 14 Nov 2008 14:11:30 +0100 Subject: Nagios retention problem. In-Reply-To: <9DFC8BEC38DA324391F4FC69634EE2B501237A52@SEHAN014MB.tcad.telia.se> References: <9DFC8BEC38DA324391F4FC69634EE2B50110B21B@SEHAN014MB.tcad.telia.se> <9DFC8BEC38DA324391F4FC69634EE2B501237A52@SEHAN014MB.tcad.telia.se> Message-ID: <491D7902.4000307@op5.se> Markus.Almroth at teliasonera.com wrote: > Does anybody know if Nagios _always_ write the retention file when > reloading/restarting? > It writes the retention file with rather frequent intervals, such as when it has done "enough" checks (where "enough" is determined sort of intelligently on a per-installation basis). Didn't the command-file trick work for you? -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From mark.novak at eds.com Fri Nov 14 17:40:19 2008 From: mark.novak at eds.com (Novak, Mark) Date: Fri, 14 Nov 2008 10:40:19 -0600 Subject: Service Return Code 255 Problem In-Reply-To: <491D7902.4000307@op5.se> References: <9DFC8BEC38DA324391F4FC69634EE2B50110B21B@SEHAN014MB.tcad.telia.se><9DFC8BEC38DA324391F4FC69634EE2B501237A52@SEHAN014MB.tcad.telia.se> <491D7902.4000307@op5.se> Message-ID: <906530D5DDCFB34DBF9A6697071FDB3403B51A3A@usplm215.amer.corp.eds.com> Hello Everyone, I have searched the archives and also googled for my scenario, but have not found any answers that relate. I am running Nagios 3.0.5 stable to monitor a few servers and services. For one particular SAP server, I am using the check_sap_ccms service to check some SAP services. Seemingly randomly yesterday, two of the SAP checks (FrontEndNetTime and DialogResponseTime) have started showing a "Return Code of 255 is out of bounds" error in the Nagios log and also on the web front end. Strangely, those are just two of about 10 different checks that all use the same "check_sap_ccms" check with the same argument for hostname and only these two are having errors. Even stranger, I can execute those two checks via command line and they work fine. The error is only in Nagios. Any advice on where to look would be much appreciated! Thanks, Mark Novak EDS, an HP Company SAP Practice Bestshore/GC Architect Delivery Lead Cell: 214-725-5295 Email: mark.novak at eds.com ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Fri Nov 14 18:16:03 2008 From: marc at ena.com (Marc Powell) Date: Fri, 14 Nov 2008 11:16:03 -0600 Subject: Service Return Code 255 Problem In-Reply-To: <906530D5DDCFB34DBF9A6697071FDB3403B51A3A@usplm215.amer.corp.eds.com> References: <9DFC8BEC38DA324391F4FC69634EE2B50110B21B@SEHAN014MB.tcad.telia.se><9DFC8BEC38DA324391F4FC69634EE2B501237A52@SEHAN014MB.tcad.telia.se> <491D7902.4000307@op5.se> <906530D5DDCFB34DBF9A6697071FDB3403B51A3A@usplm215.amer.corp.eds.com> Message-ID: <115C5FB3-AB86-4B92-AFA3-5C3EC57864CD@ena.com> On Nov 14, 2008, at 10:40 AM, Novak, Mark wrote: > on the web front end. Strangely, those are just two of about 10 > different checks that all use the same "check_sap_ccms" check with the > same argument for hostname and only these two are having errors. Even > stranger, I can execute those two checks via command line and they > work > fine. The error is only in Nagios. Based on this, you wouldn't see the return code that nagios is seeing so you don't really know if it's right or not. > Any advice on where to look would be much appreciated! The plugin, when quitting, has an exit code of 255 which nagios doesn't understand. Generally speaking, I would try - - running the plugin exactly as defined as the nagios user. After it exits, determine the exit code by immediately running 'echo $?'. Make sure it's 0, 1, 2 or 3. - if the plugin is a script and it calls other programs internally, make sure that you can run them as the nagios user, exactly as they are called, and that the exit code is 0 (or not 255). - peruse the source code of the plugin and see if it exits with 255 anywhere and under what conditions. - provide the location where you downloaded the plugin so that others who don't have it can take a look and help further. -- Marc ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From fernando.rocha at opservices.com.br Fri Nov 14 18:46:28 2008 From: fernando.rocha at opservices.com.br (Fernando Rocha) Date: Fri, 14 Nov 2008 15:46:28 -0200 (BRST) Subject: Service Return Code 255 Problem In-Reply-To: <9426098.5731226684470946.JavaMail.root@mail.opservices.com.br> References: <9426098.5731226684470946.JavaMail.root@mail.opservices.com.br> Message-ID: <3882589.5811226684788198.JavaMail.root@mail.opservices.com.br> Hi, The Nagios plugins should return codes based on the POSIX. Probably your plugin is returning a code out of this range. Take a look: http://nagiosplug.sourceforge.net/developer-guidelines.html#AEN78 Fernando Rocha OpServices Tecnologia da Informa??o ----- Original Message ----- From: "Mark Novak" To: nagios-users at lists.sourceforge.net Sent: Friday, November 14, 2008 2:40:19 PM (GMT-0300) Auto-Detected Subject: [Nagios-users] Service Return Code 255 Problem Hello Everyone, I have searched the archives and also googled for my scenario, but have not found any answers that relate. I am running Nagios 3.0.5 stable to monitor a few servers and services. For one particular SAP server, I am using the check_sap_ccms service to check some SAP services. Seemingly randomly yesterday, two of the SAP checks (FrontEndNetTime and DialogResponseTime) have started showing a "Return Code of 255 is out of bounds" error in the Nagios log and also on the web front end. Strangely, those are just two of about 10 different checks that all use the same "check_sap_ccms" check with the same argument for hostname and only these two are having errors. Even stranger, I can execute those two checks via command line and they work fine. The error is only in Nagios. Any advice on where to look would be much appreciated! Thanks, Mark Novak EDS, an HP Company SAP Practice Bestshore/GC Architect Delivery Lead Cell: 214-725-5295 Email: mark.novak at eds.com ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From estevaosoares at gmail.com Fri Nov 14 18:53:11 2008 From: estevaosoares at gmail.com (Estevao Soares) Date: Fri, 14 Nov 2008 15:53:11 -0200 Subject: How do I monitor a specific log message? Message-ID: Hi there folks, I'm having a hard time trying to figure out how to solve this. I have nagio 3.01 running ok on a debian etch install. I have a Windows Server 2k who runs an important software for my company and it has a routine to run a .bat file an log the progress on a .txt file on my windows machine (Using Nsclient++ and check_nt so far). On this .txt file I need to monitor this message 10/05/2006 02:40:03 N?o existe header.000335 [day] [hour] [info] I need nagios to monitor this log file and turns service critical as soon as it finds this specific message. How on earth can I do this? I'm very clueless about this on... Some good soul here could point me the way? Thanks a lot! -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From guilherme.silva at constat.com.br Fri Nov 14 19:20:38 2008 From: guilherme.silva at constat.com.br (Guilherme Drago) Date: Fri, 14 Nov 2008 16:20:38 -0200 Subject: RES: How do I monitor a specific log message? In-Reply-To: References: Message-ID: <72FA217D7A8D42248DC7C3CAE3AD7C97@constat.local> Hi Estavam, did you tried mount the directory of the log archive via SAMBA and read then whit cat and grep? ConStat ::: Comprometimento Gerando resultados desde 1991 Guilherme Drago - Vistor (51) 30256681 www.constat.com.br / www.qualitor.com.br D?vidas, sugest?es, reclama??es: qualidade at constat.com.br ::: Preserve o ambiente. Imprima este email somente se for necess?rio ::: _____ De: Estevao Soares [mailto:estevaosoares at gmail.com] Enviada em: sexta-feira, 14 de novembro de 2008 15:53 Para: nagios-users at lists.sourceforge.net Assunto: [Nagios-users] How do I monitor a specific log message? Hi there folks, I'm having a hard time trying to figure out how to solve this. I have nagio 3.01 running ok on a debian etch install. I have a Windows Server 2k who runs an important software for my company and it has a routine to run a .bat file an log the progress on a .txt file on my windows machine (Using Nsclient++ and check_nt so far). On this .txt file I need to monitor this message 10/05/2006 02:40:03 N?o existe header.000335 [day] [hour] [info] I need nagios to monitor this log file and turns service critical as soon as it finds this specific message. How on earth can I do this? I'm very clueless about this on... Some good soul here could point me the way? Thanks a lot! -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From estevaosoares at gmail.com Fri Nov 14 19:28:10 2008 From: estevaosoares at gmail.com (Estevao Soares) Date: Fri, 14 Nov 2008 16:28:10 -0200 Subject: How do I monitor a specific log message? In-Reply-To: <72FA217D7A8D42248DC7C3CAE3AD7C97@constat.local> References: <72FA217D7A8D42248DC7C3CAE3AD7C97@constat.local> Message-ID: No, That didn't occur to me till now. Ok, Lets suppose I mount my path on samba and cat the result with cat and grep. How do I put this onto nagios? And there is a problem here... This should return and OK or NOT OK for example. I'm still clueless about how to do that. Thanks for you info anyway. 2008/11/14 Guilherme Drago > Hi Estavam, did you tried mount the directory of the log archive via > SAMBA and read then whit cat and grep? > > > > *ConStat ::: Comprometimento Gerando resultados desde 1991* > Guilherme Drago - Vistor > (51) 30256681 > www.constat.com.br / www.qualitor.com.br > D?vidas, sugest?es, reclama??es: qualidade at constat.com.br > > ::: Preserve o ambiente. Imprima este email somente se for necess?rio ::: > ------------------------------ > > *De:* Estevao Soares [mailto:estevaosoares at gmail.com] > *Enviada em:* sexta-feira, 14 de novembro de 2008 15:53 > *Para:* nagios-users at lists.sourceforge.net > *Assunto:* [Nagios-users] How do I monitor a specific log message? > > > > Hi there folks, > > I'm having a hard time trying to figure out how to solve this. > > I have nagio 3.01 running ok on a debian etch install. > > I have a Windows Server 2k who runs an important software for my company > and it has a routine to run a .bat file an log the progress on a .txt file > on my windows machine (Using Nsclient++ and check_nt so far). > > On this .txt file I need to monitor this message > > 10/05/2006 02:40:03 N?o existe header.000335 > > [day] [hour] [info] > > > I need nagios to monitor this log file and turns service critical as soon > as it finds this specific message. > > How on earth can I do this? > > I'm very clueless about this on... > > Some good soul here could point me the way? > > > Thanks a lot! > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From guilherme.silva at constat.com.br Fri Nov 14 19:35:11 2008 From: guilherme.silva at constat.com.br (Guilherme Drago) Date: Fri, 14 Nov 2008 16:35:11 -0200 Subject: RES: How do I monitor a specific log message? In-Reply-To: References: <72FA217D7A8D42248DC7C3CAE3AD7C97@constat.local> Message-ID: <3E19954E14AD4905992DAB4773A8D632@constat.local> You?ll put on your plugin the exit codes of nagios. ConStat ::: Comprometimento Gerando resultados desde 1991 Guilherme Drago - Vistor (51) 30256681 www.constat.com.br / www.qualitor.com.br D?vidas, sugest?es, reclama??es: qualidade at constat.com.br ::: Preserve o ambiente. Imprima este email somente se for necess?rio ::: _____ De: Estevao Soares [mailto:estevaosoares at gmail.com] Enviada em: sexta-feira, 14 de novembro de 2008 16:28 Para: Guilherme Drago Cc: nagios-users at lists.sourceforge.net Assunto: Re: [Nagios-users] How do I monitor a specific log message? No, That didn't occur to me till now. Ok, Lets suppose I mount my path on samba and cat the result with cat and grep. How do I put this onto nagios? And there is a problem here... This should return and OK or NOT OK for example. I'm still clueless about how to do that. Thanks for you info anyway. 2008/11/14 Guilherme Drago Hi Estavam, did you tried mount the directory of the log archive via SAMBA and read then whit cat and grep? ConStat ::: Comprometimento Gerando resultados desde 1991 Guilherme Drago - Vistor (51) 30256681 www.constat.com.br / www.qualitor.com.br D?vidas, sugest?es, reclama??es: qualidade at constat.com.br ::: Preserve o ambiente. Imprima este email somente se for necess?rio ::: _____ De: Estevao Soares [mailto:estevaosoares at gmail.com] Enviada em: sexta-feira, 14 de novembro de 2008 15:53 Para: nagios-users at lists.sourceforge.net Assunto: [Nagios-users] How do I monitor a specific log message? Hi there folks, I'm having a hard time trying to figure out how to solve this. I have nagio 3.01 running ok on a debian etch install. I have a Windows Server 2k who runs an important software for my company and it has a routine to run a .bat file an log the progress on a .txt file on my windows machine (Using Nsclient++ and check_nt so far). On this .txt file I need to monitor this message 10/05/2006 02:40:03 N?o existe header.000335 [day] [hour] [info] I need nagios to monitor this log file and turns service critical as soon as it finds this specific message. How on earth can I do this? I'm very clueless about this on... Some good soul here could point me the way? Thanks a lot! -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From matt at frozenatom.com Fri Nov 14 19:39:14 2008 From: matt at frozenatom.com (Matt Nelson) Date: Fri, 14 Nov 2008 11:39:14 -0700 Subject: snmp check for network interface errors Message-ID: <148f6bb30811141039q5528e567g61cab1595004f1ca@mail.gmail.com> First, is there an existing check script that will look at a network interface and check for errors or collisions? Some of the problems that I can see with writting one is if there are errors or collisions then it will be in an error state until it is reset to 0. I have ran into this in the past with some other monitors and have written out a file that is pulled in and then that previous value is compared with the current value. Any direction, or help would be appreciated. Matt. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jpratt at norwich.edu Fri Nov 14 19:40:09 2008 From: jpratt at norwich.edu (James Pratt) Date: Fri, 14 Nov 2008 13:40:09 -0500 Subject: How do I monitor a specific log message? In-Reply-To: References: <72FA217D7A8D42248DC7C3CAE3AD7C97@constat.local> Message-ID: <8147CCE3C4A8764DA9980125EE70E8234E9078@nuexchg.norwich.edu> From: Estevao Soares [mailto:estevaosoares at gmail.com] Sent: Friday, November 14, 2008 1:28 PM To: Guilherme Drago Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] How do I monitor a specific log message? No, That didn't occur to me till now. Ok, Lets suppose I mount my path on samba and cat the result with cat and grep. How do I put this onto nagios? And there is a problem here... This should return and OK or NOT OK for example. I'm still clueless about how to do that. Thanks for you info anyway. -- Hi - you can probably write a shell-script "wrapper" around your check_whatever plugin and make it return whatever you wish - This is an overly complex example, but should show you what I mean: http://www.zazzybob.com/bin/check_temps.sh.html For the official nagios plugin development stuff, see: http://nagiosplug.sourceforge.net/developer-guidelines.html Regards, Jamie ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Fri Nov 14 19:45:56 2008 From: marc at ena.com (Marc Powell) Date: Fri, 14 Nov 2008 12:45:56 -0600 Subject: How do I monitor a specific log message? In-Reply-To: References: <72FA217D7A8D42248DC7C3CAE3AD7C97@constat.local> Message-ID: <935AC661-5061-424B-A6B8-BAD6C1D0C57E@ena.com> On Nov 14, 2008, at 12:28 PM, Estevao Soares wrote: > No, That didn't occur to me till now. > > Ok, Lets suppose I mount my path on samba and cat the result with > cat and grep. How do I put this onto nagios? > > And there is a problem here... This should return and OK or NOT OK > for example. I'm still clueless about how to do that. If SMB mounting is acceptable to you, you should be able to use one of the check_log plugins to search for that string and act appropriately. -- Marc ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Fri Nov 14 19:49:21 2008 From: marc at ena.com (Marc Powell) Date: Fri, 14 Nov 2008 12:49:21 -0600 Subject: snmp check for network interface errors In-Reply-To: <148f6bb30811141039q5528e567g61cab1595004f1ca@mail.gmail.com> References: <148f6bb30811141039q5528e567g61cab1595004f1ca@mail.gmail.com> Message-ID: <52FF2F10-F7A2-44A2-9084-AEC2425DA557@ena.com> On Nov 14, 2008, at 12:39 PM, Matt Nelson wrote: > First, is there an existing check script that will look at a network > interface and check for errors or collisions? There are several at http://www.nagiosexchange.org. -- Marc ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From estevaosoares at gmail.com Fri Nov 14 19:56:45 2008 From: estevaosoares at gmail.com (Estevao Soares) Date: Fri, 14 Nov 2008 16:56:45 -0200 Subject: How do I monitor a specific log message? In-Reply-To: <935AC661-5061-424B-A6B8-BAD6C1D0C57E@ena.com> References: <72FA217D7A8D42248DC7C3CAE3AD7C97@constat.local> <935AC661-5061-424B-A6B8-BAD6C1D0C57E@ena.com> Message-ID: Thanks a lot. @James Pratt: Yeap, I'm kind a new to this and I'll take some time to analize your script, but this I'll be a valuable asset to me. @Marc Powell: I'll look deep into check_log doc to see what I can do then. Thanks! If anyone else has another solution, please, fell free to contribute I'm not done yet. 2008/11/14 Marc Powell > > On Nov 14, 2008, at 12:28 PM, Estevao Soares wrote: > > > No, That didn't occur to me till now. > > > > Ok, Lets suppose I mount my path on samba and cat the result with > > cat and grep. How do I put this onto nagios? > > > > And there is a problem here... This should return and OK or NOT OK > > for example. I'm still clueless about how to do that. > > If SMB mounting is acceptable to you, you should be able to use one of > the check_log plugins to search for that string and act appropriately. > > -- > Marc > > > ------------------------------------------------------------------------- > 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=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Gerhard.Lausser at consol.de Fri Nov 14 21:33:14 2008 From: Gerhard.Lausser at consol.de (Gerhard Lausser) Date: Fri, 14 Nov 2008 21:33:14 +0100 Subject: How do I monitor a specific log message? In-Reply-To: References: Message-ID: <1AEAC543032049CD87FF416CB7D958A7@int.consol.de> Hi Estevao, on this page http://www.consol.com/opensource/nagios/check-logfiles you will a lot of documentation and a download link for check_logfiles.exe. This plugin was written to search patterns in files. It will run on your Windows server, so you don't have to export a share with the logfile. Gerhard _____ Von: Estevao Soares [mailto:estevaosoares at gmail.com] Gesendet: Freitag, 14. November 2008 18:53 An: nagios-users at lists.sourceforge.net Betreff: [Nagios-users] How do I monitor a specific log message? Hi there folks, I'm having a hard time trying to figure out how to solve this. I have nagio 3.01 running ok on a debian etch install. I have a Windows Server 2k who runs an important software for my company and it has a routine to run a .bat file an log the progress on a .txt file on my windows machine (Using Nsclient++ and check_nt so far). On this .txt file I need to monitor this message 10/05/2006 02:40:03 N?o existe header.000335 [day] [hour] [info] I need nagios to monitor this log file and turns service critical as soon as it finds this specific message. How on earth can I do this? I'm very clueless about this on... Some good soul here could point me the way? Thanks a lot! -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From matt at frozenatom.com Fri Nov 14 22:47:56 2008 From: matt at frozenatom.com (Matt Nelson) Date: Fri, 14 Nov 2008 14:47:56 -0700 Subject: snmp check for network interface errors In-Reply-To: <52FF2F10-F7A2-44A2-9084-AEC2425DA557@ena.com> References: <148f6bb30811141039q5528e567g61cab1595004f1ca@mail.gmail.com> <52FF2F10-F7A2-44A2-9084-AEC2425DA557@ena.com> Message-ID: <148f6bb30811141347w9bbd52bj71bd18b38876a3ef@mail.gmail.com> Found one that works just like I was looking for. Thanks: http://www.nagiosexchange.org/cgi-bin/page.cgi?g=Detailed%2F1540.html;d=1 On Fri, Nov 14, 2008 at 11:49 AM, Marc Powell wrote: > > On Nov 14, 2008, at 12:39 PM, Matt Nelson wrote: > > > First, is there an existing check script that will look at a network > > interface and check for errors or collisions? > > There are several at http://www.nagiosexchange.org. > > -- > Marc > > > ------------------------------------------------------------------------- > 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=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From phatbuckett at gmail.com Sat Nov 15 02:22:59 2008 From: phatbuckett at gmail.com (Darren Spruell) Date: Fri, 14 Nov 2008 18:22:59 -0700 Subject: Service event handler script not activating Message-ID: <839aec700811141722j68b1ffc0o687f971b1ad8ae03@mail.gmail.com> I had success with the first service eventhandler we implemented and am now trying to duplicate it for a second service (with a slightly modified eventhandler script) and failing. The eventhandler that is failing is for the "Argus Daemon" service on host quagmire, and the failure is that although the logs show the event handler being called with expected arguments, the command executed from the eventhandler script (an SSH connection to the target host) is never observed. If we call the eventhandler script manually with the same expected arguments, it operates properly (SSH connection occurs and remote service is started). Running Nagios 2.10 (nagios-2.10-3.fc7) on Fedora 7 GNU/Linux. SELinux enabled but set to not enforce. # /etc/nagios/nagios.cfg log_event_handlers=1 event_handler_timeout=30 enable_event_handlers=1 # /etc/nagios/definitions.cfg (object configuration file) define service{ name generic-service ; The 'name' of this service template ... event_handler_enabled 1 ; Service event handler is enabled register 0 } define service{ use ti-service host_name quagmire service_description Argus Daemon check_command check_nrpe!check_proc_argus event_handler handler_restart_service_openbsd!/usr/local/bin/start-argus!_nrpe } # /etc/nagios/commands.cfg define command{ command_name handler_restart_service_openbsd command_line $USER1$/eventhandlers/service-restart-openbsd.sh $HOSTADDRESS$ $ARG2$ $SERVICESTATE$ $SERVICES TATETYPE$ $SERVICEATTEMPT$ $ARG1$ } # service-restart-openbsd.sh: $ ls -lZ /usr/lib64/nagios/plugins/eventhandlers/ -rwxr-xr-x root root system_u:object_r:bin_t service-restart-linux.sh -rwxr-xr-x root root system_u:object_r:bin_t service-restart-openbsd.sh ----- snip ----- #!/bin/sh # # $Id$ # # Event handler script for restarting a service. The idea of a "service" on # OpenBSD doesn't really work as it doesn't use a SysV init but a monolithic # rc. For this reason we call a script on the remote server and don't # parameterize paths to an init script in this handler. # # [Attribution] taken from example in Nagios documentation at: # http://nagios.sourceforge.net/docs/2_0/eventhandlers.html # # Note: This script will only restart the service if the service is # retried 3 times (in a "soft" state) or if the service somehow # manages to fall into a "hard" error state. # # Host to connect to DST_HOST="$1" # User to connect as via SSH DST_USER="$2" # Service state (OK, WARNING, etc.) SVC_STATE="$3" # Service type (SOFT, HARD, etc.) SVC_STATE_TYPE="$4" # Service attempt (3, 4, etc.) SVC_STATE_ATTEMPT="$5" # Script name (full path.) SVC_NAME="$6" case "$SVC_STATE" in # Only deal with services that have dropped to CRITICAL state. CRITICAL) case "$SVC_STATE_TYPE" in # SOFT failures we deal with once it becomes apparent that # the failure is definate (on the third failure, before # notifications are sent out.) SOFT) case "$SVC_STATE_ATTEMPT" in 3) /usr/bin/ssh -tt -l $DST_USER $DST_HOST sudo $SVC_NAME ;; esac ;; HARD) # If we hit a HARD failure, attempt to deal with it one # last time. /usr/bin/ssh -tt -l $DST_USER $DST_HOST sudo $SVC_NAME ;; esac ;; esac # Eventhandlers should always exit successfully, apparently. exit 0 ----- /snip ----- Here's the logs showing detection of the service reaching the two states the eventhandler script should activate on (SOFT/3 and HARD): [1226710816] SERVICE ALERT: quagmire;Argus Daemon;CRITICAL;SOFT;1;PROCS CRITICAL: 0 processes with command name 'argus' [1226710816] SERVICE EVENT HANDLER: quagmire;Argus Daemon;CRITICAL;SOFT;1;handler_restart_service_openbsd!/usr/local/bin/start-argus!_nrpe [1226710876] SERVICE ALERT: quagmire;Argus Daemon;CRITICAL;SOFT;2;PROCS CRITICAL: 0 processes with command name 'argus' [1226710876] SERVICE EVENT HANDLER: quagmire;Argus Daemon;CRITICAL;SOFT;2;handler_restart_service_openbsd!/usr/local/bin/start-argus!_nrpe [1226710936] SERVICE ALERT: quagmire;Argus Daemon;CRITICAL;SOFT;3;PROCS CRITICAL: 0 processes with command name 'argus' [1226710936] SERVICE EVENT HANDLER: quagmire;Argus Daemon;CRITICAL;SOFT;3;handler_restart_service_openbsd!/usr/local/bin/start-argus!_nrpe [1226710996] SERVICE ALERT: quagmire;Argus Daemon;CRITICAL;HARD;4;PROCS CRITICAL: 0 processes with command name 'argus' [1226710996] SERVICE NOTIFICATION: ti;quagmire;Argus Daemon;CRITICAL;notify-by-email;PROCS CRITICAL: 0 processes with command name argus [1226710996] SERVICE EVENT HANDLER: quagmire;Argus Daemon;CRITICAL;HARD;4;handler_restart_service_openbsd!/usr/local/bin/start-argus!_nrpe I can manually invoke it and have it succeed: $ su - nagios $ sh -x /usr/lib64/nagios/plugins/eventhandlers/service-restart-openbsd.sh quagmire.local _nrpe CRITICAL HARD 4 start-argus + DST_HOST=quagmire.local + DST_USER=_nrpe + SVC_STATE=CRITICAL + SVC_STATE_TYPE=HARD + SVC_STATE_ATTEMPT=4 + SVC_NAME=start-argus + case "$SVC_STATE" in + case "$SVC_STATE_TYPE" in + /usr/bin/ssh -tt -l _nrpe quagmire.local sudo /usr/local/bin/start-argus Connection to quagmire.local closed. + exit 0 When invoked manually I see the sshd log indicating the connection on the remote end and a sudo log indicating the command execution. When nagios kicks off the eventhandlers, neither of these logs are seen on the remote side. Any clue where else to look? -- Darren Spruell phatbuckett at gmail.com ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From dennis at huenseler.net Sat Nov 15 08:08:20 2008 From: dennis at huenseler.net (=?UTF-8?Q?Dennis_H=C3=BCnseler?=) Date: Sat, 15 Nov 2008 08:08:20 +0100 Subject: Service event handler script not activating In-Reply-To: <839aec700811141722j68b1ffc0o687f971b1ad8ae03@mail.gmail.com> References: <839aec700811141722j68b1ffc0o687f971b1ad8ae03@mail.gmail.com> Message-ID: Hi Darren, did you check the commands on command line as root or as nagios user? Because i think your problem is the user which runs the commands. Regards, Dennis On Fri, 14 Nov 2008 18:22:59 -0700, "Darren Spruell" wrote: > I had success with the first service eventhandler we implemented and > am now trying to duplicate it for a second service (with a slightly > modified eventhandler script) and failing. The eventhandler that is > failing is for the "Argus Daemon" service on host quagmire, and the > failure is that although the logs show the event handler being called > with expected arguments, the command executed from the eventhandler > script (an SSH connection to the target host) is never observed. If we > call the eventhandler script manually with the same expected > arguments, it operates properly (SSH connection occurs and remote > service is started). > > Running Nagios 2.10 (nagios-2.10-3.fc7) on Fedora 7 GNU/Linux. SELinux > enabled but set to not enforce. > > # /etc/nagios/nagios.cfg > log_event_handlers=1 > event_handler_timeout=30 > enable_event_handlers=1 > > # /etc/nagios/definitions.cfg (object configuration file) > define service{ > name generic-service ; The > 'name' of this service template > ... > event_handler_enabled 1 ; > Service event handler is enabled > register 0 > } > > define service{ > use ti-service > host_name quagmire > service_description Argus Daemon > check_command check_nrpe!check_proc_argus > event_handler > handler_restart_service_openbsd!/usr/local/bin/start-argus!_nrpe > } > > # /etc/nagios/commands.cfg > define command{ > command_name handler_restart_service_openbsd > command_line > $USER1$/eventhandlers/service-restart-openbsd.sh $HOSTADDRESS$ $ARG2$ > $SERVICESTATE$ $SERVICES > TATETYPE$ $SERVICEATTEMPT$ $ARG1$ > } > > # service-restart-openbsd.sh: > $ ls -lZ /usr/lib64/nagios/plugins/eventhandlers/ > -rwxr-xr-x root root system_u:object_r:bin_t > service-restart-linux.sh > -rwxr-xr-x root root system_u:object_r:bin_t > service-restart-openbsd.sh > > ----- snip ----- > #!/bin/sh > # > # $Id$ > # > # Event handler script for restarting a service. The idea of a "service" on > # OpenBSD doesn't really work as it doesn't use a SysV init but a > monolithic > # rc. For this reason we call a script on the remote server and don't > # parameterize paths to an init script in this handler. > # > # [Attribution] taken from example in Nagios documentation at: > # http://nagios.sourceforge.net/docs/2_0/eventhandlers.html > # > # Note: This script will only restart the service if the service is > # retried 3 times (in a "soft" state) or if the service somehow > # manages to fall into a "hard" error state. > # > # Host to connect to > DST_HOST="$1" > # User to connect as via SSH > DST_USER="$2" > # Service state (OK, WARNING, etc.) > SVC_STATE="$3" > # Service type (SOFT, HARD, etc.) > SVC_STATE_TYPE="$4" > # Service attempt (3, 4, etc.) > SVC_STATE_ATTEMPT="$5" > # Script name (full path.) > SVC_NAME="$6" > > case "$SVC_STATE" in > # Only deal with services that have dropped to CRITICAL state. > CRITICAL) > case "$SVC_STATE_TYPE" in > # SOFT failures we deal with once it becomes apparent that > # the failure is definate (on the third failure, before > # notifications are sent out.) > SOFT) > case "$SVC_STATE_ATTEMPT" in > 3) > /usr/bin/ssh -tt -l $DST_USER $DST_HOST sudo > $SVC_NAME > ;; > esac > ;; > HARD) > # If we hit a HARD failure, attempt to deal with it one > # last time. > /usr/bin/ssh -tt -l $DST_USER $DST_HOST sudo $SVC_NAME > ;; > esac > ;; > esac > > # Eventhandlers should always exit successfully, apparently. > exit 0 > ----- /snip ----- > > Here's the logs showing detection of the service reaching the two > states the eventhandler script should activate on (SOFT/3 and HARD): > > [1226710816] SERVICE ALERT: quagmire;Argus > Daemon;CRITICAL;SOFT;1;PROCS CRITICAL: 0 processes with command name > 'argus' > [1226710816] SERVICE EVENT HANDLER: quagmire;Argus > Daemon;CRITICAL;SOFT;1;handler_restart_service_openbsd!/usr/local/bin/start-argus!_nrpe > [1226710876] SERVICE ALERT: quagmire;Argus > Daemon;CRITICAL;SOFT;2;PROCS CRITICAL: 0 processes with command name > 'argus' > [1226710876] SERVICE EVENT HANDLER: quagmire;Argus > Daemon;CRITICAL;SOFT;2;handler_restart_service_openbsd!/usr/local/bin/start-argus!_nrpe > [1226710936] SERVICE ALERT: quagmire;Argus > Daemon;CRITICAL;SOFT;3;PROCS CRITICAL: 0 processes with command name > 'argus' > [1226710936] SERVICE EVENT HANDLER: quagmire;Argus > Daemon;CRITICAL;SOFT;3;handler_restart_service_openbsd!/usr/local/bin/start-argus!_nrpe > [1226710996] SERVICE ALERT: quagmire;Argus > Daemon;CRITICAL;HARD;4;PROCS CRITICAL: 0 processes with command name > 'argus' > [1226710996] SERVICE NOTIFICATION: ti;quagmire;Argus > Daemon;CRITICAL;notify-by-email;PROCS CRITICAL: 0 processes with > command name argus > [1226710996] SERVICE EVENT HANDLER: quagmire;Argus > Daemon;CRITICAL;HARD;4;handler_restart_service_openbsd!/usr/local/bin/start-argus!_nrpe > > I can manually invoke it and have it succeed: > > $ su - nagios > $ sh -x /usr/lib64/nagios/plugins/eventhandlers/service-restart-openbsd.sh > quagmire.local _nrpe CRITICAL HARD 4 start-argus > + DST_HOST=quagmire.local > + DST_USER=_nrpe > + SVC_STATE=CRITICAL > + SVC_STATE_TYPE=HARD > + SVC_STATE_ATTEMPT=4 > + SVC_NAME=start-argus > + case "$SVC_STATE" in > + case "$SVC_STATE_TYPE" in > + /usr/bin/ssh -tt -l _nrpe quagmire.local sudo /usr/local/bin/start-argus > Connection to quagmire.local closed. > + exit 0 > > When invoked manually I see the sshd log indicating the connection on > the remote end and a sudo log indicating the command execution. When > nagios kicks off the eventhandlers, neither of these logs are seen on > the remote side. > > Any clue where else to look? ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From adi at nextlan.ro Sat Nov 15 18:07:04 2008 From: adi at nextlan.ro (adigei) Date: Sat, 15 Nov 2008 17:07:04 +0000 (UTC) Subject: Email Notifications References: <30764511.52621226574735422.JavaMail.root@webmailbox300.eircom.net> Message-ID: Hi! For testing notifications i use the Nagios interface(from browser): click on a host or service and in the right side of the screen you have "Send custom service notification", or "Send custom host notification", depending on what you clicked(service/host). Don't forget to add some characters in the comment field and then Commit. You're done, notification should arrive in your mailbox. You can also check in the left side menu, almost at the bottom, you have "Notifications". That's some kind of history of Notifications sent. I'm also very new to Nagios(2 weeks), Adi. ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From adi at nextlan.ro Sat Nov 15 18:49:00 2008 From: adi at nextlan.ro (adigei) Date: Sat, 15 Nov 2008 17:49:00 +0000 (UTC) Subject: Nagios + Gnokii -> SMS not being sent Message-ID: Hi, i spent a week debugging this and ... i still can't see the light from the end of the tunnel :), so i'm posting here, hoping someone can see what i'm doing wrong. Nagios works perfect at sending e-mail alerts, Gnokii also works perfect when i type the commands in the console. So, i added in the file /usr/local/nagios/etc/objects/contacts.cfg for the contact 'admin': service_notification_commands notify-service-by-email,notify-service-by-sms host_notification_commands notify-host-by-email,notify-host-by-sms in /usr/local/nagios/etc/objects/commands.cfg i have the following: # 'notify-host-by-sms' command definition define command{ command_name notify-host-by-sms command_line /usr/bin/sms_gnokii } # 'notify-service-by-sms' command definition define command{ command_name notify-service-by-sms command_line /usr/bin/sms_gnokii } For the simplicity i use a simple script that sends a standard SMS /usr/bin/sms_gnokii contains: #!/bin/sh # # Gnokii Plugin script # (c) Horst venzke # v 0.1 - 17.01.2004 echo Alert |/usr/local/bin/gnokii --sendsms 07xxxxxxxx If i run the script /usr/bin/sms_gnokii in the console i receive the SMS with the text "Alert". Theoratically, when something goes down, Nagios runs the command_line and i should receive the sample text SMS, right ? Well, i don't:(. I looked in logs and found this: nagios: HOST NOTIFICATION: Adi;Backup;CUSTOM (UP);notify-host-by-sms;PING OK - Packet loss = 0%, RTA = 0.31 ms;nagiosadmin;custom nagios: HOST NOTIFICATION: Adi;Backup;CUSTOM (UP);notify-host-by-email;PING OK - Packet loss = 0%, RTA = 0.31 ms;nagiosadmin;custom It looks like Nagios is doing his job, but i receive no SMS, only emails, anyone with an ideea please? Adi. ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From phatbuckett at gmail.com Sat Nov 15 19:51:29 2008 From: phatbuckett at gmail.com (Darren Spruell) Date: Sat, 15 Nov 2008 11:51:29 -0700 Subject: Service event handler script not activating In-Reply-To: References: <839aec700811141722j68b1ffc0o687f971b1ad8ae03@mail.gmail.com> Message-ID: <839aec700811151051o106759b9g26d4dbeb715d0fee@mail.gmail.com> On Sat, Nov 15, 2008 at 12:08 AM, Dennis H?nseler wrote: > did you check the commands on command line as root or as nagios user? > Because i think your problem is the user which runs the commands. Yes, run as the nagios user. You can see that the eventhandler script also invokes the remote command with sudo which allows the remote _nrpe user to (re)start the service: > $ su - nagios > $ sh -x /usr/lib64/nagios/plugins/eventhandlers/service-restart-openbsd.sh > quagmire.local _nrpe CRITICAL HARD 4 start-argus > + DST_HOST=quagmire.local > + DST_USER=_nrpe > + SVC_STATE=CRITICAL > + SVC_STATE_TYPE=HARD > + SVC_STATE_ATTEMPT=4 > + SVC_NAME=start-argus > + case "$SVC_STATE" in > + case "$SVC_STATE_TYPE" in > + /usr/bin/ssh -tt -l _nrpe quagmire.local sudo /usr/local/bin/start-argus > Connection to quagmire.local closed. > + exit 0 -- Darren Spruell phatbuckett at gmail.com ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From hvdkooij at vanderkooij.org Sat Nov 15 20:34:44 2008 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Sat, 15 Nov 2008 20:34:44 +0100 Subject: Nagios + Gnokii -> SMS not being sent In-Reply-To: References: Message-ID: <491F2454.7000309@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 adigei wrote: > i spent a week debugging this and ... i still can't see the light from the end > of the tunnel :), so i'm posting here, hoping someone can see what i'm doing > wrong. What nagios version? > Nagios works perfect at sending e-mail alerts, Gnokii also works perfect when i > type the commands in the console. > > So, i added in the file /usr/local/nagios/etc/objects/contacts.cfg > for the contact 'admin': > > service_notification_commands notify-service-by-email,notify-service-by-sms > host_notification_commands notify-host-by-email,notify-host-by-sms Right. Just for fun. What happens if you switch the order? SMS first. Then email. > #!/bin/sh > # > # Gnokii Plugin script > # (c) Horst venzke > # v 0.1 - 17.01.2004 > > echo Alert |/usr/local/bin/gnokii --sendsms 07xxxxxxxx Add a line to log to a file and see if that works by checking the log. Hugo. - -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc A: Yes. >Q: Are you sure? >>A: Because it reverses the logical flow of conversation. >>>Q: Why is top posting frowned upon? Bored? Click on http://spamornot.org/ and rate those images. Nid wyf yn y swyddfa ar hyn o bryd. Anfonwch unrhyw waith i'w gyfieithu. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org iD8DBQFJHyRTBvzDRVjxmYERAvuaAJwJ9bFRhgRqzTKAoxljiPSHZdCerQCeKJ2N u98muNPF4uX+TCoz/9bG4+M= =NVyY -----END PGP SIGNATURE----- ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ludo_bosmans at skynet.be Sat Nov 15 20:57:47 2008 From: ludo_bosmans at skynet.be (Ludo Bosmans (skynet)) Date: Sat, 15 Nov 2008 20:57:47 +0100 Subject: Nagios + Gnokii -> SMS not being sent In-Reply-To: <491F2454.7000309@vanderkooij.org> References: <491F2454.7000309@vanderkooij.org> Message-ID: <79atre$8l3jp5@relay.skynet.be> Hello, Have you tried to use your "gnokii" command as the "nagios" user? Does the nagios user have enough rights to access the serial port that is configured with gnokii? King regards, Ludo -----Oorspronkelijk bericht----- Van: Hugo van der Kooij [mailto:hvdkooij at vanderkooij.org] Verzonden: zaterdag 15 november 2008 20:35 Aan: Nagios Users Mailinglist Onderwerp: Re: [Nagios-users] Nagios + Gnokii -> SMS not being sent -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 adigei wrote: > i spent a week debugging this and ... i still can't see the light from the end > of the tunnel :), so i'm posting here, hoping someone can see what i'm doing > wrong. What nagios version? > Nagios works perfect at sending e-mail alerts, Gnokii also works perfect when i > type the commands in the console. > > So, i added in the file /usr/local/nagios/etc/objects/contacts.cfg > for the contact 'admin': > > service_notification_commands notify-service-by-email,notify-service-by-sms > host_notification_commands notify-host-by-email,notify-host-by-sms Right. Just for fun. What happens if you switch the order? SMS first. Then email. > #!/bin/sh > # > # Gnokii Plugin script > # (c) Horst venzke > # v 0.1 - 17.01.2004 > > echo Alert |/usr/local/bin/gnokii --sendsms 07xxxxxxxx Add a line to log to a file and see if that works by checking the log. Hugo. - -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc A: Yes. >Q: Are you sure? >>A: Because it reverses the logical flow of conversation. >>>Q: Why is top posting frowned upon? Bored? Click on http://spamornot.org/ and rate those images. Nid wyf yn y swyddfa ar hyn o bryd. Anfonwch unrhyw waith i'w gyfieithu. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org iD8DBQFJHyRTBvzDRVjxmYERAvuaAJwJ9bFRhgRqzTKAoxljiPSHZdCerQCeKJ2N u98muNPF4uX+TCoz/9bG4+M= =NVyY -----END PGP SIGNATURE----- ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From hir3npatel at gmail.com Sun Nov 16 02:33:57 2008 From: hir3npatel at gmail.com (hiren) Date: Sun, 16 Nov 2008 03:33:57 +0200 Subject: Service event handler script not activating In-Reply-To: <839aec700811151051o106759b9g26d4dbeb715d0fee@mail.gmail.com> References: <839aec700811141722j68b1ffc0o687f971b1ad8ae03@mail.gmail.com> <839aec700811151051o106759b9g26d4dbeb715d0fee@mail.gmail.com> Message-ID: <1226799237.10701.5.camel@firebird> On Sat, 2008-11-15 at 11:51 -0700, Darren Spruell wrote: > On Sat, Nov 15, 2008 at 12:08 AM, Dennis H?nseler > wrote: > > did you check the commands on command line as root or as nagios > user? > > Because i think your problem is the user which runs the commands. > > Yes, run as the nagios user. You can see that the eventhandler script > also invokes the remote command with sudo which allows the remote > _nrpe user to (re)start the service: > > > $ su - nagios > > $ sh -x > /usr/lib64/nagios/plugins/eventhandlers/service-restart-openbsd.sh > > quagmire.local _nrpe CRITICAL HARD 4 start-argus > > + DST_HOST=quagmire.local > > + DST_USER=_nrpe > > + SVC_STATE=CRITICAL > > + SVC_STATE_TYPE=HARD > > + SVC_STATE_ATTEMPT=4 > > + SVC_NAME=start-argus > > + case "$SVC_STATE" in > > + case "$SVC_STATE_TYPE" in > > + /usr/bin/ssh -tt -l _nrpe quagmire.local sudo > /usr/local/bin/start-argus > > Connection to quagmire.local closed. > > + exit 0 I have similar strangeness, though I haven't looked into it thoroughly enough as yet. I also use 2.x server. is nagios not able to log the return status of the commands it runs in handlers? one can put nagios into debug mode to log the full command it runs right? anyway I think my issue might be that I'm using macros not available in handler commands, will check when I get to work on Monday. cheers. ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From steve at sliderule.demon.co.uk Sun Nov 16 04:14:58 2008 From: steve at sliderule.demon.co.uk (Steve Burton) Date: Sun, 16 Nov 2008 03:14:58 +0000 Subject: Integrating nagios with nagiosgraph and drraw - URL problem Message-ID: <816468740.20081116031458@sliderule.demon.co.uk> Hi, I've been using nagios for a while (since 1.x) but recently I've been inspired by David Josephsen's book to try to integrate nagios with nagiosgraph and drraw. I have it all working on a test server *except* that I cannot link the graphs I define with drraw using the 'action_url' in my hosts definitions. The problem is that URL produced by drraw has a semicolon in it. E.g. http://nagios.my.domain/drraw/drraw.cgi?Mode=view;Graph=1226789709.8592 This value is sanitized by nagios and the URL is truncated before the offending character. I tried using %3b in the config. file but then this is not decoded by drraw.cgi. I had a look at the nagios source but I can't see where it chops the line. Can anyone point me in the right direction? Steve. ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From steve at sliderule.demon.co.uk Sun Nov 16 04:16:34 2008 From: steve at sliderule.demon.co.uk (Steve Burton) Date: Sun, 16 Nov 2008 03:16:34 +0000 Subject: Integrating nagios with nagiosgraph and drraw - URL problem Message-ID: <1575248917.20081116031634@sliderule.demon.co.uk> Hi, I've been using nagios for a while (since 1.x) but recently I've been inspired by David Josephsen's book to try to integrate nagios with nagiosgraph and drraw. I have it all working on a test server *except* that I cannot link the graphs I define with drraw using the 'action_url' in my hosts definitions. The problem is that URL produced by drraw has a semicolon in it. E.g. http://nagios.my.domain/drraw/drraw.cgi?Mode=view;Graph=1226789709.8592 This value is sanitized by nagios and the URL is truncated before the offending character. I tried using %3b in the config. file but then this is not decoded by drraw.cgi. I had a look at the nagios source but I can't see where it chops the line. Can anyone point me in the right direction? Steve. ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From leo at arnts.org Sun Nov 16 20:49:54 2008 From: leo at arnts.org (Leo Arnts) Date: Sun, 16 Nov 2008 20:49:54 +0100 Subject: Allied Telesyn Message-ID: <001201c94824$7fdf1a40$7f9d4ec0$@org> Does anyone monitor Allied Telesyn switches such as the 8000 serie's or 9724 ? I have set up an check for the firmware version Check_uptime is working But I can't find something like CPU check of Memory check Kind Regards, Leo Arnts -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jpaulus at sourceinterlink.com Mon Nov 17 02:56:46 2008 From: jpaulus at sourceinterlink.com (Paulus, Jake) Date: Sun, 16 Nov 2008 20:56:46 -0500 Subject: Integrating nagios with nagiosgraph and drraw - URLproblem In-Reply-To: <816468740.20081116031458@sliderule.demon.co.uk> References: <816468740.20081116031458@sliderule.demon.co.uk> Message-ID: <79B77295FBC9F247A32A6C98B67B1E1408BE8E@srv-1exch01.sourceinterlink.com> Hey Steve: I don't know if it will work or not but you could try escaping the semicolon. E.g. ://nagios.my.domain/drraw/drraw.cgi?Mode=view\;Graph=1226789709.8592 -Jake -----Original Message----- From: Steve Burton [mailto:steve at sliderule.demon.co.uk] Sent: Saturday, November 15, 2008 10:15 PM To: nagios-users Subject: [Nagios-users] Integrating nagios with nagiosgraph and drraw - URLproblem Hi, I've been using nagios for a while (since 1.x) but recently I've been inspired by David Josephsen's book to try to integrate nagios with nagiosgraph and drraw. I have it all working on a test server *except* that I cannot link the graphs I define with drraw using the 'action_url' in my hosts definitions. The problem is that URL produced by drraw has a semicolon in it. E.g. http://nagios.my.domain/drraw/drraw.cgi?Mode=view;Graph=1226789709.8592 This value is sanitized by nagios and the URL is truncated before the offending character. I tried using %3b in the config. file but then this is not decoded by drraw.cgi. I had a look at the nagios source but I can't see where it chops the line. Can anyone point me in the right direction? Steve. ------------------------------------------------------------------------ - 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marcismael at gmail.com Mon Nov 17 04:16:34 2008 From: marcismael at gmail.com (Marc Ismael) Date: Mon, 17 Nov 2008 11:16:34 +0800 Subject: accommodate 7426 passive checks on nagios 3.0.3 Message-ID: <48603ddb0811161916t47f1bd40tdef6319959536ab9@mail.gmail.com> Hi all, I have 7426 incoming passive checks on my nagios server. I turned on freshness check at every 60 seconds, check_result_reaper_frequency at 60 and max_check_result_reaper_time at 90. I am getting a lot of stale passive results. Anything off with these settings, or the rest of my config settings? passive checks: 7426 object_cache_file=/var/log/nagios/objects.cache precached_object_file=/var/log/nagios/objects.precache resource_file=/etc/nagios/resource.cfg status_file=/var/log/nagios/status.dat status_update_interval=20 nagios_user=nagios nagios_group=nagios check_external_commands=1 command_check_interval=-1 command_file=/var/log/nagios/rw/nagios.cmd external_command_buffer_slots=8192 lock_file=/var/run/nagios.pid temp_file=/var/log/nagios/nagios.tmp temp_path=/tmp event_broker_options=-1 log_rotation_method=d log_archive_path=/var/log/nagios/archives use_syslog=0 log_notifications=1 log_service_retries=1 log_host_retries=1 log_event_handlers=1 log_initial_states=0 log_external_commands=1 log_passive_checks=1 service_inter_check_delay_method=s max_service_check_spread=30 service_interleave_factor=s host_inter_check_delay_method=s max_host_check_spread=30 max_concurrent_checks=0 #### check_result_reaper_frequency=60 max_check_result_reaper_time=90 ##### check_result_path=/var/log/nagios/spool/checkresults max_check_result_file_age=3600 cached_host_check_horizon=15 cached_service_check_horizon=15 enable_predictive_host_dependency_checks=1 enable_predictive_service_dependency_checks=1 soft_state_dependencies=0 auto_reschedule_checks=0 auto_rescheduling_interval=30 auto_rescheduling_window=180 sleep_time=0.125 service_check_timeout=60 host_check_timeout=30 event_handler_timeout=30 notification_timeout=30 ocsp_timeout=5 perfdata_timeout=5 retain_state_information=1 state_retention_file=/var/log/nagios/retention.dat retention_update_interval=60 use_retained_program_state=0 use_retained_scheduling_info=1 retained_host_attribute_mask=0 retained_service_attribute_mask=0 retained_process_host_attribute_mask=0 retained_process_service_attribute_mask=0 retained_contact_host_attribute_mask=0 retained_contact_service_attribute_mask=0 interval_length=60 use_aggressive_host_checking=0 execute_service_checks=1 accept_passive_service_checks=1 execute_host_checks=1 accept_passive_host_checks=1 enable_notifications=1 enable_event_handlers=1 process_performance_data=0 obsess_over_services=0 obsess_over_hosts=0 translate_passive_host_checks=0 passive_host_checks_are_soft=0 check_for_orphaned_services=1 check_for_orphaned_hosts=1 check_service_freshness=1 service_freshness_check_interval=360 check_host_freshness=1 host_freshness_check_interval=60 additional_freshness_latency=15 enable_flap_detection=1 low_service_flap_threshold=5.0 high_service_flap_threshold=20.0 low_host_flap_threshold=5.0 high_host_flap_threshold=20.0 date_format=us p1_file=/usr/local/nagios/sbin/p1.pl enable_embedded_perl=1 use_embedded_perl_implicitly=1 illegal_object_name_chars=`~!$%^&*|'"<>?,()= illegal_macro_output_chars=`~$&|'"<> use_regexp_matching=1 use_true_regexp_matching=0 admin_email=marc_pascual at ml.com admin_pager=pagenagios at localhost daemon_dumps_core=0 use_large_installation_tweaks=1 enable_environment_macros=0 free_child_process_memory=0 child_processes_fork_twice=0 debug_level=0 debug_verbosity=1 debug_file=/var/log/nagios/nagios.debug max_debug_file_size=1000000 TIA, Marc -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From kellyjackie at eircom.net Mon Nov 17 10:27:58 2008 From: kellyjackie at eircom.net (kellyjackie at eircom.net) Date: Mon, 17 Nov 2008 09:27:58 +0000 (GMT) Subject: Email Notifications Message-ID: <27932306.20311226914078090.JavaMail.root@webmailbox300.eircom.net> Thanks to everyone for their response on email notifications, i now have the commands.cfg file configured to work correctly with esmtp(when tested from the command line). The syntax is as follows: # 'notify-host-by-email' command definition define command{ command_name notify-host-by-email command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n" | /usr/bin/esmtp -C /etc/esmtprc $CONTACTEMAIL$ -f nagios at dpd.ie -X /tmp/esmtp.log } # 'notify-service-by-email' command definition define command{ command_name notify-service-by-email command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n" | /usr/bin/esmtp -C /etc/esmtprc $CONTACTEMAIL$ -f nagios at dpd.ie -X /tmp/esmtp.log } However nagios still doesnt send email so there must be a mistake with the configuration files. The windows.cfg file : define host{ use windows-server ; Inherit default values from a template host_name invoicepc ; The name we're giving to this host alias invoicingpc ; A longer name associated with the host address 10.1.10.101 ; IP address of the host notifications_enabled 1 notification_interval 120 notification_period 24x7 notification_options d,u,r } define hostgroup{ hostgroup_name windows-servers ; The name of the hostgroup alias Windows Servers ; Long name of the group members invoicepc } define service{ use generic-service hostgroup_name windows-pcs service_description Uptime check_command check_nt!UPTIME contact_groups admins check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups admins notification_options w,u,c,r notification_interval 1440 notification_period 24x7 } The contacts.cfg file reads: define contact{ contact_name nagiosadmin ; Short name of user use generic-contact ; Inherit default values from generic-contact template (defined above) alias Nagios Admin ; Full name of user host_notifications_enabled 1 service_notifications_enabled 1 host_notification_period 24x7 service_notification_period 24x7 service_notification_options w,u,c,r host_notification_options d,u,r service_notification_commands notify-service-by-email host_notification_commands notify-host-by-email email x at email.com ; <<***** CHANGE THIS TO YOUR EMAIL ADDRESS ****** } ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From joaocarlosnb at hotmail.com Mon Nov 17 15:05:15 2008 From: joaocarlosnb at hotmail.com (JC NB) Date: Mon, 17 Nov 2008 12:05:15 -0200 Subject: (no subject) Message-ID: Hi, I'm trying to understand because the field ' Current Attempt ' in HOST STATE INFORMATION is maintained in 1/4, being that the 'Host Status' is in DOWN and ' Current Notification Number ' is already with the value of 55? However, the attempts of checking (1/4,2/4,3/4 and 4/4 - change of state) were registered in the archive nagios.log. What goes on? _________________________________________________________________ Conhe?a o Windows Live Spaces, a rede de relacionamentos do Messenger! http://www.amigosdomessenger.com.br/ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From joaocarlosnb at hotmail.com Mon Nov 17 15:12:40 2008 From: joaocarlosnb at hotmail.com (JC NB) Date: Mon, 17 Nov 2008 12:12:40 -0200 Subject: Mismatch between information: web console and nagios.log Message-ID: Hi, I'm trying to understand because the field ' Current Attempt ' in HOST STATE INFORMATION is maintained in 1/4, being that the 'Host Status' is in DOWN and ' Current Notification Number ' is already with the value of 55? However, the attempts of checking (1/4,2/4,3/4 and 4/4 - change of state) were registered in the archive nagios.log. What goes on? _________________________________________________________________ Conhe?a o Windows Live Spaces, a rede de relacionamentos do Messenger! http://www.amigosdomessenger.com.br/ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From cschneemann at suse.de Mon Nov 17 15:21:13 2008 From: cschneemann at suse.de (Christian Schneemann) Date: Mon, 17 Nov 2008 15:21:13 +0100 Subject: (no subject) In-Reply-To: References: Message-ID: <200811171521.14163.cschneemann@suse.de> On Monday November 17 2008 03:05:15 pm JC NB wrote: > Hi, Hi, > > I'm trying to understand because the field ' Current Attempt ' in HOST > STATE INFORMATION is maintained in 1/4, being that the 'Host Status' is in > DOWN and ' Current Notification Number ' is already with the value of 55? > However, the attempts of checking (1/4,2/4,3/4 and 4/4 - change of state) > were registered in the archive nagios.log. What goes on? the first 4 attempts are a softstate, that is meant by /4 (I think), after that it is in hard state, the 55 says, that you already got 55 notifications. Was that your question about? Greetings, Christian > _________________________________________________________________ > Conhe?a o Windows Live Spaces, a rede de relacionamentos do Messenger! > http://www.amigosdomessenger.com.br/ -- Christian Schneemann ------------------------------------- SUSE LINUX Products GmbH, Maxfeldstr. 5, D - 90409 N?rnberg Phone:??+49 (0)911 - 740 53 0 e-mail:?cschneemann at suse.de ------------------------------------- SUSE LINUX Products GmbH, GF: Markus Rex HRB 16746 (AG N?rnberg) ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From myoung at nagios.org Mon Nov 17 16:25:13 2008 From: myoung at nagios.org (Mark Young) Date: Mon, 17 Nov 2008 09:25:13 -0600 Subject: accommodate 7426 passive checks on nagios 3.0.3 In-Reply-To: <48603ddb0811161916t47f1bd40tdef6319959536ab9@mail.gmail.com> References: <48603ddb0811161916t47f1bd40tdef6319959536ab9@mail.gmail.com> Message-ID: <14F36B6F-252A-4C28-A182-F9E6E18CA8E4@nagios.org> On Nov 16, 2008, at 9:16 PM, Marc Ismael wrote: > Hi all, > > I have 7426 incoming passive checks on my nagios server. I turned on > freshness check at every 60 seconds, check_result_reaper_frequency > at 60 and max_check_result_reaper_time at 90. I am getting a lot of > stale passive results. Anything off with these settings, or the rest > of my config settings? You have some interesting choices with your settings. If you have the freshness and the reaper_frequency set to the same time of 60 seconds.The freshness threshold is the time in which Nagios should consider a check to be stale. This is done by looking at the last check's timestamp and comparing it to the threshold you set (60 seconds). While the reaper_frequency is the frequency in which Nagios will take all the collected passive results and process them, which you also have set at 60 seconds. You are setting up a condition where most of your checks are running close to stale and, given any processing time, with give you many stale results. Depending on your how powerful your system is, you will need to either increase your freshness threshold (try 300 seconds), decrease the reaper frequency, or do both. You may have to play around with the exact settings that will work with your system and the number of checks you are performing. I would recommend you start with increasing the freshness threshold. Good Luck! Mark Young ___ Nagios Enterprises, LLC Web: www.nagios.com ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marcismael at gmail.com Mon Nov 17 16:40:00 2008 From: marcismael at gmail.com (Marc Ismael) Date: Mon, 17 Nov 2008 23:40:00 +0800 Subject: accommodate 7426 passive checks on nagios 3.0.3 In-Reply-To: <14F36B6F-252A-4C28-A182-F9E6E18CA8E4@nagios.org> References: <48603ddb0811161916t47f1bd40tdef6319959536ab9@mail.gmail.com> <14F36B6F-252A-4C28-A182-F9E6E18CA8E4@nagios.org> Message-ID: <48603ddb0811170740i7fa34470ob1756c7199b2a9fc@mail.gmail.com> Hi Mark, Thanks for the response. I just realized that I've opened the old templates.cfg file (apologies, im an 1d1ot). My freshness_treshhold is actually 600 (10mins), but still im seeing this issue. template.cfg snippet =============== define service{ name e_passive active_checks_enabled 0 passive_checks_enabled 1 parallelize_check 0 obsess_over_service 0 check_freshness 1 freshness_threshold 600 check_command check_stale_passive notifications_enabled 1 event_handler_enabled 0 flap_detection_enabled 1 failure_prediction_enabled 0 process_perf_data 0 retain_status_information 1 retain_nonstatus_information 1 is_volatile 0 check_period e_reboots max_check_attempts 1 normal_check_interval 1 retry_check_interval 1 contact_groups e_server_team notification_options c notification_interval 0 notification_period e_reboots register 0 } Thanks, Marc On Mon, Nov 17, 2008 at 11:25 PM, Mark Young wrote: > > On Nov 16, 2008, at 9:16 PM, Marc Ismael wrote: > > Hi all, >> >> I have 7426 incoming passive checks on my nagios server. I turned on >> freshness check at every 60 seconds, check_result_reaper_frequency at 60 and >> max_check_result_reaper_time at 90. I am getting a lot of stale passive >> results. Anything off with these settings, or the rest of my config >> settings? >> > > > You have some interesting choices with your settings. If you have the > freshness and the reaper_frequency set to the same time of 60 seconds.The > freshness threshold is the time in which Nagios should consider a check to > be stale. This is done by looking at the last check's timestamp and > comparing it to the threshold you set (60 seconds). While the > reaper_frequency is the frequency in which Nagios will take all the > collected passive results and process them, which you also have set at 60 > seconds. You are setting up a condition where most of your checks are > running close to stale and, given any processing time, with give you many > stale results. > > Depending on your how powerful your system is, you will need to either > increase your freshness threshold (try 300 seconds), decrease the reaper > frequency, or do both. You may have to play around with the exact settings > that will work with your system and the number of checks you are performing. > I would recommend you start with increasing the freshness threshold. > > Good Luck! > > Mark Young > ___ > Nagios Enterprises, LLC > Web: www.nagios.com > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From myoung at nagios.org Mon Nov 17 17:14:11 2008 From: myoung at nagios.org (Mark Young) Date: Mon, 17 Nov 2008 10:14:11 -0600 Subject: accommodate 7426 passive checks on nagios 3.0.3 In-Reply-To: <48603ddb0811170740i7fa34470ob1756c7199b2a9fc@mail.gmail.com> References: <48603ddb0811161916t47f1bd40tdef6319959536ab9@mail.gmail.com> <14F36B6F-252A-4C28-A182-F9E6E18CA8E4@nagios.org> <48603ddb0811170740i7fa34470ob1756c7199b2a9fc@mail.gmail.com> Message-ID: <91C27D7A-C201-45DF-A2CF-035A4569971C@nagios.org> On Nov 17, 2008, at 9:40 AM, Marc Ismael wrote: > Hi Mark, > > Thanks for the response. I just realized that I've opened the old > templates.cfg file (apologies, im an 1d1ot). > My freshness_treshhold is actually 600 (10mins), but still im seeing > this issue. Then it may be a problem that your system is unable to process all the results in the time you set (max_check_result_reaper_time = 90). Maybe try to double the time to 180 or even more. This tells me that your system would be really bogged down and that you will require additional debugging. Passive checks should not be that demanding on your system. > > template.cfg snippet > =============== > define service{ > name e_passive > active_checks_enabled 0 > passive_checks_enabled 1 > parallelize_check 0 > obsess_over_service 0 > check_freshness 1 > freshness_threshold 600 > check_command check_stale_passive > notifications_enabled 1 > event_handler_enabled 0 > flap_detection_enabled 1 > failure_prediction_enabled 0 > process_perf_data 0 > retain_status_information 1 > retain_nonstatus_information 1 > is_volatile 0 > check_period e_reboots > max_check_attempts 1 > normal_check_interval 1 > retry_check_interval 1 > contact_groups e_server_team > notification_options c > notification_interval 0 > notification_period e_reboots > register 0 > } > Thanks, > Marc > > On Mon, Nov 17, 2008 at 11:25 PM, Mark Young > wrote: >> >> On Nov 16, 2008, at 9:16 PM, Marc Ismael wrote: >>> >>> Hi all, >>> >>> I have 7426 incoming passive checks on my nagios server. I turned >>> on freshness check at every 60 seconds, >>> check_result_reaper_frequency at 60 and >>> max_check_result_reaper_time at 90. I am getting a lot of stale >>> passive results. Anything off with these settings, or the rest of >>> my config settings? >> What made you first try these settings? Trial and error? Normally we try to set the reaper_frequency down to under 30 seconds (such as 5 seconds) and the max reaper_time well under 60 (such as 30 seconds). But looking in your other config snippets you have the 'service_freshness_check_interval=360' and 'host_freshness_check_interval=60'. So you may be confusing some of the settings. ... check_result_reaper_frequency=5 max_check_result_reaper_time=30 service_freshness_check_interval=60 host_freshness_check_interval=60 additional_freshness_latency=15 ... To really debug this problem we need to know a few factors. The main one for me is the number of checks you are piling up every 60 seconds. And what is the time it takes to process these normally. Also, if you are taxing your system, it is important to see what the system load and disk IO are doing. Also the relative information for your environment... What Nagios version are you running? What distribution? You may want to check out the relative docs for passive checks and freshness as I had to do when looking into you problem. http://nagios.sourceforge.net/docs/3_0/configmain.html http://nagios.sourceforge.net/docs/3_0/freshness.html http://nagios.sourceforge.net/docs/3_0/passivechecks.html >> >> You have some interesting choices with your settings. If you have >> the freshness and the reaper_frequency set to the same time of 60 >> seconds.The freshness threshold is the time in which Nagios should >> consider a check to be stale. This is done by looking at the last >> check's timestamp and comparing it to the threshold you set (60 >> seconds). While the reaper_frequency is the frequency in which >> Nagios will take all the collected passive results and process >> them, which you also have set at 60 seconds. You are setting up a >> condition where most of your checks are running close to stale and, >> given any processing time, with give you many stale results. >> >> Depending on your how powerful your system is, you will need to >> either increase your freshness threshold (try 300 seconds), >> decrease the reaper frequency, or do both. You may have to play >> around with the exact settings that will work with your system and >> the number of checks you are performing. I would recommend you >> start with increasing the freshness threshold. Perhaps some others that are dealing with more passive checks than I can help you out with better base numbers to work off of. Good luck! Mark Young ___ Nagios Enterprises, LLC Web: www.nagios.com ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From novin.jaiswal at ishisystems.com Mon Nov 17 19:35:14 2008 From: novin.jaiswal at ishisystems.com (Novin Jaiswal) Date: Mon, 17 Nov 2008 13:35:14 -0500 Subject: Data strored in .RRD but nagios graph is not showing the data(graph is Empty) Message-ID: <2BA70ED7C7275645B648362FB35913A901EB5522@exchange.ishisystems.com> Hi Friends, I have successfully incorporate Nagios graph +Nagios+rrdtool. Data is stored successfully but nagiosgraph is not plotting based on data and the graph is empty without any data. When I am running following cmd to see that the data (in DB "nagios" and "pegcount" datasource and "AllCOMPONENT PEGCOUNT" service name) is stored or not. It is returning me the correct data value 138. [root at stage5 nagios]# rrdtool lastupdate /usr/local/nagiosgraph/rrd/stage8.ishisystems.com/AllCOMPONENT%20PEGCOUN T___nagios.rrd pegcount 1226560767: 138 I am using following URL to view the data which is been created as a link beside the service name http://stage5/nagiosgraph/show.cgi?host=stage8.ishisystems.com&service=A llCOMPONENT%20PEGCOUNT&db=nagios,pegcount&geom=500x100&rrdopts=-l%200%20 -u%20200%20-t%20MYPEGCOUNT this page is showing me empty daily,weekly and monthly and yearly graph without any data but the Lower limit=0 ,Upperlimit = 200, Graph heading = MYPEGCOUNT is showing as per request. Host name = stage8.ishisystems.com Service name = AllCOMPONEN PEGCOUNT RRD DB Name = nagios Datasource or column name = pegcount Lower limit=0 Upperlimit = 200 Graph heading = MYPEGCOUNT Pls Let me know wht I am doing wrong? Thanks & Regards Novin Jaiswal Ishi Systems Inc. 732-318-8156(cell) -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From novin.jaiswal at ishisystems.com Mon Nov 17 21:41:49 2008 From: novin.jaiswal at ishisystems.com (Novin Jaiswal) Date: Mon, 17 Nov 2008 15:41:49 -0500 Subject: Data strored in .RRD but nagios graph is not showingthe data(graph is Empty) In-Reply-To: <2BA70ED7C7275645B648362FB35913A901EB5522@exchange.ishisystems.com> References: <2BA70ED7C7275645B648362FB35913A901EB5522@exchange.ishisystems.com> Message-ID: <2BA70ED7C7275645B648362FB35913A901EB5528@exchange.ishisystems.com> One more thing to share abt the issue. In every graph all MIN, Max, Avg, Cur values are shown as "nan". Thanks & Regards Novin Jaiswal Ishi Systems Inc. 201-521-3155(Direct) 732-318-8156(Cell) From: Novin Jaiswal [mailto:novin.jaiswal at ishisystems.com] Sent: Monday, November 17, 2008 1:35 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Data strored in .RRD but nagios graph is not showingthe data(graph is Empty) Hi Friends, I have successfully incorporate Nagios graph +Nagios+rrdtool. Data is stored successfully but nagiosgraph is not plotting based on data and the graph is empty without any data. When I am running following cmd to see that the data (in DB "nagios" and "pegcount" datasource and "AllCOMPONENT PEGCOUNT" service name) is stored or not. It is returning me the correct data value 138. [root at stage5 nagios]# rrdtool lastupdate /usr/local/nagiosgraph/rrd/stage8.ishisystems.com/AllCOMPONENT%20PEGCOUN T___nagios.rrd pegcount 1226560767: 138 I am using following URL to view the data which is been created as a link beside the service name http://stage5/nagiosgraph/show.cgi?host=stage8.ishisystems.com&service=A llCOMPONENT%20PEGCOUNT&db=nagios,pegcount&geom=500x100&rrdopts=-l%200%20 -u%20200%20-t%20MYPEGCOUNT this page is showing me empty daily,weekly and monthly and yearly graph without any data but the Lower limit=0 ,Upperlimit = 200, Graph heading = MYPEGCOUNT is showing as per request. Host name = stage8.ishisystems.com Service name = AllCOMPONEN PEGCOUNT RRD DB Name = nagios Datasource or column name = pegcount Lower limit=0 Upperlimit = 200 Graph heading = MYPEGCOUNT Pls Let me know wht I am doing wrong? Thanks & Regards Novin Jaiswal Ishi Systems Inc. 732-318-8156(cell) -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From steve at sliderule.demon.co.uk Mon Nov 17 22:45:58 2008 From: steve at sliderule.demon.co.uk (Steve Burton) Date: Mon, 17 Nov 2008 21:45:58 +0000 Subject: Integrating nagios with nagiosgraph and drraw - URLproblem In-Reply-To: <79B77295FBC9F247A32A6C98B67B1E1408BE8E@srv-1exch01.sourceinterlink.com> References: <816468740.20081116031458@sliderule.demon.co.uk> <79B77295FBC9F247A32A6C98B67B1E1408BE8E@srv-1exch01.sourceinterlink.com> Message-ID: <139311989.20081117214558@sliderule.demon.co.uk> > Hey Steve: > I don't know if it will work or not but you could try escaping the > semicolon. > E.g. > ://nagios.my.domain/drraw/drraw.cgi?Mode=view\;Graph=1226789709.8592 > -Jake Middle posting :) Jake, yes and no! inserting the \ in action_url does stop nagios removing the end of the line but then \; gives a 'Invalid Request' in the browser when you click on the link. Steve. > -----Original Message----- > From: Steve Burton [mailto:steve at sliderule.demon.co.uk] > Sent: Saturday, November 15, 2008 10:15 PM > To: nagios-users > Subject: [Nagios-users] Integrating nagios with nagiosgraph and drraw - > URLproblem > Hi, > I've been using nagios for a while (since 1.x) but recently I've been > inspired by David Josephsen's book to try to integrate nagios with > nagiosgraph and drraw. > I have it all working on a test server *except* that I cannot link the > graphs I define with drraw using the 'action_url' in my hosts > definitions. > The problem is that URL produced by drraw has a semicolon in it. > E.g. > http://nagios.my.domain/drraw/drraw.cgi?Mode=view;Graph=1226789709.8592 > This value is sanitized by nagios and the URL is truncated before the > offending character. > I tried using %3b in the config. file but then this is not decoded by > drraw.cgi. > I had a look at the nagios source but I can't see where it chops the > line. > Can anyone point me in the right direction? > Steve. > ------------------------------------------------------------------------ > - > 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=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From adi at nextlan.ro Tue Nov 18 00:04:19 2008 From: adi at nextlan.ro (adigei) Date: Mon, 17 Nov 2008 23:04:19 +0000 (UTC) Subject: Nagios + Gnokii -> SMS not being sent References: <491F2454.7000309@vanderkooij.org> <79atre$8l3jp5@relay.skynet.be> Message-ID: Ludo Bosmans (skynet skynet.be> writes: > > Hello, > > Have you tried to use your "gnokii" command as the "nagios" user? > Does the nagios user have enough rights to access the serial port that is > configured with gnokii? > > King regards, > > Ludo Thank you all, i did "su nagios", ran the script and the errors popped out: ~# su nagios $ /usr/bin/sms_gnokii GNOKII Version 0.6.27 Couldn't read /home/nagios/.gnokiirc config file. Couldn't read /home/nagios/.gnokiirc config file. Couldn't read /etc/gnokiirc config file. Couldn't read /etc/gnokiirc config file. Config file cannot be read. I copied .gnokiirc from /root to /home/nagios and did chown nagios:nagios on it. Further, gnokii tries to send the message but it ends in another permission related error: Connecting Serial device: opening device USB Ignoring extra header, type 171, length 5 Found FBUS interface Can't set configuration: -1 Can't claim control interface: -1 Couldn't open PHONET device: Operation not permitted Error in link initialisation: 1 Telephone interface init failed: Command failed. Quitting. Command failed. Furthermore, i tried the following: chown -R nagios:nagios /dev/bus/usb/* chown -R nagios:nagios /dev/ttyACM0 and chmod 750 -R /dev/bus/usb/* chmod 750 /dev/ttyACM0 And now it works! :) Thanx a lot for your help! Adi. > -----Oorspronkelijk bericht----- > Van: Hugo van der Kooij [mailto:hvdkooij vanderkooij.org] > Verzonden: zaterdag 15 november 2008 20:35 > Aan: Nagios Users Mailinglist > Onderwerp: Re: [Nagios-users] Nagios + Gnokii -> SMS not being sent > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > adigei wrote: > > i spent a week debugging this and ... i still can't see the light from the > end > > of the tunnel :), so i'm posting here, hoping someone can see what i'm > doing > > wrong. > > What nagios version? > > > Nagios works perfect at sending e-mail alerts, Gnokii also works perfect > when i > > type the commands in the console. > > > > So, i added in the file /usr/local/nagios/etc/objects/contacts.cfg > > for the contact 'admin': > > > > service_notification_commands > notify-service-by-email,notify-service-by-sms > > host_notification_commands notify-host-by-email,notify-host-by-sms > > Right. Just for fun. What happens if you switch the order? SMS first. > Then email. > > > #!/bin/sh > > # > > # Gnokii Plugin script > > # (c) Horst venzke > > # v 0.1 - 17.01.2004 > > > > echo Alert |/usr/local/bin/gnokii --sendsms 07xxxxxxxx > > Add a line to log to a file and see if that works by checking the log. > > Hugo. > > - -- > hvdkooij vanderkooij.org http://hugo.vanderkooij.org/ > PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc > > A: Yes. > >Q: Are you sure? > >>A: Because it reverses the logical flow of conversation. > >>>Q: Why is top posting frowned upon? > > Bored? Click on http://spamornot.org/ and rate those images. > > Nid wyf yn y swyddfa ar hyn o bryd. Anfonwch unrhyw waith i'w gyfieithu. > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.7 (GNU/Linux) > Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org > > iD8DBQFJHyRTBvzDRVjxmYERAvuaAJwJ9bFRhgRqzTKAoxljiPSHZdCerQCeKJ2N > u98muNPF4uX+TCoz/9bG4+M= > =NVyY > -----END PGP SIGNATURE----- > > ------------------------------------------------------------------------- > 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=100&url=/ > _______________________________________________ > 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=100&url=/ > _______________________________________________ > 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From steve at sliderule.demon.co.uk Tue Nov 18 02:00:40 2008 From: steve at sliderule.demon.co.uk (Steve Burton) Date: Tue, 18 Nov 2008 01:00:40 +0000 Subject: Integrating nagios with nagiosgraph and drraw - URLproblem In-Reply-To: <37c712e0811171355o2bb88dbn54ab04d937fe73aa@mail.gmail.com> References: <816468740.20081116031458@sliderule.demon.co.uk> <79B77295FBC9F247A32A6C98B67B1E1408BE8E@srv-1exch01.sourceinterlink.com> <139311989.20081117214558@sliderule.demon.co.uk> <37c712e0811171355o2bb88dbn54ab04d937fe73aa@mail.gmail.com> Message-ID: <65173609.20081118010040@sliderule.demon.co.uk> > On Mon, Nov 17, 2008 at 16:45, Steve Burton > wrote: >> > Hey Steve: >> >> > I don't know if it will work or not but you could try escaping the >> > semicolon. >> >> > E.g. >> > >> ://nagios.my.domain/drraw/drraw.cgi?Mode=view\;Graph=1226789709.8592 >> >> > -Jake >> >> Middle posting :) >> >> Jake, >> >> yes and no! inserting the \ in action_url does stop nagios removing >> the end of the line but then \; gives a 'Invalid Request' in the >> browser when you click on the link. > What about url-escaping the value of ";"? > RFC1738 would argue, but try: > ://nagios.my.domain/drraw/drraw.cgi?Mode=view%3BGraph=1226789709.8592 > Allan No that doesn't work. I gets past nagios but then drraw doesn't understand URI encoding. Steve. ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From hvdkooij at vanderkooij.org Tue Nov 18 07:13:15 2008 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Tue, 18 Nov 2008 07:13:15 +0100 Subject: Integrating nagios with nagiosgraph and drraw - URLproblem In-Reply-To: <65173609.20081118010040@sliderule.demon.co.uk> References: <816468740.20081116031458@sliderule.demon.co.uk> <79B77295FBC9F247A32A6C98B67B1E1408BE8E@srv-1exch01.sourceinterlink.com> <139311989.20081117214558@sliderule.demon.co.uk> <37c712e0811171355o2bb88dbn54ab04d937fe73aa@mail.gmail.com> <65173609.20081118010040@sliderule.demon.co.uk> Message-ID: <49225CFB.9080807@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Steve Burton wrote: >> On Mon, Nov 17, 2008 at 16:45, Steve Burton >> ://nagios.my.domain/drraw/drraw.cgi?Mode=view%3BGraph=1226789709.8592 > > No that doesn't work. I gets past nagios but then drraw doesn't > understand URI encoding. Time to fix drraw. Hugo. - -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc A: Yes. >Q: Are you sure? >>A: Because it reverses the logical flow of conversation. >>>Q: Why is top posting frowned upon? Bored? Click on http://spamornot.org/ and rate those images. Nid wyf yn y swyddfa ar hyn o bryd. Anfonwch unrhyw waith i'w gyfieithu. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org iD8DBQFJIlz4BvzDRVjxmYERAtPFAJ4vSq6ZNqQSBt6nyT/H11bRBst9ZQCeJPRe a1A3MjQS6LslYXb20dIicWc= =owIP -----END PGP SIGNATURE----- ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From hvdkooij at vanderkooij.org Tue Nov 18 07:23:31 2008 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Tue, 18 Nov 2008 07:23:31 +0100 Subject: Data strored in .RRD but nagios graph is not showingthe data(graph is Empty) In-Reply-To: <2BA70ED7C7275645B648362FB35913A901EB5528@exchange.ishisystems.com> References: <2BA70ED7C7275645B648362FB35913A901EB5522@exchange.ishisystems.com> <2BA70ED7C7275645B648362FB35913A901EB5528@exchange.ishisystems.com> Message-ID: <49225F63.3040403@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Novin Jaiswal wrote: > One more thing to share abt the issue. > > In every graph all MIN, Max, Avg, Cur values are shown as ?nan?. That is usually the case when you do not have any real data in the database. So focus on getting real data into RRD first. Hugo. - -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc A: Yes. >Q: Are you sure? >>A: Because it reverses the logical flow of conversation. >>>Q: Why is top posting frowned upon? Bored? Click on http://spamornot.org/ and rate those images. Nid wyf yn y swyddfa ar hyn o bryd. Anfonwch unrhyw waith i'w gyfieithu. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org iD8DBQFJIl9hBvzDRVjxmYERArpxAJwOi3FQq5oivD0oWboyiA0vtgEdegCfXnhb bkeN6GZ79fyS874xKirHQeM= =o1Ty -----END PGP SIGNATURE----- ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Volker.Ganswind at wincanton.eu Tue Nov 18 08:04:29 2008 From: Volker.Ganswind at wincanton.eu (Volker.Ganswind at wincanton.eu) Date: Tue, 18 Nov 2008 07:04:29 +0000 Subject: =?iso-8859-1?q?Volker_Ganswind_ist_au=DFer_Haus=2E?= Message-ID: Ich werde ab 17.11.2008 nicht im B?ro sein. Ich kehre zur?ck am 21.11.2008. Ich werde Ihre Nachricht nach meiner R?ckkehr beantworten. Sitz der Gesellschaft: Mannheim Amtsgericht Mannheim HRB 4814 Vorsitzender des Aufsichtsrats: Dr. Walter Hasselkus Geschaeftsfuehrer: Alexander Bauz, Harry W. Dumser, Dr. Wolfgang H?nemann, Thomas Westphal, Dr. Christian Wurst ---------------------------------------------------------- Wir arbeiten ausschliesslich auf Grundlage der Allgemeinen Deutschen Spediteurbedingungen, jeweils neueste Fassung. Diese beschraenken in Ziffer 23 die Haftung fuer Gueterschaeden in speditionellem Gewahrsam auf EUR 5/kg, bei Transporten mit verschiedenen Befoerderungsmitteln unter Einschluss einer Seebefoerderung auf 2 SZR/kg sowie darueber hinaus je Schadenfall bzw. Schadenereignis auf EUR 1 Mio. bzw. EUR 2 Mio. oder 2 SZR/kg je nachdem, welcher Betrag hoeher ist. Ziffer 27 ADSp gilt nicht als Vereinbarung anderer Haftungsh?chstbetr?ge im Sinne Art.25 Montrealer Abkommen. Bei allgemeinen Binnenschiffstransporten gelten unsere Verlade- und Transportbedingungen. Diese begrenzen nach Paragraph 17 die Haftung fuer Gueterschaeden auf 2 SZR/kg. Bei Containerbinnenschiffstransporten gelten die Allgemeinen Geschaeftsbedingungen der Rhinecontainer B.V., Rotterdam. Diese sehen eine Haftung fuer Gueterschaeden bis zu 2 SZR/kg vor, soweit der Ort der Uebernahme und der Ort der Ablieferung des Gutes innerhalb Deutschlands liegen. ---------------------------------------------------------- Wincanton plc is a leading European provider of supply chain solutions. We design, implement and operate creative solutions for customers across Europe. Our business has a turnover of over EUR 2.8bn / ?1.9bn and employs 30,000 staff across 400 locations. Warehousing, transport and specialist services are provided for customers in a range of sectors including automotive, retail, FMCG, petrochemicals and manufacturing. Further information on our unique achievements and competencies can be found by visiting: http://www.wincanton.co.uk. ---------------------------------------------------------- CONFIDENTIAL NOTE: This e-mail and any files transmitted with it are confidential and intended solely for the use of the individual(s) to whom it is addressed. If you have received this e-mail in error please contact IT Service Desk on +49 (0) 621 / 8048 - 100 or e-mail it.service at wincanton.eu. Any views or opinions expressed are solely those of the author and do not necessarily represent those of Wincanton GmbH or any of its subsidiary companies. Unauthorised publication, use, dissemination, forwarding, printing or copying of this e-mail and its associated attachment(s) is strictly prohibited. Wincanton GmbH, Antwerpener Str. 24, D-68219 Mannheim. ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From alexus at gmail.com Tue Nov 18 08:57:24 2008 From: alexus at gmail.com (alexus) Date: Tue, 18 Nov 2008 02:57:24 -0500 Subject: nagios not sending service alerts Message-ID: <6ae50c2d0811172357q6236e9ffs343cda6da3b5227f@mail.gmail.com> for some reason I'm not getting any alerts for any of services, I think I've checked everywhere... I've created a dummy service [1226994112] SERVICE ALERT: XXX.box;check_dummy;CRITICAL;SOFT;1;CRITICAL [1226994172] SERVICE ALERT: XXX.box;check_dummy;CRITICAL;HARD;2;CRITICAL besides these two, nothing.. no NOTIFICATION this is my host configuration define host { host_name XXX alias XXX address XXX parents XXX hostgroups XXX check_command check_icmp max_check_attempts 1 check_interval 0 active_checks_enabled 1 passive_checks_enabled 1 check_period 24x7 obsess_over_host 1 check_freshness 0 event_handler_enabled 1 flap_detection_enabled 1 failure_prediction_enabled 1 process_perf_data 0 retain_status_information 1 retain_nonstatus_information 1 contact_groups staff notification_interval 30 notification_period 24x7 notification_options d,u,r,f notifications_enabled 1 register 1 } and this is my service define service { host_name XXX service_description check_dummy is_volatile 0 check_command check_dummy!2 max_check_attempts 2 normal_check_interval 2 retry_check_interval 1 active_checks_enabled 1 passive_checks_enabled 1 check_period 24x7 parallelize_check 1 obsess_over_service 1 check_freshness 0 event_handler_enabled 1 flap_detection_enabled 1 failure_prediction_enabled 1 process_perf_data 0 retain_status_information 1 retain_nonstatus_information 1 contact_groups staff notification_interval 4 notification_period 24x7 notification_options w,u,c,r,f notifications_enabled 1 register 1 } -- http://alexus.org/ ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From assaf.flatto at ssp.uk.com Tue Nov 18 11:44:43 2008 From: assaf.flatto at ssp.uk.com (Assaf Flatto) Date: Tue, 18 Nov 2008 10:44:43 +0000 Subject: nagios not sending service alerts In-Reply-To: <6ae50c2d0811172357q6236e9ffs343cda6da3b5227f@mail.gmail.com> References: <6ae50c2d0811172357q6236e9ffs343cda6da3b5227f@mail.gmail.com> Message-ID: <200811181044.43324.assaf.flatto@ssp.uk.com> And the Contacts in the staff group , what notification did you put in there ? On Tuesday 18 November 2008 07:57:24 alexus wrote: > for some reason I'm not getting any alerts for any of services, I > think I've checked everywhere... > > I've created a dummy service > > [1226994112] SERVICE ALERT: XXX.box;check_dummy;CRITICAL;SOFT;1;CRITICAL > [1226994172] SERVICE ALERT: XXX.box;check_dummy;CRITICAL;HARD;2;CRITICAL > > besides these two, nothing.. no NOTIFICATION > > this is my host configuration > > define host { > host_name XXX > alias XXX > address XXX > parents XXX > hostgroups XXX > check_command check_icmp > max_check_attempts 1 > check_interval 0 > active_checks_enabled 1 > passive_checks_enabled 1 > check_period 24x7 > obsess_over_host 1 > check_freshness 0 > event_handler_enabled 1 > flap_detection_enabled 1 > failure_prediction_enabled 1 > process_perf_data 0 > retain_status_information 1 > retain_nonstatus_information 1 > contact_groups staff > notification_interval 30 > notification_period 24x7 > notification_options d,u,r,f > notifications_enabled 1 > register 1 > } > > and this is my service > > define service { > host_name XXX > service_description check_dummy > is_volatile 0 > check_command check_dummy!2 > max_check_attempts 2 > normal_check_interval 2 > retry_check_interval 1 > active_checks_enabled 1 > passive_checks_enabled 1 > check_period 24x7 > parallelize_check 1 > obsess_over_service 1 > check_freshness 0 > event_handler_enabled 1 > flap_detection_enabled 1 > failure_prediction_enabled 1 > process_perf_data 0 > retain_status_information 1 > retain_nonstatus_information 1 > contact_groups staff > notification_interval 4 > notification_period 24x7 > notification_options w,u,c,r,f > notifications_enabled 1 > register 1 > } -- Assaf Flatto SSP Ops Team Linux System Administrator 169 Euston Road, London, NW1 2AE 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From melanie_pfefer at yahoo.co.uk Tue Nov 18 13:27:19 2008 From: melanie_pfefer at yahoo.co.uk (Melanie Pfefer) Date: Tue, 18 Nov 2008 12:27:19 +0000 (GMT) Subject: check snmp Message-ID: <931021.98494.qm@web26206.mail.ukl.yahoo.com> hi i want to check whether snmp is up on a widnows or unix machine. what is the syntax to use for check_snmp? thx ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ae at op5.se Tue Nov 18 13:41:05 2008 From: ae at op5.se (Andreas Ericsson) Date: Tue, 18 Nov 2008 13:41:05 +0100 Subject: check snmp In-Reply-To: <931021.98494.qm@web26206.mail.ukl.yahoo.com> References: <931021.98494.qm@web26206.mail.ukl.yahoo.com> Message-ID: <4922B7E1.4040901@op5.se> Melanie Pfefer wrote: > hi > > i want to check whether snmp is up on a widnows or unix machine. > > what is the syntax to use for check_snmp? > "check_snmp --help" and 4 seconds of brain activity will give you the answer. I'd recommend a glass of wine or two before doing the thinking. It will help reduce the shock. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From melanie_pfefer at yahoo.co.uk Tue Nov 18 13:48:54 2008 From: melanie_pfefer at yahoo.co.uk (Melanie Pfefer) Date: Tue, 18 Nov 2008 12:48:54 +0000 (GMT) Subject: check snmp In-Reply-To: <4922B7E1.4040901@op5.se> References: <4922B7E1.4040901@op5.se> Message-ID: <9930.71886.qm@web26201.mail.ukl.yahoo.com> Hi perhaps I was not clear in my question. What is the OID that should be used to see if snmp service is up or down? thank you --- On Tue, 18/11/08, Andreas Ericsson wrote: > From: Andreas Ericsson > Subject: Re: [Nagios-users] check snmp > To: melanie_pfefer at yahoo.co.uk > Cc: nagios-users at lists.sourceforge.net > Date: Tuesday, 18 November, 2008, 2:41 PM > Melanie Pfefer wrote: > > hi > > > > i want to check whether snmp is up on a widnows or > unix machine. > > > > what is the syntax to use for check_snmp? > > > > "check_snmp --help" and 4 seconds of brain > activity will give you > the answer. I'd recommend a glass of wine or two before > doing the > thinking. It will help reduce the shock. > > -- Andreas Ericsson > andreas.ericsson at op5.se > OP5 AB www.op5.se > Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From simon.kainz at tugraz.at Tue Nov 18 13:59:05 2008 From: simon.kainz at tugraz.at (Simon Kainz) Date: Tue, 18 Nov 2008 13:59:05 +0100 Subject: check snmp In-Reply-To: <9930.71886.qm@web26201.mail.ukl.yahoo.com> References: <9930.71886.qm@web26201.mail.ukl.yahoo.com> Message-ID: <4922BC19.1040905@tugraz.at> Melanie Pfefer wrote: > Hi > > perhaps I was not clear in my question. > > What is the OID that should be used to see if snmp service is up or down? > > thank you Hi! I would suggest using snmpwalk to see which services are available first. This normally returns a pretty long list of values to pick one from. regards, -- Simon Kainz, BSc Graz, University of Technology Department Computing Phone: ++43 (0) 316 / 873 6885 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 260 bytes Desc: OpenPGP digital signature URL: -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From hir3npatel at gmail.com Tue Nov 18 14:06:50 2008 From: hir3npatel at gmail.com (hiren) Date: Tue, 18 Nov 2008 15:06:50 +0200 Subject: check snmp In-Reply-To: <4922B7E1.4040901@op5.se> References: <931021.98494.qm@web26206.mail.ukl.yahoo.com> <4922B7E1.4040901@op5.se> Message-ID: <1227013610.9812.12.camel@firebird> On Tue, 2008-11-18 at 13:41 +0100, Andreas Ericsson wrote: > Melanie Pfefer wrote: > > hi > > > > i want to check whether snmp is up on a widnows or unix machine. > > > > what is the syntax to use for check_snmp? > > > > "check_snmp --help" and 4 seconds of brain activity will give you > the answer. I'd recommend a glass of wine or two before doing the > thinking. It will help reduce the shock. > haha, printing the nagios docs and keeping them under the pillow for a few nights is also rumored to help. without reading any documentation, or bother to try and see what the check does or how it works, posting here is asking for this reply. the docs are pretty good, enjoy the read ;) ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From melanie_pfefer at yahoo.co.uk Tue Nov 18 14:09:52 2008 From: melanie_pfefer at yahoo.co.uk (Melanie Pfefer) Date: Tue, 18 Nov 2008 13:09:52 +0000 (GMT) Subject: check snmp In-Reply-To: <4922BC19.1040905@tugraz.at> References: <4922BC19.1040905@tugraz.at> Message-ID: <533767.79242.qm@web26203.mail.ukl.yahoo.com> hi I already listed the available oid using snmpwalk. I did not find any oid about snmp should I use just any oid? thx --- On Tue, 18/11/08, Simon Kainz wrote: > From: Simon Kainz > Subject: Re: [Nagios-users] check snmp > To: > Cc: nagios-users at lists.sourceforge.net > Date: Tuesday, 18 November, 2008, 2:59 PM > Melanie Pfefer wrote: > > Hi > > > > perhaps I was not clear in my question. > > > > What is the OID that should be used to see if snmp > service is up or down? > > > > thank you > > Hi! > I would suggest using snmpwalk to see which services are > available > first. This normally returns a pretty long list of values > to pick one from. > > regards, > > > > > -- > Simon Kainz, BSc > Graz, University of Technology > Department Computing > Phone: ++43 (0) 316 / 873 6885 > > ------------------------------------------------------------------------- > 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=100&url=/_______________________________________________ > Nagios-users mailing list > Nagios-users at 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From twelcome at tenet.ac.za Tue Nov 18 14:17:30 2008 From: twelcome at tenet.ac.za (Traiano Welcome) Date: Tue, 18 Nov 2008 15:17:30 +0200 Subject: check snmp In-Reply-To: <9930.71886.qm@web26201.mail.ukl.yahoo.com> References: <9930.71886.qm@web26201.mail.ukl.yahoo.com> Message-ID: <4922C06A.7060707@tenet.ac.za> Hi Melanie Pfefer wrote: > Hi > > perhaps I was not clear in my question. > > What is the OID that should be used to see if snmp service is up or down? > > thank you > > You wouldn't need an OID here, if the SNMP service on the remote box has failed, then the check_snmp plugin would fail when connecting to the remote end. That's the indicator that the snmp service is down, and it would be confirmed if a check_ping test was successful. > --- On Tue, 18/11/08, Andreas Ericsson wrote: > > >> From: Andreas Ericsson >> Subject: Re: [Nagios-users] check snmp >> To: melanie_pfefer at yahoo.co.uk >> Cc: nagios-users at lists.sourceforge.net >> Date: Tuesday, 18 November, 2008, 2:41 PM >> Melanie Pfefer wrote: >> >>> hi >>> >>> i want to check whether snmp is up on a widnows or >>> >> unix machine. >> >>> what is the syntax to use for check_snmp? >>> >>> >> "check_snmp --help" and 4 seconds of brain >> activity will give you >> the answer. I'd recommend a glass of wine or two before >> doing the >> thinking. It will help reduce the shock. >> >> -- Andreas Ericsson >> andreas.ericsson at op5.se >> OP5 AB www.op5.se >> Tel: +46 8-230225 Fax: +46 8-230231 >> > > > > > ------------------------------------------------------------------------- > 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=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Sascha.Runschke at gfkl.com Tue Nov 18 14:19:40 2008 From: Sascha.Runschke at gfkl.com (Sascha.Runschke at gfkl.com) Date: Tue, 18 Nov 2008 14:19:40 +0100 Subject: Antwort: Re: check snmp In-Reply-To: <533767.79242.qm@web26203.mail.ukl.yahoo.com> References: <533767.79242.qm@web26203.mail.ukl.yahoo.com> Message-ID: Melanie Pfefer schrieb am 18.11.2008 14:09:52: > I already listed the available oid using snmpwalk. I did not find > any oid about snmp If you think twice about your question, you should notice the absurdity of it ;) > should I use just any oid? There is no real reason to check for snmp, other then polling specific oid's to monitor something. If you do not check any snmp oids - why do you want to know if snmp is running? Besides, you could just do a check_udp on port 161, then you'd know if there is something listening. Regards Sascha -- Sascha Runschke IT-Infrastruktur fon : +49 (201) / 102-1879 fax : +49 (201) / 102-1102105 mobil : +49 (173) / 5419665 GFKL Financial Services AG Vorstand: Dr. Peter J?nsch (Vors.), J?rgen Baltes, Dr. Till Ergenzinger, Dr. Tom Haverkamp Vorsitzender des Aufsichtsrats: Dr. Georg F. Thoma Sitz: Limbecker Platz 1, 45127 Essen, Amtsgericht Essen, HRB 13522 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From dani at tydnet.org Tue Nov 18 14:23:54 2008 From: dani at tydnet.org (Daniel =?iso-8859-1?q?L=F3pez?=) Date: Tue, 18 Nov 2008 14:23:54 +0100 Subject: check snmp In-Reply-To: <533767.79242.qm@web26203.mail.ukl.yahoo.com> References: <533767.79242.qm@web26203.mail.ukl.yahoo.com> Message-ID: <200811181423.54376.dani@tydnet.org> On Tuesday 18 November 2008 02:09:52 pm Melanie Pfefer wrote: > hi > > I already listed the available oid using snmpwalk. I did not find any oid > about snmp > > should I use just any oid? > i think you should use check_tcp to see if the port is available. If you want to use check_snmp to check the snmp just ask for the Uptime.oid (or any oid as you say) as long as it replies the service is available. greetings, dani ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From steve at sliderule.demon.co.uk Tue Nov 18 14:15:16 2008 From: steve at sliderule.demon.co.uk (Steve Burton) Date: Tue, 18 Nov 2008 13:15:16 +0000 Subject: check snmp In-Reply-To: <4922BC19.1040905@tugraz.at> References: <9930.71886.qm@web26201.mail.ukl.yahoo.com> <4922BC19.1040905@tugraz.at> Message-ID: <4922BFE4.2030207@sliderule.demon.co.uk> Simon Kainz wrote: > Melanie Pfefer wrote: > >> Hi >> >> perhaps I was not clear in my question. >> >> What is the OID that should be used to see if snmp service is up or down? >> >> thank you >> > > Hi! > I would suggest using snmpwalk to see which services are available > first. This normally returns a pretty long list of values to pick one from. > > regards, > > Or, if you're working on a Windows box, use the browser in Getif (http://www.wtcs.org/snmp4tpc/getif.htm) Steve. > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > 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=100&url=/ > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From paul.weaver at bbc.co.uk Tue Nov 18 14:58:57 2008 From: paul.weaver at bbc.co.uk (Paul Weaver) Date: Tue, 18 Nov 2008 13:58:57 -0000 Subject: check snmp In-Reply-To: <200811181423.54376.dani@tydnet.org> References: <533767.79242.qm@web26203.mail.ukl.yahoo.com> <200811181423.54376.dani@tydnet.org> Message-ID: > i think you should use check_tcp to see if the port is available. SNMP is UDP based, and wont respond without a valid community string You could always do an snmp check to see if snmpd is running ;) > If you want to use check_snmp to check the snmp just ask for > the Uptime.oid (or any oid as you say) as long as it replies > the service is available. #Any old oid, any old oid, any any any old oid? ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From challenger_joseph at yahoo.com.mx Tue Nov 18 15:20:45 2008 From: challenger_joseph at yahoo.com.mx (=?iso-8859-1?Q?Christian_I=F1iguez?=) Date: Tue, 18 Nov 2008 06:20:45 -0800 (PST) Subject: Cannot find ssl headers Message-ID: <635133.32943.qm@web36507.mail.mud.yahoo.com> Hi all. I've been?trying to install nagios-plugin (nagios-plugins-1.4.13)?and nrpe (nrpe-2.12)?to be able to monitor server (Debian 3.1) but when ./configure nrpe have this error: checking for SSL headers... configure error: Cannot find ssl headers On servers with Red Hat everything is ok, but on Debian I got the above?error =( Do you know how can I solve this issue? Or the way to set up nagios-plugin and nrpe on Debian? Thanks in advance! Premios MTV 2008?En exclusiva! Fotos, nominados, videos, y mucho m?s! Mira aqu? http://mtvla.yahoo.com/ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From novin.jaiswal at ishisystems.com Tue Nov 18 15:28:37 2008 From: novin.jaiswal at ishisystems.com (Novin Jaiswal) Date: Tue, 18 Nov 2008 09:28:37 -0500 Subject: Data strored in .RRD but nagios graph is not showingthe data(graph is Empty) In-Reply-To: <49225F63.3040403@vanderkooij.org> References: <2BA70ED7C7275645B648362FB35913A901EB5522@exchange.ishisystems.com><2BA70ED7C7275645B648362FB35913A901EB5528@exchange.ishisystems.com> <49225F63.3040403@vanderkooij.org> Message-ID: <2BA70ED7C7275645B648362FB35913A901EB552E@exchange.ishisystems.com> Hi Hugo, Thanks for your reply. I don't want to build the graph based on perfdata but based on Output send by the client. Can you pls clearify wht is mean by real data or help or hint. Thanks Thanks & Regards Novin Jaiswal Ishi Systems Inc. 201-521-3155(Direct) 732-318-8156(Cell) -----Original Message----- From: Hugo van der Kooij [mailto:hvdkooij at vanderkooij.org] Sent: Tuesday, November 18, 2008 1:24 AM To: Nagios Users Mailinglist Subject: Re: [Nagios-users] Data strored in .RRD but nagios graph is not showingthe data(graph is Empty) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Novin Jaiswal wrote: > One more thing to share abt the issue. > > In every graph all MIN, Max, Avg, Cur values are shown as ?nan?. That is usually the case when you do not have any real data in the database. So focus on getting real data into RRD first. Hugo. - -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc A: Yes. >Q: Are you sure? >>A: Because it reverses the logical flow of conversation. >>>Q: Why is top posting frowned upon? Bored? Click on http://spamornot.org/ and rate those images. Nid wyf yn y swyddfa ar hyn o bryd. Anfonwch unrhyw waith i'w gyfieithu. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org iD8DBQFJIl9hBvzDRVjxmYERArpxAJwOi3FQq5oivD0oWboyiA0vtgEdegCfXnhb bkeN6GZ79fyS874xKirHQeM= =o1Ty -----END PGP SIGNATURE----- ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jperrin at gmail.com Tue Nov 18 15:36:00 2008 From: jperrin at gmail.com (Jim Perrin) Date: Tue, 18 Nov 2008 09:36:00 -0500 Subject: Cannot find ssl headers In-Reply-To: <635133.32943.qm@web36507.mail.mud.yahoo.com> References: <635133.32943.qm@web36507.mail.mud.yahoo.com> Message-ID: <302ce8b50811180636x52e9dbcdo25754549baf52495@mail.gmail.com> On Tue, Nov 18, 2008 at 9:20 AM, Christian I?iguez wrote: > Hi all. > > I've been trying to install nagios-plugin (nagios-plugins-1.4.13) and nrpe > (nrpe-2.12) to be able to monitor server (Debian 3.1) but when > ./configure nrpe have this error: > > checking for SSL headers... configure error: Cannot find ssl headers Seems you need to install the development package. There's likely an openssl-dev or libssl-dev package you need to install for this to work. -- During times of universal deceit, telling the truth becomes a revolutionary act. George Orwell ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From tom at ng23.net Tue Nov 18 15:21:49 2008 From: tom at ng23.net (Tom Brown) Date: Tue, 18 Nov 2008 14:21:49 +0000 Subject: check_udp ? Message-ID: <4922CF7D.1020804@ng23.net> Hi Does anyone know if there is a plugin that can monitor UDP statistics and then warn when thresholds are met. ie more than x UDP packets seen on a port then warn? Or something similar? thanks ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From blynch at ameliaschools.com Tue Nov 18 15:39:31 2008 From: blynch at ameliaschools.com (Bo Lynch) Date: Tue, 18 Nov 2008 09:39:31 -0500 (EST) Subject: Cannot find ssl headers In-Reply-To: <635133.32943.qm@web36507.mail.mud.yahoo.com> References: <635133.32943.qm@web36507.mail.mud.yahoo.com> Message-ID: <43258.65.161.127.93.1227019171.squirrel@ameliaschools.com> On Tue, November 18, 2008 9:20 am, Christian I?iguez wrote: > Hi all. > > I've been trying to install nagios-plugin (nagios-plugins-1.4.13) and nrpe > (nrpe-2.12) to be able to monitor server (Debian 3.1) but when > ./configure nrpe have this error: > > checking for SSL headers... configure error: Cannot find ssl headers > > On servers with Red Hat everything is ok, but on Debian I got the > above error =( > > Do you know how can I solve this issue? > Or the way to set up nagios-plugin and nrpe on Debian? > > Thanks in advance! > > > Premios MTV 2008?En exclusiva! Fotos, nominados, videos, y mucho > m?s! Mira aqu? > Looks like you need the ssl development package installed. ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jpratt at norwich.edu Tue Nov 18 15:44:19 2008 From: jpratt at norwich.edu (James Pratt) Date: Tue, 18 Nov 2008 09:44:19 -0500 Subject: check snmp In-Reply-To: <533767.79242.qm@web26203.mail.ukl.yahoo.com> References: <4922BC19.1040905@tugraz.at> <533767.79242.qm@web26203.mail.ukl.yahoo.com> Message-ID: <8147CCE3C4A8764DA9980125EE70E8234E98DD@nuexchg.norwich.edu> Melanie, take a look at nagios-snmp plugins - http://nagios.manubulon.com/ For example, the custom command in commands.cfg to check for snmpd service on a windows box would be define command{ command_name check_snmp_win command_line $USER1$/check_snmp_win.pl -H $HOSTADDRESS$ communityname -n $ARG1$ } (Obviously, $ARG1% is the windows service name - as for unix, you would use something like this: /usr/local/nagios/libexec/check_snmp_process -H 10.14.1.07 -C public -2 -n snmpd OK : 1 process matching snmpd(> 0) Hope this helps , Regards Jamie > -----Original Message----- > From: Melanie Pfefer [mailto:melanie_pfefer at yahoo.co.uk] > Sent: Tuesday, November 18, 2008 8:10 AM > To: Simon Kainz > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] check snmp > > hi > > I already listed the available oid using snmpwalk. I did not find any oid about snmp > > should I use just any oid? > > thx > > > --- On Tue, 18/11/08, Simon Kainz wrote: > > > From: Simon Kainz > > Subject: Re: [Nagios-users] check snmp > > To: > > Cc: nagios-users at lists.sourceforge.net > > Date: Tuesday, 18 November, 2008, 2:59 PM > > Melanie Pfefer wrote: > > > Hi > > > > > > perhaps I was not clear in my question. > > > > > > What is the OID that should be used to see if snmp > > service is up or down? > > > > > > thank you > > > > Hi! > > I would suggest using snmpwalk to see which services are > > available > > first. This normally returns a pretty long list of values > > to pick one from. > > > > regards, > > > > > > > > > > -- > > Simon Kainz, BSc > > Graz, University of Technology > > Department Computing > > Phone: ++43 (0) 316 / 873 6885 > > > > ------------------------------------------------------------------------ - > > 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=100&url=/___________________________ > ____________________ > > Nagios-users mailing list > > Nagios-users at 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=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Tue Nov 18 15:57:30 2008 From: marc at ena.com (Marc Powell) Date: Tue, 18 Nov 2008 08:57:30 -0600 Subject: check_udp ? In-Reply-To: <4922CF7D.1020804@ng23.net> References: <4922CF7D.1020804@ng23.net> Message-ID: <6E5EC046-918F-4495-9094-6F46996E1B4E@ena.com> On Nov 18, 2008, at 8:21 AM, Tom Brown wrote: > Hi > > Does anyone know if there is a plugin that can monitor UDP statistics > and then warn when thresholds are met. > > ie more than x UDP packets seen on a port then warn? Or something > similar? I've never seen one and am not aware of any system counter that tracks that. Do you know of one? I believe you'd either have to get that information from the daemon running on that port (if it supported it), or use some kind of packet capture methodology to passively watch and count them. -- Marc ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From assaf.flatto at ssp.uk.com Tue Nov 18 15:35:30 2008 From: assaf.flatto at ssp.uk.com (Assaf Flatto) Date: Tue, 18 Nov 2008 14:35:30 +0000 Subject: Cannot find ssl headers In-Reply-To: <635133.32943.qm@web36507.mail.mud.yahoo.com> References: <635133.32943.qm@web36507.mail.mud.yahoo.com> Message-ID: <200811181435.30253.assaf.flatto@ssp.uk.com> You have two ways to to it 1) ./configure --no-ssl this will cause the configure to not search the ssl module and there for run with no ssl complied . 2) apt-get install openssl or mod_ssl - not sure about the way debian packages are . Install the ssl packages and then rerun the complie script. Assaf On Tuesday 18 November 2008 14:20:45 Christian I?iguez wrote: > Hi all. > > I've been?trying to install nagios-plugin (nagios-plugins-1.4.13)?and nrpe > (nrpe-2.12)?to be able to monitor server (Debian 3.1) but when ./configure > nrpe have this error: > > checking for SSL headers... configure error: Cannot find ssl headers > > On servers with Red Hat everything is ok, but on Debian I got the > above?error =( > > Do you know how can I solve this issue? > Or the way to set up nagios-plugin and nrpe on Debian? > > Thanks in advance! > > > Premios MTV 2008?En exclusiva! Fotos, nominados, videos, y mucho m?s! > Mira aqu? http://mtvla.yahoo.com/ -- Assaf Flatto SSP Ops Team Linux System Administrator 169 Euston Road, London, NW1 2AE 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From lflacayo at cps.k12.il.us Tue Nov 18 16:03:49 2008 From: lflacayo at cps.k12.il.us (Luis Fernando Lacayo) Date: Tue, 18 Nov 2008 09:03:49 -0600 Subject: Email Notifications In-Reply-To: <30764511.52621226574735422.JavaMail.root@webmailbox300.eircom.net> References: <30764511.52621226574735422.JavaMail.root@webmailbox300.eircom.net> Message-ID: <1227020629.27956.5.camel@UNIX-TEAM-LACAYO> try this: define command{ command_name host-notify-by-email command_line /usr/bin/printf "%b" "***** Nagios *****\n \nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n" | /bin/mail -s "Host $HOSTSTATE$ alert for $HOSTNAME $!" $CONTACTEMAIL$ On Thu, 2008-11-13 at 11:12 +0000, kellyjackie at eircom.net wrote: > > > I am dissapointed with the way in which my questions have been recieved here. It seems like only experts are welcome. How is anybody supposed to learn. There was once a day when you all were beginning too.I have heard so much about the linux community but im not experiencing that at all. > > So after almost unsubscribing from this mailing list Im going to give it another chance. > Heres my question: > > I have set up Nagios 3 monitoring some machines and their services. I am now trying to set up email notifications. > I have installed the following on the linux box: > eSMTP- run > procmail > I can send emails with the following line: > echo "test" | /usr/bin/esmtp - C ~/esmtprc me at outsideemailaddress - f me at internalemailaddress > This sends me an email from our mail server. However when i try: > mailx -s tacos myemail at email.com > this just hangs. > > The commands.cfg files contains: > # 'notify-host-by-email' command definition > define command{ > command_name notify-host-by-email > command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotificatio$... | /usr/bin/mailx -s "** $NOTIFICATIONTYPE$ Host... > } > > # 'notify-service-by-email' command definition > define command{ > command_name notify-service-by-email > command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotificatio$... | /usr/bin/mailx -s "** $NOTIFICATIONTYPE$ Host > } > > > Can i make modifications to these commands to use esmtp and not mailx or any suggestions to getting mailx working with eSMTP. > Also how can you force nagios to send email notifications for testing. > > Thanks for any advice > > > ------------------------------------------------------------------------- > 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=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 -- ______________________________________________________ Luis Fernando Lacayo Chicago Public Schools Senior Unix Administrator ITS/ UNIX Infrastructure Office: 773-553-3835 Cell: 773-203-4493 lflacayo at cps.k12.il.us ______________________________________________________ "In God we trust, the rest we monitor ..." -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ae at op5.se Tue Nov 18 16:07:09 2008 From: ae at op5.se (Andreas Ericsson) Date: Tue, 18 Nov 2008 16:07:09 +0100 Subject: check_udp ? In-Reply-To: <6E5EC046-918F-4495-9094-6F46996E1B4E@ena.com> References: <4922CF7D.1020804@ng23.net> <6E5EC046-918F-4495-9094-6F46996E1B4E@ena.com> Message-ID: <4922DA1D.9010602@op5.se> Marc Powell wrote: > On Nov 18, 2008, at 8:21 AM, Tom Brown wrote: > >> Hi >> >> Does anyone know if there is a plugin that can monitor UDP statistics >> and then warn when thresholds are met. >> >> ie more than x UDP packets seen on a port then warn? Or something >> similar? > > I've never seen one and am not aware of any system counter that tracks > that. Do you know of one? There are iptables modules for it in Linux, although it probably requires a bit of a head-start. > I believe you'd either have to get that > information from the daemon running on that port (if it supported it), > or use some kind of packet capture methodology to passively watch and > count them. > Opening a raw socket and continuously issuing recv(sd, hdr, sizeof(hdr), MSG_PEEK) on it would be one (very quick) way of getting that data stored. It's not difficult, just pretty bloody useless most of the time. It's nearly always better to just rate-limit the traffic from the start or block it entirely. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From tom at ng23.net Tue Nov 18 16:26:45 2008 From: tom at ng23.net (Tom Brown) Date: Tue, 18 Nov 2008 15:26:45 +0000 Subject: check_udp ? In-Reply-To: <4922DA1D.9010602@op5.se> References: <4922CF7D.1020804@ng23.net> <6E5EC046-918F-4495-9094-6F46996E1B4E@ena.com> <4922DA1D.9010602@op5.se> Message-ID: <4922DEB5.60402@ng23.net> > > Opening a raw socket and continuously issuing > > recv(sd, hdr, sizeof(hdr), MSG_PEEK) > > on it would be one (very quick) way of getting that data stored. > It's not difficult, just pretty bloody useless most of the time. > It's nearly always better to just rate-limit the traffic from the > start or block it entirely. > > thanks - we wanted to get this as there are some UDP comms that seem to have ramped up due to buggy code causing other issues so it would have been nice to be able to see if the rate of UDP queries could be alerted on. You can get UDP recieved from netstat -su so issuing that in a loop and comparing the results can be done but its nasty. ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From alexus at gmail.com Tue Nov 18 16:46:03 2008 From: alexus at gmail.com (alexus) Date: Tue, 18 Nov 2008 10:46:03 -0500 Subject: nagios not sending service alerts In-Reply-To: <200811181044.43324.assaf.flatto@ssp.uk.com> References: <6ae50c2d0811172357q6236e9ffs343cda6da3b5227f@mail.gmail.com> <200811181044.43324.assaf.flatto@ssp.uk.com> Message-ID: <6ae50c2d0811180746k6289c07td827ecffc7526bdd@mail.gmail.com> define contactgroup { contactgroup_name staff alias staff members DAC2 } define contact { contact_name DAC2 alias XXX host_notification_period 24x7 service_notification_period 24x7 host_notification_options d,u,r service_notification_options w,u,c,r host_notification_commands notify-host-by-email service_notification_commands notify-service-by-email email XXX at messaging.sprintpcs.com pager XXX at messaging.sprintpcs.com } define command { command_name notify-host-by-email command_line /usr/bin/printf "%b" "***** Nagios 2.12 *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n" | /usr/bin/mail -s "Host $HOSTSTATE$ alert for $HOSTNAME$!" $CONTACTEMAIL$ } define command { command_name notify-service-by-email command_line /usr/bin/printf "%b" "***** Nagios 2.12 *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional Info:\n\n$SERVICEOUTPUT$" | /usr/bin/mail -s "** $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$ } d# file /usr/bin/printf /usr/bin/printf: ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), for FreeBSD 6.3, dynamically linked (uses shared libs), stripped d# file /usr/bin/mail /usr/bin/mail: ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), for FreeBSD 6.3, dynamically linked (uses shared libs), stripped d# On Tue, Nov 18, 2008 at 5:44 AM, Assaf Flatto wrote: > And the Contacts in the staff group , what notification did you put in there ? > > > > On Tuesday 18 November 2008 07:57:24 alexus wrote: >> for some reason I'm not getting any alerts for any of services, I >> think I've checked everywhere... >> >> I've created a dummy service >> >> [1226994112] SERVICE ALERT: XXX.box;check_dummy;CRITICAL;SOFT;1;CRITICAL >> [1226994172] SERVICE ALERT: XXX.box;check_dummy;CRITICAL;HARD;2;CRITICAL >> >> besides these two, nothing.. no NOTIFICATION >> >> this is my host configuration >> >> define host { >> host_name XXX >> alias XXX >> address XXX >> parents XXX >> hostgroups XXX >> check_command check_icmp >> max_check_attempts 1 >> check_interval 0 >> active_checks_enabled 1 >> passive_checks_enabled 1 >> check_period 24x7 >> obsess_over_host 1 >> check_freshness 0 >> event_handler_enabled 1 >> flap_detection_enabled 1 >> failure_prediction_enabled 1 >> process_perf_data 0 >> retain_status_information 1 >> retain_nonstatus_information 1 >> contact_groups staff >> notification_interval 30 >> notification_period 24x7 >> notification_options d,u,r,f >> notifications_enabled 1 >> register 1 >> } >> >> and this is my service >> >> define service { >> host_name XXX >> service_description check_dummy >> is_volatile 0 >> check_command check_dummy!2 >> max_check_attempts 2 >> normal_check_interval 2 >> retry_check_interval 1 >> active_checks_enabled 1 >> passive_checks_enabled 1 >> check_period 24x7 >> parallelize_check 1 >> obsess_over_service 1 >> check_freshness 0 >> event_handler_enabled 1 >> flap_detection_enabled 1 >> failure_prediction_enabled 1 >> process_perf_data 0 >> retain_status_information 1 >> retain_nonstatus_information 1 >> contact_groups staff >> notification_interval 4 >> notification_period 24x7 >> notification_options w,u,c,r,f >> notifications_enabled 1 >> register 1 >> } > > > > -- > Assaf Flatto > SSP Ops Team > Linux System Administrator > 169 Euston Road, London, NW1 2AE > > > > > > 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=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > -- http://alexus.org/ ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Tue Nov 18 17:09:05 2008 From: marc at ena.com (Marc Powell) Date: Tue, 18 Nov 2008 10:09:05 -0600 Subject: nagios not sending service alerts In-Reply-To: <6ae50c2d0811180746k6289c07td827ecffc7526bdd@mail.gmail.com> References: <6ae50c2d0811172357q6236e9ffs343cda6da3b5227f@mail.gmail.com> <200811181044.43324.assaf.flatto@ssp.uk.com> <6ae50c2d0811180746k6289c07td827ecffc7526bdd@mail.gmail.com> Message-ID: <89D4B1FD-DFAC-4B70-AF25-D25C4CBA5369@ena.com> On Nov 18, 2008, at 9:46 AM, alexus wrote: > define contactgroup { > contactgroup_name staff > alias staff > members DAC2 > } > > define contact { > contact_name DAC2 > alias XXX > host_notification_period 24x7 > service_notification_period 24x7 > host_notification_options d,u,r > service_notification_options w,u,c,r > host_notification_commands notify-host-by-email > service_notification_commands notify-service-by-email > email XXX at messaging.sprintpcs.com > pager XXX at messaging.sprintpcs.com > } Looks fine. Are notifications disabled for the service in the web interface or disabled globally, either in nagios.cfg or via the web interface? -- Marc ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From hir3npatel at gmail.com Tue Nov 18 17:15:09 2008 From: hir3npatel at gmail.com (hiren) Date: Tue, 18 Nov 2008 18:15:09 +0200 Subject: nagios not sending service alerts In-Reply-To: <6ae50c2d0811172357q6236e9ffs343cda6da3b5227f@mail.gmail.com> References: <6ae50c2d0811172357q6236e9ffs343cda6da3b5227f@mail.gmail.com> Message-ID: <1227024909.9812.24.camel@firebird> On Tue, 2008-11-18 at 02:57 -0500, alexus wrote: > for some reason I'm not getting any alerts for any of services, I > think I've checked everywhere... > > I've created a dummy service > > [1226994112] SERVICE ALERT: XXX.box;check_dummy;CRITICAL;SOFT;1;CRITICAL > [1226994172] SERVICE ALERT: XXX.box;check_dummy;CRITICAL;HARD;2;CRITICAL you have notification logging in nagios.cfg enabled? if so, I think you should see messages that look like "SERVICE NOTIFICATION". I see those in my logs among the "SERVICE ALERT" messages. this might help you decide if it's a nagios configuration issue or command issue somewhere else. > > besides these two, nothing.. no NOTIFICATION > > this is my host configuration > > define host { > host_name XXX > alias XXX > address XXX > parents XXX > hostgroups XXX > check_command check_icmp > max_check_attempts 1 > check_interval 0 > active_checks_enabled 1 > passive_checks_enabled 1 > check_period 24x7 > obsess_over_host 1 > check_freshness 0 > event_handler_enabled 1 > flap_detection_enabled 1 > failure_prediction_enabled 1 > process_perf_data 0 > retain_status_information 1 > retain_nonstatus_information 1 > contact_groups staff > notification_interval 30 > notification_period 24x7 > notification_options d,u,r,f > notifications_enabled 1 > register 1 > } > > and this is my service > > define service { > host_name XXX > service_description check_dummy > is_volatile 0 > check_command check_dummy!2 > max_check_attempts 2 > normal_check_interval 2 > retry_check_interval 1 > active_checks_enabled 1 > passive_checks_enabled 1 > check_period 24x7 > parallelize_check 1 > obsess_over_service 1 > check_freshness 0 > event_handler_enabled 1 > flap_detection_enabled 1 > failure_prediction_enabled 1 > process_perf_data 0 > retain_status_information 1 > retain_nonstatus_information 1 > contact_groups staff > notification_interval 4 > notification_period 24x7 > notification_options w,u,c,r,f > notifications_enabled 1 > register 1 > } > > ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From v-alloo at ti.com Tue Nov 18 17:34:47 2008 From: v-alloo at ti.com (Alloo, Vincent) Date: Tue, 18 Nov 2008 17:34:47 +0100 Subject: Nagios 3.0.4 performance issue Message-ID: <184E3F696E604341B2D96227FFD0B8C5920C7FD0@dnce02.ent.ti.com> Hello, Since few days (can't see what was changed), I have big performance issue with my Nagios install (CPU load). I have tweaked some parameters without success. Any help is welcome! My hardware is a SUN X4150, dual-core, 16GB RAM, Solaris 10u4. Thanks. load averages: 9.73, 11.0, 11.9; up 68+06:30:36 17:31:47 267 processes: 252 sleeping, 6 running, 3 zombie, 6 on cpu CPU states: 20.7% idle, 71.7% user, 7.6% kernel, 0.0% iowait, 0.0% swap Memory: 16G phys mem, 12G free mem, 25G total swap, 25G free swap PID USERNAME LWP PRI NICE SIZE RES STATE TIME CPU COMMAND 17332 nagios 1 50 0 14M 5224K sleep 0:00 8.71% nagios 17333 nagios 1 50 0 14M 5200K sleep 0:00 8.69% nagios 17330 nagios 1 50 0 14M 5252K sleep 0:00 8.67% nagios 17348 nagios 1 40 0 14M 4968K run 0:00 5.72% nagios 17347 nagios 1 40 0 14M 4812K cpu/1 0:00 4.57% nagios 17349 nagios 1 30 0 14M 4792K cpu/2 0:00 4.11% nagios 17351 nagios 1 30 0 14M 4748K run 0:00 3.12% nagios 17353 nagios 1 40 0 14M 4668K cpu/0 0:00 1.84% nagios 17352 nagios 1 40 0 14M 4600K run 0:00 0.87% nagios 16307 nagios 2 50 0 14M 12M sleep 1:18 0.60% nagios 17357 nagios 1 50 0 3556K 2260K sleep 0:00 0.21% check_nrpe 230 valloo 1 59 0 3396K 2324K cpu/3 0:15 0.20% top 17359 nagios 1 50 0 3548K 2132K sleep 0:00 0.14% check_nrpe 17345 nagios 1 50 0 3552K 2136K sleep 0:00 0.13% check_nrpe 17350 nagios 1 50 0 14M 2608K sleep 0:00 0.12% nagios > ./nagiostats Nagios Stats 3.0.4 Copyright (c) 2003-2008 Ethan Galstad (www.nagios.org) Last Modified: 10-15-2008 License: GPL CURRENT STATUS DATA ------------------------------------------------------ Status File: /opt/nagios/var/status.dat Status File Age: 0d 0h 0m 8s Status File Version: 3.0.4 Program Running Time: 0d 0h 29m 19s Nagios PID: 16307 Used/High/Total Command Buffers: 0 / 1 / 4096 Total Services: 3615 Services Checked: 3611 Services Scheduled: 3567 Services Actively Checked: 3615 Services Passively Checked: 0 Total Service State Change: 0.000 / 24.670 / 0.158 % Active Service Latency: 0.000 / 7.371 / 0.487 sec Active Service Execution Time: 0.000 / 18.744 / 1.248 sec Active Service State Change: 0.000 / 24.670 / 0.158 % Active Services Last 1/5/15/60 min: 488 / 3350 / 3404 / 3567 Passive Service Latency: 0.000 / 0.000 / 0.000 sec Passive Service State Change: 0.000 / 0.000 / 0.000 % Passive Services Last 1/5/15/60 min: 0 / 0 / 0 / 0 Services Ok/Warn/Unk/Crit: 3478 / 40 / 15 / 82 Services Flapping: 6 Services In Downtime: 0 Total Hosts: 1013 Hosts Checked: 1013 Hosts Scheduled: 1012 Hosts Actively Checked: 1013 Host Passively Checked: 0 Total Host State Change: 0.000 / 11.320 / 0.011 % Active Host Latency: 0.000 / 1.892 / 0.655 sec Active Host Execution Time: 0.010 / 14.015 / 0.145 sec Active Host State Change: 0.000 / 11.320 / 0.011 % Active Hosts Last 1/5/15/60 min: 225 / 992 / 1012 / 1012 Passive Host Latency: 0.000 / 0.000 / 0.000 sec Passive Host State Change: 0.000 / 0.000 / 0.000 % Passive Hosts Last 1/5/15/60 min: 0 / 0 / 0 / 0 Hosts Up/Down/Unreach: 1011 / 2 / 0 Hosts Flapping: 0 Hosts In Downtime: 0 Active Host Checks Last 1/5/15 min: 297 / 1106 / 3263 Scheduled: 283 / 1033 / 3013 On-demand: 14 / 73 / 250 Parallel: 285 / 1046 / 3056 Serial: 0 / 0 / 0 Cached: 12 / 60 / 207 Passive Host Checks Last 1/5/15 min: 0 / 0 / 0 Active Service Checks Last 1/5/15 min: 578 / 3288 / 10054 Scheduled: 578 / 3288 / 10047 On-demand: 0 / 0 / 7 Cached: 0 / 0 / 2 Passive Service Checks Last 1/5/15 min: 0 / 0 / 0 External Commands Last 1/5/15 min: 0 / 0 / 0 accept_passive_host_checks=1 accept_passive_service_checks=1 additional_freshness_latency=15 admin_email=nagios at localhost admin_pager=pagenagios at localhost auto_reschedule_checks=1 auto_rescheduling_interval=30 auto_rescheduling_window=180 cached_host_check_horizon=15 cached_service_check_horizon=15 check_external_commands=1 check_for_orphaned_hosts=1 check_for_orphaned_services=1 check_host_freshness=0 check_result_path=/opt/nagios/var/spool/checkresults check_result_reaper_frequency=4 check_service_freshness=1 command_check_interval=-1 command_file=/opt/nagios/var/rw/nagios.cmd daemon_dumps_core=0 date_format=us debug_file=/opt/nagios/var/nagios.debug debug_level=0 debug_verbosity=1 enable_embedded_perl=1 enable_environment_macros=1 enable_event_handlers=1 enable_flap_detection=1 enable_notifications=1 enable_predictive_host_dependency_checks=1 enable_predictive_service_dependency_checks=1 event_broker_options=-1 event_handler_timeout=30 execute_host_checks=1 execute_service_checks=1 external_command_buffer_slots=4096 high_host_flap_threshold=20.0 high_service_flap_threshold=20.0 host_check_timeout=30 host_freshness_check_interval=60 host_inter_check_delay_method=s illegal_macro_output_chars=`~$&|'"<> illegal_object_name_chars=`~!$%^&*|'"<>?,()= interval_length=60 lock_file=/opt/nagios/var/nagios.lock log_archive_path=/db/sysadmin/nagios/archives/svxnagios03 log_event_handlers=1 log_external_commands=1 log_file=/opt/nagios/var/nagios.log log_host_retries=1 log_initial_states=0 log_notifications=1 log_passive_checks=1 log_rotation_method=d log_service_retries=1 low_host_flap_threshold=5.0 low_service_flap_threshold=5.0 max_check_result_file_age=3600 max_check_result_reaper_time=30 max_concurrent_checks=0 max_debug_file_size=1000000 max_host_check_spread=10 max_service_check_spread=10 nagios_group=nagios nagios_user=nagios notification_timeout=30 object_cache_file=/opt/nagios/var/objects.cache obsess_over_hosts=0 obsess_over_services=0 ocsp_timeout=5 p1_file=/opt/nagios/3.0rc3/bin/p1.pl passive_host_checks_are_soft=0 perfdata_timeout=5 precached_object_file=/opt/nagios/var/objects.precache process_performance_data=1 resource_file=/opt/nagios/etc/resource.cfg retain_state_information=1 retained_contact_host_attribute_mask=0 retained_contact_service_attribute_mask=0 retained_host_attribute_mask=0 retained_process_host_attribute_mask=0 retained_process_service_attribute_mask=0 retained_service_attribute_mask=0 retention_update_interval=60 service_check_timeout=60 service_freshness_check_interval=60 service_inter_check_delay_method=s service_interleave_factor=s service_perfdata_file=/var/spool/nagios/perfdata.log service_perfdata_file_mode=a service_perfdata_file_processing_command=process-service-perfdata service_perfdata_file_processing_interval=30 service_perfdata_file_template=$LASTSERVICECHECK$||$HOSTNAME$||$SERVICEDESC$||$SERVICEOUTPUT$||$SERVICEPERFDATA$ sleep_time=0.125 soft_state_dependencies=0 state_retention_file=/opt/nagios/var/retention.dat status_file=/opt/nagios/var/status.dat status_update_interval=10 temp_file=/opt/nagios/var/nagios.tmp temp_path=/tmp translate_passive_host_checks=0 use_aggressive_host_checking=0 use_embedded_perl_implicitly=1 use_large_installation_tweaks=1 use_regexp_matching=1 use_retained_program_state=1 use_retained_scheduling_info=1 use_syslog=1 use_true_regexp_matching=0 Vincent Alloo TI France Design Systems Operations Manager Europe, Middle East and Africa IT Services Texas Instruments France E-Mail: v-alloo at ti.com Phone: +33 4 93 22 26 97 Mobile: +33 6 82 13 00 80 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From melanie_pfefer at yahoo.co.uk Tue Nov 18 18:13:02 2008 From: melanie_pfefer at yahoo.co.uk (Melanie Pfefer) Date: Tue, 18 Nov 2008 17:13:02 +0000 (GMT) Subject: check snmp In-Reply-To: <8147CCE3C4A8764DA9980125EE70E8234E98DD@nuexchg.norwich.edu> References: <8147CCE3C4A8764DA9980125EE70E8234E98DD@nuexchg.norwich.edu> Message-ID: <793915.83979.qm@web26207.mail.ukl.yahoo.com> hi! thanks. this is what I searching for. I tried this command and it worked. ./check_snmp_win.pl -H jupiter -C public -2 -n snmp 1 services active (matching "snmp") : OK I need help in the configuration files: define command{ command_name check_snmp_win command_line $USER1$/check_snmp_win.pl -H $HOSTADDRESS$ public -n $ARG1$ } define service { ... check_command check_snmp_win!$HOSTADDRESS$!snmp! } Is this correct? thx --- On Tue, 18/11/08, James Pratt wrote: > From: James Pratt > Subject: RE: [Nagios-users] check snmp > To: melanie_pfefer at yahoo.co.uk > Cc: nagios-users at lists.sourceforge.net > Date: Tuesday, 18 November, 2008, 4:44 PM > Melanie, take a look at nagios-snmp plugins - > http://nagios.manubulon.com/ > > > For example, the custom command in commands.cfg to check > for snmpd > service on a windows box would be > > define command{ > command_name check_snmp_win > command_line $USER1$/check_snmp_win.pl -H > $HOSTADDRESS$ > communityname -n $ARG1$ > } > > (Obviously, $ARG1% is the windows service name - as for > unix, you would > use something like this: > > /usr/local/nagios/libexec/check_snmp_process -H 10.14.1.07 > -C public -2 > -n snmpd > > OK : 1 process matching snmpd(> 0) > > Hope this helps , > Regards > Jamie > > > -----Original Message----- > > From: Melanie Pfefer > [mailto:melanie_pfefer at yahoo.co.uk] > > Sent: Tuesday, November 18, 2008 8:10 AM > > To: Simon Kainz > > Cc: nagios-users at lists.sourceforge.net > > Subject: Re: [Nagios-users] check snmp > > > > hi > > > > I already listed the available oid using snmpwalk. I > did not find any > oid about snmp > > > > should I use just any oid? > > > > thx > > > > > > --- On Tue, 18/11/08, Simon Kainz > wrote: > > > > > From: Simon Kainz > > > Subject: Re: [Nagios-users] check snmp > > > To: > > > Cc: nagios-users at lists.sourceforge.net > > > Date: Tuesday, 18 November, 2008, 2:59 PM > > > Melanie Pfefer wrote: > > > > Hi > > > > > > > > perhaps I was not clear in my question. > > > > > > > > What is the OID that should be used to see > if snmp > > > service is up or down? > > > > > > > > thank you > > > > > > Hi! > > > I would suggest using snmpwalk to see which > services are > > > available > > > first. This normally returns a pretty long list > of values > > > to pick one from. > > > > > > regards, > > > > > > > > > > > > > > > -- > > > Simon Kainz, BSc > > > Graz, University of Technology > > > Department Computing > > > Phone: ++43 (0) 316 / 873 6885 > > > > > > > ------------------------------------------------------------------------ > - > > > 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=100&url=/___________________________ > > ____________________ > > > Nagios-users mailing list > > > Nagios-users at 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=100&url=/ > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From dit.dash at gmail.com Tue Nov 18 19:16:29 2008 From: dit.dash at gmail.com (dave stern - e-mail.pluribus.unum) Date: Tue, 18 Nov 2008 13:16:29 -0500 Subject: check windows file? Message-ID: <7f62d2420811181016g34556e84jedc72c045aa010e8@mail.gmail.com> I'm looking for a plugin that I can run from the unix side to connect to a windows host and at least test for the existance of a file, although checking for its contents would be even more ideal. I couldn't find anything at nagiosexchange unless my search string wasn't specific enough. Anyone? Thanks ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marcismael at gmail.com Tue Nov 18 19:24:24 2008 From: marcismael at gmail.com (Marc Ismael) Date: Wed, 19 Nov 2008 02:24:24 +0800 Subject: no used external command buffer slots Message-ID: <48603ddb0811181024n2f3264c9t383609ab177454e9@mail.gmail.com> Hi, I have around 7362 incoming passive checks, and I'm trying to figure out a way how to get rid of stale check results by graphing with mrtg and working from there. I am under the impression that with these amount of passive checks, a generous number of external command buffer slots will be used. When I checked with nagiostats, it was zero. Could I be thinking wrong, or am I missing something? [root at blah nagios]# /usr/local/nagios/sbin/nagiostats --mrtg --data=TOTCMDBUF,USEDCMDBUF,PROGRUNTIME,NAGIOSVERPID 8192 0 0d 15h 34m 52s Nagios 3.0.3 (pid=3888) nagios 3.0.3 on redhat linux 5.1 x86 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From bjlockie at lockie.ca Tue Nov 18 19:53:49 2008 From: bjlockie at lockie.ca (James) Date: Tue, 18 Nov 2008 13:53:49 -0500 (EST) Subject: check windows file? In-Reply-To: <7f62d2420811181016g34556e84jedc72c045aa010e8@mail.gmail.com> References: <7f62d2420811181016g34556e84jedc72c045aa010e8@mail.gmail.com> Message-ID: On Tue, November 18, 2008 1:16 pm, dave stern - e-mail.pluribus.unum wrote: > I'm looking for a plugin that I can run from the unix side to connect to > a windows host and at least test for the existance of a file, although > checking for its contents would be even more ideal. I couldn't find > anything at nagiosexchange unless my search string wasn't specific enough. > Anyone? > This may help: http://nagios.sourceforge.net/docs/3_0/monitoring-windows.html ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From joe.hartley at retailsolutions.com Tue Nov 18 19:34:20 2008 From: joe.hartley at retailsolutions.com (Joe Hartley) Date: Tue, 18 Nov 2008 10:34:20 -0800 Subject: check windows file? References: <7f62d2420811181016g34556e84jedc72c045aa010e8@mail.gmail.com> Message-ID: <580CB599E684764C84C5CCFA64A929B4131546@EXVBE011-2.exch011.intermedia.net> http://www.itefix.no/i2/check_file This might be of help. -----Original Message----- From: dave stern - e-mail.pluribus.unum [mailto:dit.dash at gmail.com] I'm looking for a plugin that I can run from the unix side to connect to a windows host and at least test for the existance of a file, although checking for its contents would be even more ideal. I couldn't find anything at nagiosexchange unless my search string wasn't specific enough. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ae at op5.se Tue Nov 18 20:06:20 2008 From: ae at op5.se (Andreas Ericsson) Date: Tue, 18 Nov 2008 20:06:20 +0100 Subject: check_udp ? In-Reply-To: <4922DEB5.60402@ng23.net> References: <4922CF7D.1020804@ng23.net> <6E5EC046-918F-4495-9094-6F46996E1B4E@ena.com> <4922DA1D.9010602@op5.se> <4922DEB5.60402@ng23.net> Message-ID: <4923122C.40207@op5.se> Tom Brown wrote: > >> >> Opening a raw socket and continuously issuing >> >> recv(sd, hdr, sizeof(hdr), MSG_PEEK) >> >> on it would be one (very quick) way of getting that data stored. >> It's not difficult, just pretty bloody useless most of the time. >> It's nearly always better to just rate-limit the traffic from the >> start or block it entirely. >> >> > > thanks - we wanted to get this as there are some UDP comms that seem to > have ramped up due to buggy code causing other issues so it would have > been nice to be able to see if the rate of UDP queries could be alerted > on. You can get UDP recieved from netstat -su so issuing that in a loop > and comparing the results can be done but its nasty. > Why loop it? Just maintain a timestamp of when it was last done and compare it with what it is now. Divide by the number of seconds since last time and you have the rate of udp packets, regardless of how often you poll. Make sure to consider that the counter may overflow or reset between runs though, so don't send check_attempts to 1. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From novin.jaiswal at ishisystems.com Tue Nov 18 20:06:01 2008 From: novin.jaiswal at ishisystems.com (Novin Jaiswal) Date: Tue, 18 Nov 2008 14:06:01 -0500 Subject: Data strored in .RRD but nagios graph is not showingthe data(graph is Empty) In-Reply-To: <2BA70ED7C7275645B648362FB35913A901EB5522@exchange.ishisystems.com> References: <2BA70ED7C7275645B648362FB35913A901EB5522@exchange.ishisystems.com> Message-ID: <2BA70ED7C7275645B648362FB35913A901EB5530@exchange.ishisystems.com> When I have dump the .rrd file it is showing the starting text like this. Does any one have any idea why the graph is empty. The last value which I have updated was 100 and it is showing it properly in here. But the other entries around that time is showing as NAN. Pls help me if you have any idea. 0003 300 1227212391 pegcount GAUGE 600 NaN NaN 100 1.0000000000e+02 290 AVERAGE 1 5.0000000000e-01 0.0000000000e+00 0.0000000000e+00 NaN 0 NaN NaN NaN NaN NaN NaN NaN NaN Thanks & Regards Novin Jaiswal Ishi Systems Inc. 201-521-3155(Direct) 732-318-8156(Cell) From: Novin Jaiswal [mailto:novin.jaiswal at ishisystems.com] Sent: Monday, November 17, 2008 1:35 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Data strored in .RRD but nagios graph is not showingthe data(graph is Empty) Hi Friends, I have successfully incorporate Nagios graph +Nagios+rrdtool. Data is stored successfully but nagiosgraph is not plotting based on data and the graph is empty without any data. When I am running following cmd to see that the data (in DB "nagios" and "pegcount" datasource and "AllCOMPONENT PEGCOUNT" service name) is stored or not. It is returning me the correct data value 138. [root at stage5 nagios]# rrdtool lastupdate /usr/local/nagiosgraph/rrd/stage8.ishisystems.com/AllCOMPONENT%20PEGCOUN T___nagios.rrd pegcount 1226560767: 138 I am using following URL to view the data which is been created as a link beside the service name http://stage5/nagiosgraph/show.cgi?host=stage8.ishisystems.com&service=A llCOMPONENT%20PEGCOUNT&db=nagios,pegcount&geom=500x100&rrdopts=-l%200%20 -u%20200%20-t%20MYPEGCOUNT this page is showing me empty daily,weekly and monthly and yearly graph without any data but the Lower limit=0 ,Upperlimit = 200, Graph heading = MYPEGCOUNT is showing as per request. Host name = stage8.ishisystems.com Service name = AllCOMPONEN PEGCOUNT RRD DB Name = nagios Datasource or column name = pegcount Lower limit=0 Upperlimit = 200 Graph heading = MYPEGCOUNT Pls Let me know wht I am doing wrong? Thanks & Regards Novin Jaiswal Ishi Systems Inc. 732-318-8156(cell) -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From novin.jaiswal at ishisystems.com Tue Nov 18 20:17:43 2008 From: novin.jaiswal at ishisystems.com (Novin Jaiswal) Date: Tue, 18 Nov 2008 14:17:43 -0500 Subject: Data strored in .RRD but nagios graph is not showingthe data(graph is Empty) In-Reply-To: <2BA70ED7C7275645B648362FB35913A901EB5530@exchange.ishisystems.com> References: <2BA70ED7C7275645B648362FB35913A901EB5522@exchange.ishisystems.com> <2BA70ED7C7275645B648362FB35913A901EB5530@exchange.ishisystems.com> Message-ID: <2BA70ED7C7275645B648362FB35913A901EB5531@exchange.ishisystems.com> Hi One more information to share. Instead of passing Max;Avg;Min;Cur value I am passing a single value to the database is that the issue? Bcas I want the graph of single value or current value. Will it work instead of passing values as 100. Shall I pass 0;0;0;100(Max;Avg;Min;Cur) Your help is appreciated. Thanks & Regards Novin Jaiswal Ishi Systems Inc. 201-521-3155(Direct) 732-318-8156(Cell) From: Novin Jaiswal Sent: Tuesday, November 18, 2008 2:06 PM To: Novin Jaiswal; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Data strored in .RRD but nagios graph is not showingthe data(graph is Empty) When I have dump the .rrd file it is showing the starting text like this. Does any one have any idea why the graph is empty. The last value which I have updated was 100 and it is showing it properly in here. But the other entries around that time is showing as NAN. Pls help me if you have any idea. 0003 300 1227212391 pegcount GAUGE 600 NaN NaN 100 1.0000000000e+02 290 AVERAGE 1 5.0000000000e-01 0.0000000000e+00 0.0000000000e+00 NaN 0 NaN NaN NaN NaN NaN NaN NaN NaN Thanks & Regards Novin Jaiswal Ishi Systems Inc. 201-521-3155(Direct) 732-318-8156(Cell) From: Novin Jaiswal [mailto:novin.jaiswal at ishisystems.com] Sent: Monday, November 17, 2008 1:35 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Data strored in .RRD but nagios graph is not showingthe data(graph is Empty) Hi Friends, I have successfully incorporate Nagios graph +Nagios+rrdtool. Data is stored successfully but nagiosgraph is not plotting based on data and the graph is empty without any data. When I am running following cmd to see that the data (in DB "nagios" and "pegcount" datasource and "AllCOMPONENT PEGCOUNT" service name) is stored or not. It is returning me the correct data value 138. [root at stage5 nagios]# rrdtool lastupdate /usr/local/nagiosgraph/rrd/stage8.ishisystems.com/AllCOMPONENT%20PEGCOUN T___nagios.rrd pegcount 1226560767: 138 I am using following URL to view the data which is been created as a link beside the service name http://stage5/nagiosgraph/show.cgi?host=stage8.ishisystems.com&service=A llCOMPONENT%20PEGCOUNT&db=nagios,pegcount&geom=500x100&rrdopts=-l%200%20 -u%20200%20-t%20MYPEGCOUNT this page is showing me empty daily,weekly and monthly and yearly graph without any data but the Lower limit=0 ,Upperlimit = 200, Graph heading = MYPEGCOUNT is showing as per request. Host name = stage8.ishisystems.com Service name = AllCOMPONEN PEGCOUNT RRD DB Name = nagios Datasource or column name = pegcount Lower limit=0 Upperlimit = 200 Graph heading = MYPEGCOUNT Pls Let me know wht I am doing wrong? Thanks & Regards Novin Jaiswal Ishi Systems Inc. 732-318-8156(cell) -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From edg at greenberg.org Tue Nov 18 20:28:00 2008 From: edg at greenberg.org (Ed Greenberg) Date: Tue, 18 Nov 2008 11:28:00 -0800 Subject: Notify more than once Message-ID: <49231740.40003@greenberg.org> I have a bunch of active, and even some passive, alerts that notify every 'notification_interval' minutes properly until reset by an OK, but I have on stubborn one. Below I've provided all the config info that I think is relevant. Also the entry in service.dat showing an unissued notification. Can somebody help me figure out what I've done wrong? Here is the definition of the service and everything that should define the need to alert every five minutes. define service { use passive-alert-only-service register 1 notification_interval 5 <---- I expect a notify every five minutes service_description viral_email_not_received hostgroup_name viral_email_not_received check_command generic_notify!viral email not received contact_groups edg } define service { name passive-alert-only-service use generic-service is_volatile 0 active_checks_enabled 0 passive_checks_enabled 1 check_freshness 0 register 0 max_check_attempts 1 normal_check_interval 1 retry_check_interval 1 notification_interval 0 <--- this should have been overridden by the line in the service definition above, right? notification_period 24x7 notification_options c } define contactgroup{ contactgroup_name edg alias edg members edg } define contact{ contact_name edg <----- This is me alias Another Nagios Admin host_notification_period 24x7 service_notification_period 24x7 host_notification_options d,r service_notification_options w,u,c,r host_notification_commands host-notify-by-email,host-notify-by-epager service_notification_commands notify-by-email,notify-by-epager email xxxxxxxxxxx pager xxxxxxxxxxx } The alert was fired with the following string sent to send_nsca: admin005.geni.com viral_email_not_received 2 sample_email not received This is the current state of the alert from status.dat: service { host_name=admin005.geni.com service_description=viral_email_not_received modified_attributes=0 check_command=generic_notify!viral email not received event_handler= has_been_checked=1 should_be_scheduled=0 check_execution_time=0.000 check_latency=3.015 check_type=1 current_state=2 last_hard_state=2 current_attempt=1 max_attempts=1 state_type=1 last_state_change=1227034513 last_hard_state_change=1227034513 last_time_ok=0 last_time_warning=0 last_time_unknown=0 last_time_critical=1227034513 plugin_output=sample_email not received performance_data= last_check=1227034513 next_check=0 current_notification_number=1 last_notification=1227034516 <---- this time is accurate as to the first alert next_notification=1227034816 <---- this alert never happened and is now eleven minutes in the past as I write no_more_notifications=0 notifications_enabled=1 active_checks_enabled=0 passive_checks_enabled=1 event_handler_enabled=1 problem_has_been_acknowledged=0 acknowledgement_type=0 flap_detection_enabled=1 failure_prediction_enabled=1 process_performance_data=1 obsess_over_service=1 last_update=1227035386 is_flapping=0 percent_state_change=6.25 scheduled_downtime_depth=0 } ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From alexus at gmail.com Tue Nov 18 21:24:34 2008 From: alexus at gmail.com (alexus) Date: Tue, 18 Nov 2008 15:24:34 -0500 Subject: nagios not sending service alerts In-Reply-To: <1227024909.9812.24.camel@firebird> References: <6ae50c2d0811172357q6236e9ffs343cda6da3b5227f@mail.gmail.com> <1227024909.9812.24.camel@firebird> Message-ID: <6ae50c2d0811181224x22749d46x13f27cfa34f95b71@mail.gmail.com> this is what i'm talking about, I'm not even seeing them in logs, so nagios itself isn't generating alerts to send out # grep log_notifications ~nagios/etc/nagios.cfg log_notifications=1 # On Tue, Nov 18, 2008 at 11:15 AM, hiren wrote: > On Tue, 2008-11-18 at 02:57 -0500, alexus wrote: >> for some reason I'm not getting any alerts for any of services, I >> think I've checked everywhere... >> >> I've created a dummy service >> >> [1226994112] SERVICE ALERT: XXX.box;check_dummy;CRITICAL;SOFT;1;CRITICAL >> [1226994172] SERVICE ALERT: XXX.box;check_dummy;CRITICAL;HARD;2;CRITICAL > > you have notification logging in nagios.cfg enabled? > if so, I think you should see messages that look like "SERVICE > NOTIFICATION". I see those in my logs among the "SERVICE ALERT" > messages. > this might help you decide if it's a nagios configuration issue or > command issue somewhere else. > >> >> besides these two, nothing.. no NOTIFICATION >> >> this is my host configuration >> >> define host { >> host_name XXX >> alias XXX >> address XXX >> parents XXX >> hostgroups XXX >> check_command check_icmp >> max_check_attempts 1 >> check_interval 0 >> active_checks_enabled 1 >> passive_checks_enabled 1 >> check_period 24x7 >> obsess_over_host 1 >> check_freshness 0 >> event_handler_enabled 1 >> flap_detection_enabled 1 >> failure_prediction_enabled 1 >> process_perf_data 0 >> retain_status_information 1 >> retain_nonstatus_information 1 >> contact_groups staff >> notification_interval 30 >> notification_period 24x7 >> notification_options d,u,r,f >> notifications_enabled 1 >> register 1 >> } >> >> and this is my service >> >> define service { >> host_name XXX >> service_description check_dummy >> is_volatile 0 >> check_command check_dummy!2 >> max_check_attempts 2 >> normal_check_interval 2 >> retry_check_interval 1 >> active_checks_enabled 1 >> passive_checks_enabled 1 >> check_period 24x7 >> parallelize_check 1 >> obsess_over_service 1 >> check_freshness 0 >> event_handler_enabled 1 >> flap_detection_enabled 1 >> failure_prediction_enabled 1 >> process_perf_data 0 >> retain_status_information 1 >> retain_nonstatus_information 1 >> contact_groups staff >> notification_interval 4 >> notification_period 24x7 >> notification_options w,u,c,r,f >> notifications_enabled 1 >> register 1 >> } >> >> > > -- http://alexus.org/ ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From alexus at gmail.com Tue Nov 18 21:25:42 2008 From: alexus at gmail.com (alexus) Date: Tue, 18 Nov 2008 15:25:42 -0500 Subject: nagios not sending service alerts In-Reply-To: <89D4B1FD-DFAC-4B70-AF25-D25C4CBA5369@ena.com> References: <6ae50c2d0811172357q6236e9ffs343cda6da3b5227f@mail.gmail.com> <200811181044.43324.assaf.flatto@ssp.uk.com> <6ae50c2d0811180746k6289c07td827ecffc7526bdd@mail.gmail.com> <89D4B1FD-DFAC-4B70-AF25-D25C4CBA5369@ena.com> Message-ID: <6ae50c2d0811181225n7479dc8fi5fb88e51d09c5ac2@mail.gmail.com> everything is enabled through WEB UI as well On Tue, Nov 18, 2008 at 11:09 AM, Marc Powell wrote: > > On Nov 18, 2008, at 9:46 AM, alexus wrote: > >> define contactgroup { >> contactgroup_name staff >> alias staff >> members DAC2 >> } >> >> define contact { >> contact_name DAC2 >> alias XXX >> host_notification_period 24x7 >> service_notification_period 24x7 >> host_notification_options d,u,r >> service_notification_options w,u,c,r >> host_notification_commands notify-host-by-email >> service_notification_commands notify-service-by-email >> email XXX at messaging.sprintpcs.com >> pager XXX at messaging.sprintpcs.com >> } > > Looks fine. Are notifications disabled for the service in the web > interface or disabled globally, either in nagios.cfg or via the web > interface? > > -- > Marc > > > ------------------------------------------------------------------------- > 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=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > -- http://alexus.org/ ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Gerhard.Lausser at consol.de Tue Nov 18 22:44:04 2008 From: Gerhard.Lausser at consol.de (Gerhard Lausser) Date: Tue, 18 Nov 2008 22:44:04 +0100 Subject: check windows file? In-Reply-To: <7f62d2420811181016g34556e84jedc72c045aa010e8@mail.gmail.com> References: <7f62d2420811181016g34556e84jedc72c045aa010e8@mail.gmail.com> Message-ID: <82FEDC1FAFB94304A8AA79AD77CF9093@int.consol.de> Hi Dave, you might try http://www.consol.com/opensource/nagios/check-logfiles You call it with check_logfiles --logfile path_to_your_file --criticalpatterns "whatever_you_consider_an_error_message" If the file doesn't exists, you will get at least an UNKNOWN, although you can add program the plugin so it will return a CRITICAL if the file is missing. Gerhard > -----Urspr?ngliche Nachricht----- > Von: dave stern - e-mail.pluribus.unum [mailto:dit.dash at gmail.com] > Gesendet: Dienstag, 18. November 2008 19:16 > An: nagios-users at lists.sourceforge.net > Betreff: [Nagios-users] check windows file? > > I'm looking for a plugin that I can run from the unix side to > connect to a windows host and at least test for the existance > of a file, although checking for its contents would be even > more ideal. I couldn't find anything at nagiosexchange unless > my search string wasn't specific enough. > Anyone? > > Thanks > > -------------------------------------------------------------- > ----------- > 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=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From steve at sliderule.demon.co.uk Tue Nov 18 23:03:34 2008 From: steve at sliderule.demon.co.uk (Steve Burton) Date: Tue, 18 Nov 2008 22:03:34 +0000 Subject: Integrating nagios with nagiosgraph and drraw - URLproblem In-Reply-To: <49225CFB.9080807@vanderkooij.org> References: <816468740.20081116031458@sliderule.demon.co.uk> <79B77295FBC9F247A32A6C98B67B1E1408BE8E@srv-1exch01.sourceinterlink.com> <139311989.20081117214558@sliderule.demon.co.uk> <37c712e0811171355o2bb88dbn54ab04d937fe73aa@mail.gmail.com> <65173609.20081118010040@sliderule.demon.co.uk> <49225CFB.9080807@vanderkooij.org> Message-ID: <1234665527.20081118220334@sliderule.demon.co.uk> > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > Steve Burton wrote: >>> On Mon, Nov 17, 2008 at 16:45, Steve Burton >>> ://nagios.my.domain/drraw/drraw.cgi?Mode=view%3BGraph=1226789709.8592 >> >> No that doesn't work. I gets past nagios but then drraw doesn't >> understand URI encoding. > Time to fix drraw. > Hugo. Hugo, I was looking into that but it uses CGI.pm and I won't go there. Then Cristophe Kalt on the drraw-users list suggested using '&' rather than ';' in the action_url and that works. e.g. action_url /drraw/drraw.cgi?Mode=view&Graph=1226789709.8592 Thanks to all for your help and interest, Steve. ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From dermoth at aei.ca Wed Nov 19 01:58:12 2008 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Tue, 18 Nov 2008 19:58:12 -0500 Subject: check snmp In-Reply-To: <4922BC19.1040905@tugraz.at> References: <9930.71886.qm@web26201.mail.ukl.yahoo.com> <4922BC19.1040905@tugraz.at> Message-ID: <492364A4.4090108@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 18/11/08 07:59 AM, Simon Kainz wrote: > Melanie Pfefer wrote: >> Hi >> >> perhaps I was not clear in my question. >> >> What is the OID that should be used to see if snmp service is up or down? >> >> thank you > > Hi! > I would suggest using snmpwalk to see which services are available > first. This normally returns a pretty long list of values to pick one from. An oid in SNMPv2-MIB::system (.1.3.6.1.2.1.1) is likely a good place to start... I use SNMPv2-MIB::sysDescr.0 (.1.3.6.1.2.1.1.1.0) with negate to return CRITICAL on failure. - -- Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFJI2Sk6dZ+Kt5BchYRAjUDAKCmgJNtXRR7WJB1Hf0z09CLoQAeMgCcC51p hl79zDqzK+uqOO2W324DJbU= =W/4a -----END PGP SIGNATURE----- ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From patrick.morris at hp.com Wed Nov 19 02:06:56 2008 From: patrick.morris at hp.com (Patrick Morris) Date: Tue, 18 Nov 2008 17:06:56 -0800 Subject: check snmp In-Reply-To: <492364A4.4090108@aei.ca> References: <9930.71886.qm@web26201.mail.ukl.yahoo.com> <4922BC19.1040905@tugraz.at> <492364A4.4090108@aei.ca> Message-ID: <20081119010656.GE26044@bakgwai.americas.hpqcorp.net> On Wed, 19 Nov 2008, Thomas Guyot-Sionnest wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 18/11/08 07:59 AM, Simon Kainz wrote: > > Melanie Pfefer wrote: > >> Hi > >> > >> perhaps I was not clear in my question. > >> > >> What is the OID that should be used to see if snmp service is up or down? > >> > >> thank you At the rick of stating the obvious, if the SNMP service is down, the OID you're checking doesn't matter. Just pick anything your server supports, and if the service is down, it won't work. Pretty simple stuff. ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From dermoth at aei.ca Wed Nov 19 08:17:38 2008 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Wed, 19 Nov 2008 02:17:38 -0500 Subject: check snmp In-Reply-To: <20081119010656.GE26044@bakgwai.americas.hpqcorp.net> References: <9930.71886.qm@web26201.mail.ukl.yahoo.com> <4922BC19.1040905@tugraz.at> <492364A4.4090108@aei.ca> <20081119010656.GE26044@bakgwai.americas.hpqcorp.net> Message-ID: <4923BD92.3090103@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 18/11/08 08:06 PM, Patrick Morris wrote: > On Wed, 19 Nov 2008, Thomas Guyot-Sionnest wrote: > >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >> >> On 18/11/08 07:59 AM, Simon Kainz wrote: >>> Melanie Pfefer wrote: >>>> Hi >>>> >>>> perhaps I was not clear in my question. >>>> >>>> What is the OID that should be used to see if snmp service is up or down? >>>> >>>> thank you > > At the rick of stating the obvious, if the SNMP service is down, the OID > you're checking doesn't matter. Just pick anything your server supports, > and if the service is down, it won't work. Pretty simple stuff. True, although you better: 1. Get an OID that will show up on all server (Windows, Linux, BSD, etc) 2. Don't get one that may vanish 3. Ideally, get one that prints something nice ("SNMP OK - 32173980" isn't very clear about what it's chercking) Hence, SNMPv2-MIB::sysDescr.0 :) - -- Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFJI72S6dZ+Kt5BchYRAhz2AJ99nThQRMv0lk1xAkMgxSvzfy5XzACgpryL Bxa5T1EIckusdF4NEbMfAzI= =6zXO -----END PGP SIGNATURE----- ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From melanie_pfefer at yahoo.co.uk Wed Nov 19 09:09:08 2008 From: melanie_pfefer at yahoo.co.uk (Melanie Pfefer) Date: Wed, 19 Nov 2008 08:09:08 +0000 (GMT) Subject: check snmp In-Reply-To: <4923BD92.3090103@aei.ca> References: <4923BD92.3090103@aei.ca> Message-ID: <686429.46635.qm@web26205.mail.ukl.yahoo.com> Hi, I am getting: No services matching "10.1.192.10" found : CRITICAL Even though snmp is up. In command.cfg: define command{ command_name check_snmp_win command_line $USER1$/check_snmp_win.pl -H $HOSTADDRESS$ -C public -2 -n $ARG1$ } In services.cfg: define service { use generic-service host jupiter service_description snmp check check_command check_snmp_win!$HOSTADDRESS$!snmp! } ./check_snmp_win.pl -H jupiter -C public -2 -n snmp 1 services active (matching "snmp") : OK any idea? thank you --- On Wed, 19/11/08, Thomas Guyot-Sionnest wrote: > From: Thomas Guyot-Sionnest > Subject: Re: [Nagios-users] check snmp > To: "Patrick Morris" > Cc: "nagios-users at lists.sourceforge.net" > Date: Wednesday, 19 November, 2008, 9:17 AM > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 18/11/08 08:06 PM, Patrick Morris wrote: > > On Wed, 19 Nov 2008, Thomas Guyot-Sionnest wrote: > > > >> -----BEGIN PGP SIGNED MESSAGE----- > >> Hash: SHA1 > >> > >> On 18/11/08 07:59 AM, Simon Kainz wrote: > >>> Melanie Pfefer wrote: > >>>> Hi > >>>> > >>>> perhaps I was not clear in my question. > >>>> > >>>> What is the OID that should be used to see > if snmp service is up or down? > >>>> > >>>> thank you > > > > At the rick of stating the obvious, if the SNMP > service is down, the OID > > you're checking doesn't matter. Just pick > anything your server supports, > > and if the service is down, it won't work. Pretty > simple stuff. > > True, although you better: > > 1. Get an OID that will show up on all server (Windows, > Linux, BSD, etc) > 2. Don't get one that may vanish > 3. Ideally, get one that prints something nice ("SNMP > OK - 32173980" > isn't very clear about what it's chercking) > > Hence, SNMPv2-MIB::sysDescr.0 :) > > - -- > Thomas > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.6 (GNU/Linux) > Comment: Using GnuPG with Mozilla - > http://enigmail.mozdev.org > > iD8DBQFJI72S6dZ+Kt5BchYRAhz2AJ99nThQRMv0lk1xAkMgxSvzfy5XzACgpryL > Bxa5T1EIckusdF4NEbMfAzI= > =6zXO > -----END PGP SIGNATURE----- > > ------------------------------------------------------------------------- > 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=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From steve at sliderule.demon.co.uk Wed Nov 19 09:59:06 2008 From: steve at sliderule.demon.co.uk (Steve Burton) Date: Wed, 19 Nov 2008 08:59:06 +0000 Subject: check snmp In-Reply-To: <686429.46635.qm@web26205.mail.ukl.yahoo.com> References: <686429.46635.qm@web26205.mail.ukl.yahoo.com> Message-ID: <4923D55A.30108@sliderule.demon.co.uk> Melanie Pfefer wrote: > Hi, > > I am getting: > > No services matching "10.1.192.10" found : CRITICAL > > Even though snmp is up. > > > In command.cfg: > > define command{ > command_name check_snmp_win > command_line $USER1$/check_snmp_win.pl -H $HOSTADDRESS$ -C public -2 -n $ARG1$ > } > > > In services.cfg: > define service { > use generic-service > host jupiter > service_description snmp check > check_command check_snmp_win!$HOSTADDRESS$!snmp! > } > > > ./check_snmp_win.pl -H jupiter -C public -2 -n snmp > 1 services active (matching "snmp") : OK > > any idea? > > thank you > > Melanie, $HOSTADDRESS$ is not used in the service definition (it uses host_name or hostgroup_name) so I would write: In services.cfg: define service { use generic-service host_name jupiter <--- I changed this line service_description snmp check check_command check_snmp_win!snmp <--- and this line } Steve > --- On Wed, 19/11/08, Thomas Guyot-Sionnest wrote: > > >> From: Thomas Guyot-Sionnest >> Subject: Re: [Nagios-users] check snmp >> To: "Patrick Morris" >> Cc: "nagios-users at lists.sourceforge.net" >> Date: Wednesday, 19 November, 2008, 9:17 AM >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >> >> On 18/11/08 08:06 PM, Patrick Morris wrote: >> >>> On Wed, 19 Nov 2008, Thomas Guyot-Sionnest wrote: >>> >>> >>>> -----BEGIN PGP SIGNED MESSAGE----- >>>> Hash: SHA1 >>>> >>>> On 18/11/08 07:59 AM, Simon Kainz wrote: >>>> >>>>> Melanie Pfefer wrote: >>>>> >>>>>> Hi >>>>>> >>>>>> perhaps I was not clear in my question. >>>>>> >>>>>> What is the OID that should be used to see >>>>>> >> if snmp service is up or down? >> >>>>>> thank you >>>>>> >>> At the rick of stating the obvious, if the SNMP >>> >> service is down, the OID >> >>> you're checking doesn't matter. Just pick >>> >> anything your server supports, >> >>> and if the service is down, it won't work. Pretty >>> >> simple stuff. >> >> True, although you better: >> >> 1. Get an OID that will show up on all server (Windows, >> Linux, BSD, etc) >> 2. Don't get one that may vanish >> 3. Ideally, get one that prints something nice ("SNMP >> OK - 32173980" >> isn't very clear about what it's chercking) >> >> Hence, SNMPv2-MIB::sysDescr.0 :) >> >> - -- >> Thomas >> -----BEGIN PGP SIGNATURE----- >> Version: GnuPG v1.4.6 (GNU/Linux) >> Comment: Using GnuPG with Mozilla - >> http://enigmail.mozdev.org >> >> iD8DBQFJI72S6dZ+Kt5BchYRAhz2AJ99nThQRMv0lk1xAkMgxSvzfy5XzACgpryL >> Bxa5T1EIckusdF4NEbMfAzI= >> =6zXO >> -----END PGP SIGNATURE----- >> >> ------------------------------------------------------------------------- >> 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=100&url=/ >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at 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=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From v-alloo at ti.com Wed Nov 19 12:18:40 2008 From: v-alloo at ti.com (Alloo, Vincent) Date: Wed, 19 Nov 2008 12:18:40 +0100 Subject: Nagios 3.0.4 performance issue In-Reply-To: <184E3F696E604341B2D96227FFD0B8C5920C7FD0@dnce02.ent.ti.com> References: <184E3F696E604341B2D96227FFD0B8C5920C7FD0@dnce02.ent.ti.com> Message-ID: <184E3F696E604341B2D96227FFD0B8C5920C8432@dnce02.ent.ti.com> By removing all "servicegroups", my load is back to normal. I had all my NRPE services within the same service group in order to put in place a service dependency. It means 3600 services within the same service group. It was causing the huge load seen on my machine. Is it a normal behavior, or is it a bug? Regards, Vincent Alloo TI France Design Systems Operations Manager Europe, Middle East and Africa IT Services Texas Instruments France E-Mail: v-alloo at ti.com Phone: +33 4 93 22 26 97 Mobile: +33 6 82 13 00 80 From: Alloo, Vincent Sent: Tuesday, November 18, 2008 5:35 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagios 3.0.4 performance issue Hello, Since few days (can't see what was changed), I have big performance issue with my Nagios install (CPU load). I have tweaked some parameters without success. Any help is welcome! My hardware is a SUN X4150, dual-core, 16GB RAM, Solaris 10u4. Thanks. load averages: 9.73, 11.0, 11.9; up 68+06:30:36 17:31:47 267 processes: 252 sleeping, 6 running, 3 zombie, 6 on cpu CPU states: 20.7% idle, 71.7% user, 7.6% kernel, 0.0% iowait, 0.0% swap Memory: 16G phys mem, 12G free mem, 25G total swap, 25G free swap PID USERNAME LWP PRI NICE SIZE RES STATE TIME CPU COMMAND 17332 nagios 1 50 0 14M 5224K sleep 0:00 8.71% nagios 17333 nagios 1 50 0 14M 5200K sleep 0:00 8.69% nagios 17330 nagios 1 50 0 14M 5252K sleep 0:00 8.67% nagios 17348 nagios 1 40 0 14M 4968K run 0:00 5.72% nagios 17347 nagios 1 40 0 14M 4812K cpu/1 0:00 4.57% nagios 17349 nagios 1 30 0 14M 4792K cpu/2 0:00 4.11% nagios 17351 nagios 1 30 0 14M 4748K run 0:00 3.12% nagios 17353 nagios 1 40 0 14M 4668K cpu/0 0:00 1.84% nagios 17352 nagios 1 40 0 14M 4600K run 0:00 0.87% nagios 16307 nagios 2 50 0 14M 12M sleep 1:18 0.60% nagios 17357 nagios 1 50 0 3556K 2260K sleep 0:00 0.21% check_nrpe 230 valloo 1 59 0 3396K 2324K cpu/3 0:15 0.20% top 17359 nagios 1 50 0 3548K 2132K sleep 0:00 0.14% check_nrpe 17345 nagios 1 50 0 3552K 2136K sleep 0:00 0.13% check_nrpe 17350 nagios 1 50 0 14M 2608K sleep 0:00 0.12% nagios > ./nagiostats Nagios Stats 3.0.4 Copyright (c) 2003-2008 Ethan Galstad (www.nagios.org) Last Modified: 10-15-2008 License: GPL CURRENT STATUS DATA ------------------------------------------------------ Status File: /opt/nagios/var/status.dat Status File Age: 0d 0h 0m 8s Status File Version: 3.0.4 Program Running Time: 0d 0h 29m 19s Nagios PID: 16307 Used/High/Total Command Buffers: 0 / 1 / 4096 Total Services: 3615 Services Checked: 3611 Services Scheduled: 3567 Services Actively Checked: 3615 Services Passively Checked: 0 Total Service State Change: 0.000 / 24.670 / 0.158 % Active Service Latency: 0.000 / 7.371 / 0.487 sec Active Service Execution Time: 0.000 / 18.744 / 1.248 sec Active Service State Change: 0.000 / 24.670 / 0.158 % Active Services Last 1/5/15/60 min: 488 / 3350 / 3404 / 3567 Passive Service Latency: 0.000 / 0.000 / 0.000 sec Passive Service State Change: 0.000 / 0.000 / 0.000 % Passive Services Last 1/5/15/60 min: 0 / 0 / 0 / 0 Services Ok/Warn/Unk/Crit: 3478 / 40 / 15 / 82 Services Flapping: 6 Services In Downtime: 0 Total Hosts: 1013 Hosts Checked: 1013 Hosts Scheduled: 1012 Hosts Actively Checked: 1013 Host Passively Checked: 0 Total Host State Change: 0.000 / 11.320 / 0.011 % Active Host Latency: 0.000 / 1.892 / 0.655 sec Active Host Execution Time: 0.010 / 14.015 / 0.145 sec Active Host State Change: 0.000 / 11.320 / 0.011 % Active Hosts Last 1/5/15/60 min: 225 / 992 / 1012 / 1012 Passive Host Latency: 0.000 / 0.000 / 0.000 sec Passive Host State Change: 0.000 / 0.000 / 0.000 % Passive Hosts Last 1/5/15/60 min: 0 / 0 / 0 / 0 Hosts Up/Down/Unreach: 1011 / 2 / 0 Hosts Flapping: 0 Hosts In Downtime: 0 Active Host Checks Last 1/5/15 min: 297 / 1106 / 3263 Scheduled: 283 / 1033 / 3013 On-demand: 14 / 73 / 250 Parallel: 285 / 1046 / 3056 Serial: 0 / 0 / 0 Cached: 12 / 60 / 207 Passive Host Checks Last 1/5/15 min: 0 / 0 / 0 Active Service Checks Last 1/5/15 min: 578 / 3288 / 10054 Scheduled: 578 / 3288 / 10047 On-demand: 0 / 0 / 7 Cached: 0 / 0 / 2 Passive Service Checks Last 1/5/15 min: 0 / 0 / 0 External Commands Last 1/5/15 min: 0 / 0 / 0 accept_passive_host_checks=1 accept_passive_service_checks=1 additional_freshness_latency=15 admin_email=nagios at localhost admin_pager=pagenagios at localhost auto_reschedule_checks=1 auto_rescheduling_interval=30 auto_rescheduling_window=180 cached_host_check_horizon=15 cached_service_check_horizon=15 check_external_commands=1 check_for_orphaned_hosts=1 check_for_orphaned_services=1 check_host_freshness=0 check_result_path=/opt/nagios/var/spool/checkresults check_result_reaper_frequency=4 check_service_freshness=1 command_check_interval=-1 command_file=/opt/nagios/var/rw/nagios.cmd daemon_dumps_core=0 date_format=us debug_file=/opt/nagios/var/nagios.debug debug_level=0 debug_verbosity=1 enable_embedded_perl=1 enable_environment_macros=1 enable_event_handlers=1 enable_flap_detection=1 enable_notifications=1 enable_predictive_host_dependency_checks=1 enable_predictive_service_dependency_checks=1 event_broker_options=-1 event_handler_timeout=30 execute_host_checks=1 execute_service_checks=1 external_command_buffer_slots=4096 high_host_flap_threshold=20.0 high_service_flap_threshold=20.0 host_check_timeout=30 host_freshness_check_interval=60 host_inter_check_delay_method=s illegal_macro_output_chars=`~$&|'"<> illegal_object_name_chars=`~!$%^&*|'"<>?,()= interval_length=60 lock_file=/opt/nagios/var/nagios.lock log_archive_path=/db/sysadmin/nagios/archives/svxnagios03 log_event_handlers=1 log_external_commands=1 log_file=/opt/nagios/var/nagios.log log_host_retries=1 log_initial_states=0 log_notifications=1 log_passive_checks=1 log_rotation_method=d log_service_retries=1 low_host_flap_threshold=5.0 low_service_flap_threshold=5.0 max_check_result_file_age=3600 max_check_result_reaper_time=30 max_concurrent_checks=0 max_debug_file_size=1000000 max_host_check_spread=10 max_service_check_spread=10 nagios_group=nagios nagios_user=nagios notification_timeout=30 object_cache_file=/opt/nagios/var/objects.cache obsess_over_hosts=0 obsess_over_services=0 ocsp_timeout=5 p1_file=/opt/nagios/3.0rc3/bin/p1.pl passive_host_checks_are_soft=0 perfdata_timeout=5 precached_object_file=/opt/nagios/var/objects.precache process_performance_data=1 resource_file=/opt/nagios/etc/resource.cfg retain_state_information=1 retained_contact_host_attribute_mask=0 retained_contact_service_attribute_mask=0 retained_host_attribute_mask=0 retained_process_host_attribute_mask=0 retained_process_service_attribute_mask=0 retained_service_attribute_mask=0 retention_update_interval=60 service_check_timeout=60 service_freshness_check_interval=60 service_inter_check_delay_method=s service_interleave_factor=s service_perfdata_file=/var/spool/nagios/perfdata.log service_perfdata_file_mode=a service_perfdata_file_processing_command=process-service-perfdata service_perfdata_file_processing_interval=30 service_perfdata_file_template=$LASTSERVICECHECK$||$HOSTNAME$||$SERVICEDESC$||$SERVICEOUTPUT$||$SERVICEPERFDATA$ sleep_time=0.125 soft_state_dependencies=0 state_retention_file=/opt/nagios/var/retention.dat status_file=/opt/nagios/var/status.dat status_update_interval=10 temp_file=/opt/nagios/var/nagios.tmp temp_path=/tmp translate_passive_host_checks=0 use_aggressive_host_checking=0 use_embedded_perl_implicitly=1 use_large_installation_tweaks=1 use_regexp_matching=1 use_retained_program_state=1 use_retained_scheduling_info=1 use_syslog=1 use_true_regexp_matching=0 Vincent Alloo TI France Design Systems Operations Manager Europe, Middle East and Africa IT Services Texas Instruments France E-Mail: v-alloo at ti.com Phone: +33 4 93 22 26 97 Mobile: +33 6 82 13 00 80 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ae at op5.se Wed Nov 19 12:56:00 2008 From: ae at op5.se (Andreas Ericsson) Date: Wed, 19 Nov 2008 12:56:00 +0100 Subject: Nagios 3.0.4 performance issue In-Reply-To: <184E3F696E604341B2D96227FFD0B8C5920C8432@dnce02.ent.ti.com> References: <184E3F696E604341B2D96227FFD0B8C5920C7FD0@dnce02.ent.ti.com> <184E3F696E604341B2D96227FFD0B8C5920C8432@dnce02.ent.ti.com> Message-ID: <4923FED0.8040001@op5.se> Alloo, Vincent wrote: > By removing all "servicegroups", my load is back to normal. > I had all my NRPE services within the same service group in > order to put in place a service dependency. It means 3600 > services within the same service group. > It was causing the huge load seen on my machine. > Is it a normal behavior, or is it a bug? > It's a bug, but in the configuration. A servicegroup with 3600 services cannot be used to create a sane servicedependency setup. My guess is that you somehow managed to set a *lot* of service dependencies for a *lot* of services, which in turn meant that all of those dependencies had to be checked each time one of the services had to be run. In short, before each service check, a list with 3600 items was traversed. That would add quite a substantial load on the CPU, so I'm not surprised. Can you please copy-paste the servicedependency you had created using this supersized servicegroup? Thanks -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From andurin at process-zero.de Wed Nov 19 12:59:43 2008 From: andurin at process-zero.de (=?UTF-8?B?SGVuZHJpayBCw6Rja2Vy?=) Date: Wed, 19 Nov 2008 12:59:43 +0100 Subject: Nagios 3.0.4 performance issue In-Reply-To: <184E3F696E604341B2D96227FFD0B8C5920C8432@dnce02.ent.ti.com> References: <184E3F696E604341B2D96227FFD0B8C5920C7FD0@dnce02.ent.ti.com> <184E3F696E604341B2D96227FFD0B8C5920C8432@dnce02.ent.ti.com> Message-ID: <4923FFAF.2080601@process-zero.de> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Alloo, Vincent schrieb: > > > By removing all ?servicegroups?, my load is back to normal. > > I had all my NRPE services within the same service group in order > to put in place a service dependency. It means 3600 services within > the same service group. > > It was causing the huge load seen on my machine. > > Is it a normal behavior, or is it a bug? > > > That's interesting. AFAIK servicegroups has nothing to do with the monitoring itself, just as a viewing group for the cgis. In your ps output I saw some nagios processes, but no running cgi executions... 3600 Items in a CGI related view has a long runtime but on that you should the you webserver into causing high CPU Usage and all the other 'bad stuff'. Maybe you can give it a try, rebuild your servicegroup, restart nagios but stop the webserver, so noone can view your group. Load normal or high? - - Hendrik -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) iD8DBQFJI/+vlI0PwfxLQjkRAhrUAJ4s4YL5wWCwMuW6fzr3gl+XWNIGeACeN8H9 WI/DvZZLQ4wCWB81VwdrkV4= =tfPm -----END PGP SIGNATURE----- ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Markus.Almroth at teliasonera.com Wed Nov 19 13:38:55 2008 From: Markus.Almroth at teliasonera.com (Markus.Almroth at teliasonera.com) Date: Wed, 19 Nov 2008 13:38:55 +0100 Subject: Nagios retention problem. In-Reply-To: <491D7902.4000307@op5.se> References: <9DFC8BEC38DA324391F4FC69634EE2B50110B21B@SEHAN014MB.tcad.telia.se> <9DFC8BEC38DA324391F4FC69634EE2B501237A52@SEHAN014MB.tcad.telia.se> <491D7902.4000307@op5.se> Message-ID: <9DFC8BEC38DA324391F4FC69634EE2B501237CA0@SEHAN014MB.tcad.telia.se> I move this thred to 'dev' instead. It seems to fit better there. Problem solved. Nagios does'nt check the return value from the fclose() call when closing the tempfile used to write retention.dat. Before I upgraded to Nagios 3 I hade severe performance problems, so I moved all temp-files to ramdisks for higher performance which worked well. But when the number of services increased after upgrading the ramdisk was'nt big enough. Since there were no log entry, and the ramdisks were only about 40-50% full, I did'nt think this was the problem - after all the ramdisk were only 100% full between the closing of the tempfile until Nagios changed the name of the tempfile to "retention.dat". Anyway. I've rewritten the code a little so that Nagios checks the fclose() return value, and if there is a problem a log entry is written. Also Nagios does not change the name of the tempfile, so the old retention data is saved instead of the new corropt data. Are you people interested in the patch? Best Regards /Markus almroth -----Original Message----- From: Andreas Ericsson [mailto:ae at op5.se] Sent: den 14 november 2008 14:12 To: Almroth, Markus M. Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagios retention problem. Markus.Almroth at teliasonera.com wrote: > Does anybody know if Nagios _always_ write the retention file when > reloading/restarting? > It writes the retention file with rather frequent intervals, such as when it has done "enough" checks (where "enough" is determined sort of intelligently on a per-installation basis). Didn't the command-file trick work for you? -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From v-alloo at ti.com Wed Nov 19 13:56:46 2008 From: v-alloo at ti.com (Alloo, Vincent) Date: Wed, 19 Nov 2008 13:56:46 +0100 Subject: Nagios 3.0.4 performance issue In-Reply-To: <4923FED0.8040001@op5.se> References: <184E3F696E604341B2D96227FFD0B8C5920C7FD0@dnce02.ent.ti.com> <184E3F696E604341B2D96227FFD0B8C5920C8432@dnce02.ent.ti.com> <4923FED0.8040001@op5.se> Message-ID: <184E3F696E604341B2D96227FFD0B8C5920C852F@dnce02.ent.ti.com> Andreas, Here is an extract of my setup: define servicegroup{ servicegroup_name nrpe_services alias NRPE Services } define servicedependency{ host_name svxnagios02 service_description check_uname dependent_servicegroup_name nrpe_services notification_failure_criteria w,u,c } define service { use unix_24_7 host_name svxnagios02 service_description check_uname check_command check_nrpe_ssl!uname!0 notification_options c,r process_perf_data 0 } And a bunch of: define service { use unix_24_7 hostgroup_name sol-servers,linux-servers,sol-zone-servers,sol-servers-with_hotspare service_description CPU load check_command check_nrpe_ssl!check_load!5,4,3!6,5,4 servicegroups nrpe_services } .....(3600 services within the nrpe_services service group) Vincent Alloo TI France Design Systems Operations Manager Europe and Middle East IT Services Texas Instruments France E-Mail: v-alloo at ti.com Phone: +33 4 93 22 26 97 Mobile: +33 6 82 13 00 80 -----Original Message----- From: Andreas Ericsson [mailto:ae at op5.se] Sent: Wednesday, November 19, 2008 12:56 PM To: Alloo, Vincent Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagios 3.0.4 performance issue Alloo, Vincent wrote: > By removing all "servicegroups", my load is back to normal. > I had all my NRPE services within the same service group in > order to put in place a service dependency. It means 3600 > services within the same service group. > It was causing the huge load seen on my machine. > Is it a normal behavior, or is it a bug? > It's a bug, but in the configuration. A servicegroup with 3600 services cannot be used to create a sane servicedependency setup. My guess is that you somehow managed to set a *lot* of service dependencies for a *lot* of services, which in turn meant that all of those dependencies had to be checked each time one of the services had to be run. In short, before each service check, a list with 3600 items was traversed. That would add quite a substantial load on the CPU, so I'm not surprised. Can you please copy-paste the servicedependency you had created using this supersized servicegroup? Thanks -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From fernando.rocha at opservices.com.br Wed Nov 19 14:18:08 2008 From: fernando.rocha at opservices.com.br (Fernando Rocha) Date: Wed, 19 Nov 2008 11:18:08 -0200 (BRST) Subject: Notify more than once In-Reply-To: <31807319.6941227100675304.JavaMail.root@mail.opservices.com.br> References: <31807319.6941227100675304.JavaMail.root@mail.opservices.com.br> Message-ID: <17285883.6961227100688832.JavaMail.root@mail.opservices.com.br> Hi Ed, I haven't see nothing wrong, the service definition should overwrite the template definition. But, you can try the volatile services to send notifications until the service isn't reset by an OK. http://nagios.sourceforge.net/docs/3_0/volatileservices.html []'s -- Fernando Rocha Analista de Suporte - Opera??o OpServices - Porto Alegre - RS - Brasil +55 51 3275.3588 www.opservices.com.br www.opmon.org ----- "Ed Greenberg" wrote: > I have a bunch of active, and even some passive, alerts that notify > every 'notification_interval' minutes properly until reset by an OK, > but > I have on stubborn one. > > Below I've provided all the config info that I think is relevant. > Also > the entry in service.dat showing an unissued notification. > > Can somebody help me figure out what I've done wrong? > > Here is the definition of the service and everything that should > define > the need to alert every five minutes. > define service { > use passive-alert-only-service > register 1 > notification_interval 5 <---- I expect a notify every > five > minutes > service_description viral_email_not_received > hostgroup_name viral_email_not_received > check_command generic_notify!viral email not received > contact_groups edg > } > define service { > name passive-alert-only-service > use generic-service > is_volatile 0 > active_checks_enabled 0 > passive_checks_enabled 1 > check_freshness 0 > register 0 > max_check_attempts 1 > normal_check_interval 1 > retry_check_interval 1 > notification_interval 0 <--- this should have been > overridden by the line in the service definition above, right? > notification_period 24x7 > notification_options c > } > > define contactgroup{ > contactgroup_name edg > alias edg > members edg > } > > define contact{ > contact_name edg <----- This is me > alias Another Nagios Admin > host_notification_period 24x7 > service_notification_period 24x7 > host_notification_options d,r > service_notification_options w,u,c,r > host_notification_commands > host-notify-by-email,host-notify-by-epager > service_notification_commands > notify-by-email,notify-by-epager > email xxxxxxxxxxx > pager xxxxxxxxxxx > } > > The alert was fired with the following string sent to send_nsca: > admin005.geni.com viral_email_not_received 2 > sample_email not received > > This is the current state of the alert from status.dat: > service { > host_name=admin005.geni.com > service_description=viral_email_not_received > modified_attributes=0 > check_command=generic_notify!viral email not received > event_handler= > has_been_checked=1 > should_be_scheduled=0 > check_execution_time=0.000 > check_latency=3.015 > check_type=1 > current_state=2 > last_hard_state=2 > current_attempt=1 > max_attempts=1 > state_type=1 > last_state_change=1227034513 > last_hard_state_change=1227034513 > last_time_ok=0 > last_time_warning=0 > last_time_unknown=0 > last_time_critical=1227034513 > plugin_output=sample_email not received > performance_data= > last_check=1227034513 > next_check=0 > current_notification_number=1 > last_notification=1227034516 <---- this time is accurate > as > to the first alert > next_notification=1227034816 <---- this alert never > happened > and is now eleven minutes in the past as I write > no_more_notifications=0 > notifications_enabled=1 > active_checks_enabled=0 > passive_checks_enabled=1 > event_handler_enabled=1 > problem_has_been_acknowledged=0 > acknowledgement_type=0 > flap_detection_enabled=1 > failure_prediction_enabled=1 > process_performance_data=1 > obsess_over_service=1 > last_update=1227035386 > is_flapping=0 > percent_state_change=6.25 > scheduled_downtime_depth=0 > } > > > > > ------------------------------------------------------------------------- > 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=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Sascha.Runschke at gfkl.com Wed Nov 19 14:25:25 2008 From: Sascha.Runschke at gfkl.com (Sascha.Runschke at gfkl.com) Date: Wed, 19 Nov 2008 14:25:25 +0100 Subject: Antwort: Re: Nagios 3.0.4 performance issue In-Reply-To: <184E3F696E604341B2D96227FFD0B8C5920C852F@dnce02.ent.ti.com> References: <184E3F696E604341B2D96227FFD0B8C5920C852F@dnce02.ent.ti.com> Message-ID: "Alloo, Vincent" schrieb am 19.11.2008 13:56:46: > define servicedependency{ > host_name svxnagios02 > service_description check_uname > dependent_servicegroup_name nrpe_services > notification_failure_criteria w,u,c > } Excuse me, but what would that be good for? Why do you have _every_ nrpe check be depending on _every_ other nrpe check? I cannot make out _any_ scenario where this would make any sense. Did you configure this by accident or by intend? Regards Sascha -- Sascha Runschke IT-Infrastruktur fon : +49 (201) / 102-1879 fax : +49 (201) / 102-1102105 mobil : +49 (173) / 5419665 GFKL Financial Services AG Vorstand: Dr. Peter J?nsch (Vors.), J?rgen Baltes, Dr. Till Ergenzinger, Dr. Tom Haverkamp Vorsitzender des Aufsichtsrats: Dr. Georg F. Thoma Sitz: Limbecker Platz 1, 45127 Essen, Amtsgericht Essen, HRB 13522 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From fernando.rocha at opservices.com.br Wed Nov 19 14:25:15 2008 From: fernando.rocha at opservices.com.br (Fernando Rocha) Date: Wed, 19 Nov 2008 11:25:15 -0200 (BRST) Subject: how to monitoring SQL? In-Reply-To: <4923FCFE.655F.0018.0@dap.es> References: <4923FCFE.655F.0018.0@dap.es> Message-ID: <17497538.6991227101115714.JavaMail.root@mail.opservices.com.br> Hi Esteban, Try to run the command with "sh -x" before the check_mssql.sh and then send the result to us: [root at localhost libexec]# sh -x check_mssql.sh server user pass 2000 []'s -- Fernando Rocha Analista de Suporte - Opera??o OpServices - Porto Alegre - RS - Brasil +55 51 3275.3588 www.opservices.com.br www.opmon.org ----- "Esteban Torres Rodriguez" wrote: > how to monitoring SQL? > > I tried monitoring SQL, but not running. > > I use check_mssql.sh. > > > > ./check_mssql.sh server user pass 2000 > > CRITICAL - Could not make connection to SQL server. Incorrect server > name or SQL service not running. > > Esteban Torres Rodr?guez > ?REA DE SOPORTE T?CNICO Subdirecci?n de Sistemas Inform?ticos > Empresa P?blica Desarrollo Agrario y Pesquero, > email: etorres at dap.es > > > ------------------------------------------------------------------------- > 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=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From v-alloo at ti.com Wed Nov 19 14:44:35 2008 From: v-alloo at ti.com (Alloo, Vincent) Date: Wed, 19 Nov 2008 14:44:35 +0100 Subject: Antwort: Re: Nagios 3.0.4 performance issue In-Reply-To: References: <184E3F696E604341B2D96227FFD0B8C5920C852F@dnce02.ent.ti.com> Message-ID: <184E3F696E604341B2D96227FFD0B8C5920C85D1@dnce02.ent.ti.com> I have the nrpe.cfg config file on NFS. I?d like to not send notifications for all my NRPE checks in case of NFS failure. So my intent was to gate notifications on one single check using NRPE on NFS (check_uname on svxnagios02). If this check is failing, notifications will not be sent for the others. I?ve found servicegroup as the best way to code this dependency. If you have another idea, I?m open to suggestions. Regards, Vincent Alloo TI France Design Systems Operations Manager Europe, Middle East and Africa IT Services Texas Instruments France E-Mail: v-alloo at ti.com Phone: +33 4 93 22 26 97 Mobile: +33 6 82 13 00 80 From: Sascha.Runschke at gfkl.com [mailto:Sascha.Runschke at gfkl.com] Sent: Wednesday, November 19, 2008 2:25 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Antwort: Re: Nagios 3.0.4 performance issue "Alloo, Vincent" schrieb am 19.11.2008 13:56:46: > define servicedependency{ > host_name svxnagios02 > service_description check_uname > dependent_servicegroup_name nrpe_services > notification_failure_criteria w,u,c > } Excuse me, but what would that be good for? Why do you have _every_ nrpe check be depending on _every_ other nrpe check? I cannot make out _any_ scenario where this would make any sense. Did you configure this by accident or by intend? Regards Sascha -- Sascha Runschke IT-Infrastruktur fon : +49 (201) / 102-1879 fax : +49 (201) / 102-1102105 mobil : +49 (173) / 5419665 GFKL Financial Services AG Vorstand: Dr. Peter J?nsch (Vors.), J?rgen Baltes, Dr. Till Ergenzinger, Dr. Tom Haverkamp Vorsitzender des Aufsichtsrats: Dr. Georg F. Thoma Sitz: Limbecker Platz 1, 45127 Essen, Amtsgericht Essen, HRB 13522 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Wed Nov 19 15:18:02 2008 From: marc at ena.com (Marc Powell) Date: Wed, 19 Nov 2008 08:18:02 -0600 Subject: how to monitoring SQL? In-Reply-To: <17497538.6991227101115714.JavaMail.root@mail.opservices.com.br> References: <17497538.6991227101115714.JavaMail.root@mail.opservices.com.br> Message-ID: On Nov 19, 2008, at 7:25 AM, Fernando Rocha wrote: > Hi Esteban, > > Try to run the command with "sh -x" before the check_mssql.sh and > then send the result to us: > > [root at localhost libexec]# sh -x check_mssql.sh server user pass 2000 And as the nagios user, not root. -- Marc ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Sascha.Runschke at gfkl.com Wed Nov 19 16:29:41 2008 From: Sascha.Runschke at gfkl.com (Sascha.Runschke at gfkl.com) Date: Wed, 19 Nov 2008 16:29:41 +0100 Subject: Antwort: RE: Nagios 3.0.4 performance issue In-Reply-To: <184E3F696E604341B2D96227FFD0B8C5920C85D1@dnce02.ent.ti.com> References: <184E3F696E604341B2D96227FFD0B8C5920C85D1@dnce02.ent.ti.com> Message-ID: "Alloo, Vincent" schrieb am 19.11.2008 14:44:35: > I have the nrpe.cfg config file on NFS. I?d like to not send > notifications for all my NRPE checks in case of NFS failure. > So my intent was to gate notifications on one single check using > NRPE on NFS (check_uname on svxnagios02). If this check is failing, > notifications will not be sent for the others. > I?ve found servicegroup as the best way to code this dependency. Ah, my bad - I've read your configuration too hastily. But you do know that this means you have actually 3600 more checks to do then without this dependency, as 3600 checks will initiate a dependency check on the check_uname service if your predictive caching window is not big enough. Should your machine be able to handle 3600 more active checks that easily or do you have a big enough caching window? Regards Sascha PS: The best way would be to not have config files sitting on single-point-of-failure NFS shares ;) -- Sascha Runschke IT-Infrastruktur fon : +49 (201) / 102-1879 fax : +49 (201) / 102-1102105 mobil : +49 (173) / 5419665 GFKL Financial Services AG Vorstand: Dr. Peter J?nsch (Vors.), J?rgen Baltes, Dr. Till Ergenzinger, Dr. Tom Haverkamp Vorsitzender des Aufsichtsrats: Dr. Georg F. Thoma Sitz: Limbecker Platz 1, 45127 Essen, Amtsgericht Essen, HRB 13522 ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ghartl at gmail.com Wed Nov 19 16:57:05 2008 From: ghartl at gmail.com (Gary Hartl) Date: Wed, 19 Nov 2008 10:57:05 -0500 Subject: make-install-init fail Message-ID: <001801c94a5f$78c477e0$6a4d67a0$@com> Good Morning all; I am currently trying to install Nagios 3.0.5 on a FreeBSD-60-Stable sparc64 on a netra x1 Everything was cool (no errors) until I got to the make-install-init step, at which point I received the following error make install-init /usr/bin/install -c -m 755 -d -o root -g root /etc/rc.d/ install: root: Invalid argument *** Error code 67 Stop in /usr/home/.software/nagios-3.0.5. I searched the archives only to find a couple posts with similar problems but no feedback. I am wondering what it might be that is causing this to happen and what I can do to solve it. Thanks Gary ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From lavalamp at spiritual-machines.org Wed Nov 19 17:04:19 2008 From: lavalamp at spiritual-machines.org (Brian A. Seklecki) Date: Wed, 19 Nov 2008 11:04:19 -0500 (EST) Subject: make-install-init fail In-Reply-To: <001801c94a5f$78c477e0$6a4d67a0$@com> References: <001801c94a5f$78c477e0$6a4d67a0$@com> Message-ID: <20081119110315.M83718@arbitor.digitalfreaks.org> > make install-init > /usr/bin/install -c -m 755 -d -o root -g root /etc/rc.d/ > install: root: Invalid argument There is no "root" group on *BSD and assuming that there is is a fatal mistake (this isn't a POSIX requirement). There should be case/ifdef code in that makefile to check the platform. The FreeBSD port, which you should consider using, patches this bug. ~BAS ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ghartl at gmail.com Wed Nov 19 17:13:47 2008 From: ghartl at gmail.com (Gary Hartl) Date: Wed, 19 Nov 2008 11:13:47 -0500 Subject: make-install-init fail In-Reply-To: <20081119110315.M83718@arbitor.digitalfreaks.org> References: <001801c94a5f$78c477e0$6a4d67a0$@com> <20081119110315.M83718@arbitor.digitalfreaks.org> Message-ID: <002301c94a61$cdb0d0d0$69127270$@com> Hmmm ok I will give the port a try. Thanks will let the group know. Cheers, Gary -----Original Message----- From: Brian A. Seklecki [mailto:lavalamp at spiritual-machines.org] Sent: November-19-08 11:04 AM To: Gary Hartl Cc: Nagios-Users Subject: Re: [Nagios-users] make-install-init fail > make install-init > /usr/bin/install -c -m 755 -d -o root -g root /etc/rc.d/ > install: root: Invalid argument There is no "root" group on *BSD and assuming that there is is a fatal mistake (this isn't a POSIX requirement). There should be case/ifdef code in that makefile to check the platform. The FreeBSD port, which you should consider using, patches this bug. ~BAS ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Sascha.Runschke at gfkl.com Wed Nov 19 17:14:07 2008 From: Sascha.Runschke at gfkl.com (Sascha.Runschke at gfkl.com) Date: Wed, 19 Nov 2008 17:14:07 +0100 Subject: Antwort: make-install-init fail In-Reply-To: <001801c94a5f$78c477e0$6a4d67a0$@com> References: <001801c94a5f$78c477e0$6a4d67a0$@com> Message-ID: "Gary Hartl" schrieb am 19.11.2008 16:57:05: > I am currently trying to install Nagios 3.0.5 on a FreeBSD-60-Stable sparc64 > on a netra x1 > > Everything was cool (no errors) until I got to the make-install-init step, > at which point I received the following error > > make install-init > /usr/bin/install -c -m 755 -d -o root -g root /etc/rc.d/ > install: root: Invalid argument > *** Error code 67 > > I am wondering what it might be that is causing this to happen and what I > can do to solve it. FreeBSD does not have a root group, like Linux systems. Edit the Makefile of your nagios source and replace: INIT_OPTS=-o root -g root with INIT_OPTS=-o root -g wheel I don't know very much about the BSD initscripts either, so if they are not SysV style, then you need to edit INIT_DIR too. Hope it helped. Regards Sascha @Andreas: Any chance you want to make a patch against the configure.in - should be trivial ;) -- Sascha Runschke IT-Infrastruktur fon : +49 (201) / 102-1879 fax : +49 (201) / 102-1102105 mobil : +49 (173) / 5419665 GFKL Financial Services AG Vorstand: Dr. Peter J?nsch (Vors.), J?rgen Baltes, Dr. Till Ergenzinger, Dr. Tom Haverkamp Vorsitzender des Aufsichtsrats: Dr. Georg F. Thoma Sitz: Limbecker Platz 1, 45127 Essen, Amtsgericht Essen, HRB 13522 ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From v-alloo at ti.com Wed Nov 19 17:24:07 2008 From: v-alloo at ti.com (Alloo, Vincent) Date: Wed, 19 Nov 2008 17:24:07 +0100 Subject: Antwort: RE: Nagios 3.0.4 performance issue In-Reply-To: References: <184E3F696E604341B2D96227FFD0B8C5920C85D1@dnce02.ent.ti.com> Message-ID: <184E3F696E604341B2D96227FFD0B8C5925037C5@dnce02.ent.ti.com> OK. What's your advice to have most of my check_uname results coming from cache? All my nrpe checks have a check_interval of 5. I have modified the check_uname one to check_interval=1 and modified the cached_service_check_horizon to 130, without success. My cache hit for services is still at 0, and my CPU load is high. Thanks in advance, Vincent Alloo TI France Design Systems Operations Manager Europe and Middle East IT Services Texas Instruments France E-Mail: v-alloo at ti.com Phone: +33 4 93 22 26 97 Mobile: +33 6 82 13 00 80 -----Original Message----- From: Sascha.Runschke at gfkl.com [mailto:Sascha.Runschke at gfkl.com] Sent: Wednesday, November 19, 2008 4:30 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Antwort: RE: Nagios 3.0.4 performance issue "Alloo, Vincent" schrieb am 19.11.2008 14:44:35: > I have the nrpe.cfg config file on NFS. I?d like to not send > notifications for all my NRPE checks in case of NFS failure. > So my intent was to gate notifications on one single check using > NRPE on NFS (check_uname on svxnagios02). If this check is failing, > notifications will not be sent for the others. > I?ve found servicegroup as the best way to code this dependency. Ah, my bad - I've read your configuration too hastily. But you do know that this means you have actually 3600 more checks to do then without this dependency, as 3600 checks will initiate a dependency check on the check_uname service if your predictive caching window is not big enough. Should your machine be able to handle 3600 more active checks that easily or do you have a big enough caching window? Regards Sascha PS: The best way would be to not have config files sitting on single-point-of-failure NFS shares ;) -- Sascha Runschke IT-Infrastruktur fon : +49 (201) / 102-1879 fax : +49 (201) / 102-1102105 mobil : +49 (173) / 5419665 GFKL Financial Services AG Vorstand: Dr. Peter J?nsch (Vors.), J?rgen Baltes, Dr. Till Ergenzinger, Dr. Tom Haverkamp Vorsitzender des Aufsichtsrats: Dr. Georg F. Thoma Sitz: Limbecker Platz 1, 45127 Essen, Amtsgericht Essen, HRB 13522 ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From challenger_joseph at yahoo.com.mx Wed Nov 19 17:28:30 2008 From: challenger_joseph at yahoo.com.mx (=?iso-8859-1?Q?Christian_I=F1iguez?=) Date: Wed, 19 Nov 2008 08:28:30 -0800 (PST) Subject: Cannot find ssl headers References: <635133.32943.qm@web36507.mail.mud.yahoo.com> <200811181435.30253.assaf.flatto@ssp.uk.com> Message-ID: <301084.96787.qm@web36501.mail.mud.yahoo.com> Thank you very much, the second way works!! ________________________________ De: Assaf Flatto Para: nagios-users at lists.sourceforge.net Enviado: martes, 18 de noviembre, 2008 8:35:30 Asunto: Re: [Nagios-users] Cannot find ssl headers You have two ways to to it 1) ./configure --no-ssl this will cause the configure to not search the ssl module and there for run with no ssl complied . 2) apt-get install openssl? or mod_ssl - not sure about the way debian packages are . Install the ssl packages and then rerun the complie script. Assaf On Tuesday 18 November 2008 14:20:45 Christian I?iguez wrote: > Hi all. > > I've been?trying to install nagios-plugin (nagios-plugins-1.4.13)?and nrpe > (nrpe-2.12)?to be able to monitor server (Debian 3.1) but when ./configure > nrpe have this error: > > checking for SSL headers... configure error: Cannot find ssl headers > > On servers with Red Hat everything is ok, but on Debian I got the > above?error =( > > Do you know how can I solve this issue? > Or the way to set up nagios-plugin and nrpe on Debian? > > Thanks in advance! > > >? ? ? Premios MTV 2008?En exclusiva! Fotos, nominados, videos, y mucho m?s! > Mira aqu? http://mtvla.yahoo.com/ -- Assaf Flatto SSP Ops Team Linux System Administrator 169 Euston Road, London, NW1 2AE 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 ?Todo sobre Amor y Sexo! La gu?a completa para tu vida en Mujer de Hoy. http://mx.mujer.yahoo.com/ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Wed Nov 19 17:34:35 2008 From: marc at ena.com (Marc Powell) Date: Wed, 19 Nov 2008 10:34:35 -0600 Subject: how to monitoring SQL? In-Reply-To: References: <17497538.6991227101115714.JavaMail.root@mail.opservices.com.br> Message-ID: On Nov 19, 2008, at 8:18 AM, Marc Powell wrote: > > On Nov 19, 2008, at 7:25 AM, Fernando Rocha wrote: > >> Hi Esteban, >> >> Try to run the command with "sh -x" before the check_mssql.sh and >> then send the result to us: >> >> [root at localhost libexec]# sh -x check_mssql.sh server user pass 2000 > > And as the nagios user, not root. *caveat*, I don't use this plugin nor do I know much about the internals of SQL2000. I tested it out and experienced the same error. It appears that the query is not qualified enough, at least for the username I was logging in with. Changing echo -e "select loginame from sysprocesses where spid > $spid order by loginame asc\ngo" > $tmpfile to echo -e "select loginame from sys.sysprocesses where spid > $spid order by loginame asc\ngo" > $tmpfile resulted in a successful check -- $ ./check_mssql.sh 2000 OK - MS SQL Server 2000 has 1 user(s) connected: 1 . -- Marc ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From alexus at gmail.com Wed Nov 19 18:21:46 2008 From: alexus at gmail.com (alexus) Date: Wed, 19 Nov 2008 12:21:46 -0500 Subject: nagios not sending service alerts In-Reply-To: <6ae50c2d0811181225n7479dc8fi5fb88e51d09c5ac2@mail.gmail.com> References: <6ae50c2d0811172357q6236e9ffs343cda6da3b5227f@mail.gmail.com> <200811181044.43324.assaf.flatto@ssp.uk.com> <6ae50c2d0811180746k6289c07td827ecffc7526bdd@mail.gmail.com> <89D4B1FD-DFAC-4B70-AF25-D25C4CBA5369@ena.com> <6ae50c2d0811181225n7479dc8fi5fb88e51d09c5ac2@mail.gmail.com> Message-ID: <6ae50c2d0811190921j5b01b98era10fc15158113b2b@mail.gmail.com> anyone else have some ideas? On Tue, Nov 18, 2008 at 3:25 PM, alexus wrote: > everything is enabled > > through WEB UI as well > > On Tue, Nov 18, 2008 at 11:09 AM, Marc Powell wrote: >> >> On Nov 18, 2008, at 9:46 AM, alexus wrote: >> >>> define contactgroup { >>> contactgroup_name staff >>> alias staff >>> members DAC2 >>> } >>> >>> define contact { >>> contact_name DAC2 >>> alias XXX >>> host_notification_period 24x7 >>> service_notification_period 24x7 >>> host_notification_options d,u,r >>> service_notification_options w,u,c,r >>> host_notification_commands notify-host-by-email >>> service_notification_commands notify-service-by-email >>> email XXX at messaging.sprintpcs.com >>> pager XXX at messaging.sprintpcs.com >>> } >> >> Looks fine. Are notifications disabled for the service in the web >> interface or disabled globally, either in nagios.cfg or via the web >> interface? >> >> -- >> Marc >> >> >> ------------------------------------------------------------------------- >> 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=100&url=/ >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at 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 >> > > > > -- > http://alexus.org/ > -- http://alexus.org/ ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From scarolan at gmail.com Wed Nov 19 19:00:56 2008 From: scarolan at gmail.com (Sean Carolan) Date: Wed, 19 Nov 2008 12:00:56 -0600 Subject: Possible to create manual event handlers for use in WAP interface? Message-ID: <277020fc0811191000n6931de5at8db0035bafe3c4d0@mail.gmail.com> Would something like this be possible: 1. Service is down hard, fails 3 successive checks. 2. Admin is alerted via SMS/email and clicks on WAP browser link on his mobile device. 3. Acknowledges problem, clicks button to restart service on host. Is there a way to create a "manual" event handler that will work this way? ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From fernando.rocha at opservices.com.br Wed Nov 19 20:18:52 2008 From: fernando.rocha at opservices.com.br (Fernando Rocha) Date: Wed, 19 Nov 2008 17:18:52 -0200 (BRST) Subject: nagios not sending service alerts In-Reply-To: <13570773.9061227122300133.JavaMail.root@mail.opservices.com.br> References: <13570773.9061227122300133.JavaMail.root@mail.opservices.com.br> Message-ID: <32141010.9081227122332902.JavaMail.root@mail.opservices.com.br> Hi Alexus, Is just for this contact/service? have you tried by the command line? is there some occurrence on the nagios logs? -- Fernando Rocha Analista de Suporte - Opera??o OpServices - Porto Alegre - RS - Brasil +55 51 3275.3588 www.opservices.com.br www.opmon.org ----- "alexus" wrote: > anyone else have some ideas? > > > > On Tue, Nov 18, 2008 at 3:25 PM, alexus wrote: > > everything is enabled > > > > through WEB UI as well > > > > On Tue, Nov 18, 2008 at 11:09 AM, Marc Powell wrote: > >> > >> On Nov 18, 2008, at 9:46 AM, alexus wrote: > >> > >>> define contactgroup { > >>> contactgroup_name staff > >>> alias staff > >>> members DAC2 > >>> } > >>> > >>> define contact { > >>> contact_name DAC2 > >>> alias XXX > >>> host_notification_period 24x7 > >>> service_notification_period 24x7 > >>> host_notification_options d,u,r > >>> service_notification_options w,u,c,r > >>> host_notification_commands notify-host-by-email > >>> service_notification_commands notify-service-by-email > >>> email XXX at messaging.sprintpcs.com > >>> pager XXX at messaging.sprintpcs.com > >>> } > >> > >> Looks fine. Are notifications disabled for the service in the web > >> interface or disabled globally, either in nagios.cfg or via the > web > >> interface? > >> > >> -- > >> Marc > >> > >> > >> > ------------------------------------------------------------------------- > >> 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=100&url=/ > >> _______________________________________________ > >> Nagios-users mailing list > >> Nagios-users at 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 > >> > > > > > > > > -- > > http://alexus.org/ > > > > > > -- > http://alexus.org/ > > ------------------------------------------------------------------------- > 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=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From alexus at gmail.com Wed Nov 19 23:48:11 2008 From: alexus at gmail.com (alexus) Date: Wed, 19 Nov 2008 17:48:11 -0500 Subject: nagios not sending service alerts In-Reply-To: <32141010.9081227122332902.JavaMail.root@mail.opservices.com.br> References: <13570773.9061227122300133.JavaMail.root@mail.opservices.com.br> <32141010.9081227122332902.JavaMail.root@mail.opservices.com.br> Message-ID: <6ae50c2d0811191448t7301aa01nf61d82113a515860@mail.gmail.com> nothing in nagios logs and locally it works, meaning if i copy and paste this command into shell i get an email/alert, but nagios itself doesn't trigger it for whatever reason... On Wed, Nov 19, 2008 at 2:18 PM, Fernando Rocha wrote: > Hi Alexus, > > Is just for this contact/service? > have you tried by the command line? > is there some occurrence on the nagios logs? > > -- > Fernando Rocha > Analista de Suporte - Opera??o > OpServices - Porto Alegre - RS - Brasil > +55 51 3275.3588 > www.opservices.com.br > www.opmon.org > > ----- "alexus" wrote: > >> anyone else have some ideas? >> >> >> >> On Tue, Nov 18, 2008 at 3:25 PM, alexus wrote: >> > everything is enabled >> > >> > through WEB UI as well >> > >> > On Tue, Nov 18, 2008 at 11:09 AM, Marc Powell wrote: >> >> >> >> On Nov 18, 2008, at 9:46 AM, alexus wrote: >> >> >> >>> define contactgroup { >> >>> contactgroup_name staff >> >>> alias staff >> >>> members DAC2 >> >>> } >> >>> >> >>> define contact { >> >>> contact_name DAC2 >> >>> alias XXX >> >>> host_notification_period 24x7 >> >>> service_notification_period 24x7 >> >>> host_notification_options d,u,r >> >>> service_notification_options w,u,c,r >> >>> host_notification_commands notify-host-by-email >> >>> service_notification_commands notify-service-by-email >> >>> email XXX at messaging.sprintpcs.com >> >>> pager XXX at messaging.sprintpcs.com >> >>> } >> >> >> >> Looks fine. Are notifications disabled for the service in the web >> >> interface or disabled globally, either in nagios.cfg or via the >> web >> >> interface? >> >> >> >> -- >> >> Marc >> >> >> >> >> >> >> ------------------------------------------------------------------------- >> >> 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=100&url=/ >> >> _______________________________________________ >> >> Nagios-users mailing list >> >> Nagios-users at 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 >> >> >> > >> > >> > >> > -- >> > http://alexus.org/ >> > >> >> >> >> -- >> http://alexus.org/ >> >> ------------------------------------------------------------------------- >> 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=100&url=/ >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at 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 > -- http://alexus.org/ ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Thu Nov 20 00:28:26 2008 From: marc at ena.com (Marc Powell) Date: Wed, 19 Nov 2008 17:28:26 -0600 Subject: nagios not sending service alerts In-Reply-To: <6ae50c2d0811191448t7301aa01nf61d82113a515860@mail.gmail.com> References: <13570773.9061227122300133.JavaMail.root@mail.opservices.com.br> <32141010.9081227122332902.JavaMail.root@mail.opservices.com.br> <6ae50c2d0811191448t7301aa01nf61d82113a515860@mail.gmail.com> Message-ID: <09484831-5ABB-4FF1-BE69-1D543C2A43DC@ena.com> On Nov 19, 2008, at 4:48 PM, alexus wrote: > nothing in nagios logs > > and locally it works, meaning if i copy and paste this command into > shell i get an email/alert, but nagios itself doesn't trigger it for > whatever reason... Nagios doesn't believe it's supposed to send notifications. If it did, at the very least it would log the attempt. Please post the general 'program{}' section, the 'service{}' definition for something you should have received a notification and the 'contact{}' definition for that contact, *obtained from var/status.dat* (or whatever the value of status_file is in nagios.cfg). That will allow us to see for certain what nagios believes it's supposed to be doing. You should obtain these while nagios is running. Everything you've answered indicates that nagios should be logging, and sending notifications. Something's not right. If the above shows everything correct as well, debug mode might be your only remaining option. That's a ./configure option for nagios-2.x so you'd need to recompile. -- Marc ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From farhhanahmed at hotmail.com Thu Nov 20 04:26:48 2008 From: farhhanahmed at hotmail.com (farhan ahmed) Date: Thu, 20 Nov 2008 14:26:48 +1100 Subject: NRPE mystery Message-ID: Hello, I am having really NRPE weird issue, never faced this type of problem before, configured NRPE on hundreds Hosts without any problem but this one is killing me Environment: OS: Solaris 10 Zone NRPE Version: 2.12 Nagios-plugins Version: 1.4.13 OpenSSL: 0.9.8i Nagios Server: Ubuntu 8.04(hardy) Nagios Version: 3.0.5 Problem: I compiled , installed and started NRPE successfully on Solaris 10 zone. But somehow Nagios doesn't show the status critical or warning for this host even services are down. Nagios shows status 'OK' all the time though services are critical For example On Solaris 10 zone, nrpe.cfg file has command[check_users]=/usr/local/sys/nrpe/libexec/check_users -w 2 -c 3 command[check_remote]=/usr/local/sys/nrpe/libexec/check_tcp -p 1250 root at asqstage# /usr/local/sys/nrpe/libexec/check_users -w 2 -c 3 USERS CRITICAL - 11 users currently logged in |users=11;2;3;0 root at asqstage# /usr/local/sys/nrpe/libexec/check_tcp -p 1250 Connection refused On Nagios Server: root at cuba:~# /usr/local/nagios/libexec/check_nrpe -H asqstage -c check_users USERS CRITICAL - 10 users currently logged in |users=10;2;3;0 root at cuba:~# /usr/local/nagios/libexec/check_nrpe -H asqstage -c check_remote Connection refused So, it means NRPE is passing write information to the check_nrpe on nagios, but somehow Nagios is showing them as OK status check users OK 11-20-2008 14:20:41 0d 0h 20m 28s 1/3 USERS CRITICAL - 10 users currently logged in check Remote Trace OK 11-20-2008 14:16:57 0d 0h 19m 12s 1/3 Connection refused Here is my nagios configuration define host{ use generic-host ; Name of host template to use host_name asqstage alias asqstage parents sheila address 163.189.222.51 check_command check-host-alive max_check_attempts 10 contact_groups CMESMonitoringGroup notification_interval 1440 notification_period 24x7 notification_options d,u,r } define service{ use generic-service ; Name of service template to use host_name asqstage service_description check users check_command check_nrpe!check_users } define service{ use generic-service ; Name of service template to use host_name asqstage service_description check Remote Trace check_command check_nrpe!check_remote } Please anyone who can help me in this. I am really stuck into it and can't figure out why it is happening. Thanks, -- Regards, Farhan Ahmed _________________________________________________________________ Your dream beach house escape for summer! Sign up for the Hotmail Road Trip today. http://www.ninemsn.com.au/hotmailroadtrip -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From alexus at gmail.com Thu Nov 20 04:34:27 2008 From: alexus at gmail.com (alexus) Date: Wed, 19 Nov 2008 22:34:27 -0500 Subject: nagios not sending service alerts In-Reply-To: <09484831-5ABB-4FF1-BE69-1D543C2A43DC@ena.com> References: <13570773.9061227122300133.JavaMail.root@mail.opservices.com.br> <32141010.9081227122332902.JavaMail.root@mail.opservices.com.br> <6ae50c2d0811191448t7301aa01nf61d82113a515860@mail.gmail.com> <09484831-5ABB-4FF1-BE69-1D543C2A43DC@ena.com> Message-ID: <6ae50c2d0811191934i1b1e12a3xfc9b113d81d1c1dc@mail.gmail.com> program { modified_host_attributes=17 modified_service_attributes=17 nagios_pid=13374 daemon_mode=1 program_start=1226993882 last_command_check=1227151516 last_log_rotation=1227070800 enable_notifications=1 active_service_checks_enabled=1 passive_service_checks_enabled=1 active_host_checks_enabled=1 passive_host_checks_enabled=1 enable_event_handlers=1 obsess_over_services=0 obsess_over_hosts=0 check_service_freshness=1 check_host_freshness=0 enable_flap_detection=1 enable_failure_prediction=1 process_performance_data=0 global_host_event_handler= global_service_event_handler= total_external_command_buffer_slots=4096 used_external_command_buffer_slots=0 high_external_command_buffer_slots=1 total_check_result_buffer_slots=4096 used_check_result_buffer_slots=1 high_check_result_buffer_slots=9 } service { host_name=acies.ny.box service_description=check_http modified_attributes=0 check_command=check_http!80 event_handler= has_been_checked=1 should_be_scheduled=1 check_execution_time=0.048 check_latency=0.246 check_type=0 current_state=0 last_hard_state=0 current_attempt=1 max_attempts=2 state_type=1 last_state_change=1226075415 last_hard_state_change=1226030235 last_time_ok=1227151447 last_time_warning=0 last_time_unknown=0 last_time_critical=1226075355 plugin_output=HTTP OK HTTP/1.1 200 OK - 282 bytes in 0.035 seconds performance_data=time=0.034983s;;;0.000000 size=282B;;;0 last_check=1227151447 next_check=1227151687 current_notification_number=0 last_notification=0 next_notification=0 no_more_notifications=0 notifications_enabled=1 active_checks_enabled=1 passive_checks_enabled=1 event_handler_enabled=1 problem_has_been_acknowledged=0 acknowledgement_type=0 flap_detection_enabled=1 failure_prediction_enabled=1 process_performance_data=0 obsess_over_service=1 last_update=1227151517 is_flapping=0 percent_state_change=0.00 scheduled_downtime_depth=0 } i do not have contact{} defenition in my status.dat, I do however have my contact in objects.cache, which is define contactgroup { contactgroup_name staff alias staff members DAC2 } define contact { contact_name DAC2 alias Dmitry A Chorine (Sprint) service_notification_period 24x7 host_notification_period 24x7 service_notification_options w,u,c,r host_notification_options d,u,r service_notification_commands notify-service-by-email host_notification_commands notify-host-by-email email XXXXXXXXXX at messaging.sprintpcs.com pager XXXXXXXXXX at messaging.sprintpcs.com } i honestly dont know where else to look i'm pretty sure it's somewhere misconfiguration of nagios, because it sometimes (very rare) does send notification (example) d# grep NOTIFICATION nagios.log [1227110402] SERVICE NOTIFICATION: DAC2;hoowy;check_http;CRITICAL;notify-service-by-email;CRITICAL - Socket timeout after 10 seconds [1227110642] SERVICE NOTIFICATION: DAC2;hoowy;check_http;OK;notify-service-by-email;HTTP OK HTTP/1.1 200 OK - 250 bytes in 9.802 seconds [1227124132] SERVICE NOTIFICATION: DAC2;ac1.alpha;check_http.ac;CRITICAL;notify-service-by-email;CRITICAL - Socket timeout after 10 seconds [1227124132] SERVICE NOTIFICATION: AC;ac1.alpha;check_http.ac;CRITICAL;notify-service-by-email;CRITICAL - Socket timeout after 10 seconds [1227124602] SERVICE NOTIFICATION: DAC2;ac1.alpha;check_http.ac;OK;notify-service-by-email;HTTP OK HTTP/1.1 200 OK - 16328 bytes in 0.479 seconds [1227124602] SERVICE NOTIFICATION: AC;ac1.alpha;check_http.ac;OK;notify-service-by-email;HTTP OK HTTP/1.1 200 OK - 16328 bytes in 0.479 seconds d# no, configuration has been changed from that moment On Wed, Nov 19, 2008 at 6:28 PM, Marc Powell wrote: > > On Nov 19, 2008, at 4:48 PM, alexus wrote: > >> nothing in nagios logs >> >> and locally it works, meaning if i copy and paste this command into >> shell i get an email/alert, but nagios itself doesn't trigger it for >> whatever reason... > > Nagios doesn't believe it's supposed to send notifications. If it did, > at the very least it would log the attempt. Please post the general > 'program{}' section, the 'service{}' definition for something you > should have received a notification and the 'contact{}' definition for > that contact, *obtained from var/status.dat* (or whatever the value of > status_file is in nagios.cfg). That will allow us to see for certain > what nagios believes it's supposed to be doing. You should obtain > these while nagios is running. > > Everything you've answered indicates that nagios should be logging, > and sending notifications. Something's not right. If the above shows > everything correct as well, debug mode might be your only remaining > option. That's a ./configure option for nagios-2.x so you'd need to > recompile. > > -- > Marc > > > ------------------------------------------------------------------------- > 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=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > -- http://alexus.org/ ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From mattias.ryrlen at op5.com Thu Nov 20 08:45:15 2008 From: mattias.ryrlen at op5.com (Mattias =?ISO-8859-1?Q?Ryrl=E9n?=) Date: Thu, 20 Nov 2008 08:45:15 +0100 Subject: how to monitoring SQL? In-Reply-To: References: <17497538.6991227101115714.JavaMail.root@mail.opservices.com.br> Message-ID: <1227167115.7470.15.camel@mr-laptop> Hi, I top post since so many that like it :) You could use check_sql from nagiosexchange: http://www.nagiosexchange.org/cgi-bin/page.cgi?g=Detailed% 2F1435.html;d=1 Then you could use our nice how-to: http://www.op5.com/support/technical-information/how-to/43-monitoring-microsoft-sql-server It uses the following plugins: check_nt negate check_sql actual check_commands to be used (since they are not in the how-to but in our product) check_mssql_db_file_size: $USER1$/check_nt -H $HOSTADDRESS$ -v COUNTER -l "\ \SQLServer:Databases($ARG1$)\Data File(s) Size (KB)","Db file for $ARG1$ is: %.2f Kb" -w $ARG2$ -c $ARG3$ check_mssql_log_file_size: $USER1$/check_nt -H $HOSTADDRESS$ -v COUNTER -l "\ \SQLServer:Databases($ARG1$)\Log File(s) Size (KB)","Log file for $ARG1$ is: %.2f Kb" -w $ARG2$ -c $ARG3$ check_nt_memory_page_per_sec: $USER1$/check_nt -H $HOSTADDRESS$ -v COUNTER -l "\\Memory \Pages/sec","Pages/sec %.2f" -w $ARG1$ -c $ARG2$ check_nt_physical_disk_time: $USER1$/check_nt -H $HOSTADDRESS$ -v COUNTER -l "\\PhysicalDisk(_Total)\ % Disk Time","Physical Disk Time %.2f percent" -w $ARG1$ -c $ARG2$ check_mssql_num_deadlocks: $USER1$/check_nt -H $HOSTADDRESS$ -v COUNTER -l "\ \SQLServer:Locks(_Total)\Number of Deadlocks/sec","Num of Deadlocks/sec %.2f" -c $ARG1$ check_mssql_num_user_connections: $USER1$/check_nt -H $HOSTADDRESS$ -v COUNTER -l "\SQLServer:General Statistics\User Connections","User Connections %.2f" -w $ARG1$ -c $ARG2$ check_mssql_cache_hit_ratio: $USER1$/negate --ok=CRITICAL --critical=OK $USER1$/check_nt -H $HOSTADDRESS$ -v COUNTER -l "\SQLServer:Cache Manager(_Total)\Cache Hit Ratio","Total Cache Hit Ratio %.2f percent" -c $ARG1$ check_mssql_backup_job: $USER1$/check_sql -H $HOSTADDRESS$ -U "$ARG1$" -P "$ARG2$" -d Sybase -D msdb -q "SELECT TOP 1 sysjobhistory.message FROM sysjobhistory join sysjobs on (sysjobhistory.job_id=sysjobs.job_id) WHERE sysjobs.name = '$ARG3$' AND sysjobhistory.step_name = '(Job outcome)' AND DATEDIFF(dd, CONVERT(CHAR(8), sysjobhistory.run_date), GETDATE()) < 1 ORDER BY sysjobhistory.run_date,sysjobhistory.run_time" -s -r -e ".*The job succeeded\..*" check_mssql_query_string_regex: $USER1$/custom/check_sql -H $HOSTADDRESS$ -U "$ARG1$" -P "$ARG2$" -d Sybase -D $ARG3$ -q "$ARG4$" -s -r -e "$ARG5$" check_mssql_query_count: $USER1$/custom/check_sql -H $HOSTADDRESS$ -U "$ARG1$" -P "$ARG2$" -d Sybase -D $ARG3$ -q "$ARG4$" -s -W $ARG5$ -C $ARG6$ check_mssql_query_reponstime: $USER1$/custom/check_sql -H $HOSTADDRESS$ -U "$ARG1$" -P "$ARG2$" -d Sybase -D $ARG3$ -q "$ARG4$" -s -w $ARG5$ -c $ARG6$ -s -- V?nliga h?lsningar / Best Regards Mattias Ryrl?n __________________________ op5 AB F?rsta L?nggatan 19 SE-413 27 G?teborg Mobil: +46 735-17 70 99 Support: +46 31-774 09 24 www.op5.com On Wed, 2008-11-19 at 10:34 -0600, Marc Powell wrote: > On Nov 19, 2008, at 8:18 AM, Marc Powell wrote: > > > > > On Nov 19, 2008, at 7:25 AM, Fernando Rocha wrote: > > > >> Hi Esteban, > >> > >> Try to run the command with "sh -x" before the check_mssql.sh and > >> then send the result to us: > >> > >> [root at localhost libexec]# sh -x check_mssql.sh server user pass 2000 > > > > And as the nagios user, not root. > > *caveat*, I don't use this plugin nor do I know much about the > internals of SQL2000. > > I tested it out and experienced the same error. It appears that the > query is not qualified enough, at least for the username I was logging > in with. > > Changing > > echo -e "select loginame from sysprocesses where spid > $spid order by > loginame asc\ngo" > $tmpfile > > to > > echo -e "select loginame from sys.sysprocesses where spid > $spid > order by loginame asc\ngo" > $tmpfile > > resulted in a successful check -- > > $ ./check_mssql.sh 2000 > OK - MS SQL Server 2000 has 1 user(s) connected: 1 . > > -- > Marc > > ------------------------------------------------------------------------- > 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=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From etorres at dap.es Thu Nov 20 10:00:56 2008 From: etorres at dap.es (Esteban Torres Rodriguez) Date: Thu, 20 Nov 2008 10:00:56 +0100 Subject: how to monitoring SQL? In-Reply-To: <17497538.6991227101115714.JavaMail.root@mail.opservices.com.br> References: <4923FCFE.655F.0018.0@dap.es> <17497538.6991227101115714.JavaMail.root@mail.opservices.com.br> Message-ID: <49253558.655F.0018.0@dap.es> Anyone can send me the plugin modify correct for mysql? + tsqlcmd=/usr/local/bin/tsql ++ which cat + catcmd=/bin/cat ++ which grep + grepcmd=/bin/grep ++ which rm + rmcmd=/bin/rm ++ which mktemp + mktempcmd=/bin/mktemp ++ which wc + wccmd=/usr/bin/wc ++ which sed + sedcmd=/bin/sed ++ which tr + trcmd=/usr/bin/tr ++ which uniq + uniqcmd=/usr/bin/uniq + hostname=server + usr=user + pswd=pass + srv=2000 + '[' '!' 4 == 4 ']' + '[' /usr/local/bin/tsql == '' ']' + exit=3 ++ /bin/mktemp /tmp/server.XXXXXX + tmpfile=/tmp/server.Zy3286 + '[' 2000 == 7 ']' + '[' 2000 == 2000 ']' + spid=50 + echo -e 'select loginame from sys.sysprocesses where spid > 50 order by loginame asc\ngo' ++ /bin/mktemp /tmp/server.XXXXXX + resultfile=/tmp/server.jn3287 ++ /bin/mktemp /tmp/server.XXXXXX + errorfile=/tmp/server.Xa3288 + /usr/local/bin/tsql -S server -U user -P pass + /bin/grep -q 'Login failed for user' /tmp/server.Xa3288 + '[' 1 == 0 ']' + /bin/grep -q 'There was a problem connecting to the server' /tmp/server.Xa3288 + '[' 0 == 0 ']' + /bin/rm -f /tmp/server.Zy3286 /tmp/server.jn3287 /tmp/server.Xa3288 + echo CRITICAL - Could not make connection to SQL server. Incorrect server name or SQL service not running. CRITICAL - Could not make connection to SQL server. Incorrect server name or SQL service not running. + exit 2 Esteban Torres Rodr?guez ?REA DE SOPORTE T?CNICO Subdirecci?n de Sistemas Inform?ticos Empresa P?blica Desarrollo Agrario y Pesquero, email: etorres at dap.es >>> Fernando Rocha 19/11/2008 14:25 >>> Hi Esteban, Try to run the command with "sh -x" before the check_mssql.sh and then send the result to us: [root at localhost libexec]# sh -x check_mssql.sh server user pass 2000 []'s -- Fernando Rocha Analista de Suporte - Opera??o OpServices - Porto Alegre - RS - Brasil +55 51 3275.3588 www.opservices.com.br www.opmon.org ----- "Esteban Torres Rodriguez" wrote: > how to monitoring SQL? > > I tried monitoring SQL, but not running. > > I use check_mssql.sh. > > > > ./check_mssql.sh server user pass 2000 > > CRITICAL - Could not make connection to SQL server. Incorrect server > name or SQL service not running. > > Esteban Torres Rodr?guez > ?REA DE SOPORTE T?CNICO Subdirecci?n de Sistemas Inform?ticos > Empresa P?blica Desarrollo Agrario y Pesquero, > email: etorres at dap.es > > > ------------------------------------------------------------------------- > 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=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ae at op5.se Thu Nov 20 10:28:20 2008 From: ae at op5.se (Andreas Ericsson) Date: Thu, 20 Nov 2008 10:28:20 +0100 Subject: [Nagios-users] Nagios retention problem. In-Reply-To: <9DFC8BEC38DA324391F4FC69634EE2B501237CA0@SEHAN014MB.tcad.telia.se> References: <9DFC8BEC38DA324391F4FC69634EE2B50110B21B@SEHAN014MB.tcad.telia.se> <9DFC8BEC38DA324391F4FC69634EE2B501237A52@SEHAN014MB.tcad.telia.se> <491D7902.4000307@op5.se> <9DFC8BEC38DA324391F4FC69634EE2B501237CA0@SEHAN014MB.tcad.telia.se> Message-ID: <49252DB4.9080008@op5.se> Markus.Almroth at teliasonera.com wrote: > I move this thred to 'dev' instead. It seems to fit better there. > > Problem solved. > > Nagios does'nt check the return value from the fclose() call when > closing the tempfile used to write retention.dat. Before I upgraded to > Nagios 3 I hade severe performance problems, so I moved all temp-files > to ramdisks for higher performance which worked well. But when the > number of services increased after upgrading the ramdisk was'nt big > enough. > > Since there were no log entry, and the ramdisks were only about 40-50% > full, I did'nt think this was the problem - after all the ramdisk were > only 100% full between the closing of the tempfile until Nagios changed > the name of the tempfile to "retention.dat". > > Anyway. I've rewritten the code a little so that Nagios checks the > fclose() return value, and if there is a problem a log entry is written. > Also Nagios does not change the name of the tempfile, so the old > retention data is saved instead of the new corropt data. > > Are you people interested in the patch? > Yes. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- 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=100&url=/ From Sascha.Runschke at gfkl.com Thu Nov 20 10:41:02 2008 From: Sascha.Runschke at gfkl.com (Sascha.Runschke at gfkl.com) Date: Thu, 20 Nov 2008 10:41:02 +0100 Subject: Antwort: NRPE mystery In-Reply-To: References: Message-ID: farhan ahmed schrieb am 20.11.2008 04:26:48: > So, it means NRPE is passing write information to the check_nrpe on > nagios, but somehow Nagios is showing them as OK status > > > check users OK 11-20-2008 14:20:41 0d 0h 20m 28s 1/3 > USERS CRITICAL - 10 users currently logged in > > check Remote Trace OK 11-20-2008 14:16:57 0d 0h 19m > 12s 1/3 Connection refused > > Please anyone who can help me in this. I am really stuck into it and > can't figure out why it is happening. Those kind of problems usually arise from wrong return values of plugin scripts. NRPE passes the return value of the check plugin back to nagios and Nagios interprets it as OK/CRITICAL/whatever. The actually string output has nothing to do with what Nagios will show as state. So I would assume that Solaris 10 zone does something really strange with the exit values of the plugins. Does Solaris have /bin/sh with "$?" - if so then please run the check locally and issue an "echo $?" right afterwards. Regards Sascha -- Sascha Runschke IT-Infrastruktur fon : +49 (201) / 102-1879 fax : +49 (201) / 102-1102105 mobil : +49 (173) / 5419665 GFKL Financial Services AG Vorstand: Dr. Peter J?nsch (Vors.), J?rgen Baltes, Dr. Till Ergenzinger, Dr. Tom Haverkamp Vorsitzender des Aufsichtsrats: Dr. Georg F. Thoma Sitz: Limbecker Platz 1, 45127 Essen, Amtsgericht Essen, HRB 13522 ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ae at op5.se Thu Nov 20 10:43:33 2008 From: ae at op5.se (Andreas Ericsson) Date: Thu, 20 Nov 2008 10:43:33 +0100 Subject: Nagios 3.0.4 performance issue In-Reply-To: <184E3F696E604341B2D96227FFD0B8C5920C852F@dnce02.ent.ti.com> References: <184E3F696E604341B2D96227FFD0B8C5920C7FD0@dnce02.ent.ti.com> <184E3F696E604341B2D96227FFD0B8C5920C8432@dnce02.ent.ti.com> <4923FED0.8040001@op5.se> <184E3F696E604341B2D96227FFD0B8C5920C852F@dnce02.ent.ti.com> Message-ID: <49253145.80203@op5.se> Alloo, Vincent wrote: > Andreas, > Here is an extract of my setup: > > define servicegroup{ > servicegroup_name nrpe_services > alias NRPE Services > } > > define servicedependency{ > host_name svxnagios02 > service_description check_uname > dependent_servicegroup_name nrpe_services > notification_failure_criteria w,u,c > } > > define service { > use unix_24_7 > host_name svxnagios02 > service_description check_uname > check_command check_nrpe_ssl!uname!0 > notification_options c,r > process_perf_data 0 > } > > And a bunch of: > define service { > use unix_24_7 > hostgroup_name sol-servers,linux-servers,sol-zone-servers,sol-servers-with_hotspare > service_description CPU load > check_command check_nrpe_ssl!check_load!5,4,3!6,5,4 > servicegroups nrpe_services > } > .....(3600 services within the nrpe_services service group) > Oh. Are you proxying all your NRPE checks through some other system? I can't imagine why this would be a good idea, but to each his own, I suppose. With this configuration, each of the 3600 services should each depend on exactly one other service, so the problem I initially foresaw is not in place. However, like Sascha mentioned, Nagios instead seems to run that extra check before any of the other 3600 service checks. I'll need to run some manual testing on this. Since you've only specified "notification_failure_criteria", Nagios should be able to avoid checking the service being depended on until it's trying to send a notification. In fact, it should probably switch the checking order around so that the service being depended upon is checked *after* the dependent service. That would solve your problem until NRPE starts failing. After that, there's no help for it, but then you should definitely see some service check cache hits which will at least make the load on the system bearable. I'll try to find some time to look into this next week at the latest. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Edgar.Matzinger at valid.nl Thu Nov 20 10:53:55 2008 From: Edgar.Matzinger at valid.nl (Edgar Matzinger) Date: Thu, 20 Nov 2008 10:53:55 +0100 Subject: NRPE mystery In-Reply-To: References: Message-ID: Hi Farhan Ahmed, the only thing I can think of is that the exit codes aren't propagated to the nagios server: > root at asqstage# /usr/local/sys/nrpe/libexec/check_users -w 2 > -c 3 USERS CRITICAL - 11 users currently logged in |users=11;2;3;0 > > root at asqstage# /usr/local/sys/nrpe/libexec/check_tcp -p 1250 > Connection refused > What are the exit codes of these checks? Should be 2. > On Nagios Server: > root at cuba:~# /usr/local/nagios/libexec/check_nrpe -H asqstage > -c check_users USERS CRITICAL - 10 users currently logged in > |users=10;2;3;0 > > root at cuba:~# /usr/local/nagios/libexec/check_nrpe -H asqstage > -c check_remote Connection refused And here? The exit codes should be 2 also. Succes, cu l8r, Edgar. -- |\ /| : : Addr: Valid Eindhoven B.V. / | \/ | : Edgar R. Matzinger : t.a.v. E.R. Matzinger / | | : : Paradijslaan 36 \ /| /\| : : 5611 KN Eindhoven \/ / \ : Valid Eindhoven BV : \ /\ / : : \/ |\/ : : | : : Disclaimer: Any comments, opinions made are mine, etc ... ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ae at op5.se Thu Nov 20 11:05:31 2008 From: ae at op5.se (Andreas Ericsson) Date: Thu, 20 Nov 2008 11:05:31 +0100 Subject: make-install-init fail In-Reply-To: <20081119110315.M83718@arbitor.digitalfreaks.org> References: <001801c94a5f$78c477e0$6a4d67a0$@com> <20081119110315.M83718@arbitor.digitalfreaks.org> Message-ID: <4925366B.1060408@op5.se> Brian A. Seklecki wrote: >> make install-init >> /usr/bin/install -c -m 755 -d -o root -g root /etc/rc.d/ >> install: root: Invalid argument > > There is no "root" group on *BSD and assuming that there is is a fatal > mistake (this isn't a POSIX requirement). > Being anal about POSIX is just stupid. A lot of things that work fine on very nearly all unices are not in POSIX. > There should be case/ifdef code in that makefile to check the platform. > Actually, the code should be changed to cp $the_init_file $the_init_dir chown 0:0 $init_dir/$init_file || chown 0.0 $init_dir/$init_file || : chmod 0755 $init_dir/$init_file || : which will work very nearly everywhere and at least make the intent of the make target totally obvious to absolutely everyone, so that the admin can then run the 2-3 required commands him/herself. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From v-alloo at ti.com Thu Nov 20 11:37:19 2008 From: v-alloo at ti.com (Alloo, Vincent) Date: Thu, 20 Nov 2008 11:37:19 +0100 Subject: Nagios 3.0.4 performance issue In-Reply-To: <49253145.80203@op5.se> References: <184E3F696E604341B2D96227FFD0B8C5920C7FD0@dnce02.ent.ti.com> <184E3F696E604341B2D96227FFD0B8C5920C8432@dnce02.ent.ti.com> <4923FED0.8040001@op5.se> <184E3F696E604341B2D96227FFD0B8C5920C852F@dnce02.ent.ti.com> <49253145.80203@op5.se> Message-ID: <184E3F696E604341B2D96227FFD0B8C592503C79@dnce02.ent.ti.com> Adreas, I have changed a little bit my configuration, and I can confirm the CPU load is NOT coming from servicedependency but only from the big servicegroup definition. I have removed from the conf the servicedependency definition, keeping only the servicegroup definition and association, and my CPU load is huge. By removing the servicegroup, the CPU is back to normal. Regards, Vincent Alloo TI France Design Systems Operations Manager Europe and Middle East IT Services Texas Instruments France E-Mail: v-alloo at ti.com Phone: +33 4 93 22 26 97 Mobile: +33 6 82 13 00 80 -----Original Message----- From: Andreas Ericsson [mailto:ae at op5.se] Sent: Thursday, November 20, 2008 10:44 AM To: Alloo, Vincent Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagios 3.0.4 performance issue Alloo, Vincent wrote: > Andreas, > Here is an extract of my setup: > > define servicegroup{ > servicegroup_name nrpe_services > alias NRPE Services > } > > define servicedependency{ > host_name svxnagios02 > service_description check_uname > dependent_servicegroup_name nrpe_services > notification_failure_criteria w,u,c > } > > define service { > use unix_24_7 > host_name svxnagios02 > service_description check_uname > check_command check_nrpe_ssl!uname!0 > notification_options c,r > process_perf_data 0 > } > > And a bunch of: > define service { > use unix_24_7 > hostgroup_name sol-servers,linux-servers,sol-zone-servers,sol-servers-with_hotspare > service_description CPU load > check_command check_nrpe_ssl!check_load!5,4,3!6,5,4 > servicegroups nrpe_services > } > .....(3600 services within the nrpe_services service group) > Oh. Are you proxying all your NRPE checks through some other system? I can't imagine why this would be a good idea, but to each his own, I suppose. With this configuration, each of the 3600 services should each depend on exactly one other service, so the problem I initially foresaw is not in place. However, like Sascha mentioned, Nagios instead seems to run that extra check before any of the other 3600 service checks. I'll need to run some manual testing on this. Since you've only specified "notification_failure_criteria", Nagios should be able to avoid checking the service being depended on until it's trying to send a notification. In fact, it should probably switch the checking order around so that the service being depended upon is checked *after* the dependent service. That would solve your problem until NRPE starts failing. After that, there's no help for it, but then you should definitely see some service check cache hits which will at least make the load on the system bearable. I'll try to find some time to look into this next week at the latest. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From me at u-journal.org Thu Nov 20 11:15:00 2008 From: me at u-journal.org (Unai Rodriguez) Date: Thu, 20 Nov 2008 03:15:00 -0700 Subject: =?utf-8?q?How_can_I_invoke_remotely_=28through_NRP?= =?utf-8?b?RSkgY2hlY2tfcHJvY3M/?= Message-ID: Dear All, I am creating some scripts to gather information from several Linux hosts running the NRPE daemon. I am already invoking the following: ./check_nrpe -H 10.123.16.103 -c check_load -a 50,60,70 80,90,99 OK - load average: 0.00, 0.00, 0.00|load1=0.000;50.000;80.000;0; load5=0.000;60.000;90.000;0; load15=0.000;70.000;99.000;0; ./check_nrpe -H 10.123.16.103 -c check_disk -a 2% 1% /dev/sda1 DISK OK - free space: / 2793 MB (76% inode=87%);| /=841MB;3752;3790;0;3829 Now, I am trying to figure how to invoke check_procs in a similar way. I have tried several syntax but cannot find the proper way: ./check_nrpe -H 10.123.16.103 -c check_procs -a -w 90:2000 -a -c 80:12133 Usage: check_procs -w -c [-m metric] [-s state] [-p ppid] [-u user] [-r rss] [-z vsz] [-P %cpu] [-a argument-array] [-C command] [-t timeout] [-v] ./check_nrpe -H 10.123.16.103 -c check_procs -a -w 100 -a -c 200 Usage: check_procs -w -c [-m metric] [-s state] [-p ppid] [-u user] [-r rss] [-z vsz] [-P %cpu] [-a argument-array] ./check_nrpe -H 10.123.16.103 -c check_procs -a 100 -a 200 check_procs: Critical Process Count must be an integer! Usage: check_procs -w -c [-m metric] [-s state] [-p ppid] [-u user] [-r rss] [-z vsz] [-P %cpu] [-a argument-array] [-C command] [-t timeout] [-v] The issue seems trivial, but I have not found the proper syntax yet. Any ideas where could I get this information? I am using: - NRPE Plugin for Nagios (Version: 2.5.1) - check_procs v1991 (nagios-plugins 1.4.12) Running on Debian Linux 4.0 (Etch). Thank you so much, unai ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Sascha.Runschke at gfkl.com Thu Nov 20 11:57:05 2008 From: Sascha.Runschke at gfkl.com (Sascha.Runschke at gfkl.com) Date: Thu, 20 Nov 2008 11:57:05 +0100 Subject: Antwort: How can I invoke remotely (through NRPE) check_procs? In-Reply-To: References: Message-ID: Unai Rodriguez schrieb am 20.11.2008 11:15:00: > ./check_nrpe -H 10.123.16.103 -c check_load -a 50,60,70 80,90,99 > OK - load average: 0.00, 0.00, 0.00|load1=0.000;50.000;80.000;0; > load5=0.000;60.000;90.000;0; load15=0.000;70.000;99.000;0; I'm a little bit unsure you understood how "load" is to be interpreted on *nix machines. You should probably dig into G**gle for some and search for information. Your definition is senseless. > Now, I am trying to figure how to invoke check_procs in a similar way. I > have tried several syntax but cannot find the proper way: Hm well, what's wrong with "./check_procs --help"? You supplied -a, which needs a string as argument, which in turn you didn't supply. Please read the docs and --help first, before trying more plugins with "not so well chosen arguments". ;-) Regards Sascha -- Sascha Runschke IT-Infrastruktur fon : +49 (201) / 102-1879 fax : +49 (201) / 102-1102105 mobil : +49 (173) / 5419665 GFKL Financial Services AG Vorstand: Dr. Peter J?nsch (Vors.), J?rgen Baltes, Dr. Till Ergenzinger, Dr. Tom Haverkamp Vorsitzender des Aufsichtsrats: Dr. Georg F. Thoma Sitz: Limbecker Platz 1, 45127 Essen, Amtsgericht Essen, HRB 13522 ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ae at op5.se Thu Nov 20 12:14:36 2008 From: ae at op5.se (Andreas Ericsson) Date: Thu, 20 Nov 2008 12:14:36 +0100 Subject: Nagios 3.0.4 performance issue In-Reply-To: <184E3F696E604341B2D96227FFD0B8C592503C79@dnce02.ent.ti.com> References: <184E3F696E604341B2D96227FFD0B8C5920C7FD0@dnce02.ent.ti.com> <184E3F696E604341B2D96227FFD0B8C5920C8432@dnce02.ent.ti.com> <4923FED0.8040001@op5.se> <184E3F696E604341B2D96227FFD0B8C5920C852F@dnce02.ent.ti.com> <49253145.80203@op5.se> <184E3F696E604341B2D96227FFD0B8C592503C79@dnce02.ent.ti.com> Message-ID: <4925469C.5060406@op5.se> Alloo, Vincent wrote: > Adreas, > I have changed a little bit my configuration, and I can confirm the CPU load is NOT coming from servicedependency but only from the big servicegroup definition. > I have removed from the conf the servicedependency definition, keeping only the servicegroup definition and association, and my CPU load is huge. By removing the servicegroup, the CPU is back to normal. > Regards, > That's utterly bizarre. Servicegroups should never (ever) be this thoroughly examined by Nagios during runtime. They're just nifty GUI grouping things and syntactic sugar. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From v-alloo at ti.com Thu Nov 20 13:01:27 2008 From: v-alloo at ti.com (Alloo, Vincent) Date: Thu, 20 Nov 2008 13:01:27 +0100 Subject: Nagios 3.0.4 performance issue In-Reply-To: <4925469C.5060406@op5.se> References: <184E3F696E604341B2D96227FFD0B8C5920C7FD0@dnce02.ent.ti.com> <184E3F696E604341B2D96227FFD0B8C5920C8432@dnce02.ent.ti.com> <4923FED0.8040001@op5.se> <184E3F696E604341B2D96227FFD0B8C5920C852F@dnce02.ent.ti.com> <49253145.80203@op5.se> <184E3F696E604341B2D96227FFD0B8C592503C79@dnce02.ent.ti.com> <4925469C.5060406@op5.se> Message-ID: <184E3F696E604341B2D96227FFD0B8C592503D67@dnce02.ent.ti.com> So maybe a bug somewhere. I'm open to help in the debugging effort if needed. Let me know. Regards, Vincent Alloo TI France Design Systems Operations Manager Europe and Middle East IT Services Texas Instruments France E-Mail: v-alloo at ti.com Phone: +33 4 93 22 26 97 Mobile: +33 6 82 13 00 80 -----Original Message----- From: Andreas Ericsson [mailto:ae at op5.se] Sent: Thursday, November 20, 2008 12:15 PM To: Alloo, Vincent Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagios 3.0.4 performance issue Alloo, Vincent wrote: > Adreas, > I have changed a little bit my configuration, and I can confirm the CPU load is NOT coming from servicedependency but only from the big servicegroup definition. > I have removed from the conf the servicedependency definition, keeping only the servicegroup definition and association, and my CPU load is huge. By removing the servicegroup, the CPU is back to normal. > Regards, > That's utterly bizarre. Servicegroups should never (ever) be this thoroughly examined by Nagios during runtime. They're just nifty GUI grouping things and syntactic sugar. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From clee.hk at gmail.com Thu Nov 20 12:56:57 2008 From: clee.hk at gmail.com (Chris Lee) Date: Thu, 20 Nov 2008 19:56:57 +0800 Subject: Problem in creating send_nsca binary on Solaris 10 Message-ID: Dear All, I am trying to create send_nsca on my solaris server (OS: solaris 10), so I can have passive check with my Nagios. Before I compile nsca-2.7.2, I need to install libmcrypt-2.5.8 first. When I compiled libmcrypt-2.5.8, I did the followings: > ./configure > make > make check "make" was fine. It could create the libmcrypt.so.4, and libmcrypt.la. However, when I ran "make check", I got the following fatal error: >>>>>> nagios at dev1 # make check Making check in modules Making check in algorithms Making check in modes Making check in include Making check in lib Making check in src make check-TESTS Error getting algorithms/modes FAIL: ciphertest Failed to initialize cipher - rijndael-128/cfb FAIL: aestest =================== 2 of 2 tests failed =================== *** Error code 1 ... <<<<<< Has anyone experienced this before? Any suggestion is welcome. Thanks a lot, -- Chris ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From fernando.rocha at opservices.com.br Thu Nov 20 13:17:12 2008 From: fernando.rocha at opservices.com.br (Fernando Rocha) Date: Thu, 20 Nov 2008 10:17:12 -0200 (BRST) Subject: how to monitoring SQL? In-Reply-To: <15244738.10041227183343536.JavaMail.root@mail.opservices.com.br> References: <15244738.10041227183343536.JavaMail.root@mail.opservices.com.br> Message-ID: <4253888.10061227183432922.JavaMail.root@mail.opservices.com.br> Hi Esteban, When you use the parameter -S in the tsql you should specify the SERVER on the /etc/freetds.conf, it is like a tnsnames.ora for Oracle databases. look at there if you have a entrance that looks like that: [MYSERVER] host = 10.10.10.10 port = 1433 tds version = 7.0 #try domain login = yes try server login = yes nt domain = MYDOMAIN otherwise you can change the -S by the -H an -p. /usr/local/bin/tsql -H 10.10.10.10 -p 1433 -U user -P pass []'s -- Fernando Rocha Analista de Suporte - Opera??o OpServices - Porto Alegre - RS - Brasil +55 51 3275.3588 www.opservices.com.br www.opmon.org ----- "Esteban Torres Rodriguez" wrote: > Anyone can send me the plugin modify correct for mysql? > > + tsqlcmd=/usr/local/bin/tsql > ++ which cat > + catcmd=/bin/cat > ++ which grep > + grepcmd=/bin/grep > ++ which rm > + rmcmd=/bin/rm > ++ which mktemp > + mktempcmd=/bin/mktemp > ++ which wc > + wccmd=/usr/bin/wc > ++ which sed > + sedcmd=/bin/sed > ++ which tr > + trcmd=/usr/bin/tr > ++ which uniq > + uniqcmd=/usr/bin/uniq > + hostname=server > + usr=user > + pswd=pass > + srv=2000 > + '[' '!' 4 == 4 ']' > + '[' /usr/local/bin/tsql == '' ']' > + exit=3 > ++ /bin/mktemp /tmp/server.XXXXXX > + tmpfile=/tmp/server.Zy3286 > + '[' 2000 == 7 ']' > + '[' 2000 == 2000 ']' > + spid=50 > + echo -e 'select loginame from sys.sysprocesses where spid > 50 > order > by loginame asc\ngo' > ++ /bin/mktemp /tmp/server.XXXXXX > + resultfile=/tmp/server.jn3287 > ++ /bin/mktemp /tmp/server.XXXXXX > + errorfile=/tmp/server.Xa3288 > + /usr/local/bin/tsql -S server -U user -P pass > + /bin/grep -q 'Login failed for user' /tmp/server.Xa3288 > + '[' 1 == 0 ']' > + /bin/grep -q 'There was a problem connecting to the server' > /tmp/server.Xa3288 > + '[' 0 == 0 ']' > + /bin/rm -f /tmp/server.Zy3286 /tmp/server.jn3287 /tmp/server.Xa3288 > + echo CRITICAL - Could not make connection to SQL server. Incorrect > server name or SQL service not running. > CRITICAL - Could not make connection to SQL server. Incorrect server > name or SQL service not running. > + exit 2 > > > Esteban Torres Rodr?guez > ?REA DE SOPORTE T?CNICO Subdirecci?n de Sistemas Inform?ticos > Empresa P?blica Desarrollo Agrario y Pesquero, > email: etorres at dap.es > > > >>> Fernando Rocha 19/11/2008 > 14:25 > >>> > Hi Esteban, > > Try to run the command with "sh -x" before the check_mssql.sh and > then > send the result to us: > > [root at localhost libexec]# sh -x check_mssql.sh server user pass 2000 > > []'s > -- > Fernando Rocha > Analista de Suporte - Opera??o > OpServices - Porto Alegre - RS - Brasil > +55 51 3275.3588 > www.opservices.com.br > www.opmon.org > > ----- "Esteban Torres Rodriguez" wrote: > > > how to monitoring SQL? > > > > I tried monitoring SQL, but not running. > > > > I use check_mssql.sh. > > > > > > > > ./check_mssql.sh server user pass 2000 > > > > CRITICAL - Could not make connection to SQL server. Incorrect > server > > name or SQL service not running. > > > > Esteban Torres Rodr?guez > > ?REA DE SOPORTE T?CNICO Subdirecci?n de Sistemas Inform?ticos > > Empresa P?blica Desarrollo Agrario y Pesquero, > > email: etorres at dap.es > > > > > > > ------------------------------------------------------------------------- > > 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=100&url=/ > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From farhhanahmed at hotmail.com Thu Nov 20 14:13:24 2008 From: farhhanahmed at hotmail.com (farhan ahmed) Date: Fri, 21 Nov 2008 00:13:24 +1100 Subject: NRPE mystery Message-ID: Hi Sascha, You are exactly right, echo $? returns 0 in all cases check_nrpe 1- /usr/local/sys/nrpe/libexec/check_nrpe -H 127.0.0.1 -c check_users USERS CRITICAL - 7 users currently logged in |users=7;2;3;0 bash-3.00#echo $?0 2- /usr/local/sys/nrpe/libexec/check_nrpe -H 127.0.0.1 -c check_remote Connection refused bash-3.00#echo $?0 doesn't matter how many times you execute it returns 0 all the times but interesting when I run simeple plugin commands it returns right values simple plugins bash-3.00#/usr/local/sys/nrpe/libexec/check_users -w 2 -c 3 USERS CRITICAL - 7 users currently logged in |users=7;2;3;0 bash-3.00#echo $?2 bash-3.00#/usr/local/sys/nrpe/libexec/check_tcp -p 1250 Connection refused bash-3.00#echo $?2 All simple plugins are returning right exit values but only check_nrpe is having issue. bash-3.00#cat /etc/passwd|grep nagiosnagios:x:262:262:nagios user:/usr/local/sys/nrpe:/bin/sh chown -R nagios:nagios /usr/local/sys/nrpe bash-3.00#ps -ef|grep nrpe nagios 3184 677 0 23:30:39 ? 0:00 /usr/local/sys/nrpe/bin/nrpe -c /usr/local/sys/nrpe/etc/nrpe.cfg -d Its good that we have at least know where is the problem. Thanks for your help. Any idea how can we fix itThanks, -- Regards, Farhan Ahmed -- Regards, Farhan Ahmed Senior Systems Engineer Soul Australia Level 14, 201 Kent Streen Sydney NSW 2000 Phone(Office): 61 2 8220 6119 Fax(Office): 61 2 9252 6864 Mobile: 61 432 156906 Email: fahmed at soulaustralia.com.au URL: www.soulaustralia.com.au _________________________________________________________________ Time for change? Find your ideal job with SEEK. http://a.ninemsn.com.au/b.aspx?URL=http%3A%2F%2Fninemsn%2Eseek%2Ecom%2Eau%2F%3Ftracking%3Dsk%3Atl%3Ask%3Anine%3A0%3Ahottag%3Achange&_t=757263783&_r=SEEK_tagline&_m=EXT -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marcelo.maia.garcia at googlemail.com Thu Nov 20 14:33:55 2008 From: marcelo.maia.garcia at googlemail.com (Marcelo M. Garcia) Date: Thu, 20 Nov 2008 13:33:55 +0000 Subject: why we need to run "convertcfg" Message-ID: <49256743.60708@googlemail.com> Hi Why one need to run "convertcfg" after installing the plugins? Why not simply build the actual file? Thanks Marcelo ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Sotiroff.Kristian at mtvne.com Thu Nov 20 15:23:54 2008 From: Sotiroff.Kristian at mtvne.com (Sotiroff, Kristian) Date: Thu, 20 Nov 2008 14:23:54 -0000 Subject: how to monitoring SQL? In-Reply-To: <1227167115.7470.15.camel@mr-laptop> References: <17497538.6991227101115714.JavaMail.root@mail.opservices.com.br> <1227167115.7470.15.camel@mr-laptop> Message-ID: This is brilliant Mattias. There's quite a few checks here that I'm not doing :) (ps. I also like to top post..) -----Original Message----- From: Mattias Ryrl?n [mailto:mattias.ryrlen at op5.com] Sent: 20 November 2008 07:45 To: nagios-user Mailinglist Subject: Re: [Nagios-users] how to monitoring SQL? Hi, I top post since so many that like it :) You could use check_sql from nagiosexchange: http://www.nagiosexchange.org/cgi-bin/page.cgi?g=Detailed% 2F1435.html;d=1 Then you could use our nice how-to: http://www.op5.com/support/technical-information/how-to/43-monitoring-microsoft-sql-server It uses the following plugins: check_nt negate check_sql actual check_commands to be used (since they are not in the how-to but in our product) check_mssql_db_file_size: $USER1$/check_nt -H $HOSTADDRESS$ -v COUNTER -l "\ \SQLServer:Databases($ARG1$)\Data File(s) Size (KB)","Db file for $ARG1$ is: %.2f Kb" -w $ARG2$ -c $ARG3$ check_mssql_log_file_size: $USER1$/check_nt -H $HOSTADDRESS$ -v COUNTER -l "\ \SQLServer:Databases($ARG1$)\Log File(s) Size (KB)","Log file for $ARG1$ is: %.2f Kb" -w $ARG2$ -c $ARG3$ check_nt_memory_page_per_sec: $USER1$/check_nt -H $HOSTADDRESS$ -v COUNTER -l "\\Memory \Pages/sec","Pages/sec %.2f" -w $ARG1$ -c $ARG2$ check_nt_physical_disk_time: $USER1$/check_nt -H $HOSTADDRESS$ -v COUNTER -l "\\PhysicalDisk(_Total)\ % Disk Time","Physical Disk Time %.2f percent" -w $ARG1$ -c $ARG2$ check_mssql_num_deadlocks: $USER1$/check_nt -H $HOSTADDRESS$ -v COUNTER -l "\ \SQLServer:Locks(_Total)\Number of Deadlocks/sec","Num of Deadlocks/sec %.2f" -c $ARG1$ check_mssql_num_user_connections: $USER1$/check_nt -H $HOSTADDRESS$ -v COUNTER -l "\SQLServer:General Statistics\User Connections","User Connections %.2f" -w $ARG1$ -c $ARG2$ check_mssql_cache_hit_ratio: $USER1$/negate --ok=CRITICAL --critical=OK $USER1$/check_nt -H $HOSTADDRESS$ -v COUNTER -l "\SQLServer:Cache Manager(_Total)\Cache Hit Ratio","Total Cache Hit Ratio %.2f percent" -c $ARG1$ check_mssql_backup_job: $USER1$/check_sql -H $HOSTADDRESS$ -U "$ARG1$" -P "$ARG2$" -d Sybase -D msdb -q "SELECT TOP 1 sysjobhistory.message FROM sysjobhistory join sysjobs on (sysjobhistory.job_id=sysjobs.job_id) WHERE sysjobs.name = '$ARG3$' AND sysjobhistory.step_name = '(Job outcome)' AND DATEDIFF(dd, CONVERT(CHAR(8), sysjobhistory.run_date), GETDATE()) < 1 ORDER BY sysjobhistory.run_date,sysjobhistory.run_time" -s -r -e ".*The job succeeded\..*" check_mssql_query_string_regex: $USER1$/custom/check_sql -H $HOSTADDRESS$ -U "$ARG1$" -P "$ARG2$" -d Sybase -D $ARG3$ -q "$ARG4$" -s -r -e "$ARG5$" check_mssql_query_count: $USER1$/custom/check_sql -H $HOSTADDRESS$ -U "$ARG1$" -P "$ARG2$" -d Sybase -D $ARG3$ -q "$ARG4$" -s -W $ARG5$ -C $ARG6$ check_mssql_query_reponstime: $USER1$/custom/check_sql -H $HOSTADDRESS$ -U "$ARG1$" -P "$ARG2$" -d Sybase -D $ARG3$ -q "$ARG4$" -s -w $ARG5$ -c $ARG6$ -s -- V?nliga h?lsningar / Best Regards Mattias Ryrl?n __________________________ op5 AB F?rsta L?nggatan 19 SE-413 27 G?teborg Mobil: +46 735-17 70 99 Support: +46 31-774 09 24 www.op5.com On Wed, 2008-11-19 at 10:34 -0600, Marc Powell wrote: > On Nov 19, 2008, at 8:18 AM, Marc Powell wrote: > > > > > On Nov 19, 2008, at 7:25 AM, Fernando Rocha wrote: > > > >> Hi Esteban, > >> > >> Try to run the command with "sh -x" before the check_mssql.sh and > >> then send the result to us: > >> > >> [root at localhost libexec]# sh -x check_mssql.sh server user pass > >> 2000 > > > > And as the nagios user, not root. > > *caveat*, I don't use this plugin nor do I know much about the > internals of SQL2000. > > I tested it out and experienced the same error. It appears that the > query is not qualified enough, at least for the username I was logging > in with. > > Changing > > echo -e "select loginame from sysprocesses where spid > $spid order by > loginame asc\ngo" > $tmpfile > > to > > echo -e "select loginame from sys.sysprocesses where spid > $spid > order by loginame asc\ngo" > $tmpfile > > resulted in a successful check -- > > $ ./check_mssql.sh 2000 OK - MS SQL > Server 2000 has 1 user(s) connected: 1 . > > -- > Marc > > ---------------------------------------------------------------------- > --- 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=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 CONFIDENTIALITY NOTICE This e-mail (and any attached files) is confidential and protected by copyright (and other intellectual property rights). If you are not the intended recipient please e-mail the sender and then delete the email and any attached files immediately. Any further use or dissemination is prohibited. While MTV Networks Europe has taken steps to ensure that this email and any attachments are virus free, it is your responsibility to ensure that this message and any attachments are virus free and do not affect your systems / data. Communicating by email is not 100% secure and carries risks such as delay, data corruption, non-delivery, wrongful interception and unauthorised amendment. If you communicate with us by e-mail, you acknowledge and assume these risks, and you agree to take appropriate measures to minimise these risks when e-mailing us. MTV Networks International, MTV Networks UK & Ireland, Greenhouse, Nickelodeon Viacom Consumer Products, VBSi, Viacom Brand Solutions International and Comedy Central are all trading names of MTV Networks Europe. MTV Networks Europe is a partnership between MTV Networks Europe Inc. and Viacom Networks Europe Inc. Address for service in Great Britain is UK House, 180 Oxford Street, London W1D 1DS, UK. ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Edgar.Matzinger at valid.nl Thu Nov 20 15:42:15 2008 From: Edgar.Matzinger at valid.nl (Edgar Matzinger) Date: Thu, 20 Nov 2008 15:42:15 +0100 Subject: how to monitoring SQL? In-Reply-To: References: <17497538.6991227101115714.JavaMail.root@mail.opservices.com.br><1227167115.7470.15.camel@mr-laptop> Message-ID: LS, > -----Original Message----- > From: Sotiroff, Kristian [mailto:Sotiroff.Kristian at mtvne.com] ....snip.... > > (ps. I also like to top post..) ....even more snip.... we don't. Regards, Edgar. -- |\ /| : : Addr: Valid Eindhoven B.V. / | \/ | : Edgar R. Matzinger : t.a.v. E.R. Matzinger / | | : : Paradijslaan 36 \ /| /\| : : 5611 KN Eindhoven \/ / \ : Valid Eindhoven BV : \ /\ / : : \/ |\/ : : | : : Disclaimer: Any comments, opinions made are mine, etc ... ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Sotiroff.Kristian at mtvne.com Thu Nov 20 15:45:17 2008 From: Sotiroff.Kristian at mtvne.com (Sotiroff, Kristian) Date: Thu, 20 Nov 2008 14:45:17 -0000 Subject: how to monitoring SQL? In-Reply-To: References: <17497538.6991227101115714.JavaMail.root@mail.opservices.com.br><1227167115.7470.15.camel@mr-laptop> Message-ID: Ah well, you win some -----Original Message----- From: Edgar Matzinger [mailto:Edgar.Matzinger at valid.nl] Sent: 20 November 2008 14:42 To: nagios-user Mailinglist Cc: Sotiroff, Kristian Subject: RE: [Nagios-users] how to monitoring SQL? LS, <....snip.....> You lose some CONFIDENTIALITY NOTICE This e-mail (and any attached files) is confidential and protected by copyright (and other intellectual property rights). If you are not the intended recipient please e-mail the sender and then delete the email and any attached files immediately. Any further use or dissemination is prohibited. While MTV Networks Europe has taken steps to ensure that this email and any attachments are virus free, it is your responsibility to ensure that this message and any attachments are virus free and do not affect your systems / data. Communicating by email is not 100% secure and carries risks such as delay, data corruption, non-delivery, wrongful interception and unauthorised amendment. If you communicate with us by e-mail, you acknowledge and assume these risks, and you agree to take appropriate measures to minimise these risks when e-mailing us. MTV Networks International, MTV Networks UK & Ireland, Greenhouse, Nickelodeon Viacom Consumer Products, VBSi, Viacom Brand Solutions International and Comedy Central are all trading names of MTV Networks Europe. MTV Networks Europe is a partnership between MTV Networks Europe Inc. and Viacom Networks Europe Inc. Address for service in Great Britain is UK House, 180 Oxford Street, London W1D 1DS, UK. ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ae at op5.se Thu Nov 20 16:01:35 2008 From: ae at op5.se (Andreas Ericsson) Date: Thu, 20 Nov 2008 16:01:35 +0100 Subject: how to monitoring SQL? In-Reply-To: References: <17497538.6991227101115714.JavaMail.root@mail.opservices.com.br><1227167115.7470.15.camel@mr-laptop> Message-ID: <49257BCF.5040307@op5.se> Sotiroff, Kristian wrote: > Ah well, you win some > Wow. Your message-text was 1.6% of the size of your disclaimer notice. I'm impressed. Especially since the disclaimer notice has absolutely zero legal weight. However, mine is sillier than yours, so I win ;-) Notice: Unless you are named "Arnold P. Fasnock", you may read only the "odd numbered words" (every other word beginning with the first) of the message above. If you have violated that, then you hereby owe the sender ?10 for each even numbered word you have read. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Sotiroff.Kristian at mtvne.com Thu Nov 20 16:10:06 2008 From: Sotiroff.Kristian at mtvne.com (Sotiroff, Kristian) Date: Thu, 20 Nov 2008 15:10:06 -0000 Subject: how to monitoring SQL? In-Reply-To: <49257BCF.5040307@op5.se> References: <17497538.6991227101115714.JavaMail.root@mail.opservices.com.br><1227167115.7470.15.camel@mr-laptop> <49257BCF.5040307@op5.se> Message-ID: -----Original Message----- From: Andreas Ericsson [mailto:ae at op5.se] Sent: 20 November 2008 15:02 To: Sotiroff, Kristian Cc: nagios-user Mailinglist Subject: Re: [Nagios-users] how to monitoring SQL? Sotiroff, Kristian wrote: > Ah well, you win some > Wow. Your message-text was 1.6% of the size of your disclaimer notice. I'm impressed. Especially since the disclaimer notice has absolutely zero legal weight. However, mine is sillier than yours, so I win ;-) Notice: Unless you are named "Arnold P. Fasnock", you may read only the "odd numbered words" (every other word beginning with the first) of the message above. If you have violated that, then you hereby owe the sender ?10 for each even numbered word you have read. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 Yeh, I might actually use my gmail account as our disclaimer must be filling up mailboxes. Sorry about that :( CONFIDENTIALITY NOTICE This e-mail (and any attached files) is confidential and protected by copyright (and other intellectual property rights). If you are not the intended recipient please e-mail the sender and then delete the email and any attached files immediately. Any further use or dissemination is prohibited. While MTV Networks Europe has taken steps to ensure that this email and any attachments are virus free, it is your responsibility to ensure that this message and any attachments are virus free and do not affect your systems / data. Communicating by email is not 100% secure and carries risks such as delay, data corruption, non-delivery, wrongful interception and unauthorised amendment. If you communicate with us by e-mail, you acknowledge and assume these risks, and you agree to take appropriate measures to minimise these risks when e-mailing us. MTV Networks International, MTV Networks UK & Ireland, Greenhouse, Nickelodeon Viacom Consumer Products, VBSi, Viacom Brand Solutions International and Comedy Central are all trading names of MTV Networks Europe. MTV Networks Europe is a partnership between MTV Networks Europe Inc. and Viacom Networks Europe Inc. Address for service in Great Britain is UK House, 180 Oxford Street, London W1D 1DS, UK. ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From me at u-journal.org Thu Nov 20 17:41:13 2008 From: me at u-journal.org (Unai Rodriguez) Date: Fri, 21 Nov 2008 00:41:13 +0800 Subject: How can I invoke remotely (through NRPE) check_procs? In-Reply-To: References: Message-ID: <20081121004113356079.a55ded82@u-journal.org> > In general, I would make sure that I have a working plugin invocation > locally before trying to feed it to nrpe. Yeah, locally it does work unai ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From niclas.rosell at iis.se Thu Nov 20 17:31:10 2008 From: niclas.rosell at iis.se (Niclas Rosell) Date: Thu, 20 Nov 2008 17:31:10 +0100 Subject: External command processing on openbsd. Message-ID: <1227198670.1113.55.camel@localhost> Hi We have encountered a problem where external commands are sometimes truncated in nagios. >From nagios.log ...snip... [1227197089] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;IKUL TMNET Kuala Lumpur;soa;1;alert - soa:2006091404 from 2006-09-14 10:00 2 years, 2 months, 6 days, 23 hours, 28 minutes old. [1227197089] Warning: Unrecognized external command -> PRO; [1227197089] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;ITOK WIDE Tokyo;soa;0;ok - soa:2008112007 from 2008-11-20 16:00 1 hour, 4 minutes old. ...snip... The data is trunkated inconsistently ...snip... [1227197987] Warning: Unrecognized external command -> PROCESS_SERVICE_CHECK_R; [1227198048] Warning: Unrecognized external command -> PROCESS_SERVICE_CHEC; ...snip... We have some 150 checks coming in this way every minute where every command is processed correctly most of the time but roughly 5 times/hour this happens at random. The output from the script putting data to nagios.cmd is already checked and clean. It looks very much to me that the data is beeing trunkated somehow? Recently we upgraded one of our nagios servers from OpenBSD3.9/nagios2.3 to OpenBSD4.4/nagios3.0.3 (everything from packages) on this server. The configs are basicly the same after the upgrade. On the old system this has never happened according to the logs. At first we were looking at various parameters like "external_command_buffer_slots" but nothing has made any difference so far. Also tried to search the archives but no luck. Thanks for your time -- Niclas Rosell Department for Domain Product and DNS Operation .SE (The Internet Infrastructure Foundation) PO Box 7399, SE-103 91 Stockholm, Sweden Tel: +46 8 452 35 00/25, mobile: +46 73 270 8684 E-mail: niclas.rosell at iis.se Web:www.iis.se ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From me at u-journal.org Thu Nov 20 17:39:55 2008 From: me at u-journal.org (Unai Rodriguez) Date: Fri, 21 Nov 2008 00:39:55 +0800 Subject: Antwort: How can I invoke remotely (through NRPE) check_procs? In-Reply-To: References: Message-ID: <20081121003955373899.5a436e78@u-journal.org> >> ./check_nrpe -H 10.123.16.103 -c check_load -a 50,60,70 80,90,99 >> OK - load average: 0.00, 0.00, 0.00|load1=0.000;50.000;80.000;0; >> load5=0.000;60.000;90.000;0; load15=0.000;70.000;99.000;0; > > I'm a little bit unsure you understood how "load" is to be interpreted > on *nix machines. You should probably dig into G**gle for some > and search for information. Your definition is senseless. I am just using the load average: a.bc, d.ef, g.hi information, I do not need the rest > >> Now, I am trying to figure how to invoke check_procs in a similar way. I >> have tried several syntax but cannot find the proper way: > > Hm well, what's wrong with "./check_procs --help"? > You supplied -a, which needs a string as argument, which in turn you > didn't supply. Please read the docs and --help first, before > trying more plugins with "not so well chosen arguments". ;-) Well I have been doing all sorts of combinations following the help, also based on the way I invoke other scripts, but none of the combinations worked, including the one stated on the help unai ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From dani at tydnet.org Thu Nov 20 18:19:06 2008 From: dani at tydnet.org (Dani) Date: Thu, 20 Nov 2008 18:19:06 +0100 Subject: How can I invoke remotely (through NRPE) check_procs? In-Reply-To: References: Message-ID: <200811201819.07685.dani@tydnet.org> A Dijous 20 Novembre 2008, Unai Rodriguez va escriure: > ./check_nrpe -H 10.123.16.103 -c check_procs -a 100 -a 200 > check_procs: Critical Process Count must be an integer! > Usage: check_procs -w -c [-m metric] [-s state] [-p > ppid] [-u user] [-r rss] [-z vsz] [-P %cpu] [-a argument-array] > [-C command] [-t timeout] [-v] > > The issue seems trivial, but I have not found the proper syntax yet. > Any ideas where could I get this information? [-a argument-array] -> so, -a ARG1 ARG2 ARG3 .... don't repeat the -a flag and post the result greetings, dani ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From me at u-journal.org Fri Nov 21 02:53:05 2008 From: me at u-journal.org (Unai Rodriguez) Date: Thu, 20 Nov 2008 18:53:05 -0700 Subject: =?utf-8?q?How_can_I_invoke_remotely_=28through_NRP?= =?utf-8?b?RSkgY2hlY2tfcHJvY3M/?= In-Reply-To: <200811201819.07685.dani@tydnet.org> References: <200811201819.07685.dani@tydnet.org> Message-ID: <019fe9e8c2ec59d6a2906ec0c0c13b90@mail.u-journal.org> >> ./check_nrpe -H 10.123.16.103 -c check_procs -a 100 -a 200 >> check_procs: Critical Process Count must be an integer! >> Usage: check_procs -w -c [-m metric] [-s state] [-p >> ppid] [-u user] [-r rss] [-z vsz] [-P %cpu] [-a argument-array] >> [-C command] [-t timeout] [-v] >> >> The issue seems trivial, but I have not found the proper syntax yet. >> Any ideas where could I get this information? > > [-a argument-array] -> so, -a ARG1 ARG2 ARG3 .... > > don't repeat the -a flag and post the result > > greetings, > > dani Dear Dani, ------------------------------------------------------------------------- ./check_nrpe -H 10.123.16.103 -c check_procs -a 100 200 Usage: check_procs -w -c [-m metric] [-s state] [-p ppid] [-u user] [-r rss] [-z vsz] [-P %cpu] [-a argument-array] [-C command] [-t timeout] [-v] ------------------------------------------------------------------------- ./check_nrpe -H 10.123.16.103 -c check_procs -a -a 100 200 check_procs: Warning Process Count must be an integer! Usage: check_procs -w -c [-m metric] [-s state] [-p ppid] [-u user] [-r rss] [-z vsz] [-P %cpu] [-a argument-array] [-C command] [-t timeout] [-v] ------------------------------------------------------------------------- ./check_nrpe -H 10.123.16.103 -c check_procs -a -w 100 -c 200 NRPE: Command '200' not defined ------------------------------------------------------------------------- ./check_nrpe -H 10.123.16.103 -c check_procs -a w 100 c 200 check_procs: Warning Process Count must be an integer! Usage: check_procs -w -c [-m metric] [-s state] [-p ppid] [-u user] [-r rss] [-z vsz] [-P %cpu] [-a argument-array] [-C command] [-t timeout] [-v] ------------------------------------------------------------------------- ./check_nrpe -H 10.123.16.103 -c check_procs -a w100 c200 check_procs: Warning Process Count must be an integer! Usage: check_procs -w -c [-m metric] [-s state] [-p ppid] [-u user] [-r rss] [-z vsz] [-P %cpu] [-a argument-array] [-C command] [-t timeout] [-v] ------------------------------------------------------------------------- ./check_nrpe -H 10.123.16.103 -c check_procs -a "w 100 c 200" check_procs: Warning Process Count must be an integer! Usage: check_procs -w -c [-m metric] [-s state] [-p ppid] [-u user] [-r rss] [-z vsz] [-P %cpu] [-a argument-array] [-C command] [-t timeout] [-v] ------------------------------------------------------------------------- ./check_nrpe -H 10.123.16.103 -c check_procs -a "-w 100 -c 200" check_procs: Warning Process Count must be an integer! Usage: check_procs -w -c [-m metric] [-s state] [-p ppid] [-u user] [-r rss] [-z vsz] [-P %cpu] [-a argument-array] [-C command] [-t timeout] [-v] ------------------------------------------------------------------------- If I run the script locally on 10.123.16.103: ------------------------------------------------------------------------- ./check_procs PROCS OK: 51 processes ------------------------------------------------------------------------- ./check_procs -w 100 -c 200 PROCS OK: 51 processes -------------------------------------------------------------------------\ What I wanted to raise before (and it might not been stated clearly, sorry...) is that it seems to be some sort of syntax mapping/difference while calling a script through NRPE which I do not understand. It may also been caused because there is something wrong with my system. I do call other scripts using NRPE with no problems. E.g.: (on the remote computer): ./check_nrpe -H 10.123.16.103 -c check_disk -a 2% 1% /dev/sda1 DISK OK - free space: / 2793 MB (76% inode=87%);| /=841MB;3752;3790;0;3829 (on the local computer 10.123.16.103) - syntax error: ./check_disk -a 2% 1% /dev/sda1 ./check_disk: invalid option -- a Unknown argument Usage: check_disk -w limit -c limit [-W limit] [-K limit] {-p path | -x device} [-C] [-E] [-e] [-g group ] [-k] [-l] [-M] [-m] [-R path ] [-r path ] (on the local computer 10.123.16.103) - good one: ./check_disk -w 2% -c 1% /dev/sda1 DISK OK - free space: / 2793 MB (76% inode=87%);| /=841MB;3752;3790;0;3829 Also, I am not making use of the thresholds. I am invoking scripts remotely using perl then parsing the output so I only get the actual value no the threshold status (OK, WARNING, CRITICAL...) that is why the thresholds posted do not make sense. I did read about what LOAD means, etc. I am using NAGIOS as well to monitor a number of servers (where I do use thresholds and they make sense) but I want to re-use the NRPE approach since the NRPE daemon is already running on all the machines I want to graph. Thank you so much, unai ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ae at op5.se Fri Nov 21 12:38:19 2008 From: ae at op5.se (Andreas Ericsson) Date: Fri, 21 Nov 2008 12:38:19 +0100 Subject: Antwort: How can I invoke remotely (through NRPE) check_procs? In-Reply-To: <20081121003955373899.5a436e78@u-journal.org> References: <20081121003955373899.5a436e78@u-journal.org> Message-ID: <49269DAB.2090402@op5.se> Unai Rodriguez wrote: >>> ./check_nrpe -H 10.123.16.103 -c check_load -a 50,60,70 80,90,99 >>> OK - load average: 0.00, 0.00, 0.00|load1=0.000;50.000;80.000;0; >>> load5=0.000;60.000;90.000;0; load15=0.000;70.000;99.000;0; >> I'm a little bit unsure you understood how "load" is to be interpreted >> on *nix machines. You should probably dig into G**gle for some >> and search for information. Your definition is senseless. > > I am just using the load average: a.bc, d.ef, g.hi information, I do > not need the rest > You don't need alerts, you mean? In that case, setting "ok" to be up to 50000% cpu usage (on single-cpu systems) is quite alright, I guess. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From yu.watanabe at jp.fujitsu.com Fri Nov 21 14:14:25 2008 From: yu.watanabe at jp.fujitsu.com (Yu Watanabe) Date: Fri, 21 Nov 2008 22:14:25 +0900 Subject: Pingging with check_fping Message-ID: <200811211314.AA00006@S2007337.jp.fujitsu.com> Hello all I found a plugin check_fping in the nagios exchange that pings to each host. http://www.nagiosexchange.org/cgi-bin/page.cgi?g=Detailed%2F1709.html;d=1 However, the timeout value and the thresholds seems to be not working properly. Are there any ping plugins that can statisfy the following criteria? 1. Able to specify the actual timeout value of ping 2. Able to specify the count of ICMP packets to be sent 3. Able to specify the interval time between the ICMP packets 4. Able to specify the thresholds of rta and pl 5. If at least one ping packet is sent and received OK the plugin returns 0 It would be a great help if someone gives me an advice. Thank you Yu Watanabe ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From alan.mckay at gmail.com Fri Nov 21 14:54:14 2008 From: alan.mckay at gmail.com (Alan McKay) Date: Fri, 21 Nov 2008 08:54:14 -0500 Subject: Pingging with check_fping In-Reply-To: <200811211314.AA00006@S2007337.jp.fujitsu.com> References: <200811211314.AA00006@S2007337.jp.fujitsu.com> Message-ID: <844129e80811210554h2264056fhdcef27d5baa88a0c@mail.gmail.com> > It would be a great help if someone gives me an advice. Are you a coder at all? If the plugin you found is a script, then all of this would be easy enough to alter. -- "I destroy my enemies when I make them my friends" - Abraham Lincoln ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From israel at frontierflying.com Fri Nov 21 18:45:36 2008 From: israel at frontierflying.com (Israel Brewster) Date: Fri, 21 Nov 2008 08:45:36 -0900 Subject: Pingging with check_fping In-Reply-To: <200811211314.AA00006@S2007337.jp.fujitsu.com> References: <200811211314.AA00006@S2007337.jp.fujitsu.com> Message-ID: <8D1F4FEF-171F-4F1B-A665-8AE49D479B58@frontierflying.com> On Nov 21, 2008, at 4:14 AM, Yu Watanabe wrote: > Hello all > > I found a plugin check_fping in the nagios exchange that pings to > each host. > > http://www.nagiosexchange.org/cgi-bin/page.cgi?g=Detailed%2F1709.html;d=1 > > However, the timeout value and the thresholds seems to be not > working properly. > > Are there any ping plugins that can statisfy the following criteria? > > 1. Able to specify the actual timeout value of ping > 2. Able to specify the count of ICMP packets to be sent > 3. Able to specify the interval time between the ICMP packets > 4. Able to specify the thresholds of rta and pl > 5. If at least one ping packet is sent and received OK the plugin > returns 0 > > It would be a great help if someone gives me an advice. You might look at check_icmp. It has command line switches for requirements 1-4, and if you make a symlink to it named check_host, it behaves as specified in criteria #5. ----------------------------------------------- Israel Brewster Computer Support Technician Frontier Flying Service Inc. 5245 Airport Industrial Rd Fairbanks, AK 99709 (907) 450-7250 x293 ----------------------------------------------- > > > Thank you > Yu Watanabe > > > ------------------------------------------------------------------------- > 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=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From israel at frontierflying.com Fri Nov 21 18:53:21 2008 From: israel at frontierflying.com (Israel Brewster) Date: Fri, 21 Nov 2008 08:53:21 -0900 Subject: check for crash? Message-ID: <18CC08F7-01BF-4ADD-873A-794AD0B01575@frontierflying.com> I'm wondering if anyone can give me suggestions as to how to monitor a specific process to make sure it keeps running properly. The specific issue I have is that I have a Java Webstart applet running on OpenBSD 4.4 that, from time to time, randomly crashes. I can't just use check_process (I don't think so, at least) because when it "crashes" the process never actually exits- it just stops working. I have to go in and manually kill it before I can restart it. Does anyone have any thoughts as to how I could check for this situation? I realize this may not strictly be a nagios question, and I apologize to anyone who is bothered by that, but since I would be doing the monitoring with Nagios this seemed the most logical place I could think of to ask. Thanks! ----------------------------------------------- Israel Brewster Computer Support Technician Frontier Flying Service Inc. 5245 Airport Industrial Rd Fairbanks, AK 99709 (907) 450-7250 x293 ----------------------------------------------- ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From alan.mckay at gmail.com Fri Nov 21 19:07:48 2008 From: alan.mckay at gmail.com (Alan McKay) Date: Fri, 21 Nov 2008 13:07:48 -0500 Subject: check for crash? In-Reply-To: <18CC08F7-01BF-4ADD-873A-794AD0B01575@frontierflying.com> References: <18CC08F7-01BF-4ADD-873A-794AD0B01575@frontierflying.com> Message-ID: <844129e80811211007i302ab763g67cbf36b50cf6136@mail.gmail.com> Perhaps a package called "monit" would be better suited for this since that's what it specializes at doing. Though I do not know Nagios well enough yet to say whether or not this would. -- "I destroy my enemies when I make them my friends" - Abraham Lincoln ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From paul.weaver at bbc.co.uk Fri Nov 21 19:40:58 2008 From: paul.weaver at bbc.co.uk (Paul Weaver) Date: Fri, 21 Nov 2008 18:40:58 -0000 Subject: check for crash? In-Reply-To: <18CC08F7-01BF-4ADD-873A-794AD0B01575@frontierflying.com> References: <18CC08F7-01BF-4ADD-873A-794AD0B01575@frontierflying.com> Message-ID: > I'm wondering if anyone can give me suggestions as to how to > monitor a specific process to make sure it keeps running > properly. The specific issue I have is that I have a Java > Webstart applet running on OpenBSD > 4.4 that, from time to time, randomly crashes. I can't just > use check_process (I don't think so, at least) because when > it "crashes" > the process never actually exits- it just stops working. I > have to go in and manually kill it before I can restart it. When monitoring something new 1) how do you personally detect that its crashed 2) can that be automated? 3) If so, write a plugin. 4) If not, look at the things the applet has an affect on. For example: Imagine a webbrowser pointing at a refreshing webpage. You can tell the webbrowser is up (check_process), but that doesn't tell you it's actually refreshing the page. To check that, you could additionally monitor the apache log on the webserver for the last time the IP address loaded the page Something like tac /var/log/apache2/access.log|grep $IP|head -1|awk '{print $4" "$5}' Without knowing what the applet does though, it's difficult to know how to monitor it. ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From thiagodasilveira at gmail.com Fri Nov 21 19:45:05 2008 From: thiagodasilveira at gmail.com (Thiago da Silveira) Date: Fri, 21 Nov 2008 16:45:05 -0200 Subject: PNP Documentation Message-ID: Hi everybody! Anyone knows where can I find the PNP Documentation? Its seen the official site is off line (www.pnp4nagios.org) its been a while... Thanks! --- Thiago da Silveira thiagodasilveira at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Fri Nov 21 19:52:38 2008 From: marc at ena.com (Marc Powell) Date: Fri, 21 Nov 2008 12:52:38 -0600 Subject: PNP Documentation In-Reply-To: References: Message-ID: <5B41BA93-E7F1-4D8C-A70B-5DB5C61482F3@ena.com> On Nov 21, 2008, at 12:45 PM, Thiago da Silveira wrote: > Hi everybody! > > Anyone knows where can I find the PNP Documentation? > Its seen the official site is off line (www.pnp4nagios.org) its been > a while... I can get to the site just fine. -- Marc ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From fra.nospam.nk at gmx.de Fri Nov 21 19:57:06 2008 From: fra.nospam.nk at gmx.de (Frank Fegert) Date: Fri, 21 Nov 2008 19:57:06 +0100 Subject: Nagios and NRPE on AIX with plugin error on increased number of checks Message-ID: <20081121185706.217900@gmx.net> Hello all, i'm running Nagios (3.0.5) and NRPE (1.4.13) both on AIX (mostly 5.3, but a view 5.2 clients). This worked pretty well until yesterday. After adding some new checks suddenly _all_ NRPE-based client checks for all hosts return "No output returned from plugin". Manually run from the shell, the checks return valid results. If i remove some checks - re- gardless which check specifically - and keep the number of NRPE checks under a certain level (~700-800) everything works just fine again. I already verified the system has enough resources (disk space, memory, CPU, user limits, ...) and turned up the Nagios debugging to 4096 but that gave no further clues. On the client-/NRPE-side it appears as if the NRPE-request never arrives at the client. Has anyone seen this kind of behavior or has any idea what might cause this? Thanks & Regards, Frank P.S.: Is anyone in charge of the mailinglists pending approval postings? I couldn't for the life of me get the list to accept my original posting composed with mutt ("suspicious headers"). Other SF hosted MLs work just fine though. -- Psssst! Schon vom neuen GMX MultiMessenger geh?rt? Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From andurin at process-zero.de Fri Nov 21 20:02:52 2008 From: andurin at process-zero.de (=?ISO-8859-1?Q?Hendrik_B=E4cker?=) Date: Fri, 21 Nov 2008 20:02:52 +0100 Subject: PNP Documentation In-Reply-To: References: Message-ID: <492705DC.40309@process-zero.de> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Thiago da Silveira schrieb: > Hi everybody! > > Anyone knows where can I find the PNP Documentation? > Its seen the official site is off line (www.pnp4nagios.org > ) its been a while... > Off-line??? I'm one of the server admins and I guess J?rg wants to kick me if the site might be offline. Ping www.pnp4nagios.org [78.46.241.41] mit 32 Bytes Daten: Antwort von 78.46.241.41: Bytes=32 Zeit=14ms TTL=55 What about you? -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) iD8DBQFJJwXclI0PwfxLQjkRAjDCAJ9xiMWkpfnLqQmBlNdMUlMhc6dHSQCeOT3k Il84qKU8muDGqU3SazG0OXY= =2Zw6 -----END PGP SIGNATURE----- ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From thiagodasilveira at gmail.com Fri Nov 21 20:04:06 2008 From: thiagodasilveira at gmail.com (Thiago da Silveira) Date: Fri, 21 Nov 2008 17:04:06 -0200 Subject: PNP Documentation In-Reply-To: <5B41BA93-E7F1-4D8C-A70B-5DB5C61482F3@ena.com> References: <5B41BA93-E7F1-4D8C-A70B-5DB5C61482F3@ena.com> Message-ID: Sorry guys. I think its some problem in my network... Thanks --- Thiago da Silveira thiagodasilveira at gmail.com On Fri, Nov 21, 2008 at 4:52 PM, Marc Powell wrote: > > On Nov 21, 2008, at 12:45 PM, Thiago da Silveira wrote: > > > Hi everybody! > > > > Anyone knows where can I find the PNP Documentation? > > Its seen the official site is off line (www.pnp4nagios.org) its been > > a while... > > I can get to the site just fine. > > -- > Marc > > > ------------------------------------------------------------------------- > 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=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From fernando.rocha at opservices.com.br Fri Nov 21 20:07:00 2008 From: fernando.rocha at opservices.com.br (Fernando Rocha) Date: Fri, 21 Nov 2008 17:07:00 -0200 (BRST) Subject: check for crash? In-Reply-To: <8326969.19451227294328009.JavaMail.root@mail.opservices.com.br> References: <8326969.19451227294328009.JavaMail.root@mail.opservices.com.br> Message-ID: <17124725.19471227294420166.JavaMail.root@mail.opservices.com.br> Hi Israel, I think that by the check_process is hard to identify this issue, because as you said the process still running and just stop to work. How do you know when it crashes? Is there some log occurrences? Does it gives some errors on the web page? -- Fernando Rocha Analista de Suporte - Opera??o OpServices - Porto Alegre - RS - Brasil +55 51 3275.3588 www.opservices.com.br www.opmon.org ----- "Israel Brewster" wrote: > I'm wondering if anyone can give me suggestions as to how to monitor a > > specific process to make sure it keeps running properly. The specific > > issue I have is that I have a Java Webstart applet running on OpenBSD > > 4.4 that, from time to time, randomly crashes. I can't just use > check_process (I don't think so, at least) because when it "crashes" > > the process never actually exits- it just stops working. I have to go > > in and manually kill it before I can restart it. Does anyone have any > > thoughts as to how I could check for this situation? I realize this > may not strictly be a nagios question, and I apologize to anyone who > > is bothered by that, but since I would be doing the monitoring with > Nagios this seemed the most logical place I could think of to ask. > Thanks! > > ----------------------------------------------- > Israel Brewster > Computer Support Technician > Frontier Flying Service Inc. > 5245 Airport Industrial Rd > Fairbanks, AK 99709 > (907) 450-7250 x293 > ----------------------------------------------- > > > > ------------------------------------------------------------------------- > 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=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From andurin at process-zero.de Fri Nov 21 20:08:15 2008 From: andurin at process-zero.de (=?ISO-8859-1?Q?Hendrik_B=E4cker?=) Date: Fri, 21 Nov 2008 20:08:15 +0100 Subject: PNP Documentation In-Reply-To: References: <492705DC.40309@process-zero.de> Message-ID: <4927071F.3070101@process-zero.de> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Thiago da Silveira schrieb: > > But I try to access through another place and it works... > > Thanks again! > Phew! Thanks for scary me ;) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) iD8DBQFJJwcelI0PwfxLQjkRAuU9AJ9Ip5goCSjGa6RDIrV659xtamHSVwCeJbN/ dcSwX2g960/eXxvkTbXajjE= =ZF06 -----END PGP SIGNATURE----- ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From andurin at process-zero.de Fri Nov 21 20:23:15 2008 From: andurin at process-zero.de (=?ISO-8859-1?Q?Hendrik_B=E4cker?=) Date: Fri, 21 Nov 2008 20:23:15 +0100 Subject: PNP Documentation In-Reply-To: References: <5B41BA93-E7F1-4D8C-A70B-5DB5C61482F3@ena.com> Message-ID: <49270AA3.6020708@process-zero.de> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Thiago da Silveira schrieb: > Sorry guys. > > I think its some problem in my network... Guess it's time for getting a Nagios to detect them ;) SCNR. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) iD8DBQFJJwqjlI0PwfxLQjkRAovAAJ9ELG5sdWDMLen6xmpzRa4IpGjOPgCdH81x BYQvPzNikNaB4YQGW0BevnM= =vKxW -----END PGP SIGNATURE----- ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Jacob.Laack at alegent.org Fri Nov 21 21:46:52 2008 From: Jacob.Laack at alegent.org (Laack,Jacob C) Date: Fri, 21 Nov 2008 14:46:52 -0600 Subject: Force Check on Passive Service Doesn't Run Message-ID: I have the below configuration for a service, SNMP-Trap, on a Nagios 3.0.5 system. When I "Re-schedule the next check of this service" to "reset" it, the check doen't run, regardless of whether or not I check the "Force Check" box. If I change "active_checks_enabled" to 0 and get rid of "check_period" in the s-passive-alert template, it still won't run. Could someone point out my mistake? I'd much appreciate it. define service{ service_description SNMP-Trap host_name chip use s-opensys-snmp-trap-development } define service{ name s-opensys-snmp-trap-development use s-snmp-trap register 0 contact_groups cg-opensystems-oncall-snmp-development } define service{ name s-snmp-trap use s-passive-alert register 0 servicegroups sg-snmp-trap } define service{ name s-passive-alert use s-default register 0 active_checks_enabled 1 check_period tp-never check_command passive-alert-reset check_interval 1 max_check_attempts 1 check_freshness 1 freshness_threshold 86400 ;24 hours flap_detection_enabled 0 is_volatile 1 notification_options w,c,u notification_interval 0 stalking_options o,w,c,u } define command{ command_name passive-alert-reset command_line $USER1$/check_dummy 0 "Status reset, no problems." } define service{ name s-default register 0 initial_state o check_period tp-24x7 check_freshness 0 check_interval 5 retry_check_interval 1 max_check_attempts 4 active_checks_enabled 1 passive_checks_enabled 1 event_handler_enabled 1 flap_detection_enabled 1 flap_detection_options o,w,c,u process_perf_data 1 is_volatile 0 obsess_over_service 0 retain_status_information 1 retain_nonstatus_information 1 failure_prediction_enabled 1 notifications_enabled 1 notification_options w,c,u,r,f,s notification_period tp-24x7 notification_interval 20 icon_image unknown.png icon_image_alt Unknown Service } Jake Laack Alegent Health, Open Systems Engineer ________________________________ Sponsored by Catholic Health Initiatives and Immanuel Health Systems, Alegent Health is faithful to the healing ministry of Jesus Christ, providing high quality care for the body, mind and spirit of every person. The information contained in this communication, including attachments, is confidential and private and intended only for the use of the addressees. Unauthorized use, disclosure, distribution or copying is strictly prohibited and may be unlawful. If you received this communication in error, please inform us of the erroneous delivery by return e-mail message from your computer. Additionally, although all attachments have been scanned at the source for viruses, the recipient should check any attachments for the presence of viruses before opening. Alegent Health accepts no liability for any damage caused by any virus transmitted by this e-mail. Thank you for your cooperation. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From luke at an0key.co.uk Fri Nov 21 23:07:02 2008 From: luke at an0key.co.uk (Luke Sheldrick) Date: Fri, 21 Nov 2008 22:07:02 +0000 Subject: check_jabber Message-ID: <20081121220702.GA17813@nas.esx01.an0key.net> Hi, Has anyone every got check_jabber to work? Seems what ever syntax I try, it still WARNs... ./check_jabber -H sheldrick.co.uk -v Using service JABBER Port: 5222 flags: 0x26 Send string: Quit string: server_expect_count: 1 0: #-raw-recv-------# looking for [] couldn't find it JABBER WARNING - Unexpected response from host/socket on port 5222|time=0.044792s;;;0.000000;10.000000 ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From devin at phpcodeguru.com Sat Nov 22 00:27:21 2008 From: devin at phpcodeguru.com (Devin Atencio) Date: Fri, 21 Nov 2008 16:27:21 -0700 Subject: Nagios Acknowledgement - page with more information? Message-ID: <20081121162721.93310mzw86pzmdb4@www.pabstatencio.com> I am running the latest Nagios 3.0.5, and whenever I acknowledge a service problem it just pages with service acknowledgment but doesn't include who acknowledged the problem as well as what comment they put for the acknowledgment. Is there an easy way to have Nagios page with that additional information for a service acknowledgment? Any comments is greatly appreciated. Devin ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jonathan.williams at us.g4s.com Sat Nov 22 00:18:41 2008 From: jonathan.williams at us.g4s.com (Jonathan Williams) Date: Fri, 21 Nov 2008 15:18:41 -0800 Subject: CheckEventLog Info Message-ID: Looking for info on this feature. I am looking for Nagios to be able to monitor the Windows System Log for specific event types and notify accordingly when they appear. Does this require an additional plug in or is this something that is already part of NSCLient++ v 3.1.14? Thanks, Jonathan Williams Sr. Systems Administrator G4S Justice Services, Inc. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From patrick.morris at hp.com Sat Nov 22 01:11:47 2008 From: patrick.morris at hp.com (Patrick Morris) Date: Fri, 21 Nov 2008 16:11:47 -0800 Subject: check_jabber In-Reply-To: <20081121220702.GA17813@nas.esx01.an0key.net> References: <20081121220702.GA17813@nas.esx01.an0key.net> Message-ID: <20081122001147.GO26044@bakgwai.americas.hpqcorp.net> On Fri, 21 Nov 2008, Luke Sheldrick wrote: > Hi, > > Has anyone every got check_jabber to work? > > Seems what ever syntax I try, it still WARNs... > > ./check_jabber -H sheldrick.co.uk -v > Using service JABBER > Port: 5222 > flags: 0x26 > Send string: > > Quit string: > > server_expect_count: 1 > 0: received 174 bytes from host > #-raw-recv-------# > > #-raw-recv-------# > looking for [] > couldn't find it > JABBER WARNING - Unexpected response from host/socket on port 5222|time=0.044792s;;;0.000000;10.000000 Well, yeah -- based on the message, the string it's trying to match against isn't what your server sends. Unless that's configurable, it's never going to work without some recoding. ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Sat Nov 22 01:27:03 2008 From: marc at ena.com (Marc Powell) Date: Fri, 21 Nov 2008 18:27:03 -0600 Subject: Nagios Acknowledgement - page with more information? In-Reply-To: <20081121162721.93310mzw86pzmdb4@www.pabstatencio.com> References: <20081121162721.93310mzw86pzmdb4@www.pabstatencio.com> Message-ID: <9F393EB5-018E-41D3-86F7-36DC370C9BF8@ena.com> On Nov 21, 2008, at 5:27 PM, Devin Atencio wrote: > > I am running the latest Nagios 3.0.5, and whenever I acknowledge a > service problem it just pages with > service acknowledgment but doesn't include who acknowledged the > problem as well as what comment > they put for the acknowledgment. Is there an easy way to have Nagios > page with that additional > information for a service acknowledgment? Yes, just edit your notification command to include the $NOTIFICATION...$ macros you are interested in. The list of macros you're interested in begins at http://nagios.sourceforge.net/docs/3_0/macrolist.html#notificationtype -- Marc ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jpaulus at sourceinterlink.com Sat Nov 22 02:04:22 2008 From: jpaulus at sourceinterlink.com (Paulus, Jake) Date: Fri, 21 Nov 2008 20:04:22 -0500 Subject: check_jabber In-Reply-To: <20081122001147.GO26044@bakgwai.americas.hpqcorp.net> References: <20081121220702.GA17813@nas.esx01.an0key.net> <20081122001147.GO26044@bakgwai.americas.hpqcorp.net> Message-ID: <79B77295FBC9F247A32A6C98B67B1E1401FD2208@srv-1exch01.sourceinterlink.com> Check_jabber is really just check_tcp in disguise (same way check_udp is...do file check_jabber to see what I mean.) If your jabber server sends back a string that doesn't match what is expected (as is happening here) then you're going to get a warning. Given the output below, you should be OK using: ./check_tcp -H sheldrick.co.uk -p 5222 -s "" -e "]|time=0.328587s;3.000000;5.000000;0.000000;10.000000 You may wish to adjust warning and critical thresholds to your liking. Thanks, -Jake -----Original Message----- From: Patrick Morris [mailto:patrick.morris at hp.com] Sent: Friday, November 21, 2008 7:12 PM To: Luke Sheldrick Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] check_jabber On Fri, 21 Nov 2008, Luke Sheldrick wrote: > Hi, > > Has anyone every got check_jabber to work? > > Seems what ever syntax I try, it still WARNs... > > ./check_jabber -H sheldrick.co.uk -v > Using service JABBER > Port: 5222 > flags: 0x26 > Send string: > > Quit string: > > server_expect_count: 1 > 0: received 174 bytes from host > #-raw-recv-------# > > #-raw-recv-------# > looking for [] > couldn't find it > JABBER WARNING - Unexpected response from host/socket on port 5222|time=0.044792s;;;0.000000;10.000000 Well, yeah -- based on the message, the string it's trying to match against isn't what your server sends. Unless that's configurable, it's never going to work without some recoding. ------------------------------------------------------------------------ - 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From luke at an0key.co.uk Sat Nov 22 03:28:38 2008 From: luke at an0key.co.uk (Luke Sheldrick) Date: Sat, 22 Nov 2008 02:28:38 +0000 Subject: check_jabber In-Reply-To: <79B77295FBC9F247A32A6C98B67B1E1401FD2208@srv-1exch01.sourceinterlink.com> References: <20081121220702.GA17813@nas.esx01.an0key.net> <20081122001147.GO26044@bakgwai.americas.hpqcorp.net> <79B77295FBC9F247A32A6C98B67B1E1401FD2208@srv-1exch01.sourceinterlink.com> Message-ID: <20081122022838.GB17813@nas.esx01.an0key.net> Ah, excellent stuff. Cheers :) On Sat, Nov 22, 2008 at 01:04:22AM +0000, Paulus, Jake wrote: > Check_jabber is really just check_tcp in disguise (same way check_udp > is...do file check_jabber to see what I mean.) If your jabber server > sends back a string that doesn't match what is expected (as is happening > here) then you're going to get a warning. Given the output below, you > should be OK using: > > ./check_tcp -H sheldrick.co.uk -p 5222 -s " xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>" > -e " xmlns:stream=\"http://etherx.jabber.org/streams\" > xmlns=\"jabber:client\"" -w 3 -c 5 > > I tested this (hope you don't mind) and got this response from your > server: > > TCP OK - 0.329 second response time on port 5222 [ encoding='UTF-8'?> xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client" > from="sheldrick.co.uk" id="999b48cc" > xml:lang="en">]|time=0.328587s;3.000000;5.000000;0.000000;10.000000 > > You may wish to adjust warning and critical thresholds to your liking. > > Thanks, -Jake > > -----Original Message----- > From: Patrick Morris [mailto:patrick.morris at hp.com] > Sent: Friday, November 21, 2008 7:12 PM > To: Luke Sheldrick > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] check_jabber > > On Fri, 21 Nov 2008, Luke Sheldrick wrote: > > > Hi, > > > > Has anyone every got check_jabber to work? > > > > Seems what ever syntax I try, it still WARNs... > > > > ./check_jabber -H sheldrick.co.uk -v > > Using service JABBER > > Port: 5222 > > flags: 0x26 > > Send string: xmlns:stream='http://etherx.jabber.org/streams'> > > > > Quit string: > > > > server_expect_count: 1 > > 0: xmlns:stream='http://etherx.jabber.org/streams' > > received 174 bytes from host > > #-raw-recv-------# > > xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client" > from="sheldrick.co.uk" id="db947949" xml:lang="en"> > > #-raw-recv-------# > > looking for [ xmlns:stream='http://etherx.jabber.org/streams'] in beginning of [ version='1.0' encoding='UTF-8'?> xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client" > from="sheldrick.co.uk" id="db947949" xml:lang="en">] > > couldn't find it > > JABBER WARNING - Unexpected response from host/socket on port > 5222|time=0.044792s;;;0.000000;10.000000 > > Well, yeah -- based on the message, the string it's trying to match > against isn't what your server sends. > > Unless that's configurable, it's never going to work without some > recoding. > > ------------------------------------------------------------------------ > - > 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=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From luke at an0key.co.uk Sat Nov 22 03:55:14 2008 From: luke at an0key.co.uk (Luke Sheldrick) Date: Sat, 22 Nov 2008 02:55:14 +0000 Subject: Notify Jabber Message-ID: <20081122025514.GC17813@nas.esx01.an0key.net> Hi, Been trying to get this to work all night, and am stuck on where to go. Background OS: FC9 Nagios: 3.0.5-3 Perl: 4:5.10.0-34 Jabber Server(on remote host): Openfire 3.6.1 I've been trying to get notifications to jabber working, and using the code from http://nagios.sourceforge.net/download/contrib/notifications/notify_via_jabber slightly modified http://www.igniterealtime.org/community/message/144424 to change AuthSend to AuthIQAuth, as the jabber server I am using (OpenFire doesn't work with AuthSend). The script is in /bin/jabbermail.pl. My commands config has: define command{ command_name host-notify-by-jabber command_line /bin/jabbermail.pl $CONTACTEMAIL$ '$NOTIFICATIONTYPE$: $HOSTNAME$ is $HOSTSTATE$' } define command{ command_name service-notify-by-jabber command_line /bin/jabbermail.pl $CONTACTEMAIL$ '$NOTIFICATIONTYPE$: $HOSTNAME$: $SERVICEDESC$ is $SERVICESTATE$' } and the contacts have been set to email &/or jabber notifications. Running the script from the command line has no problems, however when nagios runs it, whilst nagios reports the command has run, not messages ever come through. Hopefully someone has seen this before... Cheers ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From mk at op5.com Sat Nov 22 06:28:42 2008 From: mk at op5.com (Martin Kamijo) Date: Sat, 22 Nov 2008 06:28:42 +0100 (CET) Subject: CheckEventLog Info In-Reply-To: <49279886.7050300@op5.com> References: <49279886.7050300@op5.com> Message-ID: <33521490.15891227331722374.JavaMail.root@mail.op5.se> Jonathan Williams wrote: > Looking for info on this feature. I am looking for Nagios to be able to > monitor the Windows System Log for specific event types and notify > accordingly when they appear. Does this require an additional plug in > or is this something that is already part of NSCLient++ v 3.1.14? > As far as I can see this is a part of the version you are using. If not just upgrade to the latest one. For usage take a look here in the NSClient++ documentation: http://www.nsclient.org/nscp/wiki/CheckEventLog/CheckEventLog -- Best Regards Martin Kamijo __________________________ op5 AB F?rsta L?nggatan 19 SE-413 27 G?teborg Mobil: +46 735-17 70 95 Support: +46 31-774 09 24 www.op5.com ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From luke at an0key.co.uk Sat Nov 22 08:30:09 2008 From: luke at an0key.co.uk (Luke Sheldrick) Date: Sat, 22 Nov 2008 07:30:09 +0000 Subject: Notify Jabber In-Reply-To: <20081122025514.GC17813@nas.esx01.an0key.net> References: <20081122025514.GC17813@nas.esx01.an0key.net> Message-ID: <20081122073009.GD17813@nas.esx01.an0key.net> Would seem, that having embedded perl enables kills the function, which makes sense. Does this sound right? can you add modules to nagios's perl? On Sat, Nov 22, 2008 at 02:55:14AM +0000, Luke Sheldrick wrote: > Hi, > > Been trying to get this to work all night, and am stuck on where to go. > > Background > OS: FC9 > Nagios: 3.0.5-3 > Perl: 4:5.10.0-34 > Jabber Server(on remote host): Openfire 3.6.1 > > I've been trying to get notifications to jabber working, and using the code from http://nagios.sourceforge.net/download/contrib/notifications/notify_via_jabber slightly modified http://www.igniterealtime.org/community/message/144424 to change AuthSend to AuthIQAuth, as the jabber server I am using (OpenFire doesn't work with AuthSend). > > The script is in /bin/jabbermail.pl. > > My commands config has: > > define command{ > command_name host-notify-by-jabber > command_line /bin/jabbermail.pl $CONTACTEMAIL$ '$NOTIFICATIONTYPE$: $HOSTNAME$ is $HOSTSTATE$' > } > > define command{ > command_name service-notify-by-jabber > command_line /bin/jabbermail.pl $CONTACTEMAIL$ '$NOTIFICATIONTYPE$: $HOSTNAME$: $SERVICEDESC$ is $SERVICESTATE$' > } > > and the contacts have been set to email &/or jabber notifications. > > Running the script from the command line has no problems, however when nagios runs it, whilst nagios reports the command has run, not messages ever come through. > > Hopefully someone has seen this before... > > Cheers > > ------------------------------------------------------------------------- > 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=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From farhhanahmed at hotmail.com Sat Nov 22 14:05:17 2008 From: farhhanahmed at hotmail.com (farhan ahmed) Date: Sun, 23 Nov 2008 00:05:17 +1100 Subject: NRPE mystery Message-ID: Hello, Finally, resolved the mystery. I was running NRPE under root as nagios user and check_nrpe was returing exit value 0 in any case. bash-3.00#/usr/local/sys/nrpe/bin/nrpe -c /usr/local/sys/nrpe/etc/nrpe.cfg bash-3.00#ps -ef|grep nrpe nagios 3184 677 0 23:30:39 ? 0:00 /usr/local/sys/nrpe/bin/nrpe -c /usr/local/sys/nrpe/etc/nrpe.cfg -d What i did , login as nagios and start the NRPE and it fixed all the issues. bash-3.00# su - nagios bash-3.00$/usr/local/sys/nrpe/bin/nrpe -c /usr/local/sys/nrpe/etc/nrpe.cfg bash-3.00#ps -ef|grep nrpe I still can't understand why it doesnt work when I start NRPE under root as nagios user. Could any one explain please explain? Note: On all other my environments, I am running NRPE under root as nagios user Thanks, Farhan _________________________________________________________________ Take a summer road trip with Windows Live Hotmail. Multiple prizes and the ultimate dream beach house! http://www.ninemsn.com.au/hotmailroadtrip -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From charlie.reddington at gmail.com Sat Nov 22 15:19:45 2008 From: charlie.reddington at gmail.com (Charlie Reddington) Date: Sat, 22 Nov 2008 08:19:45 -0600 Subject: Cannot disable individual servers / hosts Message-ID: <7AF479E1-868D-4C92-AFD9-B025B00528E8@gmail.com> Hi, I'm running Nagios 3.0.5. I currently have about 5 different clients on my system for different companies. So users are only added to see their own servers, except for my user, which can see and do it all. I CAN disable all notifications for the entire system. Process Info -> Disable Notifications I CANNOT disable notifications for a particular service. Service Detail -> service check -> Disable Notifications I have a user that can access everything - 'nagiosadmin' that is added to the cgi.cfg file and even this user cannot do individual notification disabling. When I go through the disable process, I see this in my event log External Command[11-22-2008 08:14:41] EXTERNAL COMMAND: DISABLE_SVC_NOTIFICATIONS;Tenant602E;PING But I don't get the icon, and I still end up getting alerts. Here's the last two lines of my nagios.log file [1227362376] Auto-save of retention data completed successfully. [1227363281] EXTERNAL COMMAND: DISABLE_SVC_NOTIFICATIONS;Tenant602E;PING I'm just not getting where things are going wrong here. If you guys need any of my configs to help better troubleshoot this with me let me know and I'll paste them up. Thanks, Charlie ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From charlie.reddington at gmail.com Sat Nov 22 15:34:32 2008 From: charlie.reddington at gmail.com (Charlie Reddington) Date: Sat, 22 Nov 2008 08:34:32 -0600 Subject: Cannot disable individual servers / hosts In-Reply-To: <7AF479E1-868D-4C92-AFD9-B025B00528E8@gmail.com> References: <7AF479E1-868D-4C92-AFD9-B025B00528E8@gmail.com> Message-ID: <678A562C-C4B8-47F0-B9CF-7D5141D8ECE2@gmail.com> Okay, just found out something. I can disable services or hosts, but not both at the same time. For example, if I go to disable all service notifications and click the box, 'and hosts too', nothing gets disabled. If I disable JUST the service it will disable If I disable JUST the host, it will disable. Weird. Charlie On Nov 22, 2008, at 8:19 AM, Charlie Reddington wrote: > Hi, > > I'm running Nagios 3.0.5. > > I currently have about 5 different clients on my system for > different companies. So users are only added to see their own > servers, except for my user, which can see and do it all. > > I CAN disable all notifications for the entire system. Process Info - > > Disable Notifications > > I CANNOT disable notifications for a particular service. Service > Detail -> service check -> Disable Notifications > > I have a user that can access everything - 'nagiosadmin' that is > added to the cgi.cfg file and even this user cannot do individual > notification disabling. > > When I go through the disable process, I see this in my event log > > External Command[11-22-2008 08:14:41] EXTERNAL COMMAND: > DISABLE_SVC_NOTIFICATIONS;Tenant602E;PING > > But I don't get the icon, and I still end up getting alerts. > > Here's the last two lines of my nagios.log file > > [1227362376] Auto-save of retention data completed successfully. > [1227363281] EXTERNAL COMMAND: > DISABLE_SVC_NOTIFICATIONS;Tenant602E;PING > > I'm just not getting where things are going wrong here. If you guys > need any of my configs to help better troubleshoot this with me let > me know and I'll paste them up. > > Thanks, > > Charlie > > > ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From dermoth at aei.ca Sat Nov 22 17:51:44 2008 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Sat, 22 Nov 2008 11:51:44 -0500 Subject: check_jabber In-Reply-To: <20081122022838.GB17813@nas.esx01.an0key.net> References: <20081121220702.GA17813@nas.esx01.an0key.net> <20081122001147.GO26044@bakgwai.americas.hpqcorp.net> <79B77295FBC9F247A32A6C98B67B1E1401FD2208@srv-1exch01.sourceinterlink.com> <20081122022838.GB17813@nas.esx01.an0key.net> Message-ID: <492838A0.6000009@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 21/11/08 09:28 PM, Luke Sheldrick wrote: > Ah, excellent stuff. Cheers :) IIRC you can also override jabber arguments, so using check_jabber and adding only the correct -e argument should work too. I'm not sure for jabber, but some of the bundled checks implement options not configurable on the command line. Using check_tcp might therefore give slightly different results. - -- Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFJKDif6dZ+Kt5BchYRAvIQAKCTFJfqhMPFimZwZFORBSpfQOwXygCfcR4t HiwQABAZFJgAc/p6RUhane8= =r4jf -----END PGP SIGNATURE----- ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ssimmons at cymfony.com Sun Nov 23 02:17:57 2008 From: ssimmons at cymfony.com (Seth Simmons) Date: Sat, 22 Nov 2008 20:17:57 -0500 Subject: Cannot disable individual servers / hosts In-Reply-To: <678A562C-C4B8-47F0-B9CF-7D5141D8ECE2@gmail.com> References: <7AF479E1-868D-4C92-AFD9-B025B00528E8@gmail.com> <678A562C-C4B8-47F0-B9CF-7D5141D8ECE2@gmail.com> Message-ID: <4881ECF1AB752843908A20CEE07A8EB12107@buf-ex01.cymfony.com> Charlie, I had the same problem. Andreas pointed me to a patch that fixes this issue. http://www.op5.org/src/nagios-3.0.5p1.tar.gz -----Original Message----- From: Charlie Reddington [mailto:charlie.reddington at gmail.com] Sent: Saturday, November 22, 2008 9:35 AM To: Charlie Reddington Cc: Nagios User list Subject: Re: [Nagios-users] Cannot disable individual servers / hosts Okay, just found out something. I can disable services or hosts, but not both at the same time. For example, if I go to disable all service notifications and click the box, 'and hosts too', nothing gets disabled. If I disable JUST the service it will disable If I disable JUST the host, it will disable. Weird. Charlie On Nov 22, 2008, at 8:19 AM, Charlie Reddington wrote: > Hi, > > I'm running Nagios 3.0.5. > > I currently have about 5 different clients on my system for > different companies. So users are only added to see their own > servers, except for my user, which can see and do it all. > > I CAN disable all notifications for the entire system. Process Info - > > Disable Notifications > > I CANNOT disable notifications for a particular service. Service > Detail -> service check -> Disable Notifications > > I have a user that can access everything - 'nagiosadmin' that is > added to the cgi.cfg file and even this user cannot do individual > notification disabling. > > When I go through the disable process, I see this in my event log > > External Command[11-22-2008 08:14:41] EXTERNAL COMMAND: > DISABLE_SVC_NOTIFICATIONS;Tenant602E;PING > > But I don't get the icon, and I still end up getting alerts. > > Here's the last two lines of my nagios.log file > > [1227362376] Auto-save of retention data completed successfully. > [1227363281] EXTERNAL COMMAND: > DISABLE_SVC_NOTIFICATIONS;Tenant602E;PING > > I'm just not getting where things are going wrong here. If you guys > need any of my configs to help better troubleshoot this with me let > me know and I'll paste them up. > > Thanks, > > Charlie > > > ------------------------------------------------------------------------ - 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From lists at sequestered.net Sun Nov 23 10:46:52 2008 From: lists at sequestered.net (Jay Chandler) Date: Sun, 23 Nov 2008 04:46:52 -0500 Subject: Cannot disable individual servers / hosts In-Reply-To: <4881ECF1AB752843908A20CEE07A8EB12107@buf-ex01.cymfony.com> References: <7AF479E1-868D-4C92-AFD9-B025B00528E8@gmail.com> <678A562C-C4B8-47F0-B9CF-7D5141D8ECE2@gmail.com> <4881ECF1AB752843908A20CEE07A8EB12107@buf-ex01.cymfony.com> Message-ID: On Nov 22, 2008, at 8:17 PM, Seth Simmons wrote: > > > I had the same problem. Andreas pointed me to a patch that fixes this > issue. > > http://www.op5.org/src/nagios-3.0.5p1.tar.gz Yeah, I've noticed this behavior in 3.0.5 as well; I was content to wait for the patch to make it into a stable release, but I might get around to it after Thanksgiving if I get the opportunity before 3.0.6 drops. -- Jay Chandler / KB1JWQ Living Legend / Systems Exorcist Today's Excuse: UBNC (user brain not connected) -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From luke at an0key.co.uk Mon Nov 24 08:58:57 2008 From: luke at an0key.co.uk (Luke Sheldrick) Date: Mon, 24 Nov 2008 07:58:57 +0000 Subject: NRPE help Message-ID: <20081124075857.GH17813@nas.esx01.an0key.net> I know it's probably been covered before, but my google has not revealed much. I am trying to run nrpe, as either root, or using sudo, however when I do, I get "RPE: Unable to read output" If I sudo into nrpe, it can sudo any of the check_*'s without any problem. I get the same results if I sudo globally, or on the command. This is a fc9 box, as the client, and fc8 box running nagios. Any help welcomed :) ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From adesperateuser at googlemail.com Mon Nov 24 10:48:55 2008 From: adesperateuser at googlemail.com (Marcus) Date: Mon, 24 Nov 2008 10:48:55 +0100 Subject: NRPE help In-Reply-To: <20081124075857.GH17813@nas.esx01.an0key.net> References: <20081124075857.GH17813@nas.esx01.an0key.net> Message-ID: <492A7887.5000903@googlemail.com> Luke Sheldrick schrieb: > I know it's probably been covered before, but my google has not revealed much. > > I am trying to run nrpe, as either root, or using sudo, however when I do, I get > "RPE: Unable to read output" The Problem is, that there is no output from the check, which I once had as a problem too. The origin was, that I was lacking a perl-module, and the command failed therefore, if I remeber correctly. Maybe you can increase log-verbosity and see, if there are any errors printed, when you run the command. Best regards, Marcus ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jonathan.wheeler at stfc.ac.uk Mon Nov 24 12:20:05 2008 From: jonathan.wheeler at stfc.ac.uk (Wheeler, JF (Jonathan)) Date: Mon, 24 Nov 2008 11:20:05 -0000 Subject: Nagios failed to notify and run event handler Message-ID: Our configuration on the master server (running nagios 2.11) includes the NDUUtils module which writes Nagios data into a set of MySQL tables. The MySQL server is in a separate rack from the Nagios master server. Late yesterday evening (Sunday) there was a network switch problem which meant (among other things that you do not need to know about) that the Nagios process lost contact with the MySQL server. From that point on there were no notifications nor event-handlers run. My assumption is that the loss of contact to the MySQL server caused the single-threaded part of the Nagios process to stall until contact was restored; as a result notifications and event-handlers did not run as they are also in the single-threaded part of the code. Is my assumption correct? If not, can anyone suggest an alternative explanation? As far as I can tell the Nagios process continued to run as the log continued to record events - however log switching (at midnight) did not happen (also in the single-threaded part of the code). Jonathan Wheeler e-Science Centre Rutherford Appleton Laboratory -- Scanned by iCritical. ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Deborah.Martin at Kognitio.com Mon Nov 24 12:08:02 2008 From: Deborah.Martin at Kognitio.com (Deborah Martin) Date: Mon, 24 Nov 2008 11:08:02 -0000 Subject: Alerts generated when max_check_attempts set to 3 Message-ID: <84836290D5AD43418C40DCF0C4A54ED32BBB49@kogex02.pmpl.co.uk> Hi, Just a quick question - I'm changing the max_check_attempts from 1 to 3 for a specific plugin and I wondered, does this mean that an email notification won't go out until the 3rd attempt is reached ? (Which is what I want to achieve). Or will all 3 attempts generate an email notification. The docs say the following :- "max_check_attempts: This directive is used to define the number of times that Nagios will retry the service check command if it returns any state other than an OK state. Setting this value to 1 will cause Nagios to generate an alert without retrying the service check again. " Am I understanding this correctly ? Thanks, Deborah *************************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. Any unauthorised distribution or copying is strictly prohibited. Whilst Kognitio Limited takes steps to prevent the transmission of viruses via e-mail, we can not guarantee that any email or attachment is free from computer viruses and you are strongly advised to undertake your own anti-virus precautions. Kognitio grants no warranties regarding performance, use or quality of any e-mail or attachment and undertakes no liability for loss or damage, howsoever caused. Kognitio Limited, a company registered in England and Wales. Registered number 0212 7833. Registered Office: 3a Waterside Park, Cookham Road, Bracknell, Berks, RG12 1RB. VAT number 864 4378 92. Kognitio Inc, a company incorporated in Delaware, principal office 180 North Stetson, Suite 3500, Chicago, IL 60601, USA *************************************************************************** ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ssimmons at cymfony.com Mon Nov 24 13:35:44 2008 From: ssimmons at cymfony.com (Seth Simmons) Date: Mon, 24 Nov 2008 07:35:44 -0500 Subject: Alerts generated when max_check_attempts set to 3 In-Reply-To: <84836290D5AD43418C40DCF0C4A54ED32BBB49@kogex02.pmpl.co.uk> References: <84836290D5AD43418C40DCF0C4A54ED32BBB49@kogex02.pmpl.co.uk> Message-ID: <4881ECF1AB752843908A20CEE07A8EB1210B@buf-ex01.cymfony.com> Yes you are. If you have a host notification and set max_check_attempts to 1 and, let's say you also have check_interval to 60 (1 min) for a host then disconnect the cable, within the next minute Nagios check will fail and send immediate notification of host down because the check attempt was 1. If you say max_check_attempts is 3, and do the same thing, the host will show as down, but unless you reconnect within the next couple min before that 3rd check, Nagios won't send out a notification. Once it hits that 3rd check and is still in a down state, it will then send notification of host down. If by the 3rd check it has recovered, no notification is sent. HTH -----Original Message----- From: Deborah Martin [mailto:Deborah.Martin at Kognitio.com] Sent: Monday, November 24, 2008 6:08 AM To: 'nagios-users at lists.sourceforge.net' Subject: [Nagios-users] Alerts generated when max_check_attempts set to 3 Importance: High Hi, Just a quick question - I'm changing the max_check_attempts from 1 to 3 for a specific plugin and I wondered, does this mean that an email notification won't go out until the 3rd attempt is reached ? (Which is what I want to achieve). Or will all 3 attempts generate an email notification. The docs say the following :- "max_check_attempts: This directive is used to define the number of times that Nagios will retry the service check command if it returns any state other than an OK state. Setting this value to 1 will cause Nagios to generate an alert without retrying the service check again. " Am I understanding this correctly ? Thanks, Deborah ************************************************************************ *** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. Any unauthorised distribution or copying is strictly prohibited. Whilst Kognitio Limited takes steps to prevent the transmission of viruses via e-mail, we can not guarantee that any email or attachment is free from computer viruses and you are strongly advised to undertake your own anti-virus precautions. Kognitio grants no warranties regarding performance, use or quality of any e-mail or attachment and undertakes no liability for loss or damage, howsoever caused. Kognitio Limited, a company registered in England and Wales. Registered number 0212 7833. Registered Office: 3a Waterside Park, Cookham Road, Bracknell, Berks, RG12 1RB. VAT number 864 4378 92. Kognitio Inc, a company incorporated in Delaware, principal office 180 North Stetson, Suite 3500, Chicago, IL 60601, USA ************************************************************************ *** ------------------------------------------------------------------------ - 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Deborah.Martin at Kognitio.com Mon Nov 24 13:39:09 2008 From: Deborah.Martin at Kognitio.com (Deborah Martin) Date: Mon, 24 Nov 2008 12:39:09 -0000 Subject: Alerts generated when max_check_attempts set t o 3 Message-ID: <84836290D5AD43418C40DCF0C4A54ED32BBB50@kogex02.pmpl.co.uk> Thanks Seth - that's brilliant - just what I wanted! Regards, Deborah -----Original Message----- From: Seth Simmons [mailto:ssimmons at cymfony.com] Sent: 24 November 2008 12:36 To: Deborah Martin Cc: Nagios User list Subject: RE: [Nagios-users] Alerts generated when max_check_attempts set to 3 Yes you are. If you have a host notification and set max_check_attempts to 1 and, let's say you also have check_interval to 60 (1 min) for a host then disconnect the cable, within the next minute Nagios check will fail and send immediate notification of host down because the check attempt was 1. If you say max_check_attempts is 3, and do the same thing, the host will show as down, but unless you reconnect within the next couple min before that 3rd check, Nagios won't send out a notification. Once it hits that 3rd check and is still in a down state, it will then send notification of host down. If by the 3rd check it has recovered, no notification is sent. HTH -----Original Message----- From: Deborah Martin [mailto:Deborah.Martin at Kognitio.com] Sent: Monday, November 24, 2008 6:08 AM To: 'nagios-users at lists.sourceforge.net' Subject: [Nagios-users] Alerts generated when max_check_attempts set to 3 Importance: High Hi, Just a quick question - I'm changing the max_check_attempts from 1 to 3 for a specific plugin and I wondered, does this mean that an email notification won't go out until the 3rd attempt is reached ? (Which is what I want to achieve). Or will all 3 attempts generate an email notification. The docs say the following :- "max_check_attempts: This directive is used to define the number of times that Nagios will retry the service check command if it returns any state other than an OK state. Setting this value to 1 will cause Nagios to generate an alert without retrying the service check again. " Am I understanding this correctly ? Thanks, Deborah ************************************************************************ *** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. Any unauthorised distribution or copying is strictly prohibited. Whilst Kognitio Limited takes steps to prevent the transmission of viruses via e-mail, we can not guarantee that any email or attachment is free from computer viruses and you are strongly advised to undertake your own anti-virus precautions. Kognitio grants no warranties regarding performance, use or quality of any e-mail or attachment and undertakes no liability for loss or damage, howsoever caused. Kognitio Limited, a company registered in England and Wales. Registered number 0212 7833. Registered Office: 3a Waterside Park, Cookham Road, Bracknell, Berks, RG12 1RB. VAT number 864 4378 92. Kognitio Inc, a company incorporated in Delaware, principal office 180 North Stetson, Suite 3500, Chicago, IL 60601, USA ************************************************************************ *** ------------------------------------------------------------------------ - 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. Any unauthorised distribution or copying is strictly prohibited. Whilst Kognitio Limited takes steps to prevent the transmission of viruses via e-mail, we can not guarantee that any email or attachment is free from computer viruses and you are strongly advised to undertake your own anti-virus precautions. Kognitio grants no warranties regarding performance, use or quality of any e-mail or attachment and undertakes no liability for loss or damage, howsoever caused. Kognitio Limited, a company registered in England and Wales. Registered number 0212 7833. Registered Office: 3a Waterside Park, Cookham Road, Bracknell, Berks, RG12 1RB. VAT number 864 4378 92. Kognitio Inc, a company incorporated in Delaware, principal office 180 North Stetson, Suite 3500, Chicago, IL 60601, USA *************************************************************************** ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From fernando.rocha at opservices.com.br Mon Nov 24 14:56:41 2008 From: fernando.rocha at opservices.com.br (Fernando Rocha) Date: Mon, 24 Nov 2008 11:56:41 -0200 (BRST) Subject: Alerts generated when max_check_attempts set to 3 In-Reply-To: <214866.2851227534967018.JavaMail.root@mail.opservices.com.br> References: <214866.2851227534967018.JavaMail.root@mail.opservices.com.br> Message-ID: <25201783.2871227535001893.JavaMail.root@mail.opservices.com.br> Hi Deborah, As Seth said, you are right! The point is when the service changes its state type. It is also responsable for the send notifications. http://nagios.sourceforge.net/docs/3_0/statetypes.html []'s -- Fernando Rocha Analista de Suporte - Opera??o OpServices - Porto Alegre - RS - Brasil +55 51 3275.3588 www.opservices.com.br www.opmon.org ----- "Seth Simmons" wrote: > Yes you are. > > If you have a host notification and set max_check_attempts to 1 and, > let's say you also have check_interval to 60 (1 min) for a host then > disconnect the cable, within the next minute Nagios check will fail > and > send immediate notification of host down because the check attempt > was > 1. If you say max_check_attempts is 3, and do the same thing, the > host > will show as down, but unless you reconnect within the next couple > min > before that 3rd check, Nagios won't send out a notification. Once it > hits that 3rd check and is still in a down state, it will then send > notification of host down. If by the 3rd check it has recovered, no > notification is sent. > > HTH > > -----Original Message----- > From: Deborah Martin [mailto:Deborah.Martin at Kognitio.com] > Sent: Monday, November 24, 2008 6:08 AM > To: 'nagios-users at lists.sourceforge.net' > Subject: [Nagios-users] Alerts generated when max_check_attempts set > to > 3 > Importance: High > > Hi, > > Just a quick question - I'm changing the max_check_attempts from 1 to > 3 > for > a specific plugin and I wondered, does this mean that an email > notification > won't go out until the 3rd attempt is reached ? (Which is what I want > to > achieve). Or will all 3 attempts generate an email notification. > > The docs say the following :- > > "max_check_attempts: This directive is used to define the number of > times > that Nagios will retry the service check command if it returns any > state > other than an OK state. Setting this value to 1 will cause Nagios to > generate an alert without retrying the service check again. " > > Am I understanding this correctly ? > > Thanks, > Deborah > > > > ************************************************************************ > *** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are > addressed. > > Any unauthorised distribution or copying is strictly prohibited. > Whilst Kognitio Limited takes steps to prevent the transmission of > viruses via e-mail, we can not guarantee that any email or attachment > is > free from computer viruses and you are strongly advised to undertake > your own anti-virus precautions. > > Kognitio grants no warranties regarding performance, use or quality > of > any e-mail or attachment and undertakes no liability for loss or > damage, > howsoever caused. > > Kognitio Limited, a company registered in England and Wales. > Registered > number 0212 7833. Registered Office: 3a Waterside Park, Cookham > Road, > Bracknell, Berks, RG12 1RB. VAT number 864 4378 92. > > Kognitio Inc, a company incorporated in Delaware, principal office > 180 > North Stetson, Suite 3500, Chicago, IL 60601, USA > ************************************************************************ > *** > > ------------------------------------------------------------------------ > - > 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=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Deborah.Martin at Kognitio.com Mon Nov 24 16:58:19 2008 From: Deborah.Martin at Kognitio.com (Deborah Martin) Date: Mon, 24 Nov 2008 15:58:19 -0000 Subject: Service check timeouts Message-ID: <84836290D5AD43418C40DCF0C4A54ED32BBB53@kogex02.pmpl.co.uk> Hi, I have a service check plugin which basically runs a query against our database (It's not a database that has standard plugins already in existence e.g Oracle, Mysql, SQL Server etc etc ) which I've written. Based on it's success or failure, most errors come from the database so I can manipulate the error handling tell Nagios what it's exit status should be. However, every now and again I get an error 'Service Check Timed Out' and the exit status changes to CRITICAL automatically. But I'd rather it didn't Is there a way to manipulate this exit status - I'd rather it was set to UNKNOWN. As far as I understand it, this error is based on the plugin itself having a timeout which I've set to 120 seconds (nagios.cfg: service_check_timeout=120) The timeouts we set for the database vary between 15 and 90 seconds (depending on the each database requirement for this) Or is there a way of looking at the $SERVICEOUTPUT$ string returned by Nagios and grepping for 'Service Check Timed Out' and manipulating the exit code that way ? I'm using v2.0b4 but I know there is a way of using the macros as environment variables in later versions of Nagios. If I can't resolve it until I upgrade then that's fine. If anyone has any pointers on the way forward for this it would be really appreciated. thanks, deborah *************************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. Any unauthorised distribution or copying is strictly prohibited. Whilst Kognitio Limited takes steps to prevent the transmission of viruses via e-mail, we can not guarantee that any email or attachment is free from computer viruses and you are strongly advised to undertake your own anti-virus precautions. Kognitio grants no warranties regarding performance, use or quality of any e-mail or attachment and undertakes no liability for loss or damage, howsoever caused. Kognitio Limited, a company registered in England and Wales. Registered number 0212 7833. Registered Office: 3a Waterside Park, Cookham Road, Bracknell, Berks, RG12 1RB. VAT number 864 4378 92. Kognitio Inc, a company incorporated in Delaware, principal office 180 North Stetson, Suite 3500, Chicago, IL 60601, USA *************************************************************************** ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ghartl at gmail.com Mon Nov 24 17:09:33 2008 From: ghartl at gmail.com (Gary Hartl) Date: Mon, 24 Nov 2008 11:09:33 -0500 Subject: Perl version Message-ID: <000e01c94e4f$0aa46a60$1fed3f20$@com> Hi all; I am just wondering what version of perl is required on FreeBSD systems I am currently running 5.8.7 added from package list. I am getting internal server errors on the scripts premature end of headers errors and am wondering if it might be my perl version. Thanks . Gary ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jonathan.williams at us.g4s.com Mon Nov 24 17:51:16 2008 From: jonathan.williams at us.g4s.com (Jonathan Williams) Date: Mon, 24 Nov 2008 08:51:16 -0800 Subject: CheckEventLog Info In-Reply-To: <33521490.15891227331722374.JavaMail.root@mail.op5.se> References: <49279886.7050300@op5.com> <33521490.15891227331722374.JavaMail.root@mail.op5.se> Message-ID: That is exactly what I was looking for. Thank you. Jon -----Original Message----- From: Martin Kamijo [mailto:mk at op5.com] Sent: Friday, November 21, 2008 9:29 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] CheckEventLog Info Jonathan Williams wrote: > Looking for info on this feature. I am looking for Nagios to be able to > monitor the Windows System Log for specific event types and notify > accordingly when they appear. Does this require an additional plug in > or is this something that is already part of NSCLient++ v 3.1.14? > As far as I can see this is a part of the version you are using. If not just upgrade to the latest one. For usage take a look here in the NSClient++ documentation: http://www.nsclient.org/nscp/wiki/CheckEventLog/CheckEventLog -- Best Regards Martin Kamijo __________________________ op5 AB F?rsta L?nggatan 19 SE-413 27 G?teborg Mobil: +46 735-17 70 95 Support: +46 31-774 09 24 www.op5.com ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jonathan.williams at us.g4s.com Mon Nov 24 19:05:53 2008 From: jonathan.williams at us.g4s.com (Jonathan Williams) Date: Mon, 24 Nov 2008 10:05:53 -0800 Subject: CheckEventLog Info In-Reply-To: <33521490.15891227331722374.JavaMail.root@mail.op5.se> References: <49279886.7050300@op5.com> <33521490.15891227331722374.JavaMail.root@mail.op5.se> Message-ID: That is a great resource. Thanks. One question I have is on defining the $ARG1$ etc. For example: Check for errors by eventid in the last 2 hours. $ARG1$ = file to check ie. Application, Security, System $ARG2$ = Max Warn amount $ARG3$ = Max Critical amount $ARG4$ = eventID Number Than: ./check_nrpe -H $HOSTNAME$ -c CheckEventLog -a filter=new file="$ARG1$" MaxWarn=$ARG2$ MaxCrit=$ARG3$ filter-generated=\<2h filter-eventID==$ARG4$ filter-eventType==error filter=in filter=all My question is where are these ARG's defined. Where does NRPE know to lok to determince that ARG4= EventID. Is there a config for that? I looked through the different cfg. Files and didn't see that. Jon -----Original Message----- From: Martin Kamijo [mailto:mk at op5.com] Sent: Friday, November 21, 2008 9:29 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] CheckEventLog Info Jonathan Williams wrote: > Looking for info on this feature. I am looking for Nagios to be able to > monitor the Windows System Log for specific event types and notify > accordingly when they appear. Does this require an additional plug in > or is this something that is already part of NSCLient++ v 3.1.14? > As far as I can see this is a part of the version you are using. If not just upgrade to the latest one. For usage take a look here in the NSClient++ documentation: http://www.nsclient.org/nscp/wiki/CheckEventLog/CheckEventLog -- Best Regards Martin Kamijo __________________________ op5 AB F?rsta L?nggatan 19 SE-413 27 G?teborg Mobil: +46 735-17 70 95 Support: +46 31-774 09 24 www.op5.com ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From israel at frontierflying.com Mon Nov 24 19:42:03 2008 From: israel at frontierflying.com (Israel Brewster) Date: Mon, 24 Nov 2008 09:42:03 -0900 Subject: check for crash? In-Reply-To: <17124725.19471227294420166.JavaMail.root@mail.opservices.com.br> References: <17124725.19471227294420166.JavaMail.root@mail.opservices.com.br> Message-ID: On Nov 21, 2008, at 10:07 AM, Fernando Rocha wrote: > Hi Israel, > > I think that by the check_process is hard to identify this issue, > because as you said the process still running and just stop to work. > > How do you know when it crashes? > Is there some log occurrences? > Does it gives some errors on the web page? The applet in question is a status display screen. I know it has crashed because a) the data displayed is out of date, and b) it doesn't respond to user input. Since it is a passive monitoring system, there is no log written. No error is displayed, it just stops updating properly. I guess what I was hoping for was that there might be some indication I could get from the process list or the like that I simply didn't know to look for, rather than an application-specific check. Something along the lines of how you can check for a "zombie" process by looking at the output of a ps. From the responses I have gotten so far, however, this wouldn't appear to be the case. Thanks anyway! ----------------------------------------------- Israel Brewster Computer Support Technician Frontier Flying Service Inc. 5245 Airport Industrial Rd Fairbanks, AK 99709 (907) 450-7250 x293 ----------------------------------------------- > > > -- > Fernando Rocha > Analista de Suporte - Opera??o > OpServices - Porto Alegre - RS - Brasil > +55 51 3275.3588 > www.opservices.com.br > www.opmon.org > > ----- "Israel Brewster" wrote: > >> I'm wondering if anyone can give me suggestions as to how to >> monitor a >> >> specific process to make sure it keeps running properly. The specific >> >> issue I have is that I have a Java Webstart applet running on OpenBSD >> >> 4.4 that, from time to time, randomly crashes. I can't just use >> check_process (I don't think so, at least) because when it "crashes" >> >> the process never actually exits- it just stops working. I have to go >> >> in and manually kill it before I can restart it. Does anyone have any >> >> thoughts as to how I could check for this situation? I realize this >> may not strictly be a nagios question, and I apologize to anyone who >> >> is bothered by that, but since I would be doing the monitoring with >> Nagios this seemed the most logical place I could think of to ask. >> Thanks! >> >> ----------------------------------------------- >> Israel Brewster >> Computer Support Technician >> Frontier Flying Service Inc. >> 5245 Airport Industrial Rd >> Fairbanks, AK 99709 >> (907) 450-7250 x293 >> ----------------------------------------------- >> >> >> >> ------------------------------------------------------------------------- >> 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=100&url=/ >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From mgargiullo at pivotpointsecurity.com Mon Nov 24 20:07:03 2008 From: mgargiullo at pivotpointsecurity.com (Michael Gargiullo) Date: Mon, 24 Nov 2008 14:07:03 -0500 Subject: check for crash? In-Reply-To: References: <17124725.19471227294420166.JavaMail.root@mail.opservices.com.br> Message-ID: -----Original Message----- From: Israel Brewster [mailto:israel at frontierflying.com] Sent: Monday, November 24, 2008 1:42 PM To: Fernando Rocha Cc: Nagios Mailinglist Subject: Re: [Nagios-users] check for crash? On Nov 21, 2008, at 10:07 AM, Fernando Rocha wrote: > Hi Israel, > > I think that by the check_process is hard to identify this issue, > because as you said the process still running and just stop to work. > > How do you know when it crashes? > Is there some log occurrences? > Does it gives some errors on the web page? The applet in question is a status display screen. I know it has crashed because a) the data displayed is out of date, and b) it doesn't respond to user input. Since it is a passive monitoring system, there is no log written. No error is displayed, it just stops updating properly. I guess what I was hoping for was that there might be some indication I could get from the process list or the like that I simply didn't know to look for, rather than an application-specific check. Something along the lines of how you can check for a "zombie" process by looking at the output of a ps. From the responses I have gotten so far, however, this wouldn't appear to be the case. Thanks anyway! ----------------------------------------------- Israel Brewster Computer Support Technician Frontier Flying Service Inc. 5245 Airport Industrial Rd Fairbanks, AK 99709 (907) 450-7250 x293 ----------------------------------------------- Is the applet the only interface to the system? Can you get the status from the command line of the machine or only via a web based applet? -Mike ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From mgargiullo at pivotpointsecurity.com Mon Nov 24 20:12:06 2008 From: mgargiullo at pivotpointsecurity.com (Michael Gargiullo) Date: Mon, 24 Nov 2008 14:12:06 -0500 Subject: check for crash? In-Reply-To: References: <17124725.19471227294420166.JavaMail.root@mail.opservices.com.br> Message-ID: -----Original Message----- From: Israel Brewster [mailto:israel at frontierflying.com] Sent: Monday, November 24, 2008 1:42 PM To: Fernando Rocha Cc: Nagios Mailinglist Subject: Re: [Nagios-users] check for crash? On Nov 21, 2008, at 10:07 AM, Fernando Rocha wrote: > Hi Israel, > > I think that by the check_process is hard to identify this issue, > because as you said the process still running and just stop to work. > > How do you know when it crashes? > Is there some log occurrences? > Does it gives some errors on the web page? The applet in question is a status display screen. I know it has crashed because a) the data displayed is out of date, and b) it doesn't respond to user input. Since it is a passive monitoring system, there is no log written. No error is displayed, it just stops updating properly. I guess what I was hoping for was that there might be some indication I could get from the process list or the like that I simply didn't know to look for, rather than an application-specific check. Something along the lines of how you can check for a "zombie" process by looking at the output of a ps. From the responses I have gotten so far, however, this wouldn't appear to be the case. Thanks anyway! ----------------------------------------------- Israel Brewster Computer Support Technician Frontier Flying Service Inc. 5245 Airport Industrial Rd Fairbanks, AK 99709 (907) 450-7250 x293 ----------------------------------------------- Additional thoughts... Is this a Web Start applet that you wrote? Does it incorporate an offline mode interface? Do you have the sources? Does it log anywhere? ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Mon Nov 24 21:48:12 2008 From: marc at ena.com (Marc Powell) Date: Mon, 24 Nov 2008 14:48:12 -0600 Subject: Service check timeouts In-Reply-To: <84836290D5AD43418C40DCF0C4A54ED32BBB53@kogex02.pmpl.co.uk> References: <84836290D5AD43418C40DCF0C4A54ED32BBB53@kogex02.pmpl.co.uk> Message-ID: On Nov 24, 2008, at 9:58 AM, Deborah Martin wrote: > However, every now and again I get an error 'Service Check Timed > Out' and > the exit status changes to CRITICAL automatically. But I'd rather it > didn't > Is there a way to manipulate this exit status - I'd rather it was > set to > UNKNOWN. The only standard thing that would manipulate a plugin's exit status is the negate plugin but it doesn't look at the text of the response. Outside of enhancing nagios, none that I can think of. > As far as I understand it, this error is based on the plugin itself > having a > timeout which I've set to 120 seconds (nagios.cfg: > service_check_timeout=120) > The timeouts we set for the database vary between 15 and 90 seconds > (depending on the each database requirement for this) I'm not sure what you're trying to explain here. If your database checks can run at most 90 seconds, why is your database check plugin still running at 120 seconds? It sounds like that timeout isn't effective. Why don't you add an alarm/timeout to your plugin so that it will exit with your desired exit code before nagios kills it? Seems the easiest route to me. > Or is there a way of looking at the $SERVICEOUTPUT$ string returned by > Nagios and grepping for 'Service Check Timed Out' and manipulating the > exit code that way ? You'd have to add code to nagios; at the place where nagios is setting the plugin output to be 'Service Check Timed Out' would be a logical place. Nagios doesn't really care what the text output is so there is little in place to act on it, let alone change anything related to it. -- Marc ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Mon Nov 24 21:50:33 2008 From: marc at ena.com (Marc Powell) Date: Mon, 24 Nov 2008 14:50:33 -0600 Subject: Perl version In-Reply-To: <000e01c94e4f$0aa46a60$1fed3f20$@com> References: <000e01c94e4f$0aa46a60$1fed3f20$@com> Message-ID: <23E7AAD3-2251-4015-86A4-279D17CFE67A@ena.com> On Nov 24, 2008, at 10:09 AM, Gary Hartl wrote: > Hi all; > > I am just wondering what version of perl is required on FreeBSD > systems I am > currently running 5.8.7 added from package list. Any recent version of perl will do. The plugins are pretty straightforward. > I am getting internal server errors on the scripts premature end of > headers > errors and am wondering if it might be my perl version. Internal server errors from what? If you're talking about the nagios web GUI, it's not written in perl so perl version doesn't matter. -- Marc ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ghartl at gmail.com Mon Nov 24 22:12:30 2008 From: ghartl at gmail.com (Gary Hartl) Date: Mon, 24 Nov 2008 16:12:30 -0500 Subject: Perl version In-Reply-To: <23E7AAD3-2251-4015-86A4-279D17CFE67A@ena.com> References: <000e01c94e4f$0aa46a60$1fed3f20$@com> <23E7AAD3-2251-4015-86A4-279D17CFE67A@ena.com> Message-ID: <000501c94e79$5d5460b0$17fd2210$@com> -----Original Message----- From: Marc Powell [mailto:marc at ena.com] Sent: November-24-08 3:51 PM To: Nagios-Users Subject: Re: [Nagios-users] Perl version On Nov 24, 2008, at 10:09 AM, Gary Hartl wrote: > Hi all; > > I am just wondering what version of perl is required on FreeBSD > systems I am > currently running 5.8.7 added from package list. Any recent version of perl will do. The plugins are pretty straightforward. > I am getting internal server errors on the scripts premature end of > headers > errors and am wondering if it might be my perl version. Internal server errors from what? If you're talking about the nagios web GUI, it's not written in perl so perl version doesn't matter. Ok...well.... i'm getting internal server errors from the cgi's premature end of headers, are they C? I get the main menu down the side and the docs and main page load ok, but outside of that it is all botched. All the cgi's produce the same error. Thanks Gary -- Marc ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ghartl at gmail.com Mon Nov 24 23:52:53 2008 From: ghartl at gmail.com (Gary Hartl) Date: Mon, 24 Nov 2008 17:52:53 -0500 Subject: Perl version In-Reply-To: <23E7AAD3-2251-4015-86A4-279D17CFE67A@ena.com> References: <000e01c94e4f$0aa46a60$1fed3f20$@com> <23E7AAD3-2251-4015-86A4-279D17CFE67A@ena.com> Message-ID: <001001c94e87$635cfe00$2a16fa00$@com> Ok so I think i figured out what the problem is and i must attribute it to my massive level of mental retardedness. The nagios service wasn't running LOLZ....too funny. Well with that in mind I figure I should start the service. I've installed this via the freebsd package so I run ./nagios from /usr/local/etc/rc.d and get the following /--snip--/ netra1# ./nagios start Performing sanity check of nagios configuration: /usr/local/bin/nagios: 1: Syntax error: "(" unexpected FAILED /usr/local/bin/nagios: 1: Syntax error: "(" unexpected /-- end snip --/ Ummm..... Gary -----Original Message----- From: Marc Powell [mailto:marc at ena.com] Sent: November-24-08 3:51 PM To: Nagios-Users Subject: Re: [Nagios-users] Perl version On Nov 24, 2008, at 10:09 AM, Gary Hartl wrote: > Hi all; > > I am just wondering what version of perl is required on FreeBSD > systems I am > currently running 5.8.7 added from package list. Any recent version of perl will do. The plugins are pretty straightforward. > I am getting internal server errors on the scripts premature end of > headers > errors and am wondering if it might be my perl version. Internal server errors from what? If you're talking about the nagios web GUI, it's not written in perl so perl version doesn't matter. -- Marc ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From mattias.ryrlen at op5.com Tue Nov 25 08:09:09 2008 From: mattias.ryrlen at op5.com (Mattias =?ISO-8859-1?Q?Ryrl=E9n?=) Date: Tue, 25 Nov 2008 08:09:09 +0100 Subject: CheckEventLog Info In-Reply-To: References: <49279886.7050300@op5.com> <33521490.15891227331722374.JavaMail.root@mail.op5.se> Message-ID: <1227596949.24177.16.camel@mr-laptop> Hi Jonathan, On Mon, 2008-11-24 at 10:05 -0800, Jonathan Williams wrote: > That is a great resource. Thanks. One question I have is on defining the $ARG1$ etc. > > For example: > > Check for errors by eventid in the last 2 hours. > $ARG1$ = file to check ie. Application, Security, System > $ARG2$ = Max Warn amount > $ARG3$ = Max Critical amount > $ARG4$ = eventID Number > > Than: ./check_nrpe -H $HOSTNAME$ -c CheckEventLog -a filter=new file="$ARG1$" MaxWarn=$ARG2$ MaxCrit=$ARG3$ filter-generated=\<2h filter-eventID==$ARG4$ filter-eventType==error filter=in filter=all > > My question is where are these ARG's defined. Where does NRPE know to lok to determince that ARG4= EventID. Is there a config for that? I looked through the different cfg. Files and didn't see that. > You have to define a checkcommand to use for this check, eg check_eventid $USER1$/check_nrpe -H $HOSTADDRESS$ ......... then you do a service that uses check_eventid with paramenters defince service { host .... check_eventid !!! ... } -- V?nliga h?lsningar / Best Regards Mattias Ryrl?n __________________________ op5 AB F?rsta L?nggatan 19 SE-413 27 G?teborg Mobil: +46 735-17 70 99 Support: +46 31-774 09 24 www.op5.com ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From MachielR at agilitytech.co.za Tue Nov 25 10:12:20 2008 From: MachielR at agilitytech.co.za (Machiel Richards) Date: Tue, 25 Nov 2008 11:12:20 +0200 Subject: FW: Warning examples Message-ID: <83437EDC1BA9984683B498F1BF2ED27506E4C73276@CTMAIN.caretech.co.za> Hi everyone We are trying to find something we can use in order to monitor these Windows type event log for specific event codes and then to report warnings on the codes. Can anyone tell me if there is something available for Nagios that can do this? We are currently using Nagios as our monitoring system and would like to keep everything on there. Here are an example of the evn logs I am reffering to. [cid:image001.png at 01C94EED.B6A28650] [cid:image002.png at 01C94EED.B6A28650] *** Disclaimer *** The information contained in this e-mail is confidential and legally privileged and is intended solely for the addressee and to others who have the authority to receive it. Access to this e-mail by anyone else is unauthorized and as such, any disclosure, copying, distribution or any action taken or omitted in reliance on it is unlawful. If you have received this e-mail in error, please notify the sender immediately. The views expressed in this e-mail are the views of the individual sender and should in no way be construed as the views of the Company. The Company is not liable to ensure that outgoing e-mails are virus-free. The Company is not liable, should information or data, for whatever reason, be corrupted or fail to reach its intended addressee. The Company is not liable for any loss or damage of whatsoever nature and howsoever arising resulting from the opening or the use of the information in this e-mail, including its attachments and links. The sender of this e-mail is subject to and bound by the terms and conditions of Company?s Electronic Communications Usage Policy. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 11752 bytes Desc: image001.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.png Type: image/png Size: 81538 bytes Desc: image002.png URL: -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From s.felici at alpikom.it Tue Nov 25 10:04:18 2008 From: s.felici at alpikom.it (Simone Felici) Date: Tue, 25 Nov 2008 10:04:18 +0100 Subject: Question about host checks Message-ID: <492BBF92.7070300@alpikom.it> Hi to all! I'm using nagios for a long time and this is the first time I ask a question... it means until today all is gone perfectly, great product! A week ago I've installed 'ndoutils-1.4b7' to log into a MySQL server. After some days I've seen the table 'nagios_hostchecks' is groving up very fast, its 3 times bigger than 'nagios_servicechecks' even if I've 688 hosts and 1346 services, also more services than hosts. Analyzing the content of the 'nagios_hostchecks' table, I've seen It seems Nagios is checking the host status VERY OFTEN. Also checking the nagios Queue and the "Last Check Time" of my hosts, the date/time is updating every few seconds. Should not nagios check the host state only on demand when needed? It happens on all my hosts. I paste an example of one host configuration: host... define host { host_name alias Windows 2000 Server address use host_alarm_A parents contact_groups noc-group,tech24h-group } ...template... define host { name host_alarm_A process_perf_data 0 retain_status_information 1 flap_detection_enabled 0 retain_nonstatus_information 1 active_checks_enabled 1 passive_checks_enabled 0 check_period 24hx7 obsess_over_host 0 check_freshness 0 check_command check-host-alive max_check_attempts 2 event_handler_enabled 0 notifications_enabled 1 notification_interval 3600 notification_period 24hx7 notification_options d,u,r register 0 } ...check define command { command_name check-host-alive command_line /usr/local/nagios/libexec/check_ping -H $HOSTADDRESS$ -w 3000.0,80% -c 5000.0,100% -p 1 } Any suggestion? Thank's! Simon -- Simone Felici E-Mail: s.felici at alpikom.it Divisione Tecnica Tel: 0461 030 111 Alpikom S.p.A. Fax: 0461 030 112 v.Fersina, 23 - 38100 Trento URL: http://www.alpikom.it ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From fernando.rocha at opservices.com.br Tue Nov 25 11:38:31 2008 From: fernando.rocha at opservices.com.br (Fernando Rocha) Date: Tue, 25 Nov 2008 08:38:31 -0200 (BRST) Subject: FW: Warning examples In-Reply-To: <33259877.15011227609461712.JavaMail.root@mail.opservices.com.br> References: <33259877.15011227609461712.JavaMail.root@mail.opservices.com.br> Message-ID: <6676511.15031227609511336.JavaMail.root@mail.opservices.com.br> Hi Machiel, You can use the Snare EventLog Agent for windows to send the events to the nagios server and then handle like a simple local log. http://www.intersectalliance.com/projects/SnareWindows/ -- Fernando Rocha Analista de Suporte - Opera??o OpServices - Porto Alegre - RS - Brasil +55 51 3275.3588 www.opservices.com.br www.opmon.org ----- "Machiel Richards" wrote: > > Hi everyone We are trying to find something we can use in order to monitor these Windows type event log for specific event codes and then to report warnings on the codes. Can anyone tell me if there is something available for Nagios that can do this? We are currently using Nagios as our monitoring system and would like to keep everything on there. Here are an example of the evn logs I am reffering to. *** Disclaimer *** The information contained in this e-mail is confidential and legally privileged and is intended solely for the addressee and to others who have the authority to receive it. Access to this e-mail by anyone else is unauthorized and as such, any disclosure, copying, distribution or any action taken or omitted in reliance on it is unlawful. If you have received this e-mail in error, please notify the sender immediately. The views expressed in this e-mail are the views of the individual sender and should in no way be construed as the views of the Company. The Company is not liable to ensure that outgoing e-mails are virus-free. The Company is not liable, should information or data, for whatever reason, be corrupted or fail to reach its intended addressee. The Company is not liable for any loss or damage of whatsoever nature and howsoever arising resulting from the opening or the use of the information in this e-mail, including its attachments and links. The sender of this e-mail is subject to and bound by the terms and conditions of Company?s Electronic Communications Usage Policy. > ------------------------------------------------------------------------- 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=100&url=/ > _______________________________________________ Nagios-users mailing list Nagios-users at 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From mattias.ryrlen at op5.com Tue Nov 25 11:57:21 2008 From: mattias.ryrlen at op5.com (Mattias =?ISO-8859-1?Q?Ryrl=E9n?=) Date: Tue, 25 Nov 2008 11:57:21 +0100 Subject: FW: Warning examples In-Reply-To: <83437EDC1BA9984683B498F1BF2ED27506E4C73276@CTMAIN.caretech.co.za> References: <83437EDC1BA9984683B498F1BF2ED27506E4C73276@CTMAIN.caretech.co.za> Message-ID: <1227610641.24177.20.camel@mr-laptop> Hi Machiel, Take a look on post http://article.gmane.org/gmane.network.nagios.user/58223 you can use NSClient++ to do this. On Tue, 2008-11-25 at 11:12 +0200, Machiel Richards wrote: > Hi everyone > > > > We are trying to find something we can use in order to > monitor these Windows type event log for specific event codes and > then to report warnings on the codes. > > > > Can anyone tell me if there is something available for > Nagios that can do this? > > > > We are currently using Nagios as our monitoring system > and would like to keep everything on there. > > > > Here are an example of the evn logs I am reffering to. > > > > > > > > > > > > > > > > > *** Disclaimer *** > > The information contained in this e-mail is confidential and legally > privileged and is intended solely for the addressee and to others who > have the authority to receive it. Access to this e-mail by anyone else > is unauthorized and as such, any disclosure, copying, distribution or > any action taken or omitted in reliance on it is unlawful. If you have > received this e-mail in error, please notify the sender immediately. > > The views expressed in this e-mail are the views of the individual > sender and should in no way be construed as the views of the Company. > > The Company is not liable to ensure that outgoing e-mails are > virus-free. > > The Company is not liable, should information or data, for whatever > reason, be corrupted or fail to reach its intended addressee. > > The Company is not liable for any loss or damage of whatsoever nature > and howsoever arising resulting from the opening or the use of the > information in this e-mail, including its attachments and links. > > The sender of this e-mail is subject to and bound by the terms and > conditions of Company?s Electronic Communications Usage Policy. > > ------------------------------------------------------------------------- > 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=100&url=/ > _______________________________________________ Nagios-users mailing list Nagios-users at 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 -- V?nliga h?lsningar / Best Regards Mattias Ryrl?n __________________________ op5 AB F?rsta L?nggatan 19 SE-413 27 G?teborg Mobil: +46 735-17 70 99 Support: +46 31-774 09 24 www.op5.com ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From MachielR at agilitytech.co.za Tue Nov 25 12:17:40 2008 From: MachielR at agilitytech.co.za (Machiel Richards) Date: Tue, 25 Nov 2008 13:17:40 +0200 Subject: FW: Warning examples In-Reply-To: <1227610641.24177.20.camel@mr-laptop> References: <83437EDC1BA9984683B498F1BF2ED27506E4C73276@CTMAIN.caretech.co.za> <1227610641.24177.20.camel@mr-laptop> Message-ID: <83437EDC1BA9984683B498F1BF2ED27506E4C7335C@CTMAIN.caretech.co.za> Hi all Thank you very much I only saw 5 minutes after I sent the mail that there is a similar post by someone else. We are using the nsclient for other checks at the moment so will just configure appropriately in order to handle the event logs as well. regards -----Original Message----- From: Mattias Ryrl?n [mailto:mattias.ryrlen at op5.com] Sent: 25 November 2008 12:57 PM To: Machiel Richards Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] FW: Warning examples Hi Machiel, Take a look on post http://article.gmane.org/gmane.network.nagios.user/58223 you can use NSClient++ to do this. On Tue, 2008-11-25 at 11:12 +0200, Machiel Richards wrote: > Hi everyone > > > > We are trying to find something we can use in order to > monitor these Windows type event log for specific event codes and > then to report warnings on the codes. > > > > Can anyone tell me if there is something available for > Nagios that can do this? > > > > We are currently using Nagios as our monitoring system > and would like to keep everything on there. > > > > Here are an example of the evn logs I am reffering to. > > > > > > > > > > > > > > > > > *** Disclaimer *** > > The information contained in this e-mail is confidential and legally > privileged and is intended solely for the addressee and to others who > have the authority to receive it. Access to this e-mail by anyone else > is unauthorized and as such, any disclosure, copying, distribution or > any action taken or omitted in reliance on it is unlawful. If you have > received this e-mail in error, please notify the sender immediately. > > The views expressed in this e-mail are the views of the individual > sender and should in no way be construed as the views of the Company. > > The Company is not liable to ensure that outgoing e-mails are > virus-free. > > The Company is not liable, should information or data, for whatever > reason, be corrupted or fail to reach its intended addressee. > > The Company is not liable for any loss or damage of whatsoever nature > and howsoever arising resulting from the opening or the use of the > information in this e-mail, including its attachments and links. > > The sender of this e-mail is subject to and bound by the terms and > conditions of Company?s Electronic Communications Usage Policy. > > ------------------------------------------------------------------------- > 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=100&url=/ > _______________________________________________ Nagios-users mailing list Nagios-users at 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 -- V?nliga h?lsningar / Best Regards Mattias Ryrl?n __________________________ op5 AB F?rsta L?nggatan 19 SE-413 27 G?teborg Mobil: +46 735-17 70 99 Support: +46 31-774 09 24 www.op5.com ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Tue Nov 25 15:30:36 2008 From: marc at ena.com (Marc Powell) Date: Tue, 25 Nov 2008 08:30:36 -0600 Subject: Perl version In-Reply-To: <001001c94e87$635cfe00$2a16fa00$@com> References: <000e01c94e4f$0aa46a60$1fed3f20$@com> <23E7AAD3-2251-4015-86A4-279D17CFE67A@ena.com> <001001c94e87$635cfe00$2a16fa00$@com> Message-ID: On Nov 24, 2008, at 4:52 PM, Gary Hartl wrote: > > netra1# ./nagios start > Performing sanity check of nagios configuration: /usr/local/bin/ > nagios: 1: > Syntax error: "(" unexpected > FAILED > /usr/local/bin/nagios: 1: Syntax error: "(" unexpected > > /-- end snip --/ Maybe you should give more (detailed) information about nagios version, how you installed it, etc... /usr/local/bin/nagios should be a binary file, not a script. The error above shouldn't be possible unless something is very non-standard. -- Marc ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marcismael at gmail.com Tue Nov 25 15:54:57 2008 From: marcismael at gmail.com (Marc Ismael) Date: Tue, 25 Nov 2008 22:54:57 +0800 Subject: nagios read nagios.cmd (Resource temporarily unavailable) In-Reply-To: <48603ddb0811211112q6bf07a42t48d3e2a861e1bbbf@mail.gmail.com> References: <48603ddb0811211112q6bf07a42t48d3e2a861e1bbbf@mail.gmail.com> Message-ID: <48603ddb0811250654l2f887275u971eca41816c648f@mail.gmail.com> Hi, I have decreased the number of incoming passive checks every 5 mins to 3206, but im still seeing the "Resource Temporarily Unavailable" messages. Not all the results are being processed still. Any ides? TIA, Marc 2008/11/22 Marc Ismael > Hello Mailing list, > > This issue has been bothering me for quite some time, I'm getting a high > number of stale passive check alerts. It seems like some passive checks are > not being processed. I currently have 6596 incoming passive checks every 5 > minutes. The rest of the relevant configuration are as follows: > > define service{ > name template_passive > active_checks_enabled 0 > passive_checks_enabled 1 > parallelize_check 0 > obsess_over_service 0 > check_freshness 1 > freshness_threshold 600 > check_command check_stale_passive > notifications_enabled 1 > event_handler_enabled 0 > flap_detection_enabled 1 > failure_prediction_enabled 0 > process_perf_data 0 > retain_status_information 1 > retain_nonstatus_information 1 > is_volatile 0 > check_period 24x7 > max_check_attempts 1 > normal_check_interval 1 > retry_check_interval 1 > contact_groups admin > notification_options c > notification_interval 0 > notification_period 24x7 > register 0 > } > > # nagios.cfg > max_check_result_reaper_time=15 > check_result_reaper_frequency=5 > service_freshness_check_interval=780 > host_freshness_check_interval=90 > status_update_interval=20 > check_external_commands=1 > command_check_interval=-1 > external_command_buffer_slots=8192 > event_broker_options=-1 > use_syslog=0 > log_notifications=1 > log_service_retries=1 > log_host_retries=1 > log_event_handlers=1 > log_initial_states=0 > log_external_commands=1 > log_passive_checks=1 > max_service_check_spread=30 > max_host_check_spread=30 > max_concurrent_checks=0 > max_check_result_file_age=3600 > cached_host_check_horizon=15 > cached_service_check_horizon=15 > enable_predictive_host_dependency_checks=1 > enable_predictive_service_dependency_checks=1 > soft_state_dependencies=0 > auto_reschedule_checks=0 > auto_rescheduling_interval=30 > auto_rescheduling_window=180 > sleep_time=0.125 > service_check_timeout=60 > host_check_timeout=30 > event_handler_timeout=30 > notification_timeout=30 > ocsp_timeout=5 > perfdata_timeout=5 > retain_state_information=1 > retention_update_interval=60 > use_retained_program_state=0 > use_retained_scheduling_info=1 > retained_host_attribute_mask=0 > retained_service_attribute_mask=0 > retained_process_host_attribute_mask=0 > retained_process_service_attribute_mask=0 > retained_contact_host_attribute_mask=0 > retained_contact_service_attribute_mask=0 > interval_length=60 > use_aggressive_host_checking=0 > execute_service_checks=1 > accept_passive_service_checks=1 > execute_host_checks=1 > accept_passive_host_checks=1 > enable_notifications=1 > enable_event_handlers=1 > process_performance_data=0 > obsess_over_services=0 > obsess_over_hosts=0 > translate_passive_host_checks=0 > passive_host_checks_are_soft=0 > check_for_orphaned_services=1 > check_for_orphaned_hosts=1 > check_service_freshness=1 > check_host_freshness=1 > additional_freshness_latency=15 > enable_flap_detection=1 > low_service_flap_threshold=5.0 > high_service_flap_threshold=20.0 > low_host_flap_threshold=5.0 > high_host_flap_threshold=20.0 > p1_file=/usr/local/nagios/sbin/p1.pl > enable_embedded_perl=1 > use_embedded_perl_implicitly=1 > use_regexp_matching=1 > use_true_regexp_matching=0 > daemon_dumps_core=0 > use_large_installation_tweaks=1 > enable_environment_macros=0 > free_child_process_memory=0 > child_processes_fork_twice=0 > debug_level=0 > debug_verbosity=1 > max_debug_file_size=1000000 > > > My current situation: nagios miss/fails to process approximately an average > of 600 out of 6596 passive check results every 5 mins. > > I admint I don't know nagios that well, I started installing/using nagios > only recently, and I don't know where/how to start troubleshooting this. I > did install mrtg and did a good amount of trial and error with the config, > especially max_check_result_reaper_time and check_result_reaper_frequency, > but increasing or decreasing the values of these variables only worsens the > current situation. > > However, this pstree output looks like a qualified starting point: > > > [root at foobar nagios]# pstree -cpG | grep nagios > ??nagios(7943)???{nagios}(7944) > > [root at foobar tmp]# strace -s50 -p 7944 > Process 7944 attached - interrupt to quit > poll([{fd=4, events=POLLIN}], 1, 500) = 0 > poll([{fd=4, events=POLLIN}], 1, 500) = 0 > poll([{fd=4, events=POLLIN}], 1, 500) = 0 > poll([{fd=4, events=POLLIN}], 1, 500) = 0 > poll([{fd=4, events=POLLIN}], 1, 500) = 0 > poll([{fd=4, events=POLLIN}], 1, 500) = 0 > poll([{fd=4, events=POLLIN}], 1, 500) = 0 > poll([{fd=4, events=POLLIN}], 1, 500) = 0 > poll([{fd=4, events=POLLIN}], 1, 500) = 0 > poll([{fd=4, events=POLLIN}], 1, 500) = 0 > poll([{fd=4, events=POLLIN}], 1, 500) = 0 > poll([{fd=4, events=POLLIN, revents=POLLIN}], 1, 500) = 1 > read(4, "[1227291780] PROCESS_SERVICE_CHECK_RESULT;foopet"..., 4096) = 94 > read(4, 0x2aaaaaaad000, 4096) = -1 EAGAIN (Resource temporarily > unavailable) > poll([{fd=4, events=POLLIN, revents=POLLIN}], 1, 500) = 1 > read(4, "[1227291780] PROCESS_SERVICE_CHECK_RESULT;foopet"..., 4096) = 92 > read(4, 0x2aaaaaaad000, 4096) = -1 EAGAIN (Resource temporarily > unavailable) > poll([{fd=4, events=POLLIN, revents=POLLIN}], 1, 500) = 1 > read(4, "[1227291781] PROCESS_SERVICE_CHECK_RESULT;fooaptm"..., 4096) = 94 > read(4, 0x2aaaaaaad000, 4096) = -1 EAGAIN (Resource temporarily > unavailable) > poll([{fd=4, events=POLLIN, revents=POLLIN}], 1, 500) = 1 > read(4, "[1227291781] PROCESS_SERVICE_CHECK_RESULT;fooaptm"..., 4096) = 92 > read(4, 0x2aaaaaaad000, 4096) = -1 EAGAIN (Resource temporarily > unavailable) > poll([{fd=4, events=POLLIN, revents=POLLIN}], 1, 500) = 1 > read(4, "[1227291781] PROCESS_SERVICE_CHECK_RESULT;fooapet"..., 4096) = 93 > read(4, 0x2aaaaaaad000, 4096) = -1 EAGAIN (Resource temporarily > unavailable) > poll([{fd=4, events=POLLIN, revents=POLLIN}], 1, 500) = 1 > read(4, "[1227291781] PROCESS_SERVICE_CHECK_RESULT;fooapet"..., 4096) = 94 > read(4, 0x2aaaaaaad000, 4096) = -1 EAGAIN (Resource temporarily > unavailable) > poll([{fd=4, events=POLLIN, revents=POLLIN}], 1, 500) = 1 > read(4, "[1227291781] PROCESS_SERVICE_CHECK_RESULT;foopet"..., 4096) = 92 > read(4, 0x2aaaaaaad000, 4096) = -1 EAGAIN (Resource temporarily > unavailable) > poll([{fd=4, events=POLLIN, revents=POLLIN}], 1, 500) = 1 > read(4, "[1227291781] PROCESS_SERVICE_CHECK_RESULT;fooapet"..., 4096) = 94 > read(4, 0x2aaaaaaad000, 4096) = -1 EAGAIN (Resource temporarily > unavailable) > poll([{fd=4, events=POLLIN, revents=POLLIN}], 1, 500) = 1 > > [root at foobar tmp]# ls -l /proc/7944/fd > total 0 > lr-x------ 1 root root 64 Nov 21 13:14 0 -> /dev/null > l-wx------ 1 root root 64 Nov 21 13:14 1 -> /dev/null > l-wx------ 1 root root 64 Nov 21 13:14 2 -> /dev/null > lrwx------ 1 root root 64 Nov 21 13:14 3 -> /var/run/nagios.pid > lrwx------ 1 root root 64 Nov 21 13:14 4 -> /var/log/nagios/rw/nagios.cmd > > The "EAGAIN/resource temporarily available" messages, is this normal? > If yes, what kind of output do I need to produce in order to verify/abandon > my gut feeling that nagios is not processing all results? > if no, any suggestions how to attack the problem? > > Thank you in advance. > > Regards, > Marc > > server specs: > > [root at foobar tmp]# cat /etc/*release > Red Hat Enterprise Linux Server release 5.1 (Tikanga) > [root at foobar tmp]# free -m > total used free shared buffers cached > Mem: 31905 23681 8224 0 553 15672 > > 8 cpus > processor : 7 > vendor_id : AuthenticAMD > cpu family : 15 > model : 33 > model name : AMD Opteron (tm) Processor 880 > stepping : 2 > cpu MHz : 2400.000 > cache size : 1024 KB > > [root at foobar tmp]# /usr/local/nagios/sbin/nagios -v /etc/nagios/nagios.cfg > > Nagios 3.0.3 > Copyright (c) 1999-2008 Ethan Galstad (http://www.nagios.org) > Last Modified: 06-25-2008 > License: GPL > > Reading configuration data... > > Running pre-flight check on configuration data... > > Checking services... > Checked 7491 services. > Checking hosts... > Checked 460 hosts. > Checking host groups... > Checked 30 host groups. > Checking service groups... > Checked 0 service groups. > Checking contacts... > Checked 3 contacts. > Checking contact groups... > Checked 3 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 28 commands. > Checking time periods... > Checked 6 time periods. > 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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ghartl at gmail.com Tue Nov 25 16:05:36 2008 From: ghartl at gmail.com (Gary Hartl) Date: Tue, 25 Nov 2008 10:05:36 -0500 Subject: Perl version In-Reply-To: References: <000e01c94e4f$0aa46a60$1fed3f20$@com> <23E7AAD3-2251-4015-86A4-279D17CFE67A@ena.com> <001001c94e87$635cfe00$2a16fa00$@com> Message-ID: <000b01c94f0f$4628c2f0$d27a48d0$@com> > > netra1# ./nagios start > Performing sanity check of nagios configuration: /usr/local/bin/ > nagios: 1: > Syntax error: "(" unexpected > FAILED > /usr/local/bin/nagios: 1: Syntax error: "(" unexpected > > /-- end snip --/ Maybe you should give more (detailed) information about nagios version, how you installed it, etc... /usr/local/bin/nagios should be a binary file, not a script. The error above shouldn't be possible unless something is very non-standard. Ok... Here is what I have, FreeBSD 6.0-RELEASE running on a Netra X1 (sparc64). I installed Nagios 3.0.4 from the FreeBSD packages tree using pkg_add I added the nagios_enable="YES" to /etc/rc.conf for start at reboot Yes I belive /usr/local/bin/nagios is a binary since trying to run it gets you Netra1#/usr/local/bin/nagios /usr/local/bin/nagios: Exec format error. Binary file not executable. So I was trying to get nagios running without rebooting, so I ran /usr/local/etc/rc.d/nagios start (i'm not sure if i should include the contents of the /usr/local/etc/rc.d/nagios script.) and i got the above output. I though initially that one of the configuration files might have a stray bracket somewhere so I dug through them all manually with no avail. I'm not really sure what other information you might need, but I would be happy to provide whatever it is, I don't understand this either, I did originally try to install nagios from source perhaps i have some stray files or libaraies kicking around I'm not 100% sure about that. Thanks for the Help Gary ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From alan.mckay at gmail.com Tue Nov 25 16:26:17 2008 From: alan.mckay at gmail.com (Alan McKay) Date: Tue, 25 Nov 2008 10:26:17 -0500 Subject: new check_ plugin for Linux ethernet interfaces Message-ID: <844129e80811250726h1896b354n88d079987c524579@mail.gmail.com> Hey folks, I looked at a number the existing plugins and didn't like them for various reasons - mostly because they seem to require SNMP. So I wrote my own that uses NRPE instead. I call it check_iflocal I think this is the right link to it, but maybe not : http://www.nagiosexchange.org/cgi-bin/page.cgi?g=Detailed%2F2826.html;d=1 Here is a quick look at it. Please let me know if you have any problems with it and I'll do what I can [root at bcmdhcp148 nagios]# libexec/check_iflocal -h Usage : check_iflocal ethX [VAR=VAL] [VAR=VAL] [...] This script checks the 4 values found in the output of ifconfig RX Errors, TX Errors, RX dropped, TX dropped It assumes that if the interface is functioning properly, these values will be 0. Rather than flag absolute values the script flags delta values from one invocation to the next It is also smart enough to reset itself e.g. on reboot Please read comments at top of script for installation details Variable names can be mixed-cased. Valid variables : WARNDELTA=number (default 1) CRITDELTA=number (default 10) How big of a delta to flag as warning or critical? Applies to all of RX Errors, TX Errors, RX Dropped, TX Dropped So if any one of those 4 exceeds the delta from one invocation to the next, the appropriate action is taken NOLINK=[0|1|2|3] (default 1) How to report when there is no link on this interface? Nagios return codes - 0=OK,1=WARNING,2=CRITICAL,3=SCRIPT ERROR but note that you use the numbers, not the strings This is only used if either ethtool or mii-tool is enabled RUNETHTOOL=[0|1] RUNMIITOOL=[0|1] Only 1 of the above 2 can be enabled otherwise it's an error These give more info on each interface, but require sudo See script comments for details STROK=STRING (see script comments) STRWARN=STRING (see script comments) STRCRIT=STRING (see script comments) STRYIKES=STRING (see script comments) -- "I destroy my enemies when I make them my friends" - Abraham Lincoln ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From john at blue-atlantic.com Tue Nov 25 16:26:03 2008 From: john at blue-atlantic.com (John Kirste) Date: Tue, 25 Nov 2008 16:26:03 +0100 Subject: Contactgroup problem Message-ID: <492C190B.7040107@blue-atlantic.com> Hi, I'va a problem with nagios 3.0.5: For some servers I defined a hostgroup dominoservers addional to admins define contactgroup{ contactgroup_name dominoadmins alias Domino Administrators members contactgroup_members admins } define contactgroup{ contactgroup_name admins alias Administrators members } I defined a hostgroup for this machines with contact_groups , but all messages are send to the admins-group... define host{ name domino-server ; The name of this host template use generic-host ; Inherit default values from the generic-host template check_period 24x7 ; By default, Windows servers are monitored round the clock contact_groups dominoadmins ; Notifications get sent to the admins by default hostgroups domino-server ; Host groups that Windows servers should be a member of register 0 ; DONT REGISTER THIS - ITS JUST A TEMPLATE } I don't see my mistake. Has anyone an idea? regards, John ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From rmontemayor at huntoil.com Tue Nov 25 16:44:23 2008 From: rmontemayor at huntoil.com (Rudy Montemayor) Date: Tue, 25 Nov 2008 15:44:23 +0000 (UTC) Subject: nagios errors in system syslog file Message-ID: Nagios Users, I have been using nagios for several years and just recently upgraded to Nagios 3. Since then I have been seeing a lot of nagios messages in the system's syslog file such as the following: syslog: Error: Unable to rename file '/usr/local/nagios/var/spool/checkresults/checkf08036' to '/usr/local/nagios/var/spoo l/checkresults/ca19105': No such file or directory syslog: Warning: Unable to move file '/usr/local/nagios/var/spool/checkresults/checkf08036' to check results queue. Not sure if this is related but the pid of the nagios process is 8036: nagios 8036 1 0 12:14:33 ? 2:10 /usr/local/nagios/bin/nagios - d /usr/local/nagios/etc/nagios.cfg Did I configure something incorrectly when I installed Nagios 3? Thanks for your help. - Rudy ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Tue Nov 25 16:53:46 2008 From: marc at ena.com (Marc Powell) Date: Tue, 25 Nov 2008 09:53:46 -0600 Subject: Perl version In-Reply-To: <000b01c94f0f$4628c2f0$d27a48d0$@com> References: <000e01c94e4f$0aa46a60$1fed3f20$@com> <23E7AAD3-2251-4015-86A4-279D17CFE67A@ena.com> <001001c94e87$635cfe00$2a16fa00$@com> <000b01c94f0f$4628c2f0$d27a48d0$@com> Message-ID: <08154544-71E6-45C5-AEFC-64E7D46B6FCB@ena.com> On Nov 25, 2008, at 9:05 AM, Gary Hartl wrote: > Netra1#/usr/local/bin/nagios > /usr/local/bin/nagios: Exec format error. Binary file not executable. Interesting... I'm not at all familiar with the FreeBSD package system but the error above indicates to me that you've installed a version of nagios that's not compatible with your system (i.e. 64bit nagios on 32bit system or linux version of nagios with no linux binary support on your system). Is that possible? What is the output of the following -- uname -a file /usr/local/bin/nagios ldd /usr/local/bin/nagios Maybe the FreeBSD users here will have other suggestions... -- Marc ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From assaf.flatto at ssp.uk.com Tue Nov 25 16:57:28 2008 From: assaf.flatto at ssp.uk.com (Assaf Flatto) Date: Tue, 25 Nov 2008 15:57:28 +0000 Subject: Contactgroup problem In-Reply-To: <492C190B.7040107@blue-atlantic.com> References: <492C190B.7040107@blue-atlantic.com> Message-ID: <200811251557.28566.assaf.flatto@ssp.uk.com> On Tuesday 25 November 2008 15:26:03 John Kirste wrote: > Hi, > > I'va a problem with nagios 3.0.5: For some servers I defined a > hostgroup dominoservers addional to admins > > define contactgroup{ > contactgroup_name dominoadmins > alias Domino Administrators > members > contactgroup_members admins > } > > define contactgroup{ > contactgroup_name admins > alias Administrators > members > } > > I defined a hostgroup for this machines with contact_groups , but all > messages are send to the admins-group... > > define host{ > name domino-server ; The name of this host template > use generic-host ; Inherit default values from the generic-host template > check_period 24x7 ; By default, Windows servers are monitored round > the clock > > contact_groups dominoadmins ; Notifications get sent to the admins by > default > hostgroups domino-server ; Host groups that Windows servers should be > a member of > register 0 ; DONT REGISTER THIS - ITS JUST A TEMPLATE > } > As this is a template - can you show us an actual host definition ? There might be something there that overrides the template setting. -- Assaf Flatto SSP Ops Team Linux System Administrator 169 Euston Road, London, NW1 2AE 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From rmontemayor at huntoil.com Tue Nov 25 17:00:34 2008 From: rmontemayor at huntoil.com (Rudy Montemayor) Date: Tue, 25 Nov 2008 16:00:34 +0000 (UTC) Subject: HP rx6600 panics Message-ID: Fellow Nagios Users, I have recently installed Nagios 3 in a HP rx6600 (Itanium) system and with in the last 4 months the system has crashed/panic'd twice and none before I installed Nagios. I talked with HP and of course I got the typical "You need to install patch number such and such". The patch that HP is wanting me to install is a cumulative ARPA Transport patch and the HP engineer that I worked with mentioned that it could be that the system is getting to much network traffic. One thing that I have changed on my Nagios environment is that now only the main nagios process is running. I had the main nagios process running as well as the nrpe daemon. I originally set it up running both nagios and nrpe to ease the configuration process but like I mentioned I stopped nrpe and made changes to the config files to perform local checks. Has any body seen/experienced any similar problems on an HP rx6600 Itanium system? Thanks for your help. Rudy ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ghartl at gmail.com Tue Nov 25 17:08:26 2008 From: ghartl at gmail.com (Gary Hartl) Date: Tue, 25 Nov 2008 11:08:26 -0500 Subject: Perl version In-Reply-To: <08154544-71E6-45C5-AEFC-64E7D46B6FCB@ena.com> References: <000e01c94e4f$0aa46a60$1fed3f20$@com> <23E7AAD3-2251-4015-86A4-279D17CFE67A@ena.com> <001001c94e87$635cfe00$2a16fa00$@com> <000b01c94f0f$4628c2f0$d27a48d0$@com> <08154544-71E6-45C5-AEFC-64E7D46B6FCB@ena.com> Message-ID: <001501c94f18$0d255690$277003b0$@com> > Netra1#/usr/local/bin/nagios > /usr/local/bin/nagios: Exec format error. Binary file not executable. Interesting... I'm not at all familiar with the FreeBSD package system but the error above indicates to me that you've installed a version of nagios that's not compatible with your system (i.e. 64bit nagios on 32bit system or linux version of nagios with no linux binary support on your system). Is that possible? What is the output of the following -- uname -a file /usr/local/bin/nagios ldd /usr/local/bin/nagios Maybe the FreeBSD users here will have other suggestions... -- Marc I actually gave that a thought after I posted, upon which I realized that I installed it from the all Tree of the packages instead of focusing in on the sparc64 tree. Lo and behold I found 3.0.3 in the sparc64 tree, and seem to be making a bit more head way, I can get it to run the pre flight checks, abit with errors that I think I can sort out. Most of it just seems like localhost.cfg errors. Although I was getting some duplicate definition errors for nagiosadmin, I'll see what I can do thou. Thanks for all the help, I really do appreciate it. Cheers, Gary ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From novin.jaiswal at ishisystems.com Tue Nov 25 17:57:55 2008 From: novin.jaiswal at ishisystems.com (Novin Jaiswal) Date: Tue, 25 Nov 2008 11:57:55 -0500 Subject: Error on nagios Web console: It appears as though you do not have permission to view information for any of the hosts you requested. Message-ID: <2BA70ED7C7275645B648362FB35913A901EB5543@exchange.ishisystems.com> Hi Friends, We have installed Nagios using monarch on beta environment of our one of our client. The monarch is working fine and I was able to configure Nagios to monitor the localhost(it self). When I try to access Nagios web interface from our network. It allow me to log in with Nagios uid/pass but I am getting following error when I try to view any of the following link (only tactical view link is working). In nagios.conf for apache the our company ips are open to view it but still I m facing the issue. Can any one tell mw wht is wrong. Tactical Overview Service Detail Host Detail Hostgroup Overview Hostgroup Summary Hostgroup Grid Servicegroup Overview Servicegroup Su Error ==================================== It appears as though you do not have permission to view information for any of the hosts you requested... If you believe this is an error, check the HTTP server authentication requirements for accessing this CGI and check the authorization options in your CGI configuration file. Nagios.conf of apache. Options None order deny,allow deny from all #allow from 127.0.0.1 Allow from 172.16 #Allow from all AuthType Basic AuthUserFile /etc/nagios/passwd AuthName "nagios" require valid-user ScriptAlias /nagios/cgi-bin/ /usr/lib64/nagios/cgi-bin/ Options ExecCGI order deny,allow deny from all #allow from 127.0.0.1 Allow from 172.16 #Allow from all AuthType Basic AuthUserFile /etc/nagios/passwd AuthName "nagios" require valid-user Alias /nagios/ /usr/share/nagios/html/ Options None order deny,allow deny from all #allow from 127.0.0.1 Allow from 172.16 #Allow from all AuthType Basic AuthUserFile /etc/nagios/passwd AuthName "nagios" require valid-user Alias /logs "/home/httpd/nagios/logs" Options Indexes FollowSymLinks Alias /stats "/home/httpd/nagios/stats" CustomLog /home/httpd/nagios/logs/access_log combined CustomLog /home/httpd/nagios/logs/custom_log custom CustomLog logs/access_log combined CustomLog logs/custom_log custom Thanks & Regards Novin Jaiswal 201-521-3155(Direct) 732-318-8156(Cell) -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 168 bytes Desc: image001.png URL: -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From assaf.flatto at ssp.uk.com Tue Nov 25 18:11:22 2008 From: assaf.flatto at ssp.uk.com (Assaf Flatto) Date: Tue, 25 Nov 2008 17:11:22 +0000 Subject: Error on nagios Web console: It appears as though you do not have permission to view information for any of the hosts you requested. In-Reply-To: <2BA70ED7C7275645B648362FB35913A901EB5543@exchange.ishisystems.com> References: <2BA70ED7C7275645B648362FB35913A901EB5543@exchange.ishisystems.com> Message-ID: <200811251711.22358.assaf.flatto@ssp.uk.com> On Tuesday 25 November 2008 16:57:55 Novin Jaiswal wrote: > Hi Friends, > > > > We have installed Nagios using monarch on beta environment of our one of > our client. > > > > The monarch is working fine and I was able to configure Nagios to > monitor the localhost(it self). > > > > When I try to access Nagios web interface from our network. It allow me > to log in with Nagios uid/pass but I am getting following error when I > try to view any of the following link (only tactical view link is > working). > > > > In nagios.conf for apache the our company ips are open to view it but > still I m facing the issue. Can any one tell mw wht is wrong. > > Error > > ==================================== > > > > It appears as though you do not have permission to view information for > any of the hosts you requested... > > If you believe this is an error, check the HTTP server authentication > requirements for accessing this CGI > and check the authorization options in your CGI configuration file. > > > > > > Nagios.conf of apache. > > > > > > Options None > > order deny,allow > > deny from all > > #allow from 127.0.0.1 > > Allow from 172.16 > > #Allow from all > > AuthType Basic > > AuthUserFile /etc/nagios/passwd > > AuthName "nagios" > > require valid-user > > have you checked in the nagios.cfg and in the cgi.cfg that the user you are using has permissions to view the nagios data ? http://nagios.sourceforge.net/docs/3_0/cgiauth.html -- Assaf Flatto SSP Ops Team Linux System Administrator 169 Euston Road, London, NW1 2AE 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From novin.jaiswal at ishisystems.com Tue Nov 25 18:24:53 2008 From: novin.jaiswal at ishisystems.com (Novin Jaiswal) Date: Tue, 25 Nov 2008 12:24:53 -0500 Subject: Error on nagios Web console: It appears asthough you do not have permission to view information for anyof the hosts you requested. In-Reply-To: <200811251711.22358.assaf.flatto@ssp.uk.com> References: <2BA70ED7C7275645B648362FB35913A901EB5543@exchange.ishisystems.com> <200811251711.22358.assaf.flatto@ssp.uk.com> Message-ID: <2BA70ED7C7275645B648362FB35913A901EB5544@exchange.ishisystems.com> Hi I found the issue In Following definition there is a extra "/" at the end of the path which is giving us the issue /usr/lib64/nagios/cgi-bin/ Due to all hyperlinks are generated with extra/ that http://mynagios/nagios/cgi-bin//status.cgi?hostgroup=all&style=hostdetai l has an extra / for e.g "//status.cgi?" I think this could be the reason. ScriptAlias /nagios/cgi-bin/ /usr/lib64/nagios/cgi-bin/ Options ExecCGI order deny,allow deny from all #allow from 127.0.0.1 Allow from 172.16 #Allow from all AuthType Basic AuthUserFile /etc/nagios/passwd AuthName "nagios" require valid-user Thanks & Regards Novin Jaiswal Ishi Systems Inc. 201-521-3155(Direct) 732-318-8156(Cell) -----Original Message----- From: Assaf Flatto [mailto:assaf.flatto at ssp.uk.com] Sent: Tuesday, November 25, 2008 12:11 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Error on nagios Web console: It appears asthough you do not have permission to view information for anyof the hosts you requested. On Tuesday 25 November 2008 16:57:55 Novin Jaiswal wrote: > Hi Friends, > > > > We have installed Nagios using monarch on beta environment of our one of > our client. > > > > The monarch is working fine and I was able to configure Nagios to > monitor the localhost(it self). > > > > When I try to access Nagios web interface from our network. It allow me > to log in with Nagios uid/pass but I am getting following error when I > try to view any of the following link (only tactical view link is > working). > > > > In nagios.conf for apache the our company ips are open to view it but > still I m facing the issue. Can any one tell mw wht is wrong. > > Error > > ==================================== > > > > It appears as though you do not have permission to view information for > any of the hosts you requested... > > If you believe this is an error, check the HTTP server authentication > requirements for accessing this CGI > and check the authorization options in your CGI configuration file. > > > > > > Nagios.conf of apache. > > > > > > Options None > > order deny,allow > > deny from all > > #allow from 127.0.0.1 > > Allow from 172.16 > > #Allow from all > > AuthType Basic > > AuthUserFile /etc/nagios/passwd > > AuthName "nagios" > > require valid-user > > have you checked in the nagios.cfg and in the cgi.cfg that the user you are using has permissions to view the nagios data ? http://nagios.sourceforge.net/docs/3_0/cgiauth.html -- Assaf Flatto SSP Ops Team Linux System Administrator 169 Euston Road, London, NW1 2AE 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From alan.mckay at gmail.com Tue Nov 25 18:27:29 2008 From: alan.mckay at gmail.com (Alan McKay) Date: Tue, 25 Nov 2008 12:27:29 -0500 Subject: new check_ plugin for Linux ethernet interfaces In-Reply-To: <844129e80811250726h1896b354n88d079987c524579@mail.gmail.com> References: <844129e80811250726h1896b354n88d079987c524579@mail.gmail.com> Message-ID: <844129e80811250927h62025038m51a093fdfeb39301@mail.gmail.com> > RUNETHTOOL=[0|1] > RUNMIITOOL=[0|1] Whoops, just realised I left one of these on by default in my submission to the website. So be wary. -- "I destroy my enemies when I make them my friends" - Abraham Lincoln ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From dale at chatham.org Tue Nov 25 18:47:24 2008 From: dale at chatham.org (Dale J. Chatham) Date: Tue, 25 Nov 2008 11:47:24 -0600 Subject: check_http and unicode pages Message-ID: <492C3A2C.5030204@chatham.org> Does check_http with the "-s" option handle unicode pages properly? If not, is there a check that does? TIA Dale Chatham ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From charlycr74 at yahoo.com.ar Tue Nov 25 18:54:58 2008 From: charlycr74 at yahoo.com.ar (charlycr74 at yahoo.com.ar) Date: Tue, 25 Nov 2008 09:54:58 -0800 (PST) Subject: Notifications if a servicegroup is down on more than 1 server Message-ID: <756599.26909.qm@web36101.mail.mud.yahoo.com> Hi, I have a strange configuration that I have to applied to my Nagios and I cannot find the way to do it. Since I have a load balancer that monitor the apache status on the servers, I don?t want to send alerts if one of then is DOWN, I prefer to wait until I have at least 2 of them DOWN and specific services on them. For example: I have 5 hosts with 5 services each. I want to send notifications of Critical if: --- Service 1, Service 2, and Service 3 are DOWN on at least 2 of the 5 hosts. Someone knows if it is possible and how to apply it on Nagios 2? Thanks, Charly Yahoo! Cocina Recetas pr?cticas y comida saludable http://ar.mujer.yahoo.com/cocina/ ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From pitchfork at ederdrom.de Tue Nov 25 19:31:36 2008 From: pitchfork at ederdrom.de (Joerg Linge) Date: Tue, 25 Nov 2008 19:31:36 +0100 Subject: Notifications if a servicegroup is down on more than 1 server In-Reply-To: <756599.26909.qm@web36101.mail.mud.yahoo.com> References: <756599.26909.qm@web36101.mail.mud.yahoo.com> Message-ID: <492C4488.2030100@ederdrom.de> charlycr74 at yahoo.com.ar schrieb: > Hi, > > I have a strange > configuration that I have to applied to my Nagios and I cannot find the way to > do it. > > Since I > have a load balancer that monitor the apache status on the servers, I don?t > want to send alerts if one of then is DOWN, I prefer to wait until I have at > least 2 of them DOWN and specific services on them. > > For > example: I have 5 hosts with 5 services each. > > I want to send > notifications of Critical if: > --- Service 1, Service 2, and Service 3 are > DOWN on at least 2 of the 5 hosts. > > > Someone > knows if it is possible and how to apply it on Nagios 2? Have a look on check_cluster http://nagios.sourceforge.net/docs/2_0/clusters.html Kind regards Joerg ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From dale at chatham.org Tue Nov 25 19:30:57 2008 From: dale at chatham.org (Dale J. Chatham) Date: Tue, 25 Nov 2008 12:30:57 -0600 Subject: Notifications if a servicegroup is down on more than 1 server In-Reply-To: <756599.26909.qm@web36101.mail.mud.yahoo.com> References: <756599.26909.qm@web36101.mail.mud.yahoo.com> Message-ID: <492C4461.5040409@chatham.org> I'd probably write a check that doesn't send any notifications when an apache server is down, but that increments a counter in a file somewhere. Another service to monitor the file and alarm if over some number, in your case 2. charlycr74 at yahoo.com.ar wrote: > Hi, > > I have a strange > configuration that I have to applied to my Nagios and I cannot find the way to > do it. > > Since I > have a load balancer that monitor the apache status on the servers, I don???t > want to send alerts if one of then is DOWN, I prefer to wait until I have at > least 2 of them DOWN and specific services on them. > > For > example: I have 5 hosts with 5 services each. > > I want to send > notifications of Critical if: > --- Service 1, Service 2, and Service 3 are > DOWN on at least 2 of the 5 hosts. > > > Someone > knows if it is possible and how to apply it on Nagios 2? > > Thanks, > > Charly > > > Yahoo! Cocina > Recetas pr??cticas y comida saludable > http://ar.mujer.yahoo.com/cocina/ > > ------------------------------------------------------------------------- > 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=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Tue Nov 25 19:42:37 2008 From: marc at ena.com (Marc Powell) Date: Tue, 25 Nov 2008 12:42:37 -0600 Subject: Contactgroup problem In-Reply-To: <492C190B.7040107@blue-atlantic.com> References: <492C190B.7040107@blue-atlantic.com> Message-ID: <1A7AF6C1-3F84-407F-8D52-BABB10E90EB3@ena.com> On Nov 25, 2008, at 9:26 AM, John Kirste wrote: > Hi, > > I'va a problem with nagios 3.0.5: For some servers I defined a > hostgroup dominoservers addional to admins > > define contactgroup{ > contactgroup_name dominoadmins > alias Domino Administrators > members > contactgroup_members admins > } > I defined a hostgroup for this machines with contact_groups , but all > messages are send to the admins-group... > > define host{ > name domino-server ; The name of this host template > use generic-host ; Inherit default values from the generic-host > template > check_period 24x7 ; By default, Windows servers are monitored round > the clock > > contact_groups dominoadmins > I don't see my mistake. Has anyone an idea? 'admins' is a member of dominoadmins so they'll receive notifications about this host. Is that what you're saying is the problem? -- Marc ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From john at blue-atlantic.com Tue Nov 25 20:16:08 2008 From: john at blue-atlantic.com (John Kirste) Date: Tue, 25 Nov 2008 20:16:08 +0100 Subject: Contactgroup problem In-Reply-To: <1A7AF6C1-3F84-407F-8D52-BABB10E90EB3@ena.com> References: <492C190B.7040107@blue-atlantic.com> <1A7AF6C1-3F84-407F-8D52-BABB10E90EB3@ena.com> Message-ID: <492C4EF8.9010102@blue-atlantic.com> Hi, Marc Powell schrieb: > 'admins' is a member of dominoadmins so they'll receive notifications > about this host. Is that what you're saying is the problem? that's ok. All admins, including dominoadmins, should receive notifications. But dominoadmins shouldm't reveice notifications in case of problems with switches or other servers. So I made just for dominoadmins a group of the regular admins and the special domino admins. Regards, John ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From emartine at bsd.uchicago.edu Tue Nov 25 20:09:03 2008 From: emartine at bsd.uchicago.edu (Martinez, Eduardo [BSD] - ADM) Date: Tue, 25 Nov 2008 13:09:03 -0600 Subject: Nagios Monitoring Microsoft SQL Express 2005 Message-ID: Any assistance would be appreciated. I am having issues monitoring this service in Nagios via nsclient on a windows 2003 server. On the commandline this works great: check_nt -H adm-patches -p 1248 -v SERVICESTATE -l 'MSSQL$MICROSOFT##SSEE' It report that all services and up and running. However, in the template: define service{ use template host_name hostname check_command check_nt_service!'MSSQL$MICROSOFT##SSEE' service_description Microsoft SQL Express 2005 } This reports WARNING 11-25-2008 13:04:30 0d 0h 1m 1s 1/5 MSSQL$MICROSOFT##SSEE$: Unknown I've been searching through forums but haven't found this. I'm sure someone has run into this issue. Any help would be appreciated. Thanks, -Eddie -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From mattias.ryrlen at op5.com Tue Nov 25 20:51:25 2008 From: mattias.ryrlen at op5.com (=?windows-1252?Q?Mattias_Ryrl=E9n?=) Date: Tue, 25 Nov 2008 20:51:25 +0100 Subject: Nagios Monitoring Microsoft SQL Express 2005 In-Reply-To: References: Message-ID: <492C573D.7070300@op5.com> Hi Eduardo, Martinez, Eduardo [BSD] - ADM skrev: > > > Any assistance would be appreciated. I am having issues monitoring this > service in Nagios via nsclient on a windows 2003 server. > > > > On the commandline this works great: > > > > check_nt -H adm-patches -p 1248 -v SERVICESTATE -l 'MSSQL$MICROSOFT##SSEE' > > > > It report that all services and up and running. However, in the template: > > > > > > define service{ > > use template > > host_name hostname > > check_command > check_nt_service!?MSSQL$MICROSOFT##SSEE? > > service_description Microsoft SQL Express 2005 > > } > > > > > > This reports WARNING 11-25-2008 13:04:30 0d 0h 1m 1s 1/5 > MSSQL$MICROSOFT##SSEE$: Unknown > > I?ve been searching through forums but haven?t found this. I?m sure > someone has run into this issue. What version of NSclient++ do you have, i found a bug in NSClient++ that it can't handle # correct in servicenames. You can rename a service if you want to remove the # Chars. Regedit -> HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services rename the folder named MSSQL$MICROSOFT#SSEE to eg MSSQL$MICROSOFT_SSEE reboot the _windows_ machine and your service is now named MSSQL$MICROSOFT_SSEE > > > > Any help would be appreciated. > > > > Thanks, > > -Eddie > > > > > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > 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=100&url=/ > > > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 -- V?nliga h?lsningar / Best Regards Mattias Ryrl?n __________________________ op5 AB F?rsta L?nggatan 19 SE-413 27 G?teborg Mobil: +46 735-17 70 99 Support: +46 31-774 09 24 www.op5.com ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ghartl at gmail.com Tue Nov 25 21:21:44 2008 From: ghartl at gmail.com (Gary Hartl) Date: Tue, 25 Nov 2008 15:21:44 -0500 Subject: Errors after installation Message-ID: <003001c94f3b$6fed7eb0$4fc87c10$@com> Hi all; I've installed Nagaios 3.0.3 on a FreeBSD system (6.0-release) sparc64 Installed from freebsd package tree. I copied the sample configs to be used as normal configs and i get the following errors when i try tofire it up (during the preflight) Error: Service check command 'check_local_load' specified in service 'Current Load' for host 'localhost' not defined anywhere! Error: Service check command 'check_local_users' specified in service 'Current Users' for host 'localhost' not defined anywhere! Error: Service check command 'check_http' specified in service 'HTTP' for host 'localhost' not defined anywhere! Error: Service check command 'check_ping' specified in service 'PING' for host 'localhost' not defined anywhere! Error: Service check command 'check_local_disk' specified in service 'Root Partition' for host 'localhost' not defined anywhere! Error: Service check command 'check_ssh' specified in service 'SSH' for host 'localhost' not defined anywhere! Error: Service check command 'check_local_swap' specified in service 'Swap Usage' for host 'localhost' not defined anywhere! Error: Service check command 'check_local_procs' specified in service 'Total Processes' for host 'localhost' not defined anywhere! I'm assuming that my localhost.cfg isn't configured correctly but I'm new to nagios so I couldn't tell ya to begin with. I have included a copy of my localhost.cfg file below. All help appreciated. Gary Localhost.cfg ############################################################################ ### ############################################################################ ### # # HOST DEFINITION # ############################################################################ ### ############################################################################ ### # Define a host for the local machine define host{ use freebsd-server ; Name of host template to use ; This host definition will inherit all variables that are defined ; in (or inherited by) the freebsd-server host template definition. host_name localhost alias localhost address 127.0.0.1 } ############################################################################ ### ############################################################################ ### # # HOST GROUP DEFINITION # ############################################################################ ### ############################################################################ ### # Define an optional hostgroup for FreeBSD machines define hostgroup{ hostgroup_name freebsd-servers ; The name of the hostgroup alias FreeBSD Servers ; Long name of the group members localhost ; Comma separated list of hosts that belong to this group } ############################################################################ ### ############################################################################ ### # # SERVICE DEFINITIONS # ############################################################################ ### ############################################################################ ### # Define a service to "ping" the local machine define service{ use local-service ; Name of service template to use host_name localhost service_description PING check_command check_ping!100.0,20%!500.0,60% } # Define a service to check the disk space of the root partition # on the local machine. Warning if < 20% free, critical if # < 10% free space on partition. define service{ use local-service ; Name of service template to use host_name localhost service_description Root Partition check_command check_local_disk!20%!10%!/ } # Define a service to check the number of currently logged in # users on the local machine. Warning if > 20 users, critical # if > 50 users. define service{ use local-service ; Name of service template to use host_name localhost service_description Current Users check_command check_local_users!20!50 } # Define a service to check the number of currently running procs # on the local machine. Warning if > 250 processes, critical if # > 400 users. define service{ use local-service ; Name of service template to use host_name localhost service_description Total Processes check_command check_local_procs!250!400!RSZDT } # Define a service to check the load on the local machine. define service{ use local-service ; Name of service template to use host_name localhost service_description Current Load check_command check_local_load!5.0,4.0,3.0!10.0,6.0,4.0 } # Define a service to check the swap usage the local machine. # Critical if less than 10% of swap is free, warning if less than 20% is free define service{ use local-service ; Name of service template to use host_name localhost service_description Swap Usage check_command check_local_swap!20!10 } # Define a service to check SSH on the local machine. # Disable notifications for this service by default, as not all users may have SSH enabled. define service{ use local-service ; Name of service template to use host_name localhost service_description SSH check_command check_ssh notifications_enabled 0 } # Define a service to check HTTP on the local machine. # Disable notifications for this service by default, as not all users may have HTTP enabled. define service{ use local-service ; Name of service template to use host_name localhost service_description HTTP check_command check_http notifications_enabled 0 } ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From emartine at bsd.uchicago.edu Tue Nov 25 21:45:05 2008 From: emartine at bsd.uchicago.edu (Martinez, Eduardo [BSD] - ADM) Date: Tue, 25 Nov 2008 14:45:05 -0600 Subject: Nagios Monitoring Microsoft SQL Express 2005 In-Reply-To: <492C573D.7070300@op5.com> References: <492C573D.7070300@op5.com> Message-ID: I will give this a shot and let you know how it goes. -Eduardo -----Original Message----- From: Mattias Ryrl?n [mailto:mattias.ryrlen at op5.com] Sent: Tuesday, November 25, 2008 1:51 PM To: Martinez, Eduardo [BSD] - ADM Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagios Monitoring Microsoft SQL Express 2005 Hi Eduardo, Martinez, Eduardo [BSD] - ADM skrev: > > > Any assistance would be appreciated. I am having issues monitoring this > service in Nagios via nsclient on a windows 2003 server. > > > > On the commandline this works great: > > > > check_nt -H adm-patches -p 1248 -v SERVICESTATE -l 'MSSQL$MICROSOFT##SSEE' > > > > It report that all services and up and running. However, in the template: > > > > > > define service{ > > use template > > host_name hostname > > check_command > check_nt_service!'MSSQL$MICROSOFT##SSEE' > > service_description Microsoft SQL Express 2005 > > } > > > > > > This reports WARNING 11-25-2008 13:04:30 0d 0h 1m 1s 1/5 > MSSQL$MICROSOFT##SSEE$: Unknown > > I've been searching through forums but haven't found this. I'm sure > someone has run into this issue. What version of NSclient++ do you have, i found a bug in NSClient++ that it can't handle # correct in servicenames. You can rename a service if you want to remove the # Chars. Regedit -> HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services rename the folder named MSSQL$MICROSOFT#SSEE to eg MSSQL$MICROSOFT_SSEE reboot the _windows_ machine and your service is now named MSSQL$MICROSOFT_SSEE > > > > Any help would be appreciated. > > > > Thanks, > > -Eddie > > > > > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > 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=100&url=/ > > > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 -- V?nliga h?lsningar / Best Regards Mattias Ryrl?n __________________________ op5 AB F?rsta L?nggatan 19 SE-413 27 G?teborg Mobil: +46 735-17 70 99 Support: +46 31-774 09 24 www.op5.com This email is intended only for the use of the individual or entity to which it is addressed and may contain information that is privileged and confidential. If the reader of this email message is not the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this communication is prohibited. If you have received this email in error, please notify the sender and destroy/delete all copies of the transmittal. Thank you. ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From atsaloli.tech at gmail.com Tue Nov 25 22:00:52 2008 From: atsaloli.tech at gmail.com (Aleksey Tsalolikhin) Date: Tue, 25 Nov 2008 13:00:52 -0800 Subject: how to get rid of question marks in the status map? Nagios 3.0.5 Message-ID: Hi. So what's the trick to getting rid of the question marks in the status map? I've searched the list archives and see people have been having trouble with this, but have not found a solution. I've tried regenerating the GD2 files from the PNG using pngtogd2 but I still have question marks in my status map. cat hostextinfo.cfg define hostextinfo{ host_name * icon_image router40.png icon_image_alt Firewall vrml_image router40.png statusmap_image router40.gd2 } And in cgi.cfg, I have: xedtemplate_config_file=/etc/nagios/hostextinfo.cfg even though the Nagios 3 docs don't mention this directive. Please help? Thanks, Aleksey -- Aleksey Tsalolikhin UNIX System Administrator "I get stuff done!" http://www.lifesurvives.com/ ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From patrick.morris at hp.com Tue Nov 25 22:09:29 2008 From: patrick.morris at hp.com (Patrick Morris) Date: Tue, 25 Nov 2008 13:09:29 -0800 Subject: how to get rid of question marks in the status map? Nagios 3.0.5 In-Reply-To: References: Message-ID: <20081125210929.GT26044@bakgwai.americas.hpqcorp.net> On Tue, 25 Nov 2008, Aleksey Tsalolikhin wrote: > Hi. So what's the trick to getting rid of the question marks in the status map? > > I've searched the list archives and see people have been having > trouble with this, but have not found a solution. > > I've tried regenerating the GD2 files from the PNG using pngtogd2 but > I still have question marks in my status map. > > > cat hostextinfo.cfg > > define hostextinfo{ > host_name * > icon_image router40.png > icon_image_alt Firewall > vrml_image router40.png > statusmap_image router40.gd2 > } > > > And in cgi.cfg, I have: > > xedtemplate_config_file=/etc/nagios/hostextinfo.cfg > > > even though the Nagios 3 docs don't mention this directive. That directive is not necessary, and probably not used at all. Here's a sample config I use here: define hostextinfo { name linux-server icon_image rack_linux.png statusmap_image rack_linux.png vrml_image rack_linux.png register 0 } define hostextinfo { hostgroup_name sf2-db,sf2-db-host,sf2-linux use linux-server } As long as your config is loaded by Nagios at startup, it should work. You may want to check your cfg_file and/or cfg_dir directives. ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ssimmons at cymfony.com Tue Nov 25 22:54:07 2008 From: ssimmons at cymfony.com (Seth Simmons) Date: Tue, 25 Nov 2008 16:54:07 -0500 Subject: Nagios Monitoring Microsoft SQL Express 2005 In-Reply-To: References: <492C573D.7070300@op5.com> Message-ID: <4881ECF1AB752843908A20CEE07A8EB12142@buf-ex01.cymfony.com> Keep in mind you will still have an issue if you keep the $ In the template you would use: check_nt_service!MSSQL$"$"MICROSOFTSSEE I had to make that change in my template else the check will fail as MSSQL$MICROSOFTSSEE -----Original Message----- From: Martinez, Eduardo [BSD] - ADM [mailto:emartine at bsd.uchicago.edu] Sent: Tuesday, November 25, 2008 3:45 PM To: Mattias Ryrl?n Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagios Monitoring Microsoft SQL Express 2005 I will give this a shot and let you know how it goes. -Eduardo -----Original Message----- From: Mattias Ryrl?n [mailto:mattias.ryrlen at op5.com] Sent: Tuesday, November 25, 2008 1:51 PM To: Martinez, Eduardo [BSD] - ADM Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagios Monitoring Microsoft SQL Express 2005 Hi Eduardo, Martinez, Eduardo [BSD] - ADM skrev: > > > Any assistance would be appreciated. I am having issues monitoring this > service in Nagios via nsclient on a windows 2003 server. > > > > On the commandline this works great: > > > > check_nt -H adm-patches -p 1248 -v SERVICESTATE -l 'MSSQL$MICROSOFT##SSEE' > > > > It report that all services and up and running. However, in the template: > > > > > > define service{ > > use template > > host_name hostname > > check_command > check_nt_service!'MSSQL$MICROSOFT##SSEE' > > service_description Microsoft SQL Express 2005 > > } > > > > > > This reports WARNING 11-25-2008 13:04:30 0d 0h 1m 1s 1/5 > MSSQL$MICROSOFT##SSEE$: Unknown > > I've been searching through forums but haven't found this. I'm sure > someone has run into this issue. What version of NSclient++ do you have, i found a bug in NSClient++ that it can't handle # correct in servicenames. You can rename a service if you want to remove the # Chars. Regedit -> HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services rename the folder named MSSQL$MICROSOFT#SSEE to eg MSSQL$MICROSOFT_SSEE reboot the _windows_ machine and your service is now named MSSQL$MICROSOFT_SSEE > > > > Any help would be appreciated. > > > > Thanks, > > -Eddie > > > > > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > 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=100&url=/ > > > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 -- V?nliga h?lsningar / Best Regards Mattias Ryrl?n __________________________ op5 AB F?rsta L?nggatan 19 SE-413 27 G?teborg Mobil: +46 735-17 70 99 Support: +46 31-774 09 24 www.op5.com This email is intended only for the use of the individual or entity to which it is addressed and may contain information that is privileged and confidential. If the reader of this email message is not the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this communication is prohibited. If you have received this email in error, please notify the sender and destroy/delete all copies of the transmittal. Thank you. ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From paul.vaes at gmail.com Tue Nov 25 23:00:45 2008 From: paul.vaes at gmail.com (Paul Vaes) Date: Tue, 25 Nov 2008 23:00:45 +0100 Subject: send_nsca Message-ID: Hello, How does send_nsca nows if Encryption is available or not. I don't want to compile and install the libmcrypt libraries on all servers, as I don't have compilers available on all servers. On solaris 5.8 for example, I have installed libmcrypt. So now, I had the idea the copy the libmcrypt.so files to an other solaris 5.8 server. But send_nsca still says that encryption is not available although the libmcrypt library files are available. I anybody has an idea, this would be great, Regards, Paul -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ssimmons at cymfony.com Tue Nov 25 22:53:51 2008 From: ssimmons at cymfony.com (Seth Simmons) Date: Tue, 25 Nov 2008 16:53:51 -0500 Subject: Errors after installation In-Reply-To: <003001c94f3b$6fed7eb0$4fc87c10$@com> References: <003001c94f3b$6fed7eb0$4fc87c10$@com> Message-ID: <4881ECF1AB752843908A20CEE07A8EB12143@buf-ex01.cymfony.com> That tells me it isn't using commands.cfg (assuming you haven't changed that) if it is complaining the command isn't defined anywhere. Try reading the documentation. I spent hours going through it, teaching myself how Nagios operates and refrained from posting here until I had an issue that was out of the ordinary (i.e. beyond the scope of the documentation). Even 9 months later I'm still tweaking different services to make things work better. http://nagios.sourceforge.net/docs/3_0/toc.html It will take a while to understand not only how Nagios works, but how to use all the available options and how it can fit in with your environment and needs. -----Original Message----- From: Gary Hartl [mailto:ghartl at gmail.com] Sent: Tuesday, November 25, 2008 3:22 PM To: Nagios-Users Subject: [Nagios-users] Errors after installation Hi all; I've installed Nagaios 3.0.3 on a FreeBSD system (6.0-release) sparc64 Installed from freebsd package tree. I copied the sample configs to be used as normal configs and i get the following errors when i try tofire it up (during the preflight) Error: Service check command 'check_local_load' specified in service 'Current Load' for host 'localhost' not defined anywhere! Error: Service check command 'check_local_users' specified in service 'Current Users' for host 'localhost' not defined anywhere! Error: Service check command 'check_http' specified in service 'HTTP' for host 'localhost' not defined anywhere! Error: Service check command 'check_ping' specified in service 'PING' for host 'localhost' not defined anywhere! Error: Service check command 'check_local_disk' specified in service 'Root Partition' for host 'localhost' not defined anywhere! Error: Service check command 'check_ssh' specified in service 'SSH' for host 'localhost' not defined anywhere! Error: Service check command 'check_local_swap' specified in service 'Swap Usage' for host 'localhost' not defined anywhere! Error: Service check command 'check_local_procs' specified in service 'Total Processes' for host 'localhost' not defined anywhere! I'm assuming that my localhost.cfg isn't configured correctly but I'm new to nagios so I couldn't tell ya to begin with. I have included a copy of my localhost.cfg file below. All help appreciated. Gary Localhost.cfg ######################################################################## #### ### ######################################################################## #### ### # # HOST DEFINITION # ######################################################################## #### ### ######################################################################## #### ### # Define a host for the local machine define host{ use freebsd-server ; Name of host template to use ; This host definition will inherit all variables that are defined ; in (or inherited by) the freebsd-server host template definition. host_name localhost alias localhost address 127.0.0.1 } ######################################################################## #### ### ######################################################################## #### ### # # HOST GROUP DEFINITION # ######################################################################## #### ### ######################################################################## #### ### # Define an optional hostgroup for FreeBSD machines define hostgroup{ hostgroup_name freebsd-servers ; The name of the hostgroup alias FreeBSD Servers ; Long name of the group members localhost ; Comma separated list of hosts that belong to this group } ######################################################################## #### ### ######################################################################## #### ### # # SERVICE DEFINITIONS # ######################################################################## #### ### ######################################################################## #### ### # Define a service to "ping" the local machine define service{ use local-service ; Name of service template to use host_name localhost service_description PING check_command check_ping!100.0,20%!500.0,60% } # Define a service to check the disk space of the root partition # on the local machine. Warning if < 20% free, critical if # < 10% free space on partition. define service{ use local-service ; Name of service template to use host_name localhost service_description Root Partition check_command check_local_disk!20%!10%!/ } # Define a service to check the number of currently logged in # users on the local machine. Warning if > 20 users, critical # if > 50 users. define service{ use local-service ; Name of service template to use host_name localhost service_description Current Users check_command check_local_users!20!50 } # Define a service to check the number of currently running procs # on the local machine. Warning if > 250 processes, critical if # > 400 users. define service{ use local-service ; Name of service template to use host_name localhost service_description Total Processes check_command check_local_procs!250!400!RSZDT } # Define a service to check the load on the local machine. define service{ use local-service ; Name of service template to use host_name localhost service_description Current Load check_command check_local_load!5.0,4.0,3.0!10.0,6.0,4.0 } # Define a service to check the swap usage the local machine. # Critical if less than 10% of swap is free, warning if less than 20% is free define service{ use local-service ; Name of service template to use host_name localhost service_description Swap Usage check_command check_local_swap!20!10 } # Define a service to check SSH on the local machine. # Disable notifications for this service by default, as not all users may have SSH enabled. define service{ use local-service ; Name of service template to use host_name localhost service_description SSH check_command check_ssh notifications_enabled 0 } # Define a service to check HTTP on the local machine. # Disable notifications for this service by default, as not all users may have HTTP enabled. define service{ use local-service ; Name of service template to use host_name localhost service_description HTTP check_command check_http notifications_enabled 0 } ------------------------------------------------------------------------ - 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From tim at thepushors.com Tue Nov 25 21:54:43 2008 From: tim at thepushors.com (Tim Pushor) Date: Tue, 25 Nov 2008 13:54:43 -0700 Subject: Same service, multiple machines w/ individual notification Message-ID: <492C6613.6070404@thepushors.com> Ok lame subject line but was the best I could think of on short notice. I've been using nagios for a couple of years now for various projects but this is the first time that I'm trying to use it in a more classic monitoring arrangement. I have to admit that I have found myself scratching my head on occasion when trying to figure out why certain things are bound to others, such as why a contact list is bound to a service when there isn't a 1:1 relationship between the two. For example - here's my current dilemma: I have clusters of servers that are being monitored and are managed by different teams. I have a particular service that I want to monitor across the board but if it alarms on server 1,2,or 3 I want it to send a notification to a different list than if server 4,5, or 6 alarms. Due to several reasons (such as reporting the same metric across all servers, regardless of who supports them) I don't want to have different service names between servers. I can't seem to see how I can easily accomplish this in the documentation.Any chance someone could help point me in the right direction? Thanks! Tim ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From hvdkooij at vanderkooij.org Tue Nov 25 23:07:52 2008 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Tue, 25 Nov 2008 23:07:52 +0100 Subject: Nagios Monitoring Microsoft SQL Express 2005 In-Reply-To: References: Message-ID: <492C7738.20108@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Martinez, Eduardo [BSD] - ADM wrote: > check_nt -H adm-patches -p 1248 -v SERVICESTATE -l 'MSSQL$MICROSOFT##SSEE' > It report that all services and up and running. However, in the template: > > define service{ > use template > host_name hostname > check_command > check_nt_service!?MSSQL$MICROSOFT##SSEE? > service_description Microsoft SQL Express 2005 > } Nagios uses the $ as special character. So you should escape it in your config file. If memory serves me well it should be $$ for every $ in your definition. Hugo. - -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc A: Yes. >Q: Are you sure? >>A: Because it reverses the logical flow of conversation. >>>Q: Why is top posting frowned upon? Bored? Click on http://spamornot.org/ and rate those images. Nid wyf yn y swyddfa ar hyn o bryd. Anfonwch unrhyw waith i'w gyfieithu. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org iD8DBQFJLHc2BvzDRVjxmYERArOSAJ9GLoy2uXDIqAoeg3soH4esUEaHYwCeMMaO 88fdXPYYA4A23q4xj3LC8n8= =ocGy -----END PGP SIGNATURE----- ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ssimmons at cymfony.com Tue Nov 25 23:30:47 2008 From: ssimmons at cymfony.com (Seth Simmons) Date: Tue, 25 Nov 2008 17:30:47 -0500 Subject: Nagios Monitoring Microsoft SQL Express 2005 In-Reply-To: <492C7738.20108@vanderkooij.org> References: <492C7738.20108@vanderkooij.org> Message-ID: <4881ECF1AB752843908A20CEE07A8EB12145@buf-ex01.cymfony.com> I had tried that initially but didn't work. Using $"$" did work (see my previous post) -----Original Message----- From: Hugo van der Kooij [mailto:hvdkooij at vanderkooij.org] Sent: Tuesday, November 25, 2008 5:08 PM To: Nagios Users Mailinglist Subject: Re: [Nagios-users] Nagios Monitoring Microsoft SQL Express 2005 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Martinez, Eduardo [BSD] - ADM wrote: > check_nt -H adm-patches -p 1248 -v SERVICESTATE -l 'MSSQL$MICROSOFT##SSEE' > It report that all services and up and running. However, in the template: > > define service{ > use template > host_name hostname > check_command > check_nt_service!?MSSQL$MICROSOFT##SSEE? > service_description Microsoft SQL Express 2005 > } Nagios uses the $ as special character. So you should escape it in your config file. If memory serves me well it should be $$ for every $ in your definition. Hugo. - -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc A: Yes. >Q: Are you sure? >>A: Because it reverses the logical flow of conversation. >>>Q: Why is top posting frowned upon? Bored? Click on http://spamornot.org/ and rate those images. Nid wyf yn y swyddfa ar hyn o bryd. Anfonwch unrhyw waith i'w gyfieithu. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org iD8DBQFJLHc2BvzDRVjxmYERArOSAJ9GLoy2uXDIqAoeg3soH4esUEaHYwCeMMaO 88fdXPYYA4A23q4xj3LC8n8= =ocGy -----END PGP SIGNATURE----- ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From atsaloli.tech at gmail.com Tue Nov 25 23:38:17 2008 From: atsaloli.tech at gmail.com (Aleksey Tsalolikhin) Date: Tue, 25 Nov 2008 14:38:17 -0800 Subject: how to get rid of question marks in the status map? Nagios 3.0.5 In-Reply-To: <20081125210929.GT26044@bakgwai.americas.hpqcorp.net> References: <20081125210929.GT26044@bakgwai.americas.hpqcorp.net> Message-ID: Great, that was enough to get me going, thanks, Patrick! Best, Aleksey -- Aleksey Tsalolikhin UNIX System Administrator "I get stuff done!" http://www.lifesurvives.com/ ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From rherban at purdue.edu Wed Nov 26 00:41:47 2008 From: rherban at purdue.edu (Randy Herban) Date: Tue, 25 Nov 2008 18:41:47 -0500 Subject: check_cluster limits Message-ID: <6fc0eeb20811251541n1ad6c7f5p4dd445794450b948@mail.gmail.com> We're trying to setup cluster monitoring with Nagios but I think we've hit a snag. Our biggest cluster is 890 machines and nagios is chopping the list at ~316, probably due to a character limit for check_cluster arguments. We wrote another script to divide the cluster nodes into smaller batches to call check_cluster multiple times and tally the results, but it sums the inputs passed from nagios, it doesn't check the cache itself. It looks like an older version was able to specify status.dat and count directly, but the newest does not. At the moment, the most promising path looks like I should be writing a script to parse status.dat and count states by hand, not pretty but it'll work. Is there something else I'm missing that might be easier? For reference, we maintain research computing clusters, several hundred nodes per cluster are common in our environment. I'm trying to monitor each cluster and start pinging our students at certain thresholds, escalating up to paging admins. Thanks -Randy ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From atsaloli.tech at gmail.com Wed Nov 26 02:29:24 2008 From: atsaloli.tech at gmail.com (Aleksey Tsalolikhin) Date: Tue, 25 Nov 2008 17:29:24 -0800 Subject: Nagios 3.0.5 not playing sounds in my Web browser? How to fix? Message-ID: Hi. So I've installed the sound files from Nagios 2 (critical.wav, warning.wav and hostdown.wav) to my media/ directory, and uncommented the lines in cgi.cfg: host_unreachable_sound=hostdown.wav host_down_sound=hostdown.wav service_critical_sound=critical.wav service_warning_sound=warning.wav service_unknown_sound=warning.wav However when I go to my Nagios web site using Mozilla or IE, I don't hear any beeps even though I have systems in Warning and Critical. Web server log shows the WAV files are being downloaded. So how come the browser isn't beeping? How to make this work, please? Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.4) Gecko/2008102920 Firefox/3.0.4 Best, Aleksey ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From curtislamasters at gmail.com Wed Nov 26 05:20:31 2008 From: curtislamasters at gmail.com (Curtis LaMasters) Date: Tue, 25 Nov 2008 22:20:31 -0600 Subject: nsclient++ nsca and scripts Message-ID: <6b13ab0f0811252020l4756930ax89cc3247b7478c23@mail.gmail.com> I've been searching around plenty for the last 5-6 hours and have not found anything yet. I would like to be able to run scripts on a host (SBS 2003) with nsclient++ installed and report back to my Nagios server. I have tried putting a script into the [NSCA Commands] area but keep getting "Output: 'Command was not found: c:\Windows\system32\cscript.exe'". Any thoughts... Curtis LaMasters http://www.curtis-lamasters.com http://www.builtnetworks.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ae at op5.se Wed Nov 26 06:22:06 2008 From: ae at op5.se (Andreas Ericsson) Date: Wed, 26 Nov 2008 06:22:06 +0100 Subject: nagios errors in system syslog file In-Reply-To: References: Message-ID: <492CDCFE.300@op5.se> Rudy Montemayor wrote: > Nagios Users, > > I have been using nagios for several years and just recently upgraded to > Nagios 3. Since then I have been seeing a lot of nagios messages in the > system's syslog file such as the following: > > syslog: Error: Unable to rename > file '/usr/local/nagios/var/spool/checkresults/checkf08036' > to '/usr/local/nagios/var/spoo > l/checkresults/ca19105': No such file or directory Is this linebreak an artifact of your email client or the actual text as it's written in the logs? > syslog: Warning: Unable to move > file '/usr/local/nagios/var/spool/checkresults/checkf08036' to check results > queue. > > Not sure if this is related but the pid of the nagios process is 8036: > nagios 8036 1 0 12:14:33 ? 2:10 /usr/local/nagios/bin/nagios - > d /usr/local/nagios/etc/nagios.cfg > > Did I configure something incorrectly when I installed Nagios 3? > Perhaps you missed the "what's new" section? -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ae at op5.se Wed Nov 26 06:27:11 2008 From: ae at op5.se (Andreas Ericsson) Date: Wed, 26 Nov 2008 06:27:11 +0100 Subject: Errors after installation In-Reply-To: <003001c94f3b$6fed7eb0$4fc87c10$@com> References: <003001c94f3b$6fed7eb0$4fc87c10$@com> Message-ID: <492CDE2F.6090604@op5.se> Gary Hartl wrote: > Hi all; > > I've installed Nagaios 3.0.3 on a FreeBSD system (6.0-release) sparc64 > Installed from freebsd package tree. > > I copied the sample configs to be used as normal configs and i get the > following errors when i try tofire it up (during the preflight) > > Error: Service check command 'check_local_load' specified in service > 'Current Load' for host 'localhost' not defined anywhere! > Error: Service check command 'check_local_users' specified in service > 'Current Users' for host 'localhost' not defined anywhere! > Error: Service check command 'check_http' specified in service 'HTTP' for > host 'localhost' not defined anywhere! > Error: Service check command 'check_ping' specified in service 'PING' for > host 'localhost' not defined anywhere! > Error: Service check command 'check_local_disk' specified in service 'Root > Partition' for host 'localhost' not defined anywhere! > Error: Service check command 'check_ssh' specified in service 'SSH' for host > 'localhost' not defined anywhere! > Error: Service check command 'check_local_swap' specified in service 'Swap > Usage' for host 'localhost' not defined anywhere! > Error: Service check command 'check_local_procs' specified in service 'Total > Processes' for host 'localhost' not defined anywhere! > > I'm assuming that my localhost.cfg isn't configured correctly but I'm new to > nagios so I couldn't tell ya to begin with. > I have included a copy of my localhost.cfg file below. > > All help appreciated. > http://www.catb.org/~esr/faqs/smart-questions.html http://www.nagios.org/docs/ If you start with the top one, you'll realize why it's vitally important that you read the second link carefully. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ankit.mehrotra at tcs.com Wed Nov 26 06:39:43 2008 From: ankit.mehrotra at tcs.com (ankit.mehrotra at tcs.com) Date: Wed, 26 Nov 2008 11:09:43 +0530 Subject: Problem with NSCA Message-ID: Dear All, We have an NSCA server which is having too many connections in CLOSE_WAIT state. Because of too many connections the NSCA is not responding to the packets coming. Increasing the time out option has not solved the problem :-( How to resolve this issue? Has any one come across this error before? Is there an upper limit to the number of connections NSCA can handle? We are using Nagios 3.0.3 and NSCA 2.7.1 Thanks Ankit Arun Mehrotra Tata Consultancy Services 54, Hadapsar Industrial Estate, Hadapsar, Pune - 411 013,Maharashtra India Ph:- (020)-6608 6254 Buzz:- 420 6254 Cell:- 9881108390 Mailto: ankit.mehrotra at tcs.com Website: http://www.tcs.com ____________________________________________ Experience certainty. IT Services Business Solutions Outsourcing ____________________________________________ =====-----=====-----===== Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ankit.mehrotra at tcs.com Wed Nov 26 06:43:09 2008 From: ankit.mehrotra at tcs.com (ankit.mehrotra at tcs.com) Date: Wed, 26 Nov 2008 11:13:09 +0530 Subject: nsclient++ nsca and scripts In-Reply-To: <492D734A.B47D.0048.0@stgeorge.com.au> References: <6b13ab0f0811252020l4756930ax89cc3247b7478c23@mail.gmail.com> <492D734A.B47D.0048.0@stgeorge.com.au> Message-ID: Hi, I think we dont have to specify the commands in the NSCA file ..... as it is the passive checks that are reported on the NSCA server end. Are you sure that you want to add it in NSCA cfg file? Ankit Arun Mehrotra Tata Consultancy Services 54, Hadapsar Industrial Estate, Hadapsar, Pune - 411 013,Maharashtra India Ph:- (020)-6608 6254 Buzz:- 420 6254 Cell:- 9881108390 Mailto: ankit.mehrotra at tcs.com Website: http://www.tcs.com ____________________________________________ Experience certainty. IT Services Business Solutions Outsourcing ____________________________________________ "Simon Finch" 11/26/2008 10:33 AM To cc Subject Re: [Nagios-users] nsclient++ nsca and scripts >>> "Curtis LaMasters" 26/11/2008 3:20 pm >>> I've been searching around plenty for the last 5-6 hours and have not found anything yet. I would like to be able to run scripts on a host (SBS 2003) with nsclient++ installed and report back to my Nagios server. I have tried putting a script into the [NSCA Commands] area but keep getting "Output: 'Command was not found: c:\Windows\system32\cscript.exe'". Any thoughts... Curtis LaMasters Hi Curtis, cscript.exe is the needed to run the script and nsclient cant find it. Find cscript.exe on your SBS 2003 host and include it in the environment path or fix the path in the NSC.ini file. Regards, Simon Finch ESM Team Leader St.George Bank (Australia) ********************************************************************** ***** IMPORTANT INFORMATION ***** This document should be read only by those persons to whom it is addressed and its content is not intended for use by any other persons. If you have received this message in error, please notify us immediately. Please also destroy and delete the message from your computer. Any unauthorised form of reproduction of this message is strictly prohibited. St George Bank Limited AFSL 240997, Advance Asset Management Limited AFSL 240902, St George Life Limited AFSL 240900, ASGARD Capital Management Limited AFSL 240695 and Securitor Financial Group Limited AFSL 240687 is not liable for the proper and complete transmission of the information contained in this communication, nor for any delay in its receipt. ********************************************************************** ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 ForwardSourceID:NT0002E3FA =====-----=====-----===== Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Thomas.Borger at esg.de Wed Nov 26 06:42:23 2008 From: Thomas.Borger at esg.de (Thomas Borger) Date: Wed, 26 Nov 2008 06:42:23 +0100 Subject: nsclient++ nsca and scripts Message-ID: Hi, First you should enable "NRPEListener.dll" so that NRPE is listen on port 5666 or some ohter port you have been defined. Then you need the section: [NRPE Handlers] and a command alias like: command[check_acronis_image]=c:\windows\system32\cscript.exe //nologo c:\Programme\NSClient++\scripts\check_acronis_image_multiple.vbs Restart NSClient++ service. Then you can use on nagios site the command: /usr/local/nagios/libexec/check_nrpe -H $HOSTNAME -c check_acronis_image Hope this help?! best regards Thomas Borger "Curtis LaMasters" schrieb am 26.11.2008 05:20:31: > I've been searching around plenty for the last 5-6 hours and have not > found anything yet.? I would like to be able to run scripts on a host > (SBS 2003) with nsclient++ installed and report back to my Nagios > server.? I have tried putting a script into the [NSCA Commands] area > but keep getting "Output: 'Command was not found: c: > \Windows\system32\cscript.exe'".? Any thoughts... > > Curtis LaMasters > http://www.curtis-lamasters.com > http://www.builtnetworks.com > > ------------------------------------------------------------------------- > 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=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 __________________________________________________________________________________________________________ ESG Elektroniksystem- und Logistik-GmbH Rechtsform/Legal Form: Gesellschaft mit beschr?nkter Haftung Sitz/Registered Office: M?nchen Handelsregister/Commercial Register: Registergericht M?nchen, HRB 8130 Vorsitzender des Aufsichtsrats/Chairman of the Supervisory Board: Peter Obermark Vorsitzender der Gesch?ftsf?hrung/CEO: Dipl.-Math. Gerhard Schempp, Gesch?ftsf?hrer/Managing Director: Dipl.-Kfm. G?tz Graichen ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Thomas.Borger at esg.de Wed Nov 26 07:10:49 2008 From: Thomas.Borger at esg.de (Thomas Borger) Date: Wed, 26 Nov 2008 07:10:49 +0100 Subject: nsclient++ nsca and scripts Message-ID: Sorry, you're right! I have confused NSCA with NRPE! ;-) But also in NSCA Section in NSC.ini you can define you own commands! Perhaps Curtis has NSCAAgent.dll still commented out?! Thomas > Hi, > > I think we dont have to specify the commands in the NSCA file ..... as > it is the passive checks that are reported on the NSCA server end. > > Are you sure that you want to add it in NSCA cfg file? > > Ankit Arun Mehrotra > Tata Consultancy Services > 54, Hadapsar Industrial Estate, > Hadapsar, > Pune - 411 013,Maharashtra > India > Ph:- (020)-6608 6254 > Buzz:- 420 6254 > Cell:- 9881108390 > Mailto: ankit.mehrotra at tcs.com > Website: http://www.tcs.com > ____________________________________________ > Experience certainty. ? ? ? ?IT Services > ? ? ? ? ? ? ? ? ? ? ? ?Business Solutions > ? ? ? ? ? ? ? ? ? ? ? ?Outsourcing > ____________________________________________ > > "Simon Finch" > > 11/26/2008 10:33 AM > > To > > > > cc > > Subject > > Re: [Nagios-users] nsclient++ nsca and scripts > > >>> "Curtis LaMasters" 26/11/2008 3:20 pm >>> > I've been searching around plenty for the last 5-6 hours and have not > found anything yet. ?I would like to be able to run scripts on a host > (SBS 2003) with nsclient++ installed and report back to my Nagios > server. ?I have tried putting a script into the [NSCA Commands] area > but keep getting "Output: 'Command was not found: c: > \Windows\system32\cscript.exe'". ?Any thoughts... > > Curtis LaMasters > > > Hi Curtis, > > cscript.exe is the needed to run the script and nsclient cant find it. > > Find cscript.exe on your SBS 2003 host and include it in the > environment path or fix the path in the NSC.ini file. > > Regards, > > Simon Finch > ESM Team Leader > St.George Bank (Australia) > > ********************************************************************** > > ***** IMPORTANT INFORMATION ***** > > This document should be read only by those persons to whom it is > > addressed and its content is not intended for use by any other > > persons. If you have received this message in error, please notify > > us immediately. Please also destroy and delete the message from > > your computer. Any unauthorised form of reproduction of this message > > is strictly prohibited. > > > > St George Bank Limited AFSL 240997, Advance Asset Management Limited > > AFSL 240902, St George Life Limited AFSL 240900, ASGARD Capital > Management Limited > > AFSL 240695 and Securitor Financial Group Limited AFSL 240687 is not liable for > > the proper and complete transmission of the information contained in > > this communication, nor for any delay in its receipt. > > ********************************************************************** > > ------------------------------------------------------------------------- > 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=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > ForwardSourceID:NT0002E3FA > > =====-----=====-----===== > Notice: The information contained in this e-mail > message and/or attachments to it may contain > confidential or privileged information. If you are > not the intended recipient, any dissemination, use, > review, distribution, printing or copying of the > information contained in this e-mail message > and/or attachments to it are strictly prohibited. If > you have received this communication in error, > please notify us by reply e-mail or telephone and > immediately and permanently delete the message > and any attachments. Thank you > > ------------------------------------------------------------------------- > 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=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 __________________________________________________________________________________________________________ ESG Elektroniksystem- und Logistik-GmbH Rechtsform/Legal Form: Gesellschaft mit beschr?nkter Haftung Sitz/Registered Office: M?nchen Handelsregister/Commercial Register: Registergericht M?nchen, HRB 8130 Vorsitzender des Aufsichtsrats/Chairman of the Supervisory Board: Peter Obermark Vorsitzender der Gesch?ftsf?hrung/CEO: Dipl.-Math. Gerhard Schempp, Gesch?ftsf?hrer/Managing Director: Dipl.-Kfm. G?tz Graichen ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ae at op5.se Wed Nov 26 07:20:45 2008 From: ae at op5.se (Andreas Ericsson) Date: Wed, 26 Nov 2008 07:20:45 +0100 Subject: send_nsca In-Reply-To: References: Message-ID: <492CEABD.8000206@op5.se> Paul Vaes wrote: > Hello, > > How does send_nsca nows if Encryption is available or not. I don't want to > compile and install the libmcrypt libraries on all servers, as I don't have > compilers available on all servers. On solaris 5.8 for example, I have > installed libmcrypt. So now, I had the idea the copy the libmcrypt.so files > to an other solaris 5.8 server. But send_nsca still says that encryption is > not available although the libmcrypt library files are available. > > I anybody has an idea, this would be great, > The send_nsca binary on the system where you copied libmcrypt.so to lacks the runtime link-reference to the mcrypt library, and the relevant parts of the code that required it are not compiled. You also need to copy the send_nsca binary that works with mcrypt support to get it to work. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From hvdkooij at vanderkooij.org Wed Nov 26 07:34:27 2008 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Wed, 26 Nov 2008 07:34:27 +0100 Subject: Nagios 3.0.5 not playing sounds in my Web browser? How to fix? In-Reply-To: References: Message-ID: <492CEDF3.6060308@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Aleksey Tsalolikhin wrote: > However when I go to my Nagios web site using Mozilla or IE, I don't > hear any beeps even though I have systems in Warning and Critical. > > Web server log shows the WAV files are being downloaded. > > So how come the browser isn't beeping? How to make this work, please? > > Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.4) > Gecko/2008102920 Firefox/3.0.4 That is up to your browser and workstation. Open one of them by hand in your browser and see what happens. Hugo. - -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc A: Yes. >Q: Are you sure? >>A: Because it reverses the logical flow of conversation. >>>Q: Why is top posting frowned upon? Bored? Click on http://spamornot.org/ and rate those images. Nid wyf yn y swyddfa ar hyn o bryd. Anfonwch unrhyw waith i'w gyfieithu. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org iD8DBQFJLO3fBvzDRVjxmYERAnYnAJ9H3U5pKTs+YqhSedejI4Ay9d8R+wCeP8oB uZu5yFsLb8zfoQxru+Xd1C4= =kz4r -----END PGP SIGNATURE----- ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From hvdkooij at vanderkooij.org Wed Nov 26 07:37:08 2008 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Wed, 26 Nov 2008 07:37:08 +0100 Subject: Problem with NSCA In-Reply-To: References: Message-ID: <492CEE94.6070600@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 ankit.mehrotra at tcs.com wrote: > We have an NSCA server which is having too many connections in > CLOSE_WAIT state. > Because of too many connections the NSCA is not responding to the > packets coming. > > Increasing the time out option has not solved the problem :-( It will only make matters worse. If anything you might want to make it shorter. Hugo. - -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc A: Yes. >Q: Are you sure? >>A: Because it reverses the logical flow of conversation. >>>Q: Why is top posting frowned upon? Bored? Click on http://spamornot.org/ and rate those images. Nid wyf yn y swyddfa ar hyn o bryd. Anfonwch unrhyw waith i'w gyfieithu. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org iD8DBQFJLO6SBvzDRVjxmYERAlBiAJwOu/wBbA186HAstdGePjEvF7gZKACfe2VE flr0noASpCDk3pak/CtUOrg= =JB7b -----END PGP SIGNATURE----- ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From s.felici at alpikom.it Wed Nov 26 08:54:33 2008 From: s.felici at alpikom.it (Simone Felici) Date: Wed, 26 Nov 2008 08:54:33 +0100 Subject: Question about host checks In-Reply-To: <492BBF92.7070300@alpikom.it> References: <492BBF92.7070300@alpikom.it> Message-ID: <492D00B9.2080303@alpikom.it> Please help, noone has an idea? Ah, my Nagios version (Nagios 3.0.3). Also why all my hosts are checked more or less every 4 seconds? :( Thank's! simon Simone Felici ha scritto: > Hi to all! > > I'm using nagios for a long time and this is the first time I ask a question... it means until today all is gone > perfectly, great product! > A week ago I've installed 'ndoutils-1.4b7' to log into a MySQL server. > After some days I've seen the table 'nagios_hostchecks' is groving up very fast, its 3 times bigger than > 'nagios_servicechecks' even if I've 688 hosts and 1346 services, also more services than hosts. > Analyzing the content of the 'nagios_hostchecks' table, I've seen It seems Nagios is checking the host status VERY OFTEN. > Also checking the nagios Queue and the "Last Check Time" of my hosts, the date/time is updating every few seconds. > Should not nagios check the host state only on demand when needed? It happens on all my hosts. > I paste an example of one host configuration: > > > host... > > define host { > host_name > alias Windows 2000 Server > address > use host_alarm_A > parents > contact_groups noc-group,tech24h-group > } > > > ...template... > > define host { > name host_alarm_A > process_perf_data 0 > retain_status_information 1 > flap_detection_enabled 0 > retain_nonstatus_information 1 > active_checks_enabled 1 > passive_checks_enabled 0 > check_period 24hx7 > obsess_over_host 0 > check_freshness 0 > check_command check-host-alive > max_check_attempts 2 > event_handler_enabled 0 > notifications_enabled 1 > notification_interval 3600 > notification_period 24hx7 > notification_options d,u,r > register 0 > } > > ...check > > define command { > command_name check-host-alive > command_line /usr/local/nagios/libexec/check_ping -H $HOSTADDRESS$ -w 3000.0,80% -c > 5000.0,100% -p 1 > } > > > Any suggestion? > > Thank's! > > Simon > > ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From MachielR at agilitytech.co.za Wed Nov 26 10:36:39 2008 From: MachielR at agilitytech.co.za (Machiel Richards) Date: Wed, 26 Nov 2008 11:36:39 +0200 Subject: Nagios Notifications incorrectly scheduled Message-ID: <83437EDC1BA9984683B498F1BF2ED27506E4C735EF@CTMAIN.caretech.co.za> Hi All Our Nagios systems are set up to check services every X amount of minutes and to only notify every 120minutes. However, something went wrong on one of our servers during the course of the evening and Nagios started sending notification every minute from 20h00 last night until 09h00 this morning (needless to say thousands of mails and sms's received). Can anybody tell me how the notifications work as clearly the settings does not work at all. Machiel *** Disclaimer *** The information contained in this e-mail is confidential and legally privileged and is intended solely for the addressee and to others who have the authority to receive it. Access to this e-mail by anyone else is unauthorized and as such, any disclosure, copying, distribution or any action taken or omitted in reliance on it is unlawful. If you have received this e-mail in error, please notify the sender immediately. The views expressed in this e-mail are the views of the individual sender and should in no way be construed as the views of the Company. The Company is not liable to ensure that outgoing e-mails are virus-free. The Company is not liable, should information or data, for whatever reason, be corrupted or fail to reach its intended addressee. The Company is not liable for any loss or damage of whatsoever nature and howsoever arising resulting from the opening or the use of the information in this e-mail, including its attachments and links. The sender of this e-mail is subject to and bound by the terms and conditions of Company?s Electronic Communications Usage Policy. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ae at op5.se Wed Nov 26 11:19:50 2008 From: ae at op5.se (Andreas Ericsson) Date: Wed, 26 Nov 2008 11:19:50 +0100 Subject: Nagios 3.0.4 performance issue In-Reply-To: <184E3F696E604341B2D96227FFD0B8C592503D67@dnce02.ent.ti.com> References: <184E3F696E604341B2D96227FFD0B8C5920C7FD0@dnce02.ent.ti.com> <184E3F696E604341B2D96227FFD0B8C5920C8432@dnce02.ent.ti.com> <4923FED0.8040001@op5.se> <184E3F696E604341B2D96227FFD0B8C5920C852F@dnce02.ent.ti.com> <49253145.80203@op5.se> <184E3F696E604341B2D96227FFD0B8C592503C79@dnce02.ent.ti.com> <4925469C.5060406@op5.se> <184E3F696E604341B2D96227FFD0B8C592503D67@dnce02.ent.ti.com> Message-ID: <492D22C6.9020909@op5.se> Alloo, Vincent wrote: > So maybe a bug somewhere. I'm open to help in the debugging effort if needed. Let me know. If you could create a configuration that displays the problem using nagios-3.0.4, and then verifying that the problem still exists in nagios-3.0.5p1 (at http://www.op5.org/src/nagios-3.0.5p1.tar.gz), that would be awesome. I'm afraid I have very little time to work on this, but any nudges in the right direction makes it easier to get more time. > Regards, > > Vincent Alloo > TI France Design Systems Operations Manager > Europe and Middle East IT Services > Texas Instruments France > > E-Mail: v-alloo at ti.com > Phone: +33 4 93 22 26 97 > Mobile: +33 6 82 13 00 80 > > -----Original Message----- > From: Andreas Ericsson [mailto:ae at op5.se] > Sent: Thursday, November 20, 2008 12:15 PM > To: Alloo, Vincent > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Nagios 3.0.4 performance issue > > Alloo, Vincent wrote: >> Adreas, >> I have changed a little bit my configuration, and I can confirm the CPU load is NOT coming from servicedependency but only from the big servicegroup definition. >> I have removed from the conf the servicedependency definition, keeping only the servicegroup definition and association, and my CPU load is huge. By removing the servicegroup, the CPU is back to normal. >> Regards, >> > > That's utterly bizarre. Servicegroups should never (ever) be this > thoroughly examined by Nagios during runtime. They're just nifty > GUI grouping things and syntactic sugar. > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From adesperateuser at googlemail.com Wed Nov 26 12:21:40 2008 From: adesperateuser at googlemail.com (Marcus) Date: Wed, 26 Nov 2008 12:21:40 +0100 Subject: Nagios 3.0.5 not playing sounds in my Web browser? How to fix? In-Reply-To: References: Message-ID: <492D3144.5040003@googlemail.com> Aleksey Tsalolikhin schrieb: > So how come the browser isn't beeping? How to make this work, please? Since you are using Firefox, you should definitely check out the nagios-plugin for Firefox. I think it rocks bigtime , and the sounds work, too :-) http://code.google.com/p/nagioschecker/ Cheers, Marcus ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From mgargiullo at pivotpointsecurity.com Wed Nov 26 13:43:37 2008 From: mgargiullo at pivotpointsecurity.com (Michael Gargiullo) Date: Wed, 26 Nov 2008 07:43:37 -0500 Subject: TimePeriods Message-ID: I need a bit of assistance with time periods. I want to notify/check 24x7 except for a short window when we run reports on the machine and it doesn't respond in a timely manor. Every night we get a bunch of notifications / criticals that the plugins have timed out. I though I had read that this format was proper, but it must not be... we still get critical notifications every night. define timeperiod{ timeperiod_name AllButReporting alias 24 Hours A Day, 7 Days A Week execpt during reporting sunday 00:00-02:15 sunday 03:30-24:00 monday 00:00-02:15 monday 03:30-24:00 tuesday 00:00-02:15 tuesday 03:30-24:00 wednesday 00:00-02:15 wednesday 03:30-24:00 thursday 00:00-02:15 thursday 03:30-24:00 friday 00:00-02:15 friday 03:30-24:00 saturday 00:00-02:15 saturday 03:30-24:00 } Thoughts? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From steve at sliderule.demon.co.uk Wed Nov 26 13:36:38 2008 From: steve at sliderule.demon.co.uk (Steve Burton) Date: Wed, 26 Nov 2008 12:36:38 +0000 Subject: Perl version In-Reply-To: <001501c94f18$0d255690$277003b0$@com> References: <000e01c94e4f$0aa46a60$1fed3f20$@com> <23E7AAD3-2251-4015-86A4-279D17CFE67A@ena.com> <001001c94e87$635cfe00$2a16fa00$@com> <000b01c94f0f$4628c2f0$d27a48d0$@com> <08154544-71E6-45C5-AEFC-64E7D46B6FCB@ena.com> <001501c94f18$0d255690$277003b0$@com> Message-ID: <492D42D6.3050707@sliderule.demon.co.uk> Gary Hartl wrote: >> Netra1#/usr/local/bin/nagios >> /usr/local/bin/nagios: Exec format error. Binary file not executable. >> > > Interesting... I'm not at all familiar with the FreeBSD package system > but the error above indicates to me that you've installed a version of > nagios that's not compatible with your system (i.e. 64bit nagios on > 32bit system or linux version of nagios with no linux binary support > on your system). Is that possible? What is the output of the following > I'm on my umpteenth nagios implementation on FreeBSD and I've never had a problem installing. However, I note that the OS version is old (Legacy Release is 6.3 and Release is 7.0) and I suspect that the package may be newer than the OS and not supported on this version or architecture. I normally use the ports system which will build the application for the installed system. To do so you must first ensure that you have the ports tree installed, see http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/index.html. Then cd /usr/ports/net-mgmt/nagios # for version 3 or cd /usr/ports/net-mgmt/nagios2 # for version 2 or cd /usr/ports/net-mgmt/nagios12 # for version 1.2 then type: make install clean This will either build the correct binaries for your machine or fail if the port is not supported on your architecture. Please note: I have only ever used FreeBSD/nagios on 32 bit intel Intel so YMMV. Steve. ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From fferreira at osiatis.es Wed Nov 26 14:20:48 2008 From: fferreira at osiatis.es (Felipe Ferreira) Date: Wed, 26 Nov 2008 14:20:48 +0100 Subject: NRPE_NT 0.8.0.2/2.0 BUG? In-Reply-To: References: Message-ID: <492D4D30.5060500@osiatis.es> Hello all Nagios people, I believe to have found a problem/bug running the Nagios Plugins Service under Windows 2003. Its a strange problem, but I found the solution, by just change the NRPE_NT Service Account to something else then LocalSystem with ADministrator permissions. Here is what happens root at S:/usr/local/nagios/libexec# ./check_nrpe -H SERVER -t 90 -u -c get_top_mbox -a SERVER 3 2000 4000 *c:\nrpe_nt\plugins\v2\check_mboxsize.wsf(87, 3) Microsoft VBScript runtime error: Subscript out of range: '0' */ After changing the Service user Account :/* *root at S:/usr/local/nagios/libexec# ./check_nrpe -H SERVER -t 90 -u -c get_top_mbox -a SERVER 3 2000 4000 *OK - Alaisso Binco, Sona , 512.00 MB - Johni Amient , 512.00 MB - Punot d'Informa Juve , 379.00 MB The script is quite complex, and I have tried to spit output as wscript.echo , wscript.stdout.write (no help) More details here: http://felipeferreira.net/?p=101 * Anyone knows if a new version will be released? Cheers, Felipe Ferreira -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jpaulus at sourceinterlink.com Wed Nov 26 14:46:47 2008 From: jpaulus at sourceinterlink.com (Paulus, Jake) Date: Wed, 26 Nov 2008 08:46:47 -0500 Subject: Same service, multiple machines w/ individual notification In-Reply-To: <492C6613.6070404@thepushors.com> References: <492C6613.6070404@thepushors.com> Message-ID: <79B77295FBC9F247A32A6C98B67B1E140203567F@srv-1exch01.sourceinterlink.com> > I have a particular service that I want to monitor >across the board but if it alarms on server 1,2,or 3 I want it to send a >notification to a different list than if server 4,5, or 6 alarms. Due to >several reasons (such as reporting the same metric across all servers, >regardless of who supports them) I don't want to have different service >names between servers. Tim: You can define the same service on different hostgroups without a problem...just make sure the hostgroups' members don't overlap. -Jake define hostgroup{ hostgroup_name group1 members host1,host2,host3 ... } define hostgroup{ hostgroup_name group2 members host4,host5,host6 ... } define service{ service_description Disk-Space hostgroup_name group1 contact_groups contact-group-1 ... } define service{ service_description Disk-Space hostgroup_name group2 contact_groups contact-group-2 ... } ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ae at op5.se Wed Nov 26 14:46:53 2008 From: ae at op5.se (Andreas Ericsson) Date: Wed, 26 Nov 2008 14:46:53 +0100 Subject: TimePeriods In-Reply-To: References: Message-ID: <492D534D.4080209@op5.se> Michael Gargiullo wrote: > I need a bit of assistance with time periods. I want to notify/check > 24x7 except for a short window when we run reports on the machine and it > doesn't respond in a timely manor. Every night we get a bunch of > notifications / criticals that the plugins have timed out. > > > > I though I had read that this format was proper, but it must not be... > we still get critical notifications every night. > > > > define timeperiod{ > > timeperiod_name AllButReporting > > alias 24 Hours A Day, 7 Days A Week execpt during > reporting > > sunday 00:00-02:15 > > sunday 03:30-24:00 > You can't specify the same day more than once. This should have been specified as sunday 00:00-02:15,03:30-24:00 in case you wanted to notify around the clock, except for the window between 02:15 and 03:30. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From mgargiullo at pivotpointsecurity.com Wed Nov 26 14:53:17 2008 From: mgargiullo at pivotpointsecurity.com (Michael Gargiullo) Date: Wed, 26 Nov 2008 08:53:17 -0500 Subject: TimePeriods In-Reply-To: <492D534D.4080209@op5.se> References: <492D534D.4080209@op5.se> Message-ID: -----Original Message----- From: Andreas Ericsson [mailto:ae at op5.se] Sent: Wednesday, November 26, 2008 8:47 AM To: Michael Gargiullo Cc: Nagios Mailinglist Subject: Re: [Nagios-users] TimePeriods Michael Gargiullo wrote: > I need a bit of assistance with time periods. I want to notify/check > 24x7 except for a short window when we run reports on the machine and it > doesn't respond in a timely manor. Every night we get a bunch of > notifications / criticals that the plugins have timed out. > > > > I though I had read that this format was proper, but it must not be... > we still get critical notifications every night. > > > > define timeperiod{ > > timeperiod_name AllButReporting > > alias 24 Hours A Day, 7 Days A Week execpt during > reporting > > sunday 00:00-02:15 > > sunday 03:30-24:00 > You can't specify the same day more than once. This should have been specified as sunday 00:00-02:15,03:30-24:00 in case you wanted to notify around the clock, except for the window between 02:15 and 03:30. Ah a comma... Thanks. I must have confused 2 systems. Thanks, Mike ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Wed Nov 26 15:30:57 2008 From: marc at ena.com (Marc Powell) Date: Wed, 26 Nov 2008 08:30:57 -0600 Subject: Nagios Notifications incorrectly scheduled In-Reply-To: <83437EDC1BA9984683B498F1BF2ED27506E4C735EF@CTMAIN.caretech.co.za> References: <83437EDC1BA9984683B498F1BF2ED27506E4C735EF@CTMAIN.caretech.co.za> Message-ID: <87952C96-D6EF-4AF2-A6D8-22D357829861@ena.com> On Nov 26, 2008, at 3:36 AM, Machiel Richards wrote: > Can anybody tell me how the notifications work as > clearly the settings does not work at all. There's a page dedicated to notifications in the documentation. You'll also want to review your service definition to ensure it's set to do what you want. -- Marc ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From alan.mckay at gmail.com Wed Nov 26 15:36:24 2008 From: alan.mckay at gmail.com (Alan McKay) Date: Wed, 26 Nov 2008 09:36:24 -0500 Subject: Same service, multiple machines w/ individual notification In-Reply-To: <79B77295FBC9F247A32A6C98B67B1E140203567F@srv-1exch01.sourceinterlink.com> References: <492C6613.6070404@thepushors.com> <79B77295FBC9F247A32A6C98B67B1E140203567F@srv-1exch01.sourceinterlink.com> Message-ID: <844129e80811260636t6ff8137amcf2db80a6c18299d@mail.gmail.com> Also perhaps not the most efficient way to do it for a big environment, but in my small environment I define each service on a per host basis, and set the notfication in the service definition. I've been doing what you want to do since day one with no issues at all other than that it's a bit of an inefficient config file. -- "I destroy my enemies when I make them my friends" - Abraham Lincoln ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Wed Nov 26 15:44:06 2008 From: marc at ena.com (Marc Powell) Date: Wed, 26 Nov 2008 08:44:06 -0600 Subject: Question about host checks In-Reply-To: <492D00B9.2080303@alpikom.it> References: <492BBF92.7070300@alpikom.it> <492D00B9.2080303@alpikom.it> Message-ID: On Nov 26, 2008, at 1:54 AM, Simone Felici wrote: > > > Please help, noone has an idea? > Ah, my Nagios version (Nagios 3.0.3). > Also why all my hosts are checked more or less every 4 seconds? :( > Thank's! The information provided so far indicates that hosts will only be checked on demand, as you expect. That means, probably, either the information is incorrect or they're being checked on demand. Since the normal interval for actions in nagios is measured in minutes, I'd lean toward the on-demand side of things. Can you post the host definition from status.dat. Can you post relevant log entries for the host and any services on that host near the host checks. You may need to increase your logging options in nagios.cfg. Is the 4 second number in any way significant to your installation? Is your time_interval less than 60? Debug mode is available to you to figure out what's going on. This is almost certainly going to be your best source for resolution. -- Marc ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Wed Nov 26 15:46:16 2008 From: marc at ena.com (Marc Powell) Date: Wed, 26 Nov 2008 08:46:16 -0600 Subject: Same service, multiple machines w/ individual notification In-Reply-To: <844129e80811260636t6ff8137amcf2db80a6c18299d@mail.gmail.com> References: <492C6613.6070404@thepushors.com> <79B77295FBC9F247A32A6C98B67B1E140203567F@srv-1exch01.sourceinterlink.com> <844129e80811260636t6ff8137amcf2db80a6c18299d@mail.gmail.com> Message-ID: <0F688225-96AA-48C1-8530-A8D7A7EDF4D0@ena.com> On Nov 26, 2008, at 8:36 AM, Alan McKay wrote: > Also perhaps not the most efficient way to do it for a big > environment, but in my small environment I define each service on a > per host basis, and set the notfication in the service definition. > I've been doing what you want to do since day one with no issues at > all other than that it's a bit of an inefficient config file. Same here. 6000+ services individually defined (but most of them auto- generated), but I have the flexibility to change anything about them individually on an as-needed basis. -- Marc ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ghartl at gmail.com Wed Nov 26 16:28:00 2008 From: ghartl at gmail.com (Gary Hartl) Date: Wed, 26 Nov 2008 10:28:00 -0500 Subject: Success at last Message-ID: <002701c94fdb$915a82f0$b40f88d0$@com> Ok well I finally got nagios running. I can't even indicate the level of noob that I achieved during the process. Thanks to all who offered information that helped me along. Now to RTFM Cheers, Gary ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marcelo.maia.garcia at googlemail.com Wed Nov 26 17:12:28 2008 From: marcelo.maia.garcia at googlemail.com (Marcelo M. Garcia) Date: Wed, 26 Nov 2008 16:12:28 +0000 Subject: Web interface shows only "localhost" Message-ID: <492D756C.90106@googlemail.com> Hi I installed nagios-3.0.5 (rpmforge) and plugins-1.4.13 (EPEL) in my CentOS-5.2 box. The problem is that web interface only shows "localhost", but when I run "nagios -v nagios.cfg" it scans 3 hosts. Why this could be happening? Thanks Marcelo ==== Checking hosts... Checked 3 hosts. ==== newt (Linux) $more nagios.conf # SAMPLE CONFIG SNIPPETS FOR APACHE WEB SERVER # Last Modified: 11-26-2005 # # This file contains examples of entries that need # to be incorporated into your Apache web server # configuration file. Customize the paths, etc. as # needed to fit your system. ScriptAlias /nagios/cgi-bin "/usr/lib/nagios/cgi" # SSLRequireSSL Options ExecCGI AllowOverride None Order allow,deny Allow from all # Order deny,allow # Deny from all # Allow from 127.0.0.1 AuthName "Nagios Access" AuthType Basic AuthUserFile /etc/nagios/htpasswd.users Require valid-user Alias /nagios "/usr/share/nagios" # SSLRequireSSL Options None AllowOverride None Order allow,deny Allow from all # Order deny,allow # Deny from all # Allow from 127.0.0.1 AuthName "Nagios Access" AuthType Basic AuthUserFile /etc/nagios/htpasswd.users Require valid-user ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Sascha.Runschke at gfkl.com Wed Nov 26 17:26:16 2008 From: Sascha.Runschke at gfkl.com (Sascha.Runschke at gfkl.com) Date: Wed, 26 Nov 2008 17:26:16 +0100 Subject: Antwort: Web interface shows only "localhost" In-Reply-To: <492D756C.90106@googlemail.com> References: <492D756C.90106@googlemail.com> Message-ID: "Marcelo M. Garcia" schrieb am 26.11.2008 17:12:28: > I installed nagios-3.0.5 (rpmforge) and plugins-1.4.13 (EPEL) in my > CentOS-5.2 box. The problem is that web interface only shows > "localhost", but when I run "nagios -v nagios.cfg" it scans 3 hosts. Why > this could be happening? Does the user, which you used to authenticate to the apache, have permission to view the other 2 hosts - that is, is he a contact of those hosts? Regards Sascha -- Sascha Runschke IT-Infrastruktur fon : +49 (201) / 102-1879 fax : +49 (201) / 102-1102105 mobil : +49 (173) / 5419665 GFKL Financial Services AG Vorstand: Dr. Peter J?nsch (Vors.), J?rgen Baltes, Dr. Till Ergenzinger, Dr. Tom Haverkamp Vorsitzender des Aufsichtsrats: Dr. Georg F. Thoma Sitz: Limbecker Platz 1, 45127 Essen, Amtsgericht Essen, HRB 13522 ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From atsaloli.tech at gmail.com Wed Nov 26 20:55:49 2008 From: atsaloli.tech at gmail.com (Aleksey Tsalolikhin) Date: Wed, 26 Nov 2008 11:55:49 -0800 Subject: Nagios 3.0.5 not playing sounds in my Web browser? How to fix? In-Reply-To: <492CEDF3.6060308@vanderkooij.org> References: <492CEDF3.6060308@vanderkooij.org> Message-ID: Hugo: I can open warning.wav in the Web browser by addressing it directly, and the little quicktime plug-in comes up, if I click Play button, it beeps the warning sound. Marcus: I've installed the nagios-plugin for Firefox, and I've configured it, but my Web browser does not look any different... how do I start the plugin? Thanks, Aleksey ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From patrick.morris at hp.com Wed Nov 26 23:06:14 2008 From: patrick.morris at hp.com (Patrick Morris) Date: Wed, 26 Nov 2008 14:06:14 -0800 Subject: Web interface shows only "localhost" In-Reply-To: <492D756C.90106@googlemail.com> References: <492D756C.90106@googlemail.com> Message-ID: <20081126220614.GX26044@bakgwai.americas.hpqcorp.net> On Wed, 26 Nov 2008, Marcelo M. Garcia wrote: > I installed nagios-3.0.5 (rpmforge) and plugins-1.4.13 (EPEL) in my > CentOS-5.2 box. The problem is that web interface only shows > "localhost", but when I run "nagios -v nagios.cfg" it scans 3 hosts. Why > this could be happening? > > Thanks > > Marcelo > ==== > Checking hosts... > Checked 3 hosts. > ==== > > newt (Linux) $more nagios.conf > # SAMPLE CONFIG SNIPPETS FOR APACHE WEB SERVER > # Last Modified: 11-26-2005 > # > # This file contains examples of entries that need > # to be incorporated into your Apache web server > # configuration file. Customize the paths, etc. as > # needed to fit your system. This isn't your Nagios config -- it's part of your Apache config. What does the Nagios config look like? ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From atsaloli.tech at gmail.com Wed Nov 26 23:17:26 2008 From: atsaloli.tech at gmail.com (Aleksey Tsalolikhin) Date: Wed, 26 Nov 2008 14:17:26 -0800 Subject: how to get rid of "Pending" in Status Map? Nagios 3.0.5 Message-ID: Hi. How can I get rid of all the "Pending" labels in my Nagios 3.0.5 statusmap, please? For each host, under "Host State Information" (as returned by extinfo.cgi), it says "This has has not yet been checked, so status information is not available." However I have half a dozen services being checked on this host and they are all green. So how can I get rid of the Pending label in the Status Map, please? Thanks, Aleksey -- Aleksey Tsalolikhin UNIX System Administrator "I get stuff done!" http://www.lifesurvives.com/ ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From patrick.morris at hp.com Wed Nov 26 23:21:20 2008 From: patrick.morris at hp.com (Patrick Morris) Date: Wed, 26 Nov 2008 14:21:20 -0800 Subject: how to get rid of "Pending" in Status Map? Nagios 3.0.5 In-Reply-To: References: Message-ID: <20081126222120.GA26044@bakgwai.americas.hpqcorp.net> On Wed, 26 Nov 2008, Aleksey Tsalolikhin wrote: > Hi. How can I get rid of all the "Pending" labels in my Nagios 3.0.5 > statusmap, please? > > For each host, under "Host State Information" (as returned by > extinfo.cgi), it says > > "This has has not yet been checked, so status information is not available." > > However I have half a dozen services being checked on this host and > they are all green. > > So how can I get rid of the Pending label in the Status Map, please? Force a host check. ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From atsaloli.tech at gmail.com Wed Nov 26 23:48:17 2008 From: atsaloli.tech at gmail.com (Aleksey Tsalolikhin) Date: Wed, 26 Nov 2008 14:48:17 -0800 Subject: how to get rid of "Pending" in Status Map? Nagios 3.0.5 In-Reply-To: <20081126222120.GA26044@bakgwai.americas.hpqcorp.net> References: <20081126222120.GA26044@bakgwai.americas.hpqcorp.net> Message-ID: >> So how can I get rid of the Pending label in the Status Map, please? > > Force a host check. Thanks for your reply, Patrick. I've tried to force a host check, both through the CGI ("Re-schedule the next check of this host") and through the CLI (by writing "[time] SCHEDULE_HOST_CHECK;myhost;time" to nagios.cmd) But it still says Pending. How can I get nagios to do the host check? -- Aleksey Tsalolikhin UNIX System Administrator "I get stuff done!" http://www.lifesurvives.com/ ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From atsaloli.tech at gmail.com Wed Nov 26 23:52:50 2008 From: atsaloli.tech at gmail.com (Aleksey Tsalolikhin) Date: Wed, 26 Nov 2008 14:52:50 -0800 Subject: how to get rid of "Pending" in Status Map? Nagios 3.0.5 In-Reply-To: References: <20081126222120.GA26044@bakgwai.americas.hpqcorp.net> Message-ID: Looking more closely in the Status Map, I can see in the extra (pop-up) information about my host, next check scheduled for 14:51 PM. 14:51 PM comes and goes, and it still says Pending, and now the extra information next check scheduled for 14:56 PM. Aleksey ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From atsaloli.tech at gmail.com Thu Nov 27 00:00:03 2008 From: atsaloli.tech at gmail.com (Aleksey Tsalolikhin) Date: Wed, 26 Nov 2008 15:00:03 -0800 Subject: how to get rid of "Pending" in Status Map? Nagios 3.0.5 In-Reply-To: References: <20081126222120.GA26044@bakgwai.americas.hpqcorp.net> Message-ID: Ok, I am good now, I was missing "check_command check-host-alive" in my host definition; I've added that and I am good now, thanks!! Aleksey ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From atsaloli.tech at gmail.com Thu Nov 27 01:22:15 2008 From: atsaloli.tech at gmail.com (Aleksey Tsalolikhin) Date: Wed, 26 Nov 2008 16:22:15 -0800 Subject: Status map is getting clipped Message-ID: Hi. I am using the default status map (circular, marked up) and my circle is getting clipped on the top and bottom, and on the left and right. It's getting cut off. Is there any way to have a smaller circle but have it be completely inside the square image, please? It's offending my boss's sense of the aesthetics that the circle is getting clipped. :) Thanks, Aleksey (Nagios 3.0.5) -- Aleksey Tsalolikhin UNIX System Administrator "I get stuff done!" http://www.lifesurvives.com/ ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From atsaloli.tech at gmail.com Thu Nov 27 01:24:52 2008 From: atsaloli.tech at gmail.com (Aleksey Tsalolikhin) Date: Wed, 26 Nov 2008 16:24:52 -0800 Subject: How to get rid of targets over root hosts in the Status Map? How to tell Nagios where it lives on the map? Message-ID: Hi. Is there any way to get rid of the targets? We don't need them. And how do I tell Nagios where on the map it is located? -- Aleksey Tsalolikhin UNIX System Administrator "I get stuff done!" http://www.lifesurvives.com/ ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From patrick.morris at hp.com Thu Nov 27 01:28:17 2008 From: patrick.morris at hp.com (Patrick Morris) Date: Wed, 26 Nov 2008 16:28:17 -0800 Subject: How to get rid of targets over root hosts in the Status Map? How to tell Nagios where it lives on the map? In-Reply-To: References: Message-ID: <20081127002817.GC26044@bakgwai.americas.hpqcorp.net> Hi Aleksey! On Thu, 27 Nov 2008, Aleksey Tsalolikhin wrote: > Hi. Is there any way to get rid of the targets? We don't need them. > > And how do I tell Nagios where on the map it is located? http://www.nagios.org/faqs/viewfaq.php?faq_id=81 As for the first question, I don't think you can. ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From amontibello at gmail.com Thu Nov 27 03:59:52 2008 From: amontibello at gmail.com (Anthony Montibello) Date: Wed, 26 Nov 2008 21:59:52 -0500 Subject: NRPE_NT 0.8.0.2/2.0 BUG? In-Reply-To: <492D4D30.5060500@osiatis.es> References: <492D4D30.5060500@osiatis.es> Message-ID: Hi, >From the info you provided (particularly the solution) it sounds like a problem with the windows "RIGHTS" required by the VB script being run rather than a bug with NRPE A few months ago I had a Windows Security Update that forced me to change a service from LocalSystem to NEtwork Service to get it running (maybe due to a similar Windows Subsystem issue) TOny (Author of NC_Net - Windows Monitorin Client) On Wed, Nov 26, 2008 at 8:20 AM, Felipe Ferreira wrote: > Hello all Nagios people, > > I believe to have found a problem/bug running the Nagios Plugins Service > under Windows 2003. > Its a strange problem, but I found the solution, by just change the NRPE_NT > Service Account to something else then LocalSystem > with ADministrator permissions. > Here is what happens > root at S:/usr/local/nagios/libexec# ./check_nrpe -H SERVER -t 90 -u -c > get_top_mbox -a SERVER 3 2000 4000 > *c:\nrpe_nt\plugins\v2\check_mboxsize.wsf(87, 3) Microsoft VBScript > runtime error: Subscript out of range: '0' > ** > After changing the Service user Account :** > *root at S:/usr/local/nagios/libexec# ./check_nrpe -H SERVER -t 90 -u -c > get_top_mbox -a SERVER 3 2000 4000 > *OK - Alaisso Binco, Sona , 512.00 MB - Johni Amient , 512.00 MB - > Punot d'Informa Juve , 379.00 MB > > The script is quite complex, and I have tried to spit output as > wscript.echo , wscript.stdout.write (no help) > > More details here: > http://felipeferreira.net/?p=101 > * > Anyone knows if a new version will be released? > > Cheers, > Felipe Ferreira > > ------------------------------------------------------------------------- > 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=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From adesperateuser at googlemail.com Thu Nov 27 07:17:24 2008 From: adesperateuser at googlemail.com (Marcus) Date: Thu, 27 Nov 2008 07:17:24 +0100 Subject: Nagios 3.0.5 not playing sounds in my Web browser? How to fix? In-Reply-To: References: <492CEDF3.6060308@vanderkooij.org> Message-ID: <492E3B74.4090608@googlemail.com> Aleksey Tsalolikhin schrieb: > Marcus: I've installed the nagios-plugin for Firefox, and I've > configured it, but my Web browser does not look any different... how > do I start the plugin? On the bottom right (in my FF), there is an underlined Nagios-"N" in the bar. Right-click on that icon and set the settings. If there isn't, the plugin might be deactivated. Then activate it on Extras->Add-Ons. Greetz, Marcus ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From clee.hk at gmail.com Thu Nov 27 08:06:36 2008 From: clee.hk at gmail.com (Chris Lee) Date: Thu, 27 Nov 2008 15:06:36 +0800 Subject: Nagios web page refresh rate question Message-ID: Dear All, I found that the nagios web page refresh rate is 90 second by default. Is it possible to change it, for example, to 60 seconds? Thanks a lot, -- Chris ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From mark.elsen at gmail.com Thu Nov 27 09:25:16 2008 From: mark.elsen at gmail.com (Mark Elsen) Date: Thu, 27 Nov 2008 09:25:16 +0100 Subject: Problem disabling notifications - combined with 'Disable for Host Too' Message-ID: Nagios 3.0.5 at Linux 2.6.9-22.ELsmp : ================================ - I recently have the problem that the function 'Disabling notifications for all services on this host' combined with flagging 'Disable for Host Too' is no longer working. This may have started after upgrading to Nagios 3.0.5 , but I am not sure about the exact time frame I started having this problem. I can still do it in 2 steps : Disabling notifications for all services on a host, then disable notifications for the host itself. But the combined option is no longer working for me. What could be the cause of this ? Any remedies ? Tx, M. ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From s.felici at alpikom.it Thu Nov 27 09:36:10 2008 From: s.felici at alpikom.it (Simone Felici) Date: Thu, 27 Nov 2008 09:36:10 +0100 Subject: Question about host checks In-Reply-To: References: <492BBF92.7070300@alpikom.it> <492D00B9.2080303@alpikom.it> Message-ID: <492E5BFA.3060708@alpikom.it> Marc Powell ha scritto: > On Nov 26, 2008, at 1:54 AM, Simone Felici wrote: > >> >> Please help, noone has an idea? >> Ah, my Nagios version (Nagios 3.0.3). >> Also why all my hosts are checked more or less every 4 seconds? :( >> Thank's! > > > The information provided so far indicates that hosts will only be > checked on demand, as you expect. That means, probably, either the > information is incorrect or they're being checked on demand. Since the > normal interval for actions in nagios is measured in minutes, I'd lean > toward the on-demand side of things. > > Can you post the host definition from status.dat. > Can you post relevant log entries for the host and any services on > that host near the host checks. You may need to increase your logging > options in nagios.cfg. > Is the 4 second number in any way significant to your installation? Is > your time_interval less than 60? > Debug mode is available to you to figure out what's going on. This is > almost certainly going to be your best source for resolution. > Good morning. With time_interval do you mean interval_lenght? I've set it to "1". In this way I've set all checks in seconds, because I need for certain services a retry interval of 30seconds. Here additional infos: ######################################## # NAGIOS STATUS FILE # # THIS FILE IS AUTOMATICALLY GENERATED # BY NAGIOS. DO NOT MODIFY THIS FILE! ######################################## <> hoststatus { host_name=<> modified_attributes=3 check_command=check-host-alive check_period=24hx7 notification_period=24hx7 check_interval=5.000000 retry_interval=1.000000 event_handler= has_been_checked=1 should_be_scheduled=1 check_execution_time=0.016 check_latency=12.595 check_type=0 current_state=0 last_hard_state=0 last_event_id=116739 current_event_id=116740 current_problem_id=0 last_problem_id=51304 plugin_output=PING OK - Packet loss = 0%, RTA = 0.65 ms long_plugin_output= performance_data= last_check=1227773285 next_check=1227773291 check_options=0 current_attempt=1 max_attempts=2 current_event_id=116740 last_event_id=116739 state_type=1 last_state_change=1227714561 last_hard_state_change=1227714561 last_time_up=1227773286 last_time_down=1227714537 last_time_unreachable=1215613491 last_notification=0 next_notification=0 no_more_notifications=0 current_notification_number=0 current_notification_id=46804 notifications_enabled=1 problem_has_been_acknowledged=0 acknowledgement_type=0 active_checks_enabled=1 passive_checks_enabled=0 event_handler_enabled=0 flap_detection_enabled=0 failure_prediction_enabled=1 process_performance_data=0 obsess_over_host=0 last_update=1227773300 is_flapping=0 percent_state_change=0.00 scheduled_downtime_depth=0 } <> Then I've enabled debugging (24) and here the result pasting only where I've found the example host. I've written "(..CUT..)" to skip MB of lines not important, referring to other services/hosts (having of course the same problem). (..CUT..) [1227774166.211254] [008.0] [pid=25062] ** Timed Event ** Type: 12, Run Time: Thu Nov 27 09:22:38 2008 [1227774166.211266] [008.0] [pid=25062] ** Host Check Event ==> Host: '<>', Options: 0, Latency: 8.211000 sec [1227774166.211283] [016.0] [pid=25062] Attempting to run scheduled check of host '<>': check options=0, latency=8.211000 [1227774166.211296] [016.0] [pid=25062] ** Running async check of host '<>'... [1227774166.211325] [016.0] [pid=25062] Checking host '<>'... [1227774166.211434] [016.1] [pid=25062] Check result output will be written to '/tmp/checkNmYAPl' (fd=7) [1227774166.229697] [008.1] [pid=25062] ** Event Check Loop [1227774166.229755] [008.1] [pid=25062] Next High Priority Event Time: Thu Nov 27 09:22:47 2008 [1227774166.229771] [008.1] [pid=25062] Next Low Priority Event Time: Thu Nov 27 09:22:38 2008 [1227774166.229781] [008.1] [pid=25062] Current/Max Service Checks: 0/80 [1227774166.229794] [008.1] [pid=25062] Running event... [1227774166.229808] [008.0] [pid=25062] ** Timed Event ** Type: 12, Run Time: Thu Nov 27 09:22:38 2008 (..CUT..) [1227774186.288210] [016.1] [pid=6021] Checking host '<>' for flapping... (..CUT..) [1227774186.433737] [016.1] [pid=6021] Checking service 'DISK-SPACE' on host '<>' for flapping... [1227774186.433749] [016.1] [pid=6021] Service is not flapping (0.00% state change). [1227774186.433894] [016.1] [pid=6021] Checking service 'IMAP' on host '<>' for flapping... [1227774186.433905] [016.1] [pid=6021] Service is not flapping (0.00% state change). [1227774186.434036] [016.1] [pid=6021] Checking service 'MEMORY' on host '<>' for flapping... [1227774186.434047] [016.1] [pid=6021] Service is not flapping (0.00% state change). [1227774186.434179] [016.1] [pid=6021] Checking service 'PING' on host '<>' for flapping... [1227774186.434190] [016.1] [pid=6021] Service is not flapping (0.00% state change). [1227774186.434323] [016.1] [pid=6021] Checking service 'POP3' on host '<>' for flapping... [1227774186.434334] [016.1] [pid=6021] Service is not flapping (0.00% state change). [1227774186.434464] [016.1] [pid=6021] Checking service 'SMTP' on host '<>' for flapping... [1227774186.434475] [016.1] [pid=6021] Service is not flapping (0.00% state change). (..CUT..) [1227774190.773319] [016.1] [pid=6021] Handling check result for host '<>'... [1227774190.773330] [016.1] [pid=6021] ** Handling async check result for host '<>'... [1227774190.773345] [016.1] [pid=6021] HOST: <>, ATTEMPT=1/2, CHECK TYPE=ACTIVE, STATE TYPE=HARD, OLD STATE=0, NEW STATE=0 [1227774190.773372] [016.1] [pid=6021] Host was UP. [1227774190.773382] [016.1] [pid=6021] Host is still UP. [1227774190.773392] [016.1] [pid=6021] Pre-handle_host_state() Host: <>, Attempt=1/2, Type=HARD, Final State=0 [1227774190.773414] [016.1] [pid=6021] Post-handle_host_state() Host: <>, Attempt=1/2, Type=HARD, Final State=0 [1227774190.773430] [016.1] [pid=6021] Checking host '<>' for flapping... [1227774190.773452] [016.1] [pid=6021] Rescheduling next check of host at Thu Nov 27 09:23:15 2008 [1227774190.773481] [016.0] [pid=6021] Scheduling a non-forced, active check of host '<>' @ Thu Nov 27 09:23:15 2008 [1227774190.773500] [016.1] [pid=6021] ** Async check result for host '<>' handled: new state=0 [1227774190.773524] [016.1] [pid=6021] Deleted check result file '/usr/local/nagios/var/spool/checkresults/ctdW9xA' (..CUT..) [1227774197.619431] [008.0] [pid=6021] ** Timed Event ** Type: 12, Run Time: Thu Nov 27 09:23:08 2008 [1227774197.619443] [008.0] [pid=6021] ** Host Check Event ==> Host: '<>', Options: 0, Latency: 9.619000 sec [1227774197.619460] [016.0] [pid=6021] Attempting to run scheduled check of host '<>': check options=0, latency=9.619000 [1227774197.619473] [016.0] [pid=6021] ** Running async check of host '<>'... [1227774197.619504] [016.0] [pid=6021] Checking host '<>'... [1227774197.619601] [016.1] [pid=6021] Check result output will be written to '/tmp/checkICrgKX' (fd=7) [1227774197.636440] [008.1] [pid=6021] ** Event Check Loop [1227774197.636524] [008.1] [pid=6021] Next High Priority Event Time: Thu Nov 27 09:23:18 2008 [1227774197.636544] [008.1] [pid=6021] Next Low Priority Event Time: Thu Nov 27 09:23:08 2008 [1227774197.636558] [008.1] [pid=6021] Current/Max Service Checks: 0/80 [1227774197.636573] [008.1] [pid=6021] Running event... (..CUT..) [1227774198.041822] [016.1] [pid=6021] Handling check result for host '<>'... [1227774198.041833] [016.1] [pid=6021] ** Handling async check result for host '<>'... [1227774198.041851] [016.1] [pid=6021] HOST: <>, ATTEMPT=1/2, CHECK TYPE=ACTIVE, STATE TYPE=HARD, OLD STATE=0, NEW STATE=0 [1227774198.041863] [016.1] [pid=6021] Host was UP. [1227774198.041872] [016.1] [pid=6021] Host is still UP. [1227774198.041881] [016.1] [pid=6021] Pre-handle_host_state() Host: <>, Attempt=1/2, Type=HARD, Final State=0 [1227774198.041893] [016.1] [pid=6021] Post-handle_host_state() Host: <>, Attempt=1/2, Type=HARD, Final State=0 [1227774198.041904] [016.1] [pid=6021] Checking host '<>' for flapping... [1227774198.041933] [016.1] [pid=6021] Rescheduling next check of host at Thu Nov 27 09:23:23 2008 [1227774198.041955] [016.0] [pid=6021] Scheduling a non-forced, active check of host '<>' @ Thu Nov 27 09:23:23 2008 [1227774198.042001] [016.1] [pid=6021] ** Async check result for host '<>' handled: new state=0 [1227774198.042025] [016.1] [pid=6021] Deleted check result file '/usr/local/nagios/var/spool/checkresults/cb (..CUT..) It's enough? Any helps? Thank's!!! Simon ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ian at acces.co.jp Thu Nov 27 09:41:52 2008 From: ian at acces.co.jp (Ian Masters) Date: Thu, 27 Nov 2008 17:41:52 +0900 Subject: Nagios 3.0.5 not playing sounds in my Web browser? How to fix? In-Reply-To: References: <492CEDF3.6060308@vanderkooij.org> Message-ID: <492E5D50.3070902@acces.co.jp> > Marcus: I've installed the nagios-plugin for Firefox, and I've > configured it, but my Web browser does not look any different... how > do I start the plugin? Has the Nagios 'N' icon appeared in the bottom right of Firefox? If not you may need to restart Firefox. You should then be able to right-click on the icon and start Nagios Checker. Hope this helps. Ian -- Nagios 3.0.4 (with plugins v1.4.13) on CentOS 5.2 ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ian at acces.co.jp Thu Nov 27 09:53:47 2008 From: ian at acces.co.jp (Ian Masters) Date: Thu, 27 Nov 2008 17:53:47 +0900 Subject: Nagios web page refresh rate question In-Reply-To: References: Message-ID: <492E601B.9070702@acces.co.jp> > I found that the nagios web page refresh rate is 90 second by default. > Is it possible to change it, for example, to 60 seconds? http://nagios.sourceforge.net/docs/3_0/configcgi.html#refresh_rate See top of page for the file you need to edit. Ian ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Sascha.Runschke at gfkl.com Thu Nov 27 10:18:31 2008 From: Sascha.Runschke at gfkl.com (Sascha.Runschke at gfkl.com) Date: Thu, 27 Nov 2008 10:18:31 +0100 Subject: Antwort: Status map is getting clipped In-Reply-To: References: Message-ID: "Aleksey Tsalolikhin" schrieb am 27.11.2008 01:22:15: > Hi. I am using the default status map (circular, marked up) and my > circle is getting clipped on the top and bottom, and on the left and > right. > > It's getting cut off. Is there any way to have a smaller circle but > have it be completely inside the square image, please? It's > offending my boss's sense of the aesthetics that the circle is getting > clipped. :) The possibilities of the nagios status map are rather limited and it's hard work to adjust all the hosts manually so it doesn't look as stupid as it does if you have a big environment. Check NagVis out. It's a standalone webapplication, which uses NDO as datasource to display the nagios status. It's full configurable and you can place the hosts/services via drag&drop ;-) -> http://www.nagvis.org Regards Sascha -- Sascha Runschke IT-Infrastruktur fon : +49 (201) / 102-1879 fax : +49 (201) / 102-1102105 mobil : +49 (173) / 5419665 GFKL Financial Services AG Vorstand: Dr. Peter J?nsch (Vors.), J?rgen Baltes, Dr. Till Ergenzinger, Dr. Tom Haverkamp Vorsitzender des Aufsichtsrats: Dr. Georg F. Thoma Sitz: Limbecker Platz 1, 45127 Essen, Amtsgericht Essen, HRB 13522 ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From mattias.ryrlen at op5.com Thu Nov 27 10:20:18 2008 From: mattias.ryrlen at op5.com (Mattias =?ISO-8859-1?Q?Ryrl=E9n?=) Date: Thu, 27 Nov 2008 10:20:18 +0100 Subject: NRPE_NT 0.8.0.2/2.0 BUG? In-Reply-To: References: <492D4D30.5060500@osiatis.es> Message-ID: <1227777618.24177.32.camel@mr-laptop> On Wed, 2008-11-26 at 21:59 -0500, Anthony Montibello wrote: > Hi, > > From the info you provided (particularly the solution) > it sounds like a problem with the windows "RIGHTS" required by the VB > script being run rather than a bug with NRPE I must agree to this, when "talking" with a mailserver (in this case) you might need to be some kind of admin authenticated to be able to access the mbox. this can't be done with localsystem (unless you handle it in the code of the script) Best solution is to create a "service account" in your Domain example tk.nrpe and give it the rights needed to "talk" to the mbox. (This is best practice when using custom services in a windows environment btw) Then run NRPE_NT as that user. So not a bug, working as intended, but a script that have some flawes in how it connect to the mbox > > A few months ago I had a Windows Security Update that forced me to > change a service from LocalSystem to NEtwork Service to get it running > (maybe due to a similar Windows Subsystem issue) > > TOny (Author of NC_Net - Windows Monitorin Client) > > On Wed, Nov 26, 2008 at 8:20 AM, Felipe Ferreira > wrote: > Hello all Nagios people, > > I believe to have found a problem/bug running the Nagios > Plugins Service under Windows 2003. > Its a strange problem, but I found the solution, by just > change the NRPE_NT Service Account to something else then > LocalSystem > with ADministrator permissions. > Here is what happens > root at S:/usr/local/nagios/libexec# ./check_nrpe -H SERVER -t 90 > -u -c get_top_mbox -a SERVER 3 2000 4000 > c:\nrpe_nt\plugins\v2\check_mboxsize.wsf(87, 3) Microsoft > VBScript runtime error: Subscript out of range: '0' > > After changing the Service user Account : > root at S:/usr/local/nagios/libexec# ./check_nrpe -H SERVER -t 90 > -u -c get_top_mbox -a SERVER 3 2000 4000 > OK - Alaisso Binco, Sona , 512.00 MB - Johni Amient , > 512.00 MB - Punot d'Informa Juve , 379.00 MB > > The script is quite complex, and I have tried to spit output > as wscript.echo , wscript.stdout.write (no help) > > More details here: > http://felipeferreira.net/?p=101 > > Anyone knows if a new version will be released? > > Cheers, > Felipe Ferreira V?nliga h?lsningar / Best Regards Mattias Ryrl?n __________________________ op5 AB F?rsta L?nggatan 19 SE-413 27 G?teborg Mobil: +46 735-17 70 99 Support: +46 31-774 09 24 www.op5.com ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From MachielR at agilitytech.co.za Thu Nov 27 13:16:47 2008 From: MachielR at agilitytech.co.za (Machiel Richards) Date: Thu, 27 Nov 2008 14:16:47 +0200 Subject: Nagios Notifications incorrectly scheduled In-Reply-To: <87952C96-D6EF-4AF2-A6D8-22D357829861@ena.com> References: <83437EDC1BA9984683B498F1BF2ED27506E4C735EF@CTMAIN.caretech.co.za> <87952C96-D6EF-4AF2-A6D8-22D357829861@ena.com> Message-ID: <83437EDC1BA9984683B498F1BF2ED27506E4C73A22@CTMAIN.caretech.co.za> Hi Marc I have gone through this and I can't seem to find anything wrong. I have checked each service and they were set up to check every 5 minutes, retry every 2 minutes and notify intervals 120minutes. -----Original Message----- From: Marc Powell [mailto:marc at ena.com] Sent: 26 November 2008 04:31 PM To: Nagios-Users Mailinglist Subject: Re: [Nagios-users] Nagios Notifications incorrectly scheduled On Nov 26, 2008, at 3:36 AM, Machiel Richards wrote: > Can anybody tell me how the notifications work as > clearly the settings does not work at all. There's a page dedicated to notifications in the documentation. You'll also want to review your service definition to ensure it's set to do what you want. -- Marc ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 *** Disclaimer *** The information contained in this e-mail is confidential and legally privileged and is intended solely for the addressee and to others who have the authority to receive it. Access to this e-mail by anyone else is unauthorized and as such, any disclosure, copying, distribution or any action taken or omitted in reliance on it is unlawful. If you have received this e-mail in error, please notify the sender immediately. The views expressed in this e-mail are the views of the individual sender and should in no way be construed as the views of the Company. The Company is not liable to ensure that outgoing e-mails are virus-free. The Company is not liable, should information or data, for whatever reason, be corrupted or fail to reach its intended addressee. The Company is not liable for any loss or damage of whatsoever nature and howsoever arising resulting from the opening or the use of the information in this e-mail, including its attachments and links. The sender of this e-mail is subject to and bound by the terms and conditions of Company?s Electronic Communications Usage Policy. -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From livio.zanol.puppim at gmail.com Thu Nov 27 14:01:26 2008 From: livio.zanol.puppim at gmail.com (Livio Zanol Puppim) Date: Thu, 27 Nov 2008 11:01:26 -0200 Subject: Nagios2 to Nagios3 log migration Message-ID: Is there anything I need to do to use the nagios2 previous logs on my new nagios3 installation? Can I just "copy and paste" the log files? Thank you in advance -- []'s L?vio Zanol Puppim -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ae at op5.se Thu Nov 27 14:23:37 2008 From: ae at op5.se (Andreas Ericsson) Date: Thu, 27 Nov 2008 14:23:37 +0100 Subject: Nagios2 to Nagios3 log migration In-Reply-To: References: Message-ID: <492E9F59.3070109@op5.se> Livio Zanol Puppim wrote: > Is there anything I need to do to use the nagios2 previous logs on my new > nagios3 installation? No > Can I just "copy and paste" the log files? > Yes -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From alan.mckay at gmail.com Thu Nov 27 15:49:30 2008 From: alan.mckay at gmail.com (Alan McKay) Date: Thu, 27 Nov 2008 09:49:30 -0500 Subject: new check_ plugin for Linux ethernet interfaces In-Reply-To: <844129e80811250927h62025038m51a093fdfeb39301@mail.gmail.com> References: <844129e80811250726h1896b354n88d079987c524579@mail.gmail.com> <844129e80811250927h62025038m51a093fdfeb39301@mail.gmail.com> Message-ID: <844129e80811270649y78a14b5eh2f5961e164c713f1@mail.gmail.com> I noticed it's getting downloaded - any feedback so far? Is it working OK for you? Is there something else you wish it would do? I can probably add features if I'm convinced they'd be useful. cheers, -Alan -- "I destroy my enemies when I make them my friends" - Abraham Lincoln ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Thu Nov 27 16:16:04 2008 From: marc at ena.com (Marc Powell) Date: Thu, 27 Nov 2008 09:16:04 -0600 Subject: Problem disabling notifications - combined with 'Disable for Host Too' In-Reply-To: References: Message-ID: <3DC781B1-CFF3-4E34-B0F3-53BCE92F1AF2@ena.com> On Nov 27, 2008, at 2:25 AM, Mark Elsen wrote: > Nagios 3.0.5 at Linux 2.6.9-22.ELsmp : > ================================ > > - I recently have the problem that the function 'Disabling > notifications for all services on this host' > But the combined option is no longer working for me. > > What could be the cause of this ? > Any remedies ? It's a known issue discussed most recently in the last week. See the thread "[Nagios-users] Cannot disable individual servers / hosts". -- Marc ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From livio.zanol.puppim at gmail.com Thu Nov 27 16:23:04 2008 From: livio.zanol.puppim at gmail.com (Livio Zanol Puppim) Date: Thu, 27 Nov 2008 13:23:04 -0200 Subject: Nagios2 to Nagios3 log migration In-Reply-To: <492E9F59.3070109@op5.se> References: <492E9F59.3070109@op5.se> Message-ID: Thank you. :) Short and helpful answer. :) 2008/11/27 Andreas Ericsson > Livio Zanol Puppim wrote: > >> Is there anything I need to do to use the nagios2 previous logs on my new >> nagios3 installation? >> > > No > > Can I just "copy and paste" the log files? >> >> > Yes > > > -- > Andreas Ericsson andreas.ericsson at op5.se > OP5 AB www.op5.se > Tel: +46 8-230225 Fax: +46 8-230231 > -- []'s L?vio Zanol Puppim -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From hir3npatel at gmail.com Thu Nov 27 16:23:32 2008 From: hir3npatel at gmail.com (hiren) Date: Thu, 27 Nov 2008 17:23:32 +0200 Subject: new check_ plugin for Linux ethernet interfaces In-Reply-To: <844129e80811270649y78a14b5eh2f5961e164c713f1@mail.gmail.com> References: <844129e80811250726h1896b354n88d079987c524579@mail.gmail.com> <844129e80811250927h62025038m51a093fdfeb39301@mail.gmail.com> <844129e80811270649y78a14b5eh2f5961e164c713f1@mail.gmail.com> Message-ID: <1227799412.26823.44.camel@firebird> On Thu, 2008-11-27 at 09:49 -0500, Alan McKay wrote: > > Is it working OK for you? > Is there something else you wish it would do? I can probably add > features if I'm convinced they'd be useful. does it offer performance data? and will it do more than one interface when invoked once? if so I may have a look at it. thanks for sharing it too. ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ae at op5.se Thu Nov 27 16:25:09 2008 From: ae at op5.se (Andreas Ericsson) Date: Thu, 27 Nov 2008 16:25:09 +0100 Subject: Problem disabling notifications - combined with 'Disable for Host Too' In-Reply-To: References: Message-ID: <492EBBD5.8000409@op5.se> Mark Elsen wrote: > Nagios 3.0.5 at Linux 2.6.9-22.ELsmp : > ================================ > > - I recently have the problem that the function 'Disabling > notifications for all services on this host' > combined with flagging 'Disable for Host Too' is no longer working. > This may have started after upgrading to Nagios 3.0.5 , but I am > not sure about the exact time frame > I started having this problem. > > I can still do it in 2 steps : Disabling notifications for all > services on a host, then disable > notifications for the host itself. > > > But the combined option is no longer working for me. > > What could be the cause of this ? A bug introduced by me when fixing the authorization escalation vulnerability present in Nagios pre 3.0.5. Sorry about that. > Any remedies ? > Install nagios-3.0.5p1 from http://www.op5.org/src/nagios-3.0.5p1.tar.gz, or wait for 3.0.6, which will almost certainly include the fixes in that package. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Thu Nov 27 16:31:41 2008 From: marc at ena.com (Marc Powell) Date: Thu, 27 Nov 2008 09:31:41 -0600 Subject: Nagios Notifications incorrectly scheduled In-Reply-To: <83437EDC1BA9984683B498F1BF2ED27506E4C73A22@CTMAIN.caretech.co.za> References: <83437EDC1BA9984683B498F1BF2ED27506E4C735EF@CTMAIN.caretech.co.za> <87952C96-D6EF-4AF2-A6D8-22D357829861@ena.com> <83437EDC1BA9984683B498F1BF2ED27506E4C73A22@CTMAIN.caretech.co.za> Message-ID: On Nov 27, 2008, at 6:16 AM, Machiel Richards wrote: > Hi Marc > > I have gone through this and I can't seem to find anything wrong. > > I have checked each service and they were set up to check > every 5 minutes, retry every 2 minutes and notify intervals > 120minutes. Well, if you're asking for help figuring it out, you'll need to post config information and log entries. The crystal balls have all been snatched up by the financial industry leaving us poor computer types relying on real data =) There are no known issues related to notifications and we have to assume that nagios is doing what it's been told to do. Nagios version and how installed. OS and version it's running on. Full host/service definitions (from status.dat preferably) Any related escalation definitions. nagios.log entries related to the problem host or service (representative snippet from start of issue) -- Marc ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Thu Nov 27 16:53:38 2008 From: marc at ena.com (Marc Powell) Date: Thu, 27 Nov 2008 09:53:38 -0600 Subject: Question about host checks In-Reply-To: <492E5BFA.3060708@alpikom.it> References: <492BBF92.7070300@alpikom.it> <492D00B9.2080303@alpikom.it> <492E5BFA.3060708@alpikom.it> Message-ID: <9C3E783E-57AD-447C-B2A2-B43D7A93CF81@ena.com> On Nov 27, 2008, at 2:36 AM, Simone Felici wrote: > Good morning. > With time_interval do you mean interval_lenght? I did, sorry about that. > I've set it to "1". In this way I've set all checks in seconds, > because I need for certain services a retry interval of 30seconds. Good to know. > Here additional infos: > > ######################################## > # NAGIOS STATUS FILE > # > # THIS FILE IS AUTOMATICALLY GENERATED > # BY NAGIOS. DO NOT MODIFY THIS FILE! > ######################################## > > <> > > hoststatus { > host_name=<> > modified_attributes=3 > check_command=check-host-alive > check_period=24hx7 > notification_period=24hx7 > check_interval=5.000000 Nagios is configured to check this host every 5 seconds (5 x interval_length). If you meant this to be 5 minutes, the value should be 300. - Marc ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From mattias.ryrlen-5Rr5URSufFE at public.gmane.org Thu Nov 27 17:00:13 2008 From: mattias.ryrlen-5Rr5URSufFE at public.gmane.org (Mattias =?ISO-8859-1?Q?Ryrl=E9n?=) Date: Thu, 27 Nov 2008 17:00:13 +0100 Subject: NagiosPlugin.vbs new framework Message-ID: <1227801613.24177.41.camel@mr-laptop> Hello, I have built a framework to be used with vbscript files and nagios. this is in early stage but it almost works as i would expect it (similar as Nagios::Plugin for perl) you can see the information about it on http://git.op5.org/git/?p=nagios/vbs-plugins.git;a=summary to just download/view the files click "tree" then "raw" on NagiosPlugin.vbs and check_test.vbs for example. you can use git to check-out the whole project with the following command: git clone git://git.op5.org/nagios/vbs-plugins.git Feedback can be sent to list or direct to me :) Example: ' Define what args that should be used np.add_arg "host", "Hostaddress", 1 np.add_arg "warning", "warning threshold", 0 np.add_arg "critical", "critical threshold", 0 np.add_arg "community", "SNMP Community", 1 np.add_arg "variable", "Variable to check, eg CPU", 1 ' If we have no args or arglist contains /help or not all of the required arguments are fulfilled show the usage output,. If Args.Count < 1 Or Args.Exists("help") Or np.parse_args = 0 Then np.Usage End If ' If we define /warning /critical on commandline it should override the script default. If Args.Exists("warning") Then threshold_warning = Args("warning") If Args.Exists("critical") Then threshold_critical = Args("critical") np.set_thresholds threshold_warning, threshold_critical ' Set the msg output to be used (OK/WARNING/CRITICAL/UNKNOWN will be applied automaticly) return_code = np.check_threshold(Args("variable")) msg = "Testing " & Args.Item("host") & " " & np.get_threshold("warning") & " " & np.get_threshold("critical") ' Nice Exit with msg and exitcode np.nagios_exit msg, return_code -- V?nliga h?lsningar / Best Regards Mattias Ryrl?n __________________________ op5 AB F?rsta L?nggatan 19 SE-413 27 G?teborg Mobil: +46 735-17 70 99 Support: +46 31-774 09 24 www.op5.com ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________________ Nagios Plugin Development Mailing List Nagiosplug-devel at lists.sourceforge.net Unsubscribe at https://lists.sourceforge.net/lists/listinfo/nagiosplug-devel ::: Please include plugins version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alan.mckay at gmail.com Thu Nov 27 17:36:24 2008 From: alan.mckay at gmail.com (Alan McKay) Date: Thu, 27 Nov 2008 11:36:24 -0500 Subject: check_users reports back incorrectly Message-ID: <844129e80811270836vaf1526cpd0bd85af751162a2@mail.gmail.com> Hey folks, It seems that check_users does not correctly report the number of people logged on. It reports the number of active sessions which is not at all the same thing. I have a box with 2 users on it, with check_users being called with defaults -w 5 and -c 10. One of the 2 users has 4 sessions, and the other has 1. So I"m getting a warning when I should not be getting one. Is there another plugin which will report this correctly? Or will have have to roll my own? thanks, -Alan -- "I destroy my enemies when I make them my friends" - Abraham Lincoln ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marouane.himdi at kereval.com Thu Nov 27 17:56:19 2008 From: marouane.himdi at kereval.com (Marouane HIMDI) Date: Thu, 27 Nov 2008 17:56:19 +0100 Subject: check_users reports back incorrectly In-Reply-To: <844129e80811270836vaf1526cpd0bd85af751162a2@mail.gmail.com> References: <844129e80811270836vaf1526cpd0bd85af751162a2@mail.gmail.com> Message-ID: <001201c950b1$12433e40$b00aa8c0@pcmhi> Hi Alan Here is mine. Hope this address your need Best regards Dr Marouane HIMDI Ing?nieur R&D/R&D Engineer KEREVAL 4, rue H?l?ne Boucher Z.A. Bellevue 35235 Thorign? Fouillard Tel : +33 (0)2 23 20 36 64 http://www.kereval.com P Pensez ? l'environnement : n'imprimez ce message et ses pi?ces jointes que si n?cessaire ! -----Message d'origine----- De?: Alan McKay [mailto:alan.mckay at gmail.com] Envoy??: jeudi 27 novembre 2008 17:36 ??: Nagios Mailinglist Objet?: [Nagios-users] check_users reports back incorrectly Hey folks, It seems that check_users does not correctly report the number of people logged on. It reports the number of active sessions which is not at all the same thing. I have a box with 2 users on it, with check_users being called with defaults -w 5 and -c 10. One of the 2 users has 4 sessions, and the other has 1. So I"m getting a warning when I should not be getting one. Is there another plugin which will report this correctly? Or will have have to roll my own? thanks, -Alan -- "I destroy my enemies when I make them my friends" - Abraham Lincoln ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 -------------- next part -------------- A non-text attachment was scrubbed... Name: check_Nbusers Type: application/octet-stream Size: 1198 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From s.felici at alpikom.it Thu Nov 27 18:00:07 2008 From: s.felici at alpikom.it (Simone Felici) Date: Thu, 27 Nov 2008 18:00:07 +0100 Subject: Question about host checks In-Reply-To: <9C3E783E-57AD-447C-B2A2-B43D7A93CF81@ena.com> References: <492BBF92.7070300@alpikom.it> <492D00B9.2080303@alpikom.it> <492E5BFA.3060708@alpikom.it> <9C3E783E-57AD-447C-B2A2-B43D7A93CF81@ena.com> Message-ID: <492ED217.3030903@alpikom.it> Marc Powell ha scritto: > On Nov 27, 2008, at 2:36 AM, Simone Felici wrote: > >> Good morning. >> With time_interval do you mean interval_lenght? > > I did, sorry about that. > >> I've set it to "1". In this way I've set all checks in seconds, >> because I need for certain services a retry interval of 30seconds. > > Good to know. > >> Here additional infos: >> >> ######################################## >> # NAGIOS STATUS FILE >> # >> # THIS FILE IS AUTOMATICALLY GENERATED >> # BY NAGIOS. DO NOT MODIFY THIS FILE! >> ######################################## >> >> <> >> >> hoststatus { >> host_name=<> >> modified_attributes=3 >> check_command=check-host-alive >> check_period=24hx7 >> notification_period=24hx7 >> check_interval=5.000000 > > Nagios is configured to check this host every 5 seconds (5 x > interval_length). If you meant this to be 5 minutes, the value should > be 300. > > - > Marc Thank's Marc, but let me understood... Should Nagios perform host checks only if needed? I.e. if a service goes critical or change state? Or are true both questions? Simon ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Thu Nov 27 23:33:43 2008 From: marc at ena.com (Marc Powell) Date: Thu, 27 Nov 2008 16:33:43 -0600 Subject: Question about host checks In-Reply-To: <492ED217.3030903@alpikom.it> References: <492BBF92.7070300@alpikom.it> <492D00B9.2080303@alpikom.it> <492E5BFA.3060708@alpikom.it> <9C3E783E-57AD-447C-B2A2-B43D7A93CF81@ena.com> <492ED217.3030903@alpikom.it> Message-ID: <1CD57679-8960-4EB0-8102-7EB4351FCB54@ena.com> On Nov 27, 2008, at 11:00 AM, Simone Felici wrote: > > Thank's Marc, but let me understood... Should Nagios perform host > checks only if needed? > I.e. if a service goes critical or change state? > Or are true both questions? In your configuration, nagios will do both active and on-demand checks. Nagios will normally do on-demand checks just by specifying 'active_checks_enabled 1'. When you also specified 'check_interval 5', you told nagios that it should perform regularly timed checks of the host as well. If you don't want regularly checks, leave out the check_interval directive entirely. I'm not sure where that's coming from since it wasn't in your original posting of the host definition or template. Was it ever set that way or currently set like that and left out of your original posting? -- Marc ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From clee.hk at gmail.com Fri Nov 28 02:08:38 2008 From: clee.hk at gmail.com (Chris Lee) Date: Fri, 28 Nov 2008 09:08:38 +0800 Subject: Nagios web page refresh rate question In-Reply-To: <492E601B.9070702@acces.co.jp> References: <492E601B.9070702@acces.co.jp> Message-ID: Dear Ian, Thank you very much for the pointer. Regards, -- Chris On Thu, Nov 27, 2008 at 4:53 PM, Ian Masters wrote: >> I found that the nagios web page refresh rate is 90 second by default. >> Is it possible to change it, for example, to 60 seconds? > > http://nagios.sourceforge.net/docs/3_0/configcgi.html#refresh_rate > > See top of page for the file you need to edit. > > Ian > > > ------------------------------------------------------------------------- > 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=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From kenneho.ndu at gmail.com Fri Nov 28 13:00:29 2008 From: kenneho.ndu at gmail.com (Kenneth Holter) Date: Fri, 28 Nov 2008 13:00:29 +0100 Subject: Setting up guest user for nagios Message-ID: Hi. I need to configure a guest account so that anyone in the organization interested in monitoring can log into our Nagios web interface. Setting up the guest user account is a matter of adding the guest user to the required lines in "cgi.bin". What is the recommended practice here? I were thinking I'd add "guest" to each of these lines, but I'm not sure if these leaves the guest user with too much privileges: - authorized_for_system_information=usernagios - authorized_for_configuration_information=usernagios - authorized_for_system_commands=usernagios - authorized_for_all_services=usernagios - authorized_for_all_hosts=usernagios Does anyone have any recommendations on this? Regards, Kenneth -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From nick.lunt at patech-solutions.com Fri Nov 28 12:53:28 2008 From: nick.lunt at patech-solutions.com (Nick Lunt) Date: Fri, 28 Nov 2008 11:53:28 -0000 Subject: Distributed monitoring without direct network connection Message-ID: Hi folks nagios 3.0.5 on RHEL 4u6. We have nagios servers all over the uk and we want to get all alerts from each nagios server to a central nagios server at our main offices. We do not have permanent network connectivity to the remote nagios servers so using NSCA is not an option. Has anyone any idea of how to overcome this problem ? I am thinking of getting the remote nagios servers to send email alerts to an account on the central nagios server then trying to get an alert generated based on the contents of the email, has anyone tried this before ? Or does anyone have any better ideas for solving this problem ? Kind Regards Nick Lunt Managed Services and O/S Analyst Patech Solutions Limited Tel: 01543 444 707 Fax: 01543 444 709 Tame House, Fradley Park, Lichfield, Staffordshire, WS13 8RZ www.patech-solutions.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From s.felici at alpikom.it Fri Nov 28 15:19:57 2008 From: s.felici at alpikom.it (Simone Felici) Date: Fri, 28 Nov 2008 15:19:57 +0100 Subject: Question about host checks In-Reply-To: <1CD57679-8960-4EB0-8102-7EB4351FCB54@ena.com> References: <492BBF92.7070300@alpikom.it> <492D00B9.2080303@alpikom.it> <492E5BFA.3060708@alpikom.it> <9C3E783E-57AD-447C-B2A2-B43D7A93CF81@ena.com> <492ED217.3030903@alpikom.it> <1CD57679-8960-4EB0-8102-7EB4351FCB54@ena.com> Message-ID: <492FFE0D.8000003@alpikom.it> Marc Powell ha scritto: > On Nov 27, 2008, at 11:00 AM, Simone Felici wrote: > >> Thank's Marc, but let me understood... Should Nagios perform host >> checks only if needed? >> I.e. if a service goes critical or change state? >> Or are true both questions? > > In your configuration, nagios will do both active and on-demand > checks. Nagios will normally do on-demand checks just by specifying > 'active_checks_enabled 1'. When you also specified 'check_interval 5', > you told nagios that it should perform regularly timed checks of the > host as well. If you don't want regularly checks, leave out the > check_interval directive entirely. > > I'm not sure where that's coming from since it wasn't in your original > posting of the host definition or template. Was it ever set that way > or currently set like that and left out of your original posting? > > -- > Marc > In my first post I've pasted the configuration from hosts.cfg and hosts_templates.cfg. It means from original configuration. The second post I've pasted the conten of the status file. NOW I've NO IDEA where the check_interval directive is taken. Do you have any idea? Should I set it to "x" seconds to be shure che active check will be done exactly every "x" seconds (example 300)? ...expect, of course, on-demand checks. Because I've no idea where nagios take the check_interval directive from the configuration. Maybe setting it to "0" does the trick? :) Thank's simon ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From assaf.flatto at ssp.uk.com Fri Nov 28 15:20:23 2008 From: assaf.flatto at ssp.uk.com (Assaf Flatto) Date: Fri, 28 Nov 2008 14:20:23 +0000 Subject: Distributed monitoring without direct network connection In-Reply-To: References: Message-ID: <200811281420.24181.assaf.flatto@ssp.uk.com> Try looking at opsview , it is doing what you want with nagios as a component in his setup. http://www.opsview.org/ On Friday 28 November 2008 11:53:28 Nick Lunt wrote: > Hi folks > > > > nagios 3.0.5 on RHEL 4u6. > > > > We have nagios servers all over the uk and we want to get all alerts > from each nagios server to a central nagios server at our main offices. > > We do not have permanent network connectivity to the remote nagios > servers so using NSCA is not an option. > > > > Has anyone any idea of how to overcome this problem ? I am thinking of > getting the remote nagios servers to send email alerts to an account on > the central nagios server then trying to get an alert generated based on > the contents of the email, has anyone tried this before ? > > > > Or does anyone have any better ideas for solving this problem ? > > > > Kind Regards > > Nick Lunt > > Managed Services and O/S Analyst > > Patech Solutions Limited > > Tel: 01543 444 707 > > Fax: 01543 444 709 > > Tame House, Fradley Park, Lichfield, Staffordshire, WS13 8RZ > > www.patech-solutions.com -- Assaf Flatto SSP Ops Team Linux System Administrator 169 Euston Road, London, NW1 2AE 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ton.voon at opsera.com Fri Nov 28 16:35:26 2008 From: ton.voon at opsera.com (Ton Voon) Date: Fri, 28 Nov 2008 15:35:26 +0000 Subject: Distributed monitoring without direct network connection In-Reply-To: <200811281420.24181.assaf.flatto@ssp.uk.com> References: <200811281420.24181.assaf.flatto@ssp.uk.com> Message-ID: <96827B7E-EEC1-4867-90F2-1D19E39D31E1@opsera.com> Thanks for the plug, but Opsview is not really suitable for this. We have distributed monitoring out-of-the-box, but it requires the permanent connection between slaves and the master which Nick says he hasn't got. If you will have temporary connections (that go up and down), we have been thinking whether we can do "batched results from slaves", though this is quite a big job as it requires changes to a lot of components (Nagios, NSCA, NDOutils, and our datawarehouse). Let us know if you fancy sponsoring this work. Otherwise, why can't you just have notifications from the other servers? Do you need to correlate with your central server? Ton On 28 Nov 2008, at 14:20, Assaf Flatto wrote: > > Try looking at opsview , it is doing what you want with nagios as a > component in his setup. > > http://www.opsview.org/ > > > > On Friday 28 November 2008 11:53:28 Nick Lunt wrote: >> Hi folks >> >> >> >> nagios 3.0.5 on RHEL 4u6. >> >> >> >> We have nagios servers all over the uk and we want to get all alerts >> from each nagios server to a central nagios server at our main >> offices. >> >> We do not have permanent network connectivity to the remote nagios >> servers so using NSCA is not an option. >> >> >> >> Has anyone any idea of how to overcome this problem ? I am thinking >> of >> getting the remote nagios servers to send email alerts to an >> account on >> the central nagios server then trying to get an alert generated >> based on >> the contents of the email, has anyone tried this before ? >> >> >> >> Or does anyone have any better ideas for solving this problem ? >> -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From nick.lunt at patech-solutions.com Fri Nov 28 17:00:26 2008 From: nick.lunt at patech-solutions.com (Nick Lunt) Date: Fri, 28 Nov 2008 16:00:26 -0000 Subject: Distributed monitoring without direct networkconnection References: <200811281420.24181.assaf.flatto@ssp.uk.com> <96827B7E-EEC1-4867-90F2-1D19E39D31E1@opsera.com> Message-ID: Hi Ton thanks for the info. It's not that the connections will be up/down it's more that they simply won't be there. Most of our clients are NHS (hospitals) and we have to have a secure vpn connection that we dial into on an as needed basis. We currently just send alerts as emails to our support account, but the company is getting bigger and bigger so monitoring the support inbox is becoming a massive chore. We really want a central nagios server with the web frontend on a big flat screen on the wall :) Im setting up a filter in postfix on the central nagios server so that all emails coming in will go thru the filter, the filter will run a script to call send_nsca. So I'll have nagios clients -> nagios -> send_email -> primary nagios server -> postfix -> mail filter -> send_nsca -> nagios If I get this working I'll treat myself to curry :) From: Ton Voon [mailto:ton.voon at opsera.com] Sent: 28 November 2008 15:35 To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Distributed monitoring without direct networkconnection Thanks for the plug, but Opsview is not really suitable for this. We have distributed monitoring out-of-the-box, but it requires the permanent connection between slaves and the master which Nick says he hasn't got. If you will have temporary connections (that go up and down), we have been thinking whether we can do "batched results from slaves", though this is quite a big job as it requires changes to a lot of components (Nagios, NSCA, NDOutils, and our datawarehouse). Let us know if you fancy sponsoring this work. Otherwise, why can't you just have notifications from the other servers? Do you need to correlate with your central server? Ton -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ton.voon at opsera.com Fri Nov 28 17:19:01 2008 From: ton.voon at opsera.com (Ton Voon) Date: Fri, 28 Nov 2008 16:19:01 +0000 Subject: Distributed monitoring without direct networkconnection In-Reply-To: References: <200811281420.24181.assaf.flatto@ssp.uk.com> <96827B7E-EEC1-4867-90F2-1D19E39D31E1@opsera.com> Message-ID: On 28 Nov 2008, at 16:00, Nick Lunt wrote: > > So I'll have nagios clients -> nagios -> send_email -> primary > nagios server -> postfix -> mail filter -> send_nsca -> nagios > If I get this working I'll treat myself to curry :) You deserve a vindaloo. So basically, you are using email from the disparate nagios systems as a delivery mechanism to send state change data to the master. Can't see why that wouldn't work (its just like getting trap or log event data). Using emails provide you with resilience and retries, though high latency. Better hope there's not a network/email outage! Ton -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From lavalamp at spiritual-machines.org Fri Nov 28 17:39:49 2008 From: lavalamp at spiritual-machines.org (Brian A. Seklecki) Date: Fri, 28 Nov 2008 11:39:49 -0500 (EST) Subject: Distributed monitoring without direct networkconnection In-Reply-To: References: <200811281420.24181.assaf.flatto@ssp.uk.com> <96827B7E-EEC1-4867-90F2-1D19E39D31E1@opsera.com> Message-ID: <20081128113909.T43033@arbitor.digitalfreaks.org> > > If I get this working I'll treat myself to curry :) > Try a coconut milk + pineapple curry. Serve with ginger salad. Little closer to heaven. ~BAS -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From hvdkooij at vanderkooij.org Sat Nov 29 10:53:41 2008 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Sat, 29 Nov 2008 10:53:41 +0100 Subject: Setting up guest user for nagios In-Reply-To: References: Message-ID: <49311125.5010801@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Kenneth Holter wrote: > Hi. > > > I need to configure a guest account so that anyone in the organization > interested in monitoring can log into our Nagios web interface. > > Setting up the guest user account is a matter of adding the guest user > to the required lines in "cgi.bin". What is the recommended practice > here? I were thinking I'd add "guest" to each of these lines, but I'm > not sure if these leaves the guest user with too much privileges: > > > * authorized_for_system_information=usernagios > * authorized_for_configuration_information=usernagios > * authorized_for_system_commands=usernagios So they can now do pretty much shutdown operations? > * authorized_for_all_services=usernagios > * authorized_for_all_hosts=usernagios > > Does anyone have any recommendations on this? I think using nagvis or looking glass or .... seems the better way to add a view only account. Hugo. - -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc A: Yes. >Q: Are you sure? >>A: Because it reverses the logical flow of conversation. >>>Q: Why is top posting frowned upon? Bored? Click on http://spamornot.org/ and rate those images. Nid wyf yn y swyddfa ar hyn o bryd. Anfonwch unrhyw waith i'w gyfieithu. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org iD8DBQFJMREkBvzDRVjxmYERAvi5AJ9zi845wYju2HIVUmHPzrl8IA6uywCeMiOd V4TVW6zIioHLBbOdeTXeyyo= =HrH7 -----END PGP SIGNATURE----- ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From hvdkooij at vanderkooij.org Sat Nov 29 10:58:41 2008 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Sat, 29 Nov 2008 10:58:41 +0100 Subject: Distributed monitoring without direct networkconnection In-Reply-To: References: <200811281420.24181.assaf.flatto@ssp.uk.com> <96827B7E-EEC1-4867-90F2-1D19E39D31E1@opsera.com> Message-ID: <49311251.4020707@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Nick Lunt wrote: > It's not that the connections will be up/down it's more that they simply > won't be there. Most of our clients are NHS (hospitals) and we have to > have a secure vpn connection that we dial into on an as needed basis. > > We currently just send alerts as emails to our support account, but the > company is getting bigger and bigger so monitoring the support inbox is > becoming a massive chore. We really want a central nagios server with > the web frontend on a big flat screen on the wall :) Setup dedicated links. With VPN's this should not cost you an arm and a leg. You try to fix the wrong problem in my view. Hugo. - -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc A: Yes. >Q: Are you sure? >>A: Because it reverses the logical flow of conversation. >>>Q: Why is top posting frowned upon? Bored? Click on http://spamornot.org/ and rate those images. Nid wyf yn y swyddfa ar hyn o bryd. Anfonwch unrhyw waith i'w gyfieithu. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org iD8DBQFJMRJPBvzDRVjxmYERAnwBAJ9rcMw8B6wlRMPJ3aDVdFxRKwBmEgCgqG6d 2NOt2MFHKBW8p8iwJeftv3s= =BX9Z -----END PGP SIGNATURE----- ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ae at op5.se Sat Nov 29 14:51:11 2008 From: ae at op5.se (Andreas Ericsson) Date: Sat, 29 Nov 2008 14:51:11 +0100 Subject: Distributed monitoring without direct networkconnection In-Reply-To: <49311251.4020707@vanderkooij.org> References: <200811281420.24181.assaf.flatto@ssp.uk.com> <96827B7E-EEC1-4867-90F2-1D19E39D31E1@opsera.com> <49311251.4020707@vanderkooij.org> Message-ID: <493148CF.5050109@op5.se> Hugo van der Kooij wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Nick Lunt wrote: > >> It's not that the connections will be up/down it's more that they simply >> won't be there. Most of our clients are NHS (hospitals) and we have to >> have a secure vpn connection that we dial into on an as needed basis. >> >> We currently just send alerts as emails to our support account, but the >> company is getting bigger and bigger so monitoring the support inbox is >> becoming a massive chore. We really want a central nagios server with >> the web frontend on a big flat screen on the wall :) > > Setup dedicated links. With VPN's this should not cost you an arm and a leg. > > You try to fix the wrong problem in my view. > Since the targeted organizations are hospitals, I think it's legal matters rather than competence that make dedicated links a showstopper. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ae at op5.se Sat Nov 29 15:01:16 2008 From: ae at op5.se (Andreas Ericsson) Date: Sat, 29 Nov 2008 15:01:16 +0100 Subject: Distributed monitoring without direct network connection In-Reply-To: References: Message-ID: <49314B2C.8070900@op5.se> Nick Lunt wrote: > Hi folks > > nagios 3.0.5 on RHEL 4u6. > > We have nagios servers all over the uk and we want to get all alerts > from each nagios server to a central nagios server at our main offices. > > We do not have permanent network connectivity to the remote nagios > servers so using NSCA is not an option. > > Has anyone any idea of how to overcome this problem ? Queue the events that were unsendable and send them when it becomes possible. Merlin is designed to handle frequently failing links with sometimes extremely long downtimes (it already does this), but it's not really production level stable yet, so I wouldn't recommend using it for this (unless you're interested in completing it yourself or sponsoring me or op5 to do it for you, ofcourse). More about merlin at http://git.op5.org/git/nagios/merlin.git pnsca, another module available there, can probably be trivially rewritten to stash alerts and whatnot with very good performance. > I am thinking of > getting the remote nagios servers to send email alerts to an account on > the central nagios server then trying to get an alert generated based on > the contents of the email, has anyone tried this before ? > > Or does anyone have any better ideas for solving this problem ? > That depends on what your end-goal is, really. Do you want only one server to send notifications, or do you want your central server to be able to generate reports from the data sent in from the slave systems? If only one server should send notifications, I'd recommend using a solution with lower latency that gathering everything and shipping it as an email. One-way UDP communication would be one solution here, I guess, but it does require the network to be physically present at all times (and there's no failure detection what so ever, as UDP is a fire-and-forget protocol). Merlin would help in this case (although it can't send over UDP yet). If it's for reporting reasons, you'd be better off sending the logfiles as emails when they're being rotated and then merging them together on the master server. That means you can't get *accurate* reports more often than the logs are rotated, but since you'll need to sort-merge them anyways, that's still going to be a problem. Neither merlin nor NSCA can help here, I'm afraid, as entries in the logs would get completely jumbled unless you sort-merge them before taking generating reports from them. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From steve at sliderule.demon.co.uk Sat Nov 29 22:52:01 2008 From: steve at sliderule.demon.co.uk (Steve Burton) Date: Sat, 29 Nov 2008 21:52:01 +0000 Subject: Nagiosgraph graphs have gaps Message-ID: <19010023454.20081129215201@sliderule.demon.co.uk> Hi, I have nagios 3.0.4 running on FreeBSD and I'm using nagiosgraph to generate rrd's on the data. I'm visualizing the data with both nagiosgraph and drraw. My problem is that the graphs have gaps so I guessing that the rrd's are not being updated. I'm concentrating on just one service for debugging and I've run the plugin (which I wrote) from the command-line many times for a local server and I haven't seen it fail to connect or report or to time out. It is as though nagios is not checking the service within the heartbeat of the rrd's in question. I have set the service check interval to 5 minutes, which I believe to be the default nagiosgraph step time and the heartbeat is set to the nagiosgraph default of 600 seconds. Can anyone advise me if if this is likely to be the problem and if not how I can diagnose what is actually going on? Steve. ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From hvdkooij at vanderkooij.org Sun Nov 30 08:43:56 2008 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Sun, 30 Nov 2008 08:43:56 +0100 Subject: Nagiosgraph graphs have gaps In-Reply-To: <19010023454.20081129215201@sliderule.demon.co.uk> References: <19010023454.20081129215201@sliderule.demon.co.uk> Message-ID: <4932443C.2020806@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Steve Burton wrote: > Hi, > > I have nagios 3.0.4 running on FreeBSD and I'm using nagiosgraph to > generate rrd's on the data. I'm visualizing the data with both > nagiosgraph and drraw. > > My problem is that the graphs have gaps so I guessing that the rrd's > are not being updated. I'm concentrating on just one service for > debugging and I've run the plugin (which I wrote) from the > command-line many times for a local server and I haven't seen it fail > to connect or report or to time out. It is as though nagios is not > checking the service within the heartbeat of the rrd's in question. I > have set the service check interval to 5 minutes, which I believe to > be the default nagiosgraph step time and the heartbeat is set to the > nagiosgraph default of 600 seconds. > > Can anyone advise me if if this is likely to be the problem and if not > how I can diagnose what is actually going on? I have put a diagnose on the mailinglist for something that is either the same problem or something similar. The problem is that nagios can send several commands into the pipe at once and the other end will only pick up one of them. So the RRD info is not written. The work around is not to allow Nagios to run things in parallel. But it will severly limit the amount of hosts and services one can check with Nagios. This should have been fixed by using the file interface instead of the named pipe. The file interface was introduced about a year ago or even longer back. Please check the mailinglist archives for more details. Hugo. - -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc A: Yes. >Q: Are you sure? >>A: Because it reverses the logical flow of conversation. >>>Q: Why is top posting frowned upon? Bored? Click on http://spamornot.org/ and rate those images. Nid wyf yn y swyddfa ar hyn o bryd. Anfonwch unrhyw waith i'w gyfieithu. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org iD8DBQFJMkQ7BvzDRVjxmYERAvbnAJ437P/4IPK4y2+YRsNdbVvHaqhj6wCePfVN 8qFj5i9wvSodNJCwjlLjUo8= =ymW7 -----END PGP SIGNATURE----- ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From steve at sliderule.demon.co.uk Sun Nov 30 17:51:28 2008 From: steve at sliderule.demon.co.uk (Steve Burton) Date: Sun, 30 Nov 2008 16:51:28 +0000 Subject: Nagiosgraph graphs have gaps In-Reply-To: <4932443C.2020806@vanderkooij.org> References: <19010023454.20081129215201@sliderule.demon.co.uk> <4932443C.2020806@vanderkooij.org> Message-ID: <1963696421.20081130165128@sliderule.demon.co.uk> > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > Steve Burton wrote: >> Hi, >> >> I have nagios 3.0.4 running on FreeBSD and I'm using nagiosgraph to >> generate rrd's on the data. I'm visualizing the data with both >> nagiosgraph and drraw. >> >> My problem is that the graphs have gaps so I guessing that the rrd's >> are not being updated. I'm concentrating on just one service for >> debugging and I've run the plugin (which I wrote) from the >> command-line many times for a local server and I haven't seen it fail >> to connect or report or to time out. It is as though nagios is not >> checking the service within the heartbeat of the rrd's in question. I >> have set the service check interval to 5 minutes, which I believe to >> be the default nagiosgraph step time and the heartbeat is set to the >> nagiosgraph default of 600 seconds. >> >> Can anyone advise me if if this is likely to be the problem and if not >> how I can diagnose what is actually going on? > I have put a diagnose on the mailinglist for something that is either > the same problem or something similar. > The problem is that nagios can send several commands into the pipe at > once and the other end will only pick up one of them. So the RRD info is > not written. The work around is not to allow Nagios to run things in > parallel. But it will severly limit the amount of hosts and services one > can check with Nagios. > This should have been fixed by using the file interface instead of the > named pipe. The file interface was introduced about a year ago or even > longer back. > Please check the mailinglist archives for more details. > Hugo. Hugo, I have the following in my nagios.cfg # grep service_perfdata ../nagios.cfg|grep -v # service_perfdata_file=/var/spool/nagios/perfdata.log service_perfdata_file_template=$LASTSERVICECHECK$||$HOSTNAME$||$SERVICEDESC$||$SERVICEOUTPUT$||$SERVICEPERFDATA$ service_perfdata_file_mode=a service_perfdata_file_processing_interval=30 service_perfdata_file_processing_command=process-service-perfdata Also, the perfdata.log file size changes with time, all of which seems to suggest to me that I'm using the file interface. Is this correct? Steve. ------------------------------------------------------------------------- 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=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From bradley_mclain at debortoliwines.com Sun Nov 30 23:30:11 2008 From: bradley_mclain at debortoliwines.com (Bradley McLain) Date: Mon, 1 Dec 2008 09:30:11 +1100 Subject: Status dependant on another host Message-ID: <3a1b1f1f0811301430q6bcbf21ai7e181a82b0363838@mail.gmail.com> I currently have two hosts where one acts as a backup for the other and so long as the first is up the second will always be down. What I am looking to do is control the status of the second based on the first and am wondering if this kind of configuration is possible? I tried using a host dependency and host definitions as follows but no luck so far define hostdependency{ dependent_host_name sydisdn host_name sydgw execution_failure_criteria o } define host{ use router host_name sydgw alias sydgw address *.*.*.* hostgroups router,sydney } define host{ use router host_name sydisdn alias sydISDN active_checks_enabled 1 passive_checks_enabled 0 address *.*.*.* hostgroups isdn,sydney I would like to be able to display the status of sydisdn as downtime when sydgw is up and running normally. When the status of sydgw is anything else sydisdn should be monitored to check its status. Any help would be much appreciated. Brad -- Bradley Mclain Systems Administrator Trainee De Bortoli Wines Pty limited De Bortoli Rd, BILBUL NSW 2680 e: bradley_mclain at debortoliwines.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- 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=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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