From webknowledge at gmail.com Fri Aug 1 01:44:41 2008 From: webknowledge at gmail.com (Marcel) Date: Thu, 31 Jul 2008 20:44:41 -0300 Subject: SVN Nagios compiling problem on NetBSD Message-ID: <2dfcbd1b0807311644y23ae1b5fkb9494695c23bfbcf@mail.gmail.com> Hello Nagios gurus!! I'm trying to compile nagios at sdf. Here is the trouble: [1]:C/nagios> make all cd ./base && make gcc -g -O2 -I/usr/pkg/include -DHAVE_CONFIG_H -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/lib/glib-2.0/include -DNSCORE -o nagios nagios.c broker.o nebmods.o checks.o config.o commands.o events.o flapping.o logging.o macros-base.o notifications.o sehandlers.o skiplist.o utils.o retention-base.o xretention-base.o comments-base.o xcomments-base.o objects-base.o xobjects-base.o statusdata-base.o xstatusdata-base.o perfdata-base.o xperfdata-base.o downtime-base.o xdowntime-base.o -Wl,-export-dynamic -L/usr/pkg/lib -lm -lpthread -lltdl -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -lglib-2.0 -lintl ld: warning: libintl.so.0, needed by /usr/pkg/lib/libglib-2.0.so, may conflict with libintl.so.3 utils.o(.text+0x5fb8): In function `command_file_worker_thread': /home/nagios/C/nagios/base/utils.c:3816: undefined reference to `pthread__cleanup_push' utils.o(.text+0x5fbc):/home/nagios/C/nagios/base/utils.c:3816: undefined reference to `pthread__cleanup_push' *** Error code 1 Stop. make: stopped in /home/nagios/C/nagios/base *** Error code 1 Stop. make: stopped in /home/nagios/C/nagios [1]:C/nagios> uname -a NetBSD sdf 2.1.0_STABLE NetBSD 2.1.0_STABLE (sdf) #0: Fri Mar 30 02:24:32 UTC 2007 root at ol:/var/sys/arch/alpha/compile/sdf alpha [0]:C/nagios> Can't seem to workaround this. As this host being super-dimensional-fortress lonestar dot org, i can't tweak libs nor anything. Nagios-2.5 compiles fine. Did any of NetBSD sysadmins out-there knows of any way to get svn nagios compiled on NetBSD 2.1? TIA, Marcel -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From garciam at teleline.es Fri Aug 1 09:26:10 2008 From: garciam at teleline.es (Jose Luis Garcia) Date: Fri, 1 Aug 2008 09:26:10 +0200 Subject: New user with nagios 3.0.3 hanging. In-Reply-To: <3a69bc5a0807140030s3f2a68b5vf46dbe322d33fa98@mail.gmail.com> References: <3a69bc5a0807100530o37c0c15bmec65552fd8114aa@mail.gmail.com> <3a69bc5a0807110400o53f0afact9fe9fde0594faee4@mail.gmail.com> <3a69bc5a0807140030s3f2a68b5vf46dbe322d33fa98@mail.gmail.com> Message-ID: <3a69bc5a0808010026m57304e24mf66494d552301722@mail.gmail.com> Hello again, Has anybody else experienced this behaviour? I'm suffering it every few days. Thank you very much Jose Luis 2008/7/14 Jose Luis Garcia > Hello agian, > > I'm experiencing right now the same problem. And I'm trying to doing some > forensic. > > It's working in a 2 CPU system and main daemon is taking one of them. > > With truss I just get many many lines like this > > /2: poll(0xFEF79F88, 1, 500) = 1 > /2: poll(0xFEF79F88, 1, 500) = 1 > /2: poll(0xFEF79F88, 1, 500) = 1 > /2: poll(0xFEF79F88, 1, 500) = 1 > /2: poll(0xFEF79F88, 1, 500) = 1 > /2: poll(0xFEF79F88, 1, 500) = 1 > /2: poll(0xFEF79F88, 1, 500) = 1 > /2: poll(0xFEF79F88, 1, 500) = 1 > /2: poll(0xFEF79F88, 1, 500) = 1 > > And the only pool entry in code is in utill.c, function > > void * command_file_worker_thread(void *arg){ > > And the output (1) match this > > #define EPERM 1 /* Not super-user */ > > But although with this error it should write to nagios.log, nothing is > written. > > I have also checked the external command file > > # ls -l /usr/local/nagios/var/rw/nagios.cmd > prw-rw---- 1 nagios nagcmd 47675 Jul 14 09:08 > /usr/local/nagios/var/rw/nagios.cmd > > And I've seen than this code is the same than in 3.0.1. > > Any idea? > > Trying to stop nagios (/etc/init.d/nagios stop) I can't. I just get > > Warning - nagios did not exit in a timely manner > > And 3 nagios processes are still running. So I had to "kill -9" them > > Thanks a lot > > Jose Luis > > > > 2008/7/11 Jose Luis Garcia : > > >> Hello, >>> >>> My name is Jose Luis and I'm wrinting from Spain. >>> >>> I have recently installed Nagios in a Solaris 9 box. >>> >>> While I was in version 3.0.1, 1 month or so, everything has been working >>> smoothly, but now, with version 3.0.3 Nagios has "hanged" twice (once a week >>> more or less). >>> >>> Nagios daemon is running but neither checks are performed nor external >>> commands processed. So I have to restart it. >>> >>> Anyone else have experienced this behaviour? >>> >>> Any suggestions? We are thinking of setting up a cron check to detect >>> this situation (no entries in nagios.log), but perhaps we are experiencing >>> some kind of bug that should be solved in new releases. >>> >>> Thank you very much indded >>> >>> Jose Luis >>> >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Aug 1 10:13:52 2008 From: melanie_pfefer at yahoo.co.uk (Melanie Pfefer) Date: Fri, 1 Aug 2008 08:13:52 +0000 (GMT) Subject: with-command-group Message-ID: <148869.27116.qm@web26208.mail.ukl.yahoo.com> Hello What is the use of --with-command-group=nagios in the ./configure step? thanks __________________________________________________________ Not happy with your email address?. Get the one you really want - millions of new email addresses available now at Yahoo! http://uk.docs.yahoo.com/ymail/new.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 smcafee at collaborativefusion.com Fri Aug 1 11:54:06 2008 From: smcafee at collaborativefusion.com (Sean McAfee) Date: Fri, 01 Aug 2008 05:54:06 -0400 Subject: with-command-group In-Reply-To: <148869.27116.qm@web26208.mail.ukl.yahoo.com> References: <148869.27116.qm@web26208.mail.ukl.yahoo.com> Message-ID: <4892DD3E.6060302@collaborativefusion.com> Melanie Pfefer wrote: > Hello > > What is the use of --with-command-group=nagios in the ./configure step? > > thanks > > > __________________________________________________________ > Not happy with your email address?. > Get the one you really want - millions of new email addresses available now at Yahoo! http://uk.docs.yahoo.com/ymail/new.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 ./configure --help: --with-command-group= sets group name for command access 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. **************************************************************** ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Aug 1 13:53:07 2008 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Fri, 01 Aug 2008 07:53:07 -0400 Subject: with-command-group In-Reply-To: <4892DD3E.6060302@collaborativefusion.com> References: <148869.27116.qm@web26208.mail.ukl.yahoo.com> <4892DD3E.6060302@collaborativefusion.com> Message-ID: <4892F923.3080209@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 01/08/08 05:54 AM, Sean McAfee wrote: > Melanie Pfefer wrote: >> Hello >> >> What is the use of --with-command-group=nagios in the ./configure step? >> >> thanks >> >> >> __________________________________________________________ >> Not happy with your email address?. >> Get the one you really want - millions of new email addresses available now at Yahoo! http://uk.docs.yahoo.com/ymail/new.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 ./configure --help: > > --with-command-group= sets group name for command access This is normally a group that you put your httpd user in, so that it can write to the Nagios command file. Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIkvkj6dZ+Kt5BchYRAv9qAKDA0E0BgOfswmKkXUimefbng+RMEgCbBh11 N9TDCVJgRCE9EaRjG/zwQ+A= =IpJf -----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 lists at truthisfreedom.org.uk Fri Aug 1 13:59:55 2008 From: lists at truthisfreedom.org.uk (Matthew Macdonald-Wallace) Date: Fri, 1 Aug 2008 12:59:55 +0100 Subject: "Virtual" devices in Nagios2 Message-ID: <20080801125955.3303bbff@tclmmw.in.tiger-computing.com> Hi all, I'm working on setting up a cluster of systems and I'm trying to monitor if a switch is dead or not. Unfortunately, these switches are unmanaged (not even SMTP is available!) therefore I have had to resort to monitoring the bonded interfaces on the servers that connect to the switches and configure the check_bonding.pl script from nagiosexchange to go critical if either of the interfaces drops. I am hoping that I can setup a "virtual" host for the switch based on these checks. Is there a way within Nagios 2 to base an alert on the outcome of more than one check? I want to have an alert fired that the switch is down, but only if more than one server has that interface off-line at the same time. If it's not possible, is there a better way of doing this with the kit that I have, or do I need to upgrade to managed switches? TIA, M. -- Matthew Macdonald-Wallace matthew at truthisfreedom.org.uk http://www.truthisfreedom.org.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 marc at ena.com Fri Aug 1 14:21:21 2008 From: marc at ena.com (Marc Powell) Date: Fri, 1 Aug 2008 07:21:21 -0500 Subject: "Virtual" devices in Nagios2 In-Reply-To: <20080801125955.3303bbff@tclmmw.in.tiger-computing.com> References: <20080801125955.3303bbff@tclmmw.in.tiger-computing.com> Message-ID: On Aug 1, 2008, at 6:59 AM, Matthew Macdonald-Wallace wrote: > Is there a way within Nagios 2 to base an alert on the outcome of more > than one check? I want to have an alert fired that the switch is > down, > but only if more than one server has that interface off-line at the > same time. Treat it as a cluster and you should be good to go. http://nagios.sourceforge.net/docs/3_0/clusters.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 david at blue-labs.org Fri Aug 1 16:13:20 2008 From: david at blue-labs.org (David Ford) Date: Fri, 01 Aug 2008 10:13:20 -0400 Subject: New user with nagios 3.0.3 hanging. In-Reply-To: <3a69bc5a0808010026m57304e24mf66494d552301722@mail.gmail.com> References: <3a69bc5a0807100530o37c0c15bmec65552fd8114aa@mail.gmail.com> <3a69bc5a0807110400o53f0afact9fe9fde0594faee4@mail.gmail.com> <3a69bc5a0807140030s3f2a68b5vf46dbe322d33fa98@mail.gmail.com> <3a69bc5a0808010026m57304e24mf66494d552301722@mail.gmail.com> Message-ID: <48931A00.7020606@blue-labs.org> Do you by chance have a pipe output defined, such as the nagios irc bot? And, is that bot not running on the other side of the pipe to read what is written through the pipe? If you have a pipe defined for an output, 3.x will hang if nothing is reading from the other side of the pipe. -david Jose Luis Garcia wrote: > Hello again, > > Has anybody else experienced this behaviour? > > I'm suffering it every few days. > > Thank you very much > > Jose Luis ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From angeolivier2003 at yahoo.fr Fri Aug 1 16:24:33 2008 From: angeolivier2003 at yahoo.fr (Kermito le kermit) Date: Fri, 1 Aug 2008 14:24:33 +0000 (GMT) Subject: check_ldap compilation Message-ID: <10567.27595.qm@web26104.mail.ukl.yahoo.com> hello all, i want to use check_ldap in plugins of nagios-plugins i make this make check_ldap there are this mistake in compilation make check_ldap if gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I../gl -I../intl -I/usr/local/ssl/include -I/usr/local/ssl/include -g -O2 -MT check_ldap.o -MD -MP -MF ".deps/check_ldap.Tpo" -c -o check_ldap.o check_ldap.c; \ then mv -f ".deps/check_ldap.Tpo" ".deps/check_ldap.Po"; else rm -f ".deps/check_ldap.Tpo"; exit 1; fi check_ldap.c:42:18: error: lber.h: Aucun fichier ou r?pertoire de ce type check_ldap.c:43:18: error: ldap.h: Aucun fichier ou r?pertoire de ce type check_ldap.c: In function 'main': check_ldap.c:86: error: 'LDAP' undeclared (first use in this function) check_ldap.c:86: error: (Each undeclared identifier is reported only once check_ldap.c:86: error: for each function it appears in.) check_ldap.c:86: error: 'ld' undeclared (first use in this function) check_ldap.c:87: error: 'LDAPMessage' undeclared (first use in this function) check_ldap.c:87: error: 'result' undeclared (first use in this function) check_ldap.c:150: error: 'LDAPS_PORT' undeclared (first use in this function) check_ldap.c:194: error: 'LDAP_AUTH_SIMPLE' undeclared (first use in this function) check_ldap.c:195: error: 'LDAP_SUCCESS' undeclared (first use in this function) check_ldap.c:203: error: 'LDAP_SCOPE_BASE' undeclared (first use in this function) check_ldap.c: In function 'process_arguments': check_ldap.c:347: error: 'LDAPS_PORT' undeclared (first use in this function) check_ldap.c: In function 'print_help': check_ldap.c:420: error: 'LDAPS_PORT' undeclared (first use in this function) make: *** [check_ldap.o] Erreur 1 my OS debian 4 plugins nagios 1.4.12 last version of nagios thanks ffor your help _____________________________________________________________________________ Envoyez avec Yahoo! Mail. Une boite mail plus intelligente http://mail.yahoo.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 ck at iphh.net Fri Aug 1 17:05:15 2008 From: ck at iphh.net (Christoph Kluenter) Date: Fri, 1 Aug 2008 17:05:15 +0200 Subject: check_ldap compilation In-Reply-To: <10567.27595.qm@web26104.mail.ukl.yahoo.com> References: <10567.27595.qm@web26104.mail.ukl.yahoo.com> Message-ID: <200808011705.15118.ck@iphh.net> Hi On Friday 01 August 2008 16:24:33 Kermito le kermit wrote: > hello all, > > i want to use check_ldap in plugins of nagios-plugins > > i make this > > make check_ldap there are this mistake in compilation > > > make check_ldap > > if gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. > -I. -I.. -I.. -I../lib -I../gl -I../intl -I/usr/local/ssl/include > -I/usr/local/ssl/include -g -O2 -MT check_ldap.o -MD -MP -MF > ".deps/check_ldap.Tpo" -c -o check_ldap.o check_ldap.c; \ then mv -f > ".deps/check_ldap.Tpo" ".deps/check_ldap.Po"; else rm -f > ".deps/check_ldap.Tpo"; exit 1; fi check_ldap.c:42:18: error: lber.h: Aucun > fichier ou r?pertoire de ce type check_ldap.c:43:18: error: ldap.h: Aucun The files lber.h and ldap.h are missing. Try "apt-get install libldap2-dev" Regards, Christoph > fichier ou r?pertoire de ce type check_ldap.c: In function 'main': > check_ldap.c:86: error: 'LDAP' undeclared (first use in this function) > check_ldap.c:86: error: (Each undeclared identifier is reported only once > check_ldap.c:86: error: for each function it appears in.) > check_ldap.c:86: error: 'ld' undeclared (first use in this function) > check_ldap.c:87: error: 'LDAPMessage' undeclared (first use in this > function) check_ldap.c:87: error: 'result' undeclared (first use in this > function) check_ldap.c:150: error: 'LDAPS_PORT' undeclared (first use in > this function) check_ldap.c:194: error: 'LDAP_AUTH_SIMPLE' undeclared > (first use in this function) check_ldap.c:195: error: 'LDAP_SUCCESS' > undeclared (first use in this function) check_ldap.c:203: error: > 'LDAP_SCOPE_BASE' undeclared (first use in this function) check_ldap.c: In > function 'process_arguments': > check_ldap.c:347: error: 'LDAPS_PORT' undeclared (first use in this > function) check_ldap.c: In function 'print_help': > check_ldap.c:420: error: 'LDAPS_PORT' undeclared (first use in this > function) make: *** [check_ldap.o] Erreur 1 > > > my OS debian 4 > > plugins nagios 1.4.12 > > last version of nagios > > > > thanks ffor your help > > > > ___________________________________________________________________________ >__ Envoyez avec Yahoo! Mail. Une boite mail plus intelligente > http://mail.yahoo.fr -- Christoph Kluenter E-Mail: ck at iphh.net Technik Tel: +49 (0)40 374919-10 IPHH Internet Port Hamburg GmbH Fax: +49 (0)40 374919-29 Grosse Reichenstrasse 27 AG Hamburg, HRB 76071 D-20457 Hamburg Geschaeftsfuehrung: Axel G. Kroeger ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jonathan.williams at us.g4s.com Fri Aug 1 17:25:31 2008 From: jonathan.williams at us.g4s.com (Jonathan Williams) Date: Fri, 1 Aug 2008 08:25:31 -0700 Subject: Help - I am unable to send notifications In-Reply-To: <20080724170119.GA359@cgi.jachomes.com> References: <1216751758.1792.22.camel@LOOKINIUM><6C0AFDE8AAE2FC4F9AA957B32F6A6B1FA41BB2@EMAIL01.CORPORATE.VOX.NET> <20080724170119.GA359@cgi.jachomes.com> Message-ID: Just wanted to say notifications are now working as are the service restarts (another I had earlier). I couldn't have done it without help and support from the community at large out there. Thanks to everyone for taking time out of their busy schedules to assist and answer my questions. Jon -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Jay R. Ashworth Sent: Thursday, July 24, 2008 10:01 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Help - I am unable to send notifications On Tue, Jul 22, 2008 at 05:06:22PM -0400, Fulton, David wrote: > As Marc broke down the sed line I will break down the line above, the # > character is indeed a comment character, but only to PERL. PERL is not > what tries to load the file initially, the shell tries to load the file > as a compiled program(like /bin/ls is the compiled program that lists > the files in a directory: I ran this on my nagios server as an example): The actual interpretation of a sh-bang line is usually done by the general loader, which is to say exec(3) (I think that's the distinction between exec(2) and exec(3)); if the sh-bang line doesn't call a shell, one is not involved. But I suppose you may have meant "the interactive shell you're talking to"... Cheers, -- jra -- Jay R. Ashworth Baylink jra at baylink.com Designer The Things I Think RFC 2100 Ashworth & Associates http://baylink.pitas.com '87 e24 St Petersburg FL USA http://photo.imageinc.us +1 727 647 1274 Those who cast the vote decide nothing. Those who count the vote decide everything. -- (Josef Stalin) ------------------------------------------------------------------------ - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 leosilva at tse.gov.br Fri Aug 1 16:41:57 2008 From: leosilva at tse.gov.br (leosilva at tse.gov.br) Date: Fri, 01 Aug 2008 11:41:57 -0300 Subject: Email Notificationn Message-ID: <20080801114157.rx35gsv5448cswwk@webmail.tse.gov.br> Hi I have nagios version 3.0b7 configured in a debian machine with postfix installed, and my nagios stop to send email notification, if i try to send a email from prompt its go correct but the emails from nagios dont go. In /nagios/var/nagios.log i have: [1217600284] SERVICE NOTIFICATION: leandro;Teste253;SSH;OK;notify-service-by-email;SSH OK - OpenSSH_4.3p2 Debian-9etch2 (protocol 2.0) but in /var/log/mail.log i dont have any register from this email. Anyone can helpme?? Leandro ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From crashergs at gmail.com Fri Aug 1 20:29:37 2008 From: crashergs at gmail.com (Mario Gamez) Date: Fri, 1 Aug 2008 11:29:37 -0700 Subject: Is there instructions to install plugins? Message-ID: <7f2768710808011129l3c0480dck6499316a5bf4bd67@mail.gmail.com> nagios community, I'm new to nagios and I do not fully understand how to install nagios plugins. I have configured a couple of servers with the default plugins, and I would like to configure check_ad plugin with out windows 2003 PDC. Can anyone provide me with insight? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From weinerm at ccf.org Fri Aug 1 21:25:00 2008 From: weinerm at ccf.org (Michael Weiner) Date: Fri, 1 Aug 2008 15:25:00 -0400 Subject: NagiosWeb Message-ID: Has anyone rewritten nagiosweb over to work with nagios 3 ? I have it installed on a 2.12 server and rather like its functionality and would love to see it work with 3 but it doesnt look like the author has been that active in the project. Thanks in advance Michael Weiner ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From phuk.yu2007 at gmail.com Fri Aug 1 21:54:38 2008 From: phuk.yu2007 at gmail.com (Phuk Yu) Date: Fri, 1 Aug 2008 15:54:38 -0400 Subject: Is there instructions to install plugins? In-Reply-To: <7f2768710808011129l3c0480dck6499316a5bf4bd67@mail.gmail.com> References: <7f2768710808011129l3c0480dck6499316a5bf4bd67@mail.gmail.com> Message-ID: http://itefix.no/download/check_ad-1.3.zip and the readme file is pretty self explanation. On Fri, Aug 1, 2008 at 2:29 PM, Mario Gamez wrote: > nagios community, > > I'm new to nagios and I do not fully understand how to install nagios > plugins. I have configured a couple of servers with the default plugins, and > I would like to configure check_ad plugin with out windows 2003 PDC. Can > anyone provide me with insight? > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 amontibello at gmail.com Fri Aug 1 23:41:36 2008 From: amontibello at gmail.com (Anthony Montibello) Date: Fri, 1 Aug 2008 17:41:36 -0400 Subject: Help - I am unable to send notifications In-Reply-To: References: <1216751758.1792.22.camel@LOOKINIUM> <6C0AFDE8AAE2FC4F9AA957B32F6A6B1FA41BB2@EMAIL01.CORPORATE.VOX.NET> <20080724170119.GA359@cgi.jachomes.com> Message-ID: hi, Good to hear this is resolved, Any chance you could send a summay as to how you got it running or as to what the issue enountered were? Tony (Author of NC_NEt) On Fri, Aug 1, 2008 at 11:25 AM, Jonathan Williams < jonathan.williams at us.g4s.com> wrote: > Just wanted to say notifications are now working as are the service > restarts (another I had earlier). I couldn't have done it without help > and support from the community at large out there. Thanks to everyone > for taking time out of their busy schedules to assist and answer my > questions. > > Jon > > > > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Jay R. > Ashworth > Sent: Thursday, July 24, 2008 10:01 AM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Help - I am unable to send notifications > > On Tue, Jul 22, 2008 at 05:06:22PM -0400, Fulton, David wrote: > > As Marc broke down the sed line I will break down the line above, the > # > > character is indeed a comment character, but only to PERL. PERL is not > > what tries to load the file initially, the shell tries to load the > file > > as a compiled program(like /bin/ls is the compiled program that lists > > the files in a directory: I ran this on my nagios server as an > example): > > > The actual interpretation of a sh-bang line is usually done by the > general loader, which is to say exec(3) (I think that's the distinction > between exec(2) and exec(3)); if the sh-bang line doesn't call a shell, > one is not involved. > > > But I suppose you may have meant "the interactive shell you're talking > to"... > > Cheers, > -- jra > -- > Jay R. Ashworth Baylink > jra at baylink.com > Designer The Things I Think > RFC 2100 > Ashworth & Associates http://baylink.pitas.com > '87 e24 > St Petersburg FL USA http://photo.imageinc.us +1 727 > 647 1274 > > Those who cast the vote decide nothing. > Those who count the vote decide everything. > -- (Josef Stalin) > > ------------------------------------------------------------------------ > - > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the > world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From abhishek.dhamija at gmail.com Sat Aug 2 00:06:35 2008 From: abhishek.dhamija at gmail.com (Abhishek Dhamija) Date: Fri, 1 Aug 2008 15:06:35 -0700 Subject: NRPE and NagiosGraph Message-ID: Hi I am very new at Nagios and am overwhelmed with the amount of options that Nagios provides. I am currently monitoring few Solaris 10 boxes remotely from an Ubuntu Desktop using NRPE and have written few basic plugins for them. Now, i want to generate graphs like cacti for them. I want to know how can i get data from NRPE and generate graphs using nagiosgrapher. All the tutorials i came across do not mention NRPE. Can anyone point out any links or tutorials for the same or comment on how to go about it. As per the articles i read on the internet nagiosgraph is a good choice. I am open to other tools as well. Kindly help. Thank you, AbkDj -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From owen.m.lagarde at usace.army.mil Sat Aug 2 00:28:29 2008 From: owen.m.lagarde at usace.army.mil (Owen LaGarde) Date: Fri, 01 Aug 2008 17:28:29 -0500 Subject: How to cause downtime inheritance from host to service? In-Reply-To: References: Message-ID: <1217629710.14366.34.camel@gilgamesh.erdc.hpc.mil> Is there no way to enter downtime but once for each host and once again for each service on that host? How about adding another pulldown to the extcmd cgi for host downtime, under the "Child Hosts" one, that applied to services on the indicated host rather than children of the indicated host? For that matter, how about a checkbox on the downtime form to disable service checks associated with the indicated host (I can easily see cases where, during downtime, you'd not want to have Nagios continue to probe a host with service checks in addition to not notifying if there was a problem). Does this sound like a useful addition to anyone? -- Sincerely, Owen LaGarde Senior Systems Administrator Owen.M.LaGarde at usace.army.mil 1-800-522-6937 x4879 Engineering Research and Development Center attn: CEERD-IH-C (Owen LaGarde) 3909 Halls Ferry Road Vicksburg, MS 39180-6199 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 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 jonathan.williams at us.g4s.com Sat Aug 2 00:30:53 2008 From: jonathan.williams at us.g4s.com (Jonathan Williams) Date: Fri, 1 Aug 2008 15:30:53 -0700 Subject: Help - I am unable to send notifications In-Reply-To: References: <1216751758.1792.22.camel@LOOKINIUM> <6C0AFDE8AAE2FC4F9AA957B32F6A6B1FA41BB2@EMAIL01.CORPORATE.VOX.NET> <20080724170119.GA359@cgi.jachomes.com> Message-ID: Sure, the issues encountered were pretty well documented in the thread. Basically it was an error with a return code of 136 when trying to send the notification. The app I was using was a Perl script send_mail.pl that was using #!/usr/bin/perl -w. To be honest we never fixed that specific issue. We ended up installing net-qmail and using it as an MTA and sending mail out directly using printf. Basically default Nagios commands.cfg file. That solution worked very well. Jon ________________________________ From: Anthony Montibello [mailto:amontibello at gmail.com] Sent: Friday, August 01, 2008 2:42 PM To: Jonathan Williams; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Help - I am unable to send notifications hi, Good to hear this is resolved, Any chance you could send a summay as to how you got it running or as to what the issue enountered were? Tony (Author of NC_NEt) On Fri, Aug 1, 2008 at 11:25 AM, Jonathan Williams wrote: Just wanted to say notifications are now working as are the service restarts (another I had earlier). I couldn't have done it without help and support from the community at large out there. Thanks to everyone for taking time out of their busy schedules to assist and answer my questions. Jon -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Jay R. Ashworth Sent: Thursday, July 24, 2008 10:01 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Help - I am unable to send notifications On Tue, Jul 22, 2008 at 05:06:22PM -0400, Fulton, David wrote: > As Marc broke down the sed line I will break down the line above, the # > character is indeed a comment character, but only to PERL. PERL is not > what tries to load the file initially, the shell tries to load the file > as a compiled program(like /bin/ls is the compiled program that lists > the files in a directory: I ran this on my nagios server as an example): The actual interpretation of a sh-bang line is usually done by the general loader, which is to say exec(3) (I think that's the distinction between exec(2) and exec(3)); if the sh-bang line doesn't call a shell, one is not involved. But I suppose you may have meant "the interactive shell you're talking to"... Cheers, -- jra -- Jay R. Ashworth Baylink jra at baylink.com Designer The Things I Think RFC 2100 Ashworth & Associates http://baylink.pitas.com '87 e24 St Petersburg FL USA http://photo.imageinc.us +1 727 647 1274 Those who cast the vote decide nothing. Those who count the vote decide everything. -- (Josef Stalin) ------------------------------------------------------------------------ - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dermoth at aei.ca Sat Aug 2 01:06:20 2008 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Fri, 01 Aug 2008 19:06:20 -0400 Subject: [Nagios-devel] NRPE and NagiosGraph In-Reply-To: References: Message-ID: <489396EC.3060402@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 01/08/08 06:06 PM, Abhishek Dhamija wrote: > Hi > > I am very new at Nagios and am overwhelmed with the amount of options Hi, Please do not cross-post to multiple mailing lists; especially NOT to 4 mailing lists at the same time! Thank you, Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIk5bs6dZ+Kt5BchYRAif8AKCtuGR72MrQB69jzfhW0tvwdvm1fgCfVepz brbsobjp+1Qh42kCbcaBmqc= =2pB6 -----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 Aug 3 19:28:28 2008 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Sun, 03 Aug 2008 19:28:28 +0200 Subject: feature request: Service used as Host check Message-ID: <4895EABC.2070409@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, It seems some of us could just do with a config where we appoint a service check as being a host check. So if I define the service PING and use check_icmp on there I might as well derive the host state from the service instead of duplicating this check into the host definition. Would it be possible to add the option sometime in the future to just point to a service check on the host and let that result also count as the host status? 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) iD8DBQFIleq7BvzDRVjxmYERAnFiAKCCakZlNAf3o33JIVnSiaP5iGRduwCeK2eZ ECSBT4HaCh801nJ/IheeJLo= =59zR -----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 Aug 3 19:31:44 2008 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Sun, 03 Aug 2008 19:31:44 +0200 Subject: Email Notificationn In-Reply-To: <20080801114157.rx35gsv5448cswwk@webmail.tse.gov.br> References: <20080801114157.rx35gsv5448cswwk@webmail.tse.gov.br> Message-ID: <4895EB80.5020100@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 leosilva at tse.gov.br wrote: | I have nagios version 3.0b7 configured in a debian machine with | postfix installed, and my nagios stop to send email notification, if i | try to send a email from prompt its go correct but the emails from | nagios dont go. have you considered that this is just a beta version? Why not use a real ~ version instead? There is quit a list of things fixed since the days of that beta version. 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) iD8DBQFIlet+BvzDRVjxmYERAvFhAJ0VLjwjAWg6f/W1o4Q3YSEAE0mO5ACePjvH 18h17HImbAh1pho42c2HT8w= =ZKth -----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 marcus at rejas.se Mon Aug 4 10:58:11 2008 From: marcus at rejas.se (Marcus =?utf-8?B?UmVqw6Vz?=) Date: Mon, 4 Aug 2008 10:58:11 +0200 Subject: feature request: Service used as Host check In-Reply-To: <4895EABC.2070409@vanderkooij.org> References: <4895EABC.2070409@vanderkooij.org> Message-ID: <20080804085811.GA27028@rejas.se> On 08/03 19:28, Hugo van der Kooij wrote: > Hi, Hi, > It seems some of us could just do with a config where we appoint a > service check as being a host check. That's true in many situations. > So if I define the service PING and use check_icmp on there I might as > well derive the host state from the service instead of duplicating this > check into the host definition. > > Would it be possible to add the option sometime in the future to just > point to a service check on the host and let that result also count as > the host status? Personally I think this is a bad idea. It will add complexity but very little is gained. For them who not like to work with the configuration files there are many third party tools for configuring Nagios. In these tools the option you mention is easy and maybe wise to add. Like I said, I think it is unwise to add this feature just to save some "copy-and-paste". Just my 2 cents. Regards, /Marcus -- Marcus Rej?s jabber: marcus at jabber.rejas.se ,= ,-_-. =. Rej?s Datakonsult e-mail: marcus at rejas.se ((_/)o o(\_)) Kaserngatan 1 web: http://www.rejas.se `-'(. .)`-' s-761 46 Norrt?lje gpg-key: http://gpg.rejas.se \_/ ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From slackamp at gmail.com Mon Aug 4 17:12:06 2008 From: slackamp at gmail.com (slamp slamp) Date: Mon, 4 Aug 2008 11:12:06 -0400 Subject: is there a plugin for traffic threshold? Message-ID: <78926d250808040812l66d7e63ds8ff59dbed4e54373@mail.gmail.com> i've seen plugins where it alerts when a certain percentage of an interface for in/out is reached. what about a plugin for the other way around? alert when an interface is using below a certain speed lets say alert below 50mbit. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From richardsolid at gmail.com Mon Aug 4 17:24:45 2008 From: richardsolid at gmail.com (Jake Solid) Date: Mon, 4 Aug 2008 11:24:45 -0400 Subject: check_md_raid plugin and check_smartmon plugin comparison Message-ID: The check_md_raid plugin which uses the mdadm program to get the status of all the linux md arrays on the local machine provides the same functionality as the check_smartmon plugin? Thanks in advanced. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From garciam at teleline.es Mon Aug 4 17:26:01 2008 From: garciam at teleline.es (Jose Luis Garcia) Date: Mon, 4 Aug 2008 17:26:01 +0200 Subject: New user with nagios 3.0.3 hanging. In-Reply-To: <48931A00.7020606@blue-labs.org> References: <3a69bc5a0807100530o37c0c15bmec65552fd8114aa@mail.gmail.com> <3a69bc5a0807110400o53f0afact9fe9fde0594faee4@mail.gmail.com> <3a69bc5a0807140030s3f2a68b5vf46dbe322d33fa98@mail.gmail.com> <3a69bc5a0808010026m57304e24mf66494d552301722@mail.gmail.com> <48931A00.7020606@blue-labs.org> Message-ID: <3a69bc5a0808040826h4c61fd07jcd135adf135b37d4@mail.gmail.com> Hello David, I think I haven't. How can I know if i have defined a pipe. If I have done I didn't it in purpose, I promise :-) Thanks a lot Jose Luis 2008/8/1 David Ford > Do you by chance have a pipe output defined, such as the nagios irc > bot? And, is that bot not running on the other side of the pipe to read > what is written through the pipe? > > If you have a pipe defined for an output, 3.x will hang if nothing is > reading from the other side of the pipe. > > -david > > > Jose Luis Garcia wrote: > > Hello again, > > > > Has anybody else experienced this behaviour? > > > > I'm suffering it every few days. > > > > Thank you very much > > > > Jose Luis > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From goldschr at cshl.edu Mon Aug 4 17:32:16 2008 From: goldschr at cshl.edu (Goldschrafe, Jeffrey) Date: Mon, 4 Aug 2008 11:32:16 -0400 Subject: feature request: Service used as Host check In-Reply-To: <4895EABC.2070409@vanderkooij.org> References: <4895EABC.2070409@vanderkooij.org> Message-ID: <77B2B6579FFE3A479CD609D3E80E20B272BD54@mailbox09.cshl.edu> > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Hugo van der Kooij > Sent: Sunday, August 03, 2008 1:28 PM > To: nagios-user Mailinglist > Subject: [Nagios-users] feature request: Service used as Host check > > Hi, > > It seems some of us could just do with a config where we appoint a > service check as being a host check. > > So if I define the service PING and use check_icmp on there I might as > well derive the host state from the service instead of duplicating this > check into the host definition. > > Would it be possible to add the option sometime in the future to just > point to a service check on the host and let that result also count as > the host status? > > Hugo. You want check_cluster from the Nagios-Plugins distribution. This is a plugin which checks the results of several host or service checks directly from the Nagios status file to determine if a service is available so, for example, you could have it checking all of your DNS servers and only report that DNS is down if none of them are available. What you can also do with this is only specify one service, and define this as the host check. So you could do: check_cluster -s -d $HOSTNAME$:Ping -w 1 -c 1 Redundant pings aren't a big deal if you're only sending one ICMP packet to check if the host is alive, but if you're worried about packet loss too, check_icmp or check_ping can easily be the biggest scalability killers on your system. For larger deployments, it's really nice to be able to eliminate the check on a few hundred hosts -- it by itself can mean the difference between whether or not you have to scale out a new DNX host. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Aug 4 17:35:30 2008 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Mon, 04 Aug 2008 16:35:30 +0100 Subject: check_md_raid plugin and check_smartmon plugin comparison In-Reply-To: References: Message-ID: <489721C2.4020209@googlemail.com> Jake Solid wrote: > The check_md_raid plugin which uses the mdadm program to get the status > of all the linux md arrays on the local machine provides the same > functionality as the check_smartmon plugin? > > Thanks in advanced. No, check_md_raid checks on the status linux software raid arrays. check_smartmon checks smartmon which may not be the same thing. If you want to make sure your arrays are ok, then use the first, if you're interested in checking on the pre-emptive health status of disks in general then smartmon is the right thing to use, although I haven't looked too closely at the check_smartmon plugin to see what it handles exactly. -h -- Hari Sekhon ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Mon Aug 4 18:03:18 2008 From: marc at ena.com (Marc Powell) Date: Mon, 4 Aug 2008 11:03:18 -0500 Subject: is there a plugin for traffic threshold? References: <78926d250808040812l66d7e63ds8ff59dbed4e54373@mail.gmail.com> Message-ID: <5A4AE2E1A3A86C4DA672C6ED903343EF012342@misex03.ena.com> > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of slamp slamp > Sent: Monday, August 04, 2008 10:12 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] is there a plugin for traffic threshold? > > i've seen plugins where it alerts when a certain percentage of an > interface for in/out is reached. what about a plugin for the other way > around? alert when an interface is using below a certain speed lets > say alert below 50mbit. The logic of any plugin can be 'flipped' by using the negate plugin. Using your example, if your plugin reports that anything less than 50 is OK and greater than that would be CRITICAL, the negate plugin changes that to mean anything greater than 50 is OK and anything less is CRITICAL. -- 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 dit.dash at gmail.com Mon Aug 4 18:28:11 2008 From: dit.dash at gmail.com (dave stern - e-mail.pluribus.unum) Date: Mon, 4 Aug 2008 12:28:11 -0400 Subject: hierarchical nagios Message-ID: <7f62d2420808040928r7b20ff6esd32412e2873ee0f@mail.gmail.com> We have a primary nagios install that monitors hosts/services spread across multiple labs (political domains). In one of the labs, I've build a nagios install monitoring all of its local hosts and services. It would be interesting to tie the two together. Ultimatey what I'd like to see is a "30,000 foot" view monitoring just the distributed servers and some kind of link to drill down into the individual labs. The top view would not change color if a host/service in a lab went down unless it were defined as a server. Is this possible? Has anyone done anything like this? TIA ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From richardsolid at gmail.com Mon Aug 4 18:47:02 2008 From: richardsolid at gmail.com (Jake Solid) Date: Mon, 4 Aug 2008 12:47:02 -0400 Subject: check_smartmon - IndexError: list index out ofrange In-Reply-To: References: <5A4AE2E1A3A86C4DA672C6ED903343EF01232D@misex03.ena.com> <5A4AE2E1A3A86C4DA672C6ED903343EF01232E@misex03.ena.com> <4733E3AB-E518-4EFA-A8EA-456BEAA4BFD1@ena.com> Message-ID: I had to change the folowing line: elif line == "=== START OF READ SMART DATA SECTION ===": to: elif line == "": Now I get the following output: [root at vhost3 plugins]# /usr/sbin/smartctl -c /dev/sda smartctl version 5.36 [x86_64-redhat-linux-gnu] Copyright (C) 2002-6 Bruce Allen Home page is http://smartmontools.sourceforge.net/ [root@ plugins]# ./check_smartmon -d /dev/sda -v 3 Get device name Device: /dev/sda Check device Check if /dev/sda does exist and can be read Check if /usr/sbin/smartctl does exist and can be read Path to smartctl: /usr/sbin/smartctl Call smartctl Get device health status: /usr/sbin/smartctl -H /dev/sda Get device temperature: /usr/sbin/smartctl -A /dev/sda Parse smartctl output Health status: OK Temperature: 0 Generate return information CRITICAL: device does not pass health status When I run /usr/sbin/smartctl -A /dev/sda i get no output. My smartctl -h mentions that -A should showdevice SMART vendor-specific Attributes and values. Is there a patch for this plugin? On Wed, Jul 30, 2008 at 4:14 PM, Jake Solid wrote: > I have tried all devices and still get the same error. This is the list of > devices I also get from the /proc/diskstats > > 8 0 sda 25734471 16602821 1339905462 54354327 36018237 36524677 > 652113254 274984492 0 160612328 329502850 > 8 1 sda1 120903 7083070 18598 56558 > 8 2 sda2 1907458 15256829 4964528 39716224 > 8 3 sda3 40329953 1317565059 67589119 540712952 > 8 16 sdb 25722132 16706560 1343758934 54666871 36005484 36537227 > 652113254 305156743 0 161636686 359918726 > 8 17 sdb1 118130 6980908 18598 56558 > 8 18 sdb2 1909458 15272829 4964528 39716224 > 8 19 sdb3 40421862 1321504693 67589119 540712952 > 8 32 sdc 103143421 58436289 6265866314 369891692 1094774888 9800463910 > 87446851840 3608291566 0 3654056035 3980408429 > 8 33 sdc1 161602126 1970898506 2305878568 1267159360 > 8 48 sdd 100633389 57176799 6123123524 423999064 1094595052 9800655254 > 87446851840 1018639266 0 3474247903 1443740264 > 8 49 sdd1 157833088 1828155724 2305878568 1267159360 > 9 1 md1 80751227 0 2639069150 0 58671609 0 469372872 0 0 0 0 > 9 3 md3 319434916 0 12388988218 0 10860769840 0 86886158720 0 0 0 0 > 9 0 md0 3816104 0 30528832 0 4931824 0 39454592 0 0 0 0 > 9 2 md2 238621 0 14063142 0 15372 0 30750 0 0 0 0 > 253 0 dm-0 65594847 0 1744222050 176603169 25553210 0 204425680 > 641619548 0 71511076 818228479 > 253 1 dm-1 3458 0 27658 47456 441531 0 3532248 983248835 0 265318 > 983319188 > 253 2 dm-2 15152647 0 894817242 35982441 32676868 0 261414944 871216263 > 0 58218351 907204904 > 22 64 hdd 0 0 0 0 0 0 0 0 0 0 0 > 253 3 dm-3 319434773 0 12388987074 1393510146 10860769840 0 86886158720 > 3778348986 0 3762294749 897218213 > > > > > > On Wed, Jul 30, 2008 at 11:35 AM, Marc Powell wrote: > >> My last attempt... More below. >> >> On Jul 30, 2008, at 9:25 AM, Jake Solid wrote: >> >> > Same error message. I tested using sdb1, sdb2, sdd1, sdb3 . >> > >> > Here is the output: >> > >> > [root@ proc]# more mdstat >> > Personalities : [raid1] >> > md2 : active raid1 sdb1[1] sda1[0] >> >> >> > [root@ plugins]# ./check_smartmon -d /dev/sdb1 -v 3 >> >> As indicated a few different ways in previous e-mails, I expect you >> should use '-d /dev/sda' or '-d /dev/sdb', not '-d /dev/sdb1' since >> that is a specific partition on a disk, and not the disk device itself. >> >> -- >> 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 hvdkooij at vanderkooij.org Mon Aug 4 19:25:01 2008 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Mon, 04 Aug 2008 19:25:01 +0200 Subject: feature request: Service used as Host check In-Reply-To: <77B2B6579FFE3A479CD609D3E80E20B272BD54@mailbox09.cshl.edu> References: <4895EABC.2070409@vanderkooij.org> <77B2B6579FFE3A479CD609D3E80E20B272BD54@mailbox09.cshl.edu> Message-ID: <48973B6D.6060108@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Goldschrafe, Jeffrey wrote: |> It seems some of us could just do with a config where we appoint a |> service check as being a host check. |> |> So if I define the service PING and use check_icmp on there I might as |> well derive the host state from the service instead of duplicating this |> check into the host definition. |> |> Would it be possible to add the option sometime in the future to just |> point to a service check on the host and let that result also count as |> the host status? | | You want check_cluster from the Nagios-Plugins distribution. This is a plugin which checks the results of several host or service checks directly from the Nagios status file to determine if a service is available so, for example, you could have it checking all of your DNS servers and only report that DNS is down if none of them are available. That is exactly what I don't want. I was thinking of using one check as a host and a service check at the same time. Then you can use dependencies on that check on both service and hosts. 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) iD8DBQFIlztrBvzDRVjxmYERAt9xAJwI9TE8JcWuxHCkdly4q7Liw3UGRwCfeesd Th1FOaraaPldVgo1/lLJMLs= =Ztp6 -----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 phuk.yu2007 at gmail.com Mon Aug 4 19:25:32 2008 From: phuk.yu2007 at gmail.com (Phuk Yu) Date: Mon, 4 Aug 2008 13:25:32 -0400 Subject: Using SNMP to get 'top' information Message-ID: I'm wondering what's the best way to get resource hog information in Linux from Nagios. is enterprises.ucdavis.extTable.extEntry.extCommand.1 ="/usr/bin/top -bcisS -n 3" the way to go? Or should I use the Nagios plug check_top_process.sh as an event handler and just have the script placed on each managed system and run remotely when there is a critical or warning state after checking for the system load. Thanks for any help. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From duncan.ferguson at altinity.com Mon Aug 4 19:51:28 2008 From: duncan.ferguson at altinity.com (Duncan Ferguson) Date: Mon, 4 Aug 2008 18:51:28 +0100 Subject: hierarchical nagios In-Reply-To: <7f62d2420808040928r7b20ff6esd32412e2873ee0f@mail.gmail.com> References: <7f62d2420808040928r7b20ff6esd32412e2873ee0f@mail.gmail.com> Message-ID: <1F4A6F0F-8CD4-4439-8E20-8533122BB040@altinity.com> On 4 Aug 2008, at 17:28, dave stern - e-mail.pluribus.unum wrote: > We have a primary nagios install that monitors hosts/services spread > across multiple > labs (political domains). In one of the labs, I've build a nagios > install monitoring all of > its local hosts and services. It would be interesting to tie the two > together. Ultimatey > what I'd like to see is a "30,000 foot" view monitoring just the > distributed servers > and some kind of link to drill down into the individual labs. The top > view would not > change color if a host/service in a lab went down unless it were > defined as a server. > Is this possible? Has anyone done anything like this? This sounds like Hostgroup Hierarchy. Opsview has a feature where we group hostgroups in a hierarchical fashion and then the /status/hostgroup link shows you the complete summary of all those hostgroups and all the host/service states underneath. We do this by utilising the NDO information and running some complex SQL. There is more information here: http://opsview.org/hostgrouphierarchy Duncs -- Duncan Ferguson Senior Developer, Altinity Limited http://www.altinity.com Tel: +44 (0)870 787 9243 US: +1 866 879 9184 Fax: +44 (0)845 280 1725 Skype: duncan_j_ferguson MSN: duncan.ferguson at altinity.com The contents of this email and any files transmitted with it are confidential and intended solely for the use of the individuals to whom it is addressed. If you are not the intended recipient or have received this e-mail in error please notify the sender and delete this e-mail immediately. Any unauthorised copying, disclosure or distribution of the material in this e-mail is strictly prohibited. Altinity Limited | 404 Seven Sisters Road | London | N4 2LX | United Kingdom Registered in England and Wales under company number 4743767 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.shellam-lists at mailnetwork.co.uk Mon Aug 4 23:37:33 2008 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam) Date: Mon, 04 Aug 2008 22:37:33 +0100 Subject: Nagios Looking Glass 1.1.0 beta 2 released Message-ID: <4897769D.5050804@mailnetwork.co.uk> NLG 1.1.0 Beta 2 The Nagios Looking Glass project is pleased to announce the immediate availability of the 2nd beta of Nagios Looking Glass 1.1.0. If there are no major issues with this beta, we will release 1.1.0 as stable in 1-2 weeks time. Download it now from www.nagioslookingglass.co.uk/download. If you have a custom development branch of NLG, we won't update it until NLG 1.1.0 is released as stable. This release adds a new feature that has been requested by a number of people over the past couple of months - the ability to show different filters to different users, which results in a primitive way of restricting the servers (hosts) a user can see. It's a stop gap in the road to version 2, so it's by no means secure. If you decide to use this feature, you must disable client-side caching, otherwise NLG may show the status of servers to a user that you don't want to see them. For more information, please see the FILTER-AUTH-HOWTO.txt file in the root of the distribution. The project team has also added some extra options to control caching, which should help shared storage server clusters play nicely when sharing the same back-end NLG process. The demo site has also been put back online at www.net-station.co.uk, running the latest version (1.1.0 beta 2.) Kind regards, Andy Shellam Project Manager ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.shellam-lists at mailnetwork.co.uk Mon Aug 4 23:51:43 2008 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam) Date: Mon, 04 Aug 2008 22:51:43 +0100 Subject: Nagios Looking Glass - what do you want to see? Message-ID: <489779EF.20909@mailnetwork.co.uk> Hi all, Nagios Looking Glass was first formed as a project nearly 2 years ago, with the sole aim to provide a public-facing, read-only interface to provide Nagios status updates to end users. Since then, the team has received plenty of suggestions for how we can take the project further in the future, and we quickly realised that the version 1 series wouldn't be around for very long - it doesn't allow room for growth. We have got some exciting features lined up for version 2, unfortunately it's looking likely this won't be ready even for an alpha for another 6-8 months, therefore we've decided to keep NLG 1 alive longer, and will continue to add new functionality as requested. Thanks to the contribution of Network Mail, we have a new project management system that will give us greater control of tracking feature requests and development, therefore if there's a feature you'd like to see in NLG (either v1 or 2) please send it in reply to this e-mail and we'll add it to the plan! If you've previously requested a feature, please request it again to ensure it gets added. In a month or so we should have drawn up a specification available to view and comment on, and we'll develop NLG v2 to that spec, and hopefully have a product that meets the majority of your needs. If we can squeeze an improvement into 1.1 as well, we will do. If you've used NLG in the past or still use it, thanks so much; please let us know if there's anything we can do to make it more useful for you. If you've looked at it, but not used it, then please tell us why, and we'll do our best to make it a product that will be of use to you. Regards, Andy Shellam Project Manager ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From leosilva at tse.gov.br Mon Aug 4 20:45:45 2008 From: leosilva at tse.gov.br (Leandro de Oliveira) Date: Mon, 4 Aug 2008 15:45:45 -0300 Subject: Upgrade problem Message-ID: <007701c8f662$4de79670$2df41c0a@tse.gov.br> Hi I upgrade de nagios installation to version 3.0.3 and after this the sound notifications stop to play. Anyone can helpme? Leandro -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Aug 5 02:37:52 2008 From: ian at acces.co.jp (Ian Masters) Date: Tue, 05 Aug 2008 09:37:52 +0900 Subject: Nagios Sound Alerts configuration Message-ID: <4897A0E0.6060205@acces.co.jp> Hi, I'm using Nagios 3.0.3 and I've been trying to get sound alerts working. For my company's purposes, this is more useful than email alerts. Looking at the archives, I can see this subject pops up on an intermittent basis, but most of the proposed solutions involve scripting that I'd rather not have to do. My preferred browser is Firefox (at present version 2.0.0.16) on the Nagios Monitoring machine (because the OS is a bit old - Mac OS X 10.2.8), version 3.0.1 on a Windows XP machine. Neither Firefox or IE seem to be able to handle Nagios's sound alerts in their present implementation. On Firefox, an annoying message bar pops up informing me that "additional plugins are required to display all the media on this page" but when I click on 'Install Missing Plugins' I get the rather disappointing message 'No suitable plugins were found. IE just seems to ignore the sound alerts without displaying an error. I can prevent this message from popping up every time the window refreshes by entering 'about:config' in Firefox's address bar and setting plugin.default_plugin_disabled to 'false' (Please Google for a fuller explanation of this). The only way I was able to get sounds out of Firefox was by using a Firefox addon called Nagios Checker. This addon checks Nagios at user-defined intervals and (amongst other functions) can play the Nagios alert sounds. At the moment, Nagios Checker seems to be doing the job pretty well, but I can't help thinking that it shouldn't really be necessary. It's a bit of a kludge so I was wondering if anyone else had found a cleaner way of using the alert sounds function in Nagios itself. Ian Masters ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Aug 5 03:01:23 2008 From: ian at acces.co.jp (Ian Masters) Date: Tue, 05 Aug 2008 10:01:23 +0900 Subject: Nagios Front End for Nagios 3 Message-ID: <4897A663.8090009@acces.co.jp> Hello again I'd like to ask list members for their recommendations for front end GUIs for configuring Nagios. There's a list of 10 here: http://www.ducea.com/2008/01/16/10-nagios-web-frontends/ I'm wondering which might be the most useful. Also I'd like to know that if I change my mind and don't want to use the GUI any more, that my Nagios data will still be left in a usable form. Thanks Ian Masters ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jra at baylink.com Tue Aug 5 03:12:03 2008 From: jra at baylink.com (Jay R. Ashworth) Date: Mon, 4 Aug 2008 21:12:03 -0400 Subject: Nagios Sound Alerts configuration In-Reply-To: <4897A0E0.6060205@acces.co.jp> References: <4897A0E0.6060205@acces.co.jp> Message-ID: <20080805011203.GE13410@cgi.jachomes.com> On Tue, Aug 05, 2008 at 09:37:52AM +0900, Ian Masters wrote: > It's a bit of a kludge so I was wondering if anyone else had found a > cleaner way of using the alert sounds function in Nagios itself. As I recall, it was determined that the problem is that the CGI is sending the audio files with the wrong MIME type, and that fixing it requires patching that code; it's in the archives from a couple months back. I too would like to see it fixed; I may go grovel in my Copious Free Time. Cheers, -- jra -- Jay R. Ashworth Baylink jra at baylink.com Designer The Things I Think RFC 2100 Ashworth & Associates http://baylink.pitas.com '87 e24 St Petersburg FL USA http://photo.imageinc.us +1 727 647 1274 Those who cast the vote decide nothing. Those who count the vote decide everything. -- (Josef Stalin) ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Aug 5 05:00:02 2008 From: marc at ena.com (Marc Powell) Date: Mon, 4 Aug 2008 22:00:02 -0500 Subject: Nagios Sound Alerts configuration In-Reply-To: <20080805011203.GE13410@cgi.jachomes.com> References: <4897A0E0.6060205@acces.co.jp> <20080805011203.GE13410@cgi.jachomes.com> Message-ID: On Aug 4, 2008, at 8:12 PM, Jay R. Ashworth wrote: > On Tue, Aug 05, 2008 at 09:37:52AM +0900, Ian Masters wrote: >> It's a bit of a kludge so I was wondering if anyone else had found a >> cleaner way of using the alert sounds function in Nagios itself. > > As I recall, it was determined that the problem is that the CGI is > sending the audio files with the wrong MIME type, and that fixing it > requires patching that code; it's in the archives from a couple months > back. Thread is here for those that need it -- http://thread.gmane.org/gmane.network.nagios.devel/5391/focus=5401 -- 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 ITLJ at gyldendal.dk Tue Aug 5 10:19:57 2008 From: ITLJ at gyldendal.dk (=?iso-8859-1?Q?Lars_J=F8rgensen?=) Date: Tue, 5 Aug 2008 10:19:57 +0200 Subject: Alerting on 100% cpu for a period of time Message-ID: <311386E60ED7E74C8716A6573A7740A0164C07B894@s-exch01-v.gyldendal.local> Hi. Is it possible to alert when a windows host has been running af 100% cpu for, say 20 minutes? -- Lars ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lists at truthisfreedom.org.uk Tue Aug 5 10:48:46 2008 From: lists at truthisfreedom.org.uk (Matthew Macdonald-Wallace) Date: Tue, 5 Aug 2008 09:48:46 +0100 Subject: Nagios Looking Glass - what do you want to see? In-Reply-To: <489779EF.20909@mailnetwork.co.uk> References: <489779EF.20909@mailnetwork.co.uk> Message-ID: <20080805094846.7baea26e@tclmmw.in.tiger-computing.com> On Mon, 04 Aug 2008 22:51:43 +0100 Andy Shellam wrote: > If you've previously requested a feature, > please request it again to ensure it gets added. Joomla Plugin so that the Nagios data can be entered into a customer service portal (I'm happy to help on this if I can find some time to do so!). M. -- Matthew Macdonald-Wallace matthew at truthisfreedom.org.uk http://www.truthisfreedom.org.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 francois.joubert at imagination.com Tue Aug 5 14:20:10 2008 From: francois.joubert at imagination.com (Francois Joubert) Date: Tue, 05 Aug 2008 13:20:10 +0100 Subject: Lockfile trouble, Nagios version 3.0.3 Message-ID: <4898457A.8040807@imagination.com> Hi All Problem ------- I am trying to get Nagios v3.0.3 running on my FreeBSD 6.2 box. The Nagios software was installed from a ported package. I can run Nagios in the foreground but not as a daemon. I get the following error in the nagios log: [1217937468] Nagios 3.0.3 starting... (PID=42846) [1217937468] Local time is Tue Aug 05 11:57:48 UTC 2008 [1217937468] LOG VERSION: 2.0 [1217937468] Cannot lock lockfile '/var/spool/nagios/nagios.lock': Invalid argument. Bailing out... My host machines OS details: FreeBSD xxx 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan 12 10:40:27 UTC 2007 root at dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 Fix attempts ------------ 1. changed the permissions on the "rw" directory to 777 and also making the lockfile, nagios.lock, writeable by everyone; 2. deleted lockfile and rebooted the machine to release any locks. Other syslog and apache logs are clean. I am about to try a Nagios installation from the source download in case this proves to be an issue with the FreeBSD ported package. Can anyone offer any clues? Thanks and regards Francois ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rich+nagios at quintinz.com Tue Aug 5 14:22:35 2008 From: rich+nagios at quintinz.com (Richard Quintin) Date: Tue, 5 Aug 2008 08:22:35 -0400 Subject: Alerting on 100% cpu for a period of time In-Reply-To: <311386E60ED7E74C8716A6573A7740A0164C07B894@s-exch01-v.gyldendal.local> References: <311386E60ED7E74C8716A6573A7740A0164C07B894@s-exch01-v.gyldendal.local> Message-ID: <822f14060808050522ie6b5421s32210e03617e81f5@mail.gmail.com> Anything is _possible_. :) The smart folks on this list can probably suggest something better, but one option would be to have a sar process logging cpu usage to a file and then an NRPE check to look at the values in that file. On Tue, Aug 5, 2008 at 4:19 AM, Lars J?rgensen wrote: > Hi. > > Is it possible to alert when a windows host has been running af 100% cpu for, say 20 minutes? > > > -- > Lars > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Richard Quintin, DBA Database & Application Administration Virginia Tech ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Aug 5 14:29:58 2008 From: adesperateuser at googlemail.com (Marcus) Date: Tue, 05 Aug 2008 14:29:58 +0200 Subject: Upgrade problem In-Reply-To: <007701c8f662$4de79670$2df41c0a@tse.gov.br> References: <007701c8f662$4de79670$2df41c0a@tse.gov.br> Message-ID: <489847C6.7090001@googlemail.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Leandro, Leandro de Oliveira schrieb: > Hi > I upgrade de nagios installation to version 3.0.3 and after this the sound notifications stop to play. > Anyone can helpme? Maybe you need to patch two files: http://thread.gmane.org/gmane.network.nagios.devel/5391/focus=5401 Or try this plugin for Firefox: https://addons.mozilla.org/en-US/firefox/addon/3607 It can do sounds as well. Greetz, Marcus -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFImEfG+qVaNRZYOakRAl7tAJwPb/Dq4dHA3WHTh9EGEE6S1Jxy4gCaA3vo 4c09G4iJtFzsjo5zTJlbKP8= =y82L -----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 palleje at gmail.com Tue Aug 5 14:44:42 2008 From: palleje at gmail.com (Palle L Jensen) Date: Tue, 5 Aug 2008 08:44:42 -0400 Subject: Alerting on 100% cpu for a period of time In-Reply-To: <822f14060808050522ie6b5421s32210e03617e81f5@mail.gmail.com> References: <311386E60ED7E74C8716A6573A7740A0164C07B894@s-exch01-v.gyldendal.local> <822f14060808050522ie6b5421s32210e03617e81f5@mail.gmail.com> Message-ID: <91E2DB845C374AD78454882B03ABAD7C@na.dsmain.com> Lars, I am not sure if this is what you are looking for. We use NSclient++ to monitor windows hosts and this is our setup for monitoring the Cpu Load on windows hosts. #Command Definition for CPU Load (were $USER7 is a macro for the pwd to #access the windows host): define command{ command_name check_nt_cpu command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 12489 -v CPULOAD -l $ARG1$ -s $USER7$ } #This service definition will generate a critical alert if the 10-minute CPU #load is 90% or more or a warning alert if the 10-minute load is 80% or #greater. Just change the 10,80,90 as you please to fit your monitoring. Service definition: define service { use generic-service host_name thehost001 service_description Cpu servicegroups cpu-load check_command check_nt_cpu!10,80,90 Hope it helps. Thanks, Palle > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Richard Quintin > Sent: Tuesday, August 05, 2008 8:23 AM > To: Lars J?rgensen > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Alerting on 100% cpu for a period of time > > Anything is _possible_. :) > > The smart folks on this list can probably suggest something better, > but one option would be to have a sar process logging cpu usage to a > file and then an NRPE check to look at the values in that file. > > On Tue, Aug 5, 2008 at 4:19 AM, Lars J?rgensen wrote: > > Hi. > > > > Is it possible to alert when a windows host has been running af 100% cpu > for, say 20 minutes? > > > > > > -- > > Lars > > > > > > ------------------------------------------------------------------------ > - > > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > > Build the coolest Linux based applications with Moblin SDK & win great > prizes > > Grand prize is a trip for two to an Open Source event anywhere in the > world > > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > > > -- > Richard Quintin, DBA > Database & Application Administration > Virginia Tech > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the > world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 Charles.Breite at altertrading.com Tue Aug 5 14:45:59 2008 From: Charles.Breite at altertrading.com (Charles Breite) Date: Tue, 5 Aug 2008 07:45:59 -0500 Subject: Alerting on 100% cpu for a period of time In-Reply-To: <822f14060808050522ie6b5421s32210e03617e81f5@mail.gmail.com> References: <311386E60ED7E74C8716A6573A7740A0164C07B894@s-exch01-v.gyldendal.local> <822f14060808050522ie6b5421s32210e03617e81f5@mail.gmail.com> Message-ID: <5D490E0402B4D14F836B5C4436D5949A274407@VMEXCHANGE2.alterscrap.com> We alert on our bandwidth this way. We set the alerts to re-check(re-try interval) every min for 10 min. If the pipe is still full then we alert. Hope this helps. -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Richard Quintin Sent: Tuesday, August 05, 2008 7:23 AM To: Lars J?rgensen Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Alerting on 100% cpu for a period of time Anything is _possible_. :) The smart folks on this list can probably suggest something better, but one option would be to have a sar process logging cpu usage to a file and then an NRPE check to look at the values in that file. On Tue, Aug 5, 2008 at 4:19 AM, Lars J?rgensen wrote: > Hi. > > Is it possible to alert when a windows host has been running af 100% cpu for, say 20 minutes? > > > -- > Lars > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Richard Quintin, DBA Database & Application Administration Virginia Tech ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 Aug 5 14:50:03 2008 From: jpaulus at sourceinterlink.com (Paulus, Jake) Date: Tue, 5 Aug 2008 08:50:03 -0400 Subject: Alerting on 100% cpu for a period of time In-Reply-To: <311386E60ED7E74C8716A6573A7740A0164C07B894@s-exch01-v.gyldendal.local> References: <311386E60ED7E74C8716A6573A7740A0164C07B894@s-exch01-v.gyldendal.local> Message-ID: <79B77295FBC9F247A32A6C98B67B1E14017A4179@srv-1exch01.sourceinterlink.com> Good morning! We do this by setting the retry_interval to 2 minutes and the max_retries to 10. This means that the service has to be in a non-OK state for 20 minutes straight before it enters a "hard" status and starts alerting. -Jake -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Lars J?rgensen Sent: Tuesday, August 05, 2008 4:20 AM To: 'nagios-users at lists.sourceforge.net' Subject: [Nagios-users] Alerting on 100% cpu for a period of time Hi. Is it possible to alert when a windows host has been running af 100% cpu for, say 20 minutes? -- Lars ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 ml at nicole-haehnel.de Tue Aug 5 15:38:48 2008 From: ml at nicole-haehnel.de (=?ISO-8859-15?Q?Nicole_H=E4hnel?=) Date: Tue, 05 Aug 2008 15:38:48 +0200 Subject: Problems running eventhandler Message-ID: <489857E8.8030506@nicole-haehnel.de> Hi, I'm running nagios 3.0.3 on rhel5 2.6.18-92.1.6.el5. I have written a script to restart strongswan on our vpn gateways. But I can not get this eventhandler to work. I only see (null);(null);(null); in eventlog instead of CRITICAL;SOFT;3 oder something else. I tested the script as user nagios and it works. Where is the fault? Thanks! Nicole EventLog: [05-08-2008 15:25:38] SERVICE EVENT HANDLER: VPN-GW;IPSEC;(null);(null);(null);restart-ipsec define command{ command_name restart-ipsec command_line /usr/lib64/nagios/plugins/eventhandlers/restart_ipsec.sh $SERVICESTATE$ $SERVICESTATETYPE$ $SERVICEATTEMPT$ $HOSTADDRESS$ } define service{ use generic-service ; Name of service template to use host_name VPN-GW service_description IPSEC check_command check_tunnel!16 event_handler_enabled 1 event_handler restart-ipsec } restart_ipsec.sh: #!/bin/sh case "$1" in OK) # ;; WARNING) # ;; UNKNOWN) # ;; CRITICAL) case "$2" in SOFT) case "$3" in 3) echo -n "Restarting IPSEC service (3rd soft critical state)..." ssh -i id_dsa $4 "/etc/init.d/ipsec restart" ;; esac ;; HARD) echo -n "Restarting IPSEC service..." ssh -i id_dsa $4 "/etc/init.d/ipsec restart" ;; esac ;; esac exit 0 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jra at baylink.com Tue Aug 5 16:09:50 2008 From: jra at baylink.com (Jay R. Ashworth) Date: Tue, 5 Aug 2008 10:09:50 -0400 Subject: feature request: Service used as Host check In-Reply-To: <20080804085811.GA27028@rejas.se> References: <4895EABC.2070409@vanderkooij.org> <20080804085811.GA27028@rejas.se> Message-ID: <20080805140950.GC16739@cgi.jachomes.com> On Mon, Aug 04, 2008 at 10:58:11AM +0200, Marcus Rej?s wrote: > For them who not like to work with the configuration files there are many > third party tools for configuring Nagios. In these tools the option you > mention is easy and maybe wise to add. Is that actually true? I started setting up 3.0 about 2 months ago, and all the config managers I found had not yet been forward-ported to deal with 3 yet... Cheers, -- jra -- Jay R. Ashworth Baylink jra at baylink.com Designer The Things I Think RFC 2100 Ashworth & Associates http://baylink.pitas.com '87 e24 St Petersburg FL USA http://photo.imageinc.us +1 727 647 1274 Those who cast the vote decide nothing. Those who count the vote decide everything. -- (Josef Stalin) ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jra at baylink.com Tue Aug 5 16:10:49 2008 From: jra at baylink.com (Jay R. Ashworth) Date: Tue, 5 Aug 2008 10:10:49 -0400 Subject: is there a plugin for traffic threshold? In-Reply-To: <78926d250808040812l66d7e63ds8ff59dbed4e54373@mail.gmail.com> References: <78926d250808040812l66d7e63ds8ff59dbed4e54373@mail.gmail.com> Message-ID: <20080805141049.GD16739@cgi.jachomes.com> On Mon, Aug 04, 2008 at 11:12:06AM -0400, slamp slamp wrote: > i've seen plugins where it alerts when a certain percentage of an > interface for in/out is reached. what about a plugin for the other way > around? alert when an interface is using below a certain speed lets > say alert below 50mbit. If you let the speed of this interface go below 50MB/s; the entire switch will blow up, automatically. Cheers, -- jr ':-)' a -- Jay R. Ashworth Baylink jra at baylink.com Designer The Things I Think RFC 2100 Ashworth & Associates http://baylink.pitas.com '87 e24 St Petersburg FL USA http://photo.imageinc.us +1 727 647 1274 Those who cast the vote decide nothing. Those who count the vote decide everything. -- (Josef Stalin) ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Aug 5 16:19:59 2008 From: marc at ena.com (Marc Powell) Date: Tue, 5 Aug 2008 09:19:59 -0500 Subject: Lockfile trouble, Nagios version 3.0.3 References: <4898457A.8040807@imagination.com> Message-ID: <5A4AE2E1A3A86C4DA672C6ED903343EF012359@misex03.ena.com> > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Francois Joubert > Sent: Tuesday, August 05, 2008 7:20 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Lockfile trouble, Nagios version 3.0.3 > > Hi All > > Problem > ------- > [1217937468] Cannot lock lockfile '/var/spool/nagios/nagios.lock': > Invalid argument. Bailing out... > Fix attempts > ------------ > 1. changed the permissions on the "rw" directory to 777 and also making > the lockfile, nagios.lock, writeable by everyone; The lockfile isn't in the "rw" directory, as you currently have it configured. Just to cover the basics, is the Nagios user able to write to the directory '/var/spool/nagios'? Write to that file? On shutdown, Nagios will remove the file and will need write permissions to the directory to re-create 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 ITLJ at gyldendal.dk Tue Aug 5 16:30:17 2008 From: ITLJ at gyldendal.dk (=?iso-8859-1?Q?Lars_J=F8rgensen?=) Date: Tue, 5 Aug 2008 16:30:17 +0200 Subject: Alerting on 100% cpu for a period of time In-Reply-To: <5D490E0402B4D14F836B5C4436D5949A274407@VMEXCHANGE2.alterscrap.com> References: <5D490E0402B4D14F836B5C4436D5949A274407@VMEXCHANGE2.alterscrap.com> Message-ID: <311386E60ED7E74C8716A6573A7740A0164C07B89D@s-exch01-v.gyldendal.local> > We alert on our bandwidth this way. We set the alerts to > re-check(re-try interval) every min for 10 min. If the pipe > is still full then we alert. > Hope this helps. It sure does, that is both simple and elegant. And I can still do it by SNMP, I think. -- Lars ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Joshua.Richardson at gd-ais.com Tue Aug 5 21:17:55 2008 From: Joshua.Richardson at gd-ais.com (Richardson, Joshua A.) Date: Tue, 5 Aug 2008 15:17:55 -0400 Subject: Error trying to build nagios plugins 1.4.12 on RHEL4 AMD 64 Message-ID: <3D54FD86EBFE0540BDA2048CE1A4F25801D8CD68@vaff06-mail01.ad.gd-ais.com> Hi all, I'm trying to build Nagios Plugins 1.4.12 on my AMD64 RHEL4 box. The configure script runs without issue, but when I try to build it I always error out on check_disk.c calling 'get_fs_usage' check_disk.o(.text+0x1a8e): In function `main': /home/joshrich/nagDownloads/nagios-plugins-1.4.12/plugins/check_disk.c:2 62: undefined reference to `get_fs_usage' check_disk.o(.text+0x1c06):/home/joshrich/nagDownloads/nagios-plugins-1. 4.12/plugins/check_disk.c:307: undefined reference to `get_fs_usage' collect2: ld returned 1 exit status make[2]: *** [check_disk] Error 1 make[2]: Leaving directory `/data/home/joshrich/nagDownloads/nagios-plugins-1.4.12/plugins' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/data/home/joshrich/nagDownloads/nagios-plugins-1.4.12' make: *** [all] Error 2 This builds completely fine if I pass the -m32 flag to GCC and I've had no issues building Nagios itself in 64 bit. Any suggestions on what I could be doing wrong? I've included the Configure and Make outputs below. Thanks!! Joshua A. Richardson Senior Systems Engineer joshua.richardson at gd-ais.com (703) 272-1761 -- Office (540) 383-9093 -- Cell CONFIGURE OUTPUT [root at whale nagios-plugins-1.4.12]# ./configure --with-nagios-user=nagios --with-nagios-group=nagios checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking for gcc... gcc -m64 checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc -m64 accepts -g... yes checking for gcc -m64 option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of gcc -m64... gcc3 checking for ranlib... ranlib checking how to run the C preprocessor... gcc -m64 -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking whether gcc -m64 needs -traditional... no checking for a sed that does not truncate output... /bin/sed checking for ld used by gcc -m64... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes checking how to recognise dependent libraries... pass_all checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... gcc3 checking how to run the C++ preprocessor... g++ -E checking for g77... g77 checking whether we are using the GNU Fortran 77 compiler... yes checking whether g77 accepts -g... yes checking the maximum length of command line arguments... 32768 checking command to parse /usr/bin/nm -B output from gcc -m64 object... ok checking for objdir... .libs checking for ar... ar checking for ranlib... (cached) ranlib checking for strip... strip checking if gcc -m64 supports -fno-rtti -fno-exceptions... no checking for gcc -m64 option to produce PIC... -fPIC checking if gcc -m64 PIC flag -fPIC works... yes checking if gcc -m64 static flag -static works... yes checking if gcc -m64 supports -c -o file.o... yes checking whether the gcc -m64 linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by g++... /usr/bin/ld -m elf_x86_64 checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC checking if g++ PIC flag -fPIC works... yes checking if g++ static flag -static works... yes checking if g++ supports -c -o file.o... yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate appending configuration tag "F77" to libtool checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for g77 option to produce PIC... -fPIC checking if g77 PIC flag -fPIC works... yes checking if g77 static flag -static works... yes checking if g77 supports -c -o file.o... yes checking whether the g77 linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether gcc -m64 and cc understand -c and -o together... yes checking for error_at_line... yes checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for working strtod... yes checking for python... /usr/bin/python checking for sh... /bin/sh checking for perl... /usr/bin/perl checking for libgnutls-config... no checking for hostname... /bin/hostname checking for basename... /bin/basename checking for main in -ldce... no checking for main in -lnsl... yes checking for socket in -lsocket... no checking for main in -lresolv... yes checking math.h usability... yes checking math.h presence... yes checking for math.h... yes checking for floor in -lm... yes checking for plan_tests in -ltap... no checking for main in -lcrypt... yes checking for PQsetdbLogin in -lpq... no configure: WARNING: Skipping PostgreSQL plugin (check_pgsql) configure: WARNING: LIBS="-lcrypt " CPPFLAGS="" configure: WARNING: install PostgreSQL libs to compile this plugin (see REQUIREMENTS). checking for rc_read_config in -lradiusclient... no checking for rc_read_config in -lradiusclient-ng... no configure: WARNING: Skipping radius plugin configure: WARNING: install radius libs to compile this plugin (see REQUIREMENTS). checking for main in -lldap... yes checking for ldap_set_option... yes checking for ldap_init... yes checking for ldap_set_option... (cached) yes checking for ldap_get_option... yes checking for ldap_start_tls_s... yes checking linux/hdreg.h usability... yes checking linux/hdreg.h presence... yes checking for linux/hdreg.h... yes checking linux/types.h usability... yes checking linux/types.h presence... yes checking for linux/hdreg.h... yes checking linux/types.h usability... yes checking linux/types.h presence... yes checking for linux/types.h... yes checking for mysql_config... /usr/bin/mysql_config checking for mysql_init in -lmysqlclient... yes checking for IPv6 support... yes checking krb5.h usability... yes checking krb5.h presence... yes checking for krb5.h... yes checking for dlopen in -ldl... yes checking for shl_load in -ldl... no checking openssl/ssl.h usability... yes checking openssl/ssl.h presence... yes checking for openssl/ssl.h... yes checking openssl/x509.h usability... yes checking openssl/x509.h presence... yes checking for openssl/x509.h... yes checking openssl/rsa.h usability... yes checking openssl/rsa.h presence... yes checking for openssl/rsa.h... yes checking openssl/pem.h usability... yes checking openssl/pem.h presence... yes checking for openssl/pem.h... yes checking openssl/crypto.h usability... yes checking openssl/crypto.h presence... yes checking for openssl/crypto.h... yes checking openssl/err.h usability... yes checking openssl/err.h presence... yes checking for openssl/err.h... yes checking for CRYPTO_lock in -lcrypto... yes checking for main in -lssl... yes checking whether time.h and sys/time.h may both be included... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking uio.h usability... no checking uio.h presence... no checking for uio.h... no checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/un.h usability... yes checking sys/un.h presence... yes checking for sys/un.h... yes checking sys/poll.h usability... yes checking sys/poll.h presence... yes checking for sys/poll.h... yes checking features.h usability... yes checking features.h presence... yes checking for features.h... yes checking stdarg.h usability... yes checking stdarg.h presence... yes checking for stdarg.h... yes checking sys/unistd.h usability... yes checking sys/unistd.h presence... yes checking for sys/unistd.h... yes checking ctype.h usability... yes checking ctype.h presence... yes checking for ctype.h... yes checking for an ANSI C-conforming const... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for pid_t... yes checking for size_t... yes checking return type of signal handlers... void checking for mbstate_t... yes checking for va_copy... yes checking for memmove... yes checking for select... yes checking for socket... yes checking for strdup... yes checking for strstr... yes checking for strtol... yes checking for strtoul... yes checking for floor... no checking for poll... yes checking return type of socket size... int checking for ps... /bin/ps checking for ps syntax... /bin/ps axwo 'stat uid pid ppid vsz rss pcpu comm args' checking for ping... /bin/ping checking for ping6... /bin/ping6 checking for ICMP ping syntax... /bin/ping -n -U -w %d -c %d %s checking for ICMPv6 ping syntax... /bin/ping6 -n -U -w %d -c %d %s checking for nslookup... /usr/bin/nslookup checking for nslookup syntax... /usr/bin/nslookup -sil checking for number of cpus... sysconf(_SC_NPROCESSORS_CONF) checking for uptime... /usr/bin/uptime checking for rpcinfo... /usr/sbin/rpcinfo checking for lmstat... no configure: WARNING: Get lmstat from Globetrotter Software to monitor flexlm licenses checking for smbclient... /usr/bin/smbclient checking for who... /usr/bin/who checking for snmpget... /usr/bin/snmpget checking for snmpgetnext... /usr/bin/snmpgetnext checking for Net::SNMP perl module... found checking for quakestat... no checking for qstat... no configure: WARNING: Get qstat from http://www.activesw.com/people/steve/qstat.html in order to make check_game plugin checking for fping... no configure: WARNING: Get fping from http://www.fping.com in order to make check_fping plugin checking for ssh... /usr/bin/ssh checking for mailq... /usr/bin/mailq checking for qmail-qstat... no configure: WARNING: Could not find qmail-qstat or eqivalent checking for swap... no checking for swapinfo... no checking for lsps... no checking for sys/stat.h... (cached) yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking for sys/swap.h... yes checking whether swapctl is declared... no checking for swaptbl_t... no checking for swapent_t... no checking for struct swapent.se_nblks... no checking for /proc/meminfo... found /proc/meminfo checking for dig... /usr/bin/dig checking for apt-get... no checking sys/sockio.h usability... no checking sys/sockio.h presence... no checking for sys/sockio.h... no checking whether NLS is requested... yes checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/msgfmt checking for xgettext... /usr/bin/xgettext checking for msgmerge... /usr/bin/msgmerge checking for ld used by GCC... /usr/bin/ld -m elf_x86_64 checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes checking for shared library run path origin... done checking for CFPreferencesCopyAppValue... no checking for CFLocaleCopyCurrent... no checking for GNU gettext in libc... yes checking whether to use NLS... yes checking where the gettext function comes from... libc configure: See http://nagiosplugins.org/faq/compile/configure_appears_to_hang if this next part takes a long time checking for redhat spopen problem... okay checking for working alloca.h... yes checking for alloca... yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking float.h usability... yes checking float.h presence... yes checking for float.h... yes checking for sys/param.h... (cached) yes checking sys/vfs.h usability... yes checking sys/vfs.h presence... yes checking for sys/vfs.h... yes checking sys/fs_types.h usability... no checking sys/fs_types.h presence... no checking for sys/fs_types.h... no checking for sys/socket.h... (cached) yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking for math.h... (cached) yes checking sys/statvfs.h usability... yes checking sys/statvfs.h presence... yes checking for sys/statvfs.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking for stdint.h... (cached) yes checking wchar.h usability... yes checking wchar.h presence... yes checking for wchar.h... yes checking stdio.h usability... yes checking stdio.h presence... yes checking for stdio.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for unistd.h... (cached) yes checking wctype.h usability... yes checking wctype.h presence... yes checking for wctype.h... yes checking for inline... inline checking for C/C++ restrict keyword... __restrict checking whether system is Windows or MSDOS... no checking whether // is distinct from /... no checking whether strerror_r is declared... yes checking for strerror_r... yes checking whether strerror_r returns char *... yes checking whether the preprocessor supports include_next... yes checking whether is self-contained... yes checking for IPv4 sockets... yes checking for IPv6 sockets... yes checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking for getopt_long_only... yes checking whether optreset is declared... no checking for working GNU getopt function... yes checking whether getenv is declared... yes checking for nl_langinfo and CODESET... yes checking whether getc_unlocked is declared... yes checking whether we are using the GNU C Library 2.1 or newer... yes checking whether malloc, realloc, calloc are POSIX compliant... yes checking for isblank... yes checking for iswctype... yes checking whether to use NLS... yes checking where the gettext function comes from... libc configure: See http://nagiosplugins.org/faq/compile/configure_appears_to_hang if this next part takes a long time checking for redhat spopen problem... okay checking for working alloca.h... yes checking for alloca... yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking float.h usability... yes checking float.h presence... yes checking for float.h... yes checking for sys/param.h... (cached) yes checking sys/vfs.h usability... yes checking sys/vfs.h presence... yes checking for sys/vfs.h... yes checking sys/fs_types.h usability... no checking sys/fs_types.h presence... no checking for sys/fs_types.h... no checking for sys/socket.h... (cached) yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking for math.h... (cached) yes checking sys/statvfs.h usability... yes checking sys/statvfs.h presence... yes checking for sys/statvfs.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking for stdint.h... (cached) yes checking wchar.h usability... yes checking wchar.h presence... yes checking for wchar.h... yes checking stdio.h usability... yes checking stdio.h presence... yes checking for stdio.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for unistd.h... (cached) yes checking wctype.h usability... yes checking wctype.h presence... yes checking for wctype.h... yes checking for inline... inline checking for C/C++ restrict keyword... __restrict checking whether system is Windows or MSDOS... no checking whether // is distinct from /... no checking whether strerror_r is declared... yes checking for strerror_r... yes checking whether strerror_r returns char *... yes checking whether the preprocessor supports include_next... yes checking whether is self-contained... yes checking for IPv4 sockets... yes checking for IPv6 sockets... yes checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking for getopt_long_only... yes checking whether optreset is declared... no checking for working GNU getopt function... yes checking whether getenv is declared... yes checking for nl_langinfo and CODESET... yes checking whether getc_unlocked is declared... yes checking whether we are using the GNU C Library 2.1 or newer... yes checking whether malloc, realloc, calloc are POSIX compliant... yes checking for isblank... yes checking for iswctype... yes checking for mbrtowc... yes checking for wcrtomb... yes checking for wcscoll... yes checking for pipe... yes checking for vasnprintf... no checking for iswcntrl... yes checking for ssize_t... yes checking whether snprintf is declared... yes checking for stdbool.h that conforms to C99... yes checking for _Bool... yes checking for long long int... yes checking for unsigned long long int... yes checking whether strdup is declared... yes checking for working strerror function... yes checking whether strndup is declared... yes checking whether strnlen is declared... yes checking for EOVERFLOW... yes checking for wchar_t... yes checking for wint_t... yes checking for inttypes.h... yes checking for stdint.h... yes checking for intmax_t... yes checking whether vsnprintf is declared... yes checking for alloca as a compiler built-in... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking whether // is distinct from /... (cached) no checking for error_at_line... (cached) yes checking whether floorf is declared... yes checking for sys/mount.h... yes configure: checking how to get file system space usage checking for statvfs function (SVR4)... no checking for 3-argument statfs function (DEC OSF/1)... no checking for two-argument statfs with statfs.bsize member (AIX, 4.3BSD)... no checking for four-argument statfs (AIX-3.2.5, SVR3)... no checking for two-argument statfs with statfs.fsize member (4.4BSD and NetBSD)... no checking for two-argument statfs with struct fs_data (Ultrix)... no configure: checking how to do getaddrinfo, freeaddrinfo and getnameinfo checking for library containing getaddrinfo... none required checking for getaddrinfo... yes checking for gai_strerror (possibly via ws2tcpip.h)... yes checking for library containing gethostbyname... none required checking for library containing getservbyname... none required checking for gethostbyname... yes checking whether getaddrinfo is declared... yes checking whether freeaddrinfo is declared... yes checking whether gai_strerror is declared... yes checking whether getnameinfo is declared... yes checking for struct addrinfo... yes checking for gethostname... yes checking for getloadavg... yes checking for pstat_getdynamic... no checking for kstat_open in -lkstat... no checking for perfstat_cpu_total in -lperfstat... no checking for getloadavg... yes checking whether getloadavg requires setgid... no checking for inet_ntop... yes checking whether inet_ntop is declared... yes checking whether the compiler generally respects inline... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking for listmntent... no checking for getmntinfo... no checking for sys/ucred.h... no checking for sys/mount.h... (cached) yes checking mntent.h usability... yes checking mntent.h presence... yes checking for mntent.h... yes checking for sys/fs_types.h... (cached) no checking for struct fsstat.f_fstypename... no checking for library containing getmntent... none required checking for getmntent... yes checking for listmntent of Cray/Unicos-9... no checking for mntctl function and struct vmount... no checking for one-argument getmntent function... yes checking sys/mntent.h usability... no checking sys/mntent.h presence... no checking for sys/mntent.h... no checking for struct statfs.f_fstypename... no checking whether is self-contained... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for working re_compile_pattern... no checking whether isblank is declared... yes checking for stdint.h... (cached) yes checking for SIZE_MAX... yes checking for snprintf... yes checking for socklen_t... yes checking for ssize_t... (cached) yes checking whether stdint.h conforms to C99... no checking sys/inttypes.h usability... no checking sys/inttypes.h presence... no checking for sys/inttypes.h... no checking sys/bitypes.h usability... yes checking sys/bitypes.h presence... yes checking for sys/bitypes.h... yes checking for bit size of ptrdiff_t... 64 checking for bit size of sig_atomic_t... 32 checking for bit size of size_t... 64 checking for bit size of wchar_t... 32 checking for bit size of wint_t... 32 checking whether sig_atomic_t is signed... yes checking whether wchar_t is signed... yes checking whether wint_t is signed... no checking for ptrdiff_t integer literal suffix... l checking for sig_atomic_t integer literal suffix... checking for size_t integer literal suffix... ul checking for wchar_t integer literal suffix... checking for wint_t integer literal suffix... u checking for strdup... (cached) yes checking for working strndup... yes checking for working strnlen... yes checking whether is self-contained... (cached) yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for ptrdiff_t... yes checking for snprintf... (cached) yes checking for wcslen... yes checking whether _snprintf is declared... no checking for vasprintf... yes checking for vsnprintf... yes checking whether is standalone... yes checking for stdint.h... (cached) yes configure: creating ./config.status config.status: creating gl/Makefile config.status: creating Makefile config.status: creating lib/Makefile config.status: creating plugins/Makefile config.status: creating lib/tests/Makefile config.status: creating plugins-root/Makefile config.status: creating plugins-scripts/Makefile config.status: creating plugins-scripts/subst config.status: creating plugins-scripts/utils.pm config.status: creating plugins-scripts/utils.sh config.status: creating perlmods/Makefile config.status: creating command.cfg config.status: creating test.pl config.status: creating pkg/solaris/pkginfo config.status: creating po/Makefile.in config.status: creating config.h config.status: executing depfiles commands config.status: executing po-directories commands config.status: creating po/POTFILES config.status: creating po/Makefile --with-apt-get-command: --with-ping6-command: /bin/ping6 -n -U -w %d -c %d %s --with-ping-command: /bin/ping -n -U -w %d -c %d %s --with-ipv6: yes --with-mysql: /usr/bin/mysql_config --with-openssl: yes --with-gnutls: no --enable-extra-opts: no --with-perl: /usr/bin/perl --enable-perl-modules: no --with-cgiurl: /nagios/cgi-bin --with-trusted-path: /bin:/sbin:/usr/bin:/usr/sbin MAKE OUTPUT [root at whale nagios-plugins-1.4.12]# make make all-recursive make[1]: Entering directory `/data/home/joshrich/nagDownloads/nagios-plugins-1.4.12' Making all in gl make[2]: Entering directory `/data/home/joshrich/nagDownloads/nagios-plugins-1.4.12/gl' { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ cat ./alloca.in.h; \ } > alloca.h-t mv -f alloca.h-t alloca.h rm -f configmake.h-t configmake.h { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ echo '#define PREFIX "/usr/local/nagios"'; \ echo '#define EXEC_PREFIX "/usr/local/nagios"'; \ echo '#define BINDIR "/usr/local/nagios/bin"'; \ echo '#define SBINDIR "/usr/local/nagios/sbin"'; \ echo '#define LIBEXECDIR "/usr/local/nagios/libexec"'; \ echo '#define DATAROOTDIR "/usr/local/nagios/share"'; \ echo '#define DATADIR "/usr/local/nagios/share"'; \ echo '#define SYSCONFDIR "/usr/local/nagios/etc"'; \ echo '#define SHAREDSTATEDIR "/usr/local/nagios/com"'; \ echo '#define LOCALSTATEDIR "/usr/local/nagios/var"'; \ echo '#define INCLUDEDIR "/usr/local/nagios/include"'; \ echo '#define OLDINCLUDEDIR "/usr/include"'; \ echo '#define DOCDIR "/usr/local/nagios/share/doc/nagios-plugins"'; \ echo '#define INFODIR "/usr/local/nagios/share/info"'; \ echo '#define HTMLDIR "/usr/local/nagios/share/doc/nagios-plugins"'; \ echo '#define DVIDIR "/usr/local/nagios/share/doc/nagios-plugins"'; \ echo '#define PDFDIR "/usr/local/nagios/share/doc/nagios-plugins"'; \ echo '#define PSDIR "/usr/local/nagios/share/doc/nagios-plugins"'; \ echo '#define LIBDIR "/usr/local/nagios/lib"'; \ echo '#define LISPDIR ""'; \ echo '#define LOCALEDIR "/usr/local/nagios/share/locale"'; \ echo '#define MANDIR "/usr/local/nagios/share/man"'; \ echo '#define MANEXT ""'; \ echo '#define PKGDATADIR "/usr/local/nagios/share/nagios-plugins"'; \ echo '#define PKGINCLUDEDIR "/usr/local/nagios/include/nagios-plugins"'; \ echo '#define PKGLIBDIR "/usr/local/nagios/lib/nagios-plugins"'; \ echo '#define PKGLIBEXECDIR ""'; \ } | sed '/""/d' > configmake.h-t mv configmake.h-t configmake.h rm -f math.h-t math.h { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ sed -e 's/@''INCLUDE_NEXT''@/include_next/g' \ -e 's|@''NEXT_MATH_H''@||g' \ -e 's|@''GNULIB_CEILF''@|0|g' \ -e 's|@''GNULIB_CEILL''@|0|g' \ -e 's|@''GNULIB_FLOORF''@|1|g' \ -e 's|@''GNULIB_FLOORL''@|0|g' \ -e 's|@''GNULIB_FREXP''@|0|g' \ -e 's|@''GNULIB_FREXPL''@|0|g' \ -e 's|@''GNULIB_ISFINITE''@|0|g' \ -e 's|@''GNULIB_LDEXPL''@|0|g' \ -e 's|@''GNULIB_MATHL''@|0|g' \ -e 's|@''GNULIB_ROUND''@|0|g' \ -e 's|@''GNULIB_ROUNDF''@|0|g' \ -e 's|@''GNULIB_ROUNDL''@|0|g' \ -e 's|@''GNULIB_SIGNBIT''@|0|g' \ -e 's|@''GNULIB_TRUNC''@|0|g' \ -e 's|@''GNULIB_TRUNCF''@|0|g' \ -e 's|@''GNULIB_TRUNCL''@|0|g' \ -e 's|@''HAVE_DECL_ACOSL''@|1|g' \ -e 's|@''HAVE_DECL_ASINL''@|1|g' \ -e 's|@''HAVE_DECL_ATANL''@|1|g' \ -e 's|@''HAVE_DECL_COSL''@|1|g' \ -e 's|@''HAVE_DECL_EXPL''@|1|g' \ -e 's|@''HAVE_DECL_FREXPL''@|1|g' \ -e 's|@''HAVE_DECL_LDEXPL''@|1|g' \ -e 's|@''HAVE_DECL_LOGL''@|1|g' \ -e 's|@''HAVE_DECL_SINL''@|1|g' \ -e 's|@''HAVE_DECL_SQRTL''@|1|g' \ -e 's|@''HAVE_DECL_TANL''@|1|g' \ -e 's|@''HAVE_DECL_TRUNC''@|1|g' \ -e 's|@''HAVE_DECL_TRUNCF''@|1|g' \ -e 's|@''HAVE_DECL_TRUNCL''@|1|g' \ -e 's|@''REPLACE_CEILF''@|0|g' \ -e 's|@''REPLACE_CEILL''@|0|g' \ -e 's|@''REPLACE_FLOORF''@|0|g' \ -e 's|@''REPLACE_FLOORL''@|0|g' \ -e 's|@''REPLACE_FREXP''@|0|g' \ -e 's|@''REPLACE_FREXPL''@|0|g' \ -e 's|@''REPLACE_ISFINITE''@|0|g' \ -e 's|@''REPLACE_LDEXPL''@|0|g' \ -e 's|@''REPLACE_ROUND''@|0|g' \ -e 's|@''REPLACE_ROUNDF''@|0|g' \ -e 's|@''REPLACE_ROUNDL''@|0|g' \ -e 's|@''REPLACE_SIGNBIT''@|0|g' \ -e 's|@''REPLACE_SIGNBIT_USING_GCC''@|0|g' \ -e '/definition of GL_LINK_WARNING/r ../build-aux/link-warning.h' \ < ./math.in.h; \ } > math.h-t mv math.h-t math.h rm -f stdint.h-t stdint.h { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ sed -e 's/@''HAVE_STDINT_H''@/1/g' \ -e 's/@''INCLUDE_NEXT''@/include_next/g' \ -e 's|@''NEXT_STDINT_H''@||g' \ -e 's/@''HAVE_SYS_TYPES_H''@/1/g' \ -e 's/@''HAVE_INTTYPES_H''@/1/g' \ -e 's/@''HAVE_SYS_INTTYPES_H''@/0/g' \ -e 's/@''HAVE_SYS_BITYPES_H''@/1/g' \ -e 's/@''HAVE_LONG_LONG_INT''@/1/g' \ -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/1/g' \ -e 's/@''BITSIZEOF_PTRDIFF_T''@/64/g' \ -e 's/@''PTRDIFF_T_SUFFIX''@/l/g' \ -e 's/@''BITSIZEOF_SIG_ATOMIC_T''@/32/g' \ -e 's/@''HAVE_SIGNED_SIG_ATOMIC_T''@/1/g' \ -e 's/@''SIG_ATOMIC_T_SUFFIX''@//g' \ -e 's/@''BITSIZEOF_SIZE_T''@/64/g' \ -e 's/@''SIZE_T_SUFFIX''@/ul/g' \ -e 's/@''BITSIZEOF_WCHAR_T''@/32/g' \ -e 's/@''HAVE_SIGNED_WCHAR_T''@/1/g' \ -e 's/@''WCHAR_T_SUFFIX''@//g' \ -e 's/@''BITSIZEOF_WINT_T''@/32/g' \ -e 's/@''HAVE_SIGNED_WINT_T''@/0/g' \ -e 's/@''WINT_T_SUFFIX''@/u/g' \ < ./stdint.in.h; \ } > stdint.h-t mv stdint.h-t stdint.h rm -f stdio.h-t stdio.h { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ sed -e 's/@''INCLUDE_NEXT''@/include_next/g' \ -e 's|@''NEXT_STDIO_H''@||g' \ -e 's|@''GNULIB_FPRINTF_POSIX''@|0|g' \ -e 's|@''GNULIB_PRINTF_POSIX''@|0|g' \ -e 's|@''GNULIB_SNPRINTF''@|1|g' \ -e 's|@''GNULIB_SPRINTF_POSIX''@|0|g' \ -e 's|@''GNULIB_VFPRINTF_POSIX''@|0|g' \ -e 's|@''GNULIB_VPRINTF_POSIX''@|0|g' \ -e 's|@''GNULIB_VSNPRINTF''@|1|g' \ -e 's|@''GNULIB_VSPRINTF_POSIX''@|0|g' \ -e 's|@''GNULIB_VASPRINTF''@|1|g' \ -e 's|@''GNULIB_FOPEN''@|0|g' \ -e 's|@''GNULIB_FREOPEN''@|0|g' \ -e 's|@''GNULIB_FSEEK''@|0|g' \ -e 's|@''GNULIB_FSEEKO''@|0|g' \ -e 's|@''GNULIB_FTELL''@|0|g' \ -e 's|@''GNULIB_FTELLO''@|0|g' \ -e 's|@''GNULIB_FFLUSH''@|0|g' \ -e 's|@''GNULIB_GETDELIM''@|0|g' \ -e 's|@''GNULIB_GETLINE''@|0|g' \ -e 's|@''REPLACE_FPRINTF''@|0|g' \ -e 's|@''REPLACE_VFPRINTF''@|0|g' \ -e 's|@''REPLACE_PRINTF''@|0|g' \ -e 's|@''REPLACE_VPRINTF''@|0|g' \ -e 's|@''REPLACE_SNPRINTF''@|0|g' \ -e 's|@''HAVE_DECL_SNPRINTF''@|1|g' \ -e 's|@''REPLACE_VSNPRINTF''@|0|g' \ -e 's|@''HAVE_DECL_VSNPRINTF''@|1|g' \ -e 's|@''REPLACE_SPRINTF''@|0|g' \ -e 's|@''REPLACE_VSPRINTF''@|0|g' \ -e 's|@''HAVE_VASPRINTF''@|1|g' \ -e 's|@''REPLACE_VASPRINTF''@|0|g' \ -e 's|@''REPLACE_FOPEN''@|0|g' \ -e 's|@''REPLACE_FREOPEN''@|0|g' \ -e 's|@''REPLACE_FSEEKO''@|0|g' \ -e 's|@''REPLACE_FSEEK''@|0|g' \ -e 's|@''REPLACE_FTELLO''@|0|g' \ -e 's|@''REPLACE_FTELL''@|0|g' \ -e 's|@''REPLACE_FFLUSH''@|0|g' \ -e 's|@''HAVE_DECL_GETDELIM''@|1|g' \ -e 's|@''HAVE_DECL_GETLINE''@|1|g' \ -e 's|@''REPLACE_GETLINE''@|0|g' \ -e '/definition of GL_LINK_WARNING/r ../build-aux/link-warning.h' \ < ./stdio.in.h; \ } > stdio.h-t mv stdio.h-t stdio.h rm -f stdlib.h-t stdlib.h { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ sed -e 's/@''INCLUDE_NEXT''@/include_next/g' \ -e 's|@''NEXT_STDLIB_H''@||g' \ -e 's|@''GNULIB_MALLOC_POSIX''@|1|g' \ -e 's|@''GNULIB_REALLOC_POSIX''@|0|g' \ -e 's|@''GNULIB_CALLOC_POSIX''@|0|g' \ -e 's|@''GNULIB_GETSUBOPT''@|0|g' \ -e 's|@''GNULIB_MKDTEMP''@|0|g' \ -e 's|@''GNULIB_MKSTEMP''@|0|g' \ -e 's|@''GNULIB_PUTENV''@|0|g' \ -e 's|@''GNULIB_SETENV''@|0|g' \ -e 's|@''GNULIB_UNSETENV''@|0|g' \ -e 's|@''HAVE_CALLOC_POSIX''@|1|g' \ -e 's|@''HAVE_GETSUBOPT''@|1|g' \ -e 's|@''HAVE_MALLOC_POSIX''@|1|g' \ -e 's|@''HAVE_MKDTEMP''@|1|g' \ -e 's|@''HAVE_REALLOC_POSIX''@|1|g' \ -e 's|@''HAVE_SETENV''@|1|g' \ -e 's|@''HAVE_UNSETENV''@|1|g' \ -e 's|@''REPLACE_MKSTEMP''@|0|g' \ -e 's|@''REPLACE_PUTENV''@|0|g' \ -e 's|@''VOID_UNSETENV''@|0|g' \ -e '/definition of GL_LINK_WARNING/r ../build-aux/link-warning.h' \ < ./stdlib.in.h; \ } > stdlib.h-t mv stdlib.h-t stdlib.h rm -f string.h-t string.h { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ sed -e 's/@''INCLUDE_NEXT''@/include_next/g' \ -e 's|@''NEXT_STRING_H''@||g' \ -e 's|@''GNULIB_MBSLEN''@|0|g' \ -e 's|@''GNULIB_MBSNLEN''@|0|g' \ -e 's|@''GNULIB_MBSCHR''@|0|g' \ -e 's|@''GNULIB_MBSRCHR''@|0|g' \ -e 's|@''GNULIB_MBSSTR''@|0|g' \ -e 's|@''GNULIB_MBSCASECMP''@|0|g' \ -e 's|@''GNULIB_MBSNCASECMP''@|0|g' \ -e 's|@''GNULIB_MBSPCASECMP''@|0|g' \ -e 's|@''GNULIB_MBSCASESTR''@|0|g' \ -e 's|@''GNULIB_MBSCSPN''@|0|g' \ -e 's|@''GNULIB_MBSPBRK''@|0|g' \ -e 's|@''GNULIB_MBSSPN''@|0|g' \ -e 's|@''GNULIB_MBSSEP''@|0|g' \ -e 's|@''GNULIB_MBSTOK_R''@|0|g' \ -e 's|@''GNULIB_MEMMEM''@|0|g' \ -e 's|@''GNULIB_MEMPCPY''@|0|g' \ -e 's|@''GNULIB_MEMRCHR''@|0|g' \ -e 's|@''GNULIB_STPCPY''@|0|g' \ -e 's|@''GNULIB_STPNCPY''@|0|g' \ -e 's|@''GNULIB_STRCHRNUL''@|0|g' \ -e 's|@''GNULIB_STRDUP''@|1|g' \ -e 's|@''GNULIB_STRNDUP''@|1|g' \ -e 's|@''GNULIB_STRNLEN''@|1|g' \ -e 's|@''GNULIB_STRPBRK''@|0|g' \ -e 's|@''GNULIB_STRSEP''@|0|g' \ -e 's|@''GNULIB_STRSTR''@|0|g' \ -e 's|@''GNULIB_STRCASESTR''@|0|g' \ -e 's|@''GNULIB_STRTOK_R''@|0|g' \ -e 's|@''GNULIB_STRERROR''@|1|g' \ -e 's|@''GNULIB_STRSIGNAL''@|0|g' \ -e 's|@''HAVE_DECL_MEMMEM''@|1|g' \ -e 's|@''HAVE_MEMPCPY''@|1|g' \ -e 's|@''HAVE_DECL_MEMRCHR''@|1|g' \ -e 's|@''HAVE_STPCPY''@|1|g' \ -e 's|@''HAVE_STPNCPY''@|1|g' \ -e 's|@''HAVE_STRCHRNUL''@|1|g' \ -e 's|@''HAVE_DECL_STRDUP''@|1|g' \ -e 's|@''HAVE_STRNDUP''@|1|g' \ -e 's|@''HAVE_DECL_STRNDUP''@|1|g' \ -e 's|@''HAVE_DECL_STRNLEN''@|1|g' \ -e 's|@''HAVE_STRPBRK''@|1|g' \ -e 's|@''HAVE_STRSEP''@|1|g' \ -e 's|@''HAVE_STRCASESTR''@|1|g' \ -e 's|@''HAVE_DECL_STRTOK_R''@|1|g' \ -e 's|@''HAVE_DECL_STRERROR''@|1|g' \ -e 's|@''HAVE_DECL_STRSIGNAL''@|1|g' \ -e 's|@''REPLACE_MEMMEM''@|0|g' \ -e 's|@''REPLACE_STRCASESTR''@|0|g' \ -e 's|@''REPLACE_STRSTR''@|0|g' \ -e 's|@''REPLACE_STRERROR''@|0|g' \ -e 's|@''REPLACE_STRSIGNAL''@|0|g' \ -e '/definition of GL_LINK_WARNING/r ../build-aux/link-warning.h' \ < ./string.in.h; \ } > string.h-t mv string.h-t string.h rm -f unistd.h-t unistd.h { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ sed -e 's|@''HAVE_UNISTD_H''@|1|g' \ -e 's/@''INCLUDE_NEXT''@/include_next/g' \ -e 's|@''NEXT_UNISTD_H''@||g' \ -e 's|@''GNULIB_CHOWN''@|0|g' \ -e 's|@''GNULIB_DUP2''@|0|g' \ -e 's|@''GNULIB_FCHDIR''@|0|g' \ -e 's|@''GNULIB_FTRUNCATE''@|0|g' \ -e 's|@''GNULIB_GETCWD''@|0|g' \ -e 's|@''GNULIB_GETLOGIN_R''@|0|g' \ -e 's|@''GNULIB_GETPAGESIZE''@|0|g' \ -e 's|@''GNULIB_LCHOWN''@|0|g' \ -e 's|@''GNULIB_LSEEK''@|0|g' \ -e 's|@''GNULIB_READLINK''@|0|g' \ -e 's|@''GNULIB_SLEEP''@|0|g' \ -e 's|@''HAVE_DUP2''@|1|g' \ -e 's|@''HAVE_FTRUNCATE''@|1|g' \ -e 's|@''HAVE_GETPAGESIZE''@|1|g' \ -e 's|@''HAVE_READLINK''@|1|g' \ -e 's|@''HAVE_SLEEP''@|1|g' \ -e 's|@''HAVE_DECL_GETLOGIN_R''@|1|g' \ -e 's|@''HAVE_OS_H''@|0|g' \ -e 's|@''HAVE_SYS_PARAM_H''@|0|g' \ -e 's|@''REPLACE_CHOWN''@|0|g' \ -e 's|@''REPLACE_FCHDIR''@|0|g' \ -e 's|@''REPLACE_GETCWD''@|0|g' \ -e 's|@''REPLACE_GETPAGESIZE''@|0|g' \ -e 's|@''REPLACE_LCHOWN''@|0|g' \ -e 's|@''REPLACE_LSEEK''@|0|g' \ < ./unistd.in.h; \ } > unistd.h-t mv unistd.h-t unistd.h make all-am make[3]: Entering directory `/data/home/joshrich/nagDownloads/nagios-plugins-1.4.12/gl' if gcc -m64 -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -g -O2 -MT base64.o -MD -MP -MF ".deps/base64.Tpo" -c -o base64.o base64.c; \ then mv -f ".deps/base64.Tpo" ".deps/base64.Po"; else rm -f ".deps/base64.Tpo"; exit 1; fi if gcc -m64 -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -g -O2 -MT full-read.o -MD -MP -MF ".deps/full-read.Tpo" -c -o full-read.o full-read.c; \ then mv -f ".deps/full-read.Tpo" ".deps/full-read.Po"; else rm -f ".deps/full-read.Tpo"; exit 1; fi if gcc -m64 -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -g -O2 -MT full-write.o -MD -MP -MF ".deps/full-write.Tpo" -c -o full-write.o full-write.c; \ then mv -f ".deps/full-write.Tpo" ".deps/full-write.Po"; else rm -f ".deps/full-write.Tpo"; exit 1; fi if gcc -m64 -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -g -O2 -MT localcharset.o -MD -MP -MF ".deps/localcharset.Tpo" -c -o localcharset.o localcharset.c; \ then mv -f ".deps/localcharset.Tpo" ".deps/localcharset.Po"; else rm -f ".deps/localcharset.Tpo"; exit 1; fi if gcc -m64 -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -g -O2 -MT xalloc-die.o -MD -MP -MF ".deps/xalloc-die.Tpo" -c -o xalloc-die.o xalloc-die.c; \ then mv -f ".deps/xalloc-die.Tpo" ".deps/xalloc-die.Po"; else rm -f ".deps/xalloc-die.Tpo"; exit 1; fi if gcc -m64 -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -g -O2 -MT xstrndup.o -MD -MP -MF ".deps/xstrndup.Tpo" -c -o xstrndup.o xstrndup.c; \ then mv -f ".deps/xstrndup.Tpo" ".deps/xstrndup.Po"; else rm -f ".deps/xstrndup.Tpo"; exit 1; fi if gcc -m64 -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -g -O2 -MT asnprintf.o -MD -MP -MF ".deps/asnprintf.Tpo" -c -o asnprintf.o asnprintf.c; \ then mv -f ".deps/asnprintf.Tpo" ".deps/asnprintf.Po"; else rm -f ".deps/asnprintf.Tpo"; exit 1; fi if gcc -m64 -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -g -O2 -MT basename.o -MD -MP -MF ".deps/basename.Tpo" -c -o basename.o basename.c; \ then mv -f ".deps/basename.Tpo" ".deps/basename.Po"; else rm -f ".deps/basename.Tpo"; exit 1; fi if gcc -m64 -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -g -O2 -MT c-strtod.o -MD -MP -MF ".deps/c-strtod.Tpo" -c -o c-strtod.o c-strtod.c; \ then mv -f ".deps/c-strtod.Tpo" ".deps/c-strtod.Po"; else rm -f ".deps/c-strtod.Tpo"; exit 1; fi if gcc -m64 -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -g -O2 -MT cloexec.o -MD -MP -MF ".deps/cloexec.Tpo" -c -o cloexec.o cloexec.c; \ then mv -f ".deps/cloexec.Tpo" ".deps/cloexec.Po"; else rm -f ".deps/cloexec.Tpo"; exit 1; fi if gcc -m64 -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -g -O2 -MT creat-safer.o -MD -MP -MF ".deps/creat-safer.Tpo" -c -o creat-safer.o creat-safer.c; \ then mv -f ".deps/creat-safer.Tpo" ".deps/creat-safer.Po"; else rm -f ".deps/creat-safer.Tpo"; exit 1; fi if gcc -m64 -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -g -O2 -MT dirname.o -MD -MP -MF ".deps/dirname.Tpo" -c -o dirname.o dirname.c; \ then mv -f ".deps/dirname.Tpo" ".deps/dirname.Po"; else rm -f ".deps/dirname.Tpo"; exit 1; fi if gcc -m64 -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -g -O2 -MT dup-safer.o -MD -MP -MF ".deps/dup-safer.Tpo" -c -o dup-safer.o dup-safer.c; \ then mv -f ".deps/dup-safer.Tpo" ".deps/dup-safer.Po"; else rm -f ".deps/dup-safer.Tpo"; exit 1; fi if gcc -m64 -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -g -O2 -MT exitfail.o -MD -MP -MF ".deps/exitfail.Tpo" -c -o exitfail.o exitfail.c; \ then mv -f ".deps/exitfail.Tpo" ".deps/exitfail.Po"; else rm -f ".deps/exitfail.Tpo"; exit 1; fi if gcc -m64 -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -g -O2 -MT fd-safer.o -MD -MP -MF ".deps/fd-safer.Tpo" -c -o fd-safer.o fd-safer.c; \ then mv -f ".deps/fd-safer.Tpo" ".deps/fd-safer.Po"; else rm -f ".deps/fd-safer.Tpo"; exit 1; fi if gcc -m64 -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -g -O2 -MT mountlist.o -MD -MP -MF ".deps/mountlist.Tpo" -c -o mountlist.o mountlist.c; \ then mv -f ".deps/mountlist.Tpo" ".deps/mountlist.Po"; else rm -f ".deps/mountlist.Tpo"; exit 1; fi if gcc -m64 -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -g -O2 -MT open-safer.o -MD -MP -MF ".deps/open-safer.Tpo" -c -o open-safer.o open-safer.c; \ then mv -f ".deps/open-safer.Tpo" ".deps/open-safer.Po"; else rm -f ".deps/open-safer.Tpo"; exit 1; fi if gcc -m64 -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -g -O2 -MT pipe-safer.o -MD -MP -MF ".deps/pipe-safer.Tpo" -c -o pipe-safer.o pipe-safer.c; \ then mv -f ".deps/pipe-safer.Tpo" ".deps/pipe-safer.Po"; else rm -f ".deps/pipe-safer.Tpo"; exit 1; fi if gcc -m64 -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -g -O2 -MT printf-args.o -MD -MP -MF ".deps/printf-args.Tpo" -c -o printf-args.o printf-args.c; \ then mv -f ".deps/printf-args.Tpo" ".deps/printf-args.Po"; else rm -f ".deps/printf-args.Tpo"; exit 1; fi if gcc -m64 -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -g -O2 -MT printf-parse.o -MD -MP -MF ".deps/printf-parse.Tpo" -c -o printf-parse.o printf-parse.c; \ then mv -f ".deps/printf-parse.Tpo" ".deps/printf-parse.Po"; else rm -f ".deps/printf-parse.Tpo"; exit 1; fi if gcc -m64 -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -g -O2 -MT regex.o -MD -MP -MF ".deps/regex.Tpo" -c -o regex.o regex.c; \ then mv -f ".deps/regex.Tpo" ".deps/regex.Po"; else rm -f ".deps/regex.Tpo"; exit 1; fi if gcc -m64 -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -g -O2 -MT safe-read.o -MD -MP -MF ".deps/safe-read.Tpo" -c -o safe-read.o safe-read.c; \ then mv -f ".deps/safe-read.Tpo" ".deps/safe-read.Po"; else rm -f ".deps/safe-read.Tpo"; exit 1; fi if gcc -m64 -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -g -O2 -MT safe-write.o -MD -MP -MF ".deps/safe-write.Tpo" -c -o safe-write.o safe-write.c; \ then mv -f ".deps/safe-write.Tpo" ".deps/safe-write.Po"; else rm -f ".deps/safe-write.Tpo"; exit 1; fi if gcc -m64 -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -g -O2 -MT stripslash.o -MD -MP -MF ".deps/stripslash.Tpo" -c -o stripslash.o stripslash.c; \ then mv -f ".deps/stripslash.Tpo" ".deps/stripslash.Po"; else rm -f ".deps/stripslash.Tpo"; exit 1; fi if gcc -m64 -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -g -O2 -MT vasnprintf.o -MD -MP -MF ".deps/vasnprintf.Tpo" -c -o vasnprintf.o vasnprintf.c; \ then mv -f ".deps/vasnprintf.Tpo" ".deps/vasnprintf.Po"; else rm -f ".deps/vasnprintf.Tpo"; exit 1; fi if gcc -m64 -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -g -O2 -MT xmalloc.o -MD -MP -MF ".deps/xmalloc.Tpo" -c -o xmalloc.o xmalloc.c; \ then mv -f ".deps/xmalloc.Tpo" ".deps/xmalloc.Po"; else rm -f ".deps/xmalloc.Tpo"; exit 1; fi rm -f libgnu.a ar cru libgnu.a base64.o full-read.o full-write.o localcharset.o xalloc-die.o xstrndup.o asnprintf.o basename.o c-strtod.o cloexec.o creat-safer.o dirname.o dup-safer.o exitfail.o fd-safer.o mountlist.o open-safer.o pipe-safer.o printf-args.o printf-parse.o regex.o safe-read.o safe-write.o stripslash.o vasnprintf.o xmalloc.o ranlib libgnu.a rm -f t-charset.alias charset.alias /bin/sh ./config.charset 'x86_64-unknown-linux-gnu' > t-charset.alias mv t-charset.alias charset.alias rm -f t-ref-add.sed ref-add.sed sed -e '/^#/d' -e 's/@''PACKAGE''@/nagios-plugins/g' ref-add.sin > t-ref-add.sed mv t-ref-add.sed ref-add.sed rm -f t-ref-del.sed ref-del.sed sed -e '/^#/d' -e 's/@''PACKAGE''@/nagios-plugins/g' ref-del.sin > t-ref-del.sed mv t-ref-del.sed ref-del.sed make[3]: Leaving directory `/data/home/joshrich/nagDownloads/nagios-plugins-1.4.12/gl' make[2]: Leaving directory `/data/home/joshrich/nagDownloads/nagios-plugins-1.4.12/gl' Making all in lib make[2]: Entering directory `/data/home/joshrich/nagDownloads/nagios-plugins-1.4.12/lib' Making all in tests make[3]: Entering directory `/data/home/joshrich/nagDownloads/nagios-plugins-1.4.12/lib/tests' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/data/home/joshrich/nagDownloads/nagios-plugins-1.4.12/lib/tests' make[3]: Entering directory `/data/home/joshrich/nagDownloads/nagios-plugins-1.4.12/lib' if gcc -m64 -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../gl -I../intl -I../plugins -g -O2 -MT utils_base.o -MD -MP -MF ".deps/utils_base.Tpo" -c -o utils_base.o utils_base.c; \ then mv -f ".deps/utils_base.Tpo" ".deps/utils_base.Po"; else rm -f ".deps/utils_base.Tpo"; exit 1; fi if gcc -m64 -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../gl -I../intl -I../plugins -g -O2 -MT utils_disk.o -MD -MP -MF ".deps/utils_disk.Tpo" -c -o utils_disk.o utils_disk.c; \ then mv -f ".deps/utils_disk.Tpo" ".deps/utils_disk.Po"; else rm -f ".deps/utils_disk.Tpo"; exit 1; fi if gcc -m64 -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../gl -I../intl -I../plugins -g -O2 -MT utils_tcp.o -MD -MP -MF ".deps/utils_tcp.Tpo" -c -o utils_tcp.o utils_tcp.c; \ then mv -f ".deps/utils_tcp.Tpo" ".deps/utils_tcp.Po"; else rm -f ".deps/utils_tcp.Tpo"; exit 1; fi if gcc -m64 -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../gl -I../intl -I../plugins -g -O2 -MT utils_cmd.o -MD -MP -MF ".deps/utils_cmd.Tpo" -c -o utils_cmd.o utils_cmd.c; \ then mv -f ".deps/utils_cmd.Tpo" ".deps/utils_cmd.Po"; else rm -f ".deps/utils_cmd.Tpo"; exit 1; fi rm -f libnagiosplug.a ar cru libnagiosplug.a utils_base.o utils_disk.o utils_tcp.o utils_cmd.o ranlib libnagiosplug.a make[3]: Leaving directory `/data/home/joshrich/nagDownloads/nagios-plugins-1.4.12/lib' make[2]: Leaving directory `/data/home/joshrich/nagDownloads/nagios-plugins-1.4.12/lib' Making all in plugins make[2]: Entering directory `/data/home/joshrich/nagDownloads/nagios-plugins-1.4.12/plugins' if gcc -m64 -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I../gl -I../intl -I/usr/include/ldap -I/usr/include -g -O2 -MT check_apt.o -MD -MP -MF ".deps/check_apt.Tpo" -c -o check_apt.o check_apt.c; \ then mv -f ".deps/check_apt.Tpo" ".deps/check_apt.Po"; else rm -f ".deps/check_apt.Tpo"; exit 1; fi if gcc -m64 -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I../gl -I../intl -I/usr/include/ldap -I/usr/include -g -O2 -MT utils.o -MD -MP -MF ".deps/utils.Tpo" -c -o utils.o utils.c; \ then mv -f ".deps/utils.Tpo" ".deps/utils.Po"; else rm -f ".deps/utils.Tpo"; exit 1; fi if gcc -m64 -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I../gl -I../intl -I/usr/include/ldap -I/usr/include -g -O2 -MT runcmd.o -MD -MP -MF ".deps/runcmd.Tpo" -c -o runcmd.o runcmd.c; \ then mv -f ".deps/runcmd.Tpo" ".deps/runcmd.Po"; else rm -f ".deps/runcmd.Tpo"; exit 1; fi /bin/sh ../libtool --tag=CC --mode=link gcc -m64 -g -O2 -L. -o check_apt check_apt.o utils.o ../lib/libnagiosplug.a ../gl/libgnu.a runcmd.o -ldl mkdir .libs gcc -m64 -g -O2 -o check_apt check_apt.o utils.o runcmd.o -L/home/joshrich/nagDownloads/nagios-plugins-1.4.12/plugins ../lib/libnagiosplug.a ../gl/libgnu.a -ldl if gcc -m64 -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I../gl -I../intl -I/usr/include/ldap -I/usr/include -g -O2 -MT check_cluster.o -MD -MP -MF ".deps/check_cluster.Tpo" -c -o check_cluster.o check_cluster.c; \ then mv -f ".deps/check_cluster.Tpo" ".deps/check_cluster.Po"; else rm -f ".deps/check_cluster.Tpo"; exit 1; fi /bin/sh ../libtool --tag=CC --mode=link gcc -m64 -g -O2 -L. -o check_cluster check_cluster.o utils.o ../lib/libnagiosplug.a ../gl/libgnu.a -ldl gcc -m64 -g -O2 -o check_cluster check_cluster.o utils.o -L/home/joshrich/nagDownloads/nagios-plugins-1.4.12/plugins ../lib/libnagiosplug.a ../gl/libgnu.a -ldl if gcc -m64 -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I../gl -I../intl -I/usr/include/ldap -I/usr/include -g -O2 -MT check_disk.o -MD -MP -MF ".deps/check_disk.Tpo" -c -o check_disk.o check_disk.c; \ then mv -f ".deps/check_disk.Tpo" ".deps/check_disk.Po"; else rm -f ".deps/check_disk.Tpo"; exit 1; fi if gcc -m64 -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I../gl -I../intl -I/usr/include/ldap -I/usr/include -g -O2 -MT popen.o -MD -MP -MF ".deps/popen.Tpo" -c -o popen.o popen.c; \ then mv -f ".deps/popen.Tpo" ".deps/popen.Po"; else rm -f ".deps/popen.Tpo"; exit 1; fi /bin/sh ../libtool --tag=CC --mode=link gcc -m64 -g -O2 -L. -o check_disk check_disk.o utils.o ../lib/libnagiosplug.a ../gl/libgnu.a popen.o -ldl gcc -m64 -g -O2 -o check_disk check_disk.o utils.o popen.o -L/home/joshrich/nagDownloads/nagios-plugins-1.4.12/plugins ../lib/libnagiosplug.a ../gl/libgnu.a -ldl check_disk.o(.text+0x1a8e): In function `main': /home/joshrich/nagDownloads/nagios-plugins-1.4.12/plugins/check_disk.c:2 62: undefined reference to `get_fs_usage' check_disk.o(.text+0x1c06):/home/joshrich/nagDownloads/nagios-plugins-1. 4.12/plugins/check_disk.c:307: undefined reference to `get_fs_usage' collect2: ld returned 1 exit status make[2]: *** [check_disk] Error 1 make[2]: Leaving directory `/data/home/joshrich/nagDownloads/nagios-plugins-1.4.12/plugins' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/data/home/joshrich/nagDownloads/nagios-plugins-1.4.12' make: *** [all] Error 2 -------------- next part -------------- A non-text attachment was scrubbed... Name: Richardson, Joshua.vcf Type: text/x-vcard Size: 235 bytes Desc: Richardson, Joshua.vcf URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cyruspy at gmail.com Tue Aug 5 21:42:51 2008 From: cyruspy at gmail.com (Ciro Iriarte) Date: Tue, 5 Aug 2008 15:42:51 -0400 Subject: ndo2db - Error: mysql_query() failed Message-ID: Hi, i'm having issues with ndoutils 1.4b7 and nagios 3.0.3, after some time nagios stops working and I have many defunct processes with no movement on nagios.log. On /var/log/messages I found some complains from ndo2db, but i'm not sure they are related. ------------------ Aug 5 14:03:30 spmon ndo2db: Error: mysql_query() failed for 'INSERT INTO nagios_servicestatus SET instance_id='1', service_object_id='672', status_update_time=FROM_UNIXTIME(1217959410), output='LOG CRITICAL - /tas/monAlarm/log/alarm\.log: \[2008-08-05 14:00:01\] Insert alarm \[\[ALARMA\] Recibi SIGNAL SIGUSR1\. Pid=\(10345\)\] for pid=10345 \(intfCallRater\[Interface_Tasador_de_Llamadas\]\): Ok', perfdata='', current_state='2', has_been_checked='1', should_be_scheduled='1', current_check_attempt='1', max_check_attempts='1', last_check=FROM_UNIXTIME(1217959401), next_check=FROM_UNIXTIME(1217959116), check_type='0', last_state_change=FROM_UNIXTIME(1217959401), last_hard_state_change=FROM_UNIXTIME(1217959401), last_hard_state='0', last_time_ok=FROM_UNIXTIME(1217958996), last_time_warning=FROM_UNIXTIME(0), last_time_unknown=FROM_UNIXTIME(0), last_time_critical=FROM_UNIXTIME(1217959401), state_type='1', last_notification=FROM_UNIXTIME(1217959404), next_notification=FROM_UNIXTIME(3110119404), no_more_notifications='0', notifications_enabled='1', problem_has_been_acknowledged='0', acknowledgement_type='0', current_notification_number='1', passive_checks_enabled='1', active_checks_enabled='1', event_handler_enabled='1', flap_detection_enabled='0', is_flapping='0', percent_state_change='15.197370', latency='285.269000', execution_time='1.033410', scheduled_downtime_depth='0', failure_prediction_enabled='1', process_performance_data='1', obsess_over_service='1', modified_service_attributes='0', event_handler='ins2tt', check_command='check_log!/tas/monAlarm/log/alarm\.log!\'Insert\'!\'no definida en tabla CELDAS\'', normal_check_interval='2.000000', retry_check_interval='1.000000', check_timeperiod_object_id='139' ON DUPLICATE KEY UPDATE instance_id='1', service_object_id='672', status_update_time=FROM_UNIXTIME(1217959410), output='LOG CRITICAL - /tas/monAlarm/log/alarm\.log: \[2008-08-05 14:00:01\] Insert alarm \[\[ALARMA\] Recibi SIGNAL SIGUSR1\. Pid=\(10345\)\] for pid=10345 \(intfCallRater\[Interface_Tasador_de_Llamadas Aug 5 14:03:32 spmon ndo2db: Error: mysql_query() failed for 'INSERT INTO nagios_servicestatus SET instance_id='1', service_object_id='672', status_update_time=FROM_UNIXTIME(1217959411), output='LOG CRITICAL - /tas/monAlarm/log/alarm\.log: \[2008-08-05 14:00:01\] Insert alarm \[\[ALARMA\] Recibi SIGNAL SIGUSR1\. Pid=\(10345\)\] for pid=10345 \(intfCallRater\[Interface_Tasador_de_Llamadas\]\): Ok', perfdata='', current_state='2', has_been_checked='1', should_be_scheduled='1', current_check_attempt='1', max_check_attempts='1', last_check=FROM_UNIXTIME(1217959401), next_check=FROM_UNIXTIME(1217959521), check_type='0', last_state_change=FROM_UNIXTIME(1217959401), last_hard_state_change=FROM_UNIXTIME(1217959401), last_hard_state='2', last_time_ok=FROM_UNIXTIME(1217958996), last_time_warning=FROM_UNIXTIME(0), last_time_unknown=FROM_UNIXTIME(0), last_time_critical=FROM_UNIXTIME(1217959401), state_type='1', last_notification=FROM_UNIXTIME(1217959404), next_notification=FROM_UNIXTIME(3110119404), no_more_notifications='0', notifications_enabled='1', problem_has_been_acknowledged='0', acknowledgement_type='0', current_notification_number='1', passive_checks_enabled='1', active_checks_enabled='1', event_handler_enabled='1', flap_detection_enabled='0', is_flapping='0', percent_state_change='15.197370', latency='285.269000', execution_time='1.033410', scheduled_downtime_depth='0', failure_prediction_enabled='1', process_performance_data='1', obsess_over_service='1', modified_service_attributes='0', event_handler='ins2tt', check_command='check_log!/tas/monAlarm/log/alarm\.log!\'Insert\'!\'no definida en tabla CELDAS\'', normal_check_interval='2.000000', retry_check_interval='1.000000', check_timeperiod_object_id='139' ON DUPLICATE KEY UPDATE instance_id='1', service_object_id='672', status_update_time=FROM_UNIXTIME(1217959411), output='LOG CRITICAL - /tas/monAlarm/log/alarm\.log: \[2008-08-05 14:00:01\] Insert alarm \[\[ALARMA\] Recibi SIGNAL SIGUSR1\. Pid=\(10345\)\] for pid=10345 \(intfCallRater\[Interface_Tasador_de_Llamadas Aug 5 14:03:32 spmon ndo2db: Error: mysql_query() failed for 'INSERT INTO nagios_servicestatus SET instance_id='1', service_object_id='672', status_update_time=FROM_UNIXTIME(1217959411), output='LOG CRITICAL - /tas/monAlarm/log/alarm\.log: \[2008-08-05 14:00:01\] Insert alarm \[\[ALARMA\] Recibi SIGNAL SIGUSR1\. Pid=\(10345\)\] for pid=10345 \(intfCallRater\[Interface_Tasador_de_Llamadas\]\): Ok', perfdata='', current_state='2', has_been_checked='1', should_be_scheduled='1', current_check_attempt='1', max_check_attempts='1', last_check=FROM_UNIXTIME(1217959401), next_check=FROM_UNIXTIME(1217959521), check_type='0', last_state_change=FROM_UNIXTIME(1217959401), last_hard_state_change=FROM_UNIXTIME(1217959401), last_hard_state='2', last_time_ok=FROM_UNIXTIME(1217958996), last_time_warning=FROM_UNIXTIME(0), last_time_unknown=FROM_UNIXTIME(0), last_time_critical=FROM_UNIXTIME(1217959401), state_type='1', last_notification=FROM_UNIXTIME(1217959404), next_notification=FROM_UNIXTIME(3110119404), no_more_notifications='0', notifications_enabled='1', problem_has_been_acknowledged='0', acknowledgement_type='0', current_notification_number='1', passive_checks_enabled='1', active_checks_enabled='1', event_handler_enabled='1', flap_detection_enabled='0', is_flapping='0', percent_state_change='15.197370', latency='285.269000', execution_time='1.033410', scheduled_downtime_depth='0', failure_prediction_enabled='1', process_performance_data='1', obsess_over_service='1', modified_service_attributes='0', event_handler='ins2tt', check_command='check_log!/tas/monAlarm/log/alarm\.log!\'Insert\'!\'no definida en tabla CELDAS\'', normal_check_interval='2.000000', retry_check_interval='1.000000', check_timeperiod_object_id='139' ON DUPLICATE KEY UPDATE instance_id='1', service_object_id='672', status_update_time=FROM_UNIXTIME(1217959411), output='LOG CRITICAL - /tas/monAlarm/log/alarm\.log: \[2008-08-05 14:00:01\] Insert alarm \[\[ALARMA\] Recibi SIGNAL SIGUSR1\. Pid=\(10345\)\] for pid=10345 \(intfCallRater\[Interface_Tasador_de_Llamadas Aug 5 14:07:20 spmon ndo2db: Error: mysql_query() failed for 'INSERT INTO nagios_servicestatus SET instance_id='1', service_object_id='827', status_update_time=FROM_UNIXTIME(1217959640), output='LOG CRITICAL - /oracle10/app/oracle/admin/kml/bdump/alert_kml2\.log: Error 2068 trapped in 2PC on transaction 134\.29\.311341\. Cleaning up\.', perfdata='', current_state='2', has_been_checked='1', should_be_scheduled='1', current_check_attempt='1', max_check_attempts='1', last_check=FROM_UNIXTIME(1217959549), next_check=FROM_UNIXTIME(1217959279), check_type='0', last_state_change=FROM_UNIXTIME(1217959549), last_hard_state_change=FROM_UNIXTIME(1217959549), last_hard_state='0', last_time_ok=FROM_UNIXTIME(1217959159), last_time_warning=FROM_UNIXTIME(1217912164), last_time_unknown=FROM_UNIXTIME(0), last_time_critical=FROM_UNIXTIME(1217959549), state_type='1', last_notification=FROM_UNIXTIME(1217959638), next_notification=FROM_UNIXTIME(3110119638), no_more_notifications='0', notifications_enabled='1', problem_has_been_acknowledged='0', acknowledgement_type='0', current_notification_number='1', passive_checks_enabled='1', active_checks_enabled='1', event_handler_enabled='1', flap_detection_enabled='0', is_flapping='0', percent_state_change='27.565790', latency='270.342000', execution_time='0.570690', scheduled_downtime_depth='0', failure_prediction_enabled='1', process_performance_data='1', obsess_over_service='1', modified_service_attributes='0', event_handler='ins2tt', check_command='check_log!/oracle10/app/oracle/admin/kml/bdump/alert_kml2\.log!\'error|ora-|cannot|can\.t|unavailable|fail|WARNING|Unable|Deadlock|Enqueue\'', normal_check_interval='2.000000', retry_check_interval='1.000000', check_timeperiod_object_id='139' ON DUPLICATE KEY UPDATE instance_id='1', service_object_id='827', status_update_time=FROM_UNIXTIME(1217959640), output='LOG CRITICAL - /oracle10/app/oracle/admin/kml/bdump/alert_kml2\.log: Error 2068 trapped in 2PC on transaction 134\.29\.311341\. Cleaning up\.', perfdata='', current_state='2', has_been_chec ----------------- ----------------- Aug 5 15:28:44 spmon ndo2db: Successfully connected to MySQL database Aug 5 15:29:22 spmon ndo2db: Error: mysql_query() failed for 'INSERT INTO nagios_configfilevariables SET instance_id='1', configfile_id='1', varname='cfg_file', varvalue='/etc/nagios/objects/contacts\.cfg'' Aug 5 15:29:22 spmon ndo2db: Error: mysql_query() failed for 'INSERT INTO nagios_configfilevariables SET instance_id='1', configfile_id='1', varname='cfg_file', varvalue='/etc/nagios/objects/timeperiods\.cfg'' Aug 5 15:29:22 spmon ndo2db: Error: mysql_query() failed for 'INSERT INTO nagios_configfilevariables SET instance_id='1', configfile_id='1', varname='cfg_file', varvalue='/etc/nagios/objects/templates\.cfg'' Aug 5 15:29:22 spmon ndo2db: Error: mysql_query() failed for 'INSERT INTO nagios_configfilevariables SET instance_id='1', configfile_id='1', varname='cfg_file', varvalue='/etc/nagios/objects/localhost\.cfg'' Aug 5 15:29:22 spmon ndo2db: Error: mysql_query() failed for 'INSERT INTO nagios_configfilevariables SET instance_id='1', configfile_id='1', varname='cfg_dir', varvalue='/etc/nagios/objects/services'' ------------------ Anybody have seen this? Regards, Ciro ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gregorcy at eng.utah.edu Tue Aug 5 22:34:11 2008 From: gregorcy at eng.utah.edu (gregorcy) Date: Tue, 05 Aug 2008 14:34:11 -0600 Subject: nagios upgrade NRPE issues Message-ID: <4898B943.7020703@eng.utah.edu> Hi, I recently upgraded nagios to 3.0.3 and I am having some trouble starting after the upgrade, the error I get: > Error: Unexpected token or statement in file '/etc/nagios/nrpe.cfg' on line 19. And line 19 of my nrpe.cfg is: > pid_file=/var/run/nrpe.pid I tried change the directory to /var/run/nagios/nrpe.pid and then chowning the new directory to nagios:nagios but it is giving me the same error. Any ideas? --Brian ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From david at blue-labs.org Tue Aug 5 22:51:38 2008 From: david at blue-labs.org (David Ford) Date: Tue, 05 Aug 2008 16:51:38 -0400 Subject: nagios upgrade NRPE issues In-Reply-To: <4898B943.7020703@eng.utah.edu> References: <4898B943.7020703@eng.utah.edu> Message-ID: <4898BD5A.9020703@blue-labs.org> isn't that /var/run/nrpe/nrpe.pid? :) are you using the new binary? -david gregorcy wrote: > Hi, > > I recently upgraded nagios to 3.0.3 and I am having some trouble starting after the upgrade, the error I get: > > >> Error: Unexpected token or statement in file '/etc/nagios/nrpe.cfg' on line 19. >> > > > And line 19 of my nrpe.cfg is: > > >> pid_file=/var/run/nrpe.pid >> > > > I tried change the directory to /var/run/nagios/nrpe.pid and then chowning the new directory to nagios:nagios but it is > giving me the same error. > > Any ideas? > > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Aug 5 23:04:26 2008 From: marc at ena.com (Marc Powell) Date: Tue, 5 Aug 2008 16:04:26 -0500 Subject: nagios upgrade NRPE issues References: <4898B943.7020703@eng.utah.edu> Message-ID: <5A4AE2E1A3A86C4DA672C6ED903343EF012362@misex03.ena.com> > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of gregorcy > Sent: Tuesday, August 05, 2008 3:34 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] nagios upgrade NRPE issues > > Hi, > > I recently upgraded nagios to 3.0.3 and I am having some trouble starting > after the upgrade, the error I get: > > > Error: Unexpected token or statement in file '/etc/nagios/nrpe.cfg' on > line 19. > > > And line 19 of my nrpe.cfg is: > > > pid_file=/var/run/nrpe.pid Without the context of the error message above, I'd hazard the guess that you've decided to specify nrpe.cfg as a cfg_file (or as part of a cfg_dir) in nagios.cfg as if it were a _nagios_ config file. It is not. -- 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 nick.obrien at eds.com Tue Aug 5 23:19:56 2008 From: nick.obrien at eds.com (O'Brien, Nick) Date: Wed, 6 Aug 2008 09:19:56 +1200 Subject: Problems with passive service monitoring and freshness alerting Message-ID: <027FCB5D4C65CC4CA714042A4EE8CC6B04AC161D@nzprm231.apac.corp.eds.com> Hello, I am using Nagios v2.3 with passive service checking and I am having problems getting freshness to work in exactly the way I want. Our external scripts which check the services write to the Nagios command file every minute. I want Nagios to alert me if there is no status check for the service after 5 minutes, then every 60 minutes while the status remains stale. However very frequently Nagios is alerting me despite a status being received within the freshness_threshold, e.g.: [1217966117] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;servera;webservice1;0;Active sessions 3 [1217966165] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;servera;wesbervice1;0;Active sessions 3 [1217966191] Warning: The results of service 'webservice1' on host 'servera' are stale by 50 seconds (threshold=90 seconds). I'm forcing an immediate check of the service. [1217966201] SERVICE NOTIFICATION: nick;servera;webservice1;CRITICAL;notify-by-email;No servera webservice1 status report inside the freshness interval I think part of the problem is Nagios is using X in "stale by X seconds" rather than freshness_threshold or normal_check_interval to run the freshness check. How do I change X, disable these warnings, and/or at least get Nagios to run the freshness check at (or near) the actual threshold? Also I've set max_check_attempts to 7 but Nagios doesn't always seem to reset the SOFT count back to after a status of the service is received - possibly a symptom of the same problem. I've tried various combination of freshness_threshold, normal_check_interval, retry_check_interval, and max_check_attempts to no avail. Anyhow the relevant portions of my Nagios configuration are below. Any suggestions about configuring Nagios to do what I want to achieve? Thanks, Nick. define service{ use passive-service host_name servera service_description webservice1 name webservice1 notification_interval 60 freshness_threshold 90 max_check_attempts 7 check_command freshness_alert contact_groups nickgroup } define service{ name passive-service active_checks_enabled 0 passive_checks_enabled 1 parallelize_check 1 obsess_over_service 1 check_freshness 1 freshness_threshold 900 notifications_enabled 1 event_handler_enabled 1 flap_detection_enabled 1 check_period 24x7 failure_prediction_enabled 1 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 max_check_attempts 1 normal_check_interval 5 retry_check_interval 1 contact_groups admins notification_options w,c,r notification_interval 960 notification_period 24x7 register 0 } } The freshness_check is #!/bin/ksh # # command to run if not heard from passive check echo "No $1 $2 status report inside the freshness interval" exit 2 --- Nick O'Brien Phone: +64 9 487 6335 (x4335) Middleware Hosting (MHOT), NZ Middleware Capability, EDS Smales Farm Technology Park, Level 3, 74 Taharoto Road Takapuna, Auckland 0622 Email: nick.obrien 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 lavalamp at spiritual-machines.org Tue Aug 5 23:47:18 2008 From: lavalamp at spiritual-machines.org (Brian A. Seklecki) Date: Tue, 05 Aug 2008 17:47:18 -0400 Subject: SVN Nagios compiling problem on NetBSD In-Reply-To: <2dfcbd1b0807311644y23ae1b5fkb9494695c23bfbcf@mail.gmail.com> References: <2dfcbd1b0807311644y23ae1b5fkb9494695c23bfbcf@mail.gmail.com> Message-ID: <1217972838.31418.139.camel@soundwave.ws.pitbpa0.priv.collaborativefusion.com> On Thu, 2008-07-31 at 20:44 -0300, Marcel wrote: > Did any of NetBSD sysadmins out-there knows of any way to get svn > nagios compiled on NetBSD 2.1? _2.1_.... Um. 2.x is EOL a long time ago. Those functions are available in NetBSD 3.x: bash-3.1$ grep -ir pthread__cleanup_push /usr/include/* /usr/include/pthread.h: pthread__cleanup_push((routine),(arg), &__store); /usr/include/pthread.h:void pthread__cleanup_push(void (*)(void *), void *, void *); ~BAS -- ~BAS ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lavalamp at spiritual-machines.org Tue Aug 5 23:48:47 2008 From: lavalamp at spiritual-machines.org (Brian A. Seklecki) Date: Tue, 05 Aug 2008 17:48:47 -0400 Subject: Nagios and AIX compatibility question In-Reply-To: References: Message-ID: <1217972927.31418.141.camel@soundwave.ws.pitbpa0.priv.collaborativefusion.com> On Wed, 2008-07-30 at 15:33 -0400, Jennifer L Wicker wrote: > Does anyone know for certain if Nagios is compatible running on AIX > 6.1? We currently have Nagios 2.8 on AIX 5.3 wtih no issues - thank > you! You could send the developers some reference platform hardware and copy of the OS with a full toolchain. ~BAS ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marcus at rejas.se Wed Aug 6 00:15:14 2008 From: marcus at rejas.se (Marcus =?utf-8?B?UmVqw6Vz?=) Date: Wed, 6 Aug 2008 00:15:14 +0200 Subject: feature request: Service used as Host check In-Reply-To: <20080805140950.GC16739@cgi.jachomes.com> References: <4895EABC.2070409@vanderkooij.org> <20080804085811.GA27028@rejas.se> <20080805140950.GC16739@cgi.jachomes.com> Message-ID: <20080805221514.GA4795@rejas.se> On 08/05 10:09, Jay R. Ashworth wrote: > On Mon, Aug 04, 2008 at 10:58:11AM +0200, Marcus Rej?s wrote: > > For them who not like to work with the configuration files there are many > > third party tools for configuring Nagios. In these tools the option you > > mention is easy and maybe wise to add. > > Is that actually true? I started setting up 3.0 about 2 months ago, > and all the config managers I found had not yet been forward-ported to > deal with 3 yet... Well it is true that there are many third party tools for configuring Nagios. But I prefer to work with the files myself so I'm not sure if they are up to date. Nagios 3 is not that old yet ;-) /Marcus -- Marcus Rej?s jabber: marcus at jabber.rejas.se ,= ,-_-. =. Rej?s Datakonsult e-mail: marcus at rejas.se ((_/)o o(\_)) Kaserngatan 1 web: http://www.rejas.se `-'(. .)`-' s-761 46 Norrt?lje gpg-key: http://gpg.rejas.se \_/ ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tomas.marin at wunderloop.com Wed Aug 6 09:44:26 2008 From: tomas.marin at wunderloop.com (Tomas Marin) Date: Wed, 6 Aug 2008 09:44:26 +0200 Subject: Problem to use special chars in check_http Message-ID: <1A46F15A-C656-4AE6-938A-F4EF7C6BF985@wunderloop.com> Hi All, we've got problems to get a correct http check with the following command: /usr/lib/nagios/plugins/check_http -I 192.168.0.23 -u /RQ/ 598/1680/1587/js?ord=10000&EAS=cu=1587;cre=mu -f critical -r ^document.write.*REDIRECT_SUCCESS -w 1 -c 3 What's wrong? Thanks and Regards, Tomas Marin ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Aug 6 09:47:12 2008 From: kaushalshriyan at gmail.com (Kaushal Shriyan) Date: Wed, 6 Aug 2008 13:17:12 +0530 Subject: Tomcat Service Message-ID: <6b16fb4c0808060047p6086730bua6082d441a95af93@mail.gmail.com> Hi, I get in the Nagios Web Interface for Tomcat Service "NRPE: Command timed out after 60 seconds" this alerts I get only at 12:15 am IST I have enabled debug=1 in nrpe.cfg file. But I have not noticed any thing in the /var/log/messages file Any ideas as what is going wrong 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 ian at acces.co.jp Wed Aug 6 10:13:04 2008 From: ian at acces.co.jp (Ian Masters) Date: Wed, 06 Aug 2008 17:13:04 +0900 Subject: check_dns configuration problem Message-ID: <48995D10.6010005@acces.co.jp> Hello I'm a little confused about the configuration of check_dns. If I do: [nagios at localhost libexec]$ ./check_dns 172.16.11.1 -H google.com I think I am querying the DNS service on server 172.16.11.1 for google.com . Is that correct? I get the following output: DNS OK: 0.196 seconds response time. google.com returns 64.233.167.99,64.233.187.99,72.14.207.99|time=0.196169s;;;0.000000 I would like to define the check_dns command in commands.cfg so that I can query any server for any given address but at the moment I can only seem to get it to check a fixed address so at the moment my check_dns command looks like this: # 'check_dns' command definition define command{ command_name check_dns command_line $USER1$/check_dns -H google.com # command_line $USER1$/check_dns } It seems that if I try to pass a different domain in my services.cfg to check_dns like this: check_command check_dns!yahoo.com or like this check_command check_dns! -H yahoo.com it has no effect. Have I defined my 'check_dns' command definition completely wrongly? I really want to be able to change the DNS query depending on the host that I'm querying. Would someone be kind enough to give me a hint or two? Thanks Ian Masters ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Wed Aug 6 10:14:31 2008 From: patrick.morris at hp.com (Morris, Patrick) Date: Wed, 6 Aug 2008 08:14:31 +0000 Subject: check_dns configuration problem In-Reply-To: <48995D10.6010005@acces.co.jp> References: <48995D10.6010005@acces.co.jp> Message-ID: <93C487A372B3774CAEAA15D524CCF3D122998AB7C5@G1W0485.americas.hpqcorp.net> If you've hard-coded google.com into your command definition, then that's what you'll get. If you want to pass an argument, try $ARG1$ instead. > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Ian Masters > Sent: Wednesday, August 06, 2008 1:13 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] check_dns configuration problem > > Hello > > I'm a little confused about the configuration of check_dns. > > If I do: > [nagios at localhost libexec]$ ./check_dns 172.16.11.1 -H google.com > I think I am querying the DNS service on server 172.16.11.1 for > google.com . Is that correct? > > I get the following output: > DNS OK: 0.196 seconds response time. google.com returns > 64.233.167.99,64.233.187.99,72.14.207.99|time=0.196169s;;;0.000000 > > I would like to define the check_dns command in commands.cfg so that I > can query any server for any given address but at the moment I can only > seem to get it to check a fixed address so at the moment my check_dns > command looks like this: > > # 'check_dns' command definition > define command{ > command_name check_dns > command_line $USER1$/check_dns -H google.com > # command_line $USER1$/check_dns > } > > It seems that if I try to pass a different domain in my services.cfg to > check_dns like this: > check_command check_dns!yahoo.com > or like this > check_command check_dns! -H yahoo.com > it has no effect. > > Have I defined my 'check_dns' command definition completely wrongly? > > I really want to be able to change the DNS query depending on the host > that I'm querying. > > Would someone be kind enough to give me a hint or two? > > Thanks > > Ian Masters > > ----------------------------------------------------------------------- > -- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the > world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 Wed Aug 6 10:41:24 2008 From: assaf.flatto at ssp.uk.com (Assaf Flatto) Date: Wed, 6 Aug 2008 08:41:24 +0000 Subject: Tomcat Service In-Reply-To: <6b16fb4c0808060047p6086730bua6082d441a95af93@mail.gmail.com> References: <6b16fb4c0808060047p6086730bua6082d441a95af93@mail.gmail.com> Message-ID: <200808060841.24576.assaf.flatto@ssp.uk.com> can you provide more details ? how is your test preformed ? what is the machine load average at the time of the failure ? Assaf On Wednesday 06 August 2008 07:47:12 Kaushal Shriyan wrote: > Hi, > > I get in the Nagios Web Interface for Tomcat Service "NRPE: Command timed > out after 60 seconds" this alerts I get only at 12:15 am IST > I have enabled debug=1 in nrpe.cfg file. But I have not noticed any thing > in the /var/log/messages file > > Any ideas as what is going wrong > > Thanks and Regards > > Kaushal 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 francois.joubert at imagination.com Wed Aug 6 11:13:56 2008 From: francois.joubert at imagination.com (Francois Joubert) Date: Wed, 06 Aug 2008 10:13:56 +0100 Subject: Lockfile trouble, Nagios version 3.0.3 In-Reply-To: References: Message-ID: <48996B54.9030707@imagination.com> > > -----Original Message----- > > Problem > > ------- > > [1217937468] Cannot lock lockfile '/var/spool/nagios/nagios.lock': > > Invalid argument. Bailing out... > Just to cover the basics, is the Nagios user able to write to the directory '/var/spool/nagios'? Write to that file? 1. perms and ownership on /var/spool/nagios = 777, nagios:nagios 2. perms and ownership on /var/spool/nagios/rw = 777, nagios:www > On shutdown, Nagios will remove the file and will need write permissions to the directory to re-create it. If I stop nagios, delete /var/spool/nagios/nagios.lock and re-attempt to start nagios as a daemon, it creates a zero byte-sized file, /var/spool/nagios/nagios.lock and "Bails out". There is then no nagios process running to shutdown and remove the file. Francois Los Angeles ? Detroit ? Toronto ? New York ? London ? Cologne ? Stockholm ? Hong Kong ? Tokyo ? Sydney Imagination ? London 25 Store Street South Crescent, London WC1E 7BL, United Kingdom Tel +44 (0)20 7323 3300 Fax +44 (0)20 7323 5801 www.imagination.com This email is confidential and may be privileged and is intended only for the addressee: if you have received it in error please notify the sender and delete it. We strive to make our systems secure but cannot accept any liability for viruses or any other security issue. Imagination Ltd Registered in England and Wales with Company Registration Number 1442096. Registered office: 25 Store Street South Crescent, London WC1E 7BL, United Kingdom Please consider the environment before printing this email. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dermoth at aei.ca Wed Aug 6 13:56:59 2008 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Wed, 06 Aug 2008 07:56:59 -0400 Subject: check_dns configuration problem In-Reply-To: <48995D10.6010005@acces.co.jp> References: <48995D10.6010005@acces.co.jp> Message-ID: <4899918B.5040003@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 06/08/08 04:13 AM, Ian Masters wrote: > Hello > > I'm a little confused about the configuration of check_dns. > > If I do: > [nagios at localhost libexec]$ ./check_dns 172.16.11.1 -H google.com > I think I am querying the DNS service on server 172.16.11.1 for > google.com . Is that correct? > > I get the following output: > DNS OK: 0.196 seconds response time. google.com returns > 64.233.167.99,64.233.187.99,72.14.207.99|time=0.196169s;;;0.000000 > > I would like to define the check_dns command in commands.cfg so that I > can query any server for any given address but at the moment I can only > seem to get it to check a fixed address so at the moment my check_dns > command looks like this: See the --help output for check_dns. Every arguments should be defined by a switch (positional args are only for backwards compatibility). To specify the DNS server, use the -s switch; -H is the address you're looking up. Any recursive server should return something with the following command: check_dns -s -H . Be aware that if you use a full hostname on a caching DNS server, the server will cache the domain according to the DNS TTL for that domain, so depending on the domain you use it could take hours or even days to detect a failure. Therefore you should try to find a domain with a very sort TTL. Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFImZGL6dZ+Kt5BchYRAhV4AKDdDLa8af5oWHKG9kXYxvvj4yfPHwCfdBF4 2f7yr01YOMHyr4EKDZcvWI8= =rHVZ -----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 holger at CIS.FU-Berlin.DE Wed Aug 6 14:34:10 2008 From: holger at CIS.FU-Berlin.DE (Holger Weiss) Date: Wed, 6 Aug 2008 14:34:10 +0200 Subject: feature request: Service used as Host check In-Reply-To: <20080804085811.GA27028@rejas.se> References: <4895EABC.2070409@vanderkooij.org> <20080804085811.GA27028@rejas.se> Message-ID: <20080806123410.GC89639671@CIS.FU-Berlin.DE> * Marcus Rej?s [2008-08-04 10:58]: > On 08/03 19:28, Hugo van der Kooij wrote: > > So if I define the service PING and use check_icmp on there I might as > > well derive the host state from the service instead of duplicating this > > check into the host definition. > > > > Would it be possible to add the option sometime in the future to just > > point to a service check on the host and let that result also count as > > the host status? > > Personally I think this is a bad idea. It will add complexity but very little > is gained. Given the current state of affairs, I'd tend to agree. That said, let me add that I never quite understood why Nagios implements the host/service distinction at all. AFAICS, this adds quite a bit of complexity in the first place, and I don't really see the gain (quite the opposite: it actually reduces flexibility to some degree, as this feature request shows). However, that's probably off-topic here, so I asked on nagios-devel@: http://article.gmane.org/gmane.network.nagios.devel/5458 Holger ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dermoth at aei.ca Wed Aug 6 14:34:30 2008 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Wed, 06 Aug 2008 08:34:30 -0400 Subject: Problem to use special chars in check_http In-Reply-To: <1A46F15A-C656-4AE6-938A-F4EF7C6BF985@wunderloop.com> References: <1A46F15A-C656-4AE6-938A-F4EF7C6BF985@wunderloop.com> Message-ID: <48999A56.6080704@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 06/08/08 03:44 AM, Tomas Marin wrote: > Hi All, > > we've got problems to get a correct http check with the following > command: > > /usr/lib/nagios/plugins/check_http -I 192.168.0.23 -u /RQ/ > 598/1680/1587/js?ord=10000&EAS=cu=1587;cre=mu -f critical -r > ^document.write.*REDIRECT_SUCCESS -w 1 -c 3 > > What's wrong? There's some characters being interpreted by the shell. Try putting your url string withing single quotes. Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFImZpW6dZ+Kt5BchYRAobqAJ9J7KXVfUxMlvZR9rFSYokNzRqsOACfUSvi FJYvcYlB5T0209aOxnbAGww= =eRSv -----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 jra at baylink.com Wed Aug 6 16:19:41 2008 From: jra at baylink.com (Jay R. Ashworth) Date: Wed, 6 Aug 2008 10:19:41 -0400 Subject: Nagios Sound Alerts configuration In-Reply-To: References: <4897A0E0.6060205@acces.co.jp> <20080805011203.GE13410@cgi.jachomes.com> Message-ID: <20080806141941.GB20752@cgi.jachomes.com> On Mon, Aug 04, 2008 at 10:00:02PM -0500, Marc Powell wrote: > On Aug 4, 2008, at 8:12 PM, Jay R. Ashworth wrote: > > On Tue, Aug 05, 2008 at 09:37:52AM +0900, Ian Masters wrote: > >> It's a bit of a kludge so I was wondering if anyone else had found a > >> cleaner way of using the alert sounds function in Nagios itself. > > > > As I recall, it was determined that the problem is that the CGI is > > sending the audio files with the wrong MIME type, and that fixing it > > requires patching that code; it's in the archives from a couple months > > back. > > Thread is here for those that need it -- > > http://thread.gmane.org/gmane.network.nagios.devel/5391/focus=5401 And the focused message is in fact the *patch* that fixes the problem. Does anyone know if there's a bug filed on that, or if anyone's talked to Ethan about it, or whatever is the appropriate solution? What does he test on that it works for him? :-) == And why didn't it work for me? I made the patch, did make cgis and make install-cgis, and reloaded my browser tab, then forced a Service Problem (I logged into a machine for which "Users>0" is a service problem :-)... but no sound. Nothing indicative in the frame source... Did I miss something? Cheers, -- jra -- Jay R. Ashworth Baylink jra at baylink.com Designer The Things I Think RFC 2100 Ashworth & Associates http://baylink.pitas.com '87 e24 St Petersburg FL USA http://photo.imageinc.us +1 727 647 1274 Those who cast the vote decide nothing. Those who count the vote decide everything. -- (Josef Stalin) ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jra at baylink.com Wed Aug 6 16:25:09 2008 From: jra at baylink.com (Jay R. Ashworth) Date: Wed, 6 Aug 2008 10:25:09 -0400 Subject: Nagios Sound Alerts configuration In-Reply-To: <20080806141941.GB20752@cgi.jachomes.com> References: <4897A0E0.6060205@acces.co.jp> <20080805011203.GE13410@cgi.jachomes.com> <20080806141941.GB20752@cgi.jachomes.com> Message-ID: <20080806142509.GC20752@cgi.jachomes.com> On Wed, Aug 06, 2008 at 10:19:41AM -0400, Jay R. Ashworth wrote: > And why didn't it work for me? > > I made the patch, did make cgis and make install-cgis, and reloaded my > browser tab, then forced a Service Problem (I logged into a machine for > which "Users>0" is a service problem :-)... > > but no sound. Nothing indicative in the frame source... > > Did I miss something? Sure I did. I didn't uncomment the audio file pointers in cgi.cfg, *or* install Quicktime. Cheers, -- jra -- Jay R. Ashworth Baylink jra at baylink.com Designer The Things I Think RFC 2100 Ashworth & Associates http://baylink.pitas.com '87 e24 St Petersburg FL USA http://photo.imageinc.us +1 727 647 1274 Those who cast the vote decide nothing. Those who count the vote decide everything. -- (Josef Stalin) ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Aug 6 16:32:15 2008 From: assaf.flatto at ssp.uk.com (Assaf Flatto) Date: Wed, 6 Aug 2008 14:32:15 +0000 Subject: Using Macros in hostext definitions Message-ID: <200808061432.15316.assaf.flatto@ssp.uk.com> Hello I am running Nagios 2.10 , and i am looking into supplementing the information of each server , with the contact person for that server to be displayed in the host info. I was wondering if i can add macros to the hostextinfo that will display the Contact Group and the Contacts associated with the host i am looking at ? define hostextinfo { host_name foo notes Contact person is : $contactgroup$ , $contact_name icon_image windows_server.png icon_image_alt Foo statusmap_image windows_server.png 2d_coords 520,40 } Can this work ? Is it a available in version 3 ? Is it worth developing as a feature for further release ? Assaf 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 marc at ena.com Wed Aug 6 17:01:14 2008 From: marc at ena.com (Marc Powell) Date: Wed, 6 Aug 2008 10:01:14 -0500 Subject: Using Macros in hostext definitions References: <200808061432.15316.assaf.flatto@ssp.uk.com> Message-ID: <5A4AE2E1A3A86C4DA672C6ED903343EF012373@misex03.ena.com> > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Assaf Flatto > Sent: Wednesday, August 06, 2008 9:32 AM > To: Nagios User list > Subject: [Nagios-users] Using Macros in hostext definitions > I was wondering if i can add macros to the hostextinfo that will display > the Contact Group and the > Contacts associated with the host i am looking at ? You cannot. Macro expansion only available for command{}'s. The CGI's have no understanding of them. -- Marc ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jastrolo at gmail.com Wed Aug 6 17:02:37 2008 From: jastrolo at gmail.com (Joe Astrologo) Date: Wed, 6 Aug 2008 11:02:37 -0400 Subject: Getting bogus ping alerts after upgrade to Nagios vers. 3.0.3 Message-ID: <879d1e490808060802u6866dccegf8fcbb85d0241bda@mail.gmail.com> I upgraded from version 2.3 to 3.0.3 and I now I get a lot of bogus ping alerts. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jra at baylink.com Wed Aug 6 17:05:58 2008 From: jra at baylink.com (Jay R. Ashworth) Date: Wed, 6 Aug 2008 11:05:58 -0400 Subject: Nagios Sound Alerts configuration In-Reply-To: <20080806142509.GC20752@cgi.jachomes.com> References: <4897A0E0.6060205@acces.co.jp> <20080805011203.GE13410@cgi.jachomes.com> <20080806141941.GB20752@cgi.jachomes.com> <20080806142509.GC20752@cgi.jachomes.com> Message-ID: <20080806150558.GE20752@cgi.jachomes.com> On Wed, Aug 06, 2008 at 10:25:09AM -0400, Jay R. Ashworth wrote: > > but no sound. Nothing indicative in the frame source... > > > > Did I miss something? > > Sure I did. > > I didn't uncomment the audio file pointers in cgi.cfg, *or* install > Quicktime. And, after discovering that the Quicktime that Firefox 3 will download for you *will not run* on Win2k (it's too new, you need 7.1.6) *and* that FF3 *blocks* that version for you because it crashes their build, and they can't be bothered to find out why, I finally have FF playing alert noises. Every time. Even though I'm on the Service Problems - Unhandled screen, and I've gone into each service and acknowledged it. Sticky. They're still there. They're still be-bonging. (on the status page, not the tac page) Anyone got any ideas what stupid thing I'm missing? Audio Alerts on the CGI doco page is the only easily accessible place that talks about them, and I'm not clear from it why that's happening... unless it's that my tac page thinks they're still unhandled problems, even though I've acknowledged them. Do "acknowledge" and "handle" really not mean the same thing? Cheers, -- jra -- Jay R. Ashworth Baylink jra at baylink.com Designer The Things I Think RFC 2100 Ashworth & Associates http://baylink.pitas.com '87 e24 St Petersburg FL USA http://photo.imageinc.us +1 727 647 1274 Those who cast the vote decide nothing. Those who count the vote decide everything. -- (Josef Stalin) ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Aug 6 17:09:43 2008 From: marc at ena.com (Marc Powell) Date: Wed, 6 Aug 2008 10:09:43 -0500 Subject: Nagios Sound Alerts configuration References: <4897A0E0.6060205@acces.co.jp><20080805011203.GE13410@cgi.jachomes.com> <20080806141941.GB20752@cgi.jachomes.com> Message-ID: <5A4AE2E1A3A86C4DA672C6ED903343EF012374@misex03.ena.com> > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Jay R. Ashworth > Does anyone know if there's a bug filed on that, or if anyone's talked > to Ethan about it, or whatever is the appropriate solution? It was posted to Nagios-devel so that _is_ filing the bug ;) Ethan somewhat frequently trolls through the posts there and incorporates bugfixes/patches into the base if they're suitable. He'll say something about it there when he does. > What does he test on that it works for him? :-) Who's to say he uses or even tests that 'feature'. It's trivial IMHO. > And why didn't it work for me? > > I made the patch, did make cgis and make install-cgis, and reloaded my > browser tab, then forced a Service Problem (I logged into a machine for > which "Users>0" is a service problem :-)... > > but no sound. Nothing indicative in the frame source... > > Did I miss something? I leave this to others more familiar with it but they'll likely need to know your OS/Broswer version and whether you see the stuff embedded into the page when it's supposed to play. -- 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 scarolan at gmail.com Wed Aug 6 17:15:20 2008 From: scarolan at gmail.com (Sean Carolan) Date: Wed, 6 Aug 2008 10:15:20 -0500 Subject: Admin user cannot view reports Message-ID: <277020fc0808060815q186f5d1cge494db273edf549b@mail.gmail.com> I attempted to view a service availability report today and was presented with this message: "It appears as though you are not authorized to view information for the specified service..." I am logged in as nagiosadmin, and as far as I can tell nagiosadmin is configured to have full access to everything in the cgi.cfg file. What am I doing wrong here? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Aug 6 17:44:37 2008 From: assaf.flatto at ssp.uk.com (Assaf Flatto) Date: Wed, 6 Aug 2008 15:44:37 +0000 Subject: nagvis giving me hell Message-ID: <200808061544.37562.assaf.flatto@ssp.uk.com> Hello I am trying to remove an old map in Nagvis . I've entered the interface and found the map management options , and selected Delete map , first there is a typo in the code /usr/local/nagios/share/nagvis/wui/form_handler.php line 325 function isste() - needs to be isset(). after fixing that i run the delete procedure again, and it reports that the delete is done successful . when i try to see the relevant remaining maps i get the following error : mapCfgNotExists: Map configuration file does not exists The map configuration file "/usr/local/nagios/share/nagvis/etc/maps/MHL2-6.cfg" does not exists. (of course map MHL2-6 Does not exist - i just told Nagvi to delete it ). Anyone have any idea how to solve this issue ? Assaf 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 ssimmons at cymfony.com Wed Aug 6 17:50:12 2008 From: ssimmons at cymfony.com (Seth Simmons) Date: Wed, 6 Aug 2008 11:50:12 -0400 Subject: nagvis giving me hell In-Reply-To: <200808061544.37562.assaf.flatto@ssp.uk.com> References: <200808061544.37562.assaf.flatto@ssp.uk.com> Message-ID: <13F36D2926AD444697093282F20041B7077059B2@buf-ex01.cymfony.com> Try posting to nagvis list. https://lists.sourceforge.net/lists/listinfo/nagvis-devel -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Assaf Flatto Sent: Wednesday, August 6, 2008 11:45 AM To: Nagios User list Subject: [Nagios-users] nagvis giving me hell Hello I am trying to remove an old map in Nagvis . I've entered the interface and found the map management options , and selected Delete map , first there is a typo in the code /usr/local/nagios/share/nagvis/wui/form_handler.php line 325 function isste() - needs to be isset(). after fixing that i run the delete procedure again, and it reports that the delete is done successful . when i try to see the relevant remaining maps i get the following error : mapCfgNotExists: Map configuration file does not exists The map configuration file "/usr/local/nagios/share/nagvis/etc/maps/MHL2-6.cfg" does not exists. (of course map MHL2-6 Does not exist - i just told Nagvi to delete it ). Anyone have any idea how to solve this issue ? Assaf 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 lavalamp at spiritual-machines.org Wed Aug 6 18:03:33 2008 From: lavalamp at spiritual-machines.org (Brian A. Seklecki) Date: Wed, 6 Aug 2008 12:03:33 -0400 (EDT) Subject: check_ssl_cert w/ PKI / X.509 Chain Validation In-Reply-To: <20070411102445.V76445@arbitor.digitalfreaks.org> References: <20070411102445.V76445@arbitor.digitalfreaks.org> Message-ID: <20080806113358.T20597@arbitor.digitalfreaks.org> Two new notes: 1) Extracting the root CA cert DB from FF3 manually (GUI + Select all) to PEM works fine with c_rehas.pl $ openssl s_client -verify 4 -connect www.gmail.com:443 2>& 1 | egrep \ "Verify\ return\ code" Verify return code: 0 (ok) 2) I'm unable to find the file system database that contains the root CA, otherwise the process could be automated: $ for a in $(certutil -L -d ~/.mozilla/firefox/3u995ypq.default/ | egrep -v "Nickname" | cut -f1 -d ' ' -s ); do certutil -L -d ~/.mozilla/firefox/3u995ypq.default/ -a -n "$a" > /tmp/"$a".pem; done However: 1) certutil(8) is awful and doesn't escape the DB "nick" column with quotes, making it impossible to regex out the cert name. 2) In FC9 and FBSD7, neither /etc/pki/nssdb/ or /usr/{local/share|lib64)/firefox-3.0.1 has the the certutil format'd DB to automate the extract process from. Anyway, the root CA DB doesn't change very often, so code can be written around this for now. ~BAS On Wed, 11 Apr 2007, Brian A. Seklecki wrote: > > These scripts are great thank you very much to all involved who contributed > (no e-mail address for 'mastrboy'). . I'm considering spending some time > adding additional functionality: > > -- > > In addition to simply parsing the date and comparing the date/time, I'd like > to test the validity of the X.509 Cert against it's PKI infrastructure using > the OpenSSL routines. > > I'm pretty sure that this can be accomplished by checking the result code of > openssl 's_client' or 'verify'; both permit for -CApath and -CAfile. > > For internal PKI, this is pretty straightforward; just specify your > organization's Root CA Cert. > > For public cert verification; it gets tricky because you have to take a > certificate store like the Mozilla NSS/NSPR default and convert it into > OpenSSL c_rehash format -- taking ideas on that here. > > http://lxr.mozilla.org/mozilla/source/security/nss/lib/ckfw/builtins/certdata.txt > > Thoughts? > > l8* > -lava (Brian A. Seklecki - Pittsburgh, PA, USA) > http://www.spiritual-machines.org/ > l8* -lava (Brian A. Seklecki - Pittsburgh, PA, USA) http://www.spiritual-machines.org/ "Guilty? Yeah. But he knows it. I mean, you're guilty. You just don't know it. So who's really in jail?" ~Maynard James Keenan ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From leosilva at tse.gov.br Wed Aug 6 16:48:54 2008 From: leosilva at tse.gov.br (Leandro de Oliveira) Date: Wed, 6 Aug 2008 11:48:54 -0300 Subject: Customise Report Message-ID: <001a01c8f7d3$8c5a56f0$2df41c0a@tse.gov.br> Is there a way to remove the Time Unknown from a Availability report statics? Leandro -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From scarolan at gmail.com Wed Aug 6 17:27:53 2008 From: scarolan at gmail.com (Sean Carolan) Date: Wed, 6 Aug 2008 10:27:53 -0500 Subject: Admin user cannot view reports In-Reply-To: <277020fc0808060815q186f5d1cge494db273edf549b@mail.gmail.com> References: <277020fc0808060815q186f5d1cge494db273edf549b@mail.gmail.com> Message-ID: <277020fc0808060827s5a3ac8e4k47c7ce419062341d@mail.gmail.com> > "It appears as though you are not authorized to view information for the specified service..." > > I am logged in as nagiosadmin, and as far as I can tell nagiosadmin is configured to have full access to everything in the cgi.cfg file. What am I doing wrong here? I have discovered that if I drill down from the "Service Detail" link, and then click on the service, and finally "View availability report" that I'm able to see one day's worth of data, but changing the time frame to anything but the default gives me the same "not authorized" error message. Very strange indeed. Is this a bug or a feature? Or user error? ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From abhishek.dhamija at gmail.com Wed Aug 6 19:53:42 2008 From: abhishek.dhamija at gmail.com (Abhishek Dhamija) Date: Wed, 6 Aug 2008 10:53:42 -0700 Subject: Nagiosgraph trouble Message-ID: Hi I am using Nagiosgraph for generating graphs on services i am monitoring. I have nagiso version 3.0.3 and nagiosgraph version 0.9.0. The problem is that i am getting nan for all my graphs an localhost machine. I am using Ubuntu 7.10. The nagiosgraph.log shows the rrd files being updated but on dumping the contents of the rrdfiles they show nan which is what i am getting on the graphs. The contents of nagiosgraph.log are Wed Aug 6 10:24:43 2008 $RCSfile: insert.pl,v $ $Revision: 1.25 $ debug - processing perfdata: 1218043447||localhost||Root Partition||DISK OK - free space: / 14218 MB (83% inode=95%):||/=2835MB;14372;16169;0;17966 Wed Aug 6 10:24:43 2008 $RCSfile: insert.pl,v $ $Revision: 1.25 $ info - Input lastcheck:1218043447 Wed Aug 6 10:24:43 2008 $RCSfile: insert.pl,v $ $Revision: 1.25 $ info - Input hostname:localhost Wed Aug 6 10:24:43 2008 $RCSfile: insert.pl,v $ $Revision: 1.25 $ info - Input perfdata:/=2835MB;14372;16169;0;17966 Wed Aug 6 10:24:43 2008 $RCSfile: insert.pl,v $ $Revision: 1.25 $ info - Input servicedescr:Root Partition Wed Aug 6 10:24:43 2008 $RCSfile: insert.pl,v $ $Revision: 1.25 $ info - Input output:DISK OK - free space: / 14218 MB (83% inode=95%): Wed Aug 6 10:24:43 2008 $RCSfile: insert.pl,v $ $Revision: 1.25 $ info - Creating directory /usr/local/nagios/nagiosgraph/rrd/localhost Wed Aug 6 10:24:43 2008 $RCSfile: insert.pl,v $ $Revision: 1.25 $ debug - Checking /usr/local/nagios/nagiosgraph/rrd/localhost/Root%20Partition___%2F.rrd Wed Aug 6 10:24:43 2008 $RCSfile: insert.pl,v $ $Revision: 1.25 $ critical - DS = /usr/local/nagios/nagiosgraph/rrd/localhost/Root%20Partition___%2F.rrd --start 1218043446 DS:free:GAUGE:400:U:U DS:user:GAUGE:400:U:U DS:root:GAUGE:400:U:U DS:max:GAUGE:400:U:U DS:blockpct:GAUGE:400:U:U DS:inodepct:GAUGE:400:U:U RRA:AVERAGE:0.5:1:600 RRA:AVERAGE:0.5:6:700 RRA:AVERAGE:0.5:24:775 RRA:AVERAGE:0.5:288:797 Wed Aug 6 10:24:43 2008 $RCSfile: insert.pl,v $ $Revision: 1.25 $ info - RRDs::create /usr/local/nagios/nagiosgraph/rrd/localhost/Root%20Partition___%2F.rrd --start 1218043446 DS:free:GAUGE:400:U:U DS:user:GAUGE:400:U:U DS:root:GAUGE:400:U:U DS:max:GAUGE:400:U:U DS:blockpct:GAUGE:400:U:U DS:inodepct:GAUGE:400:U:U RRA:AVERAGE:0.5:1:600 RRA:AVERAGE:0.5:6:700 RRA:AVERAGE:0.5:24:775 RRA:AVERAGE:0.5:288:797 Wed Aug 6 10:24:43 2008 $RCSfile: insert.pl,v $ $Revision: 1.25 $ info - RRDs::update /usr/local/nagios/nagiosgraph/rrd/localhost/Root%20Partition___%2F.rrd 1218043447:2972712960:15070134272:16954425344:18838716416:83:95 Wed Aug 6 10:24:43 2008 $RCSfile: insert.pl,v $ $Revision: 1.25 $ debug - processing perfdata: 1218043456||localhost||PING||PING OK - Packet loss = 0%, RTA = 0.07 ms||rta=0.072000ms;100.000000;500.000000;0.000000 pl=0%;20;60;0 Wed Aug 6 10:24:43 2008 $RCSfile: insert.pl,v $ $Revision: 1.25 $ info - Input lastcheck:1218043456 Wed Aug 6 10:24:43 2008 $RCSfile: insert.pl,v $ $Revision: 1.25 $ info - Input hostname:localhost Wed Aug 6 10:24:43 2008 $RCSfile: insert.pl,v $ $Revision: 1.25 $ info - Input perfdata:rta=0.072000ms;100.000000;500.000000;0.000000 pl=0%;20;60;0 Wed Aug 6 10:24:43 2008 $RCSfile: insert.pl,v $ $Revision: 1.25 $ info - Input servicedescr:PING Wed Aug 6 10:24:43 2008 $RCSfile: insert.pl,v $ $Revision: 1.25 $ info - Input output:PING OK - Packet loss = 0%, RTA = 0.07 ms Wed Aug 6 10:24:43 2008 $RCSfile: insert.pl,v $ $Revision: 1.25 $ debug - Checking /usr/local/nagios/nagiosgraph/rrd/localhost/PING___ping.rrd Wed Aug 6 10:24:43 2008 $RCSfile: insert.pl,v $ $Revision: 1.25 $ critical - DS = /usr/local/nagios/nagiosgraph/rrd/localhost/PING___ping.rrd --start 1218043455 DS:losspct:GAUGE:400:U:U DS:rta:GAUGE:400:U:U RRA:AVERAGE:0.5:1:600 RRA:AVERAGE:0.5:6:700 RRA:AVERAGE:0.5:24:775 RRA:AVERAGE:0.5:288:797 Wed Aug 6 10:24:43 2008 $RCSfile: insert.pl,v $ $Revision: 1.25 $ info - RRDs::create /usr/local/nagios/nagiosgraph/rrd/localhost/PING___ping.rrd --start 1218043455 DS:losspct:GAUGE:400:U:U DS:rta:GAUGE:400:U:U RRA:AVERAGE:0.5:1:600 RRA:AVERAGE:0.5:6:700 RRA:AVERAGE:0.5:24:775 RRA:AVERAGE:0.5:288:797 Wed Aug 6 10:24:43 2008 $RCSfile: insert.pl,v $ $Revision: 1.25 $ info - RRDs::update /usr/local/nagios/nagiosgraph/rrd/localhost/PING___ping.rrd 1218043456:0:7e-05 Wed Aug 6 10:24:43 2008 $RCSfile: insert.pl,v $ $Revision: 1.25 $ debug - processing perfdata: 1218043464||localhost||Swap Usage||SWAP OK - 96% free (805 MB out of 839 MB)||swap=805MB;0;0;0;839 Wed Aug 6 10:24:43 2008 $RCSfile: insert.pl,v $ $Revision: 1.25 $ info - Input lastcheck:1218043464 Wed Aug 6 10:24:43 2008 $RCSfile: insert.pl,v $ $Revision: 1.25 $ info - Input hostname:localhost Wed Aug 6 10:24:43 2008 $RCSfile: insert.pl,v $ $Revision: 1.25 $ info - Input perfdata:swap=805MB;0;0;0;839 Wed Aug 6 10:24:43 2008 $RCSfile: insert.pl,v $ $Revision: 1.25 $ info - Input servicedescr:Swap Usage Wed Aug 6 10:24:43 2008 $RCSfile: insert.pl,v $ $Revision: 1.25 $ info - Input output:SWAP OK - 96% free (805 MB out of 839 MB) Wed Aug 6 10:24:43 2008 $RCSfile: insert.pl,v $ $Revision: 1.25 $ debug - Checking /usr/local/nagios/nagiosgraph/rrd/localhost/Swap%20Usage___swap.rrd Wed Aug 6 10:24:43 2008 $RCSfile: insert.pl,v $ $Revision: 1.25 $ critical - DS = /usr/local/nagios/nagiosgraph/rrd/localhost/Swap%20Usage___swap.rrd --start 1218043463 DS:swapfree:GAUGE:400:U:U DS:swapwarn:GAUGE:400:U:U DS:swapcrit:GAUGE:400:U:U DS:swapmax:GAUGE:400:U:U RRA:AVERAGE:0.5:1:600 RRA:AVERAGE:0.5:6:700 RRA:AVERAGE:0.5:24:775 RRA:AVERAGE:0.5:288:797 Wed Aug 6 10:24:43 2008 $RCSfile: insert.pl,v $ $Revision: 1.25 $ info - RRDs::create /usr/local/nagios/nagiosgraph/rrd/localhost/Swap%20Usage___swap.rrd --start 1218043463 DS:swapfree:GAUGE:400:U:U DS:swapwarn:GAUGE:400:U:U DS:swapcrit:GAUGE:400:U:U DS:swapmax:GAUGE:400:U:U RRA:AVERAGE:0.5:1:600 RRA:AVERAGE:0.5:6:700 RRA:AVERAGE:0.5:24:775 RRA:AVERAGE:0.5:288:797 Wed Aug 6 10:24:43 2008 $RCSfile: insert.pl,v $ $Revision: 1.25 $ info - RRDs::update /usr/local/nagios/nagiosgraph/rrd/localhost/Swap%20Usage___swap.rrd 1218043464:844103680:0:0:879755264 Wed Aug 6 10:24:43 2008 $RCSfile: insert.pl,v $ $Revision: 1.25 $ debug - nagiosgraph exited Wed Aug 6 10:24:51 2008 $RCSfile: show.cgi,v $ $Revision: 1.49 $ debug - dbfilelist %2F Wed Aug 6 10:24:51 2008 $RCSfile: show.cgi,v $ $Revision: 1.49 $ debug - @db=/ Wed Aug 6 10:24:51 2008 $RCSfile: show.cgi,v $ $Revision: 1.49 $ info - Specified localhost/Root%20Partition___ db files in /usr/local/nagios/nagiosgraph/rrd: localhost/Root%20Partition___%2F.rrd Wed Aug 6 10:24:51 2008 $RCSfile: show.cgi,v $ $Revision: 1.49 $ debug - DS localhost/Root%20Partition___%2F.rrd lines: blockpct, free, inodepct, user, max, root Wed Aug 6 10:24:51 2008 $RCSfile: show.cgi,v $ $Revision: 1.49 $ debug - file=localhost/Root%20Partition___%2F.rrd Wed Aug 6 10:24:51 2008 $RCSfile: show.cgi,v $ $Revision: 1.49 $ debug - file=localhost/Root%20Partition___%2F.rrd line=blockpct color=996699 Wed Aug 6 10:24:51 2008 $RCSfile: show.cgi,v $ $Revision: 1.49 $ debug - file=localhost/Root%20Partition___%2F.rrd line=free color=336699 Wed Aug 6 10:24:51 2008 $RCSfile: show.cgi,v $ $Revision: 1.49 $ debug - file=localhost/Root%20Partition___%2F.rrd line=inodepct color=33FF99 Wed Aug 6 10:24:51 2008 $RCSfile: show.cgi,v $ $Revision: 1.49 $ debug - file=localhost/Root%20Partition___%2F.rrd line=max color=FF6699 Wed Aug 6 10:24:51 2008 $RCSfile: show.cgi,v $ $Revision: 1.49 $ debug - file=localhost/Root%20Partition___%2F.rrd line=root color=33FF99 Wed Aug 6 10:24:51 2008 $RCSfile: show.cgi,v $ $Revision: 1.49 $ debug - file=localhost/Root%20Partition___%2F.rrd line=user color=009900 Wed Aug 6 10:24:51 2008 $RCSfile: show.cgi,v $ $Revision: 1.49 $ info - RRDs::graph - -a PNG --start -118800 DEF:blockpct=/usr/local/nagios/nagiosgraph/rrd/localhost/Root%20Partition___%2F.rrd:blockpct:AVERAGE LINE2:blockpct#996699:blockpct GPRINT:blockpct:MAX:Max\: %6.2lf%s GPRINT:blockpct:AVERAGE:Avg\: %6.2lf%s GPRINT:blockpct:MIN:Min\: %6.2lf%s GPRINT:blockpct:LAST:Cur\: %6.2lf%s\n DEF:free=/usr/local/nagios/nagiosgraph/rrd/localhost/Root%20Partition___%2F.rrd:free:AVERAGE LINE2:free#336699:free GPRINT:free:MAX:Max\: %6.2lf%s GPRINT:free:AVERAGE:Avg\: %6.2lf%s GPRINT:free:MIN:Min\: %6.2lf%s GPRINT:free:LAST:Cur\: %6.2lf%s\n DEF:inodepct=/usr/local/nagios/nagiosgraph/rrd/localhost/Root%20Partition___%2F.rrd:inodepct:AVERAGE LINE2:inodepct#33FF99:inodepct GPRINT:inodepct:MAX:Max\: %6.2lf%s GPRINT:inodepct:AVERAGE:Avg\: %6.2lf%s GPRINT:inodepct:MIN:Min\: %6.2lf%s GPRINT:inodepct:LAST:Cur\: %6.2lf%s\n DEF:max=/usr/local/nagios/nagiosgraph/rrd/localhost/Root%20Partition___%2F.rrd:max:AVERAGE LINE2:max#FF6699:max GPRINT:max:MAX:Max\: %6.2lf%s GPRINT:max:AVERAGE:Avg\: %6.2lf%s GPRINT:max:MIN:Min\: %6.2lf%s GPRINT:max:LAST:Cur\: %6.2lf%s\n DEF:root=/usr/local/nagios/nagiosgraph/rrd/localhost/Root%20Partition___%2F.rrd:root:AVERAGE LINE2:root#33FF99:root GPRINT:root:MAX:Max\: %6.2lf%s GPRINT:root:AVERAGE:Avg\: %6.2lf%s GPRINT:root:MIN:Min\: %6.2lf%s GPRINT:root:LAST:Cur\: %6.2lf%s\n DEF:user=/usr/local/nagios/nagiosgraph/rrd/localhost/Root%20Partition___%2F.rrd:user:AVERAGE LINE2:user#009900:user GPRINT:user:MAX:Max\: %6.2lf%s GPRINT:user:AVERAGE:Avg\: %6.2lf%s GPRINT:user:MIN:Min\: %6.2lf%s GPRINT:user:LAST:Cur\: %6.2lf%s\n -snow-118800-0 -enow-0 The contents of one of the rrd file are Current%29Users__procs.rrd 0003 300 1218044082 users GAUGE 400 NaN NaN 4 1.1280000000e+03 0 uwarn GAUGE 400 NaN NaN 20 5.6400000000e+03 0 ucrit GAUGE 400 NaN NaN 50 1.4100000000e+04 0 AVERAGE 1 5.0000000000e-01 4.0000000000e+00 0.0000000000e+00 NaN 0 2.0000000000e+01 0.0000000000e+00 NaN 0 5.0000000000e+01 0.0000000000e+00 NaN 0 NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN All the rrds are similar and they have nans in them instead of data. Strangely wihtout any change in settings i was getting graphs for some of my services like Total processes and disk space but after i removed the old rrd's they also stopped working. Please note that at no point were all the services working. It'll be great if someone can help me identify the issue. Please tell me if any additional info is needed. Thanks Abhishek Dhamija -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gregorcy at eng.utah.edu Wed Aug 6 20:00:59 2008 From: gregorcy at eng.utah.edu (gregorcy) Date: Wed, 06 Aug 2008 12:00:59 -0600 Subject: nagios upgrade NRPE issues In-Reply-To: <5A4AE2E1A3A86C4DA672C6ED903343EF012362@misex03.ena.com> References: <4898B943.7020703@eng.utah.edu> <5A4AE2E1A3A86C4DA672C6ED903343EF012362@misex03.ena.com> Message-ID: <4899E6DB.6040000@eng.utah.edu> > Without the context of the error message above, I'd hazard the guess > that you've decided to specify nrpe.cfg as a cfg_file (or as part of a > cfg_dir) in nagios.cfg as if it were a _nagios_ config file. It is not. > > -- > Marc That is what it was, thanks for the help. --Brian ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cyruspy at gmail.com Wed Aug 6 20:50:57 2008 From: cyruspy at gmail.com (Ciro Iriarte) Date: Wed, 6 Aug 2008 14:50:57 -0400 Subject: ndo2db - Error: mysql_query() failed In-Reply-To: References: Message-ID: The delay seems to be due a slow delete process in the mysql backend... Any optimization advices? Regards, Ciro ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jailbait at gmail.com Wed Aug 6 21:31:03 2008 From: jailbait at gmail.com (JB Segal) Date: Wed, 6 Aug 2008 15:31:03 -0400 Subject: Config parser? Message-ID: <916aba350808061231rfe4b289h743b75aff936441c@mail.gmail.com> To bring my convo from freenode:#nagios here: (15:02) < Jailbait> Has anyone ever found a good tool for analyzing _existing_ nagios configs? I'm sort of thinking halfway between a linter and an optimizer. (15:15) < sni> jailbait: what do you mean with analysing? (15:16) < Jailbait> I mean: (15:19) < Jailbait> I have a moderately complex existing install that I inherited. I'd like to optimize it all... figure out what services are identical or close; expand all object inheritences to see what's actually being set for things, etc. Perhaps something that would just generate a no-inheritence version of a config file... maybe all in a nice spread-sheet format. If I could export the View Configs output to something (spreadsheet of choice) could import, that'd probably be close. (15:20) < sni> hmm (15:20) < Jailbait> ... if I could figure out what could be templated that ISN'T, that be great - "These 98 hosts all have the same contact_group set and they all USE the same template. Combine the 2!" (15:21) < sni> k, i see (15:21) < sni> i dont think that somethink like that already exists (15:21) < sni> *something (15:23) < Jailbait> There _has_ to be someway to get parser output out of it... but I have no idea what. (15:23) < Jailbait> I mean, the config is parsed at startup and re-written to something more... complete... (15:23) < sni> config parsing is no problem (15:24) < sni> use config::general or something like that (15:24) < sni> or write your own, the config isn very complicated (15:25) < Jailbait> My perl skillz are not in the same universe as the word 1337, sadly. (15:26) < sni> :) (15:27) < Jailbait> ... or someway to call config.cgi to get the output piped to a file... Any ideas or existing tools are welcome! Thanks... JB ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Aug 7 00:09:05 2008 From: jon at netdork.net (Jon Angliss) Date: Wed, 06 Aug 2008 17:09:05 -0500 Subject: Getting bogus ping alerts after upgrade to Nagios vers. 3.0.3 References: <879d1e490808060802u6866dccegf8fcbb85d0241bda@mail.gmail.com> Message-ID: On Wed, 6 Aug 2008 11:02:37 -0400, "Joe Astrologo" wrote: >I upgraded from version 2.3 to 3.0.3 and I now I get a lot of bogus ping >alerts. Shut down nagios, do a check to see if there are any rogue instances running in the back ground, if there is, kill them off, and then restart. I've seen this from time to time if an instance becomes "disconnected" from the parent. -- Jon Angliss ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Aug 7 03:58:51 2008 From: jon at netdork.net (Jon Angliss) Date: Wed, 06 Aug 2008 20:58:51 -0500 Subject: Problems running eventhandler References: <489857E8.8030506@nicole-haehnel.de> Message-ID: <5glk945dil7ndocco2k1t620bvqic9d3q7@4ax.com> On Tue, 05 Aug 2008 15:38:48 +0200, Nicole H?hnel wrote: >Hi, > >I'm running nagios 3.0.3 on rhel5 2.6.18-92.1.6.el5. >I have written a script to restart strongswan on our vpn gateways. >But I can not get this eventhandler to work. >I only see (null);(null);(null); in eventlog instead of CRITICAL;SOFT;3 >oder something else. > >I tested the script as user nagios and it works. > >Where is the fault? [..] > ssh -i id_dsa $4 "/etc/init.d/ipsec restart" [..] You're calling ssh without a full path. It could be possible that nagios is starting up without having a full PATH env defined, causing it not to find ssh. You could add some debugging to the script to find out: echo $PATH > /tmp/evthandle.log Check to see if the output is sane, and includes a path to SSH. -- Jon Angliss ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Aug 7 07:25:06 2008 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Thu, 07 Aug 2008 07:25:06 +0200 Subject: Customise Report In-Reply-To: <001a01c8f7d3$8c5a56f0$2df41c0a@tse.gov.br> References: <001a01c8f7d3$8c5a56f0$2df41c0a@tse.gov.br> Message-ID: <489A8732.6000105@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Leandro de Oliveira wrote: | Is there a way to remove the Time Unknown from a Availability report | statics? Define the status at the beginning of the interval. The option to do so is part of the interface. 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) iD8DBQFImocwBvzDRVjxmYERAg+HAKCxD9gJoedkxxkst2Jq/NkFLZoMnwCgnsH4 mEN4VHgvTwW5G08Yco4761w= =/LhG -----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 Aug 7 07:33:10 2008 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Thu, 07 Aug 2008 07:33:10 +0200 Subject: [Fwd: distributed monitoring host checking question] In-Reply-To: <4891EF82.3050304@utah.edu> References: <4891E75B.6050508@utah.edu> <5A4AE2E1A3A86C4DA672C6ED903343EF012333@misex03.ena.com> <4891EF82.3050304@utah.edu> Message-ID: <489A8916.60301@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Tom Ammon wrote: | I did, indeed, read the docs. However, the link you posted (or any of | the other documentation I found) doesn't answer my question about the | relationships between active host checks and passive service checks. | | I post to lists because maybe the discussion can help someone else at a | later time. Sure, I could try it and just figure it out on my own, but | what about the community? Aren't we supposed to be helping each other here? | | Sean, thanks for your help. If I see any different behavior with nagios | 2.5, I'll post it back to the list. There is nothing wrong with finding things out yourself and documenting them in a way the search engines will find 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. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQFImokUBvzDRVjxmYERAhvVAKCeNkb4WgOtteHHI6amScnaynBcJACgoCpF BFkLqdaG8dBeVN7561cFlkg= =CCI+ -----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 ian at acces.co.jp Thu Aug 7 10:09:10 2008 From: ian at acces.co.jp (Ian Masters) Date: Thu, 07 Aug 2008 17:09:10 +0900 Subject: Can I monitor a host without defining any services for it? Message-ID: <489AADA6.1060108@acces.co.jp> Hello I was wondering about the necessity to define a service for hosts that I just want to ping. As far as I understand, the default Host Check Command, check-host-alive, is a ping check and looking at my scheduling queue, these checks are being done regularly but when I verify my config files Nagios always warns me about the hosts which have no services defined. So I looked in the documentation and found this: http://www.nagios.org/faqs/viewfaq.php?faq_id=39 On that page Ethan Galstad says: You really need to define at least one server per host that you plan on monitoring. Although you can define a host and not assign any services to it, you will not get the results you are expecting. Nagios is primarily geared towards monitoring services - hosts are only checked when there are problems or recoveries with services, so things will go awry if you define a host without any services. The above FAQ was written in 2002. Is this still true? Since the host is already being checked by the Host Check Command, it seems redundant to specify a ping check as a service. Do all you Nagios admins define a ping service, if you only want to check if a host is up or down? Thanks Ian Masters ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tom at ng23.net Thu Aug 7 11:49:16 2008 From: tom at ng23.net (Tom Brown) Date: Thu, 07 Aug 2008 10:49:16 +0100 Subject: warning mails not being sent Message-ID: <489AC51C.9070500@ng23.net> Hi I monitor a bunch of stuff with nagios 3 and everything seems fine apart from warnings are not being sent. I get critical alerts and warnings are logged into the dashboard however warning mails never get sent. A service description that this applies to is below define service { hostgroup_name windows-hosts service_description windows-disk-c is_volatile 0 check_command check_nt!USEDDISKSPACE!c!80!90!12489 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 active_checks_enabled 1 passive_checks_enabled 1 check_period 24x7 parallelize_check 1 obsess_over_service 1 check_freshness 0 event_handler_enabled 1 flap_detection_enabled 1 failure_prediction_enabled 1 process_perf_data 0 retain_status_information 1 retain_nonstatus_information 1 contact_groups windows-admins notification_interval 60 notification_period 24x7 notification_options w,u,c,r,f notifications_enabled 1 register 1 } Does anyone know why this may happen or what i can check? thanks ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rrvkumar-PkbjNfxxIARBDgjK7y7TUQ at public.gmane.org Thu Aug 7 11:51:38 2008 From: rrvkumar-PkbjNfxxIARBDgjK7y7TUQ at public.gmane.org (pavan kumar) Date: Thu, 7 Aug 2008 09:51:38 +0000 Subject: SERVICE notification Alerts and Escaltion Email Configuration Message-ID: Hi All , Need help on the Following Clarifications: 1) What?s the difference between Notification Alerts and Escalations and how to configure escalations and how to test it. 2) Iam using the template of local-service while defining services in locahost.cfg define service{ use local-service ; Name of service template to use host_name localhost service_description Total Processes check_command check_local_procs!250!400!RSZDT } When I see the template definition for local-service # Local service definition template - This is NOT a real service, just a template! define service{ name local-service ; The name of this service template use generic-service ; Inherit default values from the generic-service definition max_check_attempts 4 ; Re-check the service up to 4 times in order to determine its final (hard) state normal_check_interval 5 ; Check the service every 5 minutes under normal conditions retry_check_interval 1 ; Re-check the service every minute until a hard state can be determ ined register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL SERVICE, JUST A TEM PLATE! } There is no notification enabled/mentioned, iam surprised then how iam getting the Email Notifications when this specific service is down as the template specific to this service Doesn?t have notifications enabled. ***** Nagios ***** Notification Type: PROBLEM Service: Total Processes Host: localhost Address: 127.0.0.1 State: CRITICAL Date/Time: Thu Aug 7 16:15:32 IST 2008 Additional Info: CRITICAL - Plugin timed out after 10 seconds. 3)How to limit the Notification Alerts only to specific Services. pls reply asap ..... :-( Thanks and Regards, Pavan R _________________________________________________________________ Searching for the best deals on travel? Visit MSN Travel. http://msn.coxandkings.co.in/cnk/cnk.do -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagiosplug-help mailing list Nagiosplug-help-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org https://lists.sourceforge.net/lists/listinfo/nagiosplug-help ::: Please include plugins 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 Aug 7 13:45:30 2008 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Thu, 07 Aug 2008 07:45:30 -0400 Subject: warning mails not being sent In-Reply-To: <489AC51C.9070500@ng23.net> References: <489AC51C.9070500@ng23.net> Message-ID: <489AE05A.1040606@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 07/08/08 05:49 AM, Tom Brown wrote: > Hi > > I monitor a bunch of stuff with nagios 3 and everything seems fine apart > from warnings are not being sent. I get critical alerts and warnings are > logged into the dashboard however warning mails never get sent. > > A service description that this applies to is below > > define service { > hostgroup_name windows-hosts > service_description windows-disk-c > is_volatile 0 > check_command check_nt!USEDDISKSPACE!c!80!90!12489 > max_check_attempts 3 > normal_check_interval 5 > retry_check_interval 1 > active_checks_enabled 1 > passive_checks_enabled 1 > check_period 24x7 > parallelize_check 1 > obsess_over_service 1 > check_freshness 0 > event_handler_enabled 1 > flap_detection_enabled 1 > failure_prediction_enabled 1 > process_perf_data 0 > retain_status_information 1 > retain_nonstatus_information 1 > contact_groups windows-admins > notification_interval 60 > notification_period 24x7 > notification_options w,u,c,r,f > notifications_enabled 1 > register 1 > } > > Does anyone know why this may happen or what i can check? They can be filtered out at the service and contact levels - check their definitions too. Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFImuBa6dZ+Kt5BchYRAknsAJ0dGbT1kDK2d66bFdKpFdCtCE7B3QCeI95E T4mvg12VqO+iA59PfMYcpVE= =mnVS -----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 dermoth at aei.ca Thu Aug 7 13:51:47 2008 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Thu, 07 Aug 2008 07:51:47 -0400 Subject: Can I monitor a host without defining any services for it? In-Reply-To: <489AADA6.1060108@acces.co.jp> References: <489AADA6.1060108@acces.co.jp> Message-ID: <489AE1D3.1000900@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 07/08/08 04:09 AM, Ian Masters wrote: > Hello > > I was wondering about the necessity to define a service for hosts that I > just want to ping. As far as I understand, the default Host Check > Command, check-host-alive, is a ping check and looking at my scheduling > queue, these checks are being done regularly but when I verify my config > files Nagios always warns me about the hosts which have no services defined. > > So I looked in the documentation and found this: > http://www.nagios.org/faqs/viewfaq.php?faq_id=39 > > On that page Ethan Galstad says: > You really need to define at least one server per host that you plan on > monitoring. Although you can define a host and not assign any services > to it, you will not get the results you are expecting. Nagios is > primarily geared towards monitoring services - hosts are only checked > when there are problems or recoveries with services, so things will go > awry if you define a host without any services. > > The above FAQ was written in 2002. Is this still true? > > Since the host is already being checked by the Host Check Command, it > seems redundant to specify a ping check as a service. > > Do all you Nagios admins define a ping service, if you only want to > check if a host is up or down? You can use check_dummy for the service... In Nagios 3 with regularly scheduled hosts checks it should work. In Nagios 2 hosts check were normally on-demand so it wouldn't work if your service always returns OK. - -- Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFImuHT6dZ+Kt5BchYRAmifAKCMPDrEFe7eAh4nxOksLuMGGLfI5wCg2sOY d9KUNyafcsCGygv+X/DuUiI= =p0pC -----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 assaf.flatto at ssp.uk.com Thu Aug 7 14:11:57 2008 From: assaf.flatto at ssp.uk.com (Assaf Flatto) Date: Thu, 7 Aug 2008 12:11:57 +0000 Subject: [Nagvis-devel] nagvis giving me hell Message-ID: <200808071211.58004.assaf.flatto@ssp.uk.com> I've upgraded to 1.3 for the reason that this issue should have been fixed in the newer version . I preformed the deletion and the same error appears . and now i can not recover my NagVis at all , Ideas anyone ? Assaf PS - i also sent this to the nagvis list - but there is very little activity there . On Thursday 07 August 2008 08:15:28 Assaf Flatto wrote: > Hello > > I am trying to remove an old map in Nagvis . > I've entered the interface and found the map management options , and > selected Delete map , first there is a typo in the code > /usr/local/nagios/share/nagvis/wui/form_handler.php line 325 function > isste() - needs to be isset(). > > after fixing that i run the delete procedure again, and it reports that the > delete is done successful . > > when i try to see the relevant remaining maps i get the following error : > mapCfgNotExists: Map configuration file does not exists > The map configuration file > "/usr/local/nagios/share/nagvis/etc/maps/MHL2-6.cfg" does not exists. > > (of course map MHL2-6 Does not exist - i just told Nagvi to delete it ). > > Anyone have any idea how to solve this issue ? > > Assaf > > > > > 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=/ > _______________________________________________ > Nagvis-devel mailing list > Nagvis-devel at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagvis-devel 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 jon at lur.no Thu Aug 7 14:44:22 2008 From: jon at lur.no (=?ISO-8859-1?Q?Jon_Lur=E5s?=) Date: Thu, 07 Aug 2008 14:44:22 +0200 Subject: Comments not allowed in Nagios 3 Message-ID: <489AEE26.6090601@lur.no> Hello I have been running Nagios 1, 2 and now 3 for some years. Mostly in very small environments. Now I have a little more requirements and wants to enable 'Comments'. I have searched around and can not find the solution for enabling Comments for Nagios 3. I get the 'Sorry, but you are not authorized to commit the specified command.' I just want to put a comment, not run any command. :-( Thanks in advance. Jon ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Aug 7 15:55:20 2008 From: marc at ena.com (Marc Powell) Date: Thu, 7 Aug 2008 08:55:20 -0500 Subject: Comments not allowed in Nagios 3 In-Reply-To: <489AEE26.6090601@lur.no> References: <489AEE26.6090601@lur.no> Message-ID: <1D084D17-622A-45AA-BFF6-39E1FAD83121@ena.com> On Aug 7, 2008, at 7:44 AM, Jon Lur?s wrote: > I have searched around and can not find the solution for enabling > Comments for Nagios 3. > I get the 'Sorry, but you are not authorized to commit the specified > command.' > I just want to put a comment, not run any command. :-( Any action from the web GUI to tell nagios to do something, even adding a comment, is a command to nagios. You do need to enable external commands to do so. -- 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 tom at ng23.net Thu Aug 7 15:58:38 2008 From: tom at ng23.net (Tom Brown) Date: Thu, 07 Aug 2008 14:58:38 +0100 Subject: warning mails not being sent In-Reply-To: <489AE05A.1040606@aei.ca> References: <489AC51C.9070500@ng23.net> <489AE05A.1040606@aei.ca> Message-ID: <489AFF8E.5080500@ng23.net> > They can be filtered out at the service and contact levels - check their > definitions too. > > > many thanks - it was a contacts issue ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Aug 7 16:05:14 2008 From: marc at ena.com (Marc Powell) Date: Thu, 7 Aug 2008 09:05:14 -0500 Subject: Config parser? In-Reply-To: <916aba350808061231rfe4b289h743b75aff936441c@mail.gmail.com> References: <916aba350808061231rfe4b289h743b75aff936441c@mail.gmail.com> Message-ID: <21FCBA82-2801-4CC9-95EF-906C88B8CAD8@ena.com> On Aug 6, 2008, at 2:31 PM, JB Segal wrote: > To bring my convo from freenode:#nagios here: Not exactly the most response-friendly format... > (15:02) < Jailbait> Has anyone ever found a good tool for analyzing > _existing_ nagios configs? I'm None exist that I am aware of but if they do, they'd likely be found at http://www.nagiosexchange.org. > set for things, etc. Perhaps > something that would just generate a > no-inheritence version of a config object_cache_file=/usr/local/nagios/var/objects.cache > > file... maybe all in a nice spread-sheet format. > If I could export the View > Configs output to something (spreadsheet of > choice) could import, that'd > probably be close. ndoutils stores this information in the database by default as well. Then it's just a matter of using the correct queries to get the information you want. -- Marc ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From td3201 at gmail.com Thu Aug 7 17:49:22 2008 From: td3201 at gmail.com (Terry) Date: Thu, 7 Aug 2008 10:49:22 -0500 Subject: nrpe and sudo Message-ID: <8ee061010808070849p16dceae8ke71583ee35d313a2@mail.gmail.com> Hello, I am trying to run sudo /usr/sbin/clustat -s $service -l from nrpe. I can run it on the nrpe machine as the nagios user and it works fine. However, when I call it from my nagios machine via check_nrpe it is not working. Since sudo works locally, it is something with nrpe in how it is calling the sudo command that is making sudo not match. my sudoers is pretty open as it sits right now for testing: nagios ALL=(ALL) NOPASSWD: ALL I even broke it down to a very simple script: #!/usr/bin/perl use lib "/usr/lib64/nagios/plugins"; use utils qw(%ERRORS); $command = "sudo /bin/echo shit"; $foo = `$command`; print "$foo\n"; exit $ERRORS{'OK'}; I get this from the other side: CHECK_NRPE: No output returned from daemon. I see that you can prefix all commands with sudo in the nrpe.cfg but I only need it for a few plugins so would rather just call it from the script. Anyone have any thoughts? Thanks! ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jailbait at gmail.com Thu Aug 7 18:04:51 2008 From: jailbait at gmail.com (JB Segal) Date: Thu, 7 Aug 2008 12:04:51 -0400 Subject: Config parser? In-Reply-To: <916aba350808070903i471747c1wefb94bb0fb59e149@mail.gmail.com> References: <916aba350808061231rfe4b289h743b75aff936441c@mail.gmail.com> <21FCBA82-2801-4CC9-95EF-906C88B8CAD8@ena.com> <916aba350808070903i471747c1wefb94bb0fb59e149@mail.gmail.com> Message-ID: <916aba350808070904v70ed87b5xbb91b98743bdd248@mail.gmail.com> .... and this time I'll reply to the list. Not used to gmail's reply defaults... JB On Thu, Aug 7, 2008 at 12:03 PM, JB Segal wrote: > On Thu, Aug 7, 2008 at 10:05 AM, Marc Powell wrote: >> >> On Aug 6, 2008, at 2:31 PM, JB Segal wrote: >> >>> To bring my convo from freenode:#nagios here: >> >> Not exactly the most response-friendly format... > > Probably. Thanks for persevering, thought. > >>> (15:02) < Jailbait> Has anyone ever found a good tool for analyzing >>> _existing_ nagios configs? I'm >> >> None exist that I am aware of but if they do, they'd likely be found >> at http://www.nagiosexchange.org. > > Yeah... haven't found any there, but then perhaps my search terms and > theirs aren't > intercepting, hence my questions. :) > >>> set for things, etc. Perhaps >>> something that would just generate a >>> no-inheritence version of a config >> >> object_cache_file=/usr/local/nagios/var/objects.cache > > Wow. Thanks. I had NO idea... > >>> >>> file... maybe all in a nice spread-sheet format. >>> If I could export the View >>> Configs output to something (spreadsheet of >>> choice) could import, that'd >>> probably be close. >> >> ndoutils stores this information in the database by default as well. >> Then it's just a matter of using the correct queries to get the >> information you want. > > Hm. I'll go investigate that. Thanks! > >> -- >> Marc > > JB > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Aug 7 18:11:00 2008 From: smcafee at collaborativefusion.com (Sean McAfee) Date: Thu, 07 Aug 2008 12:11:00 -0400 Subject: nrpe and sudo In-Reply-To: <8ee061010808070849p16dceae8ke71583ee35d313a2@mail.gmail.com> References: <8ee061010808070849p16dceae8ke71583ee35d313a2@mail.gmail.com> Message-ID: <489B1E94.6020207@collaborativefusion.com> Terry wrote: > Hello, > > I am trying to run sudo /usr/sbin/clustat -s $service -l from nrpe. > I can run it on the nrpe machine as the nagios user and it works fine. > However, when I call it from my nagios machine via check_nrpe it is > not working. Since sudo works locally, it is something with nrpe in > how it is calling the sudo command that is making sudo not match. my > sudoers is pretty open as it sits right now for testing: > nagios ALL=(ALL) NOPASSWD: ALL > > I even broke it down to a very simple script: > #!/usr/bin/perl > > use lib "/usr/lib64/nagios/plugins"; > use utils qw(%ERRORS); > $command = "sudo /bin/echo shit"; > $foo = `$command`; > print "$foo\n"; > exit $ERRORS{'OK'}; > > I get this from the other side: > CHECK_NRPE: No output returned from daemon. > > I see that you can prefix all commands with sudo in the nrpe.cfg but I > only need it for a few plugins so would rather just call it from the > script. Try specifying the full path to sudo. 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. **************************************************************** ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Aug 7 18:29:22 2008 From: marc at ena.com (Marc Powell) Date: Thu, 7 Aug 2008 11:29:22 -0500 Subject: Config parser? Message-ID: <5A4AE2E1A3A86C4DA672C6ED903343EF01237A@misex03.ena.com> > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of JB Segal > >> None exist that I am aware of but if they do, they'd likely be found > >> at http://www.nagiosexchange.org. > > > > Yeah... haven't found any there, but then perhaps my search terms and > > theirs aren't > > intercepting, hence my questions. *mod* It's a default suggestion if an OP doesn't mention they looked there. I don't recall seeing anything like what you're looking for come across this list in the last 7 years or so... -- 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 td3201 at gmail.com Thu Aug 7 18:35:16 2008 From: td3201 at gmail.com (Terry) Date: Thu, 7 Aug 2008 11:35:16 -0500 Subject: nrpe and sudo In-Reply-To: <489B1E94.6020207@collaborativefusion.com> References: <8ee061010808070849p16dceae8ke71583ee35d313a2@mail.gmail.com> <489B1E94.6020207@collaborativefusion.com> Message-ID: <8ee061010808070935x147d8de4ob81c9416a56a5c0e@mail.gmail.com> On Thu, Aug 7, 2008 at 11:11 AM, Sean McAfee wrote: > > Terry wrote: >> >> Hello, >> >> I am trying to run sudo /usr/sbin/clustat -s $service -l from nrpe. >> I can run it on the nrpe machine as the nagios user and it works fine. >> However, when I call it from my nagios machine via check_nrpe it is >> not working. Since sudo works locally, it is something with nrpe in >> how it is calling the sudo command that is making sudo not match. my >> sudoers is pretty open as it sits right now for testing: >> nagios ALL=(ALL) NOPASSWD: ALL >> >> I even broke it down to a very simple script: >> #!/usr/bin/perl >> >> use lib "/usr/lib64/nagios/plugins"; >> use utils qw(%ERRORS); >> $command = "sudo /bin/echo shit"; >> $foo = `$command`; >> print "$foo\n"; >> exit $ERRORS{'OK'}; >> >> I get this from the other side: >> CHECK_NRPE: No output returned from daemon. >> >> I see that you can prefix all commands with sudo in the nrpe.cfg but I >> only need it for a few plugins so would rather just call it from the >> script. > > Try specifying the full path to sudo. > > Sean McAfee > System Engineer > > Collaborative Fusion, Inc. > smcafee at collaborativefusion.com > 412-422-3463 x 4025 > > 5849 Forbes Avenue > Pittsburgh, PA 15217 > Good catch but that's not it. :( ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From spribyl at peel.com Thu Aug 7 18:47:14 2008 From: spribyl at peel.com (Steve Pribyl) Date: Thu, 07 Aug 2008 11:47:14 -0500 Subject: nrpe and sudo In-Reply-To: <8ee061010808070935x147d8de4ob81c9416a56a5c0e@mail.gmail.com> References: <8ee061010808070849p16dceae8ke71583ee35d313a2@mail.gmail.com> <489B1E94.6020207@collaborativefusion.com> <8ee061010808070935x147d8de4ob81c9416a56a5c0e@mail.gmail.com> Message-ID: <489B2712.40708@peel.com> Terry, Does nrpe work at all? Is it process running/inetd configured? Is the port open on the destination node? Steve Pribyl On 08/07/2008 11:35 AM, Terry wrote: >>> I get this from the other side: >>> CHECK_NRPE: No output returned from daemon. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From td3201 at gmail.com Thu Aug 7 18:50:44 2008 From: td3201 at gmail.com (Terry) Date: Thu, 7 Aug 2008 11:50:44 -0500 Subject: nrpe and sudo In-Reply-To: <489B2712.40708@peel.com> References: <8ee061010808070849p16dceae8ke71583ee35d313a2@mail.gmail.com> <489B1E94.6020207@collaborativefusion.com> <8ee061010808070935x147d8de4ob81c9416a56a5c0e@mail.gmail.com> <489B2712.40708@peel.com> Message-ID: <8ee061010808070950o35e5db73i912861db39984157@mail.gmail.com> Yes, nrpe works fine. It checks other things as well. On Thu, Aug 7, 2008 at 11:47 AM, Steve Pribyl wrote: > Terry, > > Does nrpe work at all? > Is it process running/inetd configured? > Is the port open on the destination node? > > Steve Pribyl > > > On 08/07/2008 11:35 AM, Terry wrote: > >>>> >>>> I get this from the other side: >>>> CHECK_NRPE: No output returned from daemon. > > > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mckinnon at caltech.edu Thu Aug 7 19:02:35 2008 From: mckinnon at caltech.edu (Aaron McKinnon) Date: Thu, 07 Aug 2008 10:02:35 -0700 Subject: nrpe and sudo In-Reply-To: <8ee061010808070950o35e5db73i912861db39984157@mail.gmail.com> References: <8ee061010808070849p16dceae8ke71583ee35d313a2@mail.gmail.com> <489B1E94.6020207@collaborativefusion.com> <8ee061010808070935x147d8de4ob81c9416a56a5c0e@mail.gmail.com> <489B2712.40708@peel.com> <8ee061010808070950o35e5db73i912861db39984157@mail.gmail.com> Message-ID: <489B2AAB.1010705@caltech.edu> I missed the first part of this thread, but check your logs. But I'm guessing you have to tweak the sudoers file by removing the line "Defaults requiretty". -Aaron Terry wrote: > Yes, nrpe works fine. It checks other things as well. > > On Thu, Aug 7, 2008 at 11:47 AM, Steve Pribyl wrote: > >> Terry, >> >> Does nrpe work at all? >> Is it process running/inetd configured? >> Is the port open on the destination node? >> >> Steve Pribyl >> >> >> On 08/07/2008 11:35 AM, Terry wrote: >> >> >>>>> I get this from the other side: >>>>> CHECK_NRPE: No output returned from daemon. >>>>> >> >> >> > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 td3201 at gmail.com Thu Aug 7 19:05:16 2008 From: td3201 at gmail.com (Terry) Date: Thu, 7 Aug 2008 12:05:16 -0500 Subject: nrpe and sudo In-Reply-To: <489B2AAB.1010705@caltech.edu> References: <8ee061010808070849p16dceae8ke71583ee35d313a2@mail.gmail.com> <489B1E94.6020207@collaborativefusion.com> <8ee061010808070935x147d8de4ob81c9416a56a5c0e@mail.gmail.com> <489B2712.40708@peel.com> <8ee061010808070950o35e5db73i912861db39984157@mail.gmail.com> <489B2AAB.1010705@caltech.edu> Message-ID: <8ee061010808071005y5d7e45c3x4c4edac2775d0011@mail.gmail.com> You get the cookie! That was it. Makes perfect sense, I had just never paid attention to that line before. On Thu, Aug 7, 2008 at 12:02 PM, Aaron McKinnon wrote: > I missed the first part of this thread, but check your logs. But I'm > guessing you have to tweak the sudoers file by removing the line "Defaults > requiretty". > > -Aaron > > Terry wrote: >> >> Yes, nrpe works fine. It checks other things as well. >> >> On Thu, Aug 7, 2008 at 11:47 AM, Steve Pribyl wrote: >> >>> >>> Terry, >>> >>> Does nrpe work at all? >>> Is it process running/inetd configured? >>> Is the port open on the destination node? >>> >>> Steve Pribyl >>> >>> >>> On 08/07/2008 11:35 AM, Terry wrote: >>> >>> >>>>>> >>>>>> I get this from the other side: >>>>>> CHECK_NRPE: No output returned from daemon. >>>>>> >>> >>> >>> >>> >> >> ------------------------------------------------------------------------- >> This SF.Net email is sponsored by the Moblin Your Move Developer's >> challenge >> Build the coolest Linux based applications with Moblin SDK & win great >> prizes >> Grand prize is a trip for two to an Open Source event anywhere in the >> world >> http://moblin-contest.org/redirect.php?banner_id=100&url=/ >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: 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 folkert at vanheusden.com Thu Aug 7 22:35:58 2008 From: folkert at vanheusden.com (Folkert van Heusden) Date: Thu, 7 Aug 2008 22:35:58 +0200 Subject: hierarchical nagios In-Reply-To: <7f62d2420808040928r7b20ff6esd32412e2873ee0f@mail.gmail.com> References: <7f62d2420808040928r7b20ff6esd32412e2873ee0f@mail.gmail.com> Message-ID: <20080807203557.GM971@vanheusden.com> > We have a primary nagios install that monitors hosts/services spread > across multiple > labs (political domains). In one of the labs, I've build a nagios > install monitoring all of > its local hosts and services. It would be interesting to tie the two > together. Ultimatey > what I'd like to see is a "30,000 foot" view monitoring just the > distributed servers > and some kind of link to drill down into the individual labs. The top > view would not > change color if a host/service in a lab went down unless it were > defined as a server. > Is this possible? Has anyone done anything like this? I use my 'check_nagios_summary' tool for that. http://vanheusden.com/check_nagios_summary/ Folkert van Heusden -- MultiTail ? uno flexible tool per seguire di logfiles e effettuazione di commissioni. Feltrare, provedere da colore, merge, 'diff-view', etc. http://www.vanheusden.com/multitail/ ---------------------------------------------------------------------- Phone: +31-6-41278122, PGP-key: 1F28D8AE, www.vanheusden.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 ian at acces.co.jp Fri Aug 8 03:40:17 2008 From: ian at acces.co.jp (Ian Masters) Date: Fri, 08 Aug 2008 10:40:17 +0900 Subject: Can I monitor a host without defining any services for it? In-Reply-To: <489AE1D3.1000900@aei.ca> References: <489AADA6.1060108@acces.co.jp> <489AE1D3.1000900@aei.ca> Message-ID: <489BA401.607@acces.co.jp> Thomas Thanks for your reply. > You can use check_dummy for the service... In Nagios 3 with regularly > scheduled hosts checks it should work. Well, at the moment I only have about 20 hosts being tested, and even though I have check_interval set to 1 in the host definition, looking at the scheduling queue, I can see that host checks are only occurring every 80 seconds. When I've added about 200 more hosts I'm wondering if this time lag will increase. If that is the case, then I guess I will have to use check_ping after all. > In Nagios 2 hosts check were normally on-demand so it wouldn't work if > your service always returns OK. Interesting. I never used Nagios 2. According to check_dummy -h: This plugin will simply return the state corresponding to the numeric value of the argument with optional text Am I right in thinking that this does not actually perform a test? It just returns a state (OK, Warning etc) depending on the argument you give to check_dummy. Is that correct? If that is the case, is there really any point in using it for my purposes. Obviously it prevents the Nagios warnings, but other than that is it really serving any purpose? Thanks Ian ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ssimmons at cymfony.com Fri Aug 8 03:59:58 2008 From: ssimmons at cymfony.com (Seth Simmons) Date: Thu, 7 Aug 2008 21:59:58 -0400 Subject: Can I monitor a host without defining any services for it? In-Reply-To: <489BA401.607@acces.co.jp> References: <489AADA6.1060108@acces.co.jp> <489AE1D3.1000900@aei.ca> <489BA401.607@acces.co.jp> Message-ID: <13F36D2926AD444697093282F20041B707705F40@buf-ex01.cymfony.com> It probably does serve a purpose, just not for what you are trying to accomplish. Though warnings are given about not having services associated, you should be fine with just host checks if that is what you want. As far as the checks go, I have 101 servers and over 1200 service checks and have never noticed a time lag with any of them. Would be best to use check_ping with your check_command directive for your hosts. "If you leave this argument blank, the host will not be actively checked." -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Ian Masters Sent: Thursday, August 7, 2008 9:40 PM To: Thomas Guyot-Sionnest Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Can I monitor a host without defining any services for it? Thomas Thanks for your reply. > You can use check_dummy for the service... In Nagios 3 with regularly > scheduled hosts checks it should work. Well, at the moment I only have about 20 hosts being tested, and even though I have check_interval set to 1 in the host definition, looking at the scheduling queue, I can see that host checks are only occurring every 80 seconds. When I've added about 200 more hosts I'm wondering if this time lag will increase. If that is the case, then I guess I will have to use check_ping after all. > In Nagios 2 hosts check were normally on-demand so it wouldn't work if > your service always returns OK. Interesting. I never used Nagios 2. According to check_dummy -h: This plugin will simply return the state corresponding to the numeric value of the argument with optional text Am I right in thinking that this does not actually perform a test? It just returns a state (OK, Warning etc) depending on the argument you give to check_dummy. Is that correct? If that is the case, is there really any point in using it for my purposes. Obviously it prevents the Nagios warnings, but other than that is it really serving any purpose? Thanks Ian ------------------------------------------------------------------------ - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ian at acces.co.jp Fri Aug 8 04:43:31 2008 From: ian at acces.co.jp (Ian Masters) Date: Fri, 08 Aug 2008 11:43:31 +0900 Subject: Can I monitor a host without defining any services for it? In-Reply-To: <13F36D2926AD444697093282F20041B707705F40@buf-ex01.cymfony.com> References: <489AADA6.1060108@acces.co.jp> <489AE1D3.1000900@aei.ca> <489BA401.607@acces.co.jp> <13F36D2926AD444697093282F20041B707705F40@buf-ex01.cymfony.com> Message-ID: <489BB2D3.7060702@acces.co.jp> Seth Thanks for your reply. > It probably does serve a purpose, just not for what you are trying to > accomplish. > Though warnings are given about not having services associated, you > should be fine with just host checks if that is what you want. OK ... > As far as the checks go, I have 101 servers and over 1200 service checks > and have never noticed a time lag with any of them. > Would be best to use check_ping with your check_command directive for > your hosts. The default check_command, check-host-alive is a ping check is it not? I presume that is sufficient. > "If you leave this argument blank, the host will not be actively > checked." As long as check_command is defined in one of the host definition templates I'm using, I presume that will be OK. I still don't quite know why my host checks are being scheduled every 70 seconds. In my host definition, I've set check_interval to 1... any ideas? Thanks Ian ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ssimmons at cymfony.com Fri Aug 8 05:03:31 2008 From: ssimmons at cymfony.com (Seth Simmons) Date: Thu, 7 Aug 2008 23:03:31 -0400 Subject: Can I monitor a host without defining any services for it? In-Reply-To: <489BB2D3.7060702@acces.co.jp> References: <489AADA6.1060108@acces.co.jp> <489AE1D3.1000900@aei.ca> <489BA401.607@acces.co.jp> <13F36D2926AD444697093282F20041B707705F40@buf-ex01.cymfony.com> <489BB2D3.7060702@acces.co.jp> Message-ID: <13F36D2926AD444697093282F20041B707705F43@buf-ex01.cymfony.com> So...if you click on a specific host, you see a 70 second difference between last check time and next scheduled active check? -----Original Message----- From: Ian Masters [mailto:ian at acces.co.jp] Sent: Thursday, August 7, 2008 10:44 PM To: Seth Simmons Cc: Thomas Guyot-Sionnest; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Can I monitor a host without defining any services for it? Seth Thanks for your reply. > It probably does serve a purpose, just not for what you are trying to > accomplish. > Though warnings are given about not having services associated, you > should be fine with just host checks if that is what you want. OK ... > As far as the checks go, I have 101 servers and over 1200 service checks > and have never noticed a time lag with any of them. > Would be best to use check_ping with your check_command directive for > your hosts. The default check_command, check-host-alive is a ping check is it not? I presume that is sufficient. > "If you leave this argument blank, the host will not be actively > checked." As long as check_command is defined in one of the host definition templates I'm using, I presume that will be OK. I still don't quite know why my host checks are being scheduled every 70 seconds. In my host definition, I've set check_interval to 1... any ideas? Thanks Ian ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dermoth at aei.ca Fri Aug 8 05:21:39 2008 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Thu, 07 Aug 2008 23:21:39 -0400 Subject: Can I monitor a host without defining any services for it? In-Reply-To: <489BA401.607@acces.co.jp> References: <489AADA6.1060108@acces.co.jp> <489AE1D3.1000900@aei.ca> <489BA401.607@acces.co.jp> Message-ID: <489BBBC3.1040506@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 07/08/08 09:40 PM, Ian Masters wrote: > Thomas > > Thanks for your reply. > >> You can use check_dummy for the service... In Nagios 3 with regularly >> scheduled hosts checks it should work. > > Well, at the moment I only have about 20 hosts being tested, and even > though I have check_interval set to 1 in the host definition, looking at > the scheduling queue, I can see that host checks are only occurring > every 80 seconds. When I've added about 200 more hosts I'm wondering if > this time lag will increase. > > If that is the case, then I guess I will have to use check_ping after all. I'm not sure what would cause that... AFAIK in Nagios 3 host checks end up in the same queue as service checks, so the only explaination I could fins would be: 1. Your interval_length is larger than the default of 60 2. check_result_reaper_frequency is too large (will delay the results, and therefore delay the time at which nagios will re-schedule the checks) 3. Various commands (notifications, event handlers, performance data) slowing down nagios (those are serialized just like host checks in Nagios 2 - see below) >> In Nagios 2 hosts check were normally on-demand so it wouldn't work if >> your service always returns OK. > > Interesting. I never used Nagios 2. The logic in Nagios 2 is to check host only when a service fail, and it does not support assync host checks (only service checks are assync). The problem with it is that the host checks are serialized, so it adds an artificial limit at which they can be performed (the time it takes to detect a host down). This was an annoying bottleneck on huge setups. > According to check_dummy -h: > This plugin will simply return the state corresponding to the numeric > value of the argument with optional text > > Am I right in thinking that this does not actually perform a test? It > just returns a state (OK, Warning etc) depending on the argument you > give to check_dummy. Is that correct? Right. I mainly use it to make passive check with freshness checking send an alert when the check becomes stale, and to reset volatile services automatically. > If that is the case, is there really any point in using it for my > purposes. Obviously it prevents the Nagios warnings, but other than that > is it really serving any purpose? If it's only to avoid a warning, then you should just live with it. I never tested myself so I assumed it wasn't working at all. - -- Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIm7vD6dZ+Kt5BchYRApVhAKCHW4VIy0tBEe69zwo/wjzEl1da4gCfS6Ic ci0aZEwMh5ZxTqytdFQbAxM= =Z7jo -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ssimmons at cymfony.com Fri Aug 8 06:06:16 2008 From: ssimmons at cymfony.com (Seth Simmons) Date: Fri, 8 Aug 2008 00:06:16 -0400 Subject: problem running ndoutils Message-ID: <13F36D2926AD444697093282F20041B707705F45@buf-ex01.cymfony.com> I'm trying this for the first time and have gone through the manual to configure it. So far everything looks good. However, when I try to start ndo2db, it fails saying the specified database server is either not yet supported or not found. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Aug 8 07:06:16 2008 From: ian at acces.co.jp (Ian Masters) Date: Fri, 08 Aug 2008 14:06:16 +0900 Subject: Can I monitor a host without defining any services for it? In-Reply-To: <489BBBC3.1040506@aei.ca> References: <489AADA6.1060108@acces.co.jp> <489AE1D3.1000900@aei.ca> <489BA401.607@acces.co.jp> <489BBBC3.1040506@aei.ca> Message-ID: <489BD448.9080300@acces.co.jp> Thomas Thanks for the reply. >>> You can use check_dummy for the service... In Nagios 3 with regularly >>> scheduled hosts checks it should work. >> Well, at the moment I only have about 20 hosts being tested, and even >> though I have check_interval set to 1 in the host definition, looking at >> the scheduling queue, I can see that host checks are only occurring >> every 80 seconds. When I've added about 200 more hosts I'm wondering if >> this time lag will increase. >> >> If that is the case, then I guess I will have to use check_ping after all. > > I'm not sure what would cause that... AFAIK in Nagios 3 host checks end > up in the same queue as service checks Looking at the scheduling queue, it certainly looks like it ... >, so the only explaination I could > find would be: > > 1. Your interval_length is larger than the default of 60 It is set to 60. I tried setting it to 30, but that also produced unreliable results in the scheduling queue. > 2. check_result_reaper_frequency is too large (will delay the results, > and therefore delay the time at which nagios will re-schedule the checks) Again, I haven't changed the defult value of 10. > 3. Various commands (notifications, event handlers, performance data) > slowing down nagios (those are serialized just like host checks in > Nagios 2 - see below) Not sure about that one ... at the moment my setup is pretty small (18 hosts and 26 service checks) and all notifications are turned off (we only require sound alerts) > The logic in Nagios 2 is to check host only when a service fail, and it > does not support assync host checks (only service checks are assync). > The problem with it is that the host checks are serialized, so it adds > an artificial limit at which they can be performed (the time it takes to > detect a host down). This was an annoying bottleneck on huge setups. OK, if host checks are serial, then I guess it would make sense for an unknown amount of time to be added. >> According to check_dummy -h: >> This plugin will simply return the state corresponding to the numeric >> value of the argument with optional text >> >> Am I right in thinking that this does not actually perform a test? It >> just returns a state (OK, Warning etc) depending on the argument you >> give to check_dummy. Is that correct? > > Right. I mainly use it to make passive check with freshness checking > send an alert when the check becomes stale, and to reset volatile > services automatically. That explanation is a little advanced for me right now. Still at a very early testing stage. >> If that is the case, is there really any point in using it for my >> purposes. Obviously it prevents the Nagios warnings, but other than that >> is it really serving any purpose? > > If it's only to avoid a warning, then you should just live with it. I > never tested myself so I assumed it wasn't working at all. But if the only way I can be sure that Nagios will check the hosts that only require a ping every minute is to add ping as a service, I guess that's what I'll have to do. Slightly frustrating but I'm sure we'll learn to live with it. Thanks a lot. Ian ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rrbarbosa at gmail.com Fri Aug 8 14:04:34 2008 From: rrbarbosa at gmail.com (Rafael Barbosa) Date: Fri, 8 Aug 2008 09:04:34 -0300 Subject: Flapping and notifications In-Reply-To: References: Message-ID: Hi again, I edited the Nagios history log, because the original was too big to be sent on the list. All information is still there though. Sorry by the inconvenience. The original message is bellow. Best regards, Rafael Barbosa ---------- Forwarded message ---------- From: Rafael Barbosa Date: Fri, Aug 8, 2008 at 8:59 AM Subject: Flapping and notifications To: nagios-users at lists.sourceforge.net Hello everybody, I have been using Nagios for about 4-5 months now to monitor a small network (we are expanding the number of hosts soon) at my university. Our goal is to be aware of the status of the hosts and some services on the network, and be notificated every time something goes wrong, task for which Nagios seems perfectly suitable. By analyzing the last days logs I encountered a strange situation. In two occasions I received two consecutive Critical state notifications for the PING check without receiving a Warning or OK notification in between, and this situation happened more then once. I have been looking on the "Host Alert History" to try to figure out why these notifications were sent, when I got even more lost. In some cases on the alert history I don't see the HARD state change that would trigger the alert. My best guess is that these consecutive notifications are cause by flapping of the host/device, but I am not sure about it. After I enabled flapping notifications I did not see this problem anymore, but maybe I just dont have enough data to observe this problem. Note that when the problem happened, flapping was detected but not notificated. Another thing that I miss on my log is that sometimes I dont see the "Flapping Stopped" alert on the log, which makes even more difficult to find the cause of the problem. These are the two critical notifications I got from "Host Notifications" and attached is the "Host Alert History" for the same day (hope is not too big). ubisense1105 PING OK 2008-08-01 18:38:20 nagiosadmin notify-service PING OK - Packet loss = 0%, RTA = 1.88 ms ubisense1105 PING CRITICAL 2008-08-01 17:14:30 nagiosadmin notify-service PING CRITICAL - Packet loss = 100% ubisense1105 PING CRITICAL 2008-08-01 12:42:30 nagiosadmin notify-service PING CRITICAL - Packet loss = 100% Does anybody knows what could cause this behaviour? When a host is flapping, notifications about its services are still issued? How is decided what is logged on the "Host Alert History"? Best regards, Rafael Barbosa -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: History.pdf Type: application/pdf Size: 19230 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 adesperateuser at googlemail.com Fri Aug 8 14:14:15 2008 From: adesperateuser at googlemail.com (Marcus) Date: Fri, 08 Aug 2008 14:14:15 +0200 Subject: [Nagiosplug-help] SERVICE notification Alerts and Escaltion Email Configuration In-Reply-To: References: Message-ID: <489C3897.8080005@googlemail.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Pavan, pavan kumar schrieb: > 1) What?s the > difference between Notification Alerts and Escalations and how to configure > escalations and how to test it. http://nagios.sourceforge.net/docs/3_0/escalations.html and http://nagios.sourceforge.net/docs/3_0/notifications.html should clarify the difference. A notification is, well, something notifying the responsible admin. An escalation is, when he/she doesn't react, the mail also goes to fellow admins, or even the management. That would be escalation, I guess. How to test that, well... Set up a service, which doesn't work. Have a notification sent to you. Dont react, by not acknowledging it. After a couple of tries of nagios notifying you, nagios should notify another admin-group if you set things up correctly. See the manual for examples. > > 2) Iam using the template of > local-service while defining services in > locahost.cfg > > define > service{ > > use local-service ; Name of service template > to use > > host_name localhost > > service_description Total Processes > > check_command > check_local_procs!250!400!RSZDT > > } > > When I see the template definition > for local-service > > # Local service definition template > - This is NOT a real service, just a template! > > define > service{ > > name local-service ; The name of this > service template > > use generic-service ; Inherit default values > from the generic-service definition > > max_check_attempts 4 ; Re-check the service > up to 4 times in order to determine its final > (hard) > state > normal_check_interval > 5 ; Check the service every 5 minutes under normal > conditions > > retry_check_interval 1 ; Re-check the service > every minute until a hard state can be determ > ined > register > 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A > REAL SERVICE, JUST A TEM > PLATE! > > } > > There is no > notification enabled/mentioned, iam surprised then how iam getting the Email > Notifications when this specific service is down as the template specific to > this service > Doesn?t have > notifications enabled. If I get the problem right, you are getting notified, but don't find the notification option. Maybe it takes the standard-admin-mailadress...? I can't help you on this one, I guess. :-/ > > ***** Nagios > ***** > > Notification Type: > PROBLEM > Service: Total > Processes > Host: > localhost > Address: > 127.0.0.1 > State: > CRITICAL > Date/Time: Thu Aug 7 > 16:15:32 IST 2008 > Additional > Info: > CRITICAL - Plugin timed out > after 10 seconds. > > 3)How to limit the > Notification Alerts only to specific Services. Maybe you can have a template for services with notifications, and one without (as below). I think, the notifications_enabled (0/1) directive could do the job. - ---- define service{ name generic-bp-service use generic-service contact_groups admins notification_interval 60 notification_period 24x7 notification_options u,c,r notifications_enabled 1 max_check_attempts 5 check_period 24x7 register 0 } define service{ name generic-bp-detail-service use generic-service contact_groups admins notification_interval 60 notification_period 24x7 notification_options u,c,r notifications_enabled 0 max_check_attempts 1 normal_check_interval 5 retry_check_interval 1 check_period 24x7 register 0 } > > > pls reply asap ..... :-( Yeah, easy dude. :-) I hope I could help a little, I am not that much of a nagios-guru myself either. ;-) Greetz, Marcus -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFInDiX+qVaNRZYOakRAt51AJ0doIUZt8GM0g6ZI3fQfdmo0q9/kQCeLvXj Ze8aICNkRgA9/X6oVovtRGg= =13hU -----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 adesperateuser at googlemail.com Fri Aug 8 14:27:07 2008 From: adesperateuser at googlemail.com (Marcus) Date: Fri, 08 Aug 2008 14:27:07 +0200 Subject: problem running ndoutils In-Reply-To: <13F36D2926AD444697093282F20041B707705F45@buf-ex01.cymfony.com> References: <13F36D2926AD444697093282F20041B707705F45@buf-ex01.cymfony.com> Message-ID: <489C3B9B.8040003@googlemail.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Seth Simmons schrieb: > I'm trying this for the first time and have gone through the manual to > configure it. So far everything looks good. > > However, when I try to start ndo2db, it fails saying the specified > database server is either not yet supported or not found. Seth, you have to provide just a "little" more information. What version of nagios and ndo2db are you using? What is the exact error message? What kind of database are you trying to use, etc... Regards Marcus. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFInDub+qVaNRZYOakRAsQLAJ9HAuOy/L96AKUMZhx0woLGU7O2CQCdE5TR gl5a5P7faPX0HhnvIlLYl+A= =+JAK -----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 jra at baylink.com Fri Aug 8 16:01:38 2008 From: jra at baylink.com (Jay R. Ashworth) Date: Fri, 8 Aug 2008 10:01:38 -0400 Subject: Why can't I Handle alerts? In-Reply-To: <20080806142509.GC20752@cgi.jachomes.com> References: <4897A0E0.6060205@acces.co.jp> <20080805011203.GE13410@cgi.jachomes.com> <20080806141941.GB20752@cgi.jachomes.com> <20080806142509.GC20752@cgi.jachomes.com> Message-ID: <20080808140138.GE29463@cgi.jachomes.com> [Unthreaded, cause it's not really about the noises anymore] After discovering that the Quicktime that Firefox 3 will download for you *will not run* on Win2k (it's too new, you need 7.1.6) *and* that FF3 *blocks* that version for you because it crashes their build, and they can't be bothered to find out why, I finally have FF playing alert noises. Every time. Even though I'm on the Service Problems - Unhandled screen, and I've gone into each service and acknowledged it. Sticky. They're still there. They're still be-bonging. (on the status page, not the tac page) Anyone got any ideas what stupid thing I'm missing? Audio Alerts on the CGI doco page is the only easily accessible place that talks about them, and I'm not clear from it why that's happening... unless it's that my tac page thinks they're still unhandled problems, even though I've acknowledged them. Do "acknowledge" and "handle" really not mean the same thing? Cheers, -- jra -- Jay R. Ashworth Baylink jra at baylink.com Designer The Things I Think RFC 2100 Ashworth & Associates http://baylink.pitas.com '87 e24 St Petersburg FL USA http://photo.imageinc.us +1 727 647 1274 Those who cast the vote decide nothing. Those who count the vote decide everything. -- (Josef Stalin) ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 bjlockie at lockie.ca Fri Aug 8 16:43:03 2008 From: bjlockie at lockie.ca (James) Date: Fri, 8 Aug 2008 10:43:03 -0400 (EDT) Subject: hostgroup display not optimized Message-ID: <5417cbc98ebb5e5741a29a473fb2ae80.squirrel@webmail.lockie.ca> I have 4 hostgroups. The 1st has 10 hosts. The 2nd has 5 hosts. The 3rd has 10 hosts. The 4th has 5 hosts. The host group displays 3 columns and 2 rows even though it could fit the 4th hostgroup in the 1st row in the 2nd column below the 2nd hostgroup. I am using an older nagios, has this been improved? Unfortunately I can't upgrade (yet :-)). ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Aug 8 17:36:56 2008 From: marc at ena.com (Marc Powell) Date: Fri, 8 Aug 2008 10:36:56 -0500 Subject: UNSUBSCRIBE In-Reply-To: <4785288FFF93024A937F404009C1929A05396DDB@quimby.money-media.com> References: <20080730150414.14325.qmail@f5mail-237-208.rediffmail.com> <4785288FFF93024A937F404009C1929A05396DDB@quimby.money-media.com> Message-ID: <3E1CF23D-DC56-4076-B016-BB2434E8ABE9@ena.com> On Aug 8, 2008, at 8:49 AM, Barbara Abernathy wrote: > UNSUBSCRIBE > Yup, bold blue really helps get that point across... ;) > > ------------------------------------------------------------------------- > > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users ^^^^^^^^^^^^^^^^^ Go here. Only you can do 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 myoung at nagios.org Fri Aug 8 17:37:19 2008 From: myoung at nagios.org (Mark Young) Date: Fri, 8 Aug 2008 10:37:19 -0500 Subject: hostgroup display not optimized In-Reply-To: <5417cbc98ebb5e5741a29a473fb2ae80.squirrel@webmail.lockie.ca> References: <5417cbc98ebb5e5741a29a473fb2ae80.squirrel@webmail.lockie.ca> Message-ID: <04123ECF-5B14-4046-976C-01C3DE98888C@nagios.org> Hi James, On Aug 8, 2008, at 9:43 AM, James wrote: > I am using an older nagios, has this been improved? I am assuming you are talking about the "Hostgroup Overview" section. The three columns are here to stay unless someone writes a patch modify the cgis or unless we move away from the cgis in the future. And though you did not include what version of Nagios you are currently running I can safely say that you will not notice a much of a change in how status and hostgroups are displayed visually. What you see in the interface with Nagios 1.x will be basically the same as 3.x. Take a look at the screenshots at http://www.nagios.org if you want to look interface of Nagios 3. Nagios has changed much in terms of performance, stability, and functionality. Mark Young ___ Nagios Enterprises, LLC Web: www.nagios.com ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jra at baylink.com Fri Aug 8 17:37:54 2008 From: jra at baylink.com (Jay R. Ashworth) Date: Fri, 8 Aug 2008 11:37:54 -0400 Subject: UNSUBSCRIBE In-Reply-To: <3E1CF23D-DC56-4076-B016-BB2434E8ABE9@ena.com> References: <20080730150414.14325.qmail@f5mail-237-208.rediffmail.com> <4785288FFF93024A937F404009C1929A05396DDB@quimby.money-media.com> <3E1CF23D-DC56-4076-B016-BB2434E8ABE9@ena.com> Message-ID: <20080808153754.GJ29463@cgi.jachomes.com> On Fri, Aug 08, 2008 at 10:36:56AM -0500, Marc Powell wrote: > On Aug 8, 2008, at 8:49 AM, Barbara Abernathy wrote: > > UNSUBSCRIBE > > Yup, bold blue really helps get that point across... ;) I dunno; it was white here, just like all mail text is. Cheers, -- jra -- Jay R. Ashworth Baylink jra at baylink.com Designer The Things I Think RFC 2100 Ashworth & Associates http://baylink.pitas.com '87 e24 St Petersburg FL USA http://photo.imageinc.us +1 727 647 1274 Those who cast the vote decide nothing. Those who count the vote decide everything. -- (Josef Stalin) ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Aug 8 17:39:26 2008 From: marcelo.maia.garcia at googlemail.com (Marcelo M. Garcia) Date: Fri, 08 Aug 2008 16:39:26 +0100 Subject: check [snmp] printer ricoh aficio 3245c Message-ID: <489C68AE.6080404@googlemail.com> Hi. I'm trying to monitor a Ricoh Aficio 3245C, but neither check_printers nor check_snmp_printers seems to be working very well. With check_snmp_printer, or I got blank or error, like this: ==== [root at newt plugins]# ./check_snmp_printer 194.193.148.130 PrinterMIB MODEL [root at newt plugins]# ==== or ==== [root at newt plugins]# ./check_snmp_printer 194.193.148.130 MIB-II CONSUM TEST Consumables you may Monitor: [root at newt plugins]# ==== No output. ===== [root at newt plugins]# ./check_snmp_printer 194.193.148.130 MIB-II PAPER1 Timeout: No Response from 194.193.148.130. UNKNOWN something went wrong whilst checking the stats [root at newt plugins]# ===== The manual of the printer says that there are 4 MIBs: * MIB-II * PrinterMIB * HostResourceMIB * RicohPrivateMIB I tried all these MIBs and the result is the same. And finally, with "check_printer" I got: [root at newt plugins]# ./check_printer 194.193.148.130 public toner PHP Fatal error: Call to undefined function snmp_set_quick_print() in /usr/lib/nagios/plugins/check_printer on line 82 [root at newt plugins]# I don't know if the problem is this printer or I'm entering wrong options to the commands. The following command works: snmpwalk -v 2c -c public 194.193.148.130 Any feedback would be appreciate. Thanks Marcelo PS.: Does anyone knows snmp brower? ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Aug 8 17:50:35 2008 From: patrick.morris at hp.com (Morris, Patrick) Date: Fri, 8 Aug 2008 15:50:35 +0000 Subject: check [snmp] printer ricoh aficio 3245c In-Reply-To: <489C68AE.6080404@googlemail.com> References: <489C68AE.6080404@googlemail.com> Message-ID: <93C487A372B3774CAEAA15D524CCF3D12299A11B85@G1W0485.americas.hpqcorp.net> > I'm trying to monitor a Ricoh Aficio 3245C, but neither check_printers > nor check_snmp_printers seems to be working very well. > > And finally, with "check_printer" I got: > [root at newt plugins]# ./check_printer 194.193.148.130 public toner > PHP Fatal error: Call to undefined function snmp_set_quick_print() in > /usr/lib/nagios/plugins/check_printer on line 82 I'm not sure about the rest, but this sounds like your version of PHP was built without SNMP support. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Aug 8 17:58:32 2008 From: ssimmons at cymfony.com (Seth Simmons) Date: Fri, 8 Aug 2008 11:58:32 -0400 Subject: problem running ndoutils In-Reply-To: <489C3B9B.8040003@googlemail.com> References: <13F36D2926AD444697093282F20041B707705F45@buf-ex01.cymfony.com> <489C3B9B.8040003@googlemail.com> Message-ID: <13F36D2926AD444697093282F20041B707776559@buf-ex01.cymfony.com> nagios 3.0.3 ndo 1.4b7 mysql 5.0.51a [root at nagios-test ~]# /usr/local/nagios/bin/ndo2db-3x -c /usr/local/nagios/etc/ndo2db.cfg Support for the specified database server is either not yet supported, or was not found on your system. The only thing I modified in ndo2db.cfg is the database name, username, password. -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Marcus Sent: Friday, August 8, 2008 8:27 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] problem running ndoutils -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Seth Simmons schrieb: > I'm trying this for the first time and have gone through the manual to > configure it. So far everything looks good. > > However, when I try to start ndo2db, it fails saying the specified > database server is either not yet supported or not found. Seth, you have to provide just a "little" more information. What version of nagios and ndo2db are you using? What is the exact error message? What kind of database are you trying to use, etc... Regards Marcus. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFInDub+qVaNRZYOakRAsQLAJ9HAuOy/L96AKUMZhx0woLGU7O2CQCdE5TR gl5a5P7faPX0HhnvIlLYl+A= =+JAK -----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 myoung at nagios.org Fri Aug 8 18:26:00 2008 From: myoung at nagios.org (Mark Young) Date: Fri, 8 Aug 2008 11:26:00 -0500 Subject: problem running ndoutils In-Reply-To: <13F36D2926AD444697093282F20041B707776559@buf-ex01.cymfony.com> References: <13F36D2926AD444697093282F20041B707705F45@buf-ex01.cymfony.com> <489C3B9B.8040003@googlemail.com> <13F36D2926AD444697093282F20041B707776559@buf-ex01.cymfony.com> Message-ID: <699C8026-5671-40EA-B228-0E36D39BAFCF@nagios.org> Hi Seth, On Aug 8, 2008, at 10:58 AM, Seth Simmons wrote: > Support for the specified database server is either not yet supported, > or was not found on your system. I think that you may have compiled NDOutils without the necessary mysql development libraries. When you configured the installation were there any errors listed concerning mysql? An easy solution would be to use a package manager and install mysql, mysql-server, mysql- devel. You will then need to create and initialize the database you are going to use. I hope this will get you started. Mark Young ___ Nagios Enterprises, LLC Web: www.nagios.com ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Fri Aug 8 18:25:47 2008 From: patrick.morris at hp.com (Morris, Patrick) Date: Fri, 8 Aug 2008 16:25:47 +0000 Subject: problem running ndoutils In-Reply-To: <13F36D2926AD444697093282F20041B707776559@buf-ex01.cymfony.com> References: <13F36D2926AD444697093282F20041B707705F45@buf-ex01.cymfony.com> <489C3B9B.8040003@googlemail.com> <13F36D2926AD444697093282F20041B707776559@buf-ex01.cymfony.com> Message-ID: <93C487A372B3774CAEAA15D524CCF3D12299A11C1D@G1W0485.americas.hpqcorp.net> > nagios 3.0.3 ndo 1.4b7 mysql 5.0.51a > > [root at nagios-test ~]# /usr/local/nagios/bin/ndo2db-3x -c > /usr/local/nagios/etc/ndo2db.cfg > Support for the specified database server is either not yet supported, > or was not found on your system. > > > The only thing I modified in ndo2db.cfg is the database name, username, > password. It looks like you build ndoutils with either the wrong, or no, database support. I'd try building it again and paying special attention to the configure output to see what it's doing. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dit.dash at gmail.com Fri Aug 8 19:07:27 2008 From: dit.dash at gmail.com (dave stern - e-mail.pluribus.unum) Date: Fri, 8 Aug 2008 13:07:27 -0400 Subject: overall status of services Message-ID: <7f62d2420808081007j245a9758uf357d50f89a37d19@mail.gmail.com> Is there any way to determine the status of all hosts and services? If the nagios "Service Detail" page shows all problems in the upper right corner, I'd think it would be easy to say either everything is fine or there is one ore more problems. I presume this can somehow be gotten from $NAGIOSDIR/var/status.dat as nagcon seems to do but I can't find any code to just pull that info and drop it to a flag file. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Aug 8 19:15:19 2008 From: ssimmons at cymfony.com (Seth Simmons) Date: Fri, 8 Aug 2008 13:15:19 -0400 Subject: problem running ndoutils In-Reply-To: <699C8026-5671-40EA-B228-0E36D39BAFCF@nagios.org> References: <13F36D2926AD444697093282F20041B707705F45@buf-ex01.cymfony.com><489C3B9B.8040003@googlemail.com><13F36D2926AD444697093282F20041B707776559@buf-ex01.cymfony.com> <699C8026-5671-40EA-B228-0E36D39BAFCF@nagios.org> Message-ID: <13F36D2926AD444697093282F20041B707776581@buf-ex01.cymfony.com> I did use package manager to install mysql. The problem was missing mysql-devel. Compiled again and no errors. Thanks. Now the problem I have is this in the Nagios log. [08-08-2008 12:51:00] ndomod: Error writing to data sink! Some output may get lost... [08-08-2008 12:51:00] ndomod: Successfully flushed 80 queued items to data sink. I'm guessing this is more of a mysql issue? I tried mysql with this user and works fine on the database; checked the config and credentials are ok. I gave this user full access to this database. -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Mark Young Sent: Friday, August 8, 2008 12:26 PM To: Nagios User list Subject: Re: [Nagios-users] problem running ndoutils Hi Seth, On Aug 8, 2008, at 10:58 AM, Seth Simmons wrote: > Support for the specified database server is either not yet supported, > or was not found on your system. I think that you may have compiled NDOutils without the necessary mysql development libraries. When you configured the installation were there any errors listed concerning mysql? An easy solution would be to use a package manager and install mysql, mysql-server, mysql- devel. You will then need to create and initialize the database you are going to use. I hope this will get you started. Mark Young ___ Nagios Enterprises, LLC Web: www.nagios.com ------------------------------------------------------------------------ - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sat Aug 9 19:00:03 2008 From: jon at netdork.net (Jon Angliss) Date: Sat, 09 Aug 2008 12:00:03 -0500 Subject: check [snmp] printer ricoh aficio 3245c References: <489C68AE.6080404@googlemail.com> Message-ID: On Fri, 08 Aug 2008 16:39:26 +0100, "Marcelo M. Garcia" wrote: >Hi. > >I'm trying to monitor a Ricoh Aficio 3245C, but neither check_printers >nor check_snmp_printers seems to be working very well. > >With check_snmp_printer, or I got blank or error, like this: >==== >[root at newt plugins]# ./check_snmp_printer 194.193.148.130 PrinterMIB MODEL > >[root at newt plugins]# >==== The only check_snmp_printer I have is a perl script, so I'm guessing you grabbed the one from nagiosexchange. Looking at the code, arg3 is supposed to be the community for the printer. For example: ./check_snmp_printer 192.168.1.2 public MODEL You should also validate that your printer has the OIDs available. For example: snmpwalk -c public -v 1 192.168.1.2 1.3.6.1.2.1.43.11.1.1 If you get no response from that, the script isn't going to work either. [..] >The manual of the printer says that there are 4 MIBs: >* MIB-II >* PrinterMIB >* HostResourceMIB >* RicohPrivateMIB >I tried all these MIBs and the result is the same. > >And finally, with "check_printer" I got: >[root at newt plugins]# ./check_printer 194.193.148.130 public toner >PHP Fatal error: Call to undefined function snmp_set_quick_print() in >/usr/lib/nagios/plugins/check_printer on line 82 >[root at newt plugins]# This looks like your php isn't built with snmp enabled. You can validate with a quick one-liner... php -r 'phpinfo();' | grep -i snmp You should see at least the following come back: NET-SNMP Support => enabled NET-SNMP Version => 5.4 Version information could obviously be different. >I don't know if the problem is this printer or I'm entering wrong >options to the commands. The following command works: >snmpwalk -v 2c -c public 194.193.148.130 It certainly looks like the way you're calling it is wrong. The arguments to the app is . -- Jon Angliss ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sun Aug 10 05:59:57 2008 From: perldork at webwizarddesign.com (Max) Date: Sat, 9 Aug 2008 23:59:57 -0400 Subject: UNSUBSCRIBE In-Reply-To: <20080810090101.D71533@mippet.ci.com.au> References: <20080730150414.14325.qmail@f5mail-237-208.rediffmail.com> <4785288FFF93024A937F404009C1929A05396DDB@quimby.money-media.com> <3E1CF23D-DC56-4076-B016-BB2434E8ABE9@ena.com> <20080808153754.GJ29463@cgi.jachomes.com> <20080810090101.D71533@mippet.ci.com.au> Message-ID: No hablo ni leo el Ingles, repita ud. por favor? On Sat, Aug 9, 2008 at 7:01 PM, Dave Horsfall wrote: > On Fri, 8 Aug 2008, Jay R. Ashworth wrote: > >> > > UNSUBSCRIBE >> > >> > Yup, bold blue really helps get that point across... ;) >> >> I dunno; it was white here, just like all mail text is. > > Looks black over here... > > -- > Dave Horsfall DTM VK2KFU Ph: +61 2 9552-5509 (direct) +61 2 9552-5500 (switch) > Corinthian Eng'ng P/L, Ste 54 Jones Bay Whf, 26-32 Pirrama Rd, Pyrmont 2009, AU > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 madunix at gmail.com Sun Aug 10 08:11:35 2008 From: madunix at gmail.com (Mad Unix) Date: Sun, 10 Aug 2008 08:11:35 +0200 Subject: AIX monitor Message-ID: <4d3f56c90808092311y4ea3e793s642862d8870e158@mail.gmail.com> I have a linux server RHEL5 64bit running cacti/nagios, I am in process to capture the snmp data of my AIX5.3 clients (10x), any help how to proceed with this. -- Your search - madunix - did not match any documents. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From iknewitalready at gmail.com Sun Aug 10 15:14:12 2008 From: iknewitalready at gmail.com (Shoaibi) Date: Sun, 10 Aug 2008 19:14:12 +0600 Subject: NRPE on client doesn't recognize SSL Message-ID: <92dab8800808100614n3936486am4d757bc6c4405eba@mail.gmail.com> There are two machines: Machine 1: Monitor Server with nagios and NRPE plugin. Prompt is ">". FreeBSD 6 Machine 2: Previously was monitored using nagios, but now i want it to be monitored remotely using NRPE. Still have nagios installed. Prompt is "sysadmin#". FreeBSD 7 Both machines have 2.12 versions of nagios and NRPE. ================== Installting NRPE ================== sysadmin# ls .cshrc .k5login .login .mysql_history .ssh nrpe-2.12.tar.gz .history .lesshst .mc .profile mbox templates sysadmin# tar -xzvf nrpe-2.12.tar.gz x nrpe-2.12/ x nrpe-2.12/contrib/ x nrpe-2.12/contrib/README.nrpe_check_control x nrpe-2.12/contrib/nrpe_check_control.c x nrpe-2.12/.cvsignore x nrpe-2.12/Changelog x nrpe-2.12/LEGAL x nrpe-2.12/Makefile.in x nrpe-2.12/README x nrpe-2.12/README.SSL x nrpe-2.12/SECURITY x nrpe-2.12/config.guess x nrpe-2.12/config.sub x nrpe-2.12/configure x nrpe-2.12/configure.in x nrpe-2.12/init-script.debian.in x nrpe-2.12/init-script.in x nrpe-2.12/init-script.suse.in x nrpe-2.12/install-sh x nrpe-2.12/nrpe.spec x nrpe-2.12/subst.in x nrpe-2.12/update-version x nrpe-2.12/docs/ x nrpe-2.12/docs/NRPE.odt x nrpe-2.12/docs/NRPE.pdf x nrpe-2.12/include/ x nrpe-2.12/include/common.h x nrpe-2.12/include/config.h.in x nrpe-2.12/include/dh.h x nrpe-2.12/include/nrpe.h x nrpe-2.12/include/utils.h x nrpe-2.12/sample-config/ x nrpe-2.12/sample-config/nrpe.cfg.in x nrpe-2.12/sample-config/nrpe.xinetd.in x nrpe-2.12/src/ x nrpe-2.12/src/.cvsignore x nrpe-2.12/src/Makefile.in x nrpe-2.12/src/check_nrpe.c x nrpe-2.12/src/nrpe.c x nrpe-2.12/src/snprintf.c x nrpe-2.12/src/utils.c sysadmin# cd nrpe-2.12 sysadmin# ls .cvsignore README config.sub docs init-script.suse.in src Changelog README.SSL configure include install-sh subst.in LEGAL SECURITY configure.in init-script.debian.in nrpe.spec update-version Makefile.in config.guess contrib init-script.in sample-config sysadmin# ./configure checking for a BSD-compatible install... /usr/bin/install -c checking build system type... i386-unknown-freebsd7.0 checking host system type... i386-unknown-freebsd7.0 checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking whether make sets $(MAKE)... yes checking how to run the C preprocessor... gcc -E checking for egrep... grep -E checking for ANSI C header files... yes checking whether time.h and sys/time.h may both be included... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking ctype.h usability... yes checking ctype.h presence... yes checking for ctype.h... yes checking dirent.h usability... yes checking dirent.h presence... yes checking for dirent.h... yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking grp.h usability... yes checking grp.h presence... yes checking for grp.h... yes checking for inttypes.h... (cached) yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking pwd.h usability... yes checking pwd.h presence... yes checking for pwd.h... yes checking signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking for stdint.h... (cached) yes checking for strings.h... (cached) yes checking for string.h... (cached) yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking tcpd.h usability... yes checking tcpd.h presence... yes checking for tcpd.h... yes checking for unistd.h... (cached) yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking socket.h usability... no checking socket.h presence... no checking for socket.h... no checking for sys/types.h... (cached) yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking sys/resource.h usability... yes checking sys/resource.h presence... yes checking for sys/resource.h... yes checking for sys/wait.h... (cached) yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking for sys/stat.h... (cached) yes checking for an ANSI C-conforming const... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for mode_t... yes checking for pid_t... yes checking for size_t... yes checking return type of signal handlers... void checking for uid_t in sys/types.h... yes checking type of array argument to getgroups... gid_t checking for int... yes checking size of int... 4 checking for short... yes checking size of short... 2 checking for long... yes checking size of long... 4 checking for uint32_t... yes checking for u_int32_t... yes checking for int32_t... yes checking for va_copy... yes checking for vsnprintf... yes checking for snprintf... yes checking for asprintf... yes checking for vasprintf... yes checking for C99 vsnprintf... yes checking for getopt_long... yes checking for main in -lnsl... no checking for socket in -lsocket... no checking for main in -lwrap... yes checking for strdup... yes checking for strstr... yes checking for strtoul... yes checking for initgroups... yes checking for closesocket... no checking for socklen_t... yes checking for type of socket size... size_t checking for SSL headers... SSL headers found in /usr checking for SSL libraries... SSL libraries found in /usr/lib *** Generating DH Parameters for SSL/TLS *** Generating DH parameters, 512 bit long safe prime, generator 2 This is going to take a long time ..................................+.....+..............................................+.............+.............................................+......+.......+...+..................................+..+.......................+...........................................................+..............................+.......+......+.......+......+...+.....+.................................+.................+.....+..+.........................................+...............................................+....+........................+...+........................+.........+..................+..........................+..+........................+.....+...................................+....................................+.......................................++*++*++*++*++*++* checking for Kerberos include files... could not find include files checking for perl... /usr/bin/perl configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating subst config.status: creating include/config.h *** Configuration summary for nrpe 2.12 03-10-2008 ***: General Options: ------------------------- NRPE port: 5666 NRPE user: nagios NRPE group: nagios Nagios user: nagios Nagios group: nagios Review the options above for accuracy. If they look okay, type 'make all' to compile the NRPE daemon and client. sysadmin# make all cd ./src/; make ; cd .. gcc -g -O2 -I/usr/include/openssl -I/usr/include -DHAVE_CONFIG_H -o nrpe nrpe.c utils.c -L/usr/lib -lssl -lcrypto -lwrap gcc -g -O2 -I/usr/include/openssl -I/usr/include -DHAVE_CONFIG_H -o check_nrpe check_nrpe.c utils.c -L/usr/lib -lssl -lcrypto *** Compile finished *** If the NRPE daemon and client compiled without any errors, you can continue with the installation or upgrade process. Read the PDF documentation (NRPE.pdf) for information on the next steps you should take to complete the installation or upgrade. sysadmin# make install-plugin cd ./src/ && make install-plugin /usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/libexec /usr/bin/install -c -m 775 -o nagios -g nagios check_nrpe /usr/local/nagios/libexec ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Problems: >> Even though we have libssl and libcrypto installed on client, the nrpe plugin doesnt associate itself to them.... >> On Server end check_nrpe is associated with ssl and crypto though... >> Even tried using check_nrpe -n on the Monitoring server, gives status of "Unknown" with Recieved 0 bytes from NRPE or something similar statement. ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- sysadmin# ldd `which nrpe` /usr/local/sbin/nrpe: libc.so.7 => /lib/libc.so.7 (0x28081000) sysadmin# ldd /usr/local/libexec/nagios/check_nrpe /usr/local/libexec/nagios/check_nrpe: libc.so.7 => /lib/libc.so.7 (0x2807f000) ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- NRPE Config file on Client ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- sysadmin# cat /usr/local/etc/nrpe.cfg ############################################################################# # Sample NRPE Config File # Written by: Ethan Galstad (nagios at nagios.org) # # Last Modified: 12-30-2002 # # NOTES: # This is a sample configuration file for the NRPE daemon. It needs to be # located on the remote host that is running the NRPE daemon, not the host # from which the check_nrpe client is being executed. ############################################################################# # PORT NUMBER # Port number we should wait for connections on. # NOTE: This must be a non-priviledged port (i.e. > 1024). # NOTE: This option is ignored if NRPE is running under either inetd or xinetd server_port=5666 # SERVER ADDRESS # Address that nrpe should bind to in case there are more than one interface # and you do not want nrpe to bind on all interfaces. # NOTE: This option is ignored if NRPE is running under either inetd or xinetd #server_address=192.168.1.1 # ALLOWED HOST ADDRESSES # This is a comma-delimited list of IP address of hosts that are allowed # to talk to the NRPE daemon. # # NOTE: The daemon only does rudimentary checking of the client's IP # address. I would highly recommend adding entries in your # /etc/hosts.allow file to allow only the specified host to connect # to the port you are running this daemon on. # # NOTE: This option is ignored if NRPE is running under either inetd or xinetd #allowed_hosts=127.0.0.1,192.168.40.1 # NRPE USER # This determines the effective user that the NRPE daemon should run as. # You can either supply a username or a UID. # # NOTE: This option is ignored if NRPE is running under either inetd or xinetd nrpe_user=nagios # NRPE GROUP # This determines the effective group that the NRPE daemon should run as. # You can either supply a group name or a GID. # # NOTE: This option is ignored if NRPE is running under either inetd or xinetd nrpe_group=nagios # DEBUGGING OPTION # This option determines whether or not debugging messages are logged to the # syslog facility. # Values: 0=debugging off, 1=debugging on debug=0 # COMMAND TIMEOUT # This specifies the maximum number of seconds that the NRPE daemon will # allow plugins to finish executing before killing them off. command_timeout=60 # COMMAND DEFINITIONS # Command definitions that this daemon will run. Definitions # are in the following format: # # command[]= # # When the daemon receives a request to return the results of # it will execute the command specified by the argument. # # Unlike Nagios, the command line cannot contain macros - it must be # typed exactly as it should be executed. # # Note: Any plugins that are used in the command lines must reside # on the machine that this daemon is running on! The examples below # assume that you have plugins installed in a /usr/local/nagios/libexec # directory. Also note that you will have to modify the definitions below # to match the argument format the plugins expect. Remember, these are # examples only! command[check_users]=/usr/local/libexec/nagios/check_users -w 5 -c 10 command[check_load]=/usr/local/libexec/nagios/check_load -w 15,10,5 -c 30,25,20 command[check_disk1]=/usr/local/libexec/nagios/check_disk -w 20 -c 10 -p /dev/ad4s1a command[check_disk2]=/usr/local/libexec/nagios/check_disk -w 20 -c 10 -p /dev/ad4s1e command[check_zombie_procs]=/usr/local/libexec/nagios/check_procs -w 5 -c 10 -s Z command[check_total_procs]=/usr/local/libexec/nagios/check_procs -w 150 -c 200 command[check_swap]=/usr/local/libexec/nagios/check_swap -w 20% -c 10% ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- NRPE on Client is running as a daemon ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- sysadmin# ps aux | grep nrp nagios 49423 0.0 0.1 3104 1200 ?? Is Tue10AM 0:00.30 /usr/local/sbin/nrpe -c /usr/local/etc/nrpe.cfg --daemon root 6421 0.0 0.1 1632 1068 p3 R+ 10:45AM 0:00.00 grep nrp ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- On the Monitor Server ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- >./check_nrpe -n -H 192.168.40.40 -p 5666 -c check_swap -t 20 CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs for error messages. > ./check_nrpe -n -H 192.168.40.40 -p 5666 -c check_ping CHECK_NRPE: Socket timeout after 10 seconds. > ./check_nrpe -n -H 192.168.40.40 -p 5666 -c check_swap -t 20 CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs for error messages. > ./check_nrpe -n -H 192.168.40.40 CHECK_NRPE: Socket timeout after 10 seconds. ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Verifying that NRPE is running on Client/ ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- sysadmin# ps aux | grep nrp nagios 49423 0.0 0.1 3104 1200 ?? Is Tue10AM 0:00.30 /usr/local/sbin/nrpe -c /usr/local/etc/nrpe.cfg --daemon root 6421 0.0 0.1 1632 1068 p3 R+ 10:45AM 0:00.00 grep nrp sysadmin# sudo kill 49423 sysadmin# nohup /usr/local/sbin/nrpe -c /usr/local/etc/nrpe.cfg --daemon & [1] 8166 sysadmin# ps aux | grep nrp nagios 8167 0.0 0.1 3104 1184 ?? Ss 10:48AM 0:00.00 /usr/local/sbin/nrpe -c /usr/local/etc/nrpe.cfg --daemon root 8169 0.0 0.1 1632 1068 p3 R+ 10:48AM 0:00.00 grep nrp [1] + Done /usr/local/sbin/nrpe -c /usr/local/etc/nrpe.cfg --daemon sysadmin# ps aux | grep nrp nagios 8167 0.0 0.1 3104 1204 ?? Ss 10:48AM 0:00.00 /usr/local/sbin/nrpe -c /usr/local/etc/nrpe.cfg --daemon root 8182 0.0 0.1 1632 1068 p3 R+ 10:49AM 0:00.00 grep nrp ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Checking again from the Monitor Server... ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- > ./check_nrpe -n -H 192.168.40.40 CHECK_NRPE: Socket timeout after 10 seconds. > ./check_nrpe -n -H 192.168.40.40 -p 5666 -c check_swap -t 20 CHECK_NRPE: Error receiving data from daemon. > ./check_nrpe -n -H 192.168.40.40 -p 5666 -c check_swap -t 20 CHECK_NRPE: Error receiving data from daemon. ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Conclusion: ========= >>> Same versions of nagios and nrpe. >>> nrpe daemon is running... >>> Problem # 1 Even though SSL and crypto is installed, the nrpe installation client doesn't associate itself with them, though generated the certificates... >>> Problem # 2 Even with the "-n" option, i am still not successful in getting the NRPE working.... >>> I have tried Installing NRPE client on a debian machine with ssl and crypto libs pre-installed aswell. Same scenario. So any suggestions? comments? Or should i paste more details? The information about the versions of nagios and nrpe was gathered using one of the following: 1. pkg_ingo 2. dpkg -l 3. tar file name 4. --version option ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fevinkagen at gmail.com Sun Aug 10 16:46:29 2008 From: fevinkagen at gmail.com (fevin Kagen) Date: Sun, 10 Aug 2008 10:46:29 -0400 Subject: Nagios freshness checks randomly think check results are from 1973. Message-ID: I'm having this exact same issue on two different Nagios servers. One running Fedora and one running Ubuntu. It is driving me crazy. An SNMP Trap is received for a backup job. It is properly translated and ultimately received by Nagios. I have a freshness check in place for the service that will create a critical alert if a check is not received every 26 hours. For whatever reason, the check is run right after the alert is received and it think the results are 12K+ days old. It seems to periodically think the results are from 11-08-1973. This is an ongoing issue on both servers, but certainly isn't the norm. Typically the freshness checks work great. However, about once or twice a week, I see this behavior on random checks. Here is an example: >From the Nagios web interface > [08-10-2008 00:06:07] SERVICE ALERT: HHA_Backups;Backup_Incremental;CRITICAL;HARD;3;CRITICAL: Results of backup job were not reported! [08-10-2008 00:05:47] SERVICE ALERT: HHA_Backups;Backup_Incremental;WARNING;SOFT;2;The job completed successfully. However, the following conditions were encountered: 1 files were skipped. A snapshot operation required by this job was unsuccessful. Check the job log and the Windows Event Viewer for additional information. >From nagios.log > [1218341147] PASSIVE SERVICE CHECK: HHA_Backups;Backup_Incremental;1;The job completed successfully. However, the following conditions were encountered: 1 files were skipped. A snapshot operation required by this job was unsuccessful. Check the job log and the Windows Event Viewer for additional information. [1218341147] SERVICE ALERT: HHA_Backups;Backup_Incremental;WARNING;SOFT;2;The job completed successfully. However, the following conditions were encountered: 1 files were skipped. A snapshot operation required by this job was unsuccessful. Check the job log and the Windows Event Viewer for additional information. [1218341166] Warning: The results of service 'Backup_Incremental' on host 'HHA_Backups' are stale by 12689d 23h 17m 32s (threshold=1d 2h 0m 0s). I'm forcing an immediate check of the service. [1218341167] SERVICE ALERT: HHA_Backups;Backup_Incremental;CRITICAL;HARD;3;CRITICAL: Results of backup job were not reported! Any ideas? 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 jra at baylink.com Sun Aug 10 18:03:24 2008 From: jra at baylink.com (Jay R. Ashworth) Date: Sun, 10 Aug 2008 12:03:24 -0400 Subject: Why can't I Handle alerts? Message-ID: <20080810160324.GA4855@cgi.jachomes.com> [Unthreaded, cause it's not really about the noises anymore] [Now with 100% more unthreading..] After discovering that the Quicktime that Firefox 3 will download for you *will not run* on Win2k (it's too new, you need 7.1.6) *and* that FF3 *blocks* that version for you because it crashes their build, and they can't be bothered to find out why, I finally have FF playing alert noises. Every time. Even though I'm on the Service Problems - Unhandled screen, and I've gone into each service and acknowledged it. Sticky. They're still there. They're still be-bonging. (on the status page, not the tac page) Anyone got any ideas what stupid thing I'm missing? Audio Alerts on the CGI doco page is the only easily accessible place that talks about them, and I'm not clear from it why that's happening... unless it's that my tac page thinks they're still unhandled problems, even though I've acknowledged them. Do "acknowledge" and "handle" really not mean the same thing? Cheers, -- jra -- Jay R. Ashworth Baylink jra at baylink.com Designer The Things I Think RFC 2100 Ashworth & Associates http://baylink.pitas.com '87 e24 St Petersburg FL USA http://photo.imageinc.us +1 727 647 1274 Those who cast the vote decide nothing. Those who count the vote decide everything. -- (Josef Stalin) ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mahadev.chetan at gmail.com Sun Aug 10 18:29:24 2008 From: mahadev.chetan at gmail.com (Chetan Mahadev) Date: Sun, 10 Aug 2008 21:59:24 +0530 Subject: Any plugin for a TroubleTicketing System for Nagios?? Message-ID: <1928c5780808100929v3905034exf6825fe636782cf2@mail.gmail.com> Hi, Just wanted to know, is there any trouble ticketing system to which we can integrate alerts from Nagios?? 1.Any specific plugin developed for BMC's Remedy?? 2.Pls let me know any alternative Trouble ticketing system which can be integrated with Nagios. Thanks in advance.. Regds Chetan -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alex.howells at 0wn3d.us Sun Aug 10 18:47:13 2008 From: alex.howells at 0wn3d.us (Alex Howells) Date: Sun, 10 Aug 2008 17:47:13 +0100 Subject: Any plugin for a TroubleTicketing System for Nagios?? In-Reply-To: <1928c5780808100929v3905034exf6825fe636782cf2@mail.gmail.com> References: <1928c5780808100929v3905034exf6825fe636782cf2@mail.gmail.com> Message-ID: Hi Chetan > Just wanted to know, is there any trouble ticketing system to which we can > integrate alerts from Nagios?? > > 1.Any specific plugin developed for BMC's Remedy?? > 2.Pls let me know any alternative Trouble ticketing system which can be > integrated with Nagios. It's pretty darn easy to make Nagios generate e-mails, so you can trivially integrate it with something like RT or OTRS. Alex ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mahadev.chetan at gmail.com Sun Aug 10 19:18:13 2008 From: mahadev.chetan at gmail.com (Chetan Mahadev) Date: Sun, 10 Aug 2008 22:48:13 +0530 Subject: Any plugin for a TroubleTicketing System for Nagios?? In-Reply-To: References: <1928c5780808100929v3905034exf6825fe636782cf2@mail.gmail.com> Message-ID: <1928c5780808101018p57839b6asf3dbbb44e8c7fa78@mail.gmail.com> Hi Alex, Thanks for the quick inputs! I am aware that nagios can send e-mails. But I had few doubts regarding the email feature.. How does Nagios send emails? Does it internally support an SMTP server?? I am asking this question specifically because, if we go ahead with approach advised by you ( RT or OTRS), does a SMTP server come to picture? Pls enlighten me !! Regds Chetan On 8/10/08, Alex Howells wrote: > > Hi Chetan > > > Just wanted to know, is there any trouble ticketing system to which we > can > > integrate alerts from Nagios?? > > > > 1.Any specific plugin developed for BMC's Remedy?? > > 2.Pls let me know any alternative Trouble ticketing system which can be > > integrated with Nagios. > > It's pretty darn easy to make Nagios generate e-mails, so you can > trivially integrate it with something like RT or OTRS. > > Alex > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mahadev.chetan at gmail.com Sun Aug 10 19:21:18 2008 From: mahadev.chetan at gmail.com (Chetan Mahadev) Date: Sun, 10 Aug 2008 22:51:18 +0530 Subject: Any plugin for a TroubleTicketing System for Nagios?? In-Reply-To: <1928c5780808101018p57839b6asf3dbbb44e8c7fa78@mail.gmail.com> References: <1928c5780808100929v3905034exf6825fe636782cf2@mail.gmail.com> <1928c5780808101018p57839b6asf3dbbb44e8c7fa78@mail.gmail.com> Message-ID: <1928c5780808101021v17eddab7r79fd4b7fb19a5a1b@mail.gmail.com> > > Thanks for the quick inputs! > > I am aware that nagios can send e-mails. > But I had few doubts regarding the email feature.. > How does Nagios send emails? Does it internally support an SMTP server?? I > am asking this question specifically because, if we go ahead with approach > advised by you ( RT or OTRS), does a SMTP server come to picture? > > Pls enlighten me !! > > > Regds > Chetan > > On 8/10/08, Alex Howells wrote: >> >> Hi Chetan >> >> > Just wanted to know, is there any trouble ticketing system to which we >> can >> > integrate alerts from Nagios?? >> > >> > 1.Any specific plugin developed for BMC's Remedy?? >> > 2.Pls let me know any alternative Trouble ticketing system which can be >> > integrated with Nagios. >> >> It's pretty darn easy to make Nagios generate e-mails, so you can >> trivially integrate it with something like RT or OTRS. >> >> Alex >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sun Aug 10 19:31:55 2008 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Sun, 10 Aug 2008 13:31:55 -0400 Subject: Any plugin for a TroubleTicketing System for Nagios?? In-Reply-To: <1928c5780808101018p57839b6asf3dbbb44e8c7fa78@mail.gmail.com> References: <1928c5780808100929v3905034exf6825fe636782cf2@mail.gmail.com> <1928c5780808101018p57839b6asf3dbbb44e8c7fa78@mail.gmail.com> Message-ID: <489F260B.6010603@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 10/08/08 01:18 PM, Chetan Mahadev wrote: > Hi Alex, > > Thanks for the quick inputs! > > I am aware that nagios can send e-mails. > But I had few doubts regarding the email feature.. > How does Nagios send emails? Does it internally support an SMTP server?? > I am asking this question specifically because, if we go ahead with > approach advised by you ( RT or OTRS), does a SMTP server come to picture? You will usually have a local smtp server (sendmail, postfix) that will work on it's own or use a smart relay. There are likely commands/utility that will connect directly to a remote SMTP server too. Nagios does not know anything about SMTP, it just runs commands. Make a command or script that sent your emails and just set it up in Nagios. FYI in my setups Nagios have it own SMTP server so that if the mail system does down we can still alert about it. In addition we also pull contact emails automatically from Active Directory groups, so we don't have to play with configuration files every time something changes. - -- Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFInyYK6dZ+Kt5BchYRAg3oAKDkBI8XIZUSAr1B/RyVYXuQyvnKrACgjyGf 2JeNZ+w3z1X0nTXvNKAOUJM= =Ymtq -----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 lavalamp at spiritual-machines.org Sun Aug 10 20:01:49 2008 From: lavalamp at spiritual-machines.org (Brian A. Seklecki) Date: Sun, 10 Aug 2008 14:01:49 -0400 Subject: Any plugin for a TroubleTicketing System for Nagios?? In-Reply-To: <489F260B.6010603@aei.ca> References: <1928c5780808100929v3905034exf6825fe636782cf2@mail.gmail.com> <1928c5780808101018p57839b6asf3dbbb44e8c7fa78@mail.gmail.com> <489F260B.6010603@aei.ca> Message-ID: <1218391309.20667.23.camel@localhost.localdomain> On Sun, 2008-08-10 at 13:31 -0400, Thomas Guyot-Sionnest wrote: > FYI in my setups Nagios have it own SMTP server so that if the mail SMTP sounds nice, except in general it really isnt :) You'll need a discriminating logic check to selectively generate tickets for hosts/service status changes. For example, the health check on your CMS system probably shouldn't try to generate a CMS ticket. Maybe a special contact group and/or regex matching in your notify_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 lavalamp at spiritual-machines.org Sun Aug 10 20:09:32 2008 From: lavalamp at spiritual-machines.org (Brian A. Seklecki) Date: Sun, 10 Aug 2008 14:09:32 -0400 Subject: Nagios freshness checks randomly think check results are from 1973. In-Reply-To: References: Message-ID: <1218391772.20667.30.camel@localhost.localdomain> On Sun, 2008-08-10 at 10:46 -0400, fevin Kagen wrote: > I'm having this exact same issue on two different Nagios servers. One > running Fedora and one running Ubuntu. It is You're running the amd64/x86_64 kernel/userland on these platforms, right? ~BAS ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dermoth at aei.ca Sun Aug 10 20:37:40 2008 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Sun, 10 Aug 2008 14:37:40 -0400 Subject: Nagios freshness checks randomly think check results are from 1973. In-Reply-To: References: Message-ID: <489F3574.5020405@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 10/08/08 10:46 AM, fevin Kagen wrote: > I'm having this exact same issue on two different Nagios servers. One > running Fedora and one running Ubuntu. It is driving me crazy. > > > > An SNMP Trap is received for a backup job. It is properly translated > and ultimately received by Nagios. I have a freshness check in place > for the service that will create a critical alert if a check is not > received every 26 hours. For whatever reason, the check is run right > after the alert is received and it think the results are 12K+ days old. > It seems to periodically think the results are from 11-08-1973. > > > > This is an ongoing issue on both servers, but certainly isn't the norm. > Typically the freshness checks work great. However, about once or > twice a week, I see this behavior on random checks. Here is an example: There's something wrong with the script/process returning these passive check. The passive check returned to the Nagios command pipe has the following format: > [] PROCESS_PASSIVE_CHECK_RESULT;;;; The timestamp is a normal UNIX timestamp (seconds since EPOCH) and determine the time at which the check was performed. If you return an invalid/too old timestamp, Nagios will think the service is that old and trigger the freshness check. I believe a possible way to receive such old timestamps is if you have a server with invalid date (i.e. in the 1972's) using send_nsca, where the nsca daemon would be set up with max_packet_age=0. - -- Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFInzV06dZ+Kt5BchYRAn7yAKC9hSQEsPiPlFrfJwIbIdgA7AoTgQCg+eDr h5VTjSAp849z3OaTYDj7Las= =qctW -----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 Aug 10 22:33:44 2008 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Sun, 10 Aug 2008 22:33:44 +0200 Subject: Any plugin for a TroubleTicketing System for Nagios?? In-Reply-To: <1928c5780808100929v3905034exf6825fe636782cf2@mail.gmail.com> References: <1928c5780808100929v3905034exf6825fe636782cf2@mail.gmail.com> Message-ID: <489F50A8.40506@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Chetan Mahadev wrote: | Just wanted to know, is there any trouble ticketing system to which we | can integrate alerts from Nagios?? The issue at hand has been asked and answered on the mailinglist. You might want to study the archives to see what sort of solutions people have proposed and if they fit your setup. 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) iD8DBQFIn1CaBvzDRVjxmYERAonJAJ9TG0+EDQQ9gLiLQfkM2bpDOtMDEwCfanx1 KiosHn1/Od+4qOdWmiWrvuA= =0Xg0 -----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 fevinkagen at gmail.com Mon Aug 11 00:28:52 2008 From: fevinkagen at gmail.com (fevin Kagen) Date: Sun, 10 Aug 2008 18:28:52 -0400 Subject: Nagios freshness checks randomly think check results are from 1973. In-Reply-To: <489F3574.5020405@aei.ca> References: <489F3574.5020405@aei.ca> Message-ID: Thanks for the quick reply. My date is correct on both servers, but I am using the same two scripts on both. This could certainly be causing the issue. They are modified versions of Francois Meehan's snmptraphandling.py. I don't know this first thing about python so I just hacked around until I got them working the way I wanted. I don't think I changed anything to deal w/ time and date handling, but who knows. Here is one of the scripts > --------------------------------------------------------------- #!/usr/bin/python -u """ Written by Francois Meehan (Cedval Info) First release 2004/09/15 This script receives input from sec.pl concerning translated snmptraps *** Important note: sec must send DATA within quotes Ex: ./services.py $1 $2 $3 $4 """ import commands, string, os, sys, time global return_code def check_arg(): try: host = sys.argv[1] except: print "usage: services.py " sys.exit() try: severity = sys.argv[2] except: print "usage: services.py " sys.exit() try: job = sys.argv[3] except: print "usage: services.py " sys.exit() try: mondata_res = sys.argv[4] except: print "usage: services.py " sys.exit() return (host, severity, job, mondata_res) def post_results(host, job, mondata_res, return_code): mytime = time.time() mytime = str(mytime) mytime = mytime[:-3] #print mondata_res output = open('/usr/local/nagios/var/rw/nagios.cmd', 'w') results = "[" + mytime + "] " + "PROCESS_SERVICE_CHECK_RESULT;" \ + host + ";" + job + ";" \ + return_code + ";" + mondata_res + "\n" output.write(results) def get_return_code(): if severity == "INFORMATIONAL": return_code = "0" elif severity == "Normal": return_code = "0" elif severity == "SEVERE": return_code = "2" elif severity == "MAJOR": return_code = "2" elif severity == "CRITICAL": return_code = "2" elif severity == "WARNING": return_code = "1" elif severity == "MINOR": return_code = "1" return return_code # Main routine... if __name__ == '__main__': (host, severity, job, mondata_res) = check_arg() # validating # parameters return_code = get_return_code() post_results(host, job, mondata_res, return_code) ----------------------------------------------------------------------------------- Here are two examples that don't have freshness checks. It just seems strange that they are always November of 1973. The days are just different.... Other_Event_SNMP Active checks of the service have been disabled - only passive checks are being accepted OK 11-08-1973 02:10:26 12694d 15h 7m 38s 1/1 " No action required: Backup Exec: Application Initializing" Other_Event_SNMP This service has 1 comment associated with it Active checks of the service have been disabled - only passive checks are being accepted This service is flapping between states OK 11-10-1973 22:01:21 1d 16h 47m 1s 1/1 " No action required: Backup Exec: Backup Job Contains No Data" On 8/10/08, Thomas Guyot-Sionnest wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 10/08/08 10:46 AM, fevin Kagen wrote: >> I'm having this exact same issue on two different Nagios servers. One >> running Fedora and one running Ubuntu. It is driving me crazy. >> >> >> >> An SNMP Trap is received for a backup job. It is properly translated >> and ultimately received by Nagios. I have a freshness check in place >> for the service that will create a critical alert if a check is not >> received every 26 hours. For whatever reason, the check is run right >> after the alert is received and it think the results are 12K+ days old. >> It seems to periodically think the results are from 11-08-1973. >> >> >> >> This is an ongoing issue on both servers, but certainly isn't the norm. >> Typically the freshness checks work great. However, about once or >> twice a week, I see this behavior on random checks. Here is an example: > > There's something wrong with the script/process returning these passive > check. The passive check returned to the Nagios command pipe has the > following format: > >> [] >> PROCESS_PASSIVE_CHECK_RESULT;;;; > > The timestamp is a normal UNIX timestamp (seconds since EPOCH) and > determine the time at which the check was performed. > > If you return an invalid/too old timestamp, Nagios will think the > service is that old and trigger the freshness check. > > I believe a possible way to receive such old timestamps is if you have a > server with invalid date (i.e. in the 1972's) using send_nsca, where the > nsca daemon would be set up with max_packet_age=0. > > - -- > Thomas > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.6 (GNU/Linux) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iD8DBQFInzV06dZ+Kt5BchYRAn7yAKC9hSQEsPiPlFrfJwIbIdgA7AoTgQCg+eDr > h5VTjSAp849z3OaTYDj7Las= > =qctW > -----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 lavalamp at spiritual-machines.org Mon Aug 11 00:39:29 2008 From: lavalamp at spiritual-machines.org (Brian A. Seklecki) Date: Sun, 10 Aug 2008 18:39:29 -0400 (EDT) Subject: Nagios freshness checks randomly think check results are from 1973. In-Reply-To: References: <1218391772.20667.30.camel@localhost.localdomain> Message-ID: <20080810183841.L2218@arbitor.digitalfreaks.org> 1973 isn't 1969 -- it could be a 64bit integer overflow. ~BAS On Sun, 10 Aug 2008, fevin Kagen wrote: > Linux xxx.xxx.local 2.6.25.6-55.fc9.i686 #1 SMP Tue Jun 10 16:27:49 > EDT 2008 i686 i686 i386 GNU/Linux > > Linux xxx 2.6.17-12-386 #2 Tue Feb 12 01:14:09 UTC 2008 i686 GNU/Linux > > > On 8/10/08, Brian A. Seklecki wrote: >> On Sun, 2008-08-10 at 10:46 -0400, fevin Kagen wrote: >>> I'm having this exact same issue on two different Nagios servers. One >>> running Fedora and one running Ubuntu. It is >> >> You're running the amd64/x86_64 kernel/userland on these platforms, >> right? >> >> ~BAS >> >> > l8* -lava (Brian A. Seklecki - Pittsburgh, PA, USA) http://www.spiritual-machines.org/ "Guilty? Yeah. But he knows it. I mean, you're guilty. You just don't know it. So who's really in jail?" ~Maynard James Keenan ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Aug 11 04:04:48 2008 From: jon at netdork.net (Jon Angliss) Date: Sun, 10 Aug 2008 21:04:48 -0500 Subject: Any plugin for a TroubleTicketing System for Nagios?? References: <1928c5780808100929v3905034exf6825fe636782cf2@mail.gmail.com> <1928c5780808101018p57839b6asf3dbbb44e8c7fa78@mail.gmail.com> <489F260B.6010603@aei.ca> <1218391309.20667.23.camel@localhost.localdomain> Message-ID: On Sun, 10 Aug 2008 14:01:49 -0400, "Brian A. Seklecki" wrote: >On Sun, 2008-08-10 at 13:31 -0400, Thomas Guyot-Sionnest wrote: >> FYI in my setups Nagios have it own SMTP server so that if the mail > >SMTP sounds nice, except in general it really isnt :) > >You'll need a discriminating logic check to selectively generate tickets >for hosts/service status changes. For example, the health check on your >CMS system probably shouldn't try to generate a CMS ticket. > >Maybe a special contact group and/or regex matching in your >notify_command. Why not tie into the event_handler, instead of the notify_command? event_handler doesn't necessarily have to "fix" something, but it can be used to trigger other events, such as logging a ticket. It'd certainly be a much better option than notify, as notify executes every time a notification is supposed to be generated, which would ultimately end up generating lots of tickets, unless you can build some complex rules into your notification alert that checks for an existing ticket for that host/service, then only creates it once. -- Jon Angliss ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Aug 11 04:52:35 2008 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Sun, 10 Aug 2008 22:52:35 -0400 Subject: Nagios freshness checks randomly think check results are from 1973. In-Reply-To: References: <489F3574.5020405@aei.ca> Message-ID: <489FA973.5000708@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 10/08/08 06:28 PM, fevin Kagen wrote: > Thanks for the quick reply. My date is correct on both servers, but I > am using the same two scripts on both. This could certainly be > causing the issue. They are modified versions of Francois Meehan's > snmptraphandling.py. I don't know this first thing about python so I > just hacked around until I got them working the way I wanted. I don't > think I changed anything to deal w/ time and date handling, but who > knows. Here is one of the scripts > > --------------------------------------------------------------- If it happens all the time, try changing the output file and see what it writes. Otherwise, you may try adding a debug file where you send the same thing, though I don't know python so I can't really help. If you manage to do that then then next time it fails you can look at what it wrote. - -- Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIn6lz6dZ+Kt5BchYRAivSAJ9gzJkkT5NXC2dn8ClzXhl1HeH0SQCg1MQ+ fHhgyVGVrfgRpwMwmJsbDxw= =us3x -----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 iknewitalready at gmail.com Mon Aug 11 09:39:36 2008 From: iknewitalready at gmail.com (Shoaibi) Date: Mon, 11 Aug 2008 13:39:36 +0600 Subject: NRPE Problems Message-ID: <92dab8800808110039w27711d68tf353760b73629d3a@mail.gmail.com> Server Machine: Prompt is ">", FreeBSD6 with ipfw. Nagios v2.12, using nrpe with -n as show afterwards. (192.168.40.1) Client Machine: Prompt "sysadmin#", NRPE v2.12 without SSL running as daemon (192.168.40.40) ========== On Server: ========== On server on the nagios front-end i am getting: "CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs for error messages. " Alert Configuration file on monitoring server: ####### Alerts on SysAdmin Workstation # service to check load define service{ use local-service host_name sysadmin service_description Load on sysadmin notifications_enabled 0 check_command check_nrpe!check_load } # service to check users define service{ use local-service host_name sysadmin service_description Users on sysadmin notifications_enabled 0 check_command check_nrpe!check_users } # service to check hard disk define service{ use local-service host_name sysadmin service_description Root Partition on sysadmin notifications_enabled 0 check_command check_nrpe!check_disk1 } # service to check total processes define service{ use local-service host_name sysadmin service_description Total Processes on sysadmin notifications_enabled 0 check_command check_nrpe!check_total_procs } # service to check zombie processes define service{ use local-service host_name sysadmin service_description Zombie Processes on sysadmin notifications_enabled 0 check_command check_nrpe!check_zombie_procs } # service to check swap define service{ use local-service host_name sysadmin service_description Swap on sysadmin notifications_enabled 0 check_command check_nrpe!check_swap } ================================================= so you see that i am using check_nrpe, not check_tcp. ================================================= ================================= Check command for check_nrpe on server ================================= define command{ command_name check_nrpe command_line $USER1$/check_nrpe -n -H $HOSTADDRESS$ -c $ARG1$ -t 20 } ================================================ Firewall on server: =============================================== sudo ipfw show | grep 5666 > sudo ipfw show | grep 40.40 02104 369 29160 allow tcp from 192.168.40.40 to me dst-port 22 in recv vr0 =========== On Client end ========== ================= Some part of the log ================= Aug 11 07:05:31 sysadmin nrpe[3115]: Could not read request from client, bailing out... Aug 11 07:05:31 sysadmin nrpe[3113]: Could not read request from client, bailing out... Aug 11 07:05:32 sysadmin nrpe[3117]: Could not read request from client, bailing out... Aug 11 07:06:03 sysadmin nrpe[3120]: Could not read request from client, bailing out... Aug 11 07:07:10 sysadmin nrpe[3127]: Could not read request from client, bailing out... Aug 11 07:07:35 sysadmin nrpe[3134]: Could not read request from client, bailing out... ============ NRPE on client ============ sysadmin# ps aux | grep nrp | grep -v grep nagios 2867 0.0 0.1 3104 1204 ?? Ss 6:42AM 0:00.01 /usr/local/sbin/nrpe -c /usr/local/etc/nrpe.cfg --daemon ================= NRPE Config ================= ############################################################################# # Sample NRPE Config File # Written by: Ethan Galstad (nagios at nagios.org) # # Last Modified: 12-30-2002 # # NOTES: # This is a sample configuration file for the NRPE daemon. It needs to be # located on the remote host that is running the NRPE daemon, not the host # from which the check_nrpe client is being executed. ############################################################################# # PORT NUMBER # Port number we should wait for connections on. # NOTE: This must be a non-priviledged port (i.e. > 1024). # NOTE: This option is ignored if NRPE is running under either inetd or xinetd server_port=5666 # SERVER ADDRESS # Address that nrpe should bind to in case there are more than one interface # and you do not want nrpe to bind on all interfaces. # NOTE: This option is ignored if NRPE is running under either inetd or xinetd #server_address=192.168.1.1 # ALLOWED HOST ADDRESSES # This is a comma-delimited list of IP address of hosts that are allowed # to talk to the NRPE daemon. # # NOTE: The daemon only does rudimentary checking of the client's IP # address. I would highly recommend adding entries in your # /etc/hosts.allow file to allow only the specified host to connect # to the port you are running this daemon on. # # NOTE: This option is ignored if NRPE is running under either inetd or xinetd allowed_hosts=127.0.0.1,192.168.40.1, 192.168.50.1,192.168.40.119 # NRPE USER # This determines the effective user that the NRPE daemon should run as. # You can either supply a username or a UID. # # NOTE: This option is ignored if NRPE is running under either inetd or xinetd nrpe_user=nagios # NRPE GROUP # This determines the effective group that the NRPE daemon should run as. # You can either supply a group name or a GID. # # NOTE: This option is ignored if NRPE is running under either inetd or xinetd nrpe_group=nagios # DEBUGGING OPTION # This option determines whether or not debugging messages are logged to the # syslog facility. # Values: 0=debugging off, 1=debugging on debug=0 # COMMAND TIMEOUT # This specifies the maximum number of seconds that the NRPE daemon will # allow plugins to finish executing before killing them off. command_timeout=60 # COMMAND DEFINITIONS # Command definitions that this daemon will run. Definitions # are in the following format: # # command[]= # # When the daemon receives a request to return the results of # it will execute the command specified by the argument. # # Unlike Nagios, the command line cannot contain macros - it must be # typed exactly as it should be executed. # # Note: Any plugins that are used in the command lines must reside # on the machine that this daemon is running on! The examples below # assume that you have plugins installed in a /usr/local/nagios/libexec # directory. Also note that you will have to modify the definitions below # to match the argument format the plugins expect. Remember, these are # examples only! command[check_users]=/usr/local/libexec/nagios/check_users -w 5 -c 10 command[check_load]=/usr/local/libexec/nagios/check_load -w 15,10,5 -c 30,25,20 command[check_disk1]=/usr/local/libexec/nagios/check_disk -w 20 -c 10 -p /dev/ad4s1a command[check_disk2]=/usr/local/libexec/nagios/check_disk -w 20 -c 10 -p /dev/ad4s1e command[check_zombie_procs]=/usr/local/libexec/nagios/check_procs -w 5 -c 10 -s Z command[check_total_procs]=/usr/local/libexec/nagios/check_procs -w 150 -c 200 command[check_swap]=/usr/local/libexec/nagios/check_swap -w 20% -c 10% Any other thing you require? ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alexdehaini-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org Mon Aug 11 10:13:47 2008 From: alexdehaini-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org (Alex Dehaini) Date: Mon, 11 Aug 2008 08:13:47 +0000 Subject: IPsec/racoon monitoring plugin In-Reply-To: <489FF44B.7030005-uylomfAZ+dEdnm+yROfE0A@public.gmane.org> References: <489FF44B.7030005@fxclub.org> Message-ID: <4b008f7d0808110113m3f856bf5qbf1551864762fb46@mail.gmail.com> Does racoon listen on a port? On Mon, Aug 11, 2008 at 8:11 AM, Proskurin Kirill wrote: > Hello. > > Is nagios have some plugin to monitoring of FreeBSD racoon daemon? > > -- > Best regards, > Proskurin Kirill > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagiosplug-help mailing list > Nagiosplug-help-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org > https://lists.sourceforge.net/lists/listinfo/nagiosplug-help > ::: Please include plugins version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Alex Dehaini Developer Site - www.alexdehaini.com Email - alexdehaini-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagiosplug-help mailing list Nagiosplug-help-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org https://lists.sourceforge.net/lists/listinfo/nagiosplug-help ::: Please include plugins version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Stefan.Kulcsar at Marquardt.de Mon Aug 11 11:46:09 2008 From: Stefan.Kulcsar at Marquardt.de (Kulcsar, Stefan) Date: Mon, 11 Aug 2008 11:46:09 +0200 Subject: Internal Server Error Message-ID: Hi list, i have a strange error on our nagios system and i don't know where to search.... Nagios: 3.0.3 Thanks for your help. [Mon Aug 11 11:24:26 2008] [error] [client 10.9.0.100] *** glibc detected *** /usr/local/nagios/sbin/tac.cgi: free(): invalid next size (fast): 0x090d0410 ***, referer: http://nagios/nagios/side.html [Mon Aug 11 11:24:26 2008] [error] [client 10.9.0.100] ======= Backtrace: =========, referer: http://nagios/nagios/side.html [Mon Aug 11 11:24:26 2008] [error] [client 10.9.0.100] /lib/libc.so.6[0x679b16], referer: http://nagios/nagios/side.html [Mon Aug 11 11:24:26 2008] [error] [client 10.9.0.100] /lib/libc.so.6(cfree+0x90)[0x67d070], referer: http://nagios/nagios/side.html [Mon Aug 11 11:24:26 2008] [error] [client 10.9.0.100] /usr/local/nagios/sbin/tac.cgi[0x8068c41], referer: http://nagios/nagios/side.html [Mon Aug 11 11:24:26 2008] [error] [client 10.9.0.100] /usr/local/nagios/sbin/tac.cgi[0x804eeae], referer: http://nagios/nagios/side.html [Mon Aug 11 11:24:26 2008] [error] [client 10.9.0.100] /usr/local/nagios/sbin/tac.cgi[0x804bcba], referer: http://nagios/nagios/side.html [Mon Aug 11 11:24:26 2008] [error] [client 10.9.0.100] /lib/libc.so.6(__libc_start_main+0xdc)[0x626dec], referer: http://nagios/nagios/side.html [Mon Aug 11 11:24:26 2008] [error] [client 10.9.0.100] /usr/local/nagios/sbin/tac.cgi[0x8048dd1], referer: http://nagios/nagios/side.html [Mon Aug 11 11:24:26 2008] [error] [client 10.9.0.100] ======= Memory map: ========, referer: http://nagios/nagios/side.html [Mon Aug 11 11:24:26 2008] [error] [client 10.9.0.100] 005f3000-0060d000 r-xp 00000000 fd:00 12484646 /lib/ld-2.5.so, referer: http://nagios/nagios/side.html [Mon Aug 11 11:24:26 2008] [error] [client 10.9.0.100] 0060d000-0060e000 r--p 00019000 fd:00 12484646 /lib/ld-2.5.so, referer: http://nagios/nagios/side.html [Mon Aug 11 11:24:26 2008] [error] [client 10.9.0.100] 0060e000-0060f000 rw-p 0001a000 fd:00 12484646 /lib/ld-2.5.so, referer: http://nagios/nagios/side.html [Mon Aug 11 11:24:26 2008] [error] [client 10.9.0.100] 00611000-0074e000 r-xp 00000000 fd:00 12484647 /lib/libc-2.5.so, referer: http://nagios/nagios/side.html [Mon Aug 11 11:24:26 2008] [error] [client 10.9.0.100] 0074e000-00750000 r--p 0013c000 fd:00 12484647 /lib/libc-2.5.so, referer: http://nagios/nagios/side.html [Mon Aug 11 11:24:26 2008] [error] [client 10.9.0.100] 00750000-00751000 rw-p 0013e000 fd:00 12484647 /lib/libc-2.5.so, referer: http://nagios/nagios/side.html [Mon Aug 11 11:24:26 2008] [error] [client 10.9.0.100] 00751000-00754000 rw-p 00751000 00:00 0 , referer: http://nagios/nagios/side.html [Mon Aug 11 11:24:26 2008] [error] [client 10.9.0.100] 00876000-00881000 r-xp 00000000 fd:00 12484649 /lib/libgcc_s-4.1.2-20080102.so.1, referer: http://nagios/nagios/side.html [Mon Aug 11 11:24:26 2008] [error] [client 10.9.0.100] 00881000-00882000 rw-p 0000a000 fd:00 12484649 /lib/libgcc_s-4.1.2-20080102.so.1, referer: http://nagios/nagios/side.html [Mon Aug 11 11:24:26 2008] [error] [client 10.9.0.100] 00eca000-00ecb000 r-xp 00eca000 00:00 0 [vdso], referer: http://nagios/nagios/side.html [Mon Aug 11 11:24:26 2008] [error] [client 10.9.0.100] 08048000-08074000 r-xp 00000000 fd:00 5341198 /usr/local/nagios/sbin/tac.cgi, referer: http://nagios/nagios/side.html [Mon Aug 11 11:24:26 2008] [error] [client 10.9.0.100] 08074000-08075000 rw-p 0002c000 fd:00 5341198 /usr/local/nagios/sbin/tac.cgi, referer: http://nagios/nagios/side.html [Mon Aug 11 11:24:26 2008] [error] [client 10.9.0.100] 08075000-08077000 rw-p 08075000 00:00 0 , referer: http://nagios/nagios/side.html [Mon Aug 11 11:24:26 2008] [error] [client 10.9.0.100] 09061000-095ec000 rw-p 09061000 00:00 0 , referer: http://nagios/nagios/side.html [Mon Aug 11 11:24:26 2008] [error] [client 10.9.0.100] b7700000-b7721000 rw-p b7700000 00:00 0 , referer: http://nagios/nagios/side.html [Mon Aug 11 11:24:26 2008] [error] [client 10.9.0.100] b7721000-b7800000 ---p b7721000 00:00 0 , referer: http://nagios/nagios/side.html [Mon Aug 11 11:24:26 2008] [error] [client 10.9.0.100] b7888000-b7f0d000 r--p 00000000 fd:00 5345444 , referer: http://nagios/nagios/side.html [Mon Aug 11 11:24:26 2008] [error] [client 10.9.0.100] /usr/local/nagios/var/status.dat, referer: http://nagios/nagios/side.html [Mon Aug 11 11:24:26 2008] [error] [client 10.9.0.100] b7f0d000-b7f0f000 rw-p b7f0d000 00:00 0 , referer: http://nagios/nagios/side.html [Mon Aug 11 11:24:26 2008] [error] [client 10.9.0.100] bfcd9000-bfcef000 rw-p bfcd9000 00:00 0 [stack], referer: http://nagios/nagios/side.html [Mon Aug 11 11:24:26 2008] [error] [client 10.9.0.100] Premature end of script headers: tac.cgi, referer: http://nagios/nagios/side.html -- Stefan ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From v-alloo at ti.com Mon Aug 11 11:54:26 2008 From: v-alloo at ti.com (Alloo, Vincent) Date: Mon, 11 Aug 2008 11:54:26 +0200 Subject: Nagiosgraph trouble In-Reply-To: References: Message-ID: <184E3F696E604341B2D96227FFD0B8C56BA917F4@dnce02.ent.ti.com> Hello, Did you check your RRD hearthbeat and your Nagios check_interval? It should be in sync. Regards, Vincent Alloo TI France Design Systems Operations Manager Europe, Middle East and Africa IT Services Texas Instruments France E-Mail: v-alloo at ti.com Phone: +33 4 93 22 26 97 Mobile: +33 6 82 13 00 80 ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Abhishek Dhamija Sent: Wednesday, August 06, 2008 7:54 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagiosgraph trouble Hi I am using Nagiosgraph for generating graphs on services i am monitoring. I have nagiso version 3.0.3 and nagiosgraph version 0.9.0. The problem is that i am getting nan for all my graphs an localhost machine. I am using Ubuntu 7.10. The nagiosgraph.log shows the rrd files being updated but on dumping the contents of the rrdfiles they show nan which is what i am getting on the graphs. The contents of nagiosgraph.log are Wed Aug 6 10:24:43 2008 $RCSfile: insert.pl,v $ $Revision: 1.25 $ debug - processing perfdata: 1218043447||localhost||Root Partition||DISK OK - free space: / 14218 MB (83% inode=95%):||/=2835MB;14372;16169;0;17966 Wed Aug 6 10:24:43 2008 $RCSfile: insert.pl,v $ $Revision: 1.25 $ info - Input lastcheck:1218043447 Wed Aug 6 10:24:43 2008 $RCSfile: insert.pl,v $ $Revision: 1.25 $ info - Input hostname:localhost Wed Aug 6 10:24:43 2008 $RCSfile: insert.pl,v $ $Revision: 1.25 $ info - Input perfdata:/=2835MB;14372;16169;0;17966 Wed Aug 6 10:24:43 2008 $RCSfile: insert.pl,v $ $Revision: 1.25 $ info - Input servicedescr:Root Partition Wed Aug 6 10:24:43 2008 $RCSfile: insert.pl,v $ $Revision: 1.25 $ info - Input output:DISK OK - free space: / 14218 MB (83% inode=95%): Wed Aug 6 10:24:43 2008 $RCSfile: insert.pl,v $ $Revision: 1.25 $ info - Creating directory /usr/local/nagios/nagiosgraph/rrd/localhost Wed Aug 6 10:24:43 2008 $RCSfile: insert.pl,v $ $Revision: 1.25 $ debug - Checking /usr/local/nagios/nagiosgraph/rrd/localhost/Root%20Partition___%2F.rrd Wed Aug 6 10:24:43 2008 $RCSfile: insert.pl,v $ $Revision: 1.25 $ critical - DS = /usr/local/nagios/nagiosgraph/rrd/localhost/Root%20Partition___%2F.rrd --start 1218043446 DS:free:GAUGE:400:U:U DS:user:GAUGE:400:U:U DS:root:GAUGE:400:U:U DS:max:GAUGE:400:U:U DS:blockpct:GAUGE:400:U:U DS:inodepct:GAUGE:400:U:U RRA:AVERAGE:0.5:1:600 RRA:AVERAGE:0.5:6:700 RRA:AVERAGE:0.5:24:775 RRA:AVERAGE:0.5:288:797 Wed Aug 6 10:24:43 2008 $RCSfile: insert.pl,v $ $Revision: 1.25 $ info - RRDs::create /usr/local/nagios/nagiosgraph/rrd/localhost/Root%20Partition___%2F.rrd --start 1218043446 DS:free:GAUGE:400:U:U DS:user:GAUGE:400:U:U DS:root:GAUGE:400:U:U DS:max:GAUGE:400:U:U DS:blockpct:GAUGE:400:U:U DS:inodepct:GAUGE:400:U:U RRA:AVERAGE:0.5:1:600 RRA:AVERAGE:0.5:6:700 RRA:AVERAGE:0.5:24:775 RRA:AVERAGE:0.5:288:797 Wed Aug 6 10:24:43 2008 $RCSfile: insert.pl,v $ $Revision: 1.25 $ info - RRDs::update /usr/local/nagios/nagiosgraph/rrd/localhost/Root%20Partition___%2F.rrd 1218043447:2972712960:15070134272:16954425344:18838716416:83:95 Wed Aug 6 10:24:43 2008 $RCSfile: insert.pl,v $ $Revision: 1.25 $ debug - processing perfdata: 1218043456||localhost||PING||PING OK - Packet loss = 0%, RTA = 0.07 ms||rta=0.072000ms;100.000000;500.000000;0.000000 pl=0%;20;60;0 Wed Aug 6 10:24:43 2008 $RCSfile: insert.pl,v $ $Revision: 1.25 $ info - Input lastcheck:1218043456 Wed Aug 6 10:24:43 2008 $RCSfile: insert.pl,v $ $Revision: 1.25 $ info - Input hostname:localhost Wed Aug 6 10:24:43 2008 $RCSfile: insert.pl,v $ $Revision: 1.25 $ info - Input perfdata:rta=0.072000ms;100.000000;500.000000;0.000000 pl=0%;20;60;0 Wed Aug 6 10:24:43 2008 $RCSfile: insert.pl,v $ $Revision: 1.25 $ info - Input servicedescr:PING Wed Aug 6 10:24:43 2008 $RCSfile: insert.pl,v $ $Revision: 1.25 $ info - Input output:PING OK - Packet loss = 0%, RTA = 0.07 ms Wed Aug 6 10:24:43 2008 $RCSfile: insert.pl,v $ $Revision: 1.25 $ debug - Checking /usr/local/nagios/nagiosgraph/rrd/localhost/PING___ping.rrd Wed Aug 6 10:24:43 2008 $RCSfile: insert.pl,v $ $Revision: 1.25 $ critical - DS = /usr/local/nagios/nagiosgraph/rrd/localhost/PING___ping.rrd --start 1218043455 DS:losspct:GAUGE:400:U:U DS:rta:GAUGE:400:U:U RRA:AVERAGE:0.5:1:600 RRA:AVERAGE:0.5:6:700 RRA:AVERAGE:0.5:24:775 RRA:AVERAGE:0.5:288:797 Wed Aug 6 10:24:43 2008 $RCSfile: insert.pl,v $ $Revision: 1.25 $ info - RRDs::create /usr/local/nagios/nagiosgraph/rrd/localhost/PING___ping.rrd --start 1218043455 DS:losspct:GAUGE:400:U:U DS:rta:GAUGE:400:U:U RRA:AVERAGE:0.5:1:600 RRA:AVERAGE:0.5:6:700 RRA:AVERAGE:0.5:24:775 RRA:AVERAGE:0.5:288:797 Wed Aug 6 10:24:43 2008 $RCSfile: insert.pl,v $ $Revision: 1.25 $ info - RRDs::update /usr/local/nagios/nagiosgraph/rrd/localhost/PING___ping.rrd 1218043456:0:7e-05 Wed Aug 6 10:24:43 2008 $RCSfile: insert.pl,v $ $Revision: 1.25 $ debug - processing perfdata: 1218043464||localhost||Swap Usage||SWAP OK - 96% free (805 MB out of 839 MB)||swap=805MB;0;0;0;839 Wed Aug 6 10:24:43 2008 $RCSfile: insert.pl,v $ $Revision: 1.25 $ info - Input lastcheck:1218043464 Wed Aug 6 10:24:43 2008 $RCSfile: insert.pl,v $ $Revision: 1.25 $ info - Input hostname:localhost Wed Aug 6 10:24:43 2008 $RCSfile: insert.pl,v $ $Revision: 1.25 $ info - Input perfdata:swap=805MB;0;0;0;839 Wed Aug 6 10:24:43 2008 $RCSfile: insert.pl,v $ $Revision: 1.25 $ info - Input servicedescr:Swap Usage Wed Aug 6 10:24:43 2008 $RCSfile: insert.pl,v $ $Revision: 1.25 $ info - Input output:SWAP OK - 96% free (805 MB out of 839 MB) Wed Aug 6 10:24:43 2008 $RCSfile: insert.pl,v $ $Revision: 1.25 $ debug - Checking /usr/local/nagios/nagiosgraph/rrd/localhost/Swap%20Usage___swap.rrd Wed Aug 6 10:24:43 2008 $RCSfile: insert.pl,v $ $Revision: 1.25 $ critical - DS = /usr/local/nagios/nagiosgraph/rrd/localhost/Swap%20Usage___swap.rrd --start 1218043463 DS:swapfree:GAUGE:400:U:U DS:swapwarn:GAUGE:400:U:U DS:swapcrit:GAUGE:400:U:U DS:swapmax:GAUGE:400:U:U RRA:AVERAGE:0.5:1:600 RRA:AVERAGE:0.5:6:700 RRA:AVERAGE:0.5:24:775 RRA:AVERAGE:0.5:288:797 Wed Aug 6 10:24:43 2008 $RCSfile: insert.pl,v $ $Revision: 1.25 $ info - RRDs::create /usr/local/nagios/nagiosgraph/rrd/localhost/Swap%20Usage___swap.rrd --start 1218043463 DS:swapfree:GAUGE:400:U:U DS:swapwarn:GAUGE:400:U:U DS:swapcrit:GAUGE:400:U:U DS:swapmax:GAUGE:400:U:U RRA:AVERAGE:0.5:1:600 RRA:AVERAGE:0.5:6:700 RRA:AVERAGE:0.5:24:775 RRA:AVERAGE:0.5:288:797 Wed Aug 6 10:24:43 2008 $RCSfile: insert.pl,v $ $Revision: 1.25 $ info - RRDs::update /usr/local/nagios/nagiosgraph/rrd/localhost/Swap%20Usage___swap.rrd 1218043464:844103680:0:0:879755264 Wed Aug 6 10:24:43 2008 $RCSfile: insert.pl,v $ $Revision: 1.25 $ debug - nagiosgraph exited Wed Aug 6 10:24:51 2008 $RCSfile: show.cgi,v $ $Revision: 1.49 $ debug - dbfilelist %2F Wed Aug 6 10:24:51 2008 $RCSfile: show.cgi,v $ $Revision: 1.49 $ debug - @db=/ Wed Aug 6 10:24:51 2008 $RCSfile: show.cgi,v $ $Revision: 1.49 $ info - Specified localhost/Root%20Partition___ db files in /usr/local/nagios/nagiosgraph/rrd: localhost/Root%20Partition___%2F.rrd Wed Aug 6 10:24:51 2008 $RCSfile: show.cgi,v $ $Revision: 1.49 $ debug - DS localhost/Root%20Partition___%2F.rrd lines: blockpct, free, inodepct, user, max, root Wed Aug 6 10:24:51 2008 $RCSfile: show.cgi,v $ $Revision: 1.49 $ debug - file=localhost/Root%20Partition___%2F.rrd Wed Aug 6 10:24:51 2008 $RCSfile: show.cgi,v $ $Revision: 1.49 $ debug - file=localhost/Root%20Partition___%2F.rrd line=blockpct color=996699 Wed Aug 6 10:24:51 2008 $RCSfile: show.cgi,v $ $Revision: 1.49 $ debug - file=localhost/Root%20Partition___%2F.rrd line=free color=336699 Wed Aug 6 10:24:51 2008 $RCSfile: show.cgi,v $ $Revision: 1.49 $ debug - file=localhost/Root%20Partition___%2F.rrd line=inodepct color=33FF99 Wed Aug 6 10:24:51 2008 $RCSfile: show.cgi,v $ $Revision: 1.49 $ debug - file=localhost/Root%20Partition___%2F.rrd line=max color=FF6699 Wed Aug 6 10:24:51 2008 $RCSfile: show.cgi,v $ $Revision: 1.49 $ debug - file=localhost/Root%20Partition___%2F.rrd line=root color=33FF99 Wed Aug 6 10:24:51 2008 $RCSfile: show.cgi,v $ $Revision: 1.49 $ debug - file=localhost/Root%20Partition___%2F.rrd line=user color=009900 Wed Aug 6 10:24:51 2008 $RCSfile: show.cgi,v $ $Revision: 1.49 $ info - RRDs::graph - -a PNG --start -118800 DEF:blockpct=/usr/local/nagios/nagiosgraph/rrd/localhost/Root%20Partition___%2F.rrd:blockpct:AVERAGE LINE2:blockpct#996699:blockpct GPRINT:blockpct:MAX:Max\: %6.2lf%s GPRINT:blockpct:AVERAGE:Avg\: %6.2lf%s GPRINT:blockpct:MIN:Min\: %6.2lf%s GPRINT:blockpct:LAST:Cur\: %6.2lf%s\n DEF:free=/usr/local/nagios/nagiosgraph/rrd/localhost/Root%20Partition___%2F.rrd:free:AVERAGE LINE2:free#336699:free GPRINT:free:MAX:Max\: %6.2lf%s GPRINT:free:AVERAGE:Avg\: %6.2lf%s GPRINT:free:MIN:Min\: %6.2lf%s GPRINT:free:LAST:Cur\: %6.2lf%s\n DEF:inodepct=/usr/local/nagios/nagiosgraph/rrd/localhost/Root%20Partition___%2F.rrd:inodepct:AVERAGE LINE2:inodepct#33FF99:inodepct GPRINT:inodepct:MAX:Max\: %6.2lf%s GPRINT:inodepct:AVERAGE:Avg\: %6.2lf%s GPRINT:inodepct:MIN:Min\: %6.2lf%s GPRINT:inodepct:LAST:Cur\: %6.2lf%s\n DEF:max=/usr/local/nagios/nagiosgraph/rrd/localhost/Root%20Partition___%2F.rrd:max:AVERAGE LINE2:max#FF6699:max GPRINT:max:MAX:Max\: %6.2lf%s GPRINT:max:AVERAGE:Avg\: %6.2lf%s GPRINT:max:MIN:Min\: %6.2lf%s GPRINT:max:LAST:Cur\: %6.2lf%s\n DEF:root=/usr/local/nagios/nagiosgraph/rrd/localhost/Root%20Partition___%2F.rrd:root:AVERAGE LINE2:root#33FF99:root GPRINT:root:MAX:Max\: %6.2lf%s GPRINT:root:AVERAGE:Avg\: %6.2lf%s GPRINT:root:MIN:Min\: %6.2lf%s GPRINT:root:LAST:Cur\: %6.2lf%s\n DEF:user=/usr/local/nagios/nagiosgraph/rrd/localhost/Root%20Partition___%2F.rrd:user:AVERAGE LINE2:user#009900:user GPRINT:user:MAX:Max\: %6.2lf%s GPRINT:user:AVERAGE:Avg\: %6.2lf%s GPRINT:user:MIN:Min\: %6.2lf%s GPRINT:user:LAST:Cur\: %6.2lf%s\n -snow-118800-0 -enow-0 The contents of one of the rrd file are Current%29Users__procs.rrd 0003 300 1218044082 users GAUGE 400 NaN NaN 4 1.1280000000e+03 0 uwarn GAUGE 400 NaN NaN 20 5.6400000000e+03 0 ucrit GAUGE 400 NaN NaN 50 1.4100000000e+04 0 AVERAGE 1 5.0000000000e-01 4.0000000000e+00 0.0000000000e+00 NaN 0 2.0000000000e+01 0.0000000000e+00 NaN 0 5.0000000000e+01 0.0000000000e+00 NaN 0 NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN All the rrds are similar and they have nans in them instead of data. Strangely wihtout any change in settings i was getting graphs for some of my services like Total processes and disk space but after i removed the old rrd's they also stopped working. Please note that at no point were all the services working. It'll be great if someone can help me identify the issue. Please tell me if any additional info is needed. Thanks Abhishek Dhamija -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alexdehaini at gmail.com Mon Aug 11 12:03:06 2008 From: alexdehaini at gmail.com (Alex Dehaini) Date: Mon, 11 Aug 2008 10:03:06 +0000 Subject: [Nagiosplug-help] IPsec/racoon monitoring plugin In-Reply-To: <200808111127.50258.ffiene@veka.com> References: <489FF44B.7030005@fxclub.org> <4b008f7d0808110113m3f856bf5qbf1551864762fb46@mail.gmail.com> <200808111127.50258.ffiene@veka.com> Message-ID: <4b008f7d0808110303m29b96d29l7b2700767e5222e6@mail.gmail.com> If it listens on a port, use check_udp to listen on port 4500. I don't understand your second question. You can create a VPN tunnel using two routers or VPN apps like openvpn or freeswan running unix/linux. Alternatively, you can use DNAT and send all port 80 requests to your nagios server. Lex On Mon, Aug 11, 2008 at 9:27 AM, Frank Fiene wrote: > Am Montag 11 August 2008 10:13:47 schrieb Alex Dehaini: > > Does racoon listen on a port? > > Only if NAT-Traversal is enabled, Port 4500 UDP i think. > > But what i would do is to create a VPN between your Nagios server and the > VPN > gateway and try ICMP through the tunnel. > > Regards! > > > On Mon, Aug 11, 2008 at 8:11 AM, Proskurin Kirill > wrote: > > > Hello. > > > > > > Is nagios have some plugin to monitoring of FreeBSD racoon daemon? > > > > -- > Frank Fiene / IT-Services > Fon: +49 2526 29-6200 > Fax: +49 2526 29-16-6200 > mailto: ffiene at veka.com > www.veka.com > > VEKA AG > Dieselstr. 8 > 48324 Sendenhorst > Deutschland/Germany > > Vorstand: Andreas Hartleif (Vorsitzender), Dr. Andreas W. Hillebrand > Bonifatius Eichwald, Elke Hartleif, Dr. Werner Schuler > Vorsitzender des Aufsichtsrates: Heinrich Laumann > HRB 8282 AG M?nster > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagiosplug-help mailing list > Nagiosplug-help at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagiosplug-help > ::: Please include plugins version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Alex Dehaini Developer Site - www.alexdehaini.com Email - alexdehaini at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ffiene at veka.com Mon Aug 11 13:32:09 2008 From: ffiene at veka.com (Frank Fiene) Date: Mon, 11 Aug 2008 13:32:09 +0200 Subject: [Nagiosplug-help] IPsec/racoon monitoring plugin In-Reply-To: <4b008f7d0808110303m29b96d29l7b2700767e5222e6@mail.gmail.com> References: <489FF44B.7030005@fxclub.org> <200808111127.50258.ffiene@veka.com> <4b008f7d0808110303m29b96d29l7b2700767e5222e6@mail.gmail.com> Message-ID: <200808111332.09996.ffiene@veka.com> Am Montag 11 August 2008 12:03:06 schrieb Alex Dehaini: > If it listens on a port, use check_udp to listen on port 4500. > > I don't understand your second question. You can create a VPN tunnel using > two routers or VPN apps like openvpn or freeswan running unix/linux. > Alternatively, you can use DNAT and send all port 80 requests to your > nagios server. > > On Mon, Aug 11, 2008 at 9:27 AM, Frank Fiene wrote: > > Am Montag 11 August 2008 10:13:47 schrieb Alex Dehaini: > > > Does racoon listen on a port? > > > > Only if NAT-Traversal is enabled, Port 4500 UDP i think. > > > > But what i would do is to create a VPN between your Nagios server and the > > VPN > > gateway and try ICMP through the tunnel. This was not a question. You can create also a VPN between a PC running Linux and a VPN gateway with IPSEC. If you have a VPN you can do a ping to an IP address behind the VPN gateway to test if the VPN is up. For example you can use the LAN IP address of the VPN gateway. Regards -- Frank Fiene / IT-Services Fon: +49 2526 29-6200 Fax: +49 2526 29-16-6200 mailto: ffiene at veka.com www.veka.com VEKA AG Dieselstr. 8 48324 Sendenhorst Deutschland/Germany Vorstand: Andreas Hartleif (Vorsitzender), Dr. Andreas W. Hillebrand Bonifatius Eichwald, Elke Hartleif, Dr. Werner Schuler Vorsitzender des Aufsichtsrates: Heinrich Laumann HRB 8282 AG M?nster ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From joe.hoot at itec.suny.edu Mon Aug 11 13:40:14 2008 From: joe.hoot at itec.suny.edu (Hoot, Joseph) Date: Mon, 11 Aug 2008 07:40:14 -0400 Subject: AIX monitor In-Reply-To: <4d3f56c90808092311y4ea3e793s642862d8870e158@mail.gmail.com> References: <4d3f56c90808092311y4ea3e793s642862d8870e158@mail.gmail.com> Message-ID: <26D3EA273309A746A7F98A6B3A97426402043435@mercury.ex.msad.itec.suny.edu> Good luck. AIX and SNMP don?t mix real well, in my opinion. There is a thread in the cacti forums where I talk with Tony (aka Rony) a bit on getting Cacti to monitor AIX properly. For my AIX systems, I?ve resorted to NRPE and standard NagiosPlugins + other scripts (I have one that monitors vmstat for memory, for example) + nagiosgraph to get rrd trends. From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Mad Unix Sent: Sunday, August 10, 2008 2:12 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] AIX monitor I have a linux server RHEL5 64bit running cacti/nagios, I am in process to capture the snmp data of my AIX5.3 clients (10x), any help how to proceed with this. -- Your search - madunix - did not match any documents. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jra at baylink.com Mon Aug 11 17:14:24 2008 From: jra at baylink.com (Jay R. Ashworth) Date: Mon, 11 Aug 2008 11:14:24 -0400 Subject: Any plugin for a TroubleTicketing System for Nagios?? In-Reply-To: <489F260B.6010603@aei.ca> References: <1928c5780808100929v3905034exf6825fe636782cf2@mail.gmail.com> <1928c5780808101018p57839b6asf3dbbb44e8c7fa78@mail.gmail.com> <489F260B.6010603@aei.ca> Message-ID: <20080811151424.GK8391@cgi.jachomes.com> On Sun, Aug 10, 2008 at 01:31:55PM -0400, Thomas Guyot-Sionnest wrote: > Nagios does not know anything about SMTP, it just runs commands. Make a > command or script that sent your emails and just set it up in Nagios. The secondary implication of which is that if Nagios and your tracker are on the same box, you can also run it's command-line ticket creation program, and skip the email entirely. Cheers, -- jra -- Jay R. Ashworth Baylink jra at baylink.com Designer The Things I Think RFC 2100 Ashworth & Associates http://baylink.pitas.com '87 e24 St Petersburg FL USA http://photo.imageinc.us +1 727 647 1274 Those who cast the vote decide nothing. Those who count the vote decide everything. -- (Josef Stalin) ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From myoung at nagios.org Mon Aug 11 18:07:30 2008 From: myoung at nagios.org (Mark Young) Date: Mon, 11 Aug 2008 11:07:30 -0500 Subject: Internal Server Error In-Reply-To: References: Message-ID: Hi Stefan, On Aug 11, 2008, at 4:46 AM, Kulcsar, Stefan wrote: > Hi list, > > i have a strange error on our nagios system and i don't know where > to search.... > > Nagios: 3.0.3 > > Thanks for your help. > > [Mon Aug 11 11:24:26 2008] [error] [client 10.9.0.100] *** glibc > detected *** /usr/local/nagios/sbin/tac.cgi: free(): invalid next size You really need to post more details running up to this problem. What version Nagios you are running? What hardware and distribution are you running on? Is this a new install? Did you do any system updates and then discover this problem? If I were to guess: It seems like you updated some library files and would need to recompile Nagios. Good luck. Mark Young ___ Nagios Enterprises, LLC Web: www.nagios.com ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fsanchez at serfitech.com Mon Aug 11 19:59:52 2008 From: fsanchez at serfitech.com ([Serfitech] Tec. Felix D. Sanchez) Date: Mon, 11 Aug 2008 12:59:52 -0500 Subject: Nagios-users Digest, Vol 27, Issue 7 In-Reply-To: References: Message-ID: The reason why this happens is because there's another instance of nagios running.. Why? I don't know but I fixed that problema quite simple I would like to share It with other that may have the same problem. For some bizarre reason, a 90% nagios instance is runing in my server and that one does not let the original do the monitoring. I wrote a simple script that check for any nagios proc above 90% and kill it... It may not be a solution, however my nagios it's being Working fine since I did that.. ;) #!/bin/sh nagiospid=$(ps -aux | awk '{print($3 >= 90)?$2:"false"}' | grep -v "false") if [ -z $nagiospid ] ; then echo "no nagios pid found" else kill -9 $nagiospid fi #--------------------------------------------------------------------------- -------------------------------------------------------------------- Yes, that's the strange part it keep refreshing with the old pid If the Nagios is "up" and you run: [nagios at satan ~/config/objects]$ /usr/local/nagios/libexec/check_nagios -F /usr/local/nagios/var/status.dat -e 1 -C '/usr/local/nagios/bin/nagios' //result NAGIOS OK: 1 process, status log updated 11 seconds ago If the Nagios is "down" and you run: [nagios at satan ~/config/objects]$ /usr/local/nagios/libexec/check_nagios -F /usr/local/nagios/var/status.dat -e 1 -C '/usr/local/nagios/bin/nagios' //result NAGIOS CRITICAL: Cannot open status log for reading! -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of nagios-users-request at lists.sourceforge.net Sent: Sunday, August 10, 2008 11:03 AM To: nagios-users at lists.sourceforge.net Subject: Nagios-users Digest, Vol 27, Issue 7 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..." ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cyruspy at gmail.com Mon Aug 11 21:53:42 2008 From: cyruspy at gmail.com (Ciro Iriarte) Date: Mon, 11 Aug 2008 15:53:42 -0400 Subject: Environment variables Message-ID: Is there other way to set environment variables than modifying the nagios start script?, I need to set Oracle variables for several scripts/plugins but I would like it to survive a reinstallation/migration. Regards, Ciro ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fevinkagen at gmail.com Mon Aug 11 22:57:56 2008 From: fevinkagen at gmail.com (fevin Kagen) Date: Mon, 11 Aug 2008 16:57:56 -0400 Subject: Nagios freshness checks randomly think check results are from 1973. In-Reply-To: <489FA973.5000708@aei.ca> References: <489F3574.5020405@aei.ca> <489FA973.5000708@aei.ca> Message-ID: So... is a date sent in the SNMP trap or is the date set to the time that Nagios receives the alert? Is there a way to output to both the existing output (the nagios command file) and a debug output? It doesn't happen all the time so trying to capture a bad entry would mean taking the whole system down for a week plus. Thanks! Kevin On 8/10/08, Thomas Guyot-Sionnest wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 10/08/08 06:28 PM, fevin Kagen wrote: >> Thanks for the quick reply. My date is correct on both servers, but I >> am using the same two scripts on both. This could certainly be >> causing the issue. They are modified versions of Francois Meehan's >> snmptraphandling.py. I don't know this first thing about python so I >> just hacked around until I got them working the way I wanted. I don't >> think I changed anything to deal w/ time and date handling, but who >> knows. Here is one of the scripts > >> --------------------------------------------------------------- > > If it happens all the time, try changing the output file and see what it > writes. Otherwise, you may try adding a debug file where you send the > same thing, though I don't know python so I can't really help. If you > manage to do that then then next time it fails you can look at what it > wrote. > > > - -- > Thomas > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.6 (GNU/Linux) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iD8DBQFIn6lz6dZ+Kt5BchYRAivSAJ9gzJkkT5NXC2dn8ClzXhl1HeH0SQCg1MQ+ > fHhgyVGVrfgRpwMwmJsbDxw= > =us3x > -----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 fevinkagen at gmail.com Mon Aug 11 23:09:17 2008 From: fevinkagen at gmail.com (fevin Kagen) Date: Mon, 11 Aug 2008 17:09:17 -0400 Subject: Nagios freshness checks randomly think check results are from 1973. In-Reply-To: <20080810183841.L2218@arbitor.digitalfreaks.org> References: <1218391772.20667.30.camel@localhost.localdomain> <20080810183841.L2218@arbitor.digitalfreaks.org> Message-ID: Any idea how to troubleshoot or fix that? On 8/10/08, Brian A. Seklecki wrote: > > 1973 isn't 1969 -- it could be a 64bit integer overflow. > > ~BAS > > On Sun, 10 Aug 2008, fevin Kagen wrote: > >> Linux xxx.xxx.local 2.6.25.6-55.fc9.i686 #1 SMP Tue Jun 10 16:27:49 >> EDT 2008 i686 i686 i386 GNU/Linux >> >> Linux xxx 2.6.17-12-386 #2 Tue Feb 12 01:14:09 UTC 2008 i686 GNU/Linux >> >> >> On 8/10/08, Brian A. Seklecki wrote: >>> On Sun, 2008-08-10 at 10:46 -0400, fevin Kagen wrote: >>>> I'm having this exact same issue on two different Nagios servers. One >>>> running Fedora and one running Ubuntu. It is >>> >>> You're running the amd64/x86_64 kernel/userland on these platforms, >>> right? >>> >>> ~BAS >>> >>> >> > > l8* > -lava (Brian A. Seklecki - Pittsburgh, PA, USA) > http://www.spiritual-machines.org/ > > "Guilty? Yeah. But he knows it. I mean, you're guilty. > You just don't know it. So who's really in jail?" > ~Maynard James Keenan > > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Aug 11 23:12:53 2008 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Mon, 11 Aug 2008 23:12:53 +0200 Subject: Environment variables In-Reply-To: References: Message-ID: <48A0AB55.8090606@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Ciro Iriarte wrote: | Is there other way to set environment variables than modifying the | nagios start script?, I need to set Oracle variables for several | scripts/plugins but I would like it to survive a | reinstallation/migration. Create your own wrapper for the plugins. If you stick to the usage parameters of the plugins that need the wrapper script you should be fine. 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) iD8DBQFIoKtTBvzDRVjxmYERAsrEAJ9n7d1ucCU8vYVLao6lf1ysE9G0DACeK04t 3jNEHbW5OpzhiBFbPHI/EUM= =tjR/ -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ssimmons at cymfony.com Mon Aug 11 23:19:43 2008 From: ssimmons at cymfony.com (Seth Simmons) Date: Mon, 11 Aug 2008 17:19:43 -0400 Subject: problem running ndoutils In-Reply-To: <13F36D2926AD444697093282F20041B707776581@buf-ex01.cymfony.com> References: <13F36D2926AD444697093282F20041B707705F45@buf-ex01.cymfony.com><489C3B9B.8040003@googlemail.com><13F36D2926AD444697093282F20041B707776559@buf-ex01.cymfony.com><699C8026-5671-40EA-B228-0E36D39BAFCF@nagios.org> <13F36D2926AD444697093282F20041B707776581@buf-ex01.cymfony.com> Message-ID: <13F36D2926AD444697093282F20041B7077769E0@buf-ex01.cymfony.com> I don't know what the issue is specifically, but this does not work under Fedora 9 after multiple tries (not sure if someone else has got it to work). I repeated the same steps under Fedora 8 and works fine. [08-11-2008 17:18:01] Event broker module '/usr/local/nagios/bin/ndomod-3x.o' initialized successfully. [08-11-2008 17:18:01] ndomod: Successfully connected to data sink. 0 queued items to flush. [08-11-2008 17:18:01] ndomod: NDOMOD 1.4b7 (10-31-2007) Copyright (c) 2005-2007 Ethan Galstad (nagios at nagios.org) -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Seth Simmons Sent: Friday, August 8, 2008 1:15 PM To: Mark Young; Nagios User list Subject: Re: [Nagios-users] problem running ndoutils I did use package manager to install mysql. The problem was missing mysql-devel. Compiled again and no errors. Thanks. Now the problem I have is this in the Nagios log. [08-08-2008 12:51:00] ndomod: Error writing to data sink! Some output may get lost... [08-08-2008 12:51:00] ndomod: Successfully flushed 80 queued items to data sink. I'm guessing this is more of a mysql issue? I tried mysql with this user and works fine on the database; checked the config and credentials are ok. I gave this user full access to this database. -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Mark Young Sent: Friday, August 8, 2008 12:26 PM To: Nagios User list Subject: Re: [Nagios-users] problem running ndoutils Hi Seth, On Aug 8, 2008, at 10:58 AM, Seth Simmons wrote: > Support for the specified database server is either not yet supported, > or was not found on your system. I think that you may have compiled NDOutils without the necessary mysql development libraries. When you configured the installation were there any errors listed concerning mysql? An easy solution would be to use a package manager and install mysql, mysql-server, mysql- devel. You will then need to create and initialize the database you are going to use. I hope this will get you started. Mark Young ___ Nagios Enterprises, LLC Web: www.nagios.com ------------------------------------------------------------------------ - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------ - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 dermoth at aei.ca Tue Aug 12 05:23:29 2008 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Mon, 11 Aug 2008 23:23:29 -0400 Subject: Nagios freshness checks randomly think check results are from 1973. In-Reply-To: References: <489F3574.5020405@aei.ca> <489FA973.5000708@aei.ca> Message-ID: <48A10231.1040708@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 11/08/08 04:57 PM, fevin Kagen wrote: > So... is a date sent in the SNMP trap or is the date set to the > time that Nagios receives the alert? It's in the command sent to the Nagios command pipe. See: http://nagios.sourceforge.net/docs/3_0/extcommands.html http://www.nagios.org/developerinfo/externalcommands/commandlist.php > Is there a way to output to both the existing output (the nagios > command file) and a debug output? It doesn't happen all the time so > trying to capture a bad entry would mean taking the whole system down > for a week plus. I never touched python before, but looks plain simple object-oriented programming. I'd try making the post_results function looks like this: def post_results(host, job, mondata_res, return_code): mytime = time.time() mytime = str(mytime) mytime = mytime[:-3] #print mondata_res output = open('/usr/local/nagios/var/rw/nagios.cmd', 'w') debug_out = open('/tmp/services-debug.out, 'a') results = "[" + mytime + "] " + "PROCESS_SERVICE_CHECK_RESULT;" \ + host + ";" + job + ";" \ + return_code + ";" + mondata_res + "\n" output.write(results) debug_out.write(results) The change are oppening a 2nd file in append mode: debug_out = open('/tmp/services-debug.out, 'a') And then writing the same thing as the nagios out to it: debug_out.write(results) As soon as it fails check the end of that file, you should see the same thing as what nagios received. If the [time] part is the problem thoug I can't really help. This is the part that generated the time part: mytime = time.time() mytime = str(mytime) mytime = mytime[:-3] - -- Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIoQIx6dZ+Kt5BchYRAkQLAJ9M1m7clEuSL9LjEEwNM6hV7gCrdwCgsfK7 M0W2J7uXH1Xcbrck7Tn3ZEA= =XWSo -----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 dermoth at aei.ca Tue Aug 12 08:17:32 2008 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Tue, 12 Aug 2008 02:17:32 -0400 Subject: Nagios freshness checks randomly think check results are from 1973. In-Reply-To: <48A10231.1040708@aei.ca> References: <489F3574.5020405@aei.ca> <489FA973.5000708@aei.ca> <48A10231.1040708@aei.ca> Message-ID: <48A12AFC.7010003@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 11/08/08 11:23 PM, Thomas Guyot-Sionnest wrote: > On 11/08/08 04:57 PM, fevin Kagen wrote: >> So... is a date sent in the SNMP trap or is the date set to the >> time that Nagios receives the alert? > > It's in the command sent to the Nagios command pipe. > > See: > > http://nagios.sourceforge.net/docs/3_0/extcommands.html > http://www.nagios.org/developerinfo/externalcommands/commandlist.php > >> Is there a way to output to both the existing output (the nagios >> command file) and a debug output? It doesn't happen all the time so >> trying to capture a bad entry would mean taking the whole system down >> for a week plus. > > I never touched python before, but looks plain simple object-oriented > programming. I'd try making the post_results function looks like this: > > def post_results(host, job, mondata_res, return_code): > mytime = time.time() > mytime = str(mytime) > mytime = mytime[:-3] > #print mondata_res > output = open('/usr/local/nagios/var/rw/nagios.cmd', 'w') > debug_out = open('/tmp/services-debug.out, 'a') > results = "[" + mytime + "] " + "PROCESS_SERVICE_CHECK_RESULT;" \ > + host + ";" + job + ";" \ > + return_code + ";" + mondata_res + "\n" > output.write(results) > debug_out.write(results) > > The change are oppening a 2nd file in append mode: > debug_out = open('/tmp/services-debug.out, 'a') > > And then writing the same thing as the nagios out to it: > debug_out.write(results) > > As soon as it fails check the end of that file, you should see the same > thing as what nagios received. If the [time] part is the problem thoug I > can't really help. This is the part that generated the time part: > > mytime = time.time() > mytime = str(mytime) > mytime = mytime[:-3] > Well, python is a language I wouldn't refuse to learn, and I just started looking at it. On the fun side there's an interactive mode that let you learn as you try live... After a few minutes of reading http://docs.python.org/tut/ ... - From what I understand in the above commands, time.time() returns you a float object that returns unix time with two decimals, ex: 1218520859.75. In this plugin the author strips the last three characters from the string'ified value ([:-3] to get a normal timestamp. Whenever the time is rounded (ex: 1218520859.7, 1218520859.0) this strips too many characters and you get a date far in the past. The proper way to do it is simply by converting it to an integer, i.e. replace the three lines above with: mytime = str(int(time.time())) Since I believe the str() was only to use the hooks on it, this probably works as well: mytime = int(time.time()) Hope this helps. - -- Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIoSr86dZ+Kt5BchYRAmZ5AJ9zH2akrPQfhsLhve74jgxtdicLjwCfWsIo qt0WgLTig7uVQvf1JwYcCMA= =KMAD -----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 Stefan.Kulcsar at Marquardt.de Tue Aug 12 08:40:56 2008 From: Stefan.Kulcsar at Marquardt.de (Kulcsar, Stefan) Date: Tue, 12 Aug 2008 08:40:56 +0200 Subject: Internal Server Error In-Reply-To: References: Message-ID: Hi Mark, Nagios version: 3.0.3 Distribution: CentOS 5.2 I don't installed anything on this server the problem appears from one to the other day and i dont know from where it comes. It must be something in the object definition files but i dont know what. If i stop nagios it runs perfectly for a while(15-30 mins) after this time the problem appears again. -- Stefan > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > Of Mark Young > Sent: Monday, August 11, 2008 6:07 PM > To: Nagios User list > Subject: Re: [Nagios-users] Internal Server Error > > Hi Stefan, > > On Aug 11, 2008, at 4:46 AM, Kulcsar, Stefan wrote: > > > Hi list, > > > > i have a strange error on our nagios system and i don't know where > > to search.... > > > > Nagios: 3.0.3 > > > > Thanks for your help. > > > > [Mon Aug 11 11:24:26 2008] [error] [client 10.9.0.100] *** glibc > > detected *** /usr/local/nagios/sbin/tac.cgi: free(): > invalid next size > > You really need to post more details running up to this > problem. What > version Nagios you are running? What hardware and distribution are > you running on? Is this a new install? Did you do any > system updates > and then discover this problem? > > If I were to guess: It seems like you updated some library files and > would need to recompile Nagios. > > Good luck. > > Mark Young > ___ > Nagios Enterprises, LLC > Web: www.nagios.com > > -------------------------------------------------------------- > ----------- > This SF.Net email is sponsored by the Moblin Your Move > Developer's challenge > Build the coolest Linux based applications with Moblin SDK & > win great prizes > Grand prize is a trip for two to an Open Source event > anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Aug 12 10:16:45 2008 From: assaf.flatto at ssp.uk.com (Assaf Flatto) Date: Tue, 12 Aug 2008 08:16:45 +0000 Subject: Internal Server Error In-Reply-To: References: Message-ID: <200808120816.45520.assaf.flatto@ssp.uk.com> What version of glibc and kernel are you running ? Is it a i585 or x86_64? in anytime after installation did you run the yum-update ? Assaf On Tuesday 12 August 2008 06:40:56 Kulcsar, Stefan wrote: > Hi Mark, > > Nagios version: 3.0.3 > Distribution: CentOS 5.2 > > I don't installed anything on this server the problem appears from one to > the other day and i dont know from where it comes. It must be something in > the object definition files but i dont know what. If i stop nagios it runs > perfectly for a while(15-30 mins) after this time the problem appears > again. > > -- > Stefan > > > -----Original Message----- > > From: nagios-users-bounces at lists.sourceforge.net > > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > > Of Mark Young > > Sent: Monday, August 11, 2008 6:07 PM > > To: Nagios User list > > Subject: Re: [Nagios-users] Internal Server Error > > > > Hi Stefan, > > > > On Aug 11, 2008, at 4:46 AM, Kulcsar, Stefan wrote: > > > Hi list, > > > > > > i have a strange error on our nagios system and i don't know where > > > to search.... > > > > > > Nagios: 3.0.3 > > > > > > Thanks for your help. > > > > > > [Mon Aug 11 11:24:26 2008] [error] [client 10.9.0.100] *** glibc > > > detected *** /usr/local/nagios/sbin/tac.cgi: free(): > > > > invalid next size > > > > You really need to post more details running up to this > > problem. What > > version Nagios you are running? What hardware and distribution are > > you running on? Is this a new install? Did you do any > > system updates > > and then discover this problem? > > > > If I were to guess: It seems like you updated some library files and > > would need to recompile Nagios. > > > > Good luck. > > > > Mark Young > > ___ > > Nagios Enterprises, LLC > > Web: www.nagios.com > > > > -------------------------------------------------------------- > > ----------- > > This SF.Net email is sponsored by the Moblin Your Move > > Developer's challenge > > Build the coolest Linux based applications with Moblin SDK & > > win great prizes > > Grand prize is a trip for two to an Open Source event > > anywhere in the world > > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > ::: Please include Nagios version, plugin version (-v) and OS > > > > when reporting any issue. > > > > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge Build the coolest Linux based applications with Moblin SDK & win > great prizes Grand prize is a trip for two to an Open Source event anywhere > in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > ::: reporting any issue. Messages without supporting info will risk being > ::: sent to /dev/null IMPORTANT . this email and the information in it may be confidential, legally privileged and/or protected by law. It is intended solely for the use of the person to whom it is addressed. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Please also delete all copies of this email and any attachments from your system. We cannot guarantee the security or confidentiality of email communications. We do not accept any liability for losses or damages that you may suffer as a result of your receipt of this email including but not limited to computer service or system failure, access delays or interruption, data non-delivery or mis-delivery, computer viruses or other harmful components. Copyright in this email and any attachments belong to Select Service Partner UK Limited. Should you communicate with anyone at Select Service Partner UK Limited by email, you consent to us monitoring and reading any such correspondence. Nothing in this email shall be taken or read as suggesting, proposing or relating to any agreement concerted practice or other practice that could infringe UK or EC competition legislation. Select Service Partner UK Limited is a company registered in England and Wales (company number 05687183) whose registered office is at 1 The Heights, Brooklands, Weybridge. Surrey. KT13 0NY ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Stefan.Kulcsar at Marquardt.de Tue Aug 12 11:18:29 2008 From: Stefan.Kulcsar at Marquardt.de (Kulcsar, Stefan) Date: Tue, 12 Aug 2008 11:18:29 +0200 Subject: Internal Server Error In-Reply-To: <200808120816.45520.assaf.flatto@ssp.uk.com> References: <200808120816.45520.assaf.flatto@ssp.uk.com> Message-ID: Hi Assaf, glibc is at version glibc-2.5-24 it is a i585. I don't think that the problem has to do something wich glibc or the distribution files. If i stop nagios, delete the retention.dat file and start nagios than it works for aprox 5-7 mins. Thanks for al answers -- Stefan > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > Of Assaf Flatto > Sent: Tuesday, August 12, 2008 10:17 AM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Internal Server Error > > What version of glibc and kernel are you running ? > Is it a i585 or x86_64? > > in anytime after installation did you run the yum-update ? > > Assaf > > On Tuesday 12 August 2008 06:40:56 Kulcsar, Stefan wrote: > > Hi Mark, > > > > Nagios version: 3.0.3 > > Distribution: CentOS 5.2 > > > > I don't installed anything on this server the problem > appears from one to > > the other day and i dont know from where it comes. It must > be something in > > the object definition files but i dont know what. If i stop > nagios it runs > > perfectly for a while(15-30 mins) after this time the > problem appears > > again. > > > > -- > > Stefan > > > > > -----Original Message----- > > > From: nagios-users-bounces at lists.sourceforge.net > > > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > > > Of Mark Young > > > Sent: Monday, August 11, 2008 6:07 PM > > > To: Nagios User list > > > Subject: Re: [Nagios-users] Internal Server Error > > > > > > Hi Stefan, > > > > > > On Aug 11, 2008, at 4:46 AM, Kulcsar, Stefan wrote: > > > > Hi list, > > > > > > > > i have a strange error on our nagios system and i don't > know where > > > > to search.... > > > > > > > > Nagios: 3.0.3 > > > > > > > > Thanks for your help. > > > > > > > > [Mon Aug 11 11:24:26 2008] [error] [client 10.9.0.100] *** glibc > > > > detected *** /usr/local/nagios/sbin/tac.cgi: free(): > > > > > > invalid next size > > > > > > You really need to post more details running up to this > > > problem. What > > > version Nagios you are running? What hardware and > distribution are > > > you running on? Is this a new install? Did you do any > > > system updates > > > and then discover this problem? > > > > > > If I were to guess: It seems like you updated some > library files and > > > would need to recompile Nagios. > > > > > > Good luck. > > > > > > Mark Young > > > ___ > > > Nagios Enterprises, LLC > > > Web: www.nagios.com > > > > > > -------------------------------------------------------------- > > > ----------- > > > This SF.Net email is sponsored by the Moblin Your Move > > > Developer's challenge > > > Build the coolest Linux based applications with Moblin SDK & > > > win great prizes > > > Grand prize is a trip for two to an Open Source event > > > anywhere in the world > > > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > ::: Please include Nagios version, plugin version (-v) and OS > > > > > > when reporting any issue. > > > > > > ::: Messages without supporting info will risk being sent > to /dev/null > > > > > -------------------------------------------------------------- > ----------- > > This SF.Net email is sponsored by the Moblin Your Move Developer's > > challenge Build the coolest Linux based applications with > Moblin SDK & win > > great prizes Grand prize is a trip for two to an Open > Source event anywhere > > in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > ::: Please include Nagios version, plugin version (-v) and OS when > > ::: reporting any issue. Messages without supporting info > will risk being > > ::: sent to /dev/null > > > > > > > IMPORTANT . this email and the information in it may be > confidential, legally > privileged and/or protected by law. It is intended solely for > the use of the > person to whom it is addressed. If you are not the intended > recipient, please > notify the sender immediately and do not disclose the > contents to any other > person, use it for any purpose, or store or copy the > information in any medium. > Please also delete all copies of this email and any > attachments from your > system. > > We cannot guarantee the security or confidentiality of email > communications. We > do not accept any liability for losses or damages that you > may suffer as a > result of your receipt of this email including but not > limited to computer > service or system failure, access delays or interruption, > data non-delivery or > mis-delivery, computer viruses or other harmful components. > > Copyright in this email and any attachments belong to Select > Service Partner UK > Limited. Should you communicate with anyone at Select Service > Partner UK Limited by > email, you consent to us monitoring and reading any such > correspondence. > > Nothing in this email shall be taken or read as suggesting, > proposing or > relating to any agreement concerted practice or other > practice that could > infringe UK or EC competition legislation. > > Select Service Partner UK Limited is a company registered in > England and Wales > (company number 05687183) whose registered office is at 1 The > Heights, Brooklands, Weybridge. Surrey. KT13 0NY > > > > -------------------------------------------------------------- > ----------- > This SF.Net email is sponsored by the Moblin Your Move > Developer's challenge > Build the coolest Linux based applications with Moblin SDK & > win great prizes > Grand prize is a trip for two to an Open Source event > anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 shaibn at gmail.com Tue Aug 12 14:35:15 2008 From: shaibn at gmail.com (Shai) Date: Tue, 12 Aug 2008 15:35:15 +0300 Subject: problem viewing host groups in cgi Message-ID: Hi, I'm using Nagios v.3.0.3 I have a few Host Groups with a few servers in each. I have a few Contact Groups and a few contacts in each. I have a request from one of the Contact Groups to be able to see a Host defined in a different Host Group. I added to the contact_groups variable (with a comma separator) the additional Contact Group name. I reloaded the Nagios configuration files and was unable to view the new Host or Host Group in the CGI page. Seems that the only way I could add the Host Group to that Contact Group's CGI pages, was to add their Contact Group name to ALL the hosts defined in the Host Group. Is this a bug or a feature? Maybe I'm doing someone wrong? Please assist. Shai -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Aug 12 14:54:32 2008 From: assaf.flatto at ssp.uk.com (Assaf Flatto) Date: Tue, 12 Aug 2008 12:54:32 +0000 Subject: problem viewing host groups in cgi In-Reply-To: References: Message-ID: <200808121254.33287.assaf.flatto@ssp.uk.com> Shai >From what i gathered from your explanation , what you did is enable notifications from one host group to go to another contact group . As for CGI view - are your users actually accessing the web interface ? these setting are in the cgi.cfg , but IIRC there is not correlation between the nagios contact_groups variable and the CGI viewing permissions . Assaf On Tuesday 12 August 2008 12:35:15 Shai wrote: > Hi, > > I'm using Nagios v.3.0.3 > > I have a few Host Groups with a few servers in each. > I have a few Contact Groups and a few contacts in each. > > I have a request from one of the Contact Groups to be able to see a Host > defined in a different Host Group. I added to the contact_groups variable > (with a comma separator) the additional Contact Group name. > > I reloaded the Nagios configuration files and was unable to view the new > Host or Host Group in the CGI page. > > Seems that the only way I could add the Host Group to that Contact Group's > CGI pages, was to add their Contact Group name to ALL the hosts defined in > the Host Group. > > Is this a bug or a feature? Maybe I'm doing someone wrong? > > Please assist. > Shai From marcelo.maia.garcia at googlemail.com Tue Aug 12 15:26:50 2008 From: marcelo.maia.garcia at googlemail.com (Marcelo M. Garcia) Date: Tue, 12 Aug 2008 14:26:50 +0100 Subject: check [snmp] printer ricoh aficio 3245c In-Reply-To: References: <489C68AE.6080404@googlemail.com> Message-ID: <48A18F9A.1030500@googlemail.com> Jon Angliss wrote: > On Fri, 08 Aug 2008 16:39:26 +0100, "Marcelo M. Garcia" > wrote: > >> Hi. >> >> I'm trying to monitor a Ricoh Aficio 3245C, but neither check_printers >> nor check_snmp_printers seems to be working very well. >> >> With check_snmp_printer, or I got blank or error, like this: >> ==== >> [root at newt plugins]# ./check_snmp_printer 194.193.148.130 PrinterMIB MODEL >> >> [root at newt plugins]# >> ==== > > The only check_snmp_printer I have is a perl script, so I'm guessing > you grabbed the one from nagiosexchange. Looking at the code, arg3 is > supposed to be the community for the printer. For example: > > ./check_snmp_printer 192.168.1.2 public MODEL > > You should also validate that your printer has the OIDs available. For > example: > > snmpwalk -c public -v 1 192.168.1.2 1.3.6.1.2.1.43.11.1.1 > > If you get no response from that, the script isn't going to work > either. > > [..] >> The manual of the printer says that there are 4 MIBs: >> * MIB-II >> * PrinterMIB >> * HostResourceMIB >> * RicohPrivateMIB >> I tried all these MIBs and the result is the same. >> >> And finally, with "check_printer" I got: >> [root at newt plugins]# ./check_printer 194.193.148.130 public toner >> PHP Fatal error: Call to undefined function snmp_set_quick_print() in >> /usr/lib/nagios/plugins/check_printer on line 82 >> [root at newt plugins]# > > This looks like your php isn't built with snmp enabled. You can > validate with a quick one-liner... > > php -r 'phpinfo();' | grep -i snmp > > You should see at least the following come back: > > NET-SNMP Support => enabled > NET-SNMP Version => 5.4 > > Version information could obviously be different. > >> I don't know if the problem is this printer or I'm entering wrong >> options to the commands. The following command works: >> snmpwalk -v 2c -c public 194.193.148.130 > > It certainly looks like the way you're calling it is wrong. The > arguments to the app is . Hi Jon I got "check_printer" working after install the snmp for PHP. 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 myoung at nagios.org Tue Aug 12 16:45:36 2008 From: myoung at nagios.org (Mark Young) Date: Tue, 12 Aug 2008 09:45:36 -0500 Subject: Internal Server Error In-Reply-To: References: Message-ID: Hi Stefan, On Aug 12, 2008, at 4:18 AM, Kulcsar, Stefan wrote: > Hi Assaf, > > glibc is at version glibc-2.5-24 > it is a i585. >> >>> Nagios version: 3.0.3 >>> Distribution: CentOS 5.2 >>> >>> I don't installed anything on this server the problem appears from >>> one to >>> the other day and i dont know from where it comes. It must be >>> something in >>> the object definition files but i dont know what. If i stop nagios >>> it runs >>> perfectly for a while(15-30 mins) after this time the problem >>> appears >>> again. >>> Are you saying that you have had this problem since your first install? It is possible that you have found a bug but many people are running Nagios 3.0.3 on CentOS. Is there anything interesting/"out of the ordinary" in your configuration of Nagios that you could think of? Could we get more on what causes this error to start? The object definition files should be carefully checked by Nagios on startup unless there is some illusive bug. Have you tried running nagios with a simple configuration. I would try two things: I would back up nagios/etc and then install the sample configs (make install-config) and see if that shows any difference. And I would still strongly suggest to reconfigure/ recompile nagios using the method as described in the quickstart guide for fedora; scaning over the configuration output for anything interesting. Hope this helps. Mark Young ___ Nagios Enterprises, LLC Web: www.nagios.com ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From vmanojv at rediffmail.com Tue Aug 12 17:09:17 2008 From: vmanojv at rediffmail.com (Nair) Date: 12 Aug 2008 15:09:17 -0000 Subject: Condition Based Active Check Message-ID: <20080812150917.4328.qmail@f5mail-236-233.rediffmail.com> Hi Friends Can we add a codition for active check. Say for eg: i need to check availability of a service before performing active check. Any idea. 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 jesse at cyber-ny.com Tue Aug 12 17:22:06 2008 From: jesse at cyber-ny.com (Jesse Callaway) Date: Tue, 12 Aug 2008 11:22:06 -0400 Subject: Condition Based Active Check In-Reply-To: <20080812150917.4328.qmail@f5mail-236-233.rediffmail.com> References: <20080812150917.4328.qmail@f5mail-236-233.rediffmail.com> Message-ID: Hi Nair, I think you'd have to give an example of where you would use this, and a specific case. Normally checking the availability of a service is done with exactly an active check. Active checks check for the availability of a service. The language here can get quite circular without a more concrete example. I recommend using the words local, remote, daemon, and network service somewhere in your question. -jesse On Aug 12, 2008, at 11:09 AM, Nair wrote: > Hi Friends > > Can we add a codition for active check. Say for eg: i need to check > availability of a service before performing active check. > > Any idea. > > Thank you, > Nair. > > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kyle.odonnell at gmail.com Tue Aug 12 18:04:13 2008 From: kyle.odonnell at gmail.com (kyle.odonnell at gmail.com) Date: Tue, 12 Aug 2008 12:04:13 -0400 Subject: Condition Based Active Check In-Reply-To: References: <20080812150917.4328.qmail@f5mail-236-233.rediffmail.com> Message-ID: <2274b9c30808120904q311810c4vf32d7b5941bd1bf3@mail.gmail.com> would creating a service dependency solve your problem? On 8/12/08, Jesse Callaway wrote: > Hi Nair, > > I think you'd have to give an example of where you would use this, and > a specific case. Normally checking the availability of a service is > done with exactly an active check. Active checks check for the > availability of a service. The language here can get quite circular > without a more concrete example. I recommend using the words local, > remote, daemon, and network service somewhere in your question. > > -jesse > > > On Aug 12, 2008, at 11:09 AM, Nair wrote: > >> Hi Friends >> >> Can we add a codition for active check. Say for eg: i need to check >> availability of a service before performing active check. >> >> Any idea. >> >> Thank you, >> Nair. >> >> > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 richardsolid at gmail.com Tue Aug 12 18:11:02 2008 From: richardsolid at gmail.com (Jake Solid) Date: Tue, 12 Aug 2008 12:11:02 -0400 Subject: NRPE: Unable to read output Message-ID: I'm trying to use check_nrpe with check_smartmon but I'm getting NRPE: Unable to read output at the Nagios Server. *All other check plugins like check_load and check_procs work fine. * *I'm running the following command from my nagios server to the remote host: * *./check_nrpe -H remotehost.domain.com -c check_smartmon* *and the out put is the following:* *NRPE: Unable to read output* *This is what the remote host logs display:* *Aug 12 11:16:13 *remotehost* xinetd[7151]: START: nrpe pid=7986 from= 198.162.1.1 <- Nagios Server IP Address Aug 12 11:16:13 *remotehost* nrpe[7986]: INFO: SSL/TLS initialized. All network traffic will be encrypted. Aug 12 11:16:13 *remotehost* xinetd[7151]: EXIT: nrpe status=0 pid=7986 duration=0(sec)* *When I use the check_smartmon directly in the remote machine as the user nagios and using sudo it works fine:* [nagios at remotehost plugins]$ sudo /usr/lib64/nagios/plugins/check_smartmon ata -d /dev/sda OK: device is functional and stable (temperature: 33) *If I change the only_from line on /etc/xinetd.d/nrpe file to 127.0.0.1 and I run the following from the remote host I get prompted by a password:* *[nagios at remotehost plugins]$ sudo /usr/lib64/nagios/plugins/check_nrpe -h remotehost.domain.com.latpro.com -c check_smartmon Password: * *The permissions on the device are the following:* *[nagios at remotehost plugins]$ ls -lah /dev/sda brw-rw---- 1 root disk 8, 0 Jan 8 2008 /dev/sda* *The disk group also has nagios:* disk:x:6:root,nagios *And again the other plugins work fine when they are invoked from the Nagios server. Like the following:* [nagios at nagios-server plugins]$ ./check_nrpe -H remotehost.domain.com -c check_load OK - load average: 2.14, 2.44, 2.72|load1=2.140;15.000;30.000;0; load5=2.440;10.000;25.000;0; load15=2.720;5.000;20.000;0; *I added the following line on my remotehost to the /etc/sudoers:* nagios ALL=(ALL) NOPASSWD: /usr/sbin/smartctl,/usr/lib64/nagios/plugins/check_nrpe,/usr/lib64/nagios/plugins/check_smartmon I also try running the NRPE as adeamon and not with xinetd and I had the same issue. Any inputs? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sudheer at tgs-solutions.com Tue Aug 12 17:17:28 2008 From: sudheer at tgs-solutions.com (Sudheer Muddappa) Date: Tue, 12 Aug 2008 11:17:28 -0400 Subject: Problem with custom report period Message-ID: <48A1A988.607@tgs-solutions.com> Hi All, When I use Availability report with custom period , i do not get any results for up/down times. If I add present day in the custom report period then it displays all the information. Is it a bug or do I need to set any values to display the Custom reports properly? I am running Nagios 2.6 on Debian. Thanks, -- Sudheer Muddappa ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kyle.odonnell at gmail.com Tue Aug 12 18:25:45 2008 From: kyle.odonnell at gmail.com (kyle.odonnell at gmail.com) Date: Tue, 12 Aug 2008 12:25:45 -0400 Subject: NRPE: Unable to read output In-Reply-To: References: Message-ID: <2274b9c30808120925v40204f74l134fdafa0ddae703@mail.gmail.com> executing check_nrpe via sudo will not accomplish what you want. You will need to either modify the nrpe.cfg to execute commands via sudo, or write a wrapper for check_smartmon. I am not familiar with that plugin, but you may also be able to edit it and prepend /path/to/sudo before it execs smartctl. On 8/12/08, Jake Solid wrote: > I'm trying to use check_nrpe with check_smartmon but I'm getting NRPE: > Unable to read output at the Nagios Server. *All other check plugins like > check_load and check_procs work fine. > * > *I'm running the following command from my nagios server to the remote host: > * > *./check_nrpe -H remotehost.domain.com -c check_smartmon* > > *and the out put is the following:* > *NRPE: Unable to read output* > > *This is what the remote host logs display:* > *Aug 12 11:16:13 *remotehost* xinetd[7151]: START: nrpe pid=7986 from= > 198.162.1.1 <- Nagios Server IP Address > Aug 12 11:16:13 *remotehost* nrpe[7986]: INFO: SSL/TLS initialized. All > network traffic will be encrypted. > Aug 12 11:16:13 *remotehost* xinetd[7151]: EXIT: nrpe status=0 pid=7986 > duration=0(sec)* > > > *When I use the check_smartmon directly in the remote machine as the user > nagios and using sudo it works fine:* > [nagios at remotehost plugins]$ sudo /usr/lib64/nagios/plugins/check_smartmon > ata -d /dev/sda > OK: device is functional and stable (temperature: 33) > > *If I change the only_from line on /etc/xinetd.d/nrpe file to 127.0.0.1 and > I run the following from the remote host I get prompted by a password:* > *[nagios at remotehost plugins]$ sudo /usr/lib64/nagios/plugins/check_nrpe -h > remotehost.domain.com.latpro.com -c check_smartmon > Password: > * > *The permissions on the device are the following:* > *[nagios at remotehost plugins]$ ls -lah /dev/sda > brw-rw---- 1 root disk 8, 0 Jan 8 2008 /dev/sda* > > *The disk group also has nagios:* > disk:x:6:root,nagios > > > *And again the other plugins work fine when they are invoked from the Nagios > server. Like the following:* > [nagios at nagios-server plugins]$ ./check_nrpe -H remotehost.domain.com -c > check_load > OK - load average: 2.14, 2.44, 2.72|load1=2.140;15.000;30.000;0; > load5=2.440;10.000;25.000;0; load15=2.720;5.000;20.000;0; > > *I added the following line on my remotehost to the /etc/sudoers:* > nagios ALL=(ALL) NOPASSWD: > /usr/sbin/smartctl,/usr/lib64/nagios/plugins/check_nrpe,/usr/lib64/nagios/plugins/check_smartmon > > I also try running the NRPE as adeamon and not with xinetd and I had the > same issue. > > Any inputs? > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fevinkagen at gmail.com Tue Aug 12 18:31:03 2008 From: fevinkagen at gmail.com (fevin Kagen) Date: Tue, 12 Aug 2008 12:31:03 -0400 Subject: Nagios freshness checks randomly think check results are from 1973. In-Reply-To: <48A12AFC.7010003@aei.ca> References: <489F3574.5020405@aei.ca> <489FA973.5000708@aei.ca> <48A10231.1040708@aei.ca> <48A12AFC.7010003@aei.ca> Message-ID: Thanks! That seems like it just may be the ticket. I have enabled the debug output and changed the time calculation to > mytime = str(int(time.time())) So far so good, but the real test will be over the next few nights. I'll keep you guys posted. Thanks again for all the help! On Tue, Aug 12, 2008 at 2:17 AM, Thomas Guyot-Sionnest wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 11/08/08 11:23 PM, Thomas Guyot-Sionnest wrote: > > On 11/08/08 04:57 PM, fevin Kagen wrote: > >> So... is a date sent in the SNMP trap or is the date set to the > >> time that Nagios receives the alert? > > > > It's in the command sent to the Nagios command pipe. > > > > See: > > > > http://nagios.sourceforge.net/docs/3_0/extcommands.html > > http://www.nagios.org/developerinfo/externalcommands/commandlist.php > > > >> Is there a way to output to both the existing output (the nagios > >> command file) and a debug output? It doesn't happen all the time so > >> trying to capture a bad entry would mean taking the whole system down > >> for a week plus. > > > > I never touched python before, but looks plain simple object-oriented > > programming. I'd try making the post_results function looks like this: > > > > def post_results(host, job, mondata_res, return_code): > > mytime = time.time() > > mytime = str(mytime) > > mytime = mytime[:-3] > > #print mondata_res > > output = open('/usr/local/nagios/var/rw/nagios.cmd', 'w') > > debug_out = open('/tmp/services-debug.out, 'a') > > results = "[" + mytime + "] " + "PROCESS_SERVICE_CHECK_RESULT;" \ > > + host + ";" + job + ";" \ > > + return_code + ";" + mondata_res + "\n" > > output.write(results) > > debug_out.write(results) > > > > The change are oppening a 2nd file in append mode: > > debug_out = open('/tmp/services-debug.out, 'a') > > > > And then writing the same thing as the nagios out to it: > > debug_out.write(results) > > > > As soon as it fails check the end of that file, you should see the same > > thing as what nagios received. If the [time] part is the problem thoug I > > can't really help. This is the part that generated the time part: > > > > mytime = time.time() > > mytime = str(mytime) > > mytime = mytime[:-3] > > > > Well, python is a language I wouldn't refuse to learn, and I just > started looking at it. On the fun side there's an interactive mode that > let you learn as you try live... > > After a few minutes of reading http://docs.python.org/tut/ ... > > - From what I understand in the above commands, time.time() returns you a > float object that returns unix time with two decimals, ex: > 1218520859.75. In this plugin the author strips the last three > characters from the string'ified value ([:-3] to get a normal timestamp. > Whenever the time is rounded (ex: 1218520859.7, 1218520859.0) this > strips too many characters and you get a date far in the past. > > The proper way to do it is simply by converting it to an integer, i.e. > replace the three lines above with: > > mytime = str(int(time.time())) > > Since I believe the str() was only to use the hooks on it, this probably > works as well: > > mytime = int(time.time()) > > Hope this helps. > > - -- > Thomas > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.6 (GNU/Linux) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iD8DBQFIoSr86dZ+Kt5BchYRAmZ5AJ9zH2akrPQfhsLhve74jgxtdicLjwCfWsIo > qt0WgLTig7uVQvf1JwYcCMA= > =KMAD > -----END PGP SIGNATURE----- > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cyruspy at gmail.com Tue Aug 12 18:40:33 2008 From: cyruspy at gmail.com (Ciro Iriarte) Date: Tue, 12 Aug 2008 12:40:33 -0400 Subject: Environment variables In-Reply-To: <48A0AB55.8090606@vanderkooij.org> References: <48A0AB55.8090606@vanderkooij.org> Message-ID: 2008/8/11 Hugo van der Kooij : > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Ciro Iriarte wrote: > | Is there other way to set environment variables than modifying the > | nagios start script?, I need to set Oracle variables for several > | scripts/plugins but I would like it to survive a > | reinstallation/migration. > > Create your own wrapper for the plugins. > > If you stick to the usage parameters of the plugins that need the > wrapper script you should be fine. > > Hugo. > So, there's no option available from nagios to define global variables?. The idea is that I don't have to change multiple script every time I change oracle client version or reinstall/migrate the monitoring host.... Regards, Ciro ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kyle.odonnell at gmail.com Tue Aug 12 18:58:25 2008 From: kyle.odonnell at gmail.com (kyle.odonnell at gmail.com) Date: Tue, 12 Aug 2008 12:58:25 -0400 Subject: Environment variables In-Reply-To: References: <48A0AB55.8090606@vanderkooij.org> Message-ID: <2274b9c30808120958l4b548cb5y604de3930de4377@mail.gmail.com> I usually have env variable files which I source depending on the instance/db. When I write my plugins I either specify the env variable file as a command line argument, or hardcode the sourcing in my script. On 8/12/08, Ciro Iriarte wrote: > 2008/8/11 Hugo van der Kooij : >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >> >> Ciro Iriarte wrote: >> | Is there other way to set environment variables than modifying the >> | nagios start script?, I need to set Oracle variables for several >> | scripts/plugins but I would like it to survive a >> | reinstallation/migration. >> >> Create your own wrapper for the plugins. >> >> If you stick to the usage parameters of the plugins that need the >> wrapper script you should be fine. >> >> Hugo. >> > > So, there's no option available from nagios to define global > variables?. The idea is that I don't have to change multiple script > every time I change oracle client version or reinstall/migrate the > monitoring host.... > > Regards, > Ciro > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 shaibn at gmail.com Tue Aug 12 18:59:12 2008 From: shaibn at gmail.com (Shai) Date: Tue, 12 Aug 2008 19:59:12 +0300 Subject: problem viewing host groups in cgi In-Reply-To: <200808121254.33287.assaf.flatto@ssp.uk.com> References: <200808121254.33287.assaf.flatto@ssp.uk.com> Message-ID: Hi Assaf, Some people actually access the web interface, yes. And they don't see a certain host from a host group they wish to both see in the web interface and get notifications for. What I tried to do, is add that Contact Group to that specific host, which in itself is a part of a Host Group, to allow that Contact Group get notifications and web interface access for that specific host. Unless I add that Contact Group to all servers related to that Host Group, those hosts won't be seen in the web interface (didn't check if notifications did work...) Shai On Tue, Aug 12, 2008 at 3:54 PM, Assaf Flatto wrote: > Shai > > > >From what i gathered from your explanation , what you did is enable > notifications from one host > group to go to another contact group . > > As for CGI view - are your users actually accessing the web interface ? > these setting are in the cgi.cfg , but IIRC there is not correlation > between the nagios > contact_groups variable and the CGI viewing permissions . > > Assaf > > > On Tuesday 12 August 2008 12:35:15 Shai wrote: > > Hi, > > > > I'm using Nagios v.3.0.3 > > > > I have a few Host Groups with a few servers in each. > > I have a few Contact Groups and a few contacts in each. > > > > I have a request from one of the Contact Groups to be able to see a Host > > defined in a different Host Group. I added to the contact_groups variable > > (with a comma separator) the additional Contact Group name. > > > > I reloaded the Nagios configuration files and was unable to view the new > > Host or Host Group in the CGI page. > > > > Seems that the only way I could add the Host Group to that Contact > Group's > > CGI pages, was to add their Contact Group name to ALL the hosts defined > in > > the Host Group. > > > > Is this a bug or a feature? Maybe I'm doing someone wrong? > > > > Please assist. > > Shai > > > > > > > > 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 richardsolid at gmail.com Tue Aug 12 20:04:41 2008 From: richardsolid at gmail.com (Jake Solid) Date: Tue, 12 Aug 2008 14:04:41 -0400 Subject: NRPE: Unable to read output In-Reply-To: <2274b9c30808120925v40204f74l134fdafa0ddae703@mail.gmail.com> References: <2274b9c30808120925v40204f74l134fdafa0ddae703@mail.gmail.com> Message-ID: I did modified the nrpe.cfg to execute commands via sudo by adding the following line: *command[check_smartmon]=/usr/bin/sudo /usr/lib64/nagios/plugins/check_smartmon ata -d /dev/sda* *Why I'm able to invoke the following plugins from the nagios server using check_nrpe but when invoking check_smartmon I get *NRPE: Unable to read output*?* command[check_users]=/usr/lib64/nagios/plugins/check_users -w 8 -c 10 command[check_load]=/usr/lib64/nagios/plugins/check_load -w 15,10,5 -c 30,25,20 command[check_disk1]=/usr/lib64/nagios/plugins/check_disk -w 20% -c 10% -p /dev/mapper/VolGroup00-LogVol00 command[check_disk2]=/usr/lib64/nagios/plugins/check_disk -w 20% -c 10% -p /dev/mapper/VolGroup00-LogVol01 command[check_disk3]=/usr/lib64/nagios/plugins/check_disk -w 20% -c 10% -p /dev/mapper/VolGroup00-LogVol02 command[check_disk4]=/usr/lib64/nagios/plugins/check_disk -w 20% -c 10% -p /dev/mapper/VolGroup01-LogVol00 command[check_md]=/usr/lib64/nagios/plugins/check_swraid command[check_zombie_procs]=/usr/lib64/nagios/plugins/check_procs -w 5 -c 10 -s Z command[check_total_procs]=/usr/lib64/nagios/plugins/check_procs -w 200 -c 300 On Tue, Aug 12, 2008 at 12:25 PM, wrote: > executing check_nrpe via sudo will not accomplish what you want. You > will need to either modify the nrpe.cfg to execute commands via sudo, > or write a wrapper for check_smartmon. I am not familiar with that > plugin, but you may also be able to edit it and prepend /path/to/sudo > before it execs smartctl. > > > > On 8/12/08, Jake Solid wrote: > > I'm trying to use check_nrpe with check_smartmon but I'm getting NRPE: > > Unable to read output at the Nagios Server. *All other check plugins like > > check_load and check_procs work fine. > > * > > *I'm running the following command from my nagios server to the remote > host: > > * > > *./check_nrpe -H remotehost.domain.com -c check_smartmon* > > > > *and the out put is the following:* > > *NRPE: Unable to read output* > > > > *This is what the remote host logs display:* > > *Aug 12 11:16:13 *remotehost* xinetd[7151]: START: nrpe pid=7986 from= > > 198.162.1.1 <- Nagios Server IP Address > > Aug 12 11:16:13 *remotehost* nrpe[7986]: INFO: SSL/TLS initialized. All > > network traffic will be encrypted. > > Aug 12 11:16:13 *remotehost* xinetd[7151]: EXIT: nrpe status=0 pid=7986 > > duration=0(sec)* > > > > > > *When I use the check_smartmon directly in the remote machine as the user > > nagios and using sudo it works fine:* > > [nagios at remotehost plugins]$ sudo > /usr/lib64/nagios/plugins/check_smartmon > > ata -d /dev/sda > > OK: device is functional and stable (temperature: 33) > > > > *If I change the only_from line on /etc/xinetd.d/nrpe file to 127.0.0.1and > > I run the following from the remote host I get prompted by a password:* > > *[nagios at remotehost plugins]$ sudo /usr/lib64/nagios/plugins/check_nrpe > -h > > remotehost.domain.com.latpro.com -c check_smartmon > > Password: > > * > > *The permissions on the device are the following:* > > *[nagios at remotehost plugins]$ ls -lah /dev/sda > > brw-rw---- 1 root disk 8, 0 Jan 8 2008 /dev/sda* > > > > *The disk group also has nagios:* > > disk:x:6:root,nagios > > > > > > *And again the other plugins work fine when they are invoked from the > Nagios > > server. Like the following:* > > [nagios at nagios-server plugins]$ ./check_nrpe -H remotehost.domain.com -c > > check_load > > OK - load average: 2.14, 2.44, 2.72|load1=2.140;15.000;30.000;0; > > load5=2.440;10.000;25.000;0; load15=2.720;5.000;20.000;0; > > > > *I added the following line on my remotehost to the /etc/sudoers:* > > nagios ALL=(ALL) NOPASSWD: > > > /usr/sbin/smartctl,/usr/lib64/nagios/plugins/check_nrpe,/usr/lib64/nagios/plugins/check_smartmon > > > > I also try running the NRPE as adeamon and not with xinetd and I had the > > same issue. > > > > Any inputs? > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kyle.odonnell at gmail.com Tue Aug 12 20:25:31 2008 From: kyle.odonnell at gmail.com (kyle.odonnell at gmail.com) Date: Tue, 12 Aug 2008 14:25:31 -0400 Subject: NRPE: Unable to read output In-Reply-To: References: <2274b9c30808120925v40204f74l134fdafa0ddae703@mail.gmail.com> Message-ID: <2274b9c30808121125i591db5eao157d57b43376a2ea@mail.gmail.com> I dont know if that will work, there is a specific option inside nrpe.cfg for executing commands via sudo: # COMMAND PREFIX # This option allows you to prefix all commands with a user-defined string. # A space is automatically added between the specified prefix string and the # command line from the command definition. # # *** THIS EXAMPLE MAY POSE A POTENTIAL SECURITY RISK, SO USE WITH CAUTION! *** # Usage scenario: # Execute restricted commmands using sudo. For this to work, you need to add # the nagios user to your /etc/sudoers. An example entry for alllowing # execution of the plugins from might be: # # nagios ALL=(ALL) NOPASSWD: /usr/lib/nagios/plugins/ # # This lets the nagios user run all commands in that directory (and only them) # without asking for a password. If you do this, make sure you don't give # random users write access to that directory or its contents! # command_prefix=/usr/bin/sudo Also make sure you can run the command exactly like nrpe does as the user nrpe is running as. As for your bolded question, go chmod 644 check_load and try to run it, it will give you the same error. It just means that the script executed but didn't respond with recognized output. On 8/12/08, Jake Solid wrote: > I did modified the nrpe.cfg to execute commands via sudo by adding the > following line: > > *command[check_smartmon]=/usr/bin/sudo > /usr/lib64/nagios/plugins/check_smartmon ata -d /dev/sda* > > *Why I'm able to invoke the following plugins from the nagios server using > check_nrpe but when invoking check_smartmon I get *NRPE: Unable to read > output*?* > > command[check_users]=/usr/lib64/nagios/plugins/check_users -w 8 -c 10 > command[check_load]=/usr/lib64/nagios/plugins/check_load -w 15,10,5 -c > 30,25,20 > command[check_disk1]=/usr/lib64/nagios/plugins/check_disk -w 20% -c 10% -p > /dev/mapper/VolGroup00-LogVol00 > command[check_disk2]=/usr/lib64/nagios/plugins/check_disk -w 20% -c 10% -p > /dev/mapper/VolGroup00-LogVol01 > command[check_disk3]=/usr/lib64/nagios/plugins/check_disk -w 20% -c 10% -p > /dev/mapper/VolGroup00-LogVol02 > command[check_disk4]=/usr/lib64/nagios/plugins/check_disk -w 20% -c 10% -p > /dev/mapper/VolGroup01-LogVol00 > command[check_md]=/usr/lib64/nagios/plugins/check_swraid > command[check_zombie_procs]=/usr/lib64/nagios/plugins/check_procs -w 5 -c 10 > -s Z > command[check_total_procs]=/usr/lib64/nagios/plugins/check_procs -w 200 -c > 300 > > > > On Tue, Aug 12, 2008 at 12:25 PM, wrote: > >> executing check_nrpe via sudo will not accomplish what you want. You >> will need to either modify the nrpe.cfg to execute commands via sudo, >> or write a wrapper for check_smartmon. I am not familiar with that >> plugin, but you may also be able to edit it and prepend /path/to/sudo >> before it execs smartctl. >> >> >> >> On 8/12/08, Jake Solid wrote: >> > I'm trying to use check_nrpe with check_smartmon but I'm getting NRPE: >> > Unable to read output at the Nagios Server. *All other check plugins >> > like >> > check_load and check_procs work fine. >> > * >> > *I'm running the following command from my nagios server to the remote >> host: >> > * >> > *./check_nrpe -H remotehost.domain.com -c check_smartmon* >> > >> > *and the out put is the following:* >> > *NRPE: Unable to read output* >> > >> > *This is what the remote host logs display:* >> > *Aug 12 11:16:13 *remotehost* xinetd[7151]: START: nrpe pid=7986 from= >> > 198.162.1.1 <- Nagios Server IP Address >> > Aug 12 11:16:13 *remotehost* nrpe[7986]: INFO: SSL/TLS initialized. All >> > network traffic will be encrypted. >> > Aug 12 11:16:13 *remotehost* xinetd[7151]: EXIT: nrpe status=0 pid=7986 >> > duration=0(sec)* >> > >> > >> > *When I use the check_smartmon directly in the remote machine as the >> > user >> > nagios and using sudo it works fine:* >> > [nagios at remotehost plugins]$ sudo >> /usr/lib64/nagios/plugins/check_smartmon >> > ata -d /dev/sda >> > OK: device is functional and stable (temperature: 33) >> > >> > *If I change the only_from line on /etc/xinetd.d/nrpe file to >> > 127.0.0.1and >> > I run the following from the remote host I get prompted by a password:* >> > *[nagios at remotehost plugins]$ sudo /usr/lib64/nagios/plugins/check_nrpe >> -h >> > remotehost.domain.com.latpro.com -c check_smartmon >> > Password: >> > * >> > *The permissions on the device are the following:* >> > *[nagios at remotehost plugins]$ ls -lah /dev/sda >> > brw-rw---- 1 root disk 8, 0 Jan 8 2008 /dev/sda* >> > >> > *The disk group also has nagios:* >> > disk:x:6:root,nagios >> > >> > >> > *And again the other plugins work fine when they are invoked from the >> Nagios >> > server. Like the following:* >> > [nagios at nagios-server plugins]$ ./check_nrpe -H remotehost.domain.com -c >> > check_load >> > OK - load average: 2.14, 2.44, 2.72|load1=2.140;15.000;30.000;0; >> > load5=2.440;10.000;25.000;0; load15=2.720;5.000;20.000;0; >> > >> > *I added the following line on my remotehost to the /etc/sudoers:* >> > nagios ALL=(ALL) NOPASSWD: >> > >> /usr/sbin/smartctl,/usr/lib64/nagios/plugins/check_nrpe,/usr/lib64/nagios/plugins/check_smartmon >> > >> > I also try running the NRPE as adeamon and not with xinetd and I had the >> > same issue. >> > >> > Any inputs? >> > >> > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Aug 12 20:52:31 2008 From: marc at ena.com (Marc Powell) Date: Tue, 12 Aug 2008 13:52:31 -0500 Subject: problem viewing host groups in cgi References: Message-ID: <5A4AE2E1A3A86C4DA672C6ED903343EF012386@misex03.ena.com> > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Shai > Sent: Tuesday, August 12, 2008 7:35 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] problem viewing host groups in cgi > > Hi, > > I'm using Nagios v.3.0.3 > Seems that the only way I could add the Host Group to that Contact Group's > CGI pages, was to add their Contact Group name to ALL the hosts defined in > the Host Group. > > Is this a bug or a feature? Maybe I'm doing someone wrong? I'd say feature since it's been like that since Netsaint. A contact must be authorized to see all hosts in a hostgroup to see the hostgroup. -- 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 richardsolid at gmail.com Tue Aug 12 21:20:42 2008 From: richardsolid at gmail.com (Jake Solid) Date: Tue, 12 Aug 2008 15:20:42 -0400 Subject: NRPE: Unable to read output In-Reply-To: <2274b9c30808121125i591db5eao157d57b43376a2ea@mail.gmail.com> References: <2274b9c30808120925v40204f74l134fdafa0ddae703@mail.gmail.com> <2274b9c30808121125i591db5eao157d57b43376a2ea@mail.gmail.com> Message-ID: The following line will make all commands use sudo: command_prefix=/usr/bin/sudo I remove the comment for command_prefix=/usr/bin/sudo and add the following to the sudoers file: nagios ALL=(ALL) NOPASSWD: /usr/sbin/smartctl,/usr/lib64/nagios/plugins/ Now, I get the NRPE: Unable to read output for any plugin that gets invoked. The permissions of check_smartmon on the remote server are the same as the other plugins that are working. -rwxr-xr-x 1 root root 8.4K Aug 6 13:02 check_smartmon But I'm still not able to successfully invoke check_smartmon with check_nrpe from the nagios server. On Tue, Aug 12, 2008 at 2:25 PM, wrote: > I dont know if that will work, there is a specific option inside > nrpe.cfg for executing commands via sudo: > > # COMMAND PREFIX > # This option allows you to prefix all commands with a user-defined string. > # A space is automatically added between the specified prefix string and > the > # command line from the command definition. > # > # *** THIS EXAMPLE MAY POSE A POTENTIAL SECURITY RISK, SO USE WITH CAUTION! > *** > # Usage scenario: > # Execute restricted commmands using sudo. For this to work, you need to > add > # the nagios user to your /etc/sudoers. An example entry for alllowing > # execution of the plugins from might be: > # > # nagios ALL=(ALL) NOPASSWD: /usr/lib/nagios/plugins/ > # > # This lets the nagios user run all commands in that directory (and only > them) > # without asking for a password. If you do this, make sure you don't give > # random users write access to that directory or its contents! > > # command_prefix=/usr/bin/sudo > > > Also make sure you can run the command exactly like nrpe does as the > user nrpe is running as. > > As for your bolded question, go chmod 644 check_load and try to run > it, it will give you the same error. It just means that the script > executed but didn't respond with recognized output. > > On 8/12/08, Jake Solid wrote: > > I did modified the nrpe.cfg to execute commands via sudo by adding the > > following line: > > > > *command[check_smartmon]=/usr/bin/sudo > > /usr/lib64/nagios/plugins/check_smartmon ata -d /dev/sda* > > > > *Why I'm able to invoke the following plugins from the nagios server > using > > check_nrpe but when invoking check_smartmon I get *NRPE: Unable to read > > output*?* > > > > command[check_users]=/usr/lib64/nagios/plugins/check_users -w 8 -c 10 > > command[check_load]=/usr/lib64/nagios/plugins/check_load -w 15,10,5 -c > > 30,25,20 > > command[check_disk1]=/usr/lib64/nagios/plugins/check_disk -w 20% -c 10% > -p > > /dev/mapper/VolGroup00-LogVol00 > > command[check_disk2]=/usr/lib64/nagios/plugins/check_disk -w 20% -c 10% > -p > > /dev/mapper/VolGroup00-LogVol01 > > command[check_disk3]=/usr/lib64/nagios/plugins/check_disk -w 20% -c 10% > -p > > /dev/mapper/VolGroup00-LogVol02 > > command[check_disk4]=/usr/lib64/nagios/plugins/check_disk -w 20% -c 10% > -p > > /dev/mapper/VolGroup01-LogVol00 > > command[check_md]=/usr/lib64/nagios/plugins/check_swraid > > command[check_zombie_procs]=/usr/lib64/nagios/plugins/check_procs -w 5 -c > 10 > > -s Z > > command[check_total_procs]=/usr/lib64/nagios/plugins/check_procs -w 200 > -c > > 300 > > > > > > > > On Tue, Aug 12, 2008 at 12:25 PM, wrote: > > > >> executing check_nrpe via sudo will not accomplish what you want. You > >> will need to either modify the nrpe.cfg to execute commands via sudo, > >> or write a wrapper for check_smartmon. I am not familiar with that > >> plugin, but you may also be able to edit it and prepend /path/to/sudo > >> before it execs smartctl. > >> > >> > >> > >> On 8/12/08, Jake Solid wrote: > >> > I'm trying to use check_nrpe with check_smartmon but I'm getting NRPE: > >> > Unable to read output at the Nagios Server. *All other check plugins > >> > like > >> > check_load and check_procs work fine. > >> > * > >> > *I'm running the following command from my nagios server to the remote > >> host: > >> > * > >> > *./check_nrpe -H remotehost.domain.com -c check_smartmon* > >> > > >> > *and the out put is the following:* > >> > *NRPE: Unable to read output* > >> > > >> > *This is what the remote host logs display:* > >> > *Aug 12 11:16:13 *remotehost* xinetd[7151]: START: nrpe pid=7986 from= > >> > 198.162.1.1 <- Nagios Server IP Address > >> > Aug 12 11:16:13 *remotehost* nrpe[7986]: INFO: SSL/TLS initialized. > All > >> > network traffic will be encrypted. > >> > Aug 12 11:16:13 *remotehost* xinetd[7151]: EXIT: nrpe status=0 > pid=7986 > >> > duration=0(sec)* > >> > > >> > > >> > *When I use the check_smartmon directly in the remote machine as the > >> > user > >> > nagios and using sudo it works fine:* > >> > [nagios at remotehost plugins]$ sudo > >> /usr/lib64/nagios/plugins/check_smartmon > >> > ata -d /dev/sda > >> > OK: device is functional and stable (temperature: 33) > >> > > >> > *If I change the only_from line on /etc/xinetd.d/nrpe file to > >> > 127.0.0.1and > >> > I run the following from the remote host I get prompted by a > password:* > >> > *[nagios at remotehost plugins]$ sudo > /usr/lib64/nagios/plugins/check_nrpe > >> -h > >> > remotehost.domain.com.latpro.com -c check_smartmon > >> > Password: > >> > * > >> > *The permissions on the device are the following:* > >> > *[nagios at remotehost plugins]$ ls -lah /dev/sda > >> > brw-rw---- 1 root disk 8, 0 Jan 8 2008 /dev/sda* > >> > > >> > *The disk group also has nagios:* > >> > disk:x:6:root,nagios > >> > > >> > > >> > *And again the other plugins work fine when they are invoked from the > >> Nagios > >> > server. Like the following:* > >> > [nagios at nagios-server plugins]$ ./check_nrpe -H remotehost.domain.com-c > >> > check_load > >> > OK - load average: 2.14, 2.44, 2.72|load1=2.140;15.000;30.000;0; > >> > load5=2.440;10.000;25.000;0; load15=2.720;5.000;20.000;0; > >> > > >> > *I added the following line on my remotehost to the /etc/sudoers:* > >> > nagios ALL=(ALL) NOPASSWD: > >> > > >> > /usr/sbin/smartctl,/usr/lib64/nagios/plugins/check_nrpe,/usr/lib64/nagios/plugins/check_smartmon > >> > > >> > I also try running the NRPE as adeamon and not with xinetd and I had > the > >> > same issue. > >> > > >> > Any inputs? > >> > > >> > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Edwin.Zoeller at ama-assn.org Tue Aug 12 21:21:13 2008 From: Edwin.Zoeller at ama-assn.org (Edwin Zoeller) Date: Tue, 12 Aug 2008 14:21:13 -0500 Subject: Check Processes in Linux Message-ID: I have downloaded to check_procs scripts for the exchange and I am having a hell of a time to get it to work. I get "bad interpreter" and have done all I could to fix it. Can someone let me know what I am doing wrong or how they are monitoring processes. Thanks, Ed -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From shaibn at gmail.com Tue Aug 12 21:36:33 2008 From: shaibn at gmail.com (Shai) Date: Tue, 12 Aug 2008 22:36:33 +0300 Subject: problem viewing host groups in cgi In-Reply-To: <5A4AE2E1A3A86C4DA672C6ED903343EF012386@misex03.ena.com> References: <5A4AE2E1A3A86C4DA672C6ED903343EF012386@misex03.ena.com> Message-ID: Hi Marc, I wonder why that is... If I authorize a contact to view a host in the host group, why would I want to deny him from viewing it in the title of the host group? seeing the host groups won't harm and he won't have access to viewing the other hosts in the that host group. Shai On Tue, Aug 12, 2008 at 9:52 PM, Marc Powell wrote: > > > > -----Original Message----- > > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > > bounces at lists.sourceforge.net] On Behalf Of Shai > > Sent: Tuesday, August 12, 2008 7:35 AM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] problem viewing host groups in cgi > > > > Hi, > > > > I'm using Nagios v.3.0.3 > > > > Seems that the only way I could add the Host Group to that Contact > Group's > > CGI pages, was to add their Contact Group name to ALL the hosts > defined in > > the Host Group. > > > > Is this a bug or a feature? Maybe I'm doing someone wrong? > > I'd say feature since it's been like that since Netsaint. A contact must > be authorized to see all hosts in a hostgroup to see the hostgroup. > > -- > Marc > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fernando.rocha at opservices.com.br Tue Aug 12 21:57:39 2008 From: fernando.rocha at opservices.com.br (Fernando Rocha) Date: Tue, 12 Aug 2008 16:57:39 -0300 (BRT) Subject: Check Processes in Linux In-Reply-To: References: Message-ID: <16670549.41141218571059737.JavaMail.root@mail.opservices.com.br> Hi Edwin! Could you please give more details about the OS? Fernando Rocha OpServices Tecnologia da Informa??o ----- Original Message ----- From: "Edwin Zoeller" To: nagios-users at lists.sourceforge.net Sent: Tuesday, August 12, 2008 4:21:13 PM (GMT-0300) Auto-Detected Subject: [Nagios-users] Check Processes in Linux I have downloaded to check_procs scripts for the exchange and I am having a hell of a time to get it to work. I get "bad interpreter" and have done all I could to fix it. Can someone let me know what I am doing wrong or how they are monitoring processes. Thanks, Ed ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 kyle.odonnell at gmail.com Tue Aug 12 22:06:42 2008 From: kyle.odonnell at gmail.com (kyle.odonnell at gmail.com) Date: Tue, 12 Aug 2008 16:06:42 -0400 Subject: Check Processes in Linux In-Reply-To: <16670549.41141218571059737.JavaMail.root@mail.opservices.com.br> References: <16670549.41141218571059737.JavaMail.root@mail.opservices.com.br> Message-ID: <2274b9c30808121306s52640189s173b6c9fb0fa37fd@mail.gmail.com> "bad interpreter" means the script is being executed by an interpreter that doesn't exist. I am guessing it says something like: #!/bin/bash at the top and bash is either not installed or in a different location. Make sure whichever interpreter it's referencing is correct. On 8/12/08, Fernando Rocha wrote: > Hi Edwin! > > Could you please give more details about the OS? > > Fernando Rocha > OpServices Tecnologia da Informa??o > > ----- Original Message ----- > From: "Edwin Zoeller" > To: nagios-users at lists.sourceforge.net > Sent: Tuesday, August 12, 2008 4:21:13 PM (GMT-0300) Auto-Detected > Subject: [Nagios-users] Check Processes in Linux > > > I have downloaded to check_procs scripts for the exchange and I am having a > hell of a time to get it to work. I get "bad interpreter" and have done all > I could to fix it. Can someone let me know what I am doing wrong or how they > are monitoring processes. > > Thanks, > > Ed > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes Grand prize is a trip for two to an Open Source event anywhere in the > world http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 cyruspy at gmail.com Tue Aug 12 22:09:08 2008 From: cyruspy at gmail.com (Ciro Iriarte) Date: Tue, 12 Aug 2008 16:09:08 -0400 Subject: Environment variables In-Reply-To: <2274b9c30808120958l4b548cb5y604de3930de4377@mail.gmail.com> References: <48A0AB55.8090606@vanderkooij.org> <2274b9c30808120958l4b548cb5y604de3930de4377@mail.gmail.com> Message-ID: 2008/8/12 : > I usually have env variable files which I source depending on the > instance/db. When I write my plugins I either specify the env > variable file as a command line argument, or hardcode the sourcing in > my script. > That's what I did at last, even this should be global variables (no SID defined there), only ORACLE_HOME, TNS_ADMIN and LD_LIBRARY_PATH, needed by all the plugins regarding to which DB they connect.... Regards, Ciro ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Aug 12 22:16:13 2008 From: Bret.Goodfellow at questar.com (Bret Goodfellow) Date: Tue, 12 Aug 2008 14:16:13 -0600 Subject: Attempting to monitor the "Nagios Server" itself Message-ID: <91EDB00F83BAD443A9D05FA67623955A027C8058@QMAIL.corp.questar.com> Hello there, I have Nagios running on a RHEL 4 (update 6) server. It is monitoring 30 linux servers and 10 unix servers. I am now attempting to get Nagios to monitor the host server (the server that the nagios daemon is running on). When I add services for the nagios server (Colorado), the nagios service fails after about 15 seconds. I am getting the following messages in /var/log/messages: Aug 12 13:18:09 colorado nagios: Nagios 2.10 starting... (PID=23650) Aug 12 13:25:58 colorado nagios: LOG VERSION: 2.0 Aug 12 13:25:58 colorado nagios: Finished daemonizing... (new PID=23651) Aug 12 13:26:10 colorado nagios: Caught SIGSEGV, shutting down... Why can't I get nagios to monitor itself? In other words, why can't I get nagios to monitor the server that it is running from? Thanks in advance, Bret Goodfellow -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kyle.odonnell at gmail.com Tue Aug 12 22:34:37 2008 From: kyle.odonnell at gmail.com (kyle.odonnell at gmail.com) Date: Tue, 12 Aug 2008 16:34:37 -0400 Subject: Attempting to monitor the "Nagios Server" itself In-Reply-To: <91EDB00F83BAD443A9D05FA67623955A027C8058@QMAIL.corp.questar.com> References: <91EDB00F83BAD443A9D05FA67623955A027C8058@QMAIL.corp.questar.com> Message-ID: <2274b9c30808121334x23ad6ab5ocb8a0cc1064e246d@mail.gmail.com> check the nagios exchange. there are plenty of nagios server related checks that might indicate impending failure. that being said, if nagios dies how can it monitor itself? I have scheduled a job in cron that monitors, restarts, and emails me when it dies. On 8/12/08, Bret Goodfellow wrote: > Hello there, > > > > I have Nagios running on a RHEL 4 (update 6) server. It is monitoring > 30 linux servers and 10 unix servers. I am now attempting to get Nagios > to monitor the host server (the server that the nagios daemon is running > on). When I add services for the nagios server (Colorado), the nagios > service fails after about 15 seconds. I am getting the following > messages in /var/log/messages: > > > > Aug 12 13:18:09 colorado nagios: Nagios 2.10 starting... (PID=23650) > > Aug 12 13:25:58 colorado nagios: LOG VERSION: 2.0 > > Aug 12 13:25:58 colorado nagios: Finished daemonizing... (new PID=23651) > > Aug 12 13:26:10 colorado nagios: Caught SIGSEGV, shutting down... > > > > Why can't I get nagios to monitor itself? In other words, why can't I > get nagios to monitor the server that it is running from? > > > > Thanks in advance, > > > > 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 marc at ena.com Tue Aug 12 22:40:04 2008 From: marc at ena.com (Marc Powell) Date: Tue, 12 Aug 2008 15:40:04 -0500 Subject: Check Processes in Linux References: Message-ID: <5A4AE2E1A3A86C4DA672C6ED903343EF012388@misex03.ena.com> > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Edwin Zoeller > Sent: Tuesday, August 12, 2008 2:21 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Check Processes in Linux > > I have downloaded to check_procs scripts for the exchange and I am having > a hell of a time to get it to work. I get "bad interpreter" and have done > all I could to fix it. Can someone let me know what I am doing wrong or > how they are monitoring processes. The standard plugins include a check_procs program. Is that suitable for your needs? -- 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 Aug 12 22:45:47 2008 From: marc at ena.com (Marc Powell) Date: Tue, 12 Aug 2008 15:45:47 -0500 Subject: problem viewing host groups in cgi References: <5A4AE2E1A3A86C4DA672C6ED903343EF012386@misex03.ena.com> Message-ID: <5A4AE2E1A3A86C4DA672C6ED903343EF012389@misex03.ena.com> > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Shai > Sent: Tuesday, August 12, 2008 2:37 PM > To: Marc Powell > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] problem viewing host groups in cgi > > Hi Marc, > > I wonder why that is... If I authorize a contact to view a host in the > host group, why would I want to deny him from viewing it in the title of > the host group? seeing the host groups won't harm and he won't have access > to viewing the other hosts in the that host group. Until relatively recently, contact assignments were by hostgroup, not by host. Because of that, per-host checks were not needed and the CGI logic of what hostgroups to display and not display was very straightforward. I'm going to have to just guess that Ethan isn't interested, hasn't had time to, or hasn't thought to change that behavior. -- 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 Aug 12 22:53:11 2008 From: marc at ena.com (Marc Powell) Date: Tue, 12 Aug 2008 15:53:11 -0500 Subject: Attempting to monitor the "Nagios Server" itself References: <91EDB00F83BAD443A9D05FA67623955A027C8058@QMAIL.corp.questar.com> Message-ID: <5A4AE2E1A3A86C4DA672C6ED903343EF01238A@misex03.ena.com> > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Bret Goodfellow > Sent: Tuesday, August 12, 2008 3:16 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Attempting to monitor the "Nagios Server" itself > > Hello there, > Aug 12 13:18:09 colorado nagios: Nagios 2.10 starting... (PID=23650) > > Aug 12 13:25:58 colorado nagios: LOG VERSION: 2.0 > > Aug 12 13:25:58 colorado nagios: Finished daemonizing... (new PID=23651) > > Aug 12 13:26:10 colorado nagios: Caught SIGSEGV, shutting down... > > > > Why can't I get nagios to monitor itself? In other words, why can't I get > nagios to monitor the server that it is running from? Getting Nagios to monitor the machine it's running on is actually the very simplest case and very straight forward. What config changes did you make between when it was working and not, specifically? The SIGSEGV is interesting and you might consider running Nagios in debug mode (you'll need to recompile) to find out generally what it's doing at the segfault. Alternately, if you're familiar with gdb, you could use that. -- 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 jon at netdork.net Tue Aug 12 23:55:58 2008 From: jon at netdork.net (Jon Angliss) Date: Tue, 12 Aug 2008 16:55:58 -0500 Subject: Attempting to monitor the "Nagios Server" itself References: <91EDB00F83BAD443A9D05FA67623955A027C8058@QMAIL.corp.questar.com> <5A4AE2E1A3A86C4DA672C6ED903343EF01238A@misex03.ena.com> Message-ID: On Tue, 12 Aug 2008 15:53:11 -0500, "Marc Powell" wrote: >> Hello there, > > >> Aug 12 13:18:09 colorado nagios: Nagios 2.10 starting... (PID=23650) >> >> Aug 12 13:25:58 colorado nagios: LOG VERSION: 2.0 >> >> Aug 12 13:25:58 colorado nagios: Finished daemonizing... (new >PID=23651) >> >> Aug 12 13:26:10 colorado nagios: Caught SIGSEGV, shutting down... >> >> >> >> Why can't I get nagios to monitor itself? In other words, why can't I >get >> nagios to monitor the server that it is running from? > >Getting Nagios to monitor the machine it's running on is actually the >very simplest case and very straight forward. What config changes did >you make between when it was working and not, specifically? The SIGSEGV >is interesting and you might consider running Nagios in debug mode >(you'll need to recompile) to find out generally what it's doing at the >segfault. Alternately, if you're familiar with gdb, you could use that. I've also found strace to be a big help for random crashes. Somebody on the irc channel had an issue with nagios faulting right on start up. strace pointed the issue to be a "big file" issue. The performance data file was 2GB in size, and LFS wasn't enabled in the kernel. strace /usr/local/nagios/bin/nagios /usr/local/nagios/etc/nagios.cfg Adjusting the paths obviously :) -- Jon Angliss ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Aug 13 00:33:57 2008 From: marc at ena.com (Marc Powell) Date: Tue, 12 Aug 2008 17:33:57 -0500 Subject: Attempting to monitor the "Nagios Server" itself In-Reply-To: <91EDB00F83BAD443A9D05FA67623955A06502D@QMAIL.corp.questar.com> References: <91EDB00F83BAD443A9D05FA67623955A027C8058@QMAIL.corp.questar.com> <5A4AE2E1A3A86C4DA672C6ED903343EF01238A@misex03.ena.com> <91EDB00F83BAD443A9D05FA67623955A06502D@QMAIL.corp.questar.com> Message-ID: <8ADD3073-D484-44F9-88A8-93AE2AE089FB@ena.com> Please always respond on list so that others, now and in the future, obtain the benefit of your experience. More below... On Aug 12, 2008, at 4:36 PM, Bret Goodfellow wrote: > Hi Marc, > > Thanks for the quick response! I added the following host definition: > > ###################################################################################### > # 'colorado' host > definition # > ###################################################################################### > define host{ > use generic-host ; Name of > host template to use > > host_name colorado > alias colorado > address 10.8.64.201 > check_command check-host-alive > contact_groups linux-admins,linux-admins-page,oracle- > admins > max_check_attempts 10 > max_check_attempts 10 > notification_interval 480 > notification_period 24x7 > notification_options d,u,r > } > > After adding this definition, I noticed on the nagios monitor that I > have "1" pending host. This "pending status" never changes. The > pending host of course, is colorado. Pending is normal for a host with no services. It'll never be checked. That's expected. > Adding the host definition for "colorado" only, does not cause > nagios to fail. Good to know. > The failure occurs when I add the attached "services" config file. > If I remove the "colorado" services config file, then nagios starts > up and runs fine. My belief though, is that there is something > wrong with the "host" definition file. Why do you believe that? It looks OK to me. I would think the problem is somehow associated with the newly included services file or something external to nagios. > Since the server I want to monitor is the "localhost", do I need to > replace the alias with the name "localhost". No, the alias doesn't matter, it's just for humans to know what the machine is. I don't see anything obviously wrong with the file*. I would try adding it in chunks of a few definitions at a time and see which one causes nagios to segfault. Jon Agliss's strace suggestion is good as well. I'd use 'strace -fs512 /usr/local/nagios/bin/nagios -d / usr/local/nagios/etc/nagios.cfg' myself. * Some of the tests you're doing, just based on their names, could be implemented better. For example, why are you ssh'ing to the same machine, essentially a localhost IP, (check_ssh_disk) or using snmp (check_snmp_storage) to check disks when it seems that just using check_disk would do the same thing without the hoops and points-of- failure. -- 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 Bret.Goodfellow at questar.com Wed Aug 13 00:52:02 2008 From: Bret.Goodfellow at questar.com (Bret Goodfellow) Date: Tue, 12 Aug 2008 16:52:02 -0600 Subject: Attempting to monitor the "Nagios Server" itself In-Reply-To: <8ADD3073-D484-44F9-88A8-93AE2AE089FB@ena.com> References: <91EDB00F83BAD443A9D05FA67623955A027C8058@QMAIL.corp.questar.com><5A4AE2E1A3A86C4DA672C6ED903343EF01238A@misex03.ena.com><91EDB00F83BAD443A9D05FA67623955A06502D@QMAIL.corp.questar.com> <8ADD3073-D484-44F9-88A8-93AE2AE089FB@ena.com> Message-ID: <91EDB00F83BAD443A9D05FA67623955A027C8059@QMAIL.corp.questar.com> Thanks Marc, I basically copied the services config from another (remote_services) config file. I then changed the host to Colorado. I should have looked closer at the plugins being executed. Anyway, I removed all but one service check, and the host is now being monitored. Process of Elimination.... go figure. I will now add them back in, one by one. Thanks again. Bret -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Marc Powell Sent: Tuesday, August 12, 2008 4:34 PM To: Nagios User list Subject: Re: [Nagios-users] Attempting to monitor the "Nagios Server" itself Please always respond on list so that others, now and in the future, obtain the benefit of your experience. More below... On Aug 12, 2008, at 4:36 PM, Bret Goodfellow wrote: > Hi Marc, > > Thanks for the quick response! I added the following host definition: > > ######################################################################## ############## > # 'colorado' host > definition # > ######################################################################## ############## > define host{ > use generic-host ; Name of > host template to use > > host_name colorado > alias colorado > address 10.8.64.201 > check_command check-host-alive > contact_groups linux-admins,linux-admins-page,oracle- > admins > max_check_attempts 10 > max_check_attempts 10 > notification_interval 480 > notification_period 24x7 > notification_options d,u,r > } > > After adding this definition, I noticed on the nagios monitor that I > have "1" pending host. This "pending status" never changes. The > pending host of course, is colorado. Pending is normal for a host with no services. It'll never be checked. That's expected. > Adding the host definition for "colorado" only, does not cause > nagios to fail. Good to know. > The failure occurs when I add the attached "services" config file. > If I remove the "colorado" services config file, then nagios starts > up and runs fine. My belief though, is that there is something > wrong with the "host" definition file. Why do you believe that? It looks OK to me. I would think the problem is somehow associated with the newly included services file or something external to nagios. > Since the server I want to monitor is the "localhost", do I need to > replace the alias with the name "localhost". No, the alias doesn't matter, it's just for humans to know what the machine is. I don't see anything obviously wrong with the file*. I would try adding it in chunks of a few definitions at a time and see which one causes nagios to segfault. Jon Agliss's strace suggestion is good as well. I'd use 'strace -fs512 /usr/local/nagios/bin/nagios -d / usr/local/nagios/etc/nagios.cfg' myself. * Some of the tests you're doing, just based on their names, could be implemented better. For example, why are you ssh'ing to the same machine, essentially a localhost IP, (check_ssh_disk) or using snmp (check_snmp_storage) to check disks when it seems that just using check_disk would do the same thing without the hoops and points-of- failure. -- 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 shaibn at gmail.com Wed Aug 13 06:14:48 2008 From: shaibn at gmail.com (Shai) Date: Wed, 13 Aug 2008 07:14:48 +0300 Subject: problem viewing host groups in cgi In-Reply-To: <5A4AE2E1A3A86C4DA672C6ED903343EF012389@misex03.ena.com> References: <5A4AE2E1A3A86C4DA672C6ED903343EF012386@misex03.ena.com> <5A4AE2E1A3A86C4DA672C6ED903343EF012389@misex03.ena.com> Message-ID: Hi, Do I have a way around this other then creating a "misc" host group that'll include all those hosts that some contact groups wish to see? it'll be like a small salad on my web interface but that's the only way I can think of... Shai On Tue, Aug 12, 2008 at 11:45 PM, Marc Powell wrote: > > > > -----Original Message----- > > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > > bounces at lists.sourceforge.net] On Behalf Of Shai > > Sent: Tuesday, August 12, 2008 2:37 PM > > To: Marc Powell > > Cc: nagios-users at lists.sourceforge.net > > Subject: Re: [Nagios-users] problem viewing host groups in cgi > > > > Hi Marc, > > > > I wonder why that is... If I authorize a contact to view a host in the > > host group, why would I want to deny him from viewing it in the title > of > > the host group? seeing the host groups won't harm and he won't have > access > > to viewing the other hosts in the that host group. > > Until relatively recently, contact assignments were by hostgroup, not by > host. Because of that, per-host checks were not needed and the CGI logic > of what hostgroups to display and not display was very straightforward. > I'm going to have to just guess that Ethan isn't interested, hasn't had > time to, or hasn't thought to change that behavior. > > -- > 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 agnello.dsouza at gmail.com Wed Aug 13 09:40:13 2008 From: agnello.dsouza at gmail.com (Agnello George) Date: Wed, 13 Aug 2008 13:10:13 +0530 Subject: ./check_snmp_int .... Error reading table : (null) Message-ID: <8c6878890808130040j10b49b00t4d9449fdbbb49042@mail.gmail.com> Hi I downloaded the snmp c pugin and followed the instruction as per http://nagios.manubulon.com/package_c.html then i try to check if all interfaces are up on my localhost system i use the following command ./check_snmp_int.pl -H 127.0.0.1 -C public -n eth V1 login : public Error reading table : (null) can you explain to me how i can get this working right ?? Thanks a lot !! -- ???? ????????? ?????? www.linux-vashi.blogspot.com www.bible-study-india.blogspot.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 ITLJ at gyldendal.dk Wed Aug 13 09:48:57 2008 From: ITLJ at gyldendal.dk (=?iso-8859-1?Q?Lars_J=F8rgensen?=) Date: Wed, 13 Aug 2008 09:48:57 +0200 Subject: Schedule recurring downtime Message-ID: <311386E60ED7E74C8716A6573A7740A0164C07B8D2@s-exch01-v.gyldendal.local> Hi, We have a server that needs to reboot once a week and does this via a cron job. Is there any way to schedule this recurring downtime in nagios so as not to get notifications? I can fiddle with time periods and make it work but is there a more elegant way of doing it? -- Lars ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From boph at tdchosting.dk Wed Aug 13 09:53:42 2008 From: boph at tdchosting.dk (Bo Philip Larsen) Date: Wed, 13 Aug 2008 09:53:42 +0200 Subject: Schedule recurring downtime In-Reply-To: <311386E60ED7E74C8716A6573A7740A0164C07B8D2@s-exch01-v.gyldendal.local> References: <311386E60ED7E74C8716A6573A7740A0164C07B8D2@s-exch01-v.gyldendal.local> Message-ID: <02EAC0960BFECB4F9EAEC26B4972EE4471C8239BBF@TDCHEXBE01.int.tdch.dk> Hi, You could try this http://www.nagios.org/developerinfo/externalcommands/commandinfo.php?command_id=122 and send a schedule downtime with the API //Bo -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Lars J?rgensen Sent: 13. august 2008 09:49 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Schedule recurring downtime Hi, We have a server that needs to reboot once a week and does this via a cron job. Is there any way to schedule this recurring downtime in nagios so as not to get notifications? I can fiddle with time periods and make it work but is there a more elegant way of doing it? -- Lars ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 markus.kornprobst at netways.de Wed Aug 13 10:01:36 2008 From: markus.kornprobst at netways.de (Markus Kornprobst) Date: Wed, 13 Aug 2008 10:01:36 +0200 Subject: Schedule recurring downtime In-Reply-To: <311386E60ED7E74C8716A6573A7740A0164C07B8D2@s-exch01-v.gyldendal.local> References: <311386E60ED7E74C8716A6573A7740A0164C07B8D2@s-exch01-v.gyldendal.local> Message-ID: <1218614496.6469.4.camel@nb-kornprobst> hi lars -- you find a webfrontend addon at www.naigosexchange.org: http://www.nagiosexchange.org/cgi-bin/page.cgi?g=Detailed% 2F1846.html;d=1 or you use the search funtion. it is verry easy to implement in your naigosconfig. best regards markus -----Original Message----- From: Lars J?rgensen To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Schedule recurring downtime Date: Wed, 13 Aug 2008 09:48:57 +0200 Hi, We have a server that needs to reboot once a week and does this via a cron job. Is there any way to schedule this recurring downtime in nagios so as not to get notifications? I can fiddle with time periods and make it work but is there a more elegant way of doing it? -- Lars ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 vmanojv at rediffmail.com Wed Aug 13 11:06:39 2008 From: vmanojv at rediffmail.com (Nair) Date: 13 Aug 2008 09:06:39 -0000 Subject: Return code of 127 Message-ID: <20080813090639.14623.qmail@f5mail-237-201.rediffmail.com> Dear All, Using Nagios 2.11 with mysql DB using ndo2db plugin. I am getting below error and the Nagios server hangs down. (Return code of 127 is out of bounds - plugin may be missing) Nagiosstat output: Used/High/Total Command Buffers: 2561 / 2561 / 32268 Used/High/Total Check Result Buffers: 0 / 0 / 4096 I could see more than 33,000 of NSCA process running where the command buffer is only 4096. Resolved the problem temprorly by increasing the command buffer to 35,000. Still I am under assumption that Mysql query is the root cause of the issue. Please share your ideas, if hav gone simialr issues. 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 dirk.schulz at kinzesberg.de Wed Aug 13 11:11:25 2008 From: dirk.schulz at kinzesberg.de (Dirk H. Schulz) Date: Wed, 13 Aug 2008 11:11:25 +0200 Subject: Nagios 3.x on PowerPC Message-ID: <4936C57E1F10E193E1E6906A@file.wkd-druck.org> Hi folks, I am running several instances of Nagios 2.x on Linux machines. My main instance monitors 30 hosts and 400+ service from a xen vm on an old PIII dual - not noticable load on the machine involved. No I have setup Nagios 3.03 via Macports on a dual cpu PowerMac G5 with only 3 hosts and not even 100 services - and cpu usage is constantly between 150 and 200 %. Is Nagios 3.x compared to 2.x using much more resources, or must there be a problem with it running on PowerPC and MacOS X especially? Has anybody experienced this, too? The other problem is that Nagios on the G5 sometimes stops working: no checks are done any more; in other cases a sub process (e.g. one generating an email notification) stops in the middle of action and resides in the running process list for hours or days without errors showing anywhere. I am stuck and do not have a good idea what to look at. Any hint or help is appreciated. Dirk ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Aug 13 11:18:18 2008 From: assaf.flatto at ssp.uk.com (Assaf Flatto) Date: Wed, 13 Aug 2008 09:18:18 +0000 Subject: Return code of 127 In-Reply-To: <20080813090639.14623.qmail@f5mail-237-201.rediffmail.com> References: <20080813090639.14623.qmail@f5mail-237-201.rediffmail.com> Message-ID: <200808130918.18567.assaf.flatto@ssp.uk.com> Can you provide the section of the nagios log and the messages log that relate to this issue ? Assaf On Wednesday 13 August 2008 09:06:39 Nair wrote: > Dear All, > > Using Nagios 2.11 with mysql DB using ndo2db plugin. > > I am getting below error and the Nagios server hangs down. > > (Return code of 127 is out of bounds - plugin may be missing) > > Nagiosstat output: > > Used/High/Total Command Buffers: 2561 / 2561 / 32268 > Used/High/Total Check Result Buffers: 0 / 0 / 4096 > > I could see more than 33,000 of NSCA process running where the command > buffer is only 4096. Resolved the problem temprorly by increasing the > command buffer to 35,000. > > Still I am under assumption that Mysql query is the root cause of the > issue. > > Please share your ideas, if hav gone simialr issues. > > Thank you. > Nair. 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 Aug 13 13:27:08 2008 From: richard at newnet.co.uk (Richard Savage) Date: Wed, 13 Aug 2008 12:27:08 +0100 Subject: Return code of 127 In-Reply-To: <200808130918.18567.assaf.flatto@ssp.uk.com> References: <20080813090639.14623.qmail@f5mail-237-201.rediffmail.com> <200808130918.18567.assaf.flatto@ssp.uk.com> Message-ID: <48A2C50C.9040807@newnet.co.uk> There is a good link to this problem here: http://www.nagios.org/faqs/viewfaq.php?faq_id=17 I had this a few times and as suggested in the link, the path to the plugin is invalid. Make sure this path is correct and this should solve your issue. If it continues post the bit from the commands file that is being called and the path to where your plugins are installed on your system and what OS, version of nagios you are using. Regards Richard Assaf Flatto wrote: > Can you provide the section of the nagios log and the messages log that relate to this issue ? > > Assaf > > > On Wednesday 13 August 2008 09:06:39 Nair wrote: > >> Dear All, >> >> Using Nagios 2.11 with mysql DB using ndo2db plugin. >> >> I am getting below error and the Nagios server hangs down. >> >> (Return code of 127 is out of bounds - plugin may be missing) >> >> Nagiosstat output: >> >> Used/High/Total Command Buffers: 2561 / 2561 / 32268 >> Used/High/Total Check Result Buffers: 0 / 0 / 4096 >> >> I could see more than 33,000 of NSCA process running where the command >> buffer is only 4096. Resolved the problem temprorly by increasing the >> command buffer to 35,000. >> >> Still I am under assumption that Mysql query is the root cause of the >> issue. >> >> Please share your ideas, if hav gone simialr issues. >> >> Thank you. >> Nair. >> > > > > > > > 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 fevinkagen at gmail.com Wed Aug 13 14:01:07 2008 From: fevinkagen at gmail.com (fevin Kagen) Date: Wed, 13 Aug 2008 08:01:07 -0400 Subject: Nagios freshness checks randomly think check results are from 1973. In-Reply-To: References: <489F3574.5020405@aei.ca> <489FA973.5000708@aei.ca> <48A10231.1040708@aei.ca> <48A12AFC.7010003@aei.ca> Message-ID: Problem solved! We were 100% last night and, after a little testing, I found the smoking gun... A time stamp of 1218611709 = 8/13/2008 07:15:09 loose the last number and, you guessed it, 11/11/1973 20:19:30! Thanks for the extra effort Thomas! On Tue, Aug 12, 2008 at 12:31 PM, fevin Kagen wrote: > Thanks! That seems like it just may be the ticket. I have enabled the > debug output and changed the time calculation to > mytime = > str(int(time.time())) > > So far so good, but the real test will be over the next few nights. I'll > keep you guys posted. Thanks again for all the help! > > > On Tue, Aug 12, 2008 at 2:17 AM, Thomas Guyot-Sionnest wrote: > >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >> >> On 11/08/08 11:23 PM, Thomas Guyot-Sionnest wrote: >> > On 11/08/08 04:57 PM, fevin Kagen wrote: >> >> So... is a date sent in the SNMP trap or is the date set to the >> >> time that Nagios receives the alert? >> > >> > It's in the command sent to the Nagios command pipe. >> > >> > See: >> > >> > http://nagios.sourceforge.net/docs/3_0/extcommands.html >> > http://www.nagios.org/developerinfo/externalcommands/commandlist.php >> > >> >> Is there a way to output to both the existing output (the nagios >> >> command file) and a debug output? It doesn't happen all the time so >> >> trying to capture a bad entry would mean taking the whole system down >> >> for a week plus. >> > >> > I never touched python before, but looks plain simple object-oriented >> > programming. I'd try making the post_results function looks like this: >> > >> > def post_results(host, job, mondata_res, return_code): >> > mytime = time.time() >> > mytime = str(mytime) >> > mytime = mytime[:-3] >> > #print mondata_res >> > output = open('/usr/local/nagios/var/rw/nagios.cmd', 'w') >> > debug_out = open('/tmp/services-debug.out, 'a') >> > results = "[" + mytime + "] " + "PROCESS_SERVICE_CHECK_RESULT;" \ >> > + host + ";" + job + ";" \ >> > + return_code + ";" + mondata_res + "\n" >> > output.write(results) >> > debug_out.write(results) >> > >> > The change are oppening a 2nd file in append mode: >> > debug_out = open('/tmp/services-debug.out, 'a') >> > >> > And then writing the same thing as the nagios out to it: >> > debug_out.write(results) >> > >> > As soon as it fails check the end of that file, you should see the same >> > thing as what nagios received. If the [time] part is the problem thoug I >> > can't really help. This is the part that generated the time part: >> > >> > mytime = time.time() >> > mytime = str(mytime) >> > mytime = mytime[:-3] >> > >> >> Well, python is a language I wouldn't refuse to learn, and I just >> started looking at it. On the fun side there's an interactive mode that >> let you learn as you try live... >> >> After a few minutes of reading http://docs.python.org/tut/ ... >> >> - From what I understand in the above commands, time.time() returns you a >> float object that returns unix time with two decimals, ex: >> 1218520859.75. In this plugin the author strips the last three >> characters from the string'ified value ([:-3] to get a normal timestamp. >> Whenever the time is rounded (ex: 1218520859.7, 1218520859.0) this >> strips too many characters and you get a date far in the past. >> >> The proper way to do it is simply by converting it to an integer, i.e. >> replace the three lines above with: >> >> mytime = str(int(time.time())) >> >> Since I believe the str() was only to use the hooks on it, this probably >> works as well: >> >> mytime = int(time.time()) >> >> Hope this helps. >> >> - -- >> Thomas >> -----BEGIN PGP SIGNATURE----- >> Version: GnuPG v1.4.6 (GNU/Linux) >> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org >> >> iD8DBQFIoSr86dZ+Kt5BchYRAmZ5AJ9zH2akrPQfhsLhve74jgxtdicLjwCfWsIo >> qt0WgLTig7uVQvf1JwYcCMA= >> =KMAD >> -----END PGP SIGNATURE----- >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sudheer at tgs-solutions.com Wed Aug 13 14:11:39 2008 From: sudheer at tgs-solutions.com (Sudheer Muddappa) Date: Wed, 13 Aug 2008 08:11:39 -0400 Subject: Problem with custom report period In-Reply-To: <48A1A988.607@tgs-solutions.com> References: <48A1A988.607@tgs-solutions.com> Message-ID: <48A2CF7B.5010401@tgs-solutions.com> Can anybody please help me with this issue? Thanks, Sudheer Muddappa Sudheer Muddappa wrote: > Hi All, > > When I use Availability report with custom period , i do not get any > results for up/down times. > If I add present day in the custom report period then it displays all > the information. Is it a bug or do I need to set any values to display > the Custom reports properly? > > > I am running Nagios 2.6 on Debian. > > Thanks, > > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jpratt at norwich.edu Wed Aug 13 14:15:36 2008 From: jpratt at norwich.edu (James Pratt) Date: Wed, 13 Aug 2008 08:15:36 -0400 Subject: ./check_snmp_int .... Error reading table : (null) In-Reply-To: <8c6878890808130040j10b49b00t4d9449fdbbb49042@mail.gmail.com> References: <8c6878890808130040j10b49b00t4d9449fdbbb49042@mail.gmail.com> Message-ID: <8147CCE3C4A8764DA9980125EE70E8232726@nuexchg.norwich.edu> > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Agnello George > Sent: Wednesday, August 13, 2008 3:40 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] ./check_snmp_int .... Error reading table : (null) > > Hi > I downloaded the snmp c pugin and followed the instruction as per > > http://nagios.manubulon.com/package_c.html > > then i try to check if all interfaces are up on my localhost system i > use the following command > > ./check_snmp_int.pl -H 127.0.0.1 -C public -n eth > V1 login : public > Error reading table : (null) > > can you explain to me how i can get this working right ?? Can you successfully snmpwalk your system, or at least query the values you need? I tried this on a linux box, and a VMWare ESX server, and all seems to work fine, so I'm thinking it has to do with your snmpd setup/config.. [root at nagios libexec]# ./check_snmp_int -H 10.14.3.110 -C public -n vmnic OK : vmnic1:UP,vmnic0:UP,vmnic3:UP,vmnic2:UP: 4 UP [root at nagios libexec]# ./check_snmp_int -H 10.14.1.167 -C public -n eth OK : eth0:UP: 1 UP 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 Wed Aug 13 15:15:30 2008 From: marc at ena.com (Marc Powell) Date: Wed, 13 Aug 2008 08:15:30 -0500 Subject: Check Processes in Linux In-Reply-To: References: <5A4AE2E1A3A86C4DA672C6ED903343EF012388@misex03.ena.com> Message-ID: <1EF32C25-4184-405E-A1C9-8A577505D21A@ena.com> Please always respond on list so that others, now and in the future, can benefit from your experience. More below... On Aug 13, 2008, at 7:31 AM, Edwin Zoeller wrote: > Standard plungins? I did not see any check_procs for Linux only > Solaris, The plugins that are part the standard nagios distribution (http://www.nagios.org/download/ , Nagios Plugins (stable releases)). You can compile them for just about any unix-like OS. These are the core set of plugins that everyone should have. http://nagios.sourceforge.net/docs/2_0/plugins.html > which work well. The only check_proc command I came across for Linux > is > as follows: > > Check_system_procs > Check_system_procs2 > > Neither one work for me. What are you using? Can you send me a copy? http://nagiosplugins.org/man/check_procs, from the standard plugins. -- 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 aaron.segura at cabelas.com Wed Aug 13 16:01:34 2008 From: aaron.segura at cabelas.com (Aaron M. Segura) Date: Wed, 13 Aug 2008 08:01:34 -0600 Subject: Schedule recurring downtime In-Reply-To: <311386E60ED7E74C8716A6573A7740A0164C07B8D2@s-exch01-v.gyldendal.local> References: <311386E60ED7E74C8716A6573A7740A0164C07B8D2@s-exch01-v.gyldendal.local> Message-ID: <1218636094.16204.5.camel@localhost> http://www.nagiosexchange.org/cgi-bin/page.cgi?g=Detailed% 2F2140.html;d=1 On Wed, 2008-08-13 at 09:48 +0200, Lars J?rgensen wrote: > Hi, > > We have a server that needs to reboot once a week and does this via a cron job. Is there any way to schedule this recurring downtime in nagios so as not to get notifications? > > I can fiddle with time periods and make it work but is there a more elegant way of doing it? > > > -- > Lars > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 tom.decooman at gmail.com Wed Aug 13 16:15:14 2008 From: tom.decooman at gmail.com (Tom De Cooman) Date: Wed, 13 Aug 2008 16:15:14 +0200 Subject: service deps & recovery Message-ID: <1218636914.6120.17.camel@d830tdc> Using a lot of checks through NRPE for all hosts, we implemented a general check_nrpe, one that just checks wether NRPE is listening on the host, and let all the other checks using NRPE depend on this one. Service dependency example: define servicedependency{ host_name servername service_description Check NRPE dependent_service_description Load execution_failure_criteria o notification_failure_criteria w,u,c } The service dependency does work as, when the NRPE daemon goes down, we only get a message saying that 'Check NRPE' is down. The other checks go critical but no notification is sent out. Problem is that when the NRPE on the host-to-be-checked is functional again, we notice that some of the checks where a service dependency has been applied do not recover, they remain in the 'critical' state. The check returns to an OK-state only after we manually scheduled an active check for it. Nagios version we are using is 3.03 Same issues with previous versions noticed (3.01) Anyone noticed any similar issues, or am I missing smth in the config? Tom ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From devonharding at gmail.com Wed Aug 13 16:16:49 2008 From: devonharding at gmail.com (Devon Harding) Date: Wed, 13 Aug 2008 10:16:49 -0400 Subject: Discovery options? In-Reply-To: <2baac6140808130713i108dbb88k69f7cc5e9e01011a@mail.gmail.com> References: <2baac6140808130713i108dbb88k69f7cc5e9e01011a@mail.gmail.com> Message-ID: <2baac6140808130716t70c0e208ka408313b60c4340c@mail.gmail.com> Are there any discovery options for Nagios? If I have alot of servers on a subnet and want to import them, whats the best way? -Devon -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Aug 13 16:31:11 2008 From: aaron.segura at cabelas.com (Aaron M. Segura) Date: Wed, 13 Aug 2008 08:31:11 -0600 Subject: Discovery options? In-Reply-To: <2baac6140808130716t70c0e208ka408313b60c4340c@mail.gmail.com> References: <2baac6140808130713i108dbb88k69f7cc5e9e01011a@mail.gmail.com> <2baac6140808130716t70c0e208ka408313b60c4340c@mail.gmail.com> Message-ID: <1218637871.16204.24.camel@localhost> http://www.nagios.org/faqs/viewfaq.php?faq_id=347 On Wed, 2008-08-13 at 10:16 -0400, Devon Harding wrote: > Are there any discovery options for Nagios? If I have alot of servers > on a subnet and want to import them, whats the best way? > > -Devon > > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 Garry.Cook at arcadis-us.com Wed Aug 13 16:55:23 2008 From: Garry.Cook at arcadis-us.com (Cook, Garry) Date: Wed, 13 Aug 2008 08:55:23 -0600 Subject: Discovery options? In-Reply-To: <1218637871.16204.24.camel@localhost> References: <2baac6140808130713i108dbb88k69f7cc5e9e01011a@mail.gmail.com> <2baac6140808130716t70c0e208ka408313b60c4340c@mail.gmail.com> <1218637871.16204.24.camel@localhost> Message-ID: <1689390EF608584D85BA56D958A5D1E45D9E59F5BF@CorpExMBS1.arcadis-us.com> In addition to the two mentioned in the FAQ, there is also NeDi (http://nedi.ch). It's not built for integration with Nagios, but it is open source and uses a MySQL backend. Great tool with lots of cool features. Thanks, Garry -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Aaron M. Segura Sent: Wednesday, August 13, 2008 8:31 AM To: Devon Harding Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Discovery options? http://www.nagios.org/faqs/viewfaq.php?faq_id=347 On Wed, 2008-08-13 at 10:16 -0400, Devon Harding wrote: > Are there any discovery options for Nagios? If I have alot of servers > on a subnet and want to import them, whats the best way? > > -Devon > > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 NOTICE: This e-mail and any files transmitted with it are the property of ARCADIS U.S., Inc. and its affiliates. All rights, including without limitation copyright, are reserved. The proprietary information contained in this e-mail message, and any files transmitted with it, is intended for the use of the recipient(s) named above. If the reader of this e-mail is not the intended recipient, you are hereby notified that you have received this e-mail in error and that any review, distribution or copying of this e-mail or any files transmitted with it is strictly prohibited. If you have received this e-mail in error, please notify the sender immediately and delete the original message and any files transmitted. The unauthorized use of this e-mail or any files transmitted with it is prohibited and disclaimed by ARCADIS U.S., Inc. and its affiliates. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From richardsolid at gmail.com Wed Aug 13 16:55:38 2008 From: richardsolid at gmail.com (Jake Solid) Date: Wed, 13 Aug 2008 10:55:38 -0400 Subject: NRPE: Unable to read output In-Reply-To: References: <2274b9c30808120925v40204f74l134fdafa0ddae703@mail.gmail.com> <2274b9c30808121125i591db5eao157d57b43376a2ea@mail.gmail.com> Message-ID: Is there a different plugin similar to check_smartmon I can try that works with check_nrpe ? thanks in advanced. On Tue, Aug 12, 2008 at 3:20 PM, Jake Solid wrote: > The following line will make all commands use sudo: > > command_prefix=/usr/bin/sudo > > I remove the comment for command_prefix=/usr/bin/sudo and add the following > to the sudoers file: > > nagios ALL=(ALL) NOPASSWD: /usr/sbin/smartctl,/usr/lib64/nagios/plugins/ > > Now, I get the NRPE: Unable to read output for any plugin that gets > invoked. > > The permissions of check_smartmon on the remote server are the same as the > other plugins that are working. > > -rwxr-xr-x 1 root root 8.4K Aug 6 13:02 check_smartmon > > > But I'm still not able to successfully invoke check_smartmon with > check_nrpe from the nagios server. > > > > > On Tue, Aug 12, 2008 at 2:25 PM, wrote: > >> I dont know if that will work, there is a specific option inside >> nrpe.cfg for executing commands via sudo: >> >> # COMMAND PREFIX >> # This option allows you to prefix all commands with a user-defined >> string. >> # A space is automatically added between the specified prefix string and >> the >> # command line from the command definition. >> # >> # *** THIS EXAMPLE MAY POSE A POTENTIAL SECURITY RISK, SO USE WITH >> CAUTION! *** >> # Usage scenario: >> # Execute restricted commmands using sudo. For this to work, you need to >> add >> # the nagios user to your /etc/sudoers. An example entry for alllowing >> # execution of the plugins from might be: >> # >> # nagios ALL=(ALL) NOPASSWD: /usr/lib/nagios/plugins/ >> # >> # This lets the nagios user run all commands in that directory (and only >> them) >> # without asking for a password. If you do this, make sure you don't give >> # random users write access to that directory or its contents! >> >> # command_prefix=/usr/bin/sudo >> >> >> Also make sure you can run the command exactly like nrpe does as the >> user nrpe is running as. >> >> As for your bolded question, go chmod 644 check_load and try to run >> it, it will give you the same error. It just means that the script >> executed but didn't respond with recognized output. >> >> On 8/12/08, Jake Solid wrote: >> > I did modified the nrpe.cfg to execute commands via sudo by adding the >> > following line: >> > >> > *command[check_smartmon]=/usr/bin/sudo >> > /usr/lib64/nagios/plugins/check_smartmon ata -d /dev/sda* >> > >> > *Why I'm able to invoke the following plugins from the nagios server >> using >> > check_nrpe but when invoking check_smartmon I get *NRPE: Unable to read >> > output*?* >> > >> > command[check_users]=/usr/lib64/nagios/plugins/check_users -w 8 -c 10 >> > command[check_load]=/usr/lib64/nagios/plugins/check_load -w 15,10,5 -c >> > 30,25,20 >> > command[check_disk1]=/usr/lib64/nagios/plugins/check_disk -w 20% -c 10% >> -p >> > /dev/mapper/VolGroup00-LogVol00 >> > command[check_disk2]=/usr/lib64/nagios/plugins/check_disk -w 20% -c 10% >> -p >> > /dev/mapper/VolGroup00-LogVol01 >> > command[check_disk3]=/usr/lib64/nagios/plugins/check_disk -w 20% -c 10% >> -p >> > /dev/mapper/VolGroup00-LogVol02 >> > command[check_disk4]=/usr/lib64/nagios/plugins/check_disk -w 20% -c 10% >> -p >> > /dev/mapper/VolGroup01-LogVol00 >> > command[check_md]=/usr/lib64/nagios/plugins/check_swraid >> > command[check_zombie_procs]=/usr/lib64/nagios/plugins/check_procs -w 5 >> -c 10 >> > -s Z >> > command[check_total_procs]=/usr/lib64/nagios/plugins/check_procs -w 200 >> -c >> > 300 >> > >> > >> > >> > On Tue, Aug 12, 2008 at 12:25 PM, wrote: >> > >> >> executing check_nrpe via sudo will not accomplish what you want. You >> >> will need to either modify the nrpe.cfg to execute commands via sudo, >> >> or write a wrapper for check_smartmon. I am not familiar with that >> >> plugin, but you may also be able to edit it and prepend /path/to/sudo >> >> before it execs smartctl. >> >> >> >> >> >> >> >> On 8/12/08, Jake Solid wrote: >> >> > I'm trying to use check_nrpe with check_smartmon but I'm getting >> NRPE: >> >> > Unable to read output at the Nagios Server. *All other check plugins >> >> > like >> >> > check_load and check_procs work fine. >> >> > * >> >> > *I'm running the following command from my nagios server to the >> remote >> >> host: >> >> > * >> >> > *./check_nrpe -H remotehost.domain.com -c check_smartmon* >> >> > >> >> > *and the out put is the following:* >> >> > *NRPE: Unable to read output* >> >> > >> >> > *This is what the remote host logs display:* >> >> > *Aug 12 11:16:13 *remotehost* xinetd[7151]: START: nrpe pid=7986 >> from= >> >> > 198.162.1.1 <- Nagios Server IP Address >> >> > Aug 12 11:16:13 *remotehost* nrpe[7986]: INFO: SSL/TLS initialized. >> All >> >> > network traffic will be encrypted. >> >> > Aug 12 11:16:13 *remotehost* xinetd[7151]: EXIT: nrpe status=0 >> pid=7986 >> >> > duration=0(sec)* >> >> > >> >> > >> >> > *When I use the check_smartmon directly in the remote machine as the >> >> > user >> >> > nagios and using sudo it works fine:* >> >> > [nagios at remotehost plugins]$ sudo >> >> /usr/lib64/nagios/plugins/check_smartmon >> >> > ata -d /dev/sda >> >> > OK: device is functional and stable (temperature: 33) >> >> > >> >> > *If I change the only_from line on /etc/xinetd.d/nrpe file to >> >> > 127.0.0.1and >> >> > I run the following from the remote host I get prompted by a >> password:* >> >> > *[nagios at remotehost plugins]$ sudo >> /usr/lib64/nagios/plugins/check_nrpe >> >> -h >> >> > remotehost.domain.com.latpro.com -c check_smartmon >> >> > Password: >> >> > * >> >> > *The permissions on the device are the following:* >> >> > *[nagios at remotehost plugins]$ ls -lah /dev/sda >> >> > brw-rw---- 1 root disk 8, 0 Jan 8 2008 /dev/sda* >> >> > >> >> > *The disk group also has nagios:* >> >> > disk:x:6:root,nagios >> >> > >> >> > >> >> > *And again the other plugins work fine when they are invoked from the >> >> Nagios >> >> > server. Like the following:* >> >> > [nagios at nagios-server plugins]$ ./check_nrpe -H >> remotehost.domain.com -c >> >> > check_load >> >> > OK - load average: 2.14, 2.44, 2.72|load1=2.140;15.000;30.000;0; >> >> > load5=2.440;10.000;25.000;0; load15=2.720;5.000;20.000;0; >> >> > >> >> > *I added the following line on my remotehost to the /etc/sudoers:* >> >> > nagios ALL=(ALL) NOPASSWD: >> >> > >> >> >> /usr/sbin/smartctl,/usr/lib64/nagios/plugins/check_nrpe,/usr/lib64/nagios/plugins/check_smartmon >> >> > >> >> > I also try running the NRPE as adeamon and not with xinetd and I had >> the >> >> > same issue. >> >> > >> >> > Any inputs? >> >> > >> >> >> > >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marcelo.maia.garcia at googlemail.com Wed Aug 13 17:04:54 2008 From: marcelo.maia.garcia at googlemail.com (Marcelo M. Garcia) Date: Wed, 13 Aug 2008 16:04:54 +0100 Subject: using check_printer to check Ricoh toner Message-ID: <48A2F816.9040909@googlemail.com> Hi. I'm trying to use the plugin "check_printer" to monitor the toners of our Ricoh Aficio 3245C. When I run from the command line it works fine: mgarcia at newt /usr/lib/nagios/plugins $sudo ./check_printer 194.193.148.130 public toner 1 OK - Black Tonermgarcia at newt /usr/lib/nagios/plugins $ I defined a command "check_ricoh_toner": # 'chech_ricoh_toner command definition define command { command_name check_ricoh_toner command_line $USER1$/check_printer $HOSTNAME$ public toner $ARG1$ } And then, the service: mgarcia at newt /etc/nagios/cd-adapco/services $more ricohprinter.cfg # # Printers. define service { host_name ricoh service_description check Ricoh Aficio check_command check_ricoh_toner!1 normal_check_interval 90 max_check_attempts 5 retry_check_interval 15 check_period 24x7 notification_interval 90 notification_period workhours notification_options w,c,r contact_groups cd-admins } But in the web interface I see the message: UNKNOWN - Toner/Ink 1 does not exist! What is wrong? What am I missing? I'm using Nagios in a Fedora 9 box: nagios-2.11-3.fc9.i386. The plugin "check_printer" I downloaded from NagiosExchange. 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 vmanojv at rediffmail.com Wed Aug 13 17:51:03 2008 From: vmanojv at rediffmail.com (Nair) Date: 13 Aug 2008 15:51:03 -0000 Subject: Return code of 127 Message-ID: <20080813155103.2008.qmail@f5mail-236-241.rediffmail.com> Rechard, As per the document: "If this is the error you're getting, check your command definitions and make sure the path to all executables is correct.." But it has been working fine for months and there were no changes in the config. Thanks, Nair ? On Wed, 13 Aug 2008 Richard Savage wrote : >There is a good link to this problem here: > >http://www.nagios.org/faqs/viewfaq.php?faq_id=17 > >I had this a few times and as suggested in the link, the path to the >plugin is invalid. Make sure this path is correct and this should solve >your issue. > >If it continues post the bit from the commands file that is being called >and the path to where your plugins are installed on your system and what >OS, version of nagios you are using. > >Regards > >Richard > >Assaf Flatto wrote: > > Can you provide the section of the nagios log and the messages log that relate to this issue ? > > > > Assaf > > > > > > On Wednesday 13 August 2008 09:06:39 Nair wrote: > > > >> Dear All, > >> > >> Using Nagios 2.11 with mysql DB using ndo2db plugin. > >> > >> I am getting below error and the Nagios server hangs down. > >> > >> (Return code of 127 is out of bounds - plugin may be missing) > >> > >> Nagiosstat output: > >> > >> Used/High/Total Command Buffers: 2561 / 2561 / 32268 > >> Used/High/Total Check Result Buffers: 0 / 0 / 4096 > >> > >> I could see more than 33,000 of NSCA process running where the command > >> buffer is only 4096. Resolved the problem temprorly by increasing the > >> command buffer to 35,000. > >> > >> Still I am under assumption that Mysql query is the root cause of the > >> issue. > >> > >> Please share your ideas, if hav gone simialr issues. > >> > >> Thank you. > >> Nair. > >> > > > > > > > > > > > > > > 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Aug 13 18:07:36 2008 From: aaron.segura at cabelas.com (Aaron M. Segura) Date: Wed, 13 Aug 2008 10:07:36 -0600 Subject: Discovery options? In-Reply-To: <1689390EF608584D85BA56D958A5D1E45D9E59F5BF@CorpExMBS1.arcadis-us.com> References: <2baac6140808130713i108dbb88k69f7cc5e9e01011a@mail.gmail.com> <2baac6140808130716t70c0e208ka408313b60c4340c@mail.gmail.com> <1218637871.16204.24.camel@localhost> <1689390EF608584D85BA56D958A5D1E45D9E59F5BF@CorpExMBS1.arcadis-us.com> Message-ID: <1218643656.10920.9.camel@localhost> Fyi - Groundwork integrates nedi and nagios in their 'professional' version. http://www.groundworkopensource.com/ On Wed, 2008-08-13 at 08:55 -0600, Cook, Garry wrote: > In addition to the two mentioned in the FAQ, there is also NeDi (http://nedi.ch). It's not built for integration with Nagios, but it is open source and uses a MySQL backend. Great tool with lots of cool features. > > Thanks, > Garry > > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Aaron M. Segura > Sent: Wednesday, August 13, 2008 8:31 AM > To: Devon Harding > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Discovery options? > > http://www.nagios.org/faqs/viewfaq.php?faq_id=347 > > On Wed, 2008-08-13 at 10:16 -0400, Devon Harding wrote: > > Are there any discovery options for Nagios? If I have alot of servers > > on a subnet and want to import them, whats the best way? > > > > -Devon > > > > > > > > ------------------------------------------------------------------------- > > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > > Build the coolest Linux based applications with Moblin SDK & win great prizes > > Grand prize is a trip for two to an Open Source event anywhere in the world > > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > > _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 > > > NOTICE: This e-mail and any files transmitted with it are the property of ARCADIS U.S., Inc. and its affiliates. All rights, including without limitation copyright, are reserved. The proprietary information contained in this e-mail message, and any files transmitted with it, is intended for the use of the recipient(s) named above. If the reader of this e-mail is not the intended recipient, you are hereby notified that you have received this e-mail in error and that any review, distribution or copying of this e-mail or any files transmitted with it is strictly prohibited. If you have received this e-mail in error, please notify the sender immediately and delete the original message and any files transmitted. The unauthorized use of this e-mail or any files transmitted with it is prohibite d and disclaimed by ARCADIS U.S., Inc. and its affiliates. > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 zcolgan at clearbearing.com Wed Aug 13 20:19:46 2008 From: zcolgan at clearbearing.com (Zack Colgan) Date: Wed, 13 Aug 2008 14:19:46 -0400 Subject: Freshness checking not triggering immediate notification Message-ID: <48A325C2.9090908@clearbearing.com> Hi all, We're running a distributed Nagios setup (3.0.3 on the master, various versions on the satellites). Freshness checks are enabled on all the passive services, and configured to go stale after 10 minutes of no new check data. What we're running into is the freshness checks, when executed, only put the service in a SOFT state. This isn't very helpful, since we end up waiting another two freshness_threshold intervals (10 minutes, in this case) before the HARD state is reached an we get paged. Is this a bug or a feature? I seem to recall in Nagios 1.0 you would get notified (by virtue of the HARD state) as soon as the threshold was reached. Currently, I've changed the command that gets run upon reaching the threshold to inject three CRITICAL check results for the service in question, to force it to a HARD state, but that seems like a hack. Thanks, -Zack -- Zack Colgan Consulting Engineer ClearBearing, Inc. zcolgan at clearbearing.com (802) 846-1855 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From blissett at xs4all.nl Wed Aug 13 20:42:02 2008 From: blissett at xs4all.nl (Tijn) Date: Wed, 13 Aug 2008 20:42:02 +0200 Subject: (no subject) Message-ID: After an upgrade from Nagios 3.0.1 to 3.0.3 I have some trouble. When I remove an object, a server, from the configuration file; the server is also gone from the web interface, everything looks well. But Nagios keeps sending mails about the server that would be down. I use Nagios in combination with NDOutils. I realized l that I compiled nagios 3.0.3 without the configure parameter --enable-event- broker. After recompilation and a new installation I'm still receiving mail from Nagios about the server that would be down. When I restart Nagios I see in the systemlog the following messages: ==> ndo2db: Error: mysql_query() failed for 'INSERT INTO nagios_configfilevariables SET instance_id='1', configfile_id='19', varname='cfg_file', varvalue='/usr/local/nagios/etc/objects/netware\.cfg'' <== For every cfg file the same message. What can I do? Reinstalling the Mysql/NDO database? Thanks, Tijn ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From al at its-lehmann.de Wed Aug 13 21:02:42 2008 From: al at its-lehmann.de (Arno Lehmann) Date: Wed, 13 Aug 2008 21:02:42 +0200 Subject: using check_printer to check Ricoh toner In-Reply-To: <48A2F816.9040909@googlemail.com> References: <48A2F816.9040909@googlemail.com> Message-ID: <48A32FD2.7050309@its-lehmann.de> Hi, 13.08.2008 17:04, Marcelo M. Garcia wrote: > Hi. > > I'm trying to use the plugin "check_printer" to monitor the toners of > our Ricoh Aficio 3245C. > > When I run from the command line it works fine: > mgarcia at newt /usr/lib/nagios/plugins $sudo ./check_printer > 194.193.148.130 public toner 1 > OK - Black Tonermgarcia at newt /usr/lib/nagios/plugins $ > > I defined a command "check_ricoh_toner": > # 'chech_ricoh_toner command definition > define command { > command_name check_ricoh_toner > command_line $USER1$/check_printer $HOSTNAME$ public toner You probably want to replace HOSTNAME with HOSTADDRESS... Arno > $ARG1$ > } > > And then, the service: > mgarcia at newt /etc/nagios/cd-adapco/services $more ricohprinter.cfg > # > # Printers. > > define service { > host_name ricoh > service_description check Ricoh Aficio > check_command check_ricoh_toner!1 > normal_check_interval 90 > max_check_attempts 5 > retry_check_interval 15 > check_period 24x7 > notification_interval 90 > notification_period workhours > notification_options w,c,r > contact_groups cd-admins > } > > But in the web interface I see the message: > UNKNOWN - Toner/Ink 1 does not exist! > > What is wrong? What am I missing? > > I'm using Nagios in a Fedora 9 box: nagios-2.11-3.fc9.i386. The plugin > "check_printer" I downloaded from NagiosExchange. > > 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 > -- Arno Lehmann IT-Service Lehmann Sandstr. 6, 49080 Osnabr?ck www.its-lehmann.de ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tb at itswny.com Thu Aug 14 00:31:49 2008 From: tb at itswny.com (tb at itswny.com) Date: 13 Aug 2008 22:31:49 -0000 Subject: Blocking ICMP and other issues Message-ID: <20080813223149.18341.qmail@ns94.webmasters.com> I have just installed Fedora 9 and then setup Nagios. I followed Quick Install and it worked wonderfully. I want to Monitor 1 remote server's SMTP. I have been experimenting with 2 configuration files (Pasted at the end for reference) without much luck. With config #1, I receive messages telling me the host is down constantly (I assume this is because it blocks ICMP ping requests) I then found a sample on one of the forums which I tried to implement; but I recieve no messages and Nagios still says host is down in the browser. Basically I'd like to show the host as up and recieve messages when SMTP is unavailable. Does anyone have any samples (Pref with comments) that I can experiment with? I am particually interested in monitoring publically available services. #================================== #CONFIG FILE #1 #================================== define host{ use windows-server host_name myserver alias My Mail address xxx.xxx.xxx.xxx checks_enabled 0 } define hostgroup{ hostgroup_name windows-servers alias Windows Servers } #===============================EOF #================================== #CONFIG FILE #2 #================================== define command{ command_name check_upmail command_line $USER1$/check_smtp -H 64.62.20.243 } define host{ use generic-host host_name myserver alias My Mail address xxx.xxx.xxx.xxx check_command check_upmail max_check_attempts 10 notification_interval 120 notification_period 24x7 notification_options n contact_groups admins } ===============================EOF -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From shaibn at gmail.com Thu Aug 14 05:05:45 2008 From: shaibn at gmail.com (Shai) Date: Thu, 14 Aug 2008 06:05:45 +0300 Subject: problem viewing host groups in cgi In-Reply-To: References: <5A4AE2E1A3A86C4DA672C6ED903343EF012386@misex03.ena.com> <5A4AE2E1A3A86C4DA672C6ED903343EF012389@misex03.ena.com> Message-ID: ping On Wed, Aug 13, 2008 at 7:14 AM, Shai wrote: > Hi, > > Do I have a way around this other then creating a "misc" host group that'll > include all those hosts that some contact groups wish to see? it'll be like > a small salad on my web interface but that's the only way I can think of... > > Shai > > > On Tue, Aug 12, 2008 at 11:45 PM, Marc Powell wrote: > >> >> >> > -----Original Message----- >> > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- >> > bounces at lists.sourceforge.net] On Behalf Of Shai >> > Sent: Tuesday, August 12, 2008 2:37 PM >> > To: Marc Powell >> > Cc: nagios-users at lists.sourceforge.net >> > Subject: Re: [Nagios-users] problem viewing host groups in cgi >> > >> > Hi Marc, >> > >> > I wonder why that is... If I authorize a contact to view a host in the >> > host group, why would I want to deny him from viewing it in the title >> of >> > the host group? seeing the host groups won't harm and he won't have >> access >> > to viewing the other hosts in the that host group. >> >> Until relatively recently, contact assignments were by hostgroup, not by >> host. Because of that, per-host checks were not needed and the CGI logic >> of what hostgroups to display and not display was very straightforward. >> I'm going to have to just guess that Ethan isn't interested, hasn't had >> time to, or hasn't thought to change that behavior. >> >> -- >> 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 jon at netdork.net Thu Aug 14 06:29:18 2008 From: jon at netdork.net (Jon Angliss) Date: Wed, 13 Aug 2008 23:29:18 -0500 Subject: Freshness checking not triggering immediate notification References: <48A325C2.9090908@clearbearing.com> Message-ID: <6sc7a4dfv1b3ekuspanh2bs7dmhvbmdb51@4ax.com> On Wed, 13 Aug 2008 14:19:46 -0400, Zack Colgan wrote: >Hi all, > >We're running a distributed Nagios setup (3.0.3 on the master, various >versions on the satellites). Freshness checks are enabled on all the >passive services, and configured to go stale after 10 minutes of no new >check data. > >What we're running into is the freshness checks, when executed, only put >the service in a SOFT state. This isn't very helpful, since we end up >waiting another two freshness_threshold intervals (10 minutes, in this >case) before the HARD state is reached an we get paged. What's your max_check_attempts for the services? How many failures do you need to get for the passive checks before alerts are generated? I recently (this morning actually) setup passive checks for one of our servers, and had no issues with configuring the freshness checks, but I consider max_check_attempts of 1 to be considered failures on this particular service/check. -- Jon Angliss ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Aug 14 06:44:17 2008 From: jon at netdork.net (Jon Angliss) Date: Wed, 13 Aug 2008 23:44:17 -0500 Subject: using check_printer to check Ricoh toner References: <48A2F816.9040909@googlemail.com> Message-ID: On Wed, 13 Aug 2008 16:04:54 +0100, "Marcelo M. Garcia" wrote: >Hi. > >I'm trying to use the plugin "check_printer" to monitor the toners of >our Ricoh Aficio 3245C. There are several "check_printer" plugins on the nagios exchange, it may be helpful to detail which one you're referring to. > >When I run from the command line it works fine: >mgarcia at newt /usr/lib/nagios/plugins $sudo ./check_printer >194.193.148.130 public toner 1 >OK - Black Tonermgarcia at newt /usr/lib/nagios/plugins $ > You're running this command using the sudo command. This implies a root execution, unless you failed to disclose information about the sudo setup, and how you're executing it. You should always attempt to start the command as the user running the nagios daemon. >I defined a command "check_ricoh_toner": ># 'chech_ricoh_toner command definition >define command { > command_name check_ricoh_toner > command_line $USER1$/check_printer $HOSTNAME$ public toner >$ARG1$ > } > >And then, the service: >mgarcia at newt /etc/nagios/cd-adapco/services $more ricohprinter.cfg ># ># Printers. > >define service { > host_name ricoh > service_description check Ricoh Aficio > check_command check_ricoh_toner!1 > normal_check_interval 90 > max_check_attempts 5 > retry_check_interval 15 > check_period 24x7 > notification_interval 90 > notification_period workhours > notification_options w,c,r > contact_groups cd-admins >} > >But in the web interface I see the message: >UNKNOWN - Toner/Ink 1 does not exist! > >What is wrong? What am I missing? Guessing you're using the PHP version from ciphron.de, it requires php with SNMP support. You've already validated that it exists due to being able to execute it under sudo, so the next thing would be a quick sample script to validate, and get real errors. The PHP script has the errors masked, so it makes it harder to debug. Use the following as a sample: #!/usr/bin/php Save as a script, make executable, and run as the user executing nagios. snmpget might be returning an error message in the script that is being masked with the @ symbol. -- Jon Angliss ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Aug 14 06:46:28 2008 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Thu, 14 Aug 2008 06:46:28 +0200 Subject: Blocking ICMP and other issues In-Reply-To: <20080813223149.18341.qmail@ns94.webmasters.com> References: <20080813223149.18341.qmail@ns94.webmasters.com> Message-ID: <48A3B8A4.5050105@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 tb at itswny.com wrote: | I have just installed Fedora 9 and then setup Nagios. I followed Quick Install and it worked wonderfully. I want to Monitor 1 remote server's SMTP. I have been experimenting with 2 configuration files (Pasted at the end for reference) without much luck. With config #1, I receive messages telling me the host is down constantly (I assume this is because it blocks ICMP ping requests) I then found a sample on one of the forums which I tried to implement; but I recieve no messages and Nagios still says host is down in the browser. Basically I'd like to show the host as up and recieve messages when SMTP is unavailable. Does anyone have any samples (Pref with comments) that I can experiment with? I am particually interested in monitoring publically available services. There is no substitute for reading the manual. (cover to cover) You can use whatever check you like to run as a check on the host. So if you can not ping the default check is pointless. If SMTP is the only service open then use check_smtp as host 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) iD8DBQFIo7igBvzDRVjxmYERAjCRAJoD39ByhSi36PD/Qo4tTuMQ753sQACfdCqx ESq4oWdcj0C6OZFLJDXwIso= =N9qi -----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 james.mohr at elaxy.com Thu Aug 14 07:39:45 2008 From: james.mohr at elaxy.com (Mohr James) Date: Thu, 14 Aug 2008 07:39:45 +0200 Subject: first_notification_delay set but notifications still being send immediately Message-ID: Hi All! We have a service that is configured like this: define service { use archiv_service host_name c21-app-01 service_description d.3 gateway check_command none active_checks_enabled 0 max_check_attempts 1 first_notification_delay 5 normal_check_interval 180 notification_interval 180 } With interval_length=60, this should mean that the services should wait 5 minutes before sending out a notification. This morining, we had these entries in the history: [08-14-2008 06:19:51] SERVICE ALERT: c21-app-01;d.3 gateway;OK;HARD;1;OK [08-14-2008 06:19:41] SERVICE ALERT: c21-app-01;d.3 gateway;CRITICAL;HARD;1;Error A notification was sent at 08-14-2008 06:19:41, but this it does not make sense to me. Any help is appreciated. Regards, Jim Mohr ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Aug 14 07:51:20 2008 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Thu, 14 Aug 2008 07:51:20 +0200 Subject: first_notification_delay set but notifications still being send immediately In-Reply-To: References: Message-ID: <48A3C7D8.5040106@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Mohr James wrote: | define service { | use archiv_service | host_name c21-app-01 | service_description d.3 gateway | check_command none | active_checks_enabled 0 | max_check_attempts 1 | first_notification_delay 5 | normal_check_interval 180 | notification_interval 180 | } What Nagios version? And just for fun. Remove the whitespace from the description. See if it matters. 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) iD8DBQFIo8fXBvzDRVjxmYERAvGHAKCI3hsCiOBnX23nGcdu46HziZYYqwCgsEKc RJcXeEMPGY1Wfa+NmLevC0c= =MRrF -----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 james.mohr at elaxy.com Thu Aug 14 08:20:49 2008 From: james.mohr at elaxy.com (Mohr James) Date: Thu, 14 Aug 2008 08:20:49 +0200 Subject: first_notification_delay set but notifications still being send immediately In-Reply-To: <20080814155802.H72218@mippet.ci.com.au> References: <48A3C7D8.5040106@vanderkooij.org> <20080814155802.H72218@mippet.ci.com.au> Message-ID: > -----Urspr?ngliche Nachricht----- > Von: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] Im > Auftrag von Dave Horsfall > Gesendet: Donnerstag, 14. August 2008 08:00 > An: Nagios Users Mailinglist > Betreff: Re: [Nagios-users] first_notification_delay set but > notifications still being send immediately > > On Thu, 14 Aug 2008, Hugo van der Kooij wrote: > > > | service_description d.3 gateway > > > > And just for fun. Remove the whitespace from the > description. See if > > it matters. > > It's more likely complaining about the ".". From the > documentation, only spaces, dashes and colons are allowed as > punctuation; I guess it's a way to avoid funny business with > shell characters. > Thanks for the responses. Sorry about forgetting the version: Nagios 3.0. I'll give it a shot and rename the service and see what happens. Regards Jim Mohr ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Aug 14 10:25:24 2008 From: assaf.flatto at ssp.uk.com (Assaf Flatto) Date: Thu, 14 Aug 2008 08:25:24 +0000 Subject: (no subject) In-Reply-To: References: Message-ID: <200808140825.24361.assaf.flatto@ssp.uk.com> Tjin I've had the same issue a while back , the problem is that the mysql NDO configuration still has the definitions of the old definitions. what you an try - and it worked for me - is this : Stop mysql . stop nagios . change the configuration to the new one you need . start nagios . Start mysql . this will have ndo read the current config and use that as the base line . Assaf On Wednesday 13 August 2008 18:42:02 Tijn wrote: > After an upgrade from Nagios 3.0.1 to 3.0.3 I have some trouble. When > I remove an object, a server, from the configuration file; the server > is also gone from the web interface, everything looks well. But > Nagios keeps sending mails about the server that would be down. > > I use Nagios in combination with NDOutils. I realized l that I > compiled nagios 3.0.3 without the configure parameter --enable-event- > broker. > After recompilation and a new installation I'm still receiving mail > from Nagios about the server that would be down. > > When I restart Nagios I see in the systemlog the following messages: > ==> > ndo2db: Error: mysql_query() failed for 'INSERT INTO > nagios_configfilevariables SET instance_id='1', configfile_id='19', > varname='cfg_file', > varvalue='/usr/local/nagios/etc/objects/netware\.cfg'' > <== > For every cfg file the same message. > > What can I do? Reinstalling the Mysql/NDO database? > > Thanks, > Tijn > > > > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge Build the coolest Linux based applications with Moblin SDK & win > great prizes Grand prize is a trip for two to an Open Source event anywhere > in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > ::: reporting any issue. Messages without supporting info will risk being > ::: sent to /dev/null IMPORTANT . this email and the information in it may be confidential, legally privileged and/or protected by law. It is intended solely for the use of the person to whom it is addressed. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Please also delete all copies of this email and any attachments from your system. We cannot guarantee the security or confidentiality of email communications. We do not accept any liability for losses or damages that you may suffer as a result of your receipt of this email including but not limited to computer service or system failure, access delays or interruption, data non-delivery or mis-delivery, computer viruses or other harmful components. Copyright in this email and any attachments belong to Select Service Partner UK Limited. Should you communicate with anyone at Select Service Partner UK Limited by email, you consent to us monitoring and reading any such correspondence. Nothing in this email shall be taken or read as suggesting, proposing or relating to any agreement concerted practice or other practice that could infringe UK or EC competition legislation. Select Service Partner UK Limited is a company registered in England and Wales (company number 05687183) whose registered office is at 1 The Heights, Brooklands, Weybridge. Surrey. KT13 0NY ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marcelo.maia.garcia at googlemail.com Thu Aug 14 12:47:36 2008 From: marcelo.maia.garcia at googlemail.com (Marcelo M. Garcia) Date: Thu, 14 Aug 2008 11:47:36 +0100 Subject: using check_printer to check Ricoh toner In-Reply-To: <48A32FD2.7050309@its-lehmann.de> References: <48A2F816.9040909@googlemail.com> <48A32FD2.7050309@its-lehmann.de> Message-ID: <48A40D48.6080506@googlemail.com> Arno Lehmann wrote: > Hi, > > 13.08.2008 17:04, Marcelo M. Garcia wrote: >> Hi. >> >> I'm trying to use the plugin "check_printer" to monitor the toners of >> our Ricoh Aficio 3245C. >> >> When I run from the command line it works fine: >> mgarcia at newt /usr/lib/nagios/plugins $sudo ./check_printer >> 194.193.148.130 public toner 1 >> OK - Black Tonermgarcia at newt /usr/lib/nagios/plugins $ >> >> I defined a command "check_ricoh_toner": >> # 'chech_ricoh_toner command definition >> define command { >> command_name check_ricoh_toner >> command_line $USER1$/check_printer $HOSTNAME$ public toner > > You probably want to replace HOSTNAME with HOSTADDRESS... > > Arno > Hi. This solved the problem. 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 caronc at navcanada.ca Thu Aug 14 14:56:22 2008 From: caronc at navcanada.ca (Caron, Chris) Date: Thu, 14 Aug 2008 08:56:22 -0400 Subject: Includes using includes... Message-ID: <474534909BE4064E853161350C47578E0BBCE29C@ncrmail1.corp.navcan.ca> Hi guys, I want to use the Nagios directive: 'cfg_dir=/new/directory' from within a cfg_dir= defined already in the /etc/nagios/nagios.cfg file... The reason? Simple: We have a cluster that has projects being dropped in and out all the time... each project is stored in: /opt/ I wanted to add a: /opt//nagios directory to each project so they can add and remove to it and keep with the global monitoring of the cluster. Thus keeping all monitoring centralized... I was hoping I could do this through the adding and removing of files (similar to how all other programs/services work) instead of manipulating a file. I want to avoid using 'sed' and updating the nagios.cfg file each time a project is added or removed. Is this possible? In retrospect: /etc/nagios/nagios.cfg > #line 30 > cfg_dir=/etc/nagios/includes /etc/nagios/includes/.cfg > #line 1 > cfg_dir=/opt//nagios $> ls /opt//nagios Test.cfg Test2.cfg Etc... My proposed idea (an cfg_dir in a config file within a previously defined cfg_dir) does not work... But I was curious on workarounds or other great suggestions from others on ways around this. Chris -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Aug 14 16:05:30 2008 From: jon at netdork.net (Jon Angliss) Date: Thu, 14 Aug 2008 09:05:30 -0500 Subject: Blocking ICMP and other issues References: <20080813223149.18341.qmail@ns94.webmasters.com> Message-ID: On 13 Aug 2008 22:31:49 -0000, tb at itswny.com wrote: > I have just installed Fedora 9 and then setup Nagios. I followed Quick Install and it worked wonderfully. > I want to Monitor 1 remote server's SMTP. I have been experimenting with 2 configuration files (Pasted > at the end for reference) without much luck. With config #1, I receive messages telling me the host is > down constantly (I assume this is because it blocks ICMP ping requests) I then found a sample on one > of the forums which I tried to implement; but I recieve no messages and Nagios still says host is down in > the browser. Basically I'd like to show the host as up and recieve messages when SMTP is unavailable. > Does anyone have any samples (Pref with comments) that I can experiment with? I am particually > interested in monitoring publically available services. >#================================== >#CONFIG FILE #1 >#================================== >define host{ >use windows-server >host_name myserver >alias My Mail >address xxx.xxx.xxx.xxx >checks_enabled 0 >} Is there any resaon you have checks_enabled set to 0? I also cannot find a checks_enabled directive, it's either active_checks_enabled or passive_checks_enabled. >define hostgroup{ >hostgroup_name windows-servers >alias Windows Servers >} >#===============================EOF >#================================== >#CONFIG FILE #2 >#================================== >define command{ >command_name check_upmail >command_line $USER1$/check_smtp -H 64.62.20.243 >} You should try using variables instead of hard coding services, especially when it comes to commands, and host variables. You should try using $HOSTADDRESS$. This'll make it so you can reuse the same command later. > >define host{ >use generic-host >host_name myserver >alias My Mail >address xxx.xxx.xxx.xxx >check_command check_upmail >max_check_attempts 10 >notification_interval 120 >notification_period 24x7 >notification_options n >contact_groups admins >} >===============================EOF Have you tried forcing a check of the server? Does it still say it's down? Can you run check_smtp -H from the command, as nagios user to validate the service can talk to it? -- Jon Angliss ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Aug 14 16:11:28 2008 From: marc at ena.com (Marc Powell) Date: Thu, 14 Aug 2008 09:11:28 -0500 Subject: Includes using includes... In-Reply-To: <474534909BE4064E853161350C47578E0BBCE29C@ncrmail1.corp.navcan.ca> References: <474534909BE4064E853161350C47578E0BBCE29C@ncrmail1.corp.navcan.ca> Message-ID: <2C7B31BC-7A69-461A-9290-256C9FB1EFD3@ena.com> On Aug 14, 2008, at 7:56 AM, Caron, Chris wrote: > Hi guys, > > I want to use the Nagios directive: ?cfg_dir=/new/directory? from > within a cfg_dir= defined already in the /etc/nagios/nagios.cfg file? cfg_dir is only valid within nagios.cfg. There can be only one nagios.cfg so that would not be permitted. > My proposed idea (an cfg_dir in a config file within a previously > defined cfg_dir) does not work? But I was curious on workarounds or > other great suggestions from others on ways around this. Reading the code (xdata/xodtemplate.c/ xodtemplate_process_config_dir{}), nagios will only parse files with a '.cfg' extension within the cfg_dir so you may just be able to add a cfg_dir of '/opt' IFF the only files under that with a .cfg extension are nagios config files. -- Marc ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Aug 14 16:19:52 2008 From: marc at ena.com (Marc Powell) Date: Thu, 14 Aug 2008 09:19:52 -0500 Subject: problem viewing host groups in cgi In-Reply-To: References: <5A4AE2E1A3A86C4DA672C6ED903343EF012386@misex03.ena.com> <5A4AE2E1A3A86C4DA672C6ED903343EF012389@misex03.ena.com> Message-ID: On Aug 13, 2008, at 10:05 PM, Shai wrote: > ping > > On Wed, Aug 13, 2008 at 7:14 AM, Shai wrote: > Hi, > > Do I have a way around this other then creating a "misc" host group > that'll include all those hosts that some contact groups wish to > see? it'll be like a small salad on my web interface but that's the > only way I can think of... Other than modifying the cgi's to change that behavior, none that I can think of. -- 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 mashtin.bakir at gmail.com Thu Aug 14 16:25:31 2008 From: mashtin.bakir at gmail.com (mashtin.bakir at gmail.com) Date: Thu, 14 Aug 2008 10:25:31 -0400 Subject: cgi or apache problem with nagios 3 Message-ID: <2f3389080808140725w2516acfftca06b2427ef5a884@mail.gmail.com> Inheritted a nagios 3.0.2 install on suse 10.1-32 bit. All parts were working recently but someone did something.... Specifically, the CGIs don't seem to work; firefox asks if you want to save trends.cgi or statusmap.cgi to disk or run it with a particular local utility. The really wierd thing is this install has nagiosgraph in it which uses cgi pages to generate the rrd, png pages. So I backed up everything (configs in particular) and reinstalled all pieces. ./configure --with-cgiurl=/nagios/cgi-bin --with-htmlurl=/nagios/ --with-nagios-user=nagios \ --with-nagios-group=nagios --with-command-group=nagios No errors, it finds GD library but says Package glib-2.0 was not found in the pkg-config search path so I try to build andinstall glib-2.0.7 Gives a few warnings but seems to complete but doesn't seem to install files. I copy glib-2.0.pc to /usr/local/lib and export PKG_CONFIG_PATH=/usr/local/lib do an ldconfig, go back to the nagios area and make clean and run configure again, at the very end, while compiling statusmap.cgi etc I see an undefined reference to `gdImageCraeteFromJpeg` but everything else is happy Not sure if the above (glib) is a problem as again, nagiosgraph runs fine. My httpd.conf has the following in it ScriptAlias /nagiosgraph/ /usr/local/nagios/nagiosgraph/ Options None AllowOverride None Order allow,deny Allow from all ScriptAlias /nagios/cgi-bin /usr/local/nagios/sbin Options ExecCGI AllowOverride None Order allow,deny Allow from all AuthName "Nagios Access" AuthType Basic AuthUserFile /usr/local/nagios/etc/htpasswd.users Require valid-user Alias /nagios /usr/local/nagios/share Options None AllowOverride None Order allow,deny Allow from all AuthName "Nagios Access" AuthType Basic AuthUserFile /usr/local/nagios/etc/htpasswd.users Require valid-user Is the above correct for nagios 3.0.2? I'm used to nagios 2 where the above is listed in the documentation. I presume that with nagios 3, this is not required(?) (but in any case, I put it in) I also try running the cgis from command line, both statusmap.cgi and trends.cgi produce: cannot execute binary file (by contrast status.cgi produces the message about guessing that you're running this from the command line and need a GET or POST). Apache error logs shows premature end of script headers What do I need to do? 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 marc at ena.com Thu Aug 14 16:29:53 2008 From: marc at ena.com (Marc Powell) Date: Thu, 14 Aug 2008 09:29:53 -0500 Subject: (no subject) In-Reply-To: References: Message-ID: <52CD849B-1160-43C9-B18E-6C12EA5E3D99@ena.com> On Aug 13, 2008, at 1:42 PM, Tijn wrote: > After an upgrade from Nagios 3.0.1 to 3.0.3 I have some trouble. When > I remove an object, a server, from the configuration file; the server > is also gone from the web interface, everything looks well. But > Nagios keeps sending mails about the server that would be down. You have multiple nagios daemons running at the same time. One with the old config and one with the new. > I use Nagios in combination with NDOutils. I realized l that I > compiled nagios 3.0.3 without the configure parameter --enable-event- > broker. > After recompilation and a new installation I'm still receiving mail > from Nagios about the server that would be down. ndoutils has no affect on or association with notifications. It's only purpose is to store status information in a database for use outside of nagios. > When I restart Nagios I see in the systemlog the following messages: > ==> > ndo2db: Error: mysql_query() failed for 'INSERT INTO > nagios_configfilevariables SET instance_id='1', configfile_id='19', > varname='cfg_file', > varvalue='/usr/local/nagios/etc/objects/netware\.cfg'' > <== > For every cfg file the same message. > > What can I do? Reinstalling the Mysql/NDO database? I see these too but haven't been concerned with figuring out what causes it since the data is in the database and I don't have a real use for it at this point. That's just to say that it doesn't have anything to do with your notification issue or have any affect on nagios' operation. -- Marc ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Aug 14 16:31:48 2008 From: marc at ena.com (Marc Powell) Date: Thu, 14 Aug 2008 09:31:48 -0500 Subject: first_notification_delay set but notifications still being send immediately In-Reply-To: References: Message-ID: On Aug 14, 2008, at 12:39 AM, Mohr James wrote: > Hi All! > > > [08-14-2008 06:19:51] SERVICE ALERT: c21-app-01;d.3 gateway;OK;HARD; > 1;OK > [08-14-2008 06:19:41] SERVICE ALERT: c21-app-01;d.3 > gateway;CRITICAL;HARD;1;Error > > A notification was sent at 08-14-2008 06:19:41, but this it does not > make sense to me. Any help is appreciated. A SERVICE ALERT is not a notification. Do you have a corresponding NOTIFICATION logged? Just trying to cover the base of multiple nagios daemons... -- 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 zcolgan at clearbearing.com Thu Aug 14 17:05:04 2008 From: zcolgan at clearbearing.com (Zack Colgan) Date: Thu, 14 Aug 2008 11:05:04 -0400 Subject: Freshness checking not triggering immediate notification In-Reply-To: <6sc7a4dfv1b3ekuspanh2bs7dmhvbmdb51@4ax.com> References: <48A325C2.9090908@clearbearing.com> <6sc7a4dfv1b3ekuspanh2bs7dmhvbmdb51@4ax.com> Message-ID: <48A449A0.2030707@clearbearing.com> Jon Angliss wrote: > On Wed, 13 Aug 2008 14:19:46 -0400, Zack Colgan > wrote: > >> Hi all, >> >> We're running a distributed Nagios setup (3.0.3 on the master, various >> versions on the satellites). Freshness checks are enabled on all the >> passive services, and configured to go stale after 10 minutes of no new >> check data. >> >> What we're running into is the freshness checks, when executed, only put >> the service in a SOFT state. This isn't very helpful, since we end up >> waiting another two freshness_threshold intervals (10 minutes, in this >> case) before the HARD state is reached an we get paged. > > What's your max_check_attempts for the services? How many failures do > you need to get for the passive checks before alerts are generated? I > recently (this morning actually) setup passive checks for one of our > servers, and had no issues with configuring the freshness checks, but > I consider max_check_attempts of 1 to be considered failures on this > particular service/check. max_check_attempts is set to 3, since we normally would want that many checks to be evaluated before alerting us. Your instance with one max_check_attempt avoids the problem we're having. Thanks, -Zack -- Zack Colgan Consulting Engineer ClearBearing, Inc. zcolgan at clearbearing.com (802) 846-1855 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Aug 14 17:10:19 2008 From: Bret.Goodfellow at questar.com (Bret Goodfellow) Date: Thu, 14 Aug 2008 09:10:19 -0600 Subject: Nagios fails to start after adding 'check_logs.pl' service Message-ID: <91EDB00F83BAD443A9D05FA67623955A027C805B@QMAIL.corp.questar.com> I have started monitoring the nagios server (local checks), and all has worked fine until I added a service to check the local logs. When the 'check_local_logs' service is added, the startup of Nagios fails after about 10 seconds. I have also run 'strace' but am not sure how to interpret. Thanks in advance, Bret Goodfellow Here is the output in /var/log/messages: Aug 14 08:56:29 colorado nagios: Nagios 2.10 starting... (PID=6939) Aug 14 08:56:29 colorado nagios: LOG VERSION: 2.0 Aug 14 08:56:29 colorado nagios: Warning: Contact 'oc02497' is not a member of any contact groups! Aug 14 08:56:29 colorado nagios: Warning: Contact 'oc02571' is not a member of any contact groups! Aug 14 08:56:29 colorado nagios: Warning: Contact 'oc03101' is not a member of any contact groups! Aug 14 08:56:29 colorado nagios: Warning: Contact 'oc03214' is not a member of any contact groups! Aug 14 08:56:29 colorado nagios: Warning: Contact 'oc09687' is not a member of any contact groups! Aug 14 08:56:29 colorado nagios: Warning: Contact group 'oracle-admins-oncall' is not used in any host/service definitions or host/service escalations! Aug 14 08:56:29 colorado nagios: Warning: Contact group 'web-dev' is not used in any host/service definitions or host/service escalations! Aug 14 08:56:29 colorado nagios: Warning: Contact group 'web-dev-page' is not used in any host/service definitions or host/service escalations! Aug 14 08:56:29 colorado nagios: Finished daemonizing... (New PID=6940) Aug 14 08:56:41 colorado nagios: Caught SIGSEGV, shutting down... Here is the command definition: # 'check_local_logs' command definition define command{ command_name check_local_logs command_line $USER1$/check_logs.pl -c $ARG1$ } Here is the service defintion: # ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ # Service definition: check_local_logs for linux # ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ++++++ # + this is a TEST service which looks for "HELLO THERE!" in /var/log/messages + # ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ++++++ define service{ use generic-service ; Name of service template to use host_name colorado service_description Scan Logs - linux is_volatile 0 check_period 24x7 max_check_attempts 1 normal_check_interval 1 retry_check_interval 1 contact_groups linux-admins,linux-admins-page notification_interval 1440 notification_period 24x7 notification_options c check_command check_local_logs!/etc/nagios/check_logs_linux.cfg! } Here is the host defintion: ######################################################################## ############## # 'colorado' host definition # ######################################################################## ############## define host{ use generic-host ; Name of host template to use host_name colorado alias colorado address 10.8.64.201 check_command check-host-alive contact_groups linux-admins,linux-admins-page,oracle-admins max_check_attempts 10 max_check_attempts 10 notification_interval 480 notification_period 24x7 notification_options d,u,r } Here is a copy of /etc/nagios/check_logs_linux.cfg # /etc/nagios/check_logs_linux.cfg $seek_file_template='/var/log/nagios/$log_file.check_log.linux.seek'; @log_files = ( {'file_name' => '/var/log/messages', 'reg_exp' => 'HELLO THERE!', }, ); 1; -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Aug 14 19:04:29 2008 From: marc at ena.com (Marc Powell) Date: Thu, 14 Aug 2008 12:04:29 -0500 Subject: Nagios fails to start after adding 'check_logs.pl' service In-Reply-To: <91EDB00F83BAD443A9D05FA67623955A027C805B@QMAIL.corp.questar.com> References: <91EDB00F83BAD443A9D05FA67623955A027C805B@QMAIL.corp.questar.com> Message-ID: <68C0BB58-AA69-4928-8A31-F0059F0FF379@ena.com> On Aug 14, 2008, at 10:10 AM, Bret Goodfellow wrote: > > I have started monitoring the nagios server (local checks), and all > has worked fine until I added a service to check the local logs. > When the 'check_local_logs' service is added, the startup of Nagios > fails after about 10 seconds. I have also run 'strace' but am not > sure how to interpret. Maybe post the last 50 lines or so of the strace output... > Aug 14 08:56:29 colorado nagios: Finished daemonizing... (New > PID=6940) Aug 14 08:56:41 colorado nagios: Caught SIGSEGV, shutting > down... > define service{ > check_command check_local_logs!/etc/nagios/ > check_logs_linux.cfg! > } Try leaving off the last '!'. That indicates to nagios that there is another $ARGx$ to follow but none is present. Perhaps you're tweaking a bug that doesn't know how to handle that properly. If it persists, try a more recent version of nagios (2.12 or 3.0.). -- 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 Bret.Goodfellow at questar.com Thu Aug 14 19:40:31 2008 From: Bret.Goodfellow at questar.com (Bret Goodfellow) Date: Thu, 14 Aug 2008 11:40:31 -0600 Subject: Nagios fails to start after adding'check_logs.pl' service References: <91EDB00F83BAD443A9D05FA67623955A027C805B@QMAIL.corp.questar.com> <68C0BB58-AA69-4928-8A31-F0059F0FF379@ena.com> Message-ID: <91EDB00F83BAD443A9D05FA67623955A065030@QMAIL.corp.questar.com> Okay, I removed the trailing "!" from the check_command statement. I might also mention that the check_logs.pl works fine with all monitoring of remote systems. I can also run check_logs.pl (as nagios) from the shell, and it works as well. Here is the last part of the strace: [pid 22473] lseek(4, 0, SEEK_CUR) = 0 [pid 22473] read(4, "-----BEGIN DSA PRIVATE KEY-----\nMIIDPgIBAAKCAQEAzTULry8dAYweYFywxOzvhLZTO9f3YZBTdahf3VineUduyBoX\n5denPMUjQslNq+twgkP5osLe6tXs6QY3J6DJy+TcqDsYDPMPJkpfmncEsdtQqG4a\nXX8IG8gQlEKFfO1v06NwOTjXEe1pCVjikWvGYMhXrx3n1cINFQZNP67de5gfKGF5\nsq/6N9Z4n6e/NCMYc3xwXLDRInY1VTrsG6C84pbagvY3zjLctyEyF5blPjexTV0l\nk58IFlecJP9uyCJAmib4OfnuLftQmNxFVlNYf9eqdU42025DZ4uVYO06Aolhi5ry\npGCx2NvXBOFWnQWxo9y9Yjmd35+VP/GKsCajlQIVANSlQN+/Y/0SWuy6RWTlfU7w\nDdyXAoIBABoJj3nZqsfIDGs7O+JetKRdkpML75g+QGEoNcci31ccBgyD/mQUXSUc\nPlm9YRZM5XQZL7/R3zoz4/0Ic"..., 4096) = 1192 [pid 22473] close(4) = 0 [pid 22473] munmap(0x2a9556c000, 4096) = 0 [pid 22473] write(3, ")=t\270\341\264wE\361\207\340PJ\n\252\374kJ\0165 \267\230\345\373j\272:\24\350O\207\333h\237vK\27,)\227\n!\267s\243!\10H\330@\332\314\331O\272\v\225\fq8I9\244\341\316\236\243\314\2052\306\210b\n2\0\351 \16hc[7\6\"\266\301\366\377\305\346q\343O\275U9\360a\222\250\261h\325)\326\350\341\34\377\3122\225\1\314i\2 06\201\361#\277H\334\'c\225=\31\367I\32\354\252\275#\225\265I\326\214\0\347*\304G]\242\25\370f\330;\223\245b\215\227u\37S\316Ui\234\230\263\361\365\315\200\361\35\1\5/B\317\212\336\331\17\32 4\251\210\377\254\16\275\215\5\336\261\223\340\365e\321\332\220,\356|\341\375/\310\340\357\346\337\260t", 8192) = 48 [pid 22473] getsockname(3, {sa_family=AF_INET, sin_port=htons(32103), sin_addr=inet_addr("10.8.64.201")}, [7457116566585344016]) = 0 [pid 22473] setsockopt(3, SOL_IP, IP_TOS, [8], 4) = 0 [pid 22473] select(9, [3], [3], NULL, NULL) = 1 (out [3]) [pid 22473] write(3, "\362\350\367\305\266^\370\226?\27\32\34\300(\354\t\222v\227 at J$~\242\25\254\357<\312\30\303\323\6\33\'\326dg/VT\234\v\341\252c\20\207P\vQ\26b-\351\233\307\362\35\346\6c\232\201\222\365\30\3375\225\226\375\272\245\3638\22V\340\3373\6\327\356M\351C\204\261K\311j\3768@\356c6CXW\252\17u\355s\24&\365\312G,", 112) = 112 [pid 22473] select(9, [3], [], NULL, NULL) = 1 (in [3]) [pid 22473] read(3, "k\361\300\377L\236\215\306,J\5\215\7$\253UZ\340k\v\326\252B\200\241\236\177\1\360\310J\311\334B\377L%t\33q\17\330\177\324e\263\23r", 8192) = 48 [pid 22473] select(9, [3 4], [], NULL, NULL) = 1 (in [4]) [pid 22473] read(4, "", 16384) = 0 [pid 22473] close(4) = 0 [pid 22473] select(9, [3], [3], NULL, NULL) = 1 (out [3]) [pid 22473] write(3, "\325\274\310\367)~V\33F\2537\35786/~&\4\240([\34\2065\376\347#\376\35\231\22\r", 32) = 32 [pid 22473] select(9, [3], [], NULL, NULL) = 1 (in [3]) [pid 22473] read(3, ".\34\347\227\236\4\t$\230\336\17\3\344iwQ\300=\253sm#\342\235\317\330\333gx\35W\274JE{+\304n\322G\317b\246\264\266\354\320\214ng\206*&\201i\265=\232G\366\347f\267\350^\26w\321\370w\31Z\212\340R4\37\233\3%\277QA$\374p\224<`&U\242\247\244\2424", 8192) = 96 [pid 22473] select(9, [3], [6], NULL, NULL) = 1 (out [6]) [pid 22473] write(6, "PROCS OK: 0 processes with command name \'Xvnc\'\n", 47) = 47 [pid 22472] <... read resumed> "PROCS OK: 0 processes with command name \'Xvnc\'\n", 4096) = 47 [pid 22473] select(9, [3], [], NULL, NULL [pid 22472] read(3, [pid 22473] <... select resumed> ) = 1 (in [3]) [pid 22473] read(3, "\214\371\371T\376\257\354\346\377g\240\257\353!\373\363\225+\272\232\335dm\207\23\372rz\\\10v\25\20*\252\10\303<=\304\331\35\234T\366\370\r\213p\34\245R#\7p\204d\376\337\311H}\fd\340\25\326X7{l5\334v\243\365\271\204\263\221m\220\26\257\25\216\361V\334~\331W\177\203\266\322Qv\274\276:\363\273\262;\3530\373\202;\347\n\20\361\377c!\210\274Z\205y\261l\6\234E\317", 8192) = 128 [pid 22473] close(6) = 0 [pid 22473] close(8) = 0 [pid 22473] select(9, [3], [3], NULL, NULL) = 1 (out [3]) [pid 22473] write(3, "X\0\2546\333\312\270Q7\257\310\7\366LJY\3\16\315\243\204\331\203\327\232\335\37Wj\377?\371", 32) = 32 [pid 22473] ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, 0x7fbfffd7d0) = -1 ENOTTY (Inappropriate ioctl for device) [pid 22473] fcntl(0, F_GETFL) = 0x8800 (flags O_RDONLY|O_NONBLOCK|O_LARGEFILE) [pid 22473] fcntl(0, F_SETFL, O_RDONLY|O_LARGEFILE) = 0 [pid 22473] ioctl(1, SNDCTL_TMR_TIMEBASE or TCGETS, 0x7fbfffd7d0) = -1 EINVAL (Invalid argument) [pid 22473] fcntl(1, F_GETFL) = 0x801 (flags O_WRONLY|O_NONBLOCK) [pid 22473] fcntl(1, F_SETFL, O_WRONLY) = 0 [pid 22473] ioctl(2, SNDCTL_TMR_TIMEBASE or TCGETS, 0x7fbfffd7d0) = -1 EINVAL (Invalid argument) [pid 22473] fcntl(2, F_GETFL) = 0x801 (flags O_WRONLY|O_NONBLOCK) [pid 22473] fcntl(2, F_SETFL, O_WRONLY) = 0 [pid 22473] brk(0x552ac2b000) = 0x552ac2b000 [pid 22473] shutdown(3, 2 /* send and receive */) = 0 [pid 22473] close(3) = 0 [pid 22473] exit_group(0) = ? Process 22473 detached [pid 22472] <... read resumed> "", 4096) = 0 [pid 22472] --- SIGCHLD (Child exited) @ 0 (0) --- [pid 22472] read(6, "", 4096) = 0 [pid 22472] close(3) = 0 [pid 22472] wait4(22473, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 22473 [pid 22472] fstat(1, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0 [pid 22472] mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2a983c1000 [pid 22472] write(1, "PROCS OK: 0 processes with command name \'Xvnc\'\n", 47 [pid 22471] <... read resumed> "PROCS OK: 0 processes with command name \'Xvnc\'\n", 4096) = 47 [pid 22472] <... write resumed> ) = 47 [pid 22471] read(6, [pid 22472] exit_group(0) = ? Process 22472 detached [pid 22471] <... read resumed> "", 4096) = 0 [pid 22471] close(6) = 0 [pid 22471] --- SIGCHLD (Child exited) @ 0 (0) --- [pid 22471] wait4(22472, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 22472 [pid 22471] munmap(0x2a95558000, 4096) = 0 [pid 22471] alarm(0) = 89 [pid 22471] write(7, "city\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0proc - Xvnc\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\1\0\0\0\0\0\0\0\1\0\0\0\306m\244H\0\0\0\0^\262\r\0\0\0\0\0\307m\244H\0\0\0\0\6\244\v\0\0\0\0\0\0\0\0\0PROCS OK: 0 processes with command name \'Xvnc\'\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0 \0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0 \0\0", 512) = -1 EPIPE (Broken pipe) [pid 22471] --- SIGPIPE (Broken pipe) @ 0 (0) --- Process 22471 detached Process 15735 detached [root at colorado log]# -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net on behalf of Marc Powell Sent: Thu 8/14/2008 11:04 AM To: nagios List Subject: Re: [Nagios-users] Nagios fails to start after adding'check_logs.pl' service On Aug 14, 2008, at 10:10 AM, Bret Goodfellow wrote: > > I have started monitoring the nagios server (local checks), and all > has worked fine until I added a service to check the local logs. > When the 'check_local_logs' service is added, the startup of Nagios > fails after about 10 seconds. I have also run 'strace' but am not > sure how to interpret. Maybe post the last 50 lines or so of the strace output... > Aug 14 08:56:29 colorado nagios: Finished daemonizing... (New > PID=6940) Aug 14 08:56:41 colorado nagios: Caught SIGSEGV, shutting > down... > define service{ > check_command check_local_logs!/etc/nagios/ > check_logs_linux.cfg! > } Try leaving off the last '!'. That indicates to nagios that there is another $ARGx$ to follow but none is present. Perhaps you're tweaking a bug that doesn't know how to handle that properly. If it persists, try a more recent version of nagios (2.12 or 3.0.). -- 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 Bret.Goodfellow at questar.com Thu Aug 14 20:04:20 2008 From: Bret.Goodfellow at questar.com (Bret Goodfellow) Date: Thu, 14 Aug 2008 12:04:20 -0600 Subject: Nagios fails to start afteradding'check_logs.pl' service References: <91EDB00F83BAD443A9D05FA67623955A027C805B@QMAIL.corp.questar.com><68C0BB58-AA69-4928-8A31-F0059F0FF379@ena.com> <91EDB00F83BAD443A9D05FA67623955A065030@QMAIL.corp.questar.com> Message-ID: <91EDB00F83BAD443A9D05FA67623955A065031@QMAIL.corp.questar.com> I decided to only test services for the host in question. I wanted to make things simpler when looking at strace output. So, nagios is only configured for one host, colorado. Below is the output from strace: 11:59:10 nanosleep({0, 250000000}, NULL) = 0 11:59:10 nanosleep({0, 250000000}, NULL) = 0 11:59:11 open("/var/log/nagios/nagios.tmpmshZdK", O_RDWR|O_CREAT|O_EXCL, 0600) = 8 11:59:11 fcntl(8, F_GETFL) = 0x8002 (flags O_RDWR|O_LARGEFILE) 11:59:11 fstat(8, {st_mode=S_IFREG|0600, st_size=0, ...}) = 0 11:59:11 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2a95558000 11:59:11 lseek(8, 0, SEEK_CUR) = 0 11:59:11 write(8, "################################"..., 4096) = 4096 11:59:11 write(8, "t_name=city\n\tmodified_attributes"..., 4096) = 4096 11:59:11 write(8, "andler=\n\thas_been_checked=1\n\tsho"..., 4096) = 4096 11:59:11 write(8, "eck_execution_time=0.008\n\tcheck_"..., 4096) = 4096 11:59:11 write(8, "pe=0\n\tcurrent_state=0\n\tlast_hard"..., 4096) = 4096 11:59:11 write(8, " - Packet loss = 0%, RTA = 0.17 "..., 4096) = 4096 11:59:11 write(8, "eck=1218581899\n\tnext_check=0\n\tcu"..., 4096) = 4096 11:59:11 write(8, "s=10\n\tstate_type=1\n\tlast_state_c"..., 4096) = 4096 11:59:11 write(8, "ution_time=0.004\n\tcheck_latency="..., 4096) = 4096 11:59:11 write(8, "ss_performance_data=1\n\tobsess_ov"..., 4096) = 4096 11:59:11 fchmod(8, 0664) = 0 11:59:11 write(8, "_data=/oracle=6078MB;10280;11732"..., 2764) = 2764 11:59:11 close(8) = 0 11:59:11 munmap(0x2a95558000, 4096) = 0 11:59:11 rename("/var/log/nagios/nagios.tmpmshZdK", "/var/log/nagios/status.dat") = 0 11:59:11 nanosleep({0, 250000000}, NULL) = 0 11:59:11 nanosleep({0, 250000000}, NULL) = 0 11:59:11 nanosleep({0, 250000000}, NULL) = 0 11:59:11 nanosleep({0, 250000000}, NULL) = 0 11:59:12 nanosleep({0, 250000000}, NULL) = 0 11:59:12 nanosleep({0, 250000000}, NULL) = 0 11:59:12 nanosleep({0, 250000000}, NULL) = 0 11:59:12 nanosleep({0, 250000000}, NULL) = 0 11:59:13 nanosleep({0, 250000000}, NULL) = 0 11:59:13 nanosleep({0, 250000000}, NULL) = 0 11:59:13 nanosleep({0, 250000000}, NULL) = 0 11:59:13 nanosleep({0, 250000000}, NULL) = 0 11:59:14 stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=877, ...}) = 0 11:59:14 open("/usr/lib64/nagios/plugins/check_logs.pl", O_RDONLY) = 8 11:59:14 fstat(8, {st_mode=S_IFREG|0755, st_size=6609, ...}) = 0 11:59:14 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2a95558000 11:59:14 read(8, "#!/usr/bin/perl -w\n#\n# Log file "..., 4096) = 4096 11:59:14 close(8) = 0 11:59:14 munmap(0x2a95558000, 4096) = 0 11:59:14 stat("/usr/lib64/nagios/plugins/check_logs.pl", {st_mode=S_IFREG|0755, st_size=6609, ...}) = 0 11:59:14 open("/usr/lib64/nagios/plugins/check_logs.pl", O_RDONLY) = 8 11:59:14 ioctl(8, SNDCTL_TMR_TIMEBASE or TCGETS, 0x7fbfffa590) = -1 ENOTTY (Inappropriate ioctl for device) 11:59:14 lseek(8, 0, SEEK_CUR) = 0 11:59:14 fstat(8, {st_mode=S_IFREG|0755, st_size=6609, ...}) = 0 11:59:14 fcntl(8, F_SETFD, FD_CLOEXEC) = 0 11:59:14 fstat(8, {st_mode=S_IFREG|0755, st_size=6609, ...}) = 0 11:59:14 read(8, "#!/usr/bin/perl -w\n#\n# Log file "..., 6609) = 6609 11:59:14 close(8) = 0 11:59:14 --- SIGSEGV (Segmentation fault) @ 0 (0) --- 11:59:14 stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=877, ...}) = 0 11:59:14 stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=877, ...}) = 0 11:59:14 stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=877, ...}) = 0 11:59:14 sendto(3, "<14>Aug 14 11:59:14 nagios: Caug"..., 61, MSG_NOSIGNAL, NULL, 0) = 61 11:59:14 open("/var/log/nagios/nagios.log", O_RDWR|O_CREAT|O_APPEND, 0666) = 8 11:59:14 fstat(8, {st_mode=S_IFREG|0664, st_size=165977, ...}) = 0 11:59:14 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2a95558000 11:59:14 write(8, "[1218736754] Caught SIGSEGV, shu"..., 46) = 46 11:59:14 close(8) = 0 11:59:14 munmap(0x2a95558000, 4096) = 0 11:59:14 rt_sigreturn(0x9) = 105 11:59:14 --- SIGSEGV (Segmentation fault) @ 0 (0) --- 11:59:14 exit_group(-2) = ? Process 24972 detached [root at colorado nagios]# -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net on behalf of Bret Goodfellow Sent: Thu 8/14/2008 11:40 AM To: Marc Powell; nagios List Subject: Re: [Nagios-users] Nagios fails to start afteradding'check_logs.pl' service Okay, I removed the trailing "!" from the check_command statement. I might also mention that the check_logs.pl works fine with all monitoring of remote systems. I can also run check_logs.pl (as nagios) from the shell, and it works as well. Here is the last part of the strace: [pid 22473] lseek(4, 0, SEEK_CUR) = 0 [pid 22473] read(4, "-----BEGIN DSA PRIVATE KEY-----\nMIIDPgIBAAKCAQEAzTULry8dAYweYFywxOzvhLZTO9f3YZBTdahf3VineUduyBoX\n5denPMUjQslNq+twgkP5osLe6tXs6QY3J6DJy+TcqDsYDPMPJkpfmncEsdtQqG4a\nXX8IG8gQlEKFfO1v06NwOTjXEe1pCVjikWvGYMhXrx3n1cINFQZNP67de5gfKGF5\nsq/6N9Z4n6e/NCMYc3xwXLDRInY1VTrsG6C84pbagvY3zjLctyEyF5blPjexTV0l\nk58IFlecJP9uyCJAmib4OfnuLftQmNxFVlNYf9eqdU42025DZ4uVYO06Aolhi5ry\npGCx2NvXBOFWnQWxo9y9Yjmd35+VP/GKsCajlQIVANSlQN+/Y/0SWuy6RWTlfU7w\nDdyXAoIBABoJj3nZqsfIDGs7O+JetKRdkpML75g+QGEoNcci31ccBgyD/mQUXSUc\nPlm9YRZM5XQZL7/R3zoz4/0Ic"..., 4096) = 1192 [pid 22473] close(4) = 0 [pid 22473] munmap(0x2a9556c000, 4096) = 0 [pid 22473] write(3, ")=t\270\341\264wE\361\207\340PJ\n\252\374kJ\0165 \267\230\345\373j\272:\24\350O\207\333h\237vK\27,)\227\n!\267s\243!\10H\330@\332\314\331O\272\v\225\fq8I9\244\341\316\236\243\314\2052\306\210b\n2\0\351 \16hc[7\6\"\266\301\366\377\305\346q\343O\275U9\360a\222\250\261h\325)\326\350\341\34\377\3122\225\1\314i\2 06\201\361#\277H\334\'c\225=\31\367I\32\354\252\275#\225\265I\326\214\0\347*\304G]\242\25\370f\330;\223\245b\215\227u\37S\316Ui\234\230\263\361\365\315\200\361\35\1\5/B\317\212\336\331\17\32 4\251\210\377\254\16\275\215\5\336\261\223\340\365e\321\332\220,\356|\341\375/\310\340\357\346\337\260t", 8192) = 48 [pid 22473] getsockname(3, {sa_family=AF_INET, sin_port=htons(32103), sin_addr=inet_addr("10.8.64.201")}, [7457116566585344016]) = 0 [pid 22473] setsockopt(3, SOL_IP, IP_TOS, [8], 4) = 0 [pid 22473] select(9, [3], [3], NULL, NULL) = 1 (out [3]) [pid 22473] write(3, "\362\350\367\305\266^\370\226?\27\32\34\300(\354\t\222v\227 at J$~\242\25\254\357<\312\30\303\323\6\33\'\326dg/VT\234\v\341\252c\20\207P\vQ\26b-\351\233\307\362\35\346\6c\232\201\222\365\30\3375\225\226\375\272\245\3638\22V\340\3373\6\327\356M\351C\204\261K\311j\3768@\356c6CXW\252\17u\355s\24&\365\312G,", 112) = 112 [pid 22473] select(9, [3], [], NULL, NULL) = 1 (in [3]) [pid 22473] read(3, "k\361\300\377L\236\215\306,J\5\215\7$\253UZ\340k\v\326\252B\200\241\236\177\1\360\310J\311\334B\377L%t\33q\17\330\177\324e\263\23r", 8192) = 48 [pid 22473] select(9, [3 4], [], NULL, NULL) = 1 (in [4]) [pid 22473] read(4, "", 16384) = 0 [pid 22473] close(4) = 0 [pid 22473] select(9, [3], [3], NULL, NULL) = 1 (out [3]) [pid 22473] write(3, "\325\274\310\367)~V\33F\2537\35786/~&\4\240([\34\2065\376\347#\376\35\231\22\r", 32) = 32 [pid 22473] select(9, [3], [], NULL, NULL) = 1 (in [3]) [pid 22473] read(3, ".\34\347\227\236\4\t$\230\336\17\3\344iwQ\300=\253sm#\342\235\317\330\333gx\35W\274JE{+\304n\322G\317b\246\264\266\354\320\214ng\206*&\201i\265=\232G\366\347f\267\350^\26w\321\370w\31Z\212\340R4\37\233\3%\277QA$\374p\224<`&U\242\247\244\2424", 8192) = 96 [pid 22473] select(9, [3], [6], NULL, NULL) = 1 (out [6]) [pid 22473] write(6, "PROCS OK: 0 processes with command name \'Xvnc\'\n", 47) = 47 [pid 22472] <... read resumed> "PROCS OK: 0 processes with command name \'Xvnc\'\n", 4096) = 47 [pid 22473] select(9, [3], [], NULL, NULL [pid 22472] read(3, [pid 22473] <... select resumed> ) = 1 (in [3]) [pid 22473] read(3, "\214\371\371T\376\257\354\346\377g\240\257\353!\373\363\225+\272\232\335dm\207\23\372rz\\\10v\25\20*\252\10\303<=\304\331\35\234T\366\370\r\213p\34\245R#\7p\204d\376\337\311H}\fd\340\25\326X7{l5\334v\243\365\271\204\263\221m\220\26\257\25\216\361V\334~\331W\177\203\266\322Qv\274\276:\363\273\262;\3530\373\202;\347\n\20\361\377c!\210\274Z\205y\261l\6\234E\317", 8192) = 128 [pid 22473] close(6) = 0 [pid 22473] close(8) = 0 [pid 22473] select(9, [3], [3], NULL, NULL) = 1 (out [3]) [pid 22473] write(3, "X\0\2546\333\312\270Q7\257\310\7\366LJY\3\16\315\243\204\331\203\327\232\335\37Wj\377?\371", 32) = 32 [pid 22473] ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, 0x7fbfffd7d0) = -1 ENOTTY (Inappropriate ioctl for device) [pid 22473] fcntl(0, F_GETFL) = 0x8800 (flags O_RDONLY|O_NONBLOCK|O_LARGEFILE) [pid 22473] fcntl(0, F_SETFL, O_RDONLY|O_LARGEFILE) = 0 [pid 22473] ioctl(1, SNDCTL_TMR_TIMEBASE or TCGETS, 0x7fbfffd7d0) = -1 EINVAL (Invalid argument) [pid 22473] fcntl(1, F_GETFL) = 0x801 (flags O_WRONLY|O_NONBLOCK) [pid 22473] fcntl(1, F_SETFL, O_WRONLY) = 0 [pid 22473] ioctl(2, SNDCTL_TMR_TIMEBASE or TCGETS, 0x7fbfffd7d0) = -1 EINVAL (Invalid argument) [pid 22473] fcntl(2, F_GETFL) = 0x801 (flags O_WRONLY|O_NONBLOCK) [pid 22473] fcntl(2, F_SETFL, O_WRONLY) = 0 [pid 22473] brk(0x552ac2b000) = 0x552ac2b000 [pid 22473] shutdown(3, 2 /* send and receive */) = 0 [pid 22473] close(3) = 0 [pid 22473] exit_group(0) = ? Process 22473 detached [pid 22472] <... read resumed> "", 4096) = 0 [pid 22472] --- SIGCHLD (Child exited) @ 0 (0) --- [pid 22472] read(6, "", 4096) = 0 [pid 22472] close(3) = 0 [pid 22472] wait4(22473, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 22473 [pid 22472] fstat(1, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0 [pid 22472] mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2a983c1000 [pid 22472] write(1, "PROCS OK: 0 processes with command name \'Xvnc\'\n", 47 [pid 22471] <... read resumed> "PROCS OK: 0 processes with command name \'Xvnc\'\n", 4096) = 47 [pid 22472] <... write resumed> ) = 47 [pid 22471] read(6, [pid 22472] exit_group(0) = ? Process 22472 detached [pid 22471] <... read resumed> "", 4096) = 0 [pid 22471] close(6) = 0 [pid 22471] --- SIGCHLD (Child exited) @ 0 (0) --- [pid 22471] wait4(22472, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 22472 [pid 22471] munmap(0x2a95558000, 4096) = 0 [pid 22471] alarm(0) = 89 [pid 22471] write(7, "city\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0proc - Xvnc\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\1\0\0\0\0\0\0\0\1\0\0\0\306m\244H\0\0\0\0^\262\r\0\0\0\0\0\307m\244H\0\0\0\0\6\244\v\0\0\0\0\0\0\0\0\0PROCS OK: 0 processes with command name \'Xvnc\'\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0 \0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0 \0\0", 512) = -1 EPIPE (Broken pipe) [pid 22471] --- SIGPIPE (Broken pipe) @ 0 (0) --- Process 22471 detached Process 15735 detached [root at colorado log]# -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net on behalf of Marc Powell Sent: Thu 8/14/2008 11:04 AM To: nagios List Subject: Re: [Nagios-users] Nagios fails to start after adding'check_logs.pl' service On Aug 14, 2008, at 10:10 AM, Bret Goodfellow wrote: > > I have started monitoring the nagios server (local checks), and all > has worked fine until I added a service to check the local logs. > When the 'check_local_logs' service is added, the startup of Nagios > fails after about 10 seconds. I have also run 'strace' but am not > sure how to interpret. Maybe post the last 50 lines or so of the strace output... > Aug 14 08:56:29 colorado nagios: Finished daemonizing... (New > PID=6940) Aug 14 08:56:41 colorado nagios: Caught SIGSEGV, shutting > down... > define service{ > check_command check_local_logs!/etc/nagios/ > check_logs_linux.cfg! > } Try leaving off the last '!'. That indicates to nagios that there is another $ARGx$ to follow but none is present. Perhaps you're tweaking a bug that doesn't know how to handle that properly. If it persists, try a more recent version of nagios (2.12 or 3.0.). -- 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 morten.guldager at gmail.com Thu Aug 14 20:40:20 2008 From: morten.guldager at gmail.com (Morten Guldager) Date: Thu, 14 Aug 2008 20:40:20 +0200 Subject: How to configure several test-objects which share a single-threaded resource? Message-ID: 'Aloha! I'm trying to implement some VoIP monitoring with Nagios. Scheme goes like this, a test call from location A to B, then from X to E and then somewhere else. I have _two_ test-accounts, one for the call and one for the answer. I can't use an account more than one place at a time. Is it possible to tell nagios that only one of these 20 servicechecks may be running at any given time? Or do I have to put some locking logic into the test-plugins myself? -- /Morten %-) -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Charles.Breite at altertrading.com Thu Aug 14 20:46:00 2008 From: Charles.Breite at altertrading.com (Charles Breite) Date: Thu, 14 Aug 2008 13:46:00 -0500 Subject: Nagios Status Map Message-ID: <5D490E0402B4D14F836B5C4436D5949A2B8B28@VMEXCHANGE2.alterscrap.com> I have started adding icons to our Nagios status map first by adding parents and then by adding hostext info. But the icons on the default (circular markup)status map still overlap and are unreadable. I am slowly adding user defined coordinates but would like the auto matic circular markup map to look good also. Does anyone know of a way to make sure they cant auto overlap themselves? 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 DVeldhuisen at slb.com Thu Aug 14 20:51:15 2008 From: DVeldhuisen at slb.com (Doug Veldhuisen) Date: Thu, 14 Aug 2008 20:51:15 +0200 Subject: Nagios Status Map In-Reply-To: <5D490E0402B4D14F836B5C4436D5949A2B8B28@VMEXCHANGE2.alterscrap.com> References: <5D490E0402B4D14F836B5C4436D5949A2B8B28@VMEXCHANGE2.alterscrap.com> Message-ID: NagVis is supposed to be one options to do this, Not had enough time to check it out myself. I am currently monitoring a couple of hundred devices and my standard map looks terrible. Doug From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Charles Breite Sent: Thursday, August 14, 2008 1:46 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagios Status Map I have started adding icons to our Nagios status map first by adding parents and then by adding hostext info. But the icons on the default (circular markup)status map still overlap and are unreadable. I am slowly adding user defined coordinates but would like the auto matic circular markup map to look good also. Does anyone know of a way to make sure they cant auto overlap themselves? 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 stanb at panix.com Thu Aug 14 22:49:02 2008 From: stanb at panix.com (stan) Date: Thu, 14 Aug 2008 16:49:02 -0400 Subject: nagvis ideas? Message-ID: <20080814204902.GA10341@teddy.fas.com> I am in the semi-final stages of setting up a nagios instance that monitors aprox. 100 devices for a medium size manufacturing facility. We are going to implement nagvis. I am looking for some ideas as to how to best utilize this tool. We basically have "clusters" of computers. These clusters are distributed fairly widely from a geographic point of view. I have a map of the facility that I can use. It seems to me, that there are 2 basic ways to "view" our conglomeration of systems. One is geographic, and the 2nd is from a network topology point of view. Frankly I think a nagvis presentation of both would be useful. The network topology version is fairly straightforward (I think, but I would like to here others point of view on this). The geographic version however, frankly I am struggling with. If I show the systems on the large area map, they are fairly spread out. I am thinking of doing that, and making dynamic links for each cluster. These links would be color coded based upon the status of all of the computers in that cluster, and would provide a link to a more detailed view. I'd love to hear what other peoples thoughts on this are. -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Aug 15 03:24:43 2008 From: jon at netdork.net (Jon Angliss) Date: Thu, 14 Aug 2008 20:24:43 -0500 Subject: Nagios fails to start after adding 'check_logs.pl' service References: <91EDB00F83BAD443A9D05FA67623955A027C805B@QMAIL.corp.questar.com> Message-ID: On Thu, 14 Aug 2008 09:10:19 -0600, "Bret Goodfellow" wrote: >I have started monitoring the nagios server (local checks), and all has >worked fine until I added a service to check the local logs. When the >'check_local_logs' service is added, the startup of Nagios fails after >about 10 seconds. I have also run 'strace' but am not sure how to >interpret. [..] > command_line $USER1$/check_logs.pl -c $ARG1$ >check_local_logs!/etc/nagios/check_logs_linux.cfg! As well as Mark Powell's suggestions, try running the command as nagios to see what happens to it. ./check_logs.pl -c /etc/nagios/check_logs_linux.cfg -- Jon Angliss ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From blissett at xs4all.nl Fri Aug 15 13:09:40 2008 From: blissett at xs4all.nl (Tijn) Date: Fri, 15 Aug 2008 13:09:40 +0200 Subject: (no subject) In-Reply-To: <52CD849B-1160-43C9-B18E-6C12EA5E3D99@ena.com> References: <52CD849B-1160-43C9-B18E-6C12EA5E3D99@ena.com> Message-ID: After I killed all Nagios-daemons and started Nagios again it works fine. Before your mail I was already surprised how quick I saw the Nagios information in my browser window after a restart. It's clear to me now. Tijn > > On Aug 13, 2008, at 1:42 PM, Tijn wrote: > >> After an upgrade from Nagios 3.0.1 to 3.0.3 I have some trouble. When >> I remove an object, a server, from the configuration file; the server >> is also gone from the web interface, everything looks well. But >> Nagios keeps sending mails about the server that would be down. > > You have multiple nagios daemons running at the same time. One with > the old config and one with the new. > >> > -- > 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 Bret.Goodfellow at questar.com Fri Aug 15 15:27:08 2008 From: Bret.Goodfellow at questar.com (Bret Goodfellow) Date: Fri, 15 Aug 2008 07:27:08 -0600 Subject: Nagios fails to start after adding'check_logs.pl' service In-Reply-To: References: <91EDB00F83BAD443A9D05FA67623955A027C805B@QMAIL.corp.questar.com> Message-ID: <91EDB00F83BAD443A9D05FA67623955A027C805D@QMAIL.corp.questar.com> I have run the command as the user "Nagios" from the shell prompt, and it works fine. But when called from Nagios, it fails. In fact, check_logs.pl is running perfectly on all of the Nagios client machines without a problem. The problem started when I wanted to monitor the /var/log/messages file on the "Nagios server". I'm having trouble monitoring the local logs, but not logs from remote clients. My last post has output from "strace". I'm not sure how to read it, but it appears to me that there may be a rights issue. What does "-1 ENOTTY (Inappropriate ioctl for device)" mean? Here again, are the last few lines from the strace: 11:59:13 nanosleep({0, 250000000}, NULL) = 0 11:59:14 stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=877, ...}) = 0 11:59:14 open("/usr/lib64/nagios/plugins/check_logs.pl", O_RDONLY) = 8 11:59:14 fstat(8, {st_mode=S_IFREG|0755, st_size=6609, ...}) = 0 11:59:14 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2a95558000 11:59:14 read(8, "#!/usr/bin/perl -w\n#\n# Log file "..., 4096) = 4096 11:59:14 close(8) = 0 11:59:14 munmap(0x2a95558000, 4096) = 0 11:59:14 stat("/usr/lib64/nagios/plugins/check_logs.pl", {st_mode=S_IFREG|0755, st_size=6609, ...}) = 0 11:59:14 open("/usr/lib64/nagios/plugins/check_logs.pl", O_RDONLY) = 8 11:59:14 ioctl(8, SNDCTL_TMR_TIMEBASE or TCGETS, 0x7fbfffa590) = -1 ENOTTY (Inappropriate ioctl for device) 11:59:14 lseek(8, 0, SEEK_CUR) = 0 11:59:14 fstat(8, {st_mode=S_IFREG|0755, st_size=6609, ...}) = 0 11:59:14 fcntl(8, F_SETFD, FD_CLOEXEC) = 0 11:59:14 fstat(8, {st_mode=S_IFREG|0755, st_size=6609, ...}) = 0 11:59:14 read(8, "#!/usr/bin/perl -w\n#\n# Log file "..., 6609) = 6609 11:59:14 close(8) = 0 11:59:14 --- SIGSEGV (Segmentation fault) @ 0 (0) --- 11:59:14 stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=877, ...}) = 0 11:59:14 stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=877, ...}) = 0 11:59:14 stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=877, ...}) = 0 11:59:14 sendto(3, "<14>Aug 14 11:59:14 nagios: Caug"..., 61, MSG_NOSIGNAL, NULL, 0) = 61 11:59:14 open("/var/log/nagios/nagios.log", O_RDWR|O_CREAT|O_APPEND, 0666) = 8 11:59:14 fstat(8, {st_mode=S_IFREG|0664, st_size=165977, ...}) = 0 11:59:14 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2a95558000 11:59:14 write(8, "[1218736754] Caught SIGSEGV, shu"..., 46) = 46 11:59:14 close(8) = 0 11:59:14 munmap(0x2a95558000, 4096) = 0 11:59:14 rt_sigreturn(0x9) = 105 11:59:14 --- SIGSEGV (Segmentation fault) @ 0 (0) --- 11:59:14 exit_group(-2) = ? Process 24972 detached [root at colorado nagios]# -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Jon Angliss Sent: Thursday, August 14, 2008 7:25 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagios fails to start after adding'check_logs.pl' service On Thu, 14 Aug 2008 09:10:19 -0600, "Bret Goodfellow" wrote: >I have started monitoring the nagios server (local checks), and all has >worked fine until I added a service to check the local logs. When the >'check_local_logs' service is added, the startup of Nagios fails after >about 10 seconds. I have also run 'strace' but am not sure how to >interpret. [..] > command_line $USER1$/check_logs.pl -c $ARG1$ >check_local_logs!/etc/nagios/check_logs_linux.cfg! As well as Mark Powell's suggestions, try running the command as nagios to see what happens to it. ./check_logs.pl -c /etc/nagios/check_logs_linux.cfg -- Jon Angliss ------------------------------------------------------------------------ - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 jonmills at email.unc.edu Fri Aug 15 16:35:29 2008 From: jonmills at email.unc.edu (Jonathan Mills) Date: Fri, 15 Aug 2008 10:35:29 -0400 Subject: snmp proxy daemon help Message-ID: <96A41ED2-BFCB-4F40-813F-AB1494F6A0F3@email.unc.edu> I have compiled and installed snmppd on my nagios systems. I'd heard that using the snmp proxy daemon would help reduce snmp check times and loads on the servers being monitored. We have been noticing very high CPU utilization on our NetApp filers every time nagios does an snmp check on them. When we disable nagios checks on the filers, load decreases significantly. However, we've seen no improvement by using snmppd thus far, which makes me question if perhaps I'm not using it the right way. Other than installing it via rpm and starting the service, all I've done is symlink check_snmp to the new check_snmpp in my plugins directory. Does anyone have more experience with this? Yours truly, J. Mills ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Aug 15 16:57:44 2008 From: marc at ena.com (Marc Powell) Date: Fri, 15 Aug 2008 09:57:44 -0500 Subject: Nagios fails to start afteradding'check_logs.pl' service References: <91EDB00F83BAD443A9D05FA67623955A027C805B@QMAIL.corp.questar.com> <91EDB00F83BAD443A9D05FA67623955A027C805D@QMAIL.corp.questar.com> Message-ID: <5A4AE2E1A3A86C4DA672C6ED903343EF01238D@misex03.ena.com> > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Bret Goodfellow > Sent: Friday, August 15, 2008 8:27 AM > To: Jon Angliss; nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Nagios fails to start > afteradding'check_logs.pl' service > My last post has output from "strace". I'm not sure how to read it, but > it appears to me that there may be a rights issue. What does "-1 ENOTTY > (Inappropriate ioctl for device)" mean? Here again, are the last few > lines from the strace: Nothing to worry about in this case. Since you're not running the command from a shell, NOTTY is expected. > 11:59:14 open("/usr/lib64/nagios/plugins/check_logs.pl", O_RDONLY) = 8 > 11:59:14 ioctl(8, SNDCTL_TMR_TIMEBASE or TCGETS, 0x7fbfffa590) = -1 > ENOTTY (Inappropriate ioctl for device) > 11:59:14 lseek(8, 0, SEEK_CUR) = 0 > 11:59:14 fstat(8, {st_mode=S_IFREG|0755, st_size=6609, ...}) = 0 > 11:59:14 fcntl(8, F_SETFD, FD_CLOEXEC) = 0 > 11:59:14 fstat(8, {st_mode=S_IFREG|0755, st_size=6609, ...}) = 0 > 11:59:14 read(8, "#!/usr/bin/perl -w\n#\n# Log file "..., 6609) = 6609 > 11:59:14 close(8) = 0 > 11:59:14 --- SIGSEGV (Segmentation fault) @ 0 (0) --- This is an interesting bit. The plugin is a perl program. Nagios loaded it and would have been ready to execute it. Perl plugins could possibly be treated 'specially' and have special requirements if you compile Nagios with the embedded perl interpreter (ePN) enabled. Did you do so? In the command{} definition for check_logs.pl, try disabling the use of ePN by prefacing the command with your /path/to/perl -- (from memory) define command { command_name check_logs ; or whatever it is command_line /path/to/perl $USER1$/check_logs.pl (... other stuff here) } -- 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 Bret.Goodfellow at questar.com Fri Aug 15 17:28:41 2008 From: Bret.Goodfellow at questar.com (Bret Goodfellow) Date: Fri, 15 Aug 2008 09:28:41 -0600 Subject: Nagios fails to start afteradding'check_logs.pl'service In-Reply-To: <5A4AE2E1A3A86C4DA672C6ED903343EF01238D@misex03.ena.com> References: <91EDB00F83BAD443A9D05FA67623955A027C805B@QMAIL.corp.questar.com><91EDB00F83BAD443A9D05FA67623955A027C805D@QMAIL.corp.questar.com> <5A4AE2E1A3A86C4DA672C6ED903343EF01238D@misex03.ena.com> Message-ID: <91EDB00F83BAD443A9D05FA67623955A027C805E@QMAIL.corp.questar.com> Not sure if Nagios was compiled with the ePN. I used an RPM to install Nagios. Installation was pretty simple using the RPM. Needless to say Marc, your suggestion to run the perl script with /usr/bin/perl WORKED! You are the Man! Thanks again for all your help Marc. Bret Goodfellow Questar Gas S.L.C, Ut -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Marc Powell Sent: Friday, August 15, 2008 8:58 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagios fails to start afteradding'check_logs.pl'service > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Bret Goodfellow > Sent: Friday, August 15, 2008 8:27 AM > To: Jon Angliss; nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Nagios fails to start > afteradding'check_logs.pl' service > My last post has output from "strace". I'm not sure how to read it, but > it appears to me that there may be a rights issue. What does "-1 ENOTTY > (Inappropriate ioctl for device)" mean? Here again, are the last few > lines from the strace: Nothing to worry about in this case. Since you're not running the command from a shell, NOTTY is expected. > 11:59:14 open("/usr/lib64/nagios/plugins/check_logs.pl", O_RDONLY) = 8 > 11:59:14 ioctl(8, SNDCTL_TMR_TIMEBASE or TCGETS, 0x7fbfffa590) = -1 > ENOTTY (Inappropriate ioctl for device) > 11:59:14 lseek(8, 0, SEEK_CUR) = 0 > 11:59:14 fstat(8, {st_mode=S_IFREG|0755, st_size=6609, ...}) = 0 > 11:59:14 fcntl(8, F_SETFD, FD_CLOEXEC) = 0 > 11:59:14 fstat(8, {st_mode=S_IFREG|0755, st_size=6609, ...}) = 0 > 11:59:14 read(8, "#!/usr/bin/perl -w\n#\n# Log file "..., 6609) = 6609 > 11:59:14 close(8) = 0 > 11:59:14 --- SIGSEGV (Segmentation fault) @ 0 (0) --- This is an interesting bit. The plugin is a perl program. Nagios loaded it and would have been ready to execute it. Perl plugins could possibly be treated 'specially' and have special requirements if you compile Nagios with the embedded perl interpreter (ePN) enabled. Did you do so? In the command{} definition for check_logs.pl, try disabling the use of ePN by prefacing the command with your /path/to/perl -- (from memory) define command { command_name check_logs ; or whatever it is command_line /path/to/perl $USER1$/check_logs.pl (... other stuff here) } -- 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 bjlockie at lockie.ca Fri Aug 15 17:30:32 2008 From: bjlockie at lockie.ca (James) Date: Fri, 15 Aug 2008 11:30:32 -0400 (EDT) Subject: elapsed down time Message-ID: I want to include the elapsed time from the host down alert to the "Notification Type: RECOVERY". ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jcall at verio.net Fri Aug 15 18:03:24 2008 From: jcall at verio.net (Jonathan Call) Date: Fri, 15 Aug 2008 12:03:24 -0400 Subject: FreeBSD 7 and Nagios 2.12 Message-ID: <04F3233F47E2714CB7431AE913E57E7702E3C588@IAD-WPRD-XCHB02.corp.verio.net> I'm running FreeBSD 7 (amd64 at that) and Nagios 2.12. It ran great for about a month. And then today I found that Nagios had stopped processing checks and there are a few unkillable processes lingering. I remember at least one other person posting something similar to this. Has anyone found a solution? Jonathan This email message is intended for the use of the person to whom it has been sent, and may contain information that is confidential or legally protected. If you are not the intended recipient or have received this message in error, you are not authorized to copy, distribute, or otherwise use this message or its attachments. Please notify the sender immediately by return e-mail and permanently delete this message and any attachments. Verio, Inc. makes no warranty that this email is error or virus free. 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 jrmarble at gmail.com Fri Aug 15 18:04:30 2008 From: jrmarble at gmail.com (Jeff Marble) Date: Fri, 15 Aug 2008 10:04:30 -0600 Subject: Monitoring Windows Clients Message-ID: <9a76360808150904s65788d7dy469e333ffe4a4661@mail.gmail.com> My Solaris clients all work great but a few of the windows clients die each day. I have installed and configured nsclient from MikeM on 15 Windows servers. 6-8 times each day, the nsclient++ service will die with no information in the NSC.log file. I am using nsclient, not nrpe. No preference here, just what was the most straight forward for a Solaris guy to monitor a few windows servers. I enabled the recommended modules in the instructions and monitory cpu load, disk space, a process and memory usage in the NSC.ini file. These work fine. I have since commented out NRPEListener, SysTray, CheckEvenLog and CheckHelpers. Remaining is FileLogger, CheckSystem, CheckDisk, and NSClientListener. I only allow the nagios host to connect on port 12489. I bind to one NIC on the windows server. Debug is turned on. I am a newbie to monitoring windows clients. Please point me in the right direction. I suspect I have configured something wrong because I assume many others are also using NSCLient++. I have googled, read blogs, and read the list. At this point, I will attempt to switch to NRPE and see if that makes a difference. Unless there is a fix or a better option. Thank you, Jeff -- Jeff Marble JRMarble 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 marc at ena.com Fri Aug 15 18:10:34 2008 From: marc at ena.com (Marc Powell) Date: Fri, 15 Aug 2008 11:10:34 -0500 Subject: elapsed down time In-Reply-To: References: Message-ID: On Aug 15, 2008, at 10:30 AM, James wrote: > I want to include the elapsed time from the host down alert to the > "Notification Type: RECOVERY". Isn't it awesome then that there are several macros available that'll help you accomplish that? -- 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 hvdkooij at vanderkooij.org Fri Aug 15 18:44:25 2008 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Fri, 15 Aug 2008 18:44:25 +0200 Subject: snmp proxy daemon help In-Reply-To: <96A41ED2-BFCB-4F40-813F-AB1494F6A0F3@email.unc.edu> References: <96A41ED2-BFCB-4F40-813F-AB1494F6A0F3@email.unc.edu> Message-ID: <48A5B269.2000202@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Jonathan Mills wrote: | I have compiled and installed snmppd on my nagios systems. I'd heard | that using the snmp proxy daemon would help reduce snmp check times | and loads on the servers being monitored. We have been noticing very | high CPU utilization on our NetApp filers every time nagios does an | snmp check on them. When we disable nagios checks on the filers, load | decreases significantly. | | However, we've seen no improvement by using snmppd thus far, which | makes me question if perhaps I'm not using it the right way. Other | than installing it via rpm and starting the service, all I've done is | symlink check_snmp to the new check_snmpp in my plugins directory. | | Does anyone have more experience with this? Why do you expect a SNMP proxy to reduce load? You will still fire off the same amount of SNMP requests to the NetApp filers. 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) iD8DBQFIpbJnBvzDRVjxmYERAq/YAJ0cuOyr5g8+HhawEnYw+3zOiOnQ0ACdHCvQ DokoFNCJi5DKce52wHZf2mA= =z+0a -----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 Fri Aug 15 18:50:07 2008 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Fri, 15 Aug 2008 18:50:07 +0200 Subject: elapsed down time In-Reply-To: References: Message-ID: <48A5B3BF.2040108@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Marc Powell wrote: | On Aug 15, 2008, at 10:30 AM, James wrote: | |> I want to include the elapsed time from the host down alert to the |> "Notification Type: RECOVERY". | | Isn't it awesome then that there are several macros available that'll | help you accomplish that? Would you care to elaborate? I recall a similar discussion here that did not result in a simple solution. So I may have missed something here. 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) iD8DBQFIpbO+BvzDRVjxmYERAo5YAKCg+BfAGep41nXgVIDni6tS1Og43ACeI1Ew dRFVfe5lpntylpOnb9CucEY= =ManH -----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 dario.bestetti at opservices.com.br Fri Aug 15 19:24:01 2008 From: dario.bestetti at opservices.com.br (Dario B. Bestetti) Date: Fri, 15 Aug 2008 14:24:01 -0300 (BRT) Subject: Monitoring Windows Clients In-Reply-To: <9a76360808150904s65788d7dy469e333ffe4a4661@mail.gmail.com> References: <9a76360808150904s65788d7dy469e333ffe4a4661@mail.gmail.com> Message-ID: <32309984.53181218821041825.JavaMail.root@mail.opservices.com.br> ----- "Jeff Marble" escreveu: > My Solaris clients all work great but a few of the windows clients die > each day. > > I have installed and configured nsclient from MikeM on 15 Windows > servers. 6-8 times each day, the nsclient++ service will die with no > information in the NSC.log file. > > I am using nsclient, not nrpe. No preference here, just what was the > most straight forward for a Solaris guy to monitor a few windows > servers. > > I enabled the recommended modules in the instructions and monitory > cpu > load, disk space, a process and memory usage in the NSC.ini file. > These work fine. I have since commented out NRPEListener, SysTray, > CheckEvenLog and CheckHelpers. Remaining is FileLogger, CheckSystem, > CheckDisk, and NSClientListener. I only allow the nagios host to > connect on port 12489. I bind to one NIC on the windows server. > Debug is turned on. > > > I am a newbie to monitoring windows clients. Please point me in the > right direction. I suspect I have configured something wrong because > I > assume many others are also using NSCLient++. I have googled, read > blogs, and read the list. > > At this point, I will attempt to switch to NRPE and see if that makes > a difference. Unless there is a fix or a better option. > > Thank you, > Jeff > > -- > Jeff Marble > JRMarble at GMail.com Try OpMon Agent: http://www.opservices.com.br/index.php?option=com_content&task=view&id=54&Itemid=54 []s Dario > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the > world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 bjlockie at lockie.ca Fri Aug 15 19:43:19 2008 From: bjlockie at lockie.ca (James) Date: Fri, 15 Aug 2008 13:43:19 -0400 (EDT) Subject: elapsed down time In-Reply-To: <48A5B3BF.2040108@vanderkooij.org> References: <48A5B3BF.2040108@vanderkooij.org> Message-ID: <178abefbbefa35f7f5604e3a8949434a.squirrel@webmail.lockie.ca> On Fri, August 15, 2008 12:50 pm, Hugo van der Kooij wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > > Marc Powell wrote: > | On Aug 15, 2008, at 10:30 AM, James wrote: > | > |> I want to include the elapsed time from the host down alert to the > |> "Notification Type: RECOVERY". > | > | Isn't it awesome then that there are several macros available that'll > | help you accomplish that? > > > Would you care to elaborate? He's telling me to RTFM. :-) > > > I recall a similar discussion here that did not result in a simple > solution. So I may have missed something here. > > 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) > > > iD8DBQFIpbO+BvzDRVjxmYERAo5YAKCg+BfAGep41nXgVIDni6tS1Og43ACeI1Ew > dRFVfe5lpntylpOnb9CucEY= =ManH > -----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 tom.ammon at utah.edu Fri Aug 15 19:55:43 2008 From: tom.ammon at utah.edu (Tom Ammon) Date: Fri, 15 Aug 2008 11:55:43 -0600 Subject: Nagios Status Map In-Reply-To: References: <5D490E0402B4D14F836B5C4436D5949A2B8B28@VMEXCHANGE2.alterscrap.com> Message-ID: <48A5C31F.6080308@utah.edu> I have used Nagvis extensively in our environment and it does a good job of visualizing nagios status data. I highly recommend it. To make it look really nice, however, you will need to create your own icon sets, which can take some time. The included icon sets work, but I found that they didn't meet our needs. Tom Doug Veldhuisen wrote: > > NagVis is supposed to be one options to do this, Not had enough time > to check it out myself. > > I am currently monitoring a couple of hundred devices and my standard > map looks terrible. > > > > Doug > > > > > > *From:* nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] *On Behalf Of > *Charles Breite > *Sent:* Thursday, August 14, 2008 1:46 PM > *To:* nagios-users at lists.sourceforge.net > *Subject:* [Nagios-users] Nagios Status Map > > > > > > I have started adding icons to our Nagios status map first by adding > parents and then by adding hostext info. But the icons on the default > (circular markup)status map still overlap and are unreadable. I am > slowly adding user defined coordinates but would like the auto matic > circular markup map to look good also. > > Does anyone know of a way to make sure they cant auto overlap themselves? > > Thanks > > > > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- ------------------------------------- Tom Ammon Network Engineer Business Card at http://tomsbox.net/bizcard_TomAmmon.jpg Center for High Performance Computing University of Utah http://www.chpc.utah.edu ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jcall at verio.net Fri Aug 15 19:56:28 2008 From: jcall at verio.net (Jonathan Call) Date: Fri, 15 Aug 2008 13:56:28 -0400 Subject: Freshness checking and a distributed Nagios system. Message-ID: <04F3233F47E2714CB7431AE913E57E7702E3C5A9@IAD-WPRD-XCHB02.corp.verio.net> Correct me if I'm wrong: In order to run a distributed system, the central server should have active service checks disabled. But freshness checking executes the check command when it doesn't receive a passive response in a timely manner. This means the freshness check never runs. How do you get around that? This email message is intended for the use of the person to whom it has been sent, and may contain information that is confidential or legally protected. If you are not the intended recipient or have received this message in error, you are not authorized to copy, distribute, or otherwise use this message or its attachments. Please notify the sender immediately by return e-mail and permanently delete this message and any attachments. Verio, Inc. makes no warranty that this email is error or virus free. 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 tom.ammon at utah.edu Fri Aug 15 20:02:44 2008 From: tom.ammon at utah.edu (Tom Ammon) Date: Fri, 15 Aug 2008 12:02:44 -0600 Subject: Freshness checking and a distributed Nagios system. In-Reply-To: <04F3233F47E2714CB7431AE913E57E7702E3C5A9@IAD-WPRD-XCHB02.corp.verio.net> References: <04F3233F47E2714CB7431AE913E57E7702E3C5A9@IAD-WPRD-XCHB02.corp.verio.net> Message-ID: <48A5C4C4.7080503@utah.edu> Nagios forces active checks to be run when used in conjuction with freshness checking, even when active checks for that service are disabled. The docs describe it pretty well at http://nagios.sourceforge.net/docs/2_0/distributed.html under the "Freshness Checking" section. You have to read it carefully, though. Tom Jonathan Call wrote: > Correct me if I'm wrong: > In order to run a distributed system, the central server should have > active service checks disabled. But freshness checking executes the > check command when it doesn't receive a passive response in a timely > manner. This means the freshness check never runs. > > How do you get around that? > > > This email message is intended for the use of the person to whom it has been sent, and may contain information that is confidential or legally protected. If you are not the intended recipient or have received this message in error, you are not authorized to copy, distribute, or otherwise use this message or its attachments. Please notify the sender immediately by return e-mail and permanently delete this message and any attachments. Verio, Inc. makes no warranty that this email is error or virus free. 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 > -- ------------------------------------- Tom Ammon Network Engineer Business Card at http://tomsbox.net/bizcard_TomAmmon.jpg Center for High Performance Computing University of Utah http://www.chpc.utah.edu ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jcall at verio.net Fri Aug 15 20:13:22 2008 From: jcall at verio.net (Jonathan Call) Date: Fri, 15 Aug 2008 14:13:22 -0400 Subject: Freshness checking and a distributed Nagios system. In-Reply-To: <48A5C4C4.7080503@utah.edu> References: <04F3233F47E2714CB7431AE913E57E7702E3C5A9@IAD-WPRD-XCHB02.corp.verio.net> <48A5C4C4.7080503@utah.edu> Message-ID: <04F3233F47E2714CB7431AE913E57E7702E3C5AC@IAD-WPRD-XCHB02.corp.verio.net> I did read through that section thoroughly. I set up the check on the central server and then disabled the check on the distributed server. I waited for the time limit to expire. I watch the central server set the next active check time to ~10 minutes after the last check time. But that time came and went and nothing happened. Perhaps this is because I have active checks disabled globally (via nagios.cfg) on my central server instead of on a per host basis? -----Original Message----- From: Tom Ammon [mailto:tom.ammon at utah.edu] Sent: Friday, August 15, 2008 12:03 PM To: Jonathan Call Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Freshness checking and a distributed Nagios system. Nagios forces active checks to be run when used in conjuction with freshness checking, even when active checks for that service are disabled. The docs describe it pretty well at http://nagios.sourceforge.net/docs/2_0/distributed.html under the "Freshness Checking" section. You have to read it carefully, though. Tom Jonathan Call wrote: > Correct me if I'm wrong: > In order to run a distributed system, the central server should have > active service checks disabled. But freshness checking executes the > check command when it doesn't receive a passive response in a timely > manner. This means the freshness check never runs. > > How do you get around that? > > > This email message is intended for the use of the person to whom it has been sent, and may contain information that is confidential or legally protected. If you are not the intended recipient or have received this message in error, you are not authorized to copy, distribute, or otherwise use this message or its attachments. Please notify the sender immediately by return e-mail and permanently delete this message and any attachments. Verio, Inc. makes no warranty that this email is error or virus free. 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 > -- ------------------------------------- Tom Ammon Network Engineer Business Card at http://tomsbox.net/bizcard_TomAmmon.jpg Center for High Performance Computing University of Utah http://www.chpc.utah.edu This email message is intended for the use of the person to whom it has been sent, and may contain information that is confidential or legally protected. If you are not the intended recipient or have received this message in error, you are not authorized to copy, distribute, or otherwise use this message or its attachments. Please notify the sender immediately by return e-mail and permanently delete this message and any attachments. Verio, Inc. makes no warranty that this email is error or virus free. 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 marc at ena.com Fri Aug 15 22:18:49 2008 From: marc at ena.com (Marc Powell) Date: Fri, 15 Aug 2008 15:18:49 -0500 Subject: elapsed down time In-Reply-To: <178abefbbefa35f7f5604e3a8949434a.squirrel@webmail.lockie.ca> References: <48A5B3BF.2040108@vanderkooij.org> <178abefbbefa35f7f5604e3a8949434a.squirrel@webmail.lockie.ca> Message-ID: On Aug 15, 2008, at 12:43 PM, James wrote: > On Fri, August 15, 2008 12:50 pm, Hugo van der Kooij wrote: >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >> >> >> Marc Powell wrote: >> | On Aug 15, 2008, at 10:30 AM, James wrote: >> | >> |> I want to include the elapsed time from the host down alert to the >> |> "Notification Type: RECOVERY". >> | >> | Isn't it awesome then that there are several macros available >> that'll >> | help you accomplish that? >> >> >> Would you care to elaborate? > > He's telling me to RTFM. :-) Since you were a good sport, I think these will be the most useful to you, depending on which you're most interested in -- - This is a timestamp in time_t format (seconds since the UNIX epoch) indicating the time the host last changed state. - This is a timestamp in time_t format (seconds since the UNIX epoch) indicating the time at which the host was last detected as being in an UP state. Either would be suitable for calculations or use in the 'date' command. -- 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 Eliot.Picken at wenaas.co.uk Fri Aug 15 23:00:44 2008 From: Eliot.Picken at wenaas.co.uk (Eliot.Picken at wenaas.co.uk) Date: Fri, 15 Aug 2008 22:00:44 +0100 Subject: AUTO: Eliot Picken is out of the office (returning 18/08/2008) Message-ID: I am out of the office until 18/08/2008. I am currently out of the office, returning Monday 18th August. Please do feel free to contact me on my mobile. Best regards Eliot Note: This is an automated response to your message "Re: [Nagios-users] snmp proxy daemon help" sent on 8/15/2008 5:44:25 PM. This is the only notification you will receive while this person is away. **************************************************************************************************************************************** Important Note:? This message contains confidential information which is intended to?be recevied by the addressee only.???We acknowledge that e-mail is not an entirely secure medium of communication and you should be aware of this when replying.? If you have received this email in error, please advise the sender?of this at the earliest opportunity.??We take all reasonable steps to ensure?this email is free from any malicious content, but cannot provide any guarantee that this is the case.? The company's ?email and internet traffic is also?monitored under the provisions of the Regulation of Investigatory Powers Act 2000. Wenaas UK Ltd is a limited company registered in Scotland, under company number 62062. Registered Office : Unit 1 Hareness Circle, Altens, Aberdeen, AB12 3LY, United Kingdom **************************************************************************************************************************************** -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Stefan.Kulcsar at Marquardt.de Fri Aug 15 22:33:58 2008 From: Stefan.Kulcsar at Marquardt.de (Kulcsar, Stefan) Date: Fri, 15 Aug 2008 22:33:58 +0200 Subject: Internal Server Error In-Reply-To: References: Message-ID: Hi, i think we found the "problem" it was a backslash \ at the end of a plugin_output -- stefan > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > Of Mark Young > Sent: Tuesday, August 12, 2008 4:46 PM > To: Nagios User list > Subject: Re: [Nagios-users] Internal Server Error > > Hi Stefan, > > On Aug 12, 2008, at 4:18 AM, Kulcsar, Stefan wrote: > > > Hi Assaf, > > > > glibc is at version glibc-2.5-24 > > it is a i585. > >> > >>> Nagios version: 3.0.3 > >>> Distribution: CentOS 5.2 > >>> > >>> I don't installed anything on this server the problem > appears from > >>> one to > >>> the other day and i dont know from where it comes. It must be > >>> something in > >>> the object definition files but i dont know what. If i > stop nagios > >>> it runs > >>> perfectly for a while(15-30 mins) after this time the problem > >>> appears > >>> again. > >>> > > Are you saying that you have had this problem since your first > install? It is possible that you have found a bug but many > people are > running Nagios 3.0.3 on CentOS. Is there anything > interesting/"out of > the ordinary" in your configuration of Nagios that you could think > of? Could we get more on what causes this error to start? > > The object definition files should be carefully checked by Nagios on > startup unless there is some illusive bug. Have you tried running > nagios with a simple configuration. > > I would try two things: I would back up nagios/etc and then install > the sample configs (make install-config) and see if that shows any > difference. And I would still strongly suggest to reconfigure/ > recompile nagios using the method as described in the > quickstart guide > for fedora; scaning over the configuration output for anything > interesting. > > Hope this helps. > > Mark Young > ___ > Nagios Enterprises, LLC > Web: www.nagios.com > > -------------------------------------------------------------- > ----------- > This SF.Net email is sponsored by the Moblin Your Move > Developer's challenge > Build the coolest Linux based applications with Moblin SDK & > win great prizes > Grand prize is a trip for two to an Open Source event > anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From amontibello at gmail.com Sat Aug 16 00:33:49 2008 From: amontibello at gmail.com (Anthony Montibello) Date: Fri, 15 Aug 2008 18:33:49 -0400 Subject: Monitoring Windows Clients In-Reply-To: <32309984.53181218821041825.JavaMail.root@mail.opservices.com.br> References: <9a76360808150904s65788d7dy469e333ffe4a4661@mail.gmail.com> <32309984.53181218821041825.JavaMail.root@mail.opservices.com.br> Message-ID: OR try NC_Net (http://sourceforge.net/projects/nc-net) NC_NEt, OpMon, NSCLinet(http://nsclient.ready2run.nl/),NSClient++ All Use check_NT and you should be able to easily interchange between them. (all Window client side configuring) provided you are using the Official Check_nt Plugin. NC_Net offers an array of additional commands as well as Passive checks via NSCA instead of NRPE it has its own RUNSCRIPT command. these and other addtional commads are availible by compilling check_nc_net.c instead of Check_nt.c Tony (Author of NC_Net) On Fri, Aug 15, 2008 at 1:24 PM, Dario B. Bestetti < dario.bestetti at opservices.com.br> wrote: > > ----- "Jeff Marble" escreveu: > > > My Solaris clients all work great but a few of the windows clients die > > each day. > > > > I have installed and configured nsclient from MikeM on 15 Windows > > servers. 6-8 times each day, the nsclient++ service will die with no > > information in the NSC.log file. > > > > I am using nsclient, not nrpe. No preference here, just what was the > > most straight forward for a Solaris guy to monitor a few windows > > servers. > > > > I enabled the recommended modules in the instructions and monitory > > cpu > > load, disk space, a process and memory usage in the NSC.ini file. > > These work fine. I have since commented out NRPEListener, SysTray, > > CheckEvenLog and CheckHelpers. Remaining is FileLogger, CheckSystem, > > CheckDisk, and NSClientListener. I only allow the nagios host to > > connect on port 12489. I bind to one NIC on the windows server. > > Debug is turned on. > > > > > > I am a newbie to monitoring windows clients. Please point me in the > > right direction. I suspect I have configured something wrong because > > I > > assume many others are also using NSCLient++. I have googled, read > > blogs, and read the list. > > > > At this point, I will attempt to switch to NRPE and see if that makes > > a difference. Unless there is a fix or a better option. > > > > Thank you, > > Jeff > > > > -- > > Jeff Marble > > JRMarble at GMail.com > > Try OpMon Agent: > http://www.opservices.com.br/index.php?option=com_content&task=view&id=54&Itemid=54 > > []s > Dario > > > > ------------------------------------------------------------------------- > > This SF.Net email is sponsored by the Moblin Your Move Developer's > > challenge > > Build the coolest Linux based applications with Moblin SDK & win great > > prizes > > Grand prize is a trip for two to an Open Source event anywhere in the > > world > > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Sat Aug 16 00:47:13 2008 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Sat, 16 Aug 2008 00:47:13 +0200 Subject: elapsed down time In-Reply-To: <689A31DE-B4C4-4424-BDB4-2093A0288643@ena.com> References: <48A5B3BF.2040108@vanderkooij.org> <689A31DE-B4C4-4424-BDB4-2093A0288643@ena.com> Message-ID: <48A60771.8080608@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Marc Powell wrote: | | On Aug 15, 2008, at 11:50 AM, Hugo van der Kooij wrote: | |> -----BEGIN PGP SIGNED MESSAGE----- |> Hash: SHA1 |> |> Marc Powell wrote: |> | On Aug 15, 2008, at 10:30 AM, James wrote: |> | |> |> I want to include the elapsed time from the host down alert to the |> |> "Notification Type: RECOVERY". |> | |> | Isn't it awesome then that there are several macros available that'll |> | help you accomplish that? |> |> Would you care to elaborate? |> |> I recall a similar discussion here that did not result in a simple |> solution. So I may have missed something here. | | Either of these seem feasible, depending on specificity -- | | $LASTHOSTSTATECHANGE$ This is a timestamp in time_t format (seconds | since the UNIX epoch) indicating the time the host last changed state. | $LASTHOSTUP$ This is a timestamp in time_t format (seconds since the | UNIX epoch) indicating the time at which the host was last detected as | being in an UP state. I recall that $LASTHOSTSTATECHANGE$ only worked to indicate the previous working period on a down message but the up message showed a bogus counter (being 0 or close to zero). So that variable is not that usefull. I for one would not care about how long the UP period was but I do care about the DOWN period. But I have not yet found a way to add it to the report. Hugo. PS: I see no reason to take this off the list. Hence I used the Reply-To: header. - -- 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) iD8DBQFIpgdvBvzDRVjxmYERAryyAJ9GxSDrCMCUUDH5j76SjqviaGnIwACgj7zi Cns1UDxaZsb6jVMW9z+ippQ= =Lja5 -----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 dermoth at aei.ca Sat Aug 16 04:40:27 2008 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Fri, 15 Aug 2008 22:40:27 -0400 Subject: Freshness checking and a distributed Nagios system. In-Reply-To: <04F3233F47E2714CB7431AE913E57E7702E3C5AC@IAD-WPRD-XCHB02.corp.verio.net> References: <04F3233F47E2714CB7431AE913E57E7702E3C5A9@IAD-WPRD-XCHB02.corp.verio.net> <48A5C4C4.7080503@utah.edu> <04F3233F47E2714CB7431AE913E57E7702E3C5AC@IAD-WPRD-XCHB02.corp.verio.net> Message-ID: <48A63E1B.1060300@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 15/08/08 02:13 PM, Jonathan Call wrote: > I did read through that section thoroughly. I set up the check on the > central server and then disabled the check on the distributed server. I > waited for the time limit to expire. I watch the central server set the > next active check time to ~10 minutes after the last check time. But > that time came and went and nothing happened. > > Perhaps this is because I have active checks disabled globally (via > nagios.cfg) on my central server instead of on a per host basis? Most likely, since freshness checks are actually active checks. If you use templates properly, disabling active checks on all hosts of the central server should be a one-line change. Also, depending on what you're trying to do you may want to use a special check for freshness checking, like: command_line $USER1$/check_dummy 3 "Did not receive $SERVICEDESC$ results" If you want to change the alert level and/or message depending on the service you can pass it as arguments too; ex: command_name check_dummy command_line $USER1$/check_dummy $ARG1$ $ARG2$ And on the service: check_command check_dummy!1!"Did not receive $SERVICEDESC$ results" - -- Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIpj4b6dZ+Kt5BchYRAsWBAJ9oiSNbWutkfflZjpxGiCer/XKg8gCg5nLI 1Cdwd6gey6YclhczTmXkDRo= =IHGh -----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 Sat Aug 16 19:32:49 2008 From: marc at ena.com (Marc Powell) Date: Sat, 16 Aug 2008 12:32:49 -0500 Subject: elapsed down time In-Reply-To: <48A60771.8080608@vanderkooij.org> References: <48A5B3BF.2040108@vanderkooij.org> <689A31DE-B4C4-4424-BDB4-2093A0288643@ena.com> <48A60771.8080608@vanderkooij.org> Message-ID: <0A90DEF9-35AA-4F83-82BA-F23F1D1B9759@ena.com> On Aug 15, 2008, at 5:47 PM, Hugo van der Kooij wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Marc Powell wrote: > | $LASTHOSTSTATECHANGE$ This is a timestamp in time_t format > (seconds > | since the UNIX epoch) indicating the time the host last changed > state. > | $LASTHOSTUP$ This is a timestamp in time_t format (seconds > since the > | UNIX epoch) indicating the time at which the host was last > detected as > | being in an UP state. > > I recall that $LASTHOSTSTATECHANGE$ only worked to indicate the > previous > working period on a down message but the up message showed a bogus > counter (being 0 or close to zero). So that variable is not that > usefull. That would be an order-of-operations bug then, IMHO. The variables should not be updated before a notification is sent or they do become useless. You know by the fact that you received a recovery notification that it just changed to an OK state. I can't explicitly test this since I don't use host checks and I'm not using 3.x yet. > I for one would not care about how long the UP period was but I do > care > about the DOWN period. But I have not yet found a way to add it to the > report. Assuming that the above macro works as advertised, it would be trivial -- notification command { echo " ...\n Duration of downtime was $$((`/bin/date +%s` - $LASTHOSTUP $)) seconds, starting around `/bin/date -d '1970-01-01 UTC $LASTHOSTUP $ sec'`" | mail -s ... -- 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 narendran.neelamegam at wipro.com Mon Aug 18 08:50:20 2008 From: narendran.neelamegam at wipro.com (narendran.neelamegam at wipro.com) Date: Mon, 18 Aug 2008 12:20:20 +0530 Subject: Service monitoring on Japanese Windows 2000 In-Reply-To: <0A90DEF9-35AA-4F83-82BA-F23F1D1B9759@ena.com> References: <0A90DEF9-35AA-4F83-82BA-F23F1D1B9759@ena.com> Message-ID: NSClient++ Version : Nsclient++ 2.x Os : Windows 2000 Service Pack 4 Nagios Version : 2.5 Attachment : services.msc on the Windows 2000 (Japanese) server. define service{ use check-service-availability name ZENworks Asset Management - Collection Client service_description ZENworks Asset Management - Collection Client host_name 1,2,3 check_command check_nrpe_service!'TSCensus Collection Client' contact_groups D1,M1 } The above service check always returns critical "service stopped"(Service is running fine). Whereas the same configuration on the Windows 2000 (English) systems return OK. Is it something to do with the locale? Should I be running a newer version of NSClient++ ( All are production systems, Hence unable to test with new version) I thought this is only required for perf counters)? Thanks and regards, Naren -------------- next part -------------- A non-text attachment was scrubbed... Name: Service_j.GIF Type: image/gif Size: 39520 bytes Desc: Service_j.GIF URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jason.Ellmers at firstgroup.com Mon Aug 18 08:50:43 2008 From: Jason.Ellmers at firstgroup.com (Jason Ellmers) Date: Mon, 18 Aug 2008 07:50:43 +0100 Subject: CN=Jason Ellmers/OU=FirstInfo/O=FirstGroup is out of the office. Message-ID: I will be Out of the Office Start Date: 16/08/2008. End Date: 01/09/2008. Thank you for your mail. I am currently away from the office on Paternity Leave, returning on 01st September If you need a fault escalating please call the service desk on 0038696 (0870 241 5500) with the case reference and ask for Martina Nicholson who has overall responsibility for the Service Desk Covering me for signing off IMACs is Dominic Pioli (07815756259), Dominic will be availiable you are unable to contact the above. ********************************************************************** This message is confidential. It may not be disclosed to, or used by, anyone other than the addressee. If you receive this message in error, please advise us immediately. Internet email is not necessarily secure. First does not accept responsibility for changes to any email which occur after the email has been sent. Attachments to this email could contain software viruses which could damage your system. First have checked the attachments for viruses before sending, but you should virus-check them before opening. For more information on our range of services or to book your tickets online, please visit:- http://www.firstgroup.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 thomas.leveille at gmail.com Mon Aug 18 09:55:38 2008 From: thomas.leveille at gmail.com (Thomas Leveille) Date: Mon, 18 Aug 2008 09:55:38 +0200 Subject: schedule a check only a few times a day Message-ID: I would like to add a check, but it would need to run only a few times a day. I would like to know the best way to do it. I've thought about 2 ways to do it : - a big 24x7 timperiod associated with a 3-4 hours check_interval value. I don't know how nagios react to big check_interval values. I've only added checks with interval of 1 to 30 minutes so far. - a/several very shorts timeperiods (like 5 minutes) with a check interval of 2-3 minutes ? I could get 2 checks in a row and I fear of missing a check if the nagios server is busy. - or add nsca daemon on the nagios server and schedule the check via a cron job. I don't like this idea which would need me to dig new holes in our firewalls. I'd like to stay with the nrpe only setup. Any idea ? -- Thomas Leveille -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Aug 18 10:29:35 2008 From: ae at op5.se (Andreas Ericsson) Date: Mon, 18 Aug 2008 10:29:35 +0200 Subject: schedule a check only a few times a day In-Reply-To: References: Message-ID: <48A932EF.3040509@op5.se> Thomas Leveille wrote: > I would like to add a check, but it would need to run only a few times a > day. I would like to know the best way to do it. I've thought about 2 ways > to do it : > > - a big 24x7 timperiod associated with a 3-4 hours check_interval value. I > don't know how nagios react to big check_interval values. I've only added > checks with interval of 1 to 30 minutes so far. > > - a/several very shorts timeperiods (like 5 minutes) with a check interval > of 2-3 minutes ? I could get 2 checks in a row and I fear of missing a check > if the nagios server is busy. > > - or add nsca daemon on the nagios server and schedule the check via a cron > job. I don't like this idea which would need me to dig new holes in our > firewalls. I'd like to stay with the nrpe only setup. > If you can originally run the check from the nagios server, nothing's stopping you from just running the check through some other mechanism and submitting the check-result passively to Nagios. You don't have to go through nsca to do that, and you won't need to open your firewalls more than they already are. Check the documentation for how to submit passive checkresults into Nagios. -- 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 stanb at panix.com Mon Aug 18 14:13:07 2008 From: stanb at panix.com (stan) Date: Mon, 18 Aug 2008 08:13:07 -0400 Subject: Icon's for nagvis Message-ID: <20080818121307.GA2583@teddy.fas.com> Looking at the example screenshots for nagvis it seems that their should be a few more images available than I find in the distribution Does anyone know where I can find these? They are things like the network backbones etc. -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From angeolivier2003 at yahoo.fr Mon Aug 18 14:39:27 2008 From: angeolivier2003 at yahoo.fr (Kermito le kermit) Date: Mon, 18 Aug 2008 12:39:27 +0000 (GMT) Subject: ping with nrpe Message-ID: <549634.52137.qm@web26104.mail.ukl.yahoo.com> hi all, i want to make a ping on remote host with nrpe all is fine when i make in command line ./check_nrpe -H host -c script to ping other host when i put this to centreon i have this message to interface : UNKNOWN: No handler for that command but the i am to command line a see this : ./check_nrpe -H 172.1.1.60 -c CERTIF Ping OK any ideas. _____________________________________________________________________________ Envoyez avec Yahoo! Mail. Une boite mail plus intelligente http://mail.yahoo.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 andurin at process-zero.de Mon Aug 18 15:23:26 2008 From: andurin at process-zero.de (=?ISO-8859-1?Q?Hendrik_B=E4cker?=) Date: Mon, 18 Aug 2008 15:23:26 +0200 Subject: Icon's for nagvis In-Reply-To: <20080818121307.GA2583@teddy.fas.com> References: <20080818121307.GA2583@teddy.fas.com> Message-ID: <48A977CE.3080801@process-zero.de> Hi stan, stan schrieb: > Looking at the example screenshots for nagvis it seems that their should be > a few more images available than I find in the distribution Does anyone > know where I can find these? > > They are things like the network backbones etc. > May be that there are only already painted background images? AFAIK you can build up your iconsets by your own, and may be you will make the community happy if you share them with others. Regards, Hendrik PS. May be you are close to the NagVis Developer if you post in their forum - since a few months it's in english too ;) http://www.nagios-portal.org/wbb/index.php?page=Board&boardID=42&l=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 Roger at NagiosWiki.com Mon Aug 18 16:23:07 2008 From: Roger at NagiosWiki.com (Roger) Date: Mon, 18 Aug 2008 07:23:07 -0700 Subject: Nagios 3.x rpms? Message-ID: <2b7af7c40808180723l6c235e7amb5230b8a2e14499a@mail.gmail.com> Is there a way to install Nagios 3 via rpm on RHEL 3 boxes? (I don't find any googling, just ones for 2.x) Or do I need to just compile from scratch? And where might I go to find out this sort of thing? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Aug 18 16:24:14 2008 From: assaf.flatto at ssp.uk.com (Assaf Flatto) Date: Mon, 18 Aug 2008 14:24:14 +0000 Subject: Nagios 3.x rpms? In-Reply-To: <2b7af7c40808180723l6c235e7amb5230b8a2e14499a@mail.gmail.com> References: <2b7af7c40808180723l6c235e7amb5230b8a2e14499a@mail.gmail.com> Message-ID: <200808181424.14289.assaf.flatto@ssp.uk.com> Mandriva has rpms for nagios 3.x you can try getting the src or just hope they will work directly. Assaf On Monday 18 August 2008 14:23:07 Roger wrote: > Is there a way to install Nagios 3 via rpm on RHEL 3 boxes? (I don't find > any googling, just ones for 2.x) > > Or do I need to just compile from scratch? > > And where might I go to find out this sort of thing? 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 frimik at gmail.com Mon Aug 18 16:49:31 2008 From: frimik at gmail.com (Mikael Fridh) Date: Mon, 18 Aug 2008 16:49:31 +0200 Subject: Nagios 3.x rpms? In-Reply-To: <200808181424.14289.assaf.flatto@ssp.uk.com> References: <2b7af7c40808180723l6c235e7amb5230b8a2e14499a@mail.gmail.com> <200808181424.14289.assaf.flatto@ssp.uk.com> Message-ID: <323f67830808180749k7a66718ara1476da501d1dde3@mail.gmail.com> On Mon, Aug 18, 2008 at 4:24 PM, Assaf Flatto wrote: > Mandriva has rpms for nagios 3.x > you can try getting the src or just hope they will work directly. > Here's a 3.x I made based on rpmforge's 2.x iirc... Note that the selinux package is just bogus at the moment. http://dasen.se/software/nagios/ files: nagios-3.0.3-1.its.el5.i386.rpm nagios-3.0.3-1.its.el5.src.rpm nagios-devel-3.0.3-1.its.el5.i386.rpm nagios-selinux-3.0.3-1.its.el5.i386.rpm Regards, -- 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 rmp.dmd1229 at gmail.com Mon Aug 18 18:11:41 2008 From: rmp.dmd1229 at gmail.com (rmp dmd) Date: Mon, 18 Aug 2008 12:11:41 -0400 Subject: Plug-in to forward syslog into Nagios Message-ID: <61d255bb0808180911t2e5ea0c8yf2f4416857034e99@mail.gmail.com> Hi, Good day! Question, if there's a plug-in/service for Unix that can forward filtered syslog into Nagios. Our current environment does not allow us to set-up a central log server but there's an existing Nagios monitoring server. We would like to have alerts from nagios if a system/host have a Critical/Error messages. This is almost similar to Nagios EventLog agent for Windows which forwards filtered EventLog messages into Nagios, via the NSCA daemon. Thanks! RMP -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Aug 18 18:12:14 2008 From: assaf.flatto at ssp.uk.com (Assaf Flatto) Date: Mon, 18 Aug 2008 16:12:14 +0000 Subject: Plug-in to forward syslog into Nagios In-Reply-To: <61d255bb0808180911t2e5ea0c8yf2f4416857034e99@mail.gmail.com> References: <61d255bb0808180911t2e5ea0c8yf2f4416857034e99@mail.gmail.com> Message-ID: <200808181612.14682.assaf.flatto@ssp.uk.com> Try this : http://www.nagiosexchange.org/cgi-bin/page.cgi?g=Detailed%2F1641.html;d=1 or this : http://www.nagiosexchange.org/cgi-bin/page.cgi?g=Detailed%2F1484.html;d=1 Assaf On Monday 18 August 2008 16:11:41 rmp dmd wrote: > Hi, > > Good day! > > Question, if there's a plug-in/service for Unix that can forward filtered > syslog into Nagios. Our current environment does not allow us to set-up a > central log server but there's an existing Nagios monitoring server. We > would like to have alerts from nagios if a system/host have a > Critical/Error messages. This is almost similar to Nagios EventLog agent > for Windows which forwards filtered EventLog messages into Nagios, via the > NSCA daemon. > > Thanks! > RMP 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 Aug 18 18:15:15 2008 From: assaf.flatto at ssp.uk.com (Assaf Flatto) Date: Mon, 18 Aug 2008 16:15:15 +0000 Subject: Plug-in to forward syslog into Nagios In-Reply-To: <61d255bb0808180911t2e5ea0c8yf2f4416857034e99@mail.gmail.com> References: <61d255bb0808180911t2e5ea0c8yf2f4416857034e99@mail.gmail.com> Message-ID: <200808181615.15441.assaf.flatto@ssp.uk.com> sorry for the other mail - was a mistake , was meant for some one else. The one you might want to try is this one http://www.nagiosexchange.org/cgi-bin/page.cgi?g=Detailed%2F2040.html;d=1 It looks for a pattern in the specified log file . Assaf On Monday 18 August 2008 16:11:41 rmp dmd wrote: > Hi, > > Good day! > > Question, if there's a plug-in/service for Unix that can forward filtered > syslog into Nagios. Our current environment does not allow us to set-up a > central log server but there's an existing Nagios monitoring server. We > would like to have alerts from nagios if a system/host have a > Critical/Error messages. This is almost similar to Nagios EventLog agent > for Windows which forwards filtered EventLog messages into Nagios, via the > NSCA daemon. > > Thanks! > RMP 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 CSerafin at RKON.com Mon Aug 18 18:21:33 2008 From: CSerafin at RKON.com (Serafin, Chris) Date: Mon, 18 Aug 2008 11:21:33 -0500 Subject: M$ Radius service checking Message-ID: <63C821463F23D1418E680D8A6C276732889EC4@server2.RKON.COM> Is anyone monitoring Microsoft IAS Radius service? I normally monitor Windows services via SNMP and the service xxx.exe; but the IAS Radius service uses svchost.exe, which has 7+ processes running in the background. Is there a specific check, other than actually using Nagios to authenticate to the server every 10 min or so? Chris Serafin Security Engineer RKON Technologies Office : 312-654-0300 Cell: 708-307-2413 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Byron.Gerber at nwcs.k12.in.us Mon Aug 18 19:20:35 2008 From: Byron.Gerber at nwcs.k12.in.us (Byron Gerber) Date: Mon, 18 Aug 2008 13:20:35 -0400 Subject: make all Message-ID: <48A97722.BB1A.00AA.0@nwcs.k12.in.us> I am new so thanks for all your help in advance! I am working on installing nagios on a suse box. all was going well to I got to step four (on the quick start guide), when I type in the make all command after the ./configure command I get the following error. bash: make: command not found Its probably something very simple I am missing so sorry but thanks!!!! Byron Byron Gerber Northern Wells Community Schools Network Administrator 260.622.4125 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Aug 18 19:22:46 2008 From: andurin at process-zero.de (=?UTF-8?B?SGVuZHJpayBCworDpGNrZXI=?=) Date: Mon, 18 Aug 2008 19:22:46 +0200 Subject: make all In-Reply-To: <48A97722.BB1A.00AA.0@nwcs.k12.in.us> References: <48A97722.BB1A.00AA.0@nwcs.k12.in.us> Message-ID: <48A9AFE6.5050005@process-zero.de> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 yast -i make ? Byron Gerber schrieb: > I am new so thanks for all your help in advance! > > I am working on installing nagios on a suse box. all was going well to I > got to step four (on the quick start guide), when I type in the make all > command after the ./configure command I get the following error. > > bash: make: command not found > > Its probably something very simple I am missing so sorry but thanks!!!! > > Byron > > Byron Gerber > Northern Wells Community Schools > Network Administrator > 260.622.4125 > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > > > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (Darwin) iEYEARECAAYFAkipr+YACgkQlI0PwfxLQjnCdACfQeptC9OOCeCpr1ZdSV8CIJap pYQAnRiQOytjMgjLomFwktGwuTV6unu5 =qSLc -----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 nospam001-lists at jankoh.dyndns.org Mon Aug 18 19:26:11 2008 From: nospam001-lists at jankoh.dyndns.org (Jan Kohnert) Date: Mon, 18 Aug 2008 19:26:11 +0200 Subject: make all In-Reply-To: <48A97722.BB1A.00AA.0@nwcs.k12.in.us> References: <48A97722.BB1A.00AA.0@nwcs.k12.in.us> Message-ID: <200808181926.15977.nospam001-lists@jankoh.dyndns.org> Byron Gerber schrieb: > bash: make: command not found Do you have the GNU make software installed? Should be easy to find in the software installation dialog of YaST (I hope so ;) ). -- MfG Jan -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 197 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 Byron.Gerber at nwcs.k12.in.us Mon Aug 18 20:08:30 2008 From: Byron.Gerber at nwcs.k12.in.us (Byron Gerber) Date: Mon, 18 Aug 2008 14:08:30 -0400 Subject: make all In-Reply-To: <200808181926.15977.nospam001-lists@jankoh.dyndns.org> References: <48A97722.BB1A.00AA.0@nwcs.k12.in.us> <200808181926.15977.nospam001-lists@jankoh.dyndns.org> Message-ID: <48A9825D.BB1A.00AA.0@nwcs.k12.in.us> Thanks!!!! >>> Jan Kohnert 8/18/2008 1:26 PM >>> Byron Gerber schrieb: > bash: make: command not found Do you have the GNU make software installed? Should be easy to find in the software installation dialog of YaST (I hope so ;) ). -- MfG Jan -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Aug 18 20:34:18 2008 From: ssimmons at cymfony.com (Seth Simmons) Date: Mon, 18 Aug 2008 14:34:18 -0400 Subject: M$ Radius service checking In-Reply-To: <63C821463F23D1418E680D8A6C276732889EC4@server2.RKON.COM> References: <63C821463F23D1418E680D8A6C276732889EC4@server2.RKON.COM> Message-ID: <13F36D2926AD444697093282F20041B7077CA856@buf-ex01.cymfony.com> If you just want to check if the service is running, you could do this with nsclient. check_command check_nt!SERVICESTATE!-d SHOWALL -l IAS From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Serafin, Chris Sent: Monday, August 18, 2008 12:22 PM To: Nagios-users at lists.sourceforge.net Subject: [Nagios-users] M$ Radius service checking Is anyone monitoring Microsoft IAS Radius service? I normally monitor Windows services via SNMP and the service xxx.exe; but the IAS Radius service uses svchost.exe, which has 7+ processes running in the background. Is there a specific check, other than actually using Nagios to authenticate to the server every 10 min or so? Chris Serafin Security Engineer RKON Technologies Office : 312-654-0300 Cell: 708-307-2413 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From CSerafin at RKON.com Mon Aug 18 20:39:25 2008 From: CSerafin at RKON.com (Serafin, Chris) Date: Mon, 18 Aug 2008 13:39:25 -0500 Subject: M$ Radius service checking In-Reply-To: <13F36D2926AD444697093282F20041B7077CA856@buf-ex01.cymfony.com> References: <63C821463F23D1418E680D8A6C276732889EC4@server2.RKON.COM> <13F36D2926AD444697093282F20041B7077CA856@buf-ex01.cymfony.com> Message-ID: <63C821463F23D1418E680D8A6C276732889F12@server2.RKON.COM> The client/myself tend to shy away from running clients on the servers, as we both prefer SNMP. Thank you for your response though! Back to google'in for answers, anyone else monitor MS Radius? Chris Serafin Security Engineer RKON Technologies Office : 312-654-0300 Cell: 708-307-2413 From: Seth Simmons [mailto:ssimmons at cymfony.com] Sent: Monday, August 18, 2008 1:34 PM To: Serafin, Chris; Nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] M$ Radius service checking If you just want to check if the service is running, you could do this with nsclient. check_command check_nt!SERVICESTATE!-d SHOWALL -l IAS From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Serafin, Chris Sent: Monday, August 18, 2008 12:22 PM To: Nagios-users at lists.sourceforge.net Subject: [Nagios-users] M$ Radius service checking Is anyone monitoring Microsoft IAS Radius service? I normally monitor Windows services via SNMP and the service xxx.exe; but the IAS Radius service uses svchost.exe, which has 7+ processes running in the background. Is there a specific check, other than actually using Nagios to authenticate to the server every 10 min or so? Chris Serafin Security Engineer RKON Technologies Office : 312-654-0300 Cell: 708-307-2413 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From johnfm3 at hotmail.com Mon Aug 18 22:22:58 2008 From: johnfm3 at hotmail.com (John Moore) Date: Mon, 18 Aug 2008 13:22:58 -0700 Subject: Check_SSH Plug-In Message-ID: Hey group,I am running a SLES server (SuSE) with a copy of Nagios 2.6 installed and working.I want the check_ssh plug-in to report with a Warning when ssh is running, and Green when ssh is off.It would be really great if I could use NRPE and perform this check locally. Any suggestions? Thanks,John _________________________________________________________________ Be the filmmaker you always wanted to be?learn how to burn a DVD with Windows?. http://clk.atdmt.com/MRT/go/108588797/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 marc at ena.com Mon Aug 18 22:42:32 2008 From: marc at ena.com (Marc Powell) Date: Mon, 18 Aug 2008 15:42:32 -0500 Subject: Check_SSH Plug-In In-Reply-To: References: Message-ID: <39843307-01C9-4F8D-B4FC-1797F0907B75@ena.com> On Aug 18, 2008, at 3:22 PM, John Moore wrote: > > > I want the check_ssh plug-in to report with a Warning when ssh is > running, and Green when ssh is off. > It would be really great if I could use NRPE and perform this check > locally. > > Any suggestions? Use the negate plugin. -- 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 bjlockie at lockie.ca Mon Aug 18 22:47:36 2008 From: bjlockie at lockie.ca (James) Date: Mon, 18 Aug 2008 16:47:36 -0400 (EDT) Subject: $LASTHOSTUP$ macro Message-ID: I am using the $LASTHOSTUP$ macro but it displays a timestamp in time_t format. I need to convert it to seconds. Time since last UP: 1218979837 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From CSerafin at RKON.com Mon Aug 18 23:00:52 2008 From: CSerafin at RKON.com (Serafin, Chris) Date: Mon, 18 Aug 2008 16:00:52 -0500 Subject: Monitoring Solaris via SNMP? Message-ID: <63C821463F23D1418E680D8A6C276732889F66@server2.RKON.COM> I'm trying to monitor CPU, memory and disk space via SNMP on a bunch of Solaris machines and running into errors (nothing returned from check_snmp_cpu.pl). Is anyone monitoring Solaris this way, and if so how/what plugin? Chris Serafin Security Engineer -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Aug 18 23:01:06 2008 From: smcafee at collaborativefusion.com (Sean McAfee) Date: Mon, 18 Aug 2008 17:01:06 -0400 Subject: $LASTHOSTUP$ macro In-Reply-To: References: Message-ID: <48A9E312.4070605@collaborativefusion.com> James wrote: > I am using the $LASTHOSTUP$ macro but it displays a timestamp in time_t > format. > I need to convert it to seconds. > > Time since last UP: 1218979837 > The $LAST[HOST|SERVICE]*$ macros all use time_t they're the basis of inter-process communication via the command_file: [1219093171.497486] [001.0] [pid=16669] remove_event() [1219093171.497502] [064.1] [pid=16669] Making callbacks (type 8)... [1219093171.497517] [001.0] [pid=16669] reschedule_event() [1219093171.497559] [001.0] [pid=16669] add_event() [1219093171.497604] [064.1] [pid=16669] Making callbacks (type 8)... [1219093171.497662] [064.1] [pid=16669] Making callbacks (type 19).. If you're set on using it, you're stuck using a wrapper script (or very creative command line-fu) to do the conversion. Otherwise, I'd look into using $HOSTDURATIONSEC$ instead, which is the seconds since the last state change. 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. **************************************************************** ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.shellam-lists at mailnetwork.co.uk Mon Aug 18 23:02:30 2008 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam) Date: Mon, 18 Aug 2008 22:02:30 +0100 Subject: Check_SSH Plug-In In-Reply-To: <39843307-01C9-4F8D-B4FC-1797F0907B75@ena.com> References: <39843307-01C9-4F8D-B4FC-1797F0907B75@ena.com> Message-ID: <48A9E366.1060106@mailnetwork.co.uk> Wouldn't negate cause an "OK" state to be a "Critical" state instead of a "warning" or can this be configured? Marc Powell wrote: > On Aug 18, 2008, at 3:22 PM, John Moore wrote: > >> I want the check_ssh plug-in to report with a Warning when ssh is >> running, and Green when ssh is off. >> It would be really great if I could use NRPE and perform this check >> locally. >> >> Any suggestions? >> > > Use the negate plugin. > > -- > 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 smcafee at collaborativefusion.com Mon Aug 18 23:11:05 2008 From: smcafee at collaborativefusion.com (Sean McAfee) Date: Mon, 18 Aug 2008 17:11:05 -0400 Subject: Check_SSH Plug-In In-Reply-To: <48A9E366.1060106@mailnetwork.co.uk> References: <39843307-01C9-4F8D-B4FC-1797F0907B75@ena.com> <48A9E366.1060106@mailnetwork.co.uk> Message-ID: <48A9E569.1080900@collaborativefusion.com> Andy Shellam wrote: > Wouldn't negate cause an "OK" state to be a "Critical" state instead of > a "warning" or can this be configured? Negate can customize its return code based on the return code of the exec'ed plugin: Usage:negate [-t timeout] [-owcu STATE] [-s] Options: -h, --help Print detailed help screen -V, --version Print version information -t, --timeout=INTEGER Seconds before connection times out (default: 11) Keep timeout longer than the plugin timeout to retain CRITICAL status. -o, --ok=STATUS -w, --warning=STATUS -c, --critical=STATUS -u, --unknown=STATUS STATUS can be 'OK', 'WARNING', 'CRITICAL' or 'UNKNOWN' without single quotes. Numeric values are accepted. If nothing is specified, permutes OK and CRITICAL. -s, --substitute Substitute output text as well. Will only substitute text in CAPITALS So in this case, you'd want to use `negate -w OK -o CRITICAL //path/to/check_ssh -checkargs/`. 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. **************************************************************** ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Aug 18 23:15:15 2008 From: ssimmons at cymfony.com (Seth Simmons) Date: Mon, 18 Aug 2008 17:15:15 -0400 Subject: Check_SSH Plug-In In-Reply-To: <48A9E569.1080900@collaborativefusion.com> References: <48A9E366.1060106@mailnetwork.co.uk> <48A9E569.1080900@collaborativefusion.com> Message-ID: <13F36D2926AD444697093282F20041B7077CA953@buf-ex01.cymfony.com> That's what I assumed also...unless I'm missing something here... ./negate -w OK -o CRITICAL /usr/local/nagios/libexec/check_ssh -H db4 SSH OK - OpenSSH_3.6.1p2 (protocol 1.99) ./check_ssh -H db4 SSH OK - OpenSSH_3.6.1p2 (protocol 1.99) I would have expected negate to return a warning. -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Sean McAfee Sent: Monday, August 18, 2008 5:11 PM To: Andy Shellam Cc: Nagios Users Mailinglist Subject: Re: [Nagios-users] Check_SSH Plug-In Andy Shellam wrote: > Wouldn't negate cause an "OK" state to be a "Critical" state instead of > a "warning" or can this be configured? Negate can customize its return code based on the return code of the exec'ed plugin: Usage:negate [-t timeout] [-owcu STATE] [-s] Options: -h, --help Print detailed help screen -V, --version Print version information -t, --timeout=INTEGER Seconds before connection times out (default: 11) Keep timeout longer than the plugin timeout to retain CRITICAL status. -o, --ok=STATUS -w, --warning=STATUS -c, --critical=STATUS -u, --unknown=STATUS STATUS can be 'OK', 'WARNING', 'CRITICAL' or 'UNKNOWN' without single quotes. Numeric values are accepted. If nothing is specified, permutes OK and CRITICAL. -s, --substitute Substitute output text as well. Will only substitute text in CAPITALS So in this case, you'd want to use `negate -w OK -o CRITICAL //path/to/check_ssh -checkargs/`. 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. **************************************************************** ------------------------------------------------------------------------ - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 Mon Aug 18 23:23:47 2008 From: marc at ena.com (Marc Powell) Date: Mon, 18 Aug 2008 16:23:47 -0500 Subject: Check_SSH Plug-In In-Reply-To: <48A9E366.1060106@mailnetwork.co.uk> References: <39843307-01C9-4F8D-B4FC-1797F0907B75@ena.com> <48A9E366.1060106@mailnetwork.co.uk> Message-ID: On Aug 18, 2008, at 4:02 PM, Andy Shellam wrote: > Wouldn't negate cause an "OK" state to be a "Critical" state instead > of a "warning" or can this be configured? It can be configured in recent versions. -- Marc ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Mon Aug 18 23:35:42 2008 From: marc at ena.com (Marc Powell) Date: Mon, 18 Aug 2008 16:35:42 -0500 Subject: $LASTHOSTUP$ macro In-Reply-To: <48A9E312.4070605@collaborativefusion.com> References: <48A9E312.4070605@collaborativefusion.com> Message-ID: <0DDAA532-CC6C-411C-941D-3BDCB98BEDD5@ena.com> On Aug 18, 2008, at 4:01 PM, Sean McAfee wrote: > James wrote: >> I am using the $LASTHOSTUP$ macro but it displays a timestamp in >> time_t >> format. >> I need to convert it to seconds. >> >> Time since last UP: 1218979837 That is in seconds. Seconds since Jan 1, 1970. :) > If you're set on using it, you're stuck using a wrapper script (or > very > creative command line-fu) to do the conversion. Otherwise, I'd look > (...deja-vu...) Creative command-line fu -- notification command { echo " Some stuff about the host being down or something\n Duration of downtime was $$((`/bin/date +%s` - $LASTHOSTUP$)) seconds, starting around `/bin/date -d '1970-01-01 UTC $LASTHOSTUP$ sec'`" | mail -s ... Note there's a rumor in another thread that this macro might get updated before the notification is sent. YMMV. -- Marc ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Mon Aug 18 23:40:42 2008 From: marc at ena.com (Marc Powell) Date: Mon, 18 Aug 2008 16:40:42 -0500 Subject: Check_SSH Plug-In In-Reply-To: <13F36D2926AD444697093282F20041B7077CA953@buf-ex01.cymfony.com> References: <48A9E366.1060106@mailnetwork.co.uk> <48A9E569.1080900@collaborativefusion.com> <13F36D2926AD444697093282F20041B7077CA953@buf-ex01.cymfony.com> Message-ID: On Aug 18, 2008, at 4:15 PM, Seth Simmons wrote: > That's what I assumed also...unless I'm missing something here... > > ./negate -w OK -o CRITICAL /usr/local/nagios/libexec/check_ssh -H db4 > SSH OK - OpenSSH_3.6.1p2 (protocol 1.99) > > ./check_ssh -H db4 > SSH OK - OpenSSH_3.6.1p2 (protocol 1.99) > > > I would have expected negate to return a warning. How do you know it didn't? (i.e. echo $?). If you're wanting to change the for-humans-only text of the plugin output, use the -s parameter. -- 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 DVeldhuisen at slb.com Mon Aug 18 23:58:36 2008 From: DVeldhuisen at slb.com (Doug Veldhuisen) Date: Mon, 18 Aug 2008 23:58:36 +0200 Subject: Monitoring Solaris via SNMP? In-Reply-To: <63C821463F23D1418E680D8A6C276732889F66@server2.RKON.COM> References: <63C821463F23D1418E680D8A6C276732889F66@server2.RKON.COM> Message-ID: Are you using the Solaris snmp stack or the net-snmp version on your Sun box? There is a difference, big difference in the data obtained. I think what your looking for comes from the Net-SNMP stack. Not totally sure, I have a couple of Sun boxes I plan on putting up under Nagios myself. Doug From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Serafin, Chris Sent: Monday, August 18, 2008 4:01 PM To: Nagios-users at lists.sourceforge.net Subject: [Nagios-users] Monitoring Solaris via SNMP? I'm trying to monitor CPU, memory and disk space via SNMP on a bunch of Solaris machines and running into errors (nothing returned from check_snmp_cpu.pl). Is anyone monitoring Solaris this way, and if so how/what plugin? Chris Serafin Security Engineer -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cyruspy at gmail.com Tue Aug 19 00:31:31 2008 From: cyruspy at gmail.com (Ciro Iriarte) Date: Mon, 18 Aug 2008 18:31:31 -0400 Subject: Check_SSH Plug-In In-Reply-To: References: Message-ID: 2008/8/18 John Moore : > Hey group, > I am running a SLES server (SuSE) with a copy of Nagios 2.6 installed and > working. > I want the check_ssh plug-in to report with a Warning when ssh is running, > and Green when ssh is off. > It would be really great if I could use NRPE and perform this check locally. > > Any suggestions? > > Thanks, > John > There's a "negate" plugin you can combine with check_ssh to negate the status of the plugin. Regards, Ciro ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From johnfm3 at hotmail.com Tue Aug 19 00:53:58 2008 From: johnfm3 at hotmail.com (John Moore) Date: Mon, 18 Aug 2008 15:53:58 -0700 Subject: Check_SSH Plug-In In-Reply-To: <13F36D2926AD444697093282F20041B7077CA953@buf-ex01.cymfony.com> References: <48A9E366.1060106@mailnetwork.co.uk> <48A9E569.1080900@collaborativefusion.com> <13F36D2926AD444697093282F20041B7077CA953@buf-ex01.cymfony.com> Message-ID: ./negate -w OK -o CRITICAL /usr/local/nagios/libexec/check_ssh -H db4 SSH OK - OpenSSH_3.6.1p2 (protocol 1.99) ./check_ssh -H db4 SSH OK - OpenSSH_3.6.1p2 (protocol 1.99) Ok, so should I configure this in my clients nrpe.cfg and have it ran as a local check? Or just configure it to check from the nagios box? Second, is this something thats installed thru the standard plug-ins? If not, a link would be handy to locate the add-on. Thanks, John > Date: Mon, 18 Aug 2008 17:15:15 -0400> From: ssimmons at cymfony.com> To: smcafee at collaborativefusion.com; andy.shellam-lists at mailnetwork.co.uk> CC: nagios-users at lists.sourceforge.net> Subject: Re: [Nagios-users] Check_SSH Plug-In> > That's what I assumed also...unless I'm missing something here...> > ./negate -w OK -o CRITICAL /usr/local/nagios/libexec/check_ssh -H db4> SSH OK - OpenSSH_3.6.1p2 (protocol 1.99)> > ./check_ssh -H db4> SSH OK - OpenSSH_3.6.1p2 (protocol 1.99)> > > I would have expected negate to return a warning.> > > -----Original Message-----> From: nagios-users-bounces at lists.sourceforge.net> [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Sean> McAfee> Sent: Monday, August 18, 2008 5:11 PM> To: Andy Shellam> Cc: Nagios Users Mailinglist> Subject: Re: [Nagios-users] Check_SSH Plug-In> > Andy Shellam wrote:> > Wouldn't negate cause an "OK" state to be a "Critical" state instead> of > > a "warning" or can this be configured?> > Negate can customize its return code based on the return code of the > exec'ed plugin:> > Usage:negate [-t timeout] [-owcu STATE] [-s] plugin>> > Options:> -h, --help> Print detailed help screen> -V, --version> Print version information> -t, --timeout=INTEGER> Seconds before connection times out (default: 11)> Keep timeout longer than the plugin timeout to retain CRITICAL> status.> -o, --ok=STATUS> -w, --warning=STATUS> -c, --critical=STATUS> -u, --unknown=STATUS> STATUS can be 'OK', 'WARNING', 'CRITICAL' or 'UNKNOWN' without> single> quotes. Numeric values are accepted. If nothing is specified,> permutes> OK and CRITICAL.> -s, --substitute> Substitute output text as well. Will only substitute text in> CAPITALS> > So in this case, you'd want to use `negate -w OK -o CRITICAL > //path/to/check_ssh -checkargs/`.> > 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.> ****************************************************************> > > > ------------------------------------------------------------------------> -> This SF.Net email is sponsored by the Moblin Your Move Developer's> challenge> Build the coolest Linux based applications with Moblin SDK & win great> prizes> Grand prize is a trip for two to an Open Source event anywhere in the> world> http://moblin-contest.org/redirect.php?banner_id=100&url=/> _______________________________________________> Nagios-users mailing list> Nagios-users at lists.sourceforge.net> https://lists.sourceforge.net/lists/listinfo/nagios-users> ::: 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 _________________________________________________________________ Talk to your Yahoo! Friends via Windows Live Messenger. Find out how. http://www.windowslive.com/explore/messenger?ocid=TXT_TAGLM_WL_messenger_yahoo_082008 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Aug 19 11:28:00 2008 From: assaf.flatto at ssp.uk.com (Assaf Flatto) Date: Tue, 19 Aug 2008 09:28:00 +0000 Subject: Changing Service/host state Manualy (or script) Message-ID: <200808190928.01022.assaf.flatto@ssp.uk.com> Hello List. I have a peculiar situation . I have 987 servers I need to ping in a specific time of day and send a report about them at the end of the time period ( that is no problem). The problem starts due to the fact that the servers status does not change in the time when I am not pinging them so in the next test cycle - their status hasn't changed and no notification is sent out . I need to change them so I will get a report of which are down and which are up. The solution I use now is, prior to the real test time period I defined a second time period where I run the check_dummy on all those server to set their status as OK ( no notification is sent for this change). Then I run the actual test and get the report . Anyone got a more elegant way to solve this issue ? Assaf 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 dermoth at aei.ca Tue Aug 19 13:11:41 2008 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Tue, 19 Aug 2008 07:11:41 -0400 Subject: Changing Service/host state Manualy (or script) In-Reply-To: <200808190928.01022.assaf.flatto@ssp.uk.com> References: <200808190928.01022.assaf.flatto@ssp.uk.com> Message-ID: <48AAAA6D.9020201@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 19/08/08 05:28 AM, Assaf Flatto wrote: > Hello List. > I have a peculiar situation . > I have 987 servers I need to ping in a specific time of day and send a report about them at the end > of the time period ( that is no problem). > The problem starts due to the fact that the servers status does not change in the time when I am not > pinging them so in the next test cycle - their status hasn't changed and no notification is sent > out . > > I need to change them so I will get a report of which are down and which are up. > > The solution I use now is, prior to the real test time period I defined a second time period where I > run the check_dummy on all those server to set their status as OK ( no notification is sent for > this change). > Then I run the actual test and get the report . > > Anyone got a more elegant way to solve this issue ? Volatile services is likely what you're looking for. Every non-OK result received will result in a notification. Those are usually set as passive checks too, with freshness checking & check_dummy to reset the state after some time (just for aesthetics - having stuff green in the web interface). - -- Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIqqpt6dZ+Kt5BchYRAs/wAKDUXL7QD3OSCRT/gQ/WTkCu4pthnACfVGpS i33na3JbLSuqkzNlsvBEHvE= =L/Dl -----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 kaushalshriyan at gmail.com Tue Aug 19 13:17:33 2008 From: kaushalshriyan at gmail.com (Kaushal Shriyan) Date: Tue, 19 Aug 2008 16:47:33 +0530 Subject: Nagios plugin for Modem Message-ID: <6b16fb4c0808190417q6225f170p165bdc5ebe17d6bc@mail.gmail.com> Hi Is there a Nagios Plugin to monitor Modem 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 stanb at panix.com Tue Aug 19 14:05:14 2008 From: stanb at panix.com (stan) Date: Tue, 19 Aug 2008 08:05:14 -0400 Subject: Build problems on Solaris 2.5.2 Message-ID: <20080819120514.GA3724@teddy.fas.com> I am trying to build 3.0.2 on Solaris 2.51. I have updated GCC with the latest from SunFreeware which is 3.4.2 and added what I beleive to be all the requisite libraries etc. Now I am down to what appears to be a fairly strightfoward link order issue. I have copie snprintf.o from base to common, so I am past thta. But here is how it is failing: gcc -g -O2 -DHAVE_CONFIG_H -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -DNSCORE -o nagios nagios.c broker.o nebmods.o checks.o config.o commands.o events.o flapping.o logging.o macros-base.o notifications.o sehandlers.o skiplist.o utils.o retention-base.o xretention-base.o comments-base.o xcomments-base.o objects-base.o xobjects-base.o statusdata-base.o xstatusdata-base.o perfdata-base.o xperfdata-base.o downtime-base.o xdowntime-base.o ../common/snprintf.o -lm -lpthread -ldl -lposix4 -L/usr/local/lib -lglib-2.0 -lintl -liconv Undefined first referenced symbol in file mmap64 /usr/local/lib/libintl.so open64 /usr/local/lib/libintl.so dirname xobjects-base.o snprintf utils.o fstat64 /usr/local/lib/libintl.so fopen64 /usr/local/lib/libintl.so ld: fatal: Symbol referencing errors. No output written to nagios collect2: ld returned 1 exit status *** Error code 1 make: Fatal error: Command failed for target `nagios' Cna anyone provied any sugestions here? -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From agnello.dsouza at gmail.com Tue Aug 19 15:18:58 2008 From: agnello.dsouza at gmail.com (Agnello George) Date: Tue, 19 Aug 2008 18:48:58 +0530 Subject: check_snmp_storage ..... ERROR : Unknown storage /var Message-ID: <8c6878890808190618m2920599dhb272b21cd6f5c3a7@mail.gmail.com> hi all i have installed the check_snmp_storage plugin but i can ot get the ot put for /var space . I can however get the out put for / partition . Following is the command ./check_snmp_storage -H 127.0.0.1 -C public -m / -w 80% -c 90% OK : /: 32%used(327MB/1024MB) : < 80 % | /=326MB;819;921;0;1024 but when i try this ./check_snmp_storage -H 127.0.0.1 -C public -m /var -w 80% -c 90% ERROR : Unknown storage /var Does any one have a solution for this !! Thanks a million !! -- Regards Agnello D'souza www.linux-vashi.blogspot.com www.bible-study-india.blogspot.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 paul.weaver at bbc.co.uk Tue Aug 19 16:21:44 2008 From: paul.weaver at bbc.co.uk (Paul Weaver) Date: Tue, 19 Aug 2008 15:21:44 +0100 Subject: check_snmp_storage ..... ERROR : Unknown storage /var In-Reply-To: <8c6878890808190618m2920599dhb272b21cd6f5c3a7@mail.gmail.com> References: <8c6878890808190618m2920599dhb272b21cd6f5c3a7@mail.gmail.com> Message-ID: 1) Are you sure that "/var" is a seperate partition? Run df And look at the "mounted on" column 2) Run snmpwalk 127.0.01 -v2c -C public hrStorageDescr And see what partitions snmp lists -- "Power corrupts. Power failure corrupts absolutely" Paul Weaver Systems Development Engineer News Production Facilities, BBC News -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Agnello George Sent: 19 August 2008 14:19 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] check_snmp_storage ..... ERROR : Unknown storage /var hi all i have installed the check_snmp_storage plugin but i can ot get the ot put for /var space . I can however get the out put for / partition . Following is the command ./check_snmp_storage -H 127.0.0.1 -C public -m / -w 80% -c 90% OK : /: 32%used(327MB/1024MB) : < 80 % | /=326MB;819;921;0;1024 but when i try this ./check_snmp_storage -H 127.0.0.1 -C public -m /var -w 80% -c 90% ERROR : Unknown storage /var Does any one have a solution for this !! Thanks a million !! -- Regards Agnello D'souza www.linux-vashi.blogspot.com www.bible-study-india.blogspot.com http://www.bbc.co.uk/ This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated. If you have received it in error, please delete it from your system. Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately. Please note that the BBC monitors e-mails sent or received. Further communication will signify your consent to this. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From paul.weaver at bbc.co.uk Tue Aug 19 16:52:39 2008 From: paul.weaver at bbc.co.uk (Paul Weaver) Date: Tue, 19 Aug 2008 15:52:39 +0100 Subject: Monitoring Solaris via SNMP? In-Reply-To: References: Message-ID: >> From: Serafin, Chris >> Sent: Monday, August 18, 2008 4:01 PM >> To: Nagios-users at lists.sourceforge.net >> Subject: [Nagios-users] Monitoring Solaris via SNMP? >> >> I'm trying to monitor CPU, memory and disk space via SNMP on a bunch of Solaris machines and running into errors (nothing returned from check_snmp_cpu.pl). >> Is anyone monitoring Solaris this way, and if so how/what plugin? > From: Doug Veldhuisen > > Are you using the Solaris snmp stack or the net-snmp version on your Sun box? > There is a difference, big difference in the data obtained. I think what your looking for comes from the Net-SNMP stack. > Not totally sure, I have a couple of Sun boxes I plan on putting up under Nagios myself. I monitor about a dozen solaris boxes using a variety of custom plugins (as well as things like check_tcp, check_ssh, ping etc), but snmp wise I use: 1) a "check_hd" one, [www.peters-webcorner.de/nagios], then I "modified to add support for multiple oses, reconfigured output, changed help to be clearer, and added support for snmpv3" 2) a "check_process_by_snmp", which from the style I think I wrote from scratch before I started storing my libexec directory in subversion, that checks a process is running (optionally with a parameter) 3) a "check_mem_by_snmp", another internal one which checks the free memory on a box On the machine I use "net-snmp 5.0.9" in /usr/sfw/sbin/snmpd. I think (I'm not a solaris admin), it attected to "snmpdx -- Sun Solstice Enterprise Master Agent" supplied by the SUNWmibii. You can run snmpwalk -v2c -cpublic hostname .1 to see what fun information is available -- "Power corrupts. Power failure corrupts absolutely" Paul Weaver Systems Development Engineer News Production Facilities, BBC News http://www.bbc.co.uk/ This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated. If you have received it in error, please delete it from your system. Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately. Please note that the BBC monitors e-mails sent or received. Further communication will signify your consent to this. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ernst.heiri at switch.ch Tue Aug 19 17:16:58 2008 From: ernst.heiri at switch.ch (Ernst Heiri) Date: Tue, 19 Aug 2008 17:16:58 +0200 Subject: Acknowledge: manual removal only ? Message-ID: <02514613-9BE1-4CA9-9589-2AEBFE3AA63E@switch.ch> With the CGI-Interface, a Host or Service problem can be manually acknowledged. This acknowledge is being removed either manually on the CGI or automatically if the host or service recovers. Question: Is there a possibility to prevent the automatic removal of the acknowledge if the host or service recovers? Background: If a host or service is down, the group of admins get a notification. The first who is working on this issue sets the acknowledge, indicating to his colleagues he's on the problem. Before he really can solve the problem the host or services comes up for a short time, resetting the acknowledge and goes down again. If he isn't fast enough now to set the acknowledge once again - a second admin (may be from his home office) would start to debug too. In our context this behavior would make more sense. Any help or comment is appreciated! Best regards, Ernst ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From paul.weaver at bbc.co.uk Tue Aug 19 18:29:46 2008 From: paul.weaver at bbc.co.uk (Paul Weaver) Date: Tue, 19 Aug 2008 17:29:46 +0100 Subject: nagvis ideas? In-Reply-To: <20080814204902.GA10341@teddy.fas.com> References: <20080814204902.GA10341@teddy.fas.com> Message-ID: > It seems to me, that there are 2 basic ways to "view" our > conglomeration of systems. One is geographic, and the 2nd is > from a network topology point of view. Frankly I think a > nagvis presentation of both would be useful. The network > topology version is fairly straightforward (I think, but I > would like to here others point of view on this). The > geographic version however, frankly I am struggling with. If > I show the systems on the large area map, they are fairly > spread out. I am thinking of doing that, and making dynamic > links for each cluster. These links would be color coded > based upon the status of all of the computers in that > cluster, and would provide a link to a more detailed view. > > I'd love to hear what other peoples thoughts on this are. Our old monitoring solution was a product called solarwinds, the main view was a map which had little icons for various machines (it didn't monitor a lot more, great for monitoring all the interfaces on the network, but useless for system monitoring) I felt the map was pointless. If something did break, you would get a little red dot in the corner. When I implemented Nagios I decided to ignore nagviz for a bit. The only "map" I can see being off use would be something like http://www.nagvis.org/sites/default/files/screenshots/c_by_dave_rearden_ 2.png If you had a monitor hanging in the apps room. but even then, we rarely have hardware problems, and if we do, the machine will have a flashing red led. And even if we didn't, they're all labelled. If you are truly physically seperated (not just different rooms in the same building, on the same power feed) http://www.nagvis.org/sites/default/files/screenshots/nagvis_map_2.png Could show you areas where there are invading tanks knocking out your infrastructure, but a network topology might be better. (Of course if you use nagios to monitor your country's defence systems, a physical map might be a good way of doing it) 1 of the 3 nagios installations I know about here have a default screen of "service problems". Our installation has a custom-written screen which highlights problems affecting users. The other isn't a real nagios installation, it was provided by an external company -- it barely monitors hosts, and only does about 20 anyway, the statusmap is fine for that. I'd be interested to know how many people find "maps" helpful for anything other than impressing management. http://www.bbc.co.uk/ This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated. If you have received it in error, please delete it from your system. Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately. Please note that the BBC monitors e-mails sent or received. Further communication will signify your consent to this. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Aug 19 20:55:25 2008 From: israel at frontierflying.com (Israel Brewster) Date: Tue, 19 Aug 2008 10:55:25 -0800 Subject: nagvis ideas? In-Reply-To: References: Message-ID: On Aug 19, 2008, at 8:29 AM, Paul Weaver wrote: >> It seems to me, that there are 2 basic ways to "view" our >> conglomeration of systems. One is geographic, and the 2nd is >> from a network topology point of view. Frankly I think a >> nagvis presentation of both would be useful. The network >> topology version is fairly straightforward (I think, but I >> would like to here others point of view on this). The >> geographic version however, frankly I am struggling with. If >> I show the systems on the large area map, they are fairly >> spread out. I am thinking of doing that, and making dynamic >> links for each cluster. These links would be color coded >> based upon the status of all of the computers in that >> cluster, and would provide a link to a more detailed view. >> >> I'd love to hear what other peoples thoughts on this are. > > Our old monitoring solution was a product called solarwinds, > the main view was a map which had little icons for various > machines (it didn't monitor a lot more, great for monitoring > all the interfaces on the network, but useless for system > monitoring) > > I felt the map was pointless. If something did break, you > would get a little red dot in the corner. When I implemented > Nagios I decided to ignore nagviz for a bit. > > The only "map" I can see being off use would be something like > http://www.nagvis.org/sites/default/files/screenshots/c_by_dave_rearden_ > 2.png > > If you had a monitor hanging in the apps room. but even then, we > rarely > have hardware problems, and if we do, the machine will have a flashing > red led. And even if we didn't, they're all labelled. > > If you are truly physically seperated (not just different rooms in the > same building, on the same power feed) > http://www.nagvis.org/sites/default/files/screenshots/nagvis_map_2.png > > Could show you areas where there are invading tanks knocking out your > infrastructure, but a network topology might be better. > > (Of course if you use nagios to monitor your country's defence > systems, > a physical map might be a good way of doing it) > > 1 of the 3 nagios installations I know about here have a default > screen > of "service problems". Our installation has a custom-written screen > which highlights problems affecting users. The other isn't a real > nagios installation, it was provided by an external company -- it > barely > > monitors hosts, and only does about 20 anyway, the statusmap is fine > for that. > > I'd be interested to know how many people find "maps" helpful for > anything > other than impressing management. > Well, in my company impressing management (or random guests who walk through) is an entirely legitimate reason for having some sort of network map ;) From a more practical standpoint, however, having a visual map can help tell at a glance where the problem lies- for example, do we just have one computer in Nome down, or is our entire Nome station having problems? The answer to this question lets us know where to start looking for a solution, and a visual map tells us at a glance how widespread an issue is by the numbewr of red blotches in a given area. It also shows at a glance that it is Nome, and not Barrow that is having problems (since they are geographically separated). If all we have is a text list of "Service Problems" we have to go over to it (or take the time to pull it up on our local computers) to figure out where the problem is, and how wide spread. A quick glance in the general direction will only tell us "something" is down, not where or how widespread. That said, I have yet to manage to get Nagvis to work well enough for us to be worth the time to set it up. In order to get a decent map out of it (in my experience, at least) you have to set it up manually, adding each host and link individually, which when you have hundreds of hosts would take quite a while. [Rant] The automap feature of the newest version I tried worked decently, but did not appear to be customizable (which I definitely want), and also did not appear to show all the hosts I was monitoring. I need something that automatically populates the map with your hosts and links, but allows you to then customize the populated map to your heart's content- modifying an already populated map takes way less time than creating one from scratch. Something like nexsm (nexsm.sf.net) but that works with nagios 3. [/Rant] ----------------------------------------------- Israel Brewster Computer Support Technician Frontier Flying Service Inc. 5245 Airport Industrial Rd Fairbanks, AK 99709 (907) 450-7250 x293 ----------------------------------------------- > http://www.bbc.co.uk/ > This e-mail (and any attachments) is confidential and may contain > personal views which are not the views of the BBC unless > specifically stated. > If you have received it in error, please delete it from your system. > Do not use, copy or disclose the information in any way nor act in > reliance on it and notify the sender immediately. > Please note that the BBC monitors e-mails sent or received. > Further communication will signify your consent to this. > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win > great prizes > Grand prize is a trip for two to an Open Source event anywhere in > the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 medula at baytree.com Tue Aug 19 22:22:27 2008 From: medula at baytree.com (Murali Edula) Date: Tue, 19 Aug 2008 16:22:27 -0400 Subject: send_nsca - help Message-ID: <004801c90239$4c351b30$e49f5190$@com> Hi, we are in the process of configuring Nagios monitoring tool in distribution model. So I have configured nsca daemon on centrol server and send_nsca on distributed server. Versions : Nagios 3.0.3, nsca 2.7.2 - I hope these are latest versions. 1. Daemon configured fine and listening requests. 2. Send_nsca also working great if I ran stand alone on distribution server . Example ./send_nsca -H 10.1.1.216 -c /usr/local/nagios/etc/send_nsca.cfg abc.baytree.com 'Current Users' 0 'User count OK' But when I configure ocsp_command is not working. Nagios.log shows follows ============================================ [1219176254] Warning: Attempting to execute the command "/usr/local/nagios/libexec/eventhandlers/send_service_check abc.baytree.com 'Current Users' 0 'USERS OK - 11 users currently logged in'" resulted in a return code of 127. Make sure the script or binary you are trying to execute actually exists... =============================================== Please help me if I am missing anything here. My ocsp entries Nagios.cfg - distributed server obsess_over_services=1 obsess_over_hosts=1 ocsp_command=send_service_check ochp_command=send_host_check ocsp_timeout=5 ochp_timeout=5 ================================================ commands.cfg define command{ command_name send_service_check command_line $USER1$/eventhandlers/send_service_check $HOSTNAME$ '$SERVICEDESC$' $SERVICESTATEID$ '$SERVICEOUTPUT$' } ======================================================= Code - Shell script /usr/local/nagios/libexec/eventhandles/ send_service_check #!/bin/bash # Script : send_service_check #PRINTF="/usr/bin/printf" CMD="/usr/local/nagios/bin/send_nsca" CFG="/usr/local/nagios/etc/send_nsca.cfg" HOST=$1 SRV=$2 RESULT=$3 OUTPUT=$4 # /bin/echo "$1","$2","$3","$4" | $CMD -H 10.1.1.216 -c $CFG -d "," Thank you Murali Edula -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pitchfork at ederdrom.de Tue Aug 19 22:31:38 2008 From: pitchfork at ederdrom.de (Joerg Linge) Date: Tue, 19 Aug 2008 22:31:38 +0200 Subject: send_nsca - help In-Reply-To: <004801c90239$4c351b30$e49f5190$@com> References: <004801c90239$4c351b30$e49f5190$@com> Message-ID: <48AB2DAA.3020305@ederdrom.de> Murali Edula schrieb: > Hi, > > > > we are in the process of configuring Nagios monitoring tool in > distribution model. > > So I have configured nsca daemon on centrol server and send_nsca on > distributed server. > > *Versions : Nagios 3.0.3, nsca 2.7.2 ? I hope these are latest versions.* > > > > > > 1. Daemon configured fine and listening requests. > > 2. Send_nsca also working great if I ran stand alone on > distribution server . Example > > ./send_nsca -H 10.1.1.216 -c /usr/local/nagios/etc/send_nsca.cfg > abc.baytree.com 'Current Users? 0 'User count OK? > > > > But when I configure ocsp_command is not working. Nagios.log shows follows > > > > ============================================ > > [1219176254] Warning: Attempting to execute the command > "/usr/local/nagios/libexec/eventhandlers/send_service_check > abc.baytree.com 'Current Users' 0 'USERS OK - 11 users currently logged > in'" resulted in a return code of 127. Make sure the script or binary > you are trying to execute actually exists... > > > > =============================================== > > > > > > Please help me if I am missing anything here. > > > > My ocsp entries Nagios.cfg ? distributed server > > > > obsess_over_services=1 > > obsess_over_hosts=1 > > ocsp_command=send_service_check > > ochp_command=send_host_check > > ocsp_timeout=5 > > ochp_timeout=5 > > > > ================================================ > > > > commands.cfg > > define command{ > > command_name send_service_check > > command_line $USER1$/eventhandlers/send_service_check > $HOSTNAME$ '$SERVICEDESC$' $SERVICESTATEID$ '$SERVICEOUTPUT$' > > } > > > > ======================================================= > > Code ? Shell script > > /usr/local/nagios/libexec/eventhandles/ send_service_check > > > > > > #!/bin/bash > > # Script : send_service_check > > #PRINTF="/usr/bin/printf" > > CMD="/usr/local/nagios/bin/send_nsca" > > CFG="/usr/local/nagios/etc/send_nsca.cfg" > > HOST=$1 > > SRV=$2 > > RESULT=$3 > > OUTPUT=$4 > > # > > /bin/echo "$1","$2","$3","$4" | $CMD -H 10.1.1.216 -c $CFG -d "," > you call eventhandlers/send_service_check but you script is named eventhandles/send_service_check Regards Joerg ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andrew.ford at wachovia.com Wed Aug 20 00:09:27 2008 From: andrew.ford at wachovia.com (Ford, Andy) Date: Tue, 19 Aug 2008 17:09:27 -0500 Subject: check_snmp without perf data Message-ID: <2D81E1BAE64EB343A9570B11C5E6927F0237F3C7@hqemhopn1.home.corp.agedwards.com> I want check_snmp to have an option to NOT return performance data but I can't see it. Can someone suggest an alternative? Andrew Ford Wachovia Corporate Information Security 314-955-6647 desk 314-600-7025 cell andrew.ford at wachovia.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 bjlockie at lockie.ca Wed Aug 20 00:17:30 2008 From: bjlockie at lockie.ca (James) Date: Tue, 19 Aug 2008 18:17:30 -0400 Subject: $LASTHOSTUP$ macro In-Reply-To: <48A9E312.4070605@collaborativefusion.com> References: <48A9E312.4070605@collaborativefusion.com> Message-ID: <48AB467A.4080506@lockie.ca> Sean McAfee wrote: > James wrote: >> I am using the $LASTHOSTUP$ macro but it displays a timestamp in time_t >> format. >> I need to convert it to seconds. >> >> Time since last UP: 1218979837 >> > The $LAST[HOST|SERVICE]*$ macros all use time_t they're the basis of > inter-process communication via the command_file: > Otherwise, I'd look into using $HOSTDURATIONSEC$ instead, which is the > seconds since the last state change. I'll use this macro to avoid command line fu. Thanks to everyone. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gardealuis at gmail.com Wed Aug 20 07:10:19 2008 From: gardealuis at gmail.com (Luis Gardea) Date: Tue, 19 Aug 2008 23:10:19 -0600 Subject: problems to send emails Message-ID: <44f056cc0808192210y34dc4c9dm9f54478bc58c6692@mail.gmail.com> Hi I just install mailx and restart de Nagios service When I try to send email for example echo "cuerpo1" | mailx /s "test1" usertest at domain.com In my mail.log I don't see nothing in addition don't recive the mail Ubuntu server 7.10 mailx nagios303 some ideas thanks ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Wed Aug 20 07:35:18 2008 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Wed, 20 Aug 2008 07:35:18 +0200 Subject: problems to send emails In-Reply-To: <44f056cc0808192210y34dc4c9dm9f54478bc58c6692@mail.gmail.com> References: <44f056cc0808192210y34dc4c9dm9f54478bc58c6692@mail.gmail.com> Message-ID: <48ABAD16.8040203@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Luis Gardea wrote: > Hi I just install mailx and restart de Nagios service > > When I try to send email for example > > > echo "cuerpo1" | mailx /s "test1" usertest at domain.com > > In my mail.log I don't see nothing in addition don't recive the mail Technically that means that you have a problem which is not caused by Nagios. But what in the blaze is the /s option of mailx? > Ubuntu server 7.10 > mailx > nagios303 And what MTA are you running (postfix, sendmail, ...)? How do you send of other email messages from that system? 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) iD8DBQFIq60VBvzDRVjxmYERAtaEAKC2Z8DkAwHqjFUkKU278itwYQ29awCgrDCy 4wL4RBm8bm1ztFMaLSeJFaM= =AAEF -----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 agnello.dsouza at gmail.com Wed Aug 20 08:48:08 2008 From: agnello.dsouza at gmail.com (Agnello George) Date: Wed, 20 Aug 2008 12:18:08 +0530 Subject: check_snmp_storage ..... ERROR : Unknown storage /var In-Reply-To: References: <8c6878890808190618m2920599dhb272b21cd6f5c3a7@mail.gmail.com> Message-ID: <8c6878890808192348j65f7ec3fi4cfa22ea8c3704e2@mail.gmail.com> On 8/19/08, Paul Weaver wrote: > > 1) Are you sure that "/var" is a seperate partition? Run > df > And look at the "mounted on" column The df command display the following [root at vps libexec]# df Filesystem 1K-blocks Used Available Use% Mounted on vzfs 1048576 338374 710202 33% / do i need to manually mount the the /home or /var partion ?? 2) Run > snmpwalk 127.0.01 -v2c -C public hrStorageDescr this command gives me the following output : [root at vps libexec]# snmpwalk 127.0.0.1 -v1 -c public hrStorageDescr HOST-RESOURCES-MIB::hrStorageDescr.1 = STRING: Memory Buffers HOST-RESOURCES-MIB::hrStorageDescr.2 = STRING: Real Memory HOST-RESOURCES-MIB::hrStorageDescr.3 = STRING: Swap Space HOST-RESOURCES-MIB::hrStorageDescr.4 = STRING: / ? thanks !! -- > Regards > Agnello D'souza > www.linux-vashi.blogspot.com > www.bible-study-india.blogspot.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 paul.weaver at bbc.co.uk Wed Aug 20 09:37:47 2008 From: paul.weaver at bbc.co.uk (Paul Weaver) Date: Wed, 20 Aug 2008 08:37:47 +0100 Subject: check_snmp_storage ..... ERROR : Unknown storage /var References: <8c6878890808190618m2920599dhb272b21cd6f5c3a7@mail.gmail.com> <8c6878890808192348j65f7ec3fi4cfa22ea8c3704e2@mail.gmail.com> Message-ID: >> 1) Are you sure that "/var" is a seperate partition? Run >> df >> And look at the "mounted on" column > >The df command display the following > >[root at vps libexec]# df >Filesystem 1K-blocks Used Available Use% Mounted on >vzfs 1048576 338374 710202 33% / > >do i need to manually mount the the /home or /var partion ?? >> snmpwalk 127.0.01 -v2c -C public hrStorageDescr > > >this command gives me the following output : > >[root at vps libexec]# snmpwalk 127.0.0.1 -v1 -c public hrStorageDescr >HOST-RESOURCES-MIB::hrStorageDescr.1 = STRING: Memory Buffers >HOST-RESOURCES-MIB::hrStorageDescr.2 = STRING: Real Memory >HOST-RESOURCES-MIB::hrStorageDescr.3 = STRING: Swap Space >HOST-RESOURCES-MIB::hrStorageDescr.4 = STRING: / SNMP is working fine. Your /var directory is part of your root file system -- if one fills up, the other will. If you wanted to monitor the space available in /var, you'd monitor the space available on "/" -- it's the same figure. If you need to know the space used, that's a heavyweight operation -- you need to sum all the sizes of the files in /var -- and even then you have hard links confusing the issue. You can do this by running "du -sch /var" as root, but see how long it takes to run, and realise that while it runs other operations to your disk will slow down. The reason you can see space used/available on a partition (/ in your case), is the kernel keeps a track of this seperatly in a very small index of the partition. (unless you're using quotas, which net-snmp probably doesn't support) If you really need to get the disk space used, you could configure snmpd to run a command on polling of a given mib. Normally snmp commands should return instantly, but there's no technical reason why you couldn't 1) add a file /usr/local/bin/checkSpaceOnVar.sh with content #!/bin/bash sudo /usr/bin/du -sch /var 2) Set sudoers to allow the snmpd user to run "/usr/bin/du -sch var" 3) Add a line to snmpd.[local.]conf along the lines of exec checkSpaceOnVar /usr/local/bin/checkSpaceOnVar.sh Then monitor the .1.3.6.1.4.1.2021.8 oid. You may be better off with 1) NRPE 2) check_by_ssh 3) moving /var onto it's own partitions (there are benefits to doing this outside of monitoring the system) http://www.bbc.co.uk/ This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated. If you have received it in error, please delete it from your system. Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately. Please note that the BBC monitors e-mails sent or received. Further communication will signify your consent to this. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dermoth at aei.ca Wed Aug 20 09:43:44 2008 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Wed, 20 Aug 2008 03:43:44 -0400 Subject: check_snmp without perf data In-Reply-To: <2D81E1BAE64EB343A9570B11C5E6927F0237F3C7@hqemhopn1.home.corp.agedwards.com> References: <2D81E1BAE64EB343A9570B11C5E6927F0237F3C7@hqemhopn1.home.corp.agedwards.com> Message-ID: <48ABCB30.7040809@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 19/08/08 06:09 PM, Ford, Andy wrote: > I want check_snmp to have an option to NOT return performance data but I > can't see it. > > Can someone suggest an alternative? Any reason for that? Performance data is handled separately in Nagios and you usually don't have to deal with it if you don't want to. - -- Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIq8sw6dZ+Kt5BchYRAoRcAKC0MpvYC6yU1PJMU0nS2frdeGFw7wCgtL+l bcTG2m2GOX32wWz0WoPXMBU= =n5rV -----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 adesperateuser at googlemail.com Wed Aug 20 09:46:03 2008 From: adesperateuser at googlemail.com (Marcus) Date: Wed, 20 Aug 2008 09:46:03 +0200 Subject: Acknowledge: manual removal only ? In-Reply-To: <02514613-9BE1-4CA9-9589-2AEBFE3AA63E@switch.ch> References: <02514613-9BE1-4CA9-9589-2AEBFE3AA63E@switch.ch> Message-ID: <48ABCBBB.6050508@googlemail.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Ernst Heiri schrieb: > Question: > Is there a possibility to prevent the automatic removal of the > acknowledge if the host or service recovers? Isn't there a "Persistent Comment" box to flag which should prevent the ack from automatically disapearing? Cite: "If you would like the service comment to remain once the acknowledgement is removed, check the 'Persistent Comment' checkbox." So if the box recovers and fails again, then another admin sees: Ah, first admin is already at it, there is a comment from 30 minutes ago... How about integrating a trouble-ticket, so no catastrophes are missed anymore? -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIq8u6+qVaNRZYOakRAqmXAJ9+6TLnanNTQCjhzLqk53RTF1ii8ACfUlDo nJ0iJak9unyZnUD0jWHZSNA= =kqPB -----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 dermoth at aei.ca Wed Aug 20 09:53:09 2008 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Wed, 20 Aug 2008 03:53:09 -0400 Subject: ping with nrpe In-Reply-To: <549634.52137.qm@web26104.mail.ukl.yahoo.com> References: <549634.52137.qm@web26104.mail.ukl.yahoo.com> Message-ID: <48ABCD65.3030502@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 18/08/08 08:39 AM, Kermito le kermit wrote: > > hi all, > > i want to make a ping on remote host with nrpe all is fine when i make > in command line ./check_nrpe -H host -c script to ping other host > > when i put this to centreon i have this message to interface : > UNKNOWN: No handler for that command > > but the i am to command line a see this : ./check_nrpe -H 172.1.1.60 -c > CERTIF > Ping OK > > > any ideas. You probably defined your ping command with the name "CERTIF". Check your NRPE configuration on the other end. Out of curiosity, why would you use NRPE to run a ping check? Are you pinging a 3rd host from the remote (nrpe) host? Otherwise a ping check though nrpe is likely useless... BTW you can also omit the check_nrpe command (-c) if you want to check the nrpe daemon without running any check. - -- Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIq81l6dZ+Kt5BchYRAkznAJ93MXZIxVqE9Z7PGA1MWdm6qShSeACgqlJ9 O5giMruBpLVanbnZTipMOL0= =fw+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 lists at truthisfreedom.org.uk Wed Aug 20 09:55:34 2008 From: lists at truthisfreedom.org.uk (Matthew Macdonald-Wallace) Date: Wed, 20 Aug 2008 08:55:34 +0100 Subject: nagvis ideas? In-Reply-To: References: <20080814204902.GA10341@teddy.fas.com> Message-ID: <20080820085534.52451aed@tclmmw.in.tiger-computing.com> On Tue, 19 Aug 2008 17:29:46 +0100 "Paul Weaver" wrote: > (Of course if you use nagios to monitor your country's defence > systems, a physical map might be a good way of doing it) LOL, You could have a plugin called "check_missile_status" that checked if a missile had been fired or not. If it has, you get a green, if the engines are warming up it goes yellow and once it's been fired it goes red! Better yet, how about a "check_border_status" plugin - green if your border is secure, yellow if the invasion fleet is on it's way and red once the border has been invaded... /me could have hours of fun dreaming this kind of thing up, but I have to work... M. -- Matthew Macdonald-Wallace matthew at truthisfreedom.org.uk http://www.truthisfreedom.org.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 adesperateuser at googlemail.com Wed Aug 20 10:08:37 2008 From: adesperateuser at googlemail.com (Marcus) Date: Wed, 20 Aug 2008 10:08:37 +0200 Subject: check_snmp without perf data In-Reply-To: <2D81E1BAE64EB343A9570B11C5E6927F0237F3C7@hqemhopn1.home.corp.agedwards.com> References: <2D81E1BAE64EB343A9570B11C5E6927F0237F3C7@hqemhopn1.home.corp.agedwards.com> Message-ID: <48ABD105.90604@googlemail.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Andy, Ford, Andy schrieb: > I want check_snmp to have an option to NOT return performance data but I > can't see it. > > Can someone suggest an alternative? Put "process_perf_data 0" in the service definition? I use that on check_icmp and it doesn't return perf.data, if I am not totally mistaken. Greetz, Marcus -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIq9EF+qVaNRZYOakRAsRxAKCpsQTh3z6kIIyhIPh92E7j6X5sqACgsmNY CtImIsk8QklLWaXwTgbETjI= =Mn4r -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Wed Aug 20 10:37:59 2008 From: ae at op5.se (Andreas Ericsson) Date: Wed, 20 Aug 2008 10:37:59 +0200 Subject: check_snmp without perf data In-Reply-To: <48ABD105.90604@googlemail.com> References: <2D81E1BAE64EB343A9570B11C5E6927F0237F3C7@hqemhopn1.home.corp.agedwards.com> <48ABD105.90604@googlemail.com> Message-ID: <48ABD7E7.1040402@op5.se> Marcus wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi Andy, > > Ford, Andy schrieb: >> I want check_snmp to have an option to NOT return performance data but I >> can't see it. >> >> Can someone suggest an alternative? > > Put "process_perf_data 0" in the service definition? > > I use that on check_icmp and it doesn't return perf.data, if I am not > totally mistaken. > check_icmp *does* produce performance data. Using "process_perf_data 0" in the service definition just causes Nagios to ignore it completely for that particular service. For plugins that don't produce perfdata, this setting has no effect what so ever. -- 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 frimik at gmail.com Wed Aug 20 10:47:45 2008 From: frimik at gmail.com (Mikael Fridh) Date: Wed, 20 Aug 2008 10:47:45 +0200 Subject: Acknowledge: manual removal only ? In-Reply-To: <48ABCBBB.6050508@googlemail.com> References: <02514613-9BE1-4CA9-9589-2AEBFE3AA63E@switch.ch> <48ABCBBB.6050508@googlemail.com> Message-ID: <323f67830808200147rbed8705rc6c2418ee15dffa9@mail.gmail.com> On Wed, Aug 20, 2008 at 9:46 AM, Marcus wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Ernst Heiri schrieb: > >> Question: >> Is there a possibility to prevent the automatic removal of the >> acknowledge if the host or service recovers? > > Isn't there a "Persistent Comment" box to flag which should prevent the > ack from automatically disapearing? > Cite: > "If you would like the service comment to remain once the > acknowledgement is removed, check the 'Persistent Comment' checkbox." > > So if the box recovers and fails again, then another admin sees: Ah, > first admin is already at it, there is a comment from 30 minutes ago... > > > How about integrating a trouble-ticket, so no catastrophes are missed > anymore? I'm thinking if you're the one deciding when the service is OK or not, and not Nagios: ACK + disable active checks until you're done. That way there would be no flapping of the service, it will be considered and logged as DOWN until you decide it's working. -- Fridh ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ajcooper80 at googlemail.com Wed Aug 20 10:56:09 2008 From: ajcooper80 at googlemail.com (Alan Cooper) Date: Wed, 20 Aug 2008 09:56:09 +0100 Subject: ndoutils Query optimisation Message-ID: <48ABDC29.6050609@googlemail.com> I am having problem scaling up a system we use to gather status data from the NDO db: The query I currently use is:- SELECT obj1.name1 AS host_name, nagios_hoststatus.problem_has_been_acknowledged, nagios_hoststatus.scheduled_downtime_depth, nagios_hosts.alias FROM `nagios_hoststatus` LEFT JOIN nagios_objects as obj1 ON nagios_hoststatus.host_object_id=obj1.object_id LEFT JOIN nagios_hosts ON nagios_hoststatus.host_object_id=nagios_hosts.host_object_id LEFT JOIN nagios_hostgroup_members ON nagios_hoststatus.host_object_id=nagios_hostgroup_members.host_object_id LEFT JOIN nagios_hostgroups ON nagios_hostgroups.hostgroup_id=nagios_hostgroup_members.hostgroup_id WHERE nagios_hosts.config_type='1' AND nagios_hoststatus.state_type > 0 AND nagios_hoststatus.current_state > 0 AND (nagios_hostgroups.alias = "hostgroup1" OR nagios_hostgroups.alias = "hostgroup3" ORDER BY host_name ASC; This gives us list of hosts and their aliases as well as their acknowledgement and downtime status which allows us to get different views on a status screen for different purposes. The problem is, due to the number of joins and the fact that these SELECTS are being called several times a minute, we are generating very high load on the database as data is being copied into temporary tables and each query is taking >20 seconds, and eventually it just all breaks down and no queries succeed. Does anyone have any suggestions for improving performance of this query? The database server is a dual 3.00GHz Xeon with 4GB RAM My MySQL config is as follows: [client] port = 3306 socket = /var/lib/mysql/mysql.sock # Here follows entries for some specific programs # The MySQL server [mysqld] port = 3306 socket = /var/lib/mysql/mysql.sock skip-locking key_buffer = 512M max_allowed_packet = 2M table_cache = 1024 sort_buffer_size = 4M read_buffer_size = 16M read_rnd_buffer_size = 128M myisam_sort_buffer_size = 32M thread_cache_size = 16 query_cache_size = 268435456 query_cache_type=1 query_cache_limit=1048576 # Try number of CPU's*2 for thread_concurrency thread_concurrency = 8 skip-name-resolve skip_name_resolve server-id = 1 [mysqldump] quick max_allowed_packet = 32M [mysql] no-auto-rehash # Remove the next comment character if you are not familiar with SQL #safe-updates [isamchk] key_buffer = 512M sort_buffer_size = 512M read_buffer = 4M write_buffer = 4M [myisamchk] key_buffer = 512M sort_buffer_size = 512M read_buffer = 4M write_buffer = 4M [mysqlhotcopy] interactive-timeout Any help and suggestions gratefully received. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gabe at 2cv.co.uk Wed Aug 20 11:51:22 2008 From: gabe at 2cv.co.uk (Gabe Granger) Date: Wed, 20 Aug 2008 10:51:22 +0100 Subject: check_disk_smb question Message-ID: Hi all, Its been a while since I used nagios and I want to monitor a linux file server, I think the plug I need to use is check_disk_smb but I could be wrong. I'm running Nagios 2 on Ubuntu and below is a copy of the config I'm using for the host. Currently my config looks like the below and I'm sure I'm missing something important I just don't know what. /etc/nagios2/conf.d/host-harrold_nagios2.cfg define host { host_name harrold alias harrold address *.*.*.* use generic-host } define service { use generic-service host_name harrold service_description SSH check_command check_ssh } define service { use generic-service host_name harrold service_description SMB check_command check_disk_smb # command_line -s Company -u foo -p bar ; commented out as nagios wont start with it as is } The result from the above in the web interface is following error **ePN /usr/lib/nagios/plugins/check_disk_smb: "Option s requires an argument". The share I want to monitor is "Company" and when I execute the plugin directly everything works fine ./check_disk_smb -H *.*.*.* -s Company -u foo -p bar Domain=[2CV] OS=[Unix] Server=[Samba 3.0.14a-Debian] Disk ok - 93.2G (40%) free on \\*.*.*.*\Company I just need to know how to correctly add the switches to the config, or maybe there is somewhere else I need to add the config for the specific service? Any help would be great as I think this is a simple problem to fix... Regards Gabe -------------------------------------------------------- Gabe Granger Systems Administrator 2CV 34 Rose St Covent Garden London WC2E 9EB Reception +44 (0)20 7655 9900 DDI +44 (0)20 7655 9949 +44 7880 706 939 www.2cv.co.uk Sponsors of the APG Creative Strategy Awards, 1997-2007 This message and any attachments are solely for the intended recipient and may contain confidential or privileged information. If you are not the intended recipient, any disclosure, copying, use, or distribution of the information included in this message and any attachments is prohibited. If you have received this communication in error, please notify us by reply e-mail and immediately and permanently delete this message and any attachments. Please consider the environment before printing this e-mail 2CV Ltd is a company registered in England and Wales. Company Number 319 5457 Registered Office 34 Rose St, London, WC2E 9EB -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From angeolivier2003 at yahoo.fr Wed Aug 20 12:27:33 2008 From: angeolivier2003 at yahoo.fr (Kermito le kermit) Date: Wed, 20 Aug 2008 10:27:33 +0000 (GMT) Subject: check_mrtgtraf Message-ID: <520962.70757.qm@web26107.mail.ukl.yahoo.com> hello all I want to use check_mrtgtraf to monitoring a router interface and send alert when traffic is hub when i use this plugins the return is critical for all # ./check_mrtgtraf -F 172.0.2.23_2.log -a MAX Trafic CRITICAL - Max. Entr?e = 1,7 KB/s, Max. Sortie = 1,9 KB/s|in=1,651367KB/s;;;0,000000 in=1,928711KB/s;;;0,000000 any idea _____________________________________________________________________________ Envoyez avec Yahoo! Mail. Une boite mail plus intelligente http://mail.yahoo.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 assaf.flatto at ssp.uk.com Wed Aug 20 13:29:53 2008 From: assaf.flatto at ssp.uk.com (Assaf Flatto) Date: Wed, 20 Aug 2008 11:29:53 +0000 Subject: unrelated topic - nagiosBP-users lists Message-ID: <200808201129.54022.assaf.flatto@ssp.uk.com> Hi Does anyone else is subscribed to this list and is able to send emails to that list ? I have been trying to send and i keep getting messages "Relay access denied (in reply to RCPT TO command)" Has that list stopped working ? Assaf 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 dermoth at aei.ca Wed Aug 20 13:56:31 2008 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Wed, 20 Aug 2008 07:56:31 -0400 Subject: Acknowledge: manual removal only ? In-Reply-To: <323f67830808200147rbed8705rc6c2418ee15dffa9@mail.gmail.com> References: <02514613-9BE1-4CA9-9589-2AEBFE3AA63E@switch.ch> <48ABCBBB.6050508@googlemail.com> <323f67830808200147rbed8705rc6c2418ee15dffa9@mail.gmail.com> Message-ID: <48AC066F.1040201@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 20/08/08 04:47 AM, Mikael Fridh wrote: > On Wed, Aug 20, 2008 at 9:46 AM, Marcus wrote: >> >> >> How about integrating a trouble-ticket, so no catastrophes are missed >> anymore? > > I'm thinking if you're the one deciding when the service is OK or not, > and not Nagios: > ACK + disable active checks until you're done. > > That way there would be no flapping of the service, it will be > considered and logged as DOWN until you decide it's working. Personally I prefer disabling notifications, so I can still see state changes going on. I don't have flapping detection enabled neither. Another method is using scheduled downtimes; that way you can't forget to re-enable the service. - -- Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIrAZv6dZ+Kt5BchYRAvrhAKD5f1b2RgwGz7sVPrZ4OJMw0pNopACgxn8U LZ05CqpJolMzbKI56C8csbE= =898A -----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 dermoth at aei.ca Wed Aug 20 14:08:24 2008 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Wed, 20 Aug 2008 08:08:24 -0400 Subject: ndoutils Query optimisation In-Reply-To: <48ABDC29.6050609@googlemail.com> References: <48ABDC29.6050609@googlemail.com> Message-ID: <48AC0938.3080303@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 20/08/08 04:56 AM, Alan Cooper wrote: > I am having problem scaling up a system we use to gather status data > from the NDO db: > > The query I currently use is:- > > SELECT > obj1.name1 AS host_name, > nagios_hoststatus.problem_has_been_acknowledged, > nagios_hoststatus.scheduled_downtime_depth, > nagios_hosts.alias > FROM `nagios_hoststatus` > LEFT JOIN nagios_objects as obj1 ON > nagios_hoststatus.host_object_id=obj1.object_id > LEFT JOIN nagios_hosts ON > nagios_hoststatus.host_object_id=nagios_hosts.host_object_id > LEFT JOIN nagios_hostgroup_members ON > nagios_hoststatus.host_object_id=nagios_hostgroup_members.host_object_id > LEFT JOIN nagios_hostgroups ON > nagios_hostgroups.hostgroup_id=nagios_hostgroup_members.hostgroup_id > WHERE nagios_hosts.config_type='1' > AND nagios_hoststatus.state_type > 0 > AND nagios_hoststatus.current_state > 0 > AND (nagios_hostgroups.alias = "hostgroup1" > OR nagios_hostgroups.alias = "hostgroup3" > ORDER BY host_name ASC; > > This gives us list of hosts and their aliases as well as their > acknowledgement and downtime status which allows us to get different > views on a status screen for different purposes. > > The problem is, due to the number of joins and the fact that these > SELECTS are being called several times a minute, we are generating very > high load on the database as data is being copied into temporary tables > and each query is taking >20 seconds, and eventually it just all breaks > down and no queries succeed. > > Does anyone have any suggestions for improving performance of this query? I'm not a SQL guru, but here's some thing I'd try... You may get better help from SQL/MySQL communities. * Make sure obj1.name1 is indexed (or is a PK) * Make sure every columns in the JOINs are indexed/PKs * Try removing the ORDER BY (i.e. sort it in the application running the query instead) You can also try importing the tables to a different engine (i.e. InnoDB vs MyISAM) in a new db or with different names, and benchmark it on them. Hope this helps... - -- Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIrAk46dZ+Kt5BchYRAs2pAJ4+aNdcKX8mjO++F6U0VU2oL2J1mgCgxoR5 i8X1OZ97tsHkdbwDAYNvvuw= =DrYE -----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 assaf.flatto at ssp.uk.com Wed Aug 20 14:12:51 2008 From: assaf.flatto at ssp.uk.com (Assaf Flatto) Date: Wed, 20 Aug 2008 12:12:51 +0000 Subject: check_disk_smb question In-Reply-To: References: Message-ID: <200808201212.51229.assaf.flatto@ssp.uk.com> did you define the command to go with it ? Some thing like this ? define command{ command_name check_disk_samba command_line $USER1$/check_disk_smb -H $HOSTADDRESS$ -s Company -u foo -p bar -w $ARG1$ -c $ARG2$ See if you have it in the commands or checkcommands file. Assaf On Wednesday 20 August 2008 09:51:22 Gabe Granger wrote: > > define service { > use generic-service > host_name harrold > service_description SSH > check_command check_ssh > } > > > > define service { > use generic-service > host_name harrold > service_description SMB > check_command check_disk_smb > # command_line -s Company -u foo -p bar ; commented out > as nagios wont start with it as is > } 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 marc at ena.com Wed Aug 20 14:30:09 2008 From: marc at ena.com (Marc Powell) Date: Wed, 20 Aug 2008 07:30:09 -0500 Subject: check_mrtgtraf In-Reply-To: <520962.70757.qm@web26107.mail.ukl.yahoo.com> References: <520962.70757.qm@web26107.mail.ukl.yahoo.com> Message-ID: On Aug 20, 2008, at 5:27 AM, Kermito le kermit wrote: > > hello all > > > I want to use check_mrtgtraf to monitoring a router interface and > send alert when traffic is hub when i use this plugins the return is > critical for all > > # ./check_mrtgtraf -F 172.0.2.23_2.log -a MAX > Trafic CRITICAL - Max. Entr?e = 1,7 KB/s, Max. Sortie = 1,9 KB/s| > in=1,651367KB/s;;;0,000000 in=1,928711KB/s;;;0,000000 > > > any idea I would guess that since you don't pass specific warning and critical thresholds to the command, the default behavior is that those values are 0 and you exceed them. Try passing them to the plugin. (check_mrtgtraf --help). p.s. You shouldn't test plugins as root. While it won't affect your outcome here, it's common for nagios checks to show different results due to permissions differences... You could also be creating root- owned temporary files that'll come back to bite you later. -- Marc ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Wed Aug 20 14:36:23 2008 From: marc at ena.com (Marc Powell) Date: Wed, 20 Aug 2008 07:36:23 -0500 Subject: ndoutils Query optimisation In-Reply-To: <48AC0938.3080303@aei.ca> References: <48ABDC29.6050609@googlemail.com> <48AC0938.3080303@aei.ca> Message-ID: <9D133331-A4CB-437F-8909-E53BA2DBD660@ena.com> On Aug 20, 2008, at 7:08 AM, Thomas Guyot-Sionnest wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 20/08/08 04:56 AM, Alan Cooper wrote: >> I am having problem scaling up a system we use to gather status data >> from the NDO db: >> >> Does anyone have any suggestions for improving performance of this >> query? > > I'm not a SQL guru, but here's some thing I'd try... You may get > better > help from SQL/MySQL communities. > > * Make sure obj1.name1 is indexed (or is a PK) > * Make sure every columns in the JOINs are indexed/PKs > * Try removing the ORDER BY (i.e. sort it in the application running > the > query instead) I too am not a mysql expert but have some experience with custom ndodb queries... Having proper indexes for the query can make all the difference in the world. The EXPLAIN command, and the many web pages that detail it's use, can be of great assistance in determining which indexes should be created for your query and their benefit. -- 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 bjlockie at lockie.ca Wed Aug 20 16:15:27 2008 From: bjlockie at lockie.ca (James) Date: Wed, 20 Aug 2008 10:15:27 -0400 (EDT) Subject: (no subject) Message-ID: I am trying to print the time it was in a down state. I tried the $LASTHOSTDOWN$ macro but it is in time_t format. I tried $HOSTDURATIONSEC$ but the documentation says it prints the number of seconds a host has been in it's current state (0 seconds when a host comes up). I was to print how long it was down. I'm also going to want to do this for services. I will try the command line fu that was suggested. I wanted to do it with macros. :-( ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Aug 20 16:25:33 2008 From: paul.weaver at bbc.co.uk (Paul Weaver) Date: Wed, 20 Aug 2008 15:25:33 +0100 Subject: check_disk_smb question In-Reply-To: <200808201212.51229.assaf.flatto@ssp.uk.com> References: <200808201212.51229.assaf.flatto@ssp.uk.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > Of Assaf Flatto > Sent: 20 August 2008 13:13 > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] check_disk_smb question > > > > did you define the command to go with it ? > > Some thing like this ? > > define command{ > command_name check_disk_samba > command_line $USER1$/check_disk_smb -H > $HOSTADDRESS$ -s Company -u foo -p bar -w > $ARG1$ -c $ARG2$ > > See if you have it in the commands or checkcommands file. The way nagios works 1) You define a host 2) You define a command 3) You define a service, which belongs to a host, and has a command In this case you'd want something like this. This will allow you to monitor any share on any host, with a username/password of foo/bar Commands.cfg: define command{ command_name check_disk_samba command_line $USER1$/check_disk_smb -H $HOSTADDRESS$ -s $ARG1$ -u foo -p bar -w $ARG2$ -c $ARG3$ } Host.cfg: define service { use generic-service host_name harrold service_description SMB check_command check_disk_smb!Company!80!90! } (as an aside, the version of check_disk_smb I have (or rather the version of smbclient) seems to fail once the file share goes over about 2TB, so I have to use snmp in those cases, however that's fairly irellevent.) http://www.bbc.co.uk/ This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated. If you have received it in error, please delete it from your system. Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately. Please note that the BBC monitors e-mails sent or received. Further communication will signify your consent to this. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bjlockie at lockie.ca Wed Aug 20 17:07:46 2008 From: bjlockie at lockie.ca (James) Date: Wed, 20 Aug 2008 11:07:46 -0400 (EDT) Subject: LASTHOSTUP In-Reply-To: References: Message-ID: On Wed, August 20, 2008 10:15 am, James wrote: > > I am trying to print the time it was in a down state. > I tried the $LASTHOSTDOWN$ macro but it is in time_t format. > > > I tried $HOSTDURATIONSEC$ but the documentation says it prints the number > of seconds a host has been in it's current state (0 seconds when a host > comes up). I was to print how long it was down. > > > I'm also going to want to do this for services. > > > I will try the command line fu that was suggested. > I wanted to do it with macros. :-( Mark Powell suggest this: Duration of downtime was $((`/bin/date +%s` - $LASTHOSTUP$)) seconds I am using Solaris and there is no %s so I tried %S. I only want to include that on a HOSTUP notification so can I have some sort of if-else? ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Aug 20 17:42:53 2008 From: webknowledge at gmail.com (Marcel) Date: Wed, 20 Aug 2008 12:42:53 -0300 Subject: BGP full route monitoring Message-ID: <2dfcbd1b0808200842v72169b64x49a3faafd12b49a8@mail.gmail.com> Anyone has setup any kind of black hole BGP monitoring? TIA, Marcel -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andrew.ford at wachovia.com Wed Aug 20 17:45:57 2008 From: andrew.ford at wachovia.com (Ford, Andy) Date: Wed, 20 Aug 2008 10:45:57 -0500 Subject: check_snmp without perf data In-Reply-To: <48ABCB30.7040809@aei.ca> References: <2D81E1BAE64EB343A9570B11C5E6927F0237F3C7@hqemhopn1.home.corp.agedwards.com> <48ABCB30.7040809@aei.ca> Message-ID: <2D81E1BAE64EB343A9570B11C5E6927F0237F3D0@hqemhopn1.home.corp.agedwards.com> > -----Original Message----- > From: Thomas Guyot-Sionnest [mailto:dermoth at aei.ca] > Sent: Wednesday, August 20, 2008 2:44 AM > To: Ford, Andy > Cc: Nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] check_snmp without perf data > > On 19/08/08 06:09 PM, Ford, Andy wrote: > > I want check_snmp to have an option to NOT return > performance data but I > > can't see it. > > > > Can someone suggest an alternative? > > Any reason for that? Performance data is handled separately in Nagios > and you usually don't have to deal with it if you don't want to. > But pnp4nagios does try to deal with everything that outputs valid performance data. However, the output from system.sysDescr is useless in an rrd and just leaves my pnp output with a broken graph image. Andrew Ford Wachovia Corporate Information Security 314-955-6647 desk 314-600-7025 cell andrew.ford at wachovia.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 andrew.ford at wachovia.com Wed Aug 20 17:48:03 2008 From: andrew.ford at wachovia.com (Ford, Andy) Date: Wed, 20 Aug 2008 10:48:03 -0500 Subject: check_snmp without perf data In-Reply-To: <48ABD105.90604@googlemail.com> References: <2D81E1BAE64EB343A9570B11C5E6927F0237F3C7@hqemhopn1.home.corp.agedwards.com> <48ABD105.90604@googlemail.com> Message-ID: <2D81E1BAE64EB343A9570B11C5E6927F0237F3D1@hqemhopn1.home.corp.agedwards.com> > -----Original Message----- > From: Marcus [mailto:adesperateuser at googlemail.com] > Sent: Wednesday, August 20, 2008 3:09 AM > To: Ford, Andy > Cc: Nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] check_snmp without perf data > > Hi Andy, > > Ford, Andy schrieb: > > I want check_snmp to have an option to NOT return > performance data but I > > can't see it. > > > > Can someone suggest an alternative? > > Put "process_perf_data 0" in the service definition? > That's the perfect solution for my purposes. Thanks! Andrew Ford Wachovia Corporate Information Security 314-955-6647 desk 314-600-7025 cell andrew.ford at wachovia.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 webknowledge at gmail.com Wed Aug 20 18:08:52 2008 From: webknowledge at gmail.com (Marcel) Date: Wed, 20 Aug 2008 13:08:52 -0300 Subject: M$ Radius service checking In-Reply-To: <63C821463F23D1418E680D8A6C276732889F12@server2.RKON.COM> References: <63C821463F23D1418E680D8A6C276732889EC4@server2.RKON.COM> <13F36D2926AD444697093282F20041B7077CA856@buf-ex01.cymfony.com> <63C821463F23D1418E680D8A6C276732889F12@server2.RKON.COM> Message-ID: <2dfcbd1b0808200908o77585c61jba5271d997fd0a8b@mail.gmail.com> Yeah, i do. I've compiled freeradius client, and have developed a simple script that wraps it to authenticate against IAS. It's a dirty-but-functional script, though. I have some restrictive licensing of code wrote for the company I work for. So i mean you are on your own. Sorry, but HTH, Marcel On Mon, Aug 18, 2008 at 3:39 PM, Serafin, Chris wrote: > The client/myself tend to shy away from running clients on the servers, > as we both prefer SNMP. Thank you for your response though! > > > > Back to google'in for answers, anyone else monitor MS Radius? > > > > *Chris Serafin* > > Security Engineer > > RKON Technologies > > Office : 312-654-0300 > > Cell: 708-307-2413 > > > > *From:* Seth Simmons [mailto:ssimmons at cymfony.com] > *Sent:* Monday, August 18, 2008 1:34 PM > *To:* Serafin, Chris; Nagios-users at lists.sourceforge.net > *Subject:* RE: [Nagios-users] M$ Radius service checking > > > > If you just want to check if the service is running, you could do this with > nsclient. > > > > check_command check_nt!SERVICESTATE!-d SHOWALL > -l IAS > > > > > > *From:* nagios-users-bounces at lists.sourceforge.net [mailto: > nagios-users-bounces at lists.sourceforge.net] *On Behalf Of *Serafin, Chris > *Sent:* Monday, August 18, 2008 12:22 PM > *To:* Nagios-users at lists.sourceforge.net > *Subject:* [Nagios-users] M$ Radius service checking > > > > Is anyone monitoring Microsoft IAS Radius service? I normally monitor > Windows services via SNMP and the service xxx.exe; but the IAS Radius > service uses svchost.exe, which has 7+ processes running in the background. > Is there a specific check, other than actually using Nagios to authenticate > to the server every 10 min or so? > > > > > > *Chris Serafin* > > Security Engineer > > RKON Technologies > > Office : 312-654-0300 > > Cell: 708-307-2413 > > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 webknowledge at gmail.com Wed Aug 20 18:11:08 2008 From: webknowledge at gmail.com (Marcel) Date: Wed, 20 Aug 2008 13:11:08 -0300 Subject: send_nsca - help In-Reply-To: <48AB2DAA.3020305@ederdrom.de> References: <004801c90239$4c351b30$e49f5190$@com> <48AB2DAA.3020305@ederdrom.de> Message-ID: <2dfcbd1b0808200911l7e171506hb17afb395e840298@mail.gmail.com> Yo, On Tue, Aug 19, 2008 at 5:31 PM, Joerg Linge wrote: > Murali Edula schrieb: > > Hi, > > > > > > > > we are in the process of configuring Nagios monitoring tool in > > distribution model. > > > > So I have configured nsca daemon on centrol server and send_nsca on > > distributed server. > > > > *Versions : Nagios 3.0.3, nsca 2.7.2 ? I hope these are latest versions.* > > > > > > > > > > > > 1. Daemon configured fine and listening requests. > > > > 2. Send_nsca also working great if I ran stand alone on > > distribution server . Example > > > > ./send_nsca -H 10.1.1.216 -c /usr/local/nagios/etc/send_nsca.cfg > > abc.baytree.com 'Current Users' 0 'User count OK' > > > > > > > > But when I configure ocsp_command is not working. Nagios.log shows > follows > > > > > > > > ============================================ > > > > [1219176254] Warning: Attempting to execute the command > > "/usr/local/nagios/libexec/eventhandlers/send_service_check > > abc.baytree.com 'Current Users' 0 'USERS OK - 11 users currently logged > > in'" resulted in a return code of 127. Make sure the script or binary > > you are trying to execute actually exists... > > > > > > > > =============================================== > > > > > > > > > > > > Please help me if I am missing anything here. > > > > > > > > My ocsp entries Nagios.cfg ? distributed server > > > > > > > > obsess_over_services=1 > > > > obsess_over_hosts=1 > > > > ocsp_command=send_service_check > > > > ochp_command=send_host_check > > > > ocsp_timeout=5 > > > > ochp_timeout=5 > > > > > > > > ================================================ > > > > > > > > commands.cfg > > > > define command{ > > > > command_name send_service_check > > > > command_line $USER1$/eventhandlers/send_service_check > > $HOSTNAME$ '$SERVICEDESC$' $SERVICESTATEID$ '$SERVICEOUTPUT$' > > > > } > > > > > > > > ======================================================= > > > > Code ? Shell script > > > > /usr/local/nagios/libexec/eventhandles/ send_service_check > > > > > > > > > > > > #!/bin/bash > > > > # Script : send_service_check > > > > #PRINTF="/usr/bin/printf" > > > > CMD="/usr/local/nagios/bin/send_nsca" > > > > CFG="/usr/local/nagios/etc/send_nsca.cfg" > > > > HOST=$1 > > > > SRV=$2 > > > > RESULT=$3 > > > > OUTPUT=$4 > > > > # > > > > /bin/echo "$1","$2","$3","$4" | $CMD -H 10.1.1.216 -c $CFG -d "," > > > > you call eventhandlers/send_service_check but you script is named > eventhandles/send_service_check > > > Regards > > Joerg > > ############################################################################################ And make sure your script is executable by nagios user. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From medula at baytree.com Wed Aug 20 20:06:58 2008 From: medula at baytree.com (Murali Edula) Date: Wed, 20 Aug 2008 14:06:58 -0400 Subject: send_nsca - help In-Reply-To: <2dfcbd1b0808200911l7e171506hb17afb395e840298@mail.gmail.com> References: <004801c90239$4c351b30$e49f5190$@com> <48AB2DAA.3020305@ederdrom.de> <2dfcbd1b0808200911l7e171506hb17afb395e840298@mail.gmail.com> Message-ID: <000d01c902ef$89716880$9c543980$@com> Yes Marcel, scripts owned by nagios and they have execute permission. Thank you Murali Edula Baytree Associates, Inc. 704.424.9723 ext. 117| 203-809-6725 Cell 13925 Ballantyne Corporate Place Suite 190, Charlotte, NC 28277-2747 medula at baytree.com | www.baytree.com From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Marcel Sent: Wednesday, August 20, 2008 12:11 PM To: Joerg Linge Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] send_nsca - help Yo, On Tue, Aug 19, 2008 at 5:31 PM, Joerg Linge wrote: Murali Edula schrieb: > Hi, > > > > we are in the process of configuring Nagios monitoring tool in > distribution model. > > So I have configured nsca daemon on centrol server and send_nsca on > distributed server. > > *Versions : Nagios 3.0.3, nsca 2.7.2 - I hope these are latest versions.* > > > > > > 1. Daemon configured fine and listening requests. > > 2. Send_nsca also working great if I ran stand alone on > distribution server . Example > > ./send_nsca -H 10.1.1.216 -c /usr/local/nagios/etc/send_nsca.cfg > abc.baytree.com 'Current Users' 0 'User count OK' > > > > But when I configure ocsp_command is not working. Nagios.log shows follows > > > > ============================================ > > [1219176254] Warning: Attempting to execute the command > "/usr/local/nagios/libexec/eventhandlers/send_service_check > abc.baytree.com 'Current Users' 0 'USERS OK - 11 users currently logged > in'" resulted in a return code of 127. Make sure the script or binary > you are trying to execute actually exists... > > > > =============================================== > > > > > > Please help me if I am missing anything here. > > > > My ocsp entries Nagios.cfg - distributed server > > > > obsess_over_services=1 > > obsess_over_hosts=1 > > ocsp_command=send_service_check > > ochp_command=send_host_check > > ocsp_timeout=5 > > ochp_timeout=5 > > > > ================================================ > > > > commands.cfg > > define command{ > > command_name send_service_check > > command_line $USER1$/eventhandlers/send_service_check > $HOSTNAME$ '$SERVICEDESC$' $SERVICESTATEID$ '$SERVICEOUTPUT$' > > } > > > > ======================================================= > > Code - Shell script > > /usr/local/nagios/libexec/eventhandles/ send_service_check > > > > > > #!/bin/bash > > # Script : send_service_check > > #PRINTF="/usr/bin/printf" > > CMD="/usr/local/nagios/bin/send_nsca" > > CFG="/usr/local/nagios/etc/send_nsca.cfg" > > HOST=$1 > > SRV=$2 > > RESULT=$3 > > OUTPUT=$4 > > # > > /bin/echo "$1","$2","$3","$4" | $CMD -H 10.1.1.216 -c $CFG -d "," > you call eventhandlers/send_service_check but you script is named eventhandles/send_service_check Regards Joerg ############################################################################ ################ And make sure your script is executable by nagios user. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ajcooper80 at googlemail.com Wed Aug 20 20:46:21 2008 From: ajcooper80 at googlemail.com (Alan Cooper) Date: Wed, 20 Aug 2008 19:46:21 +0100 Subject: ndoutils Query optimisation In-Reply-To: <48AC0938.3080303@aei.ca> References: <48ABDC29.6050609@googlemail.com> <48AC0938.3080303@aei.ca> Message-ID: <48AC667D.9070607@googlemail.com> Thomas Guyot-Sionnest wrote: > > I'm not a SQL guru, but here's some thing I'd try... You may get better > help from SQL/MySQL communities. > > * Make sure obj1.name1 is indexed (or is a PK) > * Make sure every columns in the JOINs are indexed/PKs > * Try removing the ORDER BY (i.e. sort it in the application running the > query instead) > > You can also try importing the tables to a different engine (i.e. InnoDB > vs MyISAM) in a new db or with different names, and benchmark it on them. > -- > Thanks for the replies, Unfortunately, all the tables are already indexed so I'm back to the underlying problem is that there are so many joins on big tables so MySQL has to copy to temp tables each time - I'd really like to eliminate the need for this if possible. Any help gratefully received ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From frimik at gmail.com Wed Aug 20 22:42:32 2008 From: frimik at gmail.com (Mikael Fridh) Date: Wed, 20 Aug 2008 22:42:32 +0200 Subject: ndoutils Query optimisation In-Reply-To: <48AC667D.9070607@googlemail.com> References: <48ABDC29.6050609@googlemail.com> <48AC0938.3080303@aei.ca> <48AC667D.9070607@googlemail.com> Message-ID: <323f67830808201342t7e75d905y27760e9d055f6254@mail.gmail.com> On Wed, Aug 20, 2008 at 8:46 PM, Alan Cooper wrote: > Thanks for the replies, > > Unfortunately, all the tables are already indexed so I'm back to the > underlying problem is that there are so many joins on big tables so > MySQL has to copy to temp tables each time - I'd really like to > eliminate the need for this if possible. Show the EXPLAIN output as well as SHOW CREATE TABLE for all tables in your query. -- Fridh ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From frimik at gmail.com Wed Aug 20 22:49:06 2008 From: frimik at gmail.com (Mikael Fridh) Date: Wed, 20 Aug 2008 22:49:06 +0200 Subject: Acknowledge: manual removal only ? In-Reply-To: <48AC066F.1040201@aei.ca> References: <02514613-9BE1-4CA9-9589-2AEBFE3AA63E@switch.ch> <48ABCBBB.6050508@googlemail.com> <323f67830808200147rbed8705rc6c2418ee15dffa9@mail.gmail.com> <48AC066F.1040201@aei.ca> Message-ID: <323f67830808201349r1cd3880fo53e9b4dea2a24e19@mail.gmail.com> On Wed, Aug 20, 2008 at 1:56 PM, Thomas Guyot-Sionnest wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 20/08/08 04:47 AM, Mikael Fridh wrote: >> On Wed, Aug 20, 2008 at 9:46 AM, Marcus wrote: >>> >>> >>> How about integrating a trouble-ticket, so no catastrophes are missed >>> anymore? >> >> I'm thinking if you're the one deciding when the service is OK or not, >> and not Nagios: >> ACK + disable active checks until you're done. >> >> That way there would be no flapping of the service, it will be >> considered and logged as DOWN until you decide it's working. > > Personally I prefer disabling notifications, so I can still see state > changes going on. I don't have flapping detection enabled neither. Yes, it's up to personal or site preference. > Another method is using scheduled downtimes; that way you can't forget > to re-enable the service. A problem could be it would then count as just that in the statistics - scheduled downtime, which it is not. -- Fridh ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Aug 20 23:13:52 2008 From: matt at conundrum.com (Matthew Pounsett) Date: Wed, 20 Aug 2008 17:13:52 -0400 Subject: Read-only users in 2.12 Message-ID: <8035760F-5FCB-42CB-B30B-909D44AEA07C@conundrum.com> I've been looking at trying to set up a read-only user for Nagios to use for an in-office "dashboard". Since this is set up where any staff member could get physical access to it, I need to be able to define a user who can view and browse assigned devices through the web interface, but not issue any commands. Preferably, I'd like to see the links for commands to not even show up. NLG seems like overkill for this. Ton Voon's patch at seems to be on the right track, but the information on the blog indicates that it's only good for 2.0, not 2.1. Has anyone produced anything for 2.1 that fits the bill, or should I be looking at modifying the Altinity patch? Matt -------------- 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 perldork at webwizarddesign.com Wed Aug 20 23:19:11 2008 From: perldork at webwizarddesign.com (Max) Date: Wed, 20 Aug 2008 17:19:11 -0400 Subject: Read-only users in 2.12 In-Reply-To: <8035760F-5FCB-42CB-B30B-909D44AEA07C@conundrum.com> References: <8035760F-5FCB-42CB-B30B-909D44AEA07C@conundrum.com> Message-ID: On Wed, Aug 20, 2008 at 5:13 PM, Matthew Pounsett wrote: > > I've been looking at trying to set up a read-only user for Nagios to use for > an in-office "dashboard". Since this is set up where any staff member could > get physical access to it, I need to be able to define a user who can view > and browse assigned devices through the web interface, but not issue any > commands. Preferably, I'd like to see the links for commands to not even > show up. > > NLG seems like overkill for this. Ton Voon's patch at > seems to be on the > right track, but the information on the blog indicates that it's only good > for 2.0, not 2.1. Has anyone produced anything for 2.1 that fits the bill, > or should I be looking at modifying the Altinity patch? NLG is actually pretty easy to setup and gives a very niice view, but yes, might be overkill if you don't need to separate access from the Nagios server and the view server. Derrick Bennett has been maintaining a read-only user patch for Nagios since 2.x that lets you specify a read only user in the cgi.conf file .. that user can see everything but cannot execute any commands via the GUI nor view comments left by operational staff. CC'ing him on this email .. if you are interested in the patch for 2.x, please let him know .. the 3.x patch is available online at http://www.nagios3book.com/ under the 'patches' section on the first page of the site. - 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 matt at conundrum.com Wed Aug 20 23:34:01 2008 From: matt at conundrum.com (Matthew Pounsett) Date: Wed, 20 Aug 2008 17:34:01 -0400 Subject: Read-only users in 2.12 In-Reply-To: References: <8035760F-5FCB-42CB-B30B-909D44AEA07C@conundrum.com> Message-ID: <7D2C59C7-EDA1-4B78-8084-8C986726EFB7@conundrum.com> On 20-Aug-2008, at 17:19 , Max wrote: > Derrick Bennett has been maintaining a read-only user patch for Nagios > since 2.x that lets you specify a read only user in the cgi.conf file > .. that user can see everything but cannot execute any commands via > the GUI nor view comments left by operational staff. That sounds like what I"m looking for. Thanks, I'll contact Derrick off-list. Matt -------------- 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 dermoth at aei.ca Thu Aug 21 00:43:39 2008 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Wed, 20 Aug 2008 18:43:39 -0400 Subject: LASTHOSTUP In-Reply-To: References: Message-ID: <48AC9E1B.60206@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 20/08/08 11:07 AM, James wrote: > On Wed, August 20, 2008 10:15 am, James wrote: > >> I am trying to print the time it was in a down state. >> I tried the $LASTHOSTDOWN$ macro but it is in time_t format. >> >> >> I tried $HOSTDURATIONSEC$ but the documentation says it prints the number >> of seconds a host has been in it's current state (0 seconds when a host >> comes up). I was to print how long it was down. >> >> >> I'm also going to want to do this for services. >> >> >> I will try the command line fu that was suggested. >> I wanted to do it with macros. :-( > > Mark Powell suggest this: > Duration of downtime was $((`/bin/date +%s` - $LASTHOSTUP$)) seconds > > I am using Solaris and there is no %s so I tried %S. This will give you the current second (0-59) which won't work. Try this instead: $((`perl -e "print time"` - $LASTHOSTUP$)) You may need the full path to perl though... - -- Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIrJ4b6dZ+Kt5BchYRAskCAJoCO3cTiCtlkF8d5PJbaj1CznQCqACgx0lb gDXv91jKmTXUYIesQw1rky0= =hX50 -----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 dermoth at aei.ca Thu Aug 21 00:47:47 2008 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Wed, 20 Aug 2008 18:47:47 -0400 Subject: LASTHOSTUP In-Reply-To: <48AC9E1B.60206@aei.ca> References: <48AC9E1B.60206@aei.ca> Message-ID: <48AC9F13.6080703@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 20/08/08 06:43 PM, Thomas Guyot-Sionnest wrote: > On 20/08/08 11:07 AM, James wrote: >> I am using Solaris and there is no %s so I tried %S. > > This will give you the current second (0-59) which won't work. Try this > instead: > > $((`perl -e "print time"` - $LASTHOSTUP$)) > > You may need the full path to perl though... > Or this which is almost twice as fast on my 200MHz SPARC: $((`nawk 'BEGIN{print srand()}'` - $LASTHOSTUP$)) - -- Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIrJ8T6dZ+Kt5BchYRAinSAJwMxe+5m+9OIwSst/TQ4ERuSyhtyACfQC8E hQkkV8sdrAPPon4b5yMlMB0= =nB/w -----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 dermoth at aei.ca Thu Aug 21 02:06:32 2008 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Wed, 20 Aug 2008 20:06:32 -0400 Subject: (no subject) In-Reply-To: <92521aaa75cccede52af3c4ae49c58c8.squirrel@www.lockie.ca> References: <92521aaa75cccede52af3c4ae49c58c8.squirrel@www.lockie.ca> Message-ID: <48ACB188.7050106@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 14/07/08 11:10 AM, James wrote: > If flapping is enabled but flapping notification is disabled and the host > really goes down then is it possible there is no down notification? > > I am trying to figure out why there was no notification of a host being down. > It does notify if I give it a bogus IP and it is unreachable. You should probably disable flapping detection instead of disabling flapping notifications. Back in time when I was using flapping (it was enabled in the first Nagios server I got my hands on) I always had the feeling it caused more trouble than the problem it solved. I guess it might be very useful on network-only monitoring where you want to know when a link is flapping without causing alerts, and will have staff on it as soon as an alert (incl flapping) comes in. - -- Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIrLGH6dZ+Kt5BchYRArBrAJ47RXXw8/dCe6dJ4s9TEfyHnc5c0QCggt5R KYjlFOTUnP4ZbpwZkZ4grpY= =QsN4 -----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 dermoth at aei.ca Thu Aug 21 02:15:53 2008 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Wed, 20 Aug 2008 20:15:53 -0400 Subject: M$ Radius service checking In-Reply-To: <63C821463F23D1418E680D8A6C276732889EC4@server2.RKON.COM> References: <63C821463F23D1418E680D8A6C276732889EC4@server2.RKON.COM> Message-ID: <48ACB3B9.8050508@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 18/08/08 12:21 PM, Serafin, Chris wrote: > Is anyone monitoring Microsoft IAS Radius service? I normally monitor > Windows services via SNMP and the service xxx.exe; but the IAS Radius > service uses svchost.exe, which has 7+ processes running in the > background. Is there a specific check, other than actually using Nagios > to authenticate to the server every 10 min or so? If you install radiusclient or radiusclient-ng (libraries - you don't need the applications) and recompile Nagios-plugins you should have a check_radius plugin compiled in (check for configure errors and/or the config.log for details if it doesn't build). - -- Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIrLO56dZ+Kt5BchYRAtJIAJ48WRBYztBRetj1f3fECz0YdcK7zgCg01pP OjFoqKsJxMyOXCY/pNU+ve0= =Hcyn -----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 tdondich at gmail.com Thu Aug 21 03:01:34 2008 From: tdondich at gmail.com (Taylor Dondich) Date: Wed, 20 Aug 2008 18:01:34 -0700 Subject: Nagios 3 GUI config tools In-Reply-To: References: <480035.65869.qm@web90501.mail.mud.yahoo.com> <56F8CBCA82D02D4B894B69C804906D1ADDEBFD@usnjpar1blex04.us.ad.irmc.com> <1208759919.13541.30.camel@joshua> Message-ID: <3d2eb72a0808201801p5373d42dl4b7623250fb4bd67@mail.gmail.com> Hi, my name is Taylor Dondich. I was the primary developer for Fruity, and am currently working on Lilac, the "fork" of Fruity which supports Nagios 3. The reason why Fruity hasn't made any progress is because my previous employer really didn't support the project as which they originally stated. I left that employer and decided a fresh start was needed because the Fruity project was tainted with that issue. Lilac is rebuilt with a completely new backend and very friendly UI. It's goal is to support Nagios 3 out of the box including the new timeperiod support, multiple inheritance (ick ick ick) as well as a rich import/export feature. Auto-discovery MAY make it into the initial release. I am working hard on it and we're looking at releasing an alpha this weekend. It would be great if people checked out the code from the repository and tried it out and gave feedback. The site is at www.lilacplatform.net (under construction), and the instructions for installing from the repository is under Documentation. Right now search, import and export is broken, which I'm working on correcting and finalizing in the next couple of days. Taylor Dondich On Mon, Apr 21, 2008 at 12:42 AM, Ciro Iriarte wrote: > 2008/4/21, Angel L. Mateo : >> >> > > Centreon looks pretty good, but it's not fully functional for v3.... I >> > > guess it could be a great frontend if it gets more attention from >> > > community... >> > > >> > > Ciro >> > > >> > > Link: http://www.centreon.com/Product/Screenshots.html >> > >> > The beta for 2.0 which supported 3.0 is supposed to be released this >> > week, betting it will be sometime next week though. >> > >> >> We are using centreon 1.4.2.3 with nagios 3 in a test environment and >> we don't have any problem. The only problem could be that with this >> configuration we can't use nagios 3 specific features. >> >> -- >> Angel L. Mateo Mart?nez >> Secci?n de Telem?tica >> ?rea de Tecnolog?as de la Informaci?n _o) >> y las Comunicaciones Aplicadas (ATICA) / \\ >> http://www.um.es/atica _(___V >> Tfo: 968367590 >> Fax: 968398337 >> > > Well, i tried it some time ago (when it was named oreon), but it > didn't support all the configuration directives for Nagios v2, like > $ADDRESSN$ (if I remember right) so it's useless for us, as we have > nagios running already for many years with a currently long and > complex configuration (the reason to try oreon/centreon) and need it > to just work after migration to Centreon. > > Regards. > CI.- > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save $100. > Use priority code J8TL2D2. > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 Thu Aug 21 03:05:52 2008 From: tdondich at gmail.com (Taylor Dondich) Date: Wed, 20 Aug 2008 18:05:52 -0700 Subject: Multiple inheritance, why why why.... Message-ID: <3d2eb72a0808201805o57be11a6n35058f2ab32f7ce2@mail.gmail.com> First off, was there REALLY a need for multiple inheritance? It's something that I think would REALLY stab you in the foot. With a well planned template structure with single inheritance, I'd think you'd resolve any issue. However, because we have it, it's good to understand it. Does anyone want to explain to me WHY it was chosen that the precedence order of variables go from left to right, instead of right to left? I mean, if you have the following: define host { host_name testhost use templatea, templateb } And both templates have different values for check_interval. That the value in templatea is the one used instead of the one from templateb. That's how the docs describe it. Does it make sense to most people that this is "correct" or would you think it'd be the other way? I'm writing a configuration tool and visually it's a vertical list, so my idea is that the bottom level template overrides any values from upper templates. It just seems weird. Taylor ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nick.obrien at eds.com Thu Aug 21 03:33:02 2008 From: nick.obrien at eds.com (O'Brien, Nick) Date: Thu, 21 Aug 2008 13:33:02 +1200 Subject: Problems with passive service monitoring and freshness alerting In-Reply-To: <027FCB5D4C65CC4CA714042A4EE8CC6B04AC161D@nzprm231.apac.corp.eds.com> References: <027FCB5D4C65CC4CA714042A4EE8CC6B04AC161D@nzprm231.apac.corp.eds.com> Message-ID: <027FCB5D4C65CC4CA714042A4EE8CC6B04C4B05A@nzprm231.apac.corp.eds.com> Hi, Did anyone have any thoughts about a solution to this, or is this answered in the docs (I did RFTM, honest *:)? If the later could someone point me to the right section please, thanks. Nick. --- Nick O'Brien | Phone: +64 9 487 6335 (x4335) |Middleware Hosting (MHOT), NZ Middleware Capability, EDS | Smales Farm Technology Park, Level 3, 74 Taharoto Road Takapuna, Auckland 0622 | Email: nick.obrien at eds.com >-----Original Message----- >From: nagios-users-bounces at lists.sourceforge.net >[mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf >Of O'Brien, Nick >Sent: Wednesday, 6 August 2008 9:20 a.m. >To: nagios-users at lists.sourceforge.net >Subject: [Nagios-users] Problems with passive service >monitoring andfreshness alerting > >Hello, > >I am using Nagios v2.3 with passive service checking and I am having >problems getting freshness to work in exactly the way I want. > >Our external scripts which check the services write to the Nagios >command file every minute. I want Nagios to alert me if there is no >status check for the service after 5 minutes, then every 60 minutes >while the status remains stale. > >However very frequently Nagios is alerting me despite a status being >received within the freshness_threshold, e.g.: > >[1217966117] EXTERNAL COMMAND: >PROCESS_SERVICE_CHECK_RESULT;servera;webservice1;0;Active sessions 3 >[1217966165] EXTERNAL COMMAND: >PROCESS_SERVICE_CHECK_RESULT;servera;wesbervice1;0;Active sessions 3 >[1217966191] Warning: The results of service 'webservice1' on host >'servera' are stale by 50 seconds (threshold=90 seconds). I'm forcing >an immediate check of the service. >[1217966201] SERVICE NOTIFICATION: >nick;servera;webservice1;CRITICAL;notify-by-email;No servera >webservice1 >status report inside the freshness interval > >I think part of the problem is Nagios is using X in "stale by >X seconds" >rather than freshness_threshold or normal_check_interval to run the >freshness check. How do I change X, disable these warnings, and/or at >least get Nagios to run the freshness check at (or near) the actual >threshold? > >Also I've set max_check_attempts to 7 but Nagios doesn't always seem to >reset the SOFT count back to after a status of the service is >received - >possibly a symptom of the same problem. > >I've tried various combination of freshness_threshold, >normal_check_interval, retry_check_interval, and max_check_attempts to >no avail. Anyhow the relevant portions of my Nagios configuration are >below. > >Any suggestions about configuring Nagios to do what I want to achieve? > > > Thanks, > > Nick. > >define service{ > use passive-service > host_name servera > service_description webservice1 > name webservice1 > notification_interval 60 > freshness_threshold 90 > max_check_attempts 7 > check_command freshness_alert > contact_groups nickgroup >} > >define service{ > name passive-service > active_checks_enabled 0 > passive_checks_enabled 1 > parallelize_check 1 > obsess_over_service 1 > check_freshness 1 > freshness_threshold 900 > notifications_enabled 1 > event_handler_enabled 1 > flap_detection_enabled 1 > check_period 24x7 > failure_prediction_enabled 1 > process_perf_data 1 > retain_status_information 1 > retain_nonstatus_information 1 > max_check_attempts 1 > normal_check_interval 5 > retry_check_interval 1 > contact_groups admins > notification_options w,c,r > notification_interval 960 > notification_period 24x7 > register 0 >} } > > >The freshness_check is > >#!/bin/ksh ># ># command to run if not heard from passive check >echo "No $1 $2 status report inside the freshness interval" >exit 2 > > > > > >--- >Nick O'Brien Phone: +64 9 487 6335 (x4335) >Middleware Hosting (MHOT), NZ Middleware Capability, EDS >Smales Farm Technology Park, Level 3, 74 Taharoto Road >Takapuna, Auckland 0622 Email: nick.obrien 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 tdondich at gmail.com Thu Aug 21 04:55:00 2008 From: tdondich at gmail.com (Taylor Dondich) Date: Wed, 20 Aug 2008 19:55:00 -0700 Subject: Configuration directories In-Reply-To: <20080821114912.W86288@mippet.ci.com.au> References: <20080821114912.W86288@mippet.ci.com.au> Message-ID: <3d2eb72a0808201955v709d1107y3a19c51bdcf548be@mail.gmail.com> it does not matter what order nagios reads your configuration files in. Taylor On Wed, Aug 20, 2008 at 6:55 PM, Dave Horsfall wrote: > Nagios 2.12. > > Are the *.cfg files in a directory processed in alphabetical order? I > guess the question I'm asking is that do templates have to be physically > defined before they are used, or is this sorted out when all files have > been read? > > -- > Dave Horsfall DTM VK2KFU Ph: +61 2 9552-5509 (direct) +61 2 9552-5500 (switch) > Corinthian Eng'ng P/L, Ste 54 Jones Bay Whf, 26-32 Pirrama Rd, Pyrmont 2009, AU > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 owen.m.lagarde at usace.army.mil Thu Aug 21 05:25:54 2008 From: owen.m.lagarde at usace.army.mil (Owen LaGarde) Date: Wed, 20 Aug 2008 22:25:54 -0500 Subject: Undefined symbols during event broker module load? Message-ID: <1219289155.11312.60.camel@gilgamesh.erdc.hpc.mil> I have a broker module that creates a kerberos5 memory cache for later use with plugins referencing "kerberized" client tools. For various reasons this requires use of some customized kerberos and openssl libraries in /usr/KRB5/lib and /usr/KRB5/openssl/lib. Using the existing broker examples was pretty easy; tell the precompiler where the extra headers are and you're done. Here's the resulting compile line for the module: gcc -fPIC -I /usr/KRB5/include -DHAVE_CONFIG_H \ -o krb5cachemgr.o krb5cachemgr.c -shared The ELF shared object this creates is correct as far as symbol references go, and all symbol references are resolvable at runtime if the additional paths are provided to the loader. And that provision appears to be the problem -- nagios fails to load any module referencing anything outside of the builtin path list. Exporting LD_LIBRARY_PATH above the top process for nagios doesn't affect things (I halfway expected this since nagios declares itself the process group leader) but including the new paths in the ld.so.cache is equally ineffective. Just for grins I also tried removing the kerberos calls and testing with a call to a dummy stub in a library in my homedir, with the same results. What precisely is nagios doing on broker module load to resolve relocatable symbol references in the requested module? Is symbol resolution restricted to the nagios install tree? -- Sincerely, Owen LaGarde Senior Systems Administrator Owen.M.LaGarde at usace.army.mil 1-800-522-6937 x4879 Engineering Research and Development Center attn: CEERD-IH-C (Owen LaGarde) 3909 Halls Ferry Road Vicksburg, MS 39180-6199 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 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 andurin at process-zero.de Thu Aug 21 07:36:15 2008 From: andurin at process-zero.de (=?ISO-8859-1?Q?Hendrik_B=E4cker?=) Date: Thu, 21 Aug 2008 07:36:15 +0200 Subject: Multiple inheritance, why why why.... In-Reply-To: <3d2eb72a0808201805o57be11a6n35058f2ab32f7ce2@mail.gmail.com> References: <3d2eb72a0808201805o57be11a6n35058f2ab32f7ce2@mail.gmail.com> Message-ID: <48ACFECF.6060301@process-zero.de> Hi Taylor, Taylor Dondich schrieb: > First off, was there REALLY a need for multiple inheritance? It's > something that I think would REALLY stab you in the foot. With a well > planned template structure with single inheritance, I'd think you'd > resolve any issue. However, because we have it, it's good to > understand it. > > Does anyone want to explain to me WHY it was chosen that the > precedence order of variables go from left to right, instead of right > to left? I mean, if you have the following: > > define host { > host_name testhost > use templatea, templateb > } > > And both templates have different values for check_interval. That the > value in templatea is the one used instead of the one from templateb. > That's how the docs describe it. Does it make sense to most people > that this is "correct" or would you think it'd be the other way? > Left to right, right to left where's the different if you know how it works? Something had to be choosen so the devels might thought: "First come, first serve" might be a good thing. >From left to right, the configuration (wo)men only must think off: "The first directive set will be taken from a template, but it can be overwritten be the atomic service object". But I see there would be a logic for the other way too: "generic-service for all, then the closer special ones" - but anyway: I would say it's to late to discuss this. Many people out there has already Nagios3, they might alreade use multiple inheritance in the actual way. > I'm writing a configuration tool and visually it's a vertical list, so > my idea is that the bottom level template overrides any values from > upper templates. It just seems weird. > 1. Please not another config tool - there are too many half ready tools out there. 2. Who must change in your opinion? Nagios to your config tool or vice versa? (SCNR) Regards, Hendrik ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ernst.heiri at switch.ch Thu Aug 21 09:15:25 2008 From: ernst.heiri at switch.ch (Ernst Heiri) Date: Thu, 21 Aug 2008 09:15:25 +0200 Subject: Acknowledge: manual removal only ? In-Reply-To: <323f67830808201349r1cd3880fo53e9b4dea2a24e19@mail.gmail.com> References: <02514613-9BE1-4CA9-9589-2AEBFE3AA63E@switch.ch> <48ABCBBB.6050508@googlemail.com> <323f67830808200147rbed8705rc6c2418ee15dffa9@mail.gmail.com> <48AC066F.1040201@aei.ca> <323f67830808201349r1cd3880fo53e9b4dea2a24e19@mail.gmail.com> Message-ID: <0AAAA219-4554-46D4-9D63-BF0530ECCDDD@switch.ch> Thanks a lot for your help! My question was: Is there a possibility to prevent the automatic removal of the acknowledge if the host or service recovers? And here is a short summery of the discussion and my comments: > Marcus: > The "Persistent Comment" flag prevents the comment from > automatically disappear. True - but on the "Host Detail" or "Service Detail" list you can not differentiate between comments from ack and from users on the first gaze. > Fridh: > ACK + disable active checks until you're done. I wouldn't like to stop active checks. > Thomas: > disabling notifications, so I can still see state > changes going on. > Another method is using scheduled downtimes; that way you can't forget > to re-enable the service. Disabling notifications is what we will do if there is no better solution. A disabled host/service notification would then mean to us that somebody is working on it. But the icon for "disabled notification" on the "Service Detail" or "Host Detail" list is much less intuitive than the nice ack icon :-( > Fridh: > A problem could be it would then count as just that in the statistics > - scheduled downtime, which it is not. Yes - I agree on this. Not only for the statistics, for the operation too, it has a different meaning. I accept there are different ways to ack a problem - depending on the specific operational models of different organisation. I would be glad to see a config parameter to prevent automatic removal of an acknowledge. To whom can I send a request to add this feature in a future release? Best regards, Ernst ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From brian.murphy at gmx.net Thu Aug 21 11:28:19 2008 From: brian.murphy at gmx.net (Brian Murphy) Date: Thu, 21 Aug 2008 11:28:19 +0200 Subject: update button calling histogram.cgi with spaces in service name corrupts service name Message-ID: <20080821092819.9610@gmx.net> In Nagios 3.0.2 and 3.0.3 (well my builds running on Suse SLES10 at least) I have a problem, when in the "view alert histogram for this service" or "view trends for this service", for a service with a space in the name. The problem does not seem to be there on 3.0.1 I can go in there and see the histogram of trends first time, but if I push the "Update" button I get "+" instead of the " " (spaces) in the service name and due to the corrupted service name also get told that "It appears as though you are not authorized to view information for the specified service..." In the short term I am looking at putting underscores in instead of spaces. Is this a problem for others running 3.0.2 and 3.0.3? Does anyone lknow a fix for this? Regards Brian Murphy -- GMX startet ShortView.de. Hier findest Du Leute mit Deinen Interessen! Jetzt dabei sein: http://www.shortview.de/wasistshortview.php?mc=sv_ext_mf at gmx ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Aug 21 13:19:15 2008 From: assaf.flatto at ssp.uk.com (Assaf Flatto) Date: Thu, 21 Aug 2008 11:19:15 +0000 Subject: nagiosgraph stop showing all services Message-ID: <200808211119.15498.assaf.flatto@ssp.uk.com> Hello I have nagios 2.10 and running nagiosgraph 0.9.0. I had the graph working fine for my hosts until i did a CPAN update( needed the CGI::Simple) module for NagiosBP Add-on. Since then the service drop down box does not allow selection of the services assigned to the host it shows. My machine is SLES 10 SP1 (x86_64) , Perl is perl-5.8.8-14.7. anyone ever encountered this problem before ? Assaf 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 Thu Aug 21 15:16:13 2008 From: assaf.flatto at ssp.uk.com (Assaf Flatto) Date: Thu, 21 Aug 2008 13:16:13 +0000 Subject: users logged on windows machines Message-ID: <200808211316.13849.assaf.flatto@ssp.uk.com> Hello Does anyone know of a Plugin for finding what users are logged on to a windows machine ? I checked the check-nt and didn't find a way . Thanks Assaf 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 tobias.gunkel at qumido.de Thu Aug 21 15:18:55 2008 From: tobias.gunkel at qumido.de (Tobias Gunkel) Date: Thu, 21 Aug 2008 15:18:55 +0200 Subject: Problem with $CONTACTADDRESS1$ Message-ID: <48AD6B3F.8060309@qumido.de> Hi there! I'm using Nagios 3.0.3 and I want to send notifications via SMS, so I configured an additional command 'notify-by-sms': define command{ command_name notify-by-sms command_line /usr/local/nagios/bin/sendsms -n "$NOTIFICATIONTYPE$" -d "$SERVICEDESC$" -h "$HOSTALIAS$" -s "$SERVICESTATE$" -t "$SHORTDATETIME$" -i "$SERVICEOUTPUT$" -p "$CONTACTADDRESS1$" } /usr/local/nagios/bin/sendsms sends SMS through our SMS Gateway. Argument -p $CONTACTADDRESS1$ represents the cell phone number. I added address1 and the 'notify-by-sms' command in my contact definition: define contact{ contact_name nagiosadmin use generic-contact alias Nagios Admin service_notification_commands notify-by-sms host_notification_commands notify-by-sms email xxx.xxxx at yyyy.zz address1 0049XXXXXXX } But after restarting Nagios this setup doesnt work o_0. If I change the $CONTACTADDRESS1$ Makro into the actual phone number it works fine: command_line /usr/local/nagios/bin/sendsms -n "$NOTIFICATIONTYPE$" -d "$SERVICEDESC$" -h "$HOSTALIAS$" -s "$SERVICESTATE$" -t "$SHORTDATETIME$" -i "$SERVICEOUTPUT$" -p "0049XXXXXXX" So it seems, that $CONTACTADDRESS1$ is not resolved correctly, right? What's going wrong here? Thanks for any hints and tips! Best regards, Tobias ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Aug 21 15:37:44 2008 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Thu, 21 Aug 2008 09:37:44 -0400 Subject: users logged on windows machines In-Reply-To: <200808211316.13849.assaf.flatto@ssp.uk.com> References: <200808211316.13849.assaf.flatto@ssp.uk.com> Message-ID: <48AD6FA8.2000502@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 21/08/08 09:16 AM, Assaf Flatto wrote: > Hello > > Does anyone know of a Plugin for finding what users are logged on to a windows machine ? > > I checked the check-nt and didn't find a way . I'm not sure how you could get the user names (probably trough a script running on the server using NRPE_NT or NC_Net, but for the number of user logged in you can use the following performance counters: Terminal Services: Total Sessions; Active Sessions; Inactive Sessions - -- Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIrW+o6dZ+Kt5BchYRAh5HAKCtCUZ4BCBZgO/vTlFTn7oig7ujUACdFMDX snvGMY4myUaQWSjrDnDx5Z0= =tIKG -----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 livio.zanol.puppim at gmail.com Thu Aug 21 17:55:40 2008 From: livio.zanol.puppim at gmail.com (Livio Zanol Puppim) Date: Thu, 21 Aug 2008 12:55:40 -0300 Subject: M$ Radius service checking In-Reply-To: <48ACB3B9.8050508@aei.ca> References: <63C821463F23D1418E680D8A6C276732889EC4@server2.RKON.COM> <48ACB3B9.8050508@aei.ca> Message-ID: You can use SNMP to monitor if the equivalent process is running and how much memory/CPU it's using. Microsoft haven't implemented specific Radius data on theirs enterprise MIB. You can use the same MIB that you check for xxx.exe, but inteased check the parameter passed to the executable file to know which one is the Radius process. 1.3.6.1.2.1.25.4.2.1.5 (or hrSWRunParameters). 2008/8/20 Thomas Guyot-Sionnest : > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 18/08/08 12:21 PM, Serafin, Chris wrote: >> Is anyone monitoring Microsoft IAS Radius service? I normally monitor >> Windows services via SNMP and the service xxx.exe; but the IAS Radius >> service uses svchost.exe, which has 7+ processes running in the >> background. Is there a specific check, other than actually using Nagios >> to authenticate to the server every 10 min or so? > > If you install radiusclient or radiusclient-ng (libraries - you don't > need the applications) and recompile Nagios-plugins you should have a > check_radius plugin compiled in (check for configure errors and/or the > config.log for details if it doesn't build). > > - -- > Thomas > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.6 (GNU/Linux) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iD8DBQFIrLO56dZ+Kt5BchYRAtJIAJ48WRBYztBRetj1f3fECz0YdcK7zgCg01pP > OjFoqKsJxMyOXCY/pNU+ve0= > =Hcyn > -----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 > -- []'s L?vio Zanol Puppim ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Aug 21 21:28:59 2008 From: tdondich at gmail.com (Taylor Dondich) Date: Thu, 21 Aug 2008 12:28:59 -0700 Subject: Multiple inheritance, why why why.... In-Reply-To: <48ACFECF.6060301@process-zero.de> References: <3d2eb72a0808201805o57be11a6n35058f2ab32f7ce2@mail.gmail.com> <48ACFECF.6060301@process-zero.de> Message-ID: <3d2eb72a0808211228i5319e2der1d8af871b115410c@mail.gmail.com> Haha. Pretty much, I was just venting. Obviously the configuration tool needs to make sure it works properly with Nagios. I just feel like the multiple inheritance situation is easy to shoot yourself in the foot. Just for history, I wrote Fruity, a configuration tool for Nagios, which is used quite a bit. I didn't think of it as "half-complete", but there's some back history on why it hasnt' been updated (previous employer garbage). I'm rewriting the tool as Nagios 3 support, and it is not, for sure, half complete. It has support for the sophisticated time periods, dependencies, escalations, multiple inheritance. It has a rich importing and export system and the first release may have the full auto-discovery feature built-in. I plan on it being complete around late this weekend. The UI is complete, the backend is as well. Just the import and export engine are being finalized. Taylor On Wed, Aug 20, 2008 at 10:36 PM, Hendrik B?cker wrote: > Hi Taylor, > > Taylor Dondich schrieb: >> First off, was there REALLY a need for multiple inheritance? It's >> something that I think would REALLY stab you in the foot. With a well >> planned template structure with single inheritance, I'd think you'd >> resolve any issue. However, because we have it, it's good to >> understand it. >> >> Does anyone want to explain to me WHY it was chosen that the >> precedence order of variables go from left to right, instead of right >> to left? I mean, if you have the following: >> >> define host { >> host_name testhost >> use templatea, templateb >> } >> >> And both templates have different values for check_interval. That the >> value in templatea is the one used instead of the one from templateb. >> That's how the docs describe it. Does it make sense to most people >> that this is "correct" or would you think it'd be the other way? >> > Left to right, right to left where's the different if you know how it > works? Something had to be choosen so the devels might thought: "First > come, first serve" might be a good thing. > >From left to right, the configuration (wo)men only must think off: "The > first directive set will be taken from a template, but it can be > overwritten be the atomic service object". > > But I see there would be a logic for the other way too: "generic-service > for all, then the closer special ones" - but anyway: I would say it's to > late to discuss this. Many people out there has already Nagios3, they > might alreade use multiple inheritance in the actual way. >> I'm writing a configuration tool and visually it's a vertical list, so >> my idea is that the bottom level template overrides any values from >> upper templates. It just seems weird. >> > 1. Please not another config tool - there are too many half ready tools > out there. > 2. Who must change in your opinion? Nagios to your config tool or vice > versa? (SCNR) > > Regards, > Hendrik > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 Byron.Gerber at nwcs.k12.in.us Thu Aug 21 21:42:07 2008 From: Byron.Gerber at nwcs.k12.in.us (Byron Gerber) Date: Thu, 21 Aug 2008 15:42:07 -0400 Subject: Netware Servers Message-ID: <48AD8CCF.BB1A.00AA.0@nwcs.k12.in.us> I am trying to figure out how to monitor my Netware Servers. However I am no Linux junky and I am new to this software...........so I am obviously lost. I don't see a place in my nagios.cfg for a netware definition files. Also if somebody when have a sample Netware Resource config that would be great too!! Thanks for all your help, Byron Gerber -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Aug 21 23:12:23 2008 From: tdondich at gmail.com (Taylor Dondich) Date: Thu, 21 Aug 2008 14:12:23 -0700 Subject: Netware Servers In-Reply-To: <48AD8CCF.BB1A.00AA.0@nwcs.k12.in.us> References: <48AD8CCF.BB1A.00AA.0@nwcs.k12.in.us> Message-ID: <3d2eb72a0808211412l714c6780v4a09132f0385a1ed@mail.gmail.com> Hi there, you should really read the Nagios documentation to understand how the configuration files work. You'll need to create a file on your own with your netware server declarations and services you want checked on them. Then specify Nagios to read that config file with the cfg_file directive in the main nagios.cfg file. But there's some good resources out there for you! First, make sure you install MRTGEXT module on your Novell servers to ease monitoring of your NetWare servers. The URL for this module is at: http://forge.novell.com/modules/xfmod/project/?mrtgext You can then use the nwstat plugin (Part of the official Nagios plugins project) to contact that module to get statistical information of your server. The man page for the nwstat plugin is at: http://nagiosplugins.org/man/check_nwstat The Cool Solutions document I read to get this information is at: http://www.novell.com/coolsolutions/trench/1576.html I found this information by doing a google search for: netware nagios Taylor Dondich On Thu, Aug 21, 2008 at 12:42 PM, Byron Gerber wrote: > I am trying to figure out how to monitor my Netware Servers. > > However I am no Linux junky and I am new to this software...........so I am > obviously lost. > > I don't see a place in my nagios.cfg for a netware definition files. Also if > somebody when have a sample Netware Resource config that would be great > too!! > > Thanks for all your help, > Byron Gerber > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 Thu Aug 21 23:14:52 2008 From: tdondich at gmail.com (Taylor Dondich) Date: Thu, 21 Aug 2008 14:14:52 -0700 Subject: Problem with $CONTACTADDRESS1$ In-Reply-To: <3d2eb72a0808211414m747d9c5al7f0afa2c2a2886cd@mail.gmail.com> References: <48AD6B3F.8060309@qumido.de> <3d2eb72a0808211414m747d9c5al7f0afa2c2a2886cd@mail.gmail.com> Message-ID: <3d2eb72a0808211414k6cb76886lab2c79e9d60b60ba@mail.gmail.com> You could also use a new feature of Nagios 3.0, custom variables: http://nagios.sourceforge.net/docs/3_0/customobjectvars.html Be interesting to see if that works appropriately. Taylor On Thu, Aug 21, 2008 at 6:18 AM, Tobias Gunkel wrote: > Hi there! > > I'm using Nagios 3.0.3 and I want to send notifications via SMS, so I > configured an additional command 'notify-by-sms': > > define command{ > command_name notify-by-sms > command_line /usr/local/nagios/bin/sendsms -n "$NOTIFICATIONTYPE$" > -d "$SERVICEDESC$" -h "$HOSTALIAS$" -s "$SERVICESTATE$" -t > "$SHORTDATETIME$" -i "$SERVICEOUTPUT$" -p "$CONTACTADDRESS1$" > } > > /usr/local/nagios/bin/sendsms sends SMS through our SMS Gateway. > Argument -p $CONTACTADDRESS1$ represents the cell phone number. > > I added address1 and the 'notify-by-sms' command in my contact definition: > > define contact{ > contact_name nagiosadmin > use generic-contact > alias Nagios Admin > service_notification_commands notify-by-sms > host_notification_commands notify-by-sms > email xxx.xxxx at yyyy.zz > address1 0049XXXXXXX > } > > But after restarting Nagios this setup doesnt work o_0. > > If I change the $CONTACTADDRESS1$ Makro into the actual phone number it > works fine: > > command_line /usr/local/nagios/bin/sendsms -n "$NOTIFICATIONTYPE$" -d > "$SERVICEDESC$" -h "$HOSTALIAS$" -s "$SERVICESTATE$" -t > "$SHORTDATETIME$" -i "$SERVICEOUTPUT$" -p "0049XXXXXXX" > > So it seems, that $CONTACTADDRESS1$ is not resolved correctly, right? > > What's going wrong here? Thanks for any hints and tips! > Best regards, Tobias > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lists at sequestered.net Fri Aug 22 00:13:29 2008 From: lists at sequestered.net (Jay Chandler) Date: Thu, 21 Aug 2008 15:13:29 -0700 Subject: Service / Host dependencies Message-ID: <48ADE889.1000608@sequestered.net> Greetings. I've noticed something odd within Nagios. Someone will restart a server here, and as a result a service check will report an error. As a result, we can (depending on how long the box takes to get up) get an alert for every service on the box when it goes down. Is there a way to build in a dependency so that if a service goes down, it checks to see if the host itself is up before it sends an alert? -- Jay Chandler / KB1JWQ Living Legend / Systems Exorcist Today's Excuse: Just type 'mv * /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 Fri Aug 22 00:19:57 2008 From: tdondich at gmail.com (Taylor Dondich) Date: Thu, 21 Aug 2008 15:19:57 -0700 Subject: Service / Host dependencies In-Reply-To: <48ADE889.1000608@sequestered.net> References: <48ADE889.1000608@sequestered.net> Message-ID: <3d2eb72a0808211519w1c5f0739g31647fb025b71c78@mail.gmail.com> Kind of defeats the purpose, doesn't it? The normal process is, even if a host is up, the services it provides could be dead in the water. I don't think you really want this, but instead, if you want to give the service check more time to determine if a problem is REALLY a problem, increase the max_check_attempts of the service in question, giving Nagios more time to check the service to really change it's state to a HARD state. Read up on different states and how they work at: http://nagios.sourceforge.net/docs/3_0/statetypes.html Taylor On Thu, Aug 21, 2008 at 3:13 PM, Jay Chandler wrote: > Greetings. > > I've noticed something odd within Nagios. Someone will restart a server > here, and as a result a service check will report an error. As a > result, we can (depending on how long the box takes to get up) get an > alert for every service on the box when it goes down. > > Is there a way to build in a dependency so that if a service goes down, > it checks to see if the host itself is up before it sends an alert? > > -- > Jay Chandler / KB1JWQ > Living Legend / Systems Exorcist > Today's Excuse: Just type 'mv * /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 lists at sequestered.net Fri Aug 22 00:22:21 2008 From: lists at sequestered.net (Jay Chandler) Date: Thu, 21 Aug 2008 15:22:21 -0700 Subject: Service / Host dependencies In-Reply-To: <3d2eb72a0808211519w1c5f0739g31647fb025b71c78@mail.gmail.com> References: <48ADE889.1000608@sequestered.net> <3d2eb72a0808211519w1c5f0739g31647fb025b71c78@mail.gmail.com> Message-ID: <48ADEA9D.40907@sequestered.net> Taylor Dondich wrote: > Kind of defeats the purpose, doesn't it? The normal process is, even > if a host is up, the services it provides could be dead in the water. > I don't think you really want this, but instead, if you want to give > the service check more time to determine if a problem is REALLY a > problem, increase the max_check_attempts of the service in question, > giving Nagios more time to check the service to really change it's > state to a HARD state. Read up on different states and how they work > at: > > http://nagios.sourceforge.net/docs/3_0/statetypes.html > You're right-- I wasn't clear. I still want to know if the services die, but in the event that the services die because the host is dead, I'd rather get a single "host down" message instead of eight "X Service on $HOST isn't working" messages. -- Jay Chandler / KB1JWQ Living Legend / Systems Exorcist Today's Excuse: Just type 'mv * /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 amontibello at gmail.com Fri Aug 22 00:26:25 2008 From: amontibello at gmail.com (Anthony Montibello) Date: Thu, 21 Aug 2008 18:26:25 -0400 Subject: users logged on windows machines In-Reply-To: <48AD6FA8.2000502@aei.ca> References: <200808211316.13849.assaf.flatto@ssp.uk.com> <48AD6FA8.2000502@aei.ca> Message-ID: use NC_Net or NRPE to do a WMI query to fetch Logged in users. Tony (Author of NC_NEt) On Thu, Aug 21, 2008 at 9:37 AM, Thomas Guyot-Sionnest wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 21/08/08 09:16 AM, Assaf Flatto wrote: > > Hello > > > > Does anyone know of a Plugin for finding what users are logged on to a > windows machine ? > > > > I checked the check-nt and didn't find a way . > > I'm not sure how you could get the user names (probably trough a script > running on the server using NRPE_NT or NC_Net, but for the number of > user logged in you can use the following performance counters: > > Terminal Services: Total Sessions; Active Sessions; Inactive Sessions > > > - -- > Thomas > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.6 (GNU/Linux) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iD8DBQFIrW+o6dZ+Kt5BchYRAh5HAKCtCUZ4BCBZgO/vTlFTn7oig7ujUACdFMDX > snvGMY4myUaQWSjrDnDx5Z0= > =tIKG > -----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 tdondich at gmail.com Fri Aug 22 00:31:50 2008 From: tdondich at gmail.com (Taylor Dondich) Date: Thu, 21 Aug 2008 15:31:50 -0700 Subject: Service / Host dependencies In-Reply-To: <48ADEA9D.40907@sequestered.net> References: <48ADE889.1000608@sequestered.net> <3d2eb72a0808211519w1c5f0739g31647fb025b71c78@mail.gmail.com> <48ADEA9D.40907@sequestered.net> Message-ID: <3d2eb72a0808211531m1ccba591h82dd3a0a7fcba8d0@mail.gmail.com> Are you regularly checking the hosts? (This is done by specifying check interval, retry interval in your host definitions, http://nagios.sourceforge.net/docs/3_0/hostchecks.html) It seems like your service checks are running, and when they go down, they trigger an on-demand host-check. For this, you'll probably want to check to see if you're checking hosts at regular intervals, and if the host changes to down state, my understanding is that the services will probably not send out notifications...but don't hold me to that, I believe it's true. Of course, no matter what happens, it's quite possible that a service check will happen to run before your regular host check does, and it will trigger the on-demand host check, which means you may get a service alert notification anyways. Taylor On Thu, Aug 21, 2008 at 3:22 PM, Jay Chandler wrote: > Taylor Dondich wrote: >> >> Kind of defeats the purpose, doesn't it? The normal process is, even >> if a host is up, the services it provides could be dead in the water. >> I don't think you really want this, but instead, if you want to give >> the service check more time to determine if a problem is REALLY a >> problem, increase the max_check_attempts of the service in question, >> giving Nagios more time to check the service to really change it's >> state to a HARD state. Read up on different states and how they work >> at: >> >> http://nagios.sourceforge.net/docs/3_0/statetypes.html >> > > You're right-- I wasn't clear. I still want to know if the services die, > but in the event that the services die because the host is dead, I'd rather > get a single "host down" message instead of eight "X Service on $HOST isn't > working" messages. > > -- > Jay Chandler / KB1JWQ > Living Legend / Systems Exorcist > Today's Excuse: Just type 'mv * /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 Fri Aug 22 00:53:58 2008 From: marc at ena.com (Marc Powell) Date: Thu, 21 Aug 2008 17:53:58 -0500 Subject: Service / Host dependencies In-Reply-To: <48ADEA9D.40907@sequestered.net> References: <48ADE889.1000608@sequestered.net> <3d2eb72a0808211519w1c5f0739g31647fb025b71c78@mail.gmail.com> <48ADEA9D.40907@sequestered.net> Message-ID: <21A74953-5089-4AE6-8F5C-859AAC6AC7F0@ena.com> On Aug 21, 2008, at 5:22 PM, Jay Chandler wrote: > > You're right-- I wasn't clear. I still want to know if the services > die, but in the event that the services die because the host is dead, > I'd rather get a single "host down" message instead of eight "X > Service > on $HOST isn't working" messages. If you've configured a working host check, nagios does exactly this automagically. No special configuration necessary... -- 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 tdondich at gmail.com Fri Aug 22 01:00:00 2008 From: tdondich at gmail.com (Taylor Dondich) Date: Thu, 21 Aug 2008 16:00:00 -0700 Subject: Service / Host dependencies In-Reply-To: <21A74953-5089-4AE6-8F5C-859AAC6AC7F0@ena.com> References: <48ADE889.1000608@sequestered.net> <3d2eb72a0808211519w1c5f0739g31647fb025b71c78@mail.gmail.com> <48ADEA9D.40907@sequestered.net> <21A74953-5089-4AE6-8F5C-859AAC6AC7F0@ena.com> Message-ID: <3d2eb72a0808211600m7eaf2b39mec0c31605d6765c9@mail.gmail.com> Thanks Marc for verifying what I believed to be correct. :) Taylor On Thu, Aug 21, 2008 at 3:53 PM, Marc Powell wrote: > > On Aug 21, 2008, at 5:22 PM, Jay Chandler wrote: >> >> You're right-- I wasn't clear. I still want to know if the services >> die, but in the event that the services die because the host is dead, >> I'd rather get a single "host down" message instead of eight "X >> Service >> on $HOST isn't working" messages. > > If you've configured a working host check, nagios does exactly this > automagically. No special configuration necessary... > > -- > 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 smcafee at collaborativefusion.com Fri Aug 22 01:05:00 2008 From: smcafee at collaborativefusion.com (Sean McAfee) Date: Thu, 21 Aug 2008 19:05:00 -0400 Subject: Problem with $CONTACTADDRESS1$ In-Reply-To: <3d2eb72a0808211414k6cb76886lab2c79e9d60b60ba@mail.gmail.com> References: <48AD6B3F.8060309@qumido.de> <3d2eb72a0808211414m747d9c5al7f0afa2c2a2886cd@mail.gmail.com> <3d2eb72a0808211414k6cb76886lab2c79e9d60b60ba@mail.gmail.com> Message-ID: <48ADF49C.1050300@collaborativefusion.com> Tobias Gunkel wrote: > So it seems, that $CONTACTADDRESS1$ is not resolved correctly, right? > > What's going wrong here? Thanks for any hints and tips! Turn on debugging and tail the debug file. It will show each macro expansion as the actual command is constructed. It's helped me catch everything from misordered arguments to random shell escaping problems. Taylor Dondich wrote: > You could also use a new feature of Nagios 3.0, custom variables: Well it's going to be changed, why not just use $CONTACTPAGER$? 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. **************************************************************** ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 at dugas.cc Fri Aug 22 03:34:12 2008 From: paul at dugas.cc (Paul Dugas) Date: Thu, 21 Aug 2008 21:34:12 -0400 Subject: circular parent relationships Message-ID: <1219368852.2970.11.camel@ltpad> I have a need to configure parent relationships for switches that are connected in a ring like so: NAGIOS HostA HostB HostC | | | | Router -- Switch1 -- Switch2 -- Switch3 | | --------------------- Pseudo config like so: host Router { } host Switch1 { parents Router,Switch2 } host Switch2 { parents Switch1,Switch3 } host Switch3 { parents Switch2,Switch1 } host HostA { parents Switch1 } host HostB { parents Switch2 } host HostC { parents Switch3 } Stock Nagios generates a "circular parent/child path" error. I've commented out the Switch1/Switch3 parent entries to make it mostly work but a fault with Switch2 will incorrectly put Switch3 in UNREACHABLE. This seems like something that should be supported but after some searching, I found one patch that addresses it but it's not been incorporated into the released version of the software. Is there another way to handle this? Paul -- Paul Dugas -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 197 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 dermoth at aei.ca Fri Aug 22 03:58:13 2008 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Thu, 21 Aug 2008 21:58:13 -0400 Subject: Problem with $CONTACTADDRESS1$ In-Reply-To: <48ADF49C.1050300@collaborativefusion.com> References: <48AD6B3F.8060309@qumido.de> <3d2eb72a0808211414m747d9c5al7f0afa2c2a2886cd@mail.gmail.com> <3d2eb72a0808211414k6cb76886lab2c79e9d60b60ba@mail.gmail.com> <48ADF49C.1050300@collaborativefusion.com> Message-ID: <48AE1D35.507@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 21/08/08 07:05 PM, Sean McAfee wrote: > Taylor Dondich wrote: >> You could also use a new feature of Nagios 3.0, custom variables: > > Well it's going to be changed, why not just use $CONTACTPAGER$? What do you mean? did I miss something? - -- Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIrh016dZ+Kt5BchYRAidiAKDDa7ajrmyBfn7eKWn7/0S0WP2QXACePvLP IwL+XeUdnLjbpk6mPUWImRc= =iU59 -----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 smcafee at collaborativefusion.com Fri Aug 22 04:42:06 2008 From: smcafee at collaborativefusion.com (Sean McAfee) Date: Thu, 21 Aug 2008 22:42:06 -0400 Subject: Problem with $CONTACTADDRESS1$ In-Reply-To: <48AE1D35.507@aei.ca> References: <48AD6B3F.8060309@qumido.de> <3d2eb72a0808211414m747d9c5al7f0afa2c2a2886cd@mail.gmail.com> <3d2eb72a0808211414k6cb76886lab2c79e9d60b60ba@mail.gmail.com> <48ADF49C.1050300@collaborativefusion.com> <48AE1D35.507@aei.ca> Message-ID: <48AE277E.6000808@collaborativefusion.com> Thomas Guyot-Sionnest wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 21/08/08 07:05 PM, Sean McAfee wrote: >> Taylor Dondich wrote: >>> You could also use a new feature of Nagios 3.0, custom variables: >> Well it's going to be changed, why not just use $CONTACTPAGER$? > > What do you mean? did I miss something? Oops - that should've read "Well _if_ it's going to be changed...", meaning if changing the directive used in his configs (instead of trying to track down the problem with $CONTACTADDRESSx$) is an acceptable way around the problem, he might as well use the most appropriate one. Sorry about that. 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. **************************************************************** ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Aug 22 05:43:42 2008 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Thu, 21 Aug 2008 23:43:42 -0400 Subject: circular parent relationships In-Reply-To: <1219368852.2970.11.camel@ltpad> References: <1219368852.2970.11.camel@ltpad> Message-ID: <48AE35EE.7090106@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 21/08/08 09:34 PM, Paul Dugas wrote: > I have a need to configure parent relationships for switches that are > connected in a ring like so: > > NAGIOS HostA HostB HostC > | | | | > Router -- Switch1 -- Switch2 -- Switch3 > | | > --------------------- > > Pseudo config like so: > > host Router { } > host Switch1 { parents Router,Switch2 } > host Switch2 { parents Switch1,Switch3 } > host Switch3 { parents Switch2,Switch1 } > host HostA { parents Switch1 } > host HostB { parents Switch2 } > host HostC { parents Switch3 } > > Stock Nagios generates a "circular parent/child path" error. I've > commented out the Switch1/Switch3 parent entries to make it mostly work > but a fault with Switch2 will incorrectly put Switch3 in UNREACHABLE. > This seems like something that should be supported but after some > searching, I found one patch that addresses it but it's not been > incorporated into the released version of the software. > > Is there another way to handle this? You can create a clustered host with check_cluster that represent your stack of switches, but unless you're checking devices connected to multiple switches with STP this is probably not what you want. Since you depend on switch1 anyways for connecting to the other switches, I would rather do this: NAGIOS HostA HostB HostC | | | | Router -- Switch1 -- Switch2 Switch3 | | --------------------- - - switch1 failure will effectively render switch2 and switch3 unreachable. - - switch2 or switch3 failure will not incorrectly mark some other switch unreachable Even if you have more switches in the loop you could make them depend on switch1, because you know that without multiple switch failure they will always be reachable if switch1 is up. - -- Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIrjXu6dZ+Kt5BchYRAirnAJoCUPo1R+zANZWskO+ZejHueNW31wCg7skg 62yVPVXXMuxQrzilvMn2TC4= =56lk -----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 assaf.flatto at ssp.uk.com Fri Aug 22 10:43:31 2008 From: assaf.flatto at ssp.uk.com (Assaf Flatto) Date: Fri, 22 Aug 2008 08:43:31 +0000 Subject: Physical limitations of config files In-Reply-To: <20080822130709.V42806@mippet.ci.com.au> References: <20080822130709.V42806@mippet.ci.com.au> Message-ID: <200808220843.31055.assaf.flatto@ssp.uk.com> I've never encountered a size limit. and i encountered a configuration with one file with a size of 2.4 mb . Assaf On Friday 22 August 2008 03:09:10 Dave Horsfall wrote: > Nagios 2.12. > > What are the limitations of the config files e.g. max. line length etc, > and can they be continued? > > And is there a limit of the number of services/hostgroups/etc? 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 agnello.dsouza at gmail.com Fri Aug 22 11:35:02 2008 From: agnello.dsouza at gmail.com (Agnello George) Date: Fri, 22 Aug 2008 15:05:02 +0530 Subject: chech_snmp ..... how to determine OID Message-ID: <8c6878890808220235sf5e275x9538b5dce3795061@mail.gmail.com> Hi I have installed nagios on one of my server and now i am tring to understand how to query my client machine using OIDs. But i just not understain one thing is how does one determine a a OID. I am following a tutorial by http://www.debianhelp.co.uk/linuxoids.htm . But what ai don't seem to understand is how do they determin a OID. Can some on help me with the concept of OIDs and how do i come up with my own OID i followed the above tutorial and tried to query my clinet server to get the path where the disk is mounted but was not successful here .. [root at vps libexec]# ./check_snmp -H 121.XXX.XX.11 -C public -o 1.3.6.1.4.1.2021.9.1.2.1 SNMP problem - No data received from host CMD: /usr/bin/snmpget -t 1 -r 5 -m '' -v 1 [authpriv] 121.XX.XX.XX:161 1.3.6.1.4.1.2021.9.1.2.1 can some one help me here Thanks a million !! -- Regards Agnello D'souza www.linux-vashi.blogspot.com www.bible-study-india.blogspot.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 adesperateuser at googlemail.com Fri Aug 22 13:18:46 2008 From: adesperateuser at googlemail.com (Marcus) Date: Fri, 22 Aug 2008 13:18:46 +0200 Subject: chech_snmp ..... how to determine OID In-Reply-To: <8c6878890808220235sf5e275x9538b5dce3795061@mail.gmail.com> References: <8c6878890808220235sf5e275x9538b5dce3795061@mail.gmail.com> Message-ID: <48AEA096.3010507@googlemail.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi there, Agnello George schrieb: > I have installed nagios on one of my server and now i am tring to understand > how to query my client machine using OIDs. But i just not understain one > thing is how does one determine a a OID. I am following a tutorial by > http://www.debianhelp.co.uk/linuxoids.htm . But what ai don't seem to > understand is how do they determin a OID. Common OIDs are standardized in MIB2, afaik. Have a look here: http://www.et.put.poznan.pl/snmp/mib2/mib2.html There are also RFC's covering the topic. > Can some on help me with the concept of OIDs and how do i come up with my > own OID What do you mean by "own OID"? I humbly and well-meaningly suggest reading some documentation on SNMP, MIBs (especially MIB2) and OIDs. > i followed the above tutorial and tried to query my clinet server to get the > path where the disk is mounted but was not successful here .. > > [root at vps libexec]# ./check_snmp -H 121.XXX.XX.11 -C public -o > 1.3.6.1.4.1.2021.9.1.2.1 > SNMP problem - No data received from host could it be, that your host 121.XXX.XX.11 doesn't allow nagios to query it on protocol UDP port 161. (Maybe a firewall is enabled.) Is the snmp-server running? Is the community-string set right. If you stick with the example and your firewall doesn't get in your way, queries should work. Hth, Marcus -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIrqCW+qVaNRZYOakRAoNHAJ48vhM114ntqMvTPVoBvOu9wxyIwQCgvUTE c8H8ycGO8TN+XkEkMRtGceE= =wwLr -----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 tom.welsh at bt.com Fri Aug 22 13:23:49 2008 From: tom.welsh at bt.com (tom.welsh at bt.com) Date: Fri, 22 Aug 2008 12:23:49 +0100 Subject: Max number if contacts in a contact group Message-ID: <6546343904687E41B19D8E5A26AB9F5303758F6D@E03MVB2-UKBR.domain1.systemhost.net> Can anyone tell me if there is a max number of contacts you can have in a contact group :) -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 at dugas.cc Fri Aug 22 13:35:12 2008 From: paul at dugas.cc (Paul Dugas) Date: Fri, 22 Aug 2008 07:35:12 -0400 Subject: circular parent relationships In-Reply-To: <48AE35EE.7090106@aei.ca> References: <1219368852.2970.11.camel@ltpad> <48AE35EE.7090106@aei.ca> Message-ID: <1219404912.2934.20.camel@ltpad> On Thu, 2008-08-21 at 23:43 -0400, Thomas Guyot-Sionnest wrote: > On 21/08/08 09:34 PM, Paul Dugas wrote: > > I have a need to configure parent relationships for switches that are > > connected in a ring like so: > > > > NAGIOS HostA HostB HostC > > | | | | > > Router -- Switch1 -- Switch2 -- Switch3 > > | | > > --------------------- > > > > Pseudo config like so: > > > > host Router { } > > host Switch1 { parents Router,Switch2 } > > host Switch2 { parents Switch1,Switch3 } > > host Switch3 { parents Switch2,Switch1 } > > host HostA { parents Switch1 } > > host HostB { parents Switch2 } > > host HostC { parents Switch3 } > > > > Stock Nagios generates a "circular parent/child path" error. I've > > commented out the Switch1/Switch3 parent entries to make it mostly work > > but a fault with Switch2 will incorrectly put Switch3 in UNREACHABLE. > > This seems like something that should be supported but after some > > searching, I found one patch that addresses it but it's not been > > incorporated into the released version of the software. > > > > Is there another way to handle this? > > You can create a clustered host with check_cluster that represent your > stack of switches, but unless you're checking devices connected to > multiple switches with STP this is probably not what you want. > > Since you depend on switch1 anyways for connecting to the other > switches, I would rather do this: > > NAGIOS HostA HostB HostC > | | | | > Router -- Switch1 -- Switch2 Switch3 > | | > --------------------- > > - - switch1 failure will effectively render switch2 and switch3 unreachable. > - - switch2 or switch3 failure will not incorrectly mark some other switch > unreachable > > Even if you have more switches in the loop you could make them depend on > switch1, because you know that without multiple switch failure they will > always be reachable if switch1 is up. I left something out in my attempt to simplify the scenario.... NAGIOS -- ROUTER --------------------------------------- | | ROUTER -- Switch1 -- Switch2 -- Switch3 -- ROUTER | | --------------------- These switches are in small enclosures scattered around. We use STP to keep layer-2 up in the event of a switch failure or connection break. The switches and attached edge devices are all on a layer-3 subnet and we have two routers attached at different points. The routers use VRRP to decide which one of them will be the gateway off the subnet. On the back end, we have use OSPF to manage the routes back to our central systems. I think I really want to be able to use the circular parent/child relationships. I guess I'm more curious about why this is not supported in Nagios. What's the difficulty? Paul -- Paul Dugas Dugas Enterprises, LLC -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 197 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 jordi.prats at gmail.com Fri Aug 22 13:48:11 2008 From: jordi.prats at gmail.com (Jordi Prats) Date: Fri, 22 Aug 2008 13:48:11 +0200 Subject: event handler notification Message-ID: <1908f30808220448p2fc7cf41tf23df73c83a89900@mail.gmail.com> Hi all, I've found no way to send a notification if a event handler is triggered. Is it possible? Many thanks! -- Jordi ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From myoung at nagios.org Fri Aug 22 16:41:49 2008 From: myoung at nagios.org (Mark Young) Date: Fri, 22 Aug 2008 09:41:49 -0500 Subject: Max number if contacts in a contact group In-Reply-To: <6546343904687E41B19D8E5A26AB9F5303758F6D@E03MVB2-UKBR.domain1.systemhost.net> References: <6546343904687E41B19D8E5A26AB9F5303758F6D@E03MVB2-UKBR.domain1.systemhost.net> Message-ID: <0463120F-3176-4936-9D60-420D8B2604A5@nagios.org> Hi Tom, On Aug 22, 2008, at 6:23 AM, wrote: > Can anyone tell me if there is a max number of contacts you can have > in a contact group :) > As far as Nagios is concerned there are no limits to the amounts of Host, Services, Contacts, or groups of said objects. That being said you can run into system level concerns/limits if you have an LARGE configuration. Where LARGE is dealing > 30,000 to > 500,000 objects depending on the system you are running it on. Mark Young ___ Nagios Enterprises, LLC Web: www.nagios.com ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Edwin.Zoeller at ama-assn.org Fri Aug 22 16:46:06 2008 From: Edwin.Zoeller at ama-assn.org (Edwin Zoeller) Date: Fri, 22 Aug 2008 09:46:06 -0500 Subject: Linux Question Message-ID: We have recently installed Redhat AS4 throughout our network. I have installed various plugins from the Nagios Exchange site for Linux and all seems to be well, except for the check_ram command. I am running this on various servers with different configurations and all are giving the same results. Here is what I have on one of the servers: check_ram -n -w 20MB -c 10MB ( the system has 8GB installed), results display 30MB free (am I doing this right?) Other admins here are disputing the results and claim that Linux buffers all the memory and gives what it needs. I don't know for fact it this is true. I have also run top, free and ps -eo checking on memory size, all give back the same results as the Nagios plugin. Is this plugin with the option chosen giving real memory results or bogus results. My question, in desperation, can anyone explain in very simple terms how Linux memory works? Also how are you monitoring memory, using what command and how it is configured etc. Thanks to all Ed -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jra at baylink.com Fri Aug 22 16:59:41 2008 From: jra at baylink.com (Jay R. Ashworth) Date: Fri, 22 Aug 2008 10:59:41 -0400 Subject: Linux Question In-Reply-To: References: Message-ID: <20080822145941.GB12912@cgi.jachomes.com> On Fri, Aug 22, 2008 at 09:46:06AM -0500, Edwin Zoeller wrote: > Other admins here are disputing the results and claim that Linux > buffers all the memory and gives what it needs. I don't know for > fact it this is true. I have also run top, free and ps -eo checking > on memory size, all give back the same results as the Nagios > plugin. Is this plugin with the option chosen giving real memory > results or bogus results. I can't speak to the last question, but the first one is in fact true: Here's my laptop: $ free total used free shared buffers cached Mem: 2075116 1924264 150852 0 1360 1651460 -/+ buffers/cache: 271444 1803672 Swap: 1052216 0 1052216 $ Note that not much is free, but lots is cached. And that nothing is swapped. IMO, that's the most useful number to measure: most machines will reach a steadystate where there is 0 or very little (a few tens of megabytes) of active swap. If your swap starts to climb, that's when *I* worry... Cheers, -- jra -- Jay R. Ashworth Baylink jra at baylink.com Designer The Things I Think RFC 2100 Ashworth & Associates http://baylink.pitas.com '87 e24 St Petersburg FL USA http://photo.imageinc.us +1 727 647 1274 Those who cast the vote decide nothing. Those who count the vote decide everything. -- (Josef Stalin) ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jperrin at gmail.com Fri Aug 22 17:05:54 2008 From: jperrin at gmail.com (Jim Perrin) Date: Fri, 22 Aug 2008 11:05:54 -0400 Subject: Linux Question In-Reply-To: References: Message-ID: <302ce8b50808220805j30b75be6qcef55bce03b3d42b@mail.gmail.com> On Fri, Aug 22, 2008 at 10:46 AM, Edwin Zoeller wrote: > check_ram -n -w 20MB -c 10MB ( the system has 8GB installed), results > display 30MB free (am I doing this right?) > > Other admins here are disputing the results and claim that Linux buffers all > the memory and gives what it needs. I don't know for fact it this is true. I > have also run top, free and ps -eo checking on memory size, all give back > the same results as the Nagios plugin. Is this plugin with the option chosen > giving real memory results or bogus results. > > My question, in desperation, can anyone explain in very simple terms how > Linux memory works? Also how are you monitoring memory, using what command > and how it is configured etc. If you look at the output of free -m, you can see how the memory is used. Your admins are pretty much correct. All available memory will be filled with cached information, so that things run faster and less disk access is required (since disk is SLOW compared to ram). The output from free -m will show you how this works. [jperrin at insanity ~]$ free -m total used free shared buffers cached Mem: 4055 3955 99 0 189 3437 -/+ buffers/cache: 327 3727 Swap: 1027 0 1026 [jperrin at insanity ~]$ Take your used memory, minus the cached memory, and the result is how much ram you're actually *using* in the real sense of the word. -- During times of universal deceit, telling the truth becomes a revolutionary act. George Orwell ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Fri Aug 22 18:02:21 2008 From: marc at ena.com (Marc Powell) Date: Fri, 22 Aug 2008 11:02:21 -0500 Subject: event handler notification In-Reply-To: <1908f30808220448p2fc7cf41tf23df73c83a89900@mail.gmail.com> References: <1908f30808220448p2fc7cf41tf23df73c83a89900@mail.gmail.com> Message-ID: On Aug 22, 2008, at 6:48 AM, Jordi Prats wrote: > Hi all, > I've found no way to send a notification if a event handler is > triggered. Is it possible? Please expand. The question above can be interpreted several ways. There's no reason I am aware of that a normal notification wouldn't go out if event handlers were enabled. If you want a notification that the event handler itself fired, your event handler would have to do that. -- 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 frimik at gmail.com Fri Aug 22 19:26:32 2008 From: frimik at gmail.com (Mikael Fridh) Date: Fri, 22 Aug 2008 19:26:32 +0200 Subject: event handler notification In-Reply-To: References: <1908f30808220448p2fc7cf41tf23df73c83a89900@mail.gmail.com> Message-ID: <323f67830808221026l39586023m1528f7f06522b2c4@mail.gmail.com> On Fri, Aug 22, 2008 at 6:02 PM, Marc Powell wrote: > > On Aug 22, 2008, at 6:48 AM, Jordi Prats wrote: > >> Hi all, >> I've found no way to send a notification if a event handler is >> triggered. Is it possible? > > Please expand. The question above can be interpreted several ways. > There's no reason I am aware of that a normal notification wouldn't go > out if event handlers were enabled. If you want a notification that > the event handler itself fired, your event handler would have to do > that. Apologies Marc, for my erroneous reply to you. Jordi: An Event Handler can execute any command, so just define a command that executes your normal notification script. The official Nagios documentation should contain enough info. -- Fridh ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kfreels at sendmail.com Fri Aug 22 19:36:07 2008 From: kfreels at sendmail.com (Kevin Freels) Date: Fri, 22 Aug 2008 10:36:07 -0700 Subject: nrpe and check_mailq Message-ID: <556AE10AFFB7484B833AF9BE7BF9FD3B3DD1E5@platypus> Greetings! I'm having an odd issue with check_mailq and nrpe. When I run the check_mailq command natively (i.e., on the client), I get the proper response: testhost:/usr/local/nagios/libexec # ./check_mailq -w 300 -c 500 OK: mailq (01) is below threshold (300/500) | mailq = 01 But if I run it remotely from the server: nagios# ./check_nrpe -H testhost -c check_mailq | mailq = If I run any other remote command, it works: nagios# ./check_nrpe -H testhost -c check_slapd_proc PROCS OK: 13 processes with command name 'slapd' - or - nagios# ./check_nrpe -H testhost -c check_load OK - load average: 0.06, 0.14, 0.17|load1=0.060;15.000;30.000;0; load5=0.140;10.000;25.000;0; load15=0.170;5.000;20.000;0; I've tried the usual (restart nrpe on the client, telnet to 5666), all seems to be okay. Hints? Tips? Tricks? Thanks, as always!! ....k -=-=-=- Kevin Freels Director of Information Technology Sendmail, Inc. kfreels at sendmail.com 510/594.5572 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Aug 22 19:44:29 2008 From: tdondich at gmail.com (Taylor Dondich) Date: Fri, 22 Aug 2008 10:44:29 -0700 Subject: event handler notification In-Reply-To: <323f67830808221026l39586023m1528f7f06522b2c4@mail.gmail.com> References: <1908f30808220448p2fc7cf41tf23df73c83a89900@mail.gmail.com> <323f67830808221026l39586023m1528f7f06522b2c4@mail.gmail.com> Message-ID: <3d2eb72a0808221044t719bd696i45de8644f75495bf@mail.gmail.com> That seems a bit weird? In that case, why have an event handler anyways? You just tell notifications to be sent on the first soft state change (max_check_attempts = 1). Event Handlers are meant to try and pro-actively resolve the issue before determining notification is an appropriate step. Taylor On Fri, Aug 22, 2008 at 10:26 AM, Mikael Fridh wrote: > On Fri, Aug 22, 2008 at 6:02 PM, Marc Powell wrote: >> >> On Aug 22, 2008, at 6:48 AM, Jordi Prats wrote: >> >>> Hi all, >>> I've found no way to send a notification if a event handler is >>> triggered. Is it possible? >> >> Please expand. The question above can be interpreted several ways. >> There's no reason I am aware of that a normal notification wouldn't go >> out if event handlers were enabled. If you want a notification that >> the event handler itself fired, your event handler would have to do >> that. > > Apologies Marc, for my erroneous reply to you. > > Jordi: An Event Handler can execute any command, so just define a command > that executes your normal notification script. > The official Nagios documentation should contain enough info. > > -- > Fridh > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 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 jra at baylink.com Fri Aug 22 19:54:58 2008 From: jra at baylink.com (Jay R. Ashworth) Date: Fri, 22 Aug 2008 13:54:58 -0400 Subject: Linux Question In-Reply-To: References: <20080822145941.GB12912@cgi.jachomes.com> Message-ID: <20080822175458.GH12912@cgi.jachomes.com> On Fri, Aug 22, 2008 at 10:13:21AM -0500, Edwin Zoeller wrote: > Thanks for the information and quick response. So is there a good plugin > or script to measure and monitor memory? Or just ignore it? [ back on list ] I personally just ignore it and watch the swap. Thought you might find it useful to watch the *total* memory; in case you ever have a stick go bad on you, you'll notice. Cheers, -- jra -- Jay R. Ashworth Baylink jra at baylink.com Designer The Things I Think RFC 2100 Ashworth & Associates http://baylink.pitas.com '87 e24 St Petersburg FL USA http://photo.imageinc.us +1 727 647 1274 Those who cast the vote decide nothing. Those who count the vote decide everything. -- (Josef Stalin) ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From frimik at gmail.com Fri Aug 22 20:02:56 2008 From: frimik at gmail.com (Mikael Fridh) Date: Fri, 22 Aug 2008 20:02:56 +0200 Subject: nrpe and check_mailq In-Reply-To: <556AE10AFFB7484B833AF9BE7BF9FD3B3DD1E5@platypus> References: <556AE10AFFB7484B833AF9BE7BF9FD3B3DD1E5@platypus> Message-ID: <323f67830808221102n28f6148cg1b85195a40ef8b59@mail.gmail.com> On Fri, Aug 22, 2008 at 7:36 PM, Kevin Freels wrote: > Greetings! > > I'm having an odd issue with check_mailq and nrpe. When I run the > check_mailq command natively (i.e., on the client), I get the proper > response: > > testhost:/usr/local/nagios/libexec # ./check_mailq -w 300 -c 500 > OK: mailq (01) is below threshold (300/500) | mailq = 01 You're root here, right? > But if I run it remotely from the server: > > nagios# ./check_nrpe -H testhost -c check_mailq > | mailq = If I remember correctly, you need to be root to run mailq on most systems so you might need to give the nrpe user sudo access for it. -- Fridh ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rand at meridian-enviro.com Fri Aug 22 21:07:10 2008 From: rand at meridian-enviro.com (Douglas K. Rand) Date: Fri, 22 Aug 2008 14:07:10 -0500 Subject: Active and Passive checks of the same service Message-ID: <87bpzkrhr5.wl%rand@meridian-enviro.com> I'm trying to find a way to have a passive check of a service suffice as an active check of the same service. We are using Nagios 2.9. We have lots of filesystems we check via SNMP for both block and inode usage, and doing active checks for all of these overwhelms our server. So we run via cron a single process that goes and checks all these filesystems and submits them results via passive checks to Nagios. All this works fine. But what I'd like to do is if the passive check results in a problem that that'd kick the service into a SOFT problem state and then Nagios would re-check the service much more frequently (say every minute) up until max_check_attempts. My problem is that I can't seem to persuade Nagios to alter the scheduling of the active checks when passive checks come in. I'd like to have normal_check_interval set to 10 minutes, retry_check_interval set to 1, and have my cron that generates passive checks run every 5 minutes. So that when everything is OK the passive checks take care of all the work and Nagios never fires off an active check unless the passive check results in a non-OK state, or the passive check fails for some reason. But regardless of how many passive check results are seen by the server, it always keeps scheduling and firing off those active checks regardless. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lists at sequestered.net Fri Aug 22 21:40:29 2008 From: lists at sequestered.net (Jay Chandler) Date: Fri, 22 Aug 2008 12:40:29 -0700 Subject: nrpe and check_mailq In-Reply-To: <556AE10AFFB7484B833AF9BE7BF9FD3B3DD1E5@platypus> References: <556AE10AFFB7484B833AF9BE7BF9FD3B3DD1E5@platypus> Message-ID: <48AF162D.6000803@sequestered.net> Kevin Freels wrote: > Greetings! > > I'm having an odd issue with check_mailq and nrpe. When I run the > check_mailq command natively (i.e., on the client), I get the proper > response: > > testhost:/usr/local/nagios/libexec # ./check_mailq -w 300 -c 500 > OK: mailq (01) is below threshold (300/500) | mailq = 01 > > Sorry if this is obvious, but are you sure that's the command defined in the nrpe.cfg on the test host? I had a similar issue once, turned out I'd had a 64 bit path defined on a 32 bit box (redhat changed the paths at one point)... -- Jay Chandler / KB1JWQ Living Legend / Systems Exorcist Today's Excuse: telnet: Unable to connect to remote host: Connection refused ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Aug 22 21:45:20 2008 From: tdondich at gmail.com (Taylor Dondich) Date: Fri, 22 Aug 2008 12:45:20 -0700 Subject: Active and Passive checks of the same service In-Reply-To: <87bpzkrhr5.wl%rand@meridian-enviro.com> References: <87bpzkrhr5.wl%rand@meridian-enviro.com> Message-ID: <3d2eb72a0808221245q376de8a1i4d1abe8a00997e03@mail.gmail.com> So a nice round-about way of doing it would be to disable active checks on the service initially. Then when your passive check script detects a problem, not only does it send nagios a passive check RESULT, but it also sends a command to enable active checks on that service. Then your active check script, when it determines the problem has resolved itself, could also send nagios itself a command to disable active checks on that service. Fun way to do it. Information on the commands you need, their description, and sample shell scripts which execute them, are at: http://www.nagios.org/developerinfo/externalcommands/commandlist.php -- Taylor Check out my Shortcut with O'Reilly Press: Network Monitoring with Nagios: http://oreilly.com/catalog/9780596528195/index.html On Fri, Aug 22, 2008 at 12:07 PM, Douglas K. Rand wrote: > I'm trying to find a way to have a passive check of a service suffice > as an active check of the same service. We are using Nagios 2.9. > > We have lots of filesystems we check via SNMP for both block and inode > usage, and doing active checks for all of these overwhelms our > server. So we run via cron a single process that goes and checks all > these filesystems and submits them results via passive checks to > Nagios. All this works fine. > > But what I'd like to do is if the passive check results in a problem > that that'd kick the service into a SOFT problem state and then Nagios > would re-check the service much more frequently (say every minute) up > until max_check_attempts. > > My problem is that I can't seem to persuade Nagios to alter the > scheduling of the active checks when passive checks come in. I'd like > to have normal_check_interval set to 10 minutes, retry_check_interval > set to 1, and have my cron that generates passive checks run every 5 > minutes. So that when everything is OK the passive checks take care of > all the work and Nagios never fires off an active check unless the > passive check results in a non-OK state, or the passive check fails > for some reason. > > But regardless of how many passive check results are seen by the > server, it always keeps scheduling and firing off those active checks > regardless. > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 rand at meridian-enviro.com Fri Aug 22 22:00:19 2008 From: rand at meridian-enviro.com (Douglas K. Rand) Date: Fri, 22 Aug 2008 15:00:19 -0500 Subject: Active and Passive checks of the same service In-Reply-To: <3d2eb72a0808221245q376de8a1i4d1abe8a00997e03@mail.gmail.com> References: <87bpzkrhr5.wl%rand@meridian-enviro.com> <3d2eb72a0808221245q376de8a1i4d1abe8a00997e03@mail.gmail.com> Message-ID: <87abf4rfak.wl%rand@meridian-enviro.com> Taylor> So a nice round-about way of doing it would be to disable Taylor> active checks on the service initially. Then when your Taylor> passive check script detects a problem, not only does it send Taylor> nagios a passive check RESULT, but it also sends a command to Taylor> enable active checks on that service. Then your active check Taylor> script, when it determines the problem has resolved itself, Taylor> could also send nagios itself a command to disable active Taylor> checks on that service. Fun way to do it. "Fun" Clearly a word with many meanings. :) Thanks for the tip, I never considered that approach. I'll give it a shot. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Aug 22 22:05:47 2008 From: tdondich at gmail.com (Taylor Dondich) Date: Fri, 22 Aug 2008 13:05:47 -0700 Subject: Active and Passive checks of the same service In-Reply-To: <87abf4rfak.wl%rand@meridian-enviro.com> References: <87bpzkrhr5.wl%rand@meridian-enviro.com> <3d2eb72a0808221245q376de8a1i4d1abe8a00997e03@mail.gmail.com> <87abf4rfak.wl%rand@meridian-enviro.com> Message-ID: <3d2eb72a0808221305k1f01718fr8c9b03a2934fabea@mail.gmail.com> For this functionality, to make it easier, you may want to make wrapper scripts which do the actual command sending to nagios, but a command parameter to that script could be the actual check command to run (the script), along with any other command parameters. That way you're not writing duplicate scripts for all your plugins. -- Taylor Check out my Shortcut with O'Reilly Press: Network Monitoring with Nagios: http://oreilly.com/catalog/9780596528195/index.html On Fri, Aug 22, 2008 at 1:00 PM, Douglas K. Rand wrote: > Taylor> So a nice round-about way of doing it would be to disable > Taylor> active checks on the service initially. Then when your > Taylor> passive check script detects a problem, not only does it send > Taylor> nagios a passive check RESULT, but it also sends a command to > Taylor> enable active checks on that service. Then your active check > Taylor> script, when it determines the problem has resolved itself, > Taylor> could also send nagios itself a command to disable active > Taylor> checks on that service. Fun way to do it. > > "Fun" Clearly a word with many meanings. :) > > Thanks for the tip, I never considered that approach. I'll give it a > shot. > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dermoth at aei.ca Sat Aug 23 09:06:05 2008 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Sat, 23 Aug 2008 03:06:05 -0400 Subject: Linux Question In-Reply-To: References: Message-ID: <48AFB6DD.9020805@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 22/08/08 10:46 AM, Edwin Zoeller wrote: > We have recently installed Redhat AS4 throughout our network. I have > installed various plugins from the Nagios Exchange site for Linux and > all seems to be well, except for the check_ram command. I am running > this on various servers with different configurations and all are giving > the same results. Here is what I have on one of the servers: > > check_ram -n -w 20MB -c 10MB ( the system has 8GB installed), results > display 30MB free (am I doing this right?) > > Other admins here are disputing the results and claim that Linux buffers > all the memory and gives what it needs. I don't know for fact it this is > true. I have also run top, free and ps -eo checking on memory size, all > give back the same results as the Nagios plugin. Is this plugin with the > option chosen giving real memory results or bogus results. > > My question, in desperation, can anyone explain in very simple terms how > Linux memory works? Also how are you monitoring memory, using what > command and how it is configured etc. All unused memory gets buffered/cached eventually if your server is doing I/0. I've seen very stable servers with 32GB get down to only a few MBs free, but the picture is much better if you account the buffered/cached memory which for most of it can be freed anytime if needed. For that reason you should add the buffer/cache memory to the total (i.e. the "-/+ buffers/cache:" line of the "free" command). My check_memory script does that. it's written in Perl and uses the Nagios::Plugin Perl module (available on CPAN). http://www.nagiosexchange.org/cgi-bin/page.cgi?g=1433.html;d=1 - -- Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIr7bd6dZ+Kt5BchYRAqc2AJ9nJDwHfzVvSpXLpgzvmJ7NPygDhgCg1h28 1qpRXPn4Bx6/Oe09eHmnCOM= =CtE8 -----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 dermoth at aei.ca Sat Aug 23 09:11:40 2008 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Sat, 23 Aug 2008 03:11:40 -0400 Subject: nrpe and check_mailq In-Reply-To: <323f67830808221102n28f6148cg1b85195a40ef8b59@mail.gmail.com> References: <556AE10AFFB7484B833AF9BE7BF9FD3B3DD1E5@platypus> <323f67830808221102n28f6148cg1b85195a40ef8b59@mail.gmail.com> Message-ID: <48AFB82C.8050008@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 22/08/08 02:02 PM, Mikael Fridh wrote: > On Fri, Aug 22, 2008 at 7:36 PM, Kevin Freels wrote: >> Greetings! >> >> I'm having an odd issue with check_mailq and nrpe. When I run the >> check_mailq command natively (i.e., on the client), I get the proper >> response: >> >> testhost:/usr/local/nagios/libexec # ./check_mailq -w 300 -c 500 >> OK: mailq (01) is below threshold (300/500) | mailq = 01 > > You're root here, right? > >> But if I run it remotely from the server: >> >> nagios# ./check_nrpe -H testhost -c check_mailq >> | mailq = > > If I remember correctly, you need to be root to run mailq on most > systems so you might need to give the nrpe user sudo access for it. Yup, most likely permissions problem. The easiest way to fix that is by adding it to sudo (nrpe would call "sudo /usr/local/nagios/libexec/check_mailq -w 300 -c 500"). Make sure it does not have the requiretty option or it will still fail from the daemon. - -- Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIr7gs6dZ+Kt5BchYRAnqjAKDesN+L/DyIb6Cgm0MhmM7bgrTwKwCggyb/ 91ppHux9bHnMw6A650JctvA= =gwTS -----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 dermoth at aei.ca Sat Aug 23 09:16:00 2008 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Sat, 23 Aug 2008 03:16:00 -0400 Subject: Active and Passive checks of the same service In-Reply-To: <3d2eb72a0808221245q376de8a1i4d1abe8a00997e03@mail.gmail.com> References: <87bpzkrhr5.wl%rand@meridian-enviro.com> <3d2eb72a0808221245q376de8a1i4d1abe8a00997e03@mail.gmail.com> Message-ID: <48AFB930.9000204@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 22/08/08 03:45 PM, Taylor Dondich wrote: > So a nice round-about way of doing it would be to disable active > checks on the service initially. Then when your passive check script > detects a problem, not only does it send nagios a passive check > RESULT, but it also sends a command to enable active checks on that > service. Then your active check script, when it determines the > problem has resolved itself, could also send nagios itself a command > to disable active checks on that service. Fun way to do it. > > Information on the commands you need, their description, and sample > shell scripts which execute them, are at: > > http://www.nagios.org/developerinfo/externalcommands/commandlist.php > I would rather implement the "adaptive monitoring" part using eventhandlers. I there's even a section in Nagios doc about adaptive monitoring. Don't miss the list of external commands neither; they're available here: http://www.nagios.org/developerinfo/externalcommands/ Some of them are very useful for altering the monitoring logic. - -- Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIr7kw6dZ+Kt5BchYRAhW0AJ4iIj/mYdtG1m9wYAHwcjyNRK5+pgCg+Yva d3+4EueprfHxB84t7qXtovY= =KAlq -----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 tdondich at gmail.com Sat Aug 23 09:58:51 2008 From: tdondich at gmail.com (Taylor Dondich) Date: Sat, 23 Aug 2008 00:58:51 -0700 Subject: Active and Passive checks of the same service In-Reply-To: <48AFB930.9000204@aei.ca> References: <87bpzkrhr5.wl%rand@meridian-enviro.com> <3d2eb72a0808221245q376de8a1i4d1abe8a00997e03@mail.gmail.com> <48AFB930.9000204@aei.ca> Message-ID: <3d2eb72a0808230058x789b7609l8544b1dbef34d94@mail.gmail.com> That's exactly what I described. Altho the docs don't describe toggling active checks on/off, which is the requirement here. You can still do the same using the external commands process. Taylor On Sat, Aug 23, 2008 at 12:16 AM, Thomas Guyot-Sionnest wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 22/08/08 03:45 PM, Taylor Dondich wrote: >> So a nice round-about way of doing it would be to disable active >> checks on the service initially. Then when your passive check script >> detects a problem, not only does it send nagios a passive check >> RESULT, but it also sends a command to enable active checks on that >> service. Then your active check script, when it determines the >> problem has resolved itself, could also send nagios itself a command >> to disable active checks on that service. Fun way to do it. >> >> Information on the commands you need, their description, and sample >> shell scripts which execute them, are at: >> >> http://www.nagios.org/developerinfo/externalcommands/commandlist.php >> > > I would rather implement the "adaptive monitoring" part using > eventhandlers. I there's even a section in Nagios doc about adaptive > monitoring. > > Don't miss the list of external commands neither; they're available here: > http://www.nagios.org/developerinfo/externalcommands/ > > Some of them are very useful for altering the monitoring logic. > > - -- > Thomas > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.6 (GNU/Linux) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iD8DBQFIr7kw6dZ+Kt5BchYRAhW0AJ4iIj/mYdtG1m9wYAHwcjyNRK5+pgCg+Yva > d3+4EueprfHxB84t7qXtovY= > =KAlq > -----END PGP SIGNATURE----- > -- Taylor 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 hvdkooij at vanderkooij.org Sat Aug 23 10:13:56 2008 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Sat, 23 Aug 2008 10:13:56 +0200 Subject: Linux Question In-Reply-To: <48AFB6DD.9020805@aei.ca> References: <48AFB6DD.9020805@aei.ca> Message-ID: <48AFC6C4.3040309@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Thomas Guyot-Sionnest wrote: > On 22/08/08 10:46 AM, Edwin Zoeller wrote: >> We have recently installed Redhat AS4 throughout our network. I have >> installed various plugins from the Nagios Exchange site for Linux and >> all seems to be well, except for the check_ram command. I am running >> this on various servers with different configurations and all are giving >> the same results. Here is what I have on one of the servers: > >> check_ram -n -w 20MB -c 10MB ( the system has 8GB installed), results >> display 30MB free (am I doing this right?) > >> Other admins here are disputing the results and claim that Linux buffers >> all the memory and gives what it needs. I don't know for fact it this is >> true. I have also run top, free and ps -eo checking on memory size, all >> give back the same results as the Nagios plugin. Is this plugin with the >> option chosen giving real memory results or bogus results. > >> My question, in desperation, can anyone explain in very simple terms how >> Linux memory works? Also how are you monitoring memory, using what >> command and how it is configured etc. > > All unused memory gets buffered/cached eventually if your server is > doing I/0. I've seen very stable servers with 32GB get down to only a > few MBs free, but the picture is much better if you account the > buffered/cached memory which for most of it can be freed anytime if needed. > > For that reason you should add the buffer/cache memory to the total > (i.e. the "-/+ buffers/cache:" line of the "free" command). > > My check_memory script does that. it's written in Perl and uses the > Nagios::Plugin Perl module (available on CPAN). > > http://www.nagiosexchange.org/cgi-bin/page.cgi?g=1433.html;d=1 The whole point of this is that unused memory is wasted memory. So if you do not use RAM for aplications itself your system will find a good use for it to speed up the system by using it for buffers and cache. 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) iD8DBQFIr8bBBvzDRVjxmYERAlAZAKCWrQ+HVxx5c48bKP9QLjOp87+MLQCcCoR9 sf13K2ppzE5ncjEZ1xaGNro= =8xVk -----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 blissett at xs4all.nl Sun Aug 24 03:04:17 2008 From: blissett at xs4all.nl (Tijn) Date: Sun, 24 Aug 2008 03:04:17 +0200 Subject: check_ntp_peer Message-ID: <0297AFBC-FAE7-429B-A5C8-16984B7D3170@xs4all.nl> Hi, When I try to use check_ntp_peer for my OpenBSD timeserver (Openntpd): ./check_ntp_peer -H myname -t 30 -w 0.5 -c 1; the response is: CRITICAL - Socket timeout after 30 seconds ./check_ntp_time -H myname works fine. I can also set the time of my system with #ntpdate myname. Does someone know why I can't use check_ntp_peer? Thanks in advance, Tijn ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sun Aug 24 03:28:38 2008 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Sat, 23 Aug 2008 21:28:38 -0400 Subject: check_ntp_peer In-Reply-To: <0297AFBC-FAE7-429B-A5C8-16984B7D3170@xs4all.nl> References: <0297AFBC-FAE7-429B-A5C8-16984B7D3170@xs4all.nl> Message-ID: <48B0B946.7060508@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 23/08/08 09:04 PM, Tijn wrote: > Hi, > > When I try to use check_ntp_peer for my OpenBSD timeserver (Openntpd): > ./check_ntp_peer -H myname -t 30 -w 0.5 -c 1; the response is: > CRITICAL - Socket timeout after 30 seconds > > ./check_ntp_time -H myname works fine. > > I can also set the time of my system with #ntpdate myname. > Does someone know why I can't use check_ntp_peer? Not all servers support NTP Control packets used by check_ntp_peer. Do you get anything with this command? ntpq -p myname If you don't, then check_ntp_peer won't work either. - -- Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIsLlG6dZ+Kt5BchYRApkSAKDH0Mw9VWLqBige5cnR5JvYWVSSCgCfeAYO I66XcJrlyU1DH5bQwiEreFw= =HtEw -----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 blissett at xs4all.nl Sun Aug 24 13:57:21 2008 From: blissett at xs4all.nl (Tijn) Date: Sun, 24 Aug 2008 13:57:21 +0200 Subject: check_ntp_peer In-Reply-To: <48B0B946.7060508@aei.ca> References: <0297AFBC-FAE7-429B-A5C8-16984B7D3170@xs4all.nl> <48B0B946.7060508@aei.ca> Message-ID: <48B14CA1.3040003@xs4all.nl> > Not all servers support NTP Control packets used by check_ntp_peer. Do > you get anything with this command? > > ntpq -p myname > > Yes thanks, Openntpd doesn't support ntpq. On the Openbsd-misc list there was an aswer from Henning Brauer {= developer of OpenNTPD): On 2004 Aug 9, at 4:03 AM, Henning Brauer wrote: > > > [I]s support planned for [ntpq -p in] the future? > > > > no. 2004 is some years ago.. Tijn ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From CHRISTSENG at UnitedLuminous.com Sun Aug 24 17:02:21 2008 From: CHRISTSENG at UnitedLuminous.com (CHRIS TSENG (ULI-HK)) Date: Sun, 24 Aug 2008 23:02:21 +0800 Subject: (Nagios-Ping) Message-ID: <449697AA22700B41A8889A3F435E449F25F705@maillgd03.logindomain.com> Hello, Does anyone have this issue like me? Sent from my BlackBerry? wireless device -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From CHRISTSENG at UnitedLuminous.com Sun Aug 24 17:08:04 2008 From: CHRISTSENG at UnitedLuminous.com (CHRIS TSENG (ULI-HK)) Date: Sun, 24 Aug 2008 23:08:04 +0800 Subject: (Nagios-Ping) Message-ID: <449697AA22700B41A8889A3F435E449F25F706@maillgd03.logindomain.com> Hello, Does anyone have this issue like me? Additional Info: PING WARNING - DUPLICATES FOUND! Packet loss = 0%, RTA = 1.61 ms Since I am new to Nagios and think that this is a great opensource platform which can do a lots of thing. But I just find something is not right for the ping result. Actually, this host is a Win2K3 Std server. I checked there is okay with the Windows Ping command. This is no duplicate ping packet found. So I am thinking about if this is the program bugs or this is because I run the Nagios server on a ESX platform which create problems. Please help! And many thanks. Chris Sent from my BlackBerry? wireless device -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Aug 24 17:15:13 2008 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Sun, 24 Aug 2008 17:15:13 +0200 Subject: (Nagios-Ping) In-Reply-To: <449697AA22700B41A8889A3F435E449F25F705@maillgd03.logindomain.com> References: <449697AA22700B41A8889A3F435E449F25F705@maillgd03.logindomain.com> Message-ID: <48B17B01.7060607@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 CHRIS TSENG (ULI-HK) wrote: > Does anyone have this issue like me? > > Sent from my BlackBerry? wireless device No. But then, I do not have a BlackBerry. Perhaps if you can fill us in on what your issue actually is then someone might be able to answer 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. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQFIsXr/BvzDRVjxmYERAkXQAKCjMnhZl3g0gb4Q6arSwreFD4kEXwCgtq3A xgltynl/erVszrsvjIht8hM= =UVD4 -----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 Aug 24 17:51:13 2008 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Sun, 24 Aug 2008 17:51:13 +0200 Subject: (Nagios-Ping) In-Reply-To: <449697AA22700B41A8889A3F435E449F25F706@maillgd03.logindomain.com> References: <449697AA22700B41A8889A3F435E449F25F706@maillgd03.logindomain.com> Message-ID: <48B18371.5070302@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 CHRIS TSENG (ULI-HK) wrote: > Hello, > > Does anyone have this issue like me? > > Additional Info: > > PING WARNING - DUPLICATES FOUND! Packet loss = 0%, RTA = 1.61 ms The obvious question to answer: What happens if you ping from the nagios server by hand? If that results in duplicates as well then Nagios is doing just fine and you have a network problem to solve. Duplicate replies can come from 2 systems having the same address, faulty clusters duplicating packets, using broadcasts addresses which makes every system in the neighborhood react, faulty switches, ...... 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) iD8DBQFIsYNvBvzDRVjxmYERArY8AJwLz7RkNQIgoUM67mplxptIE5l5zQCfdA1O kdS98+0gk1EuyW5GxaRjTTM= =CQ44 -----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 jesse at cyber-ny.com Sun Aug 24 18:57:55 2008 From: jesse at cyber-ny.com (Jesse Callaway) Date: Sun, 24 Aug 2008 12:57:55 -0400 Subject: (Nagios-Ping) In-Reply-To: <449697AA22700B41A8889A3F435E449F25F706@maillgd03.logindomain.com> References: <449697AA22700B41A8889A3F435E449F25F706@maillgd03.logindomain.com> Message-ID: <48B19313.9030505@cyber-ny.com> CHRIS TSENG (ULI-HK) wrote: > > Hello, > > Does anyone have this issue like me? > > Additional Info: > > PING WARNING - DUPLICATES FOUND! Packet loss = 0%, RTA = 1.61 ms > > Since I am new to Nagios and think that this is a great opensource > platform which can do a lots of thing. > But I just find something is not right for the ping result. > > Actually, this host is a Win2K3 Std server. > I checked there is okay with the Windows Ping command. This is no > duplicate ping packet found. So I am thinking about if this is the > program bugs or this is because I run the Nagios server on a ESX > platform which create problems. > > Please help! And many thanks. > > Chris > Sent from my BlackBerry? wireless device > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null Hi Chris, I don't know a lot about Nagios, but this can be seen if there are two hosts with the same IP address. -jesse ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Aug 25 11:13:10 2008 From: ae at op5.se (Andreas Ericsson) Date: Mon, 25 Aug 2008 11:13:10 +0200 Subject: check_ntp_peer In-Reply-To: <48B14CA1.3040003@xs4all.nl> References: <0297AFBC-FAE7-429B-A5C8-16984B7D3170@xs4all.nl> <48B0B946.7060508@aei.ca> <48B14CA1.3040003@xs4all.nl> Message-ID: <48B277A6.20904@op5.se> Tijn wrote: >> Not all servers support NTP Control packets used by check_ntp_peer. Do >> you get anything with this command? >> >> ntpq -p myname >> >> > Yes thanks, Openntpd doesn't support ntpq. On the Openbsd-misc list > there was an aswer from Henning Brauer {= developer of OpenNTPD): > On 2004 Aug 9, at 4:03 AM, Henning Brauer wrote: >> > [I]s support planned for [ntpq -p in] the future? >> > >> > no. > > 2004 is some years ago.. > I'm not surprised. Openntpd is designed to be a much more lightweight version than bog-standard ntpd. Primarily to not have to haul around refclock support to each and every installation. If it's any relief though, ntpq *will* work on all stratum1 servers, as only vanilla ntpd has refclock support. -- 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 treibholz at gmail.com Mon Aug 25 12:44:53 2008 From: treibholz at gmail.com (Klaus Umbach) Date: Mon, 25 Aug 2008 12:44:53 +0200 Subject: Checking Windows Services with stupid names. Message-ID: <92119d860808250344k442a3678pc4db980e04a980ba@mail.gmail.com> Hi, I have a service on a windows-box to check, which has a "&" in the name. (With check_nt and nsclient++) with 'SERVICESTATE -l "Foo & Bar"' it checks for the services 'foo' and 'bar' , \&, \\\& and using ' instead of " did'n't help. How do I check this? Cheers Klaus -- First Official Internetdenier -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Aug 25 15:05:09 2008 From: ssimmons at cymfony.com (Seth Simmons) Date: Mon, 25 Aug 2008 09:05:09 -0400 Subject: checks, notifications don't work after time period exception Message-ID: <13F36D2926AD444697093282F20041B70780D7CE@buf-ex01.cymfony.com> We have a qa group overseas that will work on our customer sites during the US overnight. To avoid false alerts, I added a time exception so notifications are not sent out between 4am and 5:30am. The problem is, after the exception, Nagios (3.0.3) won't send notifications, neither are checks performed for any sites with an exception. If a site is in a critical state either shortly after 4 or (if they start early) right before 4, checks do not continue after 5:30. When I look at Nagios later, it shows it in critical and the last check was done at 3:58am with the next check at midnight the next day. Let me give some more specific examples: Server-A is running abc.customer.com for us and our qa group takes the site down at 3:55am, before the 4am exception. Nagios will show as critical until either midnight the next day, or you force a check on the service. So, say at 8am I look at it, the service is critical with last check at 3:55am and next scheduled check at 12am tomorrow. When I force a check, it will continue on normal check schedule and send notice that the service is ok. Server-B is also running a site and tomcat is stopped at 4:10am. This service has notification period with the same time period with exceptions from 4am - 5:30am. After that it will not send notifications. At 8am it is still doing checks and saying is critical, but when looking at the details it says it has not sent any notifications. When I force a check it still won't do it. If I restart Nagios then it does a check it will send first notice. I don't see anything wrong with my time period so not sure where the issue is. Not sure if anyone else has noticed this before. Here is what I have for that time period and checks for the above examples: define timeperiod{ timeperiod_name url-monitor alias url-monitor sunday 00:00-23:59 monday 00:00-23:59 tuesday 00:00-23:59 wednesday 00:00-23:59 thursday 00:00-23:59 friday 00:00-23:59 saturday 00:00-23:59 exclude recycle } define timeperiod{ timeperiod_name recycle alias recycle sunday 04:00-05:30 monday 04:00-05:30 tuesday 04:00-05:30 wednesday 04:00-05:30 thursday 04:00-05:30 friday 04:00-05:30 saturday 04:00-05:30 } define command{ command_name check_http_abc command_line $USER1$/check_http -H abc.company.com } define service{ use generic-service host_name Server-A service_description site abc is_volatile 0 check_period url-monitor max_check_attempts 2 normal_check_interval 5 retry_check_interval 5 contacts nagiosadmin notification_interval 30 notification_period url-monitor notification_options w,c,r check_command check_http_abc } define service{ use local-service host_name Server-B service_description HTTP check_period 24x7 max_check_attempts 2 normal_check_interval 3 retry_check_interval 5 contacts nagiosadmin notification_interval 60 notification_period url-monitor notification_options w,c,r check_command check_http } -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From treibholz at gmail.com Mon Aug 25 16:54:58 2008 From: treibholz at gmail.com (Klaus Umbach) Date: Mon, 25 Aug 2008 16:54:58 +0200 Subject: Checking Windows Services with stupid names. In-Reply-To: <48B2BD10.105@medin.name> References: <92119d860808250344k442a3678pc4db980e04a980ba@mail.gmail.com> <48B2BD10.105@medin.name> Message-ID: <92119d860808250754s58ad2aa0gfc0adaaec7ac2850@mail.gmail.com> 2008/8/25 Michael Medin > I would say: use NRPE instead :) > > but perhaps this is a bug, I have seen the reports on and off but haven't > had time to look into it (since it is so easily solved with NRPE) > NRPE? To check a Windows-Box? No, that's not really funny... I found out, how it works:Windows Services always have 2 names, the internal one is better, than the description-name. Cheers Klaus -- First Official Internetdenier -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From myoung at nagios.org Mon Aug 25 17:43:42 2008 From: myoung at nagios.org (Mark Young) Date: Mon, 25 Aug 2008 10:43:42 -0500 Subject: checks, notifications don't work after time period exception In-Reply-To: <13F36D2926AD444697093282F20041B70780D7CE@buf-ex01.cymfony.com> References: <13F36D2926AD444697093282F20041B70780D7CE@buf-ex01.cymfony.com> Message-ID: Hi Seth, On Aug 25, 2008, at 8:05 AM, Seth Simmons wrote: > We have a qa group overseas that will work on our customer sites > during the US overnight. To avoid false alerts, I added a time > exception so notifications are not sent out between 4am and 5:30am. > The problem is, after the exception, Nagios (3.0.3) won?t send > notifications, neither are checks performed for any sites with an > exception. If a site is in a critical state either shortly after 4 > or (if they start early) right before 4, checks do not continue > after 5:30. When I look at Nagios later, it shows it in critical > and the last check was done at 3:58am with the next check at > midnight the next day. When I start dealing with time problems with Nagios I have a small list that I try first just to it out. * Check date/time of monitoring server and that it is the right timezone (UTC or whatever you want it as). * Check that the Nagios web interface is displaying the time you expect it to (top left corner in most cgis). In the nagios.cfg you may have set additional time information in there. * Stop the nagios process, checking that there are are no other running instances left. 'service nagios stop' 'ps aux |grep nagios' * Restart the nagios process. Sometimes you can get duplicate Nagios daemons running and they can cause many odd problems like this. Also I hope we are not dealing with any time translations with the "overseas" group. > > Let me give some more specific examples: > Server-A is running abc.customer.com for us and our qa group takes > the site down at 3:55am, before the 4am exception. Nagios will show > as critical until either midnight the next day, or you force a check > on the service. So, say at 8am I look at it, the service is > critical with last check at 3:55am and next scheduled check at 12am > tomorrow. When I force a check, it will continue on normal check > schedule and send notice that the service is ok. So you are saying that "Server-A" is supposed to be checked in the timerange 24x7 minus 4:00am-5:30am each day, but when it stops at 4:00am it will not start checking until the next day, unless you force it through an external command to start checking again? It is possible that there could be a bug, but you seem to have a really common timeperiod definition type. I normally suggest that users always run the checks 24x7 and then just modify the notification periods (like you did with 'Server-B). But I would try it with a simple time definition first. # Test timeperiod for the recycle service. define timeperiod{ timeperiod_name recycle alias recycle sunday 00:00-04:00,05:30-24:00 monday 00:00-04:00,05:30-24:00 tuesday 00:00-04:00,05:30-24:00 wednesday 00:00-04:00,05:30-24:00 thursday 00:00-04:00,05:30-24:00 friday 00:00-04:00,05:30-24:00 saturday 00:00-04:00,05:30-24:00 } Also what does your "generic-service" and "local-service" templates look like? There could be some settings that are following you through those templates. Also you may have modified some settings in the nagios.cfg that makes changes to how nagios deals with time. > > Server-B is also running a site and tomcat is stopped at 4:10am. > This service has notification period with the same time period with > exceptions from 4am ? 5:30am. After that it will not send > notifications. At 8am it is still doing checks and saying is > critical, but when looking at the details it says it has not sent > any notifications. When I force a check it still won?t do it. If I > restart Nagios then it does a check it will send first notice. I > don?t see anything wrong with my time period so not sure where the > issue is. Not sure if anyone else has noticed this before. The difference between those are that they are using a different service template. Server-B is using 'local-service'. > > Here is what I have for that time period and checks for the above > examples: > > define timeperiod{ > timeperiod_name url-monitor > alias url-monitor > sunday 00:00-23:59 > monday 00:00-23:59 > tuesday 00:00-23:59 > wednesday 00:00-23:59 > thursday 00:00-23:59 > friday 00:00-23:59 > saturday 00:00-23:59 > exclude recycle > } This is how I would have wrote the timeperiod definitions to make them more clear. I've used the exclude method many times so I am sure that it works as you are expecting. 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 } #down timeperiod for Server-A define timeperiod{ timeperiod_name recycle alias recycle sunday 04:00-05:30 monday 04:00-05:30 tuesday 04:00-05:30 wednesday 04:00-05:30 thursday 04:00-05:30 friday 04:00-05:30 saturday 04:00-05:30 } define timeperiod{ timeperiod_name url-monitor alias url-monitor use 24x7 exclude recycle } Good luck with you plight! I hope someone else can give you a more simple solution. Mark Young ___ Nagios Enterprises, LLC Web: www.nagios.com ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From michael at medin.name Mon Aug 25 17:18:43 2008 From: michael at medin.name (Michael Medin) Date: Mon, 25 Aug 2008 17:18:43 +0200 Subject: Checking Windows Services with stupid names. In-Reply-To: <92119d860808250754s58ad2aa0gfc0adaaec7ac2850@mail.gmail.com> References: <92119d860808250344k442a3678pc4db980e04a980ba@mail.gmail.com> <48B2BD10.105@medin.name> <92119d860808250754s58ad2aa0gfc0adaaec7ac2850@mail.gmail.com> Message-ID: <48B2CD53.50701@medin.name> Klaus Umbach skrev: > 2008/8/25 Michael Medin > > > I would say: use NRPE instead :) > > but perhaps this is a bug, I have seen the reports on and off but > haven't had time to look into it (since it is so easily solved > with NRPE) > > > NRPE? To check a Windows-Box? No, that's not really funny... huh? Why not? I'we always thought of NRPE to be vastly superior to the NSClient protocol myself... // Michael Medin > > I found out, how it works:Windows Services always have 2 names, the > internal one is better, than the description-name. > > Cheers > Klaus > > -- > First Official Internetdenier ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Aug 25 19:38:28 2008 From: ssimmons at cymfony.com (Seth Simmons) Date: Mon, 25 Aug 2008 13:38:28 -0400 Subject: checks, notifications don't work after time period exception In-Reply-To: References: <13F36D2926AD444697093282F20041B70780D7CE@buf-ex01.cymfony.com> Message-ID: <13F36D2926AD444697093282F20041B70780D96E@buf-ex01.cymfony.com> The system date is correct and Nagios is showing the correct day and time on the status page. If I stop Nagios, I don't see any other Nagios processes running. The two templates here have not been touched. I looked at both and have 24x7 for all times which is the default. I just modified the time definitions as you have it listed and I'll see what happens tonight. There are also no custom time settings in nagios.cfg; all the settings related to time zone, etc are commented out. -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Mark Young Sent: Monday, August 25, 2008 11:44 AM To: Nagios Users Mailinglist Subject: Re: [Nagios-users] checks,notifications don't work after time period exception Hi Seth, On Aug 25, 2008, at 8:05 AM, Seth Simmons wrote: > We have a qa group overseas that will work on our customer sites > during the US overnight. To avoid false alerts, I added a time > exception so notifications are not sent out between 4am and 5:30am. > The problem is, after the exception, Nagios (3.0.3) won't send > notifications, neither are checks performed for any sites with an > exception. If a site is in a critical state either shortly after 4 > or (if they start early) right before 4, checks do not continue > after 5:30. When I look at Nagios later, it shows it in critical > and the last check was done at 3:58am with the next check at > midnight the next day. When I start dealing with time problems with Nagios I have a small list that I try first just to it out. * Check date/time of monitoring server and that it is the right timezone (UTC or whatever you want it as). * Check that the Nagios web interface is displaying the time you expect it to (top left corner in most cgis). In the nagios.cfg you may have set additional time information in there. * Stop the nagios process, checking that there are are no other running instances left. 'service nagios stop' 'ps aux |grep nagios' * Restart the nagios process. Sometimes you can get duplicate Nagios daemons running and they can cause many odd problems like this. Also I hope we are not dealing with any time translations with the "overseas" group. > > Let me give some more specific examples: > Server-A is running abc.customer.com for us and our qa group takes > the site down at 3:55am, before the 4am exception. Nagios will show > as critical until either midnight the next day, or you force a check > on the service. So, say at 8am I look at it, the service is > critical with last check at 3:55am and next scheduled check at 12am > tomorrow. When I force a check, it will continue on normal check > schedule and send notice that the service is ok. So you are saying that "Server-A" is supposed to be checked in the timerange 24x7 minus 4:00am-5:30am each day, but when it stops at 4:00am it will not start checking until the next day, unless you force it through an external command to start checking again? It is possible that there could be a bug, but you seem to have a really common timeperiod definition type. I normally suggest that users always run the checks 24x7 and then just modify the notification periods (like you did with 'Server-B). But I would try it with a simple time definition first. # Test timeperiod for the recycle service. define timeperiod{ timeperiod_name recycle alias recycle sunday 00:00-04:00,05:30-24:00 monday 00:00-04:00,05:30-24:00 tuesday 00:00-04:00,05:30-24:00 wednesday 00:00-04:00,05:30-24:00 thursday 00:00-04:00,05:30-24:00 friday 00:00-04:00,05:30-24:00 saturday 00:00-04:00,05:30-24:00 } Also what does your "generic-service" and "local-service" templates look like? There could be some settings that are following you through those templates. Also you may have modified some settings in the nagios.cfg that makes changes to how nagios deals with time. > > Server-B is also running a site and tomcat is stopped at 4:10am. > This service has notification period with the same time period with > exceptions from 4am - 5:30am. After that it will not send > notifications. At 8am it is still doing checks and saying is > critical, but when looking at the details it says it has not sent > any notifications. When I force a check it still won't do it. If I > restart Nagios then it does a check it will send first notice. I > don't see anything wrong with my time period so not sure where the > issue is. Not sure if anyone else has noticed this before. The difference between those are that they are using a different service template. Server-B is using 'local-service'. > > Here is what I have for that time period and checks for the above > examples: > > define timeperiod{ > timeperiod_name url-monitor > alias url-monitor > sunday 00:00-23:59 > monday 00:00-23:59 > tuesday 00:00-23:59 > wednesday 00:00-23:59 > thursday 00:00-23:59 > friday 00:00-23:59 > saturday 00:00-23:59 > exclude recycle > } This is how I would have wrote the timeperiod definitions to make them more clear. I've used the exclude method many times so I am sure that it works as you are expecting. 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 } #down timeperiod for Server-A define timeperiod{ timeperiod_name recycle alias recycle sunday 04:00-05:30 monday 04:00-05:30 tuesday 04:00-05:30 wednesday 04:00-05:30 thursday 04:00-05:30 friday 04:00-05:30 saturday 04:00-05:30 } define timeperiod{ timeperiod_name url-monitor alias url-monitor use 24x7 exclude recycle } Good luck with you plight! I hope someone else can give you a more simple solution. Mark Young ___ Nagios Enterprises, LLC Web: www.nagios.com ------------------------------------------------------------------------ - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ajcooper80 at googlemail.com Mon Aug 25 20:39:10 2008 From: ajcooper80 at googlemail.com (Alan Cooper) Date: Mon, 25 Aug 2008 19:39:10 +0100 Subject: ndoutils Query optimisation In-Reply-To: <323f67830808201342t7e75d905y27760e9d055f6254@mail.gmail.com> References: <48ABDC29.6050609@googlemail.com> <48AC0938.3080303@aei.ca> <48AC667D.9070607@googlemail.com> <323f67830808201342t7e75d905y27760e9d055f6254@mail.gmail.com> Message-ID: <48B2FC4E.3090204@googlemail.com> Mikael Fridh wrote: > On Wed, Aug 20, 2008 at 8:46 PM, Alan Cooper wrote: > >> Thanks for the replies, >> >> Unfortunately, all the tables are already indexed so I'm back to the >> underlying problem is that there are so many joins on big tables so >> MySQL has to copy to temp tables each time - I'd really like to >> eliminate the need for this if possible. >> > > Show the EXPLAIN output as well as SHOW CREATE TABLE for all tables in > your query. > > Hi Mikael, Please find the details requested attached. Thanks again for your help. Regards, Alan -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: explain.txt URL: -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: schema.sql URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Charles.Breite at altertrading.com Mon Aug 25 23:14:57 2008 From: Charles.Breite at altertrading.com (Charles Breite) Date: Mon, 25 Aug 2008 16:14:57 -0500 Subject: %40 in acknowledgement Message-ID: <5D490E0402B4D14F836B5C4436D5949A30E08A@VMEXCHANGE2.alterscrap.com> We are using Nagios 2.9 and when someone acknowledges an alert it populates the Author(Your name) field with username%40domainname. This should be username at domainname.com Any ideas on how to make the @ appear properly? 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 hvdkooij at vanderkooij.org Mon Aug 25 23:28:41 2008 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Mon, 25 Aug 2008 23:28:41 +0200 Subject: %40 in acknowledgement In-Reply-To: <5D490E0402B4D14F836B5C4436D5949A30E08A@VMEXCHANGE2.alterscrap.com> References: <5D490E0402B4D14F836B5C4436D5949A30E08A@VMEXCHANGE2.alterscrap.com> Message-ID: <48B32409.5070506@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Charles Breite wrote: > We are using Nagios 2.9 and when someone acknowledges an alert it > populates the Author(Your name) field with > > username%40domainname. This should be username at domainname.com > > Any ideas on how to make the @ appear properly? My guess would be that your webbrowser is converting the character. Which webbrowsers have you tried? 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) iD8DBQFIsyQHBvzDRVjxmYERAjgAAJ9BfZMHeJVegBLI8/qTwCxZaDizSQCdEl7a ucV93wGPuJCPQbfKSrpGafc= =97ka -----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 kfreels at sendmail.com Tue Aug 26 00:16:48 2008 From: kfreels at sendmail.com (Kevin Freels) Date: Mon, 25 Aug 2008 15:16:48 -0700 Subject: nrpe and check_mailq In-Reply-To: <48AFB82C.8050008@aei.ca> References: <556AE10AFFB7484B833AF9BE7BF9FD3B3DD1E5@platypus><323f67830808221102n28f6148cg1b85195a40ef8b59@mail.gmail.com> <48AFB82C.8050008@aei.ca> Message-ID: <556AE10AFFB7484B833AF9BE7BF9FD3B3DD353@platypus> Okay, I started to go down the sudo path until I realized I have other systems that check_mailq works just fine on without having to be root. The difference is that the system it works on is a FreeBSD and the system that's choking is Linux. check_mailq on the working system is running as the same user ('nagios') as the Linux box, so neither of them are root. The perms/owners for check_mailq are the same for both systems. *AND* I can run check_mailq on the FreeBSD box as a mortal user (me), but not on the Linux box. I did notice that version of Perl on the Linux box is 5.8.0, while the working FreeBSD is 5.005. Perl on the FreeBSD is also chgrp'd to wheel, not root. Maybe somewhere in there lies the culprit? I'm also not comfortable adding a generic user ('nagios') to sudo. I realize I can restrict the commands the user can use, but still.... BTW, thanks for the replies!!!! ....k -=-=-=- > > If I remember correctly, you need to be root to run mailq on most > > systems so you might need to give the nrpe user sudo access for it. > > Yup, most likely permissions problem. > > The easiest way to fix that is by adding it to sudo (nrpe > would call "sudo /usr/local/nagios/libexec/check_mailq -w > 300 -c 500"). Make sure it does not have the requiretty > option or it will still fail from the daemon. > > - -- > Thomas ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Aug 26 00:27:31 2008 From: matt at conundrum.com (Matthew Pounsett) Date: Mon, 25 Aug 2008 18:27:31 -0400 Subject: nrpe and check_mailq In-Reply-To: <556AE10AFFB7484B833AF9BE7BF9FD3B3DD353@platypus> References: <556AE10AFFB7484B833AF9BE7BF9FD3B3DD1E5@platypus><323f67830808221102n28f6148cg1b85195a40ef8b59@mail.gmail.com> <48AFB82C.8050008@aei.ca> <556AE10AFFB7484B833AF9BE7BF9FD3B3DD353@platypus> Message-ID: <5E6ED3FF-DD38-4123-8C18-9E6263C03CBA@conundrum.com> On 25-Aug-2008, at 18:16 , Kevin Freels wrote: > I'm also not comfortable adding a generic user ('nagios') to sudo. I > realize I can restrict the commands the user can use, but still.... I'm not sure if this applies to your system or not, but you might be able to get away with just adding the 'nagios' user to the correct group to be able to read the mail spool directory, possibly /var/spool/ mqueue. Again, not sure if it'll work on your system, but it's something to check. HTH, Matt -------------- 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 marc at ena.com Tue Aug 26 00:31:44 2008 From: marc at ena.com (Marc Powell) Date: Mon, 25 Aug 2008 17:31:44 -0500 Subject: nrpe and check_mailq In-Reply-To: <556AE10AFFB7484B833AF9BE7BF9FD3B3DD353@platypus> References: <556AE10AFFB7484B833AF9BE7BF9FD3B3DD1E5@platypus><323f67830808221102n28f6148cg1b85195a40ef8b59@mail.gmail.com> <48AFB82C.8050008@aei.ca> <556AE10AFFB7484B833AF9BE7BF9FD3B3DD353@platypus> Message-ID: On Aug 25, 2008, at 5:16 PM, Kevin Freels wrote: > *AND* I can run check_mailq on the FreeBSD box as a mortal user (me), > but not on the Linux box. I did notice that version of Perl on the > Linux > box is 5.8.0, while the working FreeBSD is 5.005. Perl on the > FreeBSD is > also chgrp'd to wheel, not root. > > Maybe somewhere in there lies the culprit? The permissions on your mail queue directory for your mailer are probably more open on the boxen that work. > I'm also not comfortable adding a generic user ('nagios') to sudo. I > realize I can restrict the commands the user can use, but still.... The alternative is to add the nagios user to a group that has read permissions to your mail queue or generally more open permissions for all users on the mail queue in general. The former may be comparable to the sudo approach and the latter is definitely less secure than either. -- 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 jon at netdork.net Tue Aug 26 01:28:53 2008 From: jon at netdork.net (Jon Angliss) Date: Mon, 25 Aug 2008 18:28:53 -0500 Subject: checks, notifications don't work after time period exception References: <13F36D2926AD444697093282F20041B70780D7CE@buf-ex01.cymfony.com> <13F36D2926AD444697093282F20041B70780D96E@buf-ex01.cymfony.com> Message-ID: <2rf6b45ga9463t795gm7mphae6p6sh52g5@4ax.com> On Mon, 25 Aug 2008 13:38:28 -0400, "Seth Simmons" wrote: >The system date is correct and Nagios is showing the correct day and >time on the status page. If I stop Nagios, I don't see any other Nagios >processes running. The two templates here have not been touched. I >looked at both and have 24x7 for all times which is the default. I just >modified the time definitions as you have it listed and I'll see what >happens tonight. There are also no custom time settings in nagios.cfg; >all the settings related to time zone, etc are commented out. I had a similar issue. I tried excluding a time slot between 0300, and 0600 due to large DB loads causing website performance issues (backups, indexing, and such). When the start of the exception rolled around, nagios would just stop checking that service, and would only restart on a forced manual check, or restart of the nagios service. I ended up changing the theory to continue checking 24x7, but only alert when outside the exception. Not that it helps the issue, but it stopped the symptoms. I never got around to really digging into the issue any deeper. It did give me the added benefit of knowing when the server was actually down during the maintenance window, and when it was just being slow. This was handy for management purposes so they could calculate if they need more head count. -- Jon Angliss ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From riznob at gmail.com Tue Aug 26 01:39:05 2008 From: riznob at gmail.com (Robert Anderson) Date: Mon, 25 Aug 2008 16:39:05 -0700 Subject: external command to enable all active service checks Message-ID: <7cbc132f0808251639h2f23baafu7f398ea354ffee00@mail.gmail.com> I am setting up a failover nagios instance as described here. http://nagios.sourceforge.net/docs/3_0/redundancy.html#scenario_2 I have looked through the external commands but cannot find one that will enable or disable all active service checks. Am I missing something? I have found external command that apply to a single service, servicegroup or host, but none that apply to all services. Please help. Thanks, -- Rob Anderson riznob at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mgagne at iweb.com Tue Aug 26 01:42:18 2008 From: mgagne at iweb.com (=?ISO-8859-1?Q?Mathieu_Gagn=E9?=) Date: Mon, 25 Aug 2008 19:42:18 -0400 Subject: external command to enable all active service checks In-Reply-To: <7cbc132f0808251639h2f23baafu7f398ea354ffee00@mail.gmail.com> References: <7cbc132f0808251639h2f23baafu7f398ea354ffee00@mail.gmail.com> Message-ID: <48B3435A.3000807@iweb.com> This should be the answer: START_EXECUTING_SVC_CHECKS http://www.nagios.org/developerinfo/externalcommands/commandinfo.php?command_id=41 Mathieu Robert Anderson wrote: > I am setting up a failover nagios instance as described here. > > http://nagios.sourceforge.net/docs/3_0/redundancy.html#scenario_2 > > I have looked through the external commands but cannot find one that > will enable or disable all active service checks. Am I missing > something? I have found external command that apply to a single service, > servicegroup or host, but none that apply to all services. Please help. > > Thanks, > > -- > Rob Anderson > riznob 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 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From finchs at stgeorge.com.au Tue Aug 26 01:53:11 2008 From: finchs at stgeorge.com.au (Simon Finch) Date: Tue, 26 Aug 2008 09:53:11 +1000 Subject: ndoutils Query optimisation In-Reply-To: <48B2FC4E.3090204@googlemail.com> References: <48ABDC29.6050609@googlemail.com> <48AC0938.3080303@aei.ca> <48AC667D.9070607@googlemail.com> <323f67830808201342t7e75d905y27760e9d055f6254@mail.gmail.com><323f67830808201342t7e75d905y27760e9d055f6254@mail.gmail.com> <48B2FC4E.3090204@googlemail.com> Message-ID: <48B3D28D.B47D.0048.0@stgeorge.com.au> Hi Alan, Up to yesterday I had a similar problem with our NDO db on the same spec box as yours. Are your tables primarily type innodb like mine ? I am asking as my NDO db was created by Centreon's install script and not the normal way, if so then the following may help. Your initial post showed no setting for innodb_buffer_pool_size if you are using lots of innodb tables then this needs to be as big as you can afford. Second is innodb_flush_log_at_trx_commit which defaults to 1, which is safe, but slow, it commits after every transaction. I have 9 Nagios servers feeding data from 2500 hosts into 1 NDO db, when I started Mysql was reported by top as using 300 - 350% of cpu and the whole system was virtually unusable, now cpu usage is 10 - 50% with occasional peaks of 90% and all is good. These are the settings I am using: key_buffer_size=64M thread_cache_size=32 innodb_buffer_pool_size=512M innodb_flush_log_at_trx_commit=0 innodb_log_file_size=32M read_buffer_size=256k tmp_table_size=64M join_buffer_size=8M query_cache_size=32M table_cache=1024 I am still fiddling with settings, but these seem good for now. I am not a dba, only a sysadmin who had to make it work. Hopefully I can help others with similar problems. Thanks and regards, Simon Finch ESM Team Leader St George Bank Australia >>> Alan Cooper 26/08/2008 4:39 am >>> Mikael Fridh wrote: > On Wed, Aug 20, 2008 at 8:46 PM, Alan Cooper wrote: > >> Thanks for the replies, >> >> Unfortunately, all the tables are already indexed so I'm back to the >> underlying problem is that there are so many joins on big tables so >> MySQL has to copy to temp tables each time - I'd really like to >> eliminate the need for this if possible. >> > > Show the EXPLAIN output as well as SHOW CREATE TABLE for all tables in > your query. > > Hi Mikael, Please find the details requested attached. Thanks again for your help. Regards, Alan *** This is an automatically appended message from St. George ITP. If this email is SPAM please register it with WebSense MailControl by clicking this link https://www.mailcontrol.com/sr/zM1O!OPwutLTndxI!oX7UmGwwysDArWcDrzRWHDQJ5mU7sNPLDw9NuS3S+!tH0c3S!CJwybpcpidye7!a4hOmw== . *** ********************************************************************** ***** IMPORTANT INFORMATION ***** This document should be read only by those persons to whom it is addressed and its content is not intended for use by any other persons. If you have received this message in error, please notify us immediately. Please also destroy and delete the message from your computer. Any unauthorised form of reproduction of this message is strictly prohibited. St George Bank Limited AFSL 240997, Advance Asset Management Limited AFSL 240902, St George Life Limited AFSL 240900, ASGARD Capital Management Limited AFSL 240695 and Securitor Financial Group Limited AFSL 240687 is not liable for the proper and complete transmission of the information contained in this communication, nor for any delay in its receipt. ********************************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From svetter at ameritech.net Tue Aug 26 04:30:31 2008 From: svetter at ameritech.net (scott) Date: Mon, 25 Aug 2008 22:30:31 -0400 Subject: Initial problems Message-ID: <48B36AC7.8050408@ameritech.net> Greetings I am just starting to use nagios and it looks promising. Along with the documentation supplied, I am also using the text from the book Pro Nagios 2.0 by James Turnbull. The version of nagios is 2.0 February 06, 2006 as this came with the SuSE Linux 11.0. Tried starting nagious and get these messages in the start: nagios /usr/local/nagios/etc/nagios.cfg Nagios 3.0.1 Copyright (c) 1999-2008 Ethan Galstad (http://www.nagios.org) Last Modified: 04-01-2008 License: GPL Warning: comment_file variable ignored. Comments are now stored in the status and retention files. Warning: downtime_file variable ignored. Downtime entries are now stored in the status and retention files. Warning: aggregate_status_updates directive ignored. All status file updates are now aggregated. Warning: Cannot open log file '/usr/local/nagios/log/nagios.log' for writing Nagios 3.0.1 starting... (PID=16379) Warning: Cannot open log file '/usr/local/nagios/log/nagios.log' for writing Local time is Mon Aug 25 22:20:44 EDT 2008 Warning: Cannot open log file '/usr/local/nagios/log/nagios.log' for writing Warning: Cannot open log file '/usr/local/nagios/log/nagios.log' for writing Warning: Duplicate definition found for command 'notify-by-email' (config file '/usr/local/nagios/etc/minimal.cfg', starting on line 59) Warning: Cannot open log file '/usr/local/nagios/log/nagios.log' for writing Error: Could not add object property in file '/usr/local/nagios/etc/minimal.cfg' on line 60. Warning: Cannot open log file '/usr/local/nagios/log/nagios.log' for writing Bailing out due to one or more errors encountered in the configuration files. Run Nagios from the command line with the -v option to verify your config before restarting. (PID=16379) I've tried using the afore mentioned directory to hold the log files as well as /var/log/nagios and /usr/local/nagios/etc but all three fail. Suggestions on how to resolve these errors would be appreciated. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Aug 26 04:53:47 2008 From: tdondich at gmail.com (Taylor Dondich) Date: Mon, 25 Aug 2008 19:53:47 -0700 Subject: Initial problems In-Reply-To: <48B36AC7.8050408@ameritech.net> References: <48B36AC7.8050408@ameritech.net> Message-ID: <3d2eb72a0808251953k533fb140nd3aa081082ad4da2@mail.gmail.com> First off, the Nagios output states it is Nagios 3.0.1, not Nagios 2.x. This is fine, just refer to the Nagios 3 documentation as some things have changed, such as the first couple of warnings. First off, it looks like you have a permissions issue on the /usr/local/nagios/log directory. Make sure the directory exists, and it's contents are writable by the Nagios user. Second, the fatal error states that the object property in minimal.cfg, line 60 is invalid. It may be a directive that is no longer allowed in Nagios 3 or has been renamed (it has a habit of doing that). The book you described is great to understand the basics of Nagios, but try to be aware there are differences and you should verify it by looking at the Nagios 3 docs at http://nagios.sourceforge.net/docs/3_0/ Taylor On Mon, Aug 25, 2008 at 7:30 PM, scott wrote: > Greetings > > I am just starting to use nagios and it looks promising. Along with > the documentation supplied, I am also using the text from the book Pro > Nagios 2.0 by James Turnbull. > > The version of nagios is 2.0 February 06, 2006 as this came with the > SuSE Linux 11.0. > > Tried starting nagious and get these messages in the start: > nagios /usr/local/nagios/etc/nagios.cfg > > Nagios 3.0.1 > Copyright (c) 1999-2008 Ethan Galstad (http://www.nagios.org) > Last Modified: 04-01-2008 > License: GPL > > Warning: comment_file variable ignored. Comments are now stored in the > status and retention files. > Warning: downtime_file variable ignored. Downtime entries are now > stored in the status and retention files. > Warning: aggregate_status_updates directive ignored. All status file > updates are now aggregated. > Warning: Cannot open log file '/usr/local/nagios/log/nagios.log' for writing > Nagios 3.0.1 starting... (PID=16379) > Warning: Cannot open log file '/usr/local/nagios/log/nagios.log' for writing > Local time is Mon Aug 25 22:20:44 EDT 2008 > Warning: Cannot open log file '/usr/local/nagios/log/nagios.log' for writing > Warning: Cannot open log file '/usr/local/nagios/log/nagios.log' for writing > Warning: Duplicate definition found for command 'notify-by-email' > (config file '/usr/local/nagios/etc/minimal.cfg', starting on line 59) > Warning: Cannot open log file '/usr/local/nagios/log/nagios.log' for writing > Error: Could not add object property in file > '/usr/local/nagios/etc/minimal.cfg' on line 60. > Warning: Cannot open log file '/usr/local/nagios/log/nagios.log' for writing > Bailing out due to one or more errors encountered in the configuration > files. Run Nagios from the command line with the -v option to verify > your config before restarting. (PID=16379) > > I've tried using the afore mentioned directory to hold the log files > as well as /var/log/nagios and /usr/local/nagios/etc but all three fail. > > Suggestions on how to resolve these errors would be appreciated. > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 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 dhaval at nsbl.co.in Tue Aug 26 07:56:46 2008 From: dhaval at nsbl.co.in (Dhaval Thakar) Date: Tue, 26 Aug 2008 11:26:46 +0530 Subject: using check_snmp_ifstatus.pl plugin for windows servers Message-ID: <27b84358cc5f3f6a037bbd60ca9c8b66@172.20.20.4> hi, i am using check_snmp_ifstatus.pl downloaded from http://shawnflynn.com/2008/08/13/nagios-plugincheck_snmp_ifstatuspl/ this is very good tool to monitor interface utilization. i want to use it in the replacement of mrtg. this works fine for the linux systems (as in interface i need to mention only eth0/eth1) whereas i am unable to configure this tool to check windows interface i am getting proper result for linux based server snmpwalk -v 2c -c public 172.20.20.4 ifDescr IF-MIB::ifDescr.1 = STRING: lo IF-MIB::ifDescr.2 = STRING: eth0 IF-MIB::ifDescr.3 = STRING: eth1 IF-MIB::ifDescr.4 = STRING: sit0 ./check_snmp_ifstatus.pl -H 172.20.20.4 -C public -i eth0 OK: eth0 is UP at 1Gbps. RX=56.87Kbps (0%), TX=443Kbps (0.04%)|RXbps=56868;850000000;980000000;0;100 0000000 TXbps=442973;850000000;980000000;0;1000000000 RXpct=0%;85;98;0;100 TXpct=0.04%;85;98;0;100 e lapsed=95s;34;;; for windows based server snmpwalk -v 2c -c public 172.20.20.126 ifDescr IF-MIB::ifDescr.1 = STRING: MS TCP Loopback interface IF-MIB::ifDescr.2 = STRING: Realtek RTL8139/810x Family Fast Ethernet NIC ./check_snmp_ifstatus.pl -H 172.20.20.126 -C public -i "MS TCP Loopback interface" CRITICAL: Could not match MS TCP Loopback interface ./check_snmp_ifstatus.pl -H 172.20.20.126 -C public -i "Realtek RTL8139/810x Family Fast Ethernet NIC" CRITICAL: Could not match Realtek RTL8139/810x Family Fast Ethernet NIC kindly guide me the proper way to utilize this plugin for windows based servers. thanks & regards dhaval thakar ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Aug 26 09:25:03 2008 From: adesperateuser at googlemail.com (Marcus) Date: Tue, 26 Aug 2008 09:25:03 +0200 Subject: using check_snmp_ifstatus.pl plugin for windows servers In-Reply-To: <27b84358cc5f3f6a037bbd60ca9c8b66@172.20.20.4> References: <27b84358cc5f3f6a037bbd60ca9c8b66@172.20.20.4> Message-ID: <48B3AFCF.8000301@googlemail.com> Hi there, Dhaval Thakar schrieb: > kindly guide me the proper way to utilize this plugin for windows based > servers. On http://shawnflynn.com/2008/08/13/nagios-plugin-check_snmp_ifstatuspl/ they use something like "Ethernet0/0" in the example. The manual states: -- snip -- -i --interface STRING Full name of the interface to check. Required. Examples would be eth0 or FastEthernet0/1 -- snap -- Suggestion: try "Ethernet0/0" or "FastEthernet0/1" (or 0 instead of 1) and report back, if it works :-) Hth, 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 adesperateuser at googlemail.com Tue Aug 26 09:59:15 2008 From: adesperateuser at googlemail.com (Marcus) Date: Tue, 26 Aug 2008 09:59:15 +0200 Subject: using check_snmp_ifstatus.pl plugin for windows servers In-Reply-To: <008e8507008429d3d42e7b49a739b104.squirrel@mail.nsbl.co.in> References: <27b84358cc5f3f6a037bbd60ca9c8b66@172.20.20.4> <48B3AFCF.8000301@googlemail.com> <008e8507008429d3d42e7b49a739b104.squirrel@mail.nsbl.co.in> Message-ID: <48B3B7D3.5030000@googlemail.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 dhaval thakar schrieb: > i have tried ethernet0/0 > this can be used for the routers. > > i am looking for windows > ethernet string My second guess would be, to use the Adapter-name from the system like ipconfig states it, or like it is stated in your "Network Connections". "Local Area Connection 2" or something like that might work. (Just guessing.) :-) Greetz, Marcus - -- P.S.: Please always reply to the list, so everybody can benefit ... -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIs7fS+qVaNRZYOakRArhAAJ97+Lt8sezUUIoArbU8Xx4+jeKsvgCfeoBs seTWiEL0C8GXJ59garggStM= =YddH -----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 adesperateuser at googlemail.com Tue Aug 26 10:26:57 2008 From: adesperateuser at googlemail.com (Marcus) Date: Tue, 26 Aug 2008 10:26:57 +0200 Subject: using check_snmp_ifstatus.pl plugin for windows servers In-Reply-To: References: <27b84358cc5f3f6a037bbd60ca9c8b66@172.20.20.4> <48B3AFCF.8000301@googlemail.com> <008e8507008429d3d42e7b49a739b104.squirrel@mail.nsbl.co.in> <48B3B7D3.5030000@googlemail.com> Message-ID: <48B3BE51.9090309@googlemail.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 dhaval thakar schrieb: > | My second guess would be, to use the > Adapter-name from the system like > | ipconfig states it, or like it is > stated in your "Network Connections". > | > | "Local > Area Connection 2" or something like that might work. (Just > | > guessing.) :-) > | >> thanks again, >> this isn't working Well, third suggestion: Write to the author of that nifty plugin and ask politely for help. Greetz, Marcus -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIs75R+qVaNRZYOakRArGiAJ0Q67QzfZjz6xhBUedvsTCzt1ac6wCfZeMc InDcEOhEWwiP8F7oyZCshYY= =1W/X -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ssimmons at cymfony.com Tue Aug 26 13:56:07 2008 From: ssimmons at cymfony.com (Seth Simmons) Date: Tue, 26 Aug 2008 07:56:07 -0400 Subject: checks, notifications don't work after time period exception In-Reply-To: <2rf6b45ga9463t795gm7mphae6p6sh52g5@4ax.com> References: <13F36D2926AD444697093282F20041B70780D7CE@buf-ex01.cymfony.com><13F36D2926AD444697093282F20041B70780D96E@buf-ex01.cymfony.com> <2rf6b45ga9463t795gm7mphae6p6sh52g5@4ax.com> Message-ID: <13F36D2926AD444697093282F20041B70780DAFA@buf-ex01.cymfony.com> I'll probably do away with the time exclusion as it still isn't working. I have one service that went critical during the exclusion which has a 24x7 check but 4-5:30 notification exclusion and now I can't make it send a notice. I disabled notifications for that service and enabled again; also restarted Nagios and still won't send a notice. It's configured to send on the second attempt and every hour after. Current Status: CRITICAL (for 0d 3h 19m 46s) Status Information: HTTP CRITICAL: HTTP/1.1 503 Service Temporarily Unavailable Performance Data: Current Attempt: 2/2 (HARD state) Last Check Time: 08-26-2008 07:49:16 Check Type: ACTIVE Check Latency / Duration: 0.077 / 0.078 seconds Next Scheduled Check: 08-26-2008 07:52:16 Last State Change: 08-26-2008 04:31:10 Last Notification: N/A (notification 0) Is This Service Flapping? NO (0.00% state change) In Scheduled Downtime? NO Last Update: 08-26-2008 07:50:51 ( 0d 0h 0m 5s ago) Active Checks: ENABLED Passive Checks: ENABLED Obsessing: ENABLED Notifications: ENABLED Event Handler: ENABLED Flap Detection: ENABLED -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Jon Angliss Sent: Monday, August 25, 2008 7:29 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] checks,notifications don't work after time period exception On Mon, 25 Aug 2008 13:38:28 -0400, "Seth Simmons" wrote: >The system date is correct and Nagios is showing the correct day and >time on the status page. If I stop Nagios, I don't see any other Nagios >processes running. The two templates here have not been touched. I >looked at both and have 24x7 for all times which is the default. I just >modified the time definitions as you have it listed and I'll see what >happens tonight. There are also no custom time settings in nagios.cfg; >all the settings related to time zone, etc are commented out. I had a similar issue. I tried excluding a time slot between 0300, and 0600 due to large DB loads causing website performance issues (backups, indexing, and such). When the start of the exception rolled around, nagios would just stop checking that service, and would only restart on a forced manual check, or restart of the nagios service. I ended up changing the theory to continue checking 24x7, but only alert when outside the exception. Not that it helps the issue, but it stopped the symptoms. I never got around to really digging into the issue any deeper. It did give me the added benefit of knowing when the server was actually down during the maintenance window, and when it was just being slow. This was handy for management purposes so they could calculate if they need more head count. -- Jon Angliss ------------------------------------------------------------------------ - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 Aug 26 14:25:16 2008 From: smcafee at collaborativefusion.com (Sean McAfee) Date: Tue, 26 Aug 2008 08:25:16 -0400 Subject: nrpe and check_mailq In-Reply-To: <556AE10AFFB7484B833AF9BE7BF9FD3B3DD353@platypus> References: <556AE10AFFB7484B833AF9BE7BF9FD3B3DD1E5@platypus><323f67830808221102n28f6148cg1b85195a40ef8b59@mail.gmail.com> <48AFB82C.8050008@aei.ca> <556AE10AFFB7484B833AF9BE7BF9FD3B3DD353@platypus> Message-ID: <48B3F62C.1090902@collaborativefusion.com> Kevin Freels wrote: > *AND* I can run check_mailq on the FreeBSD box as a mortal user (me), > but not on the Linux box. I did notice that version of Perl on the Linux > box is 5.8.0, while the working FreeBSD is 5.005. Perl on the FreeBSD is > also chgrp'd to wheel, not root. Typically on a FreeBSD system, a non-privledged user exec'ing mailq only gives that individual users' queue: [smcafee at xxxxxxxx ~]$ sudo -H -u nagios mailq Size Queue ID Date User From Status Recipient ---------------- --------------------------------------------------------- 0 messages. [smcafee at xxxxxxxx ~]$ sudo mailq Size Queue ID Date User From Status Recipient ---------------- --------------------------------------------------------- 864 00056403.0000000048B2CA20.000132DD Aug 25 11:05 courier foo at example.com foo at example.com 1.1K 0005641E.0000000048B3AD31.0000B6F7 Aug 26 03:13 courier foo at example.com foo at example.com 1.1K 0005641B.0000000048B3AD26.0000B6F1 Aug 26 03:13 courier foo at example.com foo at example.com 1.1K 00056428.0000000048B3AD31.0000B6FA Aug 26 03:13 courier foo at example.com foo at example.com 3.1K 000564D8.0000000048B2B6F6.0000EFA8 Aug 25 09:43 courier foo at example.com foo at example.com 3.1K 000564BB.0000000048B2B6F3.0000EF54 Aug 25 09:43 courier foo at example.com foo at example.com 6 messages. 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 cfmx07 at yahoo.com Tue Aug 26 15:54:51 2008 From: cfmx07 at yahoo.com (Chandra Bahadur) Date: Tue, 26 Aug 2008 06:54:51 -0700 (PDT) Subject: nagios plugin for coldfusion Message-ID: <789828.45709.qm@web58802.mail.re1.yahoo.com> Hi, I need to monitor coldfusion service running on a server. check_procs with -p option lets you check the process but the problem with this is, you need to specify the parent process id...and this parent process id gets changed everytime the server is rebooted or if the process complete dies. Is there any other plugin or solution to this so that I can monitor coldfusion services too ?? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lists at truthisfreedom.org.uk Tue Aug 26 16:12:19 2008 From: lists at truthisfreedom.org.uk (Matthew Macdonald-Wallace) Date: Tue, 26 Aug 2008 15:12:19 +0100 Subject: nagios plugin for coldfusion In-Reply-To: <789828.45709.qm@web58802.mail.re1.yahoo.com> References: <789828.45709.qm@web58802.mail.re1.yahoo.com> Message-ID: <20080826151219.0f4c94ad@tclmmw.in.tiger-computing.com> On Tue, 26 Aug 2008 06:54:51 -0700 (PDT) Chandra Bahadur wrote: > Hi, > I need to monitor coldfusion service running on a server. check_procs > with -p option lets you check the process but the problem with this > is, you need to specify the parent process id...and this parent > process id gets changed everytime the server is rebooted or if the > process complete dies. > > > Is there any other plugin or solution to this so that I can monitor > coldfusion services too ?? > How about using "check-tcp" to connect to the coldfusion server (does coldfusion work this way, I don't know, I don't use it!) or using "webinject" to take a given path through a CFM-based website to ensure that the site is up? M. -- Matthew Macdonald-Wallace matthew at truthisfreedom.org.uk http://www.truthisfreedom.org.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 assaf.flatto at ssp.uk.com Tue Aug 26 17:41:55 2008 From: assaf.flatto at ssp.uk.com (Assaf Flatto) Date: Tue, 26 Aug 2008 15:41:55 +0000 Subject: nagios plugin for coldfusion In-Reply-To: <789828.45709.qm@web58802.mail.re1.yahoo.com> References: <789828.45709.qm@web58802.mail.re1.yahoo.com> Message-ID: <200808261541.55421.assaf.flatto@ssp.uk.com> You can do a check_http to the Admin port of coldfusion . Or you can enable snmp and do the test with that - this will not require you to have the PID of the parent process. Assaf On Tuesday 26 August 2008 13:54:51 Chandra Bahadur wrote: > Hi, > I need to monitor coldfusion service running on a server. check_procs with > -p option lets you check the process but the problem with this is, you need > to specify the parent process id...and this parent process id gets changed > everytime the server is rebooted or if the process complete dies. > > > Is there any other plugin or solution to this so that I can monitor > coldfusion services too ?? 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 volker.maibaum at eberspaecher.com Tue Aug 26 17:15:42 2008 From: volker.maibaum at eberspaecher.com (Volker Maibaum) Date: Tue, 26 Aug 2008 17:15:42 +0200 Subject: check_rpc after upgrade from nagios 2.6 to nagios 3.0.3 not working Message-ID: <1219763742.3923.35.camel@eberspaecher.com> Hi, Yesterday I updated from Nagios 2.6 to Nagios 3.0.3. After the Upgrade all checks are working fine unless the ones which are using check_rpc. It seems that check_rpc isn't returning anything anymore. Current Status: CRITICAL Status Informations: (null) Performance Data: When I execute check_rpc from commandline with the nagios user, everthing works just fine. Has nagios changed the environment for the commands between 2.x and 3.x, so that check_rpc (a perl check) doesn't work anymore? Anyone else had this problems? Any clues? regards, Volker ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.appelgren at bahnhof.net Tue Aug 26 16:42:51 2008 From: christian.appelgren at bahnhof.net (Christian Appelgren) Date: Tue, 26 Aug 2008 16:42:51 +0200 Subject: Log archive history Message-ID: <48B4166B.4060702@bahnhof.net> For how long does Nagios store its rotated log files in the archives? The only settings I find in the main configuration is for *log_archive_path and **log_rotation_method.* ** *Should I assume Nagios will try to maintain log file history forever?* ** *Thanks in advance.* ** * * -- Christian Appelgren Tfn: 08 - 555 771 41 Teknik Bahnhof AB www.bahnhof.se ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From myoung at nagios.org Tue Aug 26 17:41:48 2008 From: myoung at nagios.org (Mark Young) Date: Tue, 26 Aug 2008 10:41:48 -0500 Subject: Log archive history In-Reply-To: <48B4166B.4060702@bahnhof.net> References: <48B4166B.4060702@bahnhof.net> Message-ID: Hi Christian, On Aug 26, 2008, at 9:42 AM, Christian Appelgren wrote: > > *Should I assume Nagios will try to maintain log file history > forever?* You assume correct. Nagios will keep its logs forever. It will store the files in the directory specified, normally /usr/local/nagios/var/ nagios.log and the rest will archive in /usr/local/nagios/var/archives using the rotation specified. It is up to the user to manage the length of time to keep log files. Mark Young ___ Nagios Enterprises, LLC Web: www.nagios.com ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From assaf.flatto at ssp.uk.com Tue Aug 26 18:39:02 2008 From: assaf.flatto at ssp.uk.com (Assaf Flatto) Date: Tue, 26 Aug 2008 16:39:02 +0000 Subject: nagiosgraph stop showing all services Message-ID: <200808261639.02935.assaf.flatto@ssp.uk.com> Hello I have nagios 2.10 and running nagiosgraph 0.9.0. I had the graph working fine for my hosts until i did a CPAN update( needed the CGI::Simple) module for NagiosBP Add-on. Since then the service drop down box does not allow selection of the services assigned to the host it shows. My machine is SLES 10 SP1 (x86_64) , Perl is perl-5.8.8-14.7. anyone ever encountered this problem before ? Assaf 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 josh.wells at lionbank.com Tue Aug 26 17:56:01 2008 From: josh.wells at lionbank.com (Josh Wells) Date: Tue, 26 Aug 2008 11:56:01 -0400 Subject: How to monitor Equallogic PS SAN with snmp? Message-ID: <9179DC579128514D8035295BE49187E70FBB3511@mail2.fidelitynational.com> I'm wanting to add monitoring of an equallogic PS series SAN to Nagios. It is SNMP capable but I don't know much about SNMP. Can someone point me in the right direction to learn how to do this? I'm curious to know what can be monitored on the SAN through SNMP and how I would go about setting it up with Nagios. Would I need an equallogic specific plugin for Nagios? Thanks for any help. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Aug 26 19:04:16 2008 From: assaf.flatto at ssp.uk.com (Assaf Flatto) Date: Tue, 26 Aug 2008 17:04:16 +0000 Subject: nagiosgraph stop showing all services In-Reply-To: <200808261639.02935.assaf.flatto@ssp.uk.com> References: <200808261639.02935.assaf.flatto@ssp.uk.com> Message-ID: <200808261704.16190.assaf.flatto@ssp.uk.com> Found the solution . We had some hostnames with `\` in the name . and when the nagios graph encountered this issue - it reportrd an 'Illegal Character ' , once i cleaned the `\` from the names - it returned to work properly. Assaf On Tuesday 26 August 2008 16:39:02 Assaf Flatto wrote: > Hello > > I have nagios 2.10 and running nagiosgraph 0.9.0. > I had the graph working fine for my hosts until i did a CPAN update( needed > the CGI::Simple) module for NagiosBP Add-on. > Since then the service drop down box does not allow selection of the > services assigned to the host it shows. > My machine is SLES 10 SP1 (x86_64) , Perl is perl-5.8.8-14.7. > > anyone ever encountered this problem before ? > > Assaf > > > > > 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 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 myoung at nagios.org Tue Aug 26 18:09:15 2008 From: myoung at nagios.org (Mark Young) Date: Tue, 26 Aug 2008 11:09:15 -0500 Subject: checks, notifications don't work after time period exception In-Reply-To: <13F36D2926AD444697093282F20041B70780DAFA@buf-ex01.cymfony.com> References: <13F36D2926AD444697093282F20041B70780D7CE@buf-ex01.cymfony.com><13F36D2926AD444697093282F20041B70780D96E@buf-ex01.cymfony.com> <2rf6b45ga9463t795gm7mphae6p6sh52g5@4ax.com> <13F36D2926AD444697093282F20041B70780DAFA@buf-ex01.cymfony.com> Message-ID: <3E18F891-01D7-430A-BD47-5FC74144D84E@nagios.org> On Aug 26, 2008, at 6:56 AM, Seth Simmons wrote: > I'll probably do away with the time exclusion as it still isn't > working. > I have one service that went critical during the exclusion which has a > 24x7 check but 4-5:30 notification exclusion and now I can't make it > send a notice. I disabled notifications for that service and enabled > again; also restarted Nagios and still won't send a notice. It's > configured to send on the second attempt and every hour after. You should be able to use timeperiods the way you would like to. I will have to setup my test environment to see if I get the same problem you are describing. It would be nice to figure this out. Is this a problem with other users? > Obsessing: ENABLED Are you passing andy ocsp_commands? http://nagios.sourceforge.net/docs/3_0/configmain.html#ocsp_command On Aug 25, 2008, at 6:28 PM, Jon Angliss wrote: > I had a similar issue. I tried excluding a time slot between 0300, and > 0600 due to large DB loads causing website performance issues > (backups, indexing, and such). When the start of the exception rolled > around, nagios would just stop checking that service, and would only > restart on a forced manual check, or restart of the nagios service. I > ended up changing the theory to continue checking 24x7, but only alert > when outside the exception. Not that it helps the issue, but it > stopped the symptoms. I never got around to really digging into the > issue any deeper. It did give me the added benefit of knowing when > the server was actually down during the maintenance window, and when > it was just being slow. This was handy for management purposes so > they could calculate if they need more head count. Hi Jon, So it was following your notification timeperiod but not your check timeperiod? Was version of Nagios were you running? Were you using the exclude function (new to nagios 3.x)? Nagios 3.x did add new functionality to timeperiods. It is possible that a bug was introduced. Mark Young ___ Nagios Enterprises, LLC Web: www.nagios.com ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ssimmons at cymfony.com Tue Aug 26 18:33:55 2008 From: ssimmons at cymfony.com (Seth Simmons) Date: Tue, 26 Aug 2008 12:33:55 -0400 Subject: checks, notifications don't work after time period exception In-Reply-To: <3E18F891-01D7-430A-BD47-5FC74144D84E@nagios.org> References: <13F36D2926AD444697093282F20041B70780D7CE@buf-ex01.cymfony.com><13F36D2926AD444697093282F20041B70780D96E@buf-ex01.cymfony.com><2rf6b45ga9463t795gm7mphae6p6sh52g5@4ax.com><13F36D2926AD444697093282F20041B70780DAFA@buf-ex01.cymfony.com> <3E18F891-01D7-430A-BD47-5FC74144D84E@nagios.org> Message-ID: <13F36D2926AD444697093282F20041B70780DC90@buf-ex01.cymfony.com> I don't have any ocsp commands defined. -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Mark Young Sent: Tuesday, August 26, 2008 12:09 PM To: Nagios Users Mailinglist Subject: Re: [Nagios-users] checks,notifications don't work after time period exception On Aug 26, 2008, at 6:56 AM, Seth Simmons wrote: > I'll probably do away with the time exclusion as it still isn't > working. > I have one service that went critical during the exclusion which has a > 24x7 check but 4-5:30 notification exclusion and now I can't make it > send a notice. I disabled notifications for that service and enabled > again; also restarted Nagios and still won't send a notice. It's > configured to send on the second attempt and every hour after. You should be able to use timeperiods the way you would like to. I will have to setup my test environment to see if I get the same problem you are describing. It would be nice to figure this out. Is this a problem with other users? > Obsessing: ENABLED Are you passing andy ocsp_commands? http://nagios.sourceforge.net/docs/3_0/configmain.html#ocsp_command On Aug 25, 2008, at 6:28 PM, Jon Angliss wrote: > I had a similar issue. I tried excluding a time slot between 0300, and > 0600 due to large DB loads causing website performance issues > (backups, indexing, and such). When the start of the exception rolled > around, nagios would just stop checking that service, and would only > restart on a forced manual check, or restart of the nagios service. I > ended up changing the theory to continue checking 24x7, but only alert > when outside the exception. Not that it helps the issue, but it > stopped the symptoms. I never got around to really digging into the > issue any deeper. It did give me the added benefit of knowing when > the server was actually down during the maintenance window, and when > it was just being slow. This was handy for management purposes so > they could calculate if they need more head count. Hi Jon, So it was following your notification timeperiod but not your check timeperiod? Was version of Nagios were you running? Were you using the exclude function (new to nagios 3.x)? Nagios 3.x did add new functionality to timeperiods. It is possible that a bug was introduced. Mark Young ___ Nagios Enterprises, LLC Web: www.nagios.com ------------------------------------------------------------------------ - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From svetter at ameritech.net Tue Aug 26 19:00:10 2008 From: svetter at ameritech.net (scott) Date: Tue, 26 Aug 2008 13:00:10 -0400 Subject: More getting started problems Message-ID: <48B4369A.3060404@ameritech.net> In starting nagios on SuSE Linux 11.0, I get the following message: Checking misc settings... Error: Unable to write to check_result_path ('/var/lib/nagios/spool/checkresults') - No such file or directory First: drwxr-xr-x 3 nagios nagios 104 2008-08-26 12:44 nagios Next: drwxr-xr-x 2 nagios nagios 48 2008-08-26 12:44 spool Lastly: /var/lib/nagios/spool does not have a checkresults file. Do I need to create this file and if so how? Thanks, Scott ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cfmx07 at yahoo.com Tue Aug 26 18:27:49 2008 From: cfmx07 at yahoo.com (Chandra Bahadur) Date: Tue, 26 Aug 2008 09:27:49 -0700 (PDT) Subject: monitoring disk usage of remote server Message-ID: <607784.70639.qm@web58807.mail.re1.yahoo.com> Hi ??? I can check the disk usage locally with the command check_disk. But I need to monitor the disk usage of remote servers. Check_disk command doesn't have any option to specify the name of the remote server to be monitored... ? ? ? How do I monitor the disk usage of remote servers ?? ? ? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Aug 26 19:16:09 2008 From: matt at conundrum.com (Matthew Pounsett) Date: Tue, 26 Aug 2008 13:16:09 -0400 Subject: monitoring disk usage of remote server In-Reply-To: <607784.70639.qm@web58807.mail.re1.yahoo.com> References: <607784.70639.qm@web58807.mail.re1.yahoo.com> Message-ID: <93C8F401-8CB2-4BAA-8568-5ED21126A21F@conundrum.com> On 26-Aug-2008, at 12:27 , Chandra Bahadur wrote: > How do I monitor the disk usage of remote servers ?? By either using check_by_ssh or with a remote agent like NRPE. The check_by_ssh method looks something like this: define command { command_name check_disk_remote command_line $USER1$/check_by_ssh -H $HOSTADDRESS$ -C "$USER1$/check_disk -w $ARG1$ -c $ARG2$ -p $ARG3$" } The documentation for check_by_ssh and check_disk should fill in the blanks as to what's happening there. HTH, Matt -------------- 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 agnello.dsouza at gmail.com Tue Aug 26 19:21:22 2008 From: agnello.dsouza at gmail.com (Agnello George) Date: Tue, 26 Aug 2008 22:51:22 +0530 Subject: monitoring disk usage of remote server In-Reply-To: <607784.70639.qm@web58807.mail.re1.yahoo.com> References: <607784.70639.qm@web58807.mail.re1.yahoo.com> Message-ID: <8c6878890808261021u6b3a8469ya59a9aeaa5ff6595@mail.gmail.com> On 8/26/08, Chandra Bahadur wrote: > > > Hi > I can check the disk usage locally with the command check_disk. But I need to monitor the disk usage of remote servers. Check_disk command doesn't have any option to specify the name of the remote server to be monitored... > > > How do I monitor the disk usage of remote servers ?? > Hey hi ! you could use snmp to do this . use te plugin from this website http://nagios.manubulon.com/snmp_storage.html All the best !! -- Regards Agnello D'souza www.linux-vashi.blogspot.com www.bible-study-india.blogspot.com ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Tue Aug 26 19:23:39 2008 From: marc at ena.com (Marc Powell) Date: Tue, 26 Aug 2008 12:23:39 -0500 Subject: More getting started problems In-Reply-To: <48B4369A.3060404@ameritech.net> References: <48B4369A.3060404@ameritech.net> Message-ID: On Aug 26, 2008, at 12:00 PM, scott wrote: > > In starting nagios on SuSE Linux 11.0, I get the following message: > > Checking misc settings... > Error: Unable to write to check_result_path > ('/var/lib/nagios/spool/checkresults') - No such file or directory > Lastly: > /var/lib/nagios/spool does not have a checkresults file. It's a directory -- (nagios.cfg) # CHECK RESULT PATH # This is directory where Nagios stores the results of host and # service checks that have not yet been processed. # # Note: Make sure that only one instance of Nagios has access # to this directory! check_result_path=/usr/local/nagios/var/spool/checkresults ---- 'make install', during your initial installation, should have created it. If you installed from a package, it would appear that your package maintainer might not be performing all necessary installation actions. You can create the directory by hand. It's typically mode 775, nagios:nagios I believe... as root -- mkdir -p /var/lib/nagios/spool/checkresults; chmod 755 /var/lib/nagios/ spool/checkresults; chown nagios:nagios /var/lib/nagios/spool/ checkresults -- 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 jrlang at uwyo.edu Tue Aug 26 20:38:05 2008 From: jrlang at uwyo.edu (jeffrey Lang) Date: Tue, 26 Aug 2008 12:38:05 -0600 Subject: monitoring disk usage of remote server In-Reply-To: <607784.70639.qm@web58807.mail.re1.yahoo.com> References: <607784.70639.qm@web58807.mail.re1.yahoo.com> Message-ID: <48B44D8D.1070205@uwyo.edu> One way i figured out how to do this is to setup CIFS/SMB and use check_disk_smb. Share the file system out with samba which is easy to setup. Just share out as read only and limit who can access the shares. Then use check_disk_smb to verify the disk usage. Chandra Bahadur wrote: > Hi > I can check the disk usage locally with the command check_disk. > But I need to monitor the disk usage of remote servers. Check_disk > command doesn't have any option to specify the name of the remote > server to be monitored... > > > How do I monitor the disk usage of remote servers ?? > > > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- A non-text attachment was scrubbed... Name: jrlang.vcf Type: text/x-vcard Size: 298 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 Charles.Breite at altertrading.com Tue Aug 26 22:33:44 2008 From: Charles.Breite at altertrading.com (Charles Breite) Date: Tue, 26 Aug 2008 15:33:44 -0500 Subject: %40 in acknowledgement In-Reply-To: <48B32409.5070506@vanderkooij.org> References: <5D490E0402B4D14F836B5C4436D5949A30E08A@VMEXCHANGE2.alterscrap.com> <48B32409.5070506@vanderkooij.org> Message-ID: <5D490E0402B4D14F836B5C4436D5949A30E1D5@VMEXCHANGE2.alterscrap.com> FireFox and IE are both doing it. The field is auto-populated by the user login info and Nagios itself. -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Hugo van der Kooij Sent: Monday, August 25, 2008 4:29 PM To: Nagios Users Mailinglist Subject: Re: [Nagios-users] %40 in acknowledgement -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Charles Breite wrote: > We are using Nagios 2.9 and when someone acknowledges an alert it > populates the Author(Your name) field with > > username%40domainname. This should be username at domainname.com > > Any ideas on how to make the @ appear properly? My guess would be that your webbrowser is converting the character. Which webbrowsers have you tried? 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) iD8DBQFIsyQHBvzDRVjxmYERAjgAAJ9BfZMHeJVegBLI8/qTwCxZaDizSQCdEl7a ucV93wGPuJCPQbfKSrpGafc= =97ka -----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 scarolan at gmail.com Tue Aug 26 23:08:25 2008 From: scarolan at gmail.com (Sean Carolan) Date: Tue, 26 Aug 2008 16:08:25 -0500 Subject: Admin user cannot view reports In-Reply-To: <277020fc0808060827s5a3ac8e4k47c7ce419062341d@mail.gmail.com> References: <277020fc0808060815q186f5d1cge494db273edf549b@mail.gmail.com> <277020fc0808060827s5a3ac8e4k47c7ce419062341d@mail.gmail.com> Message-ID: <277020fc0808261408n2201c1c0i36a7d112a9357f32@mail.gmail.com> On Wed, Aug 6, 2008 at 10:27 AM, Sean Carolan wrote: >> "It appears as though you are not authorized to view information for the specified service..." >> >> I am logged in as nagiosadmin, and as far as I can tell nagiosadmin is configured to have full access to everything in the cgi.cfg file. What am I doing wrong here? > > I have discovered that if I drill down from the "Service Detail" link, > and then click on the service, and finally "View availability report" > that I'm able to see one day's worth of data, but changing the time > frame to anything but the default gives me the same "not authorized" > error message. Very strange indeed. Is this a bug or a feature? Or > user error? Anyone have an idea how I can begin to troubleshoot this? I'd really like to look at some of my historical data, but can't do it even when logged in as nagiosadmin. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cammajkc at dfw.wa.gov Tue Aug 26 23:09:00 2008 From: cammajkc at dfw.wa.gov (Cammack, Jim (DFW)) Date: Tue, 26 Aug 2008 14:09:00 -0700 Subject: monitoring disk usage of remote server Message-ID: Chandra, >>> jeffrey Lang 08/26/2008 11:38:05 AM >>> One way i figured out how to do this is to setup CIFS/SMB and use check_disk_smb. Share the file system out with samba which is easy to setup. Just share out as read only and limit who can access the shares. Then use check_disk_smb to verify the disk usage. Chandra Bahadur wrote: Hi I can check the disk usage locally with the command check_disk. But I need to monitor the disk usage of remote servers. Check_disk command doesn't have any option to specify the name of the remote server to be monitored... How do I monitor the disk usage of remote servers ?? _____ I have SNMP running on the servers I want to check. The Nagios command I use is check_snmp_disk_monitor and it gives a response like /usr/local/groundwork/nagios/libexec/check_snmp_disk_monitor.pl -H aragorn.somewhere.wa.gov -t 30 -C notpublic -v -s -t 30 -m '/' mountpoint / has 16% used, 141426626560 bytes and 21926182912 used Disk OK - 16% used on /|/,141426626560,21926182912 You can find it in quite a few places on the web. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _____ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Aug 26 23:44:19 2008 From: webknowledge at gmail.com (Marcel) Date: Tue, 26 Aug 2008 18:44:19 -0300 Subject: Physical limitations of config files In-Reply-To: <200808220843.31055.assaf.flatto@ssp.uk.com> References: <20080822130709.V42806@mippet.ci.com.au> <200808220843.31055.assaf.flatto@ssp.uk.com> Message-ID: <2dfcbd1b0808261444g1c6f3a32pebda51dcc5426f83@mail.gmail.com> My central instance services.cfg has 13MB. Comprises about 15k services for ~4k hosts. On Fri, Aug 22, 2008 at 5:43 AM, Assaf Flatto wrote: > I've never encountered a size limit. > > and i encountered a configuration with one file with a size of 2.4 mb . > > Assaf > > > > On Friday 22 August 2008 03:09:10 Dave Horsfall wrote: > > Nagios 2.12. > > > > What are the limitations of the config files e.g. max. line length etc, > > and can they be continued? > > > > And is there a limit of the number of services/hostgroups/etc? > > > > > > > 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 rana at rocketmail.com Tue Aug 26 23:50:04 2008 From: rana at rocketmail.com (=?iso-8859-1?Q?Rigoberto_Berm=FAdez?=) Date: Tue, 26 Aug 2008 14:50:04 -0700 (PDT) Subject: problem with contact groups Message-ID: <196277.87289.qm@web38904.mail.mud.yahoo.com> hi! i'm using Nagios 2.11, i'm having a situation like this: server_A is in a remote location, notifications go to remote_admin, according to 'define host' section. Also, server_A and server_B belongs to 'oracle' group. There is a service check defined for the group 'oracle', called 'oracleUp' with notifications to oracle_admin now, the problem is that if 'oracleUp' goes to a hard fail then oracle_admin gets notified, but not remote_admin. I don't want to add remote_admin to the contacts of the group 'oracle', because then she would get server_B notifications too how could i configure the contacts to get what i want? thanks in advanced, Rigoberto ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mizuki0621 at gmail.com Wed Aug 27 00:06:24 2008 From: mizuki0621 at gmail.com (mizuki) Date: Tue, 26 Aug 2008 18:06:24 -0400 Subject: notification were not sent out for service recovery Message-ID: Hi, I am running nagios-2.10-2, time to time, I noticed that nagios detects the problem recovery for the service , change the state from Critical-> Ok for instance, but it does not send the notification out. Does anyone know about this problem? In the event log, I see it detected the state change: [08-25-2008 11:20:45] SERVICE ALERT: rldapxxx;LDAP;OK;SOFT;2;LDAP OK - 0.002 seconds response time [08-25-2008 11:19:45] SERVICE ALERT: rldapxxx;LDAP;CRITICAL;SOFT;1;Could not bind to the ldap-server this does not show in nagios.log and no notification has ever been sent out. Appreciate if anyone can advice. Mizuki -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Aug 27 03:57:44 2008 From: smcafee at collaborativefusion.com (Sean McAfee) Date: Tue, 26 Aug 2008 21:57:44 -0400 Subject: notification were not sent out for service recovery In-Reply-To: References: Message-ID: <48B4B498.7050309@collaborativefusion.com> mizuki wrote: > In the event log, I see it detected the state change: > > [08-25-2008 11:20:45] SERVICE ALERT: rldapxxx;LDAP;OK;SOFT;2;LDAP OK - > 0.002 seconds response time > [08-25-2008 11:19:45] SERVICE ALERT: rldapxxx;LDAP;CRITICAL;SOFT;1;Could > not bind to the ldap-server The key to alerts isn't the $SERVICESTATE$ (OK, CRITICAL, WARNING, UNKNOWN*) - it's $STATESTATETYPE$ (HARD or SOFT*). You never received an alert because it was only a SOFT failure. Assuming a default configuration, a check would have to fail 3 consecutive times (the default value for max_check_attempts) before a HARD failure occurs and the notification is made: "The decision to send out notifications is made...in the following instances: - When a hard state change occurs. More information on state types and hard state changes can be found here..." (http://nagios.sourceforge.net/docs/2_0/notifications.html) *Caps used to be consistent with the documentation, not as passive aggressive sarcastic emphasis. 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. **************************************************************** ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Aug 27 04:02:12 2008 From: smcafee at collaborativefusion.com (Sean McAfee) Date: Tue, 26 Aug 2008 22:02:12 -0400 Subject: problem with contact groups In-Reply-To: <196277.87289.qm@web38904.mail.mud.yahoo.com> References: <196277.87289.qm@web38904.mail.mud.yahoo.com> Message-ID: <48B4B5A4.10604@collaborativefusion.com> Rigoberto Berm?dez wrote: > server_A is in a remote location, notifications go to remote_admin, according to 'define host' section. > ... > There is a service check defined for the group 'oracle', called 'oracleUp' with notifications to oracle_admin Contacts for the host are only notified when a host goes UP/DOWN. Since you're looking to receive notifications on a service, remote_admin would also have to be defined as a contact in the oracleUp service defintion. 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. **************************************************************** ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Aug 27 04:07:44 2008 From: ssimmons at cymfony.com (Seth Simmons) Date: Tue, 26 Aug 2008 22:07:44 -0400 Subject: checks, notifications don't work after time period exception In-Reply-To: <3E18F891-01D7-430A-BD47-5FC74144D84E@nagios.org> References: <13F36D2926AD444697093282F20041B70780D7CE@buf-ex01.cymfony.com><13F36D2926AD444697093282F20041B70780D96E@buf-ex01.cymfony.com><2rf6b45ga9463t795gm7mphae6p6sh52g5@4ax.com><13F36D2926AD444697093282F20041B70780DAFA@buf-ex01.cymfony.com> <3E18F891-01D7-430A-BD47-5FC74144D84E@nagios.org> Message-ID: <13F36D2926AD444697093282F20041B70780DE03@buf-ex01.cymfony.com> This is interesting. I setup a test environment using only localhost. I created a similar time period as I have on my production box, adjusted the threshold on / free space to purposely generate a warning below 80% free. It did go to warning status at 15:18 within the exclusion of 15:00 to 15:30. It's now 22:05 and when I look at the details it hasn't sent any notifications - in other words it didn't start notifications after the exclusion period finished. Current Status: WARNING (for 0d 6h 45m 32s) Status Information: DISK WARNING - free space: / 13926 MB (79% inode=84%): Performance Data: /=3537MB;3679;5519;0;18399 Current Attempt: 2/2 (HARD state) Last Check Time: 08-26-2008 22:03:03 Check Type: ACTIVE Check Latency / Duration: 0.155 / 0.032 seconds Next Scheduled Check: 08-26-2008 22:04:03 Last State Change: 08-26-2008 15:18:03 Last Notification: N/A (notification 0) Is This Service Flapping? NO (0.00% state change) In Scheduled Downtime? NO Last Update: 08-26-2008 22:03:33 ( 0d 0h 0m 2s ago) -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Mark Young Sent: Tuesday, August 26, 2008 12:09 PM To: Nagios Users Mailinglist Subject: Re: [Nagios-users] checks,notifications don't work after time period exception On Aug 26, 2008, at 6:56 AM, Seth Simmons wrote: > I'll probably do away with the time exclusion as it still isn't > working. > I have one service that went critical during the exclusion which has a > 24x7 check but 4-5:30 notification exclusion and now I can't make it > send a notice. I disabled notifications for that service and enabled > again; also restarted Nagios and still won't send a notice. It's > configured to send on the second attempt and every hour after. You should be able to use timeperiods the way you would like to. I will have to setup my test environment to see if I get the same problem you are describing. It would be nice to figure this out. Is this a problem with other users? > Obsessing: ENABLED Are you passing andy ocsp_commands? http://nagios.sourceforge.net/docs/3_0/configmain.html#ocsp_command On Aug 25, 2008, at 6:28 PM, Jon Angliss wrote: > I had a similar issue. I tried excluding a time slot between 0300, and > 0600 due to large DB loads causing website performance issues > (backups, indexing, and such). When the start of the exception rolled > around, nagios would just stop checking that service, and would only > restart on a forced manual check, or restart of the nagios service. I > ended up changing the theory to continue checking 24x7, but only alert > when outside the exception. Not that it helps the issue, but it > stopped the symptoms. I never got around to really digging into the > issue any deeper. It did give me the added benefit of knowing when > the server was actually down during the maintenance window, and when > it was just being slow. This was handy for management purposes so > they could calculate if they need more head count. Hi Jon, So it was following your notification timeperiod but not your check timeperiod? Was version of Nagios were you running? Were you using the exclude function (new to nagios 3.x)? Nagios 3.x did add new functionality to timeperiods. It is possible that a bug was introduced. Mark Young ___ Nagios Enterprises, LLC Web: www.nagios.com ------------------------------------------------------------------------ - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From johnfm3 at hotmail.com Wed Aug 27 05:16:03 2008 From: johnfm3 at hotmail.com (John Moore) Date: Tue, 26 Aug 2008 20:16:03 -0700 Subject: Host-Notify-By-EMail vs Notify-By-Email Message-ID: Ok, I have Nagios 2.6, which is a installable RPM with SLES. I am trying to set up notifications, and its not working. I have nagiosQL running for setting up my configuration, and looking for information on the following... Whats the difference between Host-Notify-By-EMail & Notify-By-Email? Can a there be multiple emails per concact? Are they seperated by a comma, or each there own line? Do I have to setup a SMTP server to send email? I just want the notifications going to my comcast account and my cell phone via smtp. Thanks, John _________________________________________________________________ Talk to your Yahoo! Friends via Windows Live Messenger. Find out how. http://www.windowslive.com/explore/messenger?ocid=TXT_TAGLM_WL_messenger_yahoo_082008 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Aug 27 05:26:21 2008 From: tdondich at gmail.com (Taylor Dondich) Date: Tue, 26 Aug 2008 20:26:21 -0700 Subject: Lilac, a configuration tool for Nagios 3 now has an alpha release, testers wanted! Message-ID: <3d2eb72a0808262026h66b499d4pac636960f7bd79d4@mail.gmail.com> Lilac, a configuration tool which was derived from Fruity, a popular configuration tool for Nagios, has released it's first alpha release. This release can be downloaded to create new Nagios configurations and manage them. It supports all of Nagios's object types as well as multiple inheritance. Lilac goes a step further with templates and lets you bind services, escalations and dependencies to host templates as well. The alpha release features a rich exporter system as well. The first alpha release does not have a completed configuration importer (but does come with a basic Nagios configuration to start from), nor does it have the auto-discovery feature. Those will be provided in the next Alpha release. For now, Lilac needs people to test the functionality of the UI and file bug reports or feature requests to help make Lilac the best configuration tool out there for Nagios. For more information, take a look at the Lilac homepage at http://www.lilacplatform.com for download links, basic install documentation, forums, and issue tracking. Thanks all, and for those who knew about this project, it's been a long time coming! -- 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 ian at acces.co.jp Wed Aug 27 06:43:59 2008 From: ian at acces.co.jp (Ian Masters) Date: Wed, 27 Aug 2008 13:43:59 +0900 Subject: monitoring disk usage of remote server In-Reply-To: References: Message-ID: <48B4DB8F.1070407@acces.co.jp> > I can check the disk usage locally with the command check_disk. But I need to monitor the disk usage of remote servers. Check_disk command doesn't have any option to specify the name of the remote server to be monitored... Use the NRPE add-on: http://nagios.sourceforge.net/docs/3_0/monitoring-linux.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 joydeep at infoservices.in Wed Aug 27 06:50:16 2008 From: joydeep at infoservices.in (J. Bakshi) Date: Wed, 27 Aug 2008 10:20:16 +0530 Subject: how to monitor mysql and ssh in local localhost ? Message-ID: <48B4DD08.4080607@infoservices.in> Dear list, I am new to nagios and installed it yesterday. Woeking with nagios is a great pleasure. I am using nagios 2.12. I like to monitor mysql, ssh, openldap, smtp and pop in my localhost with nagios. To check mysql and ssh I have added the following at localhost.cfg ======================================================== # Define a service to check MYSQL define service{ use local-service ; Name of service template to use host_name localhost service_description MYSQL check_command check_mysql!root!admin } # Define a service to check SSH define service{ use local-service ; Name of service template to use host_name localhost service_description SSH check_command check_ssh!22!192.168.1.1 } ===================================================================== When I restart nagios it reports configuration error. What have I done wrong ? Please suggest. Thanks -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Joydeep Bakshi, Linux System Admin Kolkatainfoservices Pvt Ltd, 23A Royd Street, Kolkata 700016, India Work Phone 91 033 40014784 http://infoservices.in/ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Aug 27 07:56:15 2008 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Wed, 27 Aug 2008 07:56:15 +0200 Subject: how to monitor mysql and ssh in local localhost ? In-Reply-To: <48B4DD08.4080607@infoservices.in> References: <48B4DD08.4080607@infoservices.in> Message-ID: <48B4EC7F.4010808@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 J. Bakshi wrote: > I am new to nagios and installed it yesterday. > Woeking with nagios is a great pleasure. I am using nagios 2.12. > > I like to monitor mysql, ssh, openldap, smtp and pop in my localhost > with nagios. Just to be sure. Did you read the manual cover to cover? ... > When I restart nagios it reports configuration error. And how are we to guess what sort of error you get? What results did you get when you verified your configuration? 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) iD8DBQFItOx9BvzDRVjxmYERAgDXAKCmCPUuAcXXtF1vU/HnWUe9AB1NqgCfaR9B +x6TlTC3Wh5p6pGF4rAgHbU= =5rOf -----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 joydeep at infoservices.in Wed Aug 27 07:56:57 2008 From: joydeep at infoservices.in (J. Bakshi) Date: Wed, 27 Aug 2008 11:26:57 +0530 Subject: how to monitor mysql and ssh in local localhost ? In-Reply-To: <48B4DD08.4080607@infoservices.in> References: <48B4DD08.4080607@infoservices.in> Message-ID: <48B4ECA9.2040304@infoservices.in> J. Bakshi wrote: > Dear list, > > I am new to nagios and installed it yesterday. > Woeking with nagios is a great pleasure. I am using nagios 2.12. > > I like to monitor mysql, ssh, openldap, smtp and pop in my localhost > with nagios. > > To check mysql and ssh I have added the following at localhost.cfg > ======================================================== > # Define a service to check MYSQL > > define service{ > use local-service ; Name of > service template to use > host_name localhost > service_description MYSQL > check_command check_mysql!root!admin > } > > > # Define a service to check SSH > > define service{ > use local-service ; Name of > service template to use > host_name localhost > service_description SSH > check_command check_ssh!22!192.168.1.1 > } > ===================================================================== > > When I restart nagios it reports configuration error. > > What have I done wrong ? Please suggest. > Thanks > > A little success. This time I have no "configuration error" I have added the following in commands.cfg file =========================================== define command{ command_name check_ssh command_line $USER1$/check_ssh $ARG1$ $HOSTADDRESS$ } ========================================== The "define service" entry for SSH in localhost.cfg is ========================================= define service{ use local-service ; Name of service template to use host_name localhost service_description SSH check_command check_ssh!-t 5 -p 22 } ========================================= And the web interface is showing SSH OK :-) I like to monitor remote server also to check the services there. What should I do to monitor "Remote Linux Server" ? Please give me some hints. many thanks -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Joydeep Bakshi, Linux System Admin Kolkatainfoservices Pvt Ltd, 23A Royd Street, Kolkata 700016, India Work Phone 91 033 40014784 http://infoservices.in/ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From adesperateuser at googlemail.com Wed Aug 27 08:27:43 2008 From: adesperateuser at googlemail.com (Marcus) Date: Wed, 27 Aug 2008 08:27:43 +0200 Subject: how to monitor mysql and ssh in local localhost ? In-Reply-To: <48B4ECA9.2040304@infoservices.in> References: <48B4DD08.4080607@infoservices.in> <48B4ECA9.2040304@infoservices.in> Message-ID: <48B4F3DF.7010600@googlemail.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 J. Bakshi schrieb: > I like to monitor remote server also to check the services there. > What should I do to monitor "Remote Linux Server" ? Add a new host called "Remote Linux Server" to your config. Define the service you want to monitor on "Remote Linux Server". Make sure, the service relates to an existing command, or define a new command. Run a configcheck to see if there are errors. If none, restart nagios. > Please give me some hints. Please read the fabulous manual. > many thanks Never mind. Marcus -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFItPPf+qVaNRZYOakRAgEUAJoD4yhga8Uc/Sa4ZELiizlZjjeazQCePL9M Fn8QZEkiFn99sQUX+oTCOl0= =D4nx -----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 joydeep at infoservices.in Wed Aug 27 08:27:30 2008 From: joydeep at infoservices.in (J. Bakshi) Date: Wed, 27 Aug 2008 11:57:30 +0530 Subject: how to monitor mysql and ssh in local localhost ? In-Reply-To: <48B4F3DF.7010600@googlemail.com> References: <48B4DD08.4080607@infoservices.in> <48B4ECA9.2040304@infoservices.in> <48B4F3DF.7010600@googlemail.com> Message-ID: <48B4F3D2.1080608@infoservices.in> Marcus wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > J. Bakshi schrieb: > > >> I like to monitor remote server also to check the services there. >> What should I do to monitor "Remote Linux Server" ? >> > > Thanks a lot Marcus and have a great day > Add a new host called "Remote Linux Server" to your config. > Define the service you want to monitor on "Remote Linux Server". > Make sure, the service relates to an existing command, or define a new > command. > Run a configcheck to see if there are errors. If none, restart nagios. > > >> Please give me some hints. >> > Please read the fabulous manual. > > >> many thanks >> > Never mind. > > Marcus > > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.7 (MingW32) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iD8DBQFItPPf+qVaNRZYOakRAgEUAJoD4yhga8Uc/Sa4ZELiizlZjjeazQCePL9M > Fn8QZEkiFn99sQUX+oTCOl0= > =D4nx > -----END PGP SIGNATURE----- > > -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Joydeep Bakshi, Linux System Admin Kolkatainfoservices Pvt Ltd, 23A Royd Street, Kolkata 700016, India Work Phone 91 033 40014784 http://infoservices.in/ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tom.welsh at bt.com Wed Aug 27 08:52:21 2008 From: tom.welsh at bt.com (tom.welsh at bt.com) Date: Wed, 27 Aug 2008 07:52:21 +0100 Subject: Physical limitations of config files References: <20080822130709.V42806@mippet.ci.com.au><200808220843.31055.assaf.flatto@ssp.uk.com> <2dfcbd1b0808261444g1c6f3a32pebda51dcc5426f83@mail.gmail.com> Message-ID: <6546343904687E41B19D8E5A26AB9F5331B0F3@E03MVB2-UKBR.domain1.systemhost.net> Have you ever hit a limit of the number of hosts in a host or service check. -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net on behalf of Marcel Sent: Tue 26/08/2008 22:44 To: Assaf Flatto Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Physical limitations of config files My central instance services.cfg has 13MB. Comprises about 15k services for ~4k hosts. On Fri, Aug 22, 2008 at 5:43 AM, Assaf Flatto wrote: > I've never encountered a size limit. > > and i encountered a configuration with one file with a size of 2.4 mb . > > Assaf > > > > On Friday 22 August 2008 03:09:10 Dave Horsfall wrote: > > Nagios 2.12. > > > > What are the limitations of the config files e.g. max. line length etc, > > and can they be continued? > > > > And is there a limit of the number of services/hostgroups/etc? > > > > > > > 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 adesperateuser at googlemail.com Wed Aug 27 09:38:40 2008 From: adesperateuser at googlemail.com (Marcus) Date: Wed, 27 Aug 2008 09:38:40 +0200 Subject: How to monitor Equallogic PS SAN with snmp? In-Reply-To: <9179DC579128514D8035295BE49187E70FBB3511@mail2.fidelitynational.com> References: <9179DC579128514D8035295BE49187E70FBB3511@mail2.fidelitynational.com> Message-ID: <48B50480.9050801@googlemail.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Josh, Josh Wells schrieb: > I'm wanting to add monitoring of an equallogic PS series SAN to Nagios. > It is SNMP capable but I don't know much about SNMP. Can someone point > me in the right direction to learn how to do this? I'm curious to know > what can be monitored on the SAN through SNMP and how I would go about > setting it up with Nagios. Would I need an equallogic specific plugin > for Nagios? Thanks for any help. You have to check what exactly you want to monitor in your SAN, then find the according "OID" (Object ID) for that value. Then, make sure your nagios-server is "snmp-ready", by installing perl-Net-SNMP, and compile check_snmp. (Maybe you also need net-snmp and net-snmp-dev, I'm not quite sure.) Set a password (community-string) on your SAN for snmp-read. It might already be set to "public" (I personally don't like default passwords.) You might need a customized MIB for that device which you should probably get from the manufacterer or which is somewhere on the "Driver CD" for your SAN. (Read some documentation on MIBs: http://en.wikipedia.org/wiki/Management_information_base) The MIB should tell you, what can be monitored. If you have Hostname, OID and a valid password, as well as a working plugin (check_snmp), just stick to the documentation on http://nagiosplugins.org/man/check_snmp or have a look here (http://www.superk.org/index.php/Nagios_&_Windows#Monitoring_with_SNMP) for another example. You won't need an equallogic-specific plugin, thats the nice thing about snmp. You'll just have to define some custom commands and services for your equallogic stuff. Here is a mail-thread with some examples for a hp-device: http://www.mail-archive.com/nagios-users at lists.sourceforge.net/msg15150.html Hth, Marcus -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFItQSA+qVaNRZYOakRAiTaAJ9X0+odrY1u3h4f/gVBh2hGF4n0+wCdGcIT eMPEuD6ZyNN2w+i++NlgxPY= =kXJ8 -----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 treibholz at gmail.com Wed Aug 27 11:40:23 2008 From: treibholz at gmail.com (Klaus Umbach) Date: Wed, 27 Aug 2008 11:40:23 +0200 Subject: Checking Windows Services with stupid names. In-Reply-To: <48B2CD53.50701@medin.name> References: <92119d860808250344k442a3678pc4db980e04a980ba@mail.gmail.com> <48B2BD10.105@medin.name> <92119d860808250754s58ad2aa0gfc0adaaec7ac2850@mail.gmail.com> <48B2CD53.50701@medin.name> Message-ID: <92119d860808270240h5865faeas4a720359cf36b147@mail.gmail.com> > >> NRPE? To check a Windows-Box? No, that's not really funny... >> > huh? > Why not? > I'we always thought of NRPE to be vastly superior to the NSClient protocol > myself... > With NRPE you need a bunch of plugins on the client you are monitoring, with NSCA the standard-stuff is integrated. NRPE is much more configuration cost than NSCA/nsclient++, because you can't just aptitude install them. :-) - Klaus -- First Official Internetdenier -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From joydeep at infoservices.in Wed Aug 27 12:00:27 2008 From: joydeep at infoservices.in (J. Bakshi) Date: Wed, 27 Aug 2008 15:30:27 +0530 Subject: nrpe/nsca or check_by_ssh Message-ID: <48B525BB.2040100@infoservices.in> Dear list, I really need some suggestions/guideline regarding monitoring remote server by nagios. I have found three different ways to monitor remote hosts 1> NRPE 2> NSCA 3> check_by_ssh As I have already read at the manual that check_by_ssh gives load on the monitoring machine's CPU So the other alternative is either NRPE or NSCA. What is the difference between these two ? There are some manuals which may have some in depth details on these but I am locking for a direction/hints based on which my study will continue. Any hints/links/suggestion are always welcome. with best regards, -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Joydeep Bakshi, Linux System Admin Kolkatainfoservices Pvt Ltd, 23A Royd Street, Kolkata 700016, India Work Phone 91 033 40014784 http://infoservices.in/ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Aug 27 12:43:56 2008 From: ojan at gfi.fr (Olivier JAN) Date: Wed, 27 Aug 2008 12:43:56 +0200 Subject: nrpe/nsca or check_by_ssh In-Reply-To: <48B525BB.2040100@infoservices.in> References: <48B525BB.2040100@infoservices.in> Message-ID: <20080827124356.ix0w9ww8pw00wsc4@intra.expertise-online.net> Hi all, NRPE is for active checks and NSCA for passive ones. So you can use NRPE instead of SSH. Olivier Jan http://nagios-fr.org "J. Bakshi" a ?crit : > Dear list, > > I really need some suggestions/guideline regarding monitoring remote > server by nagios. > > I have found three different ways to monitor remote hosts > > 1> NRPE > 2> NSCA > 3> check_by_ssh > > As I have already read at the manual that check_by_ssh gives load on > the monitoring machine's CPU > So the other alternative is either NRPE or NSCA. What is the difference > between these two ? > There are some manuals which may have some in depth details on these but > I am locking for a direction/hints > based on which my study will continue. > Any hints/links/suggestion are always welcome. > > with best regards, > > -- > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Joydeep Bakshi, Linux System Admin > Kolkatainfoservices Pvt Ltd, > 23A Royd Street, Kolkata 700016, India > Work Phone 91 033 40014784 > http://infoservices.in/ > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 joydeep at infoservices.in Wed Aug 27 12:52:49 2008 From: joydeep at infoservices.in (J. Bakshi) Date: Wed, 27 Aug 2008 16:22:49 +0530 Subject: nrpe/nsca or check_by_ssh In-Reply-To: <20080827124356.ix0w9ww8pw00wsc4@intra.expertise-online.net> References: <48B525BB.2040100@infoservices.in> <20080827124356.ix0w9ww8pw00wsc4@intra.expertise-online.net> Message-ID: <48B53201.9030308@infoservices.in> Olivier JAN wrote: > Hi all, > > NRPE is for active checks and NSCA for passive ones. So you can use > NRPE instead of SSH. > > Thanks for your kind response. > Olivier Jan > http://nagios-fr.org > > "J. Bakshi" a ?crit : > > >> Dear list, >> >> I really need some suggestions/guideline regarding monitoring remote >> server by nagios. >> >> I have found three different ways to monitor remote hosts >> >> 1> NRPE >> 2> NSCA >> 3> check_by_ssh >> >> As I have already read at the manual that check_by_ssh gives load on >> the monitoring machine's CPU >> So the other alternative is either NRPE or NSCA. What is the difference >> between these two ? >> There are some manuals which may have some in depth details on these but >> I am locking for a direction/hints >> based on which my study will continue. >> Any hints/links/suggestion are always welcome. >> >> with best regards, >> >> -- >> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >> Joydeep Bakshi, Linux System Admin >> Kolkatainfoservices Pvt Ltd, >> 23A Royd Street, Kolkata 700016, India >> Work Phone 91 033 40014784 >> http://infoservices.in/ >> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >> >> >> ------------------------------------------------------------------------- >> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge >> Build the coolest Linux based applications with Moblin SDK & win great prizes >> Grand prize is a trip for two to an Open Source event anywhere in the world >> http://moblin-contest.org/redirect.php?banner_id=100&url=/ >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: 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 > > -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Joydeep Bakshi, Linux System Admin Kolkatainfoservices Pvt Ltd, 23A Royd Street, Kolkata 700016, India Work Phone 91 033 40014784 http://infoservices.in/ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From joydeep at infoservices.in Wed Aug 27 13:12:45 2008 From: joydeep at infoservices.in (J. Bakshi) Date: Wed, 27 Aug 2008 16:42:45 +0530 Subject: ADSL modem checking Message-ID: <48B536AD.4000109@infoservices.in> Hi all, nagios is running here at my local server with ssh,mysql,smtp,http monitoring. And now I like to use *nagios* to monitor my 2 ADSL modems. The environment is as below 1> my linux server has 3 lan crads eth0 ( connected with hub ) , eth1, eth2 2> There is an ADSL modem 220BX connected with eth1. ( 8MB connection used as primary ) This modem is providing Internet connection from provider1 (say) Another modem ADSL modem TAD100 connected with eth2. ( 512 KB connection used as backup ) This modem is providing Internet connection from provider2 (say) 3> simple check_ping to modem IP can monitor the accessibility to both the modem. BUT how can I check that the internet connection is really provided by the modems. simple ping to yahoo.com can't solve the problem as any one modem is used as default route at a particular time. How can I check the internet is really present on the other modem not used as default route ? In other words say eth1 is used as default route and the traffic is going through ADSL modem 220BX. Then How can I check that the internet connection is alive at eth2 ? Many thanks in advanced. -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Joydeep Bakshi, Linux System Admin Kolkatainfoservices Pvt Ltd, 23A Royd Street, Kolkata 700016, India Work Phone 91 033 40014784 http://infoservices.in/ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lists at truthisfreedom.org.uk Wed Aug 27 13:51:44 2008 From: lists at truthisfreedom.org.uk (Matthew Macdonald-Wallace) Date: Wed, 27 Aug 2008 12:51:44 +0100 Subject: Issues with Authentication in Nagios3 Message-ID: <20080827125144.59eb553f@tclmmw.in.tiger-computing.com> Hi all, I've just installed Nagios3 from Debian Backports onto a Debian Etch server. The system is running in an apache2-vhost and I can connect and view all of the CGIs without issue. When I try and view the status of any host or service (or indeed even the tac.cgi screen), I get the following error: ====================== It appears as though you do not have permission to view information for any of the hosts you requested... If you believe this is an error, check the HTTP server authentication requirements for accessing this CGI and check the authorization options in your CGI configuration file. ===================== I have basic auth setup in the vhost as follows: ============== ServerAdmin mmw at DOMAIN DocumentRoot /usr/share/nagios3/htdocs ServerName nagios.DOMAIN ErrorLog /var/log/apache2/nagios.DOMAIN-error.log CustomLog /var/log/apache2/nagios.DOMAIN-access.log combined ScriptAlias /cgi-bin/nagios3 /usr/lib/cgi-bin/nagios3 ScriptAlias /nagios3/cgi-bin /usr/lib/cgi-bin/nagios3 Options FollowSymLinks DirectoryIndex index.html AllowOverride AuthConfig Order Allow,Deny Allow From All AuthName "Nagios Access" AuthType Basic AuthUserFile /etc/nagios3/htpasswd.users require valid-user ============= When I try to access the site, I am prompted for the username and password. I enter this information and I gain access to the Nagios CGI scripts, however at the top of each screen, I am presented with the text "Logged in as ?" Does anyone have any ideas why this is happening? Thanks in advance, Matt. -- Matthew Macdonald-Wallace matthew at truthisfreedom.org.uk http://www.truthisfreedom.org.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 paul.weaver at bbc.co.uk Wed Aug 27 14:11:01 2008 From: paul.weaver at bbc.co.uk (Paul Weaver) Date: Wed, 27 Aug 2008 13:11:01 +0100 Subject: ADSL modem checking In-Reply-To: <48B536AD.4000109@infoservices.in> References: <48B536AD.4000109@infoservices.in> Message-ID: I don't have any pcs with default routes out of two network cards to test, but perhaps using "ping -I eth0 www.yahoo.co.uk" and "ping -I eth1 www.yahoo.co.uk" would work? -- Paul Weaver Systems Development Engineer News Production Facilities, BBC News Work: 020 822 58109 Room 1244 Television Centre, Wood Lane, London, W12 7RJ > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > Of J. Bakshi > Sent: 27 August 2008 12:13 > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] ADSL modem checking > > > Hi all, > > nagios is running here at my local server with > ssh,mysql,smtp,http monitoring. > > And now I like to use *nagios* to monitor my 2 ADSL modems. > > The environment is as below > > 1> my linux server has 3 lan crads eth0 ( connected with > hub ) , eth1, eth2 > > 2> There is an ADSL modem 220BX connected with eth1. ( > 8MB connection used as primary ) > This modem is providing Internet connection from > provider1 (say) > > Another modem ADSL modem TAD100 connected with eth2. > ( 512 KB connection used as backup ) > This modem is providing Internet connection from > provider2 (say) > > 3> simple check_ping to modem IP can monitor the > accessibility to both > the modem. BUT how can I check that the internet connection > is really > provided by the modems. simple ping to yahoo.com can't solve > the problem as any one modem is used as default route at a > particular time. How can I check the internet is really > present on the other modem not used as default route ? In > other words say eth1 is used as default route and the traffic > is going through ADSL modem 220BX. Then How can I check that > the internet connection is alive at eth2 ? > > Many thanks in advanced. > > -- > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Joydeep Bakshi, Linux System Admin > Kolkatainfoservices Pvt Ltd, > 23A Royd Street, Kolkata 700016, India > Work Phone 91 033 40014784 > http://infoservices.in/ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > -------------------------------------------------------------- > ----------- > This SF.Net email is sponsored by the Moblin Your Move > Developer's challenge Build the coolest Linux based > applications with Moblin SDK & win great prizes Grand prize > is a trip for two to an Open Source event anywhere in the > world http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > http://www.bbc.co.uk/ This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated. If you have received it in error, please delete it from your system. Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately. Please note that the BBC monitors e-mails sent or received. Further communication will signify your consent to this. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From diegorsaavedra at gmail.com Wed Aug 27 14:15:10 2008 From: diegorsaavedra at gmail.com (Diego Saavedra) Date: Wed, 27 Aug 2008 09:15:10 -0300 Subject: Problems with Nagios 3.0rc1 and NDOMOD 1.4b7 Message-ID: Hello! Sorry for my bad English. I have installed Nagios Version 3.0rc1 and NDOMOD 1.4b7. When I restart Nagios occurs as follows: [08-27-2008 09:05:39] Nagios 3.0rc1 starting... (PID=13053) [08-27-2008 09:05:39] Local time is Wed Aug 27 09:05:39 ART 2008 [08-27-2008 09:05:39] LOG VERSION: 2.0 [08-27-2008 09:05:39] ndomod: NDOMOD 1.4b7 (10-31-2007) Copyright (c) 2005-2007 Ethan Galstad (nagios at nagios.org) [08-27-2008 09:05:39] ndomod: Successfully connected to data sink. 2 queued items to flush. [08-27-2008 09:05:39] ndomod: Successfully flushed 2 queued items to data sink. [08-27-2008 09:05:39] Event broker module '/usr/local/nagios/bin/ndomod-3x.o' initialized successfully. [08-27-2008 09:05:39] Finished daemonizing... (New PID=13055) The problem is that not write anything on the MYSQL database. I read that it might be a problem of compatibility of versions but I do not believe that. Thanks in advance. Greetings. --------------------------------------------- Lic. Diego Saavedra Operador NOC ARIU - Red de Interconexion Universitaria Buenos Aires - Argentina --------------------------------------------- -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From josh.wells at lionbank.com Wed Aug 27 14:17:38 2008 From: josh.wells at lionbank.com (Josh Wells) Date: Wed, 27 Aug 2008 08:17:38 -0400 Subject: How to monitor Equallogic PS SAN with snmp? In-Reply-To: <48B50480.9050801@googlemail.com> References: <9179DC579128514D8035295BE49187E70FBB3511@mail2.fidelitynational.com> <48B50480.9050801@googlemail.com> Message-ID: <9179DC579128514D8035295BE49187E70FBB351A@mail2.fidelitynational.com> Thanks for the help Marcus. One last question, how do I find an OID? Are these standardized values defined by the SNMP protocol or are they device specific? -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Marcus Sent: Wednesday, August 27, 2008 3:39 AM To: nagios Subject: Re: [Nagios-users] How to monitor Equallogic PS SAN with snmp? -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Josh, Josh Wells schrieb: > I'm wanting to add monitoring of an equallogic PS series SAN to Nagios. > It is SNMP capable but I don't know much about SNMP. Can someone point > me in the right direction to learn how to do this? I'm curious to know > what can be monitored on the SAN through SNMP and how I would go about > setting it up with Nagios. Would I need an equallogic specific plugin > for Nagios? Thanks for any help. You have to check what exactly you want to monitor in your SAN, then find the according "OID" (Object ID) for that value. Then, make sure your nagios-server is "snmp-ready", by installing perl-Net-SNMP, and compile check_snmp. (Maybe you also need net-snmp and net-snmp-dev, I'm not quite sure.) Set a password (community-string) on your SAN for snmp-read. It might already be set to "public" (I personally don't like default passwords.) You might need a customized MIB for that device which you should probably get from the manufacterer or which is somewhere on the "Driver CD" for your SAN. (Read some documentation on MIBs: http://en.wikipedia.org/wiki/Management_information_base) The MIB should tell you, what can be monitored. If you have Hostname, OID and a valid password, as well as a working plugin (check_snmp), just stick to the documentation on http://nagiosplugins.org/man/check_snmp or have a look here (http://www.superk.org/index.php/Nagios_&_Windows#Monitoring_with_SNMP) for another example. You won't need an equallogic-specific plugin, thats the nice thing about snmp. You'll just have to define some custom commands and services for your equallogic stuff. Here is a mail-thread with some examples for a hp-device: http://www.mail-archive.com/nagios-users at lists.sourceforge.net/msg15150. html Hth, Marcus -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFItQSA+qVaNRZYOakRAiTaAJ9X0+odrY1u3h4f/gVBh2hGF4n0+wCdGcIT eMPEuD6ZyNN2w+i++NlgxPY= =kXJ8 -----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 joydeep at infoservices.in Wed Aug 27 14:12:34 2008 From: joydeep at infoservices.in (J. Bakshi) Date: Wed, 27 Aug 2008 17:42:34 +0530 Subject: ADSL modem checking In-Reply-To: References: Message-ID: <48B544B2.1070406@infoservices.in> Paul Weaver wrote: > I don't have any pcs with default routes out of two network cards to > test, but perhaps using "ping -I eth0 www.yahoo.co.uk" and "ping -I eth1 > www.yahoo.co.uk" would work? > Hi Paul, Thanks for your response. I have a script which actually change the default route to other lan card when the present lan card i.e. the modem connected with it not providing the internet. The command you have mentioned is also check the internet forcefully from the lan card. but it would be nice if check_ping could do the same. thanks > -- > Paul Weaver > Systems Development Engineer > News Production Facilities, BBC News > Work: 020 822 58109 > Room 1244 Television Centre, > Wood Lane, London, W12 7RJ > > > > >> -----Original Message----- >> From: nagios-users-bounces at lists.sourceforge.net >> [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf >> Of J. Bakshi >> Sent: 27 August 2008 12:13 >> To: nagios-users at lists.sourceforge.net >> Subject: [Nagios-users] ADSL modem checking >> >> >> Hi all, >> >> nagios is running here at my local server with >> ssh,mysql,smtp,http monitoring. >> >> And now I like to use *nagios* to monitor my 2 ADSL modems. >> >> The environment is as below >> >> 1> my linux server has 3 lan crads eth0 ( connected with >> hub ) , eth1, eth2 >> >> 2> There is an ADSL modem 220BX connected with eth1. ( >> 8MB connection used as primary ) >> This modem is providing Internet connection from >> provider1 (say) >> >> Another modem ADSL modem TAD100 connected with eth2. >> ( 512 KB connection used as backup ) >> This modem is providing Internet connection from >> provider2 (say) >> >> 3> simple check_ping to modem IP can monitor the >> accessibility to both >> the modem. BUT how can I check that the internet connection >> is really >> provided by the modems. simple ping to yahoo.com can't solve >> the problem as any one modem is used as default route at a >> particular time. How can I check the internet is really >> present on the other modem not used as default route ? In >> other words say eth1 is used as default route and the traffic >> is going through ADSL modem 220BX. Then How can I check that >> the internet connection is alive at eth2 ? >> >> Many thanks in advanced. >> >> -- >> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >> Joydeep Bakshi, Linux System Admin >> Kolkatainfoservices Pvt Ltd, >> 23A Royd Street, Kolkata 700016, India >> Work Phone 91 033 40014784 >> http://infoservices.in/ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >> >> >> -------------------------------------------------------------- >> ----------- >> This SF.Net email is sponsored by the Moblin Your Move >> Developer's challenge Build the coolest Linux based >> applications with Moblin SDK & win great prizes Grand prize >> is a trip for two to an Open Source event anywhere in the >> world http://moblin-contest.org/redirect.php?banner_id=100&url=/ >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS >> when reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> >> > > http://www.bbc.co.uk/ > This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated. > If you have received it in error, please delete it from your system. > Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately. > Please note that the BBC monitors e-mails sent or received. > Further communication will signify your consent to this. > > > -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Joydeep Bakshi, Linux System Admin Kolkatainfoservices Pvt Ltd, 23A Royd Street, Kolkata 700016, India Work Phone 91 033 40014784 http://infoservices.in/ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Aug 27 14:18:59 2008 From: smcafee at collaborativefusion.com (Sean McAfee) Date: Wed, 27 Aug 2008 08:18:59 -0400 Subject: Issues with Authentication in Nagios3 In-Reply-To: <20080827125144.59eb553f@tclmmw.in.tiger-computing.com> References: <20080827125144.59eb553f@tclmmw.in.tiger-computing.com> Message-ID: <48B54633.1050504@collaborativefusion.com> Matthew Macdonald-Wallace wrote: > > When I try to access the site, I am prompted for the username and > password. I enter this information and I gain access to the Nagios CGI > scripts, however at the top of each screen, I am presented with the > text "Logged in as ?" > > Does anyone have any ideas why this is happening Assuming you're trying to use a username other than nagioadmin, you should look at the authorized_for_* directives in cgi.cfg (detailed in the "Granting Additional Permissions To CGI Information" section on http://nagios.sourceforge.net/docs/3_0/cgiauth.html). By default these are defined to only permit the nagiosadmin user. If you'd like to allow anyone authorized by apache's htaccess, specify a wildcard (*). 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 Sascha.Runschke at gfkl.com Wed Aug 27 14:22:24 2008 From: Sascha.Runschke at gfkl.com (Sascha.Runschke at gfkl.com) Date: Wed, 27 Aug 2008 14:22:24 +0200 Subject: Antwort: Problems with Nagios 3.0rc1 and NDOMOD 1.4b7 In-Reply-To: References: Message-ID: nagios-users-bounces at lists.sourceforge.net schrieb am 27.08.2008 14:15:10: > The problem is that not write anything on the MYSQL database. I read > that it might be a problem of compatibility of versions but I do not > believe that. 3.0rc1 works with NDO 1.47b, but I fail to see why someone would want to use an outdated pre-release version... To me it looks like the nagios->ndo connection works, but the ndo->mysql connection not. Check your ndo2db Logs if there are any problems reported. If not, try to enable debuglogging in ndo2db. Regards Sascha -- Sascha Runschke IT-Infrastruktur GFKL Financial Services AG Limbecker Platz 1 45127 Essen Telefon : +49 (201) 102-1879 Mobil : +49 (173) 5419665 Fax : +49 (201) 102-1102105 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 lists at truthisfreedom.org.uk Wed Aug 27 14:27:48 2008 From: lists at truthisfreedom.org.uk (Matthew Macdonald-Wallace) Date: Wed, 27 Aug 2008 13:27:48 +0100 Subject: Issues with Authentication in Nagios3 In-Reply-To: <48B54633.1050504@collaborativefusion.com> References: <20080827125144.59eb553f@tclmmw.in.tiger-computing.com> <48B54633.1050504@collaborativefusion.com> Message-ID: <20080827132748.0e42a61a@tclmmw.in.tiger-computing.com> On Wed, 27 Aug 2008 08:18:59 -0400 Sean McAfee wrote: > Assuming you're trying to use a username other than nagioadmin, you > should look at the authorized_for_* directives in cgi.cfg (detailed > in the "Granting Additional Permissions To CGI Information" section > on http://nagios.sourceforge.net/docs/3_0/cgiauth.html). > > By default these are defined to only permit the nagiosadmin user. If > you'd like to allow anyone authorized by apache's htaccess, specify a > wildcard (*). Thanks Sean, however I am trying to use the nagiosadmin user to access the system. There are no errors in the apache2 logs to show that authentication has failed. M. -- Matthew Macdonald-Wallace matthew at truthisfreedom.org.uk http://www.truthisfreedom.org.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 paul.weaver at bbc.co.uk Wed Aug 27 14:32:25 2008 From: paul.weaver at bbc.co.uk (Paul Weaver) Date: Wed, 27 Aug 2008 13:32:25 +0100 Subject: ADSL modem checking In-Reply-To: <48B544B2.1070406@infoservices.in> References: <48B544B2.1070406@infoservices.in> Message-ID: > Paul Weaver wrote: > > I don't have any pcs with default routes out of two network > cards to > > test, but perhaps using "ping -I eth0 www.yahoo.co.uk" and "ping -I > > eth1 www.yahoo.co.uk" would work? > > > > Hi Paul, > > Thanks for your response. I have a script which actually > change the default route to other lan card when the present > lan card i.e. the modem connected with it not providing the > internet. The command you have mentioned is also check the > internet forcefully from the lan card. > > but it would be nice if check_ping could do the same. > thanks Ahh well, you're asking the wrong person. At the first sign of trouble with standard plugins, I wrap a perl script arround whatever commands I do the check with -- I did a similar thing when I wasnted to force checks of 8000 byte non-fragmented pings. http://www.bbc.co.uk/ This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated. If you have received it in error, please delete it from your system. Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately. Please note that the BBC monitors e-mails sent or received. Further communication will signify your consent to this. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lists at truthisfreedom.org.uk Wed Aug 27 14:35:35 2008 From: lists at truthisfreedom.org.uk (Matthew Macdonald-Wallace) Date: Wed, 27 Aug 2008 13:35:35 +0100 Subject: ADSL modem checking In-Reply-To: <48B544B2.1070406@infoservices.in> References: <48B544B2.1070406@infoservices.in> Message-ID: <20080827133535.32546fcb@tclmmw.in.tiger-computing.com> On Wed, 27 Aug 2008 17:42:34 +0530 "J. Bakshi" wrote: > Thanks for your response. I have a script which actually change the > default route to other lan card when the present lan card i.e. the > modem connected with it not providing the internet. The command you > have mentioned is also check the internet forcefully from the lan > card. Why not have this script touch a file when it changes the "current" interface (something like /var/tmp/eth0 or /var/tmp/eth1) and then write a basic plugin to read the file and set the Nagios status accordingly? M. -- Matthew Macdonald-Wallace matthew at truthisfreedom.org.uk http://www.truthisfreedom.org.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 paul.weaver at bbc.co.uk Wed Aug 27 14:38:19 2008 From: paul.weaver at bbc.co.uk (Paul Weaver) Date: Wed, 27 Aug 2008 13:38:19 +0100 Subject: (Nagios-Ping) In-Reply-To: <48B18371.5070302@vanderkooij.org> References: <48B18371.5070302@vanderkooij.org> Message-ID: > > Does anyone have this issue like me? > > > > Additional Info: > > > > PING WARNING - DUPLICATES FOUND! Packet loss = 0%, RTA = 1.61 ms > > The obvious question to answer: What happens if you ping from > the nagios server by hand? If that results in duplicates as > well then Nagios is doing just fine and you have a network > problem to solve. > > Duplicate replies can come from 2 systems having the same > address, faulty clusters duplicating packets, using > broadcasts addresses which makes every system in the > neighborhood react, faulty switches, ...... I ping about 150 servers, and I rarely get this DUPLICATES FOUND warning. But I do. It's limited to devices on a given subnet (which is a different subnet to the one nagios is on), and it's not readilly repeatable. At bad times I might get one duplicate every 250 pings, which are spread out over about 4 hours (5 pings per check, 15 checks per hour when all OK). It rarely goes into a hard state, which requires duplicated over a 90 second period. As it's the same subnet, I put it down to a network fault -- perhaps due to the multiple paths between the nagios network and this device network. http://www.bbc.co.uk/ This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated. If you have received it in error, please delete it from your system. Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately. Please note that the BBC monitors e-mails sent or received. Further communication will signify your consent to this. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From joydeep at infoservices.in Wed Aug 27 14:35:18 2008 From: joydeep at infoservices.in (J. Bakshi) Date: Wed, 27 Aug 2008 18:05:18 +0530 Subject: ADSL modem checking In-Reply-To: References: Message-ID: <48B54A06.2080201@infoservices.in> Paul Weaver wrote: >> Paul Weaver wrote: >> >>> I don't have any pcs with default routes out of two network >>> >> cards to >> >>> test, but perhaps using "ping -I eth0 www.yahoo.co.uk" and "ping -I >>> eth1 www.yahoo.co.uk" would work? >>> >>> >> Hi Paul, >> >> Thanks for your response. I have a script which actually >> change the default route to other lan card when the present >> lan card i.e. the modem connected with it not providing the >> internet. The command you have mentioned is also check the >> internet forcefully from the lan card. >> >> but it would be nice if check_ping could do the same. >> thanks >> > > Ahh well, you're asking the wrong person. At the first sign of trouble > with standard plugins, I wrap a perl script arround whatever commands I > do the check with -- I did a similar thing when I wasnted to force > checks of 8000 byte non-fragmented pings. > > http://www.bbc.co.uk/ > This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated. > If you have received it in error, please delete it from your system. > Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately. > Please note that the BBC monitors e-mails sent or received. > Further communication will signify your consent to this. > > > Ok, so ping_check is a ping command with standard features. I would be grateful to you if you give me 1 more suggestions 1> How can I check a different IP with check_ping command. I have tried as below with no success check_ping -H gmail.com!100.0,20%!500.0,60% with best regards -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Joydeep Bakshi, Linux System Admin Kolkatainfoservices Pvt Ltd, 23A Royd Street, Kolkata 700016, India Work Phone 91 033 40014784 http://infoservices.in/ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Aug 27 14:45:22 2008 From: marc at ena.com (Marc Powell) Date: Wed, 27 Aug 2008 07:45:22 -0500 Subject: nrpe/nsca or check_by_ssh In-Reply-To: <48B525BB.2040100@infoservices.in> References: <48B525BB.2040100@infoservices.in> Message-ID: <7FCC4568-B55E-405C-8B27-92E0FF994C39@ena.com> On Aug 27, 2008, at 5:00 AM, J. Bakshi wrote: > Dear list, > > I really need some suggestions/guideline regarding monitoring remote > server by nagios. > > I have found three different ways to monitor remote hosts > > 1> NRPE > 2> NSCA > 3> check_by_ssh > > As I have already read at the manual that check_by_ssh gives load on > the monitoring machine's CPU check_by_ssh can be used to run any nagios plugin on remote unix-like hosts, not just check_load. The plugin must be installed on the remote host. > So the other alternative is either NRPE or NSCA. What is the > difference > between these two ? check_nrpe (from NRPE) is used to initiate an active check from the nagios machine. It is called by nagios much like a normal plugin but it works differently. check_nrpe contacts the nrpe daemon running on a remote host and asks it to run a pre-configured check command and returns the results to nagios. NSCA is used when a passive check is initiated from a remote host. A wrapper script on a remote host, called by cron or some other method, executes a plugin there and passes the results to the send_nsca program. send_nsca contacts the nsca daemon on the nagios machine which passes the results of the check to nagios. HTH, 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 Wed Aug 27 14:49:59 2008 From: jpaulus at sourceinterlink.com (Paulus, Jake) Date: Wed, 27 Aug 2008 08:49:59 -0400 Subject: (Nagios-Ping) In-Reply-To: References: <48B18371.5070302@vanderkooij.org> Message-ID: <79B77295FBC9F247A32A6C98B67B1E140193AB32@srv-1exch01.sourceinterlink.com> I have this issue as well. In my case I believe it exists because servers are improperly multi-homed; this is a server configuration problem, not a network one. I have brought this issue to the server administrator's attention and they are unaware of any impact (probably because TCP retries are hiding this) it causes to users and so have chosen to take no action. -Jake -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Paul Weaver Sent: Wednesday, August 27, 2008 8:38 AM To: Nagios Users Mailinglist Subject: Re: [Nagios-users] (Nagios-Ping) > > Does anyone have this issue like me? > > > > Additional Info: > > > > PING WARNING - DUPLICATES FOUND! Packet loss = 0%, RTA = 1.61 ms > > The obvious question to answer: What happens if you ping from > the nagios server by hand? If that results in duplicates as > well then Nagios is doing just fine and you have a network > problem to solve. > > Duplicate replies can come from 2 systems having the same > address, faulty clusters duplicating packets, using > broadcasts addresses which makes every system in the > neighborhood react, faulty switches, ...... I ping about 150 servers, and I rarely get this DUPLICATES FOUND warning. But I do. It's limited to devices on a given subnet (which is a different subnet to the one nagios is on), and it's not readilly repeatable. At bad times I might get one duplicate every 250 pings, which are spread out over about 4 hours (5 pings per check, 15 checks per hour when all OK). It rarely goes into a hard state, which requires duplicated over a 90 second period. As it's the same subnet, I put it down to a network fault -- perhaps due to the multiple paths between the nagios network and this device network. http://www.bbc.co.uk/ This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated. If you have received it in error, please delete it from your system. Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately. Please note that the BBC monitors e-mails sent or received. Further communication will signify your consent to this. ------------------------------------------------------------------------ - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 Aug 27 14:52:53 2008 From: marc at ena.com (Marc Powell) Date: Wed, 27 Aug 2008 07:52:53 -0500 Subject: Issues with Authentication in Nagios3 In-Reply-To: <20080827125144.59eb553f@tclmmw.in.tiger-computing.com> References: <20080827125144.59eb553f@tclmmw.in.tiger-computing.com> Message-ID: <16109408-8C30-4221-AEA9-9E4EBCB97170@ena.com> On Aug 27, 2008, at 6:51 AM, Matthew Macdonald-Wallace wrote: > > I have basic auth setup in the vhost as follows: > > ============== > > > ServerAdmin mmw at DOMAIN > DocumentRoot /usr/share/nagios3/htdocs > > ServerName nagios.DOMAIN > > ErrorLog /var/log/apache2/nagios.DOMAIN-error.log > CustomLog /var/log/apache2/nagios.DOMAIN-access.log > combined > > ScriptAlias /cgi-bin/nagios3 /usr/lib/cgi-bin/nagios3 > ScriptAlias /nagios3/cgi-bin /usr/lib/cgi-bin/nagios3 > > > Options FollowSymLinks > > DirectoryIndex index.html > > AllowOverride AuthConfig > Order Allow,Deny > Allow From All > > AuthName "Nagios Access" > AuthType Basic > AuthUserFile /etc/nagios3/htpasswd.users > require valid-user > > > ============= > > When I try to access the site, I am prompted for the username and > password. I enter this information and I gain access to the Nagios > CGI > scripts, however at the top of each screen, I am presented with the > text "Logged in as ?" > > Does anyone have any ideas why this is happening? You have not fully configured authentication. You are being prompted to log in, but only to access the left frame menu (htdocs directory). The CGI's are not in that directory so they do not see the authentication information. Since it's the CGI's that must see the authentication, nagios correctly believes you have not logged in. You must configure a section as above for the /usr/lib/ cgi-bin/nagios3 directory. I am presuming that path is correct based on what you've provided above. -- Marc ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Wed Aug 27 14:56:25 2008 From: marc at ena.com (Marc Powell) Date: Wed, 27 Aug 2008 07:56:25 -0500 Subject: How to monitor Equallogic PS SAN with snmp? In-Reply-To: <9179DC579128514D8035295BE49187E70FBB351A@mail2.fidelitynational.com> References: <9179DC579128514D8035295BE49187E70FBB3511@mail2.fidelitynational.com> <48B50480.9050801@googlemail.com> <9179DC579128514D8035295BE49187E70FBB351A@mail2.fidelitynational.com> Message-ID: <916FB166-3506-40F5-BFFE-85E344BE7652@ena.com> On Aug 27, 2008, at 7:17 AM, Josh Wells wrote: > Thanks for the help Marcus. One last question, how do I find an OID? > Are > these standardized values defined by the SNMP protocol or are they > device specific? Both. There are standard OID's for things like cpu, memory and interface utilization and vendor specific attributes for items specific to the device. Your device vendor should be able to provide you with a listing or you may be able to find it at someplace like mibdepot. -- 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 Wed Aug 27 14:56:58 2008 From: adesperateuser at googlemail.com (Marcus) Date: Wed, 27 Aug 2008 14:56:58 +0200 Subject: How to monitor Equallogic PS SAN with snmp? In-Reply-To: <9179DC579128514D8035295BE49187E70FBB351A@mail2.fidelitynational.com> References: <9179DC579128514D8035295BE49187E70FBB3511@mail2.fidelitynational.com> <48B50480.9050801@googlemail.com> <9179DC579128514D8035295BE49187E70FBB351A@mail2.fidelitynational.com> Message-ID: <48B54F1A.7050005@googlemail.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Josh, Josh Wells schrieb: > Thanks for the help Marcus. One last question, how do I find an OID? Are > these standardized values defined by the SNMP protocol or are they > device specific? There are standards, how to define OIDs in MIBs. Every manufacturer who builds a device can define his own OIDs and put them in a so called MIB for that device. There is also a standard-MIB (called MIB2), which defines common stuff. Take a look here: http://www.et.put.poznan.pl/snmp/mib2/mib2.html What you need to do, in order to determine, what information you can get from your SNMP-capable device (your SAN), is to use some sort of MIB-browser (either graphical or console-based), feed it with the MIB of the device you want to monitor, and browse the OID-tree. The MIB translates those weird rows of dots and numbers into something human-readable. (OID 1.3.6.1.2.1.2.2.1.2 could be an interface description, for example.) Here is a page with a couple of snmp-tools: ;-) http://www.snmplink.org/snmpsoftware/forenduser/#6 This MIB-Browser is free and multiplatform (Java): http://www.dwipal.com/mibbrowser.htm Read the docs to learn how to load the MIB of your Equallogic-Device into the program. Greetz, Marcus -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFItU8a+qVaNRZYOakRAtuaAKCLTRsISEwlAO8TXa8axM3mDUONmwCfQGvJ xSTCGAGPJOv3HIV0qtIKk4U= =sP7H -----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 paul.weaver at bbc.co.uk Wed Aug 27 14:59:44 2008 From: paul.weaver at bbc.co.uk (Paul Weaver) Date: Wed, 27 Aug 2008 13:59:44 +0100 Subject: (Nagios-Ping) In-Reply-To: <79B77295FBC9F247A32A6C98B67B1E140193AB32@srv-1exch01.sourceinterlink.com> References: <79B77295FBC9F247A32A6C98B67B1E140193AB32@srv-1exch01.sourceinterlink.com> Message-ID: > From: Paulus, Jake [mailto:jpaulus at sourceinterlink.com] > Sent: 27 August 2008 13:50 > To: Paul Weaver; Nagios Users Mailinglist > Subject: RE: [Nagios-users] (Nagios-Ping) > > I have this issue as well. In my case I believe it exists > because servers are improperly multi-homed; this is a server > configuration problem, not a network one. I have brought this > issue to the server administrator's attention and they are > unaware of any impact (probably because TCP retries are > hiding this) it causes to users and so have chosen to take no action. > > -Jake I'd be tempted to believe this is the case in two of the worst offenders -- both outside provided machines -- but one of the machines only has a single connection to a switch, so the compass swings back to some OSPF/HSRP issue. As to people ignoring issues that TCP hides, we have that problem. A friend from a fairly large company was suffering from a 3% packet loss on one switch last week, which caused havoc with a UDP based system they had. The network guys refused to believe there was a problem because outlook was still working (even 80% packet loss doesn't affect exchange -- it's slow and crashy enough anyway) http://www.bbc.co.uk/ This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated. If you have received it in error, please delete it from your system. Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately. Please note that the BBC monitors e-mails sent or received. Further communication will signify your consent to this. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Aug 27 15:01:58 2008 From: smcafee at collaborativefusion.com (Sean McAfee) Date: Wed, 27 Aug 2008 09:01:58 -0400 Subject: ADSL modem checking In-Reply-To: <48B54A06.2080201@infoservices.in> References: <48B54A06.2080201@infoservices.in> Message-ID: <48B55046.30806@collaborativefusion.com> J. Bakshi wrote: > Ok, so ping_check is a ping command with standard features. > > I would be grateful to you if you give me 1 more suggestions > > 1> How can I check a different IP with check_ping command. I have tried > as below with no success > check_ping -H gmail.com!100.0,20%!500.0,60% The !-separated argument syntax is only used to fill in arguments for predefined checks. When running checks from the command line, switches must be specified before most arguments. From check_ping --help: Usage:check_ping -H -w ,% -c ,% [-p packets] [-t timeout] [-4|-6] If you look at the command definition, you'll see how each !-separated argument actually translates into the required switch + argument pair: define command{ command_name check_ping command_line $USER1$/check_ping -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ -p 5 } What you're looking for is `check_ping -H gmail.com -w 100.0,20% -c 500.0,60% -p 5` (the -p switch is optional, but specifies the amount of icmp packets to send - after all, what good is a single ping?) If you're trying to configure a check where a host will ping an arbitrary external host, remember that the $HOSTADDRESS$ macro will always be filled in with the host_name or host_address of the service. To get around that, define a new check along the lines of: define command{ command_name check_ping_external command_line $USER1$/check_ping -H $ARG1$ -w $ARG2$ -c $ARG3$ -p 5 } and then use: check_command check_ping_external!www.gmail.com!100.0,20%!500.0,60% in your service check definition. 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 lists at truthisfreedom.org.uk Wed Aug 27 15:03:14 2008 From: lists at truthisfreedom.org.uk (Matthew Macdonald-Wallace) Date: Wed, 27 Aug 2008 14:03:14 +0100 Subject: Issues with Authentication in Nagios3 In-Reply-To: <16109408-8C30-4221-AEA9-9E4EBCB97170@ena.com> References: <20080827125144.59eb553f@tclmmw.in.tiger-computing.com> <16109408-8C30-4221-AEA9-9E4EBCB97170@ena.com> Message-ID: <20080827140314.4cbd4552@tclmmw.in.tiger-computing.com> On Wed, 27 Aug 2008 07:52:53 -0500 Marc Powell wrote: > You have not fully configured authentication. You are being prompted > to log in, but only to access the left frame menu (htdocs > directory). The CGI's are not in that directory so they do not see > the authentication information. Since it's the CGI's that must see > the authentication, nagios correctly believes you have not logged in. > > You must configure a section as above for > the /usr/lib/ cgi-bin/nagios3 directory. I am presuming that path is > correct based on what you've provided above. Worked a treat! Thanks. M. -- Matthew Macdonald-Wallace matthew at truthisfreedom.org.uk http://www.truthisfreedom.org.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 treibholz at gmail.com Wed Aug 27 15:09:42 2008 From: treibholz at gmail.com (Klaus Umbach) Date: Wed, 27 Aug 2008 15:09:42 +0200 Subject: differentiate a WARNING -> OK and CRITICAL -> OK Message-ID: <92119d860808270609o2a5da50bv80d2d19bb401c587@mail.gmail.com> Hi, is it possible, to differentiate the status change "from WARNING to OK" and "from CRITICAL to OK"? Background: I don't want WARNINGs on the pager at night, just CRITICAL and the corresponding OKs, but not the OKs from WARNINGs. - Klaus -- First Official Internetdenier -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Sascha.Runschke at gfkl.com Wed Aug 27 15:11:40 2008 From: Sascha.Runschke at gfkl.com (Sascha.Runschke at gfkl.com) Date: Wed, 27 Aug 2008 15:11:40 +0200 Subject: Antwort: differentiate a WARNING -> OK and CRITICAL -> OK In-Reply-To: <92119d860808270609o2a5da50bv80d2d19bb401c587@mail.gmail.com> References: <92119d860808270609o2a5da50bv80d2d19bb401c587@mail.gmail.com> Message-ID: nagios-users-bounces at lists.sourceforge.net schrieb am 27.08.2008 15:09:42: > is it possible, to differentiate the status change "from WARNING to > OK" and "from CRITICAL to OK"? > > Background: I don't want WARNINGs on the pager at night, just > CRITICAL and the corresponding OKs, but not the OKs from WARNINGs. How about configuring your contact for sms for just receiving criticals and recoveries? You won't get warnings and their recoveries then... S -- Sascha Runschke IT-Infrastruktur GFKL Financial Services AG Limbecker Platz 1 45127 Essen Telefon : +49 (201) 102-1879 Mobil : +49 (173) 5419665 Fax : +49 (201) 102-1102105 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 jpaulus at sourceinterlink.com Wed Aug 27 15:15:53 2008 From: jpaulus at sourceinterlink.com (Paulus, Jake) Date: Wed, 27 Aug 2008 09:15:53 -0400 Subject: (Nagios-Ping) In-Reply-To: References: <79B77295FBC9F247A32A6C98B67B1E140193AB32@srv-1exch01.sourceinterlink.com> Message-ID: <79B77295FBC9F247A32A6C98B67B1E140193AB5E@srv-1exch01.sourceinterlink.com> This can't be a layer 3 issue. ICMP doesn't support retries so nothing in the middle should try to resend or duplicate the packet. Only layer 1 (a hub) or layer two (a host sending the same packet from two different MAC addresses) will do this. Though if you have any redundant in-line transparent proxies in the path - I might label them as suspect as well.... The only way a hub should be able to do it is if a hub connects two switches together and a switch loop exists at that spot. Both switches that receive the frame would carry it on to its destination. I want to say that if you have a switching loop you'd notice it in other places. In the multi-homing situation, we have two NICs in the same server on the same subnet with the same IP address but different MAC addresses. Both try to send responses and so show up as duplicates - not sure why though as I would suspect the sequence numbers would be off in the echo-reply? The host shouldn't be sending the exact same packet out both NICs...only load sharing some packets on one and some on the other... On a server that really only has one NIC - I would look for errors on the switchport or the host. I suppose if the IP stack on the host saw errors it could retry right away on it's own even though the packet might have been ok? Just an idea... -Jake -----Original Message----- From: Paul Weaver [mailto:paul.weaver at bbc.co.uk] Sent: Wednesday, August 27, 2008 9:00 AM To: Paulus, Jake; Nagios Users Mailinglist Subject: RE: [Nagios-users] (Nagios-Ping) > From: Paulus, Jake [mailto:jpaulus at sourceinterlink.com] > Sent: 27 August 2008 13:50 > To: Paul Weaver; Nagios Users Mailinglist > Subject: RE: [Nagios-users] (Nagios-Ping) > > I have this issue as well. In my case I believe it exists > because servers are improperly multi-homed; this is a server > configuration problem, not a network one. I have brought this > issue to the server administrator's attention and they are > unaware of any impact (probably because TCP retries are > hiding this) it causes to users and so have chosen to take no action. > > -Jake I'd be tempted to believe this is the case in two of the worst offenders -- both outside provided machines -- but one of the machines only has a single connection to a switch, so the compass swings back to some OSPF/HSRP issue. As to people ignoring issues that TCP hides, we have that problem. A friend from a fairly large company was suffering from a 3% packet loss on one switch last week, which caused havoc with a UDP based system they had. The network guys refused to believe there was a problem because outlook was still working (even 80% packet loss doesn't affect exchange -- it's slow and crashy enough anyway) http://www.bbc.co.uk/ This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated. If you have received it in error, please delete it from your system. Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately. Please note that the BBC monitors e-mails sent or received. Further communication will signify your consent to this. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From svetter at ameritech.net Wed Aug 27 15:21:45 2008 From: svetter at ameritech.net (scott) Date: Wed, 27 Aug 2008 09:21:45 -0400 Subject: p1.pl Message-ID: <48B554E9.8010609@ameritech.net> Where is the p1.pl script supposed to be? For some reason when I try to start nagios, I get the following message in the log: Error: p1.pl file required for embedded Perl interpreter is missing! ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Sebastian.Ries at dtnet.de Wed Aug 27 15:32:37 2008 From: Sebastian.Ries at dtnet.de (Sebastian Ries) Date: Wed, 27 Aug 2008 15:32:37 +0200 Subject: differentiate a WARNING -> OK and CRITICAL -> OK In-Reply-To: <92119d860808270609o2a5da50bv80d2d19bb401c587@mail.gmail.com> References: <92119d860808270609o2a5da50bv80d2d19bb401c587@mail.gmail.com> Message-ID: <1219843957.12629.7.camel@bofh.dtnet.de> Hi > is it possible, to differentiate the status change "from WARNING to > OK" and "from CRITICAL to OK"? As far as I know it not really possible... > Background: I don't want WARNINGs on the pager at night, just CRITICAL > and the corresponding OKs, but not the OKs from WARNINGs. But this just works (as far as I understood the process of sending notifications. Nagios will never send out a recovery notification to a contact that did not receive the problem. So create a contact that only gets notified on CRITICAL problems and it will only get notified on a recovery of CRITICAL problems. Please correct me if this is wrong. Regards Sebastian Ries -- ------------------------------------------------------------ DT Netsolution GmbH - Talaeckerstr. 30 - D-70437 Stuttgart Tel: +49-711-849910-36 Fax: +49-711-849910-936 WEB: http://www.dtnet.de/ email: Sebastian.Ries at dtnet.de ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Aug 27 15:42:14 2008 From: paul.weaver at bbc.co.uk (Paul Weaver) Date: Wed, 27 Aug 2008 14:42:14 +0100 Subject: "expire" a passive check result. In-Reply-To: <1199811400.6384.8.camel@roque> References: <1199811400.6384.8.camel@roque> Message-ID: > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > Of Rui Miguel Silva Seabra > > Hello, > > When using passive checks, you *should* do the following: > define service { ... > check_freshness 1 > freshness_threshold 660 ... > Helpful, though sparse, hints? :D > > Rui I've being playing with passive checks recently. We have some trap-style alerts. Most of these traps we can back up with a polling check, -- e.g. 1) disk fails, we get a notification instantly, but we can then snmp check the machine to confirm the disk has failed, and note when it's fixed. 2) A server reboots, we get a trap, but an uptime check would confirm the situation and allow the service-status page to show an error on the server until it has being running for 15 minutes (we have servers that get into reboot loops, it's nice to know how long the server is "out" for). In those instances, I believe the best soltuion is to have a service set up for normal polling every x minutes, but accept external service state commands to force them to critical/warning (or just force a check) Some errors though, we want to show on the service problem state page for x minutes (as they can lead to issues, and it's handy to have a red blob to point you in a possible direction), but we have no way of knowing when the fault is fixed. Some of our servers don't accept any kind of polling for disk/fan/etc states, but do send traps. I know that the alert history can show these problems, and we can set the service to be volatile (?) but that's a different page which involves support people taking time out of their youtubing to look for errors. For now, I have these logged to a database at the moment, and have a service that looks at the results in the table for the last n minutes, which isn't ideal. What I'd like is a "semi-volatile" option -- a passive service that when triggered, remains warning/critical for m minutes before returning to OK. I was thinking of firing an event handler to "sleep 600; set_service_to_ok", with some form of locking, would that be the right solution? http://www.bbc.co.uk/ This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated. If you have received it in error, please delete it from your system. Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately. Please note that the BBC monitors e-mails sent or received. Further communication will signify your consent to this. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From josh.wells at lionbank.com Wed Aug 27 15:46:09 2008 From: josh.wells at lionbank.com (Josh Wells) Date: Wed, 27 Aug 2008 09:46:09 -0400 Subject: How to monitor Equallogic PS SAN with snmp? In-Reply-To: <48B54F1A.7050005@googlemail.com> References: <9179DC579128514D8035295BE49187E70FBB3511@mail2.fidelitynational.com> <48B50480.9050801@googlemail.com> <9179DC579128514D8035295BE49187E70FBB351A@mail2.fidelitynational.com> <48B54F1A.7050005@googlemail.com> Message-ID: <9179DC579128514D8035295BE49187E70FBB351C@mail2.fidelitynational.com> Fantastic. Thanks so much to both of you for the information. Exactly what I was looking for. -----Original Message----- From: Marcus [mailto:adesperateuser at googlemail.com] Sent: Wednesday, August 27, 2008 8:57 AM To: Josh Wells Cc: nagios Subject: Re: [Nagios-users] How to monitor Equallogic PS SAN with snmp? -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Josh, Josh Wells schrieb: > Thanks for the help Marcus. One last question, how do I find an OID? > Are these standardized values defined by the SNMP protocol or are they > device specific? There are standards, how to define OIDs in MIBs. Every manufacturer who builds a device can define his own OIDs and put them in a so called MIB for that device. There is also a standard-MIB (called MIB2), which defines common stuff. Take a look here: http://www.et.put.poznan.pl/snmp/mib2/mib2.html What you need to do, in order to determine, what information you can get from your SNMP-capable device (your SAN), is to use some sort of MIB-browser (either graphical or console-based), feed it with the MIB of the device you want to monitor, and browse the OID-tree. The MIB translates those weird rows of dots and numbers into something human-readable. (OID 1.3.6.1.2.1.2.2.1.2 could be an interface description, for example.) Here is a page with a couple of snmp-tools: ;-) http://www.snmplink.org/snmpsoftware/forenduser/#6 This MIB-Browser is free and multiplatform (Java): http://www.dwipal.com/mibbrowser.htm Read the docs to learn how to load the MIB of your Equallogic-Device into the program. Greetz, Marcus -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFItU8a+qVaNRZYOakRAtuaAKCLTRsISEwlAO8TXa8axM3mDUONmwCfQGvJ xSTCGAGPJOv3HIV0qtIKk4U= =sP7H -----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 cschneemann at suse.de Wed Aug 27 15:47:12 2008 From: cschneemann at suse.de (Christian Schneemann) Date: Wed, 27 Aug 2008 15:47:12 +0200 Subject: p1.pl In-Reply-To: <48B554E9.8010609@ameritech.net> References: <48B554E9.8010609@ameritech.net> Message-ID: <200808271547.13344.cschneemann@suse.de> On Wednesday August 27 2008 03:21:45 pm scott wrote: > Where is the p1.pl script supposed to be? For some reason when I try > to start nagios, I get the following message in the log: > Error: p1.pl file required for embedded Perl interpreter is missing! Hi, have a look into your nagios.cfg, there you can define the path or just look it up: # P1.PL FILE LOCATION # This value determines where the p1.pl perl script (used by the # embedded Perl interpreter) is located. If you didn't compile # Nagios with embedded Perl support, this option has no effect. p1_file=/usr/lib/nagios/p1.pl 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 -- 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 lavalamp at spiritual-machines.org Wed Aug 27 16:55:02 2008 From: lavalamp at spiritual-machines.org (Brian A. Seklecki) Date: Wed, 27 Aug 2008 10:55:02 -0400 Subject: Failing event_handlers and ocsp/ochp_command silently fail & not logged In-Reply-To: <1199304403.2774.31.camel@soundwave.pitbpa0.priv.collaborativefusion.com> References: <1199304403.2774.31.camel@soundwave.pitbpa0.priv.collaborativefusion.com> Message-ID: <1219848902.3204.117.camel@soundwave.ws.pitbpa0.priv.collaborativefusion.com> >From back in January -- there has been other discussion on similar issues, but no discussion / traction on this bug (and of course, no medium to report it, track it, document it, submit bugs/patches, etc.) The problem is that the exact same code forking/exec'ing code is used for: - Service/Host Checks - Event Handlers - Notify Commands - OCHP/OCSP Handler - Performance Data Handlers Result codes are explicitly registered with the API. 126 and 127 are also checked for explicitly and warned/logged (but only in recent versions). Of course 0,1,2,3 are evaluated as Service/Host check API values. 568 /* check for possibly missing scripts/binaries/etc */ 569 if(result==126 || result==127){ The problem is that 0,1,2,3 and != 126/127 can have different connotations and for non host-service check forks, but the method/function called, my_system(), doesn't have a way of distinguishing the calling method to change logging behavior, which it should. The problem is further complicated by rampant use of pipes and other exotic Bourne-style expressions being used in command_line variables withing Nagios (one book in particular set this in motion), which, depending oh how compliant a Bourne-shell is, can behave differently on various systems. Examples below, and, by no means, are they mean to be definitive, as how bash(1) forks may behave entirely different than exec(). Embedded perl could also further complicate things (but of course) Solution 1: - Teach my_system() to behave different for non-healthcheck forks Solution 2: - Call a shell script wrapper for OCSP/OCSP/Pref/Event/Notify Solution 3 (added begrudgingly): - Tell send_nsca and other builtins to use error codes > 3, 4->125 and 129->231 are available, but this doesn't fix the problems with pipes outlined below. ~BAS $ echo test | /doesntexist -bash: /doesntexist: No such file or directory $ echo $? 127 $ /doesntexist | echo foo foo -bash: /doesntexist: No such file or directory $ echo $? 0 $ echo > test.sh $ chmod -x test.sh $ /home/seklecki/test.sh -bash: /home/seklecki/test.sh: Permission denied $ echo $? 126 $ echo test | ./test.sh -bash: ./test.sh: Permission denied $ echo $? 126 $ ./test.sh | echo foo -bash: ./test.sh: Permission denied foo $ echo $? 0 $ echo fuck shit ass | /usr/local/sbin/send_nsca -H cock.gobbling.asshat Could not open config file 'send_nsca.cfg' for reading. Error: Config file 'send_nsca.cfg' contained errors... $ echo $? 2 On Wed, 2008-01-02 at 15:06 -0500, Brian A. Seklecki wrote: > What happens if ocsp/ohcp commands return non-zero status? > > # send_nsca -H doesnt.fucking.exist -c foo/etc/nagios/send_nsca.cfg > Invalid host name 'doesnt.fucking.exist' > Error: Could not connect to host doesnt.fucking.exist on port 5667 > # echo $? > 2 > > When this happens, its a very serious problem. Nothing is logged. This > results in a silent failure. > > Obviously, send_nsca should transmit to a hostname in hosts(5) and/or to > an IP address that is highly available resolving any dependency on DNS. > > But even with that in mind, this exec()/fork() model behavior is > pragmatically incorrect. > > The code should be checking result code for return values != 0, and > printing a critical error to the logs. > > Moreover, even with debug_level=99999999999999999999999999 > > No warning / error / notice occurs: > > > [1199302511.076169] [001.0] [pid=75615] handle_host_state() > [1199302511.076189] [001.0] [pid=75615] > obsessive_compulsive_host_check_processor() > [1199302511.076229] [001.0] [pid=75615] get_raw_command_line() > [1199302511.076261] [2320.2] [pid=75615] Raw Command Input: /bin/echo > $HOSTNAME$//$HOSTSTATEID$//'$HOSTOUTPUT$' | /usr/local/sbin/send_nsca -H > fbsd01.cfi.biz -c /usr/local/etc/nagios/send_nsca.cfg -d "//" > [1199302511.076284] [2320.2] [pid=75615] Expanded Command > Output: /bin/echo $HOSTNAME$//$HOSTSTATEID$//'$HOSTOUTPUT$' > | /usr/local/sbin/send_nsca -H fbsd01.cfi.biz > -c /usr/local/etc/nagios/send_nsca.cfg -d "//" > [1199302511.076289] [016.2] [pid=75615] Raw obsessive compulsive host > processor command line: /bin/echo $HOSTNAME$//$HOSTSTATEID > $//'$HOSTOUTPUT$' | /usr/local/sbin/send_nsca -H fbsd01.cfi.biz > -c /usr/local/etc/nagios/send_nsca.cfg -d "//" > [1199302511.076664] [001.0] [pid=75615] process_macros() > [1199302511.076683] [2048.1] [pid=75615] **** BEGIN MACRO PROCESSING > *********** > [1199302511.076700] [2048.1] [pid=75615] Processing: '/bin/echo > $HOSTNAME$//$HOSTSTATEID$//'$HOSTOUTPUT$' | /usr/local/sbin/send_nsca -H > fbsd01.cfi.biz -c /usr/local/etc/nagios/send_nsca.cfg -d "//"' > [1199302511.076720] [2048.2] [pid=75615] Processing part: '/bin/echo ' > [1199302511.076739] [2048.2] [pid=75615] Not currently in macro. > Running output (10): '/bin/echo ' > [1199302511.076758] [2048.2] [pid=75615] Processing part: 'HOSTNAME' > [1199302511.076780] [2048.2] [pid=75615] Uncleaned macro. Running > output (16): '/bin/echo fbsd01' > [1199302511.077138] [2048.2] [pid=75615] Just finished macro. Running > output (16): '/bin/echo fbsd01' > [1199302511.077157] [2048.2] [pid=75615] Processing part: '//' > [1199302511.077176] [2048.2] [pid=75615] Not currently in macro. > Running output (18): '/bin/echo fbsd01//' > [1199302511.077194] [2048.2] [pid=75615] Processing part: > 'HOSTSTATEID' > [1199302511.077216] [2048.2] [pid=75615] Uncleaned macro. Running > output (19): '/bin/echo fbsd01//0' > [1199302511.077235] [2048.2] [pid=75615] Just finished macro. Running > output (19): '/bin/echo fbsd01//0' > [1199302511.077254] [2048.2] [pid=75615] Processing part: '//'' > [1199302511.077273] [2048.2] [pid=75615] Not currently in macro. > Running output (22): '/bin/echo fbsd01//0//'' > [1199302511.077291] [2048.2] [pid=75615] Processing part: 'HOSTOUTPUT' > [1199302511.079235] [2048.2] [pid=75615] Uncleaned macro. Running > output (63): '/bin/echo fbsd01//0//'PING OK - Packet loss = 0%, RTA = > 0.97 ms' > [1199302511.079337] [2048.2] [pid=75615] Just finished macro. Running > output (63): '/bin/echo fbsd01//0//'PING OK - Packet loss = 0%, RTA = > 0.97 ms' > [1199302511.079805] [2048.2] [pid=75615] Processing part: '' > | /usr/local/sbin/send_nsca -H fbsd01.cfi.biz > -c /usr/local/etc/nagios/send_nsca.cfg -d "//"' > [1199302511.080427] [2048.2] [pid=75615] Not currently in macro. > Running output (157): '/bin/echo fbsd01//0//'PING OK - Packet loss = 0%, > RTA = 0.97 ms' | /usr/local/sbin/send_nsca -H fbsd01.cfi.biz > -c /usr/local/etc/nagios/send_nsca.cfg -d "//"' > [1199302511.081348] [2048.1] [pid=75615] Done. Final output: > '/bin/echo fbsd01//0//'PING OK - Packet loss = 0%, RTA = 0.97 ms' > | /usr/local/sbin/send_nsca -H fbsd01.cfi.biz > -c /usr/local/etc/nagios/send_nsca.cfg -d "//"' > [1199302511.081823] [2048.1] [pid=75615] **** END MACRO PROCESSING > ************* > [1199302511.082308] [016.2] [pid=75615] Processed obsessive compulsive > host processor command line: /bin/echo fbsd01//0//'PING OK - Packet loss > = 0%, RTA = 0.97 ms' | /usr/local/sbin/send_nsca -H fbsd01.cfi.biz > -c /usr/local/etc/nagios/send_nsca.cfg -d "//" > [1199302511.083217] [001.0] [pid=75615] my_system() > [1199302511.084280] [256.1] [pid=75615] Running command '/bin/echo > fbsd01//0//'PING OK - Packet loss = 0%, RTA = 0.97 ms' > | /usr/local/sbin/send_nsca -H fbsd01.cfi.biz > -c /usr/local/etc/nagios/send_nsca.cfg -d "//"'... > [1199302511.091760] [001.0] [pid=80369] process_macros() > [1199302511.092248] [001.0] [pid=80369] process_macros() > [1199302511.093349] [001.0] [pid=80369] process_macros() > [1199302511.094769] [001.0] [pid=80369] process_macros() > [1199302511.095734] [001.0] [pid=80369] process_macros() > [1199302511.096702] [001.0] [pid=80369] process_macros() ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Aug 27 17:21:15 2008 From: ae at op5.se (Andreas Ericsson) Date: Wed, 27 Aug 2008 17:21:15 +0200 Subject: Failing event_handlers and ocsp/ochp_command silently fail & not logged In-Reply-To: <1219848902.3204.117.camel@soundwave.ws.pitbpa0.priv.collaborativefusion.com> References: <1199304403.2774.31.camel@soundwave.pitbpa0.priv.collaborativefusion.com> <1219848902.3204.117.camel@soundwave.ws.pitbpa0.priv.collaborativefusion.com> Message-ID: <48B570EB.1080103@op5.se> Please don't top-post. It's terribly annoying not knowing what part of the original email any part of your reply is intended for. Brian A. Seklecki wrote: >>From back in January -- there has been other discussion on similar > issues, but no discussion / traction on this bug (and of course, no > medium to report it, track it, document it, submit bugs/patches, etc.) > > The problem is that the exact same code forking/exec'ing code is used > for: > > - Service/Host Checks > - Event Handlers > - Notify Commands > - OCHP/OCSP Handler > - Performance Data Handlers > > Result codes are explicitly registered with the API. > That's common sense though. The drawback is that it doesn't report the return code unscathed back to the caller, but instead crunches it to see what happened, and it does so through the eyes of a healthcheck executor. > 126 and 127 are also checked for explicitly and warned/logged (but only > in recent versions). Of course 0,1,2,3 are evaluated as Service/Host > check API values. > > 568 /* check for possibly missing scripts/binaries/etc */ > 569 if(result==126 || result==127){ > > The problem is that 0,1,2,3 and != 126/127 can have different > connotations and for non host-service check forks, but the > method/function called, my_system(), doesn't have a way of > distinguishing the calling method to change logging behavior, which it > should. > > The problem is further complicated by rampant use of pipes and other > exotic Bourne-style expressions being used in command_line variables > withing Nagios (one book in particular set this in motion), which, > depending oh how compliant a Bourne-shell is, can behave differently on > various systems. Examples below, and, by no means, are they mean to be > definitive, as how bash(1) forks may behave entirely different than > exec(). > No, pipes do not behave differently depending on the shell. Pipes have behaved in exactly the same way since day one and, barring bugs, will continue to do so until the end of unix as we know it. > Embedded perl could also further complicate things (but of course) > > Solution 1: > - Teach my_system() to behave different for non-healthcheck forks > Rather; Create a simple API that runs a process, storing everything interesting in a publicly declared data structure and calls a handler when the command is done executing. Preferrably the API should have a shortcut to let in-core code feed continuous input to it. > Solution 2: > - Call a shell script wrapper for OCSP/OCSP/Pref/Event/Notify > That's just bloody stupid as the current Nagios solution already scales very poorly with OCSP handlers. > Solution 3 (added begrudgingly): > - Tell send_nsca and other builtins to use error codes > 3, 4->125 > and 129->231 are available, but this doesn't fix the problems > with pipes outlined below. > There's no problem with pipes. You may not agree with the standard, but that's not a problem with pipes. It's a problem with you. > > ~BAS > > > $ echo test | /doesntexist > -bash: /doesntexist: No such file or directory > $ echo $? > 127 > Naturally. execve() returned ENOENT, so bash translates this to 127, which is -2 in disguise. (ie, 0-ENOENT. The actual code is ~(0-ENOENT)). Since any pipe expression must always yield the exit code of the last entry in the pipe, the exit code you see is that of trying to run the non-existant "/doesntexist" file, but... > > $ /doesntexist | echo foo > foo > -bash: /doesntexist: No such file or directory > $ echo $? > 0 > ... here you have 'echo foo' at the end of the pipe, which is perfectly alright and succeeds splendidly, so the entire pipe succeeds. This is by no means bash-specific; It's how pipes are supposed to work. > > $ echo > test.sh > $ chmod -x test.sh > $ /home/seklecki/test.sh > -bash: /home/seklecki/test.sh: Permission denied > $ echo $? > 126 > > > $ echo test | ./test.sh > -bash: ./test.sh: Permission denied > $ echo $? > 126 > > $ ./test.sh | echo foo > -bash: ./test.sh: Permission denied > foo > $ echo $? > 0 > > $ echo fuck shit ass | /usr/local/sbin/send_nsca -H cock.gobbling.asshat > Could not open config file 'send_nsca.cfg' for reading. > Error: Config file 'send_nsca.cfg' contained errors... > $ echo $? > 2 > What's the problem? Would you have wanted the pipe expression to return the success code of the echo command? You have a very serious problem in your understanding of pipes and why it's absolutely vital that they work the way they do. The fact that Nagios lets you specify fully-fledged shell-commands for pretty much everything is actually a great strength, adding a huge chunk of flexibility. The problem (really) is this; Nagios doesn't log enough/anything when some things fail to work properly. The problem (really) is *NOT* this; Pipes work as they're designed to do. -- 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 lavalamp at spiritual-machines.org Wed Aug 27 17:36:13 2008 From: lavalamp at spiritual-machines.org (Brian A. Seklecki) Date: Wed, 27 Aug 2008 11:36:13 -0400 (EDT) Subject: Failing event_handlers and ocsp/ochp_command silently fail & gged In-Reply-To: <48B570EB.1080103@op5.se> References: <1199304403.2774.31.camel@soundwave.pitbpa0.priv.collaborativefusion.com> <1219848902.3204.117.camel@soundwave.ws.pitbpa0.priv.collaborativefusion.com> <48B570EB.1080103@op5.se> Message-ID: <20080827112624.E2218@arbitor.digitalfreaks.org> > There's no problem with pipes. You may not agree with the standard, but > that's not a problem with pipes. It's a problem with you. AE: No need to make it personal. The problem is not pipes, the POSIX standard, or adherence to standards (*). It's how _pipes can obfuscate the problem_, and how letting handlers contain them can lead to to: - Obfuscation - Problems with escaping - Syntax problems ... calling a wrapper or moving the code inside would solve some of this. > Rather; Create a simple API that runs a process, storing everything > interesting in a publicly declared data structure and calls a > handler when the command is done executing. > Preferrably the API should have a shortcut to let in-core code feed > continuous input to it. Sounds fine. Or your other suggestion: Don't crunch 0,1,2,3 as health check results when not execing a healthcheck. ~BAS Although its not quite noon yet on the East coast yet, so I'll take a moment to bash on GNU/Linux and ignoring standards: My current favorite is GNU libc and fclose(3) will let you fclose() a null file pointer without error/warning (segfault is the expected result) ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dhaval at nsbl.co.in Wed Aug 27 17:52:46 2008 From: dhaval at nsbl.co.in (Dhaval Thakar) Date: Wed, 27 Aug 2008 21:22:46 +0530 Subject: monitor windows ethernet traffic Message-ID: <9bda1b424d93733c7449d883dd59f12f@172.20.20.4> Hi list, i want to monitor ethernet traffic of windows servers using nagios i have used following plugin for linux servers & cisco products & it works fine. http://shawnflynn.com/2008/08/13/nagios-plugin-check_snmp_ifstatuspl/ as author confirmed, this can not be used for windows machines. i want to configure http://www.pnp4nagios.org/pnp/start with nagios to replace mrtg. kindly guide me for any plugin which can be used with nagios + pnp4nagios to plot traffic utilization graphs. Thanks & Regards Dhaval Thakar ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From svetter at ameritech.net Wed Aug 27 20:35:24 2008 From: svetter at ameritech.net (scott) Date: Wed, 27 Aug 2008 14:35:24 -0400 Subject: View configuration selection on main web page Message-ID: <48B59E6C.6000407@ameritech.net> I tried selecting the View Configuration selection on the main nagios web page and received the error: Error: Could not read object configuration data! As a matter of fact I get this on most selections. I tried looking at the config.cgi file and found that it is not human readable. Is this proper? * * ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From luisf.munnoz at uam.es Wed Aug 27 21:21:19 2008 From: luisf.munnoz at uam.es (Luis Fernando =?utf-8?q?Mu=C3=B1oz_Mej=C3=ADas?=) Date: Wed, 27 Aug 2008 21:21:19 +0200 Subject: Different contacts on the same service definition? Message-ID: <200808272121.19631.luisf.munnoz@uam.es> Hello, list. I use a Nagios instance to monitor several clusters, counting almost 900 nodes. The configuration is quite complex, as not all nodes have the same services associated, nor even the same check or notification periods. To make this more funny, nodes have different "owners", and some notifications from some nodes are interesting only to that node's owner. Then, some alarms on all nodes must be sent to the correct expert (f.i, a security expert in case of security issues). My problem is that sending alarms only to each owner requires to define many times the same service, changing only the host/hostgroups and contact/contactgroups. This doesn't scale, so I'd like Nagios to do it for me. I'd like to have a service alarm sent to its contacts and, if the service has no defined contacts, the host's contacts are notified instead. For instance: ************************************************************ define host { name h1.my.domain contact_groups c1 } define host { name h2.my.domain contact_groups c2 } # Only c1 will be notified, no matter where the alarm happens define service { description Service with associated contacts host_name h1.my.domain,h2.my.domain contact_groups c1 # Commands, and whatever } # Only problem host's contact will be notified: define service { description Service with no associated contacts host_name h1.my.domain,h2.my.domain # Commands, and whatever, but no contacts or a keyword # contact to choose the correct destination for each notification. } ************************************************************ I read the documentation, and this doesn't look possible right now. Is it? If so, how? Thanks in advance. -- Luis Fernando Mu?oz Mej?as http://rincon.uam.es/dir?cw=654946899414062 http://www.faqs.org/rfcs/rfc1855.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 jon at netdork.net Thu Aug 28 05:48:45 2008 From: jon at netdork.net (Jon Angliss) Date: Wed, 27 Aug 2008 22:48:45 -0500 Subject: Host-Notify-By-EMail vs Notify-By-Email References: Message-ID: <1l7cb412khoaj4jal6tgrf39lefn0keo9a@4ax.com> On Tue, 26 Aug 2008 20:16:03 -0700, John Moore wrote: > >Ok, >I have Nagios 2.6, which is a installable RPM with SLES. I am trying to set up notifications, and its not working. I have nagiosQL running for setting up my configuration, and looking for information on the following... > >Whats the difference between Host-Notify-By-EMail & Notify-By-Email? They're just commands with different macros to represent extra information. host-notify-by-email is used for host, and contains host based macros, whilst notify-by-email includes service macros. >Can a there be multiple emails per concact? Are they seperated by a comma, or each there own line? The documentation doesn't mention it, but you could give it a shot. if that doesn't work, you can use the address# where # is a number from 1-6. http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#contact >Do I have to setup a SMTP server to send email? I just want the notifications going to my comcast account and my cell phone via smtp. You don't have to have an SMTP server, just something to relay to one (nullmailer, ssmtp, etc) that can be configured to relay through another host. -- Jon Angliss ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Aug 28 06:00:19 2008 From: jon at netdork.net (Jon Angliss) Date: Wed, 27 Aug 2008 23:00:19 -0500 Subject: checks, notifications don't work after time period exception References: <13F36D2926AD444697093282F20041B70780D7CE@buf-ex01.cymfony.com><13F36D2926AD444697093282F20041B70780D96E@buf-ex01.cymfony.com> <2rf6b45ga9463t795gm7mphae6p6sh52g5@4ax.com> <13F36D2926AD444697093282F20041B70780DAFA@buf-ex01.cymfony.com> <3E18F891-01D7-430A-BD47-5FC74144D84E@nagios.org> Message-ID: <8g8cb4dvq9jvkmj1hsup85q0m8npm8d0es@4ax.com> On Tue, 26 Aug 2008 11:09:15 -0500, Mark Young wrote: >> I'll probably do away with the time exclusion as it still isn't >> working. >> I have one service that went critical during the exclusion which has a >> 24x7 check but 4-5:30 notification exclusion and now I can't make it >> send a notice. I disabled notifications for that service and enabled >> again; also restarted Nagios and still won't send a notice. It's >> configured to send on the second attempt and every hour after. > >You should be able to use timeperiods the way you would like to. I >will have to setup my test environment to see if I get the same >problem you are describing. It would be nice to figure this out. Is >this a problem with other users? I was going to setup a little test environment to retest it, unfortunately "end of the world" projects keep coming up at work. >On Aug 25, 2008, at 6:28 PM, Jon Angliss wrote: >> I had a similar issue. I tried excluding a time slot between 0300, and >> 0600 due to large DB loads causing website performance issues >> (backups, indexing, and such). When the start of the exception rolled >> around, nagios would just stop checking that service, and would only >> restart on a forced manual check, or restart of the nagios service. I >> ended up changing the theory to continue checking 24x7, but only alert >> when outside the exception. Not that it helps the issue, but it >> stopped the symptoms. I never got around to really digging into the >> issue any deeper. It did give me the added benefit of knowing when >> the server was actually down during the maintenance window, and when >> it was just being slow. This was handy for management purposes so >> they could calculate if they need more head count. >Hi Jon, >So it was following your notification timeperiod but not your check >timeperiod? Was version of Nagios were you running? Were you using >the exclude function (new to nagios 3.x)? Nagios 3.x did add new >functionality to timeperiods. It is possible that a bug was introduced. I had defined a timeperiod of "ProdSLA" which was 24x7, then an exclusion timeperiod called "ProdMaint", which was 0300-0500 daily, then added that as an excluded time period for ProdSLA. This was used for checks, not notifications. As the start of the excluded time period would be reached, it'd stop checking, as designed, but never resuming checking at 0500. I'll have to see if I can dig out the config files from CVS. It was a 3.x install. -- Jon Angliss ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lflacayo at cps.k12.il.us Thu Aug 28 16:06:03 2008 From: lflacayo at cps.k12.il.us (Luis Fernando Lacayo) Date: Thu, 28 Aug 2008 09:06:03 -0500 Subject: NOTIFICATIONS - Question... In-Reply-To: <48ABAD16.8040203@vanderkooij.org> References: <44f056cc0808192210y34dc4c9dm9f54478bc58c6692@mail.gmail.com> <48ABAD16.8040203@vanderkooij.org> Message-ID: <1219932363.11868.29.camel@UNIX-TEAM-LACAYO> Good Morning all, I have a question about notification setup. I have few devices that are defined with enable_notification set to 0. However, we have a weekly maintenance period where the SE will disable notifications by groups.. When they re-enable notifications, it appears that even the ones that I have set to disable notification send out notifications... Is this the way the software is designed to work? Am I doing somethign wrong? is there a way to keep these devices from sending notifications? thanks. Luis -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Aug 28 16:36:27 2008 From: marc at ena.com (Marc Powell) Date: Thu, 28 Aug 2008 09:36:27 -0500 Subject: NOTIFICATIONS - Question... In-Reply-To: <1219932363.11868.29.camel@UNIX-TEAM-LACAYO> References: <44f056cc0808192210y34dc4c9dm9f54478bc58c6692@mail.gmail.com> <48ABAD16.8040203@vanderkooij.org> <1219932363.11868.29.camel@UNIX-TEAM-LACAYO> Message-ID: On Aug 28, 2008, at 9:06 AM, Luis Fernando Lacayo wrote: > Good Morning all, > > I have a question about notification setup. > > I have few devices that are defined with enable_notification set to > 0. However, we have a weekly maintenance period where the SE will > disable notifications by groups.. When they re-enable > notifications, it appears that even the ones that I have set to > disable notification send out notifications... > > Is this the way the software is designed to work? Am I doing > somethign wrong? is there a way to keep these devices from sending > notifications? Yes, that's by design. Changes made through the GUI/external commands intentionally override config file settings. There's no way to prevent that from happening that I am aware of short of disabling external commands entirely. If you don't use state retention, specifically retain_nonstatus_information, then a reload/restart of nagios will reset all values to their config defaults. If you do retain_nonstatus_information then nagios will remember the new setting even across restarts. A better solution might be to create a notification period that excludes your maintenance windows so that the SE doesn't need to manually disable notifications. -- 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 Thu Aug 28 17:00:48 2008 From: matt at conundrum.com (Matthew Pounsett) Date: Thu, 28 Aug 2008 11:00:48 -0400 Subject: NOTIFICATIONS - Question... In-Reply-To: References: <44f056cc0808192210y34dc4c9dm9f54478bc58c6692@mail.gmail.com> <48ABAD16.8040203@vanderkooij.org> <1219932363.11868.29.camel@UNIX-TEAM-LACAYO> Message-ID: On 28-Aug-2008, at 10:36 , Marc Powell wrote: > A better solution might be to create a notification period that > excludes your maintenance windows so that the SE doesn't need to > manually disable notifications. Alternatively, if your maintenance windows don't happen at predictable times (or don't run for a consistent length every time) the SE could use the "Schedule Downtime" command for affected devices, rather than manually disabling notifications. -------------- 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 rgravlin at elizacorp.com Thu Aug 28 17:30:28 2008 From: rgravlin at elizacorp.com (Ryan Gravlin) Date: Thu, 28 Aug 2008 11:30:28 -0400 Subject: COMMENT Macros Message-ID: <4753AE5B8469A9499C6BC6EE8AF970A2021BFCE7548B@MAIL-CCR1.elizacorp.com> Hello all, I'm trying to include the comments that operators add to host/service acknowledgements. I currently have this setup as the NOTIFY COMMAND: # 'notify-host-by-email' command definition define command{ command_name notify-host-by-email command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\nComment: $NOTIFICATIONAUTHORCOMMENT$\n\nDate/Time: $LONGDATETIME$\n" | /usr/bin/mail -s "** $NOTIFICATIONTYPE$ Host Alert: $HOSTNAME$ is $HOSTSTATE$ **" $CONTACTEMAIL$ } Using Nagios 3.0.3. All I receive is "Comment: $" in the actual e-mail. I assume I'm missing something obvious but I haven't done much custom macro stuff in Nagios before and I was hoping someone else could shed some light? I do understand I may need to add additional notify commands due to the use of the $NOTIFICATIONAUTHORCOMMENT$, but this test is a also on a down host, not a service. Thanks, Ryan Gravlin ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From D.Bierstedt at crh-group.com Thu Aug 28 17:42:11 2008 From: D.Bierstedt at crh-group.com (Bierstedt, Daniel) Date: Thu, 28 Aug 2008 17:42:11 +0200 Subject: COMMENT Macros Message-ID: <92F5392DABB4094F9B99B7484C35FE5601279414@DE01SX02.corp.crh-group.com> Hello, my notification command for hosts: define command{ command_name host-notify-by-email command_line /usr/bin/printf "%b" "Notification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$ - $HOSTALIAS$\nState: $HOSTSTATE$\nAddress: $HOSTADDRE SS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n\n$HOSTACKAUTHOR$ $HOSTACKCOMMENT$" | @MAIL_PROG@ -s "Host $HOSTSTATE$ alert for $HOSTNAME$!" $C ONTACTEMAIL$ } Mit freundlichen Gruessen / With best regards Daniel Bierstedt IT / Systeme C. Rob. Hammerstein GmbH & Co KG Merscheider Str. 167 D-42699 Solingen phone +49 212 3393 562 fax +49 212 3393 445 mailto:d.bierstedt at crh-group.com http://www.crh-group.com __________________________________________ This transmission is confidential and intended solely for the person or organization to whom it is addressed. It may contain privileged and confidential information. If you are not the intended recipient, you should not copy, distribute or take any action in reliance on it. If you have received this transmission in error, please notify the sender at the e-mail address above. -----Urspr?ngliche Nachricht----- Von: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] Im Auftrag von Ryan Gravlin Gesendet: Donnerstag, 28. August 2008 17:30 An: nagios-users at lists.sourceforge.net Betreff: [Nagios-users] COMMENT Macros Hello all, I'm trying to include the comments that operators add to host/service acknowledgements. I currently have this setup as the NOTIFY COMMAND: # 'notify-host-by-email' command definition define command{ command_name notify-host-by-email command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\nComment: $NOTIFICATIONAUTHORCOMMENT$\n\nDate/Time: $LONGDATETIME$\n" | /usr/bin/mail -s "** $NOTIFICATIONTYPE$ Host Alert: $HOSTNAME$ is $HOSTSTATE$ **" $CONTACTEMAIL$ } Using Nagios 3.0.3. All I receive is "Comment: $" in the actual e-mail. I assume I'm missing something obvious but I haven't done much custom macro stuff in Nagios before and I was hoping someone else could shed some light? I do understand I may need to add additional notify commands due to the use of the $NOTIFICATIONAUTHORCOMMENT$, but this test is a also on a down host, not a service. Thanks, Ryan Gravlin ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 rgravlin at elizacorp.com Thu Aug 28 17:45:51 2008 From: rgravlin at elizacorp.com (Ryan Gravlin) Date: Thu, 28 Aug 2008 11:45:51 -0400 Subject: COMMENT Macros In-Reply-To: <92F5392DABB4094F9B99B7484C35FE5601279414@DE01SX02.corp.crh-group.com> References: <92F5392DABB4094F9B99B7484C35FE5601279414@DE01SX02.corp.crh-group.com> Message-ID: <4753AE5B8469A9499C6BC6EE8AF970A2021BFCE754B8@MAIL-CCR1.elizacorp.com> Hi Daniel, Yes this seems to work. It's weird, I was reading the Nagios 3.0.3 docs and found this related to this macro: 8 These acknowledgement macros are deprecated. Use the more generic $NOTIFICATIONAUTHOR$, $NOTIFICATIONAUTHORNAME$, $NOTIFICATIONAUTHORALIAS$ or $NOTIFICATIONAUTHORCOMMENT$ macros instead. This is why I was using the others... Not sure what the deal is but thanks!!! Ryan Gravlin -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Bierstedt, Daniel Sent: Thursday, August 28, 2008 11:42 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] COMMENT Macros Hello, my notification command for hosts: define command{ command_name host-notify-by-email command_line /usr/bin/printf "%b" "Notification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$ - $HOSTALIAS$\nState: $HOSTSTATE$\nAddress: $HOSTADDRE SS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n\n$HOSTACKAUTHOR$ $HOSTACKCOMMENT$" | @MAIL_PROG@ -s "Host $HOSTSTATE$ alert for $HOSTNAME$!" $C ONTACTEMAIL$ } Mit freundlichen Gruessen / With best regards Daniel Bierstedt IT / Systeme C. Rob. Hammerstein GmbH & Co KG Merscheider Str. 167 D-42699 Solingen phone +49 212 3393 562 fax +49 212 3393 445 mailto:d.bierstedt at crh-group.com http://www.crh-group.com __________________________________________ This transmission is confidential and intended solely for the person or organization to whom it is addressed. It may contain privileged and confidential information. If you are not the intended recipient, you should not copy, distribute or take any action in reliance on it. If you have received this transmission in error, please notify the sender at the e-mail address above. -----Urspr?ngliche Nachricht----- Von: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] Im Auftrag von Ryan Gravlin Gesendet: Donnerstag, 28. August 2008 17:30 An: nagios-users at lists.sourceforge.net Betreff: [Nagios-users] COMMENT Macros Hello all, I'm trying to include the comments that operators add to host/service acknowledgements. I currently have this setup as the NOTIFY COMMAND: # 'notify-host-by-email' command definition define command{ command_name notify-host-by-email command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\nComment: $NOTIFICATIONAUTHORCOMMENT$\n\nDate/Time: $LONGDATETIME$\n" | /usr/bin/mail -s "** $NOTIFICATIONTYPE$ Host Alert: $HOSTNAME$ is $HOSTSTATE$ **" $CONTACTEMAIL$ } Using Nagios 3.0.3. All I receive is "Comment: $" in the actual e-mail. I assume I'm missing something obvious but I haven't done much custom macro stuff in Nagios before and I was hoping someone else could shed some light? I do understand I may need to add additional notify commands due to the use of the $NOTIFICATIONAUTHORCOMMENT$, but this test is a also on a down host, not a service. Thanks, Ryan Gravlin ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 cfmx07 at yahoo.com Thu Aug 28 17:47:42 2008 From: cfmx07 at yahoo.com (Chandra Bahadur) Date: Thu, 28 Aug 2008 08:47:42 -0700 (PDT) Subject: single command, multiple disks to monitor Message-ID: <648290.30542.qm@web58801.mail.re1.yahoo.com> Hi ?? I would like to monitor two partitions(/dev/sda1 and /dev/sda3)? with the same command.. How do I specify those ? Is it by separating with commas or by just space as below ?? command[check_disk]=/usr/local/nagios/libexec/check_disk -w 10% -c 5% -p /dev/sda3 /dev/sda1 or command[check_disk]=/usr/local/nagios/libexec/check_disk -w 10% -c 5% -p /dev/sda3,/dev/sda1 Thank you -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Aug 28 17:51:14 2008 From: marc at ena.com (Marc Powell) Date: Thu, 28 Aug 2008 10:51:14 -0500 Subject: COMMENT Macros In-Reply-To: <4753AE5B8469A9499C6BC6EE8AF970A2021BFCE7548B@MAIL-CCR1.elizacorp.com> References: <4753AE5B8469A9499C6BC6EE8AF970A2021BFCE7548B@MAIL-CCR1.elizacorp.com> Message-ID: On Aug 28, 2008, at 10:30 AM, Ryan Gravlin wrote: > > Using Nagios 3.0.3. All I receive is "Comment: $" in the actual e- > mail. I assume I'm missing something obvious but I haven't done > much custom macro stuff in Nagios before and I was hoping someone > else could shed some light? > > I do understand I may need to add additional notify commands due to > the use of the $NOTIFICATIONAUTHORCOMMENT$, but this test is a also > on a down host, not a service. This isn't a valid macro. I think you're looking for $NOTIFICATIONCOMMENT$. I think it's a documentation bug as that macro is only mentioned in a macro docco footnote, not anywhere in the code or expanded documentation on the macros. -- 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 david at blue-labs.org Thu Aug 28 17:54:08 2008 From: david at blue-labs.org (David Ford) Date: Thu, 28 Aug 2008 11:54:08 -0400 Subject: single command, multiple disks to monitor In-Reply-To: <648290.30542.qm@web58801.mail.re1.yahoo.com> References: <648290.30542.qm@web58801.mail.re1.yahoo.com> Message-ID: <48B6CA20.5050800@blue-labs.org> do you have something against using command[check_disk1] and command[check_disk2]? :) command[check_disk1]=/usr/local/nagios/libexec/check_disk -w 10% -c 5% -p /dev/sda1 command[check_disk2]=/usr/local/nagios/libexec/check_disk -w 10% -c 5% -p /dev/sda3 -david Chandra Bahadur wrote: > Hi > I would like to monitor two partitions(/dev/sda1 and /dev/sda3) > with the same command.. > How do I specify those ? Is it by separating with commas or by just > space as below ?? > > command[check_disk]=/usr/local/nagios/libexec/check_disk -w 10% -c 5% > -p /dev/sda3 /dev/sda1 > > or > > command[check_disk]=/usr/local/nagios/libexec/check_disk -w 10% -c 5% > -p /dev/sda3,/dev/sda1 > > 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 marc at ena.com Thu Aug 28 17:56:52 2008 From: marc at ena.com (Marc Powell) Date: Thu, 28 Aug 2008 10:56:52 -0500 Subject: single command, multiple disks to monitor In-Reply-To: <648290.30542.qm@web58801.mail.re1.yahoo.com> References: <648290.30542.qm@web58801.mail.re1.yahoo.com> Message-ID: <46C15685-3F2E-4CD0-845F-526556253D0F@ena.com> On Aug 28, 2008, at 10:47 AM, Chandra Bahadur wrote: > Hi > I would like to monitor two partitions(/dev/sda1 and /dev/sda3) > with the same command.. > How do I specify those ? Is it by separating with commas or by just > space as below ?? > > command[check_disk]=/usr/local/nagios/libexec/check_disk -w 10% -c > 5% -p /dev/sda3 /dev/sda1 > > or > > command[check_disk]=/usr/local/nagios/libexec/check_disk -w 10% -c > 5% -p /dev/sda3,/dev/sda1 Neither. Specify multiple '-p' parameters. $ ./check_disk --help ... Usage: check_disk -w limit -c limit [-W limit] [-K limit] {-p path | - x device} [-C] [-E] [-e] [-g group ] [-k] [-l] [-M] [-m] [-R path ] [-r path ] [-t timeout] [-u unit] [-v] [-X type] Options: ... -p, --path=PATH, --partition=PARTITION Path or partition (may be repeated) Testing -- $ ./check_disk -w10% -c5% -p /dev/Volume00/LogVol00 -p /dev/sda1 DISK OK - free space: / 2756 MB (36% inode=86%); /boot 49 MB (57% inode=99%);| /=4718MB;7086;7480;0;7874 /boot=37MB;81;86;0;91 -- 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 cviniciusm at uol.com.br Thu Aug 28 18:07:37 2008 From: cviniciusm at uol.com.br (Cassius V. de Magalhaes) Date: Thu, 28 Aug 2008 13:07:37 -0300 Subject: What's the maximum availability report period, please? Message-ID: <48B6CD49.5090202@uol.com.br> Hello, What's the maximum availability report period, please? Is there any way to increase the period for two years, for example? TIA, Cassius. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Thomas.Borger at esg.de Thu Aug 28 07:10:36 2008 From: Thomas.Borger at esg.de (Thomas Borger) Date: Thu, 28 Aug 2008 07:10:36 +0200 Subject: Antwort: Re: checks, notifications don't work after time period exception In-Reply-To: <8g8cb4dvq9jvkmj1hsup85q0m8npm8d0es@4ax.com> References: <8g8cb4dvq9jvkmj1hsup85q0m8npm8d0es@4ax.com> Message-ID: Hi, I have exact the same experiences with timeperiod exclusion. It does not work in the moment or we have had not understand the corresponding part in the nagios documentation?! ;-) > I had defined a timeperiod of "ProdSLA" which was 24x7, then an > exclusion timeperiod called "ProdMaint", which was 0300-0500 daily, > then added that as an excluded time period for ProdSLA. This was used > for checks, not notifications. As the start of the excluded time > period would be reached, it'd stop checking, as designed, but never > resuming checking at 0500. I'll have to see if I can dig out the > config files from CVS. It was a 3.x install. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From michael at medin.name Thu Aug 28 07:39:03 2008 From: michael at medin.name (Michael Medin) Date: Thu, 28 Aug 2008 07:39:03 +0200 Subject: Checking Windows Services with stupid names. In-Reply-To: <92119d860808270240h5865faeas4a720359cf36b147@mail.gmail.com> References: <92119d860808250344k442a3678pc4db980e04a980ba@mail.gmail.com> <48B2BD10.105@medin.name> <92119d860808250754s58ad2aa0gfc0adaaec7ac2850@mail.gmail.com> <48B2CD53.50701@medin.name> <92119d860808270240h5865faeas4a720359cf36b147@mail.gmail.com> Message-ID: <48B639F7.5080900@medin.name> Klaus Umbach wrote: > > > NRPE? To check a Windows-Box? No, that's not really funny... > > huh? > Why not? > I'we always thought of NRPE to be vastly superior to the NSClient > protocol myself... > > > With NRPE you need a bunch of plugins on the client you are > monitoring, with NSCA the standard-stuff is integrated. NRPE is much > more configuration cost than NSCA/nsclient++, because you can't just > aptitude install them. :-) NSClient++ can do the exact same things (and a lot more) via NRPE then via NSClient with the same (or about the same) amount of configuration... // Michael Medin > > - > Klaus > > -- > First Official Internetdenier -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From michael at medin.name Thu Aug 28 07:54:01 2008 From: michael at medin.name (Michael Medin) Date: Thu, 28 Aug 2008 07:54:01 +0200 Subject: monitor windows ethernet traffic In-Reply-To: <9bda1b424d93733c7449d883dd59f12f@172.20.20.4> References: <9bda1b424d93733c7449d883dd59f12f@172.20.20.4> Message-ID: <48B63D79.90907@medin.name> My guess would be that simplest way to do this would be to use one of the windows agents and poll the various performance counters for the network, another option would be to go with WMI. // Michael Medin Dhaval Thakar wrote: > Hi list, > > i want to monitor ethernet traffic of windows servers using nagios > i have used following plugin for linux servers & cisco products & it works > fine. > http://shawnflynn.com/2008/08/13/nagios-plugin-check_snmp_ifstatuspl/ > > as author confirmed, this can not be used for windows machines. > > i want to configure http://www.pnp4nagios.org/pnp/start with nagios to > replace mrtg. > > kindly guide me for any plugin which can be used with nagios + pnp4nagios > to plot traffic utilization graphs. > > Thanks & Regards > Dhaval Thakar > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 adesperateuser at googlemail.com Thu Aug 28 08:04:01 2008 From: adesperateuser at googlemail.com (Marcus) Date: Thu, 28 Aug 2008 08:04:01 +0200 Subject: View configuration selection on main web page In-Reply-To: <48B59E6C.6000407@ameritech.net> References: <48B59E6C.6000407@ameritech.net> Message-ID: <48B63FD1.70903@googlemail.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 scott schrieb: > I tried selecting the View Configuration selection on the main nagios > web page and received the error: > Error: Could not read object configuration data! Hm, I seem to have the same issue ... > As a matter of fact I get this on most selections. I tried looking > at the config.cgi file and found that it is not human readable. Is this > proper? * If you could read this natively, well.. It's compiled. ( ELF 32-bit LSB executable,... ) You are looking for cgi.cfg in etc, I guess. Greetz, Marcus -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFItj/R+qVaNRZYOakRApXNAJwKP7aufrguwJkYIF1M/DvvOJpGSgCcCfkF zIjKnQWAGN89j5TtuYvWnEg= =mUby -----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 adesperateuser at googlemail.com Thu Aug 28 08:11:03 2008 From: adesperateuser at googlemail.com (Marcus) Date: Thu, 28 Aug 2008 08:11:03 +0200 Subject: View configuration selection on main web page In-Reply-To: <48B59E6C.6000407@ameritech.net> References: <48B59E6C.6000407@ameritech.net> Message-ID: <48B64177.705@googlemail.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Scott, scott wrote: > I tried selecting the View Configuration selection on the main nagios > web page and received the error: > Error: Could not read object configuration data! After 'make install-commandmode? in ye good ole /usr/local/src/nagios-current-Dir, "View Config" works again for me. Greetz, Marcus -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFItkF3+qVaNRZYOakRAphPAJ9dXfadwbJbcMr1L1ekPZs1ZNpVVgCfbch8 g+uQs2ARFEUez6RruD7UvCg= =M7Gf -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Thu Aug 28 09:11:33 2008 From: ae at op5.se (Andreas Ericsson) Date: Thu, 28 Aug 2008 09:11:33 +0200 Subject: Failing event_handlers and ocsp/ochp_command silently fail & gged In-Reply-To: <20080827112624.E2218@arbitor.digitalfreaks.org> References: <1199304403.2774.31.camel@soundwave.pitbpa0.priv.collaborativefusion.com> <1219848902.3204.117.camel@soundwave.ws.pitbpa0.priv.collaborativefusion.com> <48B570EB.1080103@op5.se> <20080827112624.E2218@arbitor.digitalfreaks.org> Message-ID: <48B64FA5.6000701@op5.se> Brian A. Seklecki wrote: > >> There's no problem with pipes. You may not agree with the standard, but >> that's not a problem with pipes. It's a problem with you. > > AE: No need to make it personal. > > The problem is not pipes, the POSIX standard, or adherence to standards > (*). It's how _pipes can obfuscate the problem_, and how letting > handlers contain them can lead to to: > - Obfuscation > - Problems with escaping > - Syntax problems Those are, once again, problems with users mis-using an incredibly useful feature. They're ofcourse free to use wrappers instead, and since the format is so flexible they can do that without any problems what so ever. I still haven't seen the actual problem with this, to be honest. > ... calling a wrapper Calling a wrapper is, for performance reasons, out of the question for many large installations. Especially so for the OCSP/OCHP commands. > or moving the code inside would solve some of this. > I'm not sure what you mean by this, but if you intend for Nagios to handle pipe-chains internally, I'd say that would be a really dumb idea, since it'd have to adhere to the exact same standard, or it would confuse users who knows how pipes *should* behave. >> Rather; Create a simple API that runs a process, storing everything >> interesting in a publicly declared data structure and calls a >> handler when the command is done executing. >> Preferrably the API should have a shortcut to let in-core code feed >> continuous input to it. > > Sounds fine. Or your other suggestion: Don't crunch 0,1,2,3 as health > check results when not execing a healthcheck. > > > ~BAS > > Although its not quite noon yet on the East coast yet, so I'll take a > moment to bash on GNU/Linux and ignoring standards: > > My current favorite is GNU libc and fclose(3) will let you fclose() a > null file pointer without error/warning (segfault is the expected > result) > I'm not sure how old your glibc is. If you compile it with -DLIBIO_DEBUG -DDEBUG_QUIET you get the behaviour you're talking about, but if you do that you shouldn't really expect 100% standards conformant behaviour. -- 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 joydeep at infoservices.in Thu Aug 28 10:14:01 2008 From: joydeep at infoservices.in (J. Bakshi) Date: Thu, 28 Aug 2008 13:44:01 +0530 Subject: ADSL modem checking In-Reply-To: <48B55046.30806@collaborativefusion.com> References: <48B54A06.2080201@infoservices.in> <48B55046.30806@collaborativefusion.com> Message-ID: <48B65E49.2000603@infoservices.in> Sean McAfee wrote: > J. Bakshi wrote: >> Ok, so ping_check is a ping command with standard features. >> >> I would be grateful to you if you give me 1 more suggestions >> >> 1> How can I check a different IP with check_ping command. I have tried >> as below with no success >> check_ping -H gmail.com!100.0,20%!500.0,60% > The !-separated argument syntax is only used to fill in arguments for > predefined checks. When running checks from the command line, > switches must be specified before most arguments. > > From check_ping --help: > Usage:check_ping -H -w ,% -c ,% > [-p packets] [-t timeout] [-4|-6] > > If you look at the command definition, you'll see how each !-separated > argument actually translates into the required switch + argument pair: > > define command{ > command_name check_ping > command_line $USER1$/check_ping -H $HOSTADDRESS$ -w $ARG1$ > -c $ARG2$ -p 5 > } > > What you're looking for is `check_ping -H gmail.com -w 100.0,20% -c > 500.0,60% -p 5` (the -p switch is optional, but specifies the amount > of icmp packets to send - after all, what good is a single ping?) > > If you're trying to configure a check where a host will ping an > arbitrary external host, remember that the $HOSTADDRESS$ macro will > always be filled in with the host_name or host_address of the > service. To get around that, define a new check along the lines of: > > define command{ > command_name check_ping_external > command_line $USER1$/check_ping -H $ARG1$ -w $ARG2$ -c > $ARG3$ -p 5 > } > > and then use: > > check_command check_ping_external!www.gmail.com!100.0,20%!500.0,60% > > in your service check definition. Awesome. It is a nice tool to check internet. The expansion will help me and other newbies to design commands and service definition. Thanks a LOT. > > 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. > > > -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Joydeep Bakshi, Linux System Admin Kolkatainfoservices Pvt Ltd, 23A Royd Street, Kolkata 700016, India Work Phone 91 033 40014784 http://infoservices.in/ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Aug 29 00:08:29 2008 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Thu, 28 Aug 2008 18:08:29 -0400 Subject: COMMENT Macros In-Reply-To: <4753AE5B8469A9499C6BC6EE8AF970A2021BFCE7548B@MAIL-CCR1.elizacorp.com> References: <4753AE5B8469A9499C6BC6EE8AF970A2021BFCE7548B@MAIL-CCR1.elizacorp.com> Message-ID: <48B721DD.2070306@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 28/08/08 11:30 AM, Ryan Gravlin wrote: > Hello all, > > I'm trying to include the comments that operators add to host/service acknowledgements. I currently have this setup as the NOTIFY COMMAND: > > # 'notify-host-by-email' command definition > define command{ > command_name notify-host-by-email > command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\nComment: $NOTIFICATIONAUTHORCOMMENT$\n\nDate/Time: $LONGDATETIME$\n" | /usr/bin/mail -s "** $NOTIFICATIONTYPE$ Host Alert: $HOSTNAME$ is $HOSTSTATE$ **" $CONTACTEMAIL$ > } > > Using Nagios 3.0.3. All I receive is "Comment: $" in the actual e-mail. I assume I'm missing something obvious but I haven't done much custom macro stuff in Nagios before and I was hoping someone else could shed some light? > > I do understand I may need to add additional notify commands due to the use of the $NOTIFICATIONAUTHORCOMMENT$, but this test is a also on a down host, not a service. Did you mean to use $NOTIFICATIONCOMMENT$ ? - -- Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFItyHc6dZ+Kt5BchYRAlQDAKDZMR5p/JLZo85ZWaRjACLEmEK/sQCgw4VC YFJSgDZLfBD7MY6/YatHh9k= =fe1/ -----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 addw at phcomp.co.uk Fri Aug 29 01:43:01 2008 From: addw at phcomp.co.uk (Alain Williams) Date: Fri, 29 Aug 2008 00:43:01 +0100 Subject: Dependencies Message-ID: <20080828234301.GP4136@mint.phcomp.co.uk> Hi, I am trying to get some of the dependency stuff working in Nagios. I have a very simple system: Machine A .... Router B ..... Internet .... machine C I use the following to show the relationship: define host{ use linux-server host_name A parents B } 1) The 'status map' shows nagios as being somehow between A & B, whereas it is on A (ie it runs on A). Is there a way that I can tell nagios that it is on A ? 2) I check that DNS is still working thus: define service{ use local-service host_name A service_description DNS Access check_command check_dns } How do I say that this depends on B ? ... I don't want warnings just because the router is dead. I also check (twice/day) that the clock on A is accurate, that will only work if NTP works, ie also depends on B, but is very much tied to A. TIA -- Alain Williams Linux Consultant - Mail systems, Web sites, Networking, Programmer, IT Lecturer. +44 (0) 787 668 0256 http://www.phcomp.co.uk/ Parliament Hill Computers Ltd. Registration Information: http://www.phcomp.co.uk/contact.php Chairman of UKUUG: http://www.ukuug.org/ #include ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Aug 29 15:59:40 2008 From: marc at ena.com (Marc Powell) Date: Fri, 29 Aug 2008 08:59:40 -0500 Subject: Is there any wat to check the internet bandwidth ? In-Reply-To: <48B7EB2D.4010605@infoservices.in> References: <48B7EB2D.4010605@infoservices.in> Message-ID: <413A6DE2-F1C4-45CA-9CE4-C01ED1EEBB0A@ena.com> On Aug 29, 2008, at 7:27 AM, J. Bakshi wrote: > Dear list, > > Is there any way to check the Internet bandwidth by nagios ? > I can imagine it would be a great option to have that information in > nagios. There are several plugins for doing this on nagiosexchange.org. Search for 'interface speed' and 'interface bandwidth'. -- 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 prajapatikc at gmail.com Fri Aug 29 07:27:28 2008 From: prajapatikc at gmail.com (Krishna Chandra Prajapati) Date: Fri, 29 Aug 2008 10:57:28 +0530 Subject: nrpe installation Message-ID: Hi, I have installed nagios and nagios plugins. Its working fine. But when i am trying to install nrpe ( binary installation) its giving SSL header not found. What can be the reson for this. Is it a dependency file. -- Krishna Chandra Prajapati -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From narendran.neelamegam at wipro.com Fri Aug 29 08:02:19 2008 From: narendran.neelamegam at wipro.com (narendran.neelamegam at wipro.com) Date: Fri, 29 Aug 2008 11:32:19 +0530 Subject: nrpe installation In-Reply-To: References: Message-ID: Yes. SSL libraries are dependency to encrypt the alerts. Regards, Naren From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Krishna Chandra Prajapati Sent: Friday, August 29, 2008 10:57 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] nrpe installation Hi, I have installed nagios and nagios plugins. Its working fine. But when i am trying to install nrpe ( binary installation) its giving SSL header not found. What can be the reson for this. Is it a dependency file. -- Krishna Chandra Prajapati -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From prajapatikc at gmail.com Fri Aug 29 10:26:13 2008 From: prajapatikc at gmail.com (Krishna Chandra Prajapati) Date: Fri, 29 Aug 2008 13:56:13 +0530 Subject: nrpe installation In-Reply-To: References: Message-ID: Thanks, i have installed and its working On Fri, Aug 29, 2008 at 11:32 AM, wrote: > Yes. SSL libraries are dependency to encrypt the alerts. > > > > Regards, > > Naren > > > > *From:* nagios-users-bounces at lists.sourceforge.net [mailto: > nagios-users-bounces at lists.sourceforge.net] *On Behalf Of *Krishna Chandra > Prajapati > *Sent:* Friday, August 29, 2008 10:57 AM > *To:* nagios-users at lists.sourceforge.net > *Subject:* [Nagios-users] nrpe installation > > > > Hi, > > I have installed nagios and nagios plugins. Its working fine. But when i am > trying to install nrpe ( binary installation) its giving SSL header not > found. What can be the reson for this. Is it a dependency file. > > -- > Krishna Chandra Prajapati > > * Please do not print this email unless it is absolutely necessary. * > > The information contained in this electronic message and any attachments to > this message are intended for the exclusive use of the addressee(s) and may > contain proprietary, confidential or privileged information. If you are not > the intended recipient, you should not disseminate, distribute or copy this > e-mail. Please notify the sender immediately and destroy all copies of this > message and any attachments. > > WARNING: Computer viruses can be transmitted via email. The recipient > should check this email and any attachments for the presence of viruses. The > company accepts no liability for any damage caused by any virus transmitted > by this email. > > www.wipro.com > -- Krishna Chandra Prajapati MySQL DBA, Ed Ventures e-Learning Pvt.Ltd. 1-8-303/48/15, Sindhi Colony P.G.Road, Secunderabad. Pin Code: 500003 Office Number: 040-66489771 Mob: 9912924044 URL: ed-ventures-online.com Email-id: prajapatikc at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From prajapatikc at gmail.com Fri Aug 29 10:37:01 2008 From: prajapatikc at gmail.com (Krishna Chandra Prajapati) Date: Fri, 29 Aug 2008 14:07:01 +0530 Subject: nrpe installation Message-ID: I have setup nagios server its working properly. Now i need to add remote server. So i have to install nrpe on monitoring server and remote server. But i am not able to configure nrpe properly on remote and monitoring server although installed.properly Any body please tell me how to configure nrpe on both remote and monitoring server -- Krishna Chandra Prajapati -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From narendran.neelamegam at wipro.com Fri Aug 29 10:52:11 2008 From: narendran.neelamegam at wipro.com (narendran.neelamegam at wipro.com) Date: Fri, 29 Aug 2008 14:22:11 +0530 Subject: nrpe installation In-Reply-To: References: Message-ID: You don't need nrpe on both the monitoring and the remote sever. You need check_nrpe -on monitoring server and nrpe on the remote/monitored server. I hope you have read the relevant section of the nrpe installation document. Do you have additional information on the remote server such as OS etc. What trouble shooting steps you carried out? Naren From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Krishna Chandra Prajapati Sent: Friday, August 29, 2008 2:07 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] nrpe installation I have setup nagios server its working properly. Now i need to add remote server. So i have to install nrpe on monitoring server and remote server. But i am not able to configure nrpe properly on remote and monitoring server although installed.properly Any body please tell me how to configure nrpe on both remote and monitoring server -- Krishna Chandra Prajapati -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Sebastian.Ries at dtnet.de Fri Aug 29 10:54:18 2008 From: Sebastian.Ries at dtnet.de (Sebastian Ries) Date: Fri, 29 Aug 2008 10:54:18 +0200 Subject: nrpe installation In-Reply-To: References: Message-ID: <1220000058.23608.21.camel@bofh.dtnet.de> Hi > I have setup nagios server its working properly. Now i need to add > remote server. So i have to install nrpe on monitoring server and > remote server. But i am not able to configure nrpe properly on remote > and monitoring server although installed.properly You do not need the nrpe-daemon on the monitoring server. The only thing you need is the check_nrpe-Script. > Any body please tell me how to configure nrpe on both remote and > monitoring server You need to set at least allowed_hosts to the IP of the monitoring server that it is allowed to talk to the nrpe daemon. Then you need to configure commands in the nrpe.cfg. only these commands are allowed to be called via check-nrpe. I hope that helps a little. Regards Sebastian Ries -- ------------------------------------------------------------ DT Netsolution GmbH - Talaeckerstr. 30 - D-70437 Stuttgart Tel: +49-711-849910-36 Fax: +49-711-849910-936 WEB: http://www.dtnet.de/ email: Sebastian.Ries at dtnet.de ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From joydeep at infoservices.in Fri Aug 29 10:53:29 2008 From: joydeep at infoservices.in (J. Bakshi) Date: Fri, 29 Aug 2008 14:23:29 +0530 Subject: how to disable notification for a particular service ? Message-ID: <48B7B909.1040901@infoservices.in> Hi all, Is there any way to disable the email-alert/notification for a particular service ? thanks -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Joydeep Bakshi, Linux System Admin Kolkatainfoservices Pvt Ltd, 23A Royd Street, Kolkata 700016, India Work Phone 91 033 40014784 http://infoservices.in/ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From assaf.flatto at ssp.uk.com Fri Aug 29 11:59:47 2008 From: assaf.flatto at ssp.uk.com (Assaf Flatto) Date: Fri, 29 Aug 2008 09:59:47 +0000 Subject: how to disable notification for a particular service ? In-Reply-To: <48B7B909.1040901@infoservices.in> References: <48B7B909.1040901@infoservices.in> Message-ID: <200808290959.47540.assaf.flatto@ssp.uk.com> open the web interfcae - click on the service you want to change and on ther right hand side you have an option called " disable notification for this service " Assaf On Friday 29 August 2008 08:53:29 J. Bakshi wrote: > Hi all, > > Is there any way to disable the email-alert/notification for a > particular service ? > > thanks 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 joydeep at infoservices.in Fri Aug 29 10:59:51 2008 From: joydeep at infoservices.in (J. Bakshi) Date: Fri, 29 Aug 2008 14:29:51 +0530 Subject: how to disable notification for a particular service ? In-Reply-To: <200808290959.47540.assaf.flatto@ssp.uk.com> References: <48B7B909.1040901@infoservices.in> <200808290959.47540.assaf.flatto@ssp.uk.com> Message-ID: <48B7BA87.7000505@infoservices.in> Assaf Flatto wrote: Thanks a lot Assaf. It solved my problem have a nice time. > open the web interfcae - click on the service you want to change and on ther right hand side you > have an option called " disable notification for this service " > > Assaf > On Friday 29 August 2008 08:53:29 J. Bakshi wrote: > >> Hi all, >> >> Is there any way to disable the email-alert/notification for a >> particular service ? >> >> thanks >> > > > > > > > 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 > > -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Joydeep Bakshi, Linux System Admin Kolkatainfoservices Pvt Ltd, 23A Royd Street, Kolkata 700016, India Work Phone 91 033 40014784 http://infoservices.in/ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From prajapatikc at gmail.com Fri Aug 29 11:07:08 2008 From: prajapatikc at gmail.com (Krishna Chandra Prajapati) Date: Fri, 29 Aug 2008 14:37:08 +0530 Subject: nrpe installation In-Reply-To: References: Message-ID: Remote server : Fedora Linux Monitoring Server : Debian linux Once again i am giving a try. I did as it was mentioned in the nrpe docs. On Fri, Aug 29, 2008 at 2:22 PM, wrote: > You don't need nrpe on both the monitoring and the remote sever. > > > > You need check_nrpe ?on monitoring server and nrpe on the remote/monitored > server. > > > > I hope you have read the relevant section of the nrpe installation > document. > > > > Do you have additional information on the remote server such as OS etc. > > > > What trouble shooting steps you carried out? > > > > Naren > > > > *From:* nagios-users-bounces at lists.sourceforge.net [mailto: > nagios-users-bounces at lists.sourceforge.net] *On Behalf Of *Krishna Chandra > Prajapati > *Sent:* Friday, August 29, 2008 2:07 PM > *To:* nagios-users at lists.sourceforge.net > *Subject:* [Nagios-users] nrpe installation > > > > I have setup nagios server its working properly. Now i need to add remote > server. So i have to install nrpe on monitoring server and remote server. > But i am not able to configure nrpe properly on remote and monitoring server > although installed.properly > > Any body please tell me how to configure nrpe on both remote and monitoring > server > > > -- > Krishna Chandra Prajapati > > * Please do not print this email unless it is absolutely necessary. * > > The information contained in this electronic message and any attachments to > this message are intended for the exclusive use of the addressee(s) and may > contain proprietary, confidential or privileged information. If you are not > the intended recipient, you should not disseminate, distribute or copy this > e-mail. Please notify the sender immediately and destroy all copies of this > message and any attachments. > > WARNING: Computer viruses can be transmitted via email. The recipient > should check this email and any attachments for the presence of viruses. The > company accepts no liability for any damage caused by any virus transmitted > by this email. > > www.wipro.com > -- Krishna Chandra Prajapati -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From joydeep at infoservices.in Fri Aug 29 11:03:29 2008 From: joydeep at infoservices.in (J. Bakshi) Date: Fri, 29 Aug 2008 14:33:29 +0530 Subject: how to disable notification for a particular service ? In-Reply-To: <48B7BA87.7000505@infoservices.in> References: <48B7B909.1040901@infoservices.in> <200808290959.47540.assaf.flatto@ssp.uk.com> <48B7BA87.7000505@infoservices.in> Message-ID: <48B7BB61.3000309@infoservices.in> J. Bakshi wrote: Urrg, If I do " disable notification " it says Sorry, but Nagios is currently not checking for external commands, so your command will not be committed! > Assaf Flatto wrote: > > Thanks a lot Assaf. > It solved my problem > have a nice time. > > >> open the web interfcae - click on the service you want to change and on ther right hand side you >> have an option called " disable notification for this service " >> >> Assaf >> On Friday 29 August 2008 08:53:29 J. Bakshi wrote: >> >> >>> Hi all, >>> >>> Is there any way to disable the email-alert/notification for a >>> particular service ? >>> >>> thanks >>> >>> >> >> >> >> >> 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 >> >> >> > > > -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Joydeep Bakshi, Linux System Admin Kolkatainfoservices Pvt Ltd, 23A Royd Street, Kolkata 700016, India Work Phone 91 033 40014784 http://infoservices.in/ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From assaf.flatto at ssp.uk.com Fri Aug 29 12:11:07 2008 From: assaf.flatto at ssp.uk.com (Assaf Flatto) Date: Fri, 29 Aug 2008 10:11:07 +0000 Subject: how to disable notification for a particular service ? In-Reply-To: <48B7BB61.3000309@infoservices.in> References: <48B7B909.1040901@infoservices.in> Message-ID: <200808291011.07221.assaf.flatto@ssp.uk.com> you should check if you are in the list of approved users to submit command . check in the cgi.cfg file. Assf On Friday 29 August 2008 09:03:29 J. Bakshi wrote: > J. Bakshi wrote: > > Urrg, If I do " disable notification " it says > > Sorry, but Nagios is currently not checking for external commands, so > your command will not be committed! > > > Assaf Flatto wrote: > > > > Thanks a lot Assaf. > > It solved my problem > > have a nice time. > > > >> open the web interfcae - click on the service you want to change and on > >> ther right hand side you have an option called " disable notification > >> for this service " > >> > >> Assaf > >> > >> On Friday 29 August 2008 08:53:29 J. Bakshi wrote: > >>> Hi all, > >>> > >>> Is there any way to disable the email-alert/notification for a > >>> particular service ? > >>> > >>> thanks > >> > >> 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 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 Sascha.Runschke at gfkl.com Fri Aug 29 11:17:34 2008 From: Sascha.Runschke at gfkl.com (Sascha.Runschke at gfkl.com) Date: Fri, 29 Aug 2008 11:17:34 +0200 Subject: Antwort: Re: how to disable notification for a particular service ? In-Reply-To: <48B7BB61.3000309@infoservices.in> References: <48B7BB61.3000309@infoservices.in> Message-ID: nagios-users-bounces at lists.sourceforge.net schrieb am 29.08.2008 11:03:29: > Urrg, If I do " disable notification " it says > > Sorry, but Nagios is currently not checking for external commands, so > your command will not be committed! Well, obviously you turned off the check_external_commands in the nagios.cfg. Set it to 1 and restart nagios. Btw: this would be an excellent time for reading the nagios documentation, too... Regards Sascha -- Sascha Runschke IT-Infrastruktur GFKL Financial Services AG Limbecker Platz 1 45127 Essen Telefon : +49 (201) 102-1879 Mobil : +49 (173) 5419665 Fax : +49 (201) 102-1102105 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 prajapatikc at gmail.com Fri Aug 29 11:30:39 2008 From: prajapatikc at gmail.com (Krishna Chandra Prajapati) Date: Fri, 29 Aug 2008 15:00:39 +0530 Subject: nrpe installation In-Reply-To: References: Message-ID: Hi, nrpe daemon is running on the remote box. One thing is not clear to me ( from nrpe docs) Edit the /etc/xinetd.d/nrpe file and add the IP address of the monitoring server to the only_from directive. only_from = 127.0.0.1 (here nagios server ip address given or Monitoring server) After executing on remote server netstat -at | grep nrpe tcp 0 0 *:nrpe *:* LISTEN (below check_nrpe is not working) Next, check to make sure the NRPE daemon is functioning properly. To do this, run the check_nrpe plugin that was installed for testing purposes. /usr/local/nagios/libexec/check_nrpe -H localhost You should get a string back that tells you what version of NRPE is installed, like this: NRPE v2.8 could not complete ssl handshake On Fri, Aug 29, 2008 at 2:22 PM, wrote: > You don't need nrpe on both the monitoring and the remote sever. > > > > You need check_nrpe ?on monitoring server and nrpe on the remote/monitored > server. > > > > I hope you have read the relevant section of the nrpe installation > document. > > > > Do you have additional information on the remote server such as OS etc. > > > > What trouble shooting steps you carried out? > > > > Naren > > > > *From:* nagios-users-bounces at lists.sourceforge.net [mailto: > nagios-users-bounces at lists.sourceforge.net] *On Behalf Of *Krishna Chandra > Prajapati > *Sent:* Friday, August 29, 2008 2:07 PM > *To:* nagios-users at lists.sourceforge.net > *Subject:* [Nagios-users] nrpe installation > > > > I have setup nagios server its working properly. Now i need to add remote > server. So i have to install nrpe on monitoring server and remote server. > But i am not able to configure nrpe properly on remote and monitoring server > although installed.properly > > Any body please tell me how to configure nrpe on both remote and monitoring > server > > > -- > Krishna Chandra Prajapati > > * Please do not print this email unless it is absolutely necessary. * > > The information contained in this electronic message and any attachments to > this message are intended for the exclusive use of the addressee(s) and may > contain proprietary, confidential or privileged information. If you are not > the intended recipient, you should not disseminate, distribute or copy this > e-mail. Please notify the sender immediately and destroy all copies of this > message and any attachments. > > WARNING: Computer viruses can be transmitted via email. The recipient > should check this email and any attachments for the presence of viruses. The > company accepts no liability for any damage caused by any virus transmitted > by this email. > > www.wipro.com > -- Krishna Chandra Prajapati MySQL DBA, Ed Ventures e-Learning Pvt.Ltd. 1-8-303/48/15, Sindhi Colony P.G.Road, Secunderabad. Pin Code: 500003 Office Number: 040-66489771 Mob: 9912924044 URL: ed-ventures-online.com Email-id: prajapatikc at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From narendran.neelamegam at wipro.com Fri Aug 29 11:36:00 2008 From: narendran.neelamegam at wipro.com (narendran.neelamegam at wipro.com) Date: Fri, 29 Aug 2008 15:06:00 +0530 Subject: nrpe installation In-Reply-To: References: Message-ID: only_from = 127.0.0.1 (here nagios server ip address given or Monitoring server) Only allow access to nrpe deamon from localhost and the IP of the Nagios server ( You don't want other systems to connect nrpe deamon) ( Run the below commands and send check the error message) /usr/local/nagios/libexec/check_nrpe -H 127.0.0.1 usr/local/nagios/libexec/check_nrpe -H 127.0.0.1 -n Also enable logging in nrpe.cfg and check the log. Regards, Naren From: Krishna Chandra Prajapati [mailto:prajapatikc at gmail.com] Sent: Friday, August 29, 2008 3:01 PM To: Narendran Neelamegam (WT01 - TECHNOLOGY INFRASTRUCTURE SERVICES (GS)) Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] nrpe installation Hi, nrpe daemon is running on the remote box. One thing is not clear to me ( from nrpe docs) Edit the /etc/xinetd.d/nrpe file and add the IP address of the monitoring server to the only_from directive. only_from = 127.0.0.1 (here nagios server ip address given or Monitoring server) After executing on remote server netstat -at | grep nrpe tcp 0 0 *:nrpe *:* LISTEN (below check_nrpe is not working) Next, check to make sure the NRPE daemon is functioning properly. To do this, run the check_nrpe plugin that was installed for testing purposes. /usr/local/nagios/libexec/check_nrpe -H localhost You should get a string back that tells you what version of NRPE is installed, like this: NRPE v2.8 could not complete ssl handshake On Fri, Aug 29, 2008 at 2:22 PM, wrote: You don't need nrpe on both the monitoring and the remote sever. You need check_nrpe -on monitoring server and nrpe on the remote/monitored server. I hope you have read the relevant section of the nrpe installation document. Do you have additional information on the remote server such as OS etc. What trouble shooting steps you carried out? Naren From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Krishna Chandra Prajapati Sent: Friday, August 29, 2008 2:07 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] nrpe installation I have setup nagios server its working properly. Now i need to add remote server. So i have to install nrpe on monitoring server and remote server. But i am not able to configure nrpe properly on remote and monitoring server although installed.properly Any body please tell me how to configure nrpe on both remote and monitoring server -- Krishna Chandra Prajapati Please do not print this email unless it is absolutely necessary. The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com -- Krishna Chandra Prajapati MySQL DBA, Ed Ventures e-Learning Pvt.Ltd. 1-8-303/48/15, Sindhi Colony P.G.Road, Secunderabad. Pin Code: 500003 Office Number: 040-66489771 Mob: 9912924044 URL: ed-ventures-online.com Email-id: prajapatikc at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From prajapatikc at gmail.com Fri Aug 29 11:46:16 2008 From: prajapatikc at gmail.com (Krishna Chandra Prajapati) Date: Fri, 29 Aug 2008 15:16:16 +0530 Subject: nrpe installation In-Reply-To: References: Message-ID: I have executed on remote server [root at edventures76 ~]# /usr/local/nagios/libexec/check_nrpe -H 127.0.0.1 NRPE v2.12 [root at edventures76 ~]# /usr/local/nagios/libexec/check_nrpe -H 127.0.0.1 -n CHECK_NRPE: Error receiving data from daemon. [root at edventures76 ~]# vi /usr/local/nagios/etc/nrpe.cfg [root at edventures76 ~]# /usr/local/nagios/libexec/check_users -w 5 -c 10 USERS WARNING - 5 users currently logged in |users=5;5;10;0 On Fri, Aug 29, 2008 at 3:06 PM, wrote: > only_from = 127.0.0.1 (here nagios server > ip address given or Monitoring server) > > > > Only allow access to nrpe deamon from localhost and the IP of the Nagios > server ( You don't want other systems to connect nrpe deamon) > > > > ( Run the below commands and send check the error message) > > > > /usr/local/nagios/libexec/check_nrpe -H 127.0.0.1 > > > > usr/local/nagios/libexec/check_nrpe -H 127.0.0.1 -n > > > > Also enable logging in nrpe.cfg and check the log. > > > > Regards, > > Naren > > > > *From:* Krishna Chandra Prajapati [mailto:prajapatikc at gmail.com] > *Sent:* Friday, August 29, 2008 3:01 PM > *To:* Narendran Neelamegam (WT01 - TECHNOLOGY INFRASTRUCTURE SERVICES > (GS)) > *Cc:* nagios-users at lists.sourceforge.net > *Subject:* Re: [Nagios-users] nrpe installation > > > > Hi, > > nrpe daemon is running on the remote box. One thing is not clear to me ( > from nrpe docs) > > Edit the /etc/xinetd.d/nrpe file and add the IP address of the monitoring > server to the only_from directive. > only_from = 127.0.0.1 (here nagios server ip > address given or Monitoring server) > > After executing on remote server > netstat -at | grep nrpe > > tcp 0 0 *:nrpe *:* LISTEN > > (below check_nrpe is not working) > Next, check to make sure the NRPE daemon is functioning properly. To do > this, run the check_nrpe plugin that > was installed for testing purposes. > /usr/local/nagios/libexec/check_nrpe -H localhost > You should get a string back that tells you what version of NRPE is > installed, like this: > NRPE v2.8 > could not complete ssl handshake > > > > On Fri, Aug 29, 2008 at 2:22 PM, wrote: > > You don't need nrpe on both the monitoring and the remote sever. > > > > You need check_nrpe ?on monitoring server and nrpe on the remote/monitored > server. > > > > I hope you have read the relevant section of the nrpe installation > document. > > > > Do you have additional information on the remote server such as OS etc. > > > > What trouble shooting steps you carried out? > > > > Naren > > > > *From:* nagios-users-bounces at lists.sourceforge.net [mailto: > nagios-users-bounces at lists.sourceforge.net] *On Behalf Of *Krishna Chandra > Prajapati > *Sent:* Friday, August 29, 2008 2:07 PM > > > *To:* nagios-users at lists.sourceforge.net > *Subject:* [Nagios-users] nrpe installation > > > > I have setup nagios server its working properly. Now i need to add remote > server. So i have to install nrpe on monitoring server and remote server. > But i am not able to configure nrpe properly on remote and monitoring server > although installed.properly > > > Any body please tell me how to configure nrpe on both remote and monitoring > server > > > -- > Krishna Chandra Prajapati > > *Please do not print this email unless it is absolutely necessary. * > > The information contained in this electronic message and any attachments to > this message are intended for the exclusive use of the addressee(s) and may > contain proprietary, confidential or privileged information. If you are not > the intended recipient, you should not disseminate, distribute or copy this > e-mail. Please notify the sender immediately and destroy all copies of this > message and any attachments. > > WARNING: Computer viruses can be transmitted via email. The recipient > should check this email and any attachments for the presence of viruses. The > company accepts no liability for any damage caused by any virus transmitted > by this email. > > www.wipro.com > > > > > -- > Krishna Chandra Prajapati > MySQL DBA, > Ed Ventures e-Learning Pvt.Ltd. > 1-8-303/48/15, Sindhi Colony > P.G.Road, Secunderabad. > Pin Code: 500003 > Office Number: 040-66489771 > Mob: 9912924044 > URL: ed-ventures-online.com > Email-id: prajapatikc at gmail.com > > * Please do not print this email unless it is absolutely necessary. * > > The information contained in this electronic message and any attachments to > this message are intended for the exclusive use of the addressee(s) and may > contain proprietary, confidential or privileged information. If you are not > the intended recipient, you should not disseminate, distribute or copy this > e-mail. Please notify the sender immediately and destroy all copies of this > message and any attachments. > > WARNING: Computer viruses can be transmitted via email. The recipient > should check this email and any attachments for the presence of viruses. The > company accepts no liability for any damage caused by any virus transmitted > by this email. > > www.wipro.com > -- Krishna Chandra Prajapati MySQL DBA, Ed Ventures e-Learning Pvt.Ltd. 1-8-303/48/15, Sindhi Colony P.G.Road, Secunderabad. Pin Code: 500003 Office Number: 040-66489771 Mob: 9912924044 URL: ed-ventures-online.com Email-id: prajapatikc at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From joydeep at infoservices.in Fri Aug 29 11:53:23 2008 From: joydeep at infoservices.in (J. Bakshi) Date: Fri, 29 Aug 2008 15:23:23 +0530 Subject: Antwort: Re: how to disable notification for a particular service ? In-Reply-To: References: Message-ID: <48B7C713.8040802@infoservices.in> Sascha.Runschke at gfkl.com wrote: > > nagios-users-bounces at lists.sourceforge.net schrieb am 29.08.2008 11:03:29: > > > Urrg, If I do " disable notification " it says > > > > Sorry, but Nagios is currently not checking for external commands, so > > your command will not be committed! > > Well, obviously you turned off the check_external_commands in the > nagios.cfg. > Set it to 1 and restart nagios. Thanks Sascha, Now there is no problem to disable notification. > > Btw: this would be an excellent time for reading the nagios > documentation, too... > > Regards > Sascha > > -- > Sascha Runschke > IT-Infrastruktur > > GFKL Financial Services AG > Limbecker Platz 1 > 45127 Essen > > Telefon : +49 (201) 102-1879 Mobil : +49 (173) 5419665 Fax : +49 (201) > 102-1102105 > > > GFKL Financial Services AG > Vorstand: Dr. Peter J?nsch (Vors.), J?rgen Baltes, Dr. Till > Ergenzinger, Dr. Tom Haverkamp > Vorsitzender des Aufsichtsrats: Dr. Georg F. Thoma > Sitz: Limbecker Platz 1, 45127 Essen, Amtsgericht Essen, HRB 13522 > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Joydeep Bakshi, Linux System Admin Kolkatainfoservices Pvt Ltd, 23A Royd Street, Kolkata 700016, India Work Phone 91 033 40014784 http://infoservices.in/ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mohan.kumar3 at wipro.com Fri Aug 29 16:27:54 2008 From: mohan.kumar3 at wipro.com (mohan.kumar3 at wipro.com) Date: Fri, 29 Aug 2008 19:57:54 +0530 Subject: Reg: CHECK_NRPE: Socket timeout after 60 seconds Message-ID: <778D585B75D65E47AE5BD4FB80E9C01E103D7D@CHN-SNR-MBX02.wipro.com> Hi, I have received the CHECK_NRPE: Socket timeout after 60 seconds error while running the command (own script and which is working on other server) I am able to run other commands without any error. could anyone help me. Regards G. Mohan Kumar -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From assaf.flatto at ssp.uk.com Fri Aug 29 17:32:34 2008 From: assaf.flatto at ssp.uk.com (Assaf Flatto) Date: Fri, 29 Aug 2008 15:32:34 +0000 Subject: Reg: CHECK_NRPE: Socket timeout after 60 seconds In-Reply-To: <778D585B75D65E47AE5BD4FB80E9C01E103D7D@CHN-SNR-MBX02.wipro.com> References: <778D585B75D65E47AE5BD4FB80E9C01E103D7D@CHN-SNR-MBX02.wipro.com> Message-ID: <200808291532.34282.assaf.flatto@ssp.uk.com> Can you provide some data ? Like what are you trying to run ? what is the load on the machine your trying to test ? what is the PING RTA to the machine ? what is the timeout defined in the nrpe.cfg for the machine you are trying to check ? does the nrpe limit the servers that can connect to it ? maybe your nagios IP is not in the definitions ? Assaf On Friday 29 August 2008 14:27:54 mohan.kumar3 at wipro.com wrote: > Hi, > I have received the CHECK_NRPE: Socket timeout after 60 seconds error > while running the command (own script and which is working on other server) > I am able to run other commands without any error. could anyone help me. > > Regards > G. Mohan Kumar > > 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 joydeep at infoservices.in Fri Aug 29 14:27:25 2008 From: joydeep at infoservices.in (J. Bakshi) Date: Fri, 29 Aug 2008 17:57:25 +0530 Subject: Is there any wat to check the internet bandwidth ? Message-ID: <48B7EB2D.4010605@infoservices.in> Dear list, Is there any way to check the Internet bandwidth by nagios ? I can imagine it would be a great option to have that information in nagios. thanks -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Joydeep Bakshi, Linux System Admin Kolkatainfoservices Pvt Ltd, 23A Royd Street, Kolkata 700016, India Work Phone 91 033 40014784 http://infoservices.in/ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From paul.weaver at bbc.co.uk Fri Aug 29 14:39:54 2008 From: paul.weaver at bbc.co.uk (Paul Weaver) Date: Fri, 29 Aug 2008 13:39:54 +0100 Subject: single command, multiple disks to monitor In-Reply-To: <648290.30542.qm@web58801.mail.re1.yahoo.com> References: <648290.30542.qm@web58801.mail.re1.yahoo.com> Message-ID: From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Chandra Bahadur > > Hi > I would like to monitor two partitions(/dev/sda1 and /dev/sda3) with the same command.. > How do I specify those ? Is it by separating with commas or by just space as below ?? > > command[check_disk]=/usr/local/nagios/libexec/check_disk -w 10% -c 5% -p /dev/sda3 /dev/sda1 > > or > > command[check_disk]=/usr/local/nagios/libexec/check_disk -w 10% -c 5% -p /dev/sda3,/dev/sda1 check_disk -w 10% -c 5% -p /dev/sda3 -p /dev/sda1 -p /mnt/foo Warns if either partition is below 10% Run "check_disk -h" for other things you can do http://www.bbc.co.uk/ This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated. If you have received it in error, please delete it from your system. Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately. Please note that the BBC monitors e-mails sent or received. Further communication will signify your consent to this. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From volker.maibaum at eberspaecher.com Fri Aug 29 14:46:10 2008 From: volker.maibaum at eberspaecher.com (Volker Maibaum) Date: Fri, 29 Aug 2008 14:46:10 +0200 Subject: single command, multiple disks to monitor In-Reply-To: References: Message-ID: <1220013970.7308.22.camel@eberspaecher.com> Hi, you can also use different thresholds for each filesystem: ./check_disk -w 10% -c 20% -p / -C -m -w 100 -c 20 -p /usr if you plan to do so, you should use a current version of check_disk. Old versions have a bug where only the last given filesystem ist checked. regards, volker -------------- next part -------------- An embedded message was scrubbed... From: "Paul Weaver" Subject: Re: [Nagios-users] single command, multiple disks to monitor Date: Fri, 29 Aug 2008 13:39:54 +0100 Size: 5559 URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Aug 29 15:00:33 2008 From: adesperateuser at googlemail.com (Marcus) Date: Fri, 29 Aug 2008 15:00:33 +0200 Subject: Is there any wat to check the internet bandwidth ? In-Reply-To: <48B7EB2D.4010605@infoservices.in> References: <48B7EB2D.4010605@infoservices.in> Message-ID: <48B7F2F1.9040401@googlemail.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 J. Bakshi schrieb: > Is there any way to check the Internet bandwidth by nagios ? How about writing a plugin, which downloads a file of a given size and measures the time it took, then let the plugin calculate the bandwidth. You could use wget and an external high-speed server for that. You could also, of course, simply go for "check_bandwidth" (https://trac.id.ethz.ch/projects/nagios_plugins/wiki/check_bandwidth) which uses iperf (http://www.dast.nlanr.net/Projects/Iperf/) on a remote host. ;-) This doesn't seem to be the same check_bandwidth as on the nagiosexchange-page, though. (http://www.nagiosexchange.org/cgi-bin/page.cgi?g=2464.html;d=1). Greetz, Marcus -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIt/Lx+qVaNRZYOakRAgPLAKCEL2IOr8wiI79yJyrs8L4MekoqwQCfTuDW Gt1MW0b3EMDKBNifgC2i+Ic= =fGbB -----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 livio.zanol.puppim at gmail.com Fri Aug 29 15:00:38 2008 From: livio.zanol.puppim at gmail.com (Livio Zanol Puppim) Date: Fri, 29 Aug 2008 10:00:38 -0300 Subject: Wrong next scheduled active check? Message-ID: Hello, My Nagios is reporting a strange value at "next scheduled active check" for a specified service that is suposed to run every 2 min. When I open the service detail at web interface it gives me the following: ------------------------------------------------------------------------------------- Last Check Time: 2008-08-29 08:44:37 Next Scheduled Active Check: 2008-08-29 08:59:42 ------------------------------------------------------------------------------------- The service definition is as following: define service{ host_name SERVER service_description PING check_command check_ping!2000.0,90%!2900.0,100% max_check_attempts 1 normal_check_interval 2 retry_check_interval 1 active_checks_enabled 1 parallelize_check 1 notifications_enabled 0 check_period 24x7 notification_period 24x7 notification_options c notification_interval 0 contact_groups CONTACT } Anyone knows why? Running Nagios 2.6 on Debian etch stable -- []'s L?vio Zanol Puppim ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lflacayo at cps.k12.il.us Fri Aug 29 17:24:22 2008 From: lflacayo at cps.k12.il.us (Luis Fernando Lacayo) Date: Fri, 29 Aug 2008 10:24:22 -0500 Subject: NAGIOS Distributed Monitoring....Question... In-Reply-To: <200808291532.34282.assaf.flatto@ssp.uk.com> References: <778D585B75D65E47AE5BD4FB80E9C01E103D7D@CHN-SNR-MBX02.wipro.com> <200808291532.34282.assaf.flatto@ssp.uk.com> Message-ID: <1220023462.13965.18.camel@UNIX-TEAM-LACAYO> Good Morning Everyone. How all your monitoring is going well. I have a question about how people monitor their network. I have some 1500 devices and some 2500 services that I monitor with my NAGIOS server, and I am for the most part happy with my setup. I am beginning to be a bit concerned about how many checks can be performed by my server per minute. In other words, if I monitor 1500 servers, at what point will the monitoring cycle over lap. Right now I have a budget to purchase 2 servers (most likely dell 2950 or equivalent). When do I say I need to be doing distributed monitoring? Can anyone share their distributed Nagios monitoring diagram? thanks in advance, Luis -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bjlockie at lockie.ca Fri Aug 29 18:02:02 2008 From: bjlockie at lockie.ca (James) Date: Fri, 29 Aug 2008 12:02:02 -0400 (EDT) Subject: nuvola them on 3 Message-ID: <8f7dc8eab170f127d6530cb7e0c00c27.squirrel@webmail.lockie.ca> I installed the nuvola theme but I can't restart nagios. I tried to check the config file with -v but that didn't work. I then tried to even run nagios and that failed. bin/nagios Killed There is no: /usr/local/nagios/var/nagios.log The theme is on the running one but there is an error "Error - Missing Content-Type Header" but that is a problem to solve after I can run 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 marc at ena.com Fri Aug 29 19:00:58 2008 From: marc at ena.com (Marc Powell) Date: Fri, 29 Aug 2008 12:00:58 -0500 Subject: nuvola them on 3 In-Reply-To: <8f7dc8eab170f127d6530cb7e0c00c27.squirrel@webmail.lockie.ca> References: <8f7dc8eab170f127d6530cb7e0c00c27.squirrel@webmail.lockie.ca> Message-ID: On Aug 29, 2008, at 11:02 AM, James wrote: > I installed the nuvola theme but I can't restart nagios. Note that it was meant for 2.0, at least the one on NagiosExchange. > I tried to check the config file with -v but that didn't work. How did it not work, specifically? > I then tried to even run nagios and that failed. The nuvola them does not affect the running of the nagios daemon in any way. It only changes the HTML display... Your problem is very likely elsewhere... -- 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 smartin at akazaresearch.com Fri Aug 29 20:48:46 2008 From: smartin at akazaresearch.com (Shaun Martin) Date: Fri, 29 Aug 2008 14:48:46 -0400 Subject: Notification Problem Message-ID: Hi All, So I am using all templates and I just added a new host today. Using the same service and host templates as all my other hosts. Those other hosts send me out notifications when a service hits warning or critical. My new host only seems to send out host notifications and not service notifications. Like I said the same template is used for this new host and my old hosts for services. I am using the nrpe agent, the only real difference about this machine is it is Sun OS, but the check_nrpe ?c returns the same values as it does on a linux box so I do not think that is the issue. Also I noticed even though the service has been checked many times with a warning or critical status, the current attempt never progresses of of one. I do a check service now and wait for it to finish and the attempt is still 1/4. So I do not know is that is the underlying issue. I have restarted nagios after ever configuration change and I did a ps to make sure their was no instance running before starting backup. Since I am using templates I do not know what my problem is as every other service notifies except services on this host which is using the same host and service templates. I am bout to pull my hair out any help would be appreciated. Nagios V3.0.3 Thanks, Shaun -- Shaun Martin Systems Administrator Akaza Research smartin at akazaresearch.com Office: (617) 621-8585 x 13 Cell: (978) 360-3402 www.akazaresearch.com www.openclinica.org -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bjlockie at lockie.ca Fri Aug 29 22:14:39 2008 From: bjlockie at lockie.ca (James) Date: Fri, 29 Aug 2008 16:14:39 -0400 (EDT) Subject: nuvola them on 3 In-Reply-To: References: <8f7dc8eab170f127d6530cb7e0c00c27.squirrel@webmail.lockie.ca> Message-ID: On Fri, August 29, 2008 1:00 pm, Marc Powell wrote: > > How did it not work, specifically? > > >> I then tried to even run nagios and that failed. It just says: # bin/nagios Killed There is no output and no log. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Aug 29 23:44:04 2008 From: marc at ena.com (Marc Powell) Date: Fri, 29 Aug 2008 16:44:04 -0500 Subject: nuvola them on 3 In-Reply-To: References: <8f7dc8eab170f127d6530cb7e0c00c27.squirrel@webmail.lockie.ca> Message-ID: <1CA48988-DD16-4D10-9D11-A92D03DBF218@ena.com> On Aug 29, 2008, at 3:14 PM, James wrote: > On Fri, August 29, 2008 1:00 pm, Marc Powell wrote: >> > >> How did it not work, specifically? >> >> >>> I then tried to even run nagios and that failed. > > It just says: > # bin/nagios > Killed Killed means some external program killed the daemon. Was that you? To start nagios, you should use the init script or start nagios manually with '/path/to/nagios -d /path/to/nagios.cfg'. Do you have disk space or memory issues? If you continue to have problems, running nagios via strace or truss (depending on your OS) may show some interesting information in the last 50 lines or so. -- 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 Sat Aug 30 00:00:22 2008 From: marc at ena.com (Marc Powell) Date: Fri, 29 Aug 2008 17:00:22 -0500 Subject: Notification Problem In-Reply-To: References: Message-ID: On Aug 29, 2008, at 1:48 PM, Shaun Martin wrote: > Hi All, > > So I am using all templates and I just added a new host today. Using > the same service and host templates as all my other hosts. Those > other hosts send me out notifications when a service hits warning or > critical. My new host only seems to send out host notifications and > not service notifications. Like I said the same template is used for > this new host and my old hosts for services. I am using the nrpe > agent, the only real difference about this machine is it is Sun OS, > but the check_nrpe ?c returns the same values as it does on a linux > box so I do not think that is the issue. Also I noticed even though > the service has been checked many times with a warning or critical > status, the current attempt never progresses of of one. I do a check > service now and wait for it to finish and the attempt is still 1/4. > So I do not know is that is the underlying issue. I have restarted > nagios after ever configuration change and I did a ps to make sure > their was no instance running before starting backup. Since I am > using templates I do not know what my problem is as every other > service notifies except services on this host which is using the > same host and service templates. I am bout to pull my hair out any > help would be appreciated. You'll have to provide more detailed information. The above is too vague to figure out what the underlying issue is. You've covered some of the bases though. Please post -- the service template definition the service definition the host template definition the host definition the contactgroup definition the contact definition the Service State Information from the web gui when it should have sent a notification (click on the service name) any nagios.log entries for the service when it should have sent a notification -- 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 johnfm3 at hotmail.com Sat Aug 30 00:28:50 2008 From: johnfm3 at hotmail.com (John Moore) Date: Fri, 29 Aug 2008 15:28:50 -0700 Subject: Checking who is logged on Message-ID: Is there any way to notify me who is logged on? I know check_users will tell me how many people are logged on. But it would be nice to know who as well. Thanks, John _________________________________________________________________ Get thousands of games on your PC, your mobile phone, and the web with Windows?. http://clk.atdmt.com/MRT/go/108588800/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 agnello.dsouza at gmail.com Sat Aug 30 08:55:33 2008 From: agnello.dsouza at gmail.com (Agnello George) Date: Sat, 30 Aug 2008 12:25:33 +0530 Subject: check_mysql plugin ... unable to install Message-ID: <8c6878890808292355t720b0898h1d0225d651c8190@mail.gmail.com> hi I was searching for mysql plugin to monitor mysql services ... i did find the appropriate plugin ( nagios-plugins-1.4.12.tar.gz ) with the following command ./configure --prefix=/usr/local/nagios make && make install only few pligins were added to /usr/local/nagios/libexec/ directory. The Check_mysql plugin was not added to this dir. Can any one tell me where i have gone wrong !! Thanks !! -- Regards Agnello D'souza www.linux-vashi.blogspot.com www.bible-study-india.blogspot.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 Sat Aug 30 09:04:12 2008 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Sat, 30 Aug 2008 09:04:12 +0200 Subject: check_mysql plugin ... unable to install In-Reply-To: <8c6878890808292355t720b0898h1d0225d651c8190@mail.gmail.com> References: <8c6878890808292355t720b0898h1d0225d651c8190@mail.gmail.com> Message-ID: <48B8F0EC.5090602@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Agnello George wrote: > hi > I was searching for mysql plugin to monitor mysql services ... i did > find the appropriate plugin ( nagios-plugins-1.4.12.tar.gz ) with the > following command > ./configure --prefix=/usr/local/nagios > make && make install > > only few pligins were added to /usr/local/nagios/libexec/ directory. The > Check_mysql plugin was not added to this dir. > Can any one tell me where i have gone wrong !! I guess by not reading the output these steps created. I am sure there will be notices why something is not build. The most common mistakes: - No development environment - No MySQL development environment I suggest you check those and install them the normal way you install software on your distribution where needed. If that does not work AND doing a search on the archives of this mailinglist did not provide in working clues then send relevant error/warning information, details about your system, .... to the mailinglist. 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) iD8DBQFIuPDqBvzDRVjxmYERApy0AJwPQpJWxNixvdrGZDBgnh5wR/UgcgCfW5Hq FtBOLejO8qGaRwB0stxyagA= =6D3s -----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 agnello.dsouza at gmail.com Sat Aug 30 09:15:50 2008 From: agnello.dsouza at gmail.com (Agnello George) Date: Sat, 30 Aug 2008 12:45:50 +0530 Subject: check_mysql plugin ... unable to install In-Reply-To: <48B8F0EC.5090602@vanderkooij.org> References: <8c6878890808292355t720b0898h1d0225d651c8190@mail.gmail.com> <48B8F0EC.5090602@vanderkooij.org> Message-ID: <8c6878890808300015yca84d9exb049ed43979f0200@mail.gmail.com> On 8/30/08, Hugo van der Kooij wrote: > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Agnello George wrote: > > hi > > I was searching for mysql plugin to monitor mysql services ... i did > > find the appropriate plugin ( nagios-plugins-1.4.12.tar.gz ) with the > > following command > > ./configure --prefix=/usr/local/nagios > > make && make install > > > > only few pligins were added to /usr/local/nagios/libexec/ directory. The > > Check_mysql plugin was not added to this dir. > > Can any one tell me where i have gone wrong !! > > I guess by not reading the output these steps created. I am sure there > will be notices why something is not build. > > The most common mistakes: > - No development environment > - No MySQL development environment HI Thanks a lot .... i didnt have mysql-devel in my system ..... i installed it and the re-ran the ./configure command ... and now the check_mysql plugin is installed in the right place . Thanks again. -- Regards Agnello D'souza www.linux-vashi.blogspot.com www.bible-study-india.blogspot.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 asam30 at gmail.com Sat Aug 30 13:20:38 2008 From: asam30 at gmail.com (asam30 at gmail.com) Date: Sat, 30 Aug 2008 16:50:38 +0530 Subject: Reg: CHECK_NRPE: Socket timeout after 60 seconds In-Reply-To: <200808291532.34282.assaf.flatto@ssp.uk.com> References: <778D585B75D65E47AE5BD4FB80E9C01E103D7D@CHN-SNR-MBX02.wipro.com> <200808291532.34282.assaf.flatto@ssp.uk.com> Message-ID: <25251aec0808300420l5e8662ecrd0a8c6b93514f62b@mail.gmail.com> another questio, does the nrpe compiled with ssl or without? if it is without, then try using -n after the command On Fri, Aug 29, 2008 at 9:02 PM, Assaf Flatto wrote: > Can you provide some data ? > > Like what are you trying to run ? > what is the load on the machine your trying to test ? > what is the PING RTA to the machine ? > what is the timeout defined in the nrpe.cfg for the machine you are trying > to check ? > does the nrpe limit the servers that can connect to it ? maybe your nagios > IP is not in the > definitions ? > > Assaf > > On Friday 29 August 2008 14:27:54 mohan.kumar3 at wipro.com wrote: > > Hi, > > I have received the CHECK_NRPE: Socket timeout after 60 seconds error > > while running the command (own script and which is working on other > server) > > I am able to run other commands without any error. could anyone help me. > > > > Regards > > G. Mohan Kumar > > > > > > > > > > > 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 > -- Shankar Asam -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From asam30 at gmail.com Sat Aug 30 13:29:44 2008 From: asam30 at gmail.com (asam30 at gmail.com) Date: Sat, 30 Aug 2008 16:59:44 +0530 Subject: nrpe installation In-Reply-To: References: Message-ID: <25251aec0808300429y26f3fdb2n8452946dee96a285@mail.gmail.com> run the same command from the nagios server to see if the nrpe working between nagios server and client. on the nagios server, if the nagios is installed at /usr/local/nagios then /usr/local/nagios/libexec/check_nrpe -H -c check_users if you get the output then, it compiled and working fine. On Fri, Aug 29, 2008 at 3:16 PM, Krishna Chandra Prajapati < prajapatikc at gmail.com> wrote: > I have executed on remote server > > [root at edventures76 ~]# /usr/local/nagios/libexec/check_nrpe -H 127.0.0.1 > NRPE v2.12 > [root at edventures76 ~]# /usr/local/nagios/libexec/check_nrpe -H 127.0.0.1 > -n > CHECK_NRPE: Error receiving data from daemon. > [root at edventures76 ~]# vi /usr/local/nagios/etc/nrpe.cfg > [root at edventures76 ~]# /usr/local/nagios/libexec/check_users -w 5 -c 10 > USERS WARNING - 5 users currently logged in |users=5;5;10;0 > > > > On Fri, Aug 29, 2008 at 3:06 PM, wrote: > >> only_from = 127.0.0.1 (here nagios server >> ip address given or Monitoring server) >> >> >> >> Only allow access to nrpe deamon from localhost and the IP of the Nagios >> server ( You don't want other systems to connect nrpe deamon) >> >> >> >> ( Run the below commands and send check the error message) >> >> >> >> /usr/local/nagios/libexec/check_nrpe -H 127.0.0.1 >> >> >> >> usr/local/nagios/libexec/check_nrpe -H 127.0.0.1 -n >> >> >> >> Also enable logging in nrpe.cfg and check the log. >> >> >> >> Regards, >> >> Naren >> >> >> >> *From:* Krishna Chandra Prajapati [mailto:prajapatikc at gmail.com] >> *Sent:* Friday, August 29, 2008 3:01 PM >> *To:* Narendran Neelamegam (WT01 - TECHNOLOGY INFRASTRUCTURE SERVICES >> (GS)) >> *Cc:* nagios-users at lists.sourceforge.net >> *Subject:* Re: [Nagios-users] nrpe installation >> >> >> >> Hi, >> >> nrpe daemon is running on the remote box. One thing is not clear to me ( >> from nrpe docs) >> >> Edit the /etc/xinetd.d/nrpe file and add the IP address of the monitoring >> server to the only_from directive. >> only_from = 127.0.0.1 (here nagios server >> ip address given or Monitoring server) >> >> After executing on remote server >> netstat -at | grep nrpe >> >> tcp 0 0 *:nrpe *:* LISTEN >> >> (below check_nrpe is not working) >> Next, check to make sure the NRPE daemon is functioning properly. To do >> this, run the check_nrpe plugin that >> was installed for testing purposes. >> /usr/local/nagios/libexec/check_nrpe -H localhost >> You should get a string back that tells you what version of NRPE is >> installed, like this: >> NRPE v2.8 >> could not complete ssl handshake >> >> >> >> On Fri, Aug 29, 2008 at 2:22 PM, wrote: >> >> You don't need nrpe on both the monitoring and the remote sever. >> >> >> >> You need check_nrpe ?on monitoring server and nrpe on the remote/monitored >> server. >> >> >> >> I hope you have read the relevant section of the nrpe installation >> document. >> >> >> >> Do you have additional information on the remote server such as OS etc. >> >> >> >> What trouble shooting steps you carried out? >> >> >> >> Naren >> >> >> >> *From:* nagios-users-bounces at lists.sourceforge.net [mailto: >> nagios-users-bounces at lists.sourceforge.net] *On Behalf Of *Krishna >> Chandra Prajapati >> *Sent:* Friday, August 29, 2008 2:07 PM >> >> >> *To:* nagios-users at lists.sourceforge.net >> *Subject:* [Nagios-users] nrpe installation >> >> >> >> I have setup nagios server its working properly. Now i need to add remote >> server. So i have to install nrpe on monitoring server and remote server. >> But i am not able to configure nrpe properly on remote and monitoring server >> although installed.properly >> >> >> Any body please tell me how to configure nrpe on both remote and >> monitoring server >> >> >> -- >> Krishna Chandra Prajapati >> >> *Please do not print this email unless it is absolutely necessary. * >> >> The information contained in this electronic message and any attachments >> to this message are intended for the exclusive use of the addressee(s) and >> may contain proprietary, confidential or privileged information. If you are >> not the intended recipient, you should not disseminate, distribute or copy >> this e-mail. Please notify the sender immediately and destroy all copies of >> this message and any attachments. >> >> WARNING: Computer viruses can be transmitted via email. The recipient >> should check this email and any attachments for the presence of viruses. The >> company accepts no liability for any damage caused by any virus transmitted >> by this email. >> >> www.wipro.com >> >> >> >> >> -- >> Krishna Chandra Prajapati >> MySQL DBA, >> Ed Ventures e-Learning Pvt.Ltd. >> 1-8-303/48/15, Sindhi Colony >> P.G.Road, Secunderabad. >> Pin Code: 500003 >> Office Number: 040-66489771 >> Mob: 9912924044 >> URL: ed-ventures-online.com >> Email-id: prajapatikc at gmail.com >> >> *Please do not print this email unless it is absolutely necessary. * >> >> The information contained in this electronic message and any attachments >> to this message are intended for the exclusive use of the addressee(s) and >> may contain proprietary, confidential or privileged information. If you are >> not the intended recipient, you should not disseminate, distribute or copy >> this e-mail. Please notify the sender immediately and destroy all copies of >> this message and any attachments. >> >> WARNING: Computer viruses can be transmitted via email. The recipient >> should check this email and any attachments for the presence of viruses. The >> company accepts no liability for any damage caused by any virus transmitted >> by this email. >> >> www.wipro.com >> > > > > -- > Krishna Chandra Prajapati > MySQL DBA, > Ed Ventures e-Learning Pvt.Ltd. > 1-8-303/48/15, Sindhi Colony > P.G.Road, Secunderabad. > Pin Code: 500003 > Office Number: 040-66489771 > Mob: 9912924044 > URL: ed-ventures-online.com > Email-id: prajapatikc 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 > -- Shankar Asam -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Aug 31 18:19:46 2008 From: jon at netdork.net (Jon Angliss) Date: Sun, 31 Aug 2008 11:19:46 -0500 Subject: how to disable notification for a particular service ? References: <48B7B909.1040901@infoservices.in> <200808290959.47540.assaf.flatto@ssp.uk.com> <48B7BA87.7000505@infoservices.in> <48B7BB61.3000309@infoservices.in> Message-ID: On Fri, 29 Aug 2008 14:33:29 +0530, "J. Bakshi" wrote: >J. Bakshi wrote: > >Urrg, If I do " disable notification " it says > >Sorry, but Nagios is currently not checking for external commands, so >your command will not be committed! You probably didn't enable nagios to use the external command file... check_external_commands=1 command_check_interval=5s command_file=/usr/local/nagios/var/rw/nagios.cmd Something like this in your nagios.cfg. Also, notifications_enabled 0 If this is added to a service, it'll disable notifications, however it'll require nagios to be restarted to enable/disable. If you're expecting to be able to disable it briefly whilst resolving an issue, it'd be wise to use the command file, you'll get extra stuff too (acknowledgements, rescheduling, forced, etc). -- Jon Angliss ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null