From service at shdawson.com Sun Feb 1 14:36:54 2009 From: service at shdawson.com (Stephen H. Dawson) Date: Sun, 1 Feb 2009 08:36:54 -0500 Subject: Nagios & SELinux Message-ID: Good Morning, We are going with SELinux on some of our servers. We are looking for anyone that uses SELinux on their Nagios machines. Preferably, best practices & what not. Any guidance would be most appreciated. Thank You, Stephen H. Dawson -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kae at midnighthax.com Sun Feb 1 16:52:14 2009 From: kae at midnighthax.com (Keith Edmunds) Date: Sun, 1 Feb 2009 15:52:14 +0000 Subject: Disable inherited checks? Message-ID: <20090201155214.35147716@ws.in.tiger-computing.com> Is there a way to disable inherited checks? I would like to have a master host file that lists all checks that are valid on any host, and then override that on a per-host basis. For example, I may have a "check_pgsql" in the master host file, but host_x which inherits from the master file doesn't run PostgreSQL, so I'd like to disable it in the host_x file. Doable? Thanks, Keith ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From martyn at chetnet.co.uk Sun Feb 1 21:22:16 2009 From: martyn at chetnet.co.uk (martyn at chetnet.co.uk) Date: Sun, 1 Feb 2009 20:22:16 -00 Subject: Socket Timeout Message-ID: I'm getting the following error when I monitor my XP box, I have installed NSClient 0.3.5.2 on my box and opened up ports TCP 5666 and 12487 on my windows firewall. Memory Usage CRITICAL 2009-02-01 20:18:00 1d 23h 8m 7s 4/4 CRITICAL - Socket timeout after 10 seconds NSClient++ Version CRITICAL 2009-02-01 20:19:04 1d 23h 7m 3s 4/4 CRITICAL - Socket timeout after 10 seconds Uptime CRITICAL 2009-02-01 20:15:08 1d 23h 10m 59s 4/4 CRITICAL - Socket timeout after 10 seconds Also local host errors Debian GNU/Linux Disk Space CRITICAL 2009-02-01 20:17:30 2d 5h 24m 35s 4/4 DISK CRITICAL - /home/martyn/.gvfs is not accessible: Permission denied SSH CRITICAL 2009-02-01 20:14:38 2d 5h 26m 43s 4/4 Connection refused does anybody have any pointers for me please Thanks All Martyn ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From atstake at gmail.com Mon Feb 2 05:54:39 2009 From: atstake at gmail.com (Chris) Date: Mon, 2 Feb 2009 15:54:39 +1100 Subject: check_snmp_storage.pl error: Service check did not exit properly Message-ID: <8adc88580902012054h60149a7dy4daf763ac0ef9805@mail.gmail.com> I can type the following ./check_snmp_storage.pl -H foo -C foo -m / -r -w 80% -c 90% and get the correct information. But I'm having trouble adding it to nagios configuration file. My partitions are not same for every host (eg. some hosts have a /tmp partition and some don't) In my commands.cfg I defined: define command{ command_name check_snmp_storage command_line $USER1$/check_snmp_storage.pl -H $HOSTADDRESS$ -C $ARG1$ -m $ARG2$ -w 80% -c 90% -r } And I define the service in my unix.cfg file as: define service{ use generic-service host_name server_name service_description Disk / check_command check_snmp_storage!foo!/ } When I restart Nagios, I get status critical in Nagios web interface for this service check. Status Information says: (Service check did not exit properly) Could anyone please tell me what I'm doing wrong here? Thanks. ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Sascha.Runschke at gfkl.com Mon Feb 2 09:47:51 2009 From: Sascha.Runschke at gfkl.com (Sascha.Runschke at gfkl.com) Date: Mon, 2 Feb 2009 09:47:51 +0100 Subject: Antwort: RRDtool Aberrant behavior detection In-Reply-To: References: Message-ID: Marco Tirado schrieb am 31.01.2009 18:01:55: > I am very interested in integrating RRDtool's features for aberrant > behavior detection with my nagios implementation. I still have not > found a plugin for this and I would like to know if anybody has > already implemented this. > > I guess an option would be to adapt plugins "pnp4nagios" or > "nagiosgraph" to get it to work. Any pointers or comments are deeply > appreciated. I'm unsure how you want to "implement" the ABD of RRD. Do you just want to use it to visualize anomalities, or do you want nagios to notify you if an anomality occurs? The pure visualization is pretty simple, I've already done that. Sadly the results were a bit - disappointing. After evaluating the graphs with aberrant behaviour detection we came to the conclusion, that about 99% of our nagios checks cannot be used to detect real anomalities. Things like diskfree, CPU, network i/o, disk i/o and the such do not follow strict patterns and are unpredictable most of the time. The only things we found ABD to be helpful with were monitoring temperature and humidity in our datacenters. PNP4Nagios can be easily used to implement ABD, all you have to do is change the rra.cfg to reflect the necessary aberrant behaviour detection RRAs. But keep in mind that you have to make those changes to the config _before_ the first RRD gets created, since you cannot add RRAs to existing RRDs - at least not without major knowledge in manipulating RRDs (say: export dump and manual import with selfmade scripts) Regards Sascha -- Sascha Runschke IT-Infrastruktur fon : +49 (201) / 102-1879 fax : +49 (201) / 102-1102105 mobil : +49 (173) / 5419665 GFKL Financial Services AG Vorstand: Dr. Peter J?nsch (Vors.), J?rgen Baltes, Dr. Tom Haverkamp Vorsitzender des Aufsichtsrats: Dr. Georg F. Thoma Sitz: Limbecker Platz 1, 45127 Essen, Amtsgericht Essen, HRB 13522 ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From roderick at r71.nl Mon Feb 2 09:40:53 2009 From: roderick at r71.nl (Roderick Derks) Date: Mon, 2 Feb 2009 09:40:53 +0100 (CET) Subject: checkplugin for a http xml query (a SOAP webservice) Message-ID: <12684337.41233564017612.JavaMail.SYSTEM@07-300-6335> Hi! Does anyone know if there is a plugin to check a SOAP XML webservice? I want to sent a query and check if I get a reply. Thnks! Roderick ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From roderick at r71.nl Mon Feb 2 09:48:03 2009 From: roderick at r71.nl (Roderick Derks) Date: Mon, 2 Feb 2009 09:48:03 +0100 (CET) Subject: checkplugin for a http xml query (a SOAP webservice) In-Reply-To: <12684337.41233564017612.JavaMail.SYSTEM@07-300-6335> References: <12684337.41233564017612.JavaMail.SYSTEM@07-300-6335> Message-ID: <27996002.61233564451336.JavaMail.SYSTEM@07-300-6335> Hi! Does anyone know if there is a plugin to check a SOAP XML webservice? I want to sent a query and check if I get a reply. Thnks! Roderick ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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-intl.com Mon Feb 2 10:15:08 2009 From: assaf.flatto at ssp-intl.com (Assaf Flatto) Date: Mon, 2 Feb 2009 09:15:08 +0000 Subject: templates.cfg In-Reply-To: <5fcd9d2c8a7543d9bd3642f51186f9f3.martyn@chetnet.co.uk> References: <5fcd9d2c8a7543d9bd3642f51186f9f3.martyn@chetnet.co.uk> Message-ID: <200902020915.08880.assaf.flatto@ssp-intl.com> You can extract the file to any directory you want and then add the cfg_file directive that points to it in the nagios.cfg . that being said - if your packages created a conf.d dir , your best way to go is to put it in there . This is a "all inclusive " directory where the nagios will read all .cfg files and load them. Assaf On Saturday 31 January 2009 00:13:43 martyn at chetnet.co.uk wrote: > Hi all first time user here of Nagios. > I'm using Unbunto 8.10 which automatically installed > Nagios3, I have followed the guides which all mention > the templates.cfg, problem is the only one I can find > is zipped up in the directory > /usr/share/doc/nagios3/examples/template-object, if I > extract this file what directory should I put it in, > should it go in my /etc/nagios3 dir or in > /etc/nagios3/conf.d > > Hope you can help me on my quest to learn about this > fantastic monitoring solution. > > Regards > > Martyn > > > --------------------------------------------------------------------------- >--- This SF.net email is sponsored by: > SourcForge Community > SourceForge wants to tell your story. > http://p.sf.net/sfu/sf-spreadtheword > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > ::: reporting any issue. Messages without supporting info will risk being > ::: sent to /dev/null -- Assaf Flatto SSP Ops Team Linux System Administrator 169 Euston Road, London, NW1 2AE IMPORTANT . this email and the information in it may be confidential, legally privileged and/or protected by law. It is intended solely for the use of the person to whom it is addressed. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Please also delete all copies of this email and any attachments from your system. We cannot guarantee the security or confidentiality of email communications. We do not accept any liability for losses or damages that you may suffer as a result of your receipt of this email including but not limited to computer service or system failure, access delays or interruption, data non-delivery or mis-delivery, computer viruses or other harmful components. Copyright in this email and any attachments belong to Select Service Partner UK Limited. Should you communicate with anyone at Select Service Partner UK Limited by email, you consent to us monitoring and reading any such correspondence. Nothing in this email shall be taken or read as suggesting, proposing or relating to any agreement concerted practice or other practice that could infringe UK or EC competition legislation. Select Service Partner UK Limited is a company registered in England and Wales (company number 05687183) whose registered office is at 1 The Heights, Brooklands, Weybridge. Surrey. KT13 0NY ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From martyn at chetnet.co.uk Mon Feb 2 10:23:42 2009 From: martyn at chetnet.co.uk (Martyn) Date: Mon, 2 Feb 2009 09:23:42 -0000 Subject: templates.cfg In-Reply-To: <200902020915.08880.assaf.flatto@ssp-intl.com> References: <200902020915.08880.assaf.flatto@ssp-intl.com> Message-ID: Assaf thanks for the reply, I could not understand where in Nagios it pointed to the conf.d directory and why it looked there for its .cfg files, now I understand Thanks Maryn -----Original Message----- From: Assaf Flatto [mailto:assaf.flatto at ssp-intl.com] Sent: 02 February 2009 09:15 To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] templates.cfg You can extract the file to any directory you want and then add the cfg_file directive that points to it in the nagios.cfg . that being said - if your packages created a conf.d dir , your best way to go is to put it in there . This is a "all inclusive " directory where the nagios will read all .cfg files and load them. Assaf On Saturday 31 January 2009 00:13:43 martyn at chetnet.co.uk wrote: > Hi all first time user here of Nagios. > I'm using Unbunto 8.10 which automatically installed Nagios3, I have > followed the guides which all mention the templates.cfg, problem is > the only one I can find is zipped up in the directory > /usr/share/doc/nagios3/examples/template-object, if I extract this > file what directory should I put it in, should it go in my > /etc/nagios3 dir or in /etc/nagios3/conf.d > > Hope you can help me on my quest to learn about this fantastic > monitoring solution. > > Regards > > Martyn > > > >----------------------------------------------------------------------- >---- >--- This SF.net email is sponsored by: > SourcForge Community > SourceForge wants to tell your story. > http://p.sf.net/sfu/sf-spreadtheword > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > ::: reporting any issue. Messages without supporting info will risk > being > ::: sent to /dev/null -- Assaf Flatto SSP Ops Team Linux System Administrator 169 Euston Road, London, NW1 2AE IMPORTANT . this email and the information in it may be confidential, legally privileged and/or protected by law. It is intended solely for the use of the person to whom it is addressed. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Please also delete all copies of this email and any attachments from your system. We cannot guarantee the security or confidentiality of email communications. We do not accept any liability for losses or damages that you may suffer as a result of your receipt of this email including but not limited to computer service or system failure, access delays or interruption, data non-delivery or mis-delivery, computer viruses or other harmful components. Copyright in this email and any attachments belong to Select Service Partner UK Limited. Should you communicate with anyone at Select Service Partner UK Limited by email, you consent to us monitoring and reading any such correspondence. Nothing in this email shall be taken or read as suggesting, proposing or relating to any agreement concerted practice or other practice that could infringe UK or EC competition legislation. Select Service Partner UK Limited is a company registered in England and Wales (company number 05687183) whose registered office is at 1 The Heights, Brooklands, Weybridge. Surrey. KT13 0NY ---------------------------------------------------------------------------- -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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-intl.com Mon Feb 2 10:56:45 2009 From: assaf.flatto at ssp-intl.com (Assaf Flatto) Date: Mon, 2 Feb 2009 09:56:45 +0000 Subject: Monitoring Windows Host's clock In-Reply-To: <28919A12B5A1504CB3599372AA286FC602C2520E@bb-cts-ex1.cts.cubic.cub> References: <28919A12B5A1504CB3599372AA286FC602C2520E@bb-cts-ex1.cts.cubic.cub> Message-ID: <200902020956.45299.assaf.flatto@ssp-intl.com> http://nagiosexchange.org/cgi-bin/page.cgi?d=1 Try searching there . On Saturday 31 January 2009 05:27:05 Kahlon, Robby wrote: > Which Plugin and Addon would let Nagios to monitor the Windows host's > clock? > > > > Can someone point me in a right direction? -- Assaf Flatto SSP Ops Team Linux System Administrator 169 Euston Road, London, NW1 2AE IMPORTANT . this email and the information in it may be confidential, legally privileged and/or protected by law. It is intended solely for the use of the person to whom it is addressed. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Please also delete all copies of this email and any attachments from your system. We cannot guarantee the security or confidentiality of email communications. We do not accept any liability for losses or damages that you may suffer as a result of your receipt of this email including but not limited to computer service or system failure, access delays or interruption, data non-delivery or mis-delivery, computer viruses or other harmful components. Copyright in this email and any attachments belong to Select Service Partner UK Limited. Should you communicate with anyone at Select Service Partner UK Limited by email, you consent to us monitoring and reading any such correspondence. Nothing in this email shall be taken or read as suggesting, proposing or relating to any agreement concerted practice or other practice that could infringe UK or EC competition legislation. Select Service Partner UK Limited is a company registered in England and Wales (company number 05687183) whose registered office is at 1 The Heights, Brooklands, Weybridge. Surrey. KT13 0NY ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From prajapatikc at gmail.com Mon Feb 2 14:39:13 2009 From: prajapatikc at gmail.com (Krishna Chandra Prajapati) Date: Mon, 2 Feb 2009 19:09:13 +0530 Subject: Kerberos include files... could not find Message-ID: Hi, While compiling nrpe. It gives the below issue. checking for SSL... SSL found in /usr/local/ssl *** 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 ./configure: line 6165: A: command not found checking for perl... /usr/local/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 config.status: include/config.h is unchanged *** Configuration summary for nrpe 2.8 05-08-2007 ***: General Options: ------------------------- NRPE port: 5666 NRPE user: nagios NRPE group: nagios Review the options above for accuracy. If they look okay, type 'make all' to compile the NRPE daemon and client. -- Krishna Chandra Prajapati -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From martyn at chetnet.co.uk Mon Feb 2 15:12:40 2009 From: martyn at chetnet.co.uk (Martyn) Date: Mon, 2 Feb 2009 14:12:40 -0000 Subject: Monitor Disk Drive Message-ID: How do I monitor another disk drive other that c:\ Below is the script to monitor the C:\ drive so I assumed I changed the c to a f which is my other drive but Nagios will not restart. define service{ use generic-service host_name winserver service_description C:\ Drive Space check_command check_nt!USEDDISKSPACE!-l c -w 80 -c 90 } define service{ use generic-service host_name winserver service_description F:\ Drive Space check_command check_nt!USEDDISKSPACE!-l f -w 80 -c 90 } Thanks Martyn -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marcismael at gmail.com Mon Feb 2 15:32:07 2009 From: marcismael at gmail.com (Marc Ismael) Date: Mon, 2 Feb 2009 22:32:07 +0800 Subject: Monitor lun statistics Message-ID: <48603ddb0902020632j51b70c9ewb74a8dd6cc028879@mail.gmail.com> Has anyone implemented / is there any effective way to monitor lun activity / health? Thank you, Marc -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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-intl.com Mon Feb 2 15:35:04 2009 From: assaf.flatto at ssp-intl.com (Assaf Flatto) Date: Mon, 2 Feb 2009 14:35:04 +0000 Subject: Monitor Disk Drive In-Reply-To: References: Message-ID: <200902021435.04238.assaf.flatto@ssp-intl.com> What does the command look like ? Since the service is invoking a command - you need to make sure that the structure adheres to the format requested by the command . On Monday 02 February 2009 14:12:40 Martyn wrote: > How do I monitor another disk drive other that c:\ > > Below is the script to monitor the C:\ drive so I assumed I changed the c > to a f which is my other drive but Nagios will not restart. > > define service{ > use generic-service > host_name winserver > service_description C:\ Drive Space > check_command check_nt!USEDDISKSPACE!-l c -w 80 -c 90 > } > > > define service{ > use generic-service > host_name winserver > service_description F:\ Drive Space > check_command check_nt!USEDDISKSPACE!-l f -w 80 -c 90 > } > > Thanks > > Martyn -- Assaf Flatto SSP Ops Team Linux System Administrator 169 Euston Road, London, NW1 2AE IMPORTANT . this email and the information in it may be confidential, legally privileged and/or protected by law. It is intended solely for the use of the person to whom it is addressed. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Please also delete all copies of this email and any attachments from your system. We cannot guarantee the security or confidentiality of email communications. We do not accept any liability for losses or damages that you may suffer as a result of your receipt of this email including but not limited to computer service or system failure, access delays or interruption, data non-delivery or mis-delivery, computer viruses or other harmful components. Copyright in this email and any attachments belong to Select Service Partner UK Limited. Should you communicate with anyone at Select Service Partner UK Limited by email, you consent to us monitoring and reading any such correspondence. Nothing in this email shall be taken or read as suggesting, proposing or relating to any agreement concerted practice or other practice that could infringe UK or EC competition legislation. Select Service Partner UK Limited is a company registered in England and Wales (company number 05687183) whose registered office is at 1 The Heights, Brooklands, Weybridge. Surrey. KT13 0NY ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From martyn at chetnet.co.uk Mon Feb 2 15:44:33 2009 From: martyn at chetnet.co.uk (Martyn) Date: Mon, 2 Feb 2009 14:44:33 -0000 Subject: Monitor Disk Drive In-Reply-To: <200902021435.04238.assaf.flatto@ssp-intl.com> References: <200902021435.04238.assaf.flatto@ssp-intl.com> Message-ID: Sorry Assaf I'm not following, all I did was replicate the C:\ drive below, where else should I be checking ? Thanks -----Original Message----- From: Assaf Flatto [mailto:assaf.flatto at ssp-intl.com] Sent: 02 February 2009 14:35 To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Monitor Disk Drive What does the command look like ? Since the service is invoking a command - you need to make sure that the structure adheres to the format requested by the command . On Monday 02 February 2009 14:12:40 Martyn wrote: > How do I monitor another disk drive other that c:\ > > Below is the script to monitor the C:\ drive so I assumed I changed the c > to a f which is my other drive but Nagios will not restart. > > define service{ > use generic-service > host_name winserver > service_description C:\ Drive Space > check_command check_nt!USEDDISKSPACE!-l c -w 80 -c 90 > } > > > define service{ > use generic-service > host_name winserver > service_description F:\ Drive Space > check_command check_nt!USEDDISKSPACE!-l f -w 80 -c 90 > } > > Thanks > > Martyn -- Assaf Flatto SSP Ops Team Linux System Administrator 169 Euston Road, London, NW1 2AE IMPORTANT . this email and the information in it may be confidential, legally privileged and/or protected by law. It is intended solely for the use of the person to whom it is addressed. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Please also delete all copies of this email and any attachments from your system. We cannot guarantee the security or confidentiality of email communications. We do not accept any liability for losses or damages that you may suffer as a result of your receipt of this email including but not limited to computer service or system failure, access delays or interruption, data non-delivery or mis-delivery, computer viruses or other harmful components. Copyright in this email and any attachments belong to Select Service Partner UK Limited. Should you communicate with anyone at Select Service Partner UK Limited by email, you consent to us monitoring and reading any such correspondence. Nothing in this email shall be taken or read as suggesting, proposing or relating to any agreement concerted practice or other practice that could infringe UK or EC competition legislation. Select Service Partner UK Limited is a company registered in England and Wales (company number 05687183) whose registered office is at 1 The Heights, Brooklands, Weybridge. Surrey. KT13 0NY ---------------------------------------------------------------------------- -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Feb 2 15:46:26 2009 From: marc at ena.com (Marc Powell) Date: Mon, 2 Feb 2009 08:46:26 -0600 Subject: Monitor Disk Drive In-Reply-To: References: Message-ID: <751CE440-A5BF-4410-A960-77A5AA0DC1C7@ena.com> On Feb 2, 2009, at 8:12 AM, Martyn wrote: > How do I monitor another disk drive other that c:\ > > Below is the script to monitor the C:\ drive so I assumed I changed > the c to a f which is my other drive but Nagios will not restart. > This change would not cause nagios to not restart. What is the error that nagios is reporting? -- Marc ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Feb 2 15:52:46 2009 From: jpratt at norwich.edu (James Pratt) Date: Mon, 2 Feb 2009 09:52:46 -0500 Subject: Monitor lun statistics In-Reply-To: <48603ddb0902020632j51b70c9ewb74a8dd6cc028879@mail.gmail.com> References: <48603ddb0902020632j51b70c9ewb74a8dd6cc028879@mail.gmail.com> Message-ID: <8147CCE3C4A8764DA9980125EE70E8237D8E39@nuexchg.norwich.edu> From: Marc Ismael [mailto:marcismael at gmail.com] Sent: Monday, February 02, 2009 9:32 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Monitor lun statistics Has anyone implemented / is there any effective way to monitor lun activity / health? Thank you, Marc --- Hi, Not sure what you mean as it likely depends on your san, or what you want to monitor exactly (?). We are an EMC/Vmware shop, so I just use checks for ensuring LUN free space in ESX, via SNMP... Regards, jamie ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From martyn at chetnet.co.uk Mon Feb 2 15:55:47 2009 From: martyn at chetnet.co.uk (Martyn) Date: Mon, 2 Feb 2009 14:55:47 -0000 Subject: Monitor Disk Drive In-Reply-To: <751CE440-A5BF-4410-A960-77A5AA0DC1C7@ena.com> References: <751CE440-A5BF-4410-A960-77A5AA0DC1C7@ena.com> Message-ID: Just says Running Configuration Check...Config Error Restart aborted. Check you Nagios Configuration If I comment out the F:\ checking then all is well. I have just tried the following command line which worked so I'm not following why it will not work from within Nagios. /usr/local/nagios/libexec/check_nt -H 192.168.3.1 -v USEDDISKSPACE -l f -p 12489 -w 80% Rgs Martyn -----Original Message----- From: Marc Powell [mailto:marc at ena.com] Sent: 02 February 2009 14:46 To: nagios-users ML Subject: Re: [Nagios-users] Monitor Disk Drive On Feb 2, 2009, at 8:12 AM, Martyn wrote: > How do I monitor another disk drive other that c:\ > > Below is the script to monitor the C:\ drive so I assumed I changed > the c to a f which is my other drive but Nagios will not restart. > This change would not cause nagios to not restart. What is the error that nagios is reporting? -- Marc ---------------------------------------------------------------------------- -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Feb 2 16:09:50 2009 From: marc at ena.com (Marc Powell) Date: Mon, 2 Feb 2009 09:09:50 -0600 Subject: Monitor Disk Drive In-Reply-To: References: Message-ID: <79B1116D-A371-4C2C-B561-4D158DA43CBB@ena.com> On Feb 2, 2009, at 8:55 AM, Martyn wrote: > Just says Running Configuration Check...Config Error Restart > aborted. Check > you Nagios Configuration run '/path/to/nagios -v /path/to/nagios.cfg' to check your nagios configuration. > If I comment out the F:\ checking then all is well. /me thinks there's something else amiss... > I have just tried the following command line which worked so I'm not > following why it will not work from within Nagios. > > /usr/local/nagios/libexec/check_nt -H 192.168.3.1 -v USEDDISKSPACE - > l f -p > 12489 -w 80% Nagios doesn't actually _ever_ verify if this works or not. It just trusts that it does and runs it when the service check is scheduled. If it fails, you'll see it in the web GUI for Status Information. -- Marc ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cbeattie at geninfo.com Mon Feb 2 16:21:56 2009 From: cbeattie at geninfo.com (Chris Beattie) Date: Mon, 2 Feb 2009 10:21:56 -0500 Subject: Disable inherited checks? References: <20090201155214.35147716@ws.in.tiger-computing.com> Message-ID: You can disable inherited service checks for a host by putting an exclamation mark in front of the host name in the service definition. Look for "Excluding Hosts" in http://nagios.sourceforge.net/docs/3_0/objecttricks.html. ________________________________ From: Keith Edmunds [mailto:kae at midnighthax.com] Sent: Sun 2/1/2009 10:52 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Disable inherited checks? Is there a way to disable inherited checks? I would like to have a master host file that lists all checks that are valid on any host, and then override that on a per-host basis. For example, I may have a "check_pgsql" in the master host file, but host_x which inherits from the master file doesn't run PostgreSQL, so I'd like to disable it in the host_x file. Doable? Thanks, Keith ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null Nothing in this message is intended to make or accept and offer or to form a contract, except that an attachment that is an image of a contract bearing the signature of an officer of our company may be or become a contract. This message (including any attachments) is intended only for the use of the individual or entity to whom it is addressed. It may contain information that is non-public, proprietary, privileged, confidential, and exempt from disclosure under applicable law or may constitute as attorney work product. If you are not the intended recipient, we hereby notify you that any use, dissemination, distribution, or copying of this message is strictly prohibited. If you have received this message in error, please notify us immediately by telephone and delete this message immediately. Thank you. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From martyn at chetnet.co.uk Mon Feb 2 16:23:53 2009 From: martyn at chetnet.co.uk (Martyn) Date: Mon, 2 Feb 2009 15:23:53 -0000 Subject: Monitor Disk Drive In-Reply-To: <79B1116D-A371-4C2C-B561-4D158DA43CBB@ena.com> References: <79B1116D-A371-4C2C-B561-4D158DA43CBB@ena.com> Message-ID: Quite embarrassed now to say the lease, I had missed out the closing } Sorry and thanks for your replies Martyn -----Original Message----- From: Marc Powell [mailto:marc at ena.com] Sent: 02 February 2009 15:10 To: nagios-users ML Subject: Re: [Nagios-users] Monitor Disk Drive On Feb 2, 2009, at 8:55 AM, Martyn wrote: > Just says Running Configuration Check...Config Error Restart aborted. > Check you Nagios Configuration run '/path/to/nagios -v /path/to/nagios.cfg' to check your nagios configuration. > If I comment out the F:\ checking then all is well. /me thinks there's something else amiss... > I have just tried the following command line which worked so I'm not > following why it will not work from within Nagios. > > /usr/local/nagios/libexec/check_nt -H 192.168.3.1 -v USEDDISKSPACE - l > f -p > 12489 -w 80% Nagios doesn't actually _ever_ verify if this works or not. It just trusts that it does and runs it when the service check is scheduled. If it fails, you'll see it in the web GUI for Status Information. -- Marc ---------------------------------------------------------------------------- -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Feb 2 16:31:38 2009 From: palleje at gmail.com (Palle L Jensen) Date: Mon, 2 Feb 2009 10:31:38 -0500 Subject: Monitor Disk Drive In-Reply-To: References: Message-ID: Martyn, Running Nagios 3.01 - This is how I monitor different disk drives on windows machines, using NSClient++. Example C and F: drives: I define a command(s) in commands.cfg, like this: # Define command for disk space on C: ---# define command{ command_name check_diskc command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 12489 -v $ARG1$ $ARG2$ -s $USER7$ } # Define command for disk space on F: ---# define command{ command_name check_diskf command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 12489 -v $ARG1$ $ARG2$ -s $USER7$ } In services.cfg I define the checks: # Monitoring Disk Usage C:\ define service { use generic-service host_name hostname service_description Disk-C servicegroups disks action_url nagiosserver/nagios/cgi-bin/extinfo.cgi?type=2&host=$HOSTNAME$&service=Disk- C check_command check_diskc!USEDDISKSPACE!-l c -w 95 -c 98 } # Monitoring Disk Usage F:\ define service { use generic-service host_name hostname service_description Disk-F servicegroups disks action_url nagiosserver/nagios/cgi-bin/extinfo.cgi?type=2&host=$HOSTNAME$&service=Disk- F check_command check_diskf!USEDDISKSPACE!-l c -w 95 -c 98 } Hope that helps! Thanks, PJ _____ From: Martyn [mailto:martyn at chetnet.co.uk] Sent: Monday, February 02, 2009 9:13 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Monitor Disk Drive How do I monitor another disk drive other that c:\ Below is the script to monitor the C:\ drive so I assumed I changed the c to a f which is my other drive but Nagios will not restart. define service{ use generic-service host_name winserver service_description C:\ Drive Space check_command check_nt!USEDDISKSPACE!-l c -w 80 -c 90 } define service{ use generic-service host_name winserver service_description F:\ Drive Space check_command check_nt!USEDDISKSPACE!-l f -w 80 -c 90 } Thanks Martyn -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cbeattie at geninfo.com Mon Feb 2 17:09:28 2009 From: cbeattie at geninfo.com (Chris Beattie) Date: Mon, 2 Feb 2009 11:09:28 -0500 Subject: Nagios & SELinux References: Message-ID: I compiled Nagios 3 from source on CentOS 5.2 with SELinux set to Enforcing. I installed Nagios following the Fedora Quickstart guide. SELinux will prevent just about everything in Nagios' web page from running. It was an iterative process to get everything allowed, since I kept finding things I'd missed the previous time through these steps. CentOS 5.2 (and RHEL, I assume) had some SELinux tuning tools installed, but I don't know if they're available on other distros. 1. Click on the links in Nagios' side bar, try to send acknowlegements, etc. 2. Use the SE Troubleshoot Browser to take a look at the audit.log file and clean out anything not caused by Nagios. 3. If this isn't the first time through the steps, make a backup copy of your type enforcement settings (.te) file. 4. Run: #audit2allow -m mynagios -l -i audit.log > mynagios.te 5. If this isn't the first time through the steps, use a text editor to merge the contents of your current and previous .te files. 6. Run: #checkmodule -M -m -o mynagios.mod mynagios.te 7. Run: #semodule_package -o mynagios.pp -m mynagios.mod 8. Run: #semodule -i mynagios.pp 9. Verify your policy package has been installed by running #semodule -i 10. Return to step 1 until SELinux lets Nagios do everything Nagios needs to do. Keeping a backup of your type enforcement file is necessary because if Nagios is allowed to do some things, they won't continue creating entries in audit.log, and audit2allow won't pick them up the next time around. You want your .te file to accumulate all the necessary settings. There was a Nagios policy package installed in CentOS already, but it didn't work for me. When you create your own SELinux policy packages, give your package a unique name. I think that will prevent it from being clobbered if the stock package gets updated by your distribution's maintainer. ________________________________ From: Stephen H. Dawson [mailto:service at shdawson.com] Sent: Sun 2/1/2009 8:36 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagios & SELinux Good Morning, We are going with SELinux on some of our servers. We are looking for anyone that uses SELinux on their Nagios machines. Preferably, best practices & what not. Any guidance would be most appreciated. Thank You, Stephen H. Dawson Nothing in this message is intended to make or accept and offer or to form a contract, except that an attachment that is an image of a contract bearing the signature of an officer of our company may be or become a contract. This message (including any attachments) is intended only for the use of the individual or entity to whom it is addressed. It may contain information that is non-public, proprietary, privileged, confidential, and exempt from disclosure under applicable law or may constitute as attorney work product. If you are not the intended recipient, we hereby notify you that any use, dissemination, distribution, or copying of this message is strictly prohibited. If you have received this message in error, please notify us immediately by telephone and delete this message immediately. Thank you. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marcismael at gmail.com Mon Feb 2 17:14:57 2009 From: marcismael at gmail.com (Marc Ismael) Date: Tue, 3 Feb 2009 00:14:57 +0800 Subject: lun monitoring Message-ID: <48603ddb0902020814u1da84betdd6311026128e2e8@mail.gmail.com> Hi, Anyone implemented any sort of lun monitoring plugin? Just gathering ideas on what is already out there before I get my hands dirty. Thanks. Marc -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From martyn at chetnet.co.uk Mon Feb 2 17:16:46 2009 From: martyn at chetnet.co.uk (Martyn) Date: Mon, 2 Feb 2009 16:16:46 -0000 Subject: Monitor Disk Drive In-Reply-To: References: Message-ID: Yes it does help Palle and thanks for the reply, just on a learning curve here. Martyn _____ From: Palle L Jensen [mailto:palleje at gmail.com] Sent: 02 February 2009 15:32 To: 'Martyn'; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Monitor Disk Drive Martyn, Running Nagios 3.01 - This is how I monitor different disk drives on windows machines, using NSClient++. Example C and F: drives: I define a command(s) in commands.cfg, like this: # Define command for disk space on C: ---# define command{ command_name check_diskc command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 12489 -v $ARG1$ $ARG2$ -s $USER7$ } # Define command for disk space on F: ---# define command{ command_name check_diskf command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 12489 -v $ARG1$ $ARG2$ -s $USER7$ } In services.cfg I define the checks: # Monitoring Disk Usage C:\ define service { use generic-service host_name hostname service_description Disk-C servicegroups disks action_url nagiosserver/nagios/cgi-bin/extinfo.cgi?type=2&host=$HOSTNAME$&service=Disk- C check_command check_diskc!USEDDISKSPACE!-l c -w 95 -c 98 } # Monitoring Disk Usage F:\ define service { use generic-service host_name hostname service_description Disk-F servicegroups disks action_url nagiosserver/nagios/cgi-bin/extinfo.cgi?type=2&host=$HOSTNAME$&service=Disk- F check_command check_diskf!USEDDISKSPACE!-l c -w 95 -c 98 } Hope that helps! Thanks, PJ _____ From: Martyn [mailto:martyn at chetnet.co.uk] Sent: Monday, February 02, 2009 9:13 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Monitor Disk Drive How do I monitor another disk drive other that c:\ Below is the script to monitor the C:\ drive so I assumed I changed the c to a f which is my other drive but Nagios will not restart. define service{ use generic-service host_name winserver service_description C:\ Drive Space check_command check_nt!USEDDISKSPACE!-l c -w 80 -c 90 } define service{ use generic-service host_name winserver service_description F:\ Drive Space check_command check_nt!USEDDISKSPACE!-l f -w 80 -c 90 } Thanks Martyn -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kae at midnighthax.com Mon Feb 2 17:19:07 2009 From: kae at midnighthax.com (Keith Edmunds) Date: Mon, 2 Feb 2009 16:19:07 +0000 Subject: Disable inherited checks? In-Reply-To: References: <20090201155214.35147716@ws.in.tiger-computing.com> Message-ID: <20090202161907.6bcf98de@ws.in.tiger-computing.com> > You can disable inherited service checks for a host by putting an > exclamation mark in front of the host name in the service definition. > Look for "Excluding Hosts" in > http://nagios.sourceforge.net/docs/3_0/objecttricks.html. Thanks Chris. The problem with that is that I need to list all hosts in the service definition. The problem I'm trying to solve is that we monitor around 70 nodes with Nagios, and when we add a new monitor, we have to update all host files and it's easy for some services to be missed on some nodes. To avoid that, I'd rather set things up so that all hosts monitor all services except where specifically excluded. In other words, everything on by default and selectively turn off what is not needed; it seems that Nagios works by having everything off by default and selectively turning things on. I can, of course, put "host_name *" in the service definition, but then I need to disable that service for some hosts. Hmm, thinking aloud, maybe I can do "host_name *, !not_this_one, !or_this_one ... I'll try that. Thanks, Keith ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Feb 2 17:39:18 2009 From: ae at op5.se (Andreas Ericsson) Date: Mon, 02 Feb 2009 17:39:18 +0100 Subject: lun monitoring In-Reply-To: <48603ddb0902020814u1da84betdd6311026128e2e8@mail.gmail.com> References: <48603ddb0902020814u1da84betdd6311026128e2e8@mail.gmail.com> Message-ID: <498721B6.8010506@op5.se> Marc Ismael wrote: > Hi, > > Anyone implemented any sort of lun monitoring plugin? Just gathering ideas > on what is already out there before I get my hands dirty. Thanks. > You're far too anxious to let others solve your problems. It was less than two hours ago you sent your earlier email, and you still haven't told us what google queries you (presumably unsuccessfully) tried or which other places you've looked for information. If you appear as a timesink, people will pour anything but time your way. -- 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: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cbeattie at geninfo.com Mon Feb 2 17:38:11 2009 From: cbeattie at geninfo.com (Chris Beattie) Date: Mon, 2 Feb 2009 11:38:11 -0500 Subject: Disable inherited checks? In-Reply-To: <20090202161907.6bcf98de@ws.in.tiger-computing.com> References: <20090201155214.35147716@ws.in.tiger-computing.com> <20090202161907.6bcf98de@ws.in.tiger-computing.com> Message-ID: Sorry for the top-posting: I'm stuck with Outlook. Have you tried templates? We have ~550 hosts and ~4500 services, and it'd be a real pain to not use templates. I have a host template definition for Windows servers, which adds anything assigned that template to a windows_servers host group. I have a bunch of services defined which are assigned to everything in the windows_servers host group. When I add a new Windows host, I put "use prod_windows_server" in the host definition, and the host is automatically assigned service checks for CPU, C drive, E drive, memory, page file, running antivirus, and a couple others. I have a similar setup for development servers, but we don't let them send notifications outside of work hours. For servers needing extra checks, I just add the extra service checks to the hosts that need them. For the servers which aren't standard for our environment (some predate the standardization push and have a D: instead of an E: drive, for example), I put a !hostname in the appropriate service check definition. -----Original Message----- From: Keith Edmunds [mailto:kae at midnighthax.com] Sent: Monday, February 02, 2009 11:19 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Disable inherited checks? > You can disable inherited service checks for a host by putting an > exclamation mark in front of the host name in the service definition. > Look for "Excluding Hosts" in > http://nagios.sourceforge.net/docs/3_0/objecttricks.html. Thanks Chris. The problem with that is that I need to list all hosts in the service definition. The problem I'm trying to solve is that we monitor around 70 nodes with Nagios, and when we add a new monitor, we have to update all host files and it's easy for some services to be missed on some nodes. To avoid that, I'd rather set things up so that all hosts monitor all services except where specifically excluded. In other words, everything on by default and selectively turn off what is not needed; it seems that Nagios works by having everything off by default and selectively turning things on. I can, of course, put "host_name *" in the service definition, but then I need to disable that service for some hosts. Hmm, thinking aloud, maybe I can do "host_name *, !not_this_one, !or_this_one ... I'll try that. Thanks, Keith ------------------------------------------------------------------------ ------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null Nothing in this message is intended to make or accept and offer or to form a contract, except that an attachment that is an image of a contract bearing the signature of an officer of our company may be or become a contract. This message (including any attachments) is intended only for the use of the individual or entity to whom it is addressed. It may contain information that is non-public, proprietary, privileged, confidential, and exempt from disclosure under applicable law or may constitute as attorney work product. If you are not the intended recipient, we hereby notify you that any use, dissemination, distribution, or copying of this message is strictly prohibited. If you have received this message in error, please notify us immediately by telephone and delete this message immediately . Thank you. ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From RLAdams at AdamsInfoServ.Com Mon Feb 2 17:30:18 2009 From: RLAdams at AdamsInfoServ.Com (Russell Adams) Date: Mon, 2 Feb 2009 10:30:18 -0600 Subject: lun monitoring In-Reply-To: <48603ddb0902020814u1da84betdd6311026128e2e8@mail.gmail.com> References: <48603ddb0902020814u1da84betdd6311026128e2e8@mail.gmail.com> Message-ID: <20090202163018.GG21602@thinkpad.adamsinfoserv.com> What would you monitor? Path availability would be the only item of note, and querying that information will vary by SAN driver and OS. Otherwise a LUN should show up as a disk with a filesystem that could be monitored with existing tools. On Tue, Feb 03, 2009 at 12:14:57AM +0800, Marc Ismael wrote: > Hi, > > Anyone implemented any sort of lun monitoring plugin? Just gathering ideas > on what is already out there before I get my hands dirty. Thanks. > > Marc > ------------------------------------------------------------------------------ > This SF.net email is sponsored by: > SourcForge Community > SourceForge wants to tell your story. > http://p.sf.net/sfu/sf-spreadtheword > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------ Russell Adams RLAdams at AdamsInfoServ.com PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/ Fingerprint: 1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3 ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Feb 2 18:30:42 2009 From: perldork at webwizarddesign.com (Max) Date: Mon, 2 Feb 2009 12:30:42 -0500 Subject: Disable inherited checks? In-Reply-To: <20090202161907.6bcf98de@ws.in.tiger-computing.com> References: <20090201155214.35147716@ws.in.tiger-computing.com> <20090202161907.6bcf98de@ws.in.tiger-computing.com> Message-ID: Another way to make scaling host configurations easier is to use the service -> hostgroup -> host relationship in your configuration. For example, we have one set of SNMP-based checks that work for the Net-SNMP SNMp agent, and another set that work with the commercial SysEdge agent.. So, combining the previous poster's idea with this relationship, we create a base sysedge-host host template and then add the host template and all of the Sysedge checks to the sysedge-hosts host group. This way hosts can inherit from a single template and get all the checks associated with that group. We use this dual template and host group method when we have custom attributes that we need to add in order for the custom checks to work .. in cases where you don't have custom attributes like SNMP ports and community strings etc, you could just create related groups of services, add them to a host group, then just add new or existing hosts to the host group through the host group attribute of the host .. and voila .. done. - max ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From martyn at chetnet.co.uk Mon Feb 2 18:33:23 2009 From: martyn at chetnet.co.uk (Martyn) Date: Mon, 2 Feb 2009 17:33:23 -0000 Subject: HP Network Printer Message-ID: Just looking to start and monitor an HP 2600n printer and have come across the following statement in the quick start guide The check_hpjd plugin will only get compiled and installed if you have the net-snmp and net-snmp-utils packages installed on your system. Make sure the plugin exists in /usr/local/nagios/libexec before you continue. If it doesn't, install net-snmp and net-snmp-utils and recompile/reinstall the Nagios plugins. OK do these get installed when you download and compile nagios-plugins-1.4.11.tar.gz or do I have to grab then separately, I have looked through my nagios/libexec directory and noticed that check_snmp is in there but not the above two. Where would I get hold of the two files as described Thanks for your continued support Martyn -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Feb 2 18:38:48 2009 From: marc at ena.com (Marc Powell) Date: Mon, 2 Feb 2009 11:38:48 -0600 Subject: Disable inherited checks? [OT: outlook settings] In-Reply-To: References: <20090201155214.35147716@ws.in.tiger-computing.com> <20090202161907.6bcf98de@ws.in.tiger-computing.com> Message-ID: On Feb 2, 2009, at 10:38 AM, Chris Beattie wrote: > Sorry for the top-posting: I'm stuck with Outlook. heh. That's an excuse? ;) Here's what I do to make it more 'standard' when I have to use it -- Tools -> Options - Email Options - Remove extra line breaks in plain text messages - Read all standard mail in plain text - On replies and forwards - Prefix each line of the original message - Prefix each line of the original message - > - Mail Format - Compose in this message format: Plain Text - Internet Format... - Outlook Rich Text options - Convert to plain text format -- Marc ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marcismael at gmail.com Mon Feb 2 19:04:01 2009 From: marcismael at gmail.com (Marc Ismael) Date: Tue, 3 Feb 2009 02:04:01 +0800 Subject: lun monitoring In-Reply-To: <498721B6.8010506@op5.se> References: <48603ddb0902020814u1da84betdd6311026128e2e8@mail.gmail.com> <498721B6.8010506@op5.se> Message-ID: <48603ddb0902021004j2bc3ffedtc8b91130ba1ad124@mail.gmail.com> Andreas, I have absolutely *no clue* what you are talking about, this is the first email I sent for this month to nagios-users. I'm guilty on the other point you raised, I'm interested if there's nagios-users at lists.sourceforge.net something I can do to effectively measure how busy a lun is, e.g. is running an iostat against a lun and looking at %b as reliable as running it against a local disk. Nor am I anxious to let others solve my problems I've been reading and am currently reading some writeups on lun performance monitoring and I thought it wouldn't be a bad idea to throw a question onto this thread. I'm sorry if you saw it that way. On 2/3/09, Andreas Ericsson wrote: > > Marc Ismael wrote: > >> Hi, >> >> Anyone implemented any sort of lun monitoring plugin? Just gathering ideas >> on what is already out there before I get my hands dirty. Thanks. >> >> > You're far too anxious to let others solve your problems. It was less than > two hours ago you sent your earlier email, and you still haven't told us > what google queries you (presumably unsuccessfully) tried or which other > places you've looked for information. > > If you appear as a timesink, people will pour anything but time your way. > > -- > Andreas Ericsson andreas.ericsson at op5.se > OP5 AB www.op5.se > Tel: +46 8-230225 Fax: +46 8-230231 > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From martyn at chetnet.co.uk Mon Feb 2 19:13:22 2009 From: martyn at chetnet.co.uk (Martyn) Date: Mon, 2 Feb 2009 18:13:22 -0000 Subject: HP Network Printer Message-ID: Update, but I'm still getting "Error in packet ( ) " in my printer status I can walk the Mibs with snmpwalk -v 1 -c public 192.168.3.252 and see all the relevant outputs but when I do the following: - ./check_snmp -H 192.168.3.252 -C public I get SNMP problem - No Data received from host CMD /usr/bin/snmpget -t 1 -r5 -m ' ' -v 1 [authpriv] 192.168.3.252:161 Hope you can help > _____________________________________________ > From: Martyn [mailto:martyn at chetnet.co.uk] > Sent: 02 February 2009 17:33 > To: 'nagios-users at lists.sourceforge.net' > Subject: HP Network Printer > > Just looking to start and monitor an HP 2600n printer and have come across > the following statement in the quick start guide > > The check_hpjd plugin will only get compiled and installed if you have the > net-snmp and net-snmp-utils > packages installed on your system. Make sure the plugin exists in > /usr/local/nagios/libexec before you > continue. If it doesn't, install net-snmp and net-snmp-utils and > recompile/reinstall the Nagios plugins. > > OK do these get installed when you download and compile > nagios-plugins-1.4.11.tar.gz or do I have to grab then separately, I have > looked through my nagios/libexec directory and noticed that check_snmp is > in there but not the above two. > > Where would I get hold of the two files as described > > Thanks for your continued support > > Martyn -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Feb 2 19:54:12 2009 From: marc at ena.com (Marc Powell) Date: Mon, 2 Feb 2009 12:54:12 -0600 Subject: lun monitoring In-Reply-To: <48603ddb0902021004j2bc3ffedtc8b91130ba1ad124@mail.gmail.com> References: <48603ddb0902020814u1da84betdd6311026128e2e8@mail.gmail.com> <498721B6.8010506@op5.se> <48603ddb0902021004j2bc3ffedtc8b91130ba1ad124@mail.gmail.com> Message-ID: <67B36227-0D73-4484-8BB3-71DD68AF5480@ena.com> On Feb 2, 2009, at 12:04 PM, Marc Ismael wrote: > Andreas, I have absolutely *no clue* what you are talking about, > this is the first email I sent for this month to nagios-users. Ghosts in the machine... From: marcismael at gmail.com Subject: [Nagios-users] Monitor lun statistics Date: February 2, 2009 8:32:07 AM CST ----- From: marcismael at gmail.com Subject: [Nagios-users] lun monitoring Date: February 2, 2009 10:14:57 AM CST -- Marc ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cbeattie at geninfo.com Mon Feb 2 20:16:27 2009 From: cbeattie at geninfo.com (Chris Beattie) Date: Mon, 02 Feb 2009 14:16:27 -0500 Subject: Disable inherited checks? [OT: outlook settings] In-Reply-To: References: <20090201155214.35147716@ws.in.tiger-computing.com> <20090202161907.6bcf98de@ws.in.tiger-computing.com> Message-ID: <4987468B.2070802@geninfo.com> Marc Powell wrote: > On Feb 2, 2009, at 10:38 AM, Chris Beattie wrote: > >> Sorry for the top-posting: I'm stuck with Outlook. > > heh. That's an excuse? ;) Here's what I do to make it more 'standard' > when I have to use it -- I started with BBSes in the early eighties, so to this day combining Outlook and mailing lists is like being a parent stuck with a crying baby in a restaurant: embarrassing and one should try not to do it too often. I tried your suggestions in the past, but unfortunately it makes it difficult to communicate with the rest of the company since everyone else uses the default settings. What I *could* do (if I was going to recommend circumventing a company's IT policy in a public forum) is surreptitiously re-enable IMAP on my Exchange account, install a proper mail client on my Nagios testing box (since Websense blocks the sites to install anything interesting for Windows, but not the CentOS repositories), and hope nobody notices. :-) Nothing in this message is intended to make or accept and offer or to form a contract, except that an attachment that is an image of a contract bearing the signature of an officer of our company may be or become a contract. This message (including any attachments) is intended only for the use of the individual or entity to whom it is addressed. It may contain information that is non-public, proprietary, privileged, confidential, and exempt from disclosure under applicable law or may constitute as attorney work product. If you are not the intended recipient, we hereby notify you that any use, dissemination, distribution, or copying of this message is strictly prohibited. If you have received this message in error, please notify us immediately by telephone and delete this message immediately . Thank you. ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From service at shdawson.com Mon Feb 2 20:31:17 2009 From: service at shdawson.com (Stephen H. Dawson) Date: Mon, 2 Feb 2009 14:31:17 -0500 Subject: Check for CPU Temperature Message-ID: <43B8062F30CB48F488E51D37CAE8AB65@Because> Hi, Has anyone setup a check to watch the CPU temperature of a computer? Can see what that is through: cat /proc/acpi/thermal_zone/THRM/temperature However, would like to log that info in Nagios as a check. Thank You, Stephen H. Dawson -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cbeattie at geninfo.com Mon Feb 2 20:48:09 2009 From: cbeattie at geninfo.com (Chris Beattie) Date: Mon, 02 Feb 2009 14:48:09 -0500 Subject: Kerberos include files... could not find In-Reply-To: References: Message-ID: <49874DF9.4060209@geninfo.com> Krishna Chandra Prajapati wrote: > Hi, > > While compiling nrpe. It gives the below issue. > > checking for Kerberos include files... could not find include files This isn't Nagios-specific, but what I've found compiling from source is that it may be necessary to install the -devel packages for things the program I'm compiling depends on. For example, if I got that message, I would verify that I had, say, the krb5 package installed, and then following that, also install krb5-devel, and try the configure step again. -- Chris Beattie Nothing in this message is intended to make or accept and offer or to form a contract, except that an attachment that is an image of a contract bearing the signature of an officer of our company may be or become a contract. This message (including any attachments) is intended only for the use of the individual or entity to whom it is addressed. It may contain information that is non-public, proprietary, privileged, confidential, and exempt from disclosure under applicable law or may constitute as attorney work product. If you are not the intended recipient, we hereby notify you that any use, dissemination, distribution, or copying of this message is strictly prohibited. If you have received this message in error, please notify us immediately by telephone and delete this message immediately . Thank you. ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Feb 2 21:00:16 2009 From: palleje at gmail.com (Palle L Jensen) Date: Mon, 2 Feb 2009 15:00:16 -0500 Subject: HP Network Printer In-Reply-To: References: Message-ID: Martyn, I have noticed people monitoring other stuff on printers using the SNMP protocoll. However, since we have that protocol disabled I have no experience in that. If you just want to make sure it is up and running you could use the check_ping. Assuming it's a network printer with enabled NIC. Thanks, PJ _____ From: Martyn [mailto:martyn at chetnet.co.uk] Sent: Monday, February 02, 2009 1:13 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] HP Network Printer Update, but I'm still getting "Error in packet ( ) " in my printer status I can walk the Mibs with snmpwalk -v 1 -c public 192.168.3.252 and see all the relevant outputs but when I do the following: - ./check_snmp -H 192.168.3.252 -C public I get SNMP problem - No Data received from host CMD /usr/bin/snmpget -t 1 -r5 -m ' ' -v 1 [authpriv] 192.168.3.252:161 Hope you can help _____________________________________________ From: Martyn [ mailto:martyn at chetnet.co.uk] Sent: 02 February 2009 17:33 To: 'nagios-users at lists.sourceforge.net' Subject: HP Network Printer Just looking to start and monitor an HP 2600n printer and have come across the following statement in the quick start guide The check_hpjd plugin will only get compiled and installed if you have the net-snmp and net-snmp-utils packages installed on your system. Make sure the plugin exists in /usr/local/nagios/libexec before you continue. If it doesn't, install net-snmp and net-snmp-utils and recompile/reinstall the Nagios plugins. OK do these get installed when you download and compile nagios-plugins-1.4.11.tar.gz or do I have to grab then separately, I have looked through my nagios/libexec directory and noticed that check_snmp is in there but not the above two. Where would I get hold of the two files as described Thanks for your continued support Martyn -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Feb 2 21:18:49 2009 From: jpratt at norwich.edu (James Pratt) Date: Mon, 2 Feb 2009 15:18:49 -0500 Subject: HP Network Printer References: Message-ID: <8147CCE3C4A8764DA9980125EE70E82380DCAC@nuexchg.norwich.edu> Sorry Palle, I meant to reply to the list!.. my bad... :-( From: James Pratt Sent: Monday, February 02, 2009 3:16 PM To: 'Palle L Jensen' Subject: RE: [Nagios-users] HP Network Printer Hi, I found this on a quick google - I use snmp extensively. (Check_snmp is fairly worthless - I use the ones at http://nagios.manubulon.com instead... http://osdir.com/ml/network.nagios.user/2003-01/msg00028.html HTH Regards, jamie From: Palle L Jensen [mailto:palleje at gmail.com] Sent: Monday, February 02, 2009 3:00 PM To: 'Martyn'; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] HP Network Printer Martyn, I have noticed people monitoring other stuff on printers using the SNMP protocoll. However, since we have that protocol disabled I have no experience in that. If you just want to make sure it is up and running you could use the check_ping. Assuming it's a network printer with enabled NIC. Thanks, PJ ________________________________ From: Martyn [mailto:martyn at chetnet.co.uk] Sent: Monday, February 02, 2009 1:13 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] HP Network Printer Update, but I'm still getting "Error in packet ( ) " in my printer status I can walk the Mibs with snmpwalk -v 1 -c public 192.168.3.252 and see all the relevant outputs but when I do the following: - ./check_snmp -H 192.168.3.252 -C public I get SNMP problem - No Data received from host CMD /usr/bin/snmpget -t 1 -r5 -m ' ' -v 1 [authpriv] 192.168.3.252:161 Hope you can help _____________________________________________ From: Martyn [mailto:martyn at chetnet.co.uk ] Sent: 02 February 2009 17:33 To: 'nagios-users at lists.sourceforge.net' Subject: HP Network Printer Just looking to start and monitor an HP 2600n printer and have come across the following statement in the quick start guide The check_hpjd plugin will only get compiled and installed if you have the net-snmp and net-snmp-utils packages installed on your system. Make sure the plugin exists in /usr/local/nagios/libexec before you continue. If it doesn't, install net-snmp and net-snmp-utils and recompile/reinstall the Nagios plugins. OK do these get installed when you download and compile nagios-plugins-1.4.11.tar.gz or do I have to grab then separately, I have looked through my nagios/libexec directory and noticed that check_snmp is in there but not the above two. Where would I get hold of the two files as described Thanks for your continued support Martyn -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios-users at troutpocket.org Mon Feb 2 21:39:07 2009 From: nagios-users at troutpocket.org (Scott) Date: Mon, 02 Feb 2009 12:39:07 -0800 Subject: Nagios threshold for Message-ID: <498759EB.7070201@troutpocket.org> We have a problem that frequently pops up in our monitoring environment. Our monitoring server has adequate bandwidth but we share with an occasional bandwidth hog. Sometimes they steal the bulk of our available bandwidth causing Nagios to be unable to adequately reach the systems it monitors. What results is an onslaught of hundreds and thousands of pages to everyone telling us that systems and services are down... one page for each that is monitored! Sometimes more if the bandwidth is pinched for a prolonged period of time. Legitimate pages are lost in the process. Is there a way to put a threshold on Nagios if "Time Out" messages are received from a certain number of hosts or services? If 4 distinct sites are timing out at the same time it should stop all notifications for all hosts and services and send a single page indicating a bandwidth issue. Is there any facility in Nagios that even slightly resembles what I've described? TIA! -Scott ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Feb 2 21:48:34 2009 From: marc at ena.com (Marc Powell) Date: Mon, 2 Feb 2009 14:48:34 -0600 Subject: Check for CPU Temperature In-Reply-To: <43B8062F30CB48F488E51D37CAE8AB65@Because> References: <43B8062F30CB48F488E51D37CAE8AB65@Because> Message-ID: <34F7CA5E-C938-4560-B4C7-A22D1CA68864@ena.com> On Feb 2, 2009, at 1:31 PM, Stephen H. Dawson wrote: > Hi, > > > Has anyone setup a check to watch the CPU temperature of a > computer? Can see what that is through: 'nagios check lm_sensors' is what you want to google for. -- Marc ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Feb 2 22:26:19 2009 From: marc at ena.com (Marc Powell) Date: Mon, 2 Feb 2009 15:26:19 -0600 Subject: Nagios threshold for In-Reply-To: <498759EB.7070201@troutpocket.org> References: <498759EB.7070201@troutpocket.org> Message-ID: <4A61EB8C-35C5-433F-BF77-7E551541D3C9@ena.com> On Feb 2, 2009, at 2:39 PM, Scott wrote: > Is there a way to put a threshold on Nagios if "Time Out" messages are > received from a certain number of hosts or services? If 4 distinct > sites are timing out at the same time it should stop all notifications > for all hosts and services and send a single page indicating a > bandwidth > issue. Is there any facility in Nagios that even slightly resembles > what I've described? TIA! Nothing within nagios specifically. I can think of two solutions off the bat though -- 1) Create a service check/plugin that tests for this condition specifically. How do you know that the issue you describe is the cause? Translate that to a plugin. Make that test the parent of all your other hosts or a service dependency if the problem shows itself only as service check failures. 2) If you can detect the problem reliably using a combination of specific host/service checks you have already, you could use check_cluster as a parent or service dependency as above. http://nagios.sourceforge.net/docs/2_0/clusters.html . -- Marc ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marcismael at gmail.com Mon Feb 2 23:59:52 2009 From: marcismael at gmail.com (Marc Ismael) Date: Tue, 3 Feb 2009 06:59:52 +0800 Subject: lun monitoring In-Reply-To: <20090202163018.GG21602@thinkpad.adamsinfoserv.com> References: <48603ddb0902020814u1da84betdd6311026128e2e8@mail.gmail.com> <20090202163018.GG21602@thinkpad.adamsinfoserv.com> Message-ID: <48603ddb0902021459w37d312f2u8e08623f65da956e@mail.gmail.com> Thanks Russell, I've already got the path and target visibility monitoring covered. How about in terms of performance though? Is there value in monitoring io, e.g. via iostat or another utility? On 2/3/09, Russell Adams wrote: > > What would you monitor? > > Path availability would be the only item of note, and querying that > information will vary by SAN driver and OS. > > Otherwise a LUN should show up as a disk with a filesystem that could > be monitored with existing tools. > > > On Tue, Feb 03, 2009 at 12:14:57AM +0800, Marc Ismael wrote: > > Hi, > > > > Anyone implemented any sort of lun monitoring plugin? Just gathering > ideas > > on what is already out there before I get my hands dirty. Thanks. > > > > Marc > > > > > ------------------------------------------------------------------------------ > > This SF.net email is sponsored by: > > SourcForge Community > > SourceForge wants to tell your story. > > http://p.sf.net/sfu/sf-spreadtheword > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > ------------------------------------------------------------------ > Russell Adams RLAdams at AdamsInfoServ.com > > PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/ > > Fingerprint: 1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3 > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by: > SourcForge Community > SourceForge wants to tell your story. > http://p.sf.net/sfu/sf-spreadtheword > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From RLAdams at AdamsInfoServ.Com Tue Feb 3 00:37:36 2009 From: RLAdams at AdamsInfoServ.Com (Russell Adams) Date: Mon, 2 Feb 2009 17:37:36 -0600 Subject: lun monitoring In-Reply-To: <48603ddb0902021459w37d312f2u8e08623f65da956e@mail.gmail.com> References: <48603ddb0902020814u1da84betdd6311026128e2e8@mail.gmail.com> <20090202163018.GG21602@thinkpad.adamsinfoserv.com> <48603ddb0902021459w37d312f2u8e08623f65da956e@mail.gmail.com> Message-ID: <20090202233736.GR21602@thinkpad.adamsinfoserv.com> Marc, In the spirit that each tool is supposed to fill one function and do it well, I don't use Nagios for trending. Nagios is operational status monitoring only. I'd suggest you look at other tools for that level of performance. One issue you will have is where will you query it? On certain OS's you can query disk statistics, or you may be able to get the data from the backend storage, or perhaps an aggregate from the SAN switch. I am not aware of any integrated solutions except those high dollar packages sold by storage vendors (ala TPC). Good luck. On Tue, Feb 03, 2009 at 06:59:52AM +0800, Marc Ismael wrote: > Thanks Russell, I've already got the path and target visibility monitoring > covered. > How about in terms of performance though? Is there value in monitoring io, > e.g. via iostat or another utility? > > On 2/3/09, Russell Adams wrote: > > > > What would you monitor? > > > > Path availability would be the only item of note, and querying that > > information will vary by SAN driver and OS. > > > > Otherwise a LUN should show up as a disk with a filesystem that could > > be monitored with existing tools. > > > > > > On Tue, Feb 03, 2009 at 12:14:57AM +0800, Marc Ismael wrote: > > > Hi, > > > > > > Anyone implemented any sort of lun monitoring plugin? Just gathering > > ideas > > > on what is already out there before I get my hands dirty. Thanks. > > > > > > Marc > > > > > > > > > ------------------------------------------------------------------------------ > > > This SF.net email is sponsored by: > > > SourcForge Community > > > SourceForge wants to tell your story. > > > http://p.sf.net/sfu/sf-spreadtheword > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ::: Please include Nagios version, plugin version (-v) and OS when > > reporting any issue. > > > ::: Messages without supporting info will risk being sent to /dev/null > > > > > > ------------------------------------------------------------------ > > Russell Adams RLAdams at AdamsInfoServ.com > > > > PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/ > > > > Fingerprint: 1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3 > > > > > > ------------------------------------------------------------------------------ > > This SF.net email is sponsored by: > > SourcForge Community > > SourceForge wants to tell your story. > > http://p.sf.net/sfu/sf-spreadtheword > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > > reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > ------------------------------------------------------------------------------ > Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) > software. With Adobe AIR, Ajax developers can use existing skills and code to > build responsive, highly engaging applications that combine the power of local > resources and data with the reach of the web. Download the Adobe AIR SDK and > Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------ Russell Adams RLAdams at AdamsInfoServ.com PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/ Fingerprint: 1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3 ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From martyn at chetnet.co.uk Tue Feb 3 00:41:58 2009 From: martyn at chetnet.co.uk (Martyn) Date: Mon, 2 Feb 2009 23:41:58 -0000 Subject: HP Network Printer In-Reply-To: <8147CCE3C4A8764DA9980125EE70E82380DCAC@nuexchg.norwich.edu> References: <8147CCE3C4A8764DA9980125EE70E82380DCAC@nuexchg.norwich.edu> Message-ID: James thanks for the reply, looks like there are many users with the same issue as me, http://osdir.com/ml/network.nagios.plugins/2006-11/msg00062.html The reason I want to use check_hpjd is because it reports back the toner levels too. I have spent the last 5 hours on Google and can not find any fix, does this group know of a fix at all or do you think its a bug? Thanks _____ From: James Pratt [mailto:jpratt at norwich.edu] Sent: 02 February 2009 20:19 To: nagios-users at lists.sourceforge.net; martyn at chetnet.co.uk Subject: RE: [Nagios-users] HP Network Printer Sorry Palle, I meant to reply to the list!.. my bad. :-( From: James Pratt Sent: Monday, February 02, 2009 3:16 PM To: 'Palle L Jensen' Subject: RE: [Nagios-users] HP Network Printer Hi, I found this on a quick google - I use snmp extensively. (Check_snmp is fairly worthless - I use the ones at http://nagios.manubulon.com instead. http://osdir.com/ml/network.nagios.user/2003-01/msg00028.html HTH Regards, jamie From: Palle L Jensen [mailto:palleje at gmail.com] Sent: Monday, February 02, 2009 3:00 PM To: 'Martyn'; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] HP Network Printer Martyn, I have noticed people monitoring other stuff on printers using the SNMP protocoll. However, since we have that protocol disabled I have no experience in that. If you just want to make sure it is up and running you could use the check_ping. Assuming it's a network printer with enabled NIC. Thanks, PJ _____ From: Martyn [mailto:martyn at chetnet.co.uk] Sent: Monday, February 02, 2009 1:13 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] HP Network Printer Update, but I'm still getting "Error in packet ( ) " in my printer status I can walk the Mibs with snmpwalk -v 1 -c public 192.168.3.252 and see all the relevant outputs but when I do the following: - ./check_snmp -H 192.168.3.252 -C public I get SNMP problem - No Data received from host CMD /usr/bin/snmpget -t 1 -r5 -m ' ' -v 1 [authpriv] 192.168.3.252:161 Hope you can help _____________________________________________ From: Martyn [ mailto:martyn at chetnet.co.uk] Sent: 02 February 2009 17:33 To: 'nagios-users at lists.sourceforge.net' Subject: HP Network Printer Just looking to start and monitor an HP 2600n printer and have come across the following statement in the quick start guide The check_hpjd plugin will only get compiled and installed if you have the net-snmp and net-snmp-utils packages installed on your system. Make sure the plugin exists in /usr/local/nagios/libexec before you continue. If it doesn't, install net-snmp and net-snmp-utils and recompile/reinstall the Nagios plugins. OK do these get installed when you download and compile nagios-plugins-1.4.11.tar.gz or do I have to grab then separately, I have looked through my nagios/libexec directory and noticed that check_snmp is in there but not the above two. Where would I get hold of the two files as described Thanks for your continued support Martyn -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From martyn at chetnet.co.uk Mon Feb 2 22:48:04 2009 From: martyn at chetnet.co.uk (Martyn) Date: Mon, 2 Feb 2009 21:48:04 -0000 Subject: HP Network Printer In-Reply-To: References: Message-ID: I think it may be a bug because if I use 'public' I get the "error in packet", if I use anything with less that 6 characters I get the same error, if I use public1 or anything with more than 6 characters I just get host time outs. check_ping works fine Thanks _____ From: Palle L Jensen [mailto:palleje at gmail.com] Sent: 02 February 2009 20:00 To: 'Martyn'; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] HP Network Printer Martyn, I have noticed people monitoring other stuff on printers using the SNMP protocoll. However, since we have that protocol disabled I have no experience in that. If you just want to make sure it is up and running you could use the check_ping. Assuming it's a network printer with enabled NIC. Thanks, PJ _____ From: Martyn [mailto:martyn at chetnet.co.uk] Sent: Monday, February 02, 2009 1:13 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] HP Network Printer Update, but I'm still getting "Error in packet ( ) " in my printer status I can walk the Mibs with snmpwalk -v 1 -c public 192.168.3.252 and see all the relevant outputs but when I do the following: - ./check_snmp -H 192.168.3.252 -C public I get SNMP problem - No Data received from host CMD /usr/bin/snmpget -t 1 -r5 -m ' ' -v 1 [authpriv] 192.168.3.252:161 Hope you can help _____________________________________________ From: Martyn [ mailto:martyn at chetnet.co.uk] Sent: 02 February 2009 17:33 To: 'nagios-users at lists.sourceforge.net' Subject: HP Network Printer Just looking to start and monitor an HP 2600n printer and have come across the following statement in the quick start guide The check_hpjd plugin will only get compiled and installed if you have the net-snmp and net-snmp-utils packages installed on your system. Make sure the plugin exists in /usr/local/nagios/libexec before you continue. If it doesn't, install net-snmp and net-snmp-utils and recompile/reinstall the Nagios plugins. OK do these get installed when you download and compile nagios-plugins-1.4.11.tar.gz or do I have to grab then separately, I have looked through my nagios/libexec directory and noticed that check_snmp is in there but not the above two. Where would I get hold of the two files as described Thanks for your continued support Martyn -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jpratt at norwich.edu Tue Feb 3 00:57:29 2009 From: jpratt at norwich.edu (James Pratt) Date: Mon, 2 Feb 2009 18:57:29 -0500 Subject: HP Network Printer In-Reply-To: References: <8147CCE3C4A8764DA9980125EE70E82380DCAC@nuexchg.norwich.edu> Message-ID: <8147CCE3C4A8764DA9980125EE70E82380DDC4@nuexchg.norwich.edu> Hi Martyn. I'm not sure why check_hpjd did not get compiled on your system. It appears you need at least net-snmp, and probably net-snmp-devel packages at least, as here is what is on my system: $ rpm -qa | grep snmp net-snmp-libs-5.3.1-24.el5_2.2 net-snmp-utils-5.3.1-24.el5_2.2 net-snmp-5.3.1-24.el5_2.2 net-snmp-devel-5.3.1-24.el5_2.2 net-snmp-perl-5.3.1-24.el5_2.2 Have you checked for those packages installed, as they are not installed by Nagios, and depending on your linux distro, may not be in the default setup.. I have it on mine, but I use lots of SNMP, so it's no surprise.. I don't see any option for checking toner, but maybe that's a different check... (?) $ ./check_hpjd --help check_hpjd v1991 (nagios-plugins 1.4.13) Copyright (c) 1999 Ethan Galstad Copyright (c) 2000-2007 Nagios Plugin Development Team This plugin tests the STATUS of an HP printer with a JetDirect card. Net-snmp must be installed on the computer running the plugin. Usage:check_hpjd -H host [-C community] Options: -h, --help Print detailed help screen -V, --version Print version information -C, --community=STRING The SNMP community name (default=public) Send email to nagios-users at lists.sourceforge.net if you have questions regarding use of this software. To submit patches or suggest improvements, send email to nagiosplug-devel at lists.sourceforge.net -- Regards, Jamie From: Martyn [mailto:martyn at chetnet.co.uk] Sent: Monday, February 02, 2009 6:42 PM To: James Pratt; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] HP Network Printer James thanks for the reply, looks like there are many users with the same issue as me, http://osdir.com/ml/network.nagios.plugins/2006-11/msg00062.html The reason I want to use check_hpjd is because it reports back the toner levels too. I have spent the last 5 hours on Google and can not find any fix, does this group know of a fix at all or do you think its a bug? Thanks ________________________________ From: James Pratt [mailto:jpratt at norwich.edu] Sent: 02 February 2009 20:19 To: nagios-users at lists.sourceforge.net; martyn at chetnet.co.uk Subject: RE: [Nagios-users] HP Network Printer Sorry Palle, I meant to reply to the list!.. my bad... :-( From: James Pratt Sent: Monday, February 02, 2009 3:16 PM To: 'Palle L Jensen' Subject: RE: [Nagios-users] HP Network Printer Hi, I found this on a quick google - I use snmp extensively. (Check_snmp is fairly worthless - I use the ones at http://nagios.manubulon.com instead... http://osdir.com/ml/network.nagios.user/2003-01/msg00028.html HTH Regards, jamie From: Palle L Jensen [mailto:palleje at gmail.com] Sent: Monday, February 02, 2009 3:00 PM To: 'Martyn'; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] HP Network Printer Martyn, I have noticed people monitoring other stuff on printers using the SNMP protocoll. However, since we have that protocol disabled I have no experience in that. If you just want to make sure it is up and running you could use the check_ping. Assuming it's a network printer with enabled NIC. Thanks, PJ ________________________________ From: Martyn [mailto:martyn at chetnet.co.uk] Sent: Monday, February 02, 2009 1:13 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] HP Network Printer Update, but I'm still getting "Error in packet ( ) " in my printer status I can walk the Mibs with snmpwalk -v 1 -c public 192.168.3.252 and see all the relevant outputs but when I do the following: - ./check_snmp -H 192.168.3.252 -C public I get SNMP problem - No Data received from host CMD /usr/bin/snmpget -t 1 -r5 -m ' ' -v 1 [authpriv] 192.168.3.252:161 Hope you can help _____________________________________________ From: Martyn [mailto:martyn at chetnet.co.uk ] Sent: 02 February 2009 17:33 To: 'nagios-users at lists.sourceforge.net' Subject: HP Network Printer Just looking to start and monitor an HP 2600n printer and have come across the following statement in the quick start guide The check_hpjd plugin will only get compiled and installed if you have the net-snmp and net-snmp-utils packages installed on your system. Make sure the plugin exists in /usr/local/nagios/libexec before you continue. If it doesn't, install net-snmp and net-snmp-utils and recompile/reinstall the Nagios plugins. OK do these get installed when you download and compile nagios-plugins-1.4.11.tar.gz or do I have to grab then separately, I have looked through my nagios/libexec directory and noticed that check_snmp is in there but not the above two. Where would I get hold of the two files as described Thanks for your continued support Martyn -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jpratt at norwich.edu Tue Feb 3 01:03:52 2009 From: jpratt at norwich.edu (James Pratt) Date: Mon, 2 Feb 2009 19:03:52 -0500 Subject: lun monitoring In-Reply-To: <20090202233736.GR21602@thinkpad.adamsinfoserv.com> References: <48603ddb0902020814u1da84betdd6311026128e2e8@mail.gmail.com><20090202163018.GG21602@thinkpad.adamsinfoserv.com><48603ddb0902021459w37d312f2u8e08623f65da956e@mail.gmail.com> <20090202233736.GR21602@thinkpad.adamsinfoserv.com> Message-ID: <8147CCE3C4A8764DA9980125EE70E82380DDC6@nuexchg.norwich.edu> > -----Original Message----- > From: Russell Adams [mailto:RLAdams at AdamsInfoServ.Com] > Sent: Monday, February 02, 2009 6:38 PM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] lun monitoring > > Marc, > > In the spirit that each tool is supposed to fill one function and do > it well, I don't use Nagios for trending. Nagios is operational status > monitoring only. > > I'd suggest you look at other tools for that level of performance. One > issue you will have is where will you query it? On certain OS's you can > query disk statistics, or you may be able to get the data from the > backend storage, or perhaps an aggregate from the SAN switch. > > I am not aware of any integrated solutions except those high dollar > packages sold by storage vendors (ala TPC). > > Good luck. > I would agree with Russell - Cacti & RRDtool (free/open-source) works great for graphing/trending just about anything - free/open-source too... :) Jamie ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Feb 3 01:22:12 2009 From: tom.ammon at utah.edu (Tom Ammon) Date: Mon, 02 Feb 2009 17:22:12 -0700 Subject: lun monitoring In-Reply-To: <8147CCE3C4A8764DA9980125EE70E82380DDC6@nuexchg.norwich.edu> References: <48603ddb0902020814u1da84betdd6311026128e2e8@mail.gmail.com><20090202163018.GG21602@thinkpad.adamsinfoserv.com><48603ddb0902021459w37d312f2u8e08623f65da956e@mail.gmail.com> <20090202233736.GR21602@thinkpad.adamsinfoserv.com> <8147CCE3C4A8764DA9980125EE70E82380DDC6@nuexchg.norwich.edu> Message-ID: <49878E34.1@utah.edu> James Pratt wrote: >> -----Original Message----- >> From: Russell Adams [mailto:RLAdams at AdamsInfoServ.Com] >> Sent: Monday, February 02, 2009 6:38 PM >> To: nagios-users at lists.sourceforge.net >> Subject: Re: [Nagios-users] lun monitoring >> >> Marc, >> >> In the spirit that each tool is supposed to fill one function and do >> it well, I don't use Nagios for trending. Nagios is operational status >> monitoring only. >> >> I'd suggest you look at other tools for that level of performance. One >> issue you will have is where will you query it? On certain OS's you >> > can > >> query disk statistics, or you may be able to get the data from the >> backend storage, or perhaps an aggregate from the SAN switch. >> >> I am not aware of any integrated solutions except those high dollar >> packages sold by storage vendors (ala TPC). >> >> Good luck. >> >> > > I would agree with Russell - Cacti & RRDtool (free/open-source) works > great for graphing/trending just about anything - free/open-source > too... :) > > Jamie > I'll give a strong second to that - we use Cacti to graph 10,000+ data sources, and it works great. It's a strong tool. Tom -- ------------------------------------- Tom Ammon Network Engineer Mobile: 801.674.9273 Business Card at http://tomsbox.net/bizcard_TomAmmon.jpg Center for High Performance Computing University of Utah http://www.chpc.utah.edu ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From atstake at gmail.com Tue Feb 3 01:39:54 2009 From: atstake at gmail.com (Chris) Date: Tue, 3 Feb 2009 11:39:54 +1100 Subject: check_snmp_storage.pl error: Service check did not exit properly In-Reply-To: <8adc88580902012054h60149a7dy4daf763ac0ef9805@mail.gmail.com> References: <8adc88580902012054h60149a7dy4daf763ac0ef9805@mail.gmail.com> Message-ID: <8adc88580902021639w6b687932t807fde54ae9c3a85@mail.gmail.com> On Mon, Feb 2, 2009 at 3:54 PM, Chris wrote: > I can type the following > > ./check_snmp_storage.pl -H foo -C foo -m / -r -w 80% -c 90% > > and get the correct information. But I'm having trouble adding it to > nagios configuration file. > > My partitions are not same for every host (eg. some hosts have a /tmp > partition and some don't) > > In my commands.cfg I defined: > > define command{ > command_name check_snmp_storage > command_line $USER1$/check_snmp_storage.pl -H $HOSTADDRESS$ > -C $ARG1$ -m $ARG2$ -w 80% -c 90% -r > } > > > And I define the service in my unix.cfg file as: > > define service{ > use generic-service > host_name server_name > service_description Disk / > check_command check_snmp_storage!foo!/ > } > > When I restart Nagios, I get status critical in Nagios web interface > for this service check. Status Information says: (Service check did > not exit properly) More update: if I run /usr/lib/nagios/plugins/check_snmp_storage.pl while I am under /root, I get this error message: Can't locate utils.pm in @INC (@INC contains: /usr/local/nagios/libexec /usr/lib/perl5/5.8.8/i586-linux-thread-multi /usr/lib/perl5/5.8.8 /usr/lib/perl5/site_perl/5.8.8/i586-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i586-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl .) at /usr/lib/nagios/plugins/check_snmp_storage.pl line 21. BEGIN failed--compilation aborted at /usr/lib/nagios/plugins/check_snmp_storage.pl line 21 If I run it while I'm under /usr/lib/nagios/plugins/ directory, I don't get any error message and it works. I defined the command as $USER1$/check_snmp_storage.pl and also /usr/lib/nagios/plugins/check_snmp_storage.pl - no luck. check_snmp_storage.pl is owned by root and has read and execute for everyone. ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From RLAdams at AdamsInfoServ.Com Tue Feb 3 02:10:39 2009 From: RLAdams at AdamsInfoServ.Com (Russell Adams) Date: Mon, 2 Feb 2009 19:10:39 -0600 Subject: lun monitoring In-Reply-To: <49878E34.1@utah.edu> References: <20090202233736.GR21602@thinkpad.adamsinfoserv.com> <8147CCE3C4A8764DA9980125EE70E82380DDC6@nuexchg.norwich.edu> <49878E34.1@utah.edu> Message-ID: <20090203011039.GS21602@thinkpad.adamsinfoserv.com> On Mon, Feb 02, 2009 at 05:22:12PM -0700, Tom Ammon wrote: > > > I'll give a strong second to that - we use Cacti to graph 10,000+ data > sources, and it works great. It's a strong tool. > > Tom Tom, I have progressed through MRTG, Cricket, and now Torrus in my search for a good trending tool. They all use RRDTool because its simply the best at time series data, the differences are the frontend. MRTG was the basic model, required complete manual configuration. Cricket was better, more web layout and a little less configuration. Torrus is what I've settled on. The autodiscovery feature was the selling point. Cacti's web UI is nicer, but I love the autodiscovery. Discovery is fairly easy to customize in XML and Perl. What has your experience with Cacti been? Do they have good autodiscovery now? How is support for adding new device types? Thanks. ------------------------------------------------------------------ Russell Adams RLAdams at AdamsInfoServ.com PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/ Fingerprint: 1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3 ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Feb 3 02:27:34 2009 From: perldork at webwizarddesign.com (Max) Date: Mon, 2 Feb 2009 20:27:34 -0500 Subject: check_snmp_storage.pl error: Service check did not exit properly In-Reply-To: <8adc88580902021639w6b687932t807fde54ae9c3a85@mail.gmail.com> References: <8adc88580902012054h60149a7dy4daf763ac0ef9805@mail.gmail.com> <8adc88580902021639w6b687932t807fde54ae9c3a85@mail.gmail.com> Message-ID: Hi, On Mon, Feb 2, 2009 at 7:39 PM, Chris wrote: > On Mon, Feb 2, 2009 at 3:54 PM, Chris wrote: >> I can type the following >> >> ./check_snmp_storage.pl -H foo -C foo -m / -r -w 80% -c 90% >> >> and get the correct information. But I'm having trouble adding it to >> nagios configuration file. >> >> My partitions are not same for every host (eg. some hosts have a /tmp >> partition and some don't) >> >> In my commands.cfg I defined: >> >> define command{ >> command_name check_snmp_storage >> command_line $USER1$/check_snmp_storage.pl -H $HOSTADDRESS$ >> -C $ARG1$ -m $ARG2$ -w 80% -c 90% -r >> } >> >> >> And I define the service in my unix.cfg file as: >> >> define service{ >> use generic-service >> host_name server_name >> service_description Disk / >> check_command check_snmp_storage!foo!/ >> } >> >> When I restart Nagios, I get status critical in Nagios web interface >> for this service check. Status Information says: (Service check did >> not exit properly) Two separate issues here: 1) For the utils.pm problem, you can add this line to the script after the shebang line to have the perl interpreter find utils.pm. #!/usr/bin/perl use lib 'usr/lib/nagios/plugins/'; 2) For your custom service check command I recommend using custom attributes if you are using Nagios 3. Two benefits: a) You can associate your service with a hostgroup and then just add hosts to that host group to have them pull in the service (don't have to redefine new copies of the service over and over b) More readabl configurations. E.g. (made up example, does not match your code) define command{ command_name check_snmp_storage command_line $USER1$/my_disk_check_command.pl -w $_HOST_DISK_WARN$ -c $_HOST_DISK_CRIT$ --partitions $_HOST_DISK_PARTITION$ } Then create your service one time and add it to the disk-check-hosts group define service { service_description Disk Check Service hostgroup_name disk-check-hosts .... more attributes ... } Then create a host group disk-check-hosts define hostgroup { hostgroup_name disk-check-hosts alias Disk check hosts } Then in your host you can use: define host { use generic-host hostgroups +disk-check-hosts __disk_partitions /var,/home __disk_warn 85 __disk_crit 95 } Little more work, but now you can add the service to additional hosts by just adding them to the disk-check-hosts hostgroup and defining the custom attributes in the host .. which means someone maintaining the code sees the attributes in one place .. with the host definition. Much more readable than having to browse through many services :). - Max ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Feb 3 02:28:37 2009 From: perldork at webwizarddesign.com (Max) Date: Mon, 2 Feb 2009 20:28:37 -0500 Subject: check_snmp_storage.pl error: Service check did not exit properly In-Reply-To: References: <8adc88580902012054h60149a7dy4daf763ac0ef9805@mail.gmail.com> <8adc88580902021639w6b687932t807fde54ae9c3a85@mail.gmail.com> Message-ID: > Two separate issues here: > 1) For the utils.pm problem, you can add this line to the script > after the shebang line to have the perl interpreter find utils.pm. > > #!/usr/bin/perl > use lib 'usr/lib/nagios/plugins/'; Should have written use lib '/usr/lib/nagios/plugins'; missed the beginning slash in my first email. -= max ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Feb 3 03:10:45 2009 From: tom.ammon at utah.edu (Tom Ammon) Date: Mon, 02 Feb 2009 19:10:45 -0700 Subject: lun monitoring In-Reply-To: <20090203011039.GS21602@thinkpad.adamsinfoserv.com> References: <20090202233736.GR21602@thinkpad.adamsinfoserv.com> <8147CCE3C4A8764DA9980125EE70E82380DDC6@nuexchg.norwich.edu> <49878E34.1@utah.edu> <20090203011039.GS21602@thinkpad.adamsinfoserv.com> Message-ID: <4987A7A5.2070002@utah.edu> Russell Adams wrote: > On Mon, Feb 02, 2009 at 05:22:12PM -0700, Tom Ammon wrote: > >> I'll give a strong second to that - we use Cacti to graph 10,000+ data >> sources, and it works great. It's a strong tool. >> >> Tom >> > > Tom, > > I have progressed through MRTG, Cricket, and now Torrus in my search > for a good trending tool. They all use RRDTool because its simply the > best at time series data, the differences are the frontend. > > MRTG was the basic model, required complete manual configuration. > > Cricket was better, more web layout and a little less configuration. > > Torrus is what I've settled on. The autodiscovery feature was the > selling point. Cacti's web UI is nicer, but I love the > autodiscovery. Discovery is fairly easy to customize in XML and Perl. > > What has your experience with Cacti been? Do they have good > autodiscovery now? How is support for adding new device types? > > Thanks. Russell, Cacti is pretty SNMP-centric, but in our environment that is about all we are using it for anyway. I'm no cacti expert, but to me, that's the beauty of it - I don't really know the inner workings of cacti, and I am not a programmer or scripter, but I got it up and running pretty quickly. I'm not sure if you would call it autodiscovery, but cacti does do an snmpwalk on the devices that you specify, and the pre-built data collection methods that come with it are designed for getting snmp interface statistics. You can, of course, add other data collection methods, but out of the box, it is basically an interface traffic grapher. You still have to manually input each device that you will collect data for. Once you have specified the basic host information, it gives you a table showing all of the interfaces on that device and a checkbox for each item that can be graphed. To be fair, though (and this applies to nagios as well as cacti) most of the effort you put in to setting up a monitoring solution is a one-time thing. It takes time to input all of the devices, but for the most part once the devices to be monitored are specified, that work is over. I think people incorrectly place a lot of emphasis on this or that product's autodiscovery function. Cacti's interface makes it really easy to maintain the configuration, and I think that is a bigger win than autodiscovery. What do you mean by new device types? Tom -- ------------------------------------- Tom Ammon Network Engineer Mobile: 801.674.9273 Business Card at http://tomsbox.net/bizcard_TomAmmon.jpg Center for High Performance Computing University of Utah http://www.chpc.utah.edu ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From RLAdams at AdamsInfoServ.Com Tue Feb 3 07:08:57 2009 From: RLAdams at AdamsInfoServ.Com (Russell Adams) Date: Tue, 3 Feb 2009 00:08:57 -0600 Subject: lun monitoring In-Reply-To: <4987A7A5.2070002@utah.edu> References: <20090202233736.GR21602@thinkpad.adamsinfoserv.com> <8147CCE3C4A8764DA9980125EE70E82380DDC6@nuexchg.norwich.edu> <49878E34.1@utah.edu> <20090203011039.GS21602@thinkpad.adamsinfoserv.com> <4987A7A5.2070002@utah.edu> Message-ID: <20090203060857.GV21602@thinkpad.adamsinfoserv.com> On Mon, Feb 02, 2009 at 07:10:45PM -0700, Tom Ammon wrote: > > Russell, > > Cacti is pretty SNMP-centric, but in our environment that is about all > we are using it for anyway. I'm no cacti expert, but to me, that's the > beauty of it - I don't really know the inner workings of cacti, and I am > not a programmer or scripter, but I got it up and running pretty quickly. SNMP is a great place to start, and very open. Its certainly more reliable than the CIMOM implementations I see. > I'm not sure if you would call it autodiscovery, but cacti does do an > snmpwalk on the devices that you specify, and the pre-built data > collection methods that come with it are designed for getting snmp > interface statistics. You can, of course, add other data collection > methods, but out of the box, it is basically an interface traffic > grapher. You still have to manually input each device that you will > collect data for. Once you have specified the basic host information, it > gives you a table showing all of the interfaces on that device and a > checkbox for each item that can be graphed. Torrus is configured by feeding it a list of IP addresses and it identifies the device and sets up all the counters to be monitored. The detail is very good, more than just interface stats. > To be fair, though (and this applies to nagios as well as cacti) most of > the effort you put in to setting up a monitoring solution is a one-time > thing. It takes time to input all of the devices, but for the most part > once the devices to be monitored are specified, that work is over. I > think people incorrectly place a lot of emphasis on this or that > product's autodiscovery function. Cacti's interface makes it really easy > to maintain the configuration, and I think that is a bigger win than > autodiscovery. I consider autodiscovery to be absolutely critical. Maintaining a handfull of machines is one thing, hundreds or thousands or machines outside of your control are another. I wrote NACE to allow me to perform fast autodiscovery for Nagios, and I've been pleased to couple it with Torrus so they both have the same list of hosts. > What do you mean by new device types? Device types are essentially templates for what to monitor on a given device. Hosts are cpu/mem/disk/net, switches might be ports/traffic/cpu/mem/temp, etc. Thanks. ------------------------------------------------------------------ Russell Adams RLAdams at AdamsInfoServ.com PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/ Fingerprint: 1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3 ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fvanhee at gmail.com Tue Feb 3 08:39:03 2009 From: fvanhee at gmail.com (Frederik Vanhee) Date: Tue, 03 Feb 2009 08:39:03 +0100 Subject: Nagios side.html : tweaking "Unhandled service problems" Message-ID: <4987F497.9010802@gmail.com> Hi, I thought it was great to have the "unhandled service problems" in the sidebar. Earlier versions didn't have it and I really needed it, so I'm very happy. However, I'm running a distributed setup with active and passive service checks, so I'm not only interested in the active checks, but also in the passive checks The default filter for "unhandled service problems" is : Not in schedulded downtime & Has not been acknowledged & Active checks enabled => serviceprops = 42 what I really need is : Not in schedulded downtime & Has not been acknowledged & Active checks enabled || Passive checks enabled => serviceprops = ?? I looked into the status.c source, but I can't seem to find the values to compose custom filters. Is there anyone out there who can point me into the right direction ? Thanks, Frederik ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From robby.kahlon at cubic.com Tue Feb 3 09:02:43 2009 From: robby.kahlon at cubic.com (Kahlon, Robby) Date: Tue, 3 Feb 2009 00:02:43 -0800 Subject: Monitoring Windows Host's clock In-Reply-To: <200902020956.45299.assaf.flatto@ssp-intl.com> References: <200902020956.45299.assaf.flatto@ssp-intl.com> Message-ID: <28919A12B5A1504CB3599372AA286FC602C25AD1@bb-cts-ex1.cts.cubic.cub> I am trying to use nrpe_nt.exe on the Windows host now. Where can I find the list of command arguments for check_nrpe? Which command argument will monitor the system time? -Robby -----Original Message----- From: Assaf Flatto [mailto:assaf.flatto at ssp-intl.com] Sent: Monday, 2 February 2009 7:57 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Monitoring Windows Host's clock http://nagiosexchange.org/cgi-bin/page.cgi?d=1 Try searching there . On Saturday 31 January 2009 05:27:05 Kahlon, Robby wrote: > Which Plugin and Addon would let Nagios to monitor the Windows host's > clock? > > > > Can someone point me in a right direction? -- Assaf Flatto SSP Ops Team Linux System Administrator 169 Euston Road, London, NW1 2AE IMPORTANT . this email and the information in it may be confidential, legally privileged and/or protected by law. It is intended solely for the use of the person to whom it is addressed. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Please also delete all copies of this email and any attachments from your system. We cannot guarantee the security or confidentiality of email communications. We do not accept any liability for losses or damages that you may suffer as a result of your receipt of this email including but not limited to computer service or system failure, access delays or interruption, data non-delivery or mis-delivery, computer viruses or other harmful components. Copyright in this email and any attachments belong to Select Service Partner UK Limited. Should you communicate with anyone at Select Service Partner UK Limited by email, you consent to us monitoring and reading any such correspondence. Nothing in this email shall be taken or read as suggesting, proposing or relating to any agreement concerted practice or other practice that could infringe UK or EC competition legislation. Select Service Partner UK Limited is a company registered in England and Wales (company number 05687183) whose registered office is at 1 The Heights, Brooklands, Weybridge. Surrey. KT13 0NY ------------------------------------------------------------------------ ------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From paolo.tealdi at polito.it Tue Feb 3 09:10:30 2009 From: paolo.tealdi at polito.it (Paolo Tealdi) Date: Tue, 03 Feb 2009 09:10:30 +0100 Subject: Strategies for monitoring a generic batch script Message-ID: Dear all, i'm searching for the best strategy in nagios for monitoring the result of the execution for a generic batch (could be an rsync batch or a backup or something else) that runs a few times in a day via cron interface. I could create a file if all goes well and check for the existance of the file and for it's creation/modification time, but this seems to me a little awkward ... Anybody has a better idea ? I hope this is not a faq, i googled but i didn't find anything useful. Best regards, Paolo Tealdi Ing. Paolo Tealdi Servizi Informatici per le Biblioteche Politecnico Torino Phone : +39-011-0906714 , FAX : +39-011-0906799 C.so Duca degli Abruzzi, 24 - 10129 Torino - ITALY Email : paolo.tealdi(At)polito.it Skype : tealdi.paolo ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kae at midnighthax.com Tue Feb 3 10:32:35 2009 From: kae at midnighthax.com (Keith Edmunds) Date: Tue, 3 Feb 2009 09:32:35 +0000 Subject: Strategies for monitoring a generic batch script In-Reply-To: References: Message-ID: <20090203093235.4efff0dd@ws.in.tiger-computing.com> > I could create a file if all goes well and check for the existance of > the file and for it's creation/modification time, but this seems to > me a little awkward ... That's exactly what we do, and it works very well. -- Keith Edmunds +-------------------------------------------------------------------------+ | Tiger Computing Ltd | Helping businesses make the most of Linux | | "The Linux Specialists" | http://www.tiger-computing.co.uk | +-------------------------------------------------------------------------+ ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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-intl.com Tue Feb 3 10:41:13 2009 From: assaf.flatto at ssp-intl.com (Assaf Flatto) Date: Tue, 3 Feb 2009 09:41:13 +0000 Subject: Nagios threshold for In-Reply-To: <498759EB.7070201@troutpocket.org> References: <498759EB.7070201@troutpocket.org> Message-ID: <200902030941.13992.assaf.flatto@ssp-intl.com> On Monday 02 February 2009 20:39:07 Scott wrote: > We have a problem that frequently pops up in our monitoring > environment. Our monitoring server has adequate bandwidth but we share > with an occasional bandwidth hog. Sometimes they steal the bulk of our > available bandwidth causing Nagios to be unable to adequately reach the > systems it monitors. What results is an onslaught of hundreds and > thousands of pages to everyone telling us that systems and services are > down... one page for each that is monitored! Sometimes more if the > bandwidth is pinched for a prolonged period of time. Legitimate pages > are lost in the process. > > Is there a way to put a threshold on Nagios if "Time Out" messages are > received from a certain number of hosts or services? If 4 distinct > sites are timing out at the same time it should stop all notifications > for all hosts and services and send a single page indicating a bandwidth > issue. Is there any facility in Nagios that even slightly resembles > what I've described? TIA! > > -Scott what you are referring to is the nagios business process http://www.nagiosexchange.org/cgi-bin/page.cgi?g=Detailed%2F1366.html;d=1 It has the capability to send notification based of a business wide implications , however it does not over ride the notifications from nagios for each service individually. if those network outages occur in similar times - you can set the alerts not to be sent on the individual services for that time and only the business plan logic to give out the alert. Assaf > > --------------------------------------------------------------------------- >--- This SF.net email is sponsored by: > SourcForge Community > SourceForge wants to tell your story. > http://p.sf.net/sfu/sf-spreadtheword > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > ::: reporting any issue. Messages without supporting info will risk being > ::: sent to /dev/null -- Assaf Flatto SSP Ops Team Linux System Administrator 169 Euston Road, London, NW1 2AE IMPORTANT . this email and the information in it may be confidential, legally privileged and/or protected by law. It is intended solely for the use of the person to whom it is addressed. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Please also delete all copies of this email and any attachments from your system. We cannot guarantee the security or confidentiality of email communications. We do not accept any liability for losses or damages that you may suffer as a result of your receipt of this email including but not limited to computer service or system failure, access delays or interruption, data non-delivery or mis-delivery, computer viruses or other harmful components. Copyright in this email and any attachments belong to Select Service Partner UK Limited. Should you communicate with anyone at Select Service Partner UK Limited by email, you consent to us monitoring and reading any such correspondence. Nothing in this email shall be taken or read as suggesting, proposing or relating to any agreement concerted practice or other practice that could infringe UK or EC competition legislation. Select Service Partner UK Limited is a company registered in England and Wales (company number 05687183) whose registered office is at 1 The Heights, Brooklands, Weybridge. Surrey. KT13 0NY ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Feb 3 10:42:54 2009 From: angeolivier2003 at yahoo.fr (Kermito le kermit) Date: Tue, 3 Feb 2009 09:42:54 +0000 (GMT) Subject: Unhandled services or hosts References: <496E0F5D.2010405@nordal-lund.dk> Message-ID: <252717.80374.qm@web26105.mail.ukl.yahoo.com> hello all, I want to know what is the Unhandled services or hosts in interfaces of nagios. when there are some alert on one service or host in the interfec web a see service problem and unhandled someone can explain this option please -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From roderick at r71.nl Tue Feb 3 12:15:48 2009 From: roderick at r71.nl (Roderick Derks) Date: Tue, 3 Feb 2009 12:15:48 +0100 (CET) Subject: Monitor lun statistics In-Reply-To: <29375201.51233659592084.JavaMail.SYSTEM@07-300-6335> References: <29375201.51233659592084.JavaMail.SYSTEM@07-300-6335> Message-ID: <25328218.71233659717632.JavaMail.SYSTEM@07-300-6335> If you have a DELL/EMC san then you can use: check_emc_clariion.pl (think i found it on nagiosexhange, install the navi-agent on your nagios host) I suggest that if you want to check VMware then you do this via the VC server: http://www.steveshipway.org/forum/viewtopic.php?f=35&t=1648 (install the perl vi toolkit on your nagios host) Regards, Roderick ----- Original Message ----- From: "James Pratt" To: nagios-users at lists.sourceforge.net Sent: Maandag 2 februari 2009 15:52:46 GMT +01:00 Amsterdam / Berlin / Bern / Rome / Stockholm / Vienna Subject: Re: [Nagios-users] Monitor lun statistics From: Marc Ismael [mailto:marcismael at gmail.com] Sent: Monday, February 02, 2009 9:32 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Monitor lun statistics Has anyone implemented / is there any effective way to monitor lun activity / health? Thank you, Marc --- Hi, Not sure what you mean as it likely depends on your san, or what you want to monitor exactly (?). We are an EMC/Vmware shop, so I just use checks for ensuring LUN free space in ESX, via SNMP... Regards, jamie ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Feb 3 12:52:19 2009 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Tue, 03 Feb 2009 06:52:19 -0500 Subject: Strategies for monitoring a generic batch script In-Reply-To: References: Message-ID: <49882FF3.8000301@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 03/02/09 03:10 AM, Paolo Tealdi wrote: > Dear all, > > i'm searching for the best strategy in nagios for monitoring the > result of the execution for a generic batch (could be an rsync batch > or a backup or something else) that runs a few times in a day via > cron interface. > I could create a file if all goes well and check for the existance of > the file and for it's creation/modification time, but this seems to > me a little awkward ... > Anybody has a better idea ? I use send_nsca and configure a passive check - the script returns OK of no error occurred or an error status if anything went wrong. This also has the advantage of reducing the load on your monitoring server. You can also use freshness checking to send an alert when no results come in after some time. - -- Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFJiC/z6dZ+Kt5BchYRAu8BAJ0X89B3P7kgAiN5IAfl43IAbXa9wQCeMJ+k FVJ7ZfYLEFyEhorO4PW80Ho= =ESlf -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jaimeventura at ipp.pt Tue Feb 3 12:38:26 2009 From: jaimeventura at ipp.pt (Jaime Ventura) Date: Tue, 03 Feb 2009 11:38:26 +0000 Subject: Receiving traps from an APC ups.. Message-ID: <49882CB2.4090502@ipp.pt> hello, I have the following problem. I've configured a nagios service to monitor actively(to get state and perfdata) and passively (so it can receive snmptraps via nsca-client) an APC ups.. At the moment, the ups has one intermittent problem and one permanent problem, which result the on sending traps, the following way: receive 'Problem 1' trap: critical -> nagios notification CRITICAL receive 'Problem 2' trap : critical -> nagios does not send notification, because status is the same(CRITICAL) receive 'Problem 1' trap : ok -> nagios notification OK (status changed) receive 'Problem 2' trap : critical -> nagios notification CRITICAL(status changed) So, heres's the problem, When problem 1 is solved, the UPS still has problem 2 (and it keeps sending traps of the same problem). Receiving an OK trap, nagios will change the service status to OK while having another problem. Because of that, nagios keeps sending ok notification, even thought ups is not ok, and service is kept flapping. Is there any way to solve this? Can I force nagios to use the active_check command every time it receives a trap(even if it is a ok trap). Thanks, Jaime ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Feb 3 12:41:22 2009 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Tue, 03 Feb 2009 06:41:22 -0500 Subject: Nagios side.html : tweaking "Unhandled service problems" In-Reply-To: <4987F497.9010802@gmail.com> References: <4987F497.9010802@gmail.com> Message-ID: <49882D62.5050307@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 03/02/09 02:39 AM, Frederik Vanhee wrote: > Hi, > > I thought it was great to have the "unhandled service problems" in the > sidebar. > Earlier versions didn't have it and I really needed it, so I'm very happy. > > However, I'm running a distributed setup with active and passive service > checks, so I'm not only interested in the active checks, but also in the > passive checks > The default filter for "unhandled service problems" is : > > Not in schedulded downtime & Has not been acknowledged & Active checks > enabled => serviceprops = 42 > > what I really need is : > > Not in schedulded downtime & Has not been acknowledged & Active checks > enabled || Passive checks enabled => serviceprops = ?? > > I looked into the status.c source, but I can't seem to find the values > to compose custom filters. > Is there anyone out there who can point me into the right direction ? It's a bitmask. If you know what a bitmask is, have a look here for the values you can use: include/cgiutils.h.in - line 276: HOST AND SERVICE FILTER PROPERTIES - -- Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFJiC1i6dZ+Kt5BchYRAgCBAKCaoB7Z/T9GbXE0JUpBKRaXFqwcuACfWJTc 59mbt2Z2A49kpCSA7dw9WCk= =VDWw -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Feb 3 13:45:57 2009 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Tue, 03 Feb 2009 07:45:57 -0500 Subject: Receiving traps from an APC ups.. In-Reply-To: <49882CB2.4090502@ipp.pt> References: <49882CB2.4090502@ipp.pt> Message-ID: <49883C85.9040902@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 03/02/09 06:38 AM, Jaime Ventura wrote: > hello, I have the following problem. > > I've configured a nagios service to monitor actively(to get state and > perfdata) and passively (so it can receive snmptraps via nsca-client) an > APC ups.. > > At the moment, the ups has one intermittent problem and one permanent > problem, which result the on sending traps, the following way: > > receive 'Problem 1' trap: critical -> nagios notification CRITICAL > receive 'Problem 2' trap : critical -> nagios does not send > notification, because status is the same(CRITICAL) > receive 'Problem 1' trap : ok -> nagios notification OK (status > changed) > receive 'Problem 2' trap : critical -> nagios notification > CRITICAL(status changed) > > So, heres's the problem, When problem 1 is solved, the UPS still has > problem 2 (and it keeps sending traps of the same problem). Receiving an > OK trap, nagios will change the service status to OK while having > another problem. > Because of that, nagios keeps sending ok notification, even thought ups > is not ok, and service is kept flapping. > > Is there any way to solve this? > Can I force nagios to use the active_check command every time it > receives a trap(even if it is a ok trap). You should use volatile services to monitor this kind of problem, though if you want to see recoveries you will need to send that as an alert (warning or critical). You could also use one passive service per trap, but the general way of handling traps is by using volatile services. - -- Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFJiDyF6dZ+Kt5BchYRArKNAKDVLoxioYBpNzUhQCXJzQrmMAyk1wCgiyWi pd5oMovsAaoEOMarMXz6D3k= =ERAb -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Feb 3 14:22:02 2009 From: marc at ena.com (Marc Powell) Date: Tue, 3 Feb 2009 07:22:02 -0600 Subject: Unhandled services or hosts In-Reply-To: <252717.80374.qm@web26105.mail.ukl.yahoo.com> References: <496E0F5D.2010405@nordal-lund.dk> <252717.80374.qm@web26105.mail.ukl.yahoo.com> Message-ID: On Feb 3, 2009, at 3:42 AM, Kermito le kermit wrote: > hello all, > > I want to know what is the Unhandled services or hosts in > interfaces of nagios. when there are some alert on one service or > host in the interfec web a see service problem and unhandled > > > someone can explain this option please Unhandled means the problem has not been Acknowledged; nobody is known to be working to fix it. -- Marc ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From KaeglerM at tessco.com Tue Feb 3 17:25:46 2009 From: KaeglerM at tessco.com (Kaegler, Mike) Date: Tue, 3 Feb 2009 11:25:46 -0500 Subject: notify-service-by-email failure for *some* addresses? Message-ID: Greetings, My phone and a few POP mailboxes all receive alerts from nagios, the POP boxes via the stock notify-service-by-email, my phone via a custom notify-service-by-shortmail. Shortmail stopped working out of the blue a few days ago, and I just moved my phone over to notify-service-by-email. I'm still not receiving notifications on it. My logs have the relevant error: Feb 3 10:46:41 net nagios: Warning: Contact 'porkchoppager' host notification command '/usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: ACKNOWLEDGEMENT\nHost: slc-fw\nState: DOWN\nAddress: 172.21.7.51\nInfo: (Host Check Timed Out)\n\nDate/Time: Tue Feb 3 10:46:10 EST 2009\n" | /bin/mail -s "** ACKNOWLEDGEMENT Host Alert: slc-fw is DOWN **" mynumber at txt.att.net' timed out after 30 seconds While its executing, I've seen a zombie sh in the processlist along with two sendmail processes just waiting there. The same notification command works flawlessly for 5 other contacts at the same time: The only difference is in the actual email address, and its just a phone number @txt.att.net. I've su'd to the nagios user and executed the whole command. No problem, hits my phone in 30 seconds. Ideas on where to look? -mKaegler -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From martyn at chetnet.co.uk Tue Feb 3 18:22:48 2009 From: martyn at chetnet.co.uk (Martyn) Date: Tue, 3 Feb 2009 17:22:48 -0000 Subject: HP Network Printer In-Reply-To: <8147CCE3C4A8764DA9980125EE70E82380DDC4@nuexchg.norwich.edu> References: <8147CCE3C4A8764DA9980125EE70E82380DDC4@nuexchg.norwich.edu> Message-ID: Hi James/Group I reinstalled Ubuntu and installed Server version, gone through all I went through before and all is working as should be apart from the printer again. Ping works fine. The problem I'm seeing now is (return code 127 is out of bounds - Plugin may be missing) The path to the plugin is invalid (i.e. the binary or script does not exist). This is most likely the case if you get errors about a return code of 127 being out of bounds. If this is the error you're getting, check your command definitions and make sure the path to all executables is correct (and that they're actually installed on your system). I have checked my directory and it never got compiled, how do I find the below files I have ran apt-get install net-snmp but it finds now files, how can I rectify this Thanks Martyn PS rpm -qa | grep snmp returns nothing _____ From: James Pratt [mailto:jpratt at norwich.edu] Sent: 02 February 2009 23:57 To: Martyn; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] HP Network Printer Hi Martyn. I'm not sure why check_hpjd did not get compiled on your system. It appears you need at least net-snmp, and probably net-snmp-devel packages at least, as here is what is on my system: $ rpm -qa | grep snmp net-snmp-libs-5.3.1-24.el5_2.2 net-snmp-utils-5.3.1-24.el5_2.2 net-snmp-5.3.1-24.el5_2.2 net-snmp-devel-5.3.1-24.el5_2.2 net-snmp-perl-5.3.1-24.el5_2.2 Have you checked for those packages installed, as they are not installed by Nagios, and depending on your linux distro, may not be in the default setup.. I have it on mine, but I use lots of SNMP, so it's no surprise.. I don't see any option for checking toner, but maybe that's a different check. (?) $ ./check_hpjd --help check_hpjd v1991 (nagios-plugins 1.4.13) Copyright (c) 1999 Ethan Galstad Copyright (c) 2000-2007 Nagios Plugin Development Team This plugin tests the STATUS of an HP printer with a JetDirect card. Net-snmp must be installed on the computer running the plugin. Usage:check_hpjd -H host [-C community] Options: -h, --help Print detailed help screen -V, --version Print version information -C, --community=STRING The SNMP community name (default=public) Send email to nagios-users at lists.sourceforge.net if you have questions regarding use of this software. To submit patches or suggest improvements, send email to nagiosplug-devel at lists.sourceforge.net -- Regards, Jamie From: Martyn [mailto:martyn at chetnet.co.uk] Sent: Monday, February 02, 2009 6:42 PM To: James Pratt; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] HP Network Printer James thanks for the reply, looks like there are many users with the same issue as me, http://osdir.com/ml/network.nagios.plugins/2006-11/msg00062.html The reason I want to use check_hpjd is because it reports back the toner levels too. I have spent the last 5 hours on Google and can not find any fix, does this group know of a fix at all or do you think its a bug? Thanks _____ From: James Pratt [mailto:jpratt at norwich.edu] Sent: 02 February 2009 20:19 To: nagios-users at lists.sourceforge.net; martyn at chetnet.co.uk Subject: RE: [Nagios-users] HP Network Printer Sorry Palle, I meant to reply to the list!.. my bad. :-( From: James Pratt Sent: Monday, February 02, 2009 3:16 PM To: 'Palle L Jensen' Subject: RE: [Nagios-users] HP Network Printer Hi, I found this on a quick google - I use snmp extensively. (Check_snmp is fairly worthless - I use the ones at http://nagios.manubulon.com instead. http://osdir.com/ml/network.nagios.user/2003-01/msg00028.html HTH Regards, jamie From: Palle L Jensen [mailto:palleje at gmail.com] Sent: Monday, February 02, 2009 3:00 PM To: 'Martyn'; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] HP Network Printer Martyn, I have noticed people monitoring other stuff on printers using the SNMP protocoll. However, since we have that protocol disabled I have no experience in that. If you just want to make sure it is up and running you could use the check_ping. Assuming it's a network printer with enabled NIC. Thanks, PJ _____ From: Martyn [mailto:martyn at chetnet.co.uk] Sent: Monday, February 02, 2009 1:13 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] HP Network Printer Update, but I'm still getting "Error in packet ( ) " in my printer status I can walk the Mibs with snmpwalk -v 1 -c public 192.168.3.252 and see all the relevant outputs but when I do the following: - ./check_snmp -H 192.168.3.252 -C public I get SNMP problem - No Data received from host CMD /usr/bin/snmpget -t 1 -r5 -m ' ' -v 1 [authpriv] 192.168.3.252:161 Hope you can help _____________________________________________ From: Martyn [ mailto:martyn at chetnet.co.uk] Sent: 02 February 2009 17:33 To: 'nagios-users at lists.sourceforge.net' Subject: HP Network Printer Just looking to start and monitor an HP 2600n printer and have come across the following statement in the quick start guide The check_hpjd plugin will only get compiled and installed if you have the net-snmp and net-snmp-utils packages installed on your system. Make sure the plugin exists in /usr/local/nagios/libexec before you continue. If it doesn't, install net-snmp and net-snmp-utils and recompile/reinstall the Nagios plugins. OK do these get installed when you download and compile nagios-plugins-1.4.11.tar.gz or do I have to grab then separately, I have looked through my nagios/libexec directory and noticed that check_snmp is in there but not the above two. Where would I get hold of the two files as described Thanks for your continued support Martyn -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Feb 3 18:42:05 2009 From: tom.ammon at utah.edu (Tom Ammon) Date: Tue, 03 Feb 2009 10:42:05 -0700 Subject: lun monitoring In-Reply-To: <20090203060857.GV21602@thinkpad.adamsinfoserv.com> References: <20090202233736.GR21602@thinkpad.adamsinfoserv.com> <8147CCE3C4A8764DA9980125EE70E82380DDC6@nuexchg.norwich.edu> <49878E34.1@utah.edu> <20090203011039.GS21602@thinkpad.adamsinfoserv.com> <4987A7A5.2070002@utah.edu> <20090203060857.GV21602@thinkpad.adamsinfoserv.com> Message-ID: <498881ED.4030103@utah.edu> Russell Adams wrote: > On Mon, Feb 02, 2009 at 07:10:45PM -0700, Tom Ammon wrote: > >> Russell, >> >> Cacti is pretty SNMP-centric, but in our environment that is about all >> we are using it for anyway. I'm no cacti expert, but to me, that's the >> beauty of it - I don't really know the inner workings of cacti, and I am >> not a programmer or scripter, but I got it up and running pretty quickly. >> > > SNMP is a great place to start, and very open. Its certainly more > reliable than the CIMOM implementations I see. > > >> I'm not sure if you would call it autodiscovery, but cacti does do an >> snmpwalk on the devices that you specify, and the pre-built data >> collection methods that come with it are designed for getting snmp >> interface statistics. You can, of course, add other data collection >> methods, but out of the box, it is basically an interface traffic >> grapher. You still have to manually input each device that you will >> collect data for. Once you have specified the basic host information, it >> gives you a table showing all of the interfaces on that device and a >> checkbox for each item that can be graphed. >> > > Torrus is configured by feeding it a list of IP addresses and it > identifies the device and sets up all the counters to be > monitored. The detail is very good, more than just interface stats. > > >> To be fair, though (and this applies to nagios as well as cacti) most of >> the effort you put in to setting up a monitoring solution is a one-time >> thing. It takes time to input all of the devices, but for the most part >> once the devices to be monitored are specified, that work is over. I >> think people incorrectly place a lot of emphasis on this or that >> product's autodiscovery function. Cacti's interface makes it really easy >> to maintain the configuration, and I think that is a bigger win than >> autodiscovery. >> > > I consider autodiscovery to be absolutely critical. Maintaining a > handfull of machines is one thing, hundreds or thousands or machines > outside of your control are another. I wrote NACE to allow me to > perform fast autodiscovery for Nagios, and I've been pleased to couple > it with Torrus so they both have the same list of hosts. > That is probably where our differing environments cause us to need different things. In my environment I monitor hundreds, but not thousands of devices. And they are all in my control. If I worked for a large ISP, I'm sure I would see things differently. With Torrus, on a router, for example, what kind of detail would it typically give you outside of the normal interface statistics? Would it be able to discern cpu usage, memory usage, etc. without you specifying some kind of template for it to use as a reference? Cacti has sort of solved this with their data templates. For example, there is a Unix Host Template that you can download and then apply to a device, and it gives you all of the parameters that are built in that template, for example, cpu/mem/disk. But the author of the template had to know the OIDs (and use the correct OIDs). It wasn't really autodiscovered. Tom -- ------------------------------------- Tom Ammon Network Engineer Mobile: 801.674.9273 Business Card at http://tomsbox.net/bizcard_TomAmmon.jpg Center for High Performance Computing University of Utah http://www.chpc.utah.edu ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From RLAdams at AdamsInfoServ.Com Tue Feb 3 19:58:28 2009 From: RLAdams at AdamsInfoServ.Com (Russell Adams) Date: Tue, 3 Feb 2009 12:58:28 -0600 Subject: lun monitoring In-Reply-To: <498881ED.4030103@utah.edu> References: <20090202233736.GR21602@thinkpad.adamsinfoserv.com> <8147CCE3C4A8764DA9980125EE70E82380DDC6@nuexchg.norwich.edu> <49878E34.1@utah.edu> <20090203011039.GS21602@thinkpad.adamsinfoserv.com> <4987A7A5.2070002@utah.edu> <20090203060857.GV21602@thinkpad.adamsinfoserv.com> <498881ED.4030103@utah.edu> Message-ID: <20090203185828.GA1528@thinkpad.adamsinfoserv.com> On Tue, Feb 03, 2009 at 10:42:05AM -0700, Tom Ammon wrote: > > That is probably where our differing environments cause us to need > different things. In my environment I monitor hundreds, but not > thousands of devices. And they are all in my control. If I worked for a > large ISP, I'm sure I would see things differently. Even in a regular corporate environment, a single Nagios administrator is a bottleneck. If you work with other people and they have to make requests to have updates made, you could benefit from some form of discovery. > With Torrus, on a router, for example, what kind of detail would it > typically give you outside of the normal interface statistics? Would it > be able to discern cpu usage, memory usage, etc. without you specifying > some kind of template for it to use as a reference? I think their Cisco templates are very good. CPU/Memory statistics, model detection, in addition to all the normal port data. You only give Torrus the IP address, it must figure out the rest. > Cacti has sort of solved this with their data templates. For example, > there is a Unix Host Template that you can download and then apply to a > device, and it gives you all of the parameters that are built in that > template, for example, cpu/mem/disk. But the author of the template had > to know the OIDs (and use the correct OIDs). It wasn't really > autodiscovered. Templating is the first step toward a discovery solution. Next after templating comes automatic creation and discovery. ;] Thanks. ------------------------------------------------------------------ Russell Adams RLAdams at AdamsInfoServ.com PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/ Fingerprint: 1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3 ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From martyn at chetnet.co.uk Tue Feb 3 21:31:50 2009 From: martyn at chetnet.co.uk (Martyn) Date: Tue, 3 Feb 2009 20:31:50 -0000 Subject: HP Network Printer Message-ID: just looking around my directories and I find one /usr/include/net-snmp So why does my check_hplj not compile ? This is killing me now Cheers _____ From: Martyn [mailto:martyn at chetnet.co.uk] Sent: 03 February 2009 17:23 To: 'James Pratt'; 'nagios-users at lists.sourceforge.net' Subject: RE: [Nagios-users] HP Network Printer Hi James/Group I reinstalled Ubuntu and installed Server version, gone through all I went through before and all is working as should be apart from the printer again. Ping works fine. The problem I'm seeing now is (return code 127 is out of bounds - Plugin may be missing) The path to the plugin is invalid (i.e. the binary or script does not exist). This is most likely the case if you get errors about a return code of 127 being out of bounds. If this is the error you're getting, check your command definitions and make sure the path to all executables is correct (and that they're actually installed on your system). I have checked my directory and it never got compiled, how do I find the below files I have ran apt-get install net-snmp but it finds now files, how can I rectify this Thanks Martyn PS rpm -qa | grep snmp returns nothing _____ From: James Pratt [mailto:jpratt at norwich.edu] Sent: 02 February 2009 23:57 To: Martyn; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] HP Network Printer Hi Martyn. I'm not sure why check_hpjd did not get compiled on your system. It appears you need at least net-snmp, and probably net-snmp-devel packages at least, as here is what is on my system: $ rpm -qa | grep snmp net-snmp-libs-5.3.1-24.el5_2.2 net-snmp-utils-5.3.1-24.el5_2.2 net-snmp-5.3.1-24.el5_2.2 net-snmp-devel-5.3.1-24.el5_2.2 net-snmp-perl-5.3.1-24.el5_2.2 Have you checked for those packages installed, as they are not installed by Nagios, and depending on your linux distro, may not be in the default setup.. I have it on mine, but I use lots of SNMP, so it's no surprise.. I don't see any option for checking toner, but maybe that's a different check. (?) $ ./check_hpjd --help check_hpjd v1991 (nagios-plugins 1.4.13) Copyright (c) 1999 Ethan Galstad Copyright (c) 2000-2007 Nagios Plugin Development Team This plugin tests the STATUS of an HP printer with a JetDirect card. Net-snmp must be installed on the computer running the plugin. Usage:check_hpjd -H host [-C community] Options: -h, --help Print detailed help screen -V, --version Print version information -C, --community=STRING The SNMP community name (default=public) Send email to nagios-users at lists.sourceforge.net if you have questions regarding use of this software. To submit patches or suggest improvements, send email to nagiosplug-devel at lists.sourceforge.net -- Regards, Jamie From: Martyn [mailto:martyn at chetnet.co.uk] Sent: Monday, February 02, 2009 6:42 PM To: James Pratt; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] HP Network Printer James thanks for the reply, looks like there are many users with the same issue as me, http://osdir.com/ml/network.nagios.plugins/2006-11/msg00062.html The reason I want to use check_hpjd is because it reports back the toner levels too. I have spent the last 5 hours on Google and can not find any fix, does this group know of a fix at all or do you think its a bug? Thanks _____ From: James Pratt [mailto:jpratt at norwich.edu] Sent: 02 February 2009 20:19 To: nagios-users at lists.sourceforge.net; martyn at chetnet.co.uk Subject: RE: [Nagios-users] HP Network Printer Sorry Palle, I meant to reply to the list!.. my bad. :-( From: James Pratt Sent: Monday, February 02, 2009 3:16 PM To: 'Palle L Jensen' Subject: RE: [Nagios-users] HP Network Printer Hi, I found this on a quick google - I use snmp extensively. (Check_snmp is fairly worthless - I use the ones at http://nagios.manubulon.com instead. http://osdir.com/ml/network.nagios.user/2003-01/msg00028.html HTH Regards, jamie From: Palle L Jensen [mailto:palleje at gmail.com] Sent: Monday, February 02, 2009 3:00 PM To: 'Martyn'; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] HP Network Printer Martyn, I have noticed people monitoring other stuff on printers using the SNMP protocoll. However, since we have that protocol disabled I have no experience in that. If you just want to make sure it is up and running you could use the check_ping. Assuming it's a network printer with enabled NIC. Thanks, PJ _____ From: Martyn [mailto:martyn at chetnet.co.uk] Sent: Monday, February 02, 2009 1:13 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] HP Network Printer Update, but I'm still getting "Error in packet ( ) " in my printer status I can walk the Mibs with snmpwalk -v 1 -c public 192.168.3.252 and see all the relevant outputs but when I do the following: - ./check_snmp -H 192.168.3.252 -C public I get SNMP problem - No Data received from host CMD /usr/bin/snmpget -t 1 -r5 -m ' ' -v 1 [authpriv] 192.168.3.252:161 Hope you can help _____________________________________________ From: Martyn [ mailto:martyn at chetnet.co.uk] Sent: 02 February 2009 17:33 To: 'nagios-users at lists.sourceforge.net' Subject: HP Network Printer Just looking to start and monitor an HP 2600n printer and have come across the following statement in the quick start guide The check_hpjd plugin will only get compiled and installed if you have the net-snmp and net-snmp-utils packages installed on your system. Make sure the plugin exists in /usr/local/nagios/libexec before you continue. If it doesn't, install net-snmp and net-snmp-utils and recompile/reinstall the Nagios plugins. OK do these get installed when you download and compile nagios-plugins-1.4.11.tar.gz or do I have to grab then separately, I have looked through my nagios/libexec directory and noticed that check_snmp is in there but not the above two. Where would I get hold of the two files as described Thanks for your continued support Martyn -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From martyn at chetnet.co.uk Tue Feb 3 23:20:17 2009 From: martyn at chetnet.co.uk (Martyn) Date: Tue, 3 Feb 2009 22:20:17 -0000 Subject: HP Network Printer In-Reply-To: <8147CCE3C4A8764DA9980125EE70E82380E369@nuexchg.norwich.edu> References: <8147CCE3C4A8764DA9980125EE70E82380E369@nuexchg.norwich.edu> Message-ID: James thanks again for the reply. Below are a list of things that failed in the config.log file ACLOCAL='${SHELL} /home/martyn/downloads/nagios-plugins-1.4.13/build-aux/missing --run aclocal-1.9' ALLOCA='' ALLOCA_H='alloca.h' AMDEPBACKSLASH='\' AMDEP_FALSE='#' AMDEP_TRUE='' AMTAR='${SHELL} /home/martyn/downloads/nagios-plugins-1.4.13/build-aux/missing --run tar' AR='ar' ARPA_INET_H='' AUTOCONF='${SHELL} /home/martyn/downloads/nagios-plugins-1.4.13/build-aux/missing --run autoconf' AUTOHEADER='${SHELL} /home/martyn/downloads/nagios-plugins-1.4.13/build-aux/missing --run autoheader' AUTOMAKE='${SHELL} /home/martyn/downloads/nagios-plugins-1.4.13/build-aux/missing --run automake-1.9' Do you think that has anything to do with it? Martyn _____ From: James Pratt [mailto:jpratt at norwich.edu] Sent: 03 February 2009 20:43 To: Martyn Subject: RE: [Nagios-users] HP Network Printer Also, when you compile the plugins, check the file "config.log" afterwards - it should show why certain plugins don't compile. jamie From: Martyn [mailto:martyn at chetnet.co.uk] Sent: Tuesday, February 03, 2009 3:32 PM To: James Pratt; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] HP Network Printer just looking around my directories and I find one /usr/include/net-snmp So why does my check_hplj not compile ? This is killing me now Cheers _____ From: Martyn [mailto:martyn at chetnet.co.uk] Sent: 03 February 2009 17:23 To: 'James Pratt'; 'nagios-users at lists.sourceforge.net' Subject: RE: [Nagios-users] HP Network Printer Hi James/Group I reinstalled Ubuntu and installed Server version, gone through all I went through before and all is working as should be apart from the printer again. Ping works fine. The problem I'm seeing now is (return code 127 is out of bounds - Plugin may be missing) The path to the plugin is invalid (i.e. the binary or script does not exist). This is most likely the case if you get errors about a return code of 127 being out of bounds. If this is the error you're getting, check your command definitions and make sure the path to all executables is correct (and that they're actually installed on your system). I have checked my directory and it never got compiled, how do I find the below files I have ran apt-get install net-snmp but it finds now files, how can I rectify this Thanks Martyn PS rpm -qa | grep snmp returns nothing _____ From: James Pratt [mailto:jpratt at norwich.edu] Sent: 02 February 2009 23:57 To: Martyn; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] HP Network Printer Hi Martyn. I'm not sure why check_hpjd did not get compiled on your system. It appears you need at least net-snmp, and probably net-snmp-devel packages at least, as here is what is on my system: $ rpm -qa | grep snmp net-snmp-libs-5.3.1-24.el5_2.2 net-snmp-utils-5.3.1-24.el5_2.2 net-snmp-5.3.1-24.el5_2.2 net-snmp-devel-5.3.1-24.el5_2.2 net-snmp-perl-5.3.1-24.el5_2.2 Have you checked for those packages installed, as they are not installed by Nagios, and depending on your linux distro, may not be in the default setup.. I have it on mine, but I use lots of SNMP, so it's no surprise.. I don't see any option for checking toner, but maybe that's a different check. (?) $ ./check_hpjd --help check_hpjd v1991 (nagios-plugins 1.4.13) Copyright (c) 1999 Ethan Galstad Copyright (c) 2000-2007 Nagios Plugin Development Team This plugin tests the STATUS of an HP printer with a JetDirect card. Net-snmp must be installed on the computer running the plugin. Usage:check_hpjd -H host [-C community] Options: -h, --help Print detailed help screen -V, --version Print version information -C, --community=STRING The SNMP community name (default=public) Send email to nagios-users at lists.sourceforge.net if you have questions regarding use of this software. To submit patches or suggest improvements, send email to nagiosplug-devel at lists.sourceforge.net -- Regards, Jamie From: Martyn [mailto:martyn at chetnet.co.uk] Sent: Monday, February 02, 2009 6:42 PM To: James Pratt; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] HP Network Printer James thanks for the reply, looks like there are many users with the same issue as me, http://osdir.com/ml/network.nagios.plugins/2006-11/msg00062.html The reason I want to use check_hpjd is because it reports back the toner levels too. I have spent the last 5 hours on Google and can not find any fix, does this group know of a fix at all or do you think its a bug? Thanks _____ From: James Pratt [mailto:jpratt at norwich.edu] Sent: 02 February 2009 20:19 To: nagios-users at lists.sourceforge.net; martyn at chetnet.co.uk Subject: RE: [Nagios-users] HP Network Printer Sorry Palle, I meant to reply to the list!.. my bad. :-( From: James Pratt Sent: Monday, February 02, 2009 3:16 PM To: 'Palle L Jensen' Subject: RE: [Nagios-users] HP Network Printer Hi, I found this on a quick google - I use snmp extensively. (Check_snmp is fairly worthless - I use the ones at http://nagios.manubulon.com instead. http://osdir.com/ml/network.nagios.user/2003-01/msg00028.html HTH Regards, jamie From: Palle L Jensen [mailto:palleje at gmail.com] Sent: Monday, February 02, 2009 3:00 PM To: 'Martyn'; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] HP Network Printer Martyn, I have noticed people monitoring other stuff on printers using the SNMP protocoll. However, since we have that protocol disabled I have no experience in that. If you just want to make sure it is up and running you could use the check_ping. Assuming it's a network printer with enabled NIC. Thanks, PJ _____ From: Martyn [mailto:martyn at chetnet.co.uk] Sent: Monday, February 02, 2009 1:13 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] HP Network Printer Update, but I'm still getting "Error in packet ( ) " in my printer status I can walk the Mibs with snmpwalk -v 1 -c public 192.168.3.252 and see all the relevant outputs but when I do the following: - ./check_snmp -H 192.168.3.252 -C public I get SNMP problem - No Data received from host CMD /usr/bin/snmpget -t 1 -r5 -m ' ' -v 1 [authpriv] 192.168.3.252:161 Hope you can help _____________________________________________ From: Martyn [ mailto:martyn at chetnet.co.uk] Sent: 02 February 2009 17:33 To: 'nagios-users at lists.sourceforge.net' Subject: HP Network Printer Just looking to start and monitor an HP 2600n printer and have come across the following statement in the quick start guide The check_hpjd plugin will only get compiled and installed if you have the net-snmp and net-snmp-utils packages installed on your system. Make sure the plugin exists in /usr/local/nagios/libexec before you continue. If it doesn't, install net-snmp and net-snmp-utils and recompile/reinstall the Nagios plugins. OK do these get installed when you download and compile nagios-plugins-1.4.11.tar.gz or do I have to grab then separately, I have looked through my nagios/libexec directory and noticed that check_snmp is in there but not the above two. Where would I get hold of the two files as described Thanks for your continued support Martyn -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Feb 4 00:51:04 2009 From: owen.m.lagarde at usace.army.mil (Owen LaGarde) Date: Tue, 03 Feb 2009 17:51:04 -0600 Subject: regex support for check_proc In-Reply-To: References: Message-ID: <1233705064.8771.380.camel@gilgamesh.erdc.hpc.mil> I see where people were talking about it but not what came of it, if anything. Did I miss it in the changelog somewhere? Did regex support ever get added? Is anyone still interested in this? -- 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 -------------- ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From martyn at chetnet.co.uk Wed Feb 4 01:10:30 2009 From: martyn at chetnet.co.uk (Martyn) Date: Wed, 4 Feb 2009 00:10:30 -0000 Subject: HP Network Printer In-Reply-To: References: Message-ID: Right it FIXED!!!!!! Here we go, when I installed the Server version instead of the Desktop version of Ubuntu I also grabbed the latest Nagios Pluging "nagios-plugins-1.4.13.tar.gz" because I thought that may be contributing to my problem, however I noticed in the log as you rightly suggested I look that the pluging were not being installed because the relevant snmp libs and snmp perl libs were not found on Ubuntu, after I was looking around the directories I noticed that they were there, so I have just reverted back to nagios-plugins-1.4.11.tar.gz and to my amazement the check_hplj file was compiled with lots of others too. Just got to sort out my Cisco Switch now do I can point the check_command to port 47 Just like to say a massive thanks to those who kept with me, James and Marc especially. So I think there may be a bug in nagios-plugins-1.4.13.tar.gz Cheers Martyn _____ From: Martyn [mailto:martyn at chetnet.co.uk] Sent: 03 February 2009 22:20 To: 'James Pratt'; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] HP Network Printer James thanks again for the reply. Below are a list of things that failed in the config.log file ACLOCAL='${SHELL} /home/martyn/downloads/nagios-plugins-1.4.13/build-aux/missing --run aclocal-1.9' ALLOCA='' ALLOCA_H='alloca.h' AMDEPBACKSLASH='\' AMDEP_FALSE='#' AMDEP_TRUE='' AMTAR='${SHELL} /home/martyn/downloads/nagios-plugins-1.4.13/build-aux/missing --run tar' AR='ar' ARPA_INET_H='' AUTOCONF='${SHELL} /home/martyn/downloads/nagios-plugins-1.4.13/build-aux/missing --run autoconf' AUTOHEADER='${SHELL} /home/martyn/downloads/nagios-plugins-1.4.13/build-aux/missing --run autoheader' AUTOMAKE='${SHELL} /home/martyn/downloads/nagios-plugins-1.4.13/build-aux/missing --run automake-1.9' Do you think that has anything to do with it? Martyn _____ From: James Pratt [mailto:jpratt at norwich.edu] Sent: 03 February 2009 20:43 To: Martyn Subject: RE: [Nagios-users] HP Network Printer Also, when you compile the plugins, check the file "config.log" afterwards - it should show why certain plugins don't compile. jamie From: Martyn [mailto:martyn at chetnet.co.uk] Sent: Tuesday, February 03, 2009 3:32 PM To: James Pratt; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] HP Network Printer just looking around my directories and I find one /usr/include/net-snmp So why does my check_hplj not compile ? This is killing me now Cheers _____ From: Martyn [mailto:martyn at chetnet.co.uk] Sent: 03 February 2009 17:23 To: 'James Pratt'; 'nagios-users at lists.sourceforge.net' Subject: RE: [Nagios-users] HP Network Printer Hi James/Group I reinstalled Ubuntu and installed Server version, gone through all I went through before and all is working as should be apart from the printer again. Ping works fine. The problem I'm seeing now is (return code 127 is out of bounds - Plugin may be missing) The path to the plugin is invalid (i.e. the binary or script does not exist). This is most likely the case if you get errors about a return code of 127 being out of bounds. If this is the error you're getting, check your command definitions and make sure the path to all executables is correct (and that they're actually installed on your system). I have checked my directory and it never got compiled, how do I find the below files I have ran apt-get install net-snmp but it finds now files, how can I rectify this Thanks Martyn PS rpm -qa | grep snmp returns nothing _____ From: James Pratt [mailto:jpratt at norwich.edu] Sent: 02 February 2009 23:57 To: Martyn; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] HP Network Printer Hi Martyn. I'm not sure why check_hpjd did not get compiled on your system. It appears you need at least net-snmp, and probably net-snmp-devel packages at least, as here is what is on my system: $ rpm -qa | grep snmp net-snmp-libs-5.3.1-24.el5_2.2 net-snmp-utils-5.3.1-24.el5_2.2 net-snmp-5.3.1-24.el5_2.2 net-snmp-devel-5.3.1-24.el5_2.2 net-snmp-perl-5.3.1-24.el5_2.2 Have you checked for those packages installed, as they are not installed by Nagios, and depending on your linux distro, may not be in the default setup.. I have it on mine, but I use lots of SNMP, so it's no surprise.. I don't see any option for checking toner, but maybe that's a different check. (?) $ ./check_hpjd --help check_hpjd v1991 (nagios-plugins 1.4.13) Copyright (c) 1999 Ethan Galstad Copyright (c) 2000-2007 Nagios Plugin Development Team This plugin tests the STATUS of an HP printer with a JetDirect card. Net-snmp must be installed on the computer running the plugin. Usage:check_hpjd -H host [-C community] Options: -h, --help Print detailed help screen -V, --version Print version information -C, --community=STRING The SNMP community name (default=public) Send email to nagios-users at lists.sourceforge.net if you have questions regarding use of this software. To submit patches or suggest improvements, send email to nagiosplug-devel at lists.sourceforge.net -- Regards, Jamie From: Martyn [mailto:martyn at chetnet.co.uk] Sent: Monday, February 02, 2009 6:42 PM To: James Pratt; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] HP Network Printer James thanks for the reply, looks like there are many users with the same issue as me, http://osdir.com/ml/network.nagios.plugins/2006-11/msg00062.html The reason I want to use check_hpjd is because it reports back the toner levels too. I have spent the last 5 hours on Google and can not find any fix, does this group know of a fix at all or do you think its a bug? Thanks _____ From: James Pratt [mailto:jpratt at norwich.edu] Sent: 02 February 2009 20:19 To: nagios-users at lists.sourceforge.net; martyn at chetnet.co.uk Subject: RE: [Nagios-users] HP Network Printer Sorry Palle, I meant to reply to the list!.. my bad. :-( From: James Pratt Sent: Monday, February 02, 2009 3:16 PM To: 'Palle L Jensen' Subject: RE: [Nagios-users] HP Network Printer Hi, I found this on a quick google - I use snmp extensively. (Check_snmp is fairly worthless - I use the ones at http://nagios.manubulon.com instead. http://osdir.com/ml/network.nagios.user/2003-01/msg00028.html HTH Regards, jamie From: Palle L Jensen [mailto:palleje at gmail.com] Sent: Monday, February 02, 2009 3:00 PM To: 'Martyn'; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] HP Network Printer Martyn, I have noticed people monitoring other stuff on printers using the SNMP protocoll. However, since we have that protocol disabled I have no experience in that. If you just want to make sure it is up and running you could use the check_ping. Assuming it's a network printer with enabled NIC. Thanks, PJ _____ From: Martyn [mailto:martyn at chetnet.co.uk] Sent: Monday, February 02, 2009 1:13 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] HP Network Printer Update, but I'm still getting "Error in packet ( ) " in my printer status I can walk the Mibs with snmpwalk -v 1 -c public 192.168.3.252 and see all the relevant outputs but when I do the following: - ./check_snmp -H 192.168.3.252 -C public I get SNMP problem - No Data received from host CMD /usr/bin/snmpget -t 1 -r5 -m ' ' -v 1 [authpriv] 192.168.3.252:161 Hope you can help _____________________________________________ From: Martyn [ mailto:martyn at chetnet.co.uk] Sent: 02 February 2009 17:33 To: 'nagios-users at lists.sourceforge.net' Subject: HP Network Printer Just looking to start and monitor an HP 2600n printer and have come across the following statement in the quick start guide The check_hpjd plugin will only get compiled and installed if you have the net-snmp and net-snmp-utils packages installed on your system. Make sure the plugin exists in /usr/local/nagios/libexec before you continue. If it doesn't, install net-snmp and net-snmp-utils and recompile/reinstall the Nagios plugins. OK do these get installed when you download and compile nagios-plugins-1.4.11.tar.gz or do I have to grab then separately, I have looked through my nagios/libexec directory and noticed that check_snmp is in there but not the above two. Where would I get hold of the two files as described Thanks for your continued support Martyn -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rpnabar at gmail.com Wed Feb 4 01:39:27 2009 From: rpnabar at gmail.com (Rahul Nabar) Date: Tue, 3 Feb 2009 18:39:27 -0600 Subject: nagios and lm_sensors Message-ID: I just installed the lm_sensors package on my remote machines to get their temperatures. sensors works OK. I wanted to use check_nrpe and somehow add the remote machine temps to my nagios webpage. I found the check_sensors command but that only returns "sensor ok". I suppose the check_lm_sensors plugin ( http://www.nagiosexchange.org/cgi-bin/page.cgi?g=Detailed%2F1289.html;d=1) is what I need? Are there other users of this? I did try compiling it but am running into problems following the instructions in the INSTALL ///////////// Cannot determine perl version info from check_lm_sensors.pod WARNING: INSTALLSITESCRIPT is not a known parameter. Warning: prerequisite Nagios::Plugin 0 not found. Warning: prerequisite Nagios::Plugin::Threshold 0 not found. 'INSTALLSITESCRIPT' is not a known MakeMaker parameter name. Writing Makefile for check_lm_sensors ////////////////////////////// Do I need to configure more pre-requisites before I can get this running? -- Rahul -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rpnabar at gmail.com Wed Feb 4 09:05:21 2009 From: rpnabar at gmail.com (Rahul Nabar) Date: Wed, 4 Feb 2009 02:05:21 -0600 Subject: nagios and lm_sensors In-Reply-To: <498939A9.40900@id.ethz.ch> References: <498939A9.40900@id.ethz.ch> Message-ID: Thanks Matteo. I can get those. Thanks for the help! -- Rahul On Wed, Feb 4, 2009 at 12:46 AM, Matteo Corti wrote: > Dear Rahul, > > Rahul Nabar wrote: > > I just installed the lm_sensors package on my remote machines to get > > their temperatures. sensors works OK. I wanted to use check_nrpe and > > somehow add the remote machine temps to my nagios webpage. > > > > I found the check_sensors command but that only returns "sensor ok". I > > suppose the check_lm_sensors plugin > > ( > http://www.nagiosexchange.org/cgi-bin/page.cgi?g=Detailed%2F1289.html;d=1) > > is what I need? Are there other users of this? > > > > I did try compiling it but am running into problems following the > > instructions in the INSTALL > > > > ///////////// > > Cannot determine perl version info from check_lm_sensors.pod > > WARNING: INSTALLSITESCRIPT is not a known parameter. > > Warning: prerequisite Nagios::Plugin 0 not found. > > Warning: prerequisite Nagios::Plugin::Threshold 0 not found. > > 'INSTALLSITESCRIPT' is not a known MakeMaker parameter name. > > Writing Makefile for check_lm_sensors > > ////////////////////////////// > > > > Do I need to configure more pre-requisites before I can get this running? > > > You need the Nagios::Plugin and Nagios::Plugin::Threshold Perl modules > which you can get on CPAN > > http://search.cpan.org/~tonvoon/Nagios-Plugin-0.31/lib/Nagios/Plugin.pm > > Cheers, > > Matteo > > > -- > ETH Zurich, Dr. Matteo Corti, Informatikdienste / Basisdienste > STC E 13, Stampfenbachstrasse 67, 8092 Zurich > Tel +41 44 6327944, http://www.id.ethz.ch > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Feb 4 14:55:44 2009 From: james.mohr at elaxy.com (Mohr James) Date: Wed, 4 Feb 2009 14:55:44 +0100 Subject: Which books are best for Nagios 3 In-Reply-To: <4974C512.2040108@medin.name> References: <4974C512.2040108@medin.name> Message-ID: > We've been using Nagios for a few years, since 4/05 and the 2.0b4 days, > and absolutely love it. I use it to monitor over a hundred servers, > almost 400 services, and over the years I think I've become pretty > darned knowledgeable about most aspects of Nagios. In the Nagios 2.x > days I found the book Pro Nagios 2.0 to be an indispensables resource > > Recently I upgraded us from 2.9 to 3.0.6 and I'm looking for > recommendations for a book or two on 3.0 to take my knowledge to the > next level. I've found the following books available and I'm wondering > which ones are the best: > > 1. Nagios: System and Network Monitoring by Wolfgang Barth (Paperback > - Oct 28, 2008) - Illustrated > 2. Learning Nagios 3.0 by Wojciech Kocjan (Paperback - Oct 17, 2008) > 3. Building a Monitoring Infrastructure with Nagios by David > Josephsen (Paperback - Mar 2, 2007) > 4. Nagios 3 Enterprise Network Monitoring: Including Plug-Ins and > Hardware Devices by Max Schubert, Derrick Bennett, Jonathan Gines, > and Andrew Hay (Paperback - Jun 2, 2008) The Wolfgang Barth book is top, without a doubt. If you are going to get only one, get this one. I have both editions and cannot think of one bad thing. James Turnbull wrote Pro Nagios 2.0 for Apress, but has not been updated yet for Nagios 3.0. I would still recommend it for beginners. In general, like his stuff. The Josephsen book is a little dated, but does go a bit beyond the normal documentation. The Kocjan book is a big waste of time and money. It is very superficial and seems like the author was simply rewriting the existing documentation. It is very thin on content and I get the feeling the author has not really administered a Nagios system. I don't have "Nagios 3 Enterprise Network Monitoring", but the review I read on are not good. -- Diese E-Mail enth?lt vertrauliche und/oder rechtlich gesch?tzte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrt?mlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet. This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. -------------- next part -------------- ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From twelcome at tenet.ac.za Wed Feb 4 15:16:50 2009 From: twelcome at tenet.ac.za (Traiano Welcome) Date: Wed, 04 Feb 2009 16:16:50 +0200 Subject: Nagios Integration with Google Maps Message-ID: <4989A352.6010404@tenet.ac.za> Hi All I'd like to integrate my nagios (version 2.9.x ) statusmap with Googlemaps and have my monitored site status appear superimposed at GPS co-ordinates displayed on a googlemap. I've been investigating the GoogleMaps API, as well as looking at a patch for the statusmap.cgi provided on nagiosexchange which tries to integrate a googlemap into the status map, however the patch is too broken and outdated to bother any further with: Is there a more current plugin or method of integrating a Google map with Nagios statusmaps? Thanks in Advance, Traiano Welcome ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Feb 4 16:28:48 2009 From: marc at ena.com (Marc Powell) Date: Wed, 4 Feb 2009 09:28:48 -0600 Subject: Nagios Integration with Google Maps In-Reply-To: <4989A352.6010404@tenet.ac.za> References: <4989A352.6010404@tenet.ac.za> Message-ID: <87366108-7599-49CE-B972-3B998A5BEBAF@ena.com> On Feb 4, 2009, at 8:16 AM, Traiano Welcome wrote: > Hi All > > I'd like to integrate my nagios (version 2.9.x ) statusmap with > Googlemaps and have my monitored site status appear superimposed at > GPS > co-ordinates displayed on a googlemap. I've been investigating the > GoogleMaps API, as well as looking at a patch for the statusmap.cgi > provided on nagiosexchange which tries to integrate a googlemap into > the > status map, however the patch is too broken and outdated to bother any > further with: > > Is there a more current plugin or method of integrating a Google map > with Nagios statusmaps? There's nothing that I've seen but I've been playing around/testing something separate. Essentially I - - pre-geocoded all our locations and stored them in a DB based on hostname (allows for local lookup and ability to change incorrect geocodes). - Pull status information from the NDOutils database for anything in Warning or Critical - Use the hostname as a key for geocode lookup. - Add points to map with some basic information about what's failing and links to additional resources - Add Mesonet weather radar overlay - Refresh every 5 minutes. An example can be seen at http://www.flickr.com/photos/35065201 at N02/3252687723/ . At this point it's just proof-of-concept and an interesting toy. We don't know if we're going to continue with it at this point but it has been interesting... -- Marc ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Feb 4 18:01:44 2009 From: paul.weaver at bbc.co.uk (Paul Weaver) Date: Wed, 4 Feb 2009 17:01:44 -0000 Subject: Which books are best for Nagios 3 In-Reply-To: <630FB972-5875-403F-92F6-2DBD4A5EB598@ena.com> References: <4974B76E.9090706@simutronics.com> <630FB972-5875-403F-92F6-2DBD4A5EB598@ena.com> Message-ID: > On Jan 19, 2009, at 11:25 AM, James Miller wrote: > > > Recently I upgraded us from 2.9 to 3.0.6 and I'm looking for > > recommendations for a book or two on 3.0 to take my > knowledge to the > > next level. I've found the following books available and I'm > > wondering which ones are the best: > > > Any suggestions would be _greatly_ appreciated! > > 5. This list. Try to discover the answer to as many questions > as you can yourself by reading the docs and source and by > trial. Try to understand the why of an answer you discover or > provided by someone else. I consider it a much more > interesting and varied resource than the few standard > examples a book might have; plus it's free =). Only once you reach a certain level. There are no doubt many lurkers who have trouble getting started. I know I did. I got a copy of "Building a Monitoring Infrastructure with Nagios" (Feb07) and found that invaluable, but we're still on nagios version 2 A book is nicer to read on the train too ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kyleodonnell at gmail.com Wed Feb 4 18:18:58 2009 From: kyleodonnell at gmail.com (Kyle O'Donnell) Date: Wed, 4 Feb 2009 12:18:58 -0500 Subject: Which books are best for Nagios 3 In-Reply-To: References: <4974B76E.9090706@simutronics.com> <630FB972-5875-403F-92F6-2DBD4A5EB598@ena.com> Message-ID: <2274b9c30902040918j407f90baye4a9ab9e46510d78@mail.gmail.com> I've always used the nagios documenation. Is there something these books provide that isn't covered? --kyleo On 2/4/09, Paul Weaver wrote: >> On Jan 19, 2009, at 11:25 AM, James Miller wrote: >> >> > Recently I upgraded us from 2.9 to 3.0.6 and I'm looking for >> > recommendations for a book or two on 3.0 to take my >> knowledge to the >> > next level. I've found the following books available and I'm >> > wondering which ones are the best: >> >> > Any suggestions would be _greatly_ appreciated! >> >> 5. This list. Try to discover the answer to as many questions >> as you can yourself by reading the docs and source and by >> trial. Try to understand the why of an answer you discover or >> provided by someone else. I consider it a much more >> interesting and varied resource than the few standard >> examples a book might have; plus it's free =). > > Only once you reach a certain level. There are no doubt many lurkers > who have trouble getting started. I know I did. I got a copy of > "Building a Monitoring Infrastructure with Nagios" (Feb07) and found > that invaluable, but we're still on nagios version 2 > > A book is nicer to read on the train too > > ------------------------------------------------------------------------------ > Create and Deploy Rich Internet Apps outside the browser with > Adobe(R)AIR(TM) > software. With Adobe AIR, Ajax developers can use existing skills and code > to > build responsive, highly engaging applications that combine the power of > local > resources and data with the reach of the web. Download the Adobe AIR SDK and > Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mariog at absi.be Wed Feb 4 18:18:03 2009 From: mariog at absi.be (mariog at absi.be) Date: Wed, 4 Feb 2009 18:18:03 +0100 Subject: check-host-alive check Message-ID: Hello all can anyone help me with this; there a few hosts mostly adsl or sdsl routers dat have critical state with plugin timed out. the critical error is : check-host-alive critical plugin timed out after 10 seconds. i cannot find in nagios plugins directory any check named check-host-alive, it seems to be an embedded nagios check when the host is defined? despite this the host is up. can someone help me how does it work and where is this check-host-alive check stored in a regular nagios install under solaris 10. thank you very much for your help Mario Garcia Ortiz/ABSI -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Feb 4 19:02:14 2009 From: marc at ena.com (Marc Powell) Date: Wed, 4 Feb 2009 12:02:14 -0600 Subject: check-host-alive check In-Reply-To: References: Message-ID: <92FB6C21-D717-4749-9662-DD9A48E787D0@ena.com> On Feb 4, 2009, at 11:18 AM, mariog at absi.be wrote: > > Hello all > can anyone help me with this; > there a few hosts mostly adsl or sdsl routers dat have critical > state with plugin timed out. > > the critical error is : > check-host-alive critical plugin timed out after 10 seconds. > > i cannot find in nagios plugins directory any check named check-host- > alive, it seems to be an embedded nagios check when the host is > defined? despite this the host is up. > > can someone help me how does it work and where is this check-host- > alive check stored in a regular nagios install under solaris 10. Hello, Your host{} definition (http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#host ) specifies a check_command of 'check-host-alive'. There exists a command{} definition (http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#command ) named check-host-alive that probably uses a command_line specifying the check_ping plugin, along with some flags for it. Grep your config files for it to see where it lives (varies with version and personal configuration). The check_ping plugin does have a flag that you can pass to it to extend the timeout -- $ /usr/local/nagios/libexec/check_ping --help ... -t, --timeout=INTEGER Seconds before connection times out (default: 10) You can modify the command{} definition above to also pass the -t flag with a higher timeout (-t 30, for example). You'll also want to verify that the master nagios host check timeout value (host_check_timeout in nagios.cfg - http://nagios.sourceforge.net/docs/3_0/configmain.html) to be higher than your highest plugin specific timeout. You'll need to reload nagios after making these changes. HTH, -- Marc ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From subscription at kkeane.com Wed Feb 4 21:01:58 2009 From: subscription at kkeane.com (Kevin Keane) Date: Wed, 4 Feb 2009 12:01:58 -0800 Subject: check-host-alive check In-Reply-To: References: Message-ID: <4989F436.5010305@kkeane.com> Look in the configuration files instead - probably in commands.cfg. Nagios doesn't just use the plugins, but rather looks up the check in the configuration file, and the configuration file then tells it which plugin to actually run. mariog at absi.be wrote: > > Hello all > can anyone help me with this; > there a few hosts mostly adsl or sdsl routers dat have critical state > with plugin timed out. > > the critical error is : > check-host-alive critical plugin timed out after 10 seconds. > > i cannot find in nagios plugins directory any check named > check-host-alive, it seems to be an embedded nagios check when the > host is defined? despite this the host is up. > > can someone help me how does it work and where is this > check-host-alive check stored in a regular nagios install under > solaris 10. > > thank you very much for your help > > Mario Garcia Ortiz/ABSI -- Kevin Keane Owner The NetTech Find the Uncommon: Expert Solutions for a Network You Never Have to Think About Office: 866-642-7116 http://www.4nettech.com This e-mail and attachments, if any, may contain confidential and/or proprietary information. Please be advised that the unauthorized use or disclosure of the information is strictly prohibited. The information herein is intended only for use by the intended recipient(s) named above. If you have received this transmission in error, please notify the sender immediately and permanently delete the e-mail and any copies, printouts or attachments thereof. ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From shadhin71 at gmail.com Wed Feb 4 21:35:30 2009 From: shadhin71 at gmail.com (shadih rahman) Date: Wed, 4 Feb 2009 15:35:30 -0500 Subject: Nagios::StatusLog perl module issue Message-ID: <6db4a4200902041235s6f078fb0x2ae70145ce68f2b8@mail.gmail.com> I am trying to parse nagios log using Nagios::StatusLog perl module. I am getting error while trying to parse. I am using nagios version 3.0.6. Any help will be much apreciated. Thanks #!/usr/bin/perl use strict; use Nagios::StatusLog; my $host='localhost'; my $log = Nagios::StatusLog->new( Filename => "/var/log/nagios/status.dat", Version => 3.0.6 ); my $i = $log->info; printf ("Logfile created at %s unix epoch time for Nagios verion %s\n", $i->created, $i->version); ~ error -bash-3.2$ perl nagioslog.pl Argument "^C\0^F" isn't numeric in numeric ge (>=) at /usr/lib/perl5/site_perl/5.8. 8/Nagios/StatusLog.pm line 149. Use of uninitialized value in string eq at /usr/lib/perl5/site_perl/5.8.8/Nagios/StatusLog.pm line 185. Use of uninitialized value in string eq at /usr/lib/perl5/site_perl/5.8.8/Nagios/StatusLog.pm line 185. Use of uninitialized value in string eq at /usr/lib/perl5/site_perl/5.8.8/Nagios/StatusLog.pm line 185. Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/site_perl/5.8.8/Nagios/StatusLog.pm line 217. unknown tag () in logfile at nagioslog.pl line 6 -- Cordially, Shadhin Rahman -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Feb 5 01:07:52 2009 From: perldork at webwizarddesign.com (Max) Date: Wed, 4 Feb 2009 19:07:52 -0500 Subject: check_snmp_storage.pl error: Service check did not exit properly In-Reply-To: <8adc88580902041335r595416cam543d78cb42b90f92@mail.gmail.com> References: <8adc88580902012054h60149a7dy4daf763ac0ef9805@mail.gmail.com> <8adc88580902021639w6b687932t807fde54ae9c3a85@mail.gmail.com> <8adc88580902041335r595416cam543d78cb42b90f92@mail.gmail.com> Message-ID: > Thanks. This is like icing on the top but unfortunately doesn't help > solving my current problem. Did you try adding the use lib statement to the script? What do you get when you run, from the command line perl -wc /path/to/script/check_snmp_storage.pl ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lee at dropio.com Thu Feb 5 01:06:17 2009 From: lee at dropio.com (Lee Azzarello) Date: Wed, 4 Feb 2009 19:06:17 -0500 Subject: Which books are best for Nagios 3 In-Reply-To: References: <4974B76E.9090706@simutronics.com> <630FB972-5875-403F-92F6-2DBD4A5EB598@ena.com> Message-ID: <16b031c0902041606n3b977f1cyc5b1c3143b9c3fd6@mail.gmail.com> On Wed, Feb 4, 2009 at 12:01 PM, Paul Weaver wrote: >> On Jan 19, 2009, at 11:25 AM, James Miller wrote: >> >> > Recently I upgraded us from 2.9 to 3.0.6 and I'm looking for >> > recommendations for a book or two on 3.0 to take my >> knowledge to the >> > next level. I've found the following books available and I'm >> > wondering which ones are the best: >> >> > Any suggestions would be _greatly_ appreciated! >> >> 5. This list. Try to discover the answer to as many questions >> as you can yourself by reading the docs and source and by >> trial. Try to understand the why of an answer you discover or >> provided by someone else. I consider it a much more >> interesting and varied resource than the few standard >> examples a book might have; plus it's free =). > > Only once you reach a certain level. There are no doubt many lurkers > who have trouble getting started. I know I did. I got a copy of > "Building a Monitoring Infrastructure with Nagios" (Feb07) and found > that invaluable, but we're still on nagios version 2 Agreed. Dave Josephsen's book is excellent. I'm currently on the visualization chapter. It's very comprehensive and practical. He's opinionated enough to make reading chapters interesting. -lee ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From atstake at gmail.com Thu Feb 5 01:50:43 2009 From: atstake at gmail.com (Chris) Date: Thu, 5 Feb 2009 11:50:43 +1100 Subject: check_snmp_storage.pl error: Service check did not exit properly In-Reply-To: References: <8adc88580902012054h60149a7dy4daf763ac0ef9805@mail.gmail.com> <8adc88580902021639w6b687932t807fde54ae9c3a85@mail.gmail.com> <8adc88580902041335r595416cam543d78cb42b90f92@mail.gmail.com> Message-ID: <8adc88580902041650p5fd5e492ia9f9de0569e03efa@mail.gmail.com> On Thu, Feb 5, 2009 at 11:07 AM, Max wrote: >> Thanks. This is like icing on the top but unfortunately doesn't help >> solving my current problem. > > Did you try adding the use lib statement to the script? What do you > get when you run, from the command line > > perl -wc /path/to/script/check_snmp_storage.pl Thanks! I added use lib '/usr/lib/nagios/plugins'; to the Perl script and now it works like a charm!! ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Feb 5 02:29:25 2009 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Wed, 04 Feb 2009 20:29:25 -0500 Subject: Nagios::StatusLog perl module issue In-Reply-To: <6db4a4200902041235s6f078fb0x2ae70145ce68f2b8@mail.gmail.com> References: <6db4a4200902041235s6f078fb0x2ae70145ce68f2b8@mail.gmail.com> Message-ID: <498A40F5.7060100@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 04/02/09 03:35 PM, shadih rahman wrote: > > I am trying to parse nagios log using Nagios::StatusLog perl module. I > am getting error while trying to parse. I am using nagios version > 3.0.6. Any help will be much apreciated. Thanks Please to not cross-post to multiple mailing lists. Using multiple separate emails do not make this a better practice. Thanks - -- Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFJikD16dZ+Kt5BchYRAjYHAKDM79G6dxrDhgL5U/z+iMXfHi0b9wCgs1KX BvrOkHTUdWHRvL5yXhuygmA= =BpUX -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rpnabar at gmail.com Thu Feb 5 05:23:38 2009 From: rpnabar at gmail.com (Rahul Nabar) Date: Wed, 4 Feb 2009 22:23:38 -0600 Subject: nagios and lm_sensors In-Reply-To: <498939A9.40900@id.ethz.ch> References: <498939A9.40900@id.ethz.ch> Message-ID: On Wed, Feb 4, 2009 at 12:46 AM, Matteo Corti wrote: > Dear Rahul, > You need the Nagios::Plugin and Nagios::Plugin::Threshold Perl modules > which you can get on CPAN > > http://search.cpan.org/~tonvoon/Nagios-Plugin-0.31/lib/Nagios/Plugin.pm > > I did install ' Nagios::Plugin' from the link. Is there a seperate 'Nagios::Plugin::Threshold' module to be installed or is it included by default? It seems I still don't have success. 'perl Makefile.PL' says: Warning: prerequisite Class::Accessor 0 not found. Warning: prerequisite Config::Tiny 0 not found. Warning: prerequisite Math::Calc::Units 0 not found. Warning: prerequisite Params::Validate 0 not found. Writing Makefile for Nagios::Plugin "make" doesn't complain *but* "make test" is a complete disaster! Failed 16/16 test scripts, 0.00% okay. 715/718 subtests failed, 0.42% okay. make: *** [test_dynamic] Error 255 I must still be doing something stupid! Any other suggestions? -- Rahul -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rpnabar at gmail.com Thu Feb 5 06:37:11 2009 From: rpnabar at gmail.com (Rahul Nabar) Date: Wed, 4 Feb 2009 23:37:11 -0600 Subject: nagios and lm_sensors In-Reply-To: <01B4E23B-1990-47B2-8C05-1E47AD531BF8@id.ethz.ch> References: <498939A9.40900@id.ethz.ch> <01B4E23B-1990-47B2-8C05-1E47AD531BF8@id.ethz.ch> Message-ID: Ah! Ok. Yes. I can dig deeper and install them all from CPAN. Didn't realize the dependencies were so many! Thanks again! -- Rahul On Wed, Feb 4, 2009 at 11:22 PM, Matteo Corti wrote: > Dear Rahul, > > > On Feb 5, 2009, at 5:23 , Rahul Nabar wrote: > > >> >> On Wed, Feb 4, 2009 at 12:46 AM, Matteo Corti >> wrote: >> Dear Rahul, >> You need the Nagios::Plugin and Nagios::Plugin::Threshold Perl modules >> which you can get on CPAN >> >> http://search.cpan.org/~tonvoon/Nagios-Plugin-0.31/lib/Nagios/ >> Plugin.pm >> >> >> I did install ' Nagios::Plugin' from the link. Is there a seperate >> 'Nagios::Plugin::Threshold' module to be installed or is it included by >> default? >> >> It seems I still don't have success. 'perl Makefile.PL' says: >> >> Warning: prerequisite Class::Accessor 0 not found. >> Warning: prerequisite Config::Tiny 0 not found. >> Warning: prerequisite Math::Calc::Units 0 not found. >> Warning: prerequisite Params::Validate 0 not found. >> Writing Makefile for Nagios::Plugin >> >> "make" doesn't complain *but* "make test" is a complete disaster! >> >> Failed 16/16 test scripts, 0.00% okay. 715/718 subtests failed, 0.42% >> okay. >> make: *** [test_dynamic] Error 255 >> >> I must still be doing something stupid! Any other suggestions? >> > > All the warnings are telling you that you are missing several *needed* > modules (e.g., Class::Accessor, Config::Tiny, ...) > > You can install them via CPAN or maybe you can already find them packaged > for your OS. Consult the documentation of the Perl distribution you are > using. > > > Matteo > > -- > ETH Zurich, Dr. Matteo Corti, Informatikdienste / Basisdienste > STC E 13, Stampfenbachstrasse 67, 8092 Zurich > Tel +41 44 6327944, http://www.id.ethz.ch > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rpnabar at gmail.com Thu Feb 5 06:36:00 2009 From: rpnabar at gmail.com (Rahul Nabar) Date: Wed, 4 Feb 2009 23:36:00 -0600 Subject: added PNP in the default mode; how serious is the performance degradation to warrant a switch to the bulk mode? Message-ID: So, I finally succeed in configuring PNP for Nagios (whew!!)! It's been a long bloody battle but I think I eventually won! :) I've just added PNP performance graphs to my 4-switches for now. Am a bit hesistant about adding it to all my 300 hosts due to all the caeveats about performance and PNP in the default mode. Any other PNP users? How many services / hosts are you running PNP performance graphs on? How is your performance? Have you been forced to switch to the bulk mode already? -- Rahul -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From robby.kahlon at cubic.com Thu Feb 5 06:57:05 2009 From: robby.kahlon at cubic.com (Kahlon, Robby) Date: Wed, 4 Feb 2009 21:57:05 -0800 Subject: FW: Monitoring Windows Host's clock Message-ID: <28919A12B5A1504CB3599372AA286FC602C6E17C@bb-cts-ex1.cts.cubic.cub> Does anyone know how to monitor NTP client's time? I am using check_ntp to monitor NTP Server time. It works fine but won't monitor NTP client's time. NTP Server [10.15.11.130] [root at seq-util libexec]#./check_ntp -H 10.15.11.130 -w 60 -c 120 NTP OK: Offset 0.063741 secs NTP Client [10.15.11.132] [root at seq-util libexec]#./check_ntp -H 10.15.11.132 -w 60 -c 120 NTP CRITICAL: No suitable peer server found - Server for ntp probably down Thanks, Robby -----Original Message----- From: Kahlon, Robby [mailto:robby.kahlon at cubic.com] Sent: Tuesday, 3 February 2009 6:03 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Monitoring Windows Host's clock I am trying to use nrpe_nt.exe on the Windows host now. Where can I find the list of command arguments for check_nrpe? Which command argument will monitor the system time? -Robby -----Original Message----- From: Assaf Flatto [mailto:assaf.flatto at ssp-intl.com] Sent: Monday, 2 February 2009 7:57 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Monitoring Windows Host's clock http://nagiosexchange.org/cgi-bin/page.cgi?d=1 Try searching there . On Saturday 31 January 2009 05:27:05 Kahlon, Robby wrote: > Which Plugin and Addon would let Nagios to monitor the Windows host's > clock? > > > > Can someone point me in a right direction? -- Assaf Flatto SSP Ops Team Linux System Administrator 169 Euston Road, London, NW1 2AE IMPORTANT . this email and the information in it may be confidential, legally privileged and/or protected by law. It is intended solely for the use of the person to whom it is addressed. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Please also delete all copies of this email and any attachments from your system. We cannot guarantee the security or confidentiality of email communications. We do not accept any liability for losses or damages that you may suffer as a result of your receipt of this email including but not limited to computer service or system failure, access delays or interruption, data non-delivery or mis-delivery, computer viruses or other harmful components. Copyright in this email and any attachments belong to Select Service Partner UK Limited. Should you communicate with anyone at Select Service Partner UK Limited by email, you consent to us monitoring and reading any such correspondence. Nothing in this email shall be taken or read as suggesting, proposing or relating to any agreement concerted practice or other practice that could infringe UK or EC competition legislation. Select Service Partner UK Limited is a company registered in England and Wales (company number 05687183) whose registered office is at 1 The Heights, Brooklands, Weybridge. Surrey. KT13 0NY ------------------------------------------------------------------------ ------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------ ------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rpnabar at gmail.com Thu Feb 5 07:12:01 2009 From: rpnabar at gmail.com (Rahul Nabar) Date: Thu, 5 Feb 2009 00:12:01 -0600 Subject: nagios and lm_sensors In-Reply-To: <01B4E23B-1990-47B2-8C05-1E47AD531BF8@id.ethz.ch> References: <498939A9.40900@id.ethz.ch> <01B4E23B-1990-47B2-8C05-1E47AD531BF8@id.ethz.ch> Message-ID: On Wed, Feb 4, 2009 at 11:22 PM, Matteo Corti wrote: > All the warnings are telling you that you are missing several *needed* > modules (e.g., Class::Accessor, Config::Tiny, ...) > > You can install them via CPAN or maybe you can already find them packaged > for your OS. Consult the documentation of the Perl distribution you are > using. > > Thanks for all the help thus far Matteo! Maybe I can bug you one last time! I think I have success in getting Nagios::Plugin etc. working. But when I come back and try to compile "check_lm_sensor" it has only one last complaint (solved all the other previous dependency issues) ///////////////// host>perl Makefile.PL Cannot determine perl version info from check_lm_sensors.pod WARNING: INSTALLSITESCRIPT is not a known parameter. 'INSTALLSITESCRIPT' is not a known MakeMaker parameter name. Writing Makefile for check_lm_sensors /////////////////////// I'm not sure if this is a problem or not? But if I just go ahead then make and "make install" silently proceed. But if I try using "check_lm_sensors" it crashes badly! ////////////// /usr/lib/nagios/plugins/contrib/check_lm_sensors Can't locate version.pm in @INC (@INC contains: /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7 /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8 .) at /usr/lib/nagios/plugins/contrib/check_lm_sensors line 33. BEGIN failed--compilation aborted at /usr/lib/nagios/plugins/contrib/check_lm_sensors line 33. /////////////////// Any more pointers? -- Rahul -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rpnabar at gmail.com Thu Feb 5 07:24:23 2009 From: rpnabar at gmail.com (Rahul Nabar) Date: Thu, 5 Feb 2009 00:24:23 -0600 Subject: nagios and lm_sensors In-Reply-To: <498A83B5.909@id.ethz.ch> References: <498939A9.40900@id.ethz.ch> <01B4E23B-1990-47B2-8C05-1E47AD531BF8@id.ethz.ch> <498A83B5.909@id.ethz.ch> Message-ID: On Thu, Feb 5, 2009 at 12:14 AM, Matteo Corti wrote: > > Yes you are missing another module 'version'. I forgot to put it in the > list of requirements since it usually part of most Perl distribution. > Awesome. It works! Thanks for all the help Matteo! I'm one step closer to monitoring my remote server cpu temperatures via nrpe + check_lm_sensors + nagios. This was a statistic we have been lacking on our HPC cluster for a long long time! My Perl distribution probably needs updating. I think we have been lazy about this! -- Rahul -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mariog at absi.be Thu Feb 5 09:42:50 2009 From: mariog at absi.be (mariog at absi.be) Date: Thu, 5 Feb 2009 09:42:50 +0100 Subject: check-host-alive check In-Reply-To: <92FB6C21-D717-4749-9662-DD9A48E787D0@ena.com> References: <92FB6C21-D717-4749-9662-DD9A48E787D0@ena.com> Message-ID: Hello all, and thank you i found the check-host-alive in the files checkcommands.cfg in the nagios conf directory. now what is startles me is that there are 100% packet loss however the host is up in nagios, it just the service check-host alive that is critical; what are the arguments of nagios to say that a host is up or down.. i thought it was a ping but if the ping from the nagios server to the host doesn't work how can it say it's up? are all host up by default? how can you make them down when a ping cannot be performed. in the host status information there is NA still the host is shown as up.. thank you very much for your help Mario Garcia Ortiz/ABSI Marc Powell 04/02/2009 07:02 PM To nagios-users ML cc Subject Re: [Nagios-users] check-host-alive check On Feb 4, 2009, at 11:18 AM, mariog at absi.be wrote: > > Hello all > can anyone help me with this; > there a few hosts mostly adsl or sdsl routers dat have critical > state with plugin timed out. > > the critical error is : > check-host-alive critical plugin timed out after 10 seconds. > > i cannot find in nagios plugins directory any check named check-host- > alive, it seems to be an embedded nagios check when the host is > defined? despite this the host is up. > > can someone help me how does it work and where is this check-host- > alive check stored in a regular nagios install under solaris 10. Hello, Your host{} definition ( http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#host ) specifies a check_command of 'check-host-alive'. There exists a command{} definition ( http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#command ) named check-host-alive that probably uses a command_line specifying the check_ping plugin, along with some flags for it. Grep your config files for it to see where it lives (varies with version and personal configuration). The check_ping plugin does have a flag that you can pass to it to extend the timeout -- $ /usr/local/nagios/libexec/check_ping --help ... -t, --timeout=INTEGER Seconds before connection times out (default: 10) You can modify the command{} definition above to also pass the -t flag with a higher timeout (-t 30, for example). You'll also want to verify that the master nagios host check timeout value (host_check_timeout in nagios.cfg - http://nagios.sourceforge.net/docs/3_0/configmain.html) to be higher than your highest plugin specific timeout. You'll need to reload nagios after making these changes. HTH, -- Marc ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From roman.fiedler at telbiomed.at Thu Feb 5 10:19:00 2009 From: roman.fiedler at telbiomed.at (Roman Fiedler) Date: Thu, 05 Feb 2009 10:19:00 +0100 Subject: check_process for threads possible Message-ID: <498AAF04.6030902@telbiomed.at> Hi list, On one machine the count of processes with check_procs and "ps aux" stays the same (17), but the number of threads is increasing until one application breaks. "ps auxH" then lists > 500 elements. Is there a possibility to count these threads using check_procs? Thanks, Roman ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Feb 5 13:46:37 2009 From: jpratt at norwich.edu (James Pratt) Date: Thu, 5 Feb 2009 07:46:37 -0500 Subject: FW: Monitoring Windows Host's clock In-Reply-To: <28919A12B5A1504CB3599372AA286FC602C6E17C@bb-cts-ex1.cts.cubic.cub> References: <28919A12B5A1504CB3599372AA286FC602C6E17C@bb-cts-ex1.cts.cubic.cub> Message-ID: <8147CCE3C4A8764DA9980125EE70E823837484@nuexchg.norwich.edu> From: Kahlon, Robby [mailto:robby.kahlon at cubic.com] Sent: Thursday, February 05, 2009 12:57 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] FW: Monitoring Windows Host's clock Does anyone know how to monitor NTP client's time? I am using check_ntp to monitor NTP Server time. It works fine but won't monitor NTP client's time. NTP Server [10.15.11.130] [root at seq-util libexec]#./check_ntp -H 10.15.11.130 -w 60 -c 120 NTP OK: Offset 0.063741 secs NTP Client [10.15.11.132] [root at seq-util libexec]#./check_ntp -H 10.15.11.132 -w 60 -c 120 NTP CRITICAL: No suitable peer server found - Server for ntp probably down Thanks, Robby ----- You could probably use check_ntp_peer instead of check_ntp... Regards, Jamie ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sergio.ariel at iris.uh.cu Thu Feb 5 14:02:27 2009 From: sergio.ariel at iris.uh.cu (Sergio Ariel) Date: Thu, 05 Feb 2009 08:02:27 -0500 Subject: To Hide External Commands Message-ID: <498AE363.1070804@iris.uh.cu> I need help in order to avoid visualization of external commands in the web, I mean, I have disabled external commands, so, I want to not show the icons in the right side of any host/service details page. How can I do it? -- Sergio Ariel de la Campa Saiz Administrador Red UH ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Feb 5 14:12:05 2009 From: perldork at webwizarddesign.com (Max) Date: Thu, 5 Feb 2009 08:12:05 -0500 Subject: Which books are best for Nagios 3 In-Reply-To: References: <4974C512.2040108@medin.name> Message-ID: The nagios 3 enterprise monitoring book is mostly getting dinged because syngress has. Not provided paying customers the online content they (the publisher) promised On 2/4/09, Mohr James wrote: >> We've been using Nagios for a few years, since 4/05 and the 2.0b4 > days, >> and absolutely love it. I use it to monitor over a hundred servers, >> almost 400 services, and over the years I think I've become pretty >> darned knowledgeable about most aspects of Nagios. In the Nagios 2.x >> days I found the book Pro Nagios 2.0 to be an indispensables resource >> >> Recently I upgraded us from 2.9 to 3.0.6 and I'm looking for >> recommendations for a book or two on 3.0 to take my knowledge to the >> next level. I've found the following books available and I'm > wondering >> which ones are the best: >> >> 1. Nagios: System and Network Monitoring by Wolfgang Barth > (Paperback >> - Oct 28, 2008) - Illustrated >> 2. Learning Nagios 3.0 by Wojciech Kocjan (Paperback - Oct 17, > 2008) >> 3. Building a Monitoring Infrastructure with Nagios by David >> Josephsen (Paperback - Mar 2, 2007) >> 4. Nagios 3 Enterprise Network Monitoring: Including Plug-Ins and >> Hardware Devices by Max Schubert, Derrick Bennett, Jonathan > Gines, >> and Andrew Hay (Paperback - Jun 2, 2008) > > > The Wolfgang Barth book is top, without a doubt. If you are going to get > only one, get this one. I have both editions and cannot think of one bad > thing. > > James Turnbull wrote Pro Nagios 2.0 for Apress, but has not been updated > yet for Nagios 3.0. I would still recommend it for beginners. In > general, like his stuff. The Josephsen book is a little dated, but does > go a bit beyond the normal documentation. > > The Kocjan book is a big waste of time and money. It is very superficial > and seems like the author was simply rewriting the existing > documentation. It is very thin on content and I get the feeling the > author has not really administered a Nagios system. > > I don't have "Nagios 3 Enterprise Network Monitoring", but the review I > read on are not good. > > > > > -- > Diese E-Mail enth?lt vertrauliche und/oder rechtlich gesch?tzte > Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail > irrt?mlich erhalten haben, informieren Sie bitte sofort den Absender und > vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte > Weitergabe dieser Mail ist nicht gestattet. > > This e-mail may contain confidential and/or privileged information. If you > are not the intended recipient (or have received this e-mail in error) > please notify the sender immediately and destroy this e-mail. Any > unauthorized copying, disclosure or distribution of the material in this > e-mail is strictly forbidden. > > > ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sergio.ariel at iris.uh.cu Thu Feb 5 14:10:51 2009 From: sergio.ariel at iris.uh.cu (Sergio Ariel) Date: Thu, 05 Feb 2009 08:10:51 -0500 Subject: question about check_snmp Message-ID: <498AE55B.4050208@iris.uh.cu> First of all, I wanna congratulate everyone has developed Nagios' plugins. They did a great job. I need to know all possibles output messages check_snmp plugin can show. Please, if somebody has the source code send it to me. Thanks a lot. -- Sergio Ariel de la Campa Saiz Administrador Red UH ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Feb 5 14:13:26 2009 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Thu, 05 Feb 2009 08:13:26 -0500 Subject: FW: Monitoring Windows Host's clock In-Reply-To: <28919A12B5A1504CB3599372AA286FC602C6E17C@bb-cts-ex1.cts.cubic.cub> References: <28919A12B5A1504CB3599372AA286FC602C6E17C@bb-cts-ex1.cts.cubic.cub> Message-ID: <498AE5F6.4030406@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 05/02/09 12:57 AM, Kahlon, Robby wrote: > Does anyone know how to monitor NTP client's time? > > > > I am using check_ntp to monitor NTP Server time. It works fine but won't > monitor NTP client's time. > > > > *NTP Server [10.15.11.130]* > > [root at seq-util libexec]#./check_ntp -H 10.15.11.130 -w 60 -c 120 NTP OK: > Offset 0.063741 secs > > * * > > *NTP Client [10.15.11.132]* > > [root at seq-util libexec]#./check_ntp -H 10.15.11.132 -w 60 -c 120 > > NTP CRITICAL: No suitable peer server found - Server for ntp probably down Hi, In the future please write a new email instead of forwarding or replying to a ml post or digest. You can normally check NTP clocks of windows servers if they're acting as a clock server - Domain controllers usually do. IIRC you can start the service on normal servers and you'll be able to check them too. BTW, check_ntp is deprecated. Since windows servers do not support NTP control packets, check_ntp_peer will not work; use check_ntp_time instead. - -- Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFJiuX26dZ+Kt5BchYRAo9/AKCUpXjjj1rgVxlKylNJ67jgQtXE7QCg8TVi tTivYTmhYSbshcv4zA6mFQc= =ZP5r -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Feb 5 14:15:14 2009 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Thu, 05 Feb 2009 08:15:14 -0500 Subject: check_process for threads possible In-Reply-To: <498AAF04.6030902@telbiomed.at> References: <498AAF04.6030902@telbiomed.at> Message-ID: <498AE662.8040302@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 05/02/09 04:19 AM, Roman Fiedler wrote: > Hi list, > > On one machine the count of processes with check_procs and "ps aux" > stays the same (17), but the number of threads is increasing until one > application breaks. "ps auxH" then lists > 500 elements. Is there a > possibility to count these threads using check_procs? You can manually override the ps command for check-procs - i.e. you could add the argument to show threads. See "./configure --help" and look into config.h for the surrend command definition. - -- Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFJiuZi6dZ+Kt5BchYRAtrZAJwIBr3mkalRt4NlBJTCoA8pEXVz7wCfdqfP 7i8a5MrmJOingEilI0pcf9k= =mViZ -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Feb 5 14:17:10 2009 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Thu, 05 Feb 2009 08:17:10 -0500 Subject: question about check_snmp In-Reply-To: <498AE55B.4050208@iris.uh.cu> References: <498AE55B.4050208@iris.uh.cu> Message-ID: <498AE6D6.8020204@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 05/02/09 08:10 AM, Sergio Ariel wrote: > First of all, I wanna congratulate everyone has developed Nagios' > plugins. They did a great job. > > I need to know all possibles output messages check_snmp plugin can show. > Please, if somebody has the source code send it to me. The git repo, official release and snapshots can be accessed from this page: http://www.nagiosplugins.org/ - -- Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFJiubW6dZ+Kt5BchYRAv+IAJ45A7fmYlb4Hv0FPrVT/d7lkmw0tgCgg/Ck pxAb44LPyGPMIdArlchA/gU= =nr+Q -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Feb 5 15:20:41 2009 From: ml at nicole-haehnel.de (=?ISO-8859-15?Q?Nicole_H=E4hnel?=) Date: Thu, 05 Feb 2009 15:20:41 +0100 Subject: problems with check_openmanage Message-ID: <498AF5B9.4040302@nicole-haehnel.de> Hi, I tried check_openmanage today on our dell servers. But on every PE2650 and PE1750 I get this error: ./check_openmanage -s -C bgsro -H xxxxx -e -i --state SNMP [processors]: Requested entries are empty or do not exist. If I run check_openmanage locally on a PE2650, I get this: ./check_openmanage -e -i --state Use of uninitialized value in string eq at /check_openmanage line 2083. OK - System: 'poweredge 2650', S/N: 'xxxx', ROM: 'A21 10/05/2006', hardware working fine, 1 logical drives, 2 physical drives The other servers (2850, 2950) work fine. I'd like to use snmp instead of nrpe. Some ideas what's wrong? Thanks! Nicole ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From subscription at kkeane.com Thu Feb 5 15:27:10 2009 From: subscription at kkeane.com (Kevin Keane) Date: Thu, 5 Feb 2009 06:27:10 -0800 Subject: question about check_snmp In-Reply-To: <498AE55B.4050208@iris.uh.cu> References: <498AE55B.4050208@iris.uh.cu> Message-ID: <498AF73E.7060301@kkeane.com> You should be able to download the source code from the same place where you got the plugins. It may not answer your question, though, since some of the output messages may well come from other layers that check_snmp calls, such as from net_snmp. Sergio Ariel wrote: > First of all, I wanna congratulate everyone has developed Nagios' > plugins. They did a great job. > > I need to know all possibles output messages check_snmp plugin can show. > Please, if somebody has the source code send it to me. > > Thanks a lot. > -- Kevin Keane Owner The NetTech Find the Uncommon: Expert Solutions for a Network You Never Have to Think About Office: 866-642-7116 http://www.4nettech.com This e-mail and attachments, if any, may contain confidential and/or proprietary information. Please be advised that the unauthorized use or disclosure of the information is strictly prohibited. The information herein is intended only for use by the intended recipient(s) named above. If you have received this transmission in error, please notify the sender immediately and permanently delete the e-mail and any copies, printouts or attachments thereof. ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Feb 5 16:20:21 2009 From: marc at ena.com (Marc Powell) Date: Thu, 5 Feb 2009 09:20:21 -0600 Subject: check-host-alive check In-Reply-To: References: Message-ID: <3FF158AE-3A8E-42DC-8A18-94099B7C503A@ena.com> On Feb 5, 2009, at 2:42 AM, mariog at absi.be wrote: > > Hello all, > and thank you i found the check-host-alive in the files > checkcommands.cfg in the nagios conf directory. > now what is startles me is that there are 100% packet loss however > the host is up in nagios, Sounds like you have a firewall or iptables that's not permitting ICMP. It seems fixable but your policies may say otherwise. > it just the service check-host alive that is critical; You have a service{} definition that uses check-host-alive? If the host is not pingable and you're trying to have nagios ping it, it's logical that it would show CRITICAL. > what are the arguments of nagios to say that a host is up or down.. > i thought it was a ping but if the ping from the nagios server to > the host doesn't work how can it say it's up? In the host{} definition, the results of the check_command will determine if it's up or down. You can run it from the command line as the nagios user to see what it'll do. Be sure to substitute the $MACROS $ with their correct values. If that check_command doesn't return accurate status, use something else that does or fix ping. > are all host up by default? how can you make them down when a ping > cannot be performed. Specify a check_command that would accurately reflect the status of the host. What that is depends on the device you are monitoring and what you believe accurately reflects it's status. For example, if the host only provides HTTP service and if HTTP doesn't work the host is effectively down, a host check_command of check_http might be appropriate. > in the host status information there is NA still the host is shown > as up.. Sounds like you're using Nagios-2. In that version, hosts are not checked, and assumed to be up until a service on the host returns a non-OK result. The host is then checked with it's specified check_command to determine it's status. -- Marc ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Feb 5 16:35:44 2009 From: marc at ena.com (Marc Powell) Date: Thu, 5 Feb 2009 09:35:44 -0600 Subject: To Hide External Commands In-Reply-To: <498AE363.1070804@iris.uh.cu> References: <498AE363.1070804@iris.uh.cu> Message-ID: On Feb 5, 2009, at 7:02 AM, Sergio Ariel wrote: > I need help in order to avoid visualization of external commands in > the > web, I mean, I have disabled external commands, so, I want to not show > the icons in the right side of any host/service details page. How > can I > do it? You'll need to edit the source code of the specific CGI's you want to remove it from (i.e. nagios-src/cgi/status.c) and recompile. -- Marc ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Feb 5 17:02:01 2009 From: marc at ena.com (Marc Powell) Date: Thu, 5 Feb 2009 10:02:01 -0600 Subject: problems with check_openmanage In-Reply-To: <498AF5B9.4040302@nicole-haehnel.de> References: <498AF5B9.4040302@nicole-haehnel.de> Message-ID: <62D20A54-3EA9-428E-879D-9E7DA0E8E399@ena.com> On Feb 5, 2009, at 8:20 AM, Nicole H?hnel wrote: > Hi, > I tried check_openmanage today on our dell servers. > But on every PE2650 and PE1750 I get this error: > > ./check_openmanage -s -C bgsro -H xxxxx -e -i --state > SNMP [processors]: Requested entries are empty or do not exist. > > If I run check_openmanage locally on a PE2650, I get this: > > ./check_openmanage -e -i --state > Use of uninitialized value in string eq at /check_openmanage line > 2083. > OK - System: 'poweredge 2650', S/N: 'xxxx', ROM: 'A21 10/05/2006', > hardware working fine, 1 logical drives, 2 physical drives > > The other servers (2850, 2950) work fine. > > I'd like to use snmp instead of nrpe. > Some ideas what's wrong? I don't use openmanage but I may be able to help point you in the right direction. The second test succeeds because the script is running the omreport binary directly. The first fails because it is trying to get the values from SNMP and the snmpd on the machine doesn't know about the tree '1.3.6.1.4.1.674...'. Are you running ucd- snmp on all the machines? Is snmpd.conf the same? A quick google shows that you can use ucd-snmp to proxy those requests to the openmanage snmp agent. From http://www.kilala.nl/Sysadmin/index.php?id=735 -- # Pass requests to Dell OpenManage proxy -c public localhost:1163 .1.3.6.1.2.1.674 The community 'public' and the ':1163' port may need to be customized if those are not the openmanage default. HTH, -- Marc ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From roman.fiedler at telbiomed.at Thu Feb 5 17:50:38 2009 From: roman.fiedler at telbiomed.at (Roman Fiedler) Date: Thu, 05 Feb 2009 17:50:38 +0100 Subject: check_process for threads possible In-Reply-To: <498AE662.8040302@aei.ca> References: <498AAF04.6030902@telbiomed.at> <498AE662.8040302@aei.ca> Message-ID: <498B18DE.1050500@telbiomed.at> Thomas Guyot-Sionnest wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 05/02/09 04:19 AM, Roman Fiedler wrote: >> Hi list, >> >> On one machine the count of processes with check_procs and "ps aux" >> stays the same (17), but the number of threads is increasing until one >> application breaks. "ps auxH" then lists> 500 elements. Is there a >> possibility to count these threads using check_procs? > > You can manually override the ps command for check-procs - i.e. you > could add the argument to show threads. > > See "./configure --help" and look into config.h for the surrend command > definition. Thanks for the tip, I did not know that the plugin uses ps for process listing itself. Since I'm lazy recompiling a binary for multiple platforms and because I need both normal and extended check_procs, I just substituted "/bin/ps" with "/binnps" in the binary and created a shell script /binnps with content #!/bin/bash /bin/ps axHwo 'stat uid pid ppid vsz rss pcpu comm args' which then works as expected: root# ./check_procs -w 100 -c 200 PROCS OK: 17 processes root# ./check_procs_thread -w 100 -c 200 PROCS OK: 72 processes ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From KaeglerM at tessco.com Thu Feb 5 17:58:49 2009 From: KaeglerM at tessco.com (Kaegler, Mike) Date: Thu, 05 Feb 2009 11:58:49 -0500 Subject: notify-service-by-email failure for *some* addresses? In-Reply-To: References: Message-ID: I didn?t get any responses on this message, but I was able to find a workaround I?ll share for anyone who comes across this in the future: I created a local email alias (/etc/aliases) and had nagios send the message to pager-bypass at localhost . Ba dum bum. Its a hack, but it works. If you anyone else runs into this or figures it out, I?d love to hear from you. -porkchop On 2/3/09 11:25 AM, "Michael Kaegler" wrote: > Greetings, > > My phone and a few POP mailboxes all receive alerts from nagios, the POP > boxes via the stock notify-service-by-email, my phone via a custom > notify-service-by-shortmail. Shortmail stopped working out of the blue a few > days ago, and I just moved my phone over to notify-service-by-email. I'm > still not receiving notifications on it. > > My logs have the relevant error: > > Feb 3 10:46:41 net nagios: Warning: Contact 'porkchoppager' host > notification command '/usr/bin/printf "%b" "***** Nagios > *****\n\nNotification Type: ACKNOWLEDGEMENT\nHost: slc-fw\nState: > DOWN\nAddress: 172.21.7.51\nInfo: (Host Check Timed Out)\n\nDate/Time: Tue > Feb 3 10:46:10 EST 2009\n" | /bin/mail -s "** ACKNOWLEDGEMENT Host Alert: > slc-fw is DOWN **" mynumber at txt.att.net' timed out after 30 seconds > > While its executing, I've seen a zombie sh in the processlist along with two > sendmail processes just waiting there. > > The same notification command works flawlessly for 5 other contacts at the > same time: The only difference is in the actual email address, and its just > a phone number @txt.att.net. > > I've su'd to the nagios user and executed the whole command. No problem, > hits my phone in 30 seconds. > Ideas on where to look? > -mKaegler > > > > > > ------------------------------------------------------------------------------ > Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) > software. With Adobe AIR, Ajax developers can use existing skills and code to > build responsive, highly engaging applications that combine the power of local > resources and data with the reach of the web. Download the Adobe AIR SDK and > Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- Michael Kaegler, TESSCO Technologies: Engineering, 410 229 1295 Your wireless success, nothing less. http://www.tessco.com/ ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rpnabar at gmail.com Thu Feb 5 19:48:12 2009 From: rpnabar at gmail.com (Rahul Nabar) Date: Thu, 5 Feb 2009 12:48:12 -0600 Subject: posting graphs of pnp4nagios performance stats.: latencies of host and service checks are terribly degraded Message-ID: After I enabled pnp4nagios my service and host latencies have shot up disastrously! The transition around midnight yesterday (when I got pnp running) is amazing! Just posting two graphs here in case it helps anybody else: http://picasaweb.google.com/rpnabar/Nagios_debug?feat=directlink Either: (A) I am doing something stupidly bad with the default mode OR (B) I really need to go to the "bulk" mode. I would really appreciate any other tips / stories users have for me! -- Rahul -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From martyn at chetnet.co.uk Thu Feb 5 21:21:16 2009 From: martyn at chetnet.co.uk (Martyn) Date: Thu, 5 Feb 2009 20:21:16 -0000 Subject: Ubunt- Nagios3-Centreon 2-ndo2 Message-ID: Hi Group. I'm trying to install Centreon on my Ubuntu box, I'm following the install guide and hit a snag. Looking at the site install guide here http://en.doc.centreon.com/Nagios3_Centreon2_Ubuntu_ndo2 I'm hit a problem at this stage. # mysql -u root ndo < /usr/local/src/centreon-2.0/www/install/createNDODB.sql When I run that query it just returns with -> and sits there forever or until I press ctrl c Do you know what the issue is at all. Thanks Martyn -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andy-lists at networkmail.eu Thu Feb 5 22:12:22 2009 From: andy-lists at networkmail.eu (Andy Shellam) Date: Thu, 05 Feb 2009 21:12:22 +0000 Subject: Ubunt- Nagios3-Centreon 2-ndo2 In-Reply-To: References: Message-ID: <498B5636.4060100@networkmail.eu> Martyn, By the looks of it, there's a missing ";" at the end of one of the queries in that file. I don't use NDODB so I cannot elaborate any more than that. Try running the command again and simply putting ; on the line beginning with "->" HTH, Andy Martyn wrote: > > Hi Group. > > I'm trying to install Centreon on my Ubuntu box, I'm following the > install guide and hit a snag. > Looking at the site install guide here > _http://en.doc.centreon.com/Nagios3_Centreon2_Ubuntu_ndo2_ I'm hit a > problem at this stage. > > # mysql -u root ndo < > /usr/local/src/centreon-2.0/www/install/createNDODB.sql > > When I run that query it just returns with -> and sits there forever > or until I press ctrl c > > Do you know what the issue is at all. > > Thanks > > Martyn > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) > software. With Adobe AIR, Ajax developers can use existing skills and code to > build responsive, highly engaging applications that combine the power of local > resources and data with the reach of the web. Download the Adobe AIR SDK and > Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From low at modog.com Thu Feb 5 23:13:37 2009 From: low at modog.com (Seth P. Low) Date: Thu, 5 Feb 2009 17:13:37 -0500 Subject: Nagios 3.1.0 - refresh (f5) brings you back to home screen Message-ID: <15DE1A7F91855E49A18A487C43846C8B590427BE1D@modog2.modog.com> I have been using nagios for years and have just moved from 3.0.5 to 3.1.0. I have noticed that in 3.1.0 (regardless of what browser I am using), hitting F5 brings me back to the welcome page on 2 different installs. Anyone else seeing this? Suggestions for correcting? Thanks, -Seth ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From martyn at chetnet.co.uk Thu Feb 5 23:36:32 2009 From: martyn at chetnet.co.uk (Martyn) Date: Thu, 5 Feb 2009 22:36:32 -0000 Subject: Ubunt- Nagios3-Centreon 2-ndo2 In-Reply-To: <498B5636.4060100@networkmail.eu> References: <498B5636.4060100@networkmail.eu> Message-ID: Now it looks as though the DB is missing something mysql> mysql -u root ndo < /usr/local/src/centreon-2.0/www/install/createNDODB.sql; ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'mysql -u root ndo < /usr/local/src/centreon-2.0/www/install/createNDODB.sql' at line 1 Will take a look into in to see what it is Thanks for the reply though, it got me one stage further Martyn -----Original Message----- From: Andy Shellam [mailto:andy-lists at networkmail.eu] Sent: 05 February 2009 21:12 To: Martyn Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Ubunt- Nagios3-Centreon 2-ndo2 Martyn, By the looks of it, there's a missing ";" at the end of one of the queries in that file. I don't use NDODB so I cannot elaborate any more than that. Try running the command again and simply putting ; on the line beginning with "->" HTH, Andy Martyn wrote: > > Hi Group. > > I'm trying to install Centreon on my Ubuntu box, I'm following the > install guide and hit a snag. > Looking at the site install guide here > _http://en.doc.centreon.com/Nagios3_Centreon2_Ubuntu_ndo2_ I'm hit a > problem at this stage. > > # mysql -u root ndo < > /usr/local/src/centreon-2.0/www/install/createNDODB.sql > > When I run that query it just returns with -> and sits there forever > or until I press ctrl c > > Do you know what the issue is at all. > > Thanks > > Martyn > > ---------------------------------------------------------------------- > -- > > ---------------------------------------------------------------------- > -------- Create and Deploy Rich Internet Apps outside the browser with > Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use > existing skills and code to build responsive, highly engaging > applications that combine the power of local resources and data with > the reach of the web. Download the Adobe AIR SDK and Ajax docs to > start building applications today-http://p.sf.net/sfu/adobe-com > ---------------------------------------------------------------------- > -- > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From martyn at chetnet.co.uk Fri Feb 6 00:00:55 2009 From: martyn at chetnet.co.uk (Martyn) Date: Thu, 5 Feb 2009 23:00:55 -0000 Subject: Ubunt- Nagios3-Centreon 2-ndo2 In-Reply-To: References: Message-ID: Just looking at one on the lines again below, do I need to use 'centreon'; or just centreon; leaving out the ' mysql -u root mysql> use centreon; mysql> update cfg_ndo2db set db_user = 'centreon'; mysql> exit; Thanks Martyn -----Original Message----- From: Martyn [mailto:martyn at chetnet.co.uk] Sent: 05 February 2009 22:37 To: 'Andy Shellam' Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Ubunt- Nagios3-Centreon 2-ndo2 Now it looks as though the DB is missing something mysql> mysql -u root ndo < /usr/local/src/centreon-2.0/www/install/createNDODB.sql; ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'mysql -u root ndo < /usr/local/src/centreon-2.0/www/install/createNDODB.sql' at line 1 Will take a look into in to see what it is Thanks for the reply though, it got me one stage further Martyn -----Original Message----- From: Andy Shellam [mailto:andy-lists at networkmail.eu] Sent: 05 February 2009 21:12 To: Martyn Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Ubunt- Nagios3-Centreon 2-ndo2 Martyn, By the looks of it, there's a missing ";" at the end of one of the queries in that file. I don't use NDODB so I cannot elaborate any more than that. Try running the command again and simply putting ; on the line beginning with "->" HTH, And Martyn wrote: > > Hi Group. > > I'm trying to install Centreon on my Ubuntu box, I'm following the > install guide and hit a snag. > Looking at the site install guide here > _http://en.doc.centreon.com/Nagios3_Centreon2_Ubuntu_ndo2_ I'm hit a > problem at this stage. > > # mysql -u root ndo < > /usr/local/src/centreon-2.0/www/install/createNDODB.sql > > When I run that query it just returns with -> and sits there forever > or until I press ctrl c > > Do you know what the issue is at all. > > Thanks > > Martyn > > ---------------------------------------------------------------------- > -- > > ---------------------------------------------------------------------- > -------- Create and Deploy Rich Internet Apps outside the browser with > Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use > existing skills and code to build responsive, highly engaging > applications that combine the power of local resources and data with > the reach of the web. Download the Adobe AIR SDK and Ajax docs to > start building applications today-http://p.sf.net/sfu/adobe-com > ---------------------------------------------------------------------- > -- > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ---------------------------------------------------------------------------- -- Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andy-lists at networkmail.eu Fri Feb 6 00:13:33 2009 From: andy-lists at networkmail.eu (Andy Shellam) Date: Thu, 05 Feb 2009 23:13:33 +0000 Subject: Ubunt- Nagios3-Centreon 2-ndo2 In-Reply-To: References: Message-ID: <498B729D.7090103@networkmail.eu> Martyn, You've probably figured that out by now, but that command-line should be typed into your shell command prompt, not the MySQL one! Make sure your command prompt does not start "mysql >" before you type that command in. If it does, first use "quit" to exit back to your system shell, then try it again. As for your other question, yes because it's a string you need to quote it using '. Andy Martyn wrote: > Now it looks as though the DB is missing something > > mysql> mysql -u root ndo < > /usr/local/src/centreon-2.0/www/install/createNDODB.sql; > ERROR 1064 (42000): You have an error in your SQL syntax; check the manual > that corresponds to your MySQL server version for the right syntax to use > near 'mysql -u root ndo < > /usr/local/src/centreon-2.0/www/install/createNDODB.sql' at line 1 > > Will take a look into in to see what it is > > Thanks for the reply though, it got me one stage further > > Martyn > > -----Original Message----- > From: Andy Shellam [mailto:andy-lists at networkmail.eu] > Sent: 05 February 2009 21:12 > To: Martyn > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Ubunt- Nagios3-Centreon 2-ndo2 > > Martyn, > > By the looks of it, there's a missing ";" at the end of one of the queries > in that file. I don't use NDODB so I cannot elaborate any more than that. > > Try running the command again and simply putting ; on the line > beginning with "->" > > HTH, > Andy > > Martyn wrote: > >> Hi Group. >> >> I'm trying to install Centreon on my Ubuntu box, I'm following the >> install guide and hit a snag. >> Looking at the site install guide here >> _http://en.doc.centreon.com/Nagios3_Centreon2_Ubuntu_ndo2_ I'm hit a >> problem at this stage. >> >> # mysql -u root ndo < >> /usr/local/src/centreon-2.0/www/install/createNDODB.sql >> >> When I run that query it just returns with -> and sits there forever >> or until I press ctrl c >> >> Do you know what the issue is at all. >> >> Thanks >> >> Martyn >> >> ---------------------------------------------------------------------- >> -- >> >> ---------------------------------------------------------------------- >> -------- Create and Deploy Rich Internet Apps outside the browser with >> Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use >> existing skills and code to build responsive, highly engaging >> applications that combine the power of local resources and data with >> the reach of the web. Download the Adobe AIR SDK and Ajax docs to >> start building applications today-http://p.sf.net/sfu/adobe-com >> ---------------------------------------------------------------------- >> -- >> >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> > reporting any issue. > >> ::: Messages without supporting info will risk being sent to /dev/null >> > > > ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hau at udeviant.com Thu Feb 5 23:29:36 2009 From: hau at udeviant.com (hau at udeviant.com) Date: Thu, 05 Feb 2009 14:29:36 -0800 Subject: No Host UP notification after acknowledgement Message-ID: <3beb61f0eddf7599a26f7ca219cb3168@udeviant.com> All, Currently, my Nagios is setup to send one email notification when a system goes down, and another when it comes up. Our datacenter team acknowledges each system when it goes down, but when that happens, the "Host UP" notification doesn't get sent out. Going through the documentation, the options for Acknowledgments are sticky or non-sticky. Here's the def of sticky acknowledgments: Command Description This command is used to acknowledge a service problem. When a service problem is acknowledged, future notifications about problems are temporarily disabled until the service changes from its current state. If you want acknowledgment to disable notifications until the service recovers, check the 'Sticky Acknowledgment' checkbox. It looks like any kind of acknowledgment disables notifications. Any help would be appreciated, Hau Phan ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From shadhin71 at gmail.com Fri Feb 6 00:44:26 2009 From: shadhin71 at gmail.com (shadih rahman) Date: Thu, 5 Feb 2009 18:44:26 -0500 Subject: service check without host checks Message-ID: <6db4a4200902051544t196d1aa3v9189b53de1a2c1ec@mail.gmail.com> All, Is it possible to have a service check without having any host check for a particular host. Let me elaborate. I am trying to use check-host-alive as a service check. Also I am passing check_command = "null" in the host definition. However it looks like the host is doing this twice. Once for host check and once for service check. Can someone just clarify on this. Thanks. -- Cordially, Shadhin Rahman -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Feb 6 00:55:16 2009 From: marc at ena.com (Marc Powell) Date: Thu, 5 Feb 2009 17:55:16 -0600 Subject: service check without host checks In-Reply-To: <6db4a4200902051544t196d1aa3v9189b53de1a2c1ec@mail.gmail.com> References: <6db4a4200902051544t196d1aa3v9189b53de1a2c1ec@mail.gmail.com> Message-ID: <219A33E2-8BEF-4E2C-9F3F-A79608D7B760@ena.com> On Feb 5, 2009, at 5:44 PM, shadih rahman wrote: > All, > Is it possible to have a service check without having any host > check for a particular host. Let me elaborate. I am trying to use > check-host-alive as a service check. Also I am passing > check_command = "null" in the host definition. However it looks > like the host is doing this twice. Once for host check and once for > service check. Can someone just clarify on this. Thanks. Without seeing the entire host definition, it would appear you've told nagios to try to run the shell command '"null"' when a host check is needed. You should leave out the entire 'check_command="null"' and/or set the check_period to 'none'. -- Marc ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Feb 6 00:56:12 2009 From: marc at ena.com (Marc Powell) Date: Thu, 5 Feb 2009 17:56:12 -0600 Subject: No Host UP notification after acknowledgement In-Reply-To: <3beb61f0eddf7599a26f7ca219cb3168@udeviant.com> References: <3beb61f0eddf7599a26f7ca219cb3168@udeviant.com> Message-ID: On Feb 5, 2009, at 4:29 PM, wrote: > All, > > Currently, my Nagios is setup to send one email notification when a > system > goes down, and another when it comes up. > > Our datacenter team acknowledges each system when it goes down, but > when > that happens, the "Host UP" notification doesn't get sent out. > > Going through the documentation, the options for Acknowledgments are > sticky > or non-sticky. > > Here's the def of sticky acknowledgments: You'll still get a notification for recoveries if the host{} definition specifies they should be sent and your contact{} definitions specify that they should receive them. -- Marc ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios-users at troutpocket.org Fri Feb 6 01:54:14 2009 From: nagios-users at troutpocket.org (Scott) Date: Thu, 05 Feb 2009 16:54:14 -0800 Subject: Nagios threshold for In-Reply-To: <4A61EB8C-35C5-433F-BF77-7E551541D3C9@ena.com> References: <498759EB.7070201@troutpocket.org> <4A61EB8C-35C5-433F-BF77-7E551541D3C9@ena.com> Message-ID: <498B8A36.1060105@troutpocket.org> Marc Powell wrote: > On Feb 2, 2009, at 2:39 PM, Scott wrote: > >> Is there a way to put a threshold on Nagios if "Time Out" messages are >> received from a certain number of hosts or services? If 4 distinct >> sites are timing out at the same time it should stop all notifications >> for all hosts and services and send a single page indicating a >> bandwidth >> issue. Is there any facility in Nagios that even slightly resembles >> what I've described? TIA! > 2) If you can detect the problem reliably using a combination of > specific host/service checks you have already, you could use > check_cluster as a parent or service dependency as above. http://nagios.sourceforge.net/docs/2_0/clusters.html This did the trick. The generic service is dependent upon the cluster definition now. We set it to send the cluster up/down notification if 4 "canary" hosts are unreachable. Thank you! ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From shadhin71 at gmail.com Fri Feb 6 02:05:26 2009 From: shadhin71 at gmail.com (shadih rahman) Date: Thu, 5 Feb 2009 20:05:26 -0500 Subject: All notification emails are going to nagios admin Message-ID: <6db4a4200902051705q3abbe693g4f3a135c45e29886@mail.gmail.com> All my nagios notification emails are going nagiosadmin instead of correct contactgroup. Below is my command for email. Please advise on this. Thanks define command{ command_name notify-host-by-email command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nhttps://nagios. cc.columbia.edu/nagios/cgi-bin/extinfo.cgi?type=1&host=$HOSTNAME$\n\nuser:$HOSTACKAUTHOR$\ncomment:$NOTIFICATIONCOMMENT$\n\nDate/Time: $LONGDATETIME$\n" | /bin/mail -s "** $NOTIFICATIONTYPE$ Host Alert: $HO STNAME$ is $HOSTSTATE$ **" $CONTACTEMAIL$ } # 'notify-service-by-email' command definition define command{ command_name notify-service-by-email command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/ Time: $LONGDATETIME$\n\nAdditional Info:\n\n$SERVICEOUTPUT$\n\nhttps:// nagios.cc.columbia.edu/nagios/cgi-bin/extinfo.cgi?type=2&host=$HOSTNAME$\nuser:$SERVICEACKAUTHOR$\ncomment:$NOTIFICATIONCOMMENT$\n\n" | /bin/mail -s "** $NOTIFICATIONTYPE$ Service Alert: $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$ } Here is my log [1233882055] SERVICE NOTIFICATION: nagiosadmin; schx-11-1-apreboot.net.columbia.edu;check-host-alive;CRITICAL;notify-service-by-email;PING CRITICAL - Packet loss = 100% [1233882201] SERVICE NOTIFICATION: nagiosadmin;austerlitz.cc.columbia.edu;check-host-alive;CRITICAL;notify-service-by-email;PING CRITICAL - Packet loss = 100% [1233882201] SERVICE NOTIFICATION: nagiosadmin;avh-ap-4-2.net.columbia.edu;check-host-alive;CRITICAL;notify-service-by-email;PING CRITICAL - Packet loss = 100% [1233882203] SERVICE NOTIFICATION: nagiosadmin; butl-1-2-apreboot.net.columbia.edu;check-host-alive;CRITICAL;notify-service-by-email;PING CRITICAL - Packet loss = 100% [1233882204] SERVICE NOTIFICATION: nagiosadmin; butl-1-4-apreboot.net.columbia.edu;check-host-alive;CRITICAL;notify-service-by-email;PING CRITICAL - Packet loss = 100% [1233882221] SERVICE NOTIFICATION: nagiosadmin; butl-5-1-apreboot.net.columbia.edu;check-host-alive;CRITICAL;notify-service-by-email;PING CRITICAL - Packet loss = 100% [1233882225] SERVICE NOTIFICATION: nagiosadmin; butler213b-printer.atg.columbia.edu;check_tray4;CRITICAL;notify-service-by-email;TRAY4 is at critical level [1233882271] SERVICE NOTIFICATION: nagiosadmin; car-b-1-apreboot.net.columbia.edu;check-host-alive;CRITICAL;notify-service-by-email;PING CRITICAL - Packet loss = 100% [1233882286] SERVICE NOTIFICATION: nagiosadmin; cha-5-1-apreboot.net.columbia.edu;check-host-alive;CRITICAL;notify-service-by-email;PING CRITICAL - Packet loss = 100% -- Cordially, Shadhin Rahman -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Feb 6 03:25:25 2009 From: marc at ena.com (Marc Powell) Date: Thu, 5 Feb 2009 20:25:25 -0600 Subject: All notification emails are going to nagios admin In-Reply-To: <6db4a4200902051705q3abbe693g4f3a135c45e29886@mail.gmail.com> References: <6db4a4200902051705q3abbe693g4f3a135c45e29886@mail.gmail.com> Message-ID: On Feb 5, 2009, at 7:05 PM, shadih rahman wrote: > All my nagios notification emails are going nagiosadmin instead of > correct contactgroup. Below is my command for email. Please advise > on this. Thanks nagiosadmin must be set as the contact (or member of the contactgroup) for these services. -- Marc ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hau at udeviant.com Fri Feb 6 03:44:33 2009 From: hau at udeviant.com (Hau Phan) Date: Thu, 05 Feb 2009 20:44:33 -0600 Subject: No Host UP notification after acknowledgement In-Reply-To: References: <3beb61f0eddf7599a26f7ca219cb3168@udeviant.com> Message-ID: <498BA411.7050404@udeviant.com> I'm getting the recovery notifications as long as the problems aren't acknowledged, but once it's acknowledged, no recovery notification. Any other ideas? Marc Powell wrote: > On Feb 5, 2009, at 4:29 PM, wrote: > > >> All, >> >> Currently, my Nagios is setup to send one email notification when a >> system >> goes down, and another when it comes up. >> >> Our datacenter team acknowledges each system when it goes down, but >> when >> that happens, the "Host UP" notification doesn't get sent out. >> >> Going through the documentation, the options for Acknowledgments are >> sticky >> or non-sticky. >> >> Here's the def of sticky acknowledgments: >> > > You'll still get a notification for recoveries if the host{} > definition specifies they should be sent and your contact{} > definitions specify that they should receive them. > > -- > Marc > > > > ------------------------------------------------------------------------------ > Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) > software. With Adobe AIR, Ajax developers can use existing skills and code to > build responsive, highly engaging applications that combine the power of local > resources and data with the reach of the web. Download the Adobe AIR SDK and > Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dsmhood at gmail.com Fri Feb 6 04:54:19 2009 From: dsmhood at gmail.com (Daniel Hood) Date: Fri, 6 Feb 2009 14:54:19 +1100 Subject: Open Source Cabling Management Software? Message-ID: <7eca914b0902051954s62013b0btb77501508156108b@mail.gmail.com> Hey, Can anyone make any recommendations on good cabling management software? An IT based company here (fairly new) and we have a network rack and about 25 odd hosts and the cabling for the network rack is just getting insane. Cables are being constantly unplugged and reconnected so, we need a database of some kind to management what router/switch ports should plug into what patch panel sort of thing. Any ideas? Daniel -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marty at supine.com Fri Feb 6 06:07:02 2009 From: marty at supine.com (Martin Barry) Date: Fri, 6 Feb 2009 16:07:02 +1100 Subject: Nagios sending notifications to Tivoli (TEC) Message-ID: <20090206050702.GA8823@cotterpin.mamista.net> Howdy Is there anyone on list who has had any success with with Nagios sending notifications to Tivoli Enterprise Console (TEC)? There is a preference for doing this via a SNMP trap but all I've been able to find on this is http://www.mail-archive.com/nagios-users at lists.sourceforge.net/msg01338.html cheers Marty ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tspgdm at yahoo.com Fri Feb 6 06:43:29 2009 From: tspgdm at yahoo.com (g m) Date: Thu, 5 Feb 2009 21:43:29 -0800 (PST) Subject: AS400 automated response to Messages Message-ID: <96238.64944.qm@web56008.mail.re3.yahoo.com> Has anyone used nagios to respond to automatically respond to messages in the message queue on the as400 ? ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Feb 6 08:25:39 2009 From: ml at nicole-haehnel.de (=?ISO-8859-1?Q?Nicole_H=E4hnel?=) Date: Fri, 06 Feb 2009 08:25:39 +0100 Subject: problems with check_openmanage In-Reply-To: <62D20A54-3EA9-428E-879D-9E7DA0E8E399@ena.com> References: <498AF5B9.4040302@nicole-haehnel.de> <62D20A54-3EA9-428E-879D-9E7DA0E8E399@ena.com> Message-ID: <498BE5F3.30300@nicole-haehnel.de> Marc Powell schrieb: > On Feb 5, 2009, at 8:20 AM, Nicole H?hnel wrote: > > >> Hi, >> I tried check_openmanage today on our dell servers. >> But on every PE2650 and PE1750 I get this error: >> >> ./check_openmanage -s -C bgsro -H xxxxx -e -i --state >> SNMP [processors]: Requested entries are empty or do not exist. >> >> If I run check_openmanage locally on a PE2650, I get this: >> >> ./check_openmanage -e -i --state >> Use of uninitialized value in string eq at /check_openmanage line >> 2083. >> OK - System: 'poweredge 2650', S/N: 'xxxx', ROM: 'A21 10/05/2006', >> hardware working fine, 1 logical drives, 2 physical drives >> >> The other servers (2850, 2950) work fine. >> >> I'd like to use snmp instead of nrpe. >> Some ideas what's wrong? >> > > I don't use openmanage but I may be able to help point you in the > right direction. The second test succeeds because the script is > running the omreport binary directly. The first fails because it is > trying to get the values from SNMP and the snmpd on the machine > doesn't know about the tree '1.3.6.1.4.1.674...'. Are you running ucd- > snmp on all the machines? Is snmpd.conf the same? A quick google shows > that you can use ucd-snmp to proxy those requests to the openmanage > snmp agent. From http://www.kilala.nl/Sysadmin/index.php?id=735 -- > > # Pass requests to Dell OpenManage > proxy -c public localhost:1163 .1.3.6.1.2.1.674 > > The community 'public' and the ':1163' port may need to be customized > if those are not the openmanage default. > > HTH, > > -- > Marc > > > ------------------------------------------------------------------------------ > Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) > software. With Adobe AIR, Ajax developers can use existing skills and code to > build responsive, highly engaging applications that combine the power of local > resources and data with the reach of the web. Download the Adobe AIR SDK and > Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > Hi, I am using net-snmp on sles10sp2 and rhel5.3 servers. The snmpd.conf is equal on every server. # Allow Systems Management Data Engine SNMP to connect to snmpd using SMUX smuxpeer .1.3.6.1.4.1.674.10892.1 The problem is only on older servers. The newer ones work fine with snmp. And I used check_om_snmp before on all servers without any problems. Thanks! Nicole ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mattias.ryrlen at op5.com Fri Feb 6 08:45:42 2009 From: mattias.ryrlen at op5.com (Mattias =?ISO-8859-1?Q?Ryrl=E9n?=) Date: Fri, 06 Feb 2009 08:45:42 +0100 Subject: AS400 automated response to Messages In-Reply-To: <96238.64944.qm@web56008.mail.re3.yahoo.com> References: <96238.64944.qm@web56008.mail.re3.yahoo.com> Message-ID: <1233906342.8229.5.camel@mr-laptop> Hi, On Thu, 2009-02-05 at 21:43 -0800, g m wrote: > Has anyone used nagios to respond to automatically respond to messages in the message queue on the as400 ? We have several customers that does that. http://sourceforge.net/projects/nas400plugin/ should do the work. > > > > > ------------------------------------------------------------------------------ > Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) > software. With Adobe AIR, Ajax developers can use existing skills and code to > build responsive, highly engaging applications that combine the power of local > resources and data with the reach of the web. Download the Adobe AIR SDK and > Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- V?nliga h?lsningar / Best Regards Mattias Ryrl?n __________________________ op5 AB F?rsta L?nggatan 19 SE-413 27 G?teborg Mobil: +46 735-17 70 99 Support: +46 31-774 09 24 www.op5.com ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Feb 6 10:46:49 2009 From: ml at nicole-haehnel.de (=?ISO-8859-1?Q?Nicole_H=E4hnel?=) Date: Fri, 06 Feb 2009 10:46:49 +0100 Subject: Nagios 3.1.0 - refresh (f5) brings you back to home screen In-Reply-To: <15DE1A7F91855E49A18A487C43846C8B590427BE1D@modog2.modog.com> References: <15DE1A7F91855E49A18A487C43846C8B590427BE1D@modog2.modog.com> Message-ID: <498C0709.1030201@nicole-haehnel.de> Seth P. Low schrieb: > I have been using nagios for years and have just moved from 3.0.5 to 3.1.0. I have noticed that in 3.1.0 (regardless of what browser I am using), hitting F5 brings me back to the welcome page on 2 different installs. Anyone else seeing this? Suggestions for correcting? Thanks, -Seth > ------------------------------------------------------------------------------ > Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) > software. With Adobe AIR, Ajax developers can use existing skills and code to > build responsive, highly engaging applications that combine the power of local > resources and data with the reach of the web. Download the Adobe AIR SDK and > Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > Hi, I have the same problem, but no solution. It is php now instead of html with a frameset. Framesets often make problems. Nicole ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From t.h.amundsen at usit.uio.no Fri Feb 6 11:56:03 2009 From: t.h.amundsen at usit.uio.no (Trond Hasle Amundsen) Date: Fri, 06 Feb 2009 11:56:03 +0100 Subject: problems with check_openmanage In-Reply-To: <498BE5F3.30300@nicole-haehnel.de> ("Nicole =?utf-8?Q?H=C3=A4?= =?utf-8?Q?hnel=22's?= message of "Fri\, 06 Feb 2009 08\:25\:39 +0100") References: <498AF5B9.4040302@nicole-haehnel.de> <62D20A54-3EA9-428E-879D-9E7DA0E8E399@ena.com> <498BE5F3.30300@nicole-haehnel.de> Message-ID: <15ty6wj3kcc.fsf@tux.uio.no> Nicole H?hnel writes: > I am using net-snmp on sles10sp2 and rhel5.3 servers. > The snmpd.conf is equal on every server. > > # Allow Systems Management Data Engine SNMP to connect to snmpd using SMUX > smuxpeer .1.3.6.1.4.1.674.10892.1 > > The problem is only on older servers. The newer ones work fine with snmp. > And I used check_om_snmp before on all servers without any problems. SNMP via OMSA is different with older versions of OMSA. Which version are the troublesome servers using? You can find the OMSA version by running 'omreport system info' (omreport.exe on windows). Regards, -- Trond ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From duke at sigsegv.at Fri Feb 6 11:59:46 2009 From: duke at sigsegv.at (Thomas Hager) Date: Fri, 06 Feb 2009 11:59:46 +0100 Subject: Nagios sending notifications to Tivoli (TEC) In-Reply-To: <20090206050702.GA8823@cotterpin.mamista.net> References: <20090206050702.GA8823@cotterpin.mamista.net> Message-ID: <1233917986.23461.6.camel@localhost.localdomain> On Fri, 2009-02-06 at 16:07 +1100, Martin Barry wrote: > Howdy hi, > Is there anyone on list who has had any success with with Nagios sending > notifications to Tivoli Enterprise Console (TEC)? yes, we do that. IBM provides a command-line tool called postemsg to send external notifications to the TEC. we trigger this tool via eventhandlers. hth, tom. -- Thomas "Duke" Hager duke at sigsegv.at GPG: 1024D/D27F858C http://www.sigsegv.at/gpg/duke.gpg ================================================================= "Never Underestimate the Power of Stupid People in Large Groups." -------------- 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 -------------- ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kyleodonnell at gmail.com Fri Feb 6 13:58:04 2009 From: kyleodonnell at gmail.com (Kyle O'Donnell) Date: Fri, 6 Feb 2009 07:58:04 -0500 Subject: Nagios sending notifications to Tivoli (TEC) In-Reply-To: <1233917986.23461.6.camel@localhost.localdomain> References: <20090206050702.GA8823@cotterpin.mamista.net> <1233917986.23461.6.camel@localhost.localdomain> Message-ID: <2274b9c30902060458p348cf6d6ucc116000fd36e4a2@mail.gmail.com> we are using postemsg as well. but we execute it as a notification command instead of an eventhandler. On 2/6/09, Thomas Hager wrote: > On Fri, 2009-02-06 at 16:07 +1100, Martin Barry wrote: >> Howdy > hi, > >> Is there anyone on list who has had any success with with Nagios sending >> notifications to Tivoli Enterprise Console (TEC)? > yes, we do that. IBM provides a command-line tool called postemsg to > send external notifications to the TEC. > > we trigger this tool via eventhandlers. > > hth, > tom. > > -- > Thomas "Duke" Hager duke at sigsegv.at > GPG: 1024D/D27F858C http://www.sigsegv.at/gpg/duke.gpg > ================================================================= > "Never Underestimate the Power of Stupid People in Large Groups." > > ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From martyn at chetnet.co.uk Fri Feb 6 15:06:13 2009 From: martyn at chetnet.co.uk (Martyn) Date: Fri, 6 Feb 2009 14:06:13 -0000 Subject: Ubunt- Nagios3-Centreon 2-ndo2 In-Reply-To: <498B729D.7090103@networkmail.eu> References: <498B729D.7090103@networkmail.eu> Message-ID: Yes cheers Andy I worked it out thanks Martyn -----Original Message----- From: Andy Shellam [mailto:andy-lists at networkmail.eu] Sent: 05 February 2009 23:14 To: Martyn Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Ubunt- Nagios3-Centreon 2-ndo2 Martyn, You've probably figured that out by now, but that command-line should be typed into your shell command prompt, not the MySQL one! Make sure your command prompt does not start "mysql >" before you type that command in. If it does, first use "quit" to exit back to your system shell, then try it again. As for your other question, yes because it's a string you need to quote it using '. Andy Martyn wrote: > Now it looks as though the DB is missing something > > mysql> mysql -u root ndo < > /usr/local/src/centreon-2.0/www/install/createNDODB.sql; > ERROR 1064 (42000): You have an error in your SQL syntax; check the > manual that corresponds to your MySQL server version for the right > syntax to use near 'mysql -u root ndo < > /usr/local/src/centreon-2.0/www/install/createNDODB.sql' at line 1 > > Will take a look into in to see what it is > > Thanks for the reply though, it got me one stage further > > Martyn > > -----Original Message----- > From: Andy Shellam [mailto:andy-lists at networkmail.eu] > Sent: 05 February 2009 21:12 > To: Martyn > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Ubunt- Nagios3-Centreon 2-ndo2 > > Martyn, > > By the looks of it, there's a missing ";" at the end of one of the > queries in that file. I don't use NDODB so I cannot elaborate any more than that. > > Try running the command again and simply putting ; on the line > beginning with "->" > > HTH, > Andy > > Martyn wrote: > >> Hi Group. >> >> I'm trying to install Centreon on my Ubuntu box, I'm following the >> install guide and hit a snag. >> Looking at the site install guide here >> _http://en.doc.centreon.com/Nagios3_Centreon2_Ubuntu_ndo2_ I'm hit a >> problem at this stage. >> >> # mysql -u root ndo < >> /usr/local/src/centreon-2.0/www/install/createNDODB.sql >> >> When I run that query it just returns with -> and sits there forever >> or until I press ctrl c >> >> Do you know what the issue is at all. >> >> Thanks >> >> Martyn >> >> --------------------------------------------------------------------- >> - >> -- >> >> --------------------------------------------------------------------- >> - >> -------- Create and Deploy Rich Internet Apps outside the browser >> with >> Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use >> existing skills and code to build responsive, highly engaging >> applications that combine the power of local resources and data with >> the reach of the web. Download the Adobe AIR SDK and Ajax docs to >> start building applications today-http://p.sf.net/sfu/adobe-com >> --------------------------------------------------------------------- >> - >> -- >> >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> > reporting any issue. > >> ::: Messages without supporting info will risk being sent to >> /dev/null >> > > > ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From martyn at chetnet.co.uk Fri Feb 6 15:05:35 2009 From: martyn at chetnet.co.uk (Martyn) Date: Fri, 6 Feb 2009 14:05:35 -0000 Subject: MRTG Message-ID: Hi there. Is this the best way to get MRTG working in Ubuntu? http://linuxbasement.com/content/mrtg-ubuntu-server Regards Martyn -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From martyn at chetnet.co.uk Fri Feb 6 17:02:49 2009 From: martyn at chetnet.co.uk (Martyn) Date: Fri, 6 Feb 2009 16:02:49 -0000 Subject: Centreon Message-ID: Have any of you got Centreon working with Nagios, I just followed their Wiki guide and it has messed my up. Going to try and delete all the .cfg files it created in my Nagios and replace my nagios.cfg to see if I can get back up and running again Martyn -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jpratt at norwich.edu Fri Feb 6 17:14:12 2009 From: jpratt at norwich.edu (James Pratt) Date: Fri, 6 Feb 2009 11:14:12 -0500 Subject: Centreon In-Reply-To: References: Message-ID: <8147CCE3C4A8764DA9980125EE70E823837ACB@nuexchg.norwich.edu> From: Martyn [mailto:martyn at chetnet.co.uk] Sent: Friday, February 06, 2009 11:03 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Centreon Have any of you got Centreon working with Nagios, I just followed their Wiki guide and it has messed my up. Going to try and delete all the .cfg files it created in my Nagios and replace my nagios.cfg to see if I can get back up and running again Martyn --- I installed it and had it working a year or so ago - I found it to be quite "invasive" and it changed/messed up my cfg's as well, and then was a total nightmare to uninstall... I had to do a "find / | grep centreon" and then piped it out to "xargs rm -rf " so it would delete everything with "centreon" in it found... (Maybe it's better now, but it doesn't sound it!)... :| Cheers jamie ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.Stewart at sig.com Fri Feb 6 17:30:54 2009 From: Tom.Stewart at sig.com (Stewart, Tom) Date: Fri, 6 Feb 2009 11:30:54 -0500 Subject: One Time Check In-Reply-To: References: <6B21C16B-E48F-4563-B47D-0F1395AD116B@ena.com> Message-ID: I've got a question for everyone... We're using Nagios that we use for a bunch of different types of checks. However, we have one check that we only want to run once a day. What can we do in Nagios to keep this from checking throughout the day? Thanks. Tom IMPORTANT: The information contained in this email and/or its attachments is confidential. If you are not the intended recipient, please notify the sender immediately by reply and immediately delete this message and all its attachments. Any review, use, reproduction, disclosure or dissemination of this message or any attachment by an unintended recipient is strictly prohibited. Neither this message nor any attachment is intended as or should be construed as an offer, solicitation or recommendation to buy or sell any security or other financial instrument. Neither the sender, his or her employer nor any of their respective affiliates makes any warranties as to the completeness or accuracy of any of the information contained herein or that this message or any of its attachments is free of vi ruses. ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 scott-ackerman.com Fri Feb 6 17:20:04 2009 From: lists at scott-ackerman.com (Scott Ackerman) Date: Fri, 6 Feb 2009 09:20:04 -0700 Subject: Centreon In-Reply-To: References: Message-ID: I tried Centreon on a CentOS 5.2 install and got as far as the web installer portion and it couldn't find 'pear.php' and by all indications the installer script etc. had identified the correct location. I spent probably 3 hours and I couldn't get it to work. Scott Ackerman Usable Web Solutions 1212 Baker Street Fort Collins, Colorado 80524 970-689-3999 www.us-able.com "Design is not just what it looks like and feels like. Design is how it works" - Steve Jobs _____ From: Martyn [mailto:martyn at chetnet.co.uk] Sent: Friday, February 06, 2009 9:03 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Centreon Have any of you got Centreon working with Nagios, I just followed their Wiki guide and it has messed my up. Going to try and delete all the .cfg files it created in my Nagios and replace my nagios.cfg to see if I can get back up and running again Martyn -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Feb 6 17:53:13 2009 From: smcafee at collaborativefusion.com (Sean McAfee) Date: Fri, 06 Feb 2009 11:53:13 -0500 Subject: One Time Check In-Reply-To: References: <6B21C16B-E48F-4563-B47D-0F1395AD116B@ena.com> Message-ID: <498C6AF9.4010308@collaborativefusion.com> Stewart, Tom wrote: > I've got a question for everyone... > > We're using Nagios that we use for a bunch of different types of checks. However, we have one check that we only want to run once a day. What can we do in Nagios to keep this from checking throughout the day? > > Thanks. > > Tom I have something similar that needs to run twice a day. I used time periods and a service template to control when it runs: define timeperiod{ timeperiod_name twicedaily alias For Running 2x Daily monday 08:40-09:00,19:50-20:10 tuesday 08:40-09:00,19:50-20:10 wednesday 08:40-09:00,19:50-20:10 thursday 08:40-09:00,19:50-20:10 friday 08:40-09:00,19:50-20:10 saturday 08:40-09:00,19:50-20:10 sunday 08:40-09:00,19:50-20:10 } define service{ name generic-twice-daily use generic-service normal_check_interval 30 register 0 max_check_attempts 1 check_period twicedaily } All checks using this template kick off at 8:40 & 19:50. Since normal_check_interval is greater than the time period windows, it will only run once per window. If there's a better way to do it, I'd like to know as well. -- Sean McAfee System Engineer **************************************************************** IMPORTANT: This message contains confidential information and is intended only for the individual named. If the reader of this message is not an intended recipient (or the individual responsible for the delivery of this message to an intended recipient), please be advised that any re-use, dissemination, distribution or copying of this message is prohibited. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. **************************************************************** IMPORTANT: This message contains confidential information and is intended only for the individual named. If the reader of this message is not an intended recipient (or the individual responsible for the delivery of this message to an intended recipient), please be advised that any re-use, dissemination, distribution or copying of this message is prohibited. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Feb 6 17:59:29 2009 From: marc at ena.com (Marc Powell) Date: Fri, 6 Feb 2009 10:59:29 -0600 Subject: One Time Check In-Reply-To: References: <6B21C16B-E48F-4563-B47D-0F1395AD116B@ena.com> Message-ID: <0FCD4D73-AEBC-457F-84FA-488FF9F0EDCC@ena.com> On Feb 6, 2009, at 10:30 AM, Stewart, Tom wrote: > I've got a question for everyone... > > We're using Nagios that we use for a bunch of different types of > checks. However, we have one check that we only want to run once a > day. What can we do in Nagios to keep this from checking throughout > the day? set the correct check_interval in the service definition. http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#service check_interval 1440 # 1440 minutes or 1 every 24 hours. -- Marc ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From martyn at chetnet.co.uk Fri Feb 6 18:00:49 2009 From: martyn at chetnet.co.uk (Martyn) Date: Fri, 6 Feb 2009 17:00:49 -0000 Subject: Centreon In-Reply-To: References: Message-ID: I had that at first but I got past that, its just the monitoring now that does not work. 3 hours I have been at it for days now :) Cheers _____ From: Scott Ackerman [mailto:lists at scott-ackerman.com] Sent: 06 February 2009 16:20 To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Centreon I tried Centreon on a CentOS 5.2 install and got as far as the web installer portion and it couldn't find 'pear.php' and by all indications the installer script etc. had identified the correct location. I spent probably 3 hours and I couldn't get it to work. Scott Ackerman Usable Web Solutions 1212 Baker Street Fort Collins, Colorado 80524 970-689-3999 www.us-able.com "Design is not just what it looks like and feels like. Design is how it works" - Steve Jobs _____ From: Martyn [mailto:martyn at chetnet.co.uk] Sent: Friday, February 06, 2009 9:03 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Centreon Have any of you got Centreon working with Nagios, I just followed their Wiki guide and it has messed my up. Going to try and delete all the .cfg files it created in my Nagios and replace my nagios.cfg to see if I can get back up and running again Martyn -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rpnabar at gmail.com Fri Feb 6 18:08:00 2009 From: rpnabar at gmail.com (Rahul Nabar) Date: Fri, 6 Feb 2009 11:08:00 -0600 Subject: One Time Check In-Reply-To: <0FCD4D73-AEBC-457F-84FA-488FF9F0EDCC@ena.com> References: <6B21C16B-E48F-4563-B47D-0F1395AD116B@ena.com> <0FCD4D73-AEBC-457F-84FA-488FF9F0EDCC@ena.com> Message-ID: On Fri, Feb 6, 2009 at 10:59 AM, Marc Powell wrote: > > > set the correct check_interval in the service definition. > http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#service > > check_interval 1440 # 1440 minutes or 1 every 24 hours. > Unless it is important to control *when* the check runs within a 24 hour period? -- Rahul -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kyleodonnell at gmail.com Fri Feb 6 18:32:59 2009 From: kyleodonnell at gmail.com (Kyle O'Donnell) Date: Fri, 6 Feb 2009 12:32:59 -0500 Subject: One Time Check In-Reply-To: References: <6B21C16B-E48F-4563-B47D-0F1395AD116B@ena.com> <0FCD4D73-AEBC-457F-84FA-488FF9F0EDCC@ena.com> Message-ID: <2274b9c30902060932u46767ee8o1fbd12a0e630494e@mail.gmail.com> I've wondered which method is more efficient in nagios. using time periods + normal interval (run every 1 hr but get the time period to 00:00-01:00) or settting the normal interval to 1440 On 2/6/09, Rahul Nabar wrote: > On Fri, Feb 6, 2009 at 10:59 AM, Marc Powell wrote: > >> >> >> set the correct check_interval in the service definition. >> http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#service >> >> check_interval 1440 # 1440 minutes or 1 every 24 hours. >> > > Unless it is important to control *when* the check runs within a 24 hour > period? > > -- > Rahul > ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rpnabar at gmail.com Fri Feb 6 18:56:23 2009 From: rpnabar at gmail.com (Rahul Nabar) Date: Fri, 6 Feb 2009 11:56:23 -0600 Subject: NRPE and redundant calls to remote hosts. Message-ID: I've been adding a bunch of checks via NRPE on remote nodes and this got me thinking. Isn't it inefficient to keep starting check_nrpe calls from the monitoring host all the time? Why cannot nrpe on the remote node monitor some of the local services and only send a message back to nagios if there is a status change? For warnings based on things like "disk usage", "cpu usage", "total procs", "pbs scheduler daemon status" , "cpu temperatures" etc. coudn't this approach relive the central host's cpu of a lot of endless check_nrpe calls? NRPE is already doing the work; its just a question of what initiates a communication channel between NRPE and nagios. Just curious. Or maybe there is a way of achieving this already that I don't know of! -- Rahul -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mwlucas at blackhelicopters.org Fri Feb 6 18:24:54 2009 From: mwlucas at blackhelicopters.org (Michael W. Lucas) Date: Fri, 6 Feb 2009 12:24:54 -0500 Subject: PNP performance Message-ID: <20090206172454.GA16459@bewilderbeast.blackhelicopters.org> Hi, I have Nagios 3.0.6 on FreeBSD 7.1/amd64, with ~1500 services on ~250 hosts. I've been investigating replacing our MRTG setup with PNP. PNP runs fine, and we are keeping about 1450 MRTG graphs. Our plans call for at least doubling the number of services and graphs. Adding process_perfdata.pl has increased the system load from "minimal" to 10-20. I see that process_perfdata.pl will not run under ePN. Anyone out there have ways to reduce process_perfdata.pl's system load, short of rewriting it in C or making it ePN-friendly? Thanks, ==ml -- Michael W. Lucas mwlucas at BlackHelicopters.org, mwlucas at FreeBSD.org http://www.BlackHelicopters.org/~mwlucas/ "My pessimism extends to the point of even suspecting the sincerity of the pessimists." -- Jean Rostand, French biologist and philosopher ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Feb 6 18:57:59 2009 From: marc at ena.com (Marc Powell) Date: Fri, 6 Feb 2009 11:57:59 -0600 Subject: One Time Check In-Reply-To: References: <6B21C16B-E48F-4563-B47D-0F1395AD116B@ena.com> <0FCD4D73-AEBC-457F-84FA-488FF9F0EDCC@ena.com> Message-ID: <723C844D-975F-420C-B149-29B646C51C74@ena.com> On Feb 6, 2009, at 11:08 AM, Rahul Nabar wrote: >> >> check_interval 1440 # 1440 minutes or 1 every 24 hours. >> > Unless it is important to control *when* the check runs within a 24 > hour period? The OP didn't state any such requirement. -- Marc ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Feb 6 19:03:36 2009 From: pitchfork at ederdrom.de (Joerg Linge) Date: Fri, 06 Feb 2009 19:03:36 +0100 Subject: PNP performance In-Reply-To: <20090206172454.GA16459@bewilderbeast.blackhelicopters.org> References: <20090206172454.GA16459@bewilderbeast.blackhelicopters.org> Message-ID: <498C7B78.5070906@ederdrom.de> Michael W. Lucas schrieb: > Hi, > > I have Nagios 3.0.6 on FreeBSD 7.1/amd64, with ~1500 services on ~250 > hosts. I've been investigating replacing our MRTG setup with PNP. > PNP runs fine, and we are keeping about 1450 MRTG graphs. Our plans > call for at least doubling the number of services and graphs. > > Adding process_perfdata.pl has increased the system load from > "minimal" to 10-20. I see that process_perfdata.pl will not run under > ePN. > > Anyone out there have ways to reduce process_perfdata.pl's system > load, short of rewriting it in C or making it ePN-friendly? Do you already use the NPCD ? http://www.pnp4nagios.org/pnp/modes Joerg ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Feb 6 19:04:24 2009 From: marc at ena.com (Marc Powell) Date: Fri, 6 Feb 2009 12:04:24 -0600 Subject: NRPE and redundant calls to remote hosts. In-Reply-To: References: Message-ID: On Feb 6, 2009, at 11:56 AM, Rahul Nabar wrote: > I've been adding a bunch of checks via NRPE on remote nodes and this > got me thinking. Isn't it inefficient to keep starting check_nrpe > calls from the monitoring host all the time? > > Why cannot nrpe on the remote node monitor some of the local > services and only send a message back to nagios if there is a status > change? > > Just curious. Or maybe there is a way of achieving this already that > I don't know of! Passive checks with NSCA is pretty close, minus the 'if there is a status change' part. You could build that logic into whatever wrapper you are using to run the plugins on the remote host though. From the perspective of the nagios host, passive checks are much better than active checks. -- Marc ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rpnabar at gmail.com Fri Feb 6 19:06:19 2009 From: rpnabar at gmail.com (Rahul Nabar) Date: Fri, 6 Feb 2009 12:06:19 -0600 Subject: One Time Check In-Reply-To: <723C844D-975F-420C-B149-29B646C51C74@ena.com> References: <6B21C16B-E48F-4563-B47D-0F1395AD116B@ena.com> <0FCD4D73-AEBC-457F-84FA-488FF9F0EDCC@ena.com> <723C844D-975F-420C-B149-29B646C51C74@ena.com> Message-ID: On Fri, Feb 6, 2009 at 11:57 AM, Marc Powell wrote: > > On Feb 6, 2009, at 11:08 AM, Rahul Nabar wrote: > > >> > >> check_interval 1440 # 1440 minutes or 1 every 24 hours. > >> > > Unless it is important to control *when* the check runs within a 24 > > hour period? > > The OP didn't state any such requirement. You are right. I over-assumed. -- Rahul -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rogerlz at gmail.com Fri Feb 6 19:07:19 2009 From: rogerlz at gmail.com (Rogerio Goncalves) Date: Fri, 6 Feb 2009 15:07:19 -0300 Subject: Centreon In-Reply-To: References: Message-ID: <212ae3760902061007w2bb19d36i474cd66da0f5eaab@mail.gmail.com> Whats problem?I have centreon 2.0 installed with nagios 3.0 on a chroot of ubuntu server. And it works fine. On Fri, Feb 6, 2009 at 2:00 PM, Martyn wrote: > I had that at first but I got past that, its just the monitoring now that > does not work. > 3 hours I have been at it for days now :) > > Cheers > > ------------------------------ > *From:* Scott Ackerman [mailto:lists at scott-ackerman.com] > *Sent:* 06 February 2009 16:20 > *To:* nagios-users at lists.sourceforge.net > *Subject:* Re: [Nagios-users] Centreon > > I tried Centreon on a CentOS 5.2 install and got as far as the web > installer portion and it couldn't find 'pear.php' and by all indications the > installer script etc. had identified the correct location. I spent probably > 3 hours and I couldn't get it to work. > > > Scott Ackerman > *Usable Web Solutions > *1212 Baker Street Fort Collins, Colorado 80524 > 970-689-3999 > www.us-able.com > > *"Design is not just what it looks like and feels like. Design is how it > works" - Steve Jobs* > > > ------------------------------ > *From:* Martyn [mailto:martyn at chetnet.co.uk] > *Sent:* Friday, February 06, 2009 9:03 AM > *To:* nagios-users at lists.sourceforge.net > *Subject:* [Nagios-users] Centreon > > Have any of you got Centreon working with Nagios, I just followed their > Wiki guide and it has messed my up. > > Going to try and delete all the .cfg files it created in my Nagios and > replace my nagios.cfg to see if I can get back up and running again > > Martyn > > > > ------------------------------------------------------------------------------ > Create and Deploy Rich Internet Apps outside the browser with > Adobe(R)AIR(TM) > software. With Adobe AIR, Ajax developers can use existing skills and code > to > build responsive, highly engaging applications that combine the power of > local > resources and data with the reach of the web. Download the Adobe AIR SDK > and > Ajax docs to start building applications today- > http://p.sf.net/sfu/adobe-com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- [ Rog?rio Gon?alves ] -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Michael.Washington at fitchratings.com Fri Feb 6 18:47:36 2009 From: Michael.Washington at fitchratings.com (Michael.Washington at fitchratings.com) Date: Fri, 6 Feb 2009 11:47:36 -0600 Subject: Nagios remote GUI interface Message-ID: Just completed an upgrade, from Nagios 1.x to 3.x on separate desktop devices however. On replacement device, I can locally load GUI using http specified to either localhost or actual static ip, but cannot load remotely as I was able to on 1.x device. 1.x was load on REL enterprise 3.x level while 3.x was through Fedora 9/SELinux. My browser fails to present an authentication Window fro the 3.x device. I thought it was the Linux firewall config which I have temporarily disabled while resolving, but still same problem. Any thoughts? ______________________________________________________________________ Confidentiality Notice: The information in this e-mail and any attachment(s) is confidential and for the use of the addressee(s) only. If you have received this e-mail in error, please delete this e-mail. Unauthorized use, reliance, disclosure or copying of the contents of this e-mail, or any similar action, is prohibited. This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From martyn at chetnet.co.uk Fri Feb 6 19:24:03 2009 From: martyn at chetnet.co.uk (Martyn) Date: Fri, 6 Feb 2009 18:24:03 -0000 Subject: Centreon In-Reply-To: <212ae3760902061007w2bb19d36i474cd66da0f5eaab@mail.gmail.com> References: <212ae3760902061007w2bb19d36i474cd66da0f5eaab@mail.gmail.com> Message-ID: I'm glad you asked that. I install everything by the excellent wiki guide and all went well, Nagios started and I added my Servers and Routers and they are logging well, Not got MRTG installed as yet but I can see uptime and such, in all there are 3 Servers a Switch and 1 Network printer Fire up Centreon>configuration>Hosts and I add a Cisco 3550, put all my Switch's details in and click save When I look at under home there are no hosts being monitored nor servers.. I then do the following which has complete knocked me for six:- Centreon>Configuration>Nagios Put tick in the following boxes, Generate Configuration Files, Run Nagios debug, Move export Files and restart Nagios Just gone back to my Nagios page and all my Servers and Switches have gone and been replaced by the 1 Switch I added above, not only that they all show errors, the switch shows it pings ok but the host name is Red, clicking on that it states host down. Centreon shows Database errors: Under the Service /.: Error: hrstorageDescr Table : Requested tables empty or missing Under Load: Unknown: Received nosuchname(2) error-status at error-index 3 Also Centreon has added all the .cfg files its creates into my /usr/nagios/etc directory and not /usr/nagios/etc/objects where my others are located, I hoping to delete thses files and replace the nagios.cfg file that was create by Centreon to be me back up and running. Sorry its such a long post Ubuntu 8.4 Nagios 3.6 Nagios-Plugins 1.4.12 Centreon 2 stable _____ From: Rogerio Goncalves [mailto:rogerlz at gmail.com] Sent: 06 February 2009 18:07 To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Centreon Whats problem? I have centreon 2.0 installed with nagios 3.0 on a chroot of ubuntu server. And it works fine. On Fri, Feb 6, 2009 at 2:00 PM, Martyn wrote: I had that at first but I got past that, its just the monitoring now that does not work. 3 hours I have been at it for days now :) Cheers _____ From: Scott Ackerman [mailto:lists at scott-ackerman.com] Sent: 06 February 2009 16:20 To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Centreon I tried Centreon on a CentOS 5.2 install and got as far as the web installer portion and it couldn't find 'pear.php' and by all indications the installer script etc. had identified the correct location. I spent probably 3 hours and I couldn't get it to work. Scott Ackerman Usable Web Solutions 1212 Baker Street Fort Collins, Colorado 80524 970-689-3999 www.us-able.com "Design is not just what it looks like and feels like. Design is how it works" - Steve Jobs _____ From: Martyn [mailto:martyn at chetnet.co.uk] Sent: Friday, February 06, 2009 9:03 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Centreon Have any of you got Centreon working with Nagios, I just followed their Wiki guide and it has messed my up. Going to try and delete all the .cfg files it created in my Nagios and replace my nagios.cfg to see if I can get back up and running again Martyn ---------------------------------------------------------------------------- -- Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- [ Rog?rio Gon?alves ] -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rpnabar at gmail.com Fri Feb 6 19:32:20 2009 From: rpnabar at gmail.com (Rahul Nabar) Date: Fri, 6 Feb 2009 12:32:20 -0600 Subject: Nagios remote GUI interface In-Reply-To: References: Message-ID: On Fri, Feb 6, 2009 at 11:47 AM, wrote: > > Just completed an upgrade, from Nagios 1.x to 3.x on separate desktop > devices however. On replacement device, I can locally load GUI using http > specified to either localhost or actual static ip, but cannot load > remotely as I was able to on 1.x device. 1.x was load on REL enterprise > 3.x level while 3.x was through Fedora 9/SELinux. My browser fails to > present an authentication Window fro the 3.x device. I thought it was the > Linux firewall config which I have temporarily disabled while resolving, > but still same problem. Any thoughts? > > Maybe SELINUX is blocking it? Try setenforce 0 just to check? Maybe you already did. Just a thought. -- Rahul -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mwlucas at blackhelicopters.org Fri Feb 6 20:00:14 2009 From: mwlucas at blackhelicopters.org (Michael W. Lucas) Date: Fri, 6 Feb 2009 14:00:14 -0500 Subject: PNP performance In-Reply-To: <498C7B78.5070906@ederdrom.de> References: <20090206172454.GA16459@bewilderbeast.blackhelicopters.org> <498C7B78.5070906@ederdrom.de> Message-ID: <20090206190014.GA17098@bewilderbeast.blackhelicopters.org> On Fri, Feb 06, 2009 at 07:03:36PM +0100, Joerg Linge wrote: > Michael W. Lucas schrieb: > >Hi, > > > >I have Nagios 3.0.6 on FreeBSD 7.1/amd64, with ~1500 services on ~250 > >hosts. I've been investigating replacing our MRTG setup with PNP. > >PNP runs fine, and we are keeping about 1450 MRTG graphs. Our plans > >call for at least doubling the number of services and graphs. > > > >Adding process_perfdata.pl has increased the system load from > >"minimal" to 10-20. I see that process_perfdata.pl will not run under > >ePN. > > > >Anyone out there have ways to reduce process_perfdata.pl's system > >load, short of rewriting it in C or making it ePN-friendly? > > Do you already use the NPCD ? > > http://www.pnp4nagios.org/pnp/modes Yes, we use NPCD. It made it possible to get this far. :-) ==ml -- Michael W. Lucas mwlucas at BlackHelicopters.org, mwlucas at FreeBSD.org http://www.BlackHelicopters.org/~mwlucas/ "My pessimism extends to the point of even suspecting the sincerity of the pessimists." -- Jean Rostand, French biologist and philosopher ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Feb 6 20:11:47 2009 From: perldork at webwizarddesign.com (Max) Date: Fri, 6 Feb 2009 14:11:47 -0500 Subject: PNP performance In-Reply-To: <20090206190014.GA17098@bewilderbeast.blackhelicopters.org> References: <20090206172454.GA16459@bewilderbeast.blackhelicopters.org> <498C7B78.5070906@ederdrom.de> <20090206190014.GA17098@bewilderbeast.blackhelicopters.org> Message-ID: Hi Michael, I write about how the team I am on at Comcast implemented PNP to scale well on my blog. In a nutshell: * Use modpnpsender.c on your Nagios master (we added in fork() code so that Nagios doesn't pause while modpnpsender sends events .. will be releasing that code as a patch soon). Have modpnpsender send records to a second host. * Set up NPCD on the second host. * Use a small xinetd script to write out PNP records to the NPCD queue (we will be releasing the one we have in place as well soon). We trend on almost 6000 services (~ 1200 hosts) every 5 minutes (runs take about 4 minutes right now to trend on all services). This set up works very well for us and has kept the I/O wait load reasonable on the report server as well as load average. We also send all PNP events to syslog where we have anothr process send them to a long-term data warehouse we use .. and we do our notifications from this second host .. load stays at 2-3 right now. Not bad :). http://www.semintelligent.com/blog/articles/38/nagios-performance-tuning-early-lessons-learned-lessons-shared-part-4-scalable-performance-data-graphing On Fri, Feb 6, 2009 at 2:00 PM, Michael W. Lucas wrote: > On Fri, Feb 06, 2009 at 07:03:36PM +0100, Joerg Linge wrote: >> Michael W. Lucas schrieb: >> >Hi, >> > >> >I have Nagios 3.0.6 on FreeBSD 7.1/amd64, with ~1500 services on ~250 >> >hosts. I've been investigating replacing our MRTG setup with PNP. >> >PNP runs fine, and we are keeping about 1450 MRTG graphs. Our plans >> >call for at least doubling the number of services and graphs. >> > >> >Adding process_perfdata.pl has increased the system load from >> >"minimal" to 10-20. I see that process_perfdata.pl will not run under >> >ePN. >> > >> >Anyone out there have ways to reduce process_perfdata.pl's system >> >load, short of rewriting it in C or making it ePN-friendly? >> >> Do you already use the NPCD ? >> >> http://www.pnp4nagios.org/pnp/modes > > Yes, we use NPCD. It made it possible to get this far. :-) > > ==ml > > -- > Michael W. Lucas mwlucas at BlackHelicopters.org, mwlucas at FreeBSD.org > http://www.BlackHelicopters.org/~mwlucas/ > "My pessimism extends to the point of even suspecting the sincerity of > the pessimists." -- Jean Rostand, French biologist and philosopher > > ------------------------------------------------------------------------------ > Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) > software. With Adobe AIR, Ajax developers can use existing skills and code to > build responsive, highly engaging applications that combine the power of local > resources and data with the reach of the web. Download the Adobe AIR SDK and > Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Michael.Washington at fitchratings.com Fri Feb 6 19:49:42 2009 From: Michael.Washington at fitchratings.com (Michael.Washington at fitchratings.com) Date: Fri, 6 Feb 2009 12:49:42 -0600 Subject: Nagios remote GUI interface In-Reply-To: References: Message-ID: Just performed it...but still no luck Rahul Nabar To Michael.Washington at fitchratings.com 02/06/2009 12:32 cc PM nagios-users at lists.sourceforge.net Subject Re: [Nagios-users] Nagios remote GUI interface On Fri, Feb 6, 2009 at 11:47 AM, wrote: Just completed an upgrade, from Nagios 1.x to 3.x on separate desktop devices however. On replacement device, I can locally load GUI using http specified to either localhost or actual static ip, but cannot load remotely as I was able to on 1.x device. 1.x was load on REL enterprise 3.x level while 3.x was through Fedora 9/SELinux. My browser fails to present an authentication Window fro the 3.x device. I thought it was the Linux firewall config which I have temporarily disabled while resolving, but still same problem. Any thoughts? Maybe SELINUX is blocking it? Try setenforce 0 just to check? Maybe you already did. Just a thought. -- Rahul ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ ______________________________________________________________________ Confidentiality Notice: The information in this e-mail and any attachment(s) is confidential and for the use of the addressee(s) only. If you have received this e-mail in error, please delete this e-mail. Unauthorized use, reliance, disclosure or copying of the contents of this e-mail, or any similar action, is prohibited. This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Feb 6 20:29:59 2009 From: pitchfork at ederdrom.de (Joerg Linge) Date: Fri, 06 Feb 2009 20:29:59 +0100 Subject: PNP performance In-Reply-To: <20090206190014.GA17098@bewilderbeast.blackhelicopters.org> References: <20090206172454.GA16459@bewilderbeast.blackhelicopters.org> <498C7B78.5070906@ederdrom.de> <20090206190014.GA17098@bewilderbeast.blackhelicopters.org> Message-ID: <498C8FB7.1040202@ederdrom.de> Michael W. Lucas schrieb: > On Fri, Feb 06, 2009 at 07:03:36PM +0100, Joerg Linge wrote: >> Michael W. Lucas schrieb: >>> Hi, >>> >>> I have Nagios 3.0.6 on FreeBSD 7.1/amd64, with ~1500 services on ~250 >>> hosts. I've been investigating replacing our MRTG setup with PNP. >>> PNP runs fine, and we are keeping about 1450 MRTG graphs. Our plans >>> call for at least doubling the number of services and graphs. >>> >>> Adding process_perfdata.pl has increased the system load from >>> "minimal" to 10-20. I see that process_perfdata.pl will not run under >>> ePN. >>> >>> Anyone out there have ways to reduce process_perfdata.pl's system >>> load, short of rewriting it in C or making it ePN-friendly? >> Do you already use the NPCD ? >> >> http://www.pnp4nagios.org/pnp/modes > > Yes, we use NPCD. It made it possible to get this far. :-) Okay, whats about the rrdtool version? Do you use the rrdtool perl modules? Joerg ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andurin at process-zero.de Fri Feb 6 20:56:54 2009 From: andurin at process-zero.de (Hendrik Baecker) Date: Fri, 06 Feb 2009 20:56:54 +0100 Subject: PNP performance In-Reply-To: References: <20090206172454.GA16459@bewilderbeast.blackhelicopters.org> <498C7B78.5070906@ederdrom.de> <20090206190014.GA17098@bewilderbeast.blackhelicopters.org> Message-ID: <498C9606.6050309@process-zero.de> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Max schrieb: > Hi Michael, > > I write about how the team I am on at Comcast implemented PNP to > scale well on my blog. In a nutshell: > * Use modpnpsender.c on your Nagios master (we added in fork() code so > that Nagios doesn't pause while modpnpsender sends events .. will be > releasing that code as a patch soon). Have modpnpsender send records > to a second host. That's a thing that an eventbroker module never should do. Think about what a fork() does... > * Set up NPCD on the second host. > * Use a small xinetd script to write out PNP records to the NPCD queue > (we will be releasing the one we have in place as well soon). > It would be nice if you can submit it against the latest pnp code and on the pnp4nagios-devel list. > We trend on almost 6000 services (~ 1200 hosts) every 5 minutes (runs > take about 4 minutes right now to trend on all services). This set up > works very well for us and has kept the I/O wait load reasonable on > the report server as well as load average. Same thing on my side. ~6000 Services, don't know exactly how many of them don't support performancedata, but I have <10 seconds avg latency in Nagios while running all pnp stuff on the same server. Will say: I can't see a problem for nagios, except of massiv IO load for the system. Regards, Hendrik -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkmMlgYACgkQlI0PwfxLQjnZkgCfZ38szF/PLV+BWLJqlgcILbPs QMgAnRZWC48J9mLWReCMVt9TO1N8X2V2 =eHPU -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From curtislamasters at gmail.com Fri Feb 6 21:45:08 2009 From: curtislamasters at gmail.com (Curtis LaMasters) Date: Fri, 6 Feb 2009 14:45:08 -0600 Subject: NSClient++ Error Message-ID: <6b13ab0f0902061245g7daaefbcj6176e42d90ea88d0@mail.gmail.com> I'm so far unable to get this one figured out. No abnormal logs on the Nagios server but I get this on the client side: 2009-02-06 14:40:43: error:.\NSCAThread.cpp:177: <<< Failed to read header from: xx.xxx.xxx.50:5667 0: The operation completed successfully. Any idea what that means. I just installed this client today and have other clients with the same configuration working just fine. This is on a Windows Server 2003 SBS box. Curtis LaMasters http://www.curtis-lamasters.com http://www.builtnetworks.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rpnabar at gmail.com Fri Feb 6 21:59:01 2009 From: rpnabar at gmail.com (Rahul Nabar) Date: Fri, 6 Feb 2009 14:59:01 -0600 Subject: Nagios remote GUI interface In-Reply-To: References: Message-ID: On Fri, Feb 6, 2009 at 12:49 PM, wrote: > Just performed it...but still no luck > > Another random idea. Can you open any pages at all if they reside on the new machine? Just wondering if its an apache (etc.) issue. I had a bunch of restrictive conditions on my /etc/httpd/conf/httpd.conf about who could access what pages. -- Rahul -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Feb 6 22:01:38 2009 From: perldork at webwizarddesign.com (Max) Date: Fri, 6 Feb 2009 16:01:38 -0500 Subject: PNP performance In-Reply-To: <498C9606.6050309@process-zero.de> References: <20090206172454.GA16459@bewilderbeast.blackhelicopters.org> <498C7B78.5070906@ederdrom.de> <20090206190014.GA17098@bewilderbeast.blackhelicopters.org> <498C9606.6050309@process-zero.de> Message-ID: > That's a thing that an eventbroker module never should do. Think about > what a fork() does... Yes, I know, but without forking, our scheduling was skewing way beyond our 5 minute interval due to thousands of checks being sent from the Nagios server to the report server .. so what choice did I have? :) OUr report server can handle thousands of XML files via TCP a minute so we had to make that tradeoff. Our data is being trended in a long term data warehouse so getting all checks done as consistently as possible within a 5 minute interval (all are scheduled at 5 min intervals) is critical for us. So yes, fully aware that a NEB module should not do that but for us it was exactly what we needed to keep the nagios scheduler from skewing check execution times tremendously over a few hours. >> * Set up NPCD on the second host. >> * Use a small xinetd script to write out PNP records to the NPCD queue >> (we will be releasing the one we have in place as well soon). >> > It would be nice if you can submit it against the latest pnp code and on > the pnp4nagios-devel list. definitely > Same thing on my side. ~6000 Services, don't know exactly how many of > them don't support performancedata, but I have <10 seconds avg latency > in Nagios while running all pnp stuff on the same server. > Will say: I can't see a problem for nagios, except of massiv IO load for > the system. We are going to be scaling to 5-10k+ hosts so we are being very careful about not overloading our poller. And, as with the modpnpsender sending XML over a socket skewing scheduling times for checks so that they spilled into the next 5 minute chck period over a few hours (leaving gaps on performance graphs) as Nagios paused 5000 times every polling cycle for 5000 TCP sends :p we had the same problem with having Nagios write to NPCD queue on the Nagios polling server. - Max ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Feb 6 23:15:07 2009 From: perldork at webwizarddesign.com (Max) Date: Fri, 6 Feb 2009 17:15:07 -0500 Subject: PNP performance In-Reply-To: <498CB39E.1050307@process-zero.de> References: <20090206172454.GA16459@bewilderbeast.blackhelicopters.org> <498C7B78.5070906@ederdrom.de> <20090206190014.GA17098@bewilderbeast.blackhelicopters.org> <498C9606.6050309@process-zero.de> <498CB39E.1050307@process-zero.de> Message-ID: Hi Hendrik, On Fri, Feb 6, 2009 at 5:03 PM, Hendrik Baecker wrote: > hm... you should know that modpnpsender was written long time ago as a > fast shot to a nice idea. Yes, we have been doing some code clean up as we go along. > I thought no one will use that code outer a test environment. But as you > say that you are using that creepy code - let me know if there is more I > can do for you ;) Haha. I am thinking of changing it from the semi-valid XML it outputs to something simpler and cleaner .. either JSON or comma:separated pairs. We have been doing some code clean up as we use it so I will submit our little patches as well for that to the PNP list. > Maybe you want to check out the latest devel version, there is a new > (cleaner) module for getting performance data, not with a socket in it > but it might be faster than the normal way. It's called npcdmod. Will check that out, but we really need to send data to our second server so unless it uses a socket-based system :) I will continue to work with and on modpnpsender. The system I have been describing has been in place for 4+ months and has been very stable .. no segfaults or unexpected behavior. We can discuss more on the PNP mailing list if you would prefer ... I was even thinking of changing from TCP to UDP for the modpnpsender code, that would reduce the impact on the sending system and receiving system and the network traffic between the two systems. Also was going to put the destination host IP, port and the debug flag in an external config file so that the module doesn't have to be recompiled when the destination IP changes :). I understand it was not production ready, I am very glad you included it as with some minor changes it has been working very well for us! - Max ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andurin at process-zero.de Fri Feb 6 23:03:10 2009 From: andurin at process-zero.de (Hendrik Baecker) Date: Fri, 06 Feb 2009 23:03:10 +0100 Subject: PNP performance In-Reply-To: References: <20090206172454.GA16459@bewilderbeast.blackhelicopters.org> <498C7B78.5070906@ederdrom.de> <20090206190014.GA17098@bewilderbeast.blackhelicopters.org> <498C9606.6050309@process-zero.de> Message-ID: <498CB39E.1050307@process-zero.de> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Max schrieb: > >> Same thing on my side. ~6000 Services, don't know exactly how many of >> them don't support performancedata, but I have <10 seconds avg latency >> in Nagios while running all pnp stuff on the same server. >> Will say: I can't see a problem for nagios, except of massiv IO load for >> the system. > > We are going to be scaling to 5-10k+ hosts so we are being very > careful about not overloading our poller. > > And, as with the modpnpsender sending XML over a socket skewing > scheduling times for checks so that they spilled into the next 5 > minute chck period over a few hours (leaving gaps on performance > graphs) as Nagios paused 5000 times every polling cycle for 5000 TCP > sends :p we had the same problem with having Nagios write to NPCD > queue on the Nagios polling server. > hm... you should know that modpnpsender was written long time ago as a fast shot to a nice idea. I thought no one will use that code outer a test environment. But as you say that you are using that creepy code - let me know if there is more I can do for you ;) Maybe you want to check out the latest devel version, there is a new (cleaner) module for getting performance data, not with a socket in it but it might be faster than the normal way. It's called npcdmod. - -- Hendrik -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkmMs54ACgkQlI0PwfxLQjnCOwCdGJlTsQUO+//z9XL/FnfeQSP0 jlAAnRKuI7vYf5MFAyBhl8KJtMOj1D7F =ZWwb -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jasonm at kelman.com Fri Feb 6 23:06:52 2009 From: jasonm at kelman.com (Jason Marshall) Date: Fri, 6 Feb 2009 15:06:52 -0700 (MST) Subject: normal_check_interval misbehaving? Message-ID: Hi all, I've been scratching my head on this one for a couple days. I have a service defined that can only run once an hour. If it runs much more often than that, the check program (which I didn't write) often steps on its own feet and returns a critical failure. The service runs via NRPE if that matters... Anyway, I have the normal_check_interval set to 60, and max_check_attempts set to 1. So it should run once an hour, and only once even if it fails. But it runs every 10 minutes instead! Here is some of my config: define service { use active-service host_name cal-map1 service_description active-remote-spatialsync check_command check_remote_spatialsync contact_groups xxxxxxxx normal_check_interval 60 max_check_attempts 1 } define command { command_name check_remote_spatialsync command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -n -c check_spatialsync } [root at nagios3 etc]# ssh cal-map1 [root at cal-map1 ~]# grep check_spatialsync /usr/local/nagios/etc/nrpe.cfg command[check_spatialsync]=/space/kaapps/sbin/probeSpatialSync Here is the script (korn-shell wrapper) that runs: [root at cal-map1 ~]# cat /space/kaapps/sbin/probeSpatialSync #!/bin/ksh date >>/usr/tmp/spatialsync.runtimes.log HERE=$(dirname $0) JAR_DIR=$(cd $HERE/../lib;pwd) MONITOR_JAR=$JAR_DIR/monitor.jar PROBE_CLS=com.kelman.monitor.SpatialSyncTester JAVA_PATH=/usr/java/jdk1.5/bin:/apps/platform/jdk1.5/bin PATH=$JAVA_PATH:$PATH exec java -cp $MONITOR_JAR $PROBE_CLS $1 .......... I've checked, and the interval_length is set to 60 like I intended it to be: [root at nagios3 etc]# grep interval_length nagios.cfg interval_length=60 The wrapper that runs on the remote machine is logging the output of the date command and appending it to a simple log file so I can tell for sure how often it's being run -- every 10 minutes, like clockwork! How come 10 minutes and not 60?? My head is hurting from all the scratching. I suspect it's something stupid and tiny that I've missed, but would appreciate your help, even if it just points to some arcane area of the documentation. Thanks! --- Jason Marshall, Unix Geek, Kelman Technologies, Inc., Calgary, AB, Canada. From a Sun Microsystems bug report (#4102680): "Workaround: don't pound on the mouse like a wild monkey." "I have great faith in fools: Self confidence my friends call it." -Edgar Allan Poe ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Feb 7 00:28:27 2009 From: marc at ena.com (Marc Powell) Date: Fri, 6 Feb 2009 17:28:27 -0600 Subject: normal_check_interval misbehaving? In-Reply-To: References: Message-ID: <2C16F9B5-10B3-4C7C-9A8E-A37689889C76@ena.com> On Feb 6, 2009, at 4:06 PM, Jason Marshall wrote: > Hi all, I've been scratching my head on this one for a couple days. > > I have a service defined that can only run once an hour. If it runs > much > more often than that, the check program (which I didn't write) often > steps > on its own feet and returns a critical failure. The service runs > via NRPE > if that matters... > > Anyway, I have the normal_check_interval set to 60, and > max_check_attempts > set to 1. So it should run once an hour, and only once even if it > fails. > But it runs every 10 minutes instead! > > Here is some of my config: > > define service { > use active-service > host_name cal-map1 > service_description active-remote-spatialsync > check_command check_remote_spatialsync > contact_groups xxxxxxxx > normal_check_interval 60 > max_check_attempts 1 > } [chop] > The wrapper that runs on the remote machine is logging the output of > the > date command and appending it to a simple log file so I can tell for > sure > how often it's being run -- every 10 minutes, like clockwork! > > How come 10 minutes and not 60?? > > My head is hurting from all the scratching. I suspect it's something > stupid and tiny that I've missed, but would appreciate your help, > even if > it just points to some arcane area of the documentation. Did it used to be 10 minutes? The config, as you've detailed it, is correct. I suspect you have multiple nagios daemons running at the same time, one with a 10 minute interval and one with the 60 minute interval. Do you, at times about 60 minutes apart, have two that are logged close to one another? I would stop nagios and use ps to verify that there isn't another hanging about. -- Marc ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rpnabar at gmail.com Sat Feb 7 06:44:59 2009 From: rpnabar at gmail.com (Rahul Nabar) Date: Fri, 6 Feb 2009 23:44:59 -0600 Subject: NRPE clutters /var/log/messages Message-ID: My /var/log/messages shows hundreds of entries of this sort: Feb 6 23:33:00 star256 xinetd[15109]: START: nrpe pid=17610 from=::ffff:11.0.0.100 Feb 6 23:33:01 star256 xinetd[15109]: EXIT: nrpe status=0 pid=17610 duration=1(sec) Are they just indicative of "normal" nrpe operations? If so, how can I disable them so as not to clutter my log? I do have "debug=0" in my nrpe.conf. Why still these messages? -- Rahul -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 griggle.net Sat Feb 7 13:24:39 2009 From: ian at griggle.net (Ian Orszaczki) Date: Sat, 7 Feb 2009 23:24:39 +1100 Subject: Nagios-users Digest, Vol 33, Issue 11 In-Reply-To: References: Message-ID: <2bb4107c0902070424o70c78194u21a80de603fef7e5@mail.gmail.com> Hi, we just moved a Nagios 1.2 to Nagios 3 with 8500 service checks and 1200 host checks. I experimented with PNP and had to offload the work to another server which has been mentioned by others. What I did was create a ramdisk on the Nagios server which stored the performance data until it was batched off to the processing server (every couple of minutes), then had it batched off to a server that only does the graphing and web serving of the graphing pages. The maximum amount of performance data lost if the Nagios server crashed was only a couple of minutes. So the service and host data check commands are just a script which - * renames the data file with a date and time stamp * checks whether the graphing server is up * scp's across any datafiles if it is and cleans up No complex code, just a reverse proxy on the Nagios server so that when you requested a graphing page it looked like it was being served from the Nagios server itself. Because I CNAME the graphing server, I can quickly move it to another server running npcd. Date: Fri, 6 Feb 2009 12:24:54 -0500 From: "Michael W. Lucas" Subject: [Nagios-users] PNP performance To: nagios-users at lists.sourceforge.net Message-ID: <20090206172454.GA16459 at bewilderbeast.blackhelicopters.org> Content-Type: text/plain; charset=us-ascii Hi, I have Nagios 3.0.6 on FreeBSD 7.1/amd64, with ~1500 services on ~250 hosts. I've been investigating replacing our MRTG setup with PNP. PNP runs fine, and we are keeping about 1450 MRTG graphs. Our plans call for at least doubling the number of services and graphs. Adding process_perfdata.pl has increased the system load from "minimal" to 10-20. I see that process_perfdata.pl will not run under ePN. Anyone out there have ways to reduce process_perfdata.pl's system load, short of rewriting it in C or making it ePN-friendly? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From michael at medin.name Sat Feb 7 21:24:33 2009 From: michael at medin.name (Michael Medin) Date: Sat, 07 Feb 2009 21:24:33 +0100 Subject: NSClient++ Error In-Reply-To: <6b13ab0f0902061245g7daaefbcj6176e42d90ea88d0@mail.gmail.com> References: <6b13ab0f0902061245g7daaefbcj6176e42d90ea88d0@mail.gmail.com> Message-ID: <498DEE01.2020402@medin.name> Hi, The error is as far as I can tell that the data sent from the NSCA server (when initializing) was either to long or (perhaps more likely) to short. In this case my guess would be that someone "closed" the connection when "it" were waiting for the data to be sent. Why that would be I am not sure, which platform are you on? // Michael Medin Curtis LaMasters skrev: > I'm so far unable to get this one figured out. No abnormal logs on > the Nagios server but I get this on the client side: > > 2009-02-06 14:40:43: error:.\NSCAThread.cpp:177: <<< Failed to read > header from: xx.xxx.xxx.50:5667 0: The operation completed successfully. > > Any idea what that means. I just installed this client today and have > other clients with the same configuration working just fine. This is > on a Windows Server 2003 SBS box. > > Curtis LaMasters > http://www.curtis-lamasters.com > http://www.builtnetworks.com > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) > software. With Adobe AIR, Ajax developers can use existing skills and code to > build responsive, highly engaging applications that combine the power of local > resources and data with the reach of the web. Download the Adobe AIR SDK and > Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From curtislamasters at gmail.com Sat Feb 7 23:48:39 2009 From: curtislamasters at gmail.com (Curtis LaMasters) Date: Sat, 7 Feb 2009 16:48:39 -0600 Subject: NSClient++ Error In-Reply-To: <498DEE01.2020402@medin.name> References: <6b13ab0f0902061245g7daaefbcj6176e42d90ea88d0@mail.gmail.com> <498DEE01.2020402@medin.name> Message-ID: <6b13ab0f0902071448y748921ebjef4b29b8c6446177@mail.gmail.com> Discovered when putting in "allowed hosts" on the NSCA server, you can't have a space. I deleted the space and it worked like a charm. Curtis LaMasters http://www.curtis-lamasters.com http://www.builtnetworks.com On Sat, Feb 7, 2009 at 2:24 PM, Michael Medin wrote: > Hi, > > The error is as far as I can tell that the data sent from the NSCA server > (when initializing) was either to long or (perhaps more likely) to short. > In this case my guess would be that someone "closed" the connection when > "it" were waiting for the data to be sent. > Why that would be I am not sure, which platform are you on? > > // Michael Medin > > > Curtis LaMasters skrev: > >> I'm so far unable to get this one figured out. No abnormal logs on the >> Nagios server but I get this on the client side: >> >> 2009-02-06 14:40:43: error:.\NSCAThread.cpp:177: <<< Failed to read header >> from: xx.xxx.xxx.50:5667 0: The operation completed successfully. >> >> Any idea what that means. I just installed this client today and have >> other clients with the same configuration working just fine. This is on a >> Windows Server 2003 SBS box. >> >> Curtis LaMasters >> http://www.curtis-lamasters.com >> http://www.builtnetworks.com >> ------------------------------------------------------------------------ >> >> >> ------------------------------------------------------------------------------ >> Create and Deploy Rich Internet Apps outside the browser with >> Adobe(R)AIR(TM) >> software. With Adobe AIR, Ajax developers can use existing skills and code >> to >> build responsive, highly engaging applications that combine the power of >> local >> resources and data with the reach of the web. Download the Adobe AIR SDK >> and >> Ajax docs to start building applications today- >> http://p.sf.net/sfu/adobe-com >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: 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 -------------- ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From martyn at chetnet.co.uk Sun Feb 8 12:43:09 2009 From: martyn at chetnet.co.uk (Martyn) Date: Sun, 8 Feb 2009 11:43:09 -0000 Subject: Nedi + nedi.conf Message-ID: I'm having errors graphing my Switch, the error is /opt/nedi/rrd/Network-SW/system.rrd not found! Now in the nedi.conf the line: - #Location of the actual RRD's, what does that refer to. The line that is already there is rrdpath /var/nedi/rrd which does not exist so I changed it to. rrdpath /opt/nedi/rrd which is an empty directory but I still get no graphs. Does anybody know the correct line I should be adding? Thanks Martyn -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From martyn at chetnet.co.uk Sun Feb 8 13:49:17 2009 From: martyn at chetnet.co.uk (Martyn) Date: Sun, 8 Feb 2009 12:49:17 -0000 Subject: Nedi + nedi.conf In-Reply-To: References: Message-ID: I can not find system.rrd anywhere on my server _____ From: Martyn [mailto:martyn at chetnet.co.uk] Sent: 08 February 2009 11:43 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nedi + nedi.conf I'm having errors graphing my Switch, the error is /opt/nedi/rrd/Network-SW/system.rrd not found! Now in the nedi.conf the line: - #Location of the actual RRD's, what does that refer to. The line that is already there is rrdpath /var/nedi/rrd which does not exist so I changed it to. rrdpath /opt/nedi/rrd which is an empty directory but I still get no graphs. Does anybody know the correct line I should be adding? Thanks Martyn -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hir3npatel at gmail.com Sun Feb 8 16:08:12 2009 From: hir3npatel at gmail.com (Hiren Patel) Date: Sun, 08 Feb 2009 17:08:12 +0200 Subject: NRPE and redundant calls to remote hosts. In-Reply-To: References: Message-ID: <498EF55C.9070609@gmail.com> Marc Powell wrote: > On Feb 6, 2009, at 11:56 AM, Rahul Nabar wrote: > >> I've been adding a bunch of checks via NRPE on remote nodes and this >> got me thinking. Isn't it inefficient to keep starting check_nrpe >> calls from the monitoring host all the time? >> >> Why cannot nrpe on the remote node monitor some of the local >> services and only send a message back to nagios if there is a status >> change? > >> Just curious. Or maybe there is a way of achieving this already that >> I don't know of! > > Passive checks with NSCA is pretty close, minus the 'if there is a > status change' part. You could build that logic into whatever wrapper > you are using to run the plugins on the remote host though. From the > perspective of the nagios host, passive checks are much better than > active checks. > and if you're processing performance data for graphing or the like, you want the results submitted even if the service is okay. ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hir3npatel at gmail.com Sun Feb 8 16:15:51 2009 From: hir3npatel at gmail.com (Hiren Patel) Date: Sun, 08 Feb 2009 17:15:51 +0200 Subject: normal_check_interval misbehaving? In-Reply-To: References: Message-ID: <498EF727.4030900@gmail.com> Jason Marshall wrote: > Hi all, I've been scratching my head on this one for a couple days. > > I have a service defined that can only run once an hour. If it runs much > more often than that, the check program (which I didn't write) often steps > on its own feet and returns a critical failure. The service runs via NRPE > if that matters... > > Anyway, I have the normal_check_interval set to 60, and max_check_attempts > set to 1. So it should run once an hour, and only once even if it fails. > But it runs every 10 minutes instead! > > Here is some of my config: > > define service { > use active-service > host_name cal-map1 > service_description active-remote-spatialsync > check_command check_remote_spatialsync > contact_groups xxxxxxxx > normal_check_interval 60 > max_check_attempts 1 > } > > define command { > command_name check_remote_spatialsync > command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -n -c check_spatialsync > } > > .......... > > > I've checked, and the interval_length is set to 60 like I intended it to > be: > > [root at nagios3 etc]# grep interval_length nagios.cfg > interval_length=60 > > The wrapper that runs on the remote machine is logging the output of the > date command and appending it to a simple log file so I can tell for sure > how often it's being run -- every 10 minutes, like clockwork! > > How come 10 minutes and not 60?? > > My head is hurting from all the scratching. I suspect it's something > stupid and tiny that I've missed, but would appreciate your help, even if > it just points to some arcane area of the documentation. > > Thanks! > is the active-service template set to check freshness, if so what is its value? I suspect the check results are getting stale and forcing an active check, this can be verified from the nagios logs on the nagios server though (perhaps depending on logging options?) ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hir3npatel at gmail.com Sun Feb 8 16:18:54 2009 From: hir3npatel at gmail.com (Hiren Patel) Date: Sun, 08 Feb 2009 17:18:54 +0200 Subject: NRPE clutters /var/log/messages In-Reply-To: References: Message-ID: <498EF7DE.9060304@gmail.com> Rahul Nabar wrote: > My /var/log/messages shows hundreds of entries of this sort: > > Feb 6 23:33:00 star256 xinetd[15109]: START: nrpe pid=17610 > from=::ffff:11.0.0.100 > Feb 6 23:33:01 star256 xinetd[15109]: EXIT: nrpe status=0 pid=17610 > duration=1(sec) > > Are they just indicative of "normal" nrpe operations? If so, how can I > disable them so as not to clutter my log? > > I do have "debug=0" in my nrpe.conf. Why still these messages? > > -- looks normal for me. the messages seem like they come from xinetd though, you could look at: 1) xinetd logging options 2) getting inetd logging to a separate file using xinet/syslog configuration. ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From finchs at stgeorge.com.au Mon Feb 9 05:35:32 2009 From: finchs at stgeorge.com.au (Simon Finch) Date: Mon, 09 Feb 2009 15:35:32 +1100 Subject: Centreon In-Reply-To: References: <212ae3760902061007w2bb19d36i474cd66da0f5eaab@mail.gmail.com> Message-ID: <49904D47.B47D.0048.0@stgeorge.com.au> We have centreon2 running on Ubuntu 8.04, Nagios 3.06, Nagios-Plugins 1.4.13, Centreon 2 stable. We have 1 central Nagios poller that also runs Mysql, Centreon, NDO, NagVis and 8 satellite Nagios pollers located in firewalled network zones. It was a fair amount of trouble to get it setup right, but it was worth the effort - particularly the way it simplifies distributed multi-poller configurations. In the end found the http://www.rodolfomatos.net/centreon/centreon-installer was the best method. HTH Simon Finch St.George Bank Australia ********************************************************************** ***** IMPORTANT INFORMATION ***** This document should be read only by those persons to whom it is addressed and its content is not intended for use by any other persons. If you have received this message in error, please notify us immediately. Please also destroy and delete the message from your computer. Any unauthorised form of reproduction of this message is strictly prohibited. St George Bank Limited AFSL 240997, Advance Asset Management Limited AFSL 240902, St George Life Limited AFSL 240900, ASGARD Capital Management Limited AFSL 240695 and Securitor Financial Group Limited AFSL 240687 is not liable for the proper and complete transmission of the information contained in this communication, nor for any delay in its receipt. ********************************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Vargas at quanthouse.com Mon Feb 9 11:29:51 2009 From: Vargas at quanthouse.com (Emmanuel Vargas) Date: Mon, 9 Feb 2009 11:29:51 +0100 Subject: latency performance critical performance when set "servicegroup" in a service Message-ID: <25E0A03E2185B74297F9A16303A1CB91546B302640@parfi-exchange.qh.local> Hi, Don't know if somebody already have this issue but if I set a "servicegroup" in a service my "check latency" is very very high. From 1s without the servicegroup to 30 or 40s with servicegroup set! define service{ host_name apc service_description APC-C9-Right-Front use daily_check check_command check_apc!172.17.5.201 servicegroups all-services notifications_enabled 0 } Nagios version: 3.06 Regards, Emmanuel -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From aschmalowsky at df.eu Mon Feb 9 12:56:38 2009 From: aschmalowsky at df.eu (Axel Schmalowsky) Date: Mon, 9 Feb 2009 12:56:38 +0100 Subject: Multiple hostgroup(s) membership Message-ID: <499019F6.2030708@df.eu> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello list, is it possible to assign a host to multiple hostgroups? I need some hosts to be a subset (own hostgroup) of an existing hostgroup. Thanks in advance for any hints. - -- Freundliche Gr??e / Kind regards Axel Schmalowsky Platform Engineer ___________________________________ domainfactory GmbH Oskar-Messter-Str. 33 85737 Ismaning Germany Mobil: +49 (0)176 / 10246727 Telefon: +49 (0)89 / 55266-356 Telefax: +49 (0)89 / 55266-222 E-Mail: aschmalowsky at df.eu Internet: www.df.eu Registergericht: Amtsgericht M?nchen HRB 150294, Gesch?ftsf?hrer Tobias Marburg, Jochen Tuchbreiter -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFJkBn2suqpduCyZM0RAuDIAJ9jbfC1Ss5ToYOXcngZaH4gd9k+EQCg4pWD Iub8tyauEPSfLL5n+B0aBEI= =Fcof -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Feb 9 14:13:17 2009 From: marc at ena.com (Marc Powell) Date: Mon, 9 Feb 2009 07:13:17 -0600 Subject: Multiple hostgroup(s) membership In-Reply-To: <499019F6.2030708@df.eu> References: <499019F6.2030708@df.eu> Message-ID: <63915D6A-4FCB-4BC3-B731-5C229D6316AD@ena.com> On Feb 9, 2009, at 5:56 AM, Axel Schmalowsky wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hello list, > > is it possible to assign a host to multiple hostgroups? I need some > hosts to be a subset (own hostgroup) of an existing hostgroup. Yes, either within the host definition or by adding it to multiple hostgroup definitions. http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#host "hostgroups: This directive is used to identify the short name(s) of the hostgroup(s) that the host belongs to. Multiple hostgroups should be separated by commas. This directive may be used as an alternative to (or in addition to) using the members directive in hostgroup definitions. " -- Marc ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nmc at smartterra.eu Mon Feb 9 14:13:38 2009 From: nmc at smartterra.eu (Falk Brockerhoff - smartTERRA GmbH) Date: Mon, 9 Feb 2009 14:13:38 +0100 Subject: Multiple hostgroup(s) membership In-Reply-To: <499019F6.2030708@df.eu> References: <499019F6.2030708@df.eu> Message-ID: <8B4D9156-43C0-41F5-A90C-4ACC066153B0@smartterra.eu> Am 09.02.2009 um 12:56 schrieb Axel Schmalowsky: > is it possible to assign a host to multiple hostgroups? I Do you mean a configuration like this? define host{ [...] hostgroups freebsd,ssh,ftp,http,https,mysql,mailda,mailta,backuppc [...] } > Freundliche Gr??e / Kind regards > > Axel Schmalowsky > Platform Engineer Regards, Falk ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Feb 9 14:17:17 2009 From: alexdehaini at gmail.com (Alex Dehaini) Date: Mon, 9 Feb 2009 13:17:17 +0000 Subject: Multiple hostgroup(s) membership In-Reply-To: <63915D6A-4FCB-4BC3-B731-5C229D6316AD@ena.com> References: <499019F6.2030708@df.eu> <63915D6A-4FCB-4BC3-B731-5C229D6316AD@ena.com> Message-ID: <4b008f7d0902090517h46574ea8qfdcfe0775726834f@mail.gmail.com> Yeah, very possible - here is how I do it define hostgroup{ hostgroup_name GIX alias GIX members core,bhmaster at gix,bhslave at kokomlemle2gix,router at gix } On Mon, Feb 9, 2009 at 1:13 PM, Marc Powell wrote: > > On Feb 9, 2009, at 5:56 AM, Axel Schmalowsky wrote: > > > -----BEGIN PGP SIGNED MESSAGE----- > > Hash: SHA1 > > > > Hello list, > > > > is it possible to assign a host to multiple hostgroups? I need some > > hosts to be a subset (own hostgroup) of an existing hostgroup. > > Yes, either within the host definition or by adding it to multiple > hostgroup definitions. > > http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#host > > "hostgroups: This directive is used to identify the short name(s) of > the hostgroup(s) that the host belongs to. Multiple hostgroups should > be separated by commas. This directive may be used as an alternative > to (or in addition to) using the members directive in hostgroup > definitions. " > > -- > Marc > > > ------------------------------------------------------------------------------ > Create and Deploy Rich Internet Apps outside the browser with > Adobe(R)AIR(TM) > software. With Adobe AIR, Ajax developers can use existing skills and code > to > build responsive, highly engaging applications that combine the power of > local > resources and data with the reach of the web. Download the Adobe AIR SDK > and > Ajax docs to start building applications today- > http://p.sf.net/sfu/adobe-com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin 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 -------------- ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ton.voon at opsera.com Mon Feb 9 14:50:07 2009 From: ton.voon at opsera.com (Ton Voon) Date: Mon, 9 Feb 2009 13:50:07 +0000 Subject: Opsview 3 Message-ID: <91A0C283-687D-4F38-85CD-C4DBCA60A731@opsera.com> Hi! Just wanted to announce that Opsera have recently released Opsview 3. This is our GPL product, based on Nagios, which covers: * web front end for configuration * AJAX status views * NDOutils for status data * simple distributed setups, including clustered failover nodes And a new feature is Nagvis integration! We've got more ideas around this area which we're going to work closely with the Nagvis developers on. You can read our blog post about version 3.0 at http://opsview-blog.opsera.com/ You can get a quick overview of Opsview at http://opsview.org Ton ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From roderick at r71.nl Mon Feb 9 15:08:00 2009 From: roderick at r71.nl (Roderick Derks) Date: Mon, 9 Feb 2009 15:08:00 +0100 (CET) Subject: Development on NDO utils? In-Reply-To: <91A0C283-687D-4F38-85CD-C4DBCA60A731@opsera.com> References: <91A0C283-687D-4F38-85CD-C4DBCA60A731@opsera.com> Message-ID: <32785847.81234188454230.JavaMail.SYSTEM@07-300-6335> Hi, Anyone knows if there is still some development being done on the NDO utils? I had a problem using the NDO 1.4b7 beta version with Centreon and had to use a nightly version. And it doesn't support multiline output, something new in Nagios 3.0. And 1.47b7 is from 31-10-2007. Regards, Roderick ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Feb 9 15:15:49 2009 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Mon, 09 Feb 2009 09:15:49 -0500 Subject: latency performance critical performance when set "servicegroup" in a service In-Reply-To: <25E0A03E2185B74297F9A16303A1CB91546B302640@parfi-exchange.qh.local> References: <25E0A03E2185B74297F9A16303A1CB91546B302640@parfi-exchange.qh.local> Message-ID: <49903A95.3000909@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 09/02/09 05:29 AM, Emmanuel Vargas wrote: > Hi, > > > > Don?t know if somebody already have this issue but if I set a > ?servicegroup? in a service my ?check latency? is very very high. From > 1s without the servicegroup to 30 or 40s with servicegroup set! All my services are in servicegroups and I have absolutely no latency problem. One of my systems is running >1000 checks per minute on a dual P3 1.4GHZ right now with no more than 3-something seconds latency. I'm using all possible large installation tweaks. If you can enable debug output and pinpoint where you get latency that would greatly help. - -- Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFJkDqV6dZ+Kt5BchYRAgoVAKC3wJFdVY6CAQw2+0P9EgsuetLs4gCfcUxf 00ry4X6i2V5EOjZMohiR3jA= =Kt7o -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From t.h.amundsen at usit.uio.no Mon Feb 9 15:30:05 2009 From: t.h.amundsen at usit.uio.no (Trond Hasle Amundsen) Date: Mon, 09 Feb 2009 15:30:05 +0100 Subject: problems with check_openmanage In-Reply-To: <15ty6wj3kcc.fsf@tux.uio.no> (Trond Hasle Amundsen's message of "Fri\, 06 Feb 2009 11\:56\:03 +0100") References: <498AF5B9.4040302@nicole-haehnel.de> <62D20A54-3EA9-428E-879D-9E7DA0E8E399@ena.com> <498BE5F3.30300@nicole-haehnel.de> <15ty6wj3kcc.fsf@tux.uio.no> Message-ID: <15ty6wf1y4y.fsf@tux.uio.no> Trond Hasle Amundsen writes: > Nicole H?hnel writes: > >> The problem is only on older servers. The newer ones work fine with snmp. >> And I used check_om_snmp before on all servers without any problems. For the list archive: A new release of check_openmanage has been uploaded to Nagios Exchange that resolves this problem. Note: Users are reporting issues when probing win2000 servers. There is a bug in the win2000 snmp agent that I'm currently trying to work around. Regards, -- Trond ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jasonm at kelman.com Mon Feb 9 15:53:28 2009 From: jasonm at kelman.com (Jason Marshall) Date: Mon, 9 Feb 2009 07:53:28 -0700 (MST) Subject: normal_check_interval misbehaving? In-Reply-To: <498EF727.4030900@gmail.com> References: <498EF727.4030900@gmail.com> Message-ID: > is the active-service template set to check freshness, if so what is its > value? I suspect the check results are getting stale and forcing an > active check, this can be verified from the nagios logs on the nagios > server though (perhaps depending on logging options?) Thanks Hiren, the check_freshness value for active services is enabled, and the threshold is set to 5 minutes, but there is no check_command set for it. I don't think I've ever had active checks go stale, so I'm going to try turning that value off to see what happens. Thanks for the idea, I never would have thought of this one! --- Jason Marshall, Unix Geek, Kelman Technologies, Inc., Calgary, AB, Canada. From a Sun Microsystems bug report (#4102680): "Workaround: don't pound on the mouse like a wild monkey." "I have great faith in fools: Self confidence my friends call it." -Edgar Allan Poe ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hir3npatel at gmail.com Mon Feb 9 16:13:47 2009 From: hir3npatel at gmail.com (Hiren Patel) Date: Mon, 09 Feb 2009 17:13:47 +0200 Subject: normal_check_interval misbehaving? In-Reply-To: References: <498EF727.4030900@gmail.com> Message-ID: <4990482B.6010202@gmail.com> Jason Marshall wrote: >> is the active-service template set to check freshness, if so what is its >> value? I suspect the check results are getting stale and forcing an >> active check, this can be verified from the nagios logs on the nagios >> server though (perhaps depending on logging options?) > > Thanks Hiren, the check_freshness value for active services is enabled, > and the threshold is set to 5 minutes, but there is no check_command set > for it. I don't think I've ever had active checks go stale, so I'm > going to try turning that value off to see what happens. > > Thanks for the idea, I never would have thought of this one! > active-checks should be a template, so there wouldn't be a check_command for it. normally your active check won't go stale, because they're scheduled to run more often than the freshness threshold. check your logs for signs of: -- [1233827017] Warning: The results of service 'Total Processes' on host 'slave' are stale by 0d 0h 1m 0s (threshold=0d 0h 10m 0s). I'm forcing an immediate check of the service. -- this still doesn't explain why the checks are run every 10 minutes though, if freshness threshold is set to 5 minutes. have you confirmed that there isn't another nagios process running, as directed from another reply to this thread? ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jasonm at kelman.com Mon Feb 9 16:44:38 2009 From: jasonm at kelman.com (Jason Marshall) Date: Mon, 9 Feb 2009 08:44:38 -0700 (MST) Subject: normal_check_interval misbehaving? In-Reply-To: <4990482B.6010202@gmail.com> References: <498EF727.4030900@gmail.com> <4990482B.6010202@gmail.com> Message-ID: > active-checks should be a template, so there wouldn't be a check_command > for it. normally your active check won't go stale, because they're > scheduled to run more often than the freshness threshold. check your > logs for signs of: I have a check_command for my passive checks, but it just exits with a warning status, and a statement that the check has gone stale. I think this is normal, but it's been so long since I set this up originally (back in 2002) that a lot of the details are lost in the fog. > this still doesn't explain why the checks are run every 10 minutes > though, if freshness threshold is set to 5 minutes. It doesn't, but I can say with certainty that the check hasn't run for at least 25 minutes now since I restarted Nagios without the freshness stuff. It may be fixed (assuming it runs again at 9am my time, which is in about 15 minutes), and I think I can live without the freshness checking of active services if there's no obvious workaround. > have you confirmed that there isn't another nagios process running, as > directed from another reply to this thread? Yes: [root at nagios3 nagios]# ps -ef |grep nagios |grep -v mysql nagios 10703 1 0 07:55 ? 00:00:01 /usr/local/nagios-3.0.6/bin/nagios -d /usr/local/nagios-3.0.6/etc/nagios.cfg nagios 11204 1 0 08:00 ? 00:00:00 /usr/local/nagios/bin/nsca -s -c /usr/local/nagios/etc/nsca.cfg root 16035 4747 0 08:28 pts/2 00:00:00 grep nagios [root at nagios3 nagios]# Thanks again for your help, Hiren and everyone else! --- Jason Marshall, Unix Geek, Kelman Technologies, Inc., Calgary, AB, Canada. From a Sun Microsystems bug report (#4102680): "Workaround: don't pound on the mouse like a wild monkey." "I have great faith in fools: Self confidence my friends call it." -Edgar Allan Poe ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Nigel.Heaney at bgfl.org Mon Feb 9 16:46:50 2009 From: Nigel.Heaney at bgfl.org (Nigel Heaney) Date: Mon, 9 Feb 2009 15:46:50 +0000 Subject: automated response Message-ID: <10902091546.AA06192@bgfl.org> I will be unavailable until 16th Feb, for urgent queries please escalate the issue via the Link2ict service desk on 0121 303 5100, otherwise I will respond upon my return. ************************************************************* This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify postmaster at bgfl.org The views expressed within this email are those of the individual, and not necessarily those of the organisation ************************************************************* ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rpnabar at gmail.com Mon Feb 9 19:12:21 2009 From: rpnabar at gmail.com (Rahul Nabar) Date: Mon, 9 Feb 2009 12:12:21 -0600 Subject: NRPE clutters /var/log/messages In-Reply-To: <498EF7DE.9060304@gmail.com> References: <498EF7DE.9060304@gmail.com> Message-ID: On Sun, Feb 8, 2009 at 9:18 AM, Hiren Patel wrote: > Rahul Nabar wrote: > >> My /var/log/messages shows hundreds of entries of this sort: >> >> Feb 6 23:33:00 star256 xinetd[15109]: START: nrpe pid=17610 >> from=::ffff:11.0.0.100 >> Feb 6 23:33:01 star256 xinetd[15109]: EXIT: nrpe status=0 pid=17610 >> duration=1(sec) >> >> Are they just indicative of "normal" nrpe operations? If so, how can I >> disable them so as not to clutter my log? >> >> I do have "debug=0" in my nrpe.conf. Why still these messages? >> >> -- >> > > looks normal for me. the messages seem like they come from xinetd though, > you could look at: > 1) xinetd logging options > 2) getting inetd logging to a separate file using xinet/syslog > configuration. > Thanks Hiren. I'll look into those. Otherwise it is too much data to be logged during "normal" operations! -- Rahul -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rpnabar at gmail.com Mon Feb 9 19:16:33 2009 From: rpnabar at gmail.com (Rahul Nabar) Date: Mon, 9 Feb 2009 12:16:33 -0600 Subject: NRPE and redundant calls to remote hosts. In-Reply-To: <498EF55C.9070609@gmail.com> References: <498EF55C.9070609@gmail.com> Message-ID: On Sun, Feb 8, 2009 at 9:08 AM, Hiren Patel wrote: > Marc Powell wrote: > > > > > Passive checks with NSCA is pretty close, minus the 'if there is a > > status change' part. You could build that logic into whatever wrapper > > you are using to run the plugins on the remote host though. From the > > perspective of the nagios host, passive checks are much better than > > active checks. > > > Thanks Hiren and Marc! > > > and if you're processing performance data for graphing or the like, you > want the results submitted even if the service is okay. > > True. But for some services I'd like to know much quicker if something is wrong than if it is just sending performance data back for graphs. The passive approach seems perfect for this. -- Rahul -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rpnabar at gmail.com Mon Feb 9 19:19:31 2009 From: rpnabar at gmail.com (Rahul Nabar) Date: Mon, 9 Feb 2009 12:19:31 -0600 Subject: how is "Service check Latency" defined in nagios? Message-ID: What exactly is the "Service check Latency" in nagios? My processor load averages are still ok after I enabled PNP but my latencies have shot through the roof. Should I be worried or not? I have latencies around 46k millisecs and execution times of 800 millisecs for my services. -- Rahul -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Feb 9 20:31:35 2009 From: marc at ena.com (Marc Powell) Date: Mon, 9 Feb 2009 13:31:35 -0600 Subject: how is "Service check Latency" defined in nagios? In-Reply-To: References: Message-ID: <6CBCE4F6-371C-4679-9EF6-943C88F6489D@ena.com> On Feb 9, 2009, at 12:19 PM, Rahul Nabar wrote: > What exactly is the "Service check Latency" in nagios? My processor > load averages are still ok after I enabled PNP but my latencies have > shot through the roof. Should I be worried or not? I have latencies > around 46k millisecs and execution times of 800 millisecs for my > services. Service check Latency is the difference between when Nagios scheduled a check to run and when it actually ran. A couple of things that could cause this -- - Nagios is focused exclusively on only one thing (host checks under nagios-2 for example) - not allowing nagios to run sufficient concurrent checks for your configuration. running 'bin/nagios -s etc/nagios.cfg' will provide you with a recommendation. Make sure max_concurrent_checks is that high or higher. 46s doesn't sound too worrisome to me, just something to keep an eye on to make sure it doesn't get significantly higher (minutes). Execution time of .8 seconds sounds great. -- Marc ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rpnabar at gmail.com Mon Feb 9 20:53:41 2009 From: rpnabar at gmail.com (Rahul Nabar) Date: Mon, 9 Feb 2009 13:53:41 -0600 Subject: how is "Service check Latency" defined in nagios? In-Reply-To: <6CBCE4F6-371C-4679-9EF6-943C88F6489D@ena.com> References: <6CBCE4F6-371C-4679-9EF6-943C88F6489D@ena.com> Message-ID: On Mon, Feb 9, 2009 at 1:31 PM, Marc Powell wrote: > > > - not allowing nagios to run sufficient concurrent checks for your > configuration. running 'bin/nagios -s etc/nagios.cfg' will provide you > with a recommendation. Make sure max_concurrent_checks is that high or > higher. Thanks Marc. I have: max_concurrent_checks=0 I ran the -s option and it produced a bunch of stats. (see below) But I am not sure which line is the recommendation you refer to. In addition it does report some savings I could get by using the -x and -u options. Maybe I ought to enable those. Not sure whether those will be latency reduction (good) or execution time reduction (not so relevant for me) -- Rahul ################/usr/local/nagios/bin/nagios -s /usr/local/nagios/etc/nagios.cfg############################################ Nagios 3.0.6 Copyright (c) 1999-2008 Ethan Galstad (http://www.nagios.org) Last Modified: 12-01-2008 License: GPL Timing information on object configuration processing is listed below. You can use this information to see if precaching your object configuration would be useful. Object Config Source: Config files (uncached) OBJECT CONFIG PROCESSING TIMES (* = Potential for precache savings with -u option) ---------------------------------- Read: 0.012501 sec Resolve: 0.000822 sec * Recomb Contactgroups: 0.000081 sec * Recomb Hostgroups: 0.004820 sec * Dup Services: 0.031199 sec * Recomb Servicegroups: 0.000847 sec * Duplicate: 0.000003 sec * Inherit: 0.003707 sec * Recomb Contacts: 0.000005 sec * Sort: 0.000001 sec * Register: 0.028375 sec Free: 0.002792 sec ============ TOTAL: 0.085155 sec * = 0.041487 sec (48.72%) estimated savings RETENTION DATA TIMES ---------------------------------- Read and Process: 0.429982 sec ============ TOTAL: 0.429982 sec Timing information on configuration verification is listed below. CONFIG VERIFICATION TIMES (* = Potential for speedup with -x option) ---------------------------------- Object Relationships: 0.103647 sec Circular Paths: 0.002239 sec * Misc: 0.003193 sec ============ TOTAL: 0.109079 sec * = 0.002239 sec (2.1%) estimated savings EVENT SCHEDULING TIMES ------------------------------------- Get service info: 0.023477 sec Get host info info: 0.000172 sec Get service params: 0.000035 sec Schedule service times: 0.041946 sec Schedule service events: 0.021094 sec Get host params: 0.000007 sec Schedule host times: 0.003610 sec Schedule host events: 0.008372 sec ============ TOTAL: 0.098713 sec Projected scheduling information for host and service checks is listed below. This information assumes that you are going to start running Nagios with your current config files. HOST SCHEDULING INFORMATION --------------------------- Total hosts: 265 Total scheduled hosts: 262 Host inter-check delay method: SMART Average host check interval: 300.00 sec Host inter-check delay: 1.15 sec Max host check spread: 30 min First scheduled check: Mon Feb 9 13:50:01 2009 Last scheduled check: Mon Feb 9 13:54:59 2009 SERVICE SCHEDULING INFORMATION ------------------------------- Total services: 2073 Total scheduled services: 2057 Service inter-check delay method: SMART Average service check interval: 300.58 sec Inter-check delay: 0.15 sec Interleave factor method: SMART Average services per host: 7.82 Service interleave factor: 8 Max service check spread: 30 min First scheduled check: Mon Feb 9 13:50:38 2009 Last scheduled check: Mon Feb 9 13:55:40 2009 CHECK PROCESSING INFORMATION ---------------------------- Check result reaper interval: 10 sec Max concurrent service checks: Unlimited PERFORMANCE SUGGESTIONS ----------------------- I have no suggestions - things look okay. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Feb 9 23:52:51 2009 From: perldork at webwizarddesign.com (Max) Date: Mon, 9 Feb 2009 17:52:51 -0500 Subject: how is "Service check Latency" defined in nagios? In-Reply-To: References: <6CBCE4F6-371C-4679-9EF6-943C88F6489D@ena.com> Message-ID: Hi Rahul, On Mon, Feb 9, 2009 at 5:32 PM, Rahul Nabar wrote: > Thanks Max. That is a pretty intricate issue that I had no idea about! I'm > still trying to figure out the exact implications of what you describe. > Maybe I need to visit the Nagios manual again to re-read nagios's scheduling > logic. It's especially important to me now that I also have PnP running > performance stats. Yes, definitely do that. I talk about how my team set up nagios and PNP to minimize delays in polling on my blog, though be warned that we break some of the rules that the documentation says to always follow, like doing a fork() in a NEB module and setting inter-check delay methods to n .. none. so while it works for us I know that a number of people on this list would probably balk at how we did things and call us idiots :). That in mind, so far we are very happy with the performance of our setup and we have not had any instability problems with it in the 5 months it has been in place and we are completing all of our checks within 5 minutes which for us is very important as all performance data is sent to a long-term data warehouse for graphing and analysis with other tools that interface with the long term data warehouse. My blog: http://www.semintelligent.com/blog/ > Meanwhile this is a dump of the relevant parameters you speak about. I don't > recall changing any from their defaults. > Maybe I ought to in the light of what you mentioned? > > service_inter_check_delay_method=s > host_inter_check_delay_method=s > sleep_time=0.25 > #Timeouts: > service_check_timeout=60 > host_check_timeout=30 > event_handler_timeout=30 > notification_timeout=30 > ocsp_timeout=5 > perfdata_timeout=5 if you are getting all checks done within a time frame you are happy with, no need at all to tweak anything :) though playing with all the various parameters on a lab system will still be well worth your time for the experience you will gain from it. If you are seeing scheduled check times skew unacceptably over time or you are not completing all checks in the time you need to have them done, then yes, definitely dig deeper and work on tuning your installation and tuning how you send data from nagios to PNP. - Max ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From robby.kahlon at cubic.com Mon Feb 9 23:53:30 2009 From: robby.kahlon at cubic.com (Kahlon, Robby) Date: Mon, 9 Feb 2009 14:53:30 -0800 Subject: FW: Monitoring Windows Host's clock In-Reply-To: <498AE5F6.4030406@aei.ca> References: <498AE5F6.4030406@aei.ca> Message-ID: <28919A12B5A1504CB3599372AA286FC602CA9B23@bb-cts-ex1.cts.cubic.cub> I need to monitor the Windows NTP client's time against the Windows NTP server time. I was reading about a similar issue on the Mail Archive and Hari Sekhon has suggested using check_ntp on each remote host against the ntp server. http://www.mail-archive.com/nagios-users at lists.sourceforge.net/msg21774. html Is there any plug-in equivalent to check_ntp or check_ntp_time which can be used on the Windows machine to check time against the Windows NTP server? Robby ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rpnabar at gmail.com Mon Feb 9 23:32:43 2009 From: rpnabar at gmail.com (Rahul Nabar) Date: Mon, 9 Feb 2009 16:32:43 -0600 Subject: how is "Service check Latency" defined in nagios? In-Reply-To: References: <6CBCE4F6-371C-4679-9EF6-943C88F6489D@ena.com> Message-ID: On Mon, Feb 9, 2009 at 3:58 PM, Max wrote: > Rahul, > > On Mon, Feb 9, 2009 at 2:53 PM, Rahul Nabar wrote: > > Thanks Marc. I have: max_concurrent_checks=0 > > Our experience has been that with max_concurrent_checks set to 0 and > inter-check delay and nagios sleep set very low we get high reported > service check latencies as we are basically asking Nagios to try and > run everything as soon as possible ... 1000s of checks over a few > seconds in essence ... which it can't do. As far as 'real life' > negative impact the high latency in this singular case hasn't meant > much; it initially really worried me until i realized that the high > service latency is just happening because we are basically telling > nagios to pause / sleep / wait for as little time as possible and run > things as quickly as possible. We have around a 146 second service > check latency but from our detailed Nagios metrics we see that check > runs are completing in right around 4 minutes, under our 5 minute > hard-ceiling (around 6000 checks). our PNP performance graphs prove > our suspicions .. our reporting server receives 6000 metrics in 4 > minutes or less and we have no gaps in our graphs or major under or > over sampling problems with the data we retrieve from our remote > agents. > > I only bring that up because if you not only have > max_concurrent_checks set to 0 but also have tuned way down > inter-check delay settings and sleep time you might be encountering > the same situation and the high latency might not be something to > worry about .. but only IF you have all your delays tuned very low and > no ceiling on max checks. for any other situation it is definitely > something to investigate. Thanks Max. That is a pretty intricate issue that I had no idea about! I'm still trying to figure out the exact implications of what you describe. Maybe I need to visit the Nagios manual again to re-read nagios's scheduling logic. It's especially important to me now that I also have PnP running performance stats. Meanwhile this is a dump of the relevant parameters you speak about. I don't recall changing any from their defaults. Maybe I ought to in the light of what you mentioned? service_inter_check_delay_method=s host_inter_check_delay_method=s sleep_time=0.25 #Timeouts: service_check_timeout=60 host_check_timeout=30 event_handler_timeout=30 notification_timeout=30 ocsp_timeout=5 perfdata_timeout=5 -- Rahul -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Feb 9 22:58:00 2009 From: perldork at webwizarddesign.com (Max) Date: Mon, 9 Feb 2009 16:58:00 -0500 Subject: how is "Service check Latency" defined in nagios? In-Reply-To: References: <6CBCE4F6-371C-4679-9EF6-943C88F6489D@ena.com> Message-ID: Rahul, On Mon, Feb 9, 2009 at 2:53 PM, Rahul Nabar wrote: > Thanks Marc. I have: max_concurrent_checks=0 Our experience has been that with max_concurrent_checks set to 0 and inter-check delay and nagios sleep set very low we get high reported service check latencies as we are basically asking Nagios to try and run everything as soon as possible ... 1000s of checks over a few seconds in essence ... which it can't do. As far as 'real life' negative impact the high latency in this singular case hasn't meant much; it initially really worried me until i realized that the high service latency is just happening because we are basically telling nagios to pause / sleep / wait for as little time as possible and run things as quickly as possible. We have around a 146 second service check latency but from our detailed Nagios metrics we see that check runs are completing in right around 4 minutes, under our 5 minute hard-ceiling (around 6000 checks). our PNP performance graphs prove our suspicions .. our reporting server receives 6000 metrics in 4 minutes or less and we have no gaps in our graphs or major under or over sampling problems with the data we retrieve from our remote agents. I only bring that up because if you not only have max_concurrent_checks set to 0 but also have tuned way down inter-check delay settings and sleep time you might be encountering the same situation and the high latency might not be something to worry about .. but only IF you have all your delays tuned very low and no ceiling on max checks. for any other situation it is definitely something to investigate. - max ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rpnabar at gmail.com Tue Feb 10 00:32:39 2009 From: rpnabar at gmail.com (Rahul Nabar) Date: Mon, 9 Feb 2009 17:32:39 -0600 Subject: how is "Service check Latency" defined in nagios? In-Reply-To: References: <6CBCE4F6-371C-4679-9EF6-943C88F6489D@ena.com> Message-ID: On Mon, Feb 9, 2009 at 4:52 PM, Max wrote: > Yes, definitely do that. I talk about how my team set up nagios and > PNP to minimize delays in polling on my blog, though be warned that we > break some of the rules that the documentation says to always follow, > like doing a fork() in a NEB module and setting inter-check delay > methods to n .. none. so while it works for us I know that a number > of people on this list would probably balk at how we did things and > call us idiots :). Thanks again Max! I think sometimes one is forced to disobey the "standard prescriptions"! Maybe that is "idiotic" but whatever works! :) > > http://www.semintelligent.com/blog/ Thanks for the blog. Just found a very useful snippet there: "ps -e -a -x -f -o %u | sort | uniq -c | sort -rn" there. If I use this I find that the "nagios" owned processes seem to fluctuate a lot. Suddenly it goes as high as 54 and then for a while it owns only 3 processes. Then it shoots up again. Very interesting. Maybe that is the phenomenon you were referring to? I should probably wrap it in a bash wrapper and get it to graph the nagios processes in a 1 sec resolution to get a finer-time-grained idea of what is going on! -- Rahul -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From martyn at chetnet.co.uk Tue Feb 10 00:32:55 2009 From: martyn at chetnet.co.uk (Martyn) Date: Mon, 9 Feb 2009 23:32:55 -0000 Subject: Nagvis Message-ID: Hi all, I'm' hoping that you have the heart to help me out again on my quest :) Anyway I'm trying to install Nagvis but hit a small problem. When I point my Web browser to the map I created I get the following error backendInstanceNameNotValid: NDOMy: Instance name not valid (Backend ndomy_1) The given instance name "default" in backend "ndomy_1" is not valid. This is from my nagvis.ini.php [backend_ndomy_1] backendid="ndomy_1" backendtype="ndomy" dbhost="localhost" dbport=3306 dbname="ndo" dbuser="root" dbpass="xxxxxxx" dbprefix="nagios_" dbinstancename="default" maxtimewithoutupdate=180 htmlcgi="/nagios/cgi-bin" This is from my /ndomod.cfg # INSTANCE NAME # This option identifies the "name" associated with this particular # instance of Nagios and is used to seperate data coming from multiple # instances. Defaults to 'default' (without quotes). instance_name=default Thanks again Martyn -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Feb 10 00:51:26 2009 From: perldork at webwizarddesign.com (Max) Date: Mon, 9 Feb 2009 18:51:26 -0500 Subject: how is "Service check Latency" defined in nagios? In-Reply-To: References: <6CBCE4F6-371C-4679-9EF6-943C88F6489D@ena.com> Message-ID: Rahul, On Mon, Feb 9, 2009 at 6:32 PM, Rahul Nabar wrote: > Thanks for the blog. Just found a very useful snippet there: "ps -e -a -x -f > -o %u | sort | uniq -c | sort -rn" there. If I use this I find that the > "nagios" owned processes seem to fluctuate a lot. Suddenly it goes as high > as 54 and then for a while it owns only 3 processes. Then it shoots up > again. Very interesting. Maybe that is the phenomenon you were referring to? > I should probably wrap it in a bash wrapper and get it to graph the nagios > processes in a 1 sec resolution to get a finer-time-grained idea of what is > going on! No, that is not the phenomena I was talking about :). Every time nagios executes a check it forks to execute the check code (will fork twice unless you configure it not too with large installation tweaks or the double fork setting set to 0 explicitly). The scheduling 'skew' I was referring to happens as Nagios sleeps between executing checks or globally with the sleep_time setting or as it schedules checks. The various delay settings are all designed to make Nagios not completely hammer client hosts or the network or itself :p. With NEB modules, when a module takes an action Nagios pauses until the action is complete .. so if anything that takes more than milliseconds happens, over time the scheduling of checks gets slowly pushed into the future relative to the intervals they are supposed to run at. An example of skew would be a check that is initially scheduled at 5 10 15 20 eventually ending up being scheduled at 8 13 18 23 .. and as that skew gets to pass 5 minutes, performance graphs end up with gaps. Before tweaking our settings and doing the big no-no of adding a fork() call to the PNP NEB module we were seeing checks that were scheduled to run every 5 minutes have their scheduling times skew by more than 5 minutes within a 12 hour period. After the tweaks it takes nearly 2 days for this to occur and we do a daily restart right now so we don't ever have this skew push checks outside of their original 5 minute window. I have no complaints about how Nagios operates, it was designed first and foremost to be a fault manager, not a time-series performance data graphing engine and thankfully it is flexible and open enough that would have been able to wrangle it to do what we want without having to change any core Nagios code, which is very cool. Graph nagios performance with PNP using the output of nagiostats from scripts run from cron or by Nagios itself. Regards, Max ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From justinp at newmediagateway.com Tue Feb 10 00:57:26 2009 From: justinp at newmediagateway.com (Justin Pasher) Date: Mon, 09 Feb 2009 17:57:26 -0600 Subject: Alternate check interval when state become CRITICAL Message-ID: <4990C2E6.2020504@newmediagateway.com> Hello, (I have included the applicable nagios definitions at the end of the email). I'm trying to figure out if this is even possible. I am running Nagios 3.0.6 on Debian Etch. I have some service checks setup to see if a web site is still reachable. The check itself is pretty simple. It inherits most of the options from a service template (most were the default settings out of the box). Right now, the check happens every 5 minutes. If the check_http exceeds the timeout, it changes to a CRITICAL state and the alert is sent. After that, it continues to check every 5 minutes to see if the state changes. If the state remains at CRITICAL or changes to OK, another notification is sent out. What I would like to do is have the check interval change to every one minute when the state become CRITICAL, but keep the notifications at 5 minute intervals. Here is an example of the preferred scenario (minute by minute) for a service that is down for approximately three minutes. 12:00 - state checked, returns OK 12:05 - state checked, returns CRITICAL, email sent 12:06 - state checked, returns CRITICAL, no email sent 12:07 - state checked, returns CRITICAL, no email sent 12:08 - state checked, returns OK, email sent, resume normal check interval 12:13 - state checked, returns OK I tried setting retry_interval to 1, but it doesn't seem to affect the frequency of the checks after the state become CRITICAL. I think because max_check_attempts is set to 1, it wouldn't work as I described anyway. The "check scheduling" link in the docs seems to be the place that would have the information I need (http://nagios.sourceforge.net/docs/3_0/checkscheduling.html), but it's under construction. Is there something else I'm missing, or is this type of scenario not possible? Thanks. Justin Pasher ============================== define service { name nmg-service active_checks_enabled 1 passive_checks_enabled 1 parallelize_check 1 obsess_over_service 1 check_freshness 0 notifications_enabled 1 event_handler_enabled 1 flap_detection_enabled 1 failure_prediction_enabled 1 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 notification_interval 5 is_volatile 0 check_period 24x7 normal_check_interval 5 retry_check_interval 1 max_check_attempts 1 notification_period 24x7 notification_options w,u,c,r register 0 } define service { host_name myhost service_description www.example.com check_command check_http2!www.example.com!25!50 contact_groups admins,websites use nmg-service } define command { command_name check_http2 command_line /usr/lib/nagios/plugins/check_http -t 60 -f follow -H '$ARG1$' -I '$HOSTADDRESS$' -w '$ARG2$' -c '$ARG3$' } ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Feb 10 02:27:13 2009 From: amontibello at gmail.com (Anthony Montibello) Date: Mon, 9 Feb 2009 20:27:13 -0500 Subject: FW: Monitoring Windows Host's clock In-Reply-To: <28919A12B5A1504CB3599372AA286FC602CA9B23@bb-cts-ex1.cts.cubic.cub> References: <498AE5F6.4030406@aei.ca> <28919A12B5A1504CB3599372AA286FC602CA9B23@bb-cts-ex1.cts.cubic.cub> Message-ID: Hi Robby, If you want just the Windows System Time NC_NEt using Check_nc_net instead of Check_nt can provide this through the CLIENTTIME command Otherwise you should be able to find Scrits (outside the nagios comunity) that get and print the system time when you do, call it via NRPE, Or you can setup your own script that submits a the system time via NSCA . Hope this helps, TOny (Author of NC_Net) On Mon, Feb 9, 2009 at 5:53 PM, Kahlon, Robby wrote: > I need to monitor the Windows NTP client's time against the Windows NTP > server time. > < I thought the purpose of NTP client was to keep the System time in sync with the NTP server SO isn't the System Time good enought for Client TIme??? OR do you need to know the Delta between the two? Isnt that published in the System Log files? > > I was reading about a similar issue on the Mail Archive and Hari Sekhon > has suggested using check_ntp on each remote host against the ntp > server. > http://www.mail-archive.com/nagios-users at lists.sourceforge.net/msg21774. > html > > > Is there any plug-in equivalent to check_ntp or check_ntp_time which can > be used on the Windows machine to check time against the Windows NTP > server? > > Robby > > > > ------------------------------------------------------------------------------ > Create and Deploy Rich Internet Apps outside the browser with > Adobe(R)AIR(TM) > software. With Adobe AIR, Ajax developers can use existing skills and code > to > build responsive, highly engaging applications that combine the power of > local > resources and data with the reach of the web. Download the Adobe AIR SDK > and > Ajax docs to start building applications today- > http://p.sf.net/sfu/adobe-com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From finchs at stgeorge.com.au Tue Feb 10 03:18:00 2009 From: finchs at stgeorge.com.au (Simon Finch) Date: Tue, 10 Feb 2009 13:18:00 +1100 Subject: Nagvis In-Reply-To: References: Message-ID: <49917E8D.B47D.0048.0@stgeorge.com.au> Martyn, Your config looks good to me, are you sure there is data going into the ndo database ? Check your nagios.log for: ndomod: Successfully connected to data sink. 0 queued items to flush. Rgds - Simon >>> "Martyn" 10/02/2009 10:32 am >>> Hi all, I'm' hoping that you have the heart to help me out again on my quest :) Anyway I'm trying to install Nagvis but hit a small problem. When I point my Web browser to the map I created I get the following error backendInstanceNameNotValid: NDOMy: Instance name not valid (Backend ndomy_1) The given instance name "default" in backend "ndomy_1" is not valid. This is from my nagvis.ini.php [backend_ndomy_1] backendid="ndomy_1" backendtype="ndomy" dbhost="localhost" dbport=3306 dbname="ndo" dbuser="root" dbpass="xxxxxxx" dbprefix="nagios_" dbinstancename="default" maxtimewithoutupdate=180 htmlcgi="/nagios/cgi-bin" This is from my /ndomod.cfg # INSTANCE NAME # This option identifies the "name" associated with this particular # instance of Nagios and is used to seperate data coming from multiple # instances. Defaults to 'default' (without quotes). instance_name=default Thanks again Martyn *** This is an automatically appended message from St. George ITP. If this email is SPAM please register it with WebSense MailControl by clicking here ( https://www.mailcontrol.com/sr/BAQtmRdcL9fTndxI!oX7UhHqCnr9FF1iTwj98efHAPz!2H9YPTQeXTNtkhY1fTAJ7mc2DMSy!7zieLvRJKIvyA== ). *** ********************************************************************** ***** IMPORTANT INFORMATION ***** This document should be read only by those persons to whom it is addressed and its content is not intended for use by any other persons. If you have received this message in error, please notify us immediately. Please also destroy and delete the message from your computer. Any unauthorised form of reproduction of this message is strictly prohibited. St George Bank Limited AFSL 240997, Advance Asset Management Limited AFSL 240902, St George Life Limited AFSL 240900, ASGARD Capital Management Limited AFSL 240695 and Securitor Financial Group Limited AFSL 240687 is not liable for the proper and complete transmission of the information contained in this communication, nor for any delay in its receipt. ********************************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From atstake at gmail.com Tue Feb 10 06:37:15 2009 From: atstake at gmail.com (Chris) Date: Tue, 10 Feb 2009 16:37:15 +1100 Subject: check postgres - parsing password Message-ID: <8adc88580902092137j32c02026p768b68cdfde52cc6@mail.gmail.com> I am using the check_pgsql plugin to check my postgres database on a remote server. My postgres password has special characters "$" and "#". It works fine from the command line when I parse my password using the "\" escape sequence. But I tried from Nagios configuration file and it says "Password authentication failed." commands.cfg has define command{ command_name check_postgres command_line $USER1$/check_pgsql -H $HOSTADDRESS$ -l $ARG1$ -p $ARG2$ -d $ARG3$ } unix.cfg define service{ use generic-service host_name server1 service_description Postgres Database Engine check_command check_postgres!nagios!pa$$w#rd!database_name } In commands.cfg I have tried putting the password directly with escape sequence and double quotes, with no luck. Can anyone please help me resolve this issue? Thanks. ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Feb 10 06:57:35 2009 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Tue, 10 Feb 2009 00:57:35 -0500 Subject: Alternate check interval when state become CRITICAL In-Reply-To: <4990C2E6.2020504@newmediagateway.com> References: <4990C2E6.2020504@newmediagateway.com> Message-ID: <4991174F.7050200@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 09/02/09 06:57 PM, Justin Pasher wrote: > Hello, > > (I have included the applicable nagios definitions at the end of the email). > > I'm trying to figure out if this is even possible. I am running Nagios > 3.0.6 on Debian Etch. I have some service checks setup to see if a web > site is still reachable. The check itself is pretty simple. It inherits > most of the options from a service template (most were the default > settings out of the box). > > Right now, the check happens every 5 minutes. If the check_http exceeds > the timeout, it changes to a CRITICAL state and the alert is sent. After > that, it continues to check every 5 minutes to see if the state changes. > If the state remains at CRITICAL or changes to OK, another notification > is sent out. > > What I would like to do is have the check interval change to every one > minute when the state become CRITICAL, but keep the notifications at 5 > minute intervals. It's simple: use an eventhandler. You can look at this for inspiration, although you would likely need some more details to understand what I'm trying to do there... http://solaris.beaubien.net/~dermoth/media/nagios/handle_stall_counter - -- Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFJkRdO6dZ+Kt5BchYRAkorAJ9SLvtDLhVVM/FIPsztLTEOeRf4nACg32sT EbNrMLPGjm76Rf1/OeWkkSw= =GOYA -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Feb 10 07:07:25 2009 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Tue, 10 Feb 2009 01:07:25 -0500 Subject: check postgres - parsing password In-Reply-To: <8adc88580902092137j32c02026p768b68cdfde52cc6@mail.gmail.com> References: <8adc88580902092137j32c02026p768b68cdfde52cc6@mail.gmail.com> Message-ID: <4991199D.2020503@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 10/02/09 12:37 AM, Chris wrote: > I am using the check_pgsql plugin to check my postgres database on a > remote server. My postgres password has special characters "$" and > "#". It works fine from the command line when I parse my password > using the "\" escape sequence. But I tried from Nagios configuration > file and it says "Password authentication failed." commands.cfg has > > define command{ > command_name check_postgres > command_line $USER1$/check_pgsql -H $HOSTADDRESS$ -l $ARG1$ -p > $ARG2$ -d $ARG3$ > } > > unix.cfg > > define service{ > use generic-service > host_name server1 > service_description Postgres Database Engine > check_command > check_postgres!nagios!pa$$w#rd!database_name > } > > In commands.cfg I have tried putting the password directly with escape > sequence and double quotes, with no luck. You most likely want to use single quotes around your password as "$" will be interpretted by the shell. AFAIK $$ in command definition/args should work. Putting that together (with the command_line above): check_command check_postgres!nagios!'pa$$w#rd'!database_name Want to know what end up on the command line? add "echo" in front of the command before $USER1$ (you will not see single and double quotes, but you'll see if characters are being interpreted). If you need more details a simple perl script can print arguments one by one. Finally, if you're out of ideas, get the Git (or SVN) head and enable extra-opts in configure, then you can define the password in an ini file. - -- Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFJkRmd6dZ+Kt5BchYRAr9jAJ9vvRbWqBA7OhMGDFQVoU1L8tcL7QCgiEBz T4d527nhA1k1grHQqglr5L8= =IT8i -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From martyn at chetnet.co.uk Tue Feb 10 09:36:42 2009 From: martyn at chetnet.co.uk (Martyn) Date: Tue, 10 Feb 2009 08:36:42 -0000 Subject: Nagvis In-Reply-To: <49917E8D.B47D.0048.0@stgeorge.com.au> References: <49917E8D.B47D.0048.0@stgeorge.com.au> Message-ID: I do not have that entry in there, also I have just cheeked my db and there are not entries added, they are all still at Zero What do you think could be the problem? Thanks _____ From: Simon Finch [mailto:finchs at stgeorge.com.au] Sent: 10 February 2009 02:18 To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagvis Martyn, Your config looks good to me, are you sure there is data going into the ndo database ? Check your nagios.log for: ndomod: Successfully connected to data sink. 0 queued items to flush. Rgds - Simon >>> "Martyn" 10/02/2009 10:32 am >>> Hi all, I'm' hoping that you have the heart to help me out again on my quest :) Anyway I'm trying to install Nagvis but hit a small problem. When I point my Web browser to the map I created I get the following error backendInstanceNameNotValid: NDOMy: Instance name not valid (Backend ndomy_1) The given instance name "default" in backend "ndomy_1" is not valid. This is from my nagvis.ini.php [backend_ndomy_1] backendid="ndomy_1" backendtype="ndomy" dbhost="localhost" dbport=3306 dbname="ndo" dbuser="root" dbpass="xxxxxxx" dbprefix="nagios_" dbinstancename="default" maxtimewithoutupdate=180 htmlcgi="/nagios/cgi-bin" This is from my /ndomod.cfg # INSTANCE NAME # This option identifies the "name" associated with this particular # instance of Nagios and is used to seperate data coming from multiple # instances. Defaults to 'default' (without quotes). instance_name=default Thanks again Martyn *** This is an automatically appended message from St. George ITP. If this email is SPAM please register it with WebSense MailControl by clicking here . *** ********************************************************************** ***** IMPORTANT INFORMATION ***** This document should be read only by those persons to whom it is addressed and its content is not intended for use by any other persons. If you have received this message in error, please notify us immediately. Please also destroy and delete the message from your computer. Any unauthorised form of reproduction of this message is strictly prohibited. St George Bank Limited AFSL 240997, Advance Asset Management Limited AFSL 240902, St George Life Limited AFSL 240900, ASGARD Capital Management Limited AFSL 240695 and Securitor Financial Group Limited AFSL 240687 is not liable for the proper and complete transmission of the information contained in this communication, nor for any delay in its receipt. ********************************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From livio.zanol.puppim at gmail.com Tue Feb 10 11:11:56 2009 From: livio.zanol.puppim at gmail.com (Livio Zanol Puppim) Date: Tue, 10 Feb 2009 08:11:56 -0200 Subject: FW: Monitoring Windows Host's clock In-Reply-To: References: <498AE5F6.4030406@aei.ca> <28919A12B5A1504CB3599372AA286FC602CA9B23@bb-cts-ex1.cts.cubic.cub> Message-ID: Or, you can take the easy way and monitor the time with SNMP compared with the NTP server time, also available via SNMP. The only sad thing abaout this, is getting time from some routers, witch in some cases are not available via SNMP 2009/2/9 Anthony Montibello > Hi Robby, > > If you want just the Windows System Time > NC_NEt using Check_nc_net instead of Check_nt can provide this through the > CLIENTTIME command > > Otherwise > you should be able to find Scrits (outside the nagios comunity) that get > and print the system time > when you do, call it via NRPE, > Or you can setup your own script that submits a the system time via NSCA . > > Hope this helps, > TOny (Author of NC_Net) > > > On Mon, Feb 9, 2009 at 5:53 PM, Kahlon, Robby wrote: > >> I need to monitor the Windows NTP client's time against the Windows NTP >> server time. >> > > < > I thought the purpose of NTP client was to keep the System time in sync > with the NTP server > SO isn't the System Time good enought for Client TIme??? > OR do you need to know the Delta between the two? > Isnt that published in the System Log files? > > > > >> I was reading about a similar issue on the Mail Archive and Hari Sekhon >> has suggested using check_ntp on each remote host against the ntp >> server. >> http://www.mail-archive.com/nagios-users at lists.sourceforge.net/msg21774. >> html >> >> >> Is there any plug-in equivalent to check_ntp or check_ntp_time which can >> be used on the Windows machine to check time against the Windows NTP >> server? >> >> Robby >> >> >> >> ------------------------------------------------------------------------------ >> Create and Deploy Rich Internet Apps outside the browser with >> Adobe(R)AIR(TM) >> software. With Adobe AIR, Ajax developers can use existing skills and code >> to >> build responsive, highly engaging applications that combine the power of >> local >> resources and data with the reach of the web. Download the Adobe AIR SDK >> and >> Ajax docs to start building applications today- >> http://p.sf.net/sfu/adobe-com >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> > > > > ------------------------------------------------------------------------------ > Create and Deploy Rich Internet Apps outside the browser with > Adobe(R)AIR(TM) > software. With Adobe AIR, Ajax developers can use existing skills and code > to > build responsive, highly engaging applications that combine the power of > local > resources and data with the reach of the web. Download the Adobe AIR SDK > and > Ajax docs to start building applications today- > http://p.sf.net/sfu/adobe-com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- []'s L?vio Zanol Puppim -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Sascha.Runschke at gfkl.com Tue Feb 10 11:45:02 2009 From: Sascha.Runschke at gfkl.com (Sascha.Runschke at gfkl.com) Date: Tue, 10 Feb 2009 11:45:02 +0100 Subject: Antwort: Re: Nagvis In-Reply-To: References: <49917E8D.B47D.0048.0@stgeorge.com.au> Message-ID: "Martyn" schrieb am 10.02.2009 09:36:42: > I do not have that entry in there, also I have just cheeked my db > and there are not entries added, they are all still at Zero > > What do you think could be the problem? Your Nagios doesn't have a working DB connection at all. Please do a "tail -f /usr/local/nagios/var/nagios.log" while executing a "/etc/init.d/nagios restart" on another console. Watch the nagios.log for entries regarding to ndo. Regards Sascha PS: Please refrain from doing full-quotes and the topposting those. It is considered rude in mailinglists, as it makes reading hard and inboxes full ;) -- Sascha Runschke IT-Infrastruktur fon : +49 (201) / 102-1879 fax : +49 (201) / 102-1102105 mobil : +49 (173) / 5419665 GFKL Financial Services AG Vorstand: Dr. Peter J?nsch (Vors.), J?rgen Baltes, Dr. Tom Haverkamp Vorsitzender des Aufsichtsrats: Dr. Georg F. Thoma Sitz: Limbecker Platz 1, 45127 Essen, Amtsgericht Essen, HRB 13522 ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From martyn at chetnet.co.uk Tue Feb 10 12:54:19 2009 From: martyn at chetnet.co.uk (Martyn) Date: Tue, 10 Feb 2009 11:54:19 -0000 Subject: Antwort: Re: Nagvis In-Reply-To: References: Message-ID: All working now, I went through the install stage again, not sure what I missed but I must of missed something Thanks all for your time again Martyn -----Original Message----- From: Sascha.Runschke at gfkl.com [mailto:Sascha.Runschke at gfkl.com] Sent: 10 February 2009 10:45 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Antwort: Re: Nagvis "Martyn" schrieb am 10.02.2009 09:36:42: > I do not have that entry in there, also I have just cheeked my db and > there are not entries added, they are all still at Zero > > What do you think could be the problem? Your Nagios doesn't have a working DB connection at all. Please do a "tail -f /usr/local/nagios/var/nagios.log" while executing a "/etc/init.d/nagios restart" on another console. Watch the nagios.log for entries regarding to ndo. Regards Sascha PS: Please refrain from doing full-quotes and the topposting those. It is considered rude in mailinglists, as it makes reading hard and inboxes full ;) -- Sascha Runschke IT-Infrastruktur fon : +49 (201) / 102-1879 fax : +49 (201) / 102-1102105 mobil : +49 (173) / 5419665 GFKL Financial Services AG Vorstand: Dr. Peter J?nsch (Vors.), J?rgen Baltes, Dr. Tom Haverkamp Vorsitzender des Aufsichtsrats: Dr. Georg F. Thoma Sitz: Limbecker Platz 1, 45127 Essen, Amtsgericht Essen, HRB 13522 ---------------------------------------------------------------------------- -- Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rpnabar at gmail.com Tue Feb 10 18:55:07 2009 From: rpnabar at gmail.com (Rahul Nabar) Date: Tue, 10 Feb 2009 11:55:07 -0600 Subject: check_lm_sensors and the correct sensor names for checking cpu temperatures Message-ID: I finally got to the stage where all my components for temperature checks are finally working! [root at star255 check_lm_sensors-3.1.1]# sensors k8temp-pci-00c3 Adapter: PCI adapter Core0 Temp: +26?C Core1 Temp: +21?C How exactly do I get check_lm_sensors to work with this? I tried: /usr/local/nagios/libexec/check_lm_sensors -v --high 'Core0 Temp'=15,20 warning: hddtemp not found: HDD temperatures not checked sensors found at /usr/bin/sensors LM_SENSORS UNKNOWN - | I tried some variants on this command line but none of them seem to really work. Am I using the wrong "sensor name"? Any other users of check_lm_sensors? -- Rahul -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Feb 10 18:46:40 2009 From: dirk.schulz at kinzesberg.de (Dirk H. Schulz) Date: Tue, 10 Feb 2009 18:46:40 +0100 Subject: checking for results of external commands Message-ID: <675E6BD1-DDE1-4DA9-A385-9F418394749A@kinzesberg.de> Hello all, I know I can use external commands to enable/disable service checks and host checks - I already use that in scripts. But is there an external command I can use to check for the result of the enable/disable command - in other words, can I check the current state (enabled/disabled) of the service checks and host check for a certain host? I did not find anything that sounded fitting to me in the documentation of external commands. The reason is that it takes some time for the external commands to be worked upon; at the moment I use "sleep 120" steps in my scripts to wait for that which is quite ugly. Any hint or help is appreciated. Dirk ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From justinp at newmediagateway.com Tue Feb 10 20:18:43 2009 From: justinp at newmediagateway.com (Justin Pasher) Date: Tue, 10 Feb 2009 13:18:43 -0600 Subject: Alternate check interval when state become CRITICAL In-Reply-To: <4991174F.7050200@aei.ca> References: <4990C2E6.2020504@newmediagateway.com> <4991174F.7050200@aei.ca> Message-ID: <4991D313.3030502@newmediagateway.com> Thomas Guyot-Sionnest wrote: >> What I would like to do is have the check interval change to every one >> minute when the state become CRITICAL, but keep the notifications at 5 >> minute intervals. >> > > It's simple: use an eventhandler. > > You can look at this for inspiration, although you would likely need > some more details to understand what I'm trying to do there... > http://solaris.beaubien.net/~dermoth/media/nagios/handle_stall_counter > It looks like this should allow me to do exactly what I need to do. Thanks for the sample script! Justin Pasher ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rjustinwilliams at gmail.com Tue Feb 10 20:39:38 2009 From: rjustinwilliams at gmail.com (rjustinwilliams at gmail.com) Date: Tue, 10 Feb 2009 19:39:38 +0000 Subject: Fwd: Re: checking for results of external commands In-Reply-To: <00163630f2df737f87046295464b@google.com> References: <00163630f2df737f87046295464b@google.com> Message-ID: <000e0cd2e596cc30fa046295a5ab@google.com> forgot to reply all... ---------- Forwarded message ---------- From: rjustinwilliams at gmail.com Date: Feb 10, 2009 2:12pm Subject: Re: [Nagios-users] checking for results of external commands To: "Dirk H. Schulz" > Dirk > > This is largely going to depend upon the setup of the service. In RedHat, you can use "service foobar status" to return the current status of the service, foobar. Likewise, you can use "service foobar stop/start/restart" to stop/start/restart said service. > > In Gentoo, you use the init scripts directly, as "/etc/init.d/foobar start/stop/restart/status" > > Other flavors may differ further.. > > In any case though, you should get feedback in the form of "Foobar is (not) running". > > You can write a script on the remote machine to parse that and, if it sees "not", it can exit with whatever nagios value you choose (3 for unknown, 2 for critical, 1 for warning, 0 for OK), which will cause Nagios to alert as you see fit; likewise, it not seeing a "not", you can have the script exit with a different value. > > HTH > > On Feb 10, 2009 12:46pm, "Dirk H. Schulz" dirk.schulz at kinzesberg.de> wrote: > > Hello all, > > > > > > > > I know I can use external commands to enable/disable service checks > > > > and host checks - I already use that in scripts. > > > > > > > > But is there an external command I can use to check for the result of > > > > the enable/disable command - in other words, can I check the current > > > > state (enabled/disabled) of the service checks and host check for a > > > > certain host? I did not find anything that sounded fitting to me in > > > > the documentation of external commands. > > > > > > > > The reason is that it takes some time for the external commands to be > > > > worked upon; at the moment I use "sleep 120" steps in my scripts to > > > > wait for that which is quite ugly. > > > > > > > > Any hint or help is appreciated. > > > > > > > > Dirk > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > > Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) > > > > software. With Adobe AIR, Ajax developers can use existing skills and code to > > > > build responsive, highly engaging applications that combine the power of local > > > > resources and data with the reach of the web. Download the Adobe AIR SDK and > > > > Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com > > > > _______________________________________________ > > > > Nagios-users mailing list > > > > Nagios-users at lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > ::: 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 -------------- ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Feb 10 21:31:24 2009 From: dirk.schulz at kinzesberg.de (Dirk H. Schulz) Date: Tue, 10 Feb 2009 21:31:24 +0100 Subject: checking for results of external commands In-Reply-To: <00163630f2df737f87046295464b@google.com> References: <00163630f2df737f87046295464b@google.com> Message-ID: <94970F37-86EF-42CD-B3A3-03C1FCA4DA48@kinzesberg.de> HTH, thanks for your fast reply. I was referring to nagios service checks, not to operating system or application services. My question is if there is a CHECK... equivalent to ENABLE_HOST_SVC_CHECKS, e.g. Dirk Am 10.02.2009 um 20:12 schrieb rjustinwilliams at gmail.com: > Dirk > > This is largely going to depend upon the setup of the service. In > RedHat, you can use "service foobar status" to return the current > status of the service, foobar. Likewise, you can use "service foobar > stop/start/restart" to stop/start/restart said service. > > In Gentoo, you use the init scripts directly, as "/etc/init.d/foobar > start/stop/restart/status" > > Other flavors may differ further.. > > In any case though, you should get feedback in the form of "Foobar > is (not) running". > > You can write a script on the remote machine to parse that and, if > it sees "not", it can exit with whatever nagios value you choose (3 > for unknown, 2 for critical, 1 for warning, 0 for OK), which will > cause Nagios to alert as you see fit; likewise, it not seeing a > "not", you can have the script exit with a different value. > > HTH > > On Feb 10, 2009 12:46pm, "Dirk H. Schulz" > wrote: > > Hello all, > > > > > > > > I know I can use external commands to enable/disable service checks > > > > and host checks - I already use that in scripts. > > > > > > > > But is there an external command I can use to check for the result > of > > > > the enable/disable command - in other words, can I check the current > > > > state (enabled/disabled) of the service checks and host check for a > > > > certain host? I did not find anything that sounded fitting to me in > > > > the documentation of external commands. > > > > > > > > The reason is that it takes some time for the external commands to > be > > > > worked upon; at the moment I use "sleep 120" steps in my scripts to > > > > wait for that which is quite ugly. > > > > > > > > Any hint or help is appreciated. > > > > > > > > Dirk > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > > Create and Deploy Rich Internet Apps outside the browser with > Adobe(R)AIR(TM) > > > > software. With Adobe AIR, Ajax developers can use existing skills > and code to > > > > build responsive, highly engaging applications that combine the > power of local > > > > resources and data with the reach of the web. Download the Adobe > AIR SDK and > > > > Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com > > > > _______________________________________________ > > > > Nagios-users mailing list > > > > Nagios-users at lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > > > > ::: Messages without supporting info will risk being sent to /dev/ > null > > ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rpnabar at gmail.com Tue Feb 10 22:03:38 2009 From: rpnabar at gmail.com (Rahul Nabar) Date: Tue, 10 Feb 2009 15:03:38 -0600 Subject: check_lm_sensors and the correct sensor names for checking cpu temperatures In-Reply-To: <65CE3602-A5E8-467A-8BF7-9B7ADA50E4D4@gmail.com> References: <65CE3602-A5E8-467A-8BF7-9B7ADA50E4D4@gmail.com> Message-ID: On Tue, Feb 10, 2009 at 2:57 PM, Matteo Corti wrote: > Dear Rahul, > Please post the output of "/usr/local/nagios/libexec/check_lm_sensors > --list" > Maybe, the --list option should tell us what "check_lm_sensors" sees but > since it parses the output of sensors it should work. > > Thanks again Matteo! usr/local/nagios/libexec/check_lm_sensors --list LM_SENSORS OK - | That's the only output I get. -- Rahul -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rpnabar at gmail.com Tue Feb 10 22:12:33 2009 From: rpnabar at gmail.com (Rahul Nabar) Date: Tue, 10 Feb 2009 15:12:33 -0600 Subject: check_lm_sensors and the correct sensor names for checking cpu temperatures In-Reply-To: References: <65CE3602-A5E8-467A-8BF7-9B7ADA50E4D4@gmail.com> Message-ID: On Tue, Feb 10, 2009 at 3:03 PM, Rahul Nabar wrote: > > > On Tue, Feb 10, 2009 at 2:57 PM, Matteo Corti wrote: > >> Dear Rahul, >> Please post the output of "/usr/local/nagios/libexec/check_lm_sensors >> --list" >> Maybe, the --list option should tell us what "check_lm_sensors" sees but >> since it parses the output of sensors it should work. >> >> > Thanks again Matteo! > > usr/local/nagios/libexec/check_lm_sensors --list > LM_SENSORS OK - | > > That's the only output I get. Just a thought: Could it have something to do with my $LANG variable? It was set to en_US.UTF-8 earlier and then in the output of sensors the "centigrade" sign appeared messed up. Once I set it to export LANG=en_EN it appears correctly. Could this be screwing up the regexes inside check_lm_sensors? If so, what's the workaround? Maybe I'm totally off the mark and this is just a red herring. -- Rahul -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From justinp at newmediagateway.com Tue Feb 10 22:23:24 2009 From: justinp at newmediagateway.com (Justin Pasher) Date: Tue, 10 Feb 2009 15:23:24 -0600 Subject: Alternate check interval when state become CRITICAL In-Reply-To: <4991174F.7050200@aei.ca> References: <4990C2E6.2020504@newmediagateway.com> <4991174F.7050200@aei.ca> Message-ID: <4991F04C.303@newmediagateway.com> Thomas Guyot-Sionnest wrote: >> What I would like to do is have the check interval change to every one >> minute when the state become CRITICAL, but keep the notifications at 5 >> minute intervals. >> > > It's simple: use an eventhandler. > > You can look at this for inspiration, although you would likely need > some more details to understand what I'm trying to do there... > http://solaris.beaubien.net/~dermoth/media/nagios/handle_stall_counter > Alrighty. I took the script above as the base and tweaked it to my setup. The theory behind the code is working, but there is still one caveat. When the service goes into a HARD CRITICAL state, the event handler is called and it correctly sends the command to Nagios to update the check interval. The problem is that when the command is sent to Nagios, Nagios has already set the next scheduled check (which defaults to five minutes out). This means the next service check still won't happen for another five minutes. After the next check occurs, if the service is still in a HARD CRITICAL state, the NEXT scheduled check will follow the new check interval that was set by the event handler (one minute). At that time, it will continue to perform checks at one minute intervals until the service is normal again. Once the service is back to a normal state, the event handler is called again, which send the command to Nagios to change the check interval back to five minutes. However, like before, the next scheduled check has already been set (one minute out), so the check happens again in one minute. If the service is still up, it applies the check interval set by the event handler. In the latter instance, it's not that big of a deal since it just causes another check a little sooner than usual. However, in the first instance, because the next scheduled check is still five minutes out the first time around, it defeats the whole purpose of having the custom event handler Do you know any way around this? I've attached the service info and event handler for reference. Justin Pasher ============================== define service { host_name myhost service_description www.myhost.com check_command check_http2!www.myhost.com!25!50 contact_groups admins event_handler change_check_interval use nmg-service } define command { command_name change_check_interval command_line /etc/nagios3/change_check_interval $HOSTNAME$ $HOSTADDRESS$ $SERVICEDESC$ $SERVICESTATE$ $SERVICESTATETYPE$ $SERVICEATTEMPT$ } ============================== /etc/nagios3/change_check_interval: #!/usr/bin/perl use strict; use warnings; # Fork to let Nagios keep on working... if (fork != 0) { # Nobody cares if fork failed... warn("Daemonizing... Thanks for calling me."); exit(0); } die("Usage: $0 ") unless (@ARGV == 6); my $commandfile = '/var/lib/nagios3/rw/nagios.cmd'; my $hostname = $ARGV[0]; my $hostaddress = $ARGV[1]; my $servicedesc = $ARGV[2]; my $state = $ARGV[3]; my $statetype = $ARGV[4]; my $stateattempt = $ARGV[5]; # If state becomes HARD WARNING, change the check interval to something # smaller so the check eventually gets back to OK. if ($state eq 'CRITICAL' && $statetype eq 'HARD') { open(CMD, ">>$commandfile"); printf(CMD "[%lu] CHANGE_NORMAL_SVC_CHECK_INTERVAL;%s;%s;1\n", time, $hostname, $servicedesc); close(CMD); die("Check interval for $hostname set to 1 minute"); } # If state becomes HARD OK, revert the check interval to yearly check in # order to avoid flooding Nagios logs. if ($state eq 'OK' && $statetype eq 'HARD') { open(CMD, ">>$commandfile"); printf(CMD "[%lu] CHANGE_NORMAL_SVC_CHECK_INTERVAL;%s;%s;5\n", time, $hostname, $servicedesc); close(CMD); die("Check interval for $hostname set to 5 minutes"); } ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Feb 11 00:47:44 2009 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Tue, 10 Feb 2009 18:47:44 -0500 Subject: Alternate check interval when state become CRITICAL In-Reply-To: <4991F04C.303@newmediagateway.com> References: <4990C2E6.2020504@newmediagateway.com> <4991174F.7050200@aei.ca> <4991F04C.303@newmediagateway.com> Message-ID: <49921220.7040708@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 10/02/09 04:23 PM, Justin Pasher wrote: > Thomas Guyot-Sionnest wrote: >>> What I would like to do is have the check interval change to every >>> one minute when the state become CRITICAL, but keep the notifications >>> at 5 minute intervals. >>> >> >> It's simple: use an eventhandler. >> >> You can look at this for inspiration, although you would likely need >> some more details to understand what I'm trying to do there... >> http://solaris.beaubien.net/~dermoth/media/nagios/handle_stall_counter >> > > Alrighty. I took the script above as the base and tweaked it to my > setup. The theory behind the code is working, but there is still one > caveat. When the service goes into a HARD CRITICAL state, the event > handler is called and it correctly sends the command to Nagios to update > the check interval. The problem is that when the command is sent to > Nagios, Nagios has already set the next scheduled check (which defaults > to five minutes out). This means the next service check still won't > happen for another five minutes. After the next check occurs, if the > service is still in a HARD CRITICAL state, the NEXT scheduled check will > follow the new check interval that was set by the event handler (one > minute). At that time, it will continue to perform checks at one minute > intervals until the service is normal again. > > Once the service is back to a normal state, the event handler is called > again, which send the command to Nagios to change the check interval > back to five minutes. However, like before, the next scheduled check has > already been set (one minute out), so the check happens again in one > minute. If the service is still up, it applies the check interval set by > the event handler. > > In the latter instance, it's not that big of a deal since it just causes > another check a little sooner than usual. However, in the first > instance, because the next scheduled check is still five minutes out the > first time around, it defeats the whole purpose of having the custom > event handler > > Do you know any way around this? I've attached the service info and > event handler for reference. Have you tried scheduling a check or forced check? I'm not 100% sure, but one of these commands might override the next scheduled check.. See here for the nagios commands: http://www.nagios.org/developerinfo/externalcommands/ - -- Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFJkhIf6dZ+Kt5BchYRAgKJAKDmraVhHhaY3vzktA3J8d5tIfjjGACdFXwt b+P21wl24AAXoEF7Y8uwPUM= =jiUD -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From justinp at newmediagateway.com Wed Feb 11 00:54:03 2009 From: justinp at newmediagateway.com (Justin Pasher) Date: Tue, 10 Feb 2009 17:54:03 -0600 Subject: Alternate check interval when state become CRITICAL In-Reply-To: <49921220.7040708@aei.ca> References: <4990C2E6.2020504@newmediagateway.com> <4991174F.7050200@aei.ca> <4991F04C.303@newmediagateway.com> <49921220.7040708@aei.ca> Message-ID: <4992139B.6040400@newmediagateway.com> Thomas Guyot-Sionnest wrote: >> Alrighty. I took the script above as the base and tweaked it to my >> setup. The theory behind the code is working, but there is still one >> caveat. When the service goes into a HARD CRITICAL state, the event >> handler is called and it correctly sends the command to Nagios to update >> the check interval. The problem is that when the command is sent to >> Nagios, Nagios has already set the next scheduled check (which defaults >> to five minutes out). This means the next service check still won't >> happen for another five minutes. After the next check occurs, if the >> service is still in a HARD CRITICAL state, the NEXT scheduled check will >> follow the new check interval that was set by the event handler (one >> minute). At that time, it will continue to perform checks at one minute >> intervals until the service is normal again. >> >> Once the service is back to a normal state, the event handler is called >> again, which send the command to Nagios to change the check interval >> back to five minutes. However, like before, the next scheduled check has >> already been set (one minute out), so the check happens again in one >> minute. If the service is still up, it applies the check interval set by >> the event handler. >> >> In the latter instance, it's not that big of a deal since it just causes >> another check a little sooner than usual. However, in the first >> instance, because the next scheduled check is still five minutes out the >> first time around, it defeats the whole purpose of having the custom >> event handler >> >> Do you know any way around this? I've attached the service info and >> event handler for reference. >> > > Have you tried scheduling a check or forced check? I'm not 100% sure, > but one of these commands might override the next scheduled check.. > > See here for the nagios commands: > http://www.nagios.org/developerinfo/externalcommands/ > I actually thought of that shortly after I sent the original message. When I did the force check from the CGI, I noticed the command in the Nagios log and it gave me that idea. I tried it out and it ends up doing exactly what I needed. Thanks for your help. For the list, here is the updated version of the script ============================== #!/usr/bin/perl # use strict; use warnings; # Fork to let Nagios keep on working... if (fork != 0) { # Nobody cares if fork failed... warn("Daemonizing... Thanks for calling me."); exit(0); } die("Usage: $0 ") unless (@ARGV == 6); my $commandfile = '/var/lib/nagios3/rw/nagios.cmd'; my $hostname = $ARGV[0]; my $servicedesc = $ARGV[1]; my $state = $ARGV[2]; my $statetype = $ARGV[3]; my $stateattempt = $ARGV[4]; # If state becomes HARD WARNING, change the check interval to something # smaller so the check eventually gets back to OK. if ($state eq 'CRITICAL' && $statetype eq 'HARD') { open(CMD, ">>$commandfile"); printf(CMD "[%lu] CHANGE_NORMAL_SVC_CHECK_INTERVAL;%s;%s;1\n", time, $hostname, $servicedesc); # the check_interval change above is applied AFTER the next scheduled check is already scheduled # (five minutes out). because of this, we force a check to occur in one minute. after this check # the NEXT scheduled check should use the newly applied check_interval printf(CMD "[%lu] SCHEDULE_FORCED_SVC_CHECK;%s;%s;%lu\n", time, $hostname, $servicedesc, time + 60); close(CMD); die("Check interval for $hostname set to 1 minute"); } # If state becomes HARD OK, revert the check interval to yearly check in # order to avoid flooding Nagios logs. if ($state eq 'OK' && $statetype eq 'HARD') { open(CMD, ">>$commandfile"); printf(CMD "[%lu] CHANGE_NORMAL_SVC_CHECK_INTERVAL;%s;%s;5\n", time, $hostname, $servicedesc); printf(CMD "[%lu] SCHEDULE_FORCED_SVC_CHECK;%s;%s;%lu\n", time, $hostname, $servicedesc, time + 300); close(CMD); die("Check interval for $hostname set to 5 minutes"); } ============================== Justin Pasher ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bthayre at physics.ucsd.edu Wed Feb 11 02:34:53 2009 From: bthayre at physics.ucsd.edu (Bruce Thayre) Date: Tue, 10 Feb 2009 17:34:53 -0800 Subject: vrml_image parameter apparently not working Message-ID: <49922B3D.9060300@physics.ucsd.edu> Hello, So i'm trying to beautify my nagios system a bit, and my host, and serviceextinfo.cfg files seem to be working for the most part, the relavent portions being: define hostextinfo{ host_name * icon_image rack4.gif # icon_image_alt rack4.gif vrml_image rack4.png statusmap_image rack4.gd2 } however the vrml_image parameter does not seem to be doing what it should. My understanding was that each host on the 3d map would be textured according to the provided .png, and currently mine still have the default boring texture. I'm currently running nagios 3.04. And also, is there any straightforward way to manage how the hosts are oriented in both the status and 3d maps (other than the provided 6 or so layout methods)? I would really like to see my status maps organized very distinctly by host groups, right now i'm monitoring 120+ machines and would like some type of balanced tree/circular layout mix. Any help would be greatly appreciated, thanks!!! ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From shadhin71 at gmail.com Wed Feb 11 05:15:23 2009 From: shadhin71 at gmail.com (shadih rahman) Date: Wed, 11 Feb 2009 04:15:23 +0000 Subject: checking for results of external commands In-Reply-To: <94970F37-86EF-42CD-B3A3-03C1FCA4DA48@kinzesberg.de> References: <00163630f2df737f87046295464b@google.com> <94970F37-86EF-42CD-B3A3-03C1FCA4DA48@kinzesberg.de> Message-ID: <6db4a4200902102015t23f8917frdf4680c40424d5c2@mail.gmail.com> Dirk, I am struggling with the same issue. However there is few solutions. One thing you have to parse the status.dat file. There is a cpan module which creates the perl object for nagios configs and status http://search.cpan.org/~duncs/Nagios-Object/ . However this module have some problem with nagios version 3 log files. I have contacted the owner of the module but he is not responding. I will take a look at it over the weekend and see if I could fix the problem. Also you can parse objects.cache file which will have information about nagios current config and last check. Please let me know if you figure out better solutions. On Tue, Feb 10, 2009 at 8:31 PM, Dirk H. Schulz wrote: > HTH, > > thanks for your fast reply. > > I was referring to nagios service checks, not to operating system or > application services. My question is if there is a CHECK... equivalent > to ENABLE_HOST_SVC_CHECKS, e.g. > > Dirk > > Am 10.02.2009 um 20:12 schrieb rjustinwilliams at gmail.com: > > > Dirk > > > > This is largely going to depend upon the setup of the service. In > > RedHat, you can use "service foobar status" to return the current > > status of the service, foobar. Likewise, you can use "service foobar > > stop/start/restart" to stop/start/restart said service. > > > > In Gentoo, you use the init scripts directly, as "/etc/init.d/foobar > > start/stop/restart/status" > > > > Other flavors may differ further.. > > > > In any case though, you should get feedback in the form of "Foobar > > is (not) running". > > > > You can write a script on the remote machine to parse that and, if > > it sees "not", it can exit with whatever nagios value you choose (3 > > for unknown, 2 for critical, 1 for warning, 0 for OK), which will > > cause Nagios to alert as you see fit; likewise, it not seeing a > > "not", you can have the script exit with a different value. > > > > HTH > > > > On Feb 10, 2009 12:46pm, "Dirk H. Schulz" > > wrote: > > > Hello all, > > > > > > > > > > > > I know I can use external commands to enable/disable service checks > > > > > > and host checks - I already use that in scripts. > > > > > > > > > > > > But is there an external command I can use to check for the result > > of > > > > > > the enable/disable command - in other words, can I check the current > > > > > > state (enabled/disabled) of the service checks and host check for a > > > > > > certain host? I did not find anything that sounded fitting to me in > > > > > > the documentation of external commands. > > > > > > > > > > > > The reason is that it takes some time for the external commands to > > be > > > > > > worked upon; at the moment I use "sleep 120" steps in my scripts to > > > > > > wait for that which is quite ugly. > > > > > > > > > > > > Any hint or help is appreciated. > > > > > > > > > > > > Dirk > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > > > > Create and Deploy Rich Internet Apps outside the browser with > > Adobe(R)AIR(TM) > > > > > > software. With Adobe AIR, Ajax developers can use existing skills > > and code to > > > > > > build responsive, highly engaging applications that combine the > > power of local > > > > > > resources and data with the reach of the web. Download the Adobe > > AIR SDK and > > > > > > Ajax docs to start building applications today- > http://p.sf.net/sfu/adobe-com > > > > > > _______________________________________________ > > > > > > Nagios-users mailing list > > > > > > Nagios-users at lists.sourceforge.net > > > > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > ::: Please include Nagios version, plugin version (-v) and OS when > > reporting any issue. > > > > > > ::: Messages without supporting info will risk being sent to /dev/ > > null > > > > > > > > ------------------------------------------------------------------------------ > Create and Deploy Rich Internet Apps outside the browser with > Adobe(R)AIR(TM) > software. With Adobe AIR, Ajax developers can use existing skills and code > to > build responsive, highly engaging applications that combine the power of > local > resources and data with the reach of the web. Download the Adobe AIR SDK > and > Ajax docs to start building applications today- > http://p.sf.net/sfu/adobe-com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Cordially, Shadhin Rahman -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From matthewmelvin at gmail.com Wed Feb 11 06:12:53 2009 From: matthewmelvin at gmail.com (Matthew Melvin) Date: Wed, 11 Feb 2009 15:12:53 +1000 Subject: Problem executing plugins under nagios 3.0.6 Message-ID: <1234329173.3569.70.camel@localhost.localdomain> I've recently tried upgrading from nagios 2.9 to nagios 3.0.6 but now it seems like nagios is having trouble executing plugins. The execve calls are failing with E2BIG. An example from an strace... 23545 execve("/bin/sh", ["sh", "-c", "/usr/lib/nagios/plugins/check_dummy 3 \"Stale results\""], [/* 191 vars */]) = -1 E2BIG (Argument list too long) But that command seems entirely normal to me... # su - nagios $ sh -c "/usr/lib/nagios/plugins/check_dummy 3 \"Stale results\"" UNKNOWN: Stale results $ I am using essentially the same configuration file as my 2.9 install but slightly tweaked as per... http://nagios.sourceforge.net/docs/3_0/upgrading.html#nagios2x Out... comment_file=/var/lib/nagios-cms/comments.dat downtime_file=/var/lib/nagios-cms/downtime.dat service_reaper_frequency=2 aggregate_status_updates=1 In... check_result_path=/var/run/nagios-cms/results check_result_reaper_frequency=2 Any guidance as to what I might be missing would be appreciated. Execve not working is a failure as such a basic level I'm a bit lost as for where to start. :) M. -- ... with eskimo chain i tattooed my brain all the way... ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From atstake at gmail.com Wed Feb 11 06:46:03 2009 From: atstake at gmail.com (Chris) Date: Wed, 11 Feb 2009 16:46:03 +1100 Subject: monitoring fans Message-ID: <8adc88580902102146q4d9f113fub656d6ef2b223ef7@mail.gmail.com> I am using check_snmp_fans plugin to monitor fans on some of my ESX hosts on blades. But I can't seem to monitor fans on my actual physical servers and workstations. I get error Error: walkoid() returned nothing. Does anyone know why I am getting this error? Thanks. ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From KRamanujan at JohnDeere.com Wed Feb 11 09:28:06 2009 From: KRamanujan at JohnDeere.com (K Ramanujan) Date: Wed, 11 Feb 2009 13:58:06 +0530 Subject: unable to send mail to external id Message-ID: <85AD93A0C061954DB4A48597463A6474409CA7AF09@epumb2.jdnet.deere.com> Dear Sir, I have configure my nagios in Linux and I am getting email notification in my local mail id but I didn't;t get mail to my external id(Gmail or yahoo) . can you please help. Thanks!!! Regards, Ramanujan Extn-5158 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Feb 11 11:39:44 2009 From: paul.weaver at bbc.co.uk (Paul Weaver) Date: Wed, 11 Feb 2009 10:39:44 -0000 Subject: monitoring fans In-Reply-To: <8adc88580902102146q4d9f113fub656d6ef2b223ef7@mail.gmail.com> References: <8adc88580902102146q4d9f113fub656d6ef2b223ef7@mail.gmail.com> Message-ID: > I am using check_snmp_fans plugin to monitor fans on some of > my ESX hosts on blades. But I can't seem to monitor fans on > my actual physical servers and workstations. I get error > Error: walkoid() returned nothing. Does anyone know why I am > getting this error? The SNMP oid that check_snmp_fans searches for isn't supported on your non-blade machines -- do those machines respond to normal snmp? Do they have any server snmp extensions to let you monitor things like PSU health etc? ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Eric.Doutreleau at it-sudparis.eu Wed Feb 11 11:58:02 2009 From: Eric.Doutreleau at it-sudparis.eu (Eric Doutreleau) Date: Wed, 11 Feb 2009 11:58:02 +0100 Subject: having different "view" in nagios interface Message-ID: <4992AF3A.4000707@it-sudparis.eu> Hi there I m using nagios 3.0.6 on a linux server and i m checking numerous services. I would like to know if it s possible to have different "views" of the stateof service. for example i would like to be able to mask the state of some less important services. a good example is the need of update of server. They are pllaneed each week then i would like to keep them on nagios to have a full view of what need to be done when it s time to do but it s useless in daily basis. There s far more too much "red" in the console that won't be fixed immediately. and the "real" real-time problems are lost in all this "red" in the console. is there an elegant way to do that. i would prefer not create multiple instance of nagios. thanks in advance for any help ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Feb 11 13:48:12 2009 From: paul.weaver at bbc.co.uk (Paul Weaver) Date: Wed, 11 Feb 2009 12:48:12 -0000 Subject: having different "view" in nagios interface In-Reply-To: <4992AF3A.4000707@it-sudparis.eu> References: <4992AF3A.4000707@it-sudparis.eu> Message-ID: > for example i would like to be able to mask the state of some > less important services. > a good example is the need of update of server. > They are pllaneed each week then i would like to keep them on > nagios to have a full view of what need to be done when it s > time to do We have two systems we're still playing with (after 18 months) One is a separate perl webpage we wrote, which prints the services in a heigerchial way, and goes red/yellow/green at various points. A Bit like a check_cluster style plugin. Really critical issues filter to the top, other issues are dealt with when people have some free time (at least in theory). It uses a perl Nagios::Statuslog to get the status, which is a right pig (it takes 4.5 seconds to import the log), but as it sits there on a plasma automatically refreshing, it doesn't matter too much how long it takes to display. For our dev system, we use the following link /nagios/cgi-bin/status.cgi?host=all&servicestatustypes=28&hoststatustype s=3&serviceprops=42&sorttype=1&sortoption=6 Which only displays services that aren't acknowleged or in downtime, with the most recent at the top. We have too many users, and they change too often, to have indiviudual contacts. We use an ntlm module to do IE passthrough authentication with active directory, and default everyone to the same user, who has visibility of every host and service. -- Paul Weaver Systems Development Engineer News Production Facilities, BBC News ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Feb 11 14:01:22 2009 From: paul.weaver at bbc.co.uk (Paul Weaver) Date: Wed, 11 Feb 2009 13:01:22 -0000 Subject: unable to send mail to external id In-Reply-To: <85AD93A0C061954DB4A48597463A6474409CA7AF09@epumb2.jdnet.deere.com> References: <85AD93A0C061954DB4A48597463A6474409CA7AF09@epumb2.jdnet.deere.com> Message-ID: > Dear Sir, > I have configure my nagios in Linux and I am getting email notification in my local mail id but I didn't > get mail to my external id(Gmail or yahoo) . can you please help. Nagios sounds like it is configured fine, it sounds like your local machine isn't configured to send emails though - nagios uses the native linux way of sending emails, which often isn't configured. Try the following: # echo "Test from nagios"|mail -s Test root # echo "Test from nagios"|mail -s Test user at yourcompany.com # echo "Test from nagios"|mail -s Test user at gmail.com That should send three emails. I would guess the first one works. If the others don't work, you need to set up your mail transfer agent (exim, sendmail etc) to point to a "smarthost", your companies internal smtp gateway. Alternativly, you could do the following 1) Change your command definition define command{ command_name notify-by-email command_line ******* } Replace the end of the line, which probably says something like | /bin/mail -s "Host $HOSTSTATE$ alert for $HOSTNAME$!" $CONTACTEMAIL$ With | $USER1$/sendEmail.pl $CONTACTEMAIL$ "** $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" E.G. (this only works for nagios 2.9) /usr/bin/printf "%b" "***** Nagios 2.9 *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional Info:\n\n$SERVICEOUTPUT$" | $USER1$/sendEmail.pl $CONTACTEMAIL$ "** $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" 2) Add "sendEmail.pl" (http://195.50.87.86/~npf/sendEmail.pl) to your libexec directory, and change the "mailServer" and "from" to be valid for your local network. -- "Experience is what you get when you were expecting something else." Paul Weaver Systems Development Engineer News Production Facilities, BBC News ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Feb 11 14:26:49 2009 From: marc at ena.com (Marc Powell) Date: Wed, 11 Feb 2009 07:26:49 -0600 Subject: having different "view" in nagios interface In-Reply-To: References: <4992AF3A.4000707@it-sudparis.eu> Message-ID: On Feb 11, 2009, at 6:48 AM, Paul Weaver wrote: > For our dev system, we use the following link > /nagios/cgi-bin/status.cgi? > host=all&servicestatustypes=28&hoststatustype > s=3&serviceprops=42&sorttype=1&sortoption=6 > > Which only displays services that aren't acknowleged or in downtime, > with the most recent at the top. This is a good suggestion and we use this as our normal workflow to identify new issues. Another option is to create different contacts. Using Authentication, nagios will only show the hosts and services associated with that contact. -- Marc ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rpnabar at gmail.com Wed Feb 11 17:16:18 2009 From: rpnabar at gmail.com (Rahul Nabar) Date: Wed, 11 Feb 2009 10:16:18 -0600 Subject: check_lm_sensors and the correct sensor names for checking cpu temperatures In-Reply-To: References: <65CE3602-A5E8-467A-8BF7-9B7ADA50E4D4@gmail.com> Message-ID: On Wed, Feb 11, 2009 at 1:28 AM, Matteo Corti wrote: > > > Could you try to send me both the output of 'sensors' and 'check_lm_sensors > --list -v -v'. > > Many thanks, > > Sure. Here it is rpnabar at star255:~>/usr/local/nagios/libexec/check_lm_sensors --list -v -v warning: hddtemp not found: HDD temperatures not checked sensors found at /usr/bin/sensors LM_SENSORS OK - | rpnabar at star255:~>sensors k8temp-pci-00c3 Adapter: PCI adapter Core0 Temp: +25?C Core1 Temp: +20?C -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From frisvolj at lafayette.edu Wed Feb 11 18:11:34 2009 From: frisvolj at lafayette.edu (Jason Frisvold) Date: Wed, 11 Feb 2009 12:11:34 -0500 Subject: Ack/Downtime on multiple hosts/services Message-ID: <499306C6.3070500@lafayette.edu> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Greetings, I'm relatively new to Nagios and still trying to wrap my head around it. One thing that I have not been able to find is a way to ack or place into downtime multiple items at once. Is there a way to do this? If so, how? If not, is there some other way I'm supposed to handle these sorts of situations? Thanks, - -- - --------------------------- Jason Frisvold Network Engineer frisvolj at lafayette.edu - --------------------------- "What I cannot create, I do not understand" - Richard Feynman -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Using GnuPG with CentOS - http://enigmail.mozdev.org iD8DBQFJkwbGO80o6DJ8UvkRAk0AAJ0UY4blpn4RC6yBH7DY94RrZEUAIwCfbB02 fW3e/y3Bk/Q7d9YnMl0rNGg= =UlNS -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From srianirudh at gmail.com Wed Feb 11 19:26:05 2009 From: srianirudh at gmail.com (Anirudh Srinivasan) Date: Wed, 11 Feb 2009 13:26:05 -0500 Subject: notification problem help Message-ID: <699b436a0902111026n2cc7ab1h2295a5382dae8f9f@mail.gmail.com> Hey Folks, We have a nagios monitoring tool in our office. [image: Service Critical][02-11-2009 09:18:13] SERVICE ALERT: app-miafps01;Windows Print;CRITICAL;SOFT;1;LPDSVC: Stopped As we can see this perticular service failed at around 09:18 but we were notified at around 09:45 . I browsed through the logs but couldnt find anything useful. Can you people suggest me what could be the reason . What is the reason nagios notified us only at 0945 and why not at 0918. Any help would be appreciated. -- Anirudh Srinivasan -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Feb 11 19:36:39 2009 From: Aaron.Segura at cabelas.com (Aaron Segura) Date: Wed, 11 Feb 2009 11:36:39 -0700 Subject: notification problem help In-Reply-To: <699b436a0902111026n2cc7ab1h2295a5382dae8f9f@mail.gmail.com> References: <699b436a0902111026n2cc7ab1h2295a5382dae8f9f@mail.gmail.com> Message-ID: That is a SOFT state change. You won't be notified until there is a HARD state change. I would guess your nagios instance is functioning as configured...however, without some relevant configuration information from you, it's just a guess. ________________________________ From: Anirudh Srinivasan [mailto:srianirudh at gmail.com] Sent: Wednesday, February 11, 2009 11:26 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] notification problem help Hey Folks, We have a nagios monitoring tool in our office. Service Critical [02-11-2009 09:18:13] SERVICE ALERT: app-miafps01;Windows Print;CRITICAL;SOFT;1;LPDSVC: Stopped As we can see this perticular service failed at around 09:18 but we were notified at around 09:45 . I browsed through the logs but couldnt find anything useful. Can you people suggest me what could be the reason . What is the reason nagios notified us only at 0945 and why not at 0918. Any help would be appreciated. -- Anirudh Srinivasan -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rpnabar at gmail.com Wed Feb 11 20:54:19 2009 From: rpnabar at gmail.com (Rahul Nabar) Date: Wed, 11 Feb 2009 13:54:19 -0600 Subject: check_lm_sensors and the correct sensor names for checking cpu temperatures In-Reply-To: <2AF53F55-A4FD-4700-B396-B3AC6B63C163@gmail.com> References: <65CE3602-A5E8-467A-8BF7-9B7ADA50E4D4@gmail.com> <2AF53F55-A4FD-4700-B396-B3AC6B63C163@gmail.com> Message-ID: On Wed, Feb 11, 2009 at 11:18 AM, Matteo Corti wrote: > > > I forgot: could you also please send me the output of > > 'sensors -uA' > > I feel that I could parse the raw output to avoid problems with spaces and > newlines. > > Cheers and thanks again > > > Matteo > k8temp-pci-00c3 Core0 Temp: 24.00 (temp1) ERROR: Can't get feature `temp2' data! Core1 Temp: 20.00 (temp3) ERROR: Can't get feature `temp4' data! -- Rahul -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rpnabar at gmail.com Wed Feb 11 20:55:02 2009 From: rpnabar at gmail.com (Rahul Nabar) Date: Wed, 11 Feb 2009 13:55:02 -0600 Subject: check_lm_sensors and the correct sensor names for checking cpu temperatures In-Reply-To: References: <65CE3602-A5E8-467A-8BF7-9B7ADA50E4D4@gmail.com> Message-ID: On Wed, Feb 11, 2009 at 11:15 AM, Matteo Corti wrote: > Dear Rahul, > > > > Does the input include the newline between the "Core0 Temp:" and the > temperature? > > Yes, it does! Is that messing up the regexes? -- Rahul -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From vasiliy at linuxspecial.com Wed Feb 11 20:43:27 2009 From: vasiliy at linuxspecial.com (Vasiliy Boulytchev) Date: Wed, 11 Feb 2009 14:43:27 -0500 Subject: NRPE Problem Message-ID: <7fd1523d0902111143i1be6d9c5sf0baf1ed9b769246@mail.gmail.com> Gents, I am trying to have Nagios specify which partition to check via nrpe... and am getting the following error: DISK CRITICAL - 10 is not accessible: No such file or directory Here is my configuration: ############################### define command{ command_name check_nrpe_manual_disk command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c check_manual_disk -a $ARG1$ $ARG2$ $ARG3$ } command[check_manual_disk]=/usr/local/nagios-plugins/libexec/check_disk -w $ARG1$ -c $ARG2$ -p $ARG3$ define service{ use local-service host_name localhost service_description Manual Disk /dev/sda1 check_command check_nrpe_manual_disk!20!10!/ } -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From matt at frozenatom.com Wed Feb 11 22:29:25 2009 From: matt at frozenatom.com (Matt Nelson) Date: Wed, 11 Feb 2009 14:29:25 -0700 Subject: Acknowledge all services on a host Message-ID: <148f6bb30902111329qe99a7c1i422636e5167c6dc0@mail.gmail.com> Is there a way to acknowledge all services that are in an error state on a host? This would be very handy. I currently have a server that has around 12 services, and if 5 of them die I have to go acknowledge each of the 5 rather then for the whole host. This takes a lot of time away from me being able to get to work on the problem sooner. Am I using Nagios wrong, is there a better way to do this? We would use the "Schedule Downtime" but I would like it to be alerted for once it "goes good" again. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mothbitten1 at yahoo.com Wed Feb 11 22:57:06 2009 From: mothbitten1 at yahoo.com (Dan McManus) Date: Wed, 11 Feb 2009 13:57:06 -0800 (PST) Subject: unable to send mail to external id References: <85AD93A0C061954DB4A48597463A6474409CA7AF09@epumb2.jdnet.deere.com> Message-ID: <750909.12246.qm@web35404.mail.mud.yahoo.com> Seems like it may be a problem with your Linux server's ability to send email into the world. Try sending an email to your gmail or yahoo accounts from the command line. If that doesn't work, you'll know that it is not a Nagios related issue. --Dan ________________________________ From: K Ramanujan To: "nagios-users at lists.sourceforge.net" Sent: Wednesday, February 11, 2009 1:28:06 AM Subject: [Nagios-users] unable to send mail to external id Dear Sir, I have configure my nagios in Linux and I am getting email notification in my local mail id but I didn't;t get mail to my external id(Gmail or yahoo) . can you please help. Thanks!!! Regards, Ramanujan Extn-5158 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Feb 11 23:12:44 2009 From: Aaron.Segura at cabelas.com (Aaron Segura) Date: Wed, 11 Feb 2009 15:12:44 -0700 Subject: Acknowledge all services on a host In-Reply-To: <148f6bb30902111329qe99a7c1i422636e5167c6dc0@mail.gmail.com> References: <148f6bb30902111329qe99a7c1i422636e5167c6dc0@mail.gmail.com> Message-ID: http://www.nagiosexchange.org/cgi-bin/pages/Detailed/2321.html ________________________________ From: Matt Nelson [mailto:matt at frozenatom.com] Sent: Wednesday, February 11, 2009 2:29 PM To: Nagios Users Mailinglist Subject: [Nagios-users] Acknowledge all services on a host Is there a way to acknowledge all services that are in an error state on a host? This would be very handy. I currently have a server that has around 12 services, and if 5 of them die I have to go acknowledge each of the 5 rather then for the whole host. This takes a lot of time away from me being able to get to work on the problem sooner. Am I using Nagios wrong, is there a better way to do this? We would use the "Schedule Downtime" but I would like it to be alerted for once it "goes good" again. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From atstake at gmail.com Wed Feb 11 23:45:06 2009 From: atstake at gmail.com (Chris) Date: Thu, 12 Feb 2009 09:45:06 +1100 Subject: monitoring fans In-Reply-To: References: <8adc88580902102146q4d9f113fub656d6ef2b223ef7@mail.gmail.com> Message-ID: <8adc88580902111445g7f4e335dx886144826e4e1475@mail.gmail.com> On Wed, Feb 11, 2009 at 9:39 PM, Paul Weaver wrote: >> I am using check_snmp_fans plugin to monitor fans on some of >> my ESX hosts on blades. But I can't seem to monitor fans on >> my actual physical servers and workstations. I get error >> Error: walkoid() returned nothing. Does anyone know why I am >> getting this error? > > The SNMP oid that check_snmp_fans searches for isn't supported on your > non-blade machines -- do those machines respond to normal snmp? Yes, they do. I am monitoring disk size, SNMP Uptime, Server Uptime, Total processes via SNMP. > Do they > have any server snmp extensions to let you monitor things like PSU > health etc? Not sure if they have that. The blade ones certainly do. Could they not be monitored via the simple net-snmp (/etc/snmp.conf)? Thanks for your help. ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 prolocation.net Thu Feb 12 00:16:45 2009 From: ian at prolocation.net (Ian van Marwijk) Date: Thu, 12 Feb 2009 00:16:45 +0100 Subject: Ack/Downtime on multiple hosts/services In-Reply-To: <499306C6.3070500@lafayette.edu> References: <499306C6.3070500@lafayette.edu> Message-ID: <49935C5D.7000509@prolocation.net> Hi! This is not (as far as I know) possible out of the box, it's maybe worth looking at the following script : http://www.nagiosexchange.org/cgi-bin/pages/Detailed/2321.html It works for me, it might work for you! best regards, Ian Jason Frisvold wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Greetings, > > I'm relatively new to Nagios and still trying to wrap my head around > it. One thing that I have not been able to find is a way to ack or > place into downtime multiple items at once. Is there a way to do this? > If so, how? If not, is there some other way I'm supposed to handle > these sorts of situations? > > Thanks, > > - -- > - --------------------------- > Jason Frisvold > Network Engineer > frisvolj at lafayette.edu > - --------------------------- > "What I cannot create, I do not understand" > - Richard Feynman > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.5 (GNU/Linux) > Comment: Using GnuPG with CentOS - http://enigmail.mozdev.org > > iD8DBQFJkwbGO80o6DJ8UvkRAk0AAJ0UY4blpn4RC6yBH7DY94RrZEUAIwCfbB02 > fW3e/y3Bk/Q7d9YnMl0rNGg= > =UlNS > -----END PGP SIGNATURE----- > > ------------------------------------------------------------------------------ > Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) > software. With Adobe AIR, Ajax developers can use existing skills and code to > build responsive, highly engaging applications that combine the power of local > resources and data with the reach of the web. Download the Adobe AIR SDK and > Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Feb 12 06:25:42 2009 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Thu, 12 Feb 2009 00:25:42 -0500 Subject: Acknowledge all services on a host In-Reply-To: <148f6bb30902111329qe99a7c1i422636e5167c6dc0@mail.gmail.com> References: <148f6bb30902111329qe99a7c1i422636e5167c6dc0@mail.gmail.com> Message-ID: <4993B2D6.7040509@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 11/02/09 04:29 PM, Matt Nelson wrote: > Is there a way to acknowledge all services that are in an error state on > a host? > > This would be very handy. I currently have a server that has around 12 > services, and if 5 of them die I have to go acknowledge each of the 5 > rather then for the whole host. This takes a lot of time away from me > being able to get to work on the problem sooner. > > Am I using Nagios wrong, is there a better way to do this? > > We would use the "Schedule Downtime" but I would like it to be alerted > for once it "goes good" again. Not exactly the answer to your question, but if you're having multiple failures related to the same service (i.e. multiple HTTP checks, multiple NRPE/NSClient checks, etc) you can use service dependencies to suppress extra notifications (therefore less services to acknowledge) - -- Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFJk7LW6dZ+Kt5BchYRAmVDAKD9I389rv2T8lJfWQ7nESjuqUk2vACdF0Ja Ldr27olcZtPMDmOo/zRSM80= =DSED -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Feb 12 06:30:51 2009 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Thu, 12 Feb 2009 00:30:51 -0500 Subject: Ack/Downtime on multiple hosts/services In-Reply-To: <499306C6.3070500@lafayette.edu> References: <499306C6.3070500@lafayette.edu> Message-ID: <4993B40B.2090806@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 11/02/09 12:11 PM, Jason Frisvold wrote: > Greetings, > > I'm relatively new to Nagios and still trying to wrap my head around > it. One thing that I have not been able to find is a way to ack or > place into downtime multiple items at once. Is there a way to do this? > If so, how? If not, is there some other way I'm supposed to handle > these sorts of situations? If you put a host into downtime, it suppress all service notifications. You can also use commands like "Disable all notifications for this host" There's also a few commands you can run for the whole hostgroup or servicegroup. Other than that I used to write quick and dirty scripts to send mass-command to the command pipe in the past - nothing really re-usable though, see the libexec/eventhandlers directory if you need some inspiration. - -- Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFJk7QK6dZ+Kt5BchYRAmYwAJwN25CAfpdu9X+E8PCDA/Rze7mv5ACeKvjq pHZXRrErlqflBsM/TeYE5XM= =wo4m -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Feb 12 06:41:30 2009 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Thu, 12 Feb 2009 00:41:30 -0500 Subject: NRPE Problem In-Reply-To: <7fd1523d0902111143i1be6d9c5sf0baf1ed9b769246@mail.gmail.com> References: <7fd1523d0902111143i1be6d9c5sf0baf1ed9b769246@mail.gmail.com> Message-ID: <4993B68A.1060700@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 11/02/09 02:43 PM, Vasiliy Boulytchev wrote: > Gents, > > I am trying to have Nagios specify which partition to check via > nrpe... and am getting the following error: > > DISK CRITICAL - 10 is not accessible: No such file or directory > > Here is my configuration: > > > ############################### > > define command{ > command_name check_nrpe_manual_disk > command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c > check_manual_disk -a $ARG1$ $ARG2$ $ARG3$ > } > > > > command[check_manual_disk]=/usr/local/nagios-plugins/libexec/check_disk > -w $ARG1$ -c $ARG2$ -p $ARG3$ > > > > > define service{ > use local-service > host_name localhost > service_description Manual Disk /dev/sda1 > check_command check_nrpe_manual_disk!20!10!/ > } It looks like an extra argument is passed somehow, so check_disk ends up checking the the path "10" (your warning threshold)", although your config looks ok. Are you sure NRPE and Nagios have been started with the most recent config, and there's not more than one instance of Nagios and NRPE running? Have you tried running the check trough the command link (check_nrpe)? - -- Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFJk7aK6dZ+Kt5BchYRArhiAJ0dYvtmC13zVi0WGHFaWXeB/snukACgr8By JhACq1XdPD5D2Ay+7IJdzgI= =Yglg -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rpnabar at gmail.com Thu Feb 12 08:55:07 2009 From: rpnabar at gmail.com (Rahul Nabar) Date: Thu, 12 Feb 2009 01:55:07 -0600 Subject: check_lm_sensors and the correct sensor names for checking cpu temperatures In-Reply-To: References: <65CE3602-A5E8-467A-8BF7-9B7ADA50E4D4@gmail.com> Message-ID: On Thu, Feb 12, 2009 at 1:35 AM, Matteo Corti wrote: > Hi Rahul, > > > On Feb 11, 2009, at 20:55 , Rahul Nabar wrote: > > >> >> On Wed, Feb 11, 2009 at 11:15 AM, Matteo Corti >> wrote: >> Dear Rahul, >> >> >> >> Does the input include the newline between the "Core0 Temp:" and the >> temperature? >> >> >> Yes, it does! Is that messing up the regexes? >> > > Yes ... :-( > > I hoped that the sensors -u output was more standard and that I could rely > on that. I'll try to see if I can get the sensors information in a way which > is consistent on several systems ... > > Regexes always have this habit of breaking up when one is sure one covered all test cases! :) Thanks for helping me figure out what it was! I'll see if I can quickly hack together something that'll make it work for me! -- Rahul -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rpnabar at gmail.com Thu Feb 12 09:09:03 2009 From: rpnabar at gmail.com (Rahul Nabar) Date: Thu, 12 Feb 2009 02:09:03 -0600 Subject: graphing trends across hosts or services instead of a timeseries Message-ID: One other thing that I haven't figured out yet with PNP-NAGIOS is this: How does one get trending across services or hosts? i.e. It is easy to see time series graphs of pingtimes, load averages disk usages etc. but sometimes what seems more relevant is a chart across services for a given snapshot in time. Say, to identify a hot node, or a node with unusually high load averages. Is there a way to do this? Or am I tinkering with the wrong tool! -- Rahul -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Eric.Doutreleau at it-sudparis.eu Thu Feb 12 09:06:57 2009 From: Eric.Doutreleau at it-sudparis.eu (Eric Doutreleau) Date: Thu, 12 Feb 2009 09:06:57 +0100 Subject: having different "view" in nagios interface In-Reply-To: References: <4992AF3A.4000707@it-sudparis.eu> Message-ID: <4993D8A1.20605@it-sudparis.eu> Marc Powell a ?crit : > On Feb 11, 2009, at 6:48 AM, Paul Weaver wrote: > > >> For our dev system, we use the following link >> /nagios/cgi-bin/status.cgi? >> host=all&servicestatustypes=28&hoststatustype >> s=3&serviceprops=42&sorttype=1&sortoption=6 >> >> Which only displays services that aren't acknowleged or in downtime, >> with the most recent at the top. >> > > This is a good suggestion and we use this as our normal workflow to > identify new issues. Another option is to create different contacts. > Using Authentication, nagios will only show the hosts and services > associated with that contact. > > -- > Marc > > ------------------------------------------------------------------------------ > Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) > software. With Adobe AIR, Ajax developers can use existing skills and code to > build responsive, highly engaging applications that combine the power of local > resources and data with the reach of the web. Download the Adobe AIR SDK and > Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > well thanks for all your answer. I will try to manage my problem with your answer. thank u very much Does someone have a piece of software that use Nagios::Statuslog to share? ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stanislas.leveau at ac-caen.fr Thu Feb 12 09:39:13 2009 From: stanislas.leveau at ac-caen.fr (LEVEAU Stanislas) Date: Thu, 12 Feb 2009 09:39:13 +0100 Subject: NRPE Problem In-Reply-To: <4993B68A.1060700@aei.ca> References: <7fd1523d0902111143i1be6d9c5sf0baf1ed9b769246@mail.gmail.com> <4993B68A.1060700@aei.ca> Message-ID: <4993E031.7000308@ac-caen.fr> hi in your define command, i think it's define command{ command_name check_nrpe_manual_disk command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c check_manual_disk -a $SERVICESTATE$ $SERVICESTATETYPE$ $SERVICEATTEMPT$ } and not -a $ARG1$ $ARG2$ $ARG3$ maybe regards Stan Thomas Guyot-Sionnest a ?crit : > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 11/02/09 02:43 PM, Vasiliy Boulytchev wrote: > >> Gents, >> >> I am trying to have Nagios specify which partition to check via >> nrpe... and am getting the following error: >> >> DISK CRITICAL - 10 is not accessible: No such file or directory >> >> Here is my configuration: >> >> >> ############################### >> >> define command{ >> command_name check_nrpe_manual_disk >> command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c >> check_manual_disk -a $ARG1$ $ARG2$ $ARG3$ >> } >> >> >> >> command[check_manual_disk]=/usr/local/nagios-plugins/libexec/check_disk >> -w $ARG1$ -c $ARG2$ -p $ARG3$ >> >> >> >> >> define service{ >> use local-service >> host_name localhost >> service_description Manual Disk /dev/sda1 >> check_command check_nrpe_manual_disk!20!10!/ >> } >> > > It looks like an extra argument is passed somehow, so check_disk ends up > checking the the path "10" (your warning threshold)", although your > config looks ok. Are you sure NRPE and Nagios have been started with the > most recent config, and there's not more than one instance of Nagios and > NRPE running? > > Have you tried running the check trough the command link (check_nrpe)? > > - -- > Thomas > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.6 (GNU/Linux) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iD8DBQFJk7aK6dZ+Kt5BchYRArhiAJ0dYvtmC13zVi0WGHFaWXeB/snukACgr8By > JhACq1XdPD5D2Ay+7IJdzgI= > =Yglg > -----END PGP SIGNATURE----- > > ------------------------------------------------------------------------------ > Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) > software. With Adobe AIR, Ajax developers can use existing skills and code to > build responsive, highly engaging applications that combine the power of local > resources and data with the reach of the web. Download the Adobe AIR SDK and > Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > -- *LEVEAU Stanislas** *Rectorat de Caen SIAC 168, rue Caponi?re B.P. 6184 14061 CAEN Cedex / Service Informatique de l'acad?mie de Caen D?partement Syst?mes & R?seaux/ Tel : 02.31.30.17.86 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sri.lumpa at free.fr Thu Feb 12 10:11:28 2009 From: sri.lumpa at free.fr (sri.lumpa at free.fr) Date: Thu, 12 Feb 2009 10:11:28 +0100 (CET) Subject: Notification on OK-state Message-ID: <39652930.1326291234429888707.JavaMail.root@zimbra16-e3.priv.proxad.net> Hi, Sorry if that question had already been answered but I couldn't find any answer by searching on the web and on the Nagios-User mailing list. I would like to create a service which will notify me after each check, even if it is an OK-state and if the state hadn't changed. I've tried by setting the service's initial state to critical and defining the service as volatile but that doesn't work (it's probably because I didn't understand well the role of the initial_state directive...). Is Nagios-3.0.6 capable to do that and how can I make it work ? Thanks for the answer. Marc-Andr? ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dermot.malone at bt.com Thu Feb 12 11:32:25 2009 From: dermot.malone at bt.com (dermot.malone at bt.com) Date: Thu, 12 Feb 2009 10:32:25 -0000 Subject: Configuring Nagios on Solaris 10 (Sparc) Message-ID: <45BF3EAAACCB904EB286122DA0B568570404E9AC@E03MVB2-UKBR.domain1.systemhost.net> Hi , I'm having firecr bother getting Nagios working as a client on a T2000 . Below are the details... uname -a SunOS 5.10 Generic_120011-14 sun4v sparc SUNW,Sun-Fire-T2000 echo $PATH /usr/sbin:/usr/bin:/usr/local/bin:/usr/local/sbin:/usr/sbin:/usr/sfw/bin :/usr/ccs/bin I got the nagios plugin that I want compiled i.e check_users check_load check_disk check_procs nrpe compiled fine as well... but it returns nothing when you run the following command... /usr/local/nagios/bin/nrpe -c /etc/nrpe.cfg -d dhs0931i-iedrs: svcs -a | grep nrpe online Feb_10 svc:/network/nrpe/tcp:default I added the following entry to /etc/services: nrpe 5666/tcp # NRPE I added the following line to the end of /etc/inet/inetd.conf: nrpe stream tcp nowait nagios /usr/sfw/sbin/tcpd /usr/local/nagios/bin/nrpe -c /etc/nrpe.cfg -d The following error appears in my log file Feb 10 15:46:56 nrpe[18]: [ID 434846 daemon.error] Network server bind failure (125: Address already in use) Any help or assistance would be greatly appreciated... Thanks in advance, Dermot -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Edgar.Matzinger at valid.nl Thu Feb 12 11:50:15 2009 From: Edgar.Matzinger at valid.nl (Edgar Matzinger) Date: Thu, 12 Feb 2009 11:50:15 +0100 Subject: Configuring Nagios on Solaris 10 (Sparc) In-Reply-To: <45BF3EAAACCB904EB286122DA0B568570404E9AC@E03MVB2-UKBR.domain1.systemhost.net> References: <45BF3EAAACCB904EB286122DA0B568570404E9AC@E03MVB2-UKBR.domain1.systemhost.net> Message-ID: Hi Dermot, > but it returns nothing when you run the following command? > > /usr/local/nagios/bin/nrpe -c /etc/nrpe.cfg ?d you are running nrpe as a deamon.... Take a look in the syslog files for any messages. But: > I added the following line to the end of /etc/inet/inetd.conf: > nrpe stream tcp nowait nagios /usr/sfw/sbin/tcpd \ > /usr/local/nagios/bin/nrpe -c /etc/nrpe.cfg ?d Here you are trying to setup inetd as well. You'll have to pick one method: daemon or inetd. HTH, cu l8r, Edgar. -- |\ /| : : Addr: Valid Eindhoven B.V. / | \/ | : Edgar R. Matzinger : t.a.v. E.R. Matzinger / | | : : Paradijslaan 36 \ /| /\| : : 5611 KN Eindhoven \/ / \ : Valid Eindhoven BV : \ /\ / : : \/ |\/ : : | : : Disclaimer: Any comments, opinions made are mine, etc ... ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dermot.malone at bt.com Thu Feb 12 12:01:10 2009 From: dermot.malone at bt.com (dermot.malone at bt.com) Date: Thu, 12 Feb 2009 11:01:10 -0000 Subject: Configuring Nagios on Solaris 10 (Sparc) In-Reply-To: References: Message-ID: <45BF3EAAACCB904EB286122DA0B568570404EA1C@E03MVB2-UKBR.domain1.systemhost.net> HI Edgar, There is no error messages showing up in syslog for nrpe.. Regards, Dermot -----Original Message----- From: Edgar Matzinger [mailto:Edgar.Matzinger at valid.nl] Sent: 12 February 2009 10:50 To: Malone,D,Dermot,ARF435 R; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Configuring Nagios on Solaris 10 (Sparc) Hi Dermot, > but it returns nothing when you run the following command... > > /usr/local/nagios/bin/nrpe -c /etc/nrpe.cfg -d you are running nrpe as a deamon.... Take a look in the syslog files for any messages. But: > I added the following line to the end of /etc/inet/inetd.conf: > nrpe stream tcp nowait nagios /usr/sfw/sbin/tcpd \ > /usr/local/nagios/bin/nrpe -c /etc/nrpe.cfg -d Here you are trying to setup inetd as well. You'll have to pick one method: daemon or inetd. HTH, cu l8r, Edgar. -- |\ /| : : Addr: Valid Eindhoven B.V. / | \/ | : Edgar R. Matzinger : t.a.v. E.R. Matzinger / | | : : Paradijslaan 36 \ /| /\| : : 5611 KN Eindhoven \/ / \ : Valid Eindhoven BV : \ /\ / : : \/ |\/ : : | : : Disclaimer: Any comments, opinions made are mine, etc ... ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jmoseley at corp.xanadoo.com Thu Feb 12 12:06:56 2009 From: jmoseley at corp.xanadoo.com (jmoseley at corp.xanadoo.com) Date: Thu, 12 Feb 2009 05:06:56 -0600 Subject: Configuring Nagios on Solaris 10 (Sparc) In-Reply-To: <45BF3EAAACCB904EB286122DA0B568570404EA1C@E03MVB2-UKBR.domain1.systemhost.net> References: <45BF3EAAACCB904EB286122DA0B568570404EA1C@E03MVB2-UKBR.domain1.systemhost.net> Message-ID: Unless an error occurs, I wouldn't expect anything to return when running NRPE as a daemon. Is it running? ps -ef | grep nrpe If you're running it has a daemon, as Edgar said, there is no need for you to run this out of inetd. James Moseley To 02/12/2009 05:01 , AM cc Subject Re: [Nagios-users] Configuring Nagios on Solaris 10 (Sparc) HI Edgar, There is no error messages showing up in syslog for nrpe.. Regards, Dermot -----Original Message----- From: Edgar Matzinger [mailto:Edgar.Matzinger at valid.nl] Sent: 12 February 2009 10:50 To: Malone,D,Dermot,ARF435 R; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Configuring Nagios on Solaris 10 (Sparc) Hi Dermot, > but it returns nothing when you run the following command... > > /usr/local/nagios/bin/nrpe -c /etc/nrpe.cfg -d you are running nrpe as a deamon.... Take a look in the syslog files for any messages. But: > I added the following line to the end of /etc/inet/inetd.conf: > nrpe stream tcp nowait nagios /usr/sfw/sbin/tcpd \ > /usr/local/nagios/bin/nrpe -c /etc/nrpe.cfg -d Here you are trying to setup inetd as well. You'll have to pick one method: daemon or inetd. HTH, cu l8r, Edgar. -- |\ /| : : Addr: Valid Eindhoven B.V. / | \/ | : Edgar R. Matzinger : t.a.v. E.R. Matzinger / | | : : Paradijslaan 36 \ /| /\| : : 5611 KN Eindhoven \/ / \ : Valid Eindhoven BV : \ /\ / : : \/ |\/ : : | : : Disclaimer: Any comments, opinions made are mine, etc ... ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dermot.malone at bt.com Thu Feb 12 12:09:59 2009 From: dermot.malone at bt.com (dermot.malone at bt.com) Date: Thu, 12 Feb 2009 11:09:59 -0000 Subject: Configuring Nagios on Solaris 10 (Sparc) In-Reply-To: References: Message-ID: <45BF3EAAACCB904EB286122DA0B568570404EA35@E03MVB2-UKBR.domain1.systemhost.net> I disable the inetd sercice and reran it as a daemon... Still no joy though ... dhs0931i-iedrs: ps -ef | grep nrpe root 3105 5213 0 11:01:28 pts/1 0:00 grep nrpe -----Original Message----- From: jmoseley at corp.xanadoo.com [mailto:jmoseley at corp.xanadoo.com] Sent: 12 February 2009 11:07 To: Malone,D,Dermot,ARF435 R Cc: Edgar.Matzinger at valid.nl; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Configuring Nagios on Solaris 10 (Sparc) Unless an error occurs, I wouldn't expect anything to return when running NRPE as a daemon. Is it running? ps -ef | grep nrpe If you're running it has a daemon, as Edgar said, there is no need for you to run this out of inetd. James Moseley To 02/12/2009 05:01 , AM cc Subject Re: [Nagios-users] Configuring Nagios on Solaris 10 (Sparc) HI Edgar, There is no error messages showing up in syslog for nrpe.. Regards, Dermot -----Original Message----- From: Edgar Matzinger [mailto:Edgar.Matzinger at valid.nl] Sent: 12 February 2009 10:50 To: Malone,D,Dermot,ARF435 R; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Configuring Nagios on Solaris 10 (Sparc) Hi Dermot, > but it returns nothing when you run the following command... > > /usr/local/nagios/bin/nrpe -c /etc/nrpe.cfg -d you are running nrpe as a deamon.... Take a look in the syslog files for any messages. But: > I added the following line to the end of /etc/inet/inetd.conf: > nrpe stream tcp nowait nagios /usr/sfw/sbin/tcpd \ > /usr/local/nagios/bin/nrpe -c /etc/nrpe.cfg -d Here you are trying to setup inetd as well. You'll have to pick one method: daemon or inetd. HTH, cu l8r, Edgar. -- |\ /| : : Addr: Valid Eindhoven B.V. / | \/ | : Edgar R. Matzinger : t.a.v. E.R. Matzinger / | | : : Paradijslaan 36 \ /| /\| : : 5611 KN Eindhoven \/ / \ : Valid Eindhoven BV : \ /\ / : : \/ |\/ : : | : : Disclaimer: Any comments, opinions made are mine, etc ... ------------------------------------------------------------------------ ------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jmoseley at corp.xanadoo.com Thu Feb 12 12:17:57 2009 From: jmoseley at corp.xanadoo.com (jmoseley at corp.xanadoo.com) Date: Thu, 12 Feb 2009 05:17:57 -0600 Subject: Configuring Nagios on Solaris 10 (Sparc) In-Reply-To: <45BF3EAAACCB904EB286122DA0B568570404EA35@E03MVB2-UKBR.domain1.systemhost.net> References: <45BF3EAAACCB904EB286122DA0B568570404EA35@E03MVB2-UKBR.domain1.systemhost.net> Message-ID: Yep, check /var/log/syslog and /var/adm/messages, etc. Next step, check the nrpe config file to make sure the path the pid file exists. Thinking about the error message you posted, that would indicate that another service (unless nrpe is already running) is already listening to TCP port 5666. James Moseley To 02/12/2009 05:09 AM cc , Subject RE: [Nagios-users] Configuring Nagios on Solaris 10 (Sparc) I disable the inetd sercice and reran it as a daemon... Still no joy though ... dhs0931i-iedrs: ps -ef | grep nrpe root 3105 5213 0 11:01:28 pts/1 0:00 grep nrpe ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dermot.malone at bt.com Thu Feb 12 12:33:28 2009 From: dermot.malone at bt.com (dermot.malone at bt.com) Date: Thu, 12 Feb 2009 11:33:28 -0000 Subject: Configuring Nagios on Solaris 10 (Sparc) In-Reply-To: References: Message-ID: <45BF3EAAACCB904EB286122DA0B568570404EA90@E03MVB2-UKBR.domain1.systemhost.net> Hi James, No errors in syslog , just the below error in messages.. Feb 12 11:18:01 dhs0931i-iedrs nrpe[11216]: [ID 434846 daemon.error] Network server bind failure (125: Address already in use) There is no other service running on port 5666 netstat -apn | grep 5666 couldn't find any reference to a pid file in my nrpe.cfg file , please see below... dhs0931i-iedrs: more /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= # 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,147.151.42.164 # 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/nagios/nagios-plugins-1.4.13/plugins/che ck_users -w 5 -c 10 command[check_load]=/usr/local/nagios/nagios-plugins-1.4.13/plugins/chec k_load - w 15,10,5 -c 30,25,20 command[check_disk1]=/usr/local/nagios/nagios-plugins-1.4.13/plugins/che ck_disk -w 20 -c 10 -p /dev/md/dsk/d10 command[check_disk2]=/usr/local/nagios/nagios-plugins-1.4.13/plugins/che ck_disk -w 20 -c 10 -p /dev/md/dsk/d30 command[check_disk3]=/usr/local/nagios/nagios-plugins-1.4.13/plugins/che ck_disk -w 20 -c 10 -p /dev/md/dsk/d80 command[check_disk4]=/usr/local/nagios/nagios-plugins-1.4.13/plugins/che ck_disk -w 20 -c 10 -p /dev/md/dsk/dd81 command[check_disk5]=/usr/local/nagios/nagios-plugins-1.4.13/plugins/che ck_disk -w 20 -c 10 -p /dev/md/dsk/d82 command[check_disk6]=/usr/local/nagios/nagios-plugins-1.4.13/plugins/che ck_disk -w 20 -c 10 -p /dev/md/dsk/d83 command[check_disk7]=/usr/local/nagios/nagios-plugins-1.4.13/plugins/che ck_disk -w 20 -c 10 -p /dev/md/dsk/d84 command[check_disk8]=/usr/local/nagios/nagios-plugins-1.4.13/plugins/che ck_disk -w 20 -c 10 -p /dev/md/dsk/d85 command[check_zombie_procs]=/usr/local/nagios/nagios-plugins-1.4.13/plug ins/chec k_procs -w 5 -c 10 -s Z command[check_total_procs]=/usr/local/nagios/nagios-plugins-1.4.13/plugi ns/check _procs -w 150 -c 200 -----Original Message----- From: jmoseley at corp.xanadoo.com [mailto:jmoseley at corp.xanadoo.com] Sent: 12 February 2009 11:18 To: Malone,D,Dermot,ARF435 R Cc: Edgar.Matzinger at valid.nl; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Configuring Nagios on Solaris 10 (Sparc) Yep, check /var/log/syslog and /var/adm/messages, etc. Next step, check the nrpe config file to make sure the path the pid file exists. Thinking about the error message you posted, that would indicate that another service (unless nrpe is already running) is already listening to TCP port 5666. James Moseley To 02/12/2009 05:09 AM cc , Subject RE: [Nagios-users] Configuring Nagios on Solaris 10 (Sparc) I disable the inetd sercice and reran it as a daemon... Still no joy though ... dhs0931i-iedrs: ps -ef | grep nrpe root 3105 5213 0 11:01:28 pts/1 0:00 grep nrpe ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Feb 12 14:00:20 2009 From: marc at ena.com (Marc Powell) Date: Thu, 12 Feb 2009 07:00:20 -0600 Subject: Notification on OK-state In-Reply-To: <39652930.1326291234429888707.JavaMail.root@zimbra16-e3.priv.proxad.net> References: <39652930.1326291234429888707.JavaMail.root@zimbra16-e3.priv.proxad.net> Message-ID: <6652E46F-8866-487F-ABA5-A5EFC7505B6D@ena.com> On Feb 12, 2009, at 3:11 AM, sri.lumpa at free.fr wrote: > I would like to create a service which will notify me after each > check, even if it is an OK-state and if the state hadn't changed. > > I've tried by setting the service's initial state to critical and > defining the service as volatile but that doesn't work (it's > probably because I didn't understand well the role of the > initial_state directive...). is_volatile will only send notifications for OK states if it's a recovery. > Is Nagios-3.0.6 capable to do that and how can I make it work ? Nagios isn't capable of sending OK alerts every time using the normal notification logic. It seems to me that the OSCP functionality fits your goal the best. OCSP can be used to send a notification or do whatever you want, after every check. It's most often used for Distributed Monitoring but can really be used for anything. http://nagios.sourceforge.net/docs/3_0/distributed.html -- Marc ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jmoseley at corp.xanadoo.com Thu Feb 12 15:08:45 2009 From: jmoseley at corp.xanadoo.com (jmoseley at corp.xanadoo.com) Date: Thu, 12 Feb 2009 08:08:45 -0600 Subject: Configuring Nagios on Solaris 10 (Sparc) In-Reply-To: <45BF3EAAACCB904EB286122DA0B568570404EA90@E03MVB2-UKBR.domain1.systemhost.net> References: <45BF3EAAACCB904EB286122DA0B568570404EA90@E03MVB2-UKBR.domain1.systemhost.net> Message-ID: Not sure if you'll get more than the error below, but turn on debug in the nrpe config. Also, try to bind nrpe to one address instead of all them and see what you get. James Moseley To 02/12/2009 05:33 AM cc , Subject RE: [Nagios-users] Configuring Nagios on Solaris 10 (Sparc) Hi James, No errors in syslog , just the below error in messages.. Feb 12 11:18:01 dhs0931i-iedrs nrpe[11216]: [ID 434846 daemon.error] Network server bind failure (125: Address already in use) There is no other service running on port 5666 netstat -apn | grep 5666 couldn't find any reference to a pid file in my nrpe.cfg file , please see below... ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dermot.malone at bt.com Thu Feb 12 15:20:56 2009 From: dermot.malone at bt.com (dermot.malone at bt.com) Date: Thu, 12 Feb 2009 14:20:56 -0000 Subject: Configuring Nagios on Solaris 10 (Sparc) In-Reply-To: References: Message-ID: <45BF3EAAACCB904EB286122DA0B568570404EC98@E03MVB2-UKBR.domain1.systemhost.net> Think that was it James.(bind) Thanks for your help -----Original Message----- From: jmoseley at corp.xanadoo.com [mailto:jmoseley at corp.xanadoo.com] Sent: 12 February 2009 14:09 To: Malone,D,Dermot,ARF435 R Cc: Edgar.Matzinger at valid.nl; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Configuring Nagios on Solaris 10 (Sparc) Not sure if you'll get more than the error below, but turn on debug in the nrpe config. Also, try to bind nrpe to one address instead of all them and see what you get. James Moseley To 02/12/2009 05:33 AM cc , Subject RE: [Nagios-users] Configuring Nagios on Solaris 10 (Sparc) Hi James, No errors in syslog , just the below error in messages.. Feb 12 11:18:01 dhs0931i-iedrs nrpe[11216]: [ID 434846 daemon.error] Network server bind failure (125: Address already in use) There is no other service running on port 5666 netstat -apn | grep 5666 couldn't find any reference to a pid file in my nrpe.cfg file , please see below... ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jmoseley at corp.xanadoo.com Thu Feb 12 15:35:52 2009 From: jmoseley at corp.xanadoo.com (jmoseley at corp.xanadoo.com) Date: Thu, 12 Feb 2009 08:35:52 -0600 Subject: Configuring Nagios on Solaris 10 (Sparc) In-Reply-To: <45BF3EAAACCB904EB286122DA0B568570404EC98@E03MVB2-UKBR.domain1.systemhost.net> References: <45BF3EAAACCB904EB286122DA0B568570404EC98@E03MVB2-UKBR.domain1.systemhost.net> Message-ID: You're welcome. James Moseley To 02/12/2009 08:20 AM cc , Subject RE: [Nagios-users] Configuring Nagios on Solaris 10 (Sparc) Think that was it James.(bind) Thanks for your help ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sri.lumpa at free.fr Thu Feb 12 15:45:57 2009 From: sri.lumpa at free.fr (sri.lumpa at free.fr) Date: Thu, 12 Feb 2009 15:45:57 +0100 (CET) Subject: Notification on OK-state In-Reply-To: <342775469.1405411234449501304.JavaMail.root@zimbra16-e3.priv.proxad.net> References: <342775469.1405411234449501304.JavaMail.root@zimbra16-e3.priv.proxad.net> Message-ID: <1990986342.1407191234449957176.JavaMail.root@zimbra16-e3.priv.proxad.net> Thank you very much for the lead. It helped me a lot and. I followed your advice and I used the ocsp_command directive from the nagios.cfg with a script printing into the file nagios.cmd the external command SEND_CUSTOM_SVC_NOTIFICATION and it works fine now. Thanks for the lead. ----- Mail Original ----- De: "Marc Powell" ?: nagios-users at lists.sourceforge.net Envoy?: Jeudi 12 F?vrier 2009 14:00:20 GMT +01:00 Amsterdam / Berlin / Berne / Rome / Stockholm / Vienne Objet: Re: [Nagios-users] Notification on OK-state On Feb 12, 2009, at 3:11 AM, sri.lumpa at free.fr wrote: > I would like to create a service which will notify me after each > check, even if it is an OK-state and if the state hadn't changed. > > I've tried by setting the service's initial state to critical and > defining the service as volatile but that doesn't work (it's > probably because I didn't understand well the role of the > initial_state directive...). is_volatile will only send notifications for OK states if it's a recovery. > Is Nagios-3.0.6 capable to do that and how can I make it work ? Nagios isn't capable of sending OK alerts every time using the normal notification logic. It seems to me that the OSCP functionality fits your goal the best. OCSP can be used to send a notification or do whatever you want, after every check. It's most often used for Distributed Monitoring but can really be used for anything. http://nagios.sourceforge.net/docs/3_0/distributed.html -- Marc ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From glowe at sbcglobal.net Thu Feb 12 16:10:07 2009 From: glowe at sbcglobal.net (Grant Lowe) Date: Thu, 12 Feb 2009 07:10:07 -0800 (PST) Subject: Configuring Nagios on Solaris 10 (Sparc) References: <45BF3EAAACCB904EB286122DA0B568570404E9AC@E03MVB2-UKBR.domain1.systemhost.net> Message-ID: <156567.96243.qm@web81805.mail.mud.yahoo.com> Hey Dermot, Check the SMF log file /var/svc/log/network-nagios-nrpe\:default.log. If things still arent working, execute /lib/svc/method/nagios-nrpe manually with some bourne debugging. This will show you what the nagios-nrpe script is trying to do. # sh -x /lib/svc/method/nagios-nrpe ________________________________ From: "dermot.malone at bt.com" To: nagios-users at lists.sourceforge.net Sent: Thursday, February 12, 2009 2:32:25 AM Subject: [Nagios-users] Configuring Nagios on Solaris 10 (Sparc) Hi , I?m having firecr bother getting Nagios working as a client on a T2000 . Below are the details? uname -a SunOS 5.10 Generic_120011-14 sun4v sparc SUNW,Sun-Fire-T2000 echo $PATH /usr/sbin:/usr/bin:/usr/local/bin:/usr/local/sbin:/usr/sbin:/usr/sfw/bin:/usr/ccs/bin I got the nagios plugin that I want compiled i.e check_users check_load check_disk check_procs nrpe compiled fine as well? but it returns nothing when you run the following command? /usr/local/nagios/bin/nrpe -c /etc/nrpe.cfg ?d dhs0931i-iedrs: svcs -a | grep nrpe online Feb_10 svc:/network/nrpe/tcp:default I added the following entry to /etc/services: nrpe 5666/tcp # NRPE I added the following line to the end of /etc/inet/inetd.conf: nrpe stream tcp nowait nagios /usr/sfw/sbin/tcpd /usr/local/nagios/bin/nrpe -c /etc/nrpe.cfg ?d The following error appears in my log file Feb 10 15:46:56nrpe[18]: [ID 434846 daemon.error] Network server bind failure (125: Address already in use) Any help or assistance would be greatly appreciated? Thanks in advance, Dermot -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Feb 12 16:51:14 2009 From: marc at ena.com (Marc Powell) Date: Thu, 12 Feb 2009 09:51:14 -0600 Subject: Notification on OK-state In-Reply-To: <1990986342.1407191234449957176.JavaMail.root@zimbra16-e3.priv.proxad.net> References: <1990986342.1407191234449957176.JavaMail.root@zimbra16-e3.priv.proxad.net> Message-ID: <1B17D7A5-6788-462C-B03E-BBEDF6A590F4@ena.com> On Feb 12, 2009, at 8:45 AM, sri.lumpa at free.fr wrote: > Thank you very much for the lead. It helped me a lot and. > > I followed your advice and I used the ocsp_command directive from > the nagios.cfg with a script printing into the file nagios.cmd the > external command SEND_CUSTOM_SVC_NOTIFICATION and it works fine now. ... and that is an interesting trick as well ;) I wouldn't have thought to send the notification that way. -- Marc ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From paul.weaver at bbc.co.uk Thu Feb 12 16:55:59 2009 From: paul.weaver at bbc.co.uk (Paul Weaver) Date: Thu, 12 Feb 2009 15:55:59 -0000 Subject: having different "view" in nagios interface In-Reply-To: <4993D8A1.20605@it-sudparis.eu> References: <4992AF3A.4000707@it-sudparis.eu> <4993D8A1.20605@it-sudparis.eu> Message-ID: > thank u very much > Does someone have a piece of software that use > Nagios::Statuslog to share? perl -e ' use Nagios::StatusLog; my $host = "hostname"; my $description = "service description"; my $dataFile = "/usr/local/nagios/var/status.dat"; my $log = Nagios::StatusLog->new( Filename => $dataFile, Version => 2.0); my $obj = $log->service( $host, $description ); print "Service $description on $host is in state ".$obj->{last_hard_state}."\n"; print "* This has been acknowleged\n" if $obj->{problem_has_been_acknowledged}; ' ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sri.lumpa at free.fr Thu Feb 12 17:05:26 2009 From: sri.lumpa at free.fr (sri.lumpa at free.fr) Date: Thu, 12 Feb 2009 17:05:26 +0100 (CET) Subject: Notification on OK-state In-Reply-To: <1630344587.1425561234454669531.JavaMail.root@zimbra16-e3.priv.proxad.net> References: <1630344587.1425561234454669531.JavaMail.root@zimbra16-e3.priv.proxad.net> Message-ID: <853155796.1425761234454726774.JavaMail.root@zimbra16-e3.priv.proxad.net> There is still a small problem though... With that method, every service with obsess_over_service enabled will execute the command, and every command defined as ocsp_command in nagios.cfg will be executed by services enabling obsess_over_service :s. Well... don't know if ther is a better way and it works so I keep it for now... ----- Mail Original ----- De: "Marc Powell" ?: "Nagios Users" Envoy?: Jeudi 12 F?vrier 2009 16:51:14 GMT +01:00 Amsterdam / Berlin / Berne / Rome / Stockholm / Vienne Objet: Re: [Nagios-users] Notification on OK-state On Feb 12, 2009, at 8:45 AM, sri.lumpa at free.fr wrote: > Thank you very much for the lead. It helped me a lot and. > > I followed your advice and I used the ocsp_command directive from > the nagios.cfg with a script printing into the file nagios.cmd the > external command SEND_CUSTOM_SVC_NOTIFICATION and it works fine now. ... and that is an interesting trick as well ;) I wouldn't have thought to send the notification that way. -- Marc ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lee at dropio.com Thu Feb 12 17:51:23 2009 From: lee at dropio.com (Lee Azzarello) Date: Thu, 12 Feb 2009 11:51:23 -0500 Subject: NRPE Problem In-Reply-To: <4993E031.7000308@ac-caen.fr> References: <7fd1523d0902111143i1be6d9c5sf0baf1ed9b769246@mail.gmail.com> <4993B68A.1060700@aei.ca> <4993E031.7000308@ac-caen.fr> Message-ID: <16b031c0902120851h55bc292cw6c53db8efcaadeb3@mail.gmail.com> You can also try typing your arguments at the far end in the nrpe command file. I'm not the biggest fan of passing arguments via nrpe. I've found it simpler to deploy the same nrpe command file to a cluster and have nagios just execute the check_nrpe_1arg command. -lee On Thu, Feb 12, 2009 at 3:39 AM, LEVEAU Stanislas wrote: > hi > > in your define command, i think it's > > define command{ > command_name check_nrpe_manual_disk > command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c > check_manual_disk -a $SERVICESTATE$ $SERVICESTATETYPE$ $SERVICEATTEMPT$ > } > > and not -a $ARG1$ $ARG2$ $ARG3$ > > maybe > > regards > Stan > > Thomas Guyot-Sionnest a ?crit : > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 11/02/09 02:43 PM, Vasiliy Boulytchev wrote: > > > Gents, > > I am trying to have Nagios specify which partition to check via > nrpe... and am getting the following error: > > DISK CRITICAL - 10 is not accessible: No such file or directory > > Here is my configuration: > > > ############################### > > define command{ > command_name check_nrpe_manual_disk > command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c > check_manual_disk -a $ARG1$ $ARG2$ $ARG3$ > } > > > > command[check_manual_disk]=/usr/local/nagios-plugins/libexec/check_disk > -w $ARG1$ -c $ARG2$ -p $ARG3$ > > > > > define service{ > use local-service > host_name localhost > service_description Manual Disk /dev/sda1 > check_command check_nrpe_manual_disk!20!10!/ > } > > > It looks like an extra argument is passed somehow, so check_disk ends up > checking the the path "10" (your warning threshold)", although your > config looks ok. Are you sure NRPE and Nagios have been started with the > most recent config, and there's not more than one instance of Nagios and > NRPE running? > > Have you tried running the check trough the command link (check_nrpe)? > > - -- > Thomas > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.6 (GNU/Linux) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iD8DBQFJk7aK6dZ+Kt5BchYRArhiAJ0dYvtmC13zVi0WGHFaWXeB/snukACgr8By > JhACq1XdPD5D2Ay+7IJdzgI= > =Yglg > -----END PGP SIGNATURE----- > > ------------------------------------------------------------------------------ > Create and Deploy Rich Internet Apps outside the browser with > Adobe(R)AIR(TM) > software. With Adobe AIR, Ajax developers can use existing skills and code > to > build responsive, highly engaging applications that combine the power of > local > resources and data with the reach of the web. Download the Adobe AIR SDK and > Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > > -- > LEVEAU Stanislas > Rectorat de Caen > SIAC > 168, rue Caponi?re > B.P. 6184 > 14061 CAEN Cedex > > > Service Informatique de l'acad?mie de Caen > D?partement Syst?mes & R?seaux > > > Tel : 02.31.30.17.86 > > > > > ------------------------------------------------------------------------------ > Create and Deploy Rich Internet Apps outside the browser with > Adobe(R)AIR(TM) > software. With Adobe AIR, Ajax developers can use existing skills and code > to > build responsive, highly engaging applications that combine the power of > local > resources and data with the reach of the web. Download the Adobe AIR SDK and > Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lee at dropio.com Thu Feb 12 18:34:28 2009 From: lee at dropio.com (Lee Azzarello) Date: Thu, 12 Feb 2009 12:34:28 -0500 Subject: "Could not complete SSL handshake" Message-ID: <16b031c0902120934n5be21e5dv91fc1c7a199622d6@mail.gmail.com> Here's a mystery for the books. I was alerted this morning of a socket timeout while nagios attempted to connect the NRPE server on a remote host. I go in and manually check that host and sure enough: Feb 12 16:02:59 conversion-10 nrpe[6886]: Error: Could not complete SSL handshake. 5 Feb 12 16:36:03 conversion-10 nrpe[7270]: Error: Could not complete SSL handshake. 5 Weird, but sort of understandable. Just to make sure it's down, from the host where Nagios is running: control-1:~# telnet conversion-10.internal 5666 Trying 10.254.163.50... Connected to conversion-10.internal. Escape character is '^]'. Huh? I can connect via telnet. NRPE is not down. Then I visually check other services on the remote host though the web interface, two of which are also a NRPE service check. They are not generating the SSL handshake error, no socket timeout, status OK, same host. Wacky. Well, last thing to try is to execute the NRPE check manually from the host where Nagios is running: control-1:~# /usr/lib/nagios/plugins/check_nrpe -H conversion-10.internal -c check_tmpdir_links check_tmpdir_links OK - result:2823 |links$=2823 Woah, dude!? Uhhh, why is this singular service check telling me it's having a socket timeout ONLY when run from Nagios but not from an interactive shell? I give up... 2 hours pass, then I am alerted of the following event: [1234458138] SERVICE ALERT: conversion-10;tmpdir-links;OK;HARD;1;check_tmpdir_links OK - result:2846 WTF? It "fixed itself"? Scary. The only trend I can make of this is that the timed out service is infrequent. I configured it to be checked every 30 minutes, while the others are far more frequent, checking every 5 minutes. Maybe I just got unlucky and hit some high network latency? I don't know. -lee ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lee at dropio.com Thu Feb 12 18:46:14 2009 From: lee at dropio.com (Lee Azzarello) Date: Thu, 12 Feb 2009 12:46:14 -0500 Subject: graphing trends across hosts or services instead of a timeseries In-Reply-To: References: Message-ID: <16b031c0902120946m1424a25ehe5b5e36d618d8d3e@mail.gmail.com> Nagios itself does have some trending tools in version 3, though they are not very comprehensive. Are you looking for something beyond their scope? -lee On Thu, Feb 12, 2009 at 3:09 AM, Rahul Nabar wrote: > One other thing that I haven't figured out yet with PNP-NAGIOS is this: How > does one get trending across services or hosts? i.e. It is easy to see time > series graphs of pingtimes, load averages disk usages etc. but sometimes > what seems more relevant is a chart across services for a given snapshot in > time. Say, to identify a hot node, or a node with unusually high load > averages. > > Is there a way to do this? Or am I tinkering with the wrong tool! > > -- > Rahul > > ------------------------------------------------------------------------------ > Create and Deploy Rich Internet Apps outside the browser with > Adobe(R)AIR(TM) > software. With Adobe AIR, Ajax developers can use existing skills and code > to > build responsive, highly engaging applications that combine the power of > local > resources and data with the reach of the web. Download the Adobe AIR SDK and > Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Feb 12 20:26:11 2009 From: israel at frontierflying.com (Israel Brewster) Date: Thu, 12 Feb 2009 10:26:11 -0900 Subject: Notification on OK-state In-Reply-To: <853155796.1425761234454726774.JavaMail.root@zimbra16-e3.priv.proxad.net> References: <853155796.1425761234454726774.JavaMail.root@zimbra16-e3.priv.proxad.net> Message-ID: On Feb 12, 2009, at 7:05 AM, sri.lumpa at free.fr wrote: > There is still a small problem though... With that method, every > service with obsess_over_service enabled will execute the command, > and every command defined as ocsp_command in nagios.cfg will be > executed by services enabling obsess_over_service :s. > > Well... don't know if ther is a better way and it works so I keep it > for now... Well, since you are writing the OCSP command script, you should be able to have the script itself "Filter" for hosts you want, i.e if $HOSTNAME$=hostA or hostB, etc then run script, otherwise, do nothing. Course, that isn't exactly how you do it, as I don't know off the top of my head how you pass the hostname to the script (although I'm sure you can), and that is not valid code anyway, but hopefully you get the idea. On the other hand, that might be more trouble than it is worth :) ----------------------------------------------- Israel Brewster Computer Support Technician Frontier Flying Service Inc. 5245 Airport Industrial Rd Fairbanks, AK 99709 (907) 450-7250 x293 ----------------------------------------------- > > > ----- Mail Original ----- > De: "Marc Powell" > ?: "Nagios Users" > Envoy?: Jeudi 12 F?vrier 2009 16:51:14 GMT +01:00 Amsterdam / > Berlin / Berne / Rome / Stockholm / Vienne > Objet: Re: [Nagios-users] Notification on OK-state > > > On Feb 12, 2009, at 8:45 AM, sri.lumpa at free.fr wrote: > >> Thank you very much for the lead. It helped me a lot and. >> >> I followed your advice and I used the ocsp_command directive from >> the nagios.cfg with a script printing into the file nagios.cmd the >> external command SEND_CUSTOM_SVC_NOTIFICATION and it works fine now. > > ... and that is an interesting trick as well ;) I wouldn't have > thought to send the notification that way. > > -- > Marc > > > ------------------------------------------------------------------------------ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------------------------------ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Feb 12 20:37:46 2009 From: perldork at webwizarddesign.com (Max) Date: Thu, 12 Feb 2009 14:37:46 -0500 Subject: Notification on OK-state In-Reply-To: References: <853155796.1425761234454726774.JavaMail.root@zimbra16-e3.priv.proxad.net> Message-ID: How about setting the notification command in the service to a null command of some sort and using a service escalation with the escalation states critical, warning, and ok all set and a first_notification value of 1 so that you constantly get the notification regardess of state? ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rpnabar at gmail.com Thu Feb 12 20:43:34 2009 From: rpnabar at gmail.com (Rahul Nabar) Date: Thu, 12 Feb 2009 13:43:34 -0600 Subject: graphing trends across hosts or services instead of a timeseries In-Reply-To: <16b031c0902120946m1424a25ehe5b5e36d618d8d3e@mail.gmail.com> References: <16b031c0902120946m1424a25ehe5b5e36d618d8d3e@mail.gmail.com> Message-ID: On Thu, Feb 12, 2009 at 11:46 AM, Lee Azzarello wrote: > Nagios itself does have some trending tools in version 3, though they > are not very comprehensive. Are you looking for something beyond their > scope? > Thanks Lee. I am not aware of the scope of the inbuilt trending tools. Maybe that's a good place to start. How does one use those? Say, how can one obtain a graph of ping times across all hosts in a "suitable" format? That might make it easy to identify problem machines. -- Rahul -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Feb 12 21:18:19 2009 From: perldork at webwizarddesign.com (Max) Date: Thu, 12 Feb 2009 15:18:19 -0500 Subject: graphing trends across hosts or services instead of a timeseries In-Reply-To: <16b031c0902121206i5139df3hd10ae3a749bdc6ba@mail.gmail.com> References: <16b031c0902120946m1424a25ehe5b5e36d618d8d3e@mail.gmail.com> <16b031c0902121206i5139df3hd10ae3a749bdc6ba@mail.gmail.com> Message-ID: On Thu, Feb 12, 2009 at 3:06 PM, Lee Azzarello wrote: > In Nagios version 3, you click on Reporting->Trends and use the menus > to generate a picture. > > The limitation is you can only see one picture at a time for a > particular host or service. So you could not, for example have an > automatically generated "dashboard" of trends for a particular host or > service group. Though there's nothing stopping you from taking > screenshots and making your own. The images are generated by the Nagios CGIs and have URLs that are pretty easy to generate programatically :), so you actually could do a custom web-dashboard that calls the nagios CGIs to create host and service state trends, but they would be just state trends not performance data trends. For performance data trends across hosts or services you have to integrate a graphing package and then use the data sources from that package to do what you are after. I think on and off about doing just this kind of a report builder GUI for PNP, would not be too difficult, just need that ever rare commodity 'free time' to do it :). - Max ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rpnabar at gmail.com Thu Feb 12 21:27:27 2009 From: rpnabar at gmail.com (Rahul Nabar) Date: Thu, 12 Feb 2009 14:27:27 -0600 Subject: graphing trends across hosts or services instead of a timeseries In-Reply-To: <16b031c0902121206i5139df3hd10ae3a749bdc6ba@mail.gmail.com> References: <16b031c0902120946m1424a25ehe5b5e36d618d8d3e@mail.gmail.com> <16b031c0902121206i5139df3hd10ae3a749bdc6ba@mail.gmail.com> Message-ID: On Thu, Feb 12, 2009 at 2:06 PM, Lee Azzarello wrote: > In Nagios version 3, you click on Reporting->Trends and use the menus > to generate a picture Thanks again Lee! > > The limitation is you can only see one picture at a time for a > particular host or service That is a drawback. The whole idea is to get a picture across *many* hosts or services. For a given host my PNP already generates better plots than the inbuilt Nagios trending suite. PNP does seem very geared for this. Just not sure how to make it plot a certain time slice instead of a historic time series! -- Rahul -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From abruce at hope-st.ath.cx Thu Feb 12 23:44:24 2009 From: abruce at hope-st.ath.cx (Andrew Bruce) Date: Fri, 13 Feb 2009 11:44:24 +1300 Subject: Notification Escalation Message-ID: Hi there, I'm setting up some escalations for the first time. We have many servers we wish to monitor, with many many services being monitored. I want to escalate almost all service notifications, but not some (and the same is true with the hosts). What is the best practice to achieve this? Also, in the first instance in the service definition, we want a single notification to go to a email group once the check hits a HARD critical state, which works fine (notification_interval 0). The issue here is that by setting the notification_interval to 0 in the service definition, the notifications never seem to get escalated to the other contacts. Setting this value to anything other than 0 seems to allow the escalations to work, but sends multiple emails to the email group in the service definition. Is this the correct behaviour I'm seeing? Nagios version is v3.0.3 Thanks, Andrew ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From atstake at gmail.com Fri Feb 13 00:16:17 2009 From: atstake at gmail.com (Chris) Date: Fri, 13 Feb 2009 10:16:17 +1100 Subject: monitor router temperature Message-ID: <8adc88580902121516q353413a1n83428355aa1cb5c3@mail.gmail.com> I was wondering if there is any way to monitor a router's internal temperature via Nagios? I get lotsuse snmlwalk to get information ou ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From atstake at gmail.com Fri Feb 13 00:16:36 2009 From: atstake at gmail.com (Chris) Date: Fri, 13 Feb 2009 10:16:36 +1100 Subject: monitor router temperature Message-ID: <8adc88580902121516i25459ba1r5761c7ced95b5160@mail.gmail.com> I was wondering if there is any way to monitor a router's internal temperature via Nagios? I get lots of information when I use snmlwalk. But most check_snmp_* plugins give me "Error: walkoid() returned nothing" error. Thanks for any suggestions. ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From GJFRATER at bechtel.com Fri Feb 13 00:05:54 2009 From: GJFRATER at bechtel.com (Frater, Greg J) Date: Thu, 12 Feb 2009 15:05:54 -0800 Subject: Using a modem with Nagios as backup alert path Message-ID: <872CB0AEB377C240A112DD7C10B2592904B213EE@wtps0171.amers.ibechtel.com> Greetings All, We are setting up a new Nagios instance running version 3. With it we are adding a modem so that alerts can be sent via the phone system even if the data network goes down. In the testing I've done messages sent via the modem take quite a bit longer to be received than alerts sent via SMTP, this is because the modem goes through the dial up connection process and then sends the messages to each recipient in separate sessions, so I want to keep SMTP as the primary method and use the modem as a backup path. What is the best way to do this, can we do it without a bunch of work to implement? Suggestions and advice gladly accepted. Thanks, -greg -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From RLAdams at AdamsInfoServ.Com Fri Feb 13 01:11:33 2009 From: RLAdams at AdamsInfoServ.Com (Russell Adams) Date: Thu, 12 Feb 2009 18:11:33 -0600 Subject: Using a modem with Nagios as backup alert path In-Reply-To: <872CB0AEB377C240A112DD7C10B2592904B213EE@wtps0171.amers.ibechtel.com> References: <872CB0AEB377C240A112DD7C10B2592904B213EE@wtps0171.amers.ibechtel.com> Message-ID: <20090213001133.GA29420@thinkpad.adamsinfoserv.com> On Thu, Feb 12, 2009 at 03:05:54PM -0800, Frater, Greg J wrote: > Greetings All, > > We are setting up a new Nagios instance running version 3. With it we > are adding a modem so that alerts can be sent via the phone system even > if the data network goes down. In the testing I've done messages sent > via the modem take quite a bit longer to be received than alerts sent > via SMTP, this is because the modem goes through the dial up connection > process and then sends the messages to each recipient in separate > sessions, so I want to keep SMTP as the primary method and use the modem > as a backup path. What is the best way to do this, can we do it without > a bunch of work to implement? Suggestions and advice gladly accepted. > > Thanks, > > -greg What are you sending via modem, SMS, text pages? Are you connecting to an ISP via PPP to fire off one SMTP message? I have successfully used Sendpage with Nagios to send to IXO/TAP text pagers, and it supports piggybacking to send out multiple pages in a single phone call. I think it supports sending SMS too. Good luck. ------------------------------------------------------------------ Russell Adams RLAdams at AdamsInfoServ.com PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/ Fingerprint: 1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3 ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From GJFRATER at bechtel.com Fri Feb 13 01:31:14 2009 From: GJFRATER at bechtel.com (Frater, Greg J) Date: Thu, 12 Feb 2009 16:31:14 -0800 Subject: Using a modem with Nagios as backup alert path In-Reply-To: <57AE8C5864DB4746A05163DAAAFB4E34C83EBCDAC0@finsysexch.finsys.co.nz> References: <872CB0AEB377C240A112DD7C10B2592904B213EE@wtps0171.amers.ibechtel.com> <57AE8C5864DB4746A05163DAAAFB4E34C83EBCDAC0@finsysexch.finsys.co.nz> Message-ID: <872CB0AEB377C240A112DD7C10B2592904B213F1@wtps0171.amers.ibechtel.com> > From: Gareth Fletcher [mailto:gareth.fletcher at onenet.co.nz] > Sent: Thursday, February 12, 2009 3:44 PM > To: Frater, Greg J > Subject: RE: Using a modem with Nagios as backup alert path > Hi Greg, > Just something to get you started before someone with more knowledge answers - what about monitoring the data network in Nagios, create an event handler so if it goes down change bring the modem up and start sending messages that way. When it comes back up you can keep SMTP primary. I'm not sure how to effectively check the "network" to see if SMTP is available, on one hand it seems straight forward but when I think about details it does not seem so obvious. My SMTP path looks something like this: Nagios -> local sendmail daemon -> smtp smarthost -> corporate smtp gateway -> corporate internet connection -> internet Maybe it's overkill to worry about all of those pieces but in my paranoid (i.e. mad boss wanting to know why we didn't know about a major outage) mind I don't want to leave anything out :-) Honestly I'm not checking all of those things now, but I would like to be a bit more thorough on the new setup, some of those things I don't have access to be able to check them. > How come you have to dial up each time to send alerts? That's a good question, that's just the way it worked when I first set it up and I did not check for another or better way. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From GJFRATER at bechtel.com Fri Feb 13 01:34:37 2009 From: GJFRATER at bechtel.com (Frater, Greg J) Date: Thu, 12 Feb 2009 16:34:37 -0800 Subject: Using a modem with Nagios as backup alert path In-Reply-To: <20090213001133.GA29420@thinkpad.adamsinfoserv.com> References: <872CB0AEB377C240A112DD7C10B2592904B213EE@wtps0171.amers.ibechtel.com> <20090213001133.GA29420@thinkpad.adamsinfoserv.com> Message-ID: <872CB0AEB377C240A112DD7C10B2592904B213F2@wtps0171.amers.ibechtel.com> >-----Original Message----- >From: Russell Adams [mailto:RLAdams at AdamsInfoServ.Com] >Sent: Thursday, February 12, 2009 4:12 PM >To: nagios-users at lists.sourceforge.net >Subject: Re: [Nagios-users] Using a modem with Nagios as backup alert path >On Thu, Feb 12, 2009 at 03:05:54PM -0800, Frater, Greg J wrote: >> Greetings All, >> >> We are setting up a new Nagios instance running version 3. With it we >> are adding a modem so that alerts can be sent via the phone system >> even if the data network goes down. In the testing I've done messages >> sent via the modem take quite a bit longer to be received than alerts >> sent via SMTP, this is because the modem goes through the dial up >> connection process and then sends the messages to each recipient in >> separate sessions, so I want to keep SMTP as the primary method and >> use the modem as a backup path. What is the best way to do this, can >> we do it without a bunch of work to implement? Suggestions and advice gladly accepted. >> >> Thanks, >> >> -greg >What are you sending via modem, SMS, text pages? Are you connecting to an ISP via PPP to fire off one SMTP message? The modem is sending sms messages. >I have successfully used Sendpage with Nagios to send to IXO/TAP text pagers, and it supports piggybacking to send out multiple pages in a single phone call. I think it supports sending SMS too. I guess I need to have a closer look at the sendpage config, there's probably a way to do that I just did take the time to dig into it. ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From martyn at chetnet.co.uk Fri Feb 13 01:54:34 2009 From: martyn at chetnet.co.uk (Martyn) Date: Fri, 13 Feb 2009 00:54:34 -0000 Subject: CPU Critical Message-ID: Hi All I have noticed whilst monitoring my NT server the CPU load level has been at critical status for 3d 8h 29m 32s and sitting at 100%, this is good news from a monitoring point of view as it was spotted, however I need to solve it. I know I can just jump on to my server and look at the processors I would find what was hogging it but is there a plugin/module or add-on that I can use to see what processors maxing out. Thanks Martyn -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jpratt at norwich.edu Fri Feb 13 02:04:01 2009 From: jpratt at norwich.edu (James Pratt) Date: Thu, 12 Feb 2009 20:04:01 -0500 Subject: CPU Critical In-Reply-To: References: Message-ID: <8147CCE3C4A8764DA9980125EE70E823873432@nuexchg.norwich.edu> > -----Original Message----- > From: Martyn [mailto:martyn at chetnet.co.uk] > Sent: Thursday, February 12, 2009 7:55 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] CPU Critical > > Hi All > I have noticed whilst monitoring my NT server the CPU load level has been at critical > status for 3d 8h 29m 32s and sitting at 100%, this is good news from a monitoring > point of view as it was spotted, however I need to solve it. > > I know I can just jump on to my server and look at the processors I would find what > was hogging it but is there a plugin/module or add-on that I can use to see what > processors maxing out. > > Thanks > > Martyn Hello Martyn, You would really have to monitor *all* possible processes to do what you speak of (AFAIK). I would pick the ones that are the most likely to go awry, and focus on monitors for them. You can always write bat files to check for process (or lack of one) via nrpe - the nrpe_nt windows stuff had some good examples last time I checked - they are not that complicated and quite flexible, you just have to ensure you send nrpe_nt the proper exit code based on the problem/symptom... (This is assuming you meant "processes", and not "processors" , as that would be hardware).. ;) Cheers, Jamie ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Feb 13 03:25:46 2009 From: marc at ena.com (Marc Powell) Date: Thu, 12 Feb 2009 20:25:46 -0600 Subject: monitor router temperature In-Reply-To: <8adc88580902121516i25459ba1r5761c7ced95b5160@mail.gmail.com> References: <8adc88580902121516i25459ba1r5761c7ced95b5160@mail.gmail.com> Message-ID: <45A75436-64BA-4261-961A-E1A1C538D687@ena.com> On Feb 12, 2009, at 5:16 PM, Chris wrote: > I was wondering if there is any way to monitor a router's internal > temperature via Nagios? I get lots of information when I use snmlwalk. > But most check_snmp_* plugins give me This will almost certainly depend on the type of router. You should check the MIB for your router. For cisco routers (7600's), I use the following to measure inlet temperatures -- define command { command_name check_temperature command_line $USER1$/check_snmp -H $HOSTADDRESS $ -u 'Degrees Celsius' -o .1.3.6.1.4.1.9.9.13.1.3.1.3.2 -C $USER3$ -w 37:32 -c 99:38 -l 'Temperature is' } define command { command_name check_temperature_npe-g1 command_line $USER1$/check_snmp -H $HOSTADDRESS $ -u 'Degrees Celsius' -o .1.3.6.1.4.1.9.9.13.1.3.1.3.1 -C $USER3$ -w 37:32 -c 99:38 -l 'Temperature is' } -- Marc ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Feb 13 03:46:43 2009 From: perldork at webwizarddesign.com (Max) Date: Thu, 12 Feb 2009 21:46:43 -0500 Subject: monitor router temperature In-Reply-To: <8adc88580902121516i25459ba1r5761c7ced95b5160@mail.gmail.com> References: <8adc88580902121516i25459ba1r5761c7ced95b5160@mail.gmail.com> Message-ID: On Thu, Feb 12, 2009 at 6:16 PM, Chris wrote: > I was wondering if there is any way to monitor a router's internal > temperature via Nagios? I get lots of information when I use snmlwalk. > But most check_snmp_* plugins give me > "Error: walkoid() returned nothing" error. Thanks for any suggestions. I wrote and have used this script extensively: http://www.nagios3book.com/nagios-3-enm/checks/cisco/check_snmp_cisco_temp.pl If you get errors from scripts, most likely your device does not support the MIBs the scripts are looking for. as Marc stated, 7600s, 6000 series, and some 5000 series Ciscos support temperature sensors, 2x and 3x models do not, the 4000 series models I have used did not either. What kind of device are you querying? If it is a Cisco device, it will need to support the CISCO-ENTITY-SENSOR MIB http://www.oidview.com/mibs/9/CISCO-ENTITY-SENSOR-MIB.html - Max ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Feb 13 04:06:25 2009 From: jon at netdork.net (Jon Angliss) Date: Thu, 12 Feb 2009 21:06:25 -0600 Subject: CPU Critical References: Message-ID: On Fri, 13 Feb 2009 00:54:34 -0000, "Martyn" wrote: >Hi All >I have noticed whilst monitoring my NT server the CPU load level has been at >critical status for 3d 8h 29m 32s and sitting at 100%, this is good news >from a monitoring point of view as it was spotted, however I need to solve >it. >I know I can just jump on to my server and look at the processors I would >find what was hogging it but is there a plugin/module or add-on that I can >use to see what processors maxing out. If you're any good at scripting, you can tinker with the WMI script from here: http://www.databasejournal.com/features/mssql/article.php/3560366/Monitor-CPU-Usage-of-All-Running-Processes--Part-I.htm It's a WMI script that will walk through all the processes, and return the CPU usage. With some tweaking, you can probably sort the results, add the values, and use it as a CPU counter, and return the top process as part of the check. -- Jon Angliss ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rpnabar at gmail.com Fri Feb 13 05:39:36 2009 From: rpnabar at gmail.com (Rahul Nabar) Date: Thu, 12 Feb 2009 22:39:36 -0600 Subject: check_iptables and the -S option for iptables; now defunct? Message-ID: I was trying to roll the check_iptables script but ran a hiccup since my system iptables refuses to accept the -S option that is included in the script when it invokes iptables. iptables v1.3.5: Unknown arg `-S' Any other users of this script? Have you guys done away with the -S option? Any workarounds? It seems this option was removed in later iptables versions. But I am not expert enough with iptables to exactly understand its relevance. -- Rahul -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rpnabar at gmail.com Fri Feb 13 05:45:37 2009 From: rpnabar at gmail.com (Rahul Nabar) Date: Thu, 12 Feb 2009 22:45:37 -0600 Subject: check_iptables and the -S option for iptables; now defunct? Message-ID: Found this on the list. >I had to make one modification within the script: The -S argument is not known >by the version, 1.3.8, of iptables on the server in question, so I replaced it >with the -L argument. [ http://www.mail-archive.com/nagios-users at lists.sourceforge.net/msg23867.html ] It does seem to work; although I am not really sure what I am doing! :) -- Rahul -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sri.lumpa at free.fr Fri Feb 13 09:14:45 2009 From: sri.lumpa at free.fr (sri.lumpa at free.fr) Date: Fri, 13 Feb 2009 09:14:45 +0100 (CET) Subject: Notification on OK-state In-Reply-To: <2133569128.1514471234512723594.JavaMail.root@zimbra16-e3.priv.proxad.net> References: <2133569128.1514471234512723594.JavaMail.root@zimbra16-e3.priv.proxad.net> Message-ID: <1211829830.1514851234512885679.JavaMail.root@zimbra16-e3.priv.proxad.net> On Feb 12, 2009, at 20:26, "Israel Brewster" wrote: > Well, since you are writing the OCSP command script, you should be > able to have the script itself "Filter" for hosts you want, i.e if > $HOSTNAME$=hostA or hostB, etc then run script, otherwise, do nothing. Yes, I was thinking about something like that... A conf file with the name of the different services and hosts we want to be notified. I'm working on it ;) ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sri.lumpa at free.fr Fri Feb 13 09:31:57 2009 From: sri.lumpa at free.fr (sri.lumpa at free.fr) Date: Fri, 13 Feb 2009 09:31:57 +0100 (CET) Subject: Notification on OK-state In-Reply-To: <401188250.1517811234513770491.JavaMail.root@zimbra16-e3.priv.proxad.net> References: <401188250.1517811234513770491.JavaMail.root@zimbra16-e3.priv.proxad.net> Message-ID: <1067670413.1518371234513917815.JavaMail.root@zimbra16-e3.priv.proxad.net> On Feb 12, 2009, at 20:37, "Max" wrote : > How about setting the notification command in the service to a null > command of some sort and using a service escalation with the > escalation states critical, warning, and ok all set and a > first_notification value of 1 so that you constantly get the > notification regardess of state? Hum, I'm not sure of that (but I may have not understood the documentation about service escalation correctly). I'll try to use it and I'll tell you about the result. ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From electricpravin at gmail.com Fri Feb 13 10:25:30 2009 From: electricpravin at gmail.com (Pravin Kumar) Date: Fri, 13 Feb 2009 14:55:30 +0530 Subject: Problem with web interface Message-ID: <1c7bf32a0902130125p4cd48647t70d697d2cdb39ccb@mail.gmail.com> Dear All, I am trying to install nagios in ubuntu.When I try to connect to my server through the url http://myserver/nagios ,its prompting me to open or save a file. Not sure where I am making the mistake. Your help on this is highly appreciated. Regards, Pravin. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From uwe.bartels at gmail.com Fri Feb 13 12:42:38 2009 From: uwe.bartels at gmail.com (Uwe Bartels) Date: Fri, 13 Feb 2009 12:42:38 +0100 Subject: nagios loses the state of some monitors Message-ID: <8ea917510902130342u697c0f01r2996348ed07007ef@mail.gmail.com> Hi I'm running nagios3 on a linux box since about 3 months. so far everything went fine with manually added service-definitions. Now some service-definitions are configured automaticly by a script each hour. All these service-definitions go into one file and it is always the same file. The file is created every hour anew. Then nagios is reloaded. Often the content of the file doesn't change of course. Now directly after reloading nagios, all those services defined it this file loose their state and show status=PENDING. Their historical data is still there. Other services of these hosts keep their state and show OK (hopefully). retain_state_information=1 state_retention_file is set and looks valid The update process works as shown below: - reload nagios, to check if the configuration is still valid - backup nagios config - write the dynamic config file anew (creates the file even if it exists) - reload nagios (and check config) - restore config, when "check config" fails There is nothing in the logfile that shows me something about deleting data. If I just reload nagios without rewriting this file the state is kept as it should. The service definitions are based on the same templates and parameters as the fixed monitors. here is one exmple: define service{ use generic-app-service host_name host7 service_description openmq check_command check_nrpe_raw_t300_arg!check_apps!/nagios/plugins/check_gd_openmq notifications_enabled 0 } generic-app-service is defined as follows: define service { name generic-app-service use generic-service register 0 action_url /nagios3/pnp/index.php?host=$HOSTNAME$&srv=$SERVICEDESC$ } generic-service itself I left unchanged. Does anybody have an idea, what it is or where to look at? Best Regards, Uwe -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Feb 13 14:21:29 2009 From: marc at ena.com (Marc Powell) Date: Fri, 13 Feb 2009 07:21:29 -0600 Subject: nagios loses the state of some monitors In-Reply-To: <8ea917510902130342u697c0f01r2996348ed07007ef@mail.gmail.com> References: <8ea917510902130342u697c0f01r2996348ed07007ef@mail.gmail.com> Message-ID: <5F01E893-0346-43AE-B8F1-95DAB22B779F@ena.com> On Feb 13, 2009, at 5:42 AM, Uwe Bartels wrote: > Now directly after reloading nagios, all those services defined it > this file loose their state and show status=PENDING. Their > historical data is still there. > Other services of these hosts keep their state and show OK > (hopefully). > > Does anybody have an idea, what it is or where to look at? You must also specify retain_status_information within the service definition (and host definition to retain host status) or template. You don't show that you're doing that. -- Marc ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Feb 13 16:10:41 2009 From: marc at ena.com (Marc Powell) Date: Fri, 13 Feb 2009 09:10:41 -0600 Subject: nagios loses the state of some monitors In-Reply-To: <8ea917510902130544j5d8ed404u68876d312c7e88f@mail.gmail.com> References: <8ea917510902130342u697c0f01r2996348ed07007ef@mail.gmail.com> <5F01E893-0346-43AE-B8F1-95DAB22B779F@ena.com> <8ea917510902130544j5d8ed404u68876d312c7e88f@mail.gmail.com> Message-ID: Please always reply on list so that others may learn from your experience or offer insight. More below... On Feb 13, 2009, at 7:44 AM, Uwe Bartels wrote: > Hi Marc, > > thanks for your answer. > retain_status_information is set per default to 1 in the template > generic-service. > setting this parameter explicitely in the service definition of the > monitor which looses its state did not help either. > > - I set the parameter 'retain_status_information 1' > - reloaded > - and run my config procedure > -> state is again pending. Well, I've been doing the same thing as you under netsaint/nagios every hour for almost 8 years now and haven't experienced this. I'd be surprised if a new issue appeared with nagios-3 so I'm leaning more toward some config issue. Does retain_status_information appear in the service definition in objects.cache? Are you sure that the hostname/ service_description are exactly the same between reloads? How about retain_nonstatus_information? Try enabling that. I'm not 100% certain which each controls but I use both. Also, just because it commonly causes strangeness, be sure you don't have multiple nagios daemons running at the same time. -- Marc ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From frisvolj at lafayette.edu Fri Feb 13 16:51:35 2009 From: frisvolj at lafayette.edu (Jason Frisvold) Date: Fri, 13 Feb 2009 10:51:35 -0500 Subject: Ack/Downtime on multiple hosts/services In-Reply-To: <4993B40B.2090806@aei.ca> References: <499306C6.3070500@lafayette.edu> <4993B40B.2090806@aei.ca> Message-ID: <49959707.2030900@lafayette.edu> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Thomas Guyot-Sionnest wrote: > If you put a host into downtime, it suppress all service notifications. > You can also use commands like "Disable all notifications for this host" > There's also a few commands you can run for the whole hostgroup or > servicegroup. Hrm.. per host/hostgroup might do it.. I'll look into that. > Other than that I used to write quick and dirty scripts to send > mass-command to the command pipe in the past - nothing really re-usable > though, see the libexec/eventhandlers directory if you need some > inspiration. > - -- - --------------------------- Jason Frisvold Network Engineer frisvolj at lafayette.edu - --------------------------- "What I cannot create, I do not understand" - Richard Feynman -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Using GnuPG with CentOS - http://enigmail.mozdev.org iD8DBQFJlZcHO80o6DJ8UvkRAmxQAJ9H/CTvQCD/V3fNz9eucpjTA7MfEwCfb9zk IFuuouukMyGaw2kRmw0moc0= =lSV1 -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From frisvolj at lafayette.edu Fri Feb 13 16:50:57 2009 From: frisvolj at lafayette.edu (Jason Frisvold) Date: Fri, 13 Feb 2009 10:50:57 -0500 Subject: Ack/Downtime on multiple hosts/services In-Reply-To: <16b031c0902120957g579af10cp70ddc63e24e1ae51@mail.gmail.com> References: <499306C6.3070500@lafayette.edu> <4993B40B.2090806@aei.ca> <16b031c0902120957g579af10cp70ddc63e24e1ae51@mail.gmail.com> Message-ID: <499596E1.1070600@lafayette.edu> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Lee Azzarello wrote: > I would think of this as more of a policy question than a technical > one. If a large number of hosts and services are going down often > enough for you to need a batch processing script to trigger nagios to > recognize down time, perhaps your monitoring plan could be altered? > You can define a check time period that only watches for critical > states when the hosts are expected to be online. You can also change > which services are checked for the group of hosts that have a high > amount of maintenance periods. It's not a common occurrence by any means, but it does happen. For instance, we have a scheduled downtime each year when the power system is worked on, parts replaced, etc. During that downtime, a large number of devices will be down, and it would be nice to be able to schedule them all down in one fell swoop. > -lee - -- - --------------------------- Jason Frisvold Network Engineer frisvolj at lafayette.edu - --------------------------- "What I cannot create, I do not understand" - Richard Feynman -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Using GnuPG with CentOS - http://enigmail.mozdev.org iD8DBQFJlZbhO80o6DJ8UvkRAmDsAJ9WuaAQ8UxE5DTiv/0yXpTjSzHypgCffV4t 0GbNrOBL8W6w9G08F/azpHE= =UrqG -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Tarak.Patel at ec.gc.ca Fri Feb 13 16:53:06 2009 From: Tarak.Patel at ec.gc.ca (Tarak Patel) Date: Fri, 13 Feb 2009 15:53:06 +0000 Subject: Nagios compiled under IRIX64 Message-ID: <49959762.70506@ec.gc.ca> Hi all, Simply wondering if anyone has had success compiling Nagios and the rest under IRIX64. Thanks, Tarak. ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From uwe.bartels at gmail.com Fri Feb 13 17:01:32 2009 From: uwe.bartels at gmail.com (Uwe Bartels) Date: Fri, 13 Feb 2009 17:01:32 +0100 Subject: nagios loses the state of some monitors In-Reply-To: References: <8ea917510902130342u697c0f01r2996348ed07007ef@mail.gmail.com> <5F01E893-0346-43AE-B8F1-95DAB22B779F@ena.com> <8ea917510902130544j5d8ed404u68876d312c7e88f@mail.gmail.com> Message-ID: <8ea917510902130801u6bdcdf3asecee9df09e78512c@mail.gmail.com> Hi Marc, I found it. The time between reload and start writing that config file was almost nothing, so after reloading - nagios had problems already reading this file. It probably was by then already empty. So I inserted a sleep 1 between reload & rewriting that config file and ..... ..... no PENDING state anymore. Even If you didn't find it, you helped me by getting things clear and thus being myself able to recheck better. Thanks. Have nice weekend. Uwe 2009/2/13 Marc Powell > Please always reply on list so that others may learn from your > experience or offer insight. More below... > > On Feb 13, 2009, at 7:44 AM, Uwe Bartels wrote: > > > Hi Marc, > > > > thanks for your answer. > > retain_status_information is set per default to 1 in the template > > generic-service. > > setting this parameter explicitely in the service definition of the > > monitor which looses its state did not help either. > > > > - I set the parameter 'retain_status_information 1' > > - reloaded > > - and run my config procedure > > -> state is again pending. > > Well, I've been doing the same thing as you under netsaint/nagios > every hour for almost 8 years now and haven't experienced this. I'd be > surprised if a new issue appeared with nagios-3 so I'm leaning more > toward some config issue. Does retain_status_information appear in the > service definition in objects.cache? Are you sure that the hostname/ > service_description are exactly the same between reloads? How about > retain_nonstatus_information? Try enabling that. I'm not 100% certain > which each controls but I use both. > > Also, just because it commonly causes strangeness, be sure you don't > have multiple nagios daemons running at the same time. > > -- > Marc > > > > ------------------------------------------------------------------------------ > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, > CA > -OSBC tackles the biggest issue in open source: Open Sourcing the > Enterprise > -Strategies to boost innovation and cut costs with open source > participation > -Receive a $600 discount off the registration fee with the source code: > SFAD > http://p.sf.net/sfu/XcvMzF8H > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Uwe Bartels Systemarchitect - Freelancer mailto: uwe.bartels at gmail.com tel: +49 172 3899006 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Feb 13 17:45:43 2009 From: marc at ena.com (Marc Powell) Date: Fri, 13 Feb 2009 10:45:43 -0600 Subject: nagios loses the state of some monitors In-Reply-To: <8ea917510902130801u6bdcdf3asecee9df09e78512c@mail.gmail.com> References: <8ea917510902130342u697c0f01r2996348ed07007ef@mail.gmail.com> <5F01E893-0346-43AE-B8F1-95DAB22B779F@ena.com> <8ea917510902130544j5d8ed404u68876d312c7e88f@mail.gmail.com> <8ea917510902130801u6bdcdf3asecee9df09e78512c@mail.gmail.com> Message-ID: <8F99ACC1-7450-415F-BF08-FC331A6BE6BD@ena.com> On Feb 13, 2009, at 10:01 AM, Uwe Bartels wrote: > Hi Marc, > > I found it. > The time between reload and start writing that config file was > almost nothing, so after reloading - nagios had problems already > reading this file. It probably was by then already empty. So I > inserted a sleep 1 between reload & rewriting that config file > and ..... > ..... no PENDING state anymore. Good to hear. Do you know that you do not have to reload nagios to have it check the config? While nagios is running, you can execute - '/ path/to/nagios -v /path/to/nagios.cfg'. Using that you can perform a verification of current config, write new config, verify new config and then only reload once if it's all good. If bad, just copy back your original configs (no reload needed). -- Marc ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rpnabar at gmail.com Fri Feb 13 18:54:58 2009 From: rpnabar at gmail.com (Rahul Nabar) Date: Fri, 13 Feb 2009 11:54:58 -0600 Subject: nagios does not produce performance data for check_total_procs Message-ID: While getting PNP to graph stuff for my Nagios services I get an error whenever I try to plot the "Total Processes" field. RRD Database/usr/local/nagios/share/perfdata/star23/Total_Processes.rrd not found. I checked and that file for performance data indeed seems absent. I do have the process_perf_data set to 1. Any ideas why Nagios is not producing performance data for this particular service? define service{ hostgroup_name npre-compute-nodes service_description Total Processes check_command check_nrpe!check_total_procs process_perf_data 1 use srv-pnp-rpn-intermediate } -- Rahul -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Feb 13 19:03:32 2009 From: mckinnon at caltech.edu (Aaron McKinnon) Date: Fri, 13 Feb 2009 10:03:32 -0800 Subject: check_procs time elapsed Message-ID: <4995B5F4.8060703@caltech.edu> I'm not getting the behavior I'd expect from some tests using check_procs for elapsed time. What I'm trying to accomplish is look for a process (string) and alert if it's been running for X time or more (from start time). For example: ./check_procs -m ELAPSED -a 'sshd' -w 0 -c 2 Time according to the man page is in seconds, so that should have sshd go critical: # ./check_procs -m ELAPSED -a 'sshd' -w 0 -c 2 ELAPSED OK: 5 processes with args 'sshd' That didn't work so well... All of my sshd processes are *old* at this point. Any idea what I'm missing? -Aaron ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From scarolan at gmail.com Fri Feb 13 22:45:42 2009 From: scarolan at gmail.com (Sean Carolan) Date: Fri, 13 Feb 2009 15:45:42 -0600 Subject: Passive-only checks show up as "disabled" Message-ID: <277020fc0902131345h7fc15a21n2a3977f94fa2c38b@mail.gmail.com> I have a service that is defined as below. This service only accepts passive checks, not active ones. It does not have an "active check" at all, but I put check_ping for check_command so nagios would not complain about it being missing. Question is - how do I get this passive-only check not to show up in RED as a Disabled service? define service{ name LDAP Errors host_name aus02app108 service_description LDAP Errors active_checks_enabled 0 passive_checks_enabled 1 notifications_enabled 1 register 1 notification_options w,u,c,r is_volatile 1 check_period 24x7 max_check_attempts 1 check_interval 5 retry_check_interval 1 contact_groups admins notification_interval 10 notification_period 24x7 check_command check_ping } ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From JCasale at activenetwerx.com Sat Feb 14 03:53:18 2009 From: JCasale at activenetwerx.com (Joseph L. Casale) Date: Fri, 13 Feb 2009 19:53:18 -0700 Subject: nsclient 0.3.6-RC4-x64 issues Message-ID: <49627735003F5C479100225C339F9FE0DB2306896F@Mail.activenetwerx.int> I can only seem to get monitoring working for WinXP but not Windows 2008. The same config file should work on both, but Nagios suggests "CRITICAL - Socket timeout after 20 seconds". This error returns many hits but I haven't found a solution for my scenario yet. I have set the plugin timeout to 30s and confirmed the master timeout to be higher. Anyone got any pointers for Win 2008x64? Thanks! jlc ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sri.lumpa at free.fr Sat Feb 14 04:25:56 2009 From: sri.lumpa at free.fr (MAD) Date: Sat, 14 Feb 2009 04:25:56 +0100 Subject: Problem with web interface In-Reply-To: <1c7bf32a0902130125p4cd48647t70d697d2cdb39ccb@mail.gmail.com> References: <1c7bf32a0902130125p4cd48647t70d697d2cdb39ccb@mail.gmail.com> Message-ID: <96843837518943C1A1F408CFB8D43156@MADness> May be that's because PHP is not installed on your system ? Marc-Andr? ----- Original Message ----- From: Pravin Kumar To: nagios-users at lists.sourceforge.net Sent: Friday, February 13, 2009 10:25 AM Subject: [Nagios-users] Problem with web interface Dear All, I am trying to install nagios in ubuntu.When I try to connect to my server through the url http://myserver/nagios ,its prompting me to open or save a file. Not sure where I am making the mistake. Your help on this is highly appreciated. Regards, Pravin. ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sri.lumpa at free.fr Sat Feb 14 04:31:19 2009 From: sri.lumpa at free.fr (MAD) Date: Sat, 14 Feb 2009 04:31:19 +0100 Subject: nagios does not produce performance data forcheck_total_procs In-Reply-To: References: Message-ID: <8050643C690540369D07C6A10CC8B1F3@MADness> May be I'm wrong (I don't know yet all the check present in the nagios-plugins package...) but I think check_total_procs do not produce any performance data. See the service details on your Nagios web interface and look for the performance data field. If it is blank that just means this check do not provide any perf data and so the rrd and xml files are not created because there is nothing to process. Marc-Andr? ----- Original Message ----- From: Rahul Nabar To: nagios-users Mailinglist Sent: Friday, February 13, 2009 6:54 PM Subject: [Nagios-users] nagios does not produce performance data forcheck_total_procs While getting PNP to graph stuff for my Nagios services I get an error whenever I try to plot the "Total Processes" field. RRD Database/usr/local/nagios/share/perfdata/star23/Total_Processes.rrd not found. I checked and that file for performance data indeed seems absent. I do have the process_perf_data set to 1. Any ideas why Nagios is not producing performance data for this particular service? define service{ hostgroup_name npre-compute-nodes service_description Total Processes check_command check_nrpe!check_total_procs process_perf_data 1 use srv-pnp-rpn-intermediate } -- Rahul ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From subscription at kkeane.com Sat Feb 14 12:09:26 2009 From: subscription at kkeane.com (Kevin Keane) Date: Sat, 14 Feb 2009 03:09:26 -0800 Subject: Problem with web interface In-Reply-To: <96843837518943C1A1F408CFB8D43156@MADness> References: <1c7bf32a0902130125p4cd48647t70d697d2cdb39ccb@mail.gmail.com> Message-ID: <4996A666.6090002@kkeane.com> Or the cgi-bin directory is not configured for execution. Look up option ExecCGI in the Apache documentation. MAD wrote: > May be that's because PHP is not installed on your system ? > > Marc-Andr? > > > ----- Original Message ----- > *From:* Pravin Kumar > *To:* nagios-users at lists.sourceforge.net > > *Sent:* Friday, February 13, 2009 10:25 AM > *Subject:* [Nagios-users] Problem with web interface > > Dear All, > > I am trying to install nagios in ubuntu.When I try to connect to > my server through the url http://myserver/nagios ,its prompting me > to open or save a file. Not sure where I am making the mistake. > Your help on this is highly appreciated. > > Regards, > Pravin. > > ------------------------------------------------------------------------ > -- Kevin Keane Owner The NetTech Find the Uncommon: Expert Solutions for a Network You Never Have to Think About Office: 866-642-7116 http://www.4nettech.com This e-mail and attachments, if any, may contain confidential and/or proprietary information. Please be advised that the unauthorized use or disclosure of the information is strictly prohibited. The information herein is intended only for use by the intended recipient(s) named above. If you have received this transmission in error, please notify the sender immediately and permanently delete the e-mail and any copies, printouts or attachments thereof. ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sat Feb 14 15:54:37 2009 From: ajcooper80 at googlemail.com (Alan Cooper) Date: Sat, 14 Feb 2009 14:54:37 +0000 Subject: Sub-views for customers Message-ID: <4996DB2D.60806@googlemail.com> Hi folks, Is it possible to set up the web interface so that a user can only see certain hosts. I'd like to be able to give a customer a login so they can see information for their hosts, but I don't want them to be able to see any other customers servers - is this possible? Kind Regards & thanks in advance, Alan ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sat Feb 14 16:26:45 2009 From: Edwin.Zoeller at ama-assn.org (Edwin Zoeller) Date: Sat, 14 Feb 2009 09:26:45 -0600 Subject: Sub-views for customers In-Reply-To: <4996DB2D.60806@googlemail.com> References: <4996DB2D.60806@googlemail.com> Message-ID: Yes, I do that at my site. You need just to edit the nagios config file and add them there. Make sure they are listed in the contact groups for there hosts. -----Original Message----- From: Alan Cooper [mailto:ajcooper80 at googlemail.com] Sent: Saturday, February 14, 2009 8:55 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Sub-views for customers Hi folks, Is it possible to set up the web interface so that a user can only see certain hosts. I'd like to be able to give a customer a login so they can see information for their hosts, but I don't want them to be able to see any other customers servers - is this possible? Kind Regards & thanks in advance, Alan ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Feb 14 17:08:51 2009 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Sat, 14 Feb 2009 11:08:51 -0500 Subject: fork issues and latency In-Reply-To: References: Message-ID: <4996EC93.2010403@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 12/02/09 12:27 PM, Jeff Frost wrote: > I've got a Nagios-3.0.4 server monitoring 3,290 services on 387 > hosts. When the nagios service is initially started, service and host > latency is great. This usually continues for about 2-3 hours and then > we start seeing fork errors in the log like so: > > [1234425582] Warning: The check of service 'ssh' on host 'mail02' could > not be performed due to a fork() error: 'Cannot allocate memory'. The > check will be rescheduled. > > At about the same time, we start seeing lots of orphaned > /tmp/checkXXXXXX files and indications that the max concurrent checks > value has been reached: > > [1234458853] Max concurrent service checks (500) has been reached. > Delaying further checks until previous checks are complete... > > It should be noted that during this time period, there is 2GB of free > memory and 1.2GB of cache available out of the 4GB on the nagios server, > so I'm thinking it has to be something besides system RAM that's exhausted. > > Naturally, when this starts happening, the latencies begin to increase > and seem to settle somewhere around 98seconds and interestingly enough, > this causes the load to drop to nearly nothing. > > We have already set the following in nagios.cfg: > > service_reaper_frequency=2 > use_large_installation_tweaks=1 > enable_environment_macros=0 > > If we enable the embedded perl interpreter, the forking issues happen > much more quickly after restart (minutes instead of hours). Which OS/distribution are you running? How much RAM do you have? Free RAM? SWAP? Please send results of "free -m" with and without Nagios running. Also send the RSS size of the Nagios process after start, and once you get the fork errors. Nagios 3 is leaking some memory, especially when using the ePN. However unless your server is really short on RAM it shouldn't be a huge problem. If you're stuck with low-end hardware make sure to run the server without its graphical interface and disable as many daemons as possible. A slim Linux distribution like Slackware (if you use Linux) could also help. Another setting that could help is limiting check parallelization, though it was reported that there may be a problem with it on Nagios3 (it hasn't been confirmed AFAIK). - -- Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFJluyT6dZ+Kt5BchYRAo67AKCGGhi+EzKbxNvkMuzOkYOqsQDG3ACgqIG9 9jlBUwg6O2pM6vWA7qQdNTs= =l5Hz -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Feb 14 17:21:51 2009 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Sat, 14 Feb 2009 11:21:51 -0500 Subject: "Could not complete SSL handshake" In-Reply-To: <16b031c0902120934n5be21e5dv91fc1c7a199622d6@mail.gmail.com> References: <16b031c0902120934n5be21e5dv91fc1c7a199622d6@mail.gmail.com> Message-ID: <4996EF9F.40807@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 12/02/09 12:34 PM, Lee Azzarello wrote: > Here's a mystery for the books. I was alerted this morning of a socket > timeout while nagios attempted to connect the NRPE server on a remote > host. I go in and manually check that host and sure enough: - From my personal experience NRPE often fail on the SSL handshake under load - since it happen on the SSL part the connection is already open (therefore you can telnet to the port without any problem). I never really looked into issue because none of my servers runs hot - When I get NRPE timeouts there's usually other stuff that's sending alerts already (at least the load average check running trough SNMP). Things you may try: - - Lower the nice value of the NRPE process - - Disable SSL - - When compiling NRPE, in include/common.h, increase the socket timeout: #define DEFAULT_SOCKET_TIMEOUT 10 /* timeout after 10 seconds */ - - Increase the check_nrpe and/or nagios active check timeouts. - -- Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFJlu+e6dZ+Kt5BchYRAq6nAJ0boUmZyySZ7adQ8tBNtMhrcZQpogCgnbSu Mt/FbvA8GfzdMFig56KwBx0= =MQtG -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Feb 14 17:24:36 2009 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Sat, 14 Feb 2009 11:24:36 -0500 Subject: Passive-only checks show up as "disabled" In-Reply-To: <277020fc0902131345h7fc15a21n2a3977f94fa2c38b@mail.gmail.com> References: <277020fc0902131345h7fc15a21n2a3977f94fa2c38b@mail.gmail.com> Message-ID: <4996F044.6030409@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 13/02/09 04:45 PM, Sean Carolan wrote: > I have a service that is defined as below. This service only accepts > passive checks, not active ones. It does not have an "active check" > at all, but I put check_ping for check_command so nagios would not > complain about it being missing. > > Question is - how do I get this passive-only check not to show up in > RED as a Disabled service? The only way would be modifying the CGI code. Be aware though that the CGI interface will be replaces by a PHP one in the next major release.. - -- Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFJlvBD6dZ+Kt5BchYRAhZYAKDPmk3g4I24ktcNmEOd003CkC9oiQCgkWxT vgel3zz+0SbRiR2h84dIGIY= =9vdA -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andy-lists at networkmail.eu Sat Feb 14 18:58:43 2009 From: andy-lists at networkmail.eu (Andy Shellam) Date: Sat, 14 Feb 2009 17:58:43 +0000 Subject: Sub-views for customers In-Reply-To: References: <4996DB2D.60806@googlemail.com> Message-ID: <49970653.8090903@networkmail.eu> Hi Alan, Nagios Looking Glass is specifically designed for this situation - provided you don't want them to submit actions etc. You have to edit the filters (views) in NLG, setup authentication in Apache for different customers to login, then set which views each customer can see. www.nagioslookingglass.co.uk Regards, Andy Edwin Zoeller wrote: > Yes, I do that at my site. You need just to edit the nagios config file and add them there. Make sure they are listed in the contact groups for there hosts. > > -----Original Message----- > From: Alan Cooper [mailto:ajcooper80 at googlemail.com] > Sent: Saturday, February 14, 2009 8:55 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Sub-views for customers > > Hi folks, > > Is it possible to set up the web interface so that a user can only see > certain hosts. > > I'd like to be able to give a customer a login so they can see > information for their hosts, but I don't want them to be able to see any > other customers servers - is this possible? > > Kind Regards & thanks in advance, > > Alan > > ------------------------------------------------------------------------------ > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA > -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise > -Strategies to boost innovation and cut costs with open source participation > -Receive a $600 discount off the registration fee with the source code: SFAD > http://p.sf.net/sfu/XcvMzF8H > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------------------------------ > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA > -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise > -Strategies to boost innovation and cut costs with open source participation > -Receive a $600 discount off the registration fee with the source code: SFAD > http://p.sf.net/sfu/XcvMzF8H > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Feb 14 21:39:13 2009 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Sat, 14 Feb 2009 15:39:13 -0500 Subject: nsclient 0.3.6-RC4-x64 issues In-Reply-To: <49627735003F5C479100225C339F9FE0DB2306896F@Mail.activenetwerx.int> References: <49627735003F5C479100225C339F9FE0DB2306896F@Mail.activenetwerx.int> Message-ID: <49972BF1.2020505@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 13/02/09 09:53 PM, Joseph L. Casale wrote: > I can only seem to get monitoring working for WinXP but not Windows 2008. The same > config file should work on both, but Nagios suggests "CRITICAL - Socket timeout after 20 > seconds". This error returns many hits but I haven't found a solution for my scenario yet. > > I have set the plugin timeout to 30s and confirmed the master timeout to be higher. > > Anyone got any pointers for Win 2008x64? Normally Windows monitoring use NC_Net or NSClient++. Can you give more details on the check you're doing (the real command, not check_command)? If you're using check_nt or one of its substitute (NC_Net has check_nc_net, NSClient++ may have one too) make sure the proper service is installed and running on the Windows server. Try restarting the service if it's already running. Make sure the configuration is good (especially port and password). - -- Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFJlyvx6dZ+Kt5BchYRAhtXAKD1mLoeQtoLcZXR/vW2XJBd/1TuYACgg0aT FFm8riRhmykC3o/GM1Nn0L4= =am5l -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From JCasale at activenetwerx.com Sat Feb 14 21:54:02 2009 From: JCasale at activenetwerx.com (Joseph L. Casale) Date: Sat, 14 Feb 2009 13:54:02 -0700 Subject: nsclient 0.3.6-RC4-x64 issues In-Reply-To: <49972BF1.2020505@aei.ca> References: <49627735003F5C479100225C339F9FE0DB2306896F@Mail.activenetwerx.int> <49972BF1.2020505@aei.ca> Message-ID: <49627735003F5C479100225C339F9FE0DB2CEA7DB9@Mail.activenetwerx.int> >Normally Windows monitoring use NC_Net or NSClient++. Can you give more >details on the check you're doing (the real command, not check_command)? Well, just started with Nagios, and I am using one of the windows.cfg templates with NSClient++ installed on the Windows Server 2008x64 boxes. >If you're using check_nt or one of its substitute (NC_Net has >check_nc_net, NSClient++ may have one too) make sure the proper service >is installed and running on the Windows server. Try restarting the >service if it's already running. Make sure the configuration is good >(especially port and password). I am using check_nt and the port/pass is correct for WinXP machines, but the same ini on the 2008 machines doesn't work. Given Nagios suggests a socket error, I suspect it is probably some bug in the x64 client on the 2008 machines... In the meantime, since I am just starting out, I have been reading up on snmp as that is how I am preferring to do my monitoring rather than have to install any applications. jlc ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sun Feb 15 04:30:37 2009 From: amontibello at gmail.com (Anthony Montibello) Date: Sat, 14 Feb 2009 22:30:37 -0500 Subject: nsclient 0.3.6-RC4-x64 issues In-Reply-To: <49627735003F5C479100225C339F9FE0DB2CEA7DB9@Mail.activenetwerx.int> References: <49627735003F5C479100225C339F9FE0DB2306896F@Mail.activenetwerx.int> <49972BF1.2020505@aei.ca> <49627735003F5C479100225C339F9FE0DB2CEA7DB9@Mail.activenetwerx.int> Message-ID: If you are using Check_nt for monitoring, and having issues with the configuring NSClient++ on windows, You can try NC_NEt. it also uses check_nt so no need to reconfigure Nagios, the client configuration should only consist of setting up the port in setup.cfg. Check_nc_net has additional commands (like WMI, EventLog_new, Runscripts, and many enumeration commands) but is not required to run NC_NEt. Tony (Author of NC_Net) On Sat, Feb 14, 2009 at 3:54 PM, Joseph L. Casale wrote: > >Normally Windows monitoring use NC_Net or NSClient++. Can you give more > >details on the check you're doing (the real command, not check_command)? > > Well, just started with Nagios, and I am using one of the windows.cfg > templates with NSClient++ installed on the Windows Server 2008x64 boxes. > > >If you're using check_nt or one of its substitute (NC_Net has > >check_nc_net, NSClient++ may have one too) make sure the proper service > >is installed and running on the Windows server. Try restarting the > >service if it's already running. Make sure the configuration is good > >(especially port and password). > > I am using check_nt and the port/pass is correct for WinXP machines, but > the same ini on the 2008 machines doesn't work. Given Nagios suggests a > socket error, I suspect it is probably some bug in the x64 client on the > 2008 machines... > > In the meantime, since I am just starting out, I have been reading up on > snmp as that is how I am preferring to do my monitoring rather than have to > install any applications. > > jlc > > > > > ------------------------------------------------------------------------------ > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, > CA > -OSBC tackles the biggest issue in open source: Open Sourcing the > Enterprise > -Strategies to boost innovation and cut costs with open source > participation > -Receive a $600 discount off the registration fee with the source code: > SFAD > http://p.sf.net/sfu/XcvMzF8H > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From satish at linuxbug.org Sun Feb 15 04:55:37 2009 From: satish at linuxbug.org (Satish Patel) Date: Sat, 14 Feb 2009 22:55:37 -0500 Subject: Nagios integration with cacti Message-ID: <20090214225537.fiep0pitwssk48ws@mail.lintelindia.com> I have nagios of cacti running on same host and now i want to integrate both into single web administration.. in short integration... is there any plugin which intergrate both services into single interface. or something like nagios can read existing cacti RRD and create ghraph per for host.. let me know is there any existing fuction which i can use. apprisiate your help Regards, Satish Patel ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From uwe.bartels at gmail.com Sun Feb 15 09:55:25 2009 From: uwe.bartels at gmail.com (Uwe Bartels) Date: Sun, 15 Feb 2009 09:55:25 +0100 Subject: nagios loses the state of some monitors In-Reply-To: <8F99ACC1-7450-415F-BF08-FC331A6BE6BD@ena.com> References: <8ea917510902130342u697c0f01r2996348ed07007ef@mail.gmail.com> <5F01E893-0346-43AE-B8F1-95DAB22B779F@ena.com> <8ea917510902130544j5d8ed404u68876d312c7e88f@mail.gmail.com> <8ea917510902130801u6bdcdf3asecee9df09e78512c@mail.gmail.com> <8F99ACC1-7450-415F-BF08-FC331A6BE6BD@ena.com> Message-ID: <8ea917510902150055w3d30a648nb5350e76440d3e28@mail.gmail.com> Hi Marc, yes, thanks for the hint, I saw that in the init.d-script but was to lazy to code yet. But I'll do that, cause that makes it more obvious what I'm trying to do. Thanks for you help. Uwe 2009/2/13 Marc Powell > > On Feb 13, 2009, at 10:01 AM, Uwe Bartels wrote: > > > Hi Marc, > > > > I found it. > > The time between reload and start writing that config file was > > almost nothing, so after reloading - nagios had problems already > > reading this file. It probably was by then already empty. So I > > inserted a sleep 1 between reload & rewriting that config file > > and ..... > > ..... no PENDING state anymore. > > Good to hear. Do you know that you do not have to reload nagios to > have it check the config? While nagios is running, you can execute - '/ > path/to/nagios -v /path/to/nagios.cfg'. Using that you can perform a > verification of current config, write new config, verify new config > and then only reload once if it's all good. If bad, just copy back > your original configs (no reload needed). > > -- > Marc > > > > ------------------------------------------------------------------------------ > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, > CA > -OSBC tackles the biggest issue in open source: Open Sourcing the > Enterprise > -Strategies to boost innovation and cut costs with open source > participation > -Receive a $600 discount off the registration fee with the source code: > SFAD > http://p.sf.net/sfu/XcvMzF8H > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Uwe Bartels Systemarchitect - Freelancer mailto: uwe.bartels at gmail.com tel: +49 172 3899006 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Feb 15 16:28:34 2009 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Sun, 15 Feb 2009 10:28:34 -0500 Subject: fork issues and latency In-Reply-To: References: <4996EC93.2010403@aei.ca> Message-ID: <499834A2.9040001@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 14/02/09 09:43 PM, Jeff Frost wrote: > On Sat, 14 Feb 2009, Thomas Guyot-Sionnest wrote: > >> >> Which OS/distribution are you running? How much RAM do you have? Free >> RAM? SWAP? >> >> Please send results of "free -m" with and without Nagios running. > > Gentoo > > With nagios running (and fork errors happening): > > free -m > total used free shared buffers cached > Mem: 4096 1421 2674 0 51 1078 > -/+ buffers/cache: 292 3803 > Swap: 511 0 511 > > nagios 4808 6.8 0.2 72716 11916 ? Rsl 02:00 2:47 > /usr/sbin/nagios -d /etc/nagios/nagios.cfg > > Without nagios running: > > # free -m > total used free shared buffers cached > Mem: 4096 1364 2732 0 51 1073 > -/+ buffers/cache: 238 3857 > Swap: 511 0 511 > > Immediately after nagios start: > > # free -m > total used free shared buffers cached > Mem: 4096 1386 2709 0 51 1079 > -/+ buffers/cache: 255 3840 > Swap: 511 0 511 > This is very strange as you should have plenty of available memory (this is a 64bit system right?) even when you see the fork() errors. Are you able to find the exact errorno with strace? Which kernel are you using? Do you have any security features enabled (selinux, grsecurity, pax, etc?) Is there anything logged by the kernel (dmesg)? - -- Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFJmDSi6dZ+Kt5BchYRAs6uAKDUPXAQwprDRZDoQjznJRRMZi6coQCdFf7z uc5JVKfaOEMvLMgQzNLwQbk= =CAfh -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From KRamanujan at JohnDeere.com Mon Feb 16 07:23:42 2009 From: KRamanujan at JohnDeere.com (K Ramanujan) Date: Mon, 16 Feb 2009 11:53:42 +0530 Subject: Unknown icon appearing in status map Message-ID: <85AD93A0C061954DB4A48597463A6474409CA7AF3F@epumb2.jdnet.deere.com> I have configure my nagios in Linux and I am unable to see any icon in status map while I am getting icon image on VRML and host. please sagest what to do. Thanks!!! the following version and definition I am using as follows Nagios-3.0.5 nrpe.2.12 nagios-plugins-1.4.12 OS-Linux (Red Hat Enterprise Linux WS release 4 (Nahant Update 6) Regards, Ramanujan Extn-5158 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Feb 16 08:16:56 2009 From: ian at acces.co.jp (Ian Masters) Date: Mon, 16 Feb 2009 16:16:56 +0900 Subject: Unknown icon appearing in status map In-Reply-To: <85AD93A0C061954DB4A48597463A6474409CA7AF3F@epumb2.jdnet.deere.com> References: <85AD93A0C061954DB4A48597463A6474409CA7AF3F@epumb2.jdnet.deere.com> Message-ID: <499912E8.8030401@acces.co.jp> > I have configure my nagios in Linux and I am unable to see any icon in > status map while I am getting icon image on VRML and host. please sagest > what to do. Thanks!!! Check out the Nagios FAQ: http://www.nagios.org/faqs/index.php?section_id=8&expand=false&showdesc=false Particularly: http://www.nagios.org/faqs/viewfaq.php?faq_id=237&expand=false&showdesc=false http://www.nagios.org/faqs/viewfaq.php?faq_id=331&expand=false&showdesc=false http://www.nagios.org/faqs/viewfaq.php?faq_id=97&expand=false&showdesc=false Ian ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Feb 16 08:21:18 2009 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Mon, 16 Feb 2009 02:21:18 -0500 Subject: Passive-only checks show up as "disabled" In-Reply-To: <277020fc0902151829s57bfdc73weea881fdcf2beadc@mail.gmail.com> References: <277020fc0902131345h7fc15a21n2a3977f94fa2c38b@mail.gmail.com> <4996F044.6030409@aei.ca> <277020fc0902151829s57bfdc73weea881fdcf2beadc@mail.gmail.com> Message-ID: <499913EE.20102@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 15/02/09 09:29 PM, Sean Carolan wrote: >> The only way would be modifying the CGI code. Be aware though that the >> CGI interface will be replaces by a PHP one in the next major release.. >> > > Very interesting. I just asked because we like to see "all green" on > the control panel, makes it easy to identify a problem when the normal > state is all green. There has been a similar question asked on the devel mailing list - you should have a look (see attached). > Will the new PHP version have a clear upgrade path from 3.0.4? Most likely like the other upgrades which usually required little or no extra setup. Right now I think it requires NDODB, but I hope it will have a plain-file based alternative (I will try to suggest CDB as a backend replacement for the plain text status files) as NDODB pushes the complexity level a notch higher IMHO. - -- Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFJmRPt6dZ+Kt5BchYRApYdAJ0XgYJvm6MC5bcbivr4wIuQgxp4EQCg8QuD NKRDMKFOcJsCfMKgsb+RJgo= =wB3O -----END PGP SIGNATURE----- -------------- next part -------------- An embedded message was scrubbed... From: Thomas Lorenzen Subject: [Nagios-devel] Ways of having a passive only service with freshness checking Date: Fri, 13 Feb 2009 13:45:33 +0000 (GMT) Size: 7607 URL: -------------- next part -------------- An embedded message was scrubbed... From: Thomas Guyot-Sionnest Subject: Re: [Nagios-devel] Ways of having a passive only service with freshness checking Date: Sat, 14 Feb 2009 12:00:19 -0500 Size: 7992 URL: -------------- next part -------------- ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cschneemann at suse.de Mon Feb 16 10:49:05 2009 From: cschneemann at suse.de (Christian Schneemann) Date: Mon, 16 Feb 2009 10:49:05 +0100 Subject: Notifications only to service contacts, not to host contacts? Message-ID: <200902161049.05728.cschneemann@suse.de> Hi, I have some services defined, that are just interesting for some people, especially not for all contacts defined for the host. So the service has a single contact defined. Now the problem is, that the notifications are not only send to the contact defined for this service, they are also send to the contacts (contact_group) defined for the host this service is defined for. The contact_group is defined for this host in the host-template. define service{ use service-template hostgroup_name check_zypper service_description check for updates check_command check_nrpe!check_zypper contacts contact1 } define host{ use example-template host_name hostname.example.org alias example host address hostname.example.org hostgroups example-hosts, check_zypper } What am I doing wrong? Any suggestions? Greetings, Christian -- Christian Schneemann ------------------------------------- SUSE LINUX Products GmbH, Maxfeldstr. 5, D - 90409 N?rnberg Phone:??+49 (0)911 - 740 53 0 e-mail:?cschneemann at suse.de ------------------------------------- SUSE LINUX Products GmbH, GF: Markus Rex HRB 16746 (AG N?rnberg) ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Feb 16 15:13:00 2009 From: marc at ena.com (Marc Powell) Date: Mon, 16 Feb 2009 08:13:00 -0600 Subject: Notifications only to service contacts, not to host contacts? In-Reply-To: <200902161049.05728.cschneemann@suse.de> References: <200902161049.05728.cschneemann@suse.de> Message-ID: On Feb 16, 2009, at 3:49 AM, Christian Schneemann wrote: > Hi, > I have some services defined, that are just interesting for some > people, > especially not for all contacts defined for the host. So the service > has a > single contact defined. Nagios expects this kind of notification granularity. > Now the problem is, that the notifications are not only send to the > contact > defined for this service, they are also send to the contacts > (contact_group) > defined for the host this service is defined for. Nagios will not do this unless you specifically configure it to do so. Nagios has been told that it should. Are they service notifications or host notifications? Is there anything else unusual about the notifications or their content? What does nagios.log show related to these notifications? > The contact_group is defined for this host in the host-template. > > define service{ > > contacts contact1 > } > > define host{ > use example-template > host_name hostname.example.org > alias example host > address hostname.example.org > hostgroups example-hosts, check_zypper > } > > What am I doing wrong? Any suggestions? Who are the host contacts? Please post the entire host and service definitions, including the templates with the important bits. You might want to grab the definitions from objects.cache. -- Marc ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From steve at sliderule.demon.co.uk Mon Feb 16 15:49:00 2009 From: steve at sliderule.demon.co.uk (Steve Burton) Date: Mon, 16 Feb 2009 14:49:00 +0000 Subject: CPU Critical In-Reply-To: References: Message-ID: <49997CDC.6050205@sliderule.demon.co.uk> Jon Angliss wrote: > On Fri, 13 Feb 2009 00:54:34 -0000, "Martyn" > wrote: > > >> Hi All >> I have noticed whilst monitoring my NT server the CPU load level has been at >> critical status for 3d 8h 29m 32s and sitting at 100%, this is good news >> > >from a monitoring point of view as it was spotted, however I need to solve > >> it. >> > > >> I know I can just jump on to my server and look at the processors I would >> find what was hogging it but is there a plugin/module or add-on that I can >> use to see what processors maxing out. >> > > If you're any good at scripting, you can tinker with the WMI script > from here: > > > http://www.databasejournal.com/features/mssql/article.php/3560366/Monitor-CPU-Usage-of-All-Running-Processes--Part-I.htm > > It's a WMI script that will walk through all the processes, and return > the CPU usage. With some tweaking, you can probably sort the results, > add the values, and use it as a CPU counter, and return the top > process as part of the check. > Also, if you only want the _Total_ processor usage and have NSCP installed you can access the perfmon counter with a check_command like: define command{ command_name check-processor-nscp command_line $USER1$/check_nt -H $HOSTADDRESS$ -v COUNTER -l "\\Processor(_Total)\\% Processor Time","Processor Used %2.f%%" -p 12489 } (NB I run nscp on port 12489 hence the -p argument). Steve. ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cschneemann at suse.de Mon Feb 16 16:31:31 2009 From: cschneemann at suse.de (Christian Schneemann) Date: Mon, 16 Feb 2009 16:31:31 +0100 Subject: Notifications only to service contacts, not to host contacts? In-Reply-To: References: <200902161049.05728.cschneemann@suse.de> Message-ID: <200902161631.31953.cschneemann@suse.de> On Monday February 16 2009 03:13:00 pm Marc Powell wrote: > On Feb 16, 2009, at 3:49 AM, Christian Schneemann wrote: > > Hi, > > I have some services defined, that are just interesting for some > > people, > > especially not for all contacts defined for the host. So the service > > has a > > single contact defined. > [...] > > > > What am I doing wrong? Any suggestions? > > Who are the host contacts? Please post the entire host and service > definitions, including the templates with the important bits. You > might want to grab the definitions from objects.cache. Thanks for the hint with the objects.cache. The contact_group is defined in the template for the service. so a define service { ... contacts contact1 contact_groups } unsets the value and I hope it will work now. Thanks for helping :) > > -- > Marc > > > --------------------------------------------------------------------------- >--- Open Source Business Conference (OSBC), March 24-25, 2009, San > Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing > the Enterprise -Strategies to boost innovation and cut costs with open > source participation -Receive a $600 discount off the registration fee with > the source code: SFAD http://p.sf.net/sfu/XcvMzF8H > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > ::: reporting any issue. Messages without supporting info will risk being > ::: sent to /dev/null -- Christian Schneemann ------------------------------------- SUSE LINUX Products GmbH, Maxfeldstr. 5, D - 90409 N?rnberg Phone:??+49 (0)911 - 740 53 0 e-mail:?cschneemann at suse.de ------------------------------------- SUSE LINUX Products GmbH, GF: Markus Rex HRB 16746 (AG N?rnberg) ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mariog at absi.be Mon Feb 16 18:15:59 2009 From: mariog at absi.be (mariog at absi.be) Date: Mon, 16 Feb 2009 18:15:59 +0100 Subject: send_nsca to monitor a remote log via passive checks. Message-ID: Hello I have a problem I am using a program logsurfer which scan logfiles and realtime it is running on a remote host, i have created a passive check in nagios and I want to use send_nsca to send the errors in the logs to the monitoring server. whenever i launch send_nsca manually in the command line it works but when I set it in the config file of logsurfer it does not sends any passive checks to the nagios server. here is the command i try to use in order to send it to the nagios server. "/usr/bin/echo "host\tlogfile\t2\t\"$0\"" | /etc/nagios/send_nsca -H 123.123.123.123 -c /etc/nagios/send_nsca.cfg" it is there an error in syntax, does anyone of you know logsurfer and it's maybe the logsurfer problem if the syntax of send_nsca is correct. $0 is supposed to be the entire line that will be sent to the monitoring server. thank you for your help; it will be priceless. Mario Garcia Ortiz/ABSI -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From israel at frontierflying.com Mon Feb 16 18:34:59 2009 From: israel at frontierflying.com (Israel Brewster) Date: Mon, 16 Feb 2009 08:34:59 -0900 Subject: Different notifications depending on warning? Message-ID: <2207C1E4-8742-426F-B425-AC23378327FB@frontierflying.com> I don't know if this is possible, but is there any way to make nagios send different alerts (or, rather not send alerts) depending on what exactly a warning state is? My understanding is that nagios only looks at the return code, not the status text, so this shouldn't be possible, but I figured it couldn't hurt to ask. The problem I am trying to solve is the following: I am monitoring a number of printers via SNMP, and there are a number of conditions that will trigger a "WARNING" status on the printer: Out of paper, open front cover, low toner, etc. Some of these, such as out of paper, can be and typically are quickly and easily solved by the end user, and as such there is no point in e-mailing us about it, at least not until it has been empty for a while. However, it should still show up as a warning in nagios, because there have been situations where someone is being unable to print to a remote printer, and it turns out it is because no one in the remote location noticed that it was out. Other "WARNING" situations we need to be notified about immediately, such as (primarily) low toner, in which case we need to make sure we have a replacement available, and perhaps even sent out, if the location is remote. I suppose I could write a plugin that looks at the status text and "upgrades" certain warnings, such as low toner, to critical status, but this would be problematic as well, because we would then loose the distinction between "low toner", which just means we need to make sure we have more, and "toner empty", which means we need to go replace it. So is there a good solution to this dilemma that I am missing? Thanks. ----------------------------------------------- Israel Brewster Computer Support Technician Frontier Flying Service Inc. 5245 Airport Industrial Rd Fairbanks, AK 99709 (907) 450-7250 x293 ----------------------------------------------- ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Feb 16 19:11:56 2009 From: marc at ena.com (Marc Powell) Date: Mon, 16 Feb 2009 12:11:56 -0600 Subject: Different notifications depending on warning? In-Reply-To: <2207C1E4-8742-426F-B425-AC23378327FB@frontierflying.com> References: <2207C1E4-8742-426F-B425-AC23378327FB@frontierflying.com> Message-ID: On Feb 16, 2009, at 11:34 AM, Israel Brewster wrote: > I suppose I could write a plugin that looks at the status text and > "upgrades" certain warnings, such as low toner, to critical status, > but this would be problematic as well, because we would then loose the > distinction between "low toner", which just means we need to make sure > we have more, and "toner empty", which means we need to go replace it. > So is there a good solution to this dilemma that I am missing? Thanks. Not within nagios that I know of. There are two points of possible action that I see. The first, as you've already discovered, is to modify the way that it's checked and add the logic there. The second is to add the logic to your notifications. The notification program can be anything at all. You could easily create your own notification script to act as a wrapper to /bin/mail that filters out those things that shouldn't really generate an alert. -- Marc ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rijilv at riji.lv Mon Feb 16 19:07:46 2009 From: rijilv at riji.lv (RijilV) Date: Mon, 16 Feb 2009 10:07:46 -0800 Subject: Different notifications depending on warning? In-Reply-To: <2207C1E4-8742-426F-B425-AC23378327FB@frontierflying.com> References: <2207C1E4-8742-426F-B425-AC23378327FB@frontierflying.com> Message-ID: <5068c6420902161007l6203f161h22b6b7c8c90ef8c8@mail.gmail.com> 2009/2/16 Israel Brewster > I don't know if this is possible, but is there any way to make nagios > send different alerts (or, rather not send alerts) depending on what > exactly a warning state is? My understanding is that nagios only looks > at the return code, not the status text, so this shouldn't be > possible, but I figured it couldn't hurt to ask. > In the past I have written my own notification program to do similar things, ie instead of having nagios send email directly, pass it off to some other program that looks at whatever conditions you want and makes some decisions based on that. In this case you could just write a "printer notification" program that doesn't send email when the service output says low on paper. .r' -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From israel at frontierflying.com Mon Feb 16 19:47:03 2009 From: israel at frontierflying.com (Israel Brewster) Date: Mon, 16 Feb 2009 09:47:03 -0900 Subject: Different notifications depending on warning? In-Reply-To: <5068c6420902161007l6203f161h22b6b7c8c90ef8c8@mail.gmail.com> References: <2207C1E4-8742-426F-B425-AC23378327FB@frontierflying.com> <5068c6420902161007l6203f161h22b6b7c8c90ef8c8@mail.gmail.com> Message-ID: <0E74C69B-4B24-4D89-8753-48604BE12674@frontierflying.com> On Feb 16, 2009, at 9:07 AM, RijilV wrote: > 2009/2/16 Israel Brewster > I don't know if this is possible, but is there any way to make nagios > send different alerts (or, rather not send alerts) depending on what > exactly a warning state is? My understanding is that nagios only looks > at the return code, not the status text, so this shouldn't be > possible, but I figured it couldn't hurt to ask. > > > In the past I have written my own notification program to do similar > things, ie instead of having nagios send email directly, pass it off > to some other program that looks at whatever conditions you want and > makes some decisions based on that. > > In this case you could just write a "printer notification" program > that doesn't send email when the service output says low on paper. Sounds promising. I'll give it a shot. ----------------------------------------------- Israel Brewster Computer Support Technician Frontier Flying Service Inc. 5245 Airport Industrial Rd Fairbanks, AK 99709 (907) 450-7250 x293 ----------------------------------------------- > > > .r' > ------------------------------------------------------------------------------ > Open Source Business Conference (OSBC), March 24-25, 2009, San > Francisco, CA > -OSBC tackles the biggest issue in open source: Open Sourcing the > Enterprise > -Strategies to boost innovation and cut costs with open source > participation > -Receive a $600 discount off the registration fee with the source > code: SFAD > http://p.sf.net/sfu/XcvMzF8H_______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lecb79 at gmail.com Mon Feb 16 20:35:42 2009 From: lecb79 at gmail.com (Eduardo Barreto) Date: Mon, 16 Feb 2009 16:35:42 -0300 Subject: How to set postfix to send notifications Message-ID: Hi Folks I do need a help, i'm dealing with a nightmare overhere. I got the Nagios working pretty fine (hosts, contacts, hostgroups, contactgroups, and else), but nothing about notification. I'm working with a slackware 12.2 version, have installed postfix but don't know what to do with it. It's says that need a MTA, that's why I have installed postfix, because in many forum people say it's most simple than sendmail or else. Give me a light on this!!! Thanks ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From echatham at broadvox.net Mon Feb 16 21:58:22 2009 From: echatham at broadvox.net (Eric Chatham) Date: Mon, 16 Feb 2009 15:58:22 -0500 Subject: New to Nagios - Need help with nagios.cfg Message-ID: <4ABA3E162F60624A949503A7F960245EB0E242A5E1@CLEHBEXMS01.broadvox.local> Hello, I'm very new to Nagios. I'm running version Nagios 3.0.6 on CentOS RHEL 5.1. I used the FC6 instructions for my installation. I've successfully installed the program per the Quick-start guide provided on the Website. We presently have another server with an older version of Nagios installed. It's using "cfg_dir=/opt/nagios/etc" as its location for all *.cfg giles. Here's a problem: When I try to create an alternate directory (cfg_dir) in the nagios config file, I keep getting a CONFIG ERROR when I try to restart the service. I would like to use "cfg_dir=/opt/nagios/etc/main" to hold all the config files. Here is a list of that directory right now: [root@ ~ main]# ls -l total 68 -rwxrwxr-x 1 nagios nagios 7714 Feb 13 16:55 commands.cfg -rwxrwxr-x 1 nagios nagios 2166 Feb 13 16:52 contacts.cfg -rwxrwxr-x 1 nagios nagios 240 Feb 13 14:28 hostgroups.cfg -rwxrwxr-x 1 nagios nagios 163 Feb 13 16:51 hosts.cfg -rwxrwxr-x 1 nagios nagios 2414 Feb 13 16:39 services.cfg -rwxrwxr-x 1 nagios nagios 10812 Feb 13 16:41 templates.cfg -rwxrwxr-x 1 nagios nagios 3209 Feb 13 16:55 timeperiods.cfg [root@ ~ main]# service nagios restart Running configuration check... CONFIG ERROR! Restart aborted. Check your Nagios configuration. I've hashed out all the other cfg in nagios.cfg to only use this directory. [root@ ~ main]# grep cfg_ /usr/local/nagios/etc/nagios.cfg # cfg_file=/usr/local/nagios/etc/objects/commands.cfg # cfg_file=/usr/local/nagios/etc/objects/contacts.cfg # cfg_file=/usr/local/nagios/etc/objects/timeperiods.cfg # cfg_file=/usr/local/nagios/etc/objects/templates.cfg # cfg_file=/opt/nagios/etc/commands.cfg # cfg_file=/opt/nagios/etc/contacts.cfg # cfg_file=/opt/nagios/etc/timeperiods.cfg # cfg_file=/opt/nagios/etc/templates.cfg # cfg_file=/usr/local/nagios/etc/objects/localhost.cfg cfg_dir=/opt/nagios/etc/main #cfg_file=/usr/local/nagios/etc/objects/windows.cfg #cfg_file=/usr/local/nagios/etc/objects/switch.cfg #cfg_file=/usr/local/nagios/etc/objects/printer.cfg # extension) in a particular directory by using the cfg_dir #cfg_dir=/usr/local/nagios/etc/servers #cfg_dir=/usr/local/nagios/etc/printers #cfg_dir=/usr/local/nagios/etc/switches #cfg_dir=/usr/local/nagios/etc/routers # object configuration files (see the cfg_file and cfg_dir options above). Please help! Thanks. Eric Chatham ________________________________ CONFIDENTIAL. This e-mail and any attached files are confidential and should be destroyed and/or returned if you are not the intended and proper recipient. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Feb 16 22:37:51 2009 From: marc at ena.com (Marc Powell) Date: Mon, 16 Feb 2009 15:37:51 -0600 Subject: New to Nagios - Need help with nagios.cfg In-Reply-To: <4ABA3E162F60624A949503A7F960245EB0E242A5E1@CLEHBEXMS01.broadvox.local> References: <4ABA3E162F60624A949503A7F960245EB0E242A5E1@CLEHBEXMS01.broadvox.local> Message-ID: <5813F6C9-FB2E-482B-8DC9-68FE8A74FA1C@ena.com> On Feb 16, 2009, at 2:58 PM, Eric Chatham wrote: > Hello, > > I?m very new to Nagios. I'm running version Nagios 3.0.6 on CentOS > RHEL 5.1. I used the FC6 instructions for my installation. I?ve > successfully installed the program per the Quick-start guide > provided on the Website. We presently have another server with an > older version of Nagios installed. It?s using ?cfg_dir=/opt/nagios/ > etc? as its location for all *.cfg giles. > > Here's a problem: When I try to create an alternate directory > (cfg_dir) in the nagios config file, I keep getting a CONFIG ERROR > when I try to restart the service. I would like to use ?cfg_dir=/opt/ > nagios/etc/main? to hold all the config files. Here is a list of > that directory right now: > > [root@ ~ main]# ls -l > total 68 > -rwxrwxr-x 1 nagios nagios 7714 Feb 13 16:55 commands.cfg > -rwxrwxr-x 1 nagios nagios 2166 Feb 13 16:52 contacts.cfg > -rwxrwxr-x 1 nagios nagios 240 Feb 13 14:28 hostgroups.cfg > -rwxrwxr-x 1 nagios nagios 163 Feb 13 16:51 hosts.cfg > -rwxrwxr-x 1 nagios nagios 2414 Feb 13 16:39 services.cfg > -rwxrwxr-x 1 nagios nagios 10812 Feb 13 16:41 templates.cfg > -rwxrwxr-x 1 nagios nagios 3209 Feb 13 16:55 timeperiods.cfg > [root@ ~ main]# service nagios restart > Running configuration check... CONFIG ERROR! Restart aborted. > Check your Nagios configuration. Seems like one of the config files probably has an error in it. Run '/ path/to/nagios -v /path/to/nagios.cfg'. -- Marc ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From echatham at broadvox.net Mon Feb 16 23:58:55 2009 From: echatham at broadvox.net (Eric Chatham) Date: Mon, 16 Feb 2009 17:58:55 -0500 Subject: New to Nagios - Need help with nagios.cfg In-Reply-To: <5813F6C9-FB2E-482B-8DC9-68FE8A74FA1C@ena.com> References: <4ABA3E162F60624A949503A7F960245EB0E242A5E1@CLEHBEXMS01.broadvox.local> <5813F6C9-FB2E-482B-8DC9-68FE8A74FA1C@ena.com> Message-ID: <4ABA3E162F60624A949503A7F960245EB0E242A6A0@CLEHBEXMS01.broadvox.local> [root@ ~ bin]# /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg Nagios 3.0.6 Copyright (c) 1999-2008 Ethan Galstad (http://www.nagios.org) Last Modified: 12-01-2008 License: GPL Reading configuration data... Error: Unexpected token or statement in file '/opt/nagios/etc/main/commands.cfg' on line 1. ***> One or more problems was encountered while processing the config files... Check your configuration file(s) to ensure that they contain valid directives and data defintions. If you are upgrading from a previous version of Nagios, you should be aware that some variables/definitions may have been removed or modified in this version. Make sure to read the HTML documentation regarding the config files, as well as the 'Whats New' section to find out what has changed. Eric Chatham -----Original Message----- From: Marc Powell [mailto:marc at ena.com] Sent: Monday, February 16, 2009 16:38 To: Nagios Users Subject: Re: [Nagios-users] New to Nagios - Need help with nagios.cfg On Feb 16, 2009, at 2:58 PM, Eric Chatham wrote: > Hello, > > I'm very new to Nagios. I'm running version Nagios 3.0.6 on CentOS > RHEL 5.1. I used the FC6 instructions for my installation. I've > successfully installed the program per the Quick-start guide > provided on the Website. We presently have another server with an > older version of Nagios installed. It's using "cfg_dir=/opt/nagios/ > etc" as its location for all *.cfg giles. > > Here's a problem: When I try to create an alternate directory > (cfg_dir) in the nagios config file, I keep getting a CONFIG ERROR > when I try to restart the service. I would like to use "cfg_dir=/opt/ > nagios/etc/main" to hold all the config files. Here is a list of > that directory right now: > > [root@ ~ main]# ls -l > total 68 > -rwxrwxr-x 1 nagios nagios 7714 Feb 13 16:55 commands.cfg > -rwxrwxr-x 1 nagios nagios 2166 Feb 13 16:52 contacts.cfg > -rwxrwxr-x 1 nagios nagios 240 Feb 13 14:28 hostgroups.cfg > -rwxrwxr-x 1 nagios nagios 163 Feb 13 16:51 hosts.cfg > -rwxrwxr-x 1 nagios nagios 2414 Feb 13 16:39 services.cfg > -rwxrwxr-x 1 nagios nagios 10812 Feb 13 16:41 templates.cfg > -rwxrwxr-x 1 nagios nagios 3209 Feb 13 16:55 timeperiods.cfg > [root@ ~ main]# service nagios restart > Running configuration check... CONFIG ERROR! Restart aborted. > Check your Nagios configuration. Seems like one of the config files probably has an error in it. Run '/ path/to/nagios -v /path/to/nagios.cfg'. -- Marc ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null CONFIDENTIAL. This e-mail and any attached files are confidential and should be destroyed and/or returned if you are not the intended and proper recipient. ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hau at udeviant.com Tue Feb 17 00:37:25 2009 From: hau at udeviant.com (Hau Phan) Date: Mon, 16 Feb 2009 17:37:25 -0600 Subject: New to Nagios - Need help with nagios.cfg In-Reply-To: <4ABA3E162F60624A949503A7F960245EB0E242A6A0@CLEHBEXMS01.broadvox.local> References: <4ABA3E162F60624A949503A7F960245EB0E242A5E1@CLEHBEXMS01.broadvox.local> <5813F6C9-FB2E-482B-8DC9-68FE8A74FA1C@ena.com> <4ABA3E162F60624A949503A7F960245EB0E242A6A0@CLEHBEXMS01.broadvox.local> Message-ID: <4999F8B5.60004@udeviant.com> What's the first line in your commands.cfg? Eric Chatham wrote: > [root@ ~ bin]# /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg > > Nagios 3.0.6 > Copyright (c) 1999-2008 Ethan Galstad (http://www.nagios.org) > Last Modified: 12-01-2008 > License: GPL > > Reading configuration data... > > Error: Unexpected token or statement in file '/opt/nagios/etc/main/commands.cfg' on line 1. > > ***> One or more problems was encountered while processing the config files... > > Check your configuration file(s) to ensure that they contain valid > directives and data defintions. If you are upgrading from a previous > version of Nagios, you should be aware that some variables/definitions > may have been removed or modified in this version. Make sure to read > the HTML documentation regarding the config files, as well as the > 'Whats New' section to find out what has changed. > > Eric Chatham > > > -----Original Message----- > From: Marc Powell [mailto:marc at ena.com] > Sent: Monday, February 16, 2009 16:38 > To: Nagios Users > Subject: Re: [Nagios-users] New to Nagios - Need help with nagios.cfg > > > On Feb 16, 2009, at 2:58 PM, Eric Chatham wrote: > > >> Hello, >> >> I'm very new to Nagios. I'm running version Nagios 3.0.6 on CentOS >> RHEL 5.1. I used the FC6 instructions for my installation. I've >> successfully installed the program per the Quick-start guide >> provided on the Website. We presently have another server with an >> older version of Nagios installed. It's using "cfg_dir=/opt/nagios/ >> etc" as its location for all *.cfg giles. >> >> Here's a problem: When I try to create an alternate directory >> (cfg_dir) in the nagios config file, I keep getting a CONFIG ERROR >> when I try to restart the service. I would like to use "cfg_dir=/opt/ >> nagios/etc/main" to hold all the config files. Here is a list of >> that directory right now: >> >> [root@ ~ main]# ls -l >> total 68 >> -rwxrwxr-x 1 nagios nagios 7714 Feb 13 16:55 commands.cfg >> -rwxrwxr-x 1 nagios nagios 2166 Feb 13 16:52 contacts.cfg >> -rwxrwxr-x 1 nagios nagios 240 Feb 13 14:28 hostgroups.cfg >> -rwxrwxr-x 1 nagios nagios 163 Feb 13 16:51 hosts.cfg >> -rwxrwxr-x 1 nagios nagios 2414 Feb 13 16:39 services.cfg >> -rwxrwxr-x 1 nagios nagios 10812 Feb 13 16:41 templates.cfg >> -rwxrwxr-x 1 nagios nagios 3209 Feb 13 16:55 timeperiods.cfg >> [root@ ~ main]# service nagios restart >> Running configuration check... CONFIG ERROR! Restart aborted. >> Check your Nagios configuration. >> > > Seems like one of the config files probably has an error in it. Run '/ > path/to/nagios -v /path/to/nagios.cfg'. > > -- > Marc > > > ------------------------------------------------------------------------------ > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA > -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise > -Strategies to boost innovation and cut costs with open source participation > -Receive a $600 discount off the registration fee with the source code: SFAD > http://p.sf.net/sfu/XcvMzF8H > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > CONFIDENTIAL. This e-mail and any attached files are confidential and should be destroyed and/or returned if you are not the intended and proper recipient. > > ------------------------------------------------------------------------------ > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA > -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise > -Strategies to boost innovation and cut costs with open source participation > -Receive a $600 discount off the registration fee with the source code: SFAD > http://p.sf.net/sfu/XcvMzF8H > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cp1449 at att.com Tue Feb 17 02:06:01 2009 From: cp1449 at att.com (Paul, Chris Y) Date: Mon, 16 Feb 2009 17:06:01 -0800 Subject: Acknowledge an alarm and changing severity levels Message-ID: I am using Nagios 3.02 with NRPE 2.12 and have tested the following scenario for a disk space check. Disk space reaches to a warning threshold, say 70% and it is acknowledged. However no space is gained and the available space continues to shrink till it reaches the critical threshold (90% for example). Nagios won't raise another alarm and send another alert even though the severity has changed, because of the fact that it was acknowledged when the threshold was warning. Is there any way we can get Nagios to send a new alarm when it reaches to critical threshold, even though it was acknowledged when at warning? It seems to me that this would make sense. Many thanks, CP -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Feb 17 02:42:32 2009 From: amontibello at gmail.com (Anthony Montibello) Date: Mon, 16 Feb 2009 20:42:32 -0500 Subject: CPU Critical In-Reply-To: <49997CDC.6050205@sliderule.demon.co.uk> References: <49997CDC.6050205@sliderule.demon.co.uk> Message-ID: NC_NEt supports both checking _total Conter of Process as well as WMI querys, where the only syntex needed for the WMI query is the actually WMI Select Statment. Windows always induces a High load on User logins and Starting apps, so if you test for Total Process Load or System Idle in a critical Position for over a few minutes before throwing alerts (this is not an issue since the Alerts been up for several days in your instance) on a side note I seen Windows Automatic Update induce Unknown Loads typically starting wendsday- thurday if the update install is not completed (when it requires a reboot). To spot the bad Process you should try a Select top 1 through WMI, (i did not test this) But I am not sure how well the WMI query language interprets TOP (NC_NEt passes a WMI query starting with Select directly to the WMI Subsystem as opposed to doing anything itself.) Tony (Author of NC_Net) On Mon, Feb 16, 2009 at 9:49 AM, Steve Burton wrote: > Jon Angliss wrote: > > On Fri, 13 Feb 2009 00:54:34 -0000, "Martyn" > > wrote: > > > > > >> Hi All > >> I have noticed whilst monitoring my NT server the CPU load level has > been at > >> critical status for 3d 8h 29m 32s and sitting at 100%, this is good > news > >> > > >from a monitoring point of view as it was spotted, however I need to > solve > > > >> it. > >> > > > > > >> I know I can just jump on to my server and look at the processors I > would > >> find what was hogging it but is there a plugin/module or add-on that I > can > >> use to see what processors maxing out. > >> > > > > If you're any good at scripting, you can tinker with the WMI script > > from here: > > > > > > > http://www.databasejournal.com/features/mssql/article.php/3560366/Monitor-CPU-Usage-of-All-Running-Processes--Part-I.htm > > > > It's a WMI script that will walk through all the processes, and return > > the CPU usage. With some tweaking, you can probably sort the results, > > add the values, and use it as a CPU counter, and return the top > > process as part of the check. > > > Also, if you only want the _Total_ processor usage and have NSCP > installed you can access the perfmon counter with a check_command like: > > define command{ > command_name check-processor-nscp > command_line $USER1$/check_nt -H $HOSTADDRESS$ -v COUNTER -l > "\\Processor(_Total)\\% Processor Time","Processor Used %2.f%%" -p 12489 > } > > (NB I run nscp on port 12489 hence the -p argument). > > Steve. > > ______________________________________________________________________ > This email has been scanned by the MessageLabs Email Security System. > For more information please visit http://www.messagelabs.com/email > ______________________________________________________________________ > > > ------------------------------------------------------------------------------ > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, > CA > -OSBC tackles the biggest issue in open source: Open Sourcing the > Enterprise > -Strategies to boost innovation and cut costs with open source > participation > -Receive a $600 discount off the registration fee with the source code: > SFAD > http://p.sf.net/sfu/XcvMzF8H > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From darvin.denmian at gmail.com Tue Feb 17 02:38:46 2009 From: darvin.denmian at gmail.com (Darvin Denmian) Date: Mon, 16 Feb 2009 22:38:46 -0300 Subject: Nagios and rpmbuild Message-ID: Hello List !!!! i'm building a rpm package with nagios-3.0.6 and i have a question: why my rpm packages don't contain the directory "/etc/nagios/objects" . What is the secret, somebody can help me? Thanks !!! ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From shadhin71 at gmail.com Tue Feb 17 05:25:13 2009 From: shadhin71 at gmail.com (shadih rahman) Date: Tue, 17 Feb 2009 04:25:13 +0000 Subject: Nagios and rpmbuild In-Reply-To: References: Message-ID: <6db4a4200902162025i55c0fa68xe4edf2459de6a790@mail.gmail.com> Darvin, I added my nagios3.spec file with nagios-3.0.6. Hope this help. On Tue, Feb 17, 2009 at 1:38 AM, Darvin Denmian wrote: > Hello List !!!! > > i'm building a rpm package with nagios-3.0.6 and i have a question: > why my rpm packages don't contain the directory "/etc/nagios/objects" . > > What is the secret, somebody can help me? > > Thanks !!! > > > ------------------------------------------------------------------------------ > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, > CA > -OSBC tackles the biggest issue in open source: Open Sourcing the > Enterprise > -Strategies to boost innovation and cut costs with open source > participation > -Receive a $600 discount off the registration fee with the source code: > SFAD > http://p.sf.net/sfu/XcvMzF8H > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Cordially, Shadhin Rahman -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: nagios3.spec Type: application/octet-stream Size: 12846 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From daniel at danielemmanuelfeinsmith.com Tue Feb 17 05:52:14 2009 From: daniel at danielemmanuelfeinsmith.com (D. Emmanuel Feinsmith) Date: Mon, 16 Feb 2009 20:52:14 -0800 Subject: Nagios and rpmbuild In-Reply-To: <6db4a4200902162025i55c0fa68xe4edf2459de6a790@mail.gmail.com> References: <6db4a4200902162025i55c0fa68xe4edf2459de6a790@mail.gmail.com> Message-ID: <78E2F071-56C8-434B-AD4F-2EBC8FCEBA1F@danielemmanuelfeinsmith.com> You don't specify that directory in your spec file. On Feb 16, 2009, at 8:25 PM, shadih rahman wrote: > Darvin, > I added my nagios3.spec file with nagios-3.0.6. Hope this help. > > On Tue, Feb 17, 2009 at 1:38 AM, Darvin Denmian > wrote: > Hello List !!!! > > i'm building a rpm package with nagios-3.0.6 and i have a question: > why my rpm packages don't contain the directory "/etc/nagios/ > objects" . > > What is the secret, somebody can help me? > > Thanks !!! > > ------------------------------------------------------------------------------ > Open Source Business Conference (OSBC), March 24-25, 2009, San > Francisco, CA > -OSBC tackles the biggest issue in open source: Open Sourcing the > Enterprise > -Strategies to boost innovation and cut costs with open source > participation > -Receive a $600 discount off the registration fee with the source > code: SFAD > http://p.sf.net/sfu/XcvMzF8H > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > > -- > Cordially, > Shadhin Rahman > < > nagios3 > .spec > > > ------------------------------------------------------------------------------ > Open Source Business Conference (OSBC), March 24-25, 2009, San > Francisco, CA > -OSBC tackles the biggest issue in open source: Open Sourcing the > Enterprise > -Strategies to boost innovation and cut costs with open source > participation > -Receive a $600 discount off the registration fee with the source > code: SFAD > http://p.sf.net/sfu/XcvMzF8H_______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From treibholz at sozial-inkompetent.de Tue Feb 17 09:08:44 2009 From: treibholz at sozial-inkompetent.de (Klaus Umbach) Date: Tue, 17 Feb 2009 09:08:44 +0100 Subject: Notifications when CRITICAL->WARNING, but not OK->WARNING Message-ID: <20090217080844.GA5343@umbach-racing.de> Hi, is it possible, to get notifications, if a service switches from CRITICAL back to WARNING, but not OK to WARNING? Background: We only want critical messages on our pager at night but if a service exeeds a critical threshold and falls back to warning, we get no "back to WARNING"-message. This especially annoying, if the CRITICAL was not because of a threshold-problem, but because of a temporary refused connection of NRPE... Any ideas? Klaus -- BOFH excuse #270: Someone has messed up the kernel pointers ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Feb 17 09:56:47 2009 From: ml at nicole-haehnel.de (=?ISO-8859-15?Q?Nicole_H=E4hnel?=) Date: Tue, 17 Feb 2009 09:56:47 +0100 Subject: UNKNOWN service state question Message-ID: <499A7BCF.4060301@nicole-haehnel.de> Hi, I have several service checks via snmp which are checked only every hour. This service checks return unknown if the host is down and nagios doesn't know this yet. If the host goes up the service state is still unknown in hard state and only one time checked instead of the max_check_attempts of 3. The problem is, it takes about one hour to the next service check or I have to reschedule the next check if I don't want to remain the service in unknown state. Is this the right behavior for unknown states? Why aren't unknown states treated as critical states? The recovery of unknown state takes too long. Thank you! Nicole ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Sascha.Runschke at gfkl.com Tue Feb 17 10:31:17 2009 From: Sascha.Runschke at gfkl.com (Sascha.Runschke at gfkl.com) Date: Tue, 17 Feb 2009 10:31:17 +0100 Subject: Antwort: Re: fork issues and latency In-Reply-To: References: <4996EC93.2010403@aei.ca> <499834A2.9040001@aei.ca> Message-ID: Jeff Frost schrieb am 16.02.2009 23:06:05: > 2.6.18-xenU #1 SMP Fri Jun 15 17:50:34 PDT 2007 x86_64 Intel(R) Xeon(R) > CPU E5345 @ 2.33GHz GenuineIntel GNU/Linux That your nagios is running inside a virtual machine would have been a nice information I guess ;) Nagios doesn't perform overly too well inside a VM - actually you could say it runs horribly if you pass a certain point of checks per minute. The virtual system bus isn't able to cope with the throughput then. The strange thing is that the error looks like your system is running out of low mem, but actually that cannot be, since it's x64... could you please post a 'cat /proc/meminfo' while the error occurs? Regards Sascha -- Sascha Runschke IT-Infrastruktur fon : +49 (201) / 102-1879 fax : +49 (201) / 102-1102105 mobil : +49 (173) / 5419665 GFKL Financial Services AG Vorstand: Dr. Peter J?nsch (Vors.), J?rgen Baltes, Dr. Tom Haverkamp Vorsitzender des Aufsichtsrats: Dr. Georg F. Thoma Sitz: Limbecker Platz 1, 45127 Essen, Amtsgericht Essen, HRB 13522 ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From darvin.denmian at gmail.com Tue Feb 17 12:43:24 2009 From: darvin.denmian at gmail.com (Darvin Denmian) Date: Tue, 17 Feb 2009 08:43:24 -0300 Subject: Nagios and rpmbuild In-Reply-To: <78E2F071-56C8-434B-AD4F-2EBC8FCEBA1F@danielemmanuelfeinsmith.com> References: <6db4a4200902162025i55c0fa68xe4edf2459de6a790@mail.gmail.com> <78E2F071-56C8-434B-AD4F-2EBC8FCEBA1F@danielemmanuelfeinsmith.com> Message-ID: Hello guys, I will do the test with the file you sent. Keep you informed Thanks. On Tue, Feb 17, 2009 at 1:52 AM, D. Emmanuel Feinsmith wrote: > You don't specify that directory in your spec file. > On Feb 16, 2009, at 8:25 PM, shadih rahman wrote: > > Darvin, > I added my nagios3.spec file with nagios-3.0.6. Hope this help. > > On Tue, Feb 17, 2009 at 1:38 AM, Darvin Denmian > wrote: >> >> Hello List !!!! >> >> i'm building a rpm package with nagios-3.0.6 and i have a question: >> why my rpm packages don't contain the directory "/etc/nagios/objects" . >> >> What is the secret, somebody can help me? >> >> Thanks !!! >> >> >> ------------------------------------------------------------------------------ >> Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, >> CA >> -OSBC tackles the biggest issue in open source: Open Sourcing the >> Enterprise >> -Strategies to boost innovation and cut costs with open source >> participation >> -Receive a $600 discount off the registration fee with the source code: >> SFAD >> http://p.sf.net/sfu/XcvMzF8H >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null > > > > -- > Cordially, > Shadhin Rahman > ------------------------------------------------------------------------------ > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA > -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise > -Strategies to boost innovation and cut costs with open source participation > -Receive a $600 discount off the registration fee with the source code: SFAD > http://p.sf.net/sfu/XcvMzF8H_______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From t.h.amundsen at usit.uio.no Tue Feb 17 13:45:33 2009 From: t.h.amundsen at usit.uio.no (Trond Hasle Amundsen) Date: Tue, 17 Feb 2009 13:45:33 +0100 Subject: problems with check_openmanage In-Reply-To: <15ty6wf1y4y.fsf@tux.uio.no> (Trond Hasle Amundsen's message of "Mon\, 09 Feb 2009 15\:30\:05 +0100") References: <498AF5B9.4040302@nicole-haehnel.de> <62D20A54-3EA9-428E-879D-9E7DA0E8E399@ena.com> <498BE5F3.30300@nicole-haehnel.de> <15ty6wj3kcc.fsf@tux.uio.no> <15ty6wf1y4y.fsf@tux.uio.no> Message-ID: <15tocx1xmdu.fsf@tux.uio.no> Trond Hasle Amundsen writes: > Note: Users are reporting issues when probing win2000 servers. There is > a bug in the win2000 snmp agent that I'm currently trying to work > around. (Just to close this thread) We have found that probing the amperage sensors via SNMP brings down the SNMP agent on win2000. This can easily be avoided with the '--check' option: check_openmanage --check pwrmonitor=0 A note has been added to the plugin homepage about this: http://folk.uio.no/trondham/software/check_openmanage.html#remote-check-using-snmp In completely unrelated news... I have released a new version of check_openmanage today, and uploaded it to NagiosExchange. Happy monitoring, -- Trond ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Feb 17 13:54:46 2009 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Tue, 17 Feb 2009 07:54:46 -0500 Subject: UNKNOWN service state question In-Reply-To: <499A7BCF.4060301@nicole-haehnel.de> References: <499A7BCF.4060301@nicole-haehnel.de> Message-ID: <499AB396.606@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 17/02/09 03:56 AM, Nicole H?hnel wrote: > Hi, > > I have several service checks via snmp which are checked only every hour. > This service checks return unknown if the host is down and nagios > doesn't know this yet. > If the host goes up the service state is still unknown in hard state and > only one time checked instead of the max_check_attempts of 3. > The problem is, it takes about one hour to the next service check or I > have to reschedule the next check > if I don't want to remain the service in unknown state. > > Is this the right behavior for unknown states? > Why aren't unknown states treated as critical states? > The recovery of unknown state takes too long. The recovery time is just the same as critical. the retry_interval is used only during SOFT NON-OK states. You should most likely check more often. Most people run checks every 5 minutes, if not 1 minutes. Hourly checks means that it can take over an hour to detect a service failure. If you absolutely want that, you could use event-handlers to force service checks upon host recovery, or configure adaptive monitoring to that services gets checked more often during non-OK states. - -- Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFJmrOV6dZ+Kt5BchYRAnv+AJ9WImhMSaD6iV1QVQ9Yb19BtjybLQCg+wJv 8FXQ2VGLurbNkGU2FifoTa0= =bvYt -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From roman.fiedler at telbiomed.at Tue Feb 17 14:09:08 2009 From: roman.fiedler at telbiomed.at (Roman Fiedler) Date: Tue, 17 Feb 2009 14:09:08 +0100 Subject: Get hands on nagios data Message-ID: <499AB6F4.4060900@telbiomed.at> Hi List, What is the best way for automated access to the nagios-internal data, e.g. get all services with state != OK AND notifications enabled AND no scheduled downtime at the moment. thanks, Roman ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Feb 17 14:12:46 2009 From: marc at ena.com (Marc Powell) Date: Tue, 17 Feb 2009 07:12:46 -0600 Subject: Get hands on nagios data In-Reply-To: <499AB6F4.4060900@telbiomed.at> References: <499AB6F4.4060900@telbiomed.at> Message-ID: <5FB3EF4F-2D2A-49CB-9B16-08D150682400@ena.com> On Feb 17, 2009, at 7:09 AM, Roman Fiedler wrote: > Hi List, > > What is the best way for automated access to the nagios-internal data, > e.g. get all services with state != OK AND notifications enabled AND > no > scheduled downtime at the moment. IMHO, NDOutils. -- Marc ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lecb79 at gmail.com Tue Feb 17 14:22:57 2009 From: lecb79 at gmail.com (Eduardo Barreto) Date: Tue, 17 Feb 2009 10:22:57 -0300 Subject: Setting Hierachy and Icons for best view of status map Message-ID: How can I set the hierachy of my hosts and have a better image of the status map, somebody could give me a clue on how to organize my status map by group to become more easier to find the host. Cheers -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From echatham at broadvox.net Tue Feb 17 15:16:10 2009 From: echatham at broadvox.net (Eric Chatham) Date: Tue, 17 Feb 2009 09:16:10 -0500 Subject: New to Nagios - Need help with nagios.cfg In-Reply-To: <4999F8B5.60004@udeviant.com> References: <4ABA3E162F60624A949503A7F960245EB0E242A5E1@CLEHBEXMS01.broadvox.local> <5813F6C9-FB2E-482B-8DC9-68FE8A74FA1C@ena.com> <4ABA3E162F60624A949503A7F960245EB0E242A6A0@CLEHBEXMS01.broadvox.local> <4999F8B5.60004@udeviant.com> Message-ID: <4ABA3E162F60624A949503A7F960245EB0E242A71A@CLEHBEXMS01.broadvox.local> Ok, that was weird, when I looked, it was all scrambled. So, I recopied the commands.cfg file from the original location. Now, when I run it, I get this: [root@ ~ main]# /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg Nagios 3.0.6 Copyright (c) 1999-2008 Ethan Galstad (http://www.nagios.org) Last Modified: 12-01-2008 License: GPL Reading configuration data... Warning: Duplicate definition found for command 'notify-host-by-email' (config file '/opt/nagios/etc/main/commands.cfg', starting on line 28) Error: Could not add object property in file '/opt/nagios/etc/main/commands.cfg' on line 29. ***> One or more problems was encountered while processing the config files... Check your configuration file(s) to ensure that they contain valid directives and data defintions. If you are upgrading from a previous version of Nagios, you should be aware that some variables/definitions may have been removed or modified in this version. Make sure to read the HTML documentation regarding the config files, as well as the 'Whats New' section to find out what has changed. [root@ ~ main]# When I look at line 28, 29, here is what it is. 26 27 # 'notify-host-by-email' command definition 28 define command{ 29 command_name notify-host-by-email 30 command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n" | /bin/mail -s "** $NOTIFICATIONTYPE$ Host Alert: $HOSTNAME$ is $HOSTSTATE$ **" $CONTACTEMAIL$ Eric Chatham Broadvox MIS Department (216) 373-4683 echatham at broadvox.net -----Original Message----- From: Hau Phan [mailto:hau at udeviant.com] Sent: Monday, February 16, 2009 18:37 Cc: Nagios Users Subject: Re: [Nagios-users] New to Nagios - Need help with nagios.cfg What's the first line in your commands.cfg? Eric Chatham wrote: > [root@ ~ bin]# /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg > > Nagios 3.0.6 > Copyright (c) 1999-2008 Ethan Galstad (http://www.nagios.org) > Last Modified: 12-01-2008 > License: GPL > > Reading configuration data... > > Error: Unexpected token or statement in file '/opt/nagios/etc/main/commands.cfg' on line 1. > > ***> One or more problems was encountered while processing the config files... > > Check your configuration file(s) to ensure that they contain valid > directives and data defintions. If you are upgrading from a previous > version of Nagios, you should be aware that some variables/definitions > may have been removed or modified in this version. Make sure to read > the HTML documentation regarding the config files, as well as the > 'Whats New' section to find out what has changed. > > Eric Chatham > > > -----Original Message----- > From: Marc Powell [mailto:marc at ena.com] > Sent: Monday, February 16, 2009 16:38 > To: Nagios Users > Subject: Re: [Nagios-users] New to Nagios - Need help with nagios.cfg > > > On Feb 16, 2009, at 2:58 PM, Eric Chatham wrote: > > >> Hello, >> >> I'm very new to Nagios. I'm running version Nagios 3.0.6 on CentOS >> RHEL 5.1. I used the FC6 instructions for my installation. I've >> successfully installed the program per the Quick-start guide >> provided on the Website. We presently have another server with an >> older version of Nagios installed. It's using "cfg_dir=/opt/nagios/ >> etc" as its location for all *.cfg giles. >> >> Here's a problem: When I try to create an alternate directory >> (cfg_dir) in the nagios config file, I keep getting a CONFIG ERROR >> when I try to restart the service. I would like to use "cfg_dir=/opt/ >> nagios/etc/main" to hold all the config files. Here is a list of >> that directory right now: >> >> [root@ ~ main]# ls -l >> total 68 >> -rwxrwxr-x 1 nagios nagios 7714 Feb 13 16:55 commands.cfg >> -rwxrwxr-x 1 nagios nagios 2166 Feb 13 16:52 contacts.cfg >> -rwxrwxr-x 1 nagios nagios 240 Feb 13 14:28 hostgroups.cfg >> -rwxrwxr-x 1 nagios nagios 163 Feb 13 16:51 hosts.cfg >> -rwxrwxr-x 1 nagios nagios 2414 Feb 13 16:39 services.cfg >> -rwxrwxr-x 1 nagios nagios 10812 Feb 13 16:41 templates.cfg >> -rwxrwxr-x 1 nagios nagios 3209 Feb 13 16:55 timeperiods.cfg >> [root@ ~ main]# service nagios restart >> Running configuration check... CONFIG ERROR! Restart aborted. >> Check your Nagios configuration. >> > > Seems like one of the config files probably has an error in it. Run '/ > path/to/nagios -v /path/to/nagios.cfg'. > > -- > Marc > > > ------------------------------------------------------------------------------ > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA > -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise > -Strategies to boost innovation and cut costs with open source participation > -Receive a $600 discount off the registration fee with the source code: SFAD > http://p.sf.net/sfu/XcvMzF8H > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > CONFIDENTIAL. This e-mail and any attached files are confidential and should be destroyed and/or returned if you are not the intended and proper recipient. > > ------------------------------------------------------------------------------ > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA > -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise > -Strategies to boost innovation and cut costs with open source participation > -Receive a $600 discount off the registration fee with the source code: SFAD > http://p.sf.net/sfu/XcvMzF8H > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null CONFIDENTIAL. This e-mail and any attached files are confidential and should be destroyed and/or returned if you are not the intended and proper recipient. ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From darvin.denmian at gmail.com Tue Feb 17 15:18:30 2009 From: darvin.denmian at gmail.com (Darvin Denmian) Date: Tue, 17 Feb 2009 11:18:30 -0300 Subject: Nagios and rpmbuild In-Reply-To: References: <6db4a4200902162025i55c0fa68xe4edf2459de6a790@mail.gmail.com> <78E2F071-56C8-434B-AD4F-2EBC8FCEBA1F@danielemmanuelfeinsmith.com> Message-ID: Hello List !! I tried without sucess to build a new rpm with the file attached by shadhi: [root at testserver i386]# ls /etc/nagios/ cgi.cfg command.cfg contacts.cfg nagios.cfg resource.cfg timeperiods.cfg root at testserver i386]# nagios -v /etc/nagios/nagios.cfg ... Error: Cannot open config file '/etc/nagios/objects/commands.cfg' for reading: No such file or directory ... Any idea? Thanks.... On Tue, Feb 17, 2009 at 8:43 AM, Darvin Denmian wrote: > Hello guys, > > I will do the test with the file you sent. > Keep you informed > > Thanks. > > On Tue, Feb 17, 2009 at 1:52 AM, D. Emmanuel Feinsmith > wrote: >> You don't specify that directory in your spec file. >> On Feb 16, 2009, at 8:25 PM, shadih rahman wrote: >> >> Darvin, >> I added my nagios3.spec file with nagios-3.0.6. Hope this help. >> >> On Tue, Feb 17, 2009 at 1:38 AM, Darvin Denmian >> wrote: >>> >>> Hello List !!!! >>> >>> i'm building a rpm package with nagios-3.0.6 and i have a question: >>> why my rpm packages don't contain the directory "/etc/nagios/objects" . >>> >>> What is the secret, somebody can help me? >>> >>> Thanks !!! >>> >>> >>> ------------------------------------------------------------------------------ >>> Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, >>> CA >>> -OSBC tackles the biggest issue in open source: Open Sourcing the >>> Enterprise >>> -Strategies to boost innovation and cut costs with open source >>> participation >>> -Receive a $600 discount off the registration fee with the source code: >>> SFAD >>> http://p.sf.net/sfu/XcvMzF8H >>> _______________________________________________ >>> Nagios-users mailing list >>> Nagios-users at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>> ::: Please include Nagios version, plugin version (-v) and OS when >>> reporting any issue. >>> ::: Messages without supporting info will risk being sent to /dev/null >> >> >> >> -- >> Cordially, >> Shadhin Rahman >> ------------------------------------------------------------------------------ >> Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA >> -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise >> -Strategies to boost innovation and cut costs with open source participation >> -Receive a $600 discount off the registration fee with the source code: SFAD >> http://p.sf.net/sfu/XcvMzF8H_______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when reporting >> any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> > ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sri.lumpa at free.fr Tue Feb 17 15:34:36 2009 From: sri.lumpa at free.fr (sri.lumpa at free.fr) Date: Tue, 17 Feb 2009 15:34:36 +0100 (CET) Subject: New to Nagios - Need help with nagios.cfg In-Reply-To: <4ABA3E162F60624A949503A7F960245EB0E242A71A@CLEHBEXMS01.broadvox.local> References: <4ABA3E162F60624A949503A7F960245EB0E242A71A@CLEHBEXMS01.broadvox.local> Message-ID: <1751195435.2178961234881276543.JavaMail.root@zimbra16-e3.priv.proxad.net> That means you have an other file in which the command "notify-host-by-email" is also defined. grep the command's name to find where. You will probably have the same problem for the "notify-service-by-email". I had the same problem when I installed NagiosQL and I solved it by setting Nagios to use only the commands defined by NagiosQL. Marc-Andr? ----- Mail Original ----- De: "Eric Chatham" ?: "Hau Phan" Cc: "Nagios Users" Envoy?: Mardi 17 F?vrier 2009 15:16:10 GMT +01:00 Amsterdam / Berlin / Berne / Rome / Stockholm / Vienne Objet: Re: [Nagios-users] New to Nagios - Need help with nagios.cfg Ok, that was weird, when I looked, it was all scrambled. So, I recopied the commands.cfg file from the original location. Now, when I run it, I get this: [root@ ~ main]# /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg Nagios 3.0.6 Copyright (c) 1999-2008 Ethan Galstad (http://www.nagios.org) Last Modified: 12-01-2008 License: GPL Reading configuration data... Warning: Duplicate definition found for command 'notify-host-by-email' (config file '/opt/nagios/etc/main/commands.cfg', starting on line 28) Error: Could not add object property in file '/opt/nagios/etc/main/commands.cfg' on line 29. ***> One or more problems was encountered while processing the config files... Check your configuration file(s) to ensure that they contain valid directives and data defintions. If you are upgrading from a previous version of Nagios, you should be aware that some variables/definitions may have been removed or modified in this version. Make sure to read the HTML documentation regarding the config files, as well as the 'Whats New' section to find out what has changed. [root@ ~ main]# When I look at line 28, 29, here is what it is. 26 27 # 'notify-host-by-email' command definition 28 define command{ 29 command_name notify-host-by-email 30 command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n" | /bin/mail -s "** $NOTIFICATIONTYPE$ Host Alert: $HOSTNAME$ is $HOSTSTATE$ **" $CONTACTEMAIL$ Eric Chatham Broadvox MIS Department (216) 373-4683 echatham at broadvox.net -----Original Message----- From: Hau Phan [mailto:hau at udeviant.com] Sent: Monday, February 16, 2009 18:37 Cc: Nagios Users Subject: Re: [Nagios-users] New to Nagios - Need help with nagios.cfg What's the first line in your commands.cfg? Eric Chatham wrote: > [root@ ~ bin]# /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg > > Nagios 3.0.6 > Copyright (c) 1999-2008 Ethan Galstad (http://www.nagios.org) > Last Modified: 12-01-2008 > License: GPL > > Reading configuration data... > > Error: Unexpected token or statement in file '/opt/nagios/etc/main/commands.cfg' on line 1. > > ***> One or more problems was encountered while processing the config files... > > Check your configuration file(s) to ensure that they contain valid > directives and data defintions. If you are upgrading from a previous > version of Nagios, you should be aware that some variables/definitions > may have been removed or modified in this version. Make sure to read > the HTML documentation regarding the config files, as well as the > 'Whats New' section to find out what has changed. > > Eric Chatham > > > -----Original Message----- > From: Marc Powell [mailto:marc at ena.com] > Sent: Monday, February 16, 2009 16:38 > To: Nagios Users > Subject: Re: [Nagios-users] New to Nagios - Need help with nagios.cfg > > > On Feb 16, 2009, at 2:58 PM, Eric Chatham wrote: > > >> Hello, >> >> I'm very new to Nagios. I'm running version Nagios 3.0.6 on CentOS >> RHEL 5.1. I used the FC6 instructions for my installation. I've >> successfully installed the program per the Quick-start guide >> provided on the Website. We presently have another server with an >> older version of Nagios installed. It's using "cfg_dir=/opt/nagios/ >> etc" as its location for all *.cfg giles. >> >> Here's a problem: When I try to create an alternate directory >> (cfg_dir) in the nagios config file, I keep getting a CONFIG ERROR >> when I try to restart the service. I would like to use "cfg_dir=/opt/ >> nagios/etc/main" to hold all the config files. Here is a list of >> that directory right now: >> >> [root@ ~ main]# ls -l >> total 68 >> -rwxrwxr-x 1 nagios nagios 7714 Feb 13 16:55 commands.cfg >> -rwxrwxr-x 1 nagios nagios 2166 Feb 13 16:52 contacts.cfg >> -rwxrwxr-x 1 nagios nagios 240 Feb 13 14:28 hostgroups.cfg >> -rwxrwxr-x 1 nagios nagios 163 Feb 13 16:51 hosts.cfg >> -rwxrwxr-x 1 nagios nagios 2414 Feb 13 16:39 services.cfg >> -rwxrwxr-x 1 nagios nagios 10812 Feb 13 16:41 templates.cfg >> -rwxrwxr-x 1 nagios nagios 3209 Feb 13 16:55 timeperiods.cfg >> [root@ ~ main]# service nagios restart >> Running configuration check... CONFIG ERROR! Restart aborted. >> Check your Nagios configuration. >> > > Seems like one of the config files probably has an error in it. Run '/ > path/to/nagios -v /path/to/nagios.cfg'. > > -- > Marc > > > ------------------------------------------------------------------------------ > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA > -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise > -Strategies to boost innovation and cut costs with open source participation > -Receive a $600 discount off the registration fee with the source code: SFAD > http://p.sf.net/sfu/XcvMzF8H > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > CONFIDENTIAL. This e-mail and any attached files are confidential and should be destroyed and/or returned if you are not the intended and proper recipient. > > ------------------------------------------------------------------------------ > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA > -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise > -Strategies to boost innovation and cut costs with open source participation > -Receive a $600 discount off the registration fee with the source code: SFAD > http://p.sf.net/sfu/XcvMzF8H > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null CONFIDENTIAL. This e-mail and any attached files are confidential and should be destroyed and/or returned if you are not the intended and proper recipient. ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hunter at userfriendly.net Tue Feb 17 15:41:52 2009 From: hunter at userfriendly.net (Michael Weiner) Date: Tue, 17 Feb 2009 09:41:52 -0500 Subject: Nagios and rpmbuild In-Reply-To: References: <6db4a4200902162025i55c0fa68xe4edf2459de6a790@mail.gmail.com> <78E2F071-56C8-434B-AD4F-2EBC8FCEBA1F@danielemmanuelfeinsmith.com> Message-ID: Try the attached spec file (nagios v 3.0.6), works for me here and i dont use the /etc/nagios/objects directory at all. HTH Michael Weiner -- On Tue, Feb 17, 2009 at 9:18 AM, Darvin Denmian wrote: > Hello List !! > > I tried without sucess to build a new rpm with the file attached by shadhi: > > [root at testserver i386]# ls /etc/nagios/ > cgi.cfg command.cfg contacts.cfg nagios.cfg resource.cfg > timeperiods.cfg > > root at testserver i386]# nagios -v /etc/nagios/nagios.cfg > ... > Error: Cannot open config file '/etc/nagios/objects/commands.cfg' for > reading: No such file or directory > > ... > > Any idea? > Thanks.... > > On Tue, Feb 17, 2009 at 8:43 AM, Darvin Denmian > wrote: > > Hello guys, > > > > I will do the test with the file you sent. > > Keep you informed > > > > Thanks. > > > > On Tue, Feb 17, 2009 at 1:52 AM, D. Emmanuel Feinsmith > > wrote: > >> You don't specify that directory in your spec file. > >> On Feb 16, 2009, at 8:25 PM, shadih rahman wrote: > >> > >> Darvin, > >> I added my nagios3.spec file with nagios-3.0.6. Hope this help. > >> > >> On Tue, Feb 17, 2009 at 1:38 AM, Darvin Denmian < > darvin.denmian at gmail.com> > >> wrote: > >>> > >>> Hello List !!!! > >>> > >>> i'm building a rpm package with nagios-3.0.6 and i have a question: > >>> why my rpm packages don't contain the directory "/etc/nagios/objects" . > >>> > >>> What is the secret, somebody can help me? > >>> > >>> Thanks !!! > >>> > >>> > >>> > ------------------------------------------------------------------------------ > >>> Open Source Business Conference (OSBC), March 24-25, 2009, San > Francisco, > >>> CA > >>> -OSBC tackles the biggest issue in open source: Open Sourcing the > >>> Enterprise > >>> -Strategies to boost innovation and cut costs with open source > >>> participation > >>> -Receive a $600 discount off the registration fee with the source code: > >>> SFAD > >>> http://p.sf.net/sfu/XcvMzF8H > >>> _______________________________________________ > >>> Nagios-users mailing list > >>> Nagios-users at lists.sourceforge.net > >>> https://lists.sourceforge.net/lists/listinfo/nagios-users > >>> ::: Please include Nagios version, plugin version (-v) and OS when > >>> reporting any issue. > >>> ::: Messages without supporting info will risk being sent to /dev/null > >> > >> > >> > >> -- > >> Cordially, > >> Shadhin Rahman > >> > ------------------------------------------------------------------------------ > >> Open Source Business Conference (OSBC), March 24-25, 2009, San > Francisco, CA > >> -OSBC tackles the biggest issue in open source: Open Sourcing the > Enterprise > >> -Strategies to boost innovation and cut costs with open source > participation > >> -Receive a $600 discount off the registration fee with the source code: > SFAD > >> > http://p.sf.net/sfu/XcvMzF8H_______________________________________________ > >> Nagios-users mailing list > >> Nagios-users at lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/nagios-users > >> ::: Please include Nagios version, plugin version (-v) and OS when > reporting > >> any issue. > >> ::: Messages without supporting info will risk being sent to /dev/null > >> > > > > > ------------------------------------------------------------------------------ > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, > CA > -OSBC tackles the biggest issue in open source: Open Sourcing the > Enterprise > -Strategies to boost innovation and cut costs with open source > participation > -Receive a $600 discount off the registration fee with the source code: > SFAD > http://p.sf.net/sfu/XcvMzF8H > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: nagios.spec Type: application/octet-stream Size: 15107 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Feb 17 15:47:38 2009 From: ml at nicole-haehnel.de (=?ISO-8859-1?Q?Nicole_H=E4hnel?=) Date: Tue, 17 Feb 2009 15:47:38 +0100 Subject: UNKNOWN service state question In-Reply-To: <499AB396.606@aei.ca> References: <499A7BCF.4060301@nicole-haehnel.de> <499AB396.606@aei.ca> Message-ID: <499ACE0A.9050001@nicole-haehnel.de> Hmm... And why is UNKNOWN a hard state and not soft? I would say, unknown is like critical and I need OK to know if everything works allright in a network. So why should nagios wait for the next normal scheduled check if it is unknown if a service is OK? Nicole Thomas Guyot-Sionnest schrieb: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 17/02/09 03:56 AM, Nicole H?hnel wrote: > >> Hi, >> >> I have several service checks via snmp which are checked only every hour. >> This service checks return unknown if the host is down and nagios >> doesn't know this yet. >> If the host goes up the service state is still unknown in hard state and >> only one time checked instead of the max_check_attempts of 3. >> The problem is, it takes about one hour to the next service check or I >> have to reschedule the next check >> if I don't want to remain the service in unknown state. >> >> Is this the right behavior for unknown states? >> Why aren't unknown states treated as critical states? >> The recovery of unknown state takes too long. >> > > The recovery time is just the same as critical. the retry_interval is > used only during SOFT NON-OK states. > > You should most likely check more often. Most people run checks every 5 > minutes, if not 1 minutes. Hourly checks means that it can take over an > hour to detect a service failure. > > If you absolutely want that, you could use event-handlers to force > service checks upon host recovery, or configure adaptive monitoring to > that services gets checked more often during non-OK states. > > - -- > Thomas > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.6 (GNU/Linux) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iD8DBQFJmrOV6dZ+Kt5BchYRAnv+AJ9WImhMSaD6iV1QVQ9Yb19BtjybLQCg+wJv > 8FXQ2VGLurbNkGU2FifoTa0= > =bvYt > -----END PGP SIGNATURE----- > ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From matt at frozenatom.com Tue Feb 17 16:17:02 2009 From: matt at frozenatom.com (Matt Nelson) Date: Tue, 17 Feb 2009 08:17:02 -0700 Subject: How to show the check_command from web interface Message-ID: <148f6bb30902170717r4d656700g51dcde6336610619@mail.gmail.com> One thing has been bugging me lately. Is there a way to see from the web interface what the check command is? For instance, when I get an alert that a health check is in a bad state for: http://myserver/application/bla/bla2/bla3/health.html This is defined in the check_command as: check_command check_http_url!'/application/bla/bla2/bla3/health.html ... Is there a way currently to see what the command is "check_http_url!'/application/bla/bla2/bla3/health.html" without having to go look at the flat file configs? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Feb 17 16:47:39 2009 From: marc at ena.com (Marc Powell) Date: Tue, 17 Feb 2009 09:47:39 -0600 Subject: UNKNOWN service state question In-Reply-To: <499ACE0A.9050001@nicole-haehnel.de> References: <499A7BCF.4060301@nicole-haehnel.de> <499AB396.606@aei.ca> <499ACE0A.9050001@nicole-haehnel.de> Message-ID: <050BA097-B88C-4999-90C9-FB59AA4F45FA@ena.com> On Feb 17, 2009, at 8:47 AM, Nicole H?hnel wrote: > Hmm... > And why is UNKNOWN a hard state and not soft? Because it reached max_check_attempts. Nagios treats all non-OK states the same. If the plugin returns any non-OK state, the service is put into a soft state until max_check_attempts is reached, at which point the service becomes hard and the notification logic is processed. You can see this in nagios.log. > I would say, unknown is like critical and I need OK to know if > everything works allright in a network. This seems contradictory. It's all right with you if things are down for an hour if you don't know it but not ok if it has been fixed and still shows down in nagios until the next normal check? > So why should nagios wait for the next normal scheduled check if it is > unknown if a service is OK? Because that's what nagios does. Once max_check_attempts is reached for *any* non-OK state, nagios reverts back to normal_check_interval. That works well for most people and allows for a working monitoring system during major outages. If that doesn't work for you, you could use an event handler to lower normal_check_interval upon reaching a hard non-OK state and raise it back to normal upon reaching a hard OK state. http://www.nagios.org/developerinfo/externalcommands/commandlist.php CHANGE_NORMAL_HOST_CHECK_INTERVAL CHANGE_NORMAL_SVC_CHECK_INTERVAL -- Marc ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Feb 17 16:50:09 2009 From: marc at ena.com (Marc Powell) Date: Tue, 17 Feb 2009 09:50:09 -0600 Subject: How to show the check_command from web interface In-Reply-To: <148f6bb30902170717r4d656700g51dcde6336610619@mail.gmail.com> References: <148f6bb30902170717r4d656700g51dcde6336610619@mail.gmail.com> Message-ID: <6614EBFD-A28F-4A47-B428-23D891E589CA@ena.com> On Feb 17, 2009, at 9:17 AM, Matt Nelson wrote: > One thing has been bugging me lately. Is there a way to see from > the web interface what the check command is? View Config from the main menu. -- Marc ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From matt at frozenatom.com Tue Feb 17 16:56:31 2009 From: matt at frozenatom.com (Matt Nelson) Date: Tue, 17 Feb 2009 08:56:31 -0700 Subject: How to show the check_command from web interface In-Reply-To: <6614EBFD-A28F-4A47-B428-23D891E589CA@ena.com> References: <148f6bb30902170717r4d656700g51dcde6336610619@mail.gmail.com> <6614EBFD-A28F-4A47-B428-23D891E589CA@ena.com> Message-ID: <148f6bb30902170756l490928b7g21a5dfb592d13161@mail.gmail.com> I've been doing that, but I figured out a solution for me. I just added this to my service template: notes Check Command: $SERVICECHECKCOMMAND$ and this added it to the notes section of the service. On Tue, Feb 17, 2009 at 8:50 AM, Marc Powell wrote: > > On Feb 17, 2009, at 9:17 AM, Matt Nelson wrote: > > > One thing has been bugging me lately. Is there a way to see from > > the web interface what the check command is? > > View Config from the main menu. > > -- > Marc > > > > ------------------------------------------------------------------------------ > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, > CA > -OSBC tackles the biggest issue in open source: Open Sourcing the > Enterprise > -Strategies to boost innovation and cut costs with open source > participation > -Receive a $600 discount off the registration fee with the source code: > SFAD > http://p.sf.net/sfu/XcvMzF8H > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From GJFRATER at bechtel.com Tue Feb 17 17:12:31 2009 From: GJFRATER at bechtel.com (Frater, Greg J) Date: Tue, 17 Feb 2009 08:12:31 -0800 Subject: nsclient 0.3.6-RC4-x64 issues In-Reply-To: <49627735003F5C479100225C339F9FE0DB2CEA7DB9@Mail.activenetwerx.int> References: <49627735003F5C479100225C339F9FE0DB2306896F@Mail.activenetwerx.int><49972BF1.2020505@aei.ca> <49627735003F5C479100225C339F9FE0DB2CEA7DB9@Mail.activenetwerx.int> Message-ID: <872CB0AEB377C240A112DD7C10B2592904B21401@wtps0171.amers.ibechtel.com> Have you checked the firewall settings in 2008? If they have been enabled then they will block the nsclient++ exe from communicating on the network unless you tell the firewall to let nsclient++ traffic through. That's the next thing I would check. Good luck, -greg -----Original Message----- From: Joseph L. Casale [mailto:JCasale at activenetwerx.com] Sent: Saturday, February 14, 2009 12:54 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] nsclient 0.3.6-RC4-x64 issues >Normally Windows monitoring use NC_Net or NSClient++. Can you give more >details on the check you're doing (the real command, not check_command)? Well, just started with Nagios, and I am using one of the windows.cfg templates with NSClient++ installed on the Windows Server 2008x64 boxes. >If you're using check_nt or one of its substitute (NC_Net has >check_nc_net, NSClient++ may have one too) make sure the proper service >is installed and running on the Windows server. Try restarting the >service if it's already running. Make sure the configuration is good >(especially port and password). I am using check_nt and the port/pass is correct for WinXP machines, but the same ini on the 2008 machines doesn't work. Given Nagios suggests a socket error, I suspect it is probably some bug in the x64 client on the 2008 machines... In the meantime, since I am just starting out, I have been reading up on snmp as that is how I am preferring to do my monitoring rather than have to install any applications. jlc ------------------------------------------------------------------------ ------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From echatham at broadvox.net Tue Feb 17 21:06:29 2009 From: echatham at broadvox.net (Eric Chatham) Date: Tue, 17 Feb 2009 15:06:29 -0500 Subject: New to Nagios - Need help with nagios.cfg In-Reply-To: <1751195435.2178961234881276543.JavaMail.root@zimbra16-e3.priv.proxad.net> References: <4ABA3E162F60624A949503A7F960245EB0E242A71A@CLEHBEXMS01.broadvox.local> <1751195435.2178961234881276543.JavaMail.root@zimbra16-e3.priv.proxad.net> Message-ID: <4ABA3E162F60624A949503A7F960245EB0E269585B@CLEHBEXMS01.broadvox.local> [root@ ~ main]# grep notify-host-by-email * commands.cfg:# 'notify-host-by-email' command definition commands.cfg: command_name notify-host-by-email templates.cfg: host_notification_commands notify-host-by-email ; send host notifications via email [root@ ~ main]# grep notify-service-by-email * commands.cfg:# 'notify-service-by-email' command definition commands.cfg: command_name notify-service-by-email templates.cfg: service_notification_commands notify-service-by-email ; send service notifications via email What exactly do I need to do now? What is NagiosQL? Eric Chatham Broadvox MIS Department (216) 373-4683 echatham at broadvox.net -----Original Message----- From: sri.lumpa at free.fr [mailto:sri.lumpa at free.fr] Sent: Tuesday, February 17, 2009 09:35 To: Eric Chatham Cc: Nagios Users; Hau Phan Subject: Re: [Nagios-users] New to Nagios - Need help with nagios.cfg That means you have an other file in which the command "notify-host-by-email" is also defined. grep the command's name to find where. You will probably have the same problem for the "notify-service-by-email". I had the same problem when I installed NagiosQL and I solved it by setting Nagios to use only the commands defined by NagiosQL. Marc-Andr? ----- Mail Original ----- De: "Eric Chatham" ?: "Hau Phan" Cc: "Nagios Users" Envoy?: Mardi 17 F?vrier 2009 15:16:10 GMT +01:00 Amsterdam / Berlin / Berne / Rome / Stockholm / Vienne Objet: Re: [Nagios-users] New to Nagios - Need help with nagios.cfg Ok, that was weird, when I looked, it was all scrambled. So, I recopied the commands.cfg file from the original location. Now, when I run it, I get this: [root@ ~ main]# /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg Nagios 3.0.6 Copyright (c) 1999-2008 Ethan Galstad (http://www.nagios.org) Last Modified: 12-01-2008 License: GPL Reading configuration data... Warning: Duplicate definition found for command 'notify-host-by-email' (config file '/opt/nagios/etc/main/commands.cfg', starting on line 28) Error: Could not add object property in file '/opt/nagios/etc/main/commands.cfg' on line 29. ***> One or more problems was encountered while processing the config files... Check your configuration file(s) to ensure that they contain valid directives and data defintions. If you are upgrading from a previous version of Nagios, you should be aware that some variables/definitions may have been removed or modified in this version. Make sure to read the HTML documentation regarding the config files, as well as the 'Whats New' section to find out what has changed. [root@ ~ main]# When I look at line 28, 29, here is what it is. 26 27 # 'notify-host-by-email' command definition 28 define command{ 29 command_name notify-host-by-email 30 command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n" | /bin/mail -s "** $NOTIFICATIONTYPE$ Host Alert: $HOSTNAME$ is $HOSTSTATE$ **" $CONTACTEMAIL$ Eric Chatham Broadvox MIS Department (216) 373-4683 echatham at broadvox.net -----Original Message----- From: Hau Phan [mailto:hau at udeviant.com] Sent: Monday, February 16, 2009 18:37 Cc: Nagios Users Subject: Re: [Nagios-users] New to Nagios - Need help with nagios.cfg What's the first line in your commands.cfg? Eric Chatham wrote: > [root@ ~ bin]# /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg > > Nagios 3.0.6 > Copyright (c) 1999-2008 Ethan Galstad (http://www.nagios.org) > Last Modified: 12-01-2008 > License: GPL > > Reading configuration data... > > Error: Unexpected token or statement in file '/opt/nagios/etc/main/commands.cfg' on line 1. > > ***> One or more problems was encountered while processing the config files... > > Check your configuration file(s) to ensure that they contain valid > directives and data defintions. If you are upgrading from a previous > version of Nagios, you should be aware that some variables/definitions > may have been removed or modified in this version. Make sure to read > the HTML documentation regarding the config files, as well as the > 'Whats New' section to find out what has changed. > > Eric Chatham > > > -----Original Message----- > From: Marc Powell [mailto:marc at ena.com] > Sent: Monday, February 16, 2009 16:38 > To: Nagios Users > Subject: Re: [Nagios-users] New to Nagios - Need help with nagios.cfg > > > On Feb 16, 2009, at 2:58 PM, Eric Chatham wrote: > > >> Hello, >> >> I'm very new to Nagios. I'm running version Nagios 3.0.6 on CentOS >> RHEL 5.1. I used the FC6 instructions for my installation. I've >> successfully installed the program per the Quick-start guide >> provided on the Website. We presently have another server with an >> older version of Nagios installed. It's using "cfg_dir=/opt/nagios/ >> etc" as its location for all *.cfg giles. >> >> Here's a problem: When I try to create an alternate directory >> (cfg_dir) in the nagios config file, I keep getting a CONFIG ERROR >> when I try to restart the service. I would like to use "cfg_dir=/opt/ >> nagios/etc/main" to hold all the config files. Here is a list of >> that directory right now: >> >> [root@ ~ main]# ls -l >> total 68 >> -rwxrwxr-x 1 nagios nagios 7714 Feb 13 16:55 commands.cfg >> -rwxrwxr-x 1 nagios nagios 2166 Feb 13 16:52 contacts.cfg >> -rwxrwxr-x 1 nagios nagios 240 Feb 13 14:28 hostgroups.cfg >> -rwxrwxr-x 1 nagios nagios 163 Feb 13 16:51 hosts.cfg >> -rwxrwxr-x 1 nagios nagios 2414 Feb 13 16:39 services.cfg >> -rwxrwxr-x 1 nagios nagios 10812 Feb 13 16:41 templates.cfg >> -rwxrwxr-x 1 nagios nagios 3209 Feb 13 16:55 timeperiods.cfg >> [root@ ~ main]# service nagios restart >> Running configuration check... CONFIG ERROR! Restart aborted. >> Check your Nagios configuration. >> > > Seems like one of the config files probably has an error in it. Run '/ > path/to/nagios -v /path/to/nagios.cfg'. > > -- > Marc > > > ------------------------------------------------------------------------------ > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA > -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise > -Strategies to boost innovation and cut costs with open source participation > -Receive a $600 discount off the registration fee with the source code: SFAD > http://p.sf.net/sfu/XcvMzF8H > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > CONFIDENTIAL. This e-mail and any attached files are confidential and should be destroyed and/or returned if you are not the intended and proper recipient. > > ------------------------------------------------------------------------------ > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA > -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise > -Strategies to boost innovation and cut costs with open source participation > -Receive a $600 discount off the registration fee with the source code: SFAD > http://p.sf.net/sfu/XcvMzF8H > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null CONFIDENTIAL. This e-mail and any attached files are confidential and should be destroyed and/or returned if you are not the intended and proper recipient. ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null CONFIDENTIAL. This e-mail and any attached files are confidential and should be destroyed and/or returned if you are not the intended and proper recipient. ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jackcsprat at yahoo.com Tue Feb 17 21:25:32 2009 From: jackcsprat at yahoo.com (Jack Sprat) Date: Tue, 17 Feb 2009 12:25:32 -0800 (PST) Subject: Script for parsing log file for errors Message-ID: <761251.92218.qm@web42108.mail.mud.yahoo.com> I have a script that I wrote that will parse through a log looking for instances of the word "error" and count them. If there are zero instances of the word, I expect a green (STATE_OK) status. If there are 1 or more instances of the word "error", I expect to see a red (STATE_CRITICAL) status. Currently the script appears to work fine from the command line, below are the final few lines of output from the script when I have "set -x" turned on for debugging. + EXITMESSAGE= 20 errors found + EXITSTATUS=2 + [[ 2 -eq 0 ]] + echo 20 errors found 20 errors found + exit 2 Currently, on the Nagios web interface, the server is showing "Yellow" (warning status) and the "Status Information" column has an output showing of the word "null". I feel that my issue may be a quoting issue or something simple I am overlooking. Below is my script: #!/bin/ksh set -x GREPCMD=/usr/bin/grep SSHCMD=/usr/bin/ssh ECHOCMD=/usr/bin/echo NAGIOSDIR=/space/nagios STATE_OK=0 STATE_WARNING=1 STATE_CRITICAL=2 STATE_UNKNOWN=3 STATE_DEPENDENT=4 EXITMESSAGE='ERROR' while getopts :s:u:h: OPT do case $OPT in ? ? ? ? s|+s ) export SERVER=$OPTARG ;; ? ? ? ? u|+u ) export USER=$OPTARG ;; ? ? ? ? : ) $ECHO "$OPTARG requires an argument"; exit $STATE_UNKNOWN;; ? ? ? ? \? ) $ECHO "$OPTARG: bad option, use -h for help"; exit $STATE_UNKNOWN;; ? ? ? ? h|+h ) $ECHO "Usage: `basename $0` -w WARNSTATES -c CRITICALSTATES -s SERVER -u USER" ; exit $STATE_UNKNOWN;; esac done if [ -z "$SERVER" ]; then ? ?EXITMESSAGE="No SERVER specified" ? ?echo $EXITMESSAGE ? ?exit $STATE_UNKNOWN fi PING_STATUS=`ping $SERVER | grep -c alive` if [ $PING_STATUS -ne 1 ]; then echo "Cannot ping $SERVER" exit $STATE_UNKNOWN fi SSH_STATUS=`$NAGIOSDIR/libexec/check_tcp -H $SERVER -p 22 | grep -ic "TCP OK"` if [ $SSH_STATUS -ne 1 ]; then ? ?EXITMESSAGE="Cannot ssh to $SERVER" ? ?echo $EXITMESSAGE ? ?exit $STATE_UNKNOWN fi export CNT="$(/usr/bin/ssh -n -o BatchMode=yes -o StrictHostKeyChecking=no -l ${USER} ${SERVER} "cat /opt/app/my.log | \ ? ? ? ? ? ? ? ? sed -n 's/.* Error \[.*/Found One/p' | wc -l")" if [[ $CNT -eq 0 ]]; then ? ?EXITMESSAGE="No errors found" ? ?EXITSTATUS="${STATE_OK}" elif [[ $CNT -gt 0 ]]; then ? ?EXITMESSAGE="${CNT} errors found" ? ?EXITSTATUS="${STATE_CRITICAL}" else ? ?EXITSTATUS="${STATE_UNKNOWN}" fi if [[ $EXITSTATUS -eq $STATE_OK ]]; then ? ?EXITMESSAGE="No errors found" fi echo $EXITMESSAGE exit $EXITSTATUS ? Any input would be appreciated. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From JCasale at activenetwerx.com Tue Feb 17 21:28:50 2009 From: JCasale at activenetwerx.com (Joseph L. Casale) Date: Tue, 17 Feb 2009 13:28:50 -0700 Subject: ESXi Check Message-ID: <49627735003F5C479100225C339F9FE0DB2CEA7DBE@Mail.activenetwerx.int> I am trying to implement the check_esx_wbem.py from nagiosexchange and from the cli I get a response so its setup correctly but my implementation in Nagios seems to be not working as it returns null. In resource.cfg I have: $USER13$=/usr/lib/nagios/plugins/contrib $USER14$=username $USER15$=password In commands.cfg I have: define command{ command_name check-esxi-host command_line $USER13$/check_esx_wbem.py http://$HOSTADDRESS$:5989 $USER14$ $USER15$ } In my template I have: define service{ use generic-service host_name host.example.com service_description ESXi Health check_command check-esxi-host } Any ideas what could be wrong? Thanks! jlc ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Feb 17 21:31:12 2009 From: marc at ena.com (Marc Powell) Date: Tue, 17 Feb 2009 14:31:12 -0600 Subject: New to Nagios - Need help with nagios.cfg In-Reply-To: <4ABA3E162F60624A949503A7F960245EB0E269585B@CLEHBEXMS01.broadvox.local> References: <4ABA3E162F60624A949503A7F960245EB0E242A71A@CLEHBEXMS01.broadvox.local> <1751195435.2178961234881276543.JavaMail.root@zimbra16-e3.priv.proxad.net> <4ABA3E162F60624A949503A7F960245EB0E269585B@CLEHBEXMS01.broadvox.local> Message-ID: On Feb 17, 2009, at 2:06 PM, Eric Chatham wrote: > [root@ ~ main]# grep notify-host-by-email * > commands.cfg:# 'notify-host-by-email' command definition > commands.cfg: command_name notify-host-by-email > templates.cfg: host_notification_commands notify-host-by- > email ; send host notifications via email > > [root@ ~ main]# grep notify-service-by-email * > commands.cfg:# 'notify-service-by-email' command definition > commands.cfg: command_name notify-service-by-email > templates.cfg: service_notification_commands notify-service- > by-email ; send service notifications via email Look in nagios.cfg for cfg_dir and cfg_file directives. These files in main/ apparently do not represent all the config files you've told nagios to use. You do have the command defined twice somewhere. > > Warning: Duplicate definition found for command 'notify-host-by- > email' (config file '/opt/nagios/etc/main/commands.cfg', starting on > line 28) > Error: Could not add object property in file '/opt/nagios/etc/main/ > commands.cfg' on line 29. -- Marc ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rdhall01 at sbcglobal.net Tue Feb 17 21:47:04 2009 From: rdhall01 at sbcglobal.net (Rusty Hall) Date: Tue, 17 Feb 2009 12:47:04 -0800 (PST) Subject: Nagios 3.0.6 installation not running Message-ID: <893952.44193.qm@web81206.mail.mud.yahoo.com> ??? I have had nagios 3.x? up and running on this server for awhile!? I noticed this morning nagios was not running ??? [XXXX at dprmisnag572 nagios-3.0.6]# service nagios status nagios is not running I tried to restart using the validation ?/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg and I get back: -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rdhall01 at sbcglobal.net Tue Feb 17 21:53:02 2009 From: rdhall01 at sbcglobal.net (Rusty Hall) Date: Tue, 17 Feb 2009 12:53:02 -0800 (PST) Subject: nagios 3.06 installed but died Message-ID: <326537.7651.qm@web81201.mail.mud.yahoo.com> ??? The first post went out beofre I was finished sorry??? I have had nagios 3.x? up and running on this server for awhile!? I noticed this morning nagios was not running ??? [XXXX at dprmisnag572 nagios-3.0.6]# service nagios status nagios is not running I tried to restart using the validation ?/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg and I get back: Things look okay - No serious problems were detected during the pre-flight check so I restart and get Running configuration check...done. Stopping nagios: /etc/init.d/nagios: line 67: kill: (397) - No such process done. Starting nagios: done. then I go in and? do ps -A |grep nagios? and it returns? nothing for nagios The user interface shows a pid for the process, and the checks are scheduled? just nothing running I have no clue? what has happened I have validated permisions as far as I can? any help would be greatly appreciated ? Rusty rdhall01 at sbcglobal.net -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jpratt at norwich.edu Tue Feb 17 22:10:43 2009 From: jpratt at norwich.edu (James Pratt) Date: Tue, 17 Feb 2009 16:10:43 -0500 Subject: ESXi Check In-Reply-To: <49627735003F5C479100225C339F9FE0DB2CEA7DBE@Mail.activenetwerx.int> References: <49627735003F5C479100225C339F9FE0DB2CEA7DBE@Mail.activenetwerx.int> Message-ID: <8147CCE3C4A8764DA9980125EE70E8238A6AB4@nuexchg.norwich.edu> > -----Original Message----- > From: Joseph L. Casale [mailto:JCasale at activenetwerx.com] > Sent: Tuesday, February 17, 2009 3:29 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] ESXi Check > > I am trying to implement the check_esx_wbem.py from nagiosexchange and > from the cli I get a response so its setup correctly but my implementation > in Nagios seems to be not working as it returns null. > > In resource.cfg I have: > $USER13$=/usr/lib/nagios/plugins/contrib > $USER14$=username > $USER15$=password > > In commands.cfg I have: > define command{ > command_name check-esxi-host > command_line $USER13$/check_esx_wbem.py http://$HOSTADDRESS$:5989 > $USER14$ $USER15$ > } > > In my template I have: > define service{ > use generic-service > host_name host.example.com > service_description ESXi Health > check_command check-esxi-host > } > > Any ideas what could be wrong? > Thanks! > jl Hi Joseph - Check that nagios user can execute it at the command line like this: su - nagios -c "/full/path/to/check_command -and -parms -go -here" if it returns nothing, check the perms on the check_esx_wbem.py file , if they are 755 or better, I would look at why nagios can't run python(?)... regards, Jamie ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rdhall01 at sbcglobal.net Tue Feb 17 22:28:11 2009 From: rdhall01 at sbcglobal.net (Rusty Hall) Date: Tue, 17 Feb 2009 13:28:11 -0800 (PST) Subject: nagios 3.06 installed but died References: <326537.7651.qm@web81201.mail.mud.yahoo.com> Message-ID: <169194.32351.qm@web81201.mail.mud.yahoo.com> This is what the nagios.log? file has? since I restarted last [1234905006] Nagios 3.0.6 starting... (PID=3751) [1234905006] Local time is Tue Feb 17 15:10:06 CST 2009 [1234905006] LOG VERSION: 2.0 [1234905006] Warning: Host 'HVFSMTL01' has no services associated with it! [1234905006] Warning: Host 'MTSD0029' has no services associated with it! [1234905006] Warning: Host 'MTSD0031' has no services associated with it! [1234905006] Warning: Host 'MTSD0032' has no services associated with it! [1234905006] Warning: Host 'dfwftp' has no services associated with it! [1234905006] Finished daemonizing... (New PID=3752) [1234905006] HOST DOWNTIME ALERT: clovertech;STARTED; Host has entered a period of scheduled downtime -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From echatham at broadvox.net Tue Feb 17 22:44:55 2009 From: echatham at broadvox.net (Eric Chatham) Date: Tue, 17 Feb 2009 16:44:55 -0500 Subject: FW: New to Nagios - Need help with nagios.cfg Message-ID: <4ABA3E162F60624A949503A7F960245EB0E269590A@CLEHBEXMS01.broadvox.local> Is the cfg_dir location recursive? Eric Chatham Broadvox MIS Department (216) 373-4683 echatham at broadvox.net -----Original Message----- From: Marc Powell [mailto:marc at ena.com] Sent: Tuesday, February 17, 2009 15:31 To: Nagios Users Subject: Re: [Nagios-users] New to Nagios - Need help with nagios.cfg On Feb 17, 2009, at 2:06 PM, Eric Chatham wrote: > [root@ ~ main]# grep notify-host-by-email * > commands.cfg:# 'notify-host-by-email' command definition > commands.cfg: command_name notify-host-by-email > templates.cfg: host_notification_commands notify-host-by- > email ; send host notifications via email > > [root@ ~ main]# grep notify-service-by-email * > commands.cfg:# 'notify-service-by-email' command definition > commands.cfg: command_name notify-service-by-email > templates.cfg: service_notification_commands notify-service- > by-email ; send service notifications via email Look in nagios.cfg for cfg_dir and cfg_file directives. These files in main/ apparently do not represent all the config files you've told nagios to use. You do have the command defined twice somewhere. > > Warning: Duplicate definition found for command 'notify-host-by- > email' (config file '/opt/nagios/etc/main/commands.cfg', starting on > line 28) > Error: Could not add object property in file '/opt/nagios/etc/main/ > commands.cfg' on line 29. -- Marc ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null CONFIDENTIAL. This e-mail and any attached files are confidential and should be destroyed and/or returned if you are not the intended and proper recipient. ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From srianirudh at gmail.com Tue Feb 17 23:03:38 2009 From: srianirudh at gmail.com (Anirudh Srinivasan) Date: Tue, 17 Feb 2009 17:03:38 -0500 Subject: nagios disk monitoring Message-ID: <699b436a0902171403m4acd5186n87bbefee02d7f4e5@mail.gmail.com> Hey Folks, I have noagios in my workplace for monitoring . I found out that one of the linux box has 9 filesystems but nagios is only monitoring 8 of them. How can i enable monitoring for that filesystem. I have no clue , i even saw some documentaion but i could not arrive at the conclusion .So guys please help me out . I put forward a example here : Actually the server has got the following file system , but nagios is not monitoring the last file system /databases/oradata/aplccnv. --------------------- Disk Space Begin ------------------------ Filesystem Size Used Avail Use% Mounted on /dev/mapper/VolGroup00-LogVol00 38G 1.9G 34G 6% / /dev/cciss/c0d0p1 97M 25M 68M 27% /boot /dev/mapper/VolGroup00-LogVol02 7.9G 65M 7.5G 1% /home /dev/mapper/VolGroup00-LogVol04 4.0G 41M 3.7G 2% /tmp /dev/mapper/VolGroup00-LogVol05 12G 3.0G 8.3G 27% /usr /dev/mapper/VolGroup00-LogVol03 4.0G 258M 3.5G 7% /var /dev/mapper/VolGroup01-LogVol00 135G 71G 58G 56% /usr/local/oraapps /dev/mapper/VolGroup02-LogVol00 808G 221G 547G 29% /databases/oradata/aplcprd /dev/mapper/VolGroup03-LogVol00 808G 214G 554G 28% /databases/oradata/aplccnv -- Anirudh Srinivasan -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Feb 17 23:04:12 2009 From: marc at ena.com (Marc Powell) Date: Tue, 17 Feb 2009 16:04:12 -0600 Subject: New to Nagios - Need help with nagios.cfg In-Reply-To: <4ABA3E162F60624A949503A7F960245EB0E2695906@CLEHBEXMS01.broadvox.local> References: <4ABA3E162F60624A949503A7F960245EB0E242A71A@CLEHBEXMS01.broadvox.local> <1751195435.2178961234881276543.JavaMail.root@zimbra16-e3.priv.proxad.net> <4ABA3E162F60624A949503A7F960245EB0E269585B@CLEHBEXMS01.broadvox.local> <4ABA3E162F60624A949503A7F960245EB0E2695906@CLEHBEXMS01.broadvox.local> Message-ID: On Feb 17, 2009, at 3:44 PM, Eric Chatham wrote: > Is the cfg_dir location recursive? Ok, I'll look that up for you. You owe me a local beer though. http://nagios.sourceforge.net/docs/3_0/configmain.html Object Configuration Directory Format: cfg_dir= Example: cfg_dir=/usr/local/nagios/etc/commands cfg_dir=/usr/local/nagios/etc/services cfg_dir=/usr/local/nagios/etc/hosts This directive is used to specify a directory which contains object configuration files that Nagios should use for monitoring. All files in the directory with a .cfg extension are processed as object config files. Additionally, Nagios will recursively process all config files in subdirectories of the directory you specify here. You can seperate your configuration files into different directories and specify multiple cfg_dir= statements to have all config files in each directory processed. -- Marc ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Feb 17 23:06:52 2009 From: marc at ena.com (Marc Powell) Date: Tue, 17 Feb 2009 16:06:52 -0600 Subject: nagios 3.06 installed but died In-Reply-To: <326537.7651.qm@web81201.mail.mud.yahoo.com> References: <326537.7651.qm@web81201.mail.mud.yahoo.com> Message-ID: <8F3E035C-FB83-4892-A290-FD475CB5C7FD@ena.com> On Feb 17, 2009, at 2:53 PM, Rusty Hall wrote: > The first post went out beofre I was finished sorry > I have had nagios 3.x up and running on this server for awhile! I > noticed this morning nagios was not running > [XXXX at dprmisnag572 nagios-3.0.6]# service nagios status > nagios is not running > I tried to restart using the validation > /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg > and I get back: > > Things look okay - No serious problems were detected during the pre- > flight check > so I restart and get > Running configuration check...done. > Stopping nagios: /etc/init.d/nagios: line 67: kill: (397) - No such > process > done. > Starting nagios: done. > then I go in and do ps -A |grep nagios and it returns nothing for > nagios > The user interface shows a pid for the process, and the checks are > scheduled just nothing running > > I have no clue what has happened I have validated permisions as far > as I can any help would be greatly appreciated Did you run out of disk space perhaps? Does something different happen if you start nagios in the foreground - as the nagios user, run '/usr/ local/nagios/bin/nagios /usr/local/nagios/etc/nagios.cfg'. -- Marc ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From JCasale at activenetwerx.com Tue Feb 17 22:46:03 2009 From: JCasale at activenetwerx.com (Joseph L. Casale) Date: Tue, 17 Feb 2009 14:46:03 -0700 Subject: ESXi Check In-Reply-To: <8147CCE3C4A8764DA9980125EE70E8238A6AB4@nuexchg.norwich.edu> References: <49627735003F5C479100225C339F9FE0DB2CEA7DBE@Mail.activenetwerx.int> <8147CCE3C4A8764DA9980125EE70E8238A6AB4@nuexchg.norwich.edu> Message-ID: <49627735003F5C479100225C339F9FE0DB2CEA7DBF@Mail.activenetwerx.int> >Hi Joseph - > >Check that nagios user can execute it at the command line like this: > >su - nagios -c "/full/path/to/check_command -and -parms -go -here" > >if it returns nothing, check the perms on the check_esx_wbem.py file , >if they are 755 or better, I would look at why nagios can't run >python(?)... Jamie, Nagios user executed it fine. I am sure it's my implementation that is flawed. I am guessing that my command_line $USER13$/check_esx_wbem.py http://$HOSTADDRESS$:5989 $USER14$ $USER15$ is not right, can I nest variables this way and have them expand? Any way to see what nagios is doing with the command? The logs only show the failures but no detail? Thanks! jlc ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ANTHONY at ahern.com Wed Feb 18 00:09:02 2009 From: ANTHONY at ahern.com (Anthony Bronsdon) Date: Tue, 17 Feb 2009 15:09:02 -0800 Subject: DISK CRITICAL - /home/user/.gvfs is not accessible: Permission denied Message-ID: I've installed Nagios 3.0.2. I have two service problems on my local host that nagios is installed on: 1) Disk Space - DISK CRITICAL - /home/user/.gvfs is not accessible: Permission denied 2) SSH - connection refused. How do I fix these problems please? Anthony anthony at ahern.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sergio.ariel at iris.uh.cu Wed Feb 18 00:32:15 2009 From: sergio.ariel at iris.uh.cu (sergio.ariel at iris.uh.cu) Date: Tue, 17 Feb 2009 18:32:15 -0500 Subject: NDOUtils Help!!! Message-ID: <20090217183215.91zswwmogccg8cws@mail.rect.uh.cu> I'm configuring my Nagios Server and I want to install NDOUtils to later install Nagovis. I have read that when I intall and configure NDO all my files will be stored in Data Bases. I need to know how easy is to change any Nagios configuration file (*.cfg) once they be stored in Data Bases. I am not very familiar with Data Base System, so, I am a little afraid about to migrate to NDO store system. If I receive good reasons to do it, I'll study all necesary and I install NDO and later Nagovis. I'm asking for help, for any advice from you, people who knows any details about Nagios. THAKS A LOT... ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From martyn at chetnet.co.uk Tue Feb 17 22:45:50 2009 From: martyn at chetnet.co.uk (Martyn) Date: Tue, 17 Feb 2009 21:45:50 -0000 Subject: So its running how I like it Message-ID: But how can I make an install ISO that will allow me to install afresh to a new server, ask for username, password IP address and so on. Then once the install is complete a I a running Nagios Server. Thanks Martyn -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Feb 18 00:57:37 2009 From: jpratt at norwich.edu (James Pratt) Date: Tue, 17 Feb 2009 18:57:37 -0500 Subject: So its running how I like it In-Reply-To: References: Message-ID: <8147CCE3C4A8764DA9980125EE70E8238A6B01@nuexchg.norwich.edu> > -----Original Message----- > From: Martyn [mailto:martyn at chetnet.co.uk] > Sent: Tuesday, February 17, 2009 4:46 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] So its running how I like it > > But how can I make an install ISO that will allow me to install afresh to a new server, > ask for username, password IP address and so on. > > Then once the install is complete a I a running Nagios Server. > > Thanks > > Martyn Martyn, no real clue on what you are talking about , but it sounds like you want to build a linux system using kickstart.(?).. (it's a red hat linux thing, AFAIK) http://www.google.com/search?q=redhat+kickstart cheers, jamie ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rdhall01 at sbcglobal.net Wed Feb 18 00:58:27 2009 From: rdhall01 at sbcglobal.net (Rusty Hall) Date: Tue, 17 Feb 2009 15:58:27 -0800 (PST) Subject: nagios 3.06 installed but died References: <326537.7651.qm@web81201.mail.mud.yahoo.com> <8F3E035C-FB83-4892-A290-FD475CB5C7FD@ena.com> Message-ID: <881508.24775.qm@web81204.mail.mud.yahoo.com> ??? I checked disk space df -h? all had? 20gb or more space wise, and then sudo to the acct? and ran the following: [nagios at dprmisnag572 var]$ /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg [nagios at dprmisnag572 var]$ ps -A |grep nagios 11916 ???????? 00:00:00 nagios 11919 ???????? 00:00:00 nagios 11926 ???????? 00:00:00 nagios 11933 ???????? 00:00:00 nagios 11940 ???????? 00:00:00 nagios 11947 ???????? 00:00:00 nagios 11954 ???????? 00:00:00 nagios 11961 ???????? 00:00:00 nagios 11968 ???????? 00:00:00 nagios 11975 ???????? 00:00:00 nagios 11982 ???????? 00:00:00 nagios 11989 ???????? 00:00:00 nagios 11996 ???????? 00:00:00 nagios 12066 ???????? 00:00:00 nagios 12187 ???????? 00:00:00 nagios 12333 ???????? 00:00:00 nagios 12334 ???????? 00:00:00 nagios [nagios at dprmisnag572 var]$ ps -A |grep nagios nothing returned then it? dies with the foloowing in the nagios.log file [1234914856] Nagios 3.0.6 starting... (PID=11915) [1234914856] Local time is Tue Feb 17 17:54:16 CST 2009 [1234914856] LOG VERSION: 2.0 [1234914856] Warning: Host 'HVFSMTL01' has no services associated with it! [1234914856] Warning: Host 'MTSD0029' has no services associated with it! [1234914856] Warning: Host 'MTSD0031' has no services associated with it! [1234914856] Warning: Host 'MTSD0032' has no services associated with it! [1234914856] Warning: Host 'dfwftp' has no services associated with it! [1234914856] Finished daemonizing... (New PID=11916) [1234914856] HOST DOWNTIME ALERT: clovertech;STARTED; Host has entered a period of scheduled downtime ________________________________ From: Marc Powell To: Nagios Users Sent: Tuesday, February 17, 2009 4:06:52 PM Subject: Re: [Nagios-users] nagios 3.06 installed but died On Feb 17, 2009, at 2:53 PM, Rusty Hall wrote: >? ? The first post went out beofre I was finished sorry > I have had nagios 3.x? up and running on this server for awhile!? I? > noticed this morning nagios was not running > [XXXX at dprmisnag572 nagios-3.0.6]# service nagios status > nagios is not running > I tried to restart using the validation >? /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg? > and I get back: > > Things look okay - No serious problems were detected during the pre- > flight check > so I restart and get > Running configuration check...done. > Stopping nagios: /etc/init.d/nagios: line 67: kill: (397) - No such? > process > done. > Starting nagios: done. > then I go in and? do ps -A |grep nagios? and it returns? nothing for? > nagios > The user interface shows a pid for the process, and the checks are? > scheduled? just nothing running > > I have no clue? what has happened I have validated permisions as far? > as I can? any help would be greatly appreciated Did you run out of disk space perhaps? Does something different happen? if you start nagios in the foreground - as the nagios user, run '/usr/ local/nagios/bin/nagios /usr/local/nagios/etc/nagios.cfg'. -- Marc ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mgagne at iweb.com Wed Feb 18 00:41:58 2009 From: mgagne at iweb.com (=?ISO-8859-1?Q?Mathieu_Gagn=E9?=) Date: Tue, 17 Feb 2009 18:41:58 -0500 Subject: NDOUtils Help!!! In-Reply-To: <20090217183215.91zswwmogccg8cws@mail.rect.uh.cu> References: <20090217183215.91zswwmogccg8cws@mail.rect.uh.cu> Message-ID: <499B4B46.7020104@iweb.com> NDOutils is a read-only version of Nagios configuration and status. Configuration and status are exported to NDOutils at startup and updated by the event broker whenever there's a status change in Nagios. Nagios configuration won't be loaded from NDOutils as it's a one-way communication. http://www.mail-archive.com/nagios-users at lists.sourceforge.net/msg19735.html Mathieu sergio.ariel at iris.uh.cu wrote: > I'm configuring my Nagios Server and I want to install NDOUtils to > later install Nagovis. I have read that when I intall and configure > NDO all my files will be stored in Data Bases. I need to know how easy > is to change any Nagios configuration file (*.cfg) once they be stored > in Data Bases. I am not very familiar with Data Base System, so, I am > a little afraid about to migrate to NDO store system. If I receive > good reasons to do it, I'll study all necesary and I install NDO and > later Nagovis. I'm asking for help, for any advice from you, people > who knows any details about Nagios. > > THAKS A LOT... > > > > ------------------------------------------------------------------------------ > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA > -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise > -Strategies to boost innovation and cut costs with open source participation > -Receive a $600 discount off the registration fee with the source code: SFAD > http://p.sf.net/sfu/XcvMzF8H > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Feb 18 01:45:00 2009 From: ian at acces.co.jp (Ian Masters) Date: Wed, 18 Feb 2009 09:45:00 +0900 Subject: Setting Hierachy and Icons for best view of status map In-Reply-To: References: Message-ID: <499B5A0C.5030607@acces.co.jp> > How can I set the hierachy of my hosts and have a better image of the > status map, somebody could give me a clue on how to organize my status > map by group to become more easier to find the host. Search the manual for hostgroup and also use the 'paren