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=/ ___________