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 ins