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 'parents' parameter in the define host{} block of your cfg file. 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 ian at acces.co.jp Wed Feb 18 01:56:05 2009 From: ian at acces.co.jp (Ian Masters) Date: Wed, 18 Feb 2009 09:56:05 +0900 Subject: How to show the check_command from web interface In-Reply-To: <148f6bb30902170756l490928b7g21a5dfb592d13161@mail.gmail.com> References: <148f6bb30902170717r4d656700g51dcde6336610619@mail.gmail.com> <6614EBFD-A28F-4A47-B428-23D891E589CA@ena.com> <148f6bb30902170756l490928b7g21a5dfb592d13161@mail.gmail.com> Message-ID: <499B5CA5.6000306@acces.co.jp> > 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. Thanks for the tip. That's very useful. 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 ian at acces.co.jp Wed Feb 18 02:09:16 2009 From: ian at acces.co.jp (Ian Masters) Date: Wed, 18 Feb 2009 10:09:16 +0900 Subject: FW: New to Nagios - Need help with nagios.cfg In-Reply-To: <4ABA3E162F60624A949503A7F960245EB0E269590A@CLEHBEXMS01.broadvox.local> References: <4ABA3E162F60624A949503A7F960245EB0E269590A@CLEHBEXMS01.broadvox.local> Message-ID: <499B5FBC.1040508@acces.co.jp> > Is the cfg_dir location recursive? Yes. 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 subscription at kkeane.com Wed Feb 18 02:15:47 2009 From: subscription at kkeane.com (Kevin Keane) Date: Tue, 17 Feb 2009 17:15:47 -0800 Subject: DISK CRITICAL - /home/user/.gvfs is not accessible: Permission denied In-Reply-To: References: Message-ID: <499B6143.8070901@kkeane.com> These two problems really are not Nagios problems at all. In both cases, the error messages actually tell you what's wrong. Going backwards: connection refused means that some SSH client (or maybe a Nagios check) was trying to connect to an SSH server, but whatever SSH server it was trying to connect to wasn't running. Are you using a check_ssh check anywhere in Nagios? Make sure it connects to the right server, make sure that all the required firewall ports are open, etc. Permission denied means, well, that the permission was denied. That may be perfectly legit; the user that nagios is running under may simply not have permission to that directory. Warning: DO NOT simply relax permissions without talking to whoever set up the permissions in the first place or understanding what is really happening. It would solve the error, but at the same time, you might compromise security. Anthony Bronsdon wrote: > > 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 > -- 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 allanc at chickenandporn.com Wed Feb 18 02:26:30 2009 From: allanc at chickenandporn.com (Allan Clark) Date: Tue, 17 Feb 2009 20:26:30 -0500 Subject: FW: New to Nagios - Need help with nagios.cfg In-Reply-To: <499B5FBC.1040508@acces.co.jp> References: <4ABA3E162F60624A949503A7F960245EB0E269590A@CLEHBEXMS01.broadvox.local> <499B5FBC.1040508@acces.co.jp> Message-ID: <37c712e0902171726o5b1350cex987c668307019925@mail.gmail.com> On Tue, Feb 17, 2009 at 20:09, Ian Masters wrote: > > Is the cfg_dir location recursive? > > Yes. (nagios-3.1.0/xdata/xodtemplate.c line 993 ) Allan http://community.nagios.org/wiki/index.php/LDAP-Configured_Nagios -------------- 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 Wed Feb 18 02:13:52 2009 From: satish at linuxbug.org (Satish Patel) Date: Tue, 17 Feb 2009 20:13:52 -0500 Subject: FW: New to Nagios - Need help with nagios.cfg In-Reply-To: <4ABA3E162F60624A949503A7F960245EB0E269590A@CLEHBEXMS01.broadvox.local> References: <4ABA3E162F60624A949503A7F960245EB0E269590A@CLEHBEXMS01.broadvox.local> Message-ID: <20090217201352.dggmlnm74gkw08kw@mail.lintelindia.com> Yes not need to specifiy every configuration file path in nagios.cfg only need to specify single directoy... Regards, Satish Patel Quoting Eric Chatham : > 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 > ------------------------------------------------------------------------------ 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 subscription at kkeane.com Wed Feb 18 02:33:35 2009 From: subscription at kkeane.com (Kevin Keane) Date: Tue, 17 Feb 2009 17:33:35 -0800 Subject: So its running how I like it In-Reply-To: References: Message-ID: <499B656F.5070406@kkeane.com> There are several ways, depending on exactly what you want to accomplish and why you want to do it. Ultimately, think about what makes a Nagios server run perfectly. Primarily, it's the configuration files, probably in /etc/nagios, right? So you would want to tar those up to start with. You may have added some of your own plugins. Don't forget any scripts that you may have created. Any customized icons, graphics, etc. Don't forget the Apache configuration changes and any Apache modules you may need. And remember any user names that you may have created for nagios to run under. Once you have all the various customizations that you did to accomplish where you are now, you have several options: The closest to what you are asking for is probably to simply put all the customizations into a tar file (or similar). When you need to install afresh, simply install your choice of operating system. Then untar the nagios file you prepared earlier, and everything *should* be back in place (with the possible exception of file ownerships and permissions). Theory being what it is, you will probably have to do a little bit of touchup. Another possibility is to create a live CD. In that case, Linux never gets installed, it runs right off the CD. Of course status changes, as well as some configuration information (such as IP address) has to be on a hard disk or memory stick. You can make as many copies of it as you need. Or you could virtualize your Nagios server. That is what I did. Moving or copying Nagios to another server is as simple as copying a directory with about ten files (a couple GB of data, so it does take a little while). Copying will obviously also mean a few configuration changes. Martyn wrote: > > 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 > -- 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 mattias.ryrlen at op5.com Wed Feb 18 07:50:40 2009 From: mattias.ryrlen at op5.com (=?ISO-8859-1?Q?Mattias_Ryrl=E9n?=) Date: Wed, 18 Feb 2009 07:50:40 +0100 Subject: ESXi Check In-Reply-To: <49627735003F5C479100225C339F9FE0DB2CEA7DBE@Mail.activenetwerx.int> References: <49627735003F5C479100225C339F9FE0DB2CEA7DBE@Mail.activenetwerx.int> Message-ID: <499BAFC0.5060700@op5.com> Hi Joseph, You should try check_esx3.pl from op5. http://git.op5.org/git/?p=nagios/op5plugins.git;a=blob_plain;f=check_esx3.pl;hb=HEAD works both with esxi and esx hosts. you can also read about how to set it up and define commands on http://www.op5.com/support/documentation/how-to/400-monitoring-vmware-esx-3x-and-vmware-esxi Joseph L. Casale skrev: > 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 -- 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 ------------------------------------------------------------------------------ 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 mattias.ryrlen at op5.com Wed Feb 18 08:03:56 2009 From: mattias.ryrlen at op5.com (=?ISO-8859-1?Q?Mattias_Ryrl=E9n?=) Date: Wed, 18 Feb 2009 08:03:56 +0100 Subject: How to show the check_command from web interface In-Reply-To: <499B5CA5.6000306@acces.co.jp> References: <148f6bb30902170717r4d656700g51dcde6336610619@mail.gmail.com> <6614EBFD-A28F-4A47-B428-23D891E589CA@ena.com> <148f6bb30902170756l490928b7g21a5dfb592d13161@mail.gmail.com> <499B5CA5.6000306@acces.co.jp> Message-ID: <499BB2DC.8050800@op5.com> Ian Masters skrev: >> 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. > > Thanks for the tip. That's very useful. Keep in mind that if you have "operators" and you are displaying the password as an arg it will be public for everyone that can see the host/service. > > 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 -- 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 ------------------------------------------------------------------------------ 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 mattias.ryrlen at op5.com Wed Feb 18 08:21:13 2009 From: mattias.ryrlen at op5.com (=?ISO-8859-1?Q?Mattias_Ryrl=E9n?=) Date: Wed, 18 Feb 2009 08:21:13 +0100 Subject: nagios disk monitoring In-Reply-To: <699b436a0902171403m4acd5186n87bbefee02d7f4e5@mail.gmail.com> References: <699b436a0902171403m4acd5186n87bbefee02d7f4e5@mail.gmail.com> Message-ID: <499BB6E9.5020600@op5.com> How are you monitoring this host? through snmp? nrpe? if you monitor through snmp just add another service and specify the right parameters. if you monitor through nrpe you need to make changes to your nrpe.conf and add a checkcommand for the 9th partition. Anirudh Srinivasan skrev: > > 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 > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > 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 -- 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 ------------------------------------------------------------------------------ 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 Wed Feb 18 12:55:13 2009 From: martyn at chetnet.co.uk (Martyn) Date: Wed, 18 Feb 2009 11:55:13 -0000 Subject: Sub-views for customers In-Reply-To: <49970653.8090903@networkmail.eu> References: <49970653.8090903@networkmail.eu> Message-ID: Hi Alan I tried Looking Glass as suggested but I get the following error, I followed the install doc through a couple of times bur still the same error, could somebody point me in the right direction Nagios Looking Glass Error Report Sorry for the inconvenience, but Nagios Looking Glass could not retrieve the page you asked for. The error message below might hold more clues for the site administrator: Could not sync all required files with the server. Cheers Chet -----Original Message----- From: Andy Shellam [mailto:andy-lists at networkmail.eu] Sent: 14 February 2009 17:59 To: Alan Cooper Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Sub-views for customers 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 ------------------------------------------------------------------------------ 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 paul.weaver at bbc.co.uk Wed Feb 18 15:51:06 2009 From: paul.weaver at bbc.co.uk (Paul Weaver) Date: Wed, 18 Feb 2009 14:51:06 -0000 Subject: So its running how I like it In-Reply-To: <8147CCE3C4A8764DA9980125EE70E8238A6B01@nuexchg.norwich.edu> References: <8147CCE3C4A8764DA9980125EE70E8238A6B01@nuexchg.norwich.edu> Message-ID: We use an ubuntu based PXE builder, but the same principle. We've deployed half a dozen nagios instances so far, another dozen to do by the end of the year. The config is stored in subversion, installing nagios hasn't been streamlined, as to be honest we rarely need to install from scratch. (standard ubuntu-server build, with a few additions like ssh and snmpd) apt-get install subversion apache2 expect libbit-vector-perl libcalendar-simple-perl libcarp-clan-perl libconfig-inihash-perl libdate-calc-perl libdate-manip-perl libdbd-mysql-perl libdbi-perl libdigest-hmac-perl libdigest-sha1-perl libgd-gd2-perl libgraphics-magick-perl libhash-case-perl libhash-withdefaults-perl libhtml-parser-perl libhtml-tagset-perl libhtml-tree-perl libio-stringy-perl liblocale-gettext-perl libnagios-object-perl libnet-daemon-perl libnet-dns-perl libnet-ip-perl libnet-ping-external-perl libnet-snmp-perl libnet-socks-perl libnet-telnet-perl libnumber-format-perl libpcre3 libperl5.8 libplrpc-perl librpc-xml-perl librrds-perl libterm-readkey-perl libtext-charwidth-perl libtext-iconv-perl libtext-wrapi18n-perl libtimedate-perl liburi-perl libwww-mechanize-perl libwww-perl libxml-libxml-common-perl libxml-libxml-perl libxml-namespacesupport-perl libxml-parser-perl libxml-sax-perl libxml-simple-perl sqsh su - cd / wget --user=username --password=pass http://svn/config/nagios/nagios-base.tar.gz tar -zxvf nagios-base.tar.gz rm nagios-base.tar.gz cd /usr/local/nagios svn --username username --password username co http://svn/config/nagios/libexec svn co http://svn/config/bristol etc addgroup --system nagios adduser --system --home /usr/local/nagios --shell /bin/false --no-create-home nagios usermod -a -G nagios npf usermod -a -G nagios www-data chown -R nagios:nagios /usr/local/nagios chmod -R g+rwX /usr/local/nagios ln /usr/local/nagios/etc/apacheconfig /etc/apache2/sites-available/nagios ln /usr/local/nagios/etc/init.d.nagios /etc/init.d/nagios ln -s /etc/apache2/sites-available/nagios /etc/apache2/sites-enabled/ ln -s /usr/lib/libgd.so.2.0.0 /usr/lib/libgd.so.1 /etc/init.d/apache2 reload update-rc.d nagios defaults cd /usr/local/nagios/var > comments.dat > downtime.dat > nagios.log > objects.cache > retention.dat > status.dat -- Paul Weaver Systems Development Engineer News Production Facilities, BBC News Work: 020 822 58109 Room 1244 Television Centre, Wood Lane, London, W12 7RJ > -----Original Message----- > From: James Pratt [mailto:jpratt at norwich.edu] > Sent: 17 February 2009 23:58 > To: Martyn; nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] So its running how I like it > > > > > -----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 > ------------------------------------------------------------------------------ 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 Wed Feb 18 16:22:21 2009 From: srianirudh at gmail.com (Anirudh Srinivasan) Date: Wed, 18 Feb 2009 10:22:21 -0500 Subject: nagios disk monitoring In-Reply-To: <699b436a0902171403m4acd5186n87bbefee02d7f4e5@mail.gmail.com> References: <699b436a0902171403m4acd5186n87bbefee02d7f4e5@mail.gmail.com> Message-ID: <699b436a0902180722g79180b40hd61bd28b52e12ae1@mail.gmail.com> Hey Mattias Thanks for you help But they are all monitored via SSH. and how could i enable or disable monitoring for a perticular file system. Thanks in adv Reagrds On Tue, Feb 17, 2009 at 5:03 PM, Anirudh Srinivasan wrote: > > 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 > > -- 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 assaf.flatto at ssp-intl.com Wed Feb 18 16:44:44 2009 From: assaf.flatto at ssp-intl.com (Assaf Flatto) Date: Wed, 18 Feb 2009 15:44:44 +0000 Subject: Nagios and tikiwiki integration Message-ID: <200902181544.44833.assaf.flatto@ssp-intl.com> Hello list I'm trying to integrate the nagios notes_url capability with my wiki at the office. nagios is 3.0.6 (from source ) and the tikiwiki is from RPM , each software is installed on a separate machine . The tikiwiki requires authentication , the internal capability of the tikwiki DB . I followed some how-to's found on the net - but none seem to work. Has anyone been able to do such a thing ? Thanks -- 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 ------------------------------------------------------------------------------ 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 rvrignaud at kds.com Wed Feb 18 16:46:31 2009 From: rvrignaud at kds.com (Romain VRIGNAUD) Date: Wed, 18 Feb 2009 16:46:31 +0100 Subject: 1 Host 2 IP Message-ID: Hi I'd like to know how should I configure Nagios for my hosts which have multiple ip address. I'd like that Nagios consider them as only one host but I don't know how to configure that. On top of that, I need to check different services on the different IPs. How should I do ? Regards -------------- 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 assaf.flatto at ssp-intl.com Wed Feb 18 16:57:10 2009 From: assaf.flatto at ssp-intl.com (Assaf Flatto) Date: Wed, 18 Feb 2009 15:57:10 +0000 Subject: 1 Host 2 IP In-Reply-To: References: Message-ID: <200902181557.10094.assaf.flatto@ssp-intl.com> you can create different host for each ip and create test (services) for those host with no overlapping on the definitions . The issue is to know if you are using external checks only or also using NRPE of another client to execute checks on the machine ? Assaf On Wednesday 18 February 2009 15:46:31 Romain VRIGNAUD wrote: > Hi > > I'd like to know how should I configure Nagios for my hosts which have > multiple ip address. > > I'd like that Nagios consider them as only one host but I don't know how > to configure that. > > On top of that, I need to check different services on the different IPs. > > > > How should I do ? > > > > Regards -- 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 ------------------------------------------------------------------------------ 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 satish at linuxbug.org Wed Feb 18 16:42:35 2009 From: satish at linuxbug.org (Satish Patel) Date: Wed, 18 Feb 2009 10:42:35 -0500 Subject: Notes for Host Message-ID: <20090218104235.bs4pjqu7cogko8os@mail.lintelindia.com> I have nagios running and working fine but i now i want to add notes tab for all host so i can put short discription of all host any plugin or cgi script to do that? Please suggest me 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 rvrignaud at kds.com Wed Feb 18 17:09:35 2009 From: rvrignaud at kds.com (Romain VRIGNAUD) Date: Wed, 18 Feb 2009 17:09:35 +0100 Subject: 1 Host 2 IP Message-ID: I have to migrate a 1.x nagios to the last stable. Until now, each host is defined 2 times for each network interface. However I think it makes the overview more complicated to analyse. So I'm seeking a way to make Nagios understand that they are the same physical host. Is there a something to do in configuring host group ? I don't understand your second question. I use different checks (ssh / nrpe / nsca / nsclient ) but I don't see the point. Romain -----Message d'origine----- De?: Assaf Flatto [mailto:assaf.flatto at ssp-intl.com] Envoy??: mercredi 18 f?vrier 2009 16:57 ??: nagios-users at lists.sourceforge.net Objet?: Re: [Nagios-users] 1 Host 2 IP you can create different host for each ip and create test (services) for those host with no overlapping on the definitions . The issue is to know if you are using external checks only or also using NRPE of another client to execute checks on the machine ? Assaf On Wednesday 18 February 2009 15:46:31 Romain VRIGNAUD wrote: > Hi > > I'd like to know how should I configure Nagios for my hosts which have > multiple ip address. > > I'd like that Nagios consider them as only one host but I don't know how > to configure that. > > On top of that, I need to check different services on the different IPs. > > > > How should I do ? > > > > Regards -- 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 ------------------------------------------------------------------------------ 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 srianirudh at gmail.com Wed Feb 18 17:24:22 2009 From: srianirudh at gmail.com (Anirudh Srinivasan) Date: Wed, 18 Feb 2009 11:24:22 -0500 Subject: nagios disk monitoring In-Reply-To: <699b436a0902180722g79180b40hd61bd28b52e12ae1@mail.gmail.com> References: <699b436a0902171403m4acd5186n87bbefee02d7f4e5@mail.gmail.com> <699b436a0902180722g79180b40hd61bd28b52e12ae1@mail.gmail.com> Message-ID: <699b436a0902180824i6ca7c7e6w33a1a31b8411f6f9@mail.gmail.com> Here we use check_by_ssh plugin for all linux servers. On Wed, Feb 18, 2009 at 10:22 AM, Anirudh Srinivasan wrote: > Hey Mattias > > Thanks for you help > > But they are all monitored via SSH. and how could i enable or disable > monitoring for a perticular file system. > > Thanks in adv > > Reagrds > > On Tue, Feb 17, 2009 at 5:03 PM, Anirudh Srinivasan < > srianirudh at gmail.com> wrote: > >> >> 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 >> >> > > > -- > Anirudh Srinivasan > > -- 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 Wed Feb 18 17:41:02 2009 From: marc at ena.com (Marc Powell) Date: Wed, 18 Feb 2009 10:41:02 -0600 Subject: Notes for Host In-Reply-To: <20090218104235.bs4pjqu7cogko8os@mail.lintelindia.com> References: <20090218104235.bs4pjqu7cogko8os@mail.lintelindia.com> Message-ID: <8F54965C-1927-48BE-9973-72AA46D6BEDA@ena.com> On Feb 18, 2009, at 9:42 AM, Satish Patel wrote: > I have nagios running and working fine but i now i want to add notes > tab for all host so i can put short discription of all host > > any plugin or cgi script to do that? > > Please suggest me Search the docs for notes or notes_url. It's part of the host{} or service{} definition. -- 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 allanc at chickenandporn.com Wed Feb 18 17:58:52 2009 From: allanc at chickenandporn.com (Allan Clark) Date: Wed, 18 Feb 2009 11:58:52 -0500 Subject: So its running how I like it In-Reply-To: References: <8147CCE3C4A8764DA9980125EE70E8238A6B01@nuexchg.norwich.edu> Message-ID: <37c712e0902180858p66e5ec8amed19048b9d4a73c0@mail.gmail.com> On Wed, Feb 18, 2009 at 09:51, Paul Weaver wrote: > We use an ubuntu based PXE builder, but the same principle. We've > deployed half a dozen nagios instances so far, another dozen to do by > the end of the year. > > The config is stored in subversion, installing nagios hasn't been > streamlined, as to be honest we rarely need to install from scratch. > > (standard ubuntu-server build, with a few additions like ssh and snmpd) > apt-get install subversion apache2 expect libbit-vector-perl > ... > ... [ two dozen or more dependencies] ... > ... libxml-simple-perl sqsh > > su - > ... > ... [15 lines of hand-config] ... > cd /usr/local/nagios/var > > comments.dat > > downtime.dat > > nagios.log > > objects.cache > > retention.dat > > status.dat The dependencies, hand-config user-creation, and the creation of the ghost files, can be done with a proper RPM -- which then means that two installations (by different people) are able to help each other a bit easier. It may also help the original OT poster get a canned install with little hand-monkeying, so easier to approach a canned ISO or a VM disk image. Paul, did you think of using the RPM, and indicating the shortfalls (such as the perl dependencies that aren't portable to the host's RPM dependencies -- those always pop up) or other issues with the RPM? Allan http://community.nagios.org/wiki/index.php/LDAP-Configured_Nagios -------------- 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 jc at info-systems.de Wed Feb 18 18:15:12 2009 From: jc at info-systems.de (Jakob Curdes) Date: Wed, 18 Feb 2009 18:15:12 +0100 Subject: nagios disk monitoring In-Reply-To: <699b436a0902180722g79180b40hd61bd28b52e12ae1@mail.gmail.com> References: <699b436a0902171403m4acd5186n87bbefee02d7f4e5@mail.gmail.com> <699b436a0902180722g79180b40hd61bd28b52e12ae1@mail.gmail.com> Message-ID: <499C4220.5020005@info-systems.de> > > Actually the server has got the following file system , but > nagios is not monitoring the last file system > /databases/oradata/aplccnv. > > /dev/mapper/VolGroup03-LogVol00 > Are you sure this is really a file system and not a raw database partition? With the normal filesystem check you can only check free space, inodes etc of a mounted filesystem that is supported by the kernel. If this is a raw partition (hint: probably not mounted, check "mount" od "df -h") you need a database specific check to tell anything about the inside of that partition. I am not familiar with oracle, but I know that many databases can use raw partitions for DB data. Hope this helps, Jakob Curdes -------------- 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 Wed Feb 18 18:16:10 2009 From: israel at frontierflying.com (Israel Brewster) Date: Wed, 18 Feb 2009 08:16:10 -0900 Subject: 1 Host 2 IP In-Reply-To: References: Message-ID: You can check multiple IPs in one check (and thus, one host) using check_icmp. This is a basic ping-type check, but it has a flag to say you only need one of the ips to return in order for the host to be considered up. Or just symlink it to check_host, and it returns OK as soon as it receives one reply, regardless of which IP the reply comes from. As far as monitoring different services on each host, what you'll have to do is make custom check commands that accept the ip as one of the arguments ($ARG1$ for instance) rather than just assuming the host address, which will still have to be set to a single IP even if using check_icmp. What I've done on a number of hosts of ours that have multiple IPs is to set the host check as check_icmp, looking at both IPs and only going critical if both are down. I then make a service that is also check_icmp, looking at the specific ports. That way I get a host critical alert if both are down, but otherwise the host stays OK, and just the service corresponding to the specific ip that isn't working goes critical. Works well for us. ----------------------------------------------- Israel Brewster Computer Support Technician Frontier Flying Service Inc. 5245 Airport Industrial Rd Fairbanks, AK 99709 (907) 450-7250 x293 ----------------------------------------------- On Feb 18, 2009, at 7:09 AM, Romain VRIGNAUD wrote: > > I have to migrate a 1.x nagios to the last stable. > Until now, each host is defined 2 times for each network interface. > However I think it makes the overview more complicated to analyse. > So I'm seeking a way to make Nagios understand that they are the > same physical host. Is there a something to do in configuring host > group ? > > I don't understand your second question. I use different checks > (ssh / nrpe / nsca / nsclient ) but I don't see the point. > > Romain > -----Message d'origine----- > De : Assaf Flatto [mailto:assaf.flatto at ssp-intl.com] > Envoy? : mercredi 18 f?vrier 2009 16:57 > ? : nagios-users at lists.sourceforge.net > Objet : Re: [Nagios-users] 1 Host 2 IP > > you can create different host for each ip and create test (services) > for those host with no > overlapping on the definitions . > > The issue is to know if you are using external checks only or also > using NRPE of another client to > execute checks on the machine ? > > Assaf > > > On Wednesday 18 February 2009 15:46:31 Romain VRIGNAUD wrote: >> Hi >> >> I'd like to know how should I configure Nagios for my hosts which >> have >> multiple ip address. >> >> I'd like that Nagios consider them as only one host but I don't >> know how >> to configure that. >> >> On top of that, I need to check different services on the different >> IPs. >> >> >> >> How should I do ? >> >> >> >> Regards > > > > -- > 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 > > > > ------------------------------------------------------------------------------ > 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 christian at stoupakis.de Wed Feb 18 17:53:27 2009 From: christian at stoupakis.de (Christian) Date: Wed, 18 Feb 2009 17:53:27 +0100 Subject: 1 Host 2 IP In-Reply-To: References: Message-ID: <499C3D07.2090202@stoupakis.de> Hi, we have also hosts with more IPs. My solution is: Build a host with the main (internal) IP create services to check the other IPs create commands to use -H with $ARG1$ command_line /usr/lib/nagios/plugins/check_http -H $ARG1$ -u $ARG2$ -s $ARG3$ -t $ARG4$ create the checks like: check_command check_http-url-address!10.200.201.201!/bla/index.jsp?style=fine!Number!10 So you have only one host, all IPs are checked via ping and the services are bound to their IPs Greets Christian Romain VRIGNAUD schrieb: > I have to migrate a 1.x nagios to the last stable. > Until now, each host is defined 2 times for each network interface. > However I think it makes the overview more complicated to analyse. > So I'm seeking a way to make Nagios understand that they are the same physical host. Is there a something to do in configuring host group ? > > I don't understand your second question. I use different checks (ssh / nrpe / nsca / nsclient ) but I don't see the point. > > Romain > -----Message d'origine----- > De : Assaf Flatto [mailto:assaf.flatto at ssp-intl.com] > Envoy? : mercredi 18 f?vrier 2009 16:57 > ? : nagios-users at lists.sourceforge.net > Objet : Re: [Nagios-users] 1 Host 2 IP > > you can create different host for each ip and create test (services) for those host with no > overlapping on the definitions . > > The issue is to know if you are using external checks only or also using NRPE of another client to > execute checks on the machine ? > > Assaf > > > On Wednesday 18 February 2009 15:46:31 Romain VRIGNAUD wrote: > >> Hi >> >> I'd like to know how should I configure Nagios for my hosts which have >> multiple ip address. >> >> I'd like that Nagios consider them as only one host but I don't know how >> to configure that. >> >> On top of that, I need to check different services on the different IPs. >> >> >> >> How should I do ? >> >> >> >> Regards >> > > > > ------------------------------------------------------------------------------ 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 satish at linuxbug.org Wed Feb 18 18:22:13 2009 From: satish at linuxbug.org (Satish Patel) Date: Wed, 18 Feb 2009 12:22:13 -0500 Subject: Multiple IP address on single host Message-ID: <20090218122213.ydyuta868k0kccwo@mail.lintelindia.com> I have few servers which has multiple physical and virtual interface how to monitor then with nagios? can i add multiple ip address in hosts.cfg file with (,) seprated? 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 srianirudh at gmail.com Wed Feb 18 19:40:42 2009 From: srianirudh at gmail.com (Anirudh Srinivasan) Date: Wed, 18 Feb 2009 13:40:42 -0500 Subject: nagios disk monitoring Message-ID: <699b436a0902181040t539c5ba5w6a9b03b3b5dab279@mail.gmail.com> This is my commands.cfg define command{ command_name check_disk_all command_line $USER1$/check_by_ssh -t 30 -l root -H $HOSTADDRESS$ -C "/usr/lib/nagios/plugins/check_disk -w5% -c3%" event though it could monitor few file systems in linux server but not all file system, meaning there are still few file system that are not being monitored. Please help me how can i enable disk check on all of the filesystem. Regards -- 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 JCasale at activenetwerx.com Wed Feb 18 20:14:32 2009 From: JCasale at activenetwerx.com (Joseph L. Casale) Date: Wed, 18 Feb 2009 12:14:32 -0700 Subject: ESXi Check In-Reply-To: <499BAFC0.5060700@op5.com> References: <49627735003F5C479100225C339F9FE0DB2CEA7DBE@Mail.activenetwerx.int> <499BAFC0.5060700@op5.com> Message-ID: <49627735003F5C479100225C339F9FE0DB2CEA7DC4@Mail.activenetwerx.int> >Hi Joseph, > >You should try check_esx3.pl from op5. > >http://git.op5.org/git/?p=nagios/op5plugins.git;a=blob_plain;f=check_esx3.pl;hb=HEAD > >works both with esxi and esx hosts. > >you can also read about how to set it up and define commands on >http://www.op5.com/support/documentation/how-to/400-monitoring-vmware-esx-3x-and-vmware-esxi Mattias, That worked well! It's a shame vmware packaged the viperl the way did, I can see this breaking future yum updates of perl on this Cent OS box. It is up and running though, 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 echatham at broadvox.net Wed Feb 18 20:37:16 2009 From: echatham at broadvox.net (Eric Chatham) Date: Wed, 18 Feb 2009 14:37:16 -0500 Subject: New to Nagios - Need help with nagios.cfg In-Reply-To: References: <4ABA3E162F60624A949503A7F960245EB0E242A71A@CLEHBEXMS01.broadvox.local> <1751195435.2178961234881276543.JavaMail.root@zimbra16-e3.priv.proxad.net> <4ABA3E162F60624A949503A7F960245EB0E269585B@CLEHBEXMS01.broadvox.local> <4ABA3E162F60624A949503A7F960245EB0E2695906@CLEHBEXMS01.broadvox.local> Message-ID: <4ABA3E162F60624A949503A7F960245EB0E2695B8B@CLEHBEXMS01.broadvox.local> Thank you. Next time you're in the area... I still can't find the problem. I can't find the duplicate command. :/ 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 17:04 To: Nagios Users Subject: Re: [Nagios-users] New to Nagios - Need help with nagios.cfg 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 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 JCasale at activenetwerx.com Wed Feb 18 20:56:11 2009 From: JCasale at activenetwerx.com (Joseph L. Casale) Date: Wed, 18 Feb 2009 12:56:11 -0700 Subject: Canon iR Series Monitoring Message-ID: <49627735003F5C479100225C339F9FE0DB2CEA7DC6@Mail.activenetwerx.int> I can't seem to find a manual for anything but the driver on Canon's site and am not having luck with the check_snmp_printer.pl as it looks for trays not on my system. Anyone have any resources for iR5000's and iR8070's? 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 echatham at broadvox.net Wed Feb 18 21:07:12 2009 From: echatham at broadvox.net (Eric Chatham) Date: Wed, 18 Feb 2009 15:07:12 -0500 Subject: New to Nagios - Need help with nagios.cfg In-Reply-To: <4ABA3E162F60624A949503A7F960245EB0E2695B8B@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> <4ABA3E162F60624A949503A7F960245EB0E2695B8B@CLEHBEXMS01.broadvox.local> Message-ID: <4ABA3E162F60624A949503A7F960245EB0E2695BC6@CLEHBEXMS01.broadvox.local> What files should I have under main/ and what files should be in the directory behind it? Here is a tree example: [root@ ~ etc]# tree /opt/nagios/etc/ /opt/nagios/etc/ |-- cgi.cfg |-- cgi.cfg~ |-- htpasswd.users |-- main | |-- commands.cfg | |-- contacts.cfg | |-- hostgroups.cfg | |-- hosts.cfg | |-- services.cfg | |-- templates.cfg | `-- timeperiods.cfg |-- nagios.cfg |-- nagios.cfg~ |-- nagios.tar.gz |-- resource.cfg `-- resource.cfg~ 1 directory, 15 files [root@ ~ etc]# Eric Chatham Broadvox MIS Department (216) 373-4683 echatham at broadvox.net -----Original Message----- From: Eric Chatham [mailto:echatham at broadvox.net] Sent: Wednesday, February 18, 2009 14:37 To: Marc Powell; Nagios Users Subject: Re: [Nagios-users] New to Nagios - Need help with nagios.cfg Thank you. Next time you're in the area... I still can't find the problem. I can't find the duplicate command. :/ 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 17:04 To: Nagios Users Subject: Re: [Nagios-users] New to Nagios - Need help with nagios.cfg 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 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 allanc at chickenandporn.com Wed Feb 18 21:18:50 2009 From: allanc at chickenandporn.com (Allan Clark) Date: Wed, 18 Feb 2009 15:18:50 -0500 Subject: New to Nagios - Need help with nagios.cfg In-Reply-To: <4ABA3E162F60624A949503A7F960245EB0E2695BC6@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> <4ABA3E162F60624A949503A7F960245EB0E2695B8B@CLEHBEXMS01.broadvox.local> <4ABA3E162F60624A949503A7F960245EB0E2695BC6@CLEHBEXMS01.broadvox.local> Message-ID: <37c712e0902181218u911f211m65003b2743a9bb85@mail.gmail.com> On Wed, Feb 18, 2009 at 15:07, Eric Chatham wrote: > What files should I have under main/ and what files should be in the > directory behind it? Here is a tree example: > > [root@ ~ etc]# tree /opt/nagios/etc/ > /opt/nagios/etc/ > |-- cgi.cfg > |-- cgi.cfg~ Aren't those two files the first duplicates? Remove all *~ files -- I assume your editor created these. Try again after: # rm -i $(find /opt/nagios/etc -type f -name \*~ -print) && nagios -v /opt/nagios/etc/nagios.cfg Allan http://community.nagios.org/wiki/index.php/LDAP-Configured_Nagios -------------- 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 Thu Feb 19 01:52:04 2009 From: ian at acces.co.jp (Ian Masters) Date: Thu, 19 Feb 2009 09:52:04 +0900 Subject: Notes for Host In-Reply-To: <8F54965C-1927-48BE-9973-72AA46D6BEDA@ena.com> References: <20090218104235.bs4pjqu7cogko8os@mail.lintelindia.com> <8F54965C-1927-48BE-9973-72AA46D6BEDA@ena.com> Message-ID: <499CAD34.8060103@acces.co.jp> >> I have nagios running and working fine but i now i want to add notes >> tab for all host so i can put short discription of all host >> >> any plugin or cgi script to do that? >> >> Please suggest me > > Search the docs for notes or notes_url. It's part of the host{} or > service{} definition. Isn't the 'alias' parameter better suited for this? 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 westlifeboi at yahoo.com Thu Feb 19 01:59:12 2009 From: westlifeboi at yahoo.com (Qwert Asdfg) Date: Wed, 18 Feb 2009 16:59:12 -0800 (PST) Subject: Monitoring windows process - not responding status Message-ID: <969108.13685.qm@web112220.mail.gq1.yahoo.com> Hi, we have installed nsclient 2.01?to windows machine and is working fine, but my problem is : can it monitor windows process that?has a status of not responding in the task manager? thanks? -------------- 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 paul.weaver at bbc.co.uk Thu Feb 19 03:22:10 2009 From: paul.weaver at bbc.co.uk (Paul Weaver) Date: Thu, 19 Feb 2009 02:22:10 -0000 Subject: So its running how I like it In-Reply-To: <37c712e0902180858p66e5ec8amed19048b9d4a73c0@mail.gmail.com> References: <8147CCE3C4A8764DA9980125EE70E8238A6B01@nuexchg.norwich.edu> <37c712e0902180858p66e5ec8amed19048b9d4a73c0@mail.gmail.com> Message-ID: > The dependencies, hand-config user-creation, and the creation of the ghost files, > can be done with a proper RPM -- which then means that two installations (by > different people) are able to help each other a bit easier. It may also help > the original OT poster get a canned install with little hand-monkeying, so easier > to approach a canned ISO or a VM disk image. Whether it's worth it depends on how much you'll use it. The config should always be seperate, and I'd suggest libexec too (We're always adding custom plugins). If you run in a mixed mode environment (some 32 bit, some 64), separate your architecture-independent perl scripts from your binaries by using two libexec directories. > Paul, did you think of using the RPM, and indicating the shortfalls (such as the > perl dependencies that aren't portable to the host's RPM dependencies -- those > always pop up) or other issues with the RPM? We have 35 custom .debs in a local repository. One of our nagios checks runs apt-get update every night for security checking, so we see which machines need upgrades. We haven't written a plugin that needs a perl module which isn't in the OS repository. It's easier to keep uptodate that way, and there's arround 1400 perl modules in the apt Repositories. The testing that needs to go into the installation scripts (to do it right) for something like a nagios install is much more intensive than most, which files to remove in preperation for upgrade, which to purge, which not to purge, what to do on failed upgrades, etc. Much easier to run one command after another and check for errors yourself. ------------------------------------------------------------------------------ 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 paul.weaver at bbc.co.uk Thu Feb 19 03:25:50 2009 From: paul.weaver at bbc.co.uk (Paul Weaver) Date: Thu, 19 Feb 2009 02:25:50 -0000 Subject: Nagios and tikiwiki integration In-Reply-To: <200902181544.44833.assaf.flatto@ssp-intl.com> References: <200902181544.44833.assaf.flatto@ssp-intl.com> Message-ID: More a "tikiwiki" question. Tell them you want to link directly to an article. There should be a way. With mediawiki, for example, you can link to http://wiki.mycorp.co.uk/wiki/index.php?title=mypage#mysection E.G. To doucment "PING" on host Barney, you would link to http://wiki.mycorp.co.uk/wiki/index.php?title=barney#PING -- Paul Weaver Systems Development Engineer News Production Facilities, BBC News Work: 020 822 58109 Room 1244 Television Centre, Wood Lane, London, W12 7RJ > -----Original Message----- > From: Assaf Flatto [mailto:assaf.flatto at ssp-intl.com] > Sent: 18 February 2009 15:45 > To: Nagios User list > Subject: [Nagios-users] Nagios and tikiwiki integration > > Hello list > > I'm trying to integrate the nagios notes_url capability with > my wiki at the office. > nagios is 3.0.6 (from source ) and the tikiwiki is from RPM , > each software is installed on a separate machine . > > The tikiwiki requires authentication , the internal > capability of the tikwiki DB . > > I followed some how-to's found on the net - but none seem to work. > Has anyone been able to do such a thing ? > > Thanks > > > -- > 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 > > > > -------------------------------------------------------------- > ---------------- > 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 amontibello at gmail.com Thu Feb 19 04:36:11 2009 From: amontibello at gmail.com (Anthony Montibello) Date: Wed, 18 Feb 2009 22:36:11 -0500 Subject: Monitoring windows process - not responding status In-Reply-To: <969108.13685.qm@web112220.mail.gq1.yahoo.com> References: <969108.13685.qm@web112220.mail.gq1.yahoo.com> Message-ID: NSClient Cannot detect a "Not Responding" program However NC_Net (As well as some other plugins) can do this via Window Event Log checks,(EVENTLOG_NEW) Just look for Error events from Source "Application Error" and "Application Hang" in the Application Log NC_NEt can be a drop in replacement for NSClient 2.01 but to check event logs you need to compile check_nc_net.c however the existing checks can still use check_nt (or you can replace it completly with check_nc_net and it will still comunicate with nsclient 2.01) I usually change the name of of check_nc_net to check_nt so that I do not have to rewrite any of the config files. Tony (Author of NC_Net) On Wed, Feb 18, 2009 at 7:59 PM, Qwert Asdfg wrote: > Hi, > > we have installed nsclient 2.01 to windows machine and is working fine, but > my problem is : can it monitor windows process that has a status of not > responding in the task manager? > > 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 > -------------- 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 Thomas.Borger at esg.de Thu Feb 19 07:31:07 2009 From: Thomas.Borger at esg.de (Thomas Borger) Date: Thu, 19 Feb 2009 07:31:07 +0100 Subject: Antwort: Multiple IP address on single host In-Reply-To: <20090218122213.ydyuta868k0kccwo@mail.lintelindia.com> References: <20090218122213.ydyuta868k0kccwo@mail.lintelindia.com> Message-ID: Hi, Ive done it with: commands.cfg ### additional IP-Address ### define command{ command_name ping-lan-addIP command_line $USER1$/check_icmp -H $ARG1$ -n 3 -w 700.0,80% -c 1000.0,90% } template: t_ping.cfg define service{ name t_lan_ping_addIP use generic-service service_description lan-ping-addIP check_command ping-lan-addIP!127.0.0.1 normal_check_interval 4 retry_check_interval 2 notification_period normal action_url /nagios/pnp/index.php?host= $HOSTNAME$&srv=$SERVICEDESC$ register 0 } and the host config file host-abc.cfg define service{ use t_lan_ping_addIP host_name lns001ext check_command ping-lan-addIP!192.168.135.167 } best regards Thomas Satish Patel An nagios-users at lists.sourceforge.net 18.02.2009 18:22 Kopie Thema [Nagios-users] Multiple IP address on single host I have few servers which has multiple physical and virtual interface how to monitor then with nagios? can i add multiple ip address in hosts.cfg file with (,) seprated? 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 _______________________________________________________________________________________________________________ ESG Elektroniksystem- und Logistik-GmbH Rechtsform/Legal Form: Gesellschaft mit beschr?nkter Haftung Sitz/Registered Office: M?nchen Handelsregister/Commercial Register: Registergericht M?nchen, HRB 8130 Vorsitzender des Aufsichtsrats/Chairman of the Supervisory Board: Peter Obermark Vorsitzender der Gesch?ftsf?hrung/CEO: Dipl.-Math. Gerhard Schempp, Gesch?ftsf?hrer/Managing Director: Dipl.-Kfm. G?tz Graichen ------------------------------------------------------------------------------ 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 robert at rcs-communication.com Thu Feb 19 08:44:27 2009 From: robert at rcs-communication.com (Robert Wamala) Date: Thu, 19 Feb 2009 10:44:27 +0300 Subject: Monitoring windows process - not responding status In-Reply-To: <969108.13685.qm@web112220.mail.gq1.yahoo.com> References: <969108.13685.qm@web112220.mail.gq1.yahoo.com> Message-ID: <1235029467.7041.10.camel@robert-desktop> Pleasee can u help me to get it right, how can I configure curl to give an automatic login to the urls will be glade. rgds, Robert On Wed, 2009-02-18 at 16:59 -0800, Qwert Asdfg wrote: > Hi, > > we have installed nsclient 2.01 to windows machine and is working > fine, but my problem is : can it monitor windows process that has a > status of not responding in the task manager? > > 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 -- Robert Wamala ------------------------------------------------------------------------------ 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 robert at rcs-communication.com Thu Feb 19 08:43:32 2009 From: robert at rcs-communication.com (Robert Wamala) Date: Thu, 19 Feb 2009 10:43:32 +0300 Subject: Curl scripting In-Reply-To: References: Message-ID: <1235029412.7041.9.camel@robert-desktop> Hi Satish and Thomas, Pleasee can u help me to get it right, how can I configure curl to give an automatic login to the urls will be glade. rgds, Robert On Thu, 2009-02-19 at 07:31 +0100, Thomas Borger wrote: > Hi, > > Ive done it with: > > commands.cfg > > ### additional IP-Address ### > define command{ > command_name ping-lan-addIP > command_line $USER1$/check_icmp -H $ARG1$ -n 3 -w 700.0,80% -c > 1000.0,90% > } > > > template: t_ping.cfg > > define service{ > name t_lan_ping_addIP > use generic-service > service_description lan-ping-addIP > check_command ping-lan-addIP!127.0.0.1 > normal_check_interval 4 > retry_check_interval 2 > notification_period normal > action_url /nagios/pnp/index.php?host= > $HOSTNAME$&srv=$SERVICEDESC$ > register 0 > } > > > and the host config file host-abc.cfg > > define service{ > use t_lan_ping_addIP > host_name lns001ext > check_command ping-lan-addIP!192.168.135.167 > } > > > > > best regards > Thomas > > > > > > Satish Patel > org> An > nagios-users at lists.sourceforge.net > 18.02.2009 18:22 Kopie > > Thema > [Nagios-users] Multiple IP address > on single host > > > > > > > > > > I have few servers which has multiple physical and virtual interface > how to monitor then with nagios? can i add multiple ip address in > hosts.cfg file with (,) seprated? > > > > 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 > > > _______________________________________________________________________________________________________________ > > > ESG Elektroniksystem- und Logistik-GmbH > Rechtsform/Legal Form: Gesellschaft mit beschr?nkter Haftung > Sitz/Registered Office: M?nchen > Handelsregister/Commercial Register: Registergericht M?nchen, HRB 8130 > Vorsitzender des Aufsichtsrats/Chairman of the Supervisory Board: Peter > Obermark > Vorsitzender der Gesch?ftsf?hrung/CEO: Dipl.-Math. Gerhard Schempp, > Gesch?ftsf?hrer/Managing Director: Dipl.-Kfm. G?tz Graichen > > > > ------------------------------------------------------------------------------ > 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 -- Robert Wamala ------------------------------------------------------------------------------ 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 robert at rcs-communication.com Thu Feb 19 08:44:43 2009 From: robert at rcs-communication.com (Robert Wamala) Date: Thu, 19 Feb 2009 10:44:43 +0300 Subject: Notes for Host In-Reply-To: <499CAD34.8060103@acces.co.jp> References: <20090218104235.bs4pjqu7cogko8os@mail.lintelindia.com> <8F54965C-1927-48BE-9973-72AA46D6BEDA@ena.com> <499CAD34.8060103@acces.co.jp> Message-ID: <1235029483.7041.11.camel@robert-desktop> Pleasee can u help me to get it right, how can I configure curl to give an automatic login to the urls will be glade. rgds, Robert On Thu, 2009-02-19 at 09:52 +0900, Ian Masters wrote: > >> I have nagios running and working fine but i now i want to add notes > >> tab for all host so i can put short discription of all host > >> > >> any plugin or cgi script to do that? > >> > >> Please suggest me > > > > Search the docs for notes or notes_url. It's part of the host{} or > > service{} definition. > > Isn't the 'alias' parameter better suited for this? > > 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 -- Robert Wamala ------------------------------------------------------------------------------ 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 robert at rcs-communication.com Thu Feb 19 08:45:00 2009 From: robert at rcs-communication.com (Robert Wamala) Date: Thu, 19 Feb 2009 10:45:00 +0300 Subject: New to Nagios - Need help with nagios.cfg In-Reply-To: <37c712e0902181218u911f211m65003b2743a9bb85@mail.gmail.com> References: <4ABA3E162F60624A949503A7F960245EB0E242A71A@CLEHBEXMS01.broadvox.local> <1751195435.2178961234881276543.JavaMail.root@zimbra16-e3.priv.proxad.net> <4ABA3E162F60624A949503A7F960245EB0E269585B@CLEHBEXMS01.broadvox.local> <4ABA3E162F60624A949503A7F960245EB0E2695906@CLEHBEXMS01.broadvox.local> <4ABA3E162F60624A949503A7F960245EB0E2695B8B@CLEHBEXMS01.broadvox.local> <4ABA3E162F60624A949503A7F960245EB0E2695BC6@CLEHBEXMS01.broadvox.local> <37c712e0902181218u911f211m65003b2743a9bb85@mail.gmail.com> Message-ID: <1235029500.7041.12.camel@robert-desktop> Pleasee can u help me to get it right, how can I configure curl to give an automatic login to the urls will be glade. rgds, Robert On Wed, 2009-02-18 at 15:18 -0500, Allan Clark wrote: > On Wed, Feb 18, 2009 at 15:07, Eric Chatham > wrote: > What files should I have under main/ and what files should be > in the directory behind it? Here is a tree example: > > [root@ ~ etc]# tree /opt/nagios/etc/ > /opt/nagios/etc/ > |-- cgi.cfg > |-- cgi.cfg~ > > > Aren't those two files the first duplicates? > > > Remove all *~ files -- I assume your editor created these. Try again > after: > # rm -i $(find /opt/nagios/etc -type f -name \*~ -print) && nagios > -v /opt/nagios/etc/nagios.cfg > > > Allan > http://community.nagios.org/wiki/index.php/LDAP-Configured_Nagios > > > ------------------------------------------------------------------------------ > 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 -- Robert Wamala ------------------------------------------------------------------------------ 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 robert at rcs-communication.com Thu Feb 19 08:45:13 2009 From: robert at rcs-communication.com (Robert Wamala) Date: Thu, 19 Feb 2009 10:45:13 +0300 Subject: Monitoring windows process - not responding status In-Reply-To: References: <969108.13685.qm@web112220.mail.gq1.yahoo.com> Message-ID: <1235029513.7041.13.camel@robert-desktop> Pleasee can u help me to get it right, how can I configure curl to give an automatic login to the urls will be glade. rgds, Robert On Wed, 2009-02-18 at 22:36 -0500, Anthony Montibello wrote: > NSClient Cannot detect a "Not Responding" program > > However NC_Net (As well as some other plugins) can do this via Window > Event Log checks,(EVENTLOG_NEW) > Just look for Error events from Source "Application Error" and > "Application Hang" in the Application Log > > NC_NEt can be a drop in replacement for NSClient 2.01 but to check > event logs you need to compile check_nc_net.c > however the existing checks can still use check_nt (or you can replace > it completly with check_nc_net and it will still comunicate with > nsclient 2.01) > I usually change the name of of check_nc_net to check_nt so that I do > not have to rewrite any of the config files. > > > Tony (Author of NC_Net) > > > On Wed, Feb 18, 2009 at 7:59 PM, Qwert Asdfg > wrote: > Hi, > > we have installed nsclient 2.01 to windows machine and is > working fine, but my problem is : can it monitor windows > process that has a status of not responding in the task > manager? > > 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 > > ------------------------------------------------------------------------------ > 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 -- Robert Wamala ------------------------------------------------------------------------------ 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 robert at rcs-communication.com Thu Feb 19 08:45:29 2009 From: robert at rcs-communication.com (Robert Wamala) Date: Thu, 19 Feb 2009 10:45:29 +0300 Subject: Nagios and tikiwiki integration In-Reply-To: References: <200902181544.44833.assaf.flatto@ssp-intl.com> Message-ID: <1235029529.7041.14.camel@robert-desktop> Pleasee can u help me to get it right, how can I configure curl to give an automatic login to the urls will be glade. rgds, Robert On Thu, 2009-02-19 at 02:25 +0000, Paul Weaver wrote: > More a "tikiwiki" question. Tell them you want to link directly to an > article. There should be a way. > > With mediawiki, for example, you can link to > http://wiki.mycorp.co.uk/wiki/index.php?title=mypage#mysection > > E.G. To doucment "PING" on host Barney, you would link to > > http://wiki.mycorp.co.uk/wiki/index.php?title=barney#PING > > -- > Paul Weaver > Systems Development Engineer > News Production Facilities, BBC News > Work: 020 822 58109 > Room 1244 Television Centre, > Wood Lane, London, W12 7RJ > > > > > -----Original Message----- > > From: Assaf Flatto [mailto:assaf.flatto at ssp-intl.com] > > Sent: 18 February 2009 15:45 > > To: Nagios User list > > Subject: [Nagios-users] Nagios and tikiwiki integration > > > > Hello list > > > > I'm trying to integrate the nagios notes_url capability with > > my wiki at the office. > > nagios is 3.0.6 (from source ) and the tikiwiki is from RPM , > > each software is installed on a separate machine . > > > > The tikiwiki requires authentication , the internal > > capability of the tikwiki DB . > > > > I followed some how-to's found on the net - but none seem to work. > > Has anyone been able to do such a thing ? > > > > Thanks > > > > > > -- > > 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 > > > > > > > > -------------------------------------------------------------- > > ---------------- > > 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 -- Robert Wamala ------------------------------------------------------------------------------ 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 james.mohr at elaxy.com Thu Feb 19 08:32:49 2009 From: james.mohr at elaxy.com (Mohr James) Date: Thu, 19 Feb 2009 08:32:49 +0100 Subject: Unhandled Passiv services Message-ID: Hi All! We have Nagios 3.0 with several passiv service with notifications disabled. I noticed that even when these services are critical and not yet acknowledge, they do not appear when you select "Unhandled" in the menu. To me that is a bug because the problem is not handled, ie. not acknowledged. Period. In my opinion there should not be any hidden criteria that (for example) if it is passive with notifications disabled it is ignored. unhandled = unacknowledged. I remember reading someone that you could create a query string adding various values to "&serviceprops=" in order to get exactly what you want. However, that is a work around and does not solve the real problem. Is there some parameter somewhere that tells Nagios to display *all* of the unhandled services and not just a subset? A kick in the butt would be appreaciated. Regards, Jim Mohr -- 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 -------------- ------------------------------------------------------------------------------ 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 sebastien.lelievre at aznetwork.fr Thu Feb 19 08:39:13 2009 From: sebastien.lelievre at aznetwork.fr (M. =?ISO-8859-1?Q?S=E9bastien_LELI=C8VRE?=) Date: Thu, 19 Feb 2009 08:39:13 +0100 Subject: Plugin for Oracle AS Message-ID: <1235029153.5558.0.camel@seb-VMbuntu> Greetings everyone, I was googling about a plug-in to check Oracle Application Server (known as Oracle AS) and didn't get much anything. I use check_oracle plugin for the database part and I was wondering if such a plugin exists for OracleAS or if anyone knew how to monitor it through nagios and NRPE. Best Regards, -- M. S?bastien LELI?VRE Ing?nieur Syst?me & Base de Donn?es ABF H?bergement / AZ Network 40, rue Amp?re 61000 ALEN?ON (ORNE) FRANCE Tel. : + 33 (0) 233 320 616 Port. : + 33 (0) 673 457 243 Poste : 120 e-mail : sebastien.lelievre at aznetwork.fr ------------------------------------------------------------------------------ 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 alexdehaini at gmail.com Thu Feb 19 08:54:06 2009 From: alexdehaini at gmail.com (Alex Dehaini) Date: Thu, 19 Feb 2009 07:54:06 +0000 Subject: nagios disk monitoring In-Reply-To: <699b436a0902181040t539c5ba5w6a9b03b3b5dab279@mail.gmail.com> References: <699b436a0902181040t539c5ba5w6a9b03b3b5dab279@mail.gmail.com> Message-ID: <4b008f7d0902182354l6bd4f1c7h36dbd52a25b838b7@mail.gmail.com> Use NRPE, It's much easier On Wed, Feb 18, 2009 at 6:40 PM, Anirudh Srinivasan wrote: > This is my commands.cfg > > define command{ > command_name check_disk_all > command_line $USER1$/check_by_ssh -t 30 -l root -H $HOSTADDRESS$ > -C "/usr/lib/nagios/plugins/check_disk -w5% -c3%" > event though it could monitor few file systems in linux server but not all > file system, meaning there are still few file system that are not being > monitored. Please help me how can i enable disk check on all of the > filesystem. > > Regards > > -- > Anirudh Srinivasan > > > > ------------------------------------------------------------------------------ > 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 > -- Alex Dehaini Developer Site - www.alexdehaini.com Email - alexdehaini at gmail.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 james.mohr at elaxy.com Thu Feb 19 10:14:24 2009 From: james.mohr at elaxy.com (Mohr James) Date: Thu, 19 Feb 2009 10:14:24 +0100 Subject: Unhandled Passiv services In-Reply-To: References: Message-ID: I did some more googling and found in the description of the macros that "unhandled" also has the extra caveat that the node must have active checks enabled. That explains what is happening. However, I personally do not see any logic in including only services with active checks. Does anyone have an explanation? > -----Urspr?ngliche Nachricht----- > Von: Mohr James [mailto:james.mohr at elaxy.com] > Gesendet: Donnerstag, 19. Februar 2009 08:33 > An: nagios-users at lists.sourceforge.net > Betreff: [Nagios-users] Unhandled Passiv services > > Hi All! > > We have Nagios 3.0 with several passiv service with > notifications disabled. I noticed that even when these > services are critical and not yet acknowledge, they do not > appear when you select "Unhandled" in the menu. > > > To me that is a bug because the problem is not handled, ie. > not acknowledged. Period. In my opinion there should not be > any hidden criteria that (for example) if it is passive with > notifications disabled it is ignored. unhandled = unacknowledged. > > > I remember reading someone that you could create a query > string adding various values to "&serviceprops=" in order to > get exactly what you want. However, that is a work around and > does not solve the real problem. Is there some parameter > somewhere that tells Nagios to display > *all* of the unhandled services and not just a subset? > > A kick in the butt would be appreaciated. > > Regards, > > Jim Mohr > > > > -- > 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. > > > -- 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. ------------------------------------------------------------------------------ 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 Thu Feb 19 10:53:34 2009 From: roman.fiedler at telbiomed.at (Roman Fiedler) Date: Thu, 19 Feb 2009 10:53:34 +0100 Subject: Get event when notifications enabled/disabled Message-ID: <499D2C1E.7090009@telbiomed.at> Hi List, Is there a simple way to detect when notifications for host/service are enabled/disabled via web interface? I try to make nagios send a mail when someone disables notifications for one service. 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 robert at rcs-communication.com Thu Feb 19 11:40:37 2009 From: robert at rcs-communication.com (Robert Wamala) Date: Thu, 19 Feb 2009 13:40:37 +0300 Subject: Get event when notifications enabled/disabled In-Reply-To: <499D2C1E.7090009@telbiomed.at> References: <499D2C1E.7090009@telbiomed.at> Message-ID: <1235040037.7041.19.camel@robert-desktop> can you please gime steps how to do this!! On Thu, 2009-02-19 at 10:53 +0100, Roman Fiedler wrote: > Hi List, > > Is there a simple way to detect when notifications for host/service are > enabled/disabled via web interface? I try to make nagios send a mail > when someone disables notifications for one service. > > 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 -- Robert Wamala ------------------------------------------------------------------------------ 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 Thu Feb 19 11:20:48 2009 From: roman.fiedler at telbiomed.at (Roman Fiedler) Date: Thu, 19 Feb 2009 11:20:48 +0100 Subject: Get event when notifications enabled/disabled In-Reply-To: <1235040037.7041.19.camel@robert-desktop> References: <499D2C1E.7090009@telbiomed.at> <1235040037.7041.19.camel@robert-desktop> Message-ID: <499D3280.9070008@telbiomed.at> Robert Wamala wrote: > can you please gime steps > how to do this!! I did not go into the code but I assume that one could try to * Try to split the external command pipe and read it. I guess CGI sends commands this way, perhaps also the ones to disable the notifications. * Use the nagios logging to see if disable/enable triggers some specific log lines and parse them * Try to make diffs of the nagios retention data, perhaps one could read disable/enable changes from here * Modify the cgi binaries to add custom event handlers for disable/enable detection * Ask the nagios users list, perhaps there is support for this already in the cgi binaries but I do not know about it Regards, Roman > On Thu, 2009-02-19 at 10:53 +0100, Roman Fiedler wrote: >> Hi List, >> >> Is there a simple way to detect when notifications for host/service are >> enabled/disabled via web interface? I try to make nagios send a mail >> when someone disables notifications for one service. >> >> 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 robert at rcs-communication.com Thu Feb 19 11:52:04 2009 From: robert at rcs-communication.com (Robert Wamala) Date: Thu, 19 Feb 2009 13:52:04 +0300 Subject: Get event when notifications enabled/disabled In-Reply-To: <499D3280.9070008@telbiomed.at> References: <499D2C1E.7090009@telbiomed.at> <1235040037.7041.19.camel@robert-desktop> <499D3280.9070008@telbiomed.at> Message-ID: <1235040724.7041.21.camel@robert-desktop> Hey! Am still having probs to establish the web interface so am not yet there with you!! thats why i need the coding steps rgds Robert On Thu, 2009-02-19 at 11:20 +0100, Roman Fiedler wrote: > Robert Wamala wrote: > > can you please gime steps > > how to do this!! > > I did not go into the code but I assume that one could try to > * Try to split the external command pipe and read it. I guess CGI sends > commands this way, perhaps also the ones to disable the notifications. > * Use the nagios logging to see if disable/enable triggers some specific > log lines and parse them > * Try to make diffs of the nagios retention data, perhaps one could read > disable/enable changes from here > * Modify the cgi binaries to add custom event handlers for > disable/enable detection > * Ask the nagios users list, perhaps there is support for this already > in the cgi binaries but I do not know about it > > Regards, > Roman > > > On Thu, 2009-02-19 at 10:53 +0100, Roman Fiedler wrote: > >> Hi List, > >> > >> Is there a simple way to detect when notifications for host/service are > >> enabled/disabled via web interface? I try to make nagios send a mail > >> when someone disables notifications for one service. > >> > >> Thanks, Roman -- Robert Wamala ------------------------------------------------------------------------------ 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 treibholz at sozial-inkompetent.de Thu Feb 19 14:09:49 2009 From: treibholz at sozial-inkompetent.de (Klaus Umbach) Date: Thu, 19 Feb 2009 14:09:49 +0100 Subject: servicedependencies and flapping Message-ID: <20090219130949.GA4324@umbach-racing.de> I defined servicedependencies for all check_nrpe-based services depending on NSClient++ on the Windows-hosts, so I only get one notification if for any reason NSClient++ doesn't respond, which works quite well. Now for some reason on a host the connection to NSClient++ starts flapping and I get FLAPPINGSTART and FLAPPINGSTOP messages for all the dependent services and not only for my NSClient++-service. How can I stop this? Cheers Klaus -- BOFH excuse #209: Only people with names beginning with 'A' are getting mail this week (a la Microsoft) ------------------------------------------------------------------------------ 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 Thu Feb 19 14:17:02 2009 From: marc at ena.com (Marc Powell) Date: Thu, 19 Feb 2009 07:17:02 -0600 Subject: Monitoring windows process - not responding status In-Reply-To: <1235029467.7041.10.camel@robert-desktop> References: <969108.13685.qm@web112220.mail.gq1.yahoo.com> <1235029467.7041.10.camel@robert-desktop> Message-ID: <62461095-37A4-4AE2-88A0-66244BBE5764@ena.com> On Feb 19, 2009, at 1:44 AM, Robert Wamala wrote: > > Pleasee can u help me to get it right, > how can I configure curl to give an automatic > login to the urls > will be glade. You tactic of hijacking multiple threads to ask the same question isn't going to do you any good and is likely to get messages from you automatically trashed. http://www.catb.org/~esr/faqs/smart-questions.html -- 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 Darryl.Nortje at momentum.co.za Thu Feb 19 12:52:32 2009 From: Darryl.Nortje at momentum.co.za (Darryl Nortje) Date: Thu, 19 Feb 2009 13:52:32 +0200 Subject: check_time giving error Message-ID: <8BF492AAF5E54C42805F2866104EC3BB08AC7F67@EVSVALERIAN.ho.momentum.co.za> Hi there guys, I'm searching the archive and can't find anything about this simple (I think) problem. All I want to do is on server x, call /usr/local/nagios/libexec/check_time -H serverY As I understand it this should give me the time on the server. Instead I get the error "Connection refused TIME UNKNOWN - could not connect to server serverY, port 37" I'm helluva new to nagios, and just can't seem to get over this little hurdle. Do I have to have some special setup on serverY? How do I know which ports to use? Thanks in advance for the help, hopefully this is as simple as it sounds to solve. Cheers Darryl ********************************************************************** This email and all content are subject to the following disclaimer: http://content.momentum.co.za/content/legal/disclaimer_email.htm ********************************************************************** -------------- 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 Deborah.Martin at Kognitio.com Thu Feb 19 14:30:29 2009 From: Deborah.Martin at Kognitio.com (Deborah Martin) Date: Thu, 19 Feb 2009 13:30:29 -0000 Subject: Using SLES10 and Nagios 3.x under VMWare Message-ID: <84836290D5AD43418C40DCF0C4A54ED38E3A33@kogex02.pmpl.co.uk> Hi, I've never used SLES10 + Nagios 3.x as a VM Ware box and I wondered if any of you had come across any issues that I should be aware of. (A new environment is being built in this way to replace an old PC running nagios) Basically, the nagios 3.x setup is very simple. We use it to monitor database activity such as RAM or disk usage amongst others using plugins that I wrote. Nagios monitors a few other nodes using ping or ssh but other than that it's not a complicated setup. Any feedback / advice on running Nagios within VM Ware would be really useful. thanks, deborah *************************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. Any unauthorised distribution or copying is strictly prohibited. Whilst Kognitio Limited takes steps to prevent the transmission of viruses via e-mail, we can not guarantee that any email or attachment is free from computer viruses and you are strongly advised to undertake your own anti-virus precautions. Kognitio grants no warranties regarding performance, use or quality of any e-mail or attachment and undertakes no liability for loss or damage, howsoever caused. Kognitio Limited, a company registered in England and Wales. Registered number 0212 7833. Registered Office: 3a Waterside Park, Cookham Road, Bracknell, Berks, RG12 1RB. VAT number 864 4378 92. Kognitio Inc, a company incorporated in Delaware, principal office 180 North Stetson, Suite 3500, Chicago, IL 60601, USA *************************************************************************** ------------------------------------------------------------------------------ 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 dunnlg at bettis.gov Thu Feb 19 14:35:42 2009 From: dunnlg at bettis.gov (Dunn, Larry) Date: Thu, 19 Feb 2009 08:35:42 -0500 Subject: Problems running Nagios Message-ID: I am using Nagios 3.0.4 and something has gone wrong. I just got the installation working yesterday and now this morning I restarted and am getting an error when nagios runs. Warning: Return code of 137 for check of service 'name of service' on host 'hostname' was out of bounds. According to the FAQ: Frequently Asked Questions Home > Support > FAQs [ Return To FAQ Index | Search The FAQs ] FAQ Database : Nagios : Error and Warning Messages Title: Return code of X is out of bounds error message FAQ ID: F0017 Submitted By: Ethan Galstad Last Updated: 06/17/2003 Description: A "(Return code of x is out of bounds)" error is displayed in the output of a host or service check. Similiar error messages may appear in the log file. Solution: If the plugin output for a host or service check give a "(Return code of x is out of bounds)" error it usually means one of the following: 1. The plugin you're using to perform the host or service check is not returning the proper return code when it exits. 2. 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). 3. The plugin is not executable. This is most likely the case if you get errors about a return code of 126 being out of bounds. If this is the error you're getting, make sure you've set the plugin to be executable (using chmod +x). 4. The plugins are not finding libraries they were linked against at compile time. Sean Berry noted that on Solaris 8 this results in plugins returning an exit code of 137. The fix for this is to set the LD_LIBRARY_PATH for the nagios account to include the paths to the necessary libraries (i.e. /usr/local/lib). Related FAQs: F0037 The libexec/ subdirectory is missing from my Nagios installation. Where are all the plugins? Keywords: return code bounds plugin error I have checked my install and checked the LD_LIBRARY_PATH and nothing has changed that should be causing this to happen. Has anyone else seen this problem? Have you found anything else that I can look at to try to resovle this problem? Larry -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: pixel.gif Type: image/gif Size: 807 bytes Desc: pixel.gif 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 Thu Feb 19 14:45:44 2009 From: marc at ena.com (Marc Powell) Date: Thu, 19 Feb 2009 07:45:44 -0600 Subject: check_time giving error In-Reply-To: <8BF492AAF5E54C42805F2866104EC3BB08AC7F67@EVSVALERIAN.ho.momentum.co.za> References: <8BF492AAF5E54C42805F2866104EC3BB08AC7F67@EVSVALERIAN.ho.momentum.co.za> Message-ID: On Feb 19, 2009, at 5:52 AM, Darryl Nortje wrote: > > ?Connection refused > TIME UNKNOWN - could not connect to server serverY, port 37? > > I?m helluva new to nagios, and just can?t seem to get over this > little hurdle. > > Do I have to have some special setup on serverY? yes http://en.wikipedia.org/wiki/TIME_protocol > How do I know which ports to use? :37 is used by the (old) TIME protocol. > Thanks in advance for the help, hopefully this is as simple as it > sounds to solve. Note that this will only test the difference between the clocks on the nagios host and the host you're checking. It won't tell you if either are actually correct. You should ensure that at the least, your nagios host is correctly synchronizing time with an NTP server (check_ntp can help with verifying 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 Thu Feb 19 14:51:20 2009 From: marc at ena.com (Marc Powell) Date: Thu, 19 Feb 2009 07:51:20 -0600 Subject: Problems running Nagios In-Reply-To: References: Message-ID: <88BB632A-D2C3-4720-B019-5AF6404B57C5@ena.com> On Feb 19, 2009, at 7:35 AM, Dunn, Larry wrote: > I am using Nagios 3.0.4 and something has gone wrong. I just got the > installation working yesterday and now this morning I restarted and > am getting an error when nagios runs. > > > Warning: Return code of 137 for check of service 'name of service' > on host 'hostname' was out of bounds. Thanks for checking the FAQ. Can we assume that this is running under Solaris? > I have checked my install and checked the LD_LIBRARY_PATH and > nothing has changed that should be causing this to happen. Has > anyone else seen this problem? Have you found anything else that I > can look at to try to resovle this problem? Can you run the plugins from the command line as the nagios user? That might provide more interesting information. Try also using 'ldd /path/ to/broken/plugin' to see what libraries it's expecting and verify that they exist in the specified paths. -- 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 dunnlg at bettis.gov Thu Feb 19 15:10:36 2009 From: dunnlg at bettis.gov (Dunn, Larry) Date: Thu, 19 Feb 2009 09:10:36 -0500 Subject: FW: Problems running Nagios Message-ID: Sorry folks, I should post this to the group too. I just verified my LD_LIBRARY_PATH looks like: /usr/lib:/usr/lib/sparcv9:/usr/local/tools/lib:/usr/local/tools/gcc/lib: /usr/local/gnu/lib -----Original Message----- From: Dunn, Larry Sent: Thursday, February 19, 2009 9:07 AM To: 'Marc Powell' Subject: RE: [Nagios-users] Problems running Nagios Yes. Sorry, I should have provided more info: I am running this on a system running Solaris 9 and on a Sun Ultra 80 system. I just tried to run the check_ping plug-in by hand and am getting the error: Fatal: relocation error: file check_ping: symbol libintl_bindtextdomain: referenced symbol not found. -----Original Message----- From: Marc Powell [mailto:marc at ena.com] Sent: Thursday, February 19, 2009 8:51 AM To: nagios-users ML Subject: Re: [Nagios-users] Problems running Nagios On Feb 19, 2009, at 7:35 AM, Dunn, Larry wrote: > I am using Nagios 3.0.4 and something has gone wrong. I just got the > installation working yesterday and now this morning I restarted and am > getting an error when nagios runs. > > > Warning: Return code of 137 for check of service 'name of service' > on host 'hostname' was out of bounds. Thanks for checking the FAQ. Can we assume that this is running under Solaris? > I have checked my install and checked the LD_LIBRARY_PATH and > nothing has changed that should be causing this to happen. Has > anyone else seen this problem? Have you found anything else that I > can look at to try to resovle this problem? Can you run the plugins from the command line as the nagios user? That might provide more interesting information. Try also using 'ldd /path/ to/broken/plugin' to see what libraries it's expecting and verify that they exist in the specified paths. -- 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 ------------------------------------------------------------------------------ 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 Thu Feb 19 15:17:00 2009 From: cschneemann at suse.de (Christian Schneemann) Date: Thu, 19 Feb 2009 15:17:00 +0100 Subject: Using SLES10 and Nagios 3.x under VMWare In-Reply-To: <84836290D5AD43418C40DCF0C4A54ED38E3A33@kogex02.pmpl.co.uk> References: <84836290D5AD43418C40DCF0C4A54ED38E3A33@kogex02.pmpl.co.uk> Message-ID: <200902191517.01537.cschneemann@suse.de> On Thursday February 19 2009 02:30:29 pm Deborah Martin wrote: > Hi, > > I've never used SLES10 + Nagios 3.x as a VM Ware box and I wondered if any > of you had come > across any issues that I should be aware of. (A new environment is being > built in this way to replace > an old PC running nagios) > > Basically, the nagios 3.x setup is very simple. We use it to monitor > database activity such as > RAM or disk usage amongst others using plugins that I wrote. > > Nagios monitors a few other nodes using ping or ssh but other than that > it's not a complicated setup. > > Any feedback / advice on running Nagios within VM Ware would be really > useful. > > thanks, > deborah Hi, we've used an vmware image for testing our config and new nagios packages and everything went fine. We now changed to xen guests because I prefer xen ;) I see no problems with running nagios in a virtual machine. Do you use the official packages from SLES or the ones from buildservice? Or do you install nagios from sources? Greetings, Christian > > > > *************************************************************************** > This email and any files transmitted with it are confidential and intended > solely for the use of the individual or entity to whom they are addressed. > > Any unauthorised distribution or copying is strictly prohibited. > Whilst Kognitio Limited takes steps to prevent the transmission of viruses > via e-mail, we can not guarantee that any email or attachment is free from > computer viruses and you are strongly advised to undertake your own > anti-virus precautions. > > Kognitio grants no warranties regarding performance, use or quality of any > e-mail or attachment and undertakes no liability for loss or damage, > howsoever caused. > > Kognitio Limited, a company registered in England and Wales. Registered > number 0212 7833. Registered Office: 3a Waterside Park, Cookham Road, > Bracknell, Berks, RG12 1RB. VAT number 864 4378 92. > > Kognitio Inc, a company incorporated in Delaware, principal office 180 > North Stetson, Suite 3500, Chicago, IL 60601, USA > *************************************************************************** > > --------------------------------------------------------------------------- >--- 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 epearce at amberpoint.com Thu Feb 19 15:19:52 2009 From: epearce at amberpoint.com (Eric Pearce) Date: Thu, 19 Feb 2009 06:19:52 -0800 Subject: FW: Problems running Nagios References: Message-ID: <85889A973FA84A5A97AD542F0E09A97B@ap872c3fe40484> "crle" is your friend for LD_LIBRARY_PATH problems on Solaris (8,9 and 10). Here is a nice description: http://solaris.reys.net/english/2006/04/crle -e ----- Original Message ----- From: "Dunn, Larry" To: Sent: Thursday, February 19, 2009 6:10 AM Subject: [Nagios-users] FW: Problems running Nagios > Sorry folks, I should post this to the group too. > > I just verified my LD_LIBRARY_PATH looks like: > > /usr/lib:/usr/lib/sparcv9:/usr/local/tools/lib:/usr/local/tools/gcc/lib: > /usr/local/gnu/lib > > > -----Original Message----- > From: Dunn, Larry > Sent: Thursday, February 19, 2009 9:07 AM > To: 'Marc Powell' > Subject: RE: [Nagios-users] Problems running Nagios > > Yes. Sorry, I should have provided more info: > > I am running this on a system running Solaris 9 and on a Sun Ultra 80 > system. > > I just tried to run the check_ping plug-in by hand and am getting the > error: > > Fatal: relocation error: file check_ping: symbol libintl_bindtextdomain: > referenced symbol not found. > > > > -----Original Message----- > From: Marc Powell [mailto:marc at ena.com] > Sent: Thursday, February 19, 2009 8:51 AM > To: nagios-users ML > Subject: Re: [Nagios-users] Problems running Nagios > > > On Feb 19, 2009, at 7:35 AM, Dunn, Larry wrote: > >> I am using Nagios 3.0.4 and something has gone wrong. I just got the >> installation working yesterday and now this morning I restarted and am > >> getting an error when nagios runs. >> >> >> Warning: Return code of 137 for check of service 'name of service' >> on host 'hostname' was out of bounds. > > Thanks for checking the FAQ. Can we assume that this is running under > Solaris? > >> I have checked my install and checked the LD_LIBRARY_PATH and >> nothing has changed that should be causing this to happen. Has >> anyone else seen this problem? Have you found anything else that I >> can look at to try to resovle this problem? > > Can you run the plugins from the command line as the nagios user? That > might provide more interesting information. Try also using 'ldd /path/ > to/broken/plugin' to see what libraries it's expecting and verify that > they exist in the specified paths. > > -- > 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 > > ------------------------------------------------------------------------------ > 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 Deborah.Martin at Kognitio.com Thu Feb 19 15:28:53 2009 From: Deborah.Martin at Kognitio.com (Deborah Martin) Date: Thu, 19 Feb 2009 14:28:53 -0000 Subject: Using SLES10 and Nagios 3.x under VMWare Message-ID: <84836290D5AD43418C40DCF0C4A54ED38E3A35@kogex02.pmpl.co.uk> Hi Christian, The vmware environment (i.e Sles10) is built by IT services here so I don't have any insight on this part. I shall then build nagios from source so that I have a more granular control over where things go although it's mostly to standard places i.e /usr/local/nagios etc regards, deborah -----Original Message----- From: Christian Schneemann [mailto:cschneemann at suse.de] Sent: 19 February 2009 14:17 To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Using SLES10 and Nagios 3.x under VMWare On Thursday February 19 2009 02:30:29 pm Deborah Martin wrote: > Hi, > > I've never used SLES10 + Nagios 3.x as a VM Ware box and I wondered if > any of you had come across any issues that I should be aware of. (A > new environment is being built in this way to replace an old PC > running nagios) > > Basically, the nagios 3.x setup is very simple. We use it to monitor > database activity such as RAM or disk usage amongst others using > plugins that I wrote. > > Nagios monitors a few other nodes using ping or ssh but other than > that it's not a complicated setup. > > Any feedback / advice on running Nagios within VM Ware would be really > useful. > > thanks, > deborah Hi, we've used an vmware image for testing our config and new nagios packages and everything went fine. We now changed to xen guests because I prefer xen ;) I see no problems with running nagios in a virtual machine. Do you use the official packages from SLES or the ones from buildservice? Or do you install nagios from sources? Greetings, Christian > > > > ********************************************************************** > ***** This email and any files transmitted with it are confidential > and intended solely for the use of the individual or entity to whom > they are addressed. > > Any unauthorised distribution or copying is strictly prohibited. > Whilst Kognitio Limited takes steps to prevent the transmission of > viruses via e-mail, we can not guarantee that any email or attachment > is free from computer viruses and you are strongly advised to > undertake your own anti-virus precautions. > > Kognitio grants no warranties regarding performance, use or quality of > any e-mail or attachment and undertakes no liability for loss or > damage, howsoever caused. > > Kognitio Limited, a company registered in England and Wales. > Registered number 0212 7833. Registered Office: 3a Waterside Park, > Cookham Road, Bracknell, Berks, RG12 1RB. VAT number 864 4378 92. > > Kognitio Inc, a company incorporated in Delaware, principal office 180 > North Stetson, Suite 3500, Chicago, IL 60601, USA > ********************************************************************** > ***** > > >----------------------------------------------------------------------- >---- >--- 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 *************************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. Any unauthorised distribution or copying is strictly prohibited. Whilst Kognitio Limited takes steps to prevent the transmission of viruses via e-mail, we can not guarantee that any email or attachment is free from computer viruses and you are strongly advised to undertake your own anti-virus precautions. Kognitio grants no warranties regarding performance, use or quality of any e-mail or attachment and undertakes no liability for loss or damage, howsoever caused. Kognitio Limited, a company registered in England and Wales. Registered number 0212 7833. Registered Office: 3a Waterside Park, Cookham Road, Bracknell, Berks, RG12 1RB. VAT number 864 4378 92. Kognitio Inc, a company incorporated in Delaware, principal office 180 North Stetson, Suite 3500, Chicago, IL 60601, USA *************************************************************************** ------------------------------------------------------------------------------ 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 Thu Feb 19 15:41:06 2009 From: cschneemann at suse.de (Christian Schneemann) Date: Thu, 19 Feb 2009 15:41:06 +0100 Subject: Using SLES10 and Nagios 3.x under VMWare In-Reply-To: <84836290D5AD43418C40DCF0C4A54ED38E3A35@kogex02.pmpl.co.uk> References: <84836290D5AD43418C40DCF0C4A54ED38E3A35@kogex02.pmpl.co.uk> Message-ID: <200902191541.07500.cschneemann@suse.de> On Thursday February 19 2009 03:28:53 pm Deborah Martin wrote: > Hi Christian, > > The vmware environment (i.e Sles10) is built by IT services here so I don't > have any insight on this part. > > I shall then build nagios from source so that I have a more granular > control over where things go although it's mostly > to standard places i.e /usr/local/nagios etc If you want to use rpm packages, there is a project in the openSUSE Buildservice (http://build.opensuse.org). There we package the stable version of nagios and nagios-plugins for easy installation. You can find there some other plugins too, espacially plugins for SLES and openSUSE. Here is a link to the repos, you can use them in yast/zypper/rug if you want ;) http://download.opensuse.org/repositories/server://monitoring// Greetings, Christian > > > > regards, > deborah > > -----Original Message----- > From: Christian Schneemann [mailto:cschneemann at suse.de] > Sent: 19 February 2009 14:17 > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Using SLES10 and Nagios 3.x under VMWare > > On Thursday February 19 2009 02:30:29 pm Deborah Martin wrote: > > Hi, > > > > I've never used SLES10 + Nagios 3.x as a VM Ware box and I wondered if > > any of you had come across any issues that I should be aware of. (A > > new environment is being built in this way to replace an old PC > > running nagios) > > > > Basically, the nagios 3.x setup is very simple. We use it to monitor > > database activity such as RAM or disk usage amongst others using > > plugins that I wrote. > > > > Nagios monitors a few other nodes using ping or ssh but other than > > that it's not a complicated setup. > > > > Any feedback / advice on running Nagios within VM Ware would be really > > useful. > > > > thanks, > > deborah > > Hi, > we've used an vmware image for testing our config and new nagios packages > and everything went fine. We now changed to xen guests because I prefer xen > ;) > > I see no problems with running nagios in a virtual machine. > > Do you use the official packages from SLES or the ones from buildservice? > Or do you install nagios from sources? > > Greetings, > Christian > > > ********************************************************************** > > ***** This email and any files transmitted with it are confidential > > and intended solely for the use of the individual or entity to whom > > they are addressed. > > > > Any unauthorised distribution or copying is strictly prohibited. > > Whilst Kognitio Limited takes steps to prevent the transmission of > > viruses via e-mail, we can not guarantee that any email or attachment > > is free from computer viruses and you are strongly advised to > > undertake your own anti-virus precautions. > > > > Kognitio grants no warranties regarding performance, use or quality of > > any e-mail or attachment and undertakes no liability for loss or > > damage, howsoever caused. > > > > Kognitio Limited, a company registered in England and Wales. > > Registered number 0212 7833. Registered Office: 3a Waterside Park, > > Cookham Road, Bracknell, Berks, RG12 1RB. VAT number 864 4378 92. > > > > Kognitio Inc, a company incorporated in Delaware, principal office 180 > > North Stetson, Suite 3500, Chicago, IL 60601, USA > > ********************************************************************** > > ***** > > > > > >----------------------------------------------------------------------- > >---- > >--- 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 > > *************************************************************************** > This email and any files transmitted with it are confidential and intended > solely for the use of the individual or entity to whom they are addressed. > > Any unauthorised distribution or copying is strictly prohibited. > Whilst Kognitio Limited takes steps to prevent the transmission of viruses > via e-mail, we can not guarantee that any email or attachment is free from > computer viruses and you are strongly advised to undertake your own > anti-virus precautions. > > Kognitio grants no warranties regarding performance, use or quality of any > e-mail or attachment and undertakes no liability for loss or damage, > howsoever caused. > > Kognitio Limited, a company registered in England and Wales. Registered > number 0212 7833. Registered Office: 3a Waterside Park, Cookham Road, > Bracknell, Berks, RG12 1RB. VAT number 864 4378 92. > > Kognitio Inc, a company incorporated in Delaware, principal office 180 > North Stetson, Suite 3500, Chicago, IL 60601, USA > *************************************************************************** > > --------------------------------------------------------------------------- >--- 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 Stephane.Cesbron at inserm.fr Thu Feb 19 15:23:24 2009 From: Stephane.Cesbron at inserm.fr (=?ISO-8859-1?Q?St=E9phane_Cesbron?=) Date: Thu, 19 Feb 2009 15:23:24 +0100 Subject: status.log pb Message-ID: <499D6B5C.90808@inserm.fr> Hi, I had a working nagios 2.11 instance on a CentOS 5.2 box. I wanted to upgrape it to the 3.06 version. =>running yum update Everything works fine I can reach the web page, nevertheless I'm always getting this message : There doesn't appear to be any host status information in the status log... Make sure that Nagios is running and that you have specified the location of you status log correctly in the configuration files. whenever I want to see : - services details - services problems - hosts details - hosts problems But when I want to the Status Map, it works ! /usr/bin/nagios -v /etc/nagios/nagios.cfg is fine => No warnings, No errors when I'm running the plugins, for example : ./check_by_ssh -H 172.20.25.9 -C '/home/nagios/plugins/check_disk -w 20% -c 10% -p /sauvegarde -t 15' everything's working fine The /var/log/nagios/nagios.log file does exist !!! and is updated !!! It is the correct file stated in /etc/nagios/nagios.cfg Any ideas, Any suggestions ? Any help will be welcomed, Regards, -- St?phane Cesbron Responsable R?gional Informatique, INSERM ADR Grand-Ouest, BRETAGNE, PAYS DE LA LOIRE et CENTRE 63, quai Magellan 3?me ?tage - Hall B B.P. 32116 44021 Nantes cedex 1 Email : stephane.cesbron at inserm.fr T?l : 02.40.20.92.28 Portable : 06.78.68.76.39 ----------------------------------------------------------------- Ce message et toutes les pieces jointes sont etablis a l'intention exclusive de ses destinataires et peuvent etre confidentiels ou proteges. L'internet ne permettant pas d'assurer l'integrite de ce message, l'INSERM decline toute responsabilite au titre de ce message, dans l'hypothese ou il aurait ete modifie. Toute utilisation de ce message non conforme a sa destination, toute diffusion ou toute publication, totale ou partielle, est interdite, sauf autorisation expresse. Si vous recevez ce message par erreur, merci de le detruire et d'en avertir immediatement l'expediteur. Merci. The information transmitted is intended exclusively for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any disclosure, copying, distribution or other action based upon the information by persons or entities other than the intended recipient is prohibited. If you receive this information in error, please contact the sender and delete the material from any and all computers. ------------------------------------------------------------------------------ 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 Thu Feb 19 16:08:18 2009 From: marc at ena.com (Marc Powell) Date: Thu, 19 Feb 2009 09:08:18 -0600 Subject: Problems running Nagios In-Reply-To: References: <88BB632A-D2C3-4720-B019-5AF6404B57C5@ena.com> Message-ID: Please always respond on list so that others can learn from your experience or provide insight. More below... On Feb 19, 2009, at 8:06 AM, Dunn, Larry wrote: > Yes. Sorry, I should have provided more info: > > I am running this on a system running Solaris 9 and on a Sun Ultra 80 > system. > > I just tried to run the check_ping plug-in by hand and am getting the > error: > > Fatal: relocation error: file check_ping: symbol > libintl_bindtextdomain: > referenced symbol not found. How did the ldd check go? Everything referenced is present and accounted for? I expect that you're missing something. It's been some time since I've used solaris but I believe libintl_bindtextdomain comes from gettext. Is that installed and up-to- date? How did you install the plugins? Compiled on this machine with gnu-make, gcc? -- 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 Thu Feb 19 16:18:16 2009 From: marc at ena.com (Marc Powell) Date: Thu, 19 Feb 2009 09:18:16 -0600 Subject: status.log pb In-Reply-To: <499D6B5C.90808@inserm.fr> References: <499D6B5C.90808@inserm.fr> Message-ID: On Feb 19, 2009, at 8:23 AM, St?phane Cesbron wrote: > Hi, > > I had a working nagios 2.11 instance on a CentOS 5.2 box. > I wanted to upgrape it to the 3.06 version. > > =>running yum update > > Everything works fine > I can reach the web page, nevertheless I'm always getting this > message : > There doesn't appear to be any host status information in the status > log... > The /var/log/nagios/nagios.log file does exist !!! and is > updated !!! It > is the correct file stated in /etc/nagios/nagios.cfg > > Any ideas, Any suggestions ? Does your web server have permissions to read the status log? That's different than nagios.log. Look at the value of status_file in 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 martyn at chetnet.co.uk Thu Feb 19 16:19:54 2009 From: martyn at chetnet.co.uk (Martyn) Date: Thu, 19 Feb 2009 15:19:54 -0000 Subject: Nagios + Postfix Message-ID: I can not seem to get any notifications through from Nagios, I installed postfix as suggested but I just keep getting my mails queuing, so far I have over 200 sitting there with the same status message Lost connection with mail.proweb.co.uk while sending MAIL FROM Has anybody else had this issue and if so how did you fix it. Cheers 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 dunnlg at bettis.gov Thu Feb 19 16:30:27 2009 From: dunnlg at bettis.gov (Dunn, Larry) Date: Thu, 19 Feb 2009 10:30:27 -0500 Subject: Problems running Nagios In-Reply-To: References: <88BB632A-D2C3-4720-B019-5AF6404B57C5@ena.com> Message-ID: I should also tell all of you working on this that I can run the check_ping script manually as root and not have any problem. I just checked the libraries and they all look fine. It has to be something with the nagios user but I am beside myself trying to understand what I am missing. -----Original Message----- From: Marc Powell [mailto:marc at ena.com] Sent: Thursday, February 19, 2009 10:08 AM To: Nagios Users Subject: Re: [Nagios-users] Problems running Nagios Please always respond on list so that others can learn from your experience or provide insight. More below... On Feb 19, 2009, at 8:06 AM, Dunn, Larry wrote: > Yes. Sorry, I should have provided more info: > > I am running this on a system running Solaris 9 and on a Sun Ultra 80 > system. > > I just tried to run the check_ping plug-in by hand and am getting the > error: > > Fatal: relocation error: file check_ping: symbol > libintl_bindtextdomain: > referenced symbol not found. How did the ldd check go? Everything referenced is present and accounted for? I expect that you're missing something. It's been some time since I've used solaris but I believe libintl_bindtextdomain comes from gettext. Is that installed and up-to- date? How did you install the plugins? Compiled on this machine with gnu-make, gcc? -- 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 ------------------------------------------------------------------------------ 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 Stephane.Cesbron at inserm.fr Thu Feb 19 16:31:41 2009 From: Stephane.Cesbron at inserm.fr (=?ISO-8859-1?Q?St=E9phane_Cesbron?=) Date: Thu, 19 Feb 2009 16:31:41 +0100 Subject: status.log pb In-Reply-To: References: <499D6B5C.90808@inserm.fr> Message-ID: <499D7B5D.9040901@inserm.fr> Marc Powell a ?crit : > On Feb 19, 2009, at 8:23 AM, St?phane Cesbron wrote: > > >> Hi, >> >> I had a working nagios 2.11 instance on a CentOS 5.2 box. >> I wanted to upgrape it to the 3.06 version. >> >> =>running yum update >> >> Everything works fine >> I can reach the web page, nevertheless I'm always getting this >> message : >> There doesn't appear to be any host status information in the status >> log... >> > > >> The /var/log/nagios/nagios.log file does exist !!! and is >> updated !!! It >> is the correct file stated in /etc/nagios/nagios.cfg >> >> Any ideas, Any suggestions ? >> > > Does your web server have permissions to read the status log? That's > different than nagios.log. Look at the value of status_file in > nagios.cfg. > > Yes, I do have the following statement in my /etc/nagios/nagios.cfg status_file=/var/log/nagios/status.log > -- > 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 > -- St?phane Cesbron Responsable R?gional Informatique, INSERM ADR Grand-Ouest, BRETAGNE, PAYS DE LA LOIRE et CENTRE 63, quai Magellan 3?me ?tage - Hall B B.P. 32116 44021 Nantes cedex 1 Email : stephane.cesbron at inserm.fr T?l : 02.40.20.92.28 Portable : 06.78.68.76.39 ----------------------------------------------------------------- Ce message et toutes les pieces jointes sont etablis a l'intention exclusive de ses destinataires et peuvent etre confidentiels ou proteges. L'internet ne permettant pas d'assurer l'integrite de ce message, l'INSERM decline toute responsabilite au titre de ce message, dans l'hypothese ou il aurait ete modifie. Toute utilisation de ce message non conforme a sa destination, toute diffusion ou toute publication, totale ou partielle, est interdite, sauf autorisation expresse. Si vous recevez ce message par erreur, merci de le detruire et d'en avertir immediatement l'expediteur. Merci. The information transmitted is intended exclusively for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any disclosure, copying, distribution or other action based upon the information by persons or entities other than the intended recipient is prohibited. If you receive this information in error, please contact the sender and delete the material from any and all computers. ------------------------------------------------------------------------------ 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 Thu Feb 19 16:33:32 2009 From: marc at ena.com (Marc Powell) Date: Thu, 19 Feb 2009 09:33:32 -0600 Subject: Nagios + Postfix In-Reply-To: References: Message-ID: On Feb 19, 2009, at 9:19 AM, Martyn wrote: > I can not seem to get any notifications through from Nagios, I > installed postfix as suggested but I just keep getting my mails > queuing, so far I have over 200 sitting there with the same status > message > > Lost connection with mail.proweb.co.uk while sending MAIL FROM > > Has anybody else had this issue and if so how did you fix it. > Sounds like mail.proweb.co.uk is rejecting your connection. Is that a server you control? What do it's logs say about the transaction? If it's not a server you control, are you following standard/expected SMTP conventions? Is the e-mail address being used as the from valid (i.e. is the @domain part legitimate and exist in DNS)? This often comes from the hostname of the machine if you've not configured postfix to masquerade that. Does the public IP for your sending machine have valid reverse DNS, not on an RBL, not on a known 'dynamic' IP? Are you permitted to use that server to send mail? -- 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 Thu Feb 19 16:34:41 2009 From: marc at ena.com (Marc Powell) Date: Thu, 19 Feb 2009 09:34:41 -0600 Subject: status.log pb In-Reply-To: <499D7B5D.9040901@inserm.fr> References: <499D6B5C.90808@inserm.fr> <499D7B5D.9040901@inserm.fr> Message-ID: On Feb 19, 2009, at 9:31 AM, St?phane Cesbron wrote: >> Does your web server have permissions to read the status log? >> That's different than nagios.log. Look at the value of status_file >> in nagios.cfg. >> >> > Yes, I do have the following statement in my /etc/nagios/nagios.cfg > status_file=/var/log/nagios/status.log and...? -- 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 Thu Feb 19 16:42:27 2009 From: marc at ena.com (Marc Powell) Date: Thu, 19 Feb 2009 09:42:27 -0600 Subject: Problems running Nagios In-Reply-To: References: <88BB632A-D2C3-4720-B019-5AF6404B57C5@ena.com> Message-ID: <20C1FE2C-82E6-4945-AF49-49A4A60AE98B@ena.com> On Feb 19, 2009, at 9:30 AM, Dunn, Larry wrote: > I should also tell all of you working on this that I can run the > check_ping script manually as root and not have any problem. > > I just checked the libraries and they all look fine. It has to be > something with the nagios user but I am beside myself trying to > understand what I am missing. Getting into weird grey area for me... Taking a semi-logical guess, are the permissions on the library directories and referenced libraries themselves such that nagios can read and execute them? check_ping is somewhat special in that it's just a fancy wrapper for (/ usr)/bin/ping. ping must be SUID root to be run by the nagios user/ check_ping so you might want to verify that. Do you see the same symptoms with other plugins (check_http for example)? -- 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 dunnlg at bettis.gov Thu Feb 19 16:53:33 2009 From: dunnlg at bettis.gov (Dunn, Larry) Date: Thu, 19 Feb 2009 10:53:33 -0500 Subject: Problems running Nagios In-Reply-To: References: <88BB632A-D2C3-4720-B019-5AF6404B57C5@ena.com> Message-ID: Thanks everyone for your help. It turned out the nagios user was using the wrong version of the libintl library. I compared the root user and the nagios user and saw they were using different libraries (different directories). That sound you are hearing is me beating my head against a wall.... As I said, thanks for all of your suggestions and help. I am back and working again. -----Original Message----- From: Marc Powell [mailto:marc at ena.com] Sent: Thursday, February 19, 2009 10:08 AM To: Nagios Users Subject: Re: [Nagios-users] Problems running Nagios Please always respond on list so that others can learn from your experience or provide insight. More below... On Feb 19, 2009, at 8:06 AM, Dunn, Larry wrote: > Yes. Sorry, I should have provided more info: > > I am running this on a system running Solaris 9 and on a Sun Ultra 80 > system. > > I just tried to run the check_ping plug-in by hand and am getting the > error: > > Fatal: relocation error: file check_ping: symbol > libintl_bindtextdomain: > referenced symbol not found. How did the ldd check go? Everything referenced is present and accounted for? I expect that you're missing something. It's been some time since I've used solaris but I believe libintl_bindtextdomain comes from gettext. Is that installed and up-to- date? How did you install the plugins? Compiled on this machine with gnu-make, gcc? -- 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 ------------------------------------------------------------------------------ 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 jaimeventura at ipp.pt Thu Feb 19 16:58:01 2009 From: jaimeventura at ipp.pt (Jaime Ventura) Date: Thu, 19 Feb 2009 15:58:01 +0000 Subject: Contacts on templates Message-ID: <499D8189.9010205@ipp.pt> Hello, I have the following drought about templates. For instance: define service{ name service-sic use generic-service register 0 contact_groups admins-group } define service{ name my-new-service use service-sic contact_groups my-new-service-admins-group } What happens in this case is that "contact_groups" on "my-new-service" replaces the "contact_groups" on the template. Is there a way do append instead of replace? Thanks Jaime ------------------------------------------------------------------------------ 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 Stephane.Cesbron at inserm.fr Thu Feb 19 17:02:53 2009 From: Stephane.Cesbron at inserm.fr (=?ISO-8859-1?Q?St=E9phane_Cesbron?=) Date: Thu, 19 Feb 2009 17:02:53 +0100 Subject: status.log pb In-Reply-To: References: <499D6B5C.90808@inserm.fr> <499D7B5D.9040901@inserm.fr> Message-ID: <499D82AD.6090107@inserm.fr> > >>> Does your web server have permissions to read the status log? >>> That's different than nagios.log. Look at the value of status_file >>> in nagios.cfg. >>> >>> >>> >> Yes, I do have the following statement in my /etc/nagios/nagios.cfg >> status_file=/var/log/nagios/status.log >> > > and...? > > I'm still having the following statement : There doesn't appear to be any host status information in the status log... Make sure that Nagios is running and that you have specified the location of you status log correctly in the configuration files. > -- > 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 > -- St?phane Cesbron Responsable R?gional Informatique, INSERM ADR Grand-Ouest, BRETAGNE, PAYS DE LA LOIRE et CENTRE 63, quai Magellan 3?me ?tage - Hall B B.P. 32116 44021 Nantes cedex 1 Email : stephane.cesbron at inserm.fr T?l : 02.40.20.92.28 Portable : 06.78.68.76.39 ----------------------------------------------------------------- Ce message et toutes les pieces jointes sont etablis a l'intention exclusive de ses destinataires et peuvent etre confidentiels ou proteges. L'internet ne permettant pas d'assurer l'integrite de ce message, l'INSERM decline toute responsabilite au titre de ce message, dans l'hypothese ou il aurait ete modifie. Toute utilisation de ce message non conforme a sa destination, toute diffusion ou toute publication, totale ou partielle, est interdite, sauf autorisation expresse. Si vous recevez ce message par erreur, merci de le detruire et d'en avertir immediatement l'expediteur. Merci. The information transmitted is intended exclusively for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any disclosure, copying, distribution or other action based upon the information by persons or entities other than the intended recipient is prohibited. If you receive this information in error, please contact the sender and delete the material from any and all computers. ------------------------------------------------------------------------------ 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 Thu Feb 19 17:11:15 2009 From: martyn at chetnet.co.uk (Martyn) Date: Thu, 19 Feb 2009 16:11:15 -0000 Subject: Nagios + Postfix In-Reply-To: References: Message-ID: Proweb is not under my control I'm not to sure what you mean with regards to the rest of you reply, I have not set up postfix to masquerade anything, would not know how to do that I'm sending the mail from the Nagios Server from address nagios at cna.localhost to notify at proweb.co.uk I have not configured postfix in anyway, the install guide just implied that I did the following and it would work out of the box so to speak apt-get install sysutils mailx lsb-release postfix Do I need to carry out additional steps in postfix, if so what are they. Thanks for your reply Martyn -----Original Message----- From: Marc Powell [mailto:marc at ena.com] Sent: 19 February 2009 15:34 To: Nagios Users Subject: Re: [Nagios-users] Nagios + Postfix On Feb 19, 2009, at 9:19 AM, Martyn wrote: > I can not seem to get any notifications through from Nagios, I > installed postfix as suggested but I just keep getting my mails > queuing, so far I have over 200 sitting there with the same status > message > > Lost connection with mail.proweb.co.uk while sending MAIL FROM > > Has anybody else had this issue and if so how did you fix it. > Sounds like mail.proweb.co.uk is rejecting your connection. Is that a server you control? What do it's logs say about the transaction? If it's not a server you control, are you following standard/expected SMTP conventions? Is the e-mail address being used as the from valid (i.e. is the @domain part legitimate and exist in DNS)? This often comes from the hostname of the machine if you've not configured postfix to masquerade that. Does the public IP for your sending machine have valid reverse DNS, not on an RBL, not on a known 'dynamic' IP? Are you permitted to use that server to send mail? -- 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 ------------------------------------------------------------------------------ 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 jperrin at gmail.com Thu Feb 19 17:17:46 2009 From: jperrin at gmail.com (Jim Perrin) Date: Thu, 19 Feb 2009 11:17:46 -0500 Subject: status.log pb In-Reply-To: <499D82AD.6090107@inserm.fr> References: <499D6B5C.90808@inserm.fr> <499D7B5D.9040901@inserm.fr> <499D82AD.6090107@inserm.fr> Message-ID: <302ce8b50902190817i4626e1te5687518bd57d8d0@mail.gmail.com> On Thu, Feb 19, 2009 at 11:02 AM, St?phane Cesbron wrote: > I'm still having the following statement : > There doesn't appear to be any host status information in the status log... > > Make sure that Nagios is running and that you have specified the > location of you status log correctly in the configuration files. >> -- You have very likely updated to nagios 3.x from 2.x in rpmforge, without following the discussion on the changes in packaging. There are some minor config changes that you need to make. I do not have the email postings handy but you can find them in the rpmforge user list archives I'm sure. -- During times of universal deceit, telling the truth becomes a revolutionary act. George Orwell ------------------------------------------------------------------------------ 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 Thu Feb 19 17:19:18 2009 From: marc at ena.com (Marc Powell) Date: Thu, 19 Feb 2009 10:19:18 -0600 Subject: Contacts on templates In-Reply-To: <499D8189.9010205@ipp.pt> References: <499D8189.9010205@ipp.pt> Message-ID: On Feb 19, 2009, at 9:58 AM, Jaime Ventura wrote: > What happens in this case is that "contact_groups" on "my-new-service" > replaces the "contact_groups" on the template. > Is there a way do append instead of replace? See 'Additive Inheritance of String Values' at http://nagios.sourceforge.net/docs/3_0/objectinheritance.html -- 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 Thu Feb 19 17:40:31 2009 From: marc at ena.com (Marc Powell) Date: Thu, 19 Feb 2009 10:40:31 -0600 Subject: Nagios + Postfix In-Reply-To: References: Message-ID: On Feb 19, 2009, at 10:11 AM, Martyn wrote: > Proweb is not under my control > > I'm not to sure what you mean with regards to the rest of you reply, > I have > not set up postfix to masquerade anything, would not know how to do > that Google does though. Search for 'postfix domain change'. You're probably going to be most interested in mydomain, myhostname and perhaps myorigin. > I'm sending the mail from the Nagios Server from address > nagios at cna.localhost to notify at proweb.co.uk Yup, I'd reject that too. cna.localhost isn't a valid hostname or domain. > I have not configured postfix in anyway, the install guide just > implied that > I did the following and it would work out of the box so to speak Yes, the install guide has to assume that the MTA packages and configuration for whatever system you are using are sane. It's your responsibility to make sure they are. Doing that is beyond the scope of nagios. -- 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 martyn at chetnet.co.uk Thu Feb 19 17:53:30 2009 From: martyn at chetnet.co.uk (Martyn) Date: Thu, 19 Feb 2009 16:53:30 -0000 Subject: Nagios + Postfix In-Reply-To: References: Message-ID: Cheers Marc, am on to it right now -----Original Message----- From: Marc Powell [mailto:marc at ena.com] Sent: 19 February 2009 16:41 To: Nagios Users Subject: Re: [Nagios-users] Nagios + Postfix On Feb 19, 2009, at 10:11 AM, Martyn wrote: > Proweb is not under my control > > I'm not to sure what you mean with regards to the rest of you reply, I > have not set up postfix to masquerade anything, would not know how to > do that Google does though. Search for 'postfix domain change'. You're probably going to be most interested in mydomain, myhostname and perhaps myorigin. > I'm sending the mail from the Nagios Server from address > nagios at cna.localhost to notify at proweb.co.uk Yup, I'd reject that too. cna.localhost isn't a valid hostname or domain. > I have not configured postfix in anyway, the install guide just > implied that I did the following and it would work out of the box so > to speak Yes, the install guide has to assume that the MTA packages and configuration for whatever system you are using are sane. It's your responsibility to make sure they are. Doing that is beyond the scope of nagios. -- 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 ------------------------------------------------------------------------------ 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 cbeattie at geninfo.com Thu Feb 19 19:09:47 2009 From: cbeattie at geninfo.com (Chris Beattie) Date: Thu, 19 Feb 2009 13:09:47 -0500 Subject: New to Nagios - Need help with nagios.cfg In-Reply-To: <37c712e0902181218u911f211m65003b2743a9bb85@mail.gmail.com> References: <4ABA3E162F60624A949503A7F960245EB0E242A71A@CLEHBEXMS01.broadvox.local> <1751195435.2178961234881276543.JavaMail.root@zimbra16-e3.priv.proxad.net> <4ABA3E162F60624A949503A7F960245EB0E269585B@CLEHBEXMS01.broadvox.local> <4ABA3E162F60624A949503A7F960245EB0E2695906@CLEHBEXMS01.broadvox.local> <4ABA3E162F60624A949503A7F960245EB0E2695B8B@CLEHBEXMS01.broadvox.local> <4ABA3E162F60624A949503A7F960245EB0E2695BC6@CLEHBEXMS01.broadvox.local> <37c712e0902181218u911f211m65003b2743a9bb85@mail.gmail.com> Message-ID: <499DA06B.1050901@geninfo.com> Allan Clark wrote: > Aren't those two files the first duplicates? > > Remove all *~ files -- I assume your editor created these. Try again after: I use gedit to edit my Nagios configuration files, and it's set to make backups whose filenames end with a tilde by default. Nagios ignores them since it's looking only for *.cfg, but they do visually pollute the directory listing and I tell rsync to exclude them when I copy the config files from dev to production. -- 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. ------------------------------------------------------------------------------ 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 cbeattie at geninfo.com Thu Feb 19 19:35:36 2009 From: cbeattie at geninfo.com (Chris Beattie) Date: Thu, 19 Feb 2009 13:35:36 -0500 Subject: Using SLES10 and Nagios 3.x under VMWare In-Reply-To: <84836290D5AD43418C40DCF0C4A54ED38E3A33@kogex02.pmpl.co.uk> References: <84836290D5AD43418C40DCF0C4A54ED38E3A33@kogex02.pmpl.co.uk> Message-ID: <499DA678.2030402@geninfo.com> Deborah Martin wrote: > > I've never used SLES10 + Nagios 3.x as a VM Ware box and I wondered if any > of you had come > across any issues that I should be aware of. I run Nagios in a dual-CPU VM (CentOS 5.2 guest on VMWare ESX 3.something). Once in a while, Nagios would shut down some time after midnight. I suspect that ESX is pretty busy while the other VMs are being backed up. The system log had entries like this: Jan 7 00:18:17 Monitor2 nagios: Caught SIGSEGV, shutting down... Jan 7 00:18:27 Monitor2 kernel: BUG: soft lockup - CPU#1 stuck for 10s! [check_nt:21036] Jan 7 00:18:27 Monitor2 kernel: CPU 1: It didn't happen all the time, and there wasn't much I could do about it when it did happen. I created another Nagios VM identical to the first, except it's got a script which monitors the primary server and takes over if the primary fails. Nagios is not started on the failover server, so it takes very few resources to keep idling along. There are ~550 hosts and ~4500 services being monitored, and the two virtual CPUs run around 80% each in the Gnome system monitor app, and 1.3-2.0 in the load averages. They're both 3.0 virtual GHz, if I recall correctly. I have large installation tweaks turned on as well. The Nagios server is busy enough all the time that the server guys have mentioned going back to physical hardware if I have to add much more. From a user's perspective, I can't tell it's on a VM. I think the slowest part is how quickly my PC can render Nagios' web pages. -- 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. ------------------------------------------------------------------------------ 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 Jim.Melin at co.hennepin.mn.us Thu Feb 19 19:28:41 2009 From: Jim.Melin at co.hennepin.mn.us (Jim.Melin at co.hennepin.mn.us) Date: Thu, 19 Feb 2009 12:28:41 -0600 Subject: Greetings. Anyone using Oracle Grid Control to send alert data into Nagios? Message-ID: I'm looking to have Oracle grid control send alert data into Nagios. Thus far I've only been doing things via NRPE, as it's a fairly small monitoring structure. I was wondering if anyone was interfacing to Oracle grid control, what information you were getting from it and how you were getting that information into Nagios. And if anyone is using an event handler in conjunction with this, what sorts of things are you using event handlers for? James Melin Sr. Systems Software Programmer Hennepin County Mainframe Services 612-348-7147 Disclaimer: Information in this message or an attachment may be government data and thereby subject to the Minnesota Government Data Practices Act, Minnesota Statutes, Chapter 13, may be subject to attorney-client or work product privilege, may be confidential, privileged, proprietary, or otherwise protected, and the unauthorized review, copying, retransmission, or other use or disclosure of the information is strictly prohibited. If you are not the intended recipient of this message, please immediately notify the sender of the transmission error and then promptly delete this message from your computer system. ------------------------------------------------------------------------------ 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 allanc at chickenandporn.com Thu Feb 19 20:32:19 2009 From: allanc at chickenandporn.com (Allan Clark) Date: Thu, 19 Feb 2009 14:32:19 -0500 Subject: New to Nagios - Need help with nagios.cfg In-Reply-To: <499DA06B.1050901@geninfo.com> References: <4ABA3E162F60624A949503A7F960245EB0E242A71A@CLEHBEXMS01.broadvox.local> <1751195435.2178961234881276543.JavaMail.root@zimbra16-e3.priv.proxad.net> <4ABA3E162F60624A949503A7F960245EB0E269585B@CLEHBEXMS01.broadvox.local> <4ABA3E162F60624A949503A7F960245EB0E2695906@CLEHBEXMS01.broadvox.local> <4ABA3E162F60624A949503A7F960245EB0E2695B8B@CLEHBEXMS01.broadvox.local> <4ABA3E162F60624A949503A7F960245EB0E2695BC6@CLEHBEXMS01.broadvox.local> <37c712e0902181218u911f211m65003b2743a9bb85@mail.gmail.com> <499DA06B.1050901@geninfo.com> Message-ID: <37c712e0902191132q5335abb8k8d4938a04e6ca70a@mail.gmail.com> On Thu, Feb 19, 2009 at 13:09, Chris Beattie wrote: > Allan Clark wrote: > >> Aren't those two files the first duplicates? >> >> Remove all *~ files -- I assume your editor created these. Try again >> after: >> > > I use gedit to edit my Nagios configuration files, and it's set to make > backups whose filenames end with a tilde by default. Nagios ignores them > since it's looking only for *.cfg, but they do visually pollute the > directory listing and I tell rsync to exclude them when I copy the config > files from dev to production. Indeed, I see it above in the same file (xdata/xodtemplate.c at 978): case S_IFREG: x=strlen(dirfile->d_name); if(x<=4 || strcmp(dirfile->d_name+(x-4),".cfg")) break; Thanks. In this case, there was a cfg_file and cfg_dir values causing the same file to be parsed twice, but O.P. is checking another failure now. Allan -- allanc at chickenandporn.com "??" http://linkedin.com/in/goldfish please, no proprietary attachments (http://tinyurl.com/cbgq) -------------- 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 Thu Feb 19 20:31:42 2009 From: satish at linuxbug.org (Satish Patel) Date: Thu, 19 Feb 2009 14:31:42 -0500 Subject: Cacti intigrate with nagios Message-ID: <20090219143142.v7isz05iscc804co@mail.lintelindia.com> I have nagios running and now i want to intergate my cacti with nagios so i have only one frontend. anybody has done before this solution? please let me know. 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 Bill.York at state.nm.us Thu Feb 19 21:01:57 2009 From: Bill.York at state.nm.us (York, Bill, DoIT) Date: Thu, 19 Feb 2009 13:01:57 -0700 Subject: brocade snmp reports ifAdminStatus incorrectly Message-ID: Hi all, I know this is probably the wrong place to post this, but it does pertain to Nagios. I encountered a problem while using snmp4nagios. the program is supposed to report admin=up/oper=down as a critical error. i was testing this by unplugging the fiber from a host on the switch. when i do this, the check_brocade_port program was generating a WARNING, saying that the admin status as down. it reports exactly the same message as when i administratively disable the same port. curiously enough, logging on to the switch and running a switchshow displays the correct status. that is, not disabled and NO_LIGHT. That condition should report adminstatus=up and operstatus=down. this seems to me to be an issue with brocade's snmp vs. the internals of the switch. has anyone else encountered this issue and is there a way to get the switch to report the ifAdminStatus correctly? thanks, bill york Confidentiality Notice: This e-mail, including all attachments is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited unless specifically provided under the New Mexico Inspection of Public Records Act. If you are not the intended recipient, please contact the sender and destroy all copies of this message. -- This email has been scanned by the Sybari - Antigen Email System. -------------- 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 martyn at chetnet.co.uk Thu Feb 19 21:13:11 2009 From: martyn at chetnet.co.uk (Martyn) Date: Thu, 19 Feb 2009 20:13:11 -0000 Subject: Nagios + Postfix In-Reply-To: References: Message-ID: I have tried for the last few hours buy I can not resolve it, where have I gone wrong, below is my config ############################################################################ ################################# # See /usr/share/postfix/main.cf.dist for a commented, more complete version # Debian specific: Specifying a file name will cause the first # line of that file to be used as the name. The Debian default # is /etc/mailname. #myorigin = /etc/mailname smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu) biff = no # appending .domain is the MUA's job. append_dot_mydomain = no # Uncomment the next line to generate "delayed mail" warnings #delay_warning_time = 4h readme_directory = no # TLS parameters smtpd_tls_cert_file = /etc/ssl/certs/ssl-cert-snakeoil.pem smtpd_tls_key_file = /etc/ssl/private/ssl-cert-snakeoil.key smtpd_use_tls = yes smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache # See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for # information on enabling SSL in the smtp client. myhostname = chetnet.co.uk alias_maps = hash:/etc/aliases alias_database = hash:/etc/aliases mailbox_size_limit = 0 recipient_delimiter = + smtpd_recipient_restrictions = permit_mynetworks permit_inet_interfaces Thanks ############################################################################ ############### -----Original Message----- From: Marc Powell [mailto:marc at ena.com] Sent: 19 February 2009 16:41 To: Nagios Users Subject: Re: [Nagios-users] Nagios + Postfix On Feb 19, 2009, at 10:11 AM, Martyn wrote: > Proweb is not under my control > > I'm not to sure what you mean with regards to the rest of you reply, I > have not set up postfix to masquerade anything, would not know how to > do that Google does though. Search for 'postfix domain change'. You're probably going to be most interested in mydomain, myhostname and perhaps myorigin. > I'm sending the mail from the Nagios Server from address > nagios at cna.localhost to notify at proweb.co.uk Yup, I'd reject that too. cna.localhost isn't a valid hostname or domain. > I have not configured postfix in anyway, the install guide just > implied that I did the following and it would work out of the box so > to speak Yes, the install guide has to assume that the MTA packages and configuration for whatever system you are using are sane. It's your responsibility to make sure they are. Doing that is beyond the scope of nagios. -- 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 cyruspy at gmail.com Thu Feb 19 21:16:34 2009 From: cyruspy at gmail.com (Ciro Iriarte) Date: Thu, 19 Feb 2009 17:16:34 -0300 Subject: Using SLES10 and Nagios 3.x under VMWare In-Reply-To: <84836290D5AD43418C40DCF0C4A54ED38E3A35@kogex02.pmpl.co.uk> References: <84836290D5AD43418C40DCF0C4A54ED38E3A35@kogex02.pmpl.co.uk> Message-ID: 2009/2/19 Deborah Martin : > Hi Christian, > > The vmware environment (i.e Sles10) is built by IT services here so I don't > have any insight on this part. > > I shall then build nagios from source so that I have a more granular control > over where things go although it's mostly > to standard places i.e /usr/local/nagios etc > > > > regards, > deborah > > -----Original Message----- > From: Christian Schneemann [mailto:cschneemann at suse.de] > Sent: 19 February 2009 14:17 > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Using SLES10 and Nagios 3.x under VMWare > > On Thursday February 19 2009 02:30:29 pm Deborah Martin wrote: >> Hi, >> >> I've never used SLES10 + Nagios 3.x as a VM Ware box and I wondered if >> any of you had come across any issues that I should be aware of. (A >> new environment is being built in this way to replace an old PC >> running nagios) >> >> Basically, the nagios 3.x setup is very simple. We use it to monitor >> database activity such as RAM or disk usage amongst others using >> plugins that I wrote. >> >> Nagios monitors a few other nodes using ping or ssh but other than >> that it's not a complicated setup. >> >> Any feedback / advice on running Nagios within VM Ware would be really >> useful. >> >> thanks, >> deborah > Hi, > we've used an vmware image for testing our config and new nagios packages > and everything went fine. We now changed to xen guests because I prefer xen > ;) > > I see no problems with running nagios in a virtual machine. > > Do you use the official packages from SLES or the ones from buildservice? Or > do you install nagios from sources? > > Greetings, > Christian > If you are running a 32 bits machine, you can use the kernel that has VMware's paravirtualization support and ask your infrastructure admin to enable that option in the VM. I'm running nagios v3 from BuildService on a Xen domU with SLES10SP2. Regards, -- Ciro Iriarte http://cyruspy.wordpress.com -- ------------------------------------------------------------------------------ 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 doherty at crystal.harvard.edu Thu Feb 19 23:13:58 2009 From: doherty at crystal.harvard.edu (Peter Doherty) Date: Thu, 19 Feb 2009 17:13:58 -0500 Subject: check_ntp_peer unreliable on macs Message-ID: <8708358F-E3D4-4778-A90D-0C5C533CE746@crystal.harvard.edu> I've got Nagios monitoring several Macs, and I'd like to know that NTP is running okay on them, since if the time drifts by a few minutes, Kerberos Authentication stops working. It seems that some of the newest Macs work okay, pretty much any of the Intel Macs running 10.5 Leopard work, but on any of the 10.4 Tiger Macs, I just get " NTP CRITICAL: Server not synchronized, Offset unknown " I'm simply running check_ntp_peer -H localhost Any suggestions on if this can be fixed somehow? Thanks --Peter ------------------------------------------------------------------------------ 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 smalhotra at chinetworks.com Thu Feb 19 23:53:56 2009 From: smalhotra at chinetworks.com (Sumit Malhotra) Date: Thu, 19 Feb 2009 16:53:56 -0600 Subject: Nagios + Postfix In-Reply-To: References: Message-ID: <3DDF9BB3F227C44D9095E36ABBF7CF019BCACF@MX01.exchange.dataarmor.net> Change the name in /etc/mailname. - Sumit -----Original Message----- From: Martyn [mailto:martyn at chetnet.co.uk] Sent: Thursday, February 19, 2009 2:13 PM To: 'Marc Powell'; 'Nagios Users' Subject: Re: [Nagios-users] Nagios + Postfix I have tried for the last few hours buy I can not resolve it, where have I gone wrong, below is my config ######################################################################## #### ################################# # See /usr/share/postfix/main.cf.dist for a commented, more complete version # Debian specific: Specifying a file name will cause the first # line of that file to be used as the name. The Debian default # is /etc/mailname. #myorigin = /etc/mailname smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu) biff = no # appending .domain is the MUA's job. append_dot_mydomain = no # Uncomment the next line to generate "delayed mail" warnings #delay_warning_time = 4h readme_directory = no # TLS parameters smtpd_tls_cert_file = /etc/ssl/certs/ssl-cert-snakeoil.pem smtpd_tls_key_file = /etc/ssl/private/ssl-cert-snakeoil.key smtpd_use_tls = yes smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache # See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for # information on enabling SSL in the smtp client. myhostname = chetnet.co.uk alias_maps = hash:/etc/aliases alias_database = hash:/etc/aliases mailbox_size_limit = 0 recipient_delimiter = + smtpd_recipient_restrictions = permit_mynetworks permit_inet_interfaces Thanks ######################################################################## #### ############### -----Original Message----- From: Marc Powell [mailto:marc at ena.com] Sent: 19 February 2009 16:41 To: Nagios Users Subject: Re: [Nagios-users] Nagios + Postfix On Feb 19, 2009, at 10:11 AM, Martyn wrote: > Proweb is not under my control > > I'm not to sure what you mean with regards to the rest of you reply, I > have not set up postfix to masquerade anything, would not know how to > do that Google does though. Search for 'postfix domain change'. You're probably going to be most interested in mydomain, myhostname and perhaps myorigin. > I'm sending the mail from the Nagios Server from address > nagios at cna.localhost to notify at proweb.co.uk Yup, I'd reject that too. cna.localhost isn't a valid hostname or domain. > I have not configured postfix in anyway, the install guide just > implied that I did the following and it would work out of the box so > to speak Yes, the install guide has to assume that the MTA packages and configuration for whatever system you are using are sane. It's your responsibility to make sure they are. Doing that is beyond the scope of nagios. -- 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 ------------------------------------------------------------------------------ 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 Thu Feb 19 22:47:22 2009 From: martyn at chetnet.co.uk (Martyn) Date: Thu, 19 Feb 2009 21:47:22 -0000 Subject: Nagios + Postfix Message-ID: With this setting myhostname = chetnet.co.uk I can send mails to an external mail box at proweb.co.uk, so it goes from an account at chetnet.co.uk to an account at proweb.co.uk But if I send a mail to alert at chetnet.co.uk I get to following This is the mail system at host chetnet.co.uk. ############################################################# I'm sorry to have to inform you that your message could not be delivered to one or more recipients. It's attached below. For further assistance, please send mail to postmaster. If you do so, please include this problem report. You can delete your own text from the attached returned message. The mail system unknown user: "alert" ############################################################## Why is this, does postfix believe that this user should be on the same box? If so I can I force mails to chetnet be sent out to chetnet, this is confusing me now. Thanks -----Original Message----- From: Martyn [mailto:martyn at chetnet.co.uk] Sent: 19 February 2009 20:13 To: 'Marc Powell'; 'Nagios Users' Subject: RE: [Nagios-users] Nagios + Postfix I have tried for the last few hours buy I can not resolve it, where have I gone wrong, below is my config ############################################################################ ################################# # See /usr/share/postfix/main.cf.dist for a commented, more complete version # Debian specific: Specifying a file name will cause the first # line of that file to be used as the name. The Debian default # is /etc/mailname. #myorigin = /etc/mailname smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu) biff = no # appending .domain is the MUA's job. append_dot_mydomain = no # Uncomment the next line to generate "delayed mail" warnings #delay_warning_time = 4h readme_directory = no # TLS parameters smtpd_tls_cert_file = /etc/ssl/certs/ssl-cert-snakeoil.pem smtpd_tls_key_file = /etc/ssl/private/ssl-cert-snakeoil.key smtpd_use_tls = yes smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache # See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for # information on enabling SSL in the smtp client. myhostname = chetnet.co.uk alias_maps = hash:/etc/aliases alias_database = hash:/etc/aliases mailbox_size_limit = 0 recipient_delimiter = + smtpd_recipient_restrictions = permit_mynetworks permit_inet_interfaces Thanks ############################################################################ ############### -----Original Message----- From: Marc Powell [mailto:marc at ena.com] Sent: 19 February 2009 16:41 To: Nagios Users Subject: Re: [Nagios-users] Nagios + Postfix On Feb 19, 2009, at 10:11 AM, Martyn wrote: > Proweb is not under my control > > I'm not to sure what you mean with regards to the rest of you reply, I > have not set up postfix to masquerade anything, would not know how to > do that Google does though. Search for 'postfix domain change'. You're probably going to be most interested in mydomain, myhostname and perhaps myorigin. > I'm sending the mail from the Nagios Server from address > nagios at cna.localhost to notify at proweb.co.uk Yup, I'd reject that too. cna.localhost isn't a valid hostname or domain. > I have not configured postfix in anyway, the install guide just > implied that I did the following and it would work out of the box so > to speak Yes, the install guide has to assume that the MTA packages and configuration for whatever system you are using are sane. It's your responsibility to make sure they are. Doing that is beyond the scope of nagios. -- 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 satish at linuxbug.org Fri Feb 20 01:17:33 2009 From: satish at linuxbug.org (Satish Patel) Date: Thu, 19 Feb 2009 19:17:33 -0500 Subject: Cacti intigrate with nagios In-Reply-To: References: <20090219143142.v7isz05iscc804co@mail.lintelindia.com> Message-ID: <20090219191733.eeb5w7j7dw0o88sc@mail.lintelindia.com> Thanks! but reason is i am using cacti since last 4 years and there is lots of historical data which i dont want to lost thats why i want to integrate existing cacti with nagios. that why i am looking plugin which help me to do this i have read about cacinda but there is not more document on net so its difficult to work on this if you guy already using this solution so please suggest me i will be happier... Regards, Satish Patel Quoting Max : > Many of us have used Cacti and Nagios together (I did for several > years) :), some probably still do. better to go with a Nagios-centric > graphing add-on like PNP (there are others available as well!) and not > use Cacti at all .. trust me, you will be a happier person for not > using both at the same time. > > You can write scripts that auto-add hosts to Nagios based on the Cacti > database or vice-versa but it gets ugly pretty quickly. > > I personally replaced Cacti with PNP and am very content with the > combination; MUCH less administration time than Cacti + Nagios and PNP > makes adding new templates much easier than Cacti does for people who > are comfortable with RRD syntax. > > - Max > > On Thu, Feb 19, 2009 at 2:31 PM, Satish Patel wrote: >> >> I have nagios running and now i want to intergate my cacti with nagios >> so i have only one frontend. anybody has done before this solution? >> please let me know. >> >> >> 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 >> > ------------------------------------------------------------------------------ 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 20 03:14:49 2009 From: perldork at webwizarddesign.com (Max) Date: Thu, 19 Feb 2009 21:14:49 -0500 Subject: Cacti intigrate with nagios In-Reply-To: <20090219191733.eeb5w7j7dw0o88sc@mail.lintelindia.com> References: <20090219143142.v7isz05iscc804co@mail.lintelindia.com> <20090219191733.eeb5w7j7dw0o88sc@mail.lintelindia.com> Message-ID: Hi Satish, I wrote Cacinda, it is good for integrating the displays of the two, but does nothing to help with host and user management. Sorry. Cacti uses RRD, so does PNP, so I would think you could use RRD files from Cacti with PNP; haven't tried, but I don't see why that wouldn't work. You could set up PNP, copy the files from Cacti into PNP directories and play with making a few templates and if that works then just use PNP to view the historical files from Cacti in one location and use a separate instance for new data. =- Max On Thu, Feb 19, 2009 at 7:17 PM, Satish Patel wrote: > Thanks! > > but reason is i am using cacti since last 4 years and there is lots of > historical data which i dont want to lost thats why i want to integrate > existing cacti with nagios. that why i am looking plugin which help me to do > this i have read about cacinda but there is not more document on net so its > difficult to work on this if you guy already using this solution so please > suggest me i will be happier... > > > > Regards, > > Satish Patel > > > Quoting Max : > >> Many of us have used Cacti and Nagios together (I did for several >> years) :), some probably still do. better to go with a Nagios-centric >> graphing add-on like PNP (there are others available as well!) and not >> use Cacti at all .. trust me, you will be a happier person for not >> using both at the same time. >> >> You can write scripts that auto-add hosts to Nagios based on the Cacti >> database or vice-versa but it gets ugly pretty quickly. >> >> I personally replaced Cacti with PNP and am very content with the >> combination; MUCH less administration time than Cacti + Nagios and PNP >> makes adding new templates much easier than Cacti does for people who >> are comfortable with RRD syntax. >> >> - Max >> >> On Thu, Feb 19, 2009 at 2:31 PM, Satish Patel wrote: >>> >>> I have nagios running and now i want to intergate my cacti with nagios >>> so i have only one frontend. anybody has done before this solution? >>> please let me know. >>> >>> >>> 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 >>> >> > > > > ------------------------------------------------------------------------------ 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 syed_jafar at hotmail.com Fri Feb 20 04:51:09 2009 From: syed_jafar at hotmail.com (syed jafar) Date: Fri, 20 Feb 2009 03:51:09 +0000 Subject: Nagios and Solaris 10 client In-Reply-To: <20090219191733.eeb5w7j7dw0o88sc@mail.lintelindia.com> References: <20090219143142.v7isz05iscc804co@mail.lintelindia.com> <20090219191733.eeb5w7j7dw0o88sc@mail.lintelindia.com> Message-ID: Does anyone know how to add Solaris 10 client to NAGIOS host/server. The server is running LINUX and I am trying to add Solaris 10 client and want to be able to monitor disk space and CPU utilization. I was getting errors during the addon compilation ans was told to compile using the -n option which disables SSL. Now when I try to run the nrpe I seem to be getting the SSL errors. What is the proper was the add clients to monitor the disk and CPU utilization. Thanks, Syed Jafar -------------- 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 kyleodonnell at gmail.com Fri Feb 20 05:39:06 2009 From: kyleodonnell at gmail.com (Kyle O'Donnell) Date: Thu, 19 Feb 2009 23:39:06 -0500 Subject: Nagios and Solaris 10 client In-Reply-To: References: <20090219143142.v7isz05iscc804co@mail.lintelindia.com> <20090219191733.eeb5w7j7dw0o88sc@mail.lintelindia.com> Message-ID: <2274b9c30902192039o2154360aubcf1a63d713fdbae@mail.gmail.com> there are binaries for nrpe available on the nagiosexchange.org site. you must run the nrpe daemon with the -n option and when using check_nrpe On Thu, Feb 19, 2009 at 10:51 PM, syed jafar wrote: > > > Does anyone know how to add Solaris 10 client to NAGIOS host/server. The > server is running LINUX and I am trying to add Solaris 10 client and want to > be able to monitor disk space and CPU utilization. I was getting errors > during the addon compilation ans was told to compile using the -n option > which disables SSL. Now when I try to run the nrpe I seem to be getting the > SSL errors. What is the proper was the add clients to monitor the disk and > CPU utilization. > > > > Thanks, > > Syed Jafar > > > ------------------------------------------------------------------------------ > 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 matthewmelvin at gmail.com Fri Feb 20 07:06:50 2009 From: matthewmelvin at gmail.com (Matthew Melvin) Date: Fri, 20 Feb 2009 16:06:50 +1000 Subject: Problem executing plugins under nagios 3.0.6 In-Reply-To: <1234329173.3569.70.camel@localhost.localdomain> References: <1234329173.3569.70.camel@localhost.localdomain> Message-ID: <1235110010.3531.60.camel@localhost.localdomain> On Wed, 2009-02-11 at 15:12 +1000, Matthew Melvin wrote: > 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) To follow up... essentially the E2BIG was happening not because **argv was too large, but because **envp was. NAGIOS_HOSTGROUPMEMBERS alone was many KBs. Setting... enable_environment_macros=0 ... seems to have resolved my issue. M. -- ... with eskimo chain i tattooed my brain all the way... ------------------------------------------------------------------------------ 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 mr_nagas at yahoo.com Fri Feb 20 07:24:58 2009 From: mr_nagas at yahoo.com (nagaraj raj) Date: Thu, 19 Feb 2009 22:24:58 -0800 (PST) Subject: Nagios 3.0.6 NagiosExcahnge Google Map Support Message-ID: <444273.12876.qm@web54102.mail.re2.yahoo.com> Hi can anyone suggest me where to get google map support with nagios. I just need the link.I tried quite a few links which where the files where either corrupted or broken . Btw I am setting up in Fedora linux Environment Regards Nagarajan ------------------------------------------------------------------------------ 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 low at modog.com Fri Feb 20 14:40:04 2009 From: low at modog.com (Seth P. Low) Date: Fri, 20 Feb 2009 08:40:04 -0500 Subject: $SERVICENOTIFICATIONID$ - Bug/issue in 3.0.6 ? Message-ID: <15DE1A7F91855E49A18A487C43846C8B59135A3EF8@modog2.modog.com> Hello, I am attempting to use the $SERVICENOTIFICATIONID$ macro in notifications as part of new auditing initiative. However, in Nagios 3.0.6, it is not behaving as expected. If I trip an alert, I get a notification with the $SERVICENOTIFICATIONID$ included in the body. The next alert to come in (say the recovery) is not incremented by one as I would have expected. I have checked the logs and this was the next notification sent out so it is not as if some other notifications were sent out to other users which I missed. I did see several state changes which would account for the numeric delta but none of those triggered an alert/notification. So, in a way, it appears as if the $SERVICENOTIFICATIONID$ macro is behaving much more like the $SERVICEEVENTID$ macro. Either this is a bug or I am mi sunderstanding the macro definition or I am doing something incorrectly. Can anyone else confirm either the correct or incorrect behavior in 3.0.6 or explain what I am missing here? Thanks as always, -Seth ------------------------------------------------------------------------------ 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 satish at linuxbug.org Fri Feb 20 14:36:29 2009 From: satish at linuxbug.org (Satish Patel) Date: Fri, 20 Feb 2009 08:36:29 -0500 Subject: Cacti intigrate with nagios In-Reply-To: References: <20090219143142.v7isz05iscc804co@mail.lintelindia.com> <20090219191733.eeb5w7j7dw0o88sc@mail.lintelindia.com> Message-ID: <20090220083629.0o2ai5elq8scs48k@mail.lintelindia.com> Thanks! I dont want any with thresholds its plain integration thing is that i dont want to login both interface for same problem (monitoring) i need easy administration so i can make happy my client. end user dont know about what is cacti and what is nagios i just want to give them one interface example : www.nagiomonitoring.com so they login into and check host services as well as host graph i am ready to add host on both system nagios and cacti but only watching from single interface i hope you got my idea.. i just want to create URL on nagios hosts for whenever i click on URL it takes me to cacti gharphing.... cool but not easy..i need your input... Regards, Satish Patel Quoting "D. Emmanuel Feinsmith" : > Satish, > > Are you wanting to integrate the thresholds with Nagios, or the graphs, > or ? To integrate the thresholds, you need to create a process of some > kind that pulls data periodically out of the Cacti threshold database > table and submit it as a passive check result to Nagios. > > If you want to integrate the RRDs into the Nagios UI, you'd basically > have to modify the Nagios CGIs, which is probably not a great idea, > since from what I hear, they are changing them a great deal in a > forthcoming release. > > You could also create some kind of framework which offers single sign > on for both Cacti and Nagios and have a single web console with both > Nagios and Cacti on it. > > Daniel. > > On Feb 19, 2009, at 4:17 PM, Satish Patel wrote: > >> Thanks! >> >> but reason is i am using cacti since last 4 years and there is lots of >> historical data which i dont want to lost thats why i want to >> integrate existing cacti with nagios. that why i am looking plugin >> which help me to do this i have read about cacinda but there is not >> more document on net so its difficult to work on this if you guy >> already using this solution so please suggest me i will be happier... >> >> >> >> Regards, >> >> Satish Patel >> >> >> Quoting Max : >> >>> Many of us have used Cacti and Nagios together (I did for several >>> years) :), some probably still do. better to go with a Nagios-centric >>> graphing add-on like PNP (there are others available as well!) and not >>> use Cacti at all .. trust me, you will be a happier person for not >>> using both at the same time. >>> >>> You can write scripts that auto-add hosts to Nagios based on the Cacti >>> database or vice-versa but it gets ugly pretty quickly. >>> >>> I personally replaced Cacti with PNP and am very content with the >>> combination; MUCH less administration time than Cacti + Nagios and PNP >>> makes adding new templates much easier than Cacti does for people who >>> are comfortable with RRD syntax. >>> >>> - Max >>> >>> On Thu, Feb 19, 2009 at 2:31 PM, Satish Patel wrote: >>>> >>>> I have nagios running and now i want to intergate my cacti with nagios >>>> so i have only one frontend. anybody has done before this solution? >>>> please let me know. >>>> >>>> >>>> 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 >>>> >>> >> >> >> >> >> ------------------------------------------------------------------------------ >> 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 satish at linuxbug.org Fri Feb 20 14:40:57 2009 From: satish at linuxbug.org (Satish Patel) Date: Fri, 20 Feb 2009 08:40:57 -0500 Subject: Cacti intigrate with nagios In-Reply-To: References: <20090219143142.v7isz05iscc804co@mail.lintelindia.com> <20090219191733.eeb5w7j7dw0o88sc@mail.lintelindia.com> Message-ID: <20090220084057.uo47h8a2lcocsc0s@mail.lintelindia.com> I will try this solution.. but one more problem is i have installed cacinda and when i open it on URL then i only can see host list and i select host it showing mesg "No device class match for host" ( no graph there) can you help me on this for to resolve cacinda problem... Regards, Satish Patel Quoting Max : > Hi Satish, > > I wrote Cacinda, it is good for integrating the displays of the two, > but does nothing to help with host and user management. Sorry. > > Cacti uses RRD, so does PNP, so I would think you could use RRD files > from Cacti with PNP; haven't tried, but I don't see why that wouldn't > work. > > You could set up PNP, copy the files from Cacti into PNP directories > and play with making a few templates and if that works then just use > PNP to view the historical files from Cacti in one location and use a > separate instance for new data. > > =- Max > > On Thu, Feb 19, 2009 at 7:17 PM, Satish Patel wrote: >> Thanks! >> >> but reason is i am using cacti since last 4 years and there is lots of >> historical data which i dont want to lost thats why i want to integrate >> existing cacti with nagios. that why i am looking plugin which help me to do >> this i have read about cacinda but there is not more document on net so its >> difficult to work on this if you guy already using this solution so please >> suggest me i will be happier... >> >> >> >> Regards, >> >> Satish Patel >> >> >> Quoting Max : >> >>> Many of us have used Cacti and Nagios together (I did for several >>> years) :), some probably still do. better to go with a Nagios-centric >>> graphing add-on like PNP (there are others available as well!) and not >>> use Cacti at all .. trust me, you will be a happier person for not >>> using both at the same time. >>> >>> You can write scripts that auto-add hosts to Nagios based on the Cacti >>> database or vice-versa but it gets ugly pretty quickly. >>> >>> I personally replaced Cacti with PNP and am very content with the >>> combination; MUCH less administration time than Cacti + Nagios and PNP >>> makes adding new templates much easier than Cacti does for people who >>> are comfortable with RRD syntax. >>> >>> - Max >>> >>> On Thu, Feb 19, 2009 at 2:31 PM, Satish Patel wrote: >>>> >>>> I have nagios running and now i want to intergate my cacti with nagios >>>> so i have only one frontend. anybody has done before this solution? >>>> please let me know. >>>> >>>> >>>> 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 >>>> >>> >> >> >> >> > ------------------------------------------------------------------------------ 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 20 15:04:38 2009 From: perldork at webwizarddesign.com (Max) Date: Fri, 20 Feb 2009 09:04:38 -0500 Subject: Cacti intigrate with nagios In-Reply-To: <20090220083629.0o2ai5elq8scs48k@mail.lintelindia.com> References: <20090219143142.v7isz05iscc804co@mail.lintelindia.com> <20090219191733.eeb5w7j7dw0o88sc@mail.lintelindia.com> <20090220083629.0o2ai5elq8scs48k@mail.lintelindia.com> Message-ID: Hi Satish, On Fri, Feb 20, 2009 at 8:36 AM, Satish Patel wrote: > I dont want any with thresholds its plain integration thing is that i > dont want to login both interface for same problem (monitoring) i need > easy administration so i can make happy my client. > > end user dont know about what is cacti and what is nagios i just want > to give them one interface example : www.nagiomonitoring.com so they > login into and check host services as well as host graph i am ready to > add host on both system nagios and cacti but only watching from single > interface i hope you got my idea.. Read up on the notes_url attribute of hosts and services :), you can easily set that up to jump a user from Nagios to PNP or Cacti .. that might be the way to go for you .. have users log into Nagios, then just provide links into Cacti / PNP from Nagios using the notes_url. If Cacti is installed on an Intranet / trusted network, then you can allow the guest user to have read all access so that when users jump from Nagios to Cacti they will not be redirected to the Cacti login page .. that is how I used to integrate the two from an web perspective before I started on Cacinda. Cacinda does provide a unified view but the additional work to maintain yet another piece of software just to have a Cacti/Nagios view might not honestly be worth it for you. - 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 perldork at webwizarddesign.com Fri Feb 20 15:06:51 2009 From: perldork at webwizarddesign.com (Max) Date: Fri, 20 Feb 2009 09:06:51 -0500 Subject: Cacti intigrate with nagios In-Reply-To: <20090220084057.uo47h8a2lcocsc0s@mail.lintelindia.com> References: <20090219143142.v7isz05iscc804co@mail.lintelindia.com> <20090219191733.eeb5w7j7dw0o88sc@mail.lintelindia.com> <20090220084057.uo47h8a2lcocsc0s@mail.lintelindia.com> Message-ID: On Fri, Feb 20, 2009 at 8:40 AM, Satish Patel wrote: > I will try this solution.. but one more problem is i have installed cacinda > and when i open it on URL then i only can see host list and i select host it > showing mesg "No device class match for host" ( no graph there) > > can you help me on this for to resolve cacinda problem... I responded to you on the Cacinda-General mailing list, please follow up with me there and I will help you get cacinda working or diagnose the issue to a point where you can fix it yourself or submit a bug report to me ;). - 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 steve at sliderule.demon.co.uk Fri Feb 20 14:08:03 2009 From: steve at sliderule.demon.co.uk (Steve Burton) Date: Fri, 20 Feb 2009 13:08:03 +0000 Subject: Which books are best for Nagios 3 In-Reply-To: <16b031c0902041606n3b977f1cyc5b1c3143b9c3fd6@mail.gmail.com> References: <4974B76E.9090706@simutronics.com> <630FB972-5875-403F-92F6-2DBD4A5EB598@ena.com> <16b031c0902041606n3b977f1cyc5b1c3143b9c3fd6@mail.gmail.com> Message-ID: <499EAB33.6050002@sliderule.demon.co.uk> 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 alexdehaini at gmail.com Fri Feb 20 15:43:44 2009 From: alexdehaini at gmail.com (Alex Dehaini) Date: Fri, 20 Feb 2009 14:43:44 +0000 Subject: Service Checks Message-ID: <4b008f7d0902200643i474f03fel579faf54d1ff05c2@mail.gmail.com> Hi Guys, I have about 200 hosts and 400 services. My sys spec is about P4 2.4 Ghz and 2Gb of RAM. I want to check each service every 20 seconds and update the CGI interface. Any clues how I can achieve this? Regards, -- Alex Dehaini Developer Site - www.alexdehaini.com Email - alexdehaini at gmail.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 TNeu at sjm.com Fri Feb 20 15:43:49 2009 From: TNeu at sjm.com (Neu, Timothy) Date: Fri, 20 Feb 2009 08:43:49 -0600 Subject: Nagios and Solaris 10 client In-Reply-To: References: <20090219143142.v7isz05iscc804co@mail.lintelindia.com> <20090219191733.eeb5w7j7dw0o88sc@mail.lintelindia.com> Message-ID: See http://www.utahsysadmin.com/2008/03/14/configuring-nagios-plugins-nrpe-o n-solaris-10/ I had to change the logging code as well as the cipher list change mentioned in the comments. Tim Neu Tel +1 651 756 6383 Fax +1 651 490 4310 Mobile +1 651 238 8816 tneu at sjm.com ________________________________ From: syed jafar [mailto:syed_jafar at hotmail.com] Sent: Thursday, February 19, 2009 9:51 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagios and Solaris 10 client Does anyone know how to add Solaris 10 client to NAGIOS host/server. The server is running LINUX and I am trying to add Solaris 10 client and want to be able to monitor disk space and CPU utilization. I was getting errors during the addon compilation ans was told to compile using the -n option which disables SSL. Now when I try to run the nrpe I seem to be getting the SSL errors. What is the proper was the add clients to monitor the disk and CPU utilization. Thanks, Syed Jafar This communication, including any attachments, may contain information that is proprietary, privileged, confidential or legally exempt from disclosure. If you are not a named addressee, you are hereby notified that you are not authorized to read, print, retain a copy of or disseminate any portion of this communication without the consent of the sender and that doing so may be unlawful. If you have received this communication in error, please immediately notify the sender via return e-mail and delete it from your system. -------------- 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 Fri Feb 20 15:39:34 2009 From: satish at linuxbug.org (Satish Patel) Date: Fri, 20 Feb 2009 09:39:34 -0500 Subject: status map Message-ID: <20090220093934.0twk0bpp4cwo8gwc@mail.lintelindia.com> I have +100 Host and routers so that when i goes into status map my map is mass its like junky... is that anyway to i can change look i have select balace tree but is there any other way i can set it default for map or i can see hierarical diagram 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 perldork at webwizarddesign.com Fri Feb 20 16:20:44 2009 From: perldork at webwizarddesign.com (Max) Date: Fri, 20 Feb 2009 10:20:44 -0500 Subject: status map In-Reply-To: <20090220093934.0twk0bpp4cwo8gwc@mail.lintelindia.com> References: <20090220093934.0twk0bpp4cwo8gwc@mail.lintelindia.com> Message-ID: On Fri, Feb 20, 2009 at 9:39 AM, Satish Patel wrote: > I have +100 Host and routers so that when i goes into status map my > map is mass its like junky... > > is that anyway to i can change look i have select balace tree but is > there any other way i can set it default for map or i can see > hierarical diagram if you install Nagios2JSON you can take the JSON representation of the status map and visualize that programmatically using your own code or the code of others if anyone has built an add-on that does cool things with that feed yet (haven't checked in a while to see if there are projects out yet that use the JSON feed from Nagios2JSON). That is what I plan on doing as we are into the thousands of hosts and the map is useless for us as well at this point :). http://www.yannj.fr/nagios2json I bellieve Yann or someone else has built a backend for NagVis that reads the Nagios2JSON JSON for doing custom service and host-level front ends with NagVis ... that might cover building a visual map of all hosts as well with the automap features of NagVis. http://www.nagvis.org/ - 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 slacker.ar at gmail.com Fri Feb 20 17:23:35 2009 From: slacker.ar at gmail.com (Dario Hernan) Date: Fri, 20 Feb 2009 14:23:35 -0200 Subject: negios with different user's profile Message-ID: <9bc19ef30902200823n16611dc3s33c4567388d490d1@mail.gmail.com> Hi all! Im new to Nagios and I want to have differents view for different sites with user authentication. For example, I want to create 3 users and that the user1 only can view servers on site1, the user2 only can view servers on site2 and the user3 only can view servers on site3. I found the DashBoard addon on nagiosexchange page. Does someone use it? or can you recommend me some alternative? Thanks in advance. Dario ------------------------------------------------------------------------------ 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 jonathan.wheeler at stfc.ac.uk Fri Feb 20 17:30:08 2009 From: jonathan.wheeler at stfc.ac.uk (Wheeler, JF (Jonathan)) Date: Fri, 20 Feb 2009 16:30:08 -0000 Subject: Mixing different versions of Nagios Message-ID: With a master/slave(s) Nagios configuration, is it possible to run with Nagios version 3 on the master and Nagios version 2 on the slaves, given that the communication is by NSCA (slave returning results to master) and NRPE (master checking that slaves are running)? Is the other arrangement possible (i.e. Nagios 3 on slaves and Nagios 2 on the master)? Jonathan Wheeler e-Science Centre Rutherford Appleton Laboratory -- Scanned by iCritical. ------------------------------------------------------------------------------ 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 20 18:10:46 2009 From: marc at ena.com (Marc Powell) Date: Fri, 20 Feb 2009 11:10:46 -0600 Subject: negios with different user's profile In-Reply-To: <9bc19ef30902200823n16611dc3s33c4567388d490d1@mail.gmail.com> References: <9bc19ef30902200823n16611dc3s33c4567388d490d1@mail.gmail.com> Message-ID: On Feb 20, 2009, at 10:23 AM, Dario Hernan wrote: > Hi all! Im new to Nagios and I want to have differents view for > different sites with user authentication. > For example, I want to create 3 users and that the user1 only can view > servers on site1, the user2 only can view servers on site2 and the > user3 only can view servers on site3. Nagios does this automagically when authentication is enabled and the user is a contact for the host/service. Nagios Looking Glass is another option if you need to restrict what they can do with the hosts they see. -- 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 20 18:11:44 2009 From: marc at ena.com (Marc Powell) Date: Fri, 20 Feb 2009 11:11:44 -0600 Subject: Mixing different versions of Nagios In-Reply-To: References: Message-ID: <0F962BC4-ABBC-4DC1-819F-279194E1B357@ena.com> On Feb 20, 2009, at 10:30 AM, Wheeler, JF (Jonathan) wrote: > With a master/slave(s) Nagios configuration, is it possible to run > with > Nagios version 3 on the master and Nagios version 2 on the slaves, > given > that the communication is by NSCA (slave returning results to master) > and NRPE (master checking that slaves are running)? Is the other > arrangement possible (i.e. Nagios 3 on slaves and Nagios 2 on the > master)? Yup. Those protocols, and the external commands used by NSCA, are well defined and haven't changed. -- 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 martyn at chetnet.co.uk Fri Feb 20 18:40:53 2009 From: martyn at chetnet.co.uk (Martyn) Date: Fri, 20 Feb 2009 17:40:53 -0000 Subject: NRPE Message-ID: Do I need to load Nagios plugins as well as NRPE on the Linux box I want to monitor, I will be monitoring it remotely. I have read users comments saying you do and some say you do not Cheers 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 20 18:45:32 2009 From: jpratt at norwich.edu (James Pratt) Date: Fri, 20 Feb 2009 12:45:32 -0500 Subject: NRPE In-Reply-To: References: Message-ID: <8147CCE3C4A8764DA9980125EE70E8238F343B@nuexchg.norwich.edu> > -----Original Message----- > From: Martyn [mailto:martyn at chetnet.co.uk] > Sent: Friday, February 20, 2009 12:41 PM > To: 'Nagios Users' > Subject: [Nagios-users] NRPE > > Do I need to load Nagios plugins as well as NRPE on the Linux box I want to monitor, > I will be monitoring it remotely. > I have read users comments saying you do and some say you do not > > Cheers > > Martyn If you plan to call any of the check_* commands in /usr/local/nagios/libexec on the remote box, yes you will need nagios-plugins and nrpe on the remote box... 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 20 18:53:04 2009 From: marc at ena.com (Marc Powell) Date: Fri, 20 Feb 2009 11:53:04 -0600 Subject: NRPE In-Reply-To: References: Message-ID: <81EC8132-CE92-45A8-9720-D617EB12EB39@ena.com> On Feb 20, 2009, at 11:40 AM, Martyn wrote: > Do I need to load Nagios plugins as well as NRPE on the Linux box I > want to monitor, I will be monitoring it remotely. > I have read users comments saying you do and some say you do not > Yes, you do, but only those plugins you intend to use. NRPE is just a way of executing a program that already exists on a remote host and passing it's output back to nagios. -- 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 satish at linuxbug.org Fri Feb 20 19:18:22 2009 From: satish at linuxbug.org (Satish Patel) Date: Fri, 20 Feb 2009 13:18:22 -0500 Subject: status map In-Reply-To: References: <20090220093934.0twk0bpp4cwo8gwc@mail.lintelindia.com> Message-ID: <20090220131822.bjww47yu0cocsk0k@mail.lintelindia.com> Many Many Thanks! i will try and get back to mailing list. Regards, Satish Patel Quoting Max : > On Fri, Feb 20, 2009 at 9:39 AM, Satish Patel wrote: >> I have +100 Host and routers so that when i goes into status map my >> map is mass its like junky... >> >> is that anyway to i can change look i have select balace tree but is >> there any other way i can set it default for map or i can see >> hierarical diagram > > if you install Nagios2JSON you can take the JSON representation of the > status map and visualize that programmatically using your own code or > the code of others if anyone has built an add-on that does cool things > with that feed yet (haven't checked in a while to see if there are > projects out yet that use the JSON feed from Nagios2JSON). That is > what I plan on doing as we are into the thousands of hosts and the map > is useless for us as well at this point :). > > http://www.yannj.fr/nagios2json > > I bellieve Yann or someone else has built a backend for NagVis that > reads the Nagios2JSON JSON for doing custom service and host-level > front ends with NagVis ... that might cover building a visual map of > all hosts as well with the automap features of NagVis. > > http://www.nagvis.org/ > > - 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 satish at linuxbug.org Fri Feb 20 19:20:57 2009 From: satish at linuxbug.org (Satish Patel) Date: Fri, 20 Feb 2009 13:20:57 -0500 Subject: status map In-Reply-To: <20090220151831.M48886@decon230.org> References: <20090220093934.0twk0bpp4cwo8gwc@mail.lintelindia.com> <20090220151831.M48886@decon230.org> Message-ID: <20090220132057.s0nwaf968sgcoocc@mail.lintelindia.com> I am doing the same thing but problem is due to number of host my status map looks ugly i want it in single base no more scroll and look like good tree Regards, Satish Patel Quoting hw : > Hi, > > you can try to build your own status map with hostextinfo. > For example > ---<-- > #my router > define hostextinfo{ > host_name myrouter > notes bla bla > icon_image firewall_router.gif > icon_image_alt myrouter > statusmap_image firewall_router.gd2 > vrml_image firewall_router.gif > #x , y coordinates > 2d_coords 200,50 > } > --->-- > > You can even use 3d_coords, as far as I remember. > If you want to have another default map, you have to change > > default_statusmap_layout=0 > > to anything you like. > > Regards, > > Heiko > > On Fri, 20 Feb 2009 09:39:34 -0500, Satish Patel wrote >> I have +100 Host and routers so that when i goes into status map my >> map is mass its like junky... >> >> is that anyway to i can change look i have select balace tree but is >> there any other way i can set it default for map or i can see >> hierarical diagram >> >> 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 > > ------------------------------------------------------------------------------ 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 satish at linuxbug.org Fri Feb 20 19:22:04 2009 From: satish at linuxbug.org (Satish Patel) Date: Fri, 20 Feb 2009 13:22:04 -0500 Subject: [Cacinda-general] blank graph In-Reply-To: References: <20090219191932.dr72rpa9q8oook8s@mail.lintelindia.com> <20090220084535.rrhitpbi804ogwok@mail.lintelindia.com> <20090220093559.oe8gj0wgu8cwoow4@mail.lintelindia.com> Message-ID: <20090220132204.4j1kjk5u88gow4g4@mail.lintelindia.com> I am using cacinda-0.1-alpha.tar Regards, Satish Patel Quoting Max Schubert : > Are you using the CVS code or the last public release from sf.net that > is available as a .tar.gz file? > > On Fri, Feb 20, 2009 at 9:35 AM, Satish Patel wrote: >> Devices like Routers 7200, 3600, 6500 switch which is in datacenter but i am >> not intrested in that i only want host ( Linux Server ) intergarte with >> nagios. >> >> I am sening my configuration file and error mesg screen shot as an attched >> document. >> >> I am also confused at this part >> >> // What to match/replace in order to make host name Nagios-friendly >> $NAGIOS_HOST_MATCH = ''; >> $NAGIOS_HOST_REPLACE = ''; >> $NAGIOS_STATUS_URL = >> 'http://ustnsto-mgmt01.us.tnsofres.com/nagios/cgi-bin/status.cgi'; >> >> >> >> Here you go for configuration "config.php" >> >> > >> // Default port >> $SNMP_PORT = 161; >> >> // Hosts per row for all.php >> $HOSTS_PER_ROW = 4; >> >> $ALL_HOSTS_WHERE = "1 = 1"; >> >> $CACTI_USERNAME = 'root'; >> $CACTI_PASSWORD = ''; >> $CACTI_HOST = 'localhost'; >> $CACTI_SOCKET = false; >> $CACTI_DATABASE = 'cacti'; >> $CACTI_URL = '/cacti'; >> >> // For device selection menu; if blank all users can select any host from >> // a host view page, otherwise user must be a Cacti user administrator to >> view >> // the status of all hosts. >> $CACTI_CHECK_AUTH = 0; >> >> // Font to use for generated graphs >> // If you are on a system that has fonts in non-standard locations, use >> // the full path, e.g. >> // /usr/local/lib/php/fonts/arial.ttf >> >> $TTF_GRAPH_FONT = 'Arial'; >> >> // What to match/replace in order to make host name Nagios-friendly >> $NAGIOS_HOST_MATCH = ''; >> $NAGIOS_HOST_REPLACE = ''; >> $NAGIOS_STATUS_URL = >> 'http://ustnsto-mgmt01.us.tnsofres.com/nagios/cgi-bin/status.cgi'; >> >> >> include_once('inc/functions.php'); >> >> class Configuration { >> >> function port() { >> global $SNMP_PORT; >> return $SNMP_PORT; >> } >> >> function hosts_per_row() { >> global $HOSTS_PER_ROW; >> return $HOSTS_PER_ROW; >> } >> >> function max_part_count() { >> global $MAX_PART_COUNT; >> return $MAX_PART_COUNT; >> } >> >> function nagios_url() { >> global $NAGIOS_STATUS_URL; >> return $NAGIOS_STATUS_URL; >> } >> >> function nagios_host_match() { >> global $NAGIOS_HOST_MATCH; >> return $NAGIOS_HOST_MATCH; >> } >> >> function nagios_host_replace() { >> global $NAGIOS_HOST_REPLACE; >> return $NAGIOS_HOST_REPLACE; >> } >> >> function ttf_graph_font() { >> global $TTF_GRAPH_FONT; >> return $TTF_GRAPH_FONT; >> } >> >> function cacti_config() { >> global $CACTI_DATABASE, $CACTI_USERNAME, $CACTI_PASSWORD, >> $CACTI_HOST, $CACTI_SOCKET, $CACTI_DATABASE, >> $CACTI_URL, $CACTI_CHECK_AUTH; >> >> $info = array(); >> $info['db'] = $CACTI_DATABASE; >> $info['host'] = $CACTI_HOST; >> $info['user'] = $CACTI_USERNAME; >> $info['pass'] = $CACTI_PASSWORD; >> $info['socket'] = $CACTI_SOCKET; >> $info['cacti_url'] = $CACTI_URL; >> $info['check_auth'] = $CACTI_CHECK_AUTH; >> >> return $info; >> } >> >> function all_hosts_where() { >> global $ALL_HOSTS_WHERE; >> return $ALL_HOSTS_WHERE; >> } >> >> } >> >> ?> >> >> >> >> >> >> >> Regards, >> >> Satish Patel >> >> >> Quoting Max Schubert : >> >>> What models of devices, Satish? >>> >>> On Fri, Feb 20, 2009 at 8:45 AM, Satish Patel wrote: >>>> >>>> I have Routers and hosts in cacti and i am integration cacti with nagios >>>> with help of cacinda i have install it and when i tried to open URL then >>>> i >>>> show me select host when i select it, It is not showing me graph and for >>>> localhost selection on cacinda its showing "No devices match class for >>>> host" >>>> >>>> >>>> Regards, >>>> >>>> Satish Patel >>>> >>>> >>>> Quoting Max Schubert : >>>> >>>>> Hi Satish, >>>>> >>>>> What kind of a device are the graphs associated with? I have not done >>>>> much with this project (as you can tell), especially since I converted >>>>> to using PNP, happy to help you with debugging this issue though :). >>>>> >>>>> - Max >>>>> >>>>> On Thu, Feb 19, 2009 at 7:19 PM, Satish Patel >>>>> wrote: >>>>>> >>>>>> I have installed cacinda and configure it but when i run it ask me to >>>>>> select host and when i select host it gives error like no device class >>>>>> found. if anybody have same error and solved it then please suggest me >>>>>> why i am not able to watch graphs? >>>>>> >>>>>> >>>>>> 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 >>>>>> _______________________________________________ >>>>>> Cacinda-general mailing list >>>>>> Cacinda-general at lists.sourceforge.net >>>>>> https://lists.sourceforge.net/lists/listinfo/cacinda-general >>>>>> >>>>> >>>> >>>> >>>> >>>> >>> >> >> >> > ------------------------------------------------------------------------------ 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 Fri Feb 20 23:43:23 2009 From: echatham at broadvox.net (Eric Chatham) Date: Fri, 20 Feb 2009 17:43:23 -0500 Subject: Installing and configuring Nagiosgraph Message-ID: <4ABA3E162F60624A949503A7F960245EB0E26963A8@CLEHBEXMS01.broadvox.local> Hello, I downloaded the nagiosgraph tar from http://nagiosgraph.sf.net/. I extracted the files to "/usr/local/nagios" and even created a symlink for it. My question is, how do I configure the plug-in? I already have RRDtool installed on this server. Here are some environmental settings for my server: rrddir= /usr/local/rrdtool-1.3.6/lib/perl/5.8.8/i386-linux-thread-multi/ rrdtool=/usr/local/rrdtool-1.3.6/bin/rrdtool When I run "install.pl," I receive the following error: [root@ ~ nagiosgraph]# pwd /usr/local/nagios/nagiosgraph [root@ ~ nagiosgraph]# ./install.pl Can't locate RRDs.pm in @INC (@INC contains: etc /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 etc/ngshared.pm line 66. BEGIN failed--compilation aborted at etc/ngshared.pm line 66. Compilation failed in require at ./install.pl line 72. BEGIN failed--compilation aborted at ./install.pl line 72. Do I need to configure "../etc/nagiosgraph.conf?" Eric Chatham Broadvox MIS Department Phone: (216) 373-4683 Fax: (216) 373-4669 echatham at broadvox.net [cid:image001.jpg at 01C99382.003896F0] ________________________________ 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 -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 3734 bytes Desc: image001.jpg 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 mail at reox-design.net Fri Feb 20 22:34:24 2009 From: mail at reox-design.net (Sebastian Bachmann) Date: Fri, 20 Feb 2009 22:34:24 +0100 Subject: Whoops Error for no reason Message-ID: <499F21E0.5080101@reox-design.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello, Yesterday i added a new host in my nagios config. After adding the host i reloaded the daemon and checked the cgi webinterface to check the host. But the Webinterface give my since this reconfiguration a Whoops Error ("*Error: Could not read object configuration data!"). I restarted the daemon, checked the config with -v (2 warning and 0 errors) and finally restarted the server. I also removed the new host from the config, but I'm getting still this error. I checked the FAQ, Mailingslists and Google and only found unansweard threads - seems to be a nice problem :D ps faux shows me nagios running: nagios 30461 0.0 0.0 34384 1884 ? SNsl 22:10 0:00 /usr/sbin/nagios3 -d /etc/nagios3/nagios.cfg nagios -v ... tells me Total Warnings: 2 Total Errors: 0 Things look okay - No serious problems were detected during the pre-flight check So i really cant find any problems? where is it hiding? Thanks for help! Sebastian* -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iQEcBAEBAgAGBQJJnyHgAAoJEMk5DteJqDfPuC4H/iPR6tEcWHU0VLB5HWU7hDvq px6KtR9tB03RSloNFPZ72KTWiDn83GihRvPe0AOqYjnGG4+ocuZ3V1ESM+H5aiXI q06u4Tj5j8XGWepje97ZjCQvT32+bUNnJe7J4YQQIGcpyg0W/brEthLDXOWwEwTJ 89jAoWGJyLYvUT3DJLn9c/kOlIxP8YTBXiLyDieXPE+DSmasQ1glzo3QQkRPJHQt D0lP+0BqfiWijL1zdG2scVEVelZTfPs3AtJ3yg3ndcdLsZ/x63DRhr4o0w/rMoUo mkrqD2eXvZs3srx4QJ4P4No+x0iPnMQnooTvPzHS7Tl2VpWpmwnMlhV3Q18CvTs= =dFWv -----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 replysonika at gmail.com Sat Feb 21 01:09:04 2009 From: replysonika at gmail.com (Sonika Sachdeva) Date: Fri, 20 Feb 2009 16:09:04 -0800 Subject: Nagios configuration for SAN monitoring Message-ID: <8e2991480902201609r6743f95cg4efe1118b1b85f5f@mail.gmail.com> Hello List, I have nagios basic configuration up and running as per the quickstart guide. I also have SNMP4nagios installed and running and the command works from the command line as follows /usr/local/bin/check_brocade_port -H x.x.x.x -C mystring -T -i 5 -I addinf OK - Port 5: I: 527243 kFCW, 1109528922 FCF; O: 1204391 kFCW, 2066880039 FCF|addinf;6;1;539897616;1233297068;1109528922;2066880039 How do I integrate this command in nagios and start the logging and graphing functionality for brocade ports. can someone point me to a tutorial/guide. Has someone used nagios for SAN monitoring? Thanks, Sonika -------------- 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 andurin at process-zero.de Sat Feb 21 07:52:50 2009 From: andurin at process-zero.de (Hendrik Baecker) Date: Sat, 21 Feb 2009 07:52:50 +0100 Subject: Whoops Error for no reason In-Reply-To: <499F21E0.5080101@reox-design.net> References: <499F21E0.5080101@reox-design.net> Message-ID: <499FA4C2.3070305@process-zero.de> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Sebastian Bachmann schrieb: > Hello, > Yesterday i added a new host in my nagios config. After adding the > host i reloaded the daemon and checked the cgi webinterface to check > the host. But the Webinterface give my since this reconfiguration a > Whoops Error ("*Error: Could not read object configuration data!"). I > restarted the daemon, checked the config with -v (2 warning and 0 > errors) and finally restarted the server. I also removed the new host > from the config, but I'm getting still this error. > I checked the FAQ, Mailingslists and Google and only found unansweard > threads - seems to be a nice problem :D > Are you running NDOUtils? If so, the initital data transfer after a nagios reload may take some while until nagios warms up. Regards, Hendrik -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (Darwin) iEUEARECAAYFAkmfpMIACgkQlI0PwfxLQjkEmACfXV+DxUdbYYYE7UiCW/sWeeOa LjsAmJyOAtiLE0apsh1zUNSbiVRor4k= =0PLQ -----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 mail at reox-design.net Sat Feb 21 15:07:03 2009 From: mail at reox-design.net (Sebastian Bachmann) Date: Sat, 21 Feb 2009 15:07:03 +0100 Subject: Whoops Error for no reason In-Reply-To: <499FA4C2.3070305@process-zero.de> References: <499F21E0.5080101@reox-design.net> <499FA4C2.3070305@process-zero.de> Message-ID: <49A00A87.6050802@reox-design.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hendrik Baecker schrieb: > > > Sebastian Bachmann schrieb: >> Hello, Yesterday i added a new host in my nagios config. After >> adding the host i reloaded the daemon and checked the cgi >> webinterface to check the host. But the Webinterface give my >> since this reconfiguration a Whoops Error ("*Error: Could not >> read object configuration data!"). I restarted the daemon, >> checked the config with -v (2 warning and 0 errors) and finally >> restarted the server. I also removed the new host from the >> config, but I'm getting still this error. I checked the FAQ, >> Mailingslists and Google and only found unansweard threads - >> seems to be a nice problem :D > > Are you running NDOUtils? If so, the initital data transfer after a > nagios reload may take some while until nagios warms up. > no, ndoutils are not even installed. I checked the cgi interface 5 min ago (the last reload was ~10h ago) but still the Whoops Error. regards, sebastian bachmann -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iQEcBAEBAgAGBQJJoAqHAAoJEMk5DteJqDfPTKoH/3JNp7i95VF9Ahs7SmRmAvQ/ Dr3Jpi8AsALUxK2Z2C4aSiCl9RVRyNywArO7yBRizukwAXxCMXrCCtTkE/MshXzN 3MPlIUwgoCRL8C0V1mCVqeNOh5yJ009rm2R9HTie3zOtNPBAe18gKWTk5P/zhnTi UIDW4TR6xDDajaHNR33X468g00GMKHmeAkWO/lFHZJs/ZOI8qesXi+eKEZiepQTs YCkUcM6lmq+KMlOR9IVVhPBfTTMO4//0cwx0KTSn9J32OXFJ6iAXIGWsazTeXk2j RTOCijg28o/VsU12O1akrKLA5hHy0HD9OaS18jj8fOUOcEKXWeHd+YTQUsPgZ3s= =+XzW -----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 21 17:43:14 2009 From: JCasale at activenetwerx.com (Joseph L. Casale) Date: Sat, 21 Feb 2009 09:43:14 -0700 Subject: Issue with debugging plugin Message-ID: <49627735003F5C479100225C339F9FE0DB2CEA7DCB@Mail.activenetwerx.int> I have an snmp plugin that when ran at the cli works, when setup as a check works for all other hosts, and in only in some scenarios works for this one problematic host. I turn up debugging in the nagios.cfg but it doesn't show what exactly is happening when it executes the check. Is there any way to see what its actually executing and the full return so I can try and figure out what is going on? 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 JCasale at activenetwerx.com Sat Feb 21 18:27:27 2009 From: JCasale at activenetwerx.com (Joseph L. Casale) Date: Sat, 21 Feb 2009 10:27:27 -0700 Subject: Issue with debugging plugin In-Reply-To: <49627735003F5C479100225C339F9FE0DB2CEA7DCB@Mail.activenetwerx.int> References: <49627735003F5C479100225C339F9FE0DB2CEA7DCB@Mail.activenetwerx.int> Message-ID: <49627735003F5C479100225C339F9FE0DB2CEA7DCC@Mail.activenetwerx.int> >Is there any way to see what its actually >executing and the full return so I can try and figure out what is going on? Sorry guys, missed the FAQ: http://www.nagios.org/faqs/viewfaq.php?faq_id=162 But I think there is an error and I also have an issue with it. The FAQ suggests #!/bin/sh echo `date` >> /tmp/debug_check_http_plugin echo $* /tmp/debug_check_http_plugin /usr/local/nagios/libexec/check_http $* which I think should have an >> after the first $*, not two spaces. Also, I am using this with an snmp plugin, and when I setup my service with an argument of !"Long Phrase with many words" it gets executed properly (I found my issue) but when the debug check script runs it, the original plugin only uses the first word when the last line of the script executes? Something to do with the way in which nagios versus the shell processes the string of cmds? Any ideas on this one? 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 jim at jimavery.me.uk Sat Feb 21 23:38:42 2009 From: jim at jimavery.me.uk (Jim Avery) Date: Sat, 21 Feb 2009 22:38:42 +0000 Subject: Nagios 3.0.6 Fails to play sound in browser! In-Reply-To: <577509.22532.qm@web33205.mail.mud.yahoo.com> References: <577509.22532.qm@web33205.mail.mud.yahoo.com> Message-ID: <765d77c80902211438j5a0578dbh596519d86f5e7705@mail.gmail.com> 2009/1/9 faris : > Hi, > > I am using Nagios 3.0.6 > OS : RHEL4 Update 4 > > Problem: after configuring nagios and when accessing it from a client > mechine (winXP) firefox or IE browser, nagios fails to play sound when there > is an alert. but if i degrade nagios to a nagios version 2.x sound problem > is gone! can anybody tell me how to fix this issue in nagios 3.0.6 and > succefully play alert sound, which is currnetly the stable release. I don't use the sound alerts myself so am not 100% sure, but I think there may be a clue in the changelog at http://www.nagios.org/development/history/nagios-3x.php [quote] 3.0.5 - 11/04/2008 * Security fix for Cross Site Request Forgery (CSRF) bug reported by Tim Starling. -->* Sample audio files for CGIs removed from distribution * Fix for mutliline config file continuation bug * Minor fix to RPM spec file * Fix for AIX compiler warnings * Minor sample config file fix * Added documentation on CGI security issues [/quote] hth, Jim ------------------------------------------------------------------------------ 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 jim at jimavery.me.uk Sun Feb 22 00:43:30 2009 From: jim at jimavery.me.uk (Jim Avery) Date: Sat, 21 Feb 2009 23:43:30 +0000 Subject: NDOutils and Nagios startup speed In-Reply-To: <498100C3.7010507@iweb.com> References: <497E3D53.7020805@iweb.com> <3B2F2B42-A788-42B1-A5B0-A4A22F1B6EEB@ena.com> <498100C3.7010507@iweb.com> Message-ID: <765d77c80902211543s5ae33eb6u882779754de1112d@mail.gmail.com> 2009/1/29 Mathieu Gagn? : > One way to speed up Nagios start when using NDOutils is to tweak > "event_broker_options". > > Here is my new configuration, based on constants defined in > include/broker.h: > > # BROKER_EVERYTHING 1048575 > # -BROKER_TIMED_EVENTS 2 > # -BROKER_SERVICE_CHECKS 4 > # -BROKER_HOST_CHECKS 8 > > event_broker_options=1048561 > > I personally don't care about raw host/service check results and > internal scheduling. It's already available in nagios.log and don't need > to access such data remotely. Also host/service status are already > available in nagios_hoststatus and nagios_servicestatus. > > There's probably more to disable. That's interesting. I've been disabling some of the data_processing_options in ndomod.cfg as listed in ndomod.h instead up until now. I should have probably done what you recommended and changed the event broker options as that's earlier in the process. I just tried like you said - the time saving looks the same but it does make more sense to do it your way as it's closer to where the data starts from. I have tinkered with some of the settings in ndo2db.cfg for how long to keep data for (I only ever really need the most recent data myself). So I now have: # Keep timed events for 24 hours max_timedevents_age=1440 # Keep system commands for 24 hours max_systemcommands_age=1440 # Keep service checks for 24 hours max_servicechecks_age=1440 # Keep host checks for 24 hours max_hostchecks_age=1440 # Keep event handlers for 24 hours max_eventhandlers_age=1440 This helped hugely on my old Nagios 2 server. I confess I didn't take comparative timings when I changed these on my Nagios 3 server. I just tried adding those indexes you recommended in another post, but it made little or no difference in my setup, probably because my tables are so small now anyway! I have no doubt that if I hadn't shrunk those tables the indexes would make quite a difference. What I'm wondering now is whether it would help if I moved the ndo2db process off my Nagios server and on to my database server (currently ndo2db lives on my Nagios server and connects to the database on the remote db server). Does anyone have any thoughts on that? Cheers, Jim ------------------------------------------------------------------------------ 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 jim at jimavery.me.uk Sun Feb 22 01:17:25 2009 From: jim at jimavery.me.uk (Jim Avery) Date: Sun, 22 Feb 2009 00:17:25 +0000 Subject: added PNP in the default mode; how serious is the performance degradation to warrant a switch to the bulk mode? In-Reply-To: References: Message-ID: <765d77c80902211617r2a058ad3l854492ce21b830d0@mail.gmail.com> 2009/2/5 Rahul Nabar : > 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? A lot depends on how frequently you collect your data. If you gather performance data for ten services on each of those 300 hosts every minute you're probably asking for trouble, but if you only gather a couple of metrics from each host every 15 minutes, that's not likely to break anything. If you add PNP to all of your 300 hosts and your Nagios server struggles, I'd definitely consider whether you can reduce your check frequency and still have all the information you need before messing about with bulk mode. I have implemented bulk mode, but only on the local server. My four-cpu system is coping okay with 1500 or so rrd files, but a lot of those are updated using checks at 5 minute, 15 minute or even less frequent intervals. I don't think implementing bulk mode locally made a great deal of difference but expect that offloading the processing to another server would make a huge difference if I ever get around to doing that. If you're worried about performance, I'd also maybe look at how efficient your plugins are. If you're running a large number of checks at frequent intervals using inefficient plugins this can have a marked detrimental effect on performance. Cheers, Jim ------------------------------------------------------------------------------ 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 cyruspy at gmail.com Sun Feb 22 05:33:33 2009 From: cyruspy at gmail.com (Ciro Iriarte) Date: Sun, 22 Feb 2009 01:33:33 -0300 Subject: Greetings. Anyone using Oracle Grid Control to send alert data into Nagios? In-Reply-To: References: Message-ID: 2009/2/19 : > > I'm looking to have Oracle grid control send alert data into Nagios. Thus far I've only been doing things via NRPE, as it's a fairly small monitoring > structure. > > I was wondering if anyone was interfacing to Oracle grid control, what information you were getting from it and how you were getting that information > into Nagios. And if anyone is using an event handler in conjunction with this, what sorts of things are you using event handlers for? > > James Melin > Sr. Systems Software Programmer > Hennepin County Mainframe Services > 612-348-7147 > Never used that application, but if it has support for SNMP (I believe it does), you can write a script to collect data with snmpget (snmpwalk will give you a list of all you can extract from the agent). Nagios can also work with SNMP traps. Regards, -- Ciro Iriarte http://cyruspy.wordpress.com -- ------------------------------------------------------------------------------ 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 jim at jimavery.me.uk Sun Feb 22 12:26:48 2009 From: jim at jimavery.me.uk (Jim Avery) Date: Sun, 22 Feb 2009 11:26:48 +0000 Subject: Greetings. Anyone using Oracle Grid Control to send alert data into Nagios? In-Reply-To: References: Message-ID: <765d77c80902220326o538504b1ic5b7db8b559f2038@mail.gmail.com> 2009/2/19 : > > I'm looking to have Oracle grid control send alert data into Nagios. Thus far I've only been doing things via NRPE, as it's a fairly small monitoring > structure. > > I was wondering if anyone was interfacing to Oracle grid control, what information you were getting from it and how you were getting that information > into Nagios. And if anyone is using an event handler in conjunction with this, what sorts of things are you using event handlers for? Our DBAs have configured Grid Control to send snmp traps to the Nagios server. I use snmptt to receive the traps and NagTrap to put them in a database and display them in Nagios. My setup is quite simple so all the traps appear to come from the Grid Control server not from the server hosting the relevant db. With a little scripting you can filter the traps so Nagios will display them against the appropriate host. I haven't tried querying Grid Control using SNMP yet, although I believe it's possible. Cheers, Jim ------------------------------------------------------------------------------ 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 Mon Feb 23 06:59:02 2009 From: ian at acces.co.jp (Ian Masters) Date: Mon, 23 Feb 2009 14:59:02 +0900 Subject: Nagios 3.0.6 Fails to play sound in browser! In-Reply-To: <49A204B5.4020700@acces.co.jp> References: <577509.22532.qm@web33205.mail.mud.yahoo.com> <765d77c80902211438j5a0578dbh596519d86f5e7705@mail.gmail.com> <49A204B5.4020700@acces.co.jp> Message-ID: <49A23B26.8000903@acces.co.jp> However, looking at Nagios's Changelog, there's obviously some attention being paid to the subject of audio alerts. Firstly, in 3.0.5: * Sample audio files for CGIs removed from distribution I'd like to know why that was done. Secondly, in 3.0.6 * Fixes for playing audio alerts in CGIs If anyone has Nagios 3.0.6 playing alert sounds without the Nagios Checker Firefox plugin, I'd be very interested to know. Ian -- Nagios 3.0.6 (with plugins v1.4.13) on CentOS 5.2; Firefox 3.0.6 ------------------------------------------------------------------------------ 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 Mon Feb 23 07:18:51 2009 From: ian at acces.co.jp (Ian Masters) Date: Mon, 23 Feb 2009 15:18:51 +0900 Subject: Nagios 3.0.6 will play sounds in browser! In-Reply-To: <49A23B26.8000903@acces.co.jp> References: <577509.22532.qm@web33205.mail.mud.yahoo.com> <765d77c80902211438j5a0578dbh596519d86f5e7705@mail.gmail.com> <49A204B5.4020700@acces.co.jp> <49A23B26.8000903@acces.co.jp> Message-ID: <49A23FCB.3010308@acces.co.jp> After installing Quicktime for Windows (the free version) and setting the value of plugin.default_plugin_disabled to Value=true in Firefox (enter 'about:config' in address bar to access the settings) , Nagios is now playing the sounds that originally came with versions 3.0.3 and 3.0.4 but are no longer included in the source tarball. (Still not sure why they were removed). I may re-install the Nagios checker Firefox plugin as I already miss having the notifier box in my browser window. So the bottom line is that alert sounds *can* work in Nagios 3.0.6 Ian -- Nagios 3.0.6 (with plugins v1.4.13) on CentOS 5.2/ Firefox 3.0.6 on Win XP ------------------------------------------------------------------------------ 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 mr_nagas at yahoo.com Mon Feb 23 07:22:10 2009 From: mr_nagas at yahoo.com (nagaraj raj) Date: Sun, 22 Feb 2009 22:22:10 -0800 (PST) Subject: Nagios 3.0.6 NagiosExcahnge Google Map Support Message-ID: <292950.50572.qm@web54104.mail.re2.yahoo.com> Hi all I was trying to add Google Map feature to nagios 3.0.6 version in linux. Can any one provide be the right patch for this version of NagiOS I already took 2 patches which failed to work. Regards Nagarajan ------------------------------------------------------------------------------ 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 alexdehaini at gmail.com Mon Feb 23 09:48:01 2009 From: alexdehaini at gmail.com (Alex Dehaini) Date: Mon, 23 Feb 2009 08:48:01 +0000 Subject: Rate of service checks Message-ID: <4b008f7d0902230048ke24b70bpcad8bbda0c4a97f0@mail.gmail.com> Hi Guys, What setting or settings do I have to change to make nagios check a service every 20 secs? Regards, -- Alex Dehaini Developer Site - www.alexdehaini.com Email - alexdehaini at gmail.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 martyn at chetnet.co.uk Mon Feb 23 09:55:32 2009 From: martyn at chetnet.co.uk (Martyn) Date: Mon, 23 Feb 2009 08:55:32 -0000 Subject: nagios-plugins-1.4.6 Install Error Message-ID: Morning Group, Depending on your location. I'm on a fresh install of Ubuntu 8.04 server install with lamp and getting the following error when I'm trying to install the plugins make[1]: Entering directory `/home/martyn/downloads/nagios-plugins-1.4.6/po' /bin/sh @MKINSTALLDIRS@ /usr/local/nagios/share /bin/sh: Can't open @MKINSTALLDIRS@ make[1]: *** [install-data-yes] Error 2 make[1]: Leaving directory `/home/martyn/downloads/nagios-plugins-1.4.6/po' make: *** [install-recursive] Error 1 Does anybody know what is causing this issue? Regards 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 assaf.flatto at ssp-intl.com Mon Feb 23 10:38:45 2009 From: assaf.flatto at ssp-intl.com (Assaf Flatto) Date: Mon, 23 Feb 2009 09:38:45 +0000 Subject: Installing and configuring Nagiosgraph In-Reply-To: <4ABA3E162F60624A949503A7F960245EB0E26963A8@CLEHBEXMS01.broadvox.local> References: <4ABA3E162F60624A949503A7F960245EB0E26963A8@CLEHBEXMS01.broadvox.local> Message-ID: <200902230938.45948.assaf.flatto@ssp-intl.com> It seems that your perl installation is missing the RRD.pm module . check the CPAN site and install the module for the RRD . On Friday 20 February 2009 22:43:23 Eric Chatham wrote: > Hello, > > I downloaded the nagiosgraph tar from http://nagiosgraph.sf.net/. I > extracted the files to "/usr/local/nagios" and even created a symlink for > it. My question is, how do I configure the plug-in? I already have > RRDtool installed on this server. Here are some environmental settings for > my server: > > rrddir= /usr/local/rrdtool-1.3.6/lib/perl/5.8.8/i386-linux-thread-multi/ > rrdtool=/usr/local/rrdtool-1.3.6/bin/rrdtool > > When I run "install.pl," I receive the following error: > > [root@ ~ nagiosgraph]# pwd > /usr/local/nagios/nagiosgraph > [root@ ~ nagiosgraph]# ./install.pl > Can't locate RRDs.pm in @INC (@INC contains: etc > /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 etc/ngshared.pm line 66. BEGIN > failed--compilation aborted at etc/ngshared.pm line 66. > Compilation failed in require at ./install.pl line 72. > BEGIN failed--compilation aborted at ./install.pl line 72. > > Do I need to configure "../etc/nagiosgraph.conf?" > > Eric Chatham > Broadvox MIS Department > Phone: (216) 373-4683 > Fax: (216) 373-4669 > echatham at broadvox.net > [cid:image001.jpg at 01C99382.003896F0] > > > ________________________________ > 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. -- 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 ------------------------------------------------------------------------------ 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 assaf.flatto at ssp-intl.com Mon Feb 23 10:45:43 2009 From: assaf.flatto at ssp-intl.com (Assaf Flatto) Date: Mon, 23 Feb 2009 09:45:43 +0000 Subject: nagios-plugins-1.4.6 Install Error In-Reply-To: References: Message-ID: <200902230945.43277.assaf.flatto@ssp-intl.com> I take it you installed the nagios already ( if this is to be the server ). Have you done that from source or from pkg ? it might be looking for the nagios install in the wrong place .Check where your nagios install is . If this is for a client ? you may need to create the path manually ! On Monday 23 February 2009 08:55:32 Martyn wrote: > Morning Group, Depending on your location. > > I'm on a fresh install of Ubuntu 8.04 server install with lamp and getting > the following error when I'm trying to install the plugins > > make[1]: Entering directory > `/home/martyn/downloads/nagios-plugins-1.4.6/po' /bin/sh @MKINSTALLDIRS@ > /usr/local/nagios/share > /bin/sh: Can't open @MKINSTALLDIRS@ > make[1]: *** [install-data-yes] Error 2 > make[1]: Leaving directory `/home/martyn/downloads/nagios-plugins-1.4.6/po' > make: *** [install-recursive] Error 1 > > Does anybody know what is causing this issue? > > Regards > > 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 ------------------------------------------------------------------------------ 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 alexdehaini at gmail.com Mon Feb 23 10:50:47 2009 From: alexdehaini at gmail.com (Alex Dehaini) Date: Mon, 23 Feb 2009 09:50:47 +0000 Subject: Rate of service checks In-Reply-To: <705185.23922.qm@web54108.mail.re2.yahoo.com> References: <4b008f7d0902230048ke24b70bpcad8bbda0c4a97f0@mail.gmail.com> <705185.23922.qm@web54108.mail.re2.yahoo.com> Message-ID: <4b008f7d0902230150s3b80ccacp3364869ee4887d5d@mail.gmail.com> I am using nagios 2.9, can I set the normal_check_interval below one minute? Lex On Mon, Feb 23, 2009 at 9:46 AM, nagaraj raj wrote: > if u are using nagios3.0.6 > it depends on the value that u configure in template.cfg file for the > normal_check_interval paramter in service templates > > > > > --- On Mon, 2/23/09, Alex Dehaini wrote: > > > From: Alex Dehaini > > Subject: [Nagios-users] Rate of service checks > > To: "nagios nagios" > > Date: Monday, February 23, 2009, 2:18 PM > > Hi Guys, > > > > What setting or settings do I have to change to make nagios > > check a service > > every 20 secs? > > > > Regards, > > -- > > Alex Dehaini > > Developer > > Site - www.alexdehaini.com > > Email - alexdehaini at gmail.com > > > ------------------------------------------------------------------------------ > > 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 > > > > -- Alex Dehaini Developer Site - www.alexdehaini.com Email - alexdehaini at gmail.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 martyn at chetnet.co.uk Mon Feb 23 11:01:27 2009 From: martyn at chetnet.co.uk (Martyn) Date: Mon, 23 Feb 2009 10:01:27 -0000 Subject: nagios-plugins-1.4.6 Install Error In-Reply-To: <200902230945.43277.assaf.flatto@ssp-intl.com> References: <200902230945.43277.assaf.flatto@ssp-intl.com> Message-ID: Its for a client install, I'm trying to set up my Nagios to monitor services on another box, so its just the client I'm trying to set-up So I need to mkdir /usr/local/nagios/share/@MKINSTALLDIRS@ Thanks for the reply -----Original Message----- From: Assaf Flatto [mailto:assaf.flatto at ssp-intl.com] Sent: 23 February 2009 09:46 To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] nagios-plugins-1.4.6 Install Error I take it you installed the nagios already ( if this is to be the server ). Have you done that from source or from pkg ? it might be looking for the nagios install in the wrong place .Check where your nagios install is . If this is for a client ? you may need to create the path manually ! On Monday 23 February 2009 08:55:32 Martyn wrote: > Morning Group, Depending on your location. > > I'm on a fresh install of Ubuntu 8.04 server install with lamp and > getting the following error when I'm trying to install the plugins > > make[1]: Entering directory > `/home/martyn/downloads/nagios-plugins-1.4.6/po' /bin/sh > @MKINSTALLDIRS@ /usr/local/nagios/share > /bin/sh: Can't open @MKINSTALLDIRS@ > make[1]: *** [install-data-yes] Error 2 > make[1]: Leaving directory `/home/martyn/downloads/nagios-plugins-1.4.6/po' > make: *** [install-recursive] Error 1 > > Does anybody know what is causing this issue? > > Regards > > 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 ---------------------------------------------------------------------------- -- 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 alexdehaini at gmail.com Mon Feb 23 11:15:21 2009 From: alexdehaini at gmail.com (Alex Dehaini) Date: Mon, 23 Feb 2009 10:15:21 +0000 Subject: Rate of service checks In-Reply-To: <307761.85882.qm@web54104.mail.re2.yahoo.com> References: <4b008f7d0902230150s3b80ccacp3364869ee4887d5d@mail.gmail.com> <307761.85882.qm@web54104.mail.re2.yahoo.com> Message-ID: <4b008f7d0902230215q12762548r6c535d84a6e34a79@mail.gmail.com> Thanks man, it's in 2.9. I will set it now Alex On Mon, Feb 23, 2009 at 10:02 AM, nagaraj raj wrote: > check the option > > # INTERVAL LENGTH > # This is the seconds per unit interval as used in the > # host/contact/service configuration files. Setting this to 60 means > # that each interval is one minute long (60 seconds). Other settings > # have not been tested much, so your mileage is likely to vary... > > interval_length=60 > in nagios.cfg > > I am not sure if this works or there in 2.9 > > but u can give a try if this exists > > atleast this option is available in 3.0.6 > > > > > > > > --- On Mon, 2/23/09, Alex Dehaini wrote: > > > From: Alex Dehaini > > Subject: Re: [Nagios-users] Rate of service checks > > To: mr_nagas at yahoo.com > > Cc: "nagios nagios" > > Date: Monday, February 23, 2009, 3:20 PM > > I am using nagios 2.9, can I set the normal_check_interval > > below one minute? > > > > Lex > > > > On Mon, Feb 23, 2009 at 9:46 AM, nagaraj raj > > wrote: > > > > > if u are using nagios3.0.6 > > > it depends on the value that u configure in > > template.cfg file for the > > > normal_check_interval paramter in service templates > > > > > > > > > > > > > > > --- On Mon, 2/23/09, Alex Dehaini > > wrote: > > > > > > > From: Alex Dehaini > > > > Subject: [Nagios-users] Rate of service checks > > > > To: "nagios nagios" > > > > > > Date: Monday, February 23, 2009, 2:18 PM > > > > Hi Guys, > > > > > > > > What setting or settings do I have to change to > > make nagios > > > > check a service > > > > every 20 secs? > > > > > > > > Regards, > > > > -- > > > > Alex Dehaini > > > > Developer > > > > Site - www.alexdehaini.com > > > > Email - alexdehaini at gmail.com > > > > > > > > > > ------------------------------------------------------------------------------ > > > > 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 > > > > > > > > > > > > > > > > > > -- > > Alex Dehaini > > Developer > > Site - www.alexdehaini.com > > Email - alexdehaini at gmail.com > > > > -- Alex Dehaini Developer Site - www.alexdehaini.com Email - alexdehaini at gmail.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 martyn at chetnet.co.uk Mon Feb 23 12:20:13 2009 From: martyn at chetnet.co.uk (Martyn) Date: Mon, 23 Feb 2009 11:20:13 -0000 Subject: nagios-plugins-1.4.6 Install Error In-Reply-To: <200902230945.43277.assaf.flatto@ssp-intl.com> References: <200902230945.43277.assaf.flatto@ssp-intl.com> Message-ID: Sorted, used the latest stable version and not the one in the NRPE install guide Cheers -----Original Message----- From: Assaf Flatto [mailto:assaf.flatto at ssp-intl.com] Sent: 23 February 2009 09:46 To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] nagios-plugins-1.4.6 Install Error I take it you installed the nagios already ( if this is to be the server ). Have you done that from source or from pkg ? it might be looking for the nagios install in the wrong place .Check where your nagios install is . If this is for a client ? you may need to create the path manually ! On Monday 23 February 2009 08:55:32 Martyn wrote: > Morning Group, Depending on your location. > > I'm on a fresh install of Ubuntu 8.04 server install with lamp and > getting the following error when I'm trying to install the plugins > > make[1]: Entering directory > `/home/martyn/downloads/nagios-plugins-1.4.6/po' /bin/sh > @MKINSTALLDIRS@ /usr/local/nagios/share > /bin/sh: Can't open @MKINSTALLDIRS@ > make[1]: *** [install-data-yes] Error 2 > make[1]: Leaving directory `/home/martyn/downloads/nagios-plugins-1.4.6/po' > make: *** [install-recursive] Error 1 > > Does anybody know what is causing this issue? > > Regards > > 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 ---------------------------------------------------------------------------- -- 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 dunnlg at bettis.gov Mon Feb 23 12:22:34 2009 From: dunnlg at bettis.gov (Dunn, Larry) Date: Mon, 23 Feb 2009 06:22:34 -0500 Subject: Nagios deployment planning Message-ID: Has anyone found any documentation that would help with deployment planning for a Nagios 3 installation? I am trying to figure out how big the virtual server would have to be in order to properly deploy and manage a large system environment (over 1,000 hosts and probably more than 5,000 services monitored). It would be good if anyone has at least the basic understanding of the base system and on a per service check basis, how much memory is required and how much disk space we would need to plan for. Larry G Dunn Senior Systems Engineer IM/HPC Bechtel Marine Propulsion Corp - Bettis phone: 412-476-6691 email: dunnlg at bettis.gov -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: bechtel_logo_small.jpg Type: image/jpeg Size: 3345 bytes Desc: bechtel_logo_small.jpg URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: bettis_white.jpg Type: image/jpeg Size: 14279 bytes Desc: bettis_white.jpg 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 alexdehaini at gmail.com Mon Feb 23 12:32:36 2009 From: alexdehaini at gmail.com (Alex Dehaini) Date: Mon, 23 Feb 2009 11:32:36 +0000 Subject: Nagios deployment planning In-Reply-To: References: Message-ID: <4b008f7d0902230332k3e908e3fvd9d03087fa01ef78@mail.gmail.com> Alot of things count when deploying nagios. Take for instance - if you run your service check every 5 minutes, it is not the same when you run it every 30 seconds. So, throw some more light and we might be able to help. I run about 1000 services with 300 hosts. I use a P4 2.0 Ghz with 2 gb of ram. So far, nagios can take the load. I check services every 90 seconds. Lex On Mon, Feb 23, 2009 at 11:22 AM, Dunn, Larry wrote: > Has anyone found any documentation that would help with deployment > planning for a Nagios 3 installation? I am trying to figure out how big the > virtual server would have to be in order to properly deploy and manage a > large system environment (over 1,000 hosts and probably more than 5,000 > services monitored). It would be good if anyone has at least the basic > understanding of the base system and on a per service check basis, how much > memory is required and how much disk space we would need to plan for. > > > > *Larry G Dunn* > Senior Systems Engineer > IM/HPC > Bechtel Marine Propulsion Corp - Bettis > phone: 412-476-6691 > email: dunnlg at bettis.gov > > > > > ------------------------------------------------------------------------------ > 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 > -- Alex Dehaini Developer Site - www.alexdehaini.com Email - alexdehaini at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: bechtel_logo_small.jpg Type: image/jpeg Size: 3345 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: bettis_white.jpg Type: image/jpeg Size: 14279 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 marc at ena.com Mon Feb 23 14:29:33 2009 From: marc at ena.com (Marc Powell) Date: Mon, 23 Feb 2009 07:29:33 -0600 Subject: Nagios 3.0.6 NagiosExcahnge Google Map Support In-Reply-To: <292950.50572.qm@web54104.mail.re2.yahoo.com> References: <292950.50572.qm@web54104.mail.re2.yahoo.com> Message-ID: <4E85F7BC-473E-456B-A388-0F7F81B66AE3@ena.com> On Feb 23, 2009, at 12:22 AM, nagaraj raj wrote: > Hi all > > I was trying to add Google Map feature to nagios 3.0.6 version in > linux. > > Can any one provide be the right patch for this version of NagiOS There are none that I am aware of. I ended up writing my own external app. -- 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 dermoth at aei.ca Mon Feb 23 14:45:34 2009 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Mon, 23 Feb 2009 08:45:34 -0500 Subject: Nagios deployment planning In-Reply-To: <4b008f7d0902230332k3e908e3fvd9d03087fa01ef78@mail.gmail.com> References: <4b008f7d0902230332k3e908e3fvd9d03087fa01ef78@mail.gmail.com> Message-ID: <49A2A87E.7010507@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 23/02/09 06:32 AM, Alex Dehaini wrote: > Alot of things count when deploying nagios. Take for instance - if you > run your service check every 5 minutes, it is not the same when you run > it every 30 seconds. > > So, throw some more light and we might be able to help. I run about 1000 > services with 300 hosts. I use a P4 2.0 Ghz with 2 gb of ram. So far, > nagios can take the load. I check services every 90 seconds. It also depends on the type of checks you're doing. Plain C plugins runs very well; Perl plugins, even with ePN, require much more CPU cycles to run. I have an old server running nearly 1600 checks per minute on a 1.4Ghz PIII while another one, dual Xeon 2.4Ghz, run a little bit hotter with ~ 1300 checks per minute just because a bigger portion of them are Perl checks (all running under ePN). There's also the fact that ePN leaks memory (the rate depends a lot on the slecific plugins/modules running) and cause load to grow higher as time goes. Without ePN is much worse though - my dual-Xeon wouldn't keep up without it. Another consideration is 32 vs 64 bit. Since Nagios forks a lot, the process size has a noticeable influence on system load, and by making pointers twice as big, 64bit make processes larger as well. On a 64bit system it may be worth comparing Nagios speed when compiled in 32bit (if your system doesn't have a 32bit-capable compiler, compile it on a 32bit system and copy it over). Don't forget to compile the plugins in 32bit as too - ePN would need a 32bit Perl installation (or at lease libraries) as well... Finally, I don't think a virtual machine is the best choice for nagios, again the amount of forks makes a good proportion of the system load from kernel calls. Kernel-mode in emulated in virtual machines which make it slower. You can always test with check_dummy and check_stuff.pl (in Nagios::Plugin source distribution). Create a lot of hosts and services and see how load is affected. - -- Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFJoqh+6dZ+Kt5BchYRAjhxAKCrk665Bi5zNy0GaJRU5oCvKsuLIgCg0sJq i/5OEkRtQgOuxocC/6ChVtc= =Eizv -----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 uwe.bartels at gmail.com Mon Feb 23 14:59:46 2009 From: uwe.bartels at gmail.com (Uwe Bartels) Date: Mon, 23 Feb 2009 14:59:46 +0100 Subject: nrpe: MAX_PACKETBUFFER_LENGTH Message-ID: <8ea917510902230559q1405ea7dtd108b2c06bc9238c@mail.gmail.com> Hi, I've got a problem with the nrpe & the variable MAX_PACKETBUFFER_LENGTH in include/common.h. It limits the output to 1024 by default. nagios3 is by now out for a good while and is able to receive and display 4096 Bytes. NRPE is limiting this down to 1024 Bytes. OK, you may say: raise it. I did, but this did not work out as expected. If I raise this value only on the nrpe server, the nrpe plugin (check_nrpe) does not work anymore. If I raise this on the plugin only this does not work either. So the only solution would be to compile both nrpe server + plugin for all platforms and install it on all machines in one big rush. 1. The time for deployment would take some time of couse and in between I'd be blind - not good. 2. I'm using self compiled nrpe servers as well as several packages. This means everywhere, where I was using packages for low maintenance, I have to go out and compile it for all platforms - not any better either. Is there a way to get around this? Can you think of a bugfix/feature (whatever you like) that make nrpe plugin and nrpe server working together with different MAX_PACKETBUFFER_LENGTH's? 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 uwe.bartels at gmail.com Mon Feb 23 15:51:23 2009 From: uwe.bartels at gmail.com (Uwe Bartels) Date: Mon, 23 Feb 2009 15:51:23 +0100 Subject: nrpe: MAX_PACKETBUFFER_LENGTH In-Reply-To: References: <8ea917510902230559q1405ea7dtd108b2c06bc9238c@mail.gmail.com> Message-ID: <8ea917510902230651w33dd4c2bxc1f0ef6aa132ea7@mail.gmail.com> GREAT!!!!! this is exactly what I'm looking for. I'm sure I'll work. If I have any problems, I'll be back. In which stable version will this be included 2.13? Best Regards, Uwe 2009/2/23 Ton Voon > > On 23 Feb 2009, at 13:59, Uwe Bartels wrote: > > I've got a problem with the nrpe & the variable MAX_PACKETBUFFER_LENGTH in >> include/common.h. >> >> It limits the output to 1024 by default. >> nagios3 is by now out for a good while and is able to receive and display >> 4096 Bytes. NRPE is limiting this down to 1024 Bytes. >> > > Take a look at > http://opsview-blog.opsera.com/dotorg/2008/08/enhancing-nrpe.html > > We've enhanced NRPE so that it is backwards compatible with existing NRPE > daemons. We have this running in our latest version of Opsview and this has > been working fine. > > Let me know if it works for you as I'd like to see this included in a newer > version of NRPE. > > Ton > > -------------- 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 23 16:17:17 2009 From: marc at ena.com (Marc Powell) Date: Mon, 23 Feb 2009 09:17:17 -0600 Subject: Whoops Error for no reason In-Reply-To: <499F21E0.5080101@reox-design.net> References: <499F21E0.5080101@reox-design.net> Message-ID: <7092BDF6-75FA-493E-A2E1-37016FA8D104@ena.com> On Feb 20, 2009, at 3:34 PM, Sebastian Bachmann wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hello, > Yesterday i added a new host in my nagios config. After adding the > host i reloaded the daemon and checked the cgi webinterface to check > the host. But the Webinterface give my since this reconfiguration a > Whoops Error ("*Error: Could not read object configuration data!"). I > restarted the daemon, checked the config with -v (2 warning and 0 > errors) and finally restarted the server. I also removed the new host > from the config, but I'm getting still this error. > I checked the FAQ, Mailingslists and Google and only found unansweard > threads - seems to be a nice problem :D And always caused by factors external to nagios afaik. Do you have SELinux enabled? Do your web server error logs show anything interesting? -- 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 rich+nagios at quintinz.com Mon Feb 23 15:32:06 2009 From: rich+nagios at quintinz.com (Richard Quintin) Date: Mon, 23 Feb 2009 09:32:06 -0500 Subject: Installing and configuring Nagiosgraph In-Reply-To: <4ABA3E162F60624A949503A7F960245EB0E269644E@CLEHBEXMS01.broadvox.local> References: <4ABA3E162F60624A949503A7F960245EB0E26963A8@CLEHBEXMS01.broadvox.local> <200902230938.45948.assaf.flatto@ssp-intl.com> <4ABA3E162F60624A949503A7F960245EB0E269644E@CLEHBEXMS01.broadvox.local> Message-ID: <822f14060902230632n5dedf801ne8c18bc2ec82eb01@mail.gmail.com> You need to configure INC to include RRDs.pm. You can do this by either setting environment variable PERL5LIB=/usr/local/rrdtool-1.3.6/lib/perl/5.8.8/i386-linux-thread-multi/ or by copying RRDs.pm to one of the directories listed in INC. On Mon, Feb 23, 2009 at 9:25 AM, Eric Chatham wrote: > I have RRDtool installed already. RRDs.pm is my RRDtool directory: > > /usr/local/rrdtool-1.3.6/lib/perl/5.8.8/i386-linux-thread-multi/RRDs.pm > > > > > Eric Chatham > Broadvox MIS Department > (216) 373-4683 > echatham at broadvox.net > > -----Original Message----- > From: Assaf Flatto [mailto:assaf.flatto at ssp-intl.com] > Sent: Monday, February 23, 2009 04:39 > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Installing and configuring Nagiosgraph > > It seems that your perl installation is missing the RRD.pm module . > check the CPAN site and install the module for the RRD . > > On Friday 20 February 2009 22:43:23 Eric Chatham wrote: >> Hello, >> >> I downloaded the nagiosgraph tar from http://nagiosgraph.sf.net/. I >> extracted the files to "/usr/local/nagios" and even created a symlink for >> it. My question is, how do I configure the plug-in? I already have >> RRDtool installed on this server. Here are some environmental settings for >> my server: >> >> rrddir= /usr/local/rrdtool-1.3.6/lib/perl/5.8.8/i386-linux-thread-multi/ >> rrdtool=/usr/local/rrdtool-1.3.6/bin/rrdtool >> >> When I run "install.pl," I receive the following error: >> >> [root@ ~ nagiosgraph]# pwd >> /usr/local/nagios/nagiosgraph >> [root@ ~ nagiosgraph]# ./install.pl >> Can't locate RRDs.pm in @INC (@INC contains: etc >> /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 etc/ngshared.pm line 66. BEGIN >> failed--compilation aborted at etc/ngshared.pm line 66. >> Compilation failed in require at ./install.pl line 72. >> BEGIN failed--compilation aborted at ./install.pl line 72. >> >> Do I need to configure "../etc/nagiosgraph.conf?" >> >> Eric Chatham >> Broadvox MIS Department >> Phone: (216) 373-4683 >> Fax: (216) 373-4669 >> echatham at broadvox.net >> [cid:image001.jpg at 01C99382.003896F0] >> >> >> ________________________________ >> 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. > > > > -- > 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 > > > > ------------------------------------------------------------------------------ > 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 > -- Richard Quintin, DBA Database & Application Administration Virginia Tech ------------------------------------------------------------------------------ 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 kmanuel at unb.ca Mon Feb 23 16:45:09 2009 From: kmanuel at unb.ca (kmanuel) Date: Mon, 23 Feb 2009 11:45:09 -0400 Subject: Multiple notifications on Critical state In-Reply-To: <822f14060902230632n5dedf801ne8c18bc2ec82eb01@mail.gmail.com> References: <4ABA3E162F60624A949503A7F960245EB0E26963A8@CLEHBEXMS01.broadvox.local> <200902230938.45948.assaf.flatto@ssp-intl.com> <4ABA3E162F60624A949503A7F960245EB0E269644E@CLEHBEXMS01.broadvox.local> <822f14060902230632n5dedf801ne8c18bc2ec82eb01@mail.gmail.com> Message-ID: <1235403909.49a2c48583df8@webmail.unb.ca> Hi, I am using passive checks for one of my services in Nagios. Everytime I receive a certain snmp trap a script submits a process_service_check_result (passive check) for the service. Everything works fine except when multiple snmp traps are received (and therefore multiple process_service_check_result's for the same problem are submitted to Nagios) I receive an alert for each one, even though the initial trap has put the service in a critical state. The result is that we receive dozens of notification of the same problem. I have "No-renotification", notification_interval = 0 for this service. Does anybody know how to prevent multiple notifications for passive checks when a service is in a critical state? Thanks, Kevin ------------------------------------------------------------------------------ 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 sergio.ariel at iris.uh.cu Mon Feb 23 16:43:15 2009 From: sergio.ariel at iris.uh.cu (Sergio Ariel) Date: Mon, 23 Feb 2009 10:43:15 -0500 Subject: Service check on DOWN hosts!!! Message-ID: <49A2C413.5070405@iris.uh.cu> I have some services (in different hosts) I check by Nagios. Some of these service checks spend some seconds to execute, so, I've set a window time according each time execution. For example: I've some 30 seconds timeout service check. My problem is that when these host are DOWN, Nagios wait 30 seconds trying to execute the service check. After this 30 seconds, then tell me "CRITICAL SERVICE". I want to avoid Nagios checks any service in DOWN host. Please, how can I get it? I want Nagios don't execute any service check until host is UP again. Thanks. -- Sergio Ariel de la Campa Saiz Administrador Red UH ------------------------------------------------------------------------------ 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 mmalaidini at gmail.com Mon Feb 23 16:56:06 2009 From: mmalaidini at gmail.com (Manlio Malaidini) Date: Mon, 23 Feb 2009 10:56:06 -0500 Subject: Left pane doesn't make sense on a newly installed Fedora machine Message-ID: <2f615ce40902230756n74028830tb457528e1134c625@mail.gmail.com> Hello everybody, Newbie here. I've just installed nagios 3.1.0 on a Fedora machine (FC5) following the instructions available here: http://nagios.sourceforge.net/docs/3_0/quickstart-fedora.html In order to make it work I had to tweak the Directory listing options here and there. But that's not the point. The issue is that when I access nagios at http://myserver/nagios/index.php there seems to be something wrong in the left pane. It seems that something is misconfigured: Current Status /tac.cgi" target="">Tactical Overview /statusmap.cgi?host=all" target="">Map /status.cgi?hostgroup=all&style=hostdetail" target="">Hosts /status.cgi?host=all" target="">Services /status.cgi?hostgroup=all&style=overview" target="">Host Groups /status.cgi?hostgroup=all&style=summary" target="">Summary /status.cgi?hostgroup=all&style=grid" target="">Grid /status.cgi?servicegroup=all&style=overview" target="">Service Groups /status.cgi?servicegroup=all&style=summary" target="">Summary /status.cgi?servicegroup=all&style=grid" target="">Grid /status.cgi?host=all&servicestatustypes=28" target="">Problems /status.cgi?host=all&servicestatustypes=28" target="">Services (/status.cgi?host=all&type=detail&hoststatustypes=3&serviceprops=42&servicestatustypes=28" target="">Unhandled) /status.cgi?hostgroup=all&style=hostdetail&hoststatustypes=12" target="">Hosts (/status.cgi?hostgroup=all&style=hostdetail&hoststatustypes=12&hostprops=42" target="">Unhandled) /outages.cgi" target="">Network Outages /status.cgi" target=""> Quick Search: Reports /avail.cgi" target="">Availability /trends.cgi" target="">Trends /history.cgi?host=all" target="">Alerts /history.cgi?host=all" target="">History /summary.cgi" target="">Summary /histogram.cgi" target="">Histogram /notifications.cgi?contact=all" target="">Notifications /showlog.cgi" target="">Event Log System /extinfo.cgi?type=3" target="">Comments /extinfo.cgi?type=6" target="">Downtime /extinfo.cgi?type=0" target="">Process Info /extinfo.cgi?type=4" target="">Performance Info /extinfo.cgi?type=7" target="">Scheduling Queue /config.cgi" target="">Configuration This is literally what I see instead of a familiar nagios left pane. I have verified the configuration file as per the instructions but this is what I get. Does anybody have any hint? Thanks, MM ------------------------------------------------------------------------------ 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 mr_nagas at yahoo.com Mon Feb 23 17:05:13 2009 From: mr_nagas at yahoo.com (nagaraj raj) Date: Mon, 23 Feb 2009 08:05:13 -0800 (PST) Subject: Nagios 3.0.6 NagiosExcahnge Google Map Support In-Reply-To: <4E85F7BC-473E-456B-A388-0F7F81B66AE3@ena.com> References: <4E85F7BC-473E-456B-A388-0F7F81B66AE3@ena.com> Message-ID: <115344.79873.qm@web54109.mail.re2.yahoo.com> hi actually there are few patfhes that are available http://www.nagiosexchange.org/cgi-bin/page.cgi?g=1516.html;d=1 the above link compiles fine but doesnt show the status http://www.nagiosexchange.org/cgi-bin/page.cgi?g=Detailed%2F2457.html;d=1 this link fails in the compilation staghe itself but they are not complaint with the current stable version 3.0.6 regards Nagarajan --- On Mon, 2/23/09, Marc Powell wrote: > From: Marc Powell > Subject: Re: [Nagios-users] Nagios 3.0.6 NagiosExcahnge Google Map Support > To: "nagios-users ML" > Date: Monday, February 23, 2009, 6:59 PM > On Feb 23, 2009, at 12:22 AM, nagaraj raj wrote: > > > Hi all > > > > I was trying to add Google Map feature to nagios 3.0.6 > version in > > linux. > > > > Can any one provide be the right patch for this > version of NagiOS > > There are none that I am aware of. I ended up writing my > own external > app. > > -- > 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 ------------------------------------------------------------------------------ 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 23 17:27:49 2009 From: marc at ena.com (Marc Powell) Date: Mon, 23 Feb 2009 10:27:49 -0600 Subject: Service check on DOWN hosts!!! In-Reply-To: <49A2C413.5070405@iris.uh.cu> References: <49A2C413.5070405@iris.uh.cu> Message-ID: On Feb 23, 2009, at 9:43 AM, Sergio Ariel wrote: > I have some services (in different hosts) I check by Nagios. > Some of these service checks spend some seconds to execute, so, I've > set > a window time according each time execution. For example: I've some > 30 > seconds timeout service check. > My problem is that when these host are DOWN, Nagios wait 30 seconds > trying to execute the service check. After this 30 seconds, then > tell me > "CRITICAL SERVICE". I want to avoid Nagios checks any service in > DOWN > host. > Please, how can I get it? > I want Nagios don't execute any service check until host is UP again. Nagios isn't designed to do this; you'll need to jump through hoops to accomplish it. At the least you need to be running nagios-3 with active host checks configured. I'd suggest you look at creating an event handler for your hosts that issues the external command 'DISABLE_HOST_SVC_CHECKS' when the host is non-OK and issues the external command 'ENABLE_HOST_SVC_CHECKS' when the host recovers. -- 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 Mon Feb 23 17:29:41 2009 From: marc at ena.com (Marc Powell) Date: Mon, 23 Feb 2009 10:29:41 -0600 Subject: Multiple notifications on Critical state In-Reply-To: <1235403909.49a2c48583df8@webmail.unb.ca> References: <4ABA3E162F60624A949503A7F960245EB0E26963A8@CLEHBEXMS01.broadvox.local> <200902230938.45948.assaf.flatto@ssp-intl.com> <4ABA3E162F60624A949503A7F960245EB0E269644E@CLEHBEXMS01.broadvox.local> <822f14060902230632n5dedf801ne8c18bc2ec82eb01@mail.gmail.com> <1235403909.49a2c48583df8@webmail.unb.ca> Message-ID: <75188A5F-5B0C-4EFB-8903-20B00AF460AA@ena.com> On Feb 23, 2009, at 9:45 AM, kmanuel wrote: > > Does anybody know how to prevent multiple notifications for passive > checks when a > service is in a critical state? I'm going to guess that you have is_volatile enabled for this service. I expect you want to change this but read the docs on what it's doing to be sure. -- 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 Mon Feb 23 17:32:51 2009 From: marc at ena.com (Marc Powell) Date: Mon, 23 Feb 2009 10:32:51 -0600 Subject: Nagios 3.0.6 NagiosExcahnge Google Map Support In-Reply-To: <115344.79873.qm@web54109.mail.re2.yahoo.com> References: <115344.79873.qm@web54109.mail.re2.yahoo.com> Message-ID: On Feb 23, 2009, at 10:05 AM, nagaraj raj wrote: > > hi > actually there are few patfhes that are available [blah] > > > but they are not complaint with the current stable version 3.0.6 And this differs from what I said in what way? -- 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 Gerald.Ortner at gespag.at Mon Feb 23 17:05:59 2009 From: Gerald.Ortner at gespag.at (Ortner, Gerald) Date: Mon, 23 Feb 2009 17:05:59 +0100 Subject: Whoops Error for no reason In-Reply-To: <7092BDF6-75FA-493E-A2E1-37016FA8D104@ena.com> References: <499F21E0.5080101@reox-design.net> <7092BDF6-75FA-493E-A2E1-37016FA8D104@ena.com> Message-ID: is the nagios process running? if not check if nagios.cmd and nagios.pid exists (e.g. /var/run/nagios2/) remove both try to start the daemon gerald -----Urspr?ngliche Nachricht----- Von: Marc Powell [mailto:marc at ena.com] Gesendet: Montag, 23. Februar 2009 16:17 An: Nagios Users Betreff: Re: [Nagios-users] Whoops Error for no reason On Feb 20, 2009, at 3:34 PM, Sebastian Bachmann wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hello, > Yesterday i added a new host in my nagios config. After adding the > host i reloaded the daemon and checked the cgi webinterface to check > the host. But the Webinterface give my since this reconfiguration a > Whoops Error ("*Error: Could not read object configuration data!"). I > restarted the daemon, checked the config with -v (2 warning and 0 > errors) and finally restarted the server. I also removed the new host > from the config, but I'm getting still this error. > I checked the FAQ, Mailingslists and Google and only found unansweard > threads - seems to be a nice problem :D And always caused by factors external to nagios afaik. Do you have SELinux enabled? Do your web server error logs show anything interesting? -- 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 OOe. Gesundheits- und Spitals-AG Techcenter, Hafenstrasse 47-51, 4020 Linz DVR 2107870, ATU 51928204, Firmenbuchgericht: Landesgericht Linz, FN 210146 p ------------------------------------------------------------------------------ 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 kmanuel at unb.ca Mon Feb 23 18:23:04 2009 From: kmanuel at unb.ca (kmanuel) Date: Mon, 23 Feb 2009 13:23:04 -0400 Subject: Multiple notifications on Critical state In-Reply-To: <75188A5F-5B0C-4EFB-8903-20B00AF460AA@ena.com> References: <4ABA3E162F60624A949503A7F960245EB0E26963A8@CLEHBEXMS01.broadvox.local> <200902230938.45948.assaf.flatto@ssp-intl.com> <4ABA3E162F60624A949503A7F960245EB0E269644E@CLEHBEXMS01.broadvox.local> <822f14060902230632n5dedf801ne8c18bc2ec82eb01@mail.gmail.com> <1235403909.49a2c48583df8@webmail.unb.ca> <75188A5F-5B0C-4EFB-8903-20B00AF460AA@ena.com> Message-ID: <1235409784.49a2db7853a96@webmail.unb.ca> Hi Marc, yes I do have is_volatile enabled. I will change and see how it works out. Thanks for the response, Kevin Quoting Marc Powell : > > On Feb 23, 2009, at 9:45 AM, kmanuel wrote: > > > > > Does anybody know how to prevent multiple notifications for passive > > checks when a > > service is in a critical state? > > I'm going to guess that you have is_volatile enabled for this service. > I expect you want to change this but read the docs on what it's doing > to be sure. > > -- > 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 > ------------------------------------------------------------------------------ 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 mail at reox-design.net Mon Feb 23 19:59:39 2009 From: mail at reox-design.net (Sebastian Bachmann) Date: Mon, 23 Feb 2009 19:59:39 +0100 Subject: Whoops Error for no reason In-Reply-To: References: <499F21E0.5080101@reox-design.net> <7092BDF6-75FA-493E-A2E1-37016FA8D104@ena.com> Message-ID: <49A2F21B.8080803@reox-design.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 ok, the problem is solved... i remembered, that i changed the user for apache some weeks ago. So i checked the /usr/lib/cgi-bin dir. nagios3 was chowned by www-data and not by the new user. I tried to chown it to the new user, but i got still the whoops error. So i greped the nagios config files for any user settings, but i found nothing. I startet apache under www-data and chowned cgi-bin/nagios3 back to www-data and it worked. Its interesting that it doenst work with another user, even if i chown the dirs right?! thanks for the help! sebastian Ortner, Gerald schrieb: > is the nagios process running? > if not check if nagios.cmd and nagios.pid exists (e.g. /var/run/nagios2/) > remove both > try to start the daemon > > gerald > > -----Urspr?ngliche Nachricht----- > Von: Marc Powell [mailto:marc at ena.com] > Gesendet: Montag, 23. Februar 2009 16:17 > An: Nagios Users > Betreff: Re: [Nagios-users] Whoops Error for no reason > > > On Feb 20, 2009, at 3:34 PM, Sebastian Bachmann wrote: > >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >> >> Hello, >> Yesterday i added a new host in my nagios config. After adding the >> host i reloaded the daemon and checked the cgi webinterface to check >> the host. But the Webinterface give my since this reconfiguration a >> Whoops Error ("*Error: Could not read object configuration data!"). I >> restarted the daemon, checked the config with -v (2 warning and 0 >> errors) and finally restarted the server. I also removed the new host >> from the config, but I'm getting still this error. >> I checked the FAQ, Mailingslists and Google and only found unansweard >> threads - seems to be a nice problem :D > > And always caused by factors external to nagios afaik. Do you have > SELinux enabled? Do your web server error logs show anything > interesting? > > -- > 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 > > > > > OOe. Gesundheits- und Spitals-AG > Techcenter, Hafenstrasse 47-51, 4020 Linz > DVR 2107870, ATU 51928204, Firmenbuchgericht: Landesgericht Linz, FN 210146 p > > > > ------------------------------------------------------------------------------ > 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 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iQEcBAEBAgAGBQJJovIbAAoJEMk5DteJqDfPZ44H/0oeB1vVwCidSxQsbleujnQv ivLhkMtelZEuOAu5jggrymnGQ3uMcXgv5zL+lyzgIVdlb0B68wLqq66uAkSfIeka hWjRW1drfZsOl5qRADmx9pek/P8pHmx0g/xSdd8It6JqxYevnM2vL+ygaquirfph s1WR0FWlDRKnBWdkjlM6L6rTTYfaiOI0YwLlNIVDGVUCmvxjKVZC33I/8iMZT39o c0lGNndnGQHY9bCwk2RCSa1rGLnx7gEkEdyGRwf5hTXQBEdLW4+YeMOEEigj1N0A dk0vo8/i00527ChNJgLeSNmpT+7YydiQ8cjI0hgbpChtlbvt1r9dHk7sxiOvvRo= =3wAf -----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 mmalaidini at gmail.com Mon Feb 23 20:14:18 2009 From: mmalaidini at gmail.com (Manlio Malaidini) Date: Mon, 23 Feb 2009 14:14:18 -0500 Subject: Left pane doesn't make sense on a newly installed Fedora machine In-Reply-To: <2f615ce40902230756n74028830tb457528e1134c625@mail.gmail.com> References: <2f615ce40902230756n74028830tb457528e1134c625@mail.gmail.com> Message-ID: <2f615ce40902231114q67c359e3m764f5d084f1edd5c@mail.gmail.com> Answering myself, maybe this can be useful for others too: it turned out that on this machine, that I have inherited, php was not install. So: *) yum install php *) service httpd restart Et voila'! Shouldn't this be in an FAQ? ==> http://www.nagios.org/faqs I've looked for something about it there but couldn't find anything. Thanks, MM On Mon, Feb 23, 2009 at 10:56 AM, Manlio Malaidini wrote: > Hello everybody, > Newbie here. I've just installed nagios 3.1.0 on a Fedora machine > (FC5) following the instructions available here: > http://nagios.sourceforge.net/docs/3_0/quickstart-fedora.html > In order to make it work I had to tweak the Directory listing options > here and there. But that's not the point. > The issue is that when I access nagios at > http://myserver/nagios/index.php there seems to be something wrong in > the left pane. It seems that something is misconfigured: > > > Current Status > > /tac.cgi" target="">Tactical Overview > /statusmap.cgi?host=all" target="">Map > /status.cgi?hostgroup=all&style=hostdetail" target="">Hosts > /status.cgi?host=all" target="">Services > /status.cgi?hostgroup=all&style=overview" target="">Host Groups > > /status.cgi?hostgroup=all&style=summary" target="">Summary > /status.cgi?hostgroup=all&style=grid" target="">Grid > > /status.cgi?servicegroup=all&style=overview" target="">Service Groups > > /status.cgi?servicegroup=all&style=summary" target="">Summary > /status.cgi?servicegroup=all&style=grid" target="">Grid > > /status.cgi?host=all&servicestatustypes=28" target="">Problems > > /status.cgi?host=all&servicestatustypes=28" target="">Services > (/status.cgi?host=all&type=detail&hoststatustypes=3&serviceprops=42&servicestatustypes=28" > target="">Unhandled) > /status.cgi?hostgroup=all&style=hostdetail&hoststatustypes=12" > target="">Hosts > (/status.cgi?hostgroup=all&style=hostdetail&hoststatustypes=12&hostprops=42" > target="">Unhandled) > /outages.cgi" target="">Network Outages > > /status.cgi" target=""> Quick Search: > Reports > > /avail.cgi" target="">Availability > /trends.cgi" target="">Trends > /history.cgi?host=all" target="">Alerts > > /history.cgi?host=all" target="">History > /summary.cgi" target="">Summary > /histogram.cgi" target="">Histogram > > /notifications.cgi?contact=all" target="">Notifications > /showlog.cgi" target="">Event Log > > System > > /extinfo.cgi?type=3" target="">Comments > /extinfo.cgi?type=6" target="">Downtime > /extinfo.cgi?type=0" target="">Process Info > /extinfo.cgi?type=4" target="">Performance Info > /extinfo.cgi?type=7" target="">Scheduling Queue > /config.cgi" target="">Configuration > > > This is literally what I see instead of a familiar nagios left pane. > I have verified the configuration file as per the instructions but > this is what I get. Does anybody have any hint? > > Thanks, > MM > ------------------------------------------------------------------------------ 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 jim at jimavery.me.uk Mon Feb 23 20:19:53 2009 From: jim at jimavery.me.uk (Jim Avery) Date: Mon, 23 Feb 2009 19:19:53 +0000 Subject: graphing trends across hosts or services instead of a timeseries In-Reply-To: References: Message-ID: <765d77c80902231119v7f0b7f5x75c596c53d2cebd2@mail.gmail.com> 2009/2/12 Rahul Nabar : > 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! I don't think you can do this within PNP itself, but I've recently been using drraw (http://web.taranis.org/drraw/) to draw individual graphs of metrics from multiple PNP .rrd databases. It seems to work very nicely, and has a handy dashboard feature so you can group a few graphs on the same page too. There are some patches for drraw to make use of the PNP templates but I confess I haven't managed to get those working yet (not sure I need to either). Cheers, Jim ------------------------------------------------------------------------------ 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 jim at jimavery.me.uk Mon Feb 23 20:43:13 2009 From: jim at jimavery.me.uk (Jim Avery) Date: Mon, 23 Feb 2009 19:43:13 +0000 Subject: Service Checks In-Reply-To: <4b008f7d0902200643i474f03fel579faf54d1ff05c2@mail.gmail.com> References: <4b008f7d0902200643i474f03fel579faf54d1ff05c2@mail.gmail.com> Message-ID: <765d77c80902231143p27003240reaabfad1f1491181@mail.gmail.com> 2009/2/20 Alex Dehaini : > Hi Guys, > > I have about 200 hosts and 400 services. My sys spec is about P4 2.4 Ghz and > 2Gb of RAM. I want to check each service every 20 seconds and update the CGI > interface. Any clues how I can achieve this? See http://nagios.sourceforge.net/docs/3_0/tuning.html and http://nagios.sourceforge.net/docs/3_0/configmain.html#interval_length I can't tell you if following all this advice will actually achieve your goal but guess it should do. I've never tried changing the timing interval length from 60 myself. Cheers, Jim ------------------------------------------------------------------------------ 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 jim at jimavery.me.uk Mon Feb 23 21:02:56 2009 From: jim at jimavery.me.uk (Jim Avery) Date: Mon, 23 Feb 2009 20:02:56 +0000 Subject: Nagios configuration for SAN monitoring In-Reply-To: <8e2991480902201609r6743f95cg4efe1118b1b85f5f@mail.gmail.com> References: <8e2991480902201609r6743f95cg4efe1118b1b85f5f@mail.gmail.com> Message-ID: <765d77c80902231202p3d299ccdsd24ed33d23cab343@mail.gmail.com> 2009/2/21 Sonika Sachdeva : > Hello List, > > I have nagios basic configuration up and running as per the quickstart > guide. > I also have SNMP4nagios installed and running and the command works from the > command line as follows > > /usr/local/bin/check_brocade_port -H x.x.x.x -C mystring -T -i 5 -I addinf > OK - Port 5: I: 527243 kFCW, 1109528922 FCF; O: 1204391 kFCW, 2066880039 > FCF|addinf;6;1;539897616;1233297068;1109528922;2066880039 > How do I integrate this command in nagios and start the logging and graphing > functionality for brocade ports. can someone point me to a tutorial/guide. > > Has someone used nagios for SAN monitoring? Using the check_brocade_port plugin is not much different to using check_ping in your default Nagios install. You need to define the command, hosts and services in your Nagios configuration files. If you find the supplied documentation difficult to follow, there are various books available commercially. A search for "Nagios" on the website of your favourite bookstore will no doubt show a few to choose from. The book I used to recommend (Nagios by Wolfgang Barth published by No Starch Press) gives an excellent introduction but unless it's been updated it won't include a lot of useful stuff new in version 3. I'm not sure which book is the best today, but there was a recent discussion on the topic here on the mailing list. I use Nagios to receive SNMP traps from the SAN storage manager software. I use snmptt to receive the traps and NagTrap to store them in a database and handle them in the web front-end. I confess I haven't tried using the check_brocade plugins. http://www.snmptt.org/ http://nagtrap.org/doku.php/en:start Cheers, Jim ------------------------------------------------------------------------------ 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 Bill.York at state.nm.us Mon Feb 23 21:13:25 2009 From: Bill.York at state.nm.us (York, Bill, DoIT) Date: Mon, 23 Feb 2009 13:13:25 -0700 Subject: Nagios configuration for SAN monitoring References: <8e2991480902201609r6743f95cg4efe1118b1b85f5f@mail.gmail.com> <765d77c80902231202p3d299ccdsd24ed33d23cab343@mail.gmail.com> Message-ID: Hi, recently got these working and I'll tell you what I've learned. i don't know if it's a bug in the brocade snmp implementation, but getsnmp and check_brocade_port both report an admin down port, even when the port is admin up and the cable is unplugged. this is a problem to me, but i just set up alarms for a WARNING. i use cacti for RRD monitoring. i found PNP too cumbersome. this command is different from the check_ping as it does not use the IP stack for availability. you have to set this up as a service and monitor accordingly. unfortunately, monitoring a FC SAN is much different from monitoring an Ethernet network. bill -----Original Message----- From: Jim Avery [mailto:jim at jimavery.me.uk] Sent: Mon 2/23/2009 1:02 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagios configuration for SAN monitoring 2009/2/21 Sonika Sachdeva : > Hello List, > > I have nagios basic configuration up and running as per the quickstart > guide. > I also have SNMP4nagios installed and running and the command works from the > command line as follows > > /usr/local/bin/check_brocade_port -H x.x.x.x -C mystring -T -i 5 -I addinf > OK - Port 5: I: 527243 kFCW, 1109528922 FCF; O: 1204391 kFCW, 2066880039 > FCF|addinf;6;1;539897616;1233297068;1109528922;2066880039 > How do I integrate this command in nagios and start the logging and graphing > functionality for brocade ports. can someone point me to a tutorial/guide. > > Has someone used nagios for SAN monitoring? Using the check_brocade_port plugin is not much different to using check_ping in your default Nagios install. You need to define the command, hosts and services in your Nagios configuration files. If you find the supplied documentation difficult to follow, there are various books available commercially. A search for "Nagios" on the website of your favourite bookstore will no doubt show a few to choose from. The book I used to recommend (Nagios by Wolfgang Barth published by No Starch Press) gives an excellent introduction but unless it's been updated it won't include a lot of useful stuff new in version 3. I'm not sure which book is the best today, but there was a recent discussion on the topic here on the mailing list. I use Nagios to receive SNMP traps from the SAN storage manager software. I use snmptt to receive the traps and NagTrap to store them in a database and handle them in the web front-end. I confess I haven't tried using the check_brocade plugins. http://www.snmptt.org/ http://nagtrap.org/doku.php/en:start Cheers, Jim ------------------------------------------------------------------------------ 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 ______________________________________________________________________ This inbound email has been scanned by the MessageLabs Email Security System. ______________________________________________________________________ Confidentiality Notice: This e-mail, including all attachments is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited unless specifically provided under the New Mexico Inspection of Public Records Act. If you are not the intended recipient, please contact the sender and destroy all copies of this message. -- This email has been scanned by the Sybari - Antigen Email System. -------------- 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 Matthias.Flacke at gmx.de Mon Feb 23 21:43:11 2009 From: Matthias.Flacke at gmx.de (Matthias Flacke) Date: Mon, 23 Feb 2009 21:43:11 +0100 Subject: Nagios configuration for SAN monitoring In-Reply-To: <765d77c80902231202p3d299ccdsd24ed33d23cab343@mail.gmail.com> References: <8e2991480902201609r6743f95cg4efe1118b1b85f5f@mail.gmail.com> <765d77c80902231202p3d299ccdsd24ed33d23cab343@mail.gmail.com> Message-ID: <49A30A5F.8040806@gmx.de> Jim Avery wrote: > The book I used to recommend (Nagios by Wolfgang Barth > published by No Starch Press) gives an excellent introduction but > unless it's been updated it won't include a lot of useful stuff new in > version 3. Just as a side note: it is up2date. In October 2008 the 2nd edition was released which fully covers Nagios 3 topics on now 720 pages. ;) -Matthias ------------------------------------------------------------------------------ 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 Edgar.Matzinger at valid.nl Mon Feb 23 21:49:24 2009 From: Edgar.Matzinger at valid.nl (Edgar Matzinger) Date: Mon, 23 Feb 2009 21:49:24 +0100 Subject: Nagios configuration for SAN monitoring References: <8e2991480902201609r6743f95cg4efe1118b1b85f5f@mail.gmail.com> <765d77c80902231202p3d299ccdsd24ed33d23cab343@mail.gmail.com> Message-ID: Hi Sonika, 2009/2/21 Sonika Sachdeva : > Hello List, > > I have nagios basic configuration up and running as per the quickstart > guide. > I also have SNMP4nagios installed and running and the command works from the > command line as follows > > /usr/local/bin/check_brocade_port -H x.x.x.x -C mystring -T -i 5 -I addinf > OK - Port 5: I: 527243 kFCW, 1109528922 FCF; O: 1204391 kFCW, 2066880039 > FCF|addinf;6;1;539897616;1233297068;1109528922;2066880039 > How do I integrate this command in nagios and start the logging and graphing > functionality for brocade ports. can someone point me to a tutorial/guide. > > Has someone used nagios for SAN monitoring? I have, some time ago. It's relatively easy to set up nagios so that it stores the perf. data in RRD databases. But the problem lies in the fact that all the performance counters in the brocade switches roll over after having read or written 4e9 4byte words. So you have to read-out the counters for each port every 2 to 5 minutes (depending on the speed of the interface: 1Gb, 2Gb, 4Gb) and if you have a 16-port FC-switch you have to contact it every 15 seconds. Not a problem if you have a single switch, but if you have more than, let's say, 8, this will put a serious load on nagios. To solve this issue, I wrote a little tool that contacts the FC switches every minute, retrieves the perf. counters and stores this data directly into RRD databases (for every port in each switch one RRD db). But every few minutes it will pass the data through nagios (needed to satisfy GroundWork). If needed, I can dig up this tool. 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 ... ________________________________ From: Jim Avery [mailto:jim at jimavery.me.uk] Sent: Mon 2/23/2009 21:02 To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagios configuration for SAN monitoring ------------------------------------------------------------------------------ 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 replysonika at gmail.com Mon Feb 23 22:39:54 2009 From: replysonika at gmail.com (Sonika Sachdeva) Date: Mon, 23 Feb 2009 13:39:54 -0800 Subject: Nagios configuration for SAN monitoring In-Reply-To: References: <8e2991480902201609r6743f95cg4efe1118b1b85f5f@mail.gmail.com> <765d77c80902231202p3d299ccdsd24ed33d23cab343@mail.gmail.com> Message-ID: <8e2991480902231339s794a8863vebcf8347cf0e13b5@mail.gmail.com> Thanks very much All. Thanks Edgar. Edgar, I think that tool would be very helpful. I am planning to monitor the traffic on 2 brocade switches (224 ports each / 7 blades each) So that would put a lot of load on the server as you mentioned. It would be quite helpful if you could forward that to me. Thanks, Sonika On Mon, Feb 23, 2009 at 12:49 PM, Edgar Matzinger wrote: > Hi Sonika, > > 2009/2/21 Sonika Sachdeva : > > Hello List, > > > > I have nagios basic configuration up and running as per the quickstart > > guide. > > I also have SNMP4nagios installed and running and the command works from > the > > command line as follows > > > > /usr/local/bin/check_brocade_port -H x.x.x.x -C mystring -T -i 5 -I > addinf > > OK - Port 5: I: 527243 kFCW, 1109528922 FCF; O: 1204391 kFCW, 2066880039 > > FCF|addinf;6;1;539897616;1233297068;1109528922;2066880039 > > How do I integrate this command in nagios and start the logging and > graphing > > functionality for brocade ports. can someone point me to a > tutorial/guide. > > > > Has someone used nagios for SAN monitoring? > > I have, some time ago. It's relatively easy to set up nagios so that > it stores the perf. data in RRD databases. But the problem lies in the > fact that all the performance counters in the brocade switches roll > over after having read or written 4e9 4byte words. So you have to > read-out the counters for each port every 2 to 5 minutes (depending on > the speed of the interface: 1Gb, 2Gb, 4Gb) and if you have a 16-port > FC-switch you have to contact it every 15 seconds. Not a problem if you > have a single switch, but if you have more than, let's say, 8, this will > put a serious load on nagios. > > To solve this issue, I wrote a little tool that contacts the FC switches > every minute, retrieves the perf. counters and stores this data directly > into RRD databases (for every port in each switch one RRD db). But every > few minutes it will pass the data through nagios (needed to satisfy > GroundWork). > > If needed, I can dig up this tool. > > 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 ... > > ________________________________ > > From: Jim Avery [mailto:jim at jimavery.me.uk] > Sent: Mon 2/23/2009 21:02 > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Nagios configuration for SAN monitoring > > > > > > > > ------------------------------------------------------------------------------ > 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 eric.aiken at hcl.in Mon Feb 23 22:50:49 2009 From: eric.aiken at hcl.in (Eric Aiken) Date: Mon, 23 Feb 2009 13:50:49 -0800 Subject: NRPE - garbage output Message-ID: <36E9E7A1C34F0C4298C24265CDEB342B055B8EE0@ex-sea-1-2k3.sea.ad.capitalstream.com> I?ve bumped into this a few times in the past. When doing a check_nrpe to a remote server, I get additional ?garbage? output that interferes with the nagios check. I was running nrpe 2.11 and found a supposed fix in 2.12. I?ve since upgraded both the nagios server and client to nrpe 2.12 and restarted everything with no change. If I run the check on the client everything works as expected. If I run it via check_nrpe it doesn?t. The following is an example with relevant security changes: On client: # /usr/lib64/nagios/plugins/contrib/check_ftp.pl -H SERVERNAME -u USERNAME -p PASSWORD-f index.html OK: Opening ASCII mode data connection for index.html(236 bytes). Transfer complete. client nrpe.cfg entry: command[check_ftp2web]=/usr/lib64/nagios/plugins/contrib/check_ftp.pl -H SERVERNAME -u USERNAME -p PASSWORD index.html On server: # check_nrpe -H SERVERNAME -c check_ftp2web WARNING: server says: Transfer complete. '?ABOR': command not understood Note the garbage and also the different result OK vs WARNING Any suggestions is 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 lraymond at weatherflow.com Mon Feb 23 23:03:12 2009 From: lraymond at weatherflow.com (Lance Raymond) Date: Mon, 23 Feb 2009 17:03:12 -0500 Subject: 1st post to the group, basic q ... I think Message-ID: <49A31D20.3000408@weatherflow.com> so far the install, etc. went easy there are some good doc's there. I am still understanding the groups, etc. but so far I have the server and 2 remote hosts setup. The load check isn't really to good, so I downloaded the perl one using snmp and from the command line works great, see this example; [root at ws6 libexec]# perl ./check_snmp_load.pl -H ipadd -C community -w 3,3,2 -c 4,4,3 -T netsl Load : 5.55 5.04 4.87 : 5.55 > 4 : CRITICAL 5.04 > 4 : CRITICAL 4.87 > 3 : CRITICAL I added the following to the commands.cfg file; define command{ command_name check_snmp_load_v1 command_line $USER1$/check_snmp_load.pl -H $HOSTADDRESS$ $USER7$ -T $ARG1$ -w $ARG2$ -c $ARG3$ $ARG4$ } on the target machine I put; define service{ use local-service ; Name of service template to use host_name servername service_description Current Load via SNMP check_command check_local_load!5.0,4.0,3.0!10.0,6.0,4.0 } I restarted nagios, saw the new line in the details, but the values are showing as; OK - load average: 0.10, 0.06, 0.01 I did have a shell opened testing the local script at the same time and the load is still around 5. I will have other questions, etc. as I read/play more, but just wanted to get this part done, then look at thresholds, etc. but if anyone is using this script and notice something obvious, please feel free to let me know. 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 sloane at ku.edu Mon Feb 23 23:47:50 2009 From: sloane at ku.edu (Sloane, Robert Raymond) Date: Mon, 23 Feb 2009 16:47:50 -0600 Subject: NRPE - garbage output In-Reply-To: <36E9E7A1C34F0C4298C24265CDEB342B055B8EE0@ex-sea-1-2k3.sea.ad.capitalstream.com> References: <36E9E7A1C34F0C4298C24265CDEB342B055B8EE0@ex-sea-1-2k3.sea.ad.capitalstream.com> Message-ID: <9632C3DAB675864EB0A9B7724D85DB790DA15330@MAILBOXSEVEN.home.ku.edu> It looks like you might be running the manual check as root rather than as the same user that NRPE uses. There might very well be some difference in the environment between the two runs that is causing your problem. Have you tried turning on debug in NRPE on the target system? -- Bob Sloane, University of Kansas Computer Center, Lawrence, KS, 66045 Email:sloane at ku.edu http://www.ku.edu/home/sloane Phone:(785)864-0444 -----Original Message----- From: Eric Aiken [mailto:eric.aiken at hcl.in] Sent: Monday, February 23, 2009 3:51 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] NRPE - garbage output I've bumped into this a few times in the past. When doing a check_nrpe to a remote server, I get additional "garbage" output that interferes with the nagios check. I was running nrpe 2.11 and found a supposed fix in 2.12. I've since upgraded both the nagios server and client to nrpe 2.12 and restarted everything with no change. If I run the check on the client everything works as expected. If I run it via check_nrpe it doesn't. The following is an example with relevant security changes: On client: # /usr/lib64/nagios/plugins/contrib/check_ftp.pl -H SERVERNAME -u USERNAME -p PASSWORD-f index.html OK: Opening ASCII mode data connection for index.html(236 bytes). Transfer complete. client nrpe.cfg entry: command[check_ftp2web]=/usr/lib64/nagios/plugins/contrib/check_ftp.pl -H SERVERNAME -u USERNAME -p PASSWORD index.html On server: # check_nrpe -H SERVERNAME -c check_ftp2web WARNING: server says: Transfer complete. ' ABOR': command not understood Note the garbage and also the different result OK vs WARNING Any suggestions is appreciated. ------------------------------------------------------------------------------ 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 bperry.volatile at gmail.com Tue Feb 24 00:15:39 2009 From: bperry.volatile at gmail.com (Brandon Perry) Date: Mon, 23 Feb 2009 17:15:39 -0600 Subject: NSClient++ and Vista Message-ID: Hi, new to Nagios, so if something is blatant, forgive me :-). I am trying to monitor a Vista machine with NSClient++ (latest version). The client is started on the machine, but nagios cannot access it. Windows Firewall is turned off completely and no othe firewall extists on the machine. I am able to ping the box and view the web site it hosts from another computer over HTTP, but Nagios just reports 'could not fetch information from server' has anyone had this problem before? The machine is a virtual machine in VMware, but I have no problem accessing it from other machines otherwise. -- http://www.volatileminds.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 bperry.volatile at gmail.com Tue Feb 24 00:36:14 2009 From: bperry.volatile at gmail.com (Brandon Perry) Date: Mon, 23 Feb 2009 17:36:14 -0600 Subject: NSClient++ and Vista In-Reply-To: References: Message-ID: As a follow up, here is the output from nsclient.exe Launching test mode - client mode d NSClient++.cpp(477) Attempting to start NSCLient++ - 0.3.6.325 2009-02-07 d NSClient++.cpp(880) Loading plugin: CheckDisk... d NSClient++.cpp(880) Loading plugin: Event log Checker.... d NSClient++.cpp(880) Loading plugin: Check External Scripts... d NSClient++.cpp(880) Loading plugin: Helper function... d NSClient++.cpp(880) Loading plugin: CheckSystem... d NSClient++.cpp(880) Loading plugin: CheckTaskSched... d NSClient++.cpp(880) Loading plugin: File logger... l \FileLogger.cpp(93) Log path is: C:\Program Files\NSClient++\\nsclient.log d NSClient++.cpp(880) Loading plugin: LUAScript... d NSClient++.cpp(880) Loading plugin: NRPE server (w/ SSL)... d \NRPEListener.cpp(91) Loading all commands (from NRPE) d \NRPEListener.cpp(121) Starting NRPE socket... d \PDHCollector.cpp(66) Autodetected w2k or later, using w2k PDH counters. d \PDHCollector.cpp(103) Using index to retrive counternames d \PDHCollector.cpp(123) Found countername: CPU: \Processor(_total)\% Processor Time d \PDHCollector.cpp(124) Found countername: UPTIME: \System\System Up Time d \PDHCollector.cpp(125) Found countername: MCL: \Memory\Commit Limit d \PDHCollector.cpp(126) Found countername: MCB: \Memory\Committed Bytes d NSClient++.cpp(880) Loading plugin: NSClient server... d NSClient++.cpp(880) Loading plugin: SystemTray... e \SysTray.cpp(51) SysTray is not installed (or it cannot interact with the desktop) SysTray won't be loaded. Run NSClient++ SysTray install to change this. l NSClient++.cpp(583) NSCLient++ - 0.3.6.325 2009-02-07 Started! d \Socket.h(641) Bound to: 0.0.0.0:12489 d \Socket.h(641) Bound to: 0.0.0.0:5666 l NSClient++.cpp(385) Using settings from: INI-file l NSClient++.cpp(386) Enter command to inject or exit to terminate... -- http://www.volatileminds.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 bperry.volatile at gmail.com Tue Feb 24 00:37:37 2009 From: bperry.volatile at gmail.com (Brandon Perry) Date: Mon, 23 Feb 2009 17:37:37 -0600 Subject: NSClient++ and Vista In-Reply-To: References: Message-ID: Hrm, sorry to waste anyone's time, it seems by adding the IP of the server to the allowed hosts worked. Thanks! On Mon, Feb 23, 2009 at 5:36 PM, Brandon Perry wrote: > As a follow up, here is the output from nsclient.exe > > Launching test mode - client mode > d NSClient++.cpp(477) Attempting to start NSCLient++ - 0.3.6.325 2009-02-07 > d NSClient++.cpp(880) Loading plugin: CheckDisk... > d NSClient++.cpp(880) Loading plugin: Event log Checker.... > d NSClient++.cpp(880) Loading plugin: Check External Scripts... > d NSClient++.cpp(880) Loading plugin: Helper function... > d NSClient++.cpp(880) Loading plugin: CheckSystem... > d NSClient++.cpp(880) Loading plugin: CheckTaskSched... > d NSClient++.cpp(880) Loading plugin: File logger... > l \FileLogger.cpp(93) Log path is: C:\Program > Files\NSClient++\\nsclient.log > d NSClient++.cpp(880) Loading plugin: LUAScript... > d NSClient++.cpp(880) Loading plugin: NRPE server (w/ SSL)... > d \NRPEListener.cpp(91) Loading all commands (from NRPE) > d \NRPEListener.cpp(121) Starting NRPE socket... > d \PDHCollector.cpp(66) Autodetected w2k or later, using w2k PDH counters. > d \PDHCollector.cpp(103) Using index to retrive counternames > d \PDHCollector.cpp(123) Found countername: CPU: \Processor(_total)\% > Processor Time > d \PDHCollector.cpp(124) Found countername: UPTIME: \System\System Up Time > d \PDHCollector.cpp(125) Found countername: MCL: \Memory\Commit Limit > d \PDHCollector.cpp(126) Found countername: MCB: \Memory\Committed Bytes > d NSClient++.cpp(880) Loading plugin: NSClient server... > d NSClient++.cpp(880) Loading plugin: SystemTray... > e \SysTray.cpp(51) SysTray is not installed (or it cannot interact with the > desktop) SysTray won't be loaded. Run NSClient++ SysTray install to change > this. > l NSClient++.cpp(583) NSCLient++ - 0.3.6.325 2009-02-07 Started! > d \Socket.h(641) Bound to: 0.0.0.0:12489 > d \Socket.h(641) Bound to: 0.0.0.0:5666 > l NSClient++.cpp(385) Using settings from: INI-file > l NSClient++.cpp(386) Enter command to inject or exit to terminate... > > > -- > http://www.volatileminds.net > -- http://www.volatileminds.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 patrick.morris at hp.com Tue Feb 24 02:26:02 2009 From: patrick.morris at hp.com (Patrick Morris) Date: Mon, 23 Feb 2009 17:26:02 -0800 Subject: 1st post to the group, basic q ... I think In-Reply-To: <49A31D20.3000408@weatherflow.com> References: <49A31D20.3000408@weatherflow.com> Message-ID: <20090224012602.GA30298@bakgwai.americas.hpqcorp.net> On Mon, 23 Feb 2009, Lance Raymond wrote: > so far the install, etc. went easy there are some good doc's there. > > I am still understanding the groups, etc. but so far I have the server > and 2 remote hosts setup. The load check isn't really to good, so I > downloaded the perl one using snmp and from the command line works > great, see this example; > > [root at ws6 libexec]# perl ./check_snmp_load.pl -H ipadd -C community -w > 3,3,2 -c 4,4,3 -T netsl > Load : 5.55 5.04 4.87 : 5.55 > 4 : CRITICAL 5.04 > 4 : CRITICAL 4.87 > 3 > : CRITICAL > > I added the following to the commands.cfg file; > > define command{ > command_name check_snmp_load_v1 > command_line $USER1$/check_snmp_load.pl -H $HOSTADDRESS$ $USER7$ -T > $ARG1$ -w $ARG2$ -c $ARG3$ $ARG4$ > } > > on the target machine I put; > > define service{ > use local-service ; Name of > service template to use > host_name servername > service_description Current Load via SNMP > check_command > check_local_load!5.0,4.0,3.0!10.0,6.0,4.0 > } > > I restarted nagios, saw the new line in the details, but the values are > showing as; > OK - load average: 0.10, 0.06, 0.01 > > I did have a shell opened testing the local script at the same time and > the load is still around 5. Your service says to use check_local_load. How is that defined? My guess is that it's not giving you values for the machine you want to check -- it's probably telling you the load for your Nagios box. Assuming you want to use check_snmp_load_v1, that's the check command you should be using in your service definition. ------------------------------------------------------------------------------ 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 24 02:32:03 2009 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Mon, 23 Feb 2009 20:32:03 -0500 Subject: Service check on DOWN hosts!!! In-Reply-To: <49A2C413.5070405@iris.uh.cu> References: <49A2C413.5070405@iris.uh.cu> Message-ID: <49A34E13.80802@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 23/02/09 10:43 AM, Sergio Ariel wrote: > I have some services (in different hosts) I check by Nagios. > Some of these service checks spend some seconds to execute, so, I've set > a window time according each time execution. For example: I've some 30 > seconds timeout service check. > My problem is that when these host are DOWN, Nagios wait 30 seconds > trying to execute the service check. After this 30 seconds, then tell me > "CRITICAL SERVICE". I want to avoid Nagios checks any service in DOWN > host. > Please, how can I get it? > I want Nagios don't execute any service check until host is UP again. Nagios doesn't send any service notification for down host. If that's not enough use an eventhandler to disable active services checks on the host. See the Nagios documentation about "event handlers" and "Adaptive Monitoring". If you do so, use Nagios 3.x and make sure you have regularly scheduled hosts checks or your service will never get back up (nagios generally use service results as a trigger to hosts checks, though nagios3 added scheduled host checks and result caching). - -- Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFJo03O6dZ+Kt5BchYRAvnvAJ4n+FME6lkWaxWDWpAFchHzgq0WpQCgqLy1 qW+glM2Lt+ZtccflllCTaZk= =PuNL -----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 d.hill at yournetplus.com Tue Feb 24 03:01:06 2009 From: d.hill at yournetplus.com (Duane Hill) Date: Tue, 24 Feb 2009 02:01:06 +0000 (UTC) Subject: Return code of 141 is out of bounds - Continued Message-ID: FreeBSD 6.3-RELEASE-p4, Nagios v3.0.6 I now have another server that is having issues with Nagios reporting: (Return code of 141 is out of bounds) on an SMTP check to a Postfix server. The check command is as follows: # 'check_smtp' command definition define command{ command_name check_smtp command_line $USER1$/check_smtp -H $HOSTADDRESS$ -p $ARG1$ -t $ARG2$ } which was previously suggested, and the service is defined as such: define service { ; smtp port 25 use ynp-services-duane host_name pri_spam_filt service_description SMTP check_command check_smtp!25!60 } What can I do to correct the issue? -d ------------------------------------------------------------------------------ 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 lraymond at weatherflow.com Tue Feb 24 05:10:50 2009 From: lraymond at weatherflow.com (Lance Raymond) Date: Mon, 23 Feb 2009 23:10:50 -0500 Subject: 1st post to the group, basic q ... I think In-Reply-To: <20090224012602.GA30298@bakgwai.americas.hpqcorp.net> References: <49A31D20.3000408@weatherflow.com> <20090224012602.GA30298@bakgwai.americas.hpqcorp.net> Message-ID: ah, after all the install stuff to fall with something like that was just bad! Well your right, but I am still having a problem. I read alot on hostgroups, etc. and starting writing out the map of what and how so to then go back to this, man, I am ready for bed! But here is the scoop / problem. The command file is untouched. There is nothing in the services file as I am only testing on one host, so it's in that servername.cfg file. Once things work I can move it, but that box now has the following; define command{ command_name check_snmp_load_v1 command_line $USER1$/check_snmp_load.pl -H $HOSTADDRESS$ $USER7$ -T $ARG1$ -w $ARG2$ -c $$ } define host{ use linux-server ; Name of host template to use ; This host definition will inherit all variables that are defined ; in (or inherited by) the linux-server host template definition. host_name db1 alias db1 address public ip here } define service{ use local-service ; Name of service template to use host_name bigbird service_description Current Load via SNMP check_command check_snmp_load_v1 } I tried a few things after the _v1 but nagios kept failing on restart, so I think I just need to figure out howto push the variables (such as hostIP , community name) to the check_command, right? Since changing the service to use the new command, nagios is now red with the following error; Return code of 255 is out of bounds I'm getting closer, as I said some good reading 2nt, but not for this, so hopefully someone has a quick answer and I promise to have more intelligent questions after ;) -------------- 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 jim at jimavery.me.uk Tue Feb 24 10:17:13 2009 From: jim at jimavery.me.uk (Jim Avery) Date: Tue, 24 Feb 2009 09:17:13 +0000 Subject: graphing trends across hosts or services instead of a timeseries In-Reply-To: References: <765d77c80902231119v7f0b7f5x75c596c53d2cebd2@mail.gmail.com> Message-ID: <765d77c80902240117h6db2254dme67c1577562298c9@mail.gmail.com> 2009/2/23 Rahul Nabar : > Thanks for the pointer. I just looked up ddraw and it does look promising. > Do you think you can share some of your ddraw configs with me? Or maybe if > you had any other notes. No problem. Note that I'm running Ubuntu 8.04 LTS Server and have installed Nagios and PNP as far as possible according to the online instructions (nothing fancy). I installed drraw.cgi and drraw.conf under /var/www/cgi-bin/ . Not sure if that's ideal but it works for me. Most of drraw.conf stays "as is" as far as I remember, except the following: # The Test area /var/www/drraw/data is just for my playpen. The Live area /usr/local/nagios/share/perfdata is where the PNP .rrd files are. # drraw will look recursively under these directories. %datadirs = ('/var/www/drraw/data' => '[Test] ', '/usr/local/nagios/share/perfdata' => '[Live] ', ); # make sure these exist and are writeable by the apache (www-data in my case) user. $saved_dir = '/usr/local/drraw/saved'; $tmp_dir = '/usr/local/drraw/tmp'; # If you don't care for authentication, set the following to 2. # I've set this to 2 while I get it working, will tighten it down later. %users = ( 'guest' => 2 ); # This is to enable a patch I found in the drraw mailing list. I couldn't get it to work so disable it for now. # pnp4nagios XML $use_pnp4nagios_xml = 0; I also edited /etc/apache2/sites-available/default to enable the cgi-bin directory for cgi execution: ScriptAlias /cgi-bin/ /var/www/cgi-bin/ AllowOverride None Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch Order allow,deny Allow from all I had to install some dependencies, I forget which ones, but I'm pretty sure librrds-perl was one of them. The web interface for drraw is fairly intuitive, except it took me a few minutes to notice that in order to save a graph, you need to specify a Graph Title in the Graph Options section! hth, Jim ------------------------------------------------------------------------------ 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 Tue Feb 24 10:34:28 2009 From: rpnabar at gmail.com (Rahul Nabar) Date: Tue, 24 Feb 2009 03:34:28 -0600 Subject: graphing trends across hosts or services instead of a timeseries In-Reply-To: <765d77c80902240117h6db2254dme67c1577562298c9@mail.gmail.com> References: <765d77c80902231119v7f0b7f5x75c596c53d2cebd2@mail.gmail.com> <765d77c80902240117h6db2254dme67c1577562298c9@mail.gmail.com> Message-ID: On Tue, Feb 24, 2009 at 3:17 AM, Jim Avery wrote: > I had to install some dependencies, I forget which ones, but I'm > pretty sure librrds-perl was one of them. > > The web interface for drraw is fairly intuitive, except it took me a > few minutes to notice that in order to save a graph, you need to > specify a Graph Title in the Graph Options section! > > hth, > > Jim Awesome! That will be a lot of help I am sure. Thank you again, Jim. I appreciate the help! -- 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 From dharini.vibhu at wipro.com Tue Feb 24 10:39:08 2009 From: dharini.vibhu at wipro.com (dharini.vibhu at wipro.com) Date: Tue, 24 Feb 2009 15:09:08 +0530 Subject: Distributed Linux set up configuration In-Reply-To: <765d77c80902240117h6db2254dme67c1577562298c9@mail.gmail.com> References: <765d77c80902231119v7f0b7f5x75c596c53d2cebd2@mail.gmail.com> <765d77c80902240117h6db2254dme67c1577562298c9@mail.gmail.com> Message-ID: Hi All While trying to configure Distributed Linux set up in Nagios I am getting only the following error message from the server "CHECK_NRPE: Error - Could not complete SSL handshake" Whether some body can check and help me. Both plug-in and daemon versions ae same and permissions are correct. Some body please help me Thanks and regards, V.Dharini Practice Team - Tools Engineer |WIPRO Infotech| # 37, Castle street, Samridhibhavan, Ashok Nagar. Bangalore - |560 025| ------------------------------------------------------------------------------ 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 subscription at kkeane.com Tue Feb 24 11:35:57 2009 From: subscription at kkeane.com (Kevin Keane) Date: Tue, 24 Feb 2009 02:35:57 -0800 Subject: Specifying hostgroup in the host? Message-ID: <49A3CD8D.30201@kkeane.com> I am running nagios 3.0.6, and would like to find a better way to manage my hostgroups. In Nagios, you usually create a hostgroup by specifying all the relevant hosts in the hostgroup object. What I would like to do is instead tell each host object which hostgroup it belongs to. This is so that I don't have to touch the hostgroup definition when I add new hosts. Is this possible? Or is there some other way to accomplish the same goal? -- 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 cschneemann at suse.de Tue Feb 24 11:56:14 2009 From: cschneemann at suse.de (Christian Schneemann) Date: Tue, 24 Feb 2009 11:56:14 +0100 Subject: Specifying hostgroup in the host? In-Reply-To: <49A3CD8D.30201@kkeane.com> References: <49A3CD8D.30201@kkeane.com> Message-ID: <200902241156.15472.cschneemann@suse.de> On Tuesday February 24 2009 11:35:57 am Kevin Keane wrote: > I am running nagios 3.0.6, and would like to find a better way to manage > my hostgroups. > > In Nagios, you usually create a hostgroup by specifying all the relevant > hosts in the hostgroup object. What I would like to do is instead tell > each host object which hostgroup it belongs to. This is so that I don't > have to touch the hostgroup definition when I add new hosts. > > Is this possible? Or is there some other way to accomplish the same goal? Hi, both is possible and documented in the docs 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. " 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 syedmohammedsaif at yahoo.com Tue Feb 24 15:31:26 2009 From: syedmohammedsaif at yahoo.com (SyedMohammedSaif MabroorAhmed) Date: Tue, 24 Feb 2009 06:31:26 -0800 (PST) Subject: Installing and configuring Nagios Message-ID: <11659.65457.qm@web37103.mail.mud.yahoo.com> Hi all, im new to nagios, just installed nagios 2.12 on my centos machine. it is been installed successflly, now i want to add my host for testing. i added one host, but that did not work. Please can u give me any template for this. Thank you, Saif Syed -------------- 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 assaf.flatto at ssp-intl.com Tue Feb 24 15:36:41 2009 From: assaf.flatto at ssp-intl.com (Assaf Flatto) Date: Tue, 24 Feb 2009 14:36:41 +0000 Subject: Installing and configuring Nagios In-Reply-To: <11659.65457.qm@web37103.mail.mud.yahoo.com> References: <11659.65457.qm@web37103.mail.mud.yahoo.com> Message-ID: <200902241436.41877.assaf.flatto@ssp-intl.com> you might want to follow up on this http://nagios.telecity1.uk.ssp/docs/quickstart.html On Tuesday 24 February 2009 14:31:26 SyedMohammedSaif MabroorAhmed wrote: > Hi all, > > im new to nagios, just installed nagios 2.12 on my centos machine. it is > been installed successflly, now i want to add my host for testing. i added > one host, but that did not work. Please can u give me any template for > this. > > Thank you, > Saif Syed -- 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 ------------------------------------------------------------------------------ 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 jc at info-systems.de Tue Feb 24 15:42:41 2009 From: jc at info-systems.de (Jakob Curdes) Date: Tue, 24 Feb 2009 15:42:41 +0100 Subject: lazy nagios und cygwin... Message-ID: <49A40761.7080202@info-systems.de> Hello, we are running nagios 3.0.5 under cygwin quite successfully in a relatively simple setup (most check results come via NRPE from NSCA++ clients on windows machines). Everything is well, but sometimes a awkward thing happens: nagios just stops doing anything. - It continues to run : the processes are visible in the Windows process table - It ceases to execute checks: checks just stop bein executed - It ceases to write anything to a logfile - It also ceases to write anything to a debug file with Debug=16 (last entry is nothing suspicous) After killing the nagios processes and restarting the windows service (nagios is registered as a windows service using the cygrunsrv facility) everything is back to normal. What I find most annoying is that even in the CGI output everything seems normal - just that the last checks are several hours overdue, but no alarm or other signal is shown. We are not sure if this is cygwin/windows related or if it is a problem which also happens in the "normal" unix environment. Comments would be very welcome. I will now turn up debugging further in the hope that then we see something interesting. Regards, Jakob Curdes ------------------------------------------------------------------------------ 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 24 15:47:35 2009 From: marc at ena.com (Marc Powell) Date: Tue, 24 Feb 2009 08:47:35 -0600 Subject: Installing and configuring Nagios In-Reply-To: <11659.65457.qm@web37103.mail.mud.yahoo.com> References: <11659.65457.qm@web37103.mail.mud.yahoo.com> Message-ID: <17491EB3-49D7-42D5-BE3A-11FB28A0AC8B@ena.com> On Feb 24, 2009, at 8:31 AM, SyedMohammedSaif MabroorAhmed wrote: > Hi all, > > im new to nagios, Welcome. > just installed nagios 2.12 on my centos machine. it is been > installed successflly, now i want to add my host for testing. i > added one host, but that did not work. Please can u give me any > template for this. nagios-2.12 is old. Unless you have a compelling reason to install it, you should be using the latest, nagios-3.1.0. You should also read the documentation and examine the sample config files. Both are fairly comprehensive and will answer most of your questions. As a bonus, you'll learn a lot about nagios and what kind of information to provide when asking questions here. -- 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 24 15:56:13 2009 From: marc at ena.com (Marc Powell) Date: Tue, 24 Feb 2009 08:56:13 -0600 Subject: lazy nagios und cygwin... In-Reply-To: <49A40761.7080202@info-systems.de> References: <49A40761.7080202@info-systems.de> Message-ID: <21F7FBD2-B478-4672-A77A-63C0226986AE@ena.com> On Feb 24, 2009, at 8:42 AM, Jakob Curdes wrote: > > We are not sure if this is cygwin/windows related or if it is a > problem > which also happens in the "normal" unix environment. It is not normal under unix. -- 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 lee at dropio.com Tue Feb 24 17:25:11 2009 From: lee at dropio.com (Lee Azzarello) Date: Tue, 24 Feb 2009 11:25:11 -0500 Subject: lazy nagios und cygwin... In-Reply-To: <49A40761.7080202@info-systems.de> References: <49A40761.7080202@info-systems.de> Message-ID: <16b031c0902240825r4e8a5626ge4b4f20a95f41afe@mail.gmail.com> This is gonna be hard to debug with out any debugging output. I concur, it is by no means "normal" for nagios to "just stop doing anything" without user intervention. For comparison, I'm running Nagios 3.0.6 from Debian with 34 hosts and 107 services. It has been running continually for 3 months, which is when I first brought it online. -lee On Tue, Feb 24, 2009 at 9:42 AM, Jakob Curdes wrote: > Hello, > > we are running nagios 3.0.5 under cygwin quite successfully in a > relatively simple setup (most check results come via NRPE from NSCA++ > clients on windows machines). Everything is well, but sometimes a > awkward thing happens: nagios just stops doing anything. > > - It continues to run : the processes are visible in the Windows process > table > - It ceases to execute checks: checks just stop bein executed > - It ceases to write anything to a logfile > - It also ceases to write anything to a debug file with Debug=16 (last > entry is nothing suspicous) > > After killing the nagios processes and restarting the windows service > (nagios is registered as a windows service using the cygrunsrv facility) > everything is back to normal. > What I find most annoying is that even in the CGI output everything > seems normal - just that the last checks are several hours overdue, but > no alarm or other signal is shown. > > We are not sure if this is cygwin/windows related or if it is a problem > which also happens in the "normal" unix environment. > Comments would be very welcome. I will now turn up debugging further in > the hope that then we see something interesting. > > Regards, > Jakob Curdes > > ------------------------------------------------------------------------------ > 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 paul.weaver at bbc.co.uk Tue Feb 24 17:25:41 2009 From: paul.weaver at bbc.co.uk (Paul Weaver) Date: Tue, 24 Feb 2009 16:25:41 -0000 Subject: lazy nagios und cygwin... In-Reply-To: <49A40761.7080202@info-systems.de> References: <49A40761.7080202@info-systems.de> Message-ID: > Hello, > > we are running nagios 3.0.5 under cygwin quite successfully > in a relatively simple setup That's surprising, but good news. I hope you don't rely on it > (most check results come via > NRPE from NSCA++ clients on windows machines). Everything is > well, but sometimes a awkward thing happens: nagios just > stops doing anything. > > - It continues to run : the processes are visible in the > Windows process table > - It ceases to execute checks: checks just stop bein executed > - It ceases to write anything to a logfile > - It also ceases to write anything to a debug file with > Debug=16 (last entry is nothing suspicous) Interesting definition of "quite successfully". > After killing the nagios processes and restarting the windows > service (nagios is registered as a windows service using the > cygrunsrv facility) everything is back to normal. > What I find most annoying is that even in the CGI output > everything seems normal - just that the last checks are > several hours overdue, but no alarm or other signal is shown. > > We are not sure if this is cygwin/windows related or if it is > a problem which also happens in the "normal" unix environment I've never seen anything like it. Our main nagios installation has failed in the past -- the disk has filled up, preventing status updates, and the power has failed -- not the box UPS power, but the Aircon GS power, so we had to shut down as much as possible. If it happens again we wont be shutting down nagios, too essential. The Aircon should be powered by diesel generators, they didn't kick in (not nagios monitored you see!) > Comments would be very welcome. I will now turn up debugging > further in the hope that then we see something interesting. Cygwin != unix. At the core, windows deals with files and sockets in a very different way to linux and solaris (and probably other unixes) It wouldn't surprise me if the something changed with the status file. If you can't install a linux distro onto the box, run up a virtualbox environment to host nagios in. It wouldn't be perfect, but will probably be better than cygwin. ------------------------------------------------------------------------------ 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 lee at dropio.com Tue Feb 24 17:45:29 2009 From: lee at dropio.com (Lee Azzarello) Date: Tue, 24 Feb 2009 11:45:29 -0500 Subject: 1st post to the group, basic q ... I think In-Reply-To: References: <49A31D20.3000408@weatherflow.com> <20090224012602.GA30298@bakgwai.americas.hpqcorp.net> Message-ID: <16b031c0902240845k6401fd90nfb49c47e5e3312c1@mail.gmail.com> On Mon, Feb 23, 2009 at 11:10 PM, Lance Raymond wrote: > > I tried a few things after the _v1 but nagios kept failing on restart, so I > think I just need to figure out howto push the variables (such as hostIP , > community name) to the check_command, right? ?Since changing the service to > use the new command, nagios is now red with the following error;?Return code > of 255 is out of bounds There are good docs on how to pass arguments to a check command. Here's my pattern to bring new service checks online without mucking about with the running nagios process: 1) Find the plugin on the host running nagios 2) Run the plugin manually as the nagios user with the arguments you would like. Inspect the output. Is it what you expect? 3) If it is what you expect, compose the check command and service definition exactly as your manual run, only use macro substitution as per the documentation 4) Save your configs and check them before loading the new objects. nagios -v nagios.cfg will automate this check and inform you that everything is okay before you "go live". 5) If everything's okay, reload the configuration and check the web interface for the new service check status. -lee ------------------------------------------------------------------------------ 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 jc at info-systems.de Tue Feb 24 17:46:45 2009 From: jc at info-systems.de (Jakob Curdes) Date: Tue, 24 Feb 2009 17:46:45 +0100 Subject: lazy nagios und cygwin... In-Reply-To: References: <49A40761.7080202@info-systems.de> Message-ID: <49A42475.7070305@info-systems.de> > > That's surprising, but good news. I hope you don't rely on it > Oh, we do, after running it for half a year without problems.... the hard part was to get the standard check scripts running as they won't compile under cygwin. The main nagios executable compiles and runs nicely (hem... almost..) with --enable-cygwin . > > Interesting definition of "quite successfully". > Well, as said, the error did not appear always. It happens now and then, sometimes twice a day and then the system runs for weeks. > I've never seen anything like it. I haven't and we are running other nagios installations too, on several different linux installations. > Cygwin != unix. At the core, windows deals with files and sockets > in a very different way to linux and solaris (and probably other > unixes) > > It wouldn't surprise me if the something changed with the status file. > If you can't install a linux distro onto the box, run up a virtualbox > environment to host nagios in. It wouldn't be perfect, but will probably > > be better than cygwin. > For reasons that are quite complicated in this case it is not an option to run nagios in a virtual box. I posed this question here mainly to see if this happens with unices also - if not, it is probably something for the cygwin mailing list. I just observed that after ending one of the two existing nagios processes with the windows task manager, things continued to run normally without a restart. So now I suspect it is either a blocked file access or some fork() problem- these sometimes happen with cygwin. I enabled the large installation quirks that should reduce the number of forks, let's see if that helps. Regards, Jakob -------------- 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 Kurt.Fritsch at housing.wisc.edu Tue Feb 24 21:21:38 2009 From: Kurt.Fritsch at housing.wisc.edu (Fritsch, Kurt) Date: Tue, 24 Feb 2009 14:21:38 -0600 Subject: (no subject) Message-ID: <7619979E76CBC04AB84FE454A060F04A0181D406EB19@MAILSTORE.housing.wisc.edu> Thanks, Kurt Fritsch ResNet Manager Division of University Housing Information Technology Department University of Wisconsin-Madison 608-265-3846 -------------- 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 cbeattie at geninfo.com Tue Feb 24 23:18:15 2009 From: cbeattie at geninfo.com (Chris Beattie) Date: Tue, 24 Feb 2009 17:18:15 -0500 Subject: Understanding check_cluster Message-ID: I need some help understanding the check_cluster plugin, please. I'm using version 1.4.13 of the plugins on Nagios 3.10, all compiled from source on 64-bit CentOS 5.2. We use VMWare ESX clusters, and I'd like the hosts in Nagios that happen to be virtual machines to have one parent instead of a list of parents comprising every ESX host in the cluster. Recently, an ESX host was moved from one cluster to another, so I had to change a lot of parents. If there's a better way to represent VMs and their hosts, I'm open to suggestions too. I don't have any problem running it as the Nagios user from the command line and feeding it states, like so: ./check_cluster --host --data=0,0,2,1 --warning=0 --critical=1 CLUSTER CRITICAL: Host cluster: 2 up, 1 down, 1 unreachable ./check_cluster --host --data=0,0,0,0 --warning=0 --critical=1 CLUSTER OK: Host cluster: 4 up, 0 down, 0 unreachable ./check_cluster --host --data=0,0,0,1 --warning=0 --critical=1 CLUSTER WARNING: Host cluster: 3 up, 1 down, 0 unreachable Adding --verbose just says "check_cluster - Warning: start=0 end=0; Critical: start=0 end=1" first. However, if I try anything with the $HOSTSTATEID$ macro, everything is always OK, even if I just make up host names: [./check_cluster --host --data=$HOSTSTATEID:duck$,$HOSTSTATEID:cow$,$HOSTSTATEID:chicken$ --warning=0 --critical=1 CLUSTER OK: Host cluster: 3 up, 0 down, 0 unreachable I thought maybe macros work better when executed by Nagios, so I added check_host_cluster command a host with that as its check_command. define command { command_name check_host_cluster command_line $USER1$/check_cluster --host --label=$HOSTNAME$ --warning=$ARG1$ --critical=$ARG2$ --data=$ARG3$ } define host { use linux-server host_name ProductionCluster1 alias Production Cluster 1 address 127.0.0.1 parents gisesx1,gisesx3,gisesx4 check_command check_host_cluster!1!2!$HOSTSTATEID:foo1$,$HOSTSTATEID:foo3$,$HOSTSTATEI D:foo4$ hostgroups nogsupport } The check_interval for the linux-server template is set to 3. I made the assumption that it didn't matter what I set the address to since I'm only interested in the state of other hosts, and it's not being referenced in the check_command. It shows up in the host information web page as being up, but I don't have any hosts named foo: Host Status: UP (for 0d 3h 41m 9s+) Status Information: CLUSTER OK: ProductionCluster1: 3 up, 0 down, 0 unreachable I had better luck with check_icmp, but it looks like it goes straight to CRITICAL if one host is down. 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 -------------- ------------------------------------------------------------------------------ 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 atstake at gmail.com Wed Feb 25 00:23:12 2009 From: atstake at gmail.com (Chris) Date: Wed, 25 Feb 2009 10:23:12 +1100 Subject: monitor router temperature In-Reply-To: References: <8adc88580902121516i25459ba1r5761c7ced95b5160@mail.gmail.com> Message-ID: <8adc88580902241523x702be7a4xd4d67c69270c3f5e@mail.gmail.com> On Fri, Feb 13, 2009 at 1:46 PM, Max wrote: > 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 > Thanks. I tried your script but it gives me the following error. My "router" is a multi-layer switch: Cisco 6509. Error: Can't locate Nagios/Plugin/SNMP.pm in @INC (@INC contains: /usr/lib/nagios/plugins/lib /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 ./check_snmp_cisco_temp.pl line 60. BEGIN failed--compilation aborted at ./check_snmp_cisco_temp.pl line 60. How do I get rid of this error? 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 perldork at webwizarddesign.com Wed Feb 25 00:26:15 2009 From: perldork at webwizarddesign.com (Max) Date: Tue, 24 Feb 2009 18:26:15 -0500 Subject: monitor router temperature In-Reply-To: <8adc88580902241523x702be7a4xd4d67c69270c3f5e@mail.gmail.com> References: <8adc88580902121516i25459ba1r5761c7ced95b5160@mail.gmail.com> <8adc88580902241523x702be7a4xd4d67c69270c3f5e@mail.gmail.com> Message-ID: On Tue, Feb 24, 2009 at 6:23 PM, Chris wrote: > Thanks. I tried your script but it gives me the following error. My > "router" is a multi-layer switch: Cisco 6509. > > Error: > > Can't locate Nagios/Plugin/SNMP.pm in @INC (@INC contains: > /usr/lib/nagios/plugins/lib > /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 > ./check_snmp_cisco_temp.pl line 60. > BEGIN failed--compilation aborted at ./check_snmp_cisco_temp.pl line 60. > > How do I get rid of this error? > > Thanks. > Use CPAN to install Nagios::Plugin and Nagios::Plugin SNMP :) bash$ sudo cpan cpan> install Nagios::Plugin ... lots of output ... cpan> install Nagios::Plugin::SNMP ------------------------------------------------------------------------------ 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 lraymond at weatherflow.com Tue Feb 24 22:52:51 2009 From: lraymond at weatherflow.com (Lance Raymond) Date: Tue, 24 Feb 2009 16:52:51 -0500 Subject: 1st post to the group, basic q ... I think In-Reply-To: <16b031c0902240845k6401fd90nfb49c47e5e3312c1@mail.gmail.com> References: <49A31D20.3000408@weatherflow.com> <20090224012602.GA30298@bakgwai.americas.hpqcorp.net> <16b031c0902240845k6401fd90nfb49c47e5e3312c1@mail.gmail.com> Message-ID: <49A46C33.3040607@weatherflow.com> 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 lraymond at weatherflow.com Tue Feb 24 22:40:59 2009 From: lraymond at weatherflow.com (Lance Raymond) Date: Tue, 24 Feb 2009 16:40:59 -0500 Subject: 1st post to the group, basic q ... I think In-Reply-To: <16b031c0902240845k6401fd90nfb49c47e5e3312c1@mail.gmail.com> References: <49A31D20.3000408@weatherflow.com> <20090224012602.GA30298@bakgwai.americas.hpqcorp.net> <16b031c0902240845k6401fd90nfb49c47e5e3312c1@mail.gmail.com> Message-ID: <49A4696B.7070209@weatherflow.com> 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 lee at dropio.com Wed Feb 25 01:03:16 2009 From: lee at dropio.com (Lee Azzarello) Date: Tue, 24 Feb 2009 19:03:16 -0500 Subject: Understanding check_cluster In-Reply-To: References: Message-ID: <16b031c0902241603s68020538qf950378c8c32fcd@mail.gmail.com> Here's my config. It's functional: define command{ command_name check-cluster-health command_line /usr/lib/nagios/plugins/check_cluster --service -l $ARG1$ -w $ARG2$ -c $ARG3$ -d $ARG4$ } define service{ service_description check-cluster-health host app-proxy check_command check-cluster-health!"App Thread Health"!0!1!$SERVICESTATEID:app-1:mongrel-count$,$SERVICESTATEID:app-2:mongrel-count$,$SERVICESTATEID:app-3:mongrel-count$,$SERVICESTATEID:app-4:mongrel-count$ use serviceClusterTemplate } define service{ service_description mongrel-count hostgroup app-servers,manager-servers check_command check_nrpe_1arg!check_mongrel_count notifications_enabled 0 use serviceClusterTemplate } -lee On Tue, Feb 24, 2009 at 5:18 PM, Chris Beattie wrote: > I need some help understanding the check_cluster plugin, please.? I?m using > version 1.4.13 of the plugins on Nagios 3.10, all compiled from source on > 64-bit CentOS 5.2.? We use VMWare ESX clusters, and I?d like the hosts in > Nagios that happen to be virtual machines to have one parent instead of a > list of parents comprising every ESX host in the cluster.? Recently, an ESX > host was moved from one cluster to another, so I had to change a lot of > parents.? If there?s a better way to represent VMs and their hosts, I?m open > to suggestions too. > > > > I don?t have any problem running it as the Nagios user from the command line > and feeding it states, like so: > > ./check_cluster --host --data=0,0,2,1 --warning=0 --critical=1 > > CLUSTER CRITICAL: Host cluster: 2 up, 1 down, 1 unreachable > > ./check_cluster --host --data=0,0,0,0 --warning=0 --critical=1 > > CLUSTER OK: Host cluster: 4 up, 0 down, 0 unreachable > > ./check_cluster --host --data=0,0,0,1 --warning=0 --critical=1 > > CLUSTER WARNING: Host cluster: 3 up, 1 down, 0 unreachable > > > > Adding --verbose just says ?check_cluster - Warning: start=0 end=0; > Critical: start=0 end=1? first. > > > > However, if I try anything with the $HOSTSTATEID$ macro, everything is > always OK, even if I just make up host names: > > [./check_cluster --host > --data=$HOSTSTATEID:duck$,$HOSTSTATEID:cow$,$HOSTSTATEID:chicken$ > --warning=0 --critical=1 > > CLUSTER OK: Host cluster: 3 up, 0 down, 0 unreachable > > > > I thought maybe macros work better when executed by Nagios, so I added > check_host_cluster command a host with that as its check_command. > > define command { > > ??????? command_name??? check_host_cluster > > ??????? command_line??? $USER1$/check_cluster --host --label=$HOSTNAME$ > --warning=$ARG1$ --critical=$ARG2$ --data=$ARG3$ > > } > > > > define host { > > ??????? use???????????? linux-server > > ??????? host_name?????? ProductionCluster1 > > ??????? alias????? ?????Production Cluster 1 > > ??????? address???????? 127.0.0.1 > > ??????? parents???????? gisesx1,gisesx3,gisesx4 > > ??????? check_command > check_host_cluster!1!2!$HOSTSTATEID:foo1$,$HOSTSTATEID:foo3$,$HOSTSTATEID:foo4$ > > ?? ?????hostgroups????? nogsupport > > } > > > > The check_interval for the linux-server template is set to 3.? I made the > assumption that it didn?t matter what I set the address to since I?m only > interested in the state of other hosts, and it?s not being referenced in the > check_command. > > > > It shows up in the host information web page as being up, but I don?t have > any hosts named foo: > > Host Status: > > ? UP > > ?(for 0d 3h 41m 9s+) > > Status Information:???????? CLUSTER OK: ProductionCluster1: 3 up, 0 down, 0 > unreachable > > > > I had better luck with check_icmp, but it looks like it goes straight to > CRITICAL if one host is down. > > This message (including any attachments) is intended only for > the use of the individual or entity to which it is addressed and > 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, you are hereby notified > that any use, dissemination, distribution, or copying of this > communication is strictly prohibited. If you have received this > communication in error, notify us immediately by telephone and > (i) destroy this message if a facsimile or (ii) delete this message > immediately if this is an electronic communication. > > Thank you. > > > ------------------------------------------------------------------------------ > 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 jpratt at norwich.edu Wed Feb 25 01:43:23 2009 From: jpratt at norwich.edu (James Pratt) Date: Tue, 24 Feb 2009 19:43:23 -0500 Subject: 1st post to the group, basic q ... I think In-Reply-To: <49A4696B.7070209@weatherflow.com> References: <49A31D20.3000408@weatherflow.com> <20090224012602.GA30298@bakgwai.americas.hpqcorp.net> <16b031c0902240845k6401fd90nfb49c47e5e3312c1@mail.gmail.com> <49A4696B.7070209@weatherflow.com> Message-ID: <8147CCE3C4A8764DA9980125EE70E82392E578@nuexchg.norwich.edu> > -----Original Message----- > From: Lance Raymond [mailto:lraymond at weatherflow.com] > Sent: Tuesday, February 24, 2009 4:41 PM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] 1st post to the group, basic q ... I think > > ok, I am closer, but still unclear on the check_command and the define service part (I > will try to read more 2nt) but I can run in manually as nagios from the cli; > > ./check_snmp_load.pl -H 1.1.1.1 -C community -w 3,3,2 -c 4,4,3 -T netsl Load : 4.37 > 4.27 4.20 : 4.37 > 4 : CRITICAL 4.27 > 4 : CRITICAL 4.20 > 3 : CRITICAL > > so that works. Now in the command.cfg I have the following; > > define command{ > command_name check_snmp_load_v1 > command_line $USER1$/check_snmp_load.pl -H $HOSTADDRESS$ $USER7$ -T > $ARG1$ -w $ARG2$ -c $ARG3$ $ARG4$ -C community } > > and the server.cfg I have; > > define service{ > use local-service ; Name of service$ > host_name bigbird > service_description Current Load via SNMP > check_command check_snmp_load_v1!netsl!3,3,2!4,4,3 > } > > I have played numerous times, that is the latest, I am trying to understand where the > $ARG variables are defined (and how). I assume the $HOSTADDRESS is just by the > server.cfg file, but not sure on $USER7$ as well as push the other $ARG$ one's, > becuase as you see from the cli hand entering the info it works! > Yes, $HOSTADDRESS$ that is used by commands.cfg is defined in the service definition as 'host_name' $ARG1$, $ARG2$, etc are just that - in your definition above, $ARG1$ = netsl , $ARG2$ = 3,3,2 $ARG3$ = 4,4,3 (and so on).. (Not sure why you cannot execute it via nagios but can do so by hand - try running it as the nagios user using "su - nagios -c "command here" Hth.. 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 mr_nagas at yahoo.com Wed Feb 25 05:18:49 2009 From: mr_nagas at yahoo.com (nagaraj raj) Date: Tue, 24 Feb 2009 20:18:49 -0800 (PST) Subject: Distributed Linux set up configuration In-Reply-To: References: Message-ID: <503016.43368.qm@web54107.mail.re2.yahoo.com> Have u installed u all openssl libraries In which OS are u trying to install what verion of nagios are u using --- On Tue, 2/24/09, dharini.vibhu at wipro.com wrote: > From: dharini.vibhu at wipro.com > Subject: [Nagios-users] Distributed Linux set up configuration > To: nagios-users at lists.sourceforge.net > Date: Tuesday, February 24, 2009, 3:09 PM > Hi All > While trying to configure Distributed Linux set up in > Nagios I am > getting only the following error message from the server > > "CHECK_NRPE: Error - Could not complete SSL > handshake" > > Whether some body can check and help me. Both plug-in and > daemon > versions ae same and permissions are correct. > > Some body please help me > > Thanks and regards, > V.Dharini > Practice Team - Tools Engineer > |WIPRO Infotech| # 37, Castle street, Samridhibhavan, Ashok > Nagar. > Bangalore - |560 025| > > > > > ------------------------------------------------------------------------------ > 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 dausnux at gmail.com Wed Feb 25 05:21:34 2009 From: dausnux at gmail.com (Firdaus Tjahyadi) Date: Wed, 25 Feb 2009 11:21:34 +0700 Subject: Nagios fail to monitor copy forward mail queue Message-ID: <770c4470902242021j293cfd09je8be2d2f33489e1d@mail.gmail.com> Dear All i have problem with nagios monitoring copy forward mail queue in qmail mail server, if queue in the mail server coming from ussual email (not copy forwrd) nagios can monitoring queue, but if queue from copy forward email is fail to monitor Note : we have qmail server that some user copy forward/forward only to our Exchange server Anybody have some experience ? Thanks Regards ------------------------------------------------------------------------------ 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 78656099 at qq.com Wed Feb 25 10:33:34 2009 From: 78656099 at qq.com (=?ISO-8859-1?B?N3VwOGRvd24=?=) Date: Wed, 25 Feb 2009 17:33:34 +0800 Subject: NSClient++.exe problem occupy more and more memory !! Message-ID: hi all I use NSClient++-Win32(NSClient++-Win32-0.3.5) to monitor three Windows OS servers. I can see all services are OK in Nagios server. but I find that NSClient++.exe occupy more and more memory very slowly in all three server. (by Windows task manager) so I test NSClient++ in my pc It's memory occupancy never drop ! I test it in my pc ,It's the same. Anyone can help ? Thank u so much. -------------- 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 david.banks at proporta.com Wed Feb 25 10:52:35 2009 From: david.banks at proporta.com (David Banks) Date: Wed, 25 Feb 2009 09:52:35 +0000 Subject: Broken CSS and image path in CGI scripts Message-ID: <49A514E3.4060701@proporta.com> Hi nagios-users, I recently upgraded a server from Nagios 2 to 3. The upgrade was pretty smooth, I followed the upgrade guide from the website: make some configuration changes, configure, make all, make install. The nagios install lives in /var/www/nagios. (We use a virtual host for nagios, hence the /cgi-bin below.) The configuration is below: ./configure --prefix=/var/www/nagios --with-cgiurl=/cgi-bin --with-nagios-user=nagios --with-nagios-group=nagios --with-command-group=nagcmd I'm not sure how much of this is necessary with Nagios3 but this was the one we used with Nagios2. In any case, everything went smooth, except that out of the box when I tried to access the 'Tactical Overview' or any of the CGI scripts, the CSS and image paths would be broken. Looking at the source would reveal lines like this: Since the CGI is executing at /cgi-bin/tac.cgi, this will cause the browser to request /cgi-bin/common.css, which is obviously incorrect. Nagios 2 had the absolute path here: /stylesheets/common.css which works fine. (It's an empty file but it does exist.) That's only an example, the problem happens for all CSS and images. I have eventually either fixed or hacked around this by making the following configuration change in 'cgi.cfg': url_html_path=/ This causes everything to load fine and the stylesheets to be referenced with an absolute path. Is this right? It seems like a hack, but I can't figure out what the right way to deal with this is. Incidentally, these people look like they had the same problem, but neither of them posted their solution: https://lists.ubuntu.com/archives/ubuntu-server-bugs/2008-September/006005.html http://www.mail-archive.com/nagios-users at lists.sourceforge.net/msg13196.html Running Nagios 3.06 on Ubuntu Hardy. Thanks, David ------------------------------------------------------------------------------ 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 dharini.vibhu at wipro.com Wed Feb 25 11:20:42 2009 From: dharini.vibhu at wipro.com (dharini.vibhu at wipro.com) Date: Wed, 25 Feb 2009 15:50:42 +0530 Subject: Distributed Linux set up configuration References: <765d77c80902231119v7f0b7f5x75c596c53d2cebd2@mail.gmail.com> <765d77c80902240117h6db2254dme67c1577562298c9@mail.gmail.com> Message-ID: Hi Whether some body can provide an update to the below issue. Thanks and regards, V.Dharini Practice Team - Tools Engineer |WIPRO Infotech| # 37, Castle street, Samridhibhavan, Ashok Nagar. Bangalore - |560 025| -----Original Message----- From: Dharini Vibhu (WI01 - Manage IT) Sent: Tuesday, February 24, 2009 3:09 PM To: nagios-users at lists.sourceforge.net Subject: Distributed Linux set up configuration Hi All While trying to configure Distributed Linux set up in Nagios I am getting only the following error message from the server "CHECK_NRPE: Error - Could not complete SSL handshake" Whether some body can check and help me. Both plug-in and daemon versions ae same and permissions are correct. Some body please help me Thanks and regards, V.Dharini Practice Team - Tools Engineer |WIPRO Infotech| # 37, Castle street, Samridhibhavan, Ashok Nagar. Bangalore - |560 025| ------------------------------------------------------------------------------ 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 jim at jimavery.me.uk Wed Feb 25 13:49:07 2009 From: jim at jimavery.me.uk (Jim Avery) Date: Wed, 25 Feb 2009 12:49:07 +0000 Subject: NSClient++.exe problem occupy more and more memory !! In-Reply-To: References: Message-ID: <765d77c80902250449k32502a05re0df8197e2210c9e@mail.gmail.com> 2009/2/25 7up8down <78656099 at qq.com>: > hi all > I use NSClient++-Win32(NSClient++-Win32-0.3.5) to monitor three Windows OS > servers. > I can see? all services are OK in Nagios server. > but I find that? NSClient++.exe occupy more and more memory very slowly in > all three server. (by Windows task manager) > so I test NSClient++ in my pc > It's memory occupancy never drop ! I test it in my pc ,It's the same. I haven't seen this myself as I've only just started testing NSClient++ 3.5. Not sure if this would help or not, but I'd definitely comment out any modules in NSClient++ that you're not using. For example on a server you probably don't need SysTray.dll . Do you see anything in the log file? ------------------------------------------------------------------------------ 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 assaf.flatto at ssp-intl.com Wed Feb 25 12:31:58 2009 From: assaf.flatto at ssp-intl.com (Assaf Flatto) Date: Wed, 25 Feb 2009 11:31:58 +0000 Subject: nagiosgraph help Message-ID: <200902251131.59375.assaf.flatto@ssp-intl.com> Hello List I've been struggling with the nagiosgraph , granted i am not that fluent with perl , but i do have a basic grasp of it . The problem i am having is adding services ( of course) . define service{ use linux-service host_name host service_description SLAPD Open connections check_command check_nrpe_no_ssl!check_slapd icon_image ldap.gif action_url /nagiosgraph/show.cgi?host=$HOSTNAME$&service=$SERVICEDESC$ } I have a check in nagios to see the amount of slapd connections to my openldap servers : Command : /usr/lib/nagios/plugins/check_connections -w 800 -c 925 -C slapd sample Result : OK - Established connections: 235 now - trying to parse this in the nagiosgraph map file i have the following definition : # Service type: unix-slapd # ouput:OK - Established connections: 6 /output:OK .* ([0-9]+) / and push @s, ['slapd', [ 'Established connections:', GAUGE, $1 ] ]; In the nagiosgraph log i have the following : Wed Feb 25 11:24:04 2009 showgraph.cgi debug - graphinfo(host, SLAPD Open connections) Wed Feb 25 11:24:04 2009 showgraph.cgi debug - db = []; Wed Feb 25 11:24:04 2009 showgraph.cgi debug - getfilename(host, SLAPD Open connections, ) Wed Feb 25 11:24:04 2009 showgraph.cgi debug - getfilename dbseparator: 'subdir' Wed Feb 25 11:24:04 2009 showgraph.cgi debug - scanning /usr/local/nagios/nagiosgraph/rrd/host for SLAPD%20Open%20connections___ Wed Feb 25 11:24:04 2009 showgraph.cgi debug - dbfilelist = []; Wed Feb 25 11:24:04 2009 showgraph.cgi info - Listing host/SLAPD%20Open%20connections___ db files in /usr/local/nagios/nagiosgraph/rrd: Wed Feb 25 11:24:04 2009 showgraph.cgi debug - rrd = []; Wed Feb 25 11:24:04 2009 showgraph.cgi debug - rrdline(host, SLAPD Open connections, , , 118800) Wed Feb 25 11:24:04 2009 showgraph.cgi info - RRDs::graph = [ '-', '-a', 'PNG', '--start', '-118800', '-w', 600 ]; yet i get no graph . Any ideas where i am doing this wrong ? Thank you -- 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 ------------------------------------------------------------------------------ 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 Wed Feb 25 14:15:55 2009 From: marc at ena.com (Marc Powell) Date: Wed, 25 Feb 2009 07:15:55 -0600 Subject: Distributed Linux set up configuration In-Reply-To: References: <765d77c80902231119v7f0b7f5x75c596c53d2cebd2@mail.gmail.com> <765d77c80902240117h6db2254dme67c1577562298c9@mail.gmail.com> Message-ID: <239A363F-95E3-4326-9409-EDE575DD9772@ena.com> On Feb 25, 2009, at 4:20 AM, wrote: > Hi > Whether some body can provide an update to the below issue. Have you tried searching the archives/google? It's been discussed relatively frequently in the past. -- 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 mattias.ryrlen at op5.com Wed Feb 25 14:32:22 2009 From: mattias.ryrlen at op5.com (=?ISO-8859-1?Q?Mattias_Ryrl=E9n?=) Date: Wed, 25 Feb 2009 14:32:22 +0100 Subject: nagiosgraph help In-Reply-To: <200902251131.59375.assaf.flatto@ssp-intl.com> References: <200902251131.59375.assaf.flatto@ssp-intl.com> Message-ID: <49A54866.6030706@op5.com> Hi, First it seems that you have your regexp wrong. sample script to verify what type of output you get: #!/usr/bin/perl $_ = "OK - Established connections: 235"; s/OK .* ([0-9]+) //g; print $_ . "\n"; print "1 = " . $1 . "\n"; and runing it: ./regexp.pl OK - Established connections: 235 1 = OK - Established connections: ([0-9]+) gives you right result. Assaf Flatto skrev: > Hello List > > I've been struggling with the nagiosgraph , granted i am not that fluent with perl , but i do have > a basic grasp of it . > > The problem i am having is adding services ( of course) . > > define service{ > use linux-service > host_name host > service_description SLAPD Open connections > check_command check_nrpe_no_ssl!check_slapd > icon_image ldap.gif > action_url /nagiosgraph/show.cgi?host=$HOSTNAME$&service=$SERVICEDESC$ > } > > I have a check in nagios to see the amount of slapd connections to my openldap servers : > Command : > /usr/lib/nagios/plugins/check_connections -w 800 -c 925 -C slapd > > sample Result : > OK - Established connections: 235 > > now - trying to parse this in the nagiosgraph map file i have the following definition : > > # Service type: unix-slapd > # ouput:OK - Established connections: 6 > /output:OK .* ([0-9]+) / > and push @s, ['slapd', > [ 'Established connections:', GAUGE, $1 ] ]; > > In the nagiosgraph log i have the following : > Wed Feb 25 11:24:04 2009 showgraph.cgi debug - graphinfo(host, SLAPD Open connections) > Wed Feb 25 11:24:04 2009 showgraph.cgi debug - db = []; > Wed Feb 25 11:24:04 2009 showgraph.cgi debug - getfilename(host, SLAPD Open connections, ) > Wed Feb 25 11:24:04 2009 showgraph.cgi debug - getfilename dbseparator: 'subdir' > Wed Feb 25 11:24:04 2009 showgraph.cgi debug - scanning /usr/local/nagios/nagiosgraph/rrd/host for > SLAPD%20Open%20connections___ > Wed Feb 25 11:24:04 2009 showgraph.cgi debug - dbfilelist = []; > Wed Feb 25 11:24:04 2009 showgraph.cgi info - Listing host/SLAPD%20Open%20connections___ db files > in /usr/local/nagios/nagiosgraph/rrd: > Wed Feb 25 11:24:04 2009 showgraph.cgi debug - rrd = []; > Wed Feb 25 11:24:04 2009 showgraph.cgi debug - rrdline(host, SLAPD Open connections, , , 118800) > Wed Feb 25 11:24:04 2009 showgraph.cgi info - RRDs::graph = [ > '-', > '-a', > 'PNG', > '--start', > '-118800', > '-w', > 600 > ]; > > yet i get no graph . > > Any ideas where i am doing this wrong ? > > Thank you > > -- 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 ------------------------------------------------------------------------------ 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 harry.hart.ctr at jfcom.mil Wed Feb 25 15:52:37 2009 From: harry.hart.ctr at jfcom.mil (Hart, Harry M. CTR USJFCOM JTCI) Date: Wed, 25 Feb 2009 09:52:37 -0500 Subject: E-mail notifications Message-ID: Hello All, I have set up my server on Linux and now want to set up e-mail notifications. When I enable sendmail I get hundreds of mails telling me about the same problem. I have looked through the documentation and can't find where to set the parameter correctly. Any help? Harry Harry M. Hart Systems integrator SAIC USJFCOM JIOC DCGS-A (757) 203-7422 DSN 668-7422 Harry.Hart at intel.jwfc.jfcom.smil.mil Harry.Hart at jwfc.ic.gov "Make no mistake, Tax cheaters cheat us all, and the [IRS] should enforce our laws to the letter." Tom Daschle in a 1998 debate. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 4940 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 assaf.flatto at ssp-intl.com Wed Feb 25 16:33:39 2009 From: assaf.flatto at ssp-intl.com (Assaf Flatto) Date: Wed, 25 Feb 2009 15:33:39 +0000 Subject: E-mail notifications In-Reply-To: References: Message-ID: <200902251533.39155.assaf.flatto@ssp-intl.com> Hello Harry. Can you provide more information like : what version of nagios are you running ? what error message are you getting in the mail ? Assaf On Wednesday 25 February 2009 14:52:37 Hart, Harry M. CTR USJFCOM JTCI wrote: > Hello All, > > I have set up my server on Linux and now want to set up e-mail > notifications. When I enable sendmail I get hundreds of mails telling me > about the same problem. I have looked through the documentation and can't > find where to set the parameter correctly. > > Any help? > > Harry > > Harry M. Hart Systems integrator > SAIC > USJFCOM JIOC DCGS-A > (757) 203-7422 > DSN 668-7422 > Harry.Hart at intel.jwfc.jfcom.smil.mil > Harry.Hart at jwfc.ic.gov > > "Make no mistake, Tax cheaters cheat us all, and the [IRS] should enforce > our laws to the letter." Tom Daschle in a 1998 debate. -- 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 ------------------------------------------------------------------------------ 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 jpratt at norwich.edu Wed Feb 25 16:34:03 2009 From: jpratt at norwich.edu (James Pratt) Date: Wed, 25 Feb 2009 10:34:03 -0500 Subject: E-mail notifications In-Reply-To: References: Message-ID: <8147CCE3C4A8764DA9980125EE70E82392E70B@nuexchg.norwich.edu> > -----Original Message----- > From: Hart, Harry M. CTR USJFCOM JTCI [mailto:harry.hart.ctr at jfcom.mil] > Sent: Wednesday, February 25, 2009 9:53 AM > To: Nagios Users Mailinglist > Subject: [Nagios-users] E-mail notifications > > Hello All, > > I have set up my server on Linux and now want to set up e-mail notifications. When I > enable sendmail I get hundreds of mails telling me about the same problem. I have > looked through the documentation and can't find where to set the parameter > correctly. > > Any help? > > Harry > > Harry M. Hart Systems integrator > SAIC > USJFCOM JIOC DCGS-A > (757) 203-7422 > DSN 668-7422 > Harry.Hart at intel.jwfc.jfcom.smil.mil > Harry.Hart at jwfc.ic.gov Hello Harry - take a look at "notification_interval" setting in either your host, or the service definition - this is how many minutes between notifications/emails. Hth, 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 satish at linuxbug.org Wed Feb 25 17:13:48 2009 From: satish at linuxbug.org (Satish Patel) Date: Wed, 25 Feb 2009 11:13:48 -0500 Subject: Multiple IP address SSH/HTTP check Message-ID: <20090225111348.ii3ff1d0gg0o0o00@mail.lintelindia.com> I have client which has multiple IP address and runing apache and ssh on it but i dont know how to check service on multiple ip address? i have define both interface IP address in hosts.cfg file like this. address 192.168.1.1,172.16.1.1 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 mattias.ryrlen at op5.com Wed Feb 25 18:15:19 2009 From: mattias.ryrlen at op5.com (=?ISO-8859-1?Q?Mattias_Ryrl=E9n?=) Date: Wed, 25 Feb 2009 18:15:19 +0100 Subject: nagiosgraph help In-Reply-To: <200902251415.40159.assaf.flatto@ssp-intl.com> References: <200902251415.40159.assaf.flatto@ssp-intl.com> Message-ID: <49A57CA7.6020909@op5.com> Assaf Flatto skrev: > Thanks for the help , whoever i did as you recommended and modified my map file to be as follows : > > # Service type: unix-slapd > # ouput:OK - Established connections: 6 > # perfdata:OK - Established connections: 373 > /prefdata:OK - Established connections: ([0-9]+) / change back to output instead of perfdata. then remove last space before / /output:OK - Established connections: ([0-9]+)/ > and push @s, ['slapd', > [ 'Established connections:', GAUGE, $1 ] ]; > > > > In the nagiosgraph.log > > Wed Feb 25 14:09:22 2009 showgraph.cgi debug - graphinfo(host, SLAPD Open connections) > Wed Feb 25 14:09:22 2009 showgraph.cgi debug - db = []; > Wed Feb 25 14:09:22 2009 showgraph.cgi debug - getfilename(host, SLAPD Open connections, ) > Wed Feb 25 14:09:22 2009 showgraph.cgi debug - getfilename dbseparator: 'subdir' > Wed Feb 25 14:09:22 2009 showgraph.cgi debug - scanning /usr/local/nagios/nagiosgraph/rrd/host for > SLAPD%20Open%20connections___ > Wed Feb 25 14:09:22 2009 showgraph.cgi debug - dbfilelist = []; > Wed Feb 25 14:09:22 2009 showgraph.cgi info - Listing host/SLAPD%20Open%20connections___ db files > in /usr/local/nagios/nagiosgraph/rrd: > Wed Feb 25 14:09:22 2009 showgraph.cgi debug - rrd = []; > Wed Feb 25 14:09:22 2009 showgraph.cgi debug - rrdline(host, SLAPD Open connections, , , 34560000) > Wed Feb 25 14:09:22 2009 showgraph.cgi info - RRDs::graph = [ > '-', > '-a', > 'PNG', > '--start', > '-34560000', > '-w', > 600 > ]; > > Wed Feb 25 14:09:29 2009 insert.pl warn - perfdata not recognized: > date||host||desc||out||data for: > servicedescr:SLAPD Open connections > output:OK - Established connections: 337 > perfdata: > > > > and still no graphs . > > Am i missing something else ? > > Assaf > > > On Wednesday 25 February 2009 13:32:22 Mattias Ryrl?n wrote: >> Hi, >> >> First it seems that you have your regexp wrong. >> >> sample script to verify what type of output you get: >> #!/usr/bin/perl >> $_ = "OK - Established connections: 235"; >> s/OK .* ([0-9]+) //g; >> print $_ . "\n"; >> >> print "1 = " . $1 . "\n"; >> >> >> and runing it: >> ./regexp.pl >> OK - Established connections: 235 >> 1 = >> >> OK - Established connections: ([0-9]+) >> >> gives you right result. >> >> Assaf Flatto skrev: >>> Hello List >>> >>> I've been struggling with the nagiosgraph , granted i am not that fluent >>> with perl , but i do have a basic grasp of it . >>> >>> The problem i am having is adding services ( of course) . >>> >>> define service{ >>> use linux-service >>> host_name host >>> service_description SLAPD Open connections >>> check_command check_nrpe_no_ssl!check_slapd >>> icon_image ldap.gif >>> action_url >>> /nagiosgraph/show.cgi?host=$HOSTNAME$&service=$SERVICEDESC$ } >>> >>> I have a check in nagios to see the amount of slapd connections to my >>> openldap servers : Command : >>> /usr/lib/nagios/plugins/check_connections -w 800 -c 925 -C slapd >>> >>> sample Result : >>> OK - Established connections: 235 >>> >>> now - trying to parse this in the nagiosgraph map file i have the >>> following definition : >>> >>> # Service type: unix-slapd >>> # ouput:OK - Established connections: 6 >>> /output:OK .* ([0-9]+) / >>> and push @s, ['slapd', >>> [ 'Established connections:', GAUGE, $1 ] ]; >>> >>> In the nagiosgraph log i have the following : >>> Wed Feb 25 11:24:04 2009 showgraph.cgi debug - graphinfo(host, SLAPD Open >>> connections) Wed Feb 25 11:24:04 2009 showgraph.cgi debug - db = []; >>> Wed Feb 25 11:24:04 2009 showgraph.cgi debug - getfilename(host, SLAPD >>> Open connections, ) Wed Feb 25 11:24:04 2009 showgraph.cgi debug - >>> getfilename dbseparator: 'subdir' Wed Feb 25 11:24:04 2009 showgraph.cgi >>> debug - scanning /usr/local/nagios/nagiosgraph/rrd/host for >>> SLAPD%20Open%20connections___ >>> Wed Feb 25 11:24:04 2009 showgraph.cgi debug - dbfilelist = []; >>> Wed Feb 25 11:24:04 2009 showgraph.cgi info - Listing >>> host/SLAPD%20Open%20connections___ db files in >>> /usr/local/nagios/nagiosgraph/rrd: >>> Wed Feb 25 11:24:04 2009 showgraph.cgi debug - rrd = []; >>> Wed Feb 25 11:24:04 2009 showgraph.cgi debug - rrdline(host, SLAPD Open >>> connections, , , 118800) Wed Feb 25 11:24:04 2009 showgraph.cgi info - >>> RRDs::graph = [ >>> '-', >>> '-a', >>> 'PNG', >>> '--start', >>> '-118800', >>> '-w', >>> 600 >>> ]; >>> >>> yet i get no graph . >>> >>> Any ideas where i am doing this wrong ? >>> >>> Thank you > > > -- 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 ------------------------------------------------------------------------------ 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 harry.hart.ctr at jfcom.mil Wed Feb 25 18:29:13 2009 From: harry.hart.ctr at jfcom.mil (Hart, Harry M. CTR USJFCOM JTCI) Date: Wed, 25 Feb 2009 12:29:13 -0500 Subject: E-mail notifications In-Reply-To: <200902251533.39155.assaf.flatto@ssp-intl.com> References: <200902251533.39155.assaf.flatto@ssp-intl.com> Message-ID: Harry M. Hart Systems integrator (757) 203-7422 DSN 668-7422 Harry.Hart at intel.jwfc.jfcom.smil.mil Harry.Hart at jwfc.ic.gov "Make no mistake, Tax cheaters cheat us all, and the [IRS] should enforce our laws to the letter." Tom Daschle in a 1998 debate. -----Original Message----- From: Assaf Flatto [mailto:assaf.flatto at ssp-intl.com] Sent: Wednesday, February 25, 2009 10:34 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] E-mail notifications Hello Harry. Can you provide more information like : what version of nagios are you running ? what error message are you getting in the mail ? Assaf On Wednesday 25 February 2009 14:52:37 Hart, Harry M. CTR USJFCOM JTCI wrote: > Hello All, > > I have set up my server on Linux and now want to set up e-mail > notifications. When I enable sendmail I get hundreds of mails telling > me about the same problem. I have looked through the documentation and > can't find where to set the parameter correctly. > > Any help? > > Harry > > Harry M. Hart Systems integrator > SAIC > USJFCOM JIOC DCGS-A > (757) 203-7422 > DSN 668-7422 > Harry.Hart at intel.jwfc.jfcom.smil.mil > Harry.Hart at jwfc.ic.gov > > "Make no mistake, Tax cheaters cheat us all, and the [IRS] should enforce > our laws to the letter." Tom Daschle in a 1998 debate. I'm using version 3.0.1. It is telling me that one of my services has failed and in fact it did but I am getting hundreds of e-mails on each problem. -- 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 ---------------------------------------------------------------------------- -- 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 -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 4940 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 marc at ena.com Wed Feb 25 18:49:53 2009 From: marc at ena.com (Marc Powell) Date: Wed, 25 Feb 2009 11:49:53 -0600 Subject: Multiple IP address SSH/HTTP check In-Reply-To: <20090225111348.ii3ff1d0gg0o0o00@mail.lintelindia.com> References: <20090225111348.ii3ff1d0gg0o0o00@mail.lintelindia.com> Message-ID: <53942E0C-8C8D-4080-BCC2-CC13396F82B3@ena.com> On Feb 25, 2009, at 10:13 AM, Satish Patel wrote: > > I have client which has multiple IP address and runing apache and ssh > on it but i dont know how to check service on multiple ip address? > > i have define both interface IP address in hosts.cfg file > > like this. > > address 192.168.1.1,172.16.1.1 This will not work unless the check_plugins you are using understand and can work with multiple host addresses. Most (all?) of the standard plugins do not. You can either create new host{} entries for each IP address or just use one address for the main host address and create special service/ command definitions for the others. define host { host_name Foo host_address 192.168.1.1 ... } define service { host_name Foo service_description http on 172.16.1.1 check_command check_http_by_ip!172.16.1.1 ... } define service { host_name Foo service_description ssh on 172.16.1.1 check_command check_ssh_by_ip!172.16.1.1 ... } define command { command_name check_http_by_ip command_line $USER1$/check_http -H $ARG1$ ... (other plugin specific arguments). } define command { command_name check_ssh_by_ip command_line $USER1$/check_ssh -H $ARG1$ ... (other plugin specific arguments). } The above was done completely from memory so there may be syntactical errors but the concept is there... -- 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 pllandauer at comcast.net Wed Feb 25 18:51:14 2009 From: pllandauer at comcast.net (Paul Landauer) Date: Wed, 25 Feb 2009 12:51:14 -0500 Subject: Distributed Monitoring Central Server no status changes Message-ID: <1235584274.4567.9.camel@plshplin.digitalsunrise.com> Using nagios 3.0.5 Distributed Monitoring setup Hosts and Services show updated status information but the status of the host or service does not change from "up" on the central server. Status on the distributed servers is reflected correctly in the web interface. Why might this be? thanks, Paul ------------------------------------------------------------------------------ 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 Wed Feb 25 19:06:22 2009 From: marc at ena.com (Marc Powell) Date: Wed, 25 Feb 2009 12:06:22 -0600 Subject: Distributed Monitoring Central Server no status changes In-Reply-To: <1235584274.4567.9.camel@plshplin.digitalsunrise.com> References: <1235584274.4567.9.camel@plshplin.digitalsunrise.com> Message-ID: On Feb 25, 2009, at 11:51 AM, Paul Landauer wrote: > Using nagios 3.0.5 > Distributed Monitoring setup > Hosts and Services show updated status information but the status of > the > host or service does not change from "up" on the central server. > Status > on the distributed servers is reflected correctly in the web > interface. > > Why might this be? The status that the central service is receiving from the distributed server for each status is "up" or it's not receiving or processing the updates? Some things that will help get a better answer are -- - information about how you've architected your distributed setup (i.e are you using 2+ nagios instances with NSCA transporting between them, implemented as documented?) - example host and service definitions from both servers (complete definitions please) - example status information from both servers for an affected service - related nagios.log information from both servers - the contents of your check result submission script if it's not exactly like the documented one. Running nagios and/or NSCA in debug mode on the central server might provide additional information. -- 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 Wed Feb 25 20:58:20 2009 From: marc at ena.com (Marc Powell) Date: Wed, 25 Feb 2009 13:58:20 -0600 Subject: Distributed Monitoring Central Server no status changes In-Reply-To: <1235588085.4567.44.camel@plshplin.digitalsunrise.com> References: <1235584274.4567.9.camel@plshplin.digitalsunrise.com> <1235588085.4567.44.camel@plshplin.digitalsunrise.com> Message-ID: Hi Paul, Please always respond on list so that others now, and in the future, can learn from your experience and so that you can benefit from the experience of others on the list. More below... On Feb 25, 2009, at 12:54 PM, Paul Landauer wrote: > On Wed, 2009-02-25 at 12:06 -0600, Marc Powell wrote: > I'm using 2 servers following the documentation at > http://nagios.sourceforge.net/docs/3_0/distributed.html Thanks. >> - example host and service definitions from both servers (complete >> definitions please) > Definitions are the same on both servers. > Example host definition: > define host{ > use generic-host > host_name surf > alias Surf Control > address ip_address_of_surf_is_here > max_check_attempts 5 > check_command check-host-alive > check_interval 5 > retry_interval 1 > check_period 24x7 > contact_groups admins > notification_interval 30 > notification_period 24x7 > notification_options d,u,r > } > > Example Service Definitions (surf is a member of > sunrise_windows_servers): > define service{ > use generic-service > hostgroup_name sunrise_windows_servers > service_description NSClient++ Version > check_command check_nt!CLIENTVERSION > } For future reference, these are not 'complete' since you use templates. There's lots of important information within those templates that's needed when troubleshooting as well. I expect that the definitions are indeed different between the servers when you take the templates into account otherwise your central server is doing active checks of the services in addition to receiving the passive checks, overwriting their results. (I don't think this is the problem). >> - related nagios.log information from both servers > I included excerpts that I thought applied. If you'd like the whole > log, let me know. > Nagios.log for Distributed server: > [1235575724] SERVICE ALERT: surf;Explorer;CRITICAL;HARD; > 3;Explorer.exe: > not running > [1235575724] SERVICE NOTIFICATION: > nagiosadmin;surf;Explorer;CRITICAL;notify-service-by- > email;Explorer.exe: > not running > > Nagios.log for Central Server: > [1235575777] EXTERNAL COMMAND: > PROCESS_SERVICE_CHECK_RESULT;surf;Explorer;0;Explorer.exe: not running > [1235575778] PASSIVE SERVICE CHECK: surf;Explorer;0;Explorer.exe: not > running This is interesting and useful. As you can see, on your distributed server, the status is 3 (CRITICAL) but by the time NSCA dumps it into the command pipe on the central server, that has been translated to 0 (OK) by something in the process. This could be because nagios isn't passing the correct status code to your submission script, your submission script is not interpreting or passing it to send_nsca correctly or nsca on the receiving side isn't reading it correctly. >> - the contents of your check result submission script if it's not >> exactly like the documented one. > printfcmd="/usr/bin/printf" > > NscaBin="/usr/bin/send_nsca" > NscaCfg="/etc/nagios/send_nsca.cfg" > NagiosHost="I_have_the_ip_address_of_my_central_server_here" > > # Fire the data off to the NSCA daemon using the send_nsca script > $printfcmd "%s\t%s\t%s\t%s\n" "$1" "$2" "$3" "$4" | $NscaBin -H > $NagiosHost -p 5 > 721 -c $NscaCfg To say whether this is correct or not I'd have to see your OCSP command definition. If you're using the $SERVICESTATE$ macro, then this is broken. send_nsca expects a numeric state code but $SERVICESTATE$ provides a grammatical code (OK, CRITICAL, etc). Normally that needs to be translated to the proper numeric by the submission script first but you can also use the $SERVICESTATEID$ macro instead to get the numeric code. My bets are on this being the problem. >> Running nagios and/or NSCA in debug mode on the central server might >> provide additional information. > Let me know if you still want this to be done. Running NSCA in debug to see if it's receiving the 0 status code from the distributed machine would further narrow down the source of the problem. -- 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 pllandauer at comcast.net Wed Feb 25 22:26:09 2009 From: pllandauer at comcast.net (Paul Landauer) Date: Wed, 25 Feb 2009 16:26:09 -0500 Subject: Distributed Monitoring Central Server no status changes In-Reply-To: References: <1235584274.4567.9.camel@plshplin.digitalsunrise.com> <1235588085.4567.44.camel@plshplin.digitalsunrise.com> Message-ID: <1235597169.13049.5.camel@plshplin.digitalsunrise.com> > > On Feb 25, 2009, at 12:54 PM, Paul Landauer wrote: > > > On Wed, 2009-02-25 at 12:06 -0600, Marc Powell wrote: > > > I'm using 2 servers following the documentation at > > http://nagios.sourceforge.net/docs/3_0/distributed.html > > Thanks. > > >> - example host and service definitions from both servers (complete > >> definitions please) > > Definitions are the same on both servers. > > Example host definition: > > define host{ > > use generic-host > > host_name surf > > alias Surf Control > > address ip_address_of_surf_is_here > > max_check_attempts 5 > > check_command check-host-alive > > check_interval 5 > > retry_interval 1 > > check_period 24x7 > > contact_groups admins > > notification_interval 30 > > notification_period 24x7 > > notification_options d,u,r > > } > > > > Example Service Definitions (surf is a member of > > sunrise_windows_servers): > > define service{ > > use generic-service > > hostgroup_name sunrise_windows_servers > > service_description NSClient++ Version > > check_command check_nt!CLIENTVERSION > > } > > For future reference, these are not 'complete' since you use > templates. There's lots of important information within those > templates that's needed when troubleshooting as well. I expect that > the definitions are indeed different between the servers when you take > the templates into account otherwise your central server is doing > active checks of the services in addition to receiving the passive > checks, overwriting their results. (I don't think this is the problem). > > >> - related nagios.log information from both servers > > I included excerpts that I thought applied. If you'd like the whole > > log, let me know. > > Nagios.log for Distributed server: > > [1235575724] SERVICE ALERT: surf;Explorer;CRITICAL;HARD; > > 3;Explorer.exe: > > not running > > [1235575724] SERVICE NOTIFICATION: > > nagiosadmin;surf;Explorer;CRITICAL;notify-service-by- > > email;Explorer.exe: > > not running > > > > Nagios.log for Central Server: > > [1235575777] EXTERNAL COMMAND: > > PROCESS_SERVICE_CHECK_RESULT;surf;Explorer;0;Explorer.exe: not running > > [1235575778] PASSIVE SERVICE CHECK: surf;Explorer;0;Explorer.exe: not > > running > > This is interesting and useful. As you can see, on your distributed > server, the status is 3 (CRITICAL) but by the time NSCA dumps it into > the command pipe on the central server, that has been translated to 0 > (OK) by something in the process. This could be because nagios isn't > passing the correct status code to your submission script, your > submission script is not interpreting or passing it to send_nsca > correctly or nsca on the receiving side isn't reading it correctly. > > >> - the contents of your check result submission script if it's not > >> exactly like the documented one. > > printfcmd="/usr/bin/printf" > > > > NscaBin="/usr/bin/send_nsca" > > NscaCfg="/etc/nagios/send_nsca.cfg" > > NagiosHost="I_have_the_ip_address_of_my_central_server_here" > > > > # Fire the data off to the NSCA daemon using the send_nsca script > > $printfcmd "%s\t%s\t%s\t%s\n" "$1" "$2" "$3" "$4" | $NscaBin -H > > $NagiosHost -p 5 > > 721 -c $NscaCfg > > To say whether this is correct or not I'd have to see your OCSP > command definition. If you're using the $SERVICESTATE$ macro, then > this is broken. send_nsca expects a numeric state code but > $SERVICESTATE$ provides a grammatical code (OK, CRITICAL, etc). > Normally that needs to be translated to the proper numeric by the > submission script first but you can also use the $SERVICESTATEID$ > macro instead to get the numeric code. My bets are on this being the > problem. > > >> Running nagios and/or NSCA in debug mode on the central server might > >> provide additional information. > > Let me know if you still want this to be done. > > Running NSCA in debug to see if it's receiving the 0 status code from > the distributed machine would further narrow down the source of the > problem. > > -- > Marc Marc, You are correct sir! I changed $SERVICESTATE$ to $SERVICESTATEID$ on the distributed server and the central server is updating properly. I imagine that I'll need to use $HOSTSTATEID$ instead of $HOSTSTATE$ as well. paul ------------------------------------------------------------------------------ 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 lee at dropio.com Wed Feb 25 22:09:56 2009 From: lee at dropio.com (Lee Azzarello) Date: Wed, 25 Feb 2009 16:09:56 -0500 Subject: Multiple IP address SSH/HTTP check In-Reply-To: <20090225111348.ii3ff1d0gg0o0o00@mail.lintelindia.com> References: <20090225111348.ii3ff1d0gg0o0o00@mail.lintelindia.com> Message-ID: <16b031c0902251309u3ca03806k409392cd24ca3e03@mail.gmail.com> Treat them as two different hosts, or pick a single address to depend on. -lee On Wed, Feb 25, 2009 at 11:13 AM, Satish Patel wrote: > > I have client which has multiple IP address and runing apache and ssh > on it but i dont know how to check service on multiple ip address? > > i have define both interface IP address in hosts.cfg file > > like this. > > address 192.168.1.1,172.16.1.1 > > 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 > ------------------------------------------------------------------------------ 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 s.shipway at auckland.ac.nz Thu Feb 26 01:49:55 2009 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Thu, 26 Feb 2009 13:49:55 +1300 Subject: Version 0.9beta of check_vmware available Message-ID: <6B587E8C999646469B54486AF21958460C47D10B23@UXCHANGE7-1.UoA.auckland.ac.nz> Verison 0.9beta of check_vmware for ESX3.x and ESX3i is now available for download from http://www.steveshipway.org/forum/viewtopic.php?f=35 &t=1648 This plug-in for MRTG and Nagios (including Nagios perfstats) monitors CPU, Memory, Datastores and VC Alarms at Datacentre, Cluster, Server or Guest level via the VirtualCentre Perl API. It also has built-in NSCA support and can send Nagios passive check results for all guests at once as it checks a datacentre or cluster, greatly speeding up polling. It now correctly identifies percentage CPU usage for multi-vCPU guests, and has fully parameterised thresholds. The next things to add will be Network and DiskI/O stats. Please give any feedback via the forum if you use this. This plug-in replaces the old check_esx and check_esx3 plugins which used to use SNMP as ESX3i no longer has an SNMP interface. Thanks for your attention, Steve --- Steve Shipway UNIX Systems Administration, University of Auckland, New Zealand +64 9 3737 599 x 86487 s.shipway at auckland.ac.nz P Please consider the environment before printing this e-mail -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3133 bytes Desc: not available URL: -------------- next part -------------- _______________________________________________ mrtg mailing list mrtg at lists.oetiker.ch https://lists.oetiker.ch/cgi-bin/listinfo/mrtg From satish at linuxbug.org Thu Feb 26 03:24:44 2009 From: satish at linuxbug.org (Satish Patel) Date: Wed, 25 Feb 2009 21:24:44 -0500 Subject: Multiple IP address SSH/HTTP check In-Reply-To: <16b031c0902251309u3ca03806k409392cd24ca3e03@mail.gmail.com> References: <20090225111348.ii3ff1d0gg0o0o00@mail.lintelindia.com> <16b031c0902251309u3ca03806k409392cd24ca3e03@mail.gmail.com> Message-ID: <2A7D8737529C490D9354C619B662090C@linuxbug> means put to entry for 2 ip address for single host but how it will identified this ip address belong to single host can you give me example where i can edit this option and how? -satish ----- Original Message ----- From: "Lee Azzarello" To: "Nagios Users Mailinglist" Sent: Wednesday, February 25, 2009 4:09 PM Subject: Re: [Nagios-users] Multiple IP address SSH/HTTP check > Treat them as two different hosts, or pick a single address to depend on. > > -lee > > On Wed, Feb 25, 2009 at 11:13 AM, Satish Patel > wrote: >> >> I have client which has multiple IP address and runing apache and ssh >> on it but i dont know how to check service on multiple ip address? >> >> i have define both interface IP address in hosts.cfg file >> >> like this. >> >> address 192.168.1.1,172.16.1.1 >> >> 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 >> > > ------------------------------------------------------------------------------ > 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 mr_nagas at yahoo.com Thu Feb 26 05:11:10 2009 From: mr_nagas at yahoo.com (nagaraj raj) Date: Wed, 25 Feb 2009 20:11:10 -0800 (PST) Subject: Distributed Linux set up configuration In-Reply-To: References: Message-ID: <471789.41011.qm@web54101.mail.re2.yahoo.com> refer this http://www.nagios.org/faqs/viewfaq.php?faq_id=191 --- On Wed, 2/25/09, dharini.vibhu at wipro.com wrote: > From: dharini.vibhu at wipro.com > Subject: Re: [Nagios-users] Distributed Linux set up configuration > To: nagios-users at lists.sourceforge.net > Date: Wednesday, February 25, 2009, 3:50 PM > Hi > Whether some body can provide an update to the below > issue. > > Thanks and regards, > V.Dharini > Practice Team - Tools Engineer > |WIPRO Infotech| # 37, Castle street, Samridhibhavan, Ashok > Nagar. > Bangalore - |560 025| > > -----Original Message----- > From: Dharini Vibhu (WI01 - Manage IT) > Sent: Tuesday, February 24, 2009 3:09 PM > To: nagios-users at lists.sourceforge.net > Subject: Distributed Linux set up configuration > > Hi All > While trying to configure Distributed Linux set up in > Nagios I am > getting only the following error message from the server > > "CHECK_NRPE: Error - Could not complete SSL > handshake" > > Whether some body can check and help me. Both plug-in and > daemon > versions ae same and permissions are correct. > > Some body please help me > > Thanks and regards, > V.Dharini > Practice Team - Tools Engineer > |WIPRO Infotech| # 37, Castle street, Samridhibhavan, Ashok > Nagar. > Bangalore - |560 025| > > > > > ------------------------------------------------------------------------------ > 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 michael at medin.name Thu Feb 26 06:55:42 2009 From: michael at medin.name (Michael Medin) Date: Thu, 26 Feb 2009 06:55:42 +0100 Subject: {SPAM} NSClient++.exe problem occupy more and more memory !! In-Reply-To: References: Message-ID: <49A62EDE.4000805@medin.name> Hello, The new version (0.3.6) out soon (and RC is available now) features a new client to measure resource utilization and in connection with checks you run so that can help you track down what is amiss. There is also a handle leak when running external scripts in the 0.3.5 version (which is fixed in the 0.3.6 RC as well). // Michael Medin 7up8down skrev: > hi all > I use NSClient++-Win32(NSClient++-Win32-0.3.5) to monitor three > Windows OS servers. > I can see all services are OK in Nagios server. > but I find that NSClient++.exe occupy more and more memory very > slowly in all three server. (by Windows task manager) > so I test NSClient++ in my pc > It's memory occupancy never drop ! I test it in my pc ,It's the same. > > Anyone can help ? Thank u so much. > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > 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_kotterlink at hotmail.com Thu Feb 26 08:26:06 2009 From: t_kotterlink at hotmail.com (Tim Kotterlink) Date: Thu, 26 Feb 2009 08:26:06 +0100 Subject: View options for hosts and services Message-ID: Hi all, I have got a problem with my Nagios configuration and hope somebody can help me. I have got 2 different users. The first one is admin-account and the second one is view-account. The configuration for the cgi's is no problem and use_authentication is set to 1. That is why I don't have a problem with logging in to the Nagios monitoring and getting access to all the different views in the left box (service detail, host detail, service problems, process info, view config, etc.). It is also no problem for giving one account more or less access in the left box. The problem is specific when I click on the service details or hosts details. The admin-account is configured to be a contact for all of the different hosts and services. The view-account is only configured for a couple of hosts and services. When I now log in with the view-account I still see all the hosts and services, also the ones this account is no contact for. To be more specific. admin-account Is contact for Host1, Host2, Host3, Host4 and Host5. And also for Service1, Service2 and Service3. view-account Is contact only for Host1 and Service2. At this moment I want to log in to Nagios. If I do this with the admin-account, I want to see all the hosts and services. If I log in with the view-account I only want to see Host1 and Service2. Can this be arranged??? At this moment I am using Nagios version 3.0.5. In the past I had this working with Nagios version 2.9. Also someone else had this working with Nagios version 3.0.3. So is it possible that this is a bug in version 3.0.5? If it is, where and how can I ask if this can be fixed? I already have read the documentation and archives of this maillinglist. Unfortunately till now I have found the sollution. Also created a post on a forum: http://forums.meulie.net/viewtopic.php?f=59&t=4565&p=15816#p15816 Thanks in advantage. Kind regards, Tim. _________________________________________________________________ De leukste online filmpjes vind je op MSN Video! http://video.msn.com/video.aspx?mkt=nl-nl -------------- 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 mattias.ryrlen at op5.com Thu Feb 26 10:04:38 2009 From: mattias.ryrlen at op5.com (=?ISO-8859-1?Q?Mattias_Ryrl=E9n?=) Date: Thu, 26 Feb 2009 10:04:38 +0100 Subject: Version 0.9beta of check_vmware available In-Reply-To: <6B587E8C999646469B54486AF21958460C47D10B23@UXCHANGE7-1.UoA.auckland.ac.nz> References: <6B587E8C999646469B54486AF21958460C47D10B23@UXCHANGE7-1.UoA.auckland.ac.nz> Message-ID: <49A65B26.3050408@op5.com> Hi Steve, why invent the wheel again? :) http://git.op5.org/git/?p=nagios/op5plugins.git;a=blob_plain;f=check_esx3.pl;hb=HEAD for a more updated version send me a private email and i can fetch it from our internal git repository Steve Shipway skrev: > Verison 0.9beta of check_vmware for ESX3.x and ESX3i is now available > for download from > http://www.steveshipway.org/forum/viewtopic.php?f=35&t=1648 > > > > > This plug-in for MRTG and Nagios (including Nagios perfstats) monitors > CPU, Memory, Datastores and VC Alarms at Datacentre, Cluster, Server or > Guest level via the VirtualCentre Perl API. It also has built-in NSCA > support and can send Nagios passive check results for all guests at once > as it checks a datacentre or cluster, greatly speeding up polling. It > now correctly identifies percentage CPU usage for multi-vCPU guests, and > has fully parameterised thresholds. > > > > The next things to add will be Network and DiskI/O stats. > > > > Please give any feedback via the forum if you use this. This plug-in > replaces the old check_esx and check_esx3 plugins which used to use SNMP > as ESX3i no longer has an SNMP interface. > > > > Thanks for your attention, > > > > Steve > > > > --- > > Steve Shipway > > UNIX Systems Administration, University of Auckland, New Zealand > > +64 9 3737 599 x 86487 > > s.shipway at auckland.ac.nz > > P Please consider the environment before printing this e-mail > > > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > 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 -- 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 ------------------------------------------------------------------------------ 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 jim at jimavery.me.uk Thu Feb 26 10:40:40 2009 From: jim at jimavery.me.uk (Jim Avery) Date: Thu, 26 Feb 2009 09:40:40 +0000 Subject: View options for hosts and services In-Reply-To: References: Message-ID: <765d77c80902260140g2f60461cm287e942fc2b76cdf@mail.gmail.com> 2009/2/26 Tim Kotterlink : > Hi all, > > I have got a problem with my Nagios configuration and hope somebody can help > me. I have got 2 different users. The first one is admin-account and the > second one is view-account. The configuration for the cgi's is no problem > and use_authentication is set to 1. That is why I don't have a problem with > logging in to the Nagios monitoring and getting access to all the different > views in the left box (service detail, host detail, service problems, > process info, view config, etc.). It is also no problem for?giving one > account more or less access in the left box.?The problem is specific when I > click on the service details or hosts details. The admin-account is > configured to be a contact for all of the different hosts and services. The > view-account is only configured for a couple of hosts and services. When I > now log in with the view-account I still see all the hosts and services, > also the ones this account is no contact for. To be more specific. > > admin-account > Is contact for Host1, Host2, Host3, Host4 and Host5. And also for Service1, > Service2 and Service3. > > view-account > Is contact only for Host1 and Service2. > > At this moment I want to log in to Nagios. If I do this with the > admin-account, I want to see all the hosts and services. If I log in with > the view-account I only want to see Host1 and Service2. Can this be > arranged??? > > At this moment I am using Nagios version 3.0.5. In the past I had this > working with Nagios version 2.9. Also someone else had this working with > Nagios version 3.0.3. So is it possible that this is a bug in version 3.0.5? > If it is, where and how can I ask if this can be fixed? > > I already have read the documentation and archives of this maillinglist. > Unfortunately till now I have found the sollution. Also created a post on a > forum: http://forums.meulie.net/viewtopic.php?f=59&t=4565&p=15816#p15816 You should have in your cgi.cfg: authorized_for_all_services=admin-account authorized_for_all_hosts=admin_account (so view_account is not authorized for all). I might be best to double-check this before looking too much further. ------------------------------------------------------------------------------ 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 treibholz at sozial-inkompetent.de Thu Feb 26 11:21:32 2009 From: treibholz at sozial-inkompetent.de (Klaus Umbach) Date: Thu, 26 Feb 2009 11:21:32 +0100 Subject: getting warnings for connection refused with check_nrpe instead of critical Message-ID: <20090226102132.GC3833@umbach-racing.de> Hi, I have a problem with unstable lines and/or machines under stress. Sometimes they just don't reply on nrpe, but are still working, so I get a lot of false alarms. Is it possible, to tell check_nrpe to exit with a warning instead of critical? Cheers Klaus -- BOFH excuse #401: Sales staff sold a product we don't offer. ------------------------------------------------------------------------------ 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 assaf.flatto at ssp-intl.com Thu Feb 26 11:45:03 2009 From: assaf.flatto at ssp-intl.com (Assaf Flatto) Date: Thu, 26 Feb 2009 10:45:03 +0000 Subject: nagiosgraph help In-Reply-To: <49A57CA7.6020909@op5.com> References: <200902251415.40159.assaf.flatto@ssp-intl.com> Message-ID: <200902261045.03996.assaf.flatto@ssp-intl.com> It appears that the rrd file for the graph is not created at all. If i try to create it manually i get the following error "update ERR reading the cookie off" As far as i know , adding a new test to the map file - the rrd file should be created automatically , the directory permissions are 775 with owner and group nagios , and ACL permissions for the apache process user (which is also part of the nagios group). On Wednesday 25 February 2009 17:15:19 Mattias Ryrl?n wrote: > Assaf Flatto skrev: > > Thanks for the help , whoever i did as you recommended and modified my > > map file to be as follows : > > > > # Service type: unix-slapd > > # ouput:OK - Established connections: 6 > > # perfdata:OK - Established connections: 373 > > /prefdata:OK - Established connections: ([0-9]+) / > > change back to output instead of perfdata. > then remove last space before / > /output:OK - Established connections: ([0-9]+)/ > > > and push @s, ['slapd', > > [ 'Established connections:', GAUGE, $1 ] ]; > > > > > > > > In the nagiosgraph.log > > > > Wed Feb 25 14:09:22 2009 showgraph.cgi debug - graphinfo(host, SLAPD Open > > connections) Wed Feb 25 14:09:22 2009 showgraph.cgi debug - db = []; > > Wed Feb 25 14:09:22 2009 showgraph.cgi debug - getfilename(host, SLAPD > > Open connections, ) Wed Feb 25 14:09:22 2009 showgraph.cgi debug - > > getfilename dbseparator: 'subdir' Wed Feb 25 14:09:22 2009 showgraph.cgi > > debug - scanning /usr/local/nagios/nagiosgraph/rrd/host for > > SLAPD%20Open%20connections___ > > Wed Feb 25 14:09:22 2009 showgraph.cgi debug - dbfilelist = []; > > Wed Feb 25 14:09:22 2009 showgraph.cgi info - Listing > > host/SLAPD%20Open%20connections___ db files in > > /usr/local/nagios/nagiosgraph/rrd: > > Wed Feb 25 14:09:22 2009 showgraph.cgi debug - rrd = []; > > Wed Feb 25 14:09:22 2009 showgraph.cgi debug - rrdline(host, SLAPD Open > > connections, , , 34560000) Wed Feb 25 14:09:22 2009 showgraph.cgi info - > > RRDs::graph = [ > > '-', > > '-a', > > 'PNG', > > '--start', > > '-34560000', > > '-w', > > 600 > > ]; > > > > Wed Feb 25 14:09:29 2009 insert.pl warn - perfdata not recognized: > > date||host||desc||out||data for: > > servicedescr:SLAPD Open connections > > output:OK - Established connections: 337 > > perfdata: > > > > > > > > and still no graphs . > > > > Am i missing something else ? > > > > Assaf > > > > On Wednesday 25 February 2009 13:32:22 Mattias Ryrl?n wrote: > >> Hi, > >> > >> First it seems that you have your regexp wrong. > >> > >> sample script to verify what type of output you get: > >> #!/usr/bin/perl > >> $_ = "OK - Established connections: 235"; > >> s/OK .* ([0-9]+) //g; > >> print $_ . "\n"; > >> > >> print "1 = " . $1 . "\n"; > >> > >> > >> and runing it: > >> ./regexp.pl > >> OK - Established connections: 235 > >> 1 = > >> > >> OK - Established connections: ([0-9]+) > >> > >> gives you right result. > >> > >> Assaf Flatto skrev: > >>> Hello List > >>> > >>> I've been struggling with the nagiosgraph , granted i am not that > >>> fluent with perl , but i do have a basic grasp of it . > >>> > >>> The problem i am having is adding services ( of course) . > >>> > >>> define service{ > >>> use linux-service > >>> host_name host > >>> service_description SLAPD Open connections > >>> check_command check_nrpe_no_ssl!check_slapd > >>> icon_image ldap.gif > >>> action_url > >>> /nagiosgraph/show.cgi?host=$HOSTNAME$&service=$SERVICEDESC$ } > >>> > >>> I have a check in nagios to see the amount of slapd connections to my > >>> openldap servers : Command : > >>> /usr/lib/nagios/plugins/check_connections -w 800 -c 925 -C slapd > >>> > >>> sample Result : > >>> OK - Established connections: 235 > >>> > >>> now - trying to parse this in the nagiosgraph map file i have the > >>> following definition : > >>> > >>> # Service type: unix-slapd > >>> # ouput:OK - Established connections: 6 > >>> /output:OK .* ([0-9]+) / > >>> and push @s, ['slapd', > >>> [ 'Established connections:', GAUGE, $1 ] ]; > >>> > >>> In the nagiosgraph log i have the following : > >>> Wed Feb 25 11:24:04 2009 showgraph.cgi debug - graphinfo(host, SLAPD > >>> Open connections) Wed Feb 25 11:24:04 2009 showgraph.cgi debug - db = > >>> []; Wed Feb 25 11:24:04 2009 showgraph.cgi debug - getfilename(host, > >>> SLAPD Open connections, ) Wed Feb 25 11:24:04 2009 showgraph.cgi debug > >>> - getfilename dbseparator: 'subdir' Wed Feb 25 11:24:04 2009 > >>> showgraph.cgi debug - scanning /usr/local/nagios/nagiosgraph/rrd/host > >>> for > >>> SLAPD%20Open%20connections___ > >>> Wed Feb 25 11:24:04 2009 showgraph.cgi debug - dbfilelist = []; > >>> Wed Feb 25 11:24:04 2009 showgraph.cgi info - Listing > >>> host/SLAPD%20Open%20connections___ db files in > >>> /usr/local/nagios/nagiosgraph/rrd: > >>> Wed Feb 25 11:24:04 2009 showgraph.cgi debug - rrd = []; > >>> Wed Feb 25 11:24:04 2009 showgraph.cgi debug - rrdline(host, SLAPD Open > >>> connections, , , 118800) Wed Feb 25 11:24:04 2009 showgraph.cgi info - > >>> RRDs::graph = [ > >>> '-', > >>> '-a', > >>> 'PNG', > >>> '--start', > >>> '-118800', > >>> '-w', > >>> 600 > >>> ]; > >>> > >>> yet i get no graph . > >>> > >>> Any ideas where i am doing this wrong ? > >>> > >>> Thank you -- 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 ------------------------------------------------------------------------------ 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_kotterlink at hotmail.com Thu Feb 26 11:52:30 2009 From: t_kotterlink at hotmail.com (Tim Kotterlink) Date: Thu, 26 Feb 2009 11:52:30 +0100 Subject: View options for hosts and services In-Reply-To: <765d77c80902260140g2f60461cm287e942fc2b76cdf@mail.gmail.com> References: <765d77c80902260140g2f60461cm287e942fc2b76cdf@mail.gmail.com> Message-ID: Hi Jim, thanks a lot. This solved the problem. Too bad I was already working on this problem for 2 days :-( Cheers, Tim. > Date: Thu, 26 Feb 2009 09:40:40 +0000 > Subject: Re: [Nagios-users] View options for hosts and services > From: jim at jimavery.me.uk > To: t_kotterlink at hotmail.com > CC: nagios-users at lists.sourceforge.net > > 2009/2/26 Tim Kotterlink : > > Hi all, > > > > I have got a problem with my Nagios configuration and hope somebody can help > > me. I have got 2 different users. The first one is admin-account and the > > second one is view-account. The configuration for the cgi's is no problem > > and use_authentication is set to 1. That is why I don't have a problem with > > logging in to the Nagios monitoring and getting access to all the different > > views in the left box (service detail, host detail, service problems, > > process info, view config, etc.). It is also no problem for giving one > > account more or less access in the left box. The problem is specific when I > > click on the service details or hosts details. The admin-account is > > configured to be a contact for all of the different hosts and services. The > > view-account is only configured for a couple of hosts and services. When I > > now log in with the view-account I still see all the hosts and services, > > also the ones this account is no contact for. To be more specific. > > > > admin-account > > Is contact for Host1, Host2, Host3, Host4 and Host5. And also for Service1, > > Service2 and Service3. > > > > view-account > > Is contact only for Host1 and Service2. > > > > At this moment I want to log in to Nagios. If I do this with the > > admin-account, I want to see all the hosts and services. If I log in with > > the view-account I only want to see Host1 and Service2. Can this be > > arranged??? > > > > At this moment I am using Nagios version 3.0.5. In the past I had this > > working with Nagios version 2.9. Also someone else had this working with > > Nagios version 3.0.3. So is it possible that this is a bug in version 3.0.5? > > If it is, where and how can I ask if this can be fixed? > > > > I already have read the documentation and archives of this maillinglist. > > Unfortunately till now I have found the sollution. Also created a post on a > > forum: http://forums.meulie.net/viewtopic.php?f=59&t=4565&p=15816#p15816 > > > You should have in your cgi.cfg: > > authorized_for_all_services=admin-account > authorized_for_all_hosts=admin_account > > > (so view_account is not authorized for all). I might be best to > double-check this before looking too much further. _________________________________________________________________ Download de nieuwste emoticons voor in je Messenger http://www.msnmessengerexperience.nl/chuck/ -------------- 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 Kashif.Mohammad at cern.ch Thu Feb 26 14:34:20 2009 From: Kashif.Mohammad at cern.ch (Kashif Mohammad) Date: Thu, 26 Feb 2009 14:34:20 +0100 Subject: General tcp_check question References: <20090225111348.ii3ff1d0gg0o0o00@mail.lintelindia.com><16b031c0902251309u3ca03806k409392cd24ca3e03@mail.gmail.com> <2A7D8737529C490D9354C619B662090C@linuxbug> Message-ID: I have installed nagios for a distributed inviornment and all sites are not in my control. So when I run sh-3.00$ /usr/lib/nagios/plugins/check_tcp -H "" -t 60 -p 9002 I got this output TCP OK - 0.003 second response time on port 9002|time=0.003480s;;;0.000000;60.000000 But when I run sh-3.00$ /usr/lib/nagios/plugins/check_tcp -H "" -t 60 -p 9002 I get this output CRITICAL - Socket timeout after 60 seconds I suspect that it is an firewall issue at that site so I wanted to know that what is underlying command of tcp_check and how can I allow or disallow tcp_check command to run on my system if I am the system administrator on that system. Thanks and Regards Kashif ________________________________ From: Satish Patel [mailto:satish at linuxbug.org] Sent: Thu 2/26/2009 3:24 AM To: Lee Azzarello; Nagios Users Mailinglist Subject: Re: [Nagios-users] Multiple IP address SSH/HTTP check means put to entry for 2 ip address for single host but how it will identified this ip address belong to single host can you give me example where i can edit this option and how? -satish ----- Original Message ----- From: "Lee Azzarello" To: "Nagios Users Mailinglist" Sent: Wednesday, February 25, 2009 4:09 PM Subject: Re: [Nagios-users] Multiple IP address SSH/HTTP check > Treat them as two different hosts, or pick a single address to depend on. > > -lee > > On Wed, Feb 25, 2009 at 11:13 AM, Satish Patel > wrote: >> >> I have client which has multiple IP address and runing apache and ssh >> on it but i dont know how to check service on multiple ip address? >> >> i have define both interface IP address in hosts.cfg file >> >> like this. >> >> address 192.168.1.1,172.16.1.1 >> >> 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 >> > > ------------------------------------------------------------------------------ > 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 -------------- ------------------------------------------------------------------------------ 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 jc at info-systems.de Thu Feb 26 14:56:22 2009 From: jc at info-systems.de (Jakob Curdes) Date: Thu, 26 Feb 2009 14:56:22 +0100 Subject: General tcp_check question In-Reply-To: References: <20090225111348.ii3ff1d0gg0o0o00@mail.lintelindia.com><16b031c0902251309u3ca03806k409392cd24ca3e03@mail.gmail.com> <2A7D8737529C490D9354C619B662090C@linuxbug> Message-ID: <49A69F86.8000404@info-systems.de> > > CRITICAL - Socket timeout after 60 seconds > I suspect that it is an firewall issue at that site so I wanted to > know that what is underlying command of tcp_check and how can I allow > or disallow tcp_check command to run on my system if I am the system > administrator on that system. Well, unfortaunately it is not so easy. If you get a timeout this just means that in the 60 seconds nothing came back. Probably there is some network obstacle in between, but we occasionally observe that also with loaded servers that just take longer to respond. The fact that nothing came back tells you just that - it is hard to conclude WHY nothing came back. What nagios does is essentially telnet host portnumber You can do this by hand, e.g. telnet site2 9002 - if you get a repsonse at all (empty window), you have a connection to that port. If telnet hangs for a long time and then closes, you have the case that nagios sees: nothing comes back and after some time you get a network timeout. If it closes immediately this probably means that nothing is listening at that port; although even this answer can come from a firewall. HTH., Jakob Curdes ------------------------------------------------------------------------------ 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 Thu Feb 26 14:56:46 2009 From: marc at ena.com (Marc Powell) Date: Thu, 26 Feb 2009 07:56:46 -0600 Subject: General tcp_check question In-Reply-To: References: <20090225111348.ii3ff1d0gg0o0o00@mail.lintelindia.com><16b031c0902251309u3ca03806k409392cd24ca3e03@mail.gmail.com> <2A7D8737529C490D9354C619B662090C@linuxbug> Message-ID: <68ECDAE9-1F04-4B5B-A5BC-9DE79AE5F832@ena.com> Please, please don't hijack other peoples threads for your own purposes. It's rude and confusing to future readers. Create a new post to the list when you have a new question. More below... On Feb 26, 2009, at 7:34 AM, Kashif Mohammad wrote: > But when I run > sh-3.00$ /usr/lib/nagios/plugins/check_tcp -H "" -t 60 -p 9002 > I get this output > CRITICAL - Socket timeout after 60 seconds > I suspect that it is an firewall issue at that site so I wanted to > know that what is underlying command of tcp_check and how can I > allow or disallow tcp_check command to run on my system if I am the > system administrator on that system. It's making a TCP connection to port 9002 and seeing if it gets a connection, nothing more. The firewall needs to permit that connection from the nagios host. -- 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 Vargas at quanthouse.com Thu Feb 26 15:04:09 2009 From: Vargas at quanthouse.com (Emmanuel Vargas) Date: Thu, 26 Feb 2009 15:04:09 +0100 Subject: Scheduling: lot of checks in same time Message-ID: <25E0A03E2185B74297F9A16303A1CB91548E4D443B@parfi-exchange.qh.local> Hello all, Sorry for this newbie question. I'm checking a lot of service with a "small" interval between each check. I'm using a lot of homemade script and using nagios 3.05 I'm trying to understand the poller scheduling. I've just read the "Service Check Scheduling" but I can't understand this: It seems nagios send check like a wave. Let me explain: Nagios send around 30-40 checks in the same time and wait maybe 30s before send another wave of 30-40 checks. It is possible to tune Nagios for sending less check in shorter interval? For example 5 checks each 5 seconds seems to be better that 30 checks every 30scondes. Thanks for your help Emmanuel -------------- 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 Thu Feb 26 15:23:42 2009 From: marc at ena.com (Marc Powell) Date: Thu, 26 Feb 2009 08:23:42 -0600 Subject: Scheduling: lot of checks in same time In-Reply-To: <25E0A03E2185B74297F9A16303A1CB91548E4D443B@parfi-exchange.qh.local> References: <25E0A03E2185B74297F9A16303A1CB91548E4D443B@parfi-exchange.qh.local> Message-ID: On Feb 26, 2009, at 8:04 AM, Emmanuel Vargas wrote: > It is possible to tune Nagios for sending less check in shorter > interval? > For example 5 checks each 5 seconds seems to be better that 30 > checks every 30scondes. The tuning variables are in nagios.cfg and documented there and at http://nagios.sourceforge.net/docs/3_0/configmain.html , starting with 'Service Inter-Check Delay Method'. -- 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 Vargas at quanthouse.com Thu Feb 26 15:29:57 2009 From: Vargas at quanthouse.com (Emmanuel Vargas) Date: Thu, 26 Feb 2009 15:29:57 +0100 Subject: Scheduling: lot of checks in same time In-Reply-To: References: <25E0A03E2185B74297F9A16303A1CB91548E4D443B@parfi-exchange.qh.local> Message-ID: <25E0A03E2185B74297F9A16303A1CB91548E4D443C@parfi-exchange.qh.local> > It is possible to tune Nagios for sending less check in shorter > interval? > For example 5 checks each 5 seconds seems to be better that 30 > checks every 30scondes. The tuning variables are in nagios.cfg and documented there and at http://nagios.sourceforge.net/docs/3_0/configmain.html , starting with 'Service Inter-Check Delay Method'. Hello Marc, Thanks for your prompt reply. Yes I'm on it but can't understand which variable can help me to avoid this waves. Will try to set the service_inter_check_delay_method to 4.00 seconds but not sure it's an optimum value. ------------------------------------------------------------------------------ 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 satish at linuxbug.org Thu Feb 26 15:45:05 2009 From: satish at linuxbug.org (Satish Patel) Date: Thu, 26 Feb 2009 09:45:05 -0500 Subject: SELinux problem for SNMP Message-ID: <20090226094505.3hnof1ub5wk0c8oo@mail.lintelindia.com> Hi, I have RHEL 5 Box with SELinux enforceing mode now what happend when my nagios box trying to use snmp to get CPU load its working fine. but when it trying to use DISK and MEM infor its failed not response. even this same plugin working with all my linux client ubuntu, debian, Redhat not problem with plugin but i found problem related to SELinux and i dont want to Disable it so what is the other option and how i can disable snmp policy in SELinux to make happy my nagios? 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 assaf.flatto at ssp-intl.com Thu Feb 26 16:09:06 2009 From: assaf.flatto at ssp-intl.com (Assaf Flatto) Date: Thu, 26 Feb 2009 15:09:06 +0000 Subject: nagiosgraph help In-Reply-To: <92F18F20427620478177A2E3C4B36B31728911@mercury.praxell.com> References: <49A57CA7.6020909@op5.com> Message-ID: <200902261509.06542.assaf.flatto@ssp-intl.com> Thanks for the help. I manged to fix it and now the graph is showing . Assaf On Thursday 26 February 2009 15:04:46 Marco Supino wrote: > A DS can not have a space , change your map to > > and push @s, ['slapd', > [ 'Established_connections:', GAUGE, $1 ] ]; > > -- > Marco Supino > IT Manager > Praxell Inc. > Mobile: +972-544-983653 > Office: +972-3-6126060 Ext 614 > Fax: +972-3-6126066 > http://www.praxell.com > > > -----Original Message----- > From: Assaf Flatto [mailto:assaf.flatto at ssp-intl.com] > Sent: Thursday, February 26, 2009 12:45 PM > To: Nagios User list > Subject: Re: [Nagios-users] nagiosgraph help > > It appears that the rrd file for the graph is not created at all. > If i try to create it manually i get the following error > "update ERR reading the cookie off" > > As far as i know , adding a new test to the map file - the rrd file should > be created automatically , the directory permissions are 775 with owner and > group nagios , and ACL permissions for the apache process user (which is > also part of the nagios group). > > On Wednesday 25 February 2009 17:15:19 Mattias Ryrl?n wrote: > > Assaf Flatto skrev: > > > Thanks for the help , whoever i did as you recommended and modified my > > > map file to be as follows : > > > > > > # Service type: unix-slapd > > > # ouput:OK - Established connections: 6 > > > # perfdata:OK - Established connections: 373 > > > /prefdata:OK - Established connections: ([0-9]+) / > > > > change back to output instead of perfdata. > > then remove last space before / > > /output:OK - Established connections: ([0-9]+)/ > > > > > and push @s, ['slapd', > > > [ 'Established connections:', GAUGE, $1 ] ]; > > > > > > > > > > > > In the nagiosgraph.log > > > > > > Wed Feb 25 14:09:22 2009 showgraph.cgi debug - graphinfo(host, SLAPD > > > Open connections) Wed Feb 25 14:09:22 2009 showgraph.cgi debug - db = > > > []; Wed Feb 25 14:09:22 2009 showgraph.cgi debug - getfilename(host, > > > SLAPD Open connections, ) Wed Feb 25 14:09:22 2009 showgraph.cgi debug > > > - getfilename dbseparator: 'subdir' Wed Feb 25 14:09:22 2009 > > > showgraph.cgi debug - scanning /usr/local/nagios/nagiosgraph/rrd/host > > > for > > > SLAPD%20Open%20connections___ > > > Wed Feb 25 14:09:22 2009 showgraph.cgi debug - dbfilelist = []; > > > Wed Feb 25 14:09:22 2009 showgraph.cgi info - Listing > > > host/SLAPD%20Open%20connections___ db files in > > > /usr/local/nagios/nagiosgraph/rrd: > > > Wed Feb 25 14:09:22 2009 showgraph.cgi debug - rrd = []; > > > Wed Feb 25 14:09:22 2009 showgraph.cgi debug - rrdline(host, SLAPD Open > > > connections, , , 34560000) Wed Feb 25 14:09:22 2009 showgraph.cgi info > > > - RRDs::graph = [ > > > '-', > > > '-a', > > > 'PNG', > > > '--start', > > > '-34560000', > > > '-w', > > > 600 > > > ]; > > > > > > Wed Feb 25 14:09:29 2009 insert.pl warn - perfdata not recognized: > > > date||host||desc||out||data for: > > > servicedescr:SLAPD Open connections > > > output:OK - Established connections: 337 > > > perfdata: > > > > > > > > > > > > and still no graphs . > > > > > > Am i missing something else ? > > > > > > Assaf > > > > > > On Wednesday 25 February 2009 13:32:22 Mattias Ryrl?n wrote: > > >> Hi, > > >> > > >> First it seems that you have your regexp wrong. > > >> > > >> sample script to verify what type of output you get: > > >> #!/usr/bin/perl > > >> $_ = "OK - Established connections: 235"; > > >> s/OK .* ([0-9]+) //g; > > >> print $_ . "\n"; > > >> > > >> print "1 = " . $1 . "\n"; > > >> > > >> > > >> and runing it: > > >> ./regexp.pl > > >> OK - Established connections: 235 > > >> 1 = > > >> > > >> OK - Established connections: ([0-9]+) > > >> > > >> gives you right result. > > >> > > >> Assaf Flatto skrev: > > >>> Hello List > > >>> > > >>> I've been struggling with the nagiosgraph , granted i am not that > > >>> fluent with perl , but i do have a basic grasp of it . > > >>> > > >>> The problem i am having is adding services ( of course) . > > >>> > > >>> define service{ > > >>> use linux-service > > >>> host_name host > > >>> service_description SLAPD Open connections > > >>> check_command check_nrpe_no_ssl!check_slapd > > >>> icon_image ldap.gif > > >>> action_url > > >>> /nagiosgraph/show.cgi?host=$HOSTNAME$&service=$SERVICEDESC$ } > > >>> > > >>> I have a check in nagios to see the amount of slapd connections to my > > >>> openldap servers : Command : > > >>> /usr/lib/nagios/plugins/check_connections -w 800 -c 925 -C slapd > > >>> > > >>> sample Result : > > >>> OK - Established connections: 235 > > >>> > > >>> now - trying to parse this in the nagiosgraph map file i have the > > >>> following definition : > > >>> > > >>> # Service type: unix-slapd > > >>> # ouput:OK - Established connections: 6 > > >>> /output:OK .* ([0-9]+) / > > >>> and push @s, ['slapd', > > >>> [ 'Established connections:', GAUGE, $1 ] ]; > > >>> > > >>> In the nagiosgraph log i have the following : > > >>> Wed Feb 25 11:24:04 2009 showgraph.cgi debug - graphinfo(host, SLAPD > > >>> Open connections) Wed Feb 25 11:24:04 2009 showgraph.cgi debug - db = > > >>> []; Wed Feb 25 11:24:04 2009 showgraph.cgi debug - getfilename(host, > > >>> SLAPD Open connections, ) Wed Feb 25 11:24:04 2009 showgraph.cgi > > >>> debug - getfilename dbseparator: 'subdir' Wed Feb 25 11:24:04 2009 > > >>> showgraph.cgi debug - scanning /usr/local/nagios/nagiosgraph/rrd/host > > >>> for > > >>> SLAPD%20Open%20connections___ > > >>> Wed Feb 25 11:24:04 2009 showgraph.cgi debug - dbfilelist = []; > > >>> Wed Feb 25 11:24:04 2009 showgraph.cgi info - Listing > > >>> host/SLAPD%20Open%20connections___ db files in > > >>> /usr/local/nagios/nagiosgraph/rrd: > > >>> Wed Feb 25 11:24:04 2009 showgraph.cgi debug - rrd = []; > > >>> Wed Feb 25 11:24:04 2009 showgraph.cgi debug - rrdline(host, SLAPD > > >>> Open connections, , , 118800) Wed Feb 25 11:24:04 2009 showgraph.cgi > > >>> info - RRDs::graph = [ > > >>> '-', > > >>> '-a', > > >>> 'PNG', > > >>> '--start', > > >>> '-118800', > > >>> '-w', > > >>> 600 > > >>> ]; > > >>> > > >>> yet i get no graph . > > >>> > > >>> Any ideas where i am doing this wrong ? > > >>> > > >>> Thank you -- 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 ------------------------------------------------------------------------------ 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 Kashif.Mohammad at cern.ch Thu Feb 26 16:12:21 2009 From: Kashif.Mohammad at cern.ch (Kashif Mohammad) Date: Thu, 26 Feb 2009 16:12:21 +0100 Subject: General tcp_check question References: <20090225111348.ii3ff1d0gg0o0o00@mail.lintelindia.com><16b031c0902251309u3ca03806k409392cd24ca3e03@mail.gmail.com><2A7D8737529C490D9354C619B662090C@linuxbug> <68ECDAE9-1F04-4B5B-A5BC-9DE79AE5F832@ena.com> Message-ID: Thanks a lot, and extremely sorry for this, it was just plain sloppiness from my site. Regards Kashif ________________________________ From: Marc Powell [mailto:marc at ena.com] Sent: Thu 2/26/2009 2:56 PM To: Nagios Users Mailinglist Subject: Re: [Nagios-users] General tcp_check question Please, please don't hijack other peoples threads for your own purposes. It's rude and confusing to future readers. Create a new post to the list when you have a new question. More below... On Feb 26, 2009, at 7:34 AM, Kashif Mohammad wrote: > But when I run > sh-3.00$ /usr/lib/nagios/plugins/check_tcp -H "" -t 60 -p 9002 > I get this output > CRITICAL - Socket timeout after 60 seconds > I suspect that it is an firewall issue at that site so I wanted to > know that what is underlying command of tcp_check and how can I > allow or disallow tcp_check command to run on my system if I am the > system administrator on that system. It's making a TCP connection to port 9002 and seeing if it gets a connection, nothing more. The firewall needs to permit that connection from the nagios host. -- 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 skreuzer at exit2shell.com Thu Feb 26 16:20:05 2009 From: skreuzer at exit2shell.com (Steven Kreuzer) Date: Thu, 26 Feb 2009 10:20:05 -0500 Subject: Alerting behavior at beginning of timeperiod Message-ID: I have several processes that are started each morning from cron and then run until the early evening and are then killed. For example, every weekday at 8:00am, a daemon is started and it runs until 6:30pm. A timeperiod of this particular process has been created so between 08:00 and 18:30, nagios uses nrpe to check to make sure the process is in the process list and if not, it sends out an alert. For the most part it works exactly as expected with the exception of the alert that is thrown in the morning. I have been getting an alert each day that is timestamped a couple of seconds after 8:00am (Today was sent out at 8:00:06) My guess as to what happens is that at exactly 8am the first check is done and the process might not have been fully started, or cron started it a few seconds after the check is done. However, I have nagios setup so that normal checks are scheduled to be performed every 5 minutes. If a check fails, another check is scheduled for 1 minute after the first failed check and then if that check fails, an alert is sent out. Nagios appears to be ignoring that. My guess as to what happens is that if the first check at the start of a timeperiod fails, it immediately sends out a alert. The issue seems to have gone away after I changed the timeperiod to begin at 8:01am but I wanted to pick the brain of the community to see if this is an expected behavior or something I need to look into more closely. Many Thanks -- Steven Kreuzer http://www.exit2shell.com/~skreuzer ------------------------------------------------------------------------------ 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 Thu Feb 26 17:02:09 2009 From: echatham at broadvox.net (Eric Chatham) Date: Thu, 26 Feb 2009 11:02:09 -0500 Subject: Problems with check_snmp add-on Message-ID: <4ABA3E162F60624A949503A7F960245EB0E291B1FA@CLEHBEXMS01.broadvox.local> Hello, I am trying to run the check_snmp add-on to retrieve the product name of an Adtran. I have the community string and the MIBs loaded. When I run the following command, I get "No data received from host." What am I doing wrong? Thank you for your assistance. [root@ ~ libexec]# snmptranslate -m +ADTRAN-MIB -IR -On adProdName .1.3.6.1.4.1.664.3.1.1 [root@~ libexec]# ./check_snmp -H -C -o .1.3.6.1.4.1.664.3.1.1 SNMP problem - No data received from host CMD: /usr/local/bin/snmpget -t 1 -r 5 -m '' -v 1 [authpriv] .1.3.6.1.4.1.664.3.1.1 Eric Chatham Broadvox MIS Department Phone: (216) 373-4683 Fax: (216) 373-4669 echatham at broadvox.net [cid:image001.jpg at 01C99801.97FCB4C0] ________________________________ 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 -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 3734 bytes Desc: image001.jpg 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 fancyrabbit at gmail.com Thu Feb 26 17:06:19 2009 From: fancyrabbit at gmail.com (fancyrabbit) Date: Fri, 27 Feb 2009 00:06:19 +0800 Subject: nagios 3.0.6 with high service check latency when ePN is enabled? Message-ID: hi all, i have a nagios 3.0.6 system monitoring 1000+ services and its load average is always more than 8. because most of my service check plugin are written in perl, I tried to enable ePN. everything looks ok at first, the load average was brought down to about 3 or 4. but then i noticed that the average service check latency is very large, even more than 300 seconds while my service check period is 1 minute. I tried to tweak the use_large_installation_tweak/check_result_reaper_frequency/ max_check_result_reaper_time/max_concurrent_checks, even tried to test various values of service_inter_check_delay_method but the service check latency still ran very high after several hours. I also tried to turn on and off perlcache when ./configure and it was also useless. host check latency is also very high, and I think it has nothing to do with the perl interpreter ... which I felt very strange about. but when I accidentally turned off the embedded perl interpreter, the latency value went back to less than 5 seconds ... and the host check latency was less than 1sec. everything is ok now except my server's load average ... I googled the web and read the nagios document(tried almost all the methods in Tuning Nagios For Maximum Performance chapter...) but haven't found the reason and solution yet. is that something wrong with my configuration file or is that a bug of 3.0.6 version? hope someone can help me. best wishes to you all, fancyrabbit Feb 27 2009 -------------- 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 lee at dropio.com Thu Feb 26 17:59:27 2009 From: lee at dropio.com (Lee Azzarello) Date: Thu, 26 Feb 2009 11:59:27 -0500 Subject: Problems with check_snmp add-on In-Reply-To: <4ABA3E162F60624A949503A7F960245EB0E291B1FA@CLEHBEXMS01.broadvox.local> References: <4ABA3E162F60624A949503A7F960245EB0E291B1FA@CLEHBEXMS01.broadvox.local> Message-ID: <16b031c0902260859g513f6f43l1f5e7843f6f87540@mail.gmail.com> On Thu, Feb 26, 2009 at 11:02 AM, Eric Chatham wrote: > Hello, > > > > I am trying to run the check_snmp add-on to retrieve the product name of an > Adtran.? I have the community string and the MIBs loaded.? When I run the > following command, I get ?No data received from host.?? What am I doing > wrong?? Thank you for your assistance. > > > > [root@ ~ libexec]# snmptranslate -m +ADTRAN-MIB -IR -On adProdName > > .1.3.6.1.4.1.664.3.1.1 > [root@~ ?libexec]# ./check_snmp -H -C -o > .1.3.6.1.4.1.664.3.1.1 > > SNMP problem - No data received from host > > CMD: /usr/local/bin/snmpget -t 1 -r 5 -m '' -v 1 [authpriv] > .1.3.6.1.4.1.664.3.1.1 What happens when you run snmpget manually? Does it return the value expected? -lee ------------------------------------------------------------------------------ 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.ottavi at medi.fr Thu Feb 26 17:23:05 2009 From: t.ottavi at medi.fr (Toussaint OTTAVI) Date: Thu, 26 Feb 2009 17:23:05 +0100 Subject: Service check on DOWN hosts!!! In-Reply-To: References: <49A2C413.5070405@iris.uh.cu> Message-ID: <49A6C1E9.7060201@medi.fr> Marc Powell a ?crit: > On Feb 23, 2009, at 9:43 AM, Sergio Ariel wrote: > > >> My problem is that when these host are DOWN, Nagios wait 30 seconds >> trying to execute the service check. After this 30 seconds, then >> tell me >> "CRITICAL SERVICE". I want to avoid Nagios checks any service in >> DOWN > Nagios isn't designed to do this; you'll need to jump through hoops to > accomplish it. At the least you need to be running nagios-3 with > active host checks configured. I'd suggest you look at creating an > event handler for your hosts that issues the external command > 'DISABLE_HOST_SVC_CHECKS' when the host is non-OK and issues the > external command 'ENABLE_HOST_SVC_CHECKS' when the host recovers. > Hi, I already posted the same problem some months ago. I tried Mark's workaround using event handlers and external commands. I also tried another smart workaround using service dependancy. You create a 'check_host_alive' explicit service, then you create a service dependancy, so that all your other services are not checked if the main service fails. Using wildcards can be helpful. Search my name 'OTTAVI' in the list history, and you'll find more details about these two workarounds. Anyway, both of these workarounds do not completely solve the problem. If some service checks are scheduled BEFORE the event handler triggers, or before the dependancy operates, then these service checks will return 'FAILED' status. Some optimization can be done by reducing check interval for the 'parent' check_alive service, but you will still get some 'FAILED' status for some checks that are scheduled before... I'm having this trouble for months, but I didn't find any suitable solution. Nagios has a 'parent/child' relationship system, which could be helpful in such a situation. But it works only for hosts. There are no parent/child relationship between services, or between hosts and services, which could solve our problem completely ! Let's hope the developpers will take our problem into consideration for future versions. Another idea of a better workaround would be using an event handler, not to only to disable all service checks, but also to put all of them in an 'UNKNOWN' state (this would simulate the parent/child/unreachable logic). Then, even if the event handler trigger AFTER some (failed) service checks, the 'FAILED' status would be replaced by a more accurate 'UNKNOWN' status. Unfortunately, I didn't manage to do that in a script to be run as an event handler. I don't know if it is possible. But my global knowledge about scripting is quite poor. Maybe a Perl or Bash guru could help us writing such a script ? Kind regards, -- *Toussaint OTTAVI* *MEDI INFORMATIQUE* ** -------------- 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 t.ottavi at medi.fr Thu Feb 26 17:50:15 2009 From: t.ottavi at medi.fr (Toussaint OTTAVI) Date: Thu, 26 Feb 2009 17:50:15 +0100 Subject: Service check on DOWN hosts!!! In-Reply-To: <49A34E13.80802@aei.ca> References: <49A2C413.5070405@iris.uh.cu> <49A34E13.80802@aei.ca> Message-ID: <49A6C847.6080801@medi.fr> Thomas Guyot-Sionnest a ?crit: > On 23/02/09 10:43 AM, Sergio Ariel wrote: >> My problem is that when these host are DOWN, Nagios wait 30 seconds >> trying to execute the service check. After this 30 seconds, then tell me >> "CRITICAL SERVICE". I want to avoid Nagios checks any service in DOWN >> host > Nagios doesn't send any service notification for down host. But the Nagios WEB console still displays FAILED or UNKNOWN status for individual service cheks. You have to filter out all the results by hand, to see what are the 'source' problems (ie, a router down) and what are just 'cascaded' problems (lots of failed service checks due to unreachability of hosts located over the router). These 'cascaded' results are generating unuseful 'noise' which complicates the overall reading of the console. IMHO, in such a situation, what the Nagios console displays is inaccurate. > If that's not enough use an eventhandler to disable active services checks It's still not enough :-) Service checks scheduled before the event handler triggers will still display inaccurate 'FAILED' status. Any idea to go further is welcome. Kind regards, -- *Toussaint OTTAVI* *MEDI INFORMATIQUE* ** -------------- 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 lee at dropio.com Thu Feb 26 18:06:12 2009 From: lee at dropio.com (Lee Azzarello) Date: Thu, 26 Feb 2009 12:06:12 -0500 Subject: getting warnings for connection refused with check_nrpe instead of critical In-Reply-To: <20090226102132.GC3833@umbach-racing.de> References: <20090226102132.GC3833@umbach-racing.de> Message-ID: <16b031c0902260906l50370313ge0e0b6d897a0835f@mail.gmail.com> On Thu, Feb 26, 2009 at 5:21 AM, Klaus Umbach wrote: > Hi, > > I have a problem with unstable lines and/or machines under stress. > > Sometimes they just don't reply on nrpe, but are still working, so I get a > lot of false alarms. Is it possible, to tell check_nrpe to exit with a > warning instead of critical? I believe that a state of "socket timeout" will always be flagged as "critical", though you can increase the max_check_attempts so it won't throw a notification so soon if you know of false positives. Of course figuring out the cause of your false positives is probably the better solution. -lee ------------------------------------------------------------------------------ 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 lee at dropio.com Thu Feb 26 18:09:21 2009 From: lee at dropio.com (Lee Azzarello) Date: Thu, 26 Feb 2009 12:09:21 -0500 Subject: SELinux problem for SNMP In-Reply-To: <20090226094505.3hnof1ub5wk0c8oo@mail.lintelindia.com> References: <20090226094505.3hnof1ub5wk0c8oo@mail.lintelindia.com> Message-ID: <16b031c0902260909r2f6bcea2laa541eeb9c718ba@mail.gmail.com> I believe your question would be better served on a list related to SELinux. In my experience SELinux is overkill for anything but the most paranoid security situations. Without a complete understanding of your entire security landscape, you'll just end up fighting with your own systems because SELinux is protecting them from you. -lee On Thu, Feb 26, 2009 at 9:45 AM, Satish Patel wrote: > > Hi, > > I have RHEL 5 Box with SELinux enforceing mode now what happend when > my nagios box trying to use snmp to get CPU load its working fine. but > when it trying to use DISK and MEM infor its failed not response. even > this same plugin working with all my linux client ubuntu, debian, > Redhat not problem with plugin but i found problem related to SELinux > and i dont want to Disable it so what is the other option and how i > can disable snmp policy in SELinux to make happy my nagios? > > > 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 > ------------------------------------------------------------------------------ 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 Thu Feb 26 18:14:23 2009 From: martyn at chetnet.co.uk (Martyn) Date: Thu, 26 Feb 2009 17:14:23 -0000 Subject: Procs Warning Message-ID: Not being very familiar with Ubuntu and similar systems I want to try and find out how many processors to monitor, I just started to monitor a fresh install of Ubuntu server to see what results I get back, at the minute I'm getting a Warning telling me 153 processors. How many do you monitor? Cheers 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 israel at frontierflying.com Thu Feb 26 18:25:49 2009 From: israel at frontierflying.com (Israel Brewster) Date: Thu, 26 Feb 2009 08:25:49 -0900 Subject: Monitor SOAP? Message-ID: <4B59CB89-E847-4B77-8256-362060953905@frontierflying.com> Is there a nagios plugin out there that can monitor a soap server, i.e. by sending a soap call to the server and looking for a response? Or do I need to write one? I did a search on nagios exchange for "soap" and "Web services", but didn't find anything that looked promising. 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 Thu Feb 26 18:41:09 2009 From: marc at ena.com (Marc Powell) Date: Thu, 26 Feb 2009 11:41:09 -0600 Subject: Procs Warning In-Reply-To: References: Message-ID: <839D248C-1A27-4E9D-B2F2-99E31EE22CB8@ena.com> On Feb 26, 2009, at 11:14 AM, Martyn wrote: > Not being very familiar with Ubuntu and similar systems I want to > try and find out how many processors to monitor, I just started to > monitor a fresh install of Ubuntu server to see what results I get > back, at the minute I'm getting a Warning telling me 153 processors. > > How many do you monitor? > 120 5000 others in between. depends on the system and what processes/daemons are running on it. The question you should be asking is what is normal for the specific server you are monitoring. I have systems where thousands of processes are normal and other systems where only just over a hundred is normal. Spend a few days periodically counting the number of processes. Find the max and use that as your starting point. Tune up if you get false alarms. Tune down if you don't get alarms when you should have. -- 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 lee at dropio.com Thu Feb 26 18:41:35 2009 From: lee at dropio.com (Lee Azzarello) Date: Thu, 26 Feb 2009 12:41:35 -0500 Subject: Procs Warning In-Reply-To: References: Message-ID: <16b031c0902260941r33cd5a5cg3f397c5b012c7e32@mail.gmail.com> On Thu, Feb 26, 2009 at 12:14 PM, Martyn wrote: > Not being very familiar with Ubuntu and similar systems I want to try and > find out how many processors to monitor, I just started to monitor a fresh > install of Ubuntu server to see what results I get back, at the minute I'm > getting a Warning telling me 153 processors. Wow! That's quite some horsepower. Unfortunately I think you might be confusing a "processor" as in a CPU core and a "process" as in a running program. 153 processes is by no means an insane number for a heavily loaded server. As in any monitoring situation, you must take some time and define "normal" before you can decide on the warning/critical thresholds for your application. -lee ------------------------------------------------------------------------------ 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 Thu Feb 26 18:50:02 2009 From: martyn at chetnet.co.uk (Martyn) Date: Thu, 26 Feb 2009 17:50:02 -0000 Subject: Procs Warning In-Reply-To: <839D248C-1A27-4E9D-B2F2-99E31EE22CB8@ena.com> References: <839D248C-1A27-4E9D-B2F2-99E31EE22CB8@ena.com> Message-ID: Thanks Marc, I will start to tune it Regards -----Original Message----- From: Marc Powell [mailto:marc at ena.com] Sent: 26 February 2009 17:41 To: Nagios Users Mailinglist Subject: Re: [Nagios-users] Procs Warning On Feb 26, 2009, at 11:14 AM, Martyn wrote: > Not being very familiar with Ubuntu and similar systems I want to try > and find out how many processors to monitor, I just started to monitor > a fresh install of Ubuntu server to see what results I get back, at > the minute I'm getting a Warning telling me 153 processors. > > How many do you monitor? > 120 5000 others in between. depends on the system and what processes/daemons are running on it. The question you should be asking is what is normal for the specific server you are monitoring. I have systems where thousands of processes are normal and other systems where only just over a hundred is normal. Spend a few days periodically counting the number of processes. Find the max and use that as your starting point. Tune up if you get false alarms. Tune down if you don't get alarms when you should have. -- 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 ------------------------------------------------------------------------------ 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 lee at dropio.com Thu Feb 26 19:02:55 2009 From: lee at dropio.com (Lee Azzarello) Date: Thu, 26 Feb 2009 13:02:55 -0500 Subject: Problems with check_snmp add-on In-Reply-To: <4ABA3E162F60624A949503A7F960245EB0E291B2B7@CLEHBEXMS01.broadvox.local> References: <4ABA3E162F60624A949503A7F960245EB0E291B1FA@CLEHBEXMS01.broadvox.local> <16b031c0902260859g513f6f43l1f5e7843f6f87540@mail.gmail.com> <4ABA3E162F60624A949503A7F960245EB0E291B2B7@CLEHBEXMS01.broadvox.local> Message-ID: <16b031c0902261002r7ee34e9dy87a5541744f7c83d@mail.gmail.com> On Thu, Feb 26, 2009 at 12:58 PM, Eric Chatham wrote: > [root@ ~ libexec]# snmpget -v1 -c .1.3.6.1.4.1.664.3.1.1 > Timeout: No Response from . > [root@ ~ libexec]# > > I took an ethereal capture as well. ?After looking at it, it looks like the destination host may not be accepting SNMP traffic. ?Is UDP 161 default for SNMP? > > [root@ ~ libexec]# tethereal ip host > Running as user "root" and group "root". This could be dangerous. > Capturing on eth0 > ?0.000000 -> SNMP get-request SNMPv2-SMI::enterprises.664.3.1.1 > ?0.049775 -> ICMP Destination unreachable (Port unreachable) > ?1.000719 -> SNMP get-request SNMPv2-SMI::enterprises.664.3.1.1 I've never worked with this equipment before so I can't give any more advice. Looks like it's time to dive into the Adtran's manual. Fun! -lee ------------------------------------------------------------------------------ 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 Thu Feb 26 19:04:36 2009 From: echatham at broadvox.net (Eric Chatham) Date: Thu, 26 Feb 2009 13:04:36 -0500 Subject: Problems with check_snmp add-on Message-ID: <4ABA3E162F60624A949503A7F960245EB0E291B2BF@CLEHBEXMS01.broadvox.local> [root@ ~ libexec]# snmpget -v1 -c .1.3.6.1.4.1.664.3.1.1 Timeout: No Response from . [root@ ~ libexec]# I took an ethereal capture as well. After looking at it, it looks like the destination host may not be accepting SNMP traffic. Is UDP 161 default for SNMP? [root@ ~ libexec]# tethereal ip host Running as user "root" and group "root". This could be dangerous. Capturing on eth0 0.000000 -> SNMP get-request SNMPv2-SMI::enterprises.664.3.1.1 0.049775 -> ICMP Destination unreachable (Port unreachable) 1.000719 -> SNMP get-request SNMPv2-SMI::enterprises.664.3.1.1 . . 12 packets captured [root@ ~ libexec]# Eric Chatham Broadvox MIS Department (216) 373-4683 echatham at broadvox.net -----Original Message----- From: Lee Azzarello [mailto:lee at dropio.com] Sent: Thursday, February 26, 2009 11:59 To: Nagios Users Mailinglist Subject: Re: [Nagios-users] Problems with check_snmp add-on On Thu, Feb 26, 2009 at 11:02 AM, Eric Chatham wrote: > Hello, > > > > I am trying to run the check_snmp add-on to retrieve the product name of an > Adtran. I have the community string and the MIBs loaded. When I run the > following command, I get "No data received from host." What am I doing > wrong? Thank you for your assistance. > > > > [root@ ~ libexec]# snmptranslate -m +ADTRAN-MIB -IR -On adProdName > > .1.3.6.1.4.1.664.3.1.1 > [root@~ libexec]# ./check_snmp -H -C -o > .1.3.6.1.4.1.664.3.1.1 > > SNMP problem - No data received from host > > CMD: /usr/local/bin/snmpget -t 1 -r 5 -m '' -v 1 [authpriv] > .1.3.6.1.4.1.664.3.1.1 What happens when you run snmpget manually? Does it return the value expected? -lee ------------------------------------------------------------------------------ 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 echatham at broadvox.net Thu Feb 26 18:58:57 2009 From: echatham at broadvox.net (Eric Chatham) Date: Thu, 26 Feb 2009 12:58:57 -0500 Subject: Problems with check_snmp add-on In-Reply-To: <16b031c0902260859g513f6f43l1f5e7843f6f87540@mail.gmail.com> References: <4ABA3E162F60624A949503A7F960245EB0E291B1FA@CLEHBEXMS01.broadvox.local> <16b031c0902260859g513f6f43l1f5e7843f6f87540@mail.gmail.com> Message-ID: <4ABA3E162F60624A949503A7F960245EB0E291B2B7@CLEHBEXMS01.broadvox.local> [root@ ~ libexec]# snmpget -v1 -c .1.3.6.1.4.1.664.3.1.1 Timeout: No Response from . [root@ ~ libexec]# I took an ethereal capture as well. After looking at it, it looks like the destination host may not be accepting SNMP traffic. Is UDP 161 default for SNMP? [root@ ~ libexec]# tethereal ip host Running as user "root" and group "root". This could be dangerous. Capturing on eth0 0.000000 -> SNMP get-request SNMPv2-SMI::enterprises.664.3.1.1 0.049775 -> ICMP Destination unreachable (Port unreachable) 1.000719 -> SNMP get-request SNMPv2-SMI::enterprises.664.3.1.1 . . 12 packets captured [root@ ~ libexec]# Eric Chatham Broadvox MIS Department (216) 373-4683 echatham at broadvox.net -----Original Message----- From: Lee Azzarello [mailto:lee at dropio.com] Sent: Thursday, February 26, 2009 11:59 To: Nagios Users Mailinglist Subject: Re: [Nagios-users] Problems with check_snmp add-on On Thu, Feb 26, 2009 at 11:02 AM, Eric Chatham wrote: > Hello, > > > > I am trying to run the check_snmp add-on to retrieve the product name of an > Adtran. I have the community string and the MIBs loaded. When I run the > following command, I get "No data received from host." What am I doing > wrong? Thank you for your assistance. > > > > [root@ ~ libexec]# snmptranslate -m +ADTRAN-MIB -IR -On adProdName > > .1.3.6.1.4.1.664.3.1.1 > [root@~ libexec]# ./check_snmp -H -C -o > .1.3.6.1.4.1.664.3.1.1 > > SNMP problem - No data received from host > > CMD: /usr/local/bin/snmpget -t 1 -r 5 -m '' -v 1 [authpriv] > .1.3.6.1.4.1.664.3.1.1 What happens when you run snmpget manually? Does it return the value expected? -lee ------------------------------------------------------------------------------ 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 dav.fontaine at gmail.com Thu Feb 26 19:17:15 2009 From: dav.fontaine at gmail.com (David Fontaine) Date: Thu, 26 Feb 2009 19:17:15 +0100 Subject: Service linked to hostgroup / notifications Message-ID: <29d675940902261017g14567e1p60c49e082909ec49@mail.gmail.com> Hello, I am monitoring a few dozen of servers and I'm really satisfied with nagios. This is a great tool. However, there's one (actually more than one) thing that I can't figure out : I define a service : define service{ use generic-service hostgroup_name linux-servers service_description Time check_command check_time!public } This service applies to a host group so that I don't have to define the service for each server. The command doesn't matter but for completeness here's what it does : it compares the time on a remote server (snmp) to the local time and report the difference. There is one server that is rebooted every night, and I would like not to receive notifications during that time. So I have defined a notification period. Now, the question is : how do I apply the notification period to the service, but for only that one host ? Maybe I have to create a service for each host, so that I can specify different time periods for each service. There must be a way but I can't figure it out. I tried to define the same service on the host I would like not to receive notifications for, but Nagios complains about duplicates. Thanks for any help. Regards, David -------------- 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 Thu Feb 26 19:31:20 2009 From: marc at ena.com (Marc Powell) Date: Thu, 26 Feb 2009 12:31:20 -0600 Subject: Service linked to hostgroup / notifications In-Reply-To: <29d675940902261017g14567e1p60c49e082909ec49@mail.gmail.com> References: <29d675940902261017g14567e1p60c49e082909ec49@mail.gmail.com> Message-ID: <24725E34-06C5-4404-8C20-9E1007AEAE45@ena.com> On Feb 26, 2009, at 12:17 PM, David Fontaine wrote: > Now, the question is : how do I apply the notification period to the > service, but for only that one host ? > > Maybe I have to create a service for each host, so that I can > specify different time periods for each service. There must be a way > but I can't figure it out. I tried to define the same service on the > host I would like not to receive notifications for, but Nagios > complains about duplicates. Untested but I would try defining the specific service with the special time_period as you do above when nagios complained about duplicates and at the same time, change your more general definition to exclude that host. You must have use_true_regexp_matching enabled I believe. define service{ use generic-service hostgroup_name linux-servers host_name !myspecialhost service_description Time check_command check_time!public } -- 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 Thu Feb 26 19:35:31 2009 From: echatham at broadvox.net (Eric Chatham) Date: Thu, 26 Feb 2009 13:35:31 -0500 Subject: Problems with check_snmp add-on In-Reply-To: <16b031c0902261002r7ee34e9dy87a5541744f7c83d@mail.gmail.com> References: <4ABA3E162F60624A949503A7F960245EB0E291B1FA@CLEHBEXMS01.broadvox.local> <16b031c0902260859g513f6f43l1f5e7843f6f87540@mail.gmail.com> <4ABA3E162F60624A949503A7F960245EB0E291B2B7@CLEHBEXMS01.broadvox.local> <16b031c0902261002r7ee34e9dy87a5541744f7c83d@mail.gmail.com> Message-ID: <4ABA3E162F60624A949503A7F960245EB0E291B2E4@CLEHBEXMS01.broadvox.local> Thank you for the attempt though. :) Eric Chatham Broadvox MIS Department (216) 373-4683 echatham at broadvox.net -----Original Message----- From: Lee Azzarello [mailto:lee at dropio.com] Sent: Thursday, February 26, 2009 13:03 To: Nagios Users Mailinglist Subject: Re: [Nagios-users] Problems with check_snmp add-on On Thu, Feb 26, 2009 at 12:58 PM, Eric Chatham wrote: > [root@ ~ libexec]# snmpget -v1 -c .1.3.6.1.4.1.664.3.1.1 > Timeout: No Response from . > [root@ ~ libexec]# > > I took an ethereal capture as well. After looking at it, it looks like the destination host may not be accepting SNMP traffic. Is UDP 161 default for SNMP? > > [root@ ~ libexec]# tethereal ip host > Running as user "root" and group "root". This could be dangerous. > Capturing on eth0 > 0.000000 -> SNMP get-request SNMPv2-SMI::enterprises.664.3.1.1 > 0.049775 -> ICMP Destination unreachable (Port unreachable) > 1.000719 -> SNMP get-request SNMPv2-SMI::enterprises.664.3.1.1 I've never worked with this equipment before so I can't give any more advice. Looks like it's time to dive into the Adtran's manual. Fun! -lee ------------------------------------------------------------------------------ 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 lee at dropio.com Thu Feb 26 19:48:40 2009 From: lee at dropio.com (Lee Azzarello) Date: Thu, 26 Feb 2009 13:48:40 -0500 Subject: Service linked to hostgroup / notifications In-Reply-To: <29d675940902261017g14567e1p60c49e082909ec49@mail.gmail.com> References: <29d675940902261017g14567e1p60c49e082909ec49@mail.gmail.com> Message-ID: <16b031c0902261048y29d27125if679b7955d674cf9@mail.gmail.com> On Thu, Feb 26, 2009 at 1:17 PM, David Fontaine wrote: > Hello, > > I am monitoring a few dozen of servers and I'm really satisfied with nagios. > This is a great tool. > > However, there's one (actually more than one) thing that I can't figure out > : > > I define a service : > > define service{ > ??????? use???????????????????? generic-service > ??????? hostgroup_name????????? linux-servers > ??????? service_description???? Time > ??????? check_command?????????? check_time!public > ??????? } > > This service applies to a host group so that I don't have to define the > service for each server. The command doesn't matter but for completeness > here's what it does : it compares the time on a remote server (snmp) to the > local time and report the difference. Going out on a limb here...have you considered using the Network Time Protocol to keep all your host's clocks in sync with an Internet scale network of federated time servers available to you for free? I'm using NTP on a network of 40 hosts and I never have worried about their clocks getting out of sync. -lee ------------------------------------------------------------------------------ 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 treibholz at sozial-inkompetent.de Thu Feb 26 20:02:47 2009 From: treibholz at sozial-inkompetent.de (Klaus Umbach) Date: Thu, 26 Feb 2009 20:02:47 +0100 Subject: getting warnings for connection refused with check_nrpe instead of critical In-Reply-To: <16b031c0902260906l50370313ge0e0b6d897a0835f@mail.gmail.com> References: <20090226102132.GC3833@umbach-racing.de> <16b031c0902260906l50370313ge0e0b6d897a0835f@mail.gmail.com> Message-ID: <20090226190247.GH3833@umbach-racing.de> On 26/02/09 12:06, Lee Azzarello wrote: > On Thu, Feb 26, 2009 at 5:21 AM, Klaus Umbach > wrote: > > Hi, > > > > I have a problem with unstable lines and/or machines under stress. > > > > Sometimes they just don't reply on nrpe, but are still working, so I get a > > lot of false alarms. Is it possible, to tell check_nrpe to exit with a > > warning instead of critical? > > I believe that a state of "socket timeout" will always be flagged as > "critical", though you can increase the max_check_attempts so it won't > throw a notification so soon if you know of false positives. Sometimes these periods last for a an hour so, on some machines it's because of shitty connections to another continent or in countries with unstable infrastructure. > Of course figuring out the cause of your false positives is probably > the better solution. Most of time I know the cause, but it is not solvable in a cheap way :-) The relevant services are still working, but if the monitored values pass the thresholds, I want to know it, not if connection fails. Cheers Klaus -- BOFH excuse #159: Stubborn processes ------------------------------------------------------------------------------ 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 Thu Feb 26 20:18:16 2009 From: marc at ena.com (Marc Powell) Date: Thu, 26 Feb 2009 13:18:16 -0600 Subject: getting warnings for connection refused with check_nrpe instead of critical In-Reply-To: <20090226190247.GH3833@umbach-racing.de> References: <20090226102132.GC3833@umbach-racing.de> <16b031c0902260906l50370313ge0e0b6d897a0835f@mail.gmail.com> <20090226190247.GH3833@umbach-racing.de> Message-ID: <306331CA-4DB4-4A28-9983-E758598CD86C@ena.com> On Feb 26, 2009, at 1:02 PM, Klaus Umbach wrote: > Most of time I know the cause, but it is not solvable in a cheap > way :-) > The relevant services are still working, but if the monitored values > pass > the thresholds, I want to know it, not if connection fails. Edit check_nrpe.c; look for void alarm_handler(int sig){ printf("CHECK_NRPE: Socket timeout after %d seconds. \n",socket_timeout); exit(STATE_CRITICAL); } change STATE_CRITICAL to whatever state you think it should be and recompile. -- 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 treibholz at sozial-inkompetent.de Thu Feb 26 21:13:50 2009 From: treibholz at sozial-inkompetent.de (Klaus Umbach) Date: Thu, 26 Feb 2009 21:13:50 +0100 Subject: getting warnings for connection refused with check_nrpe instead of critical In-Reply-To: <306331CA-4DB4-4A28-9983-E758598CD86C@ena.com> References: <20090226102132.GC3833@umbach-racing.de> <16b031c0902260906l50370313ge0e0b6d897a0835f@mail.gmail.com> <20090226190247.GH3833@umbach-racing.de> <306331CA-4DB4-4A28-9983-E758598CD86C@ena.com> Message-ID: <20090226201350.GI3833@umbach-racing.de> On 26/02/09 13:18, Marc Powell wrote: > change STATE_CRITICAL to whatever state you think it should be and > recompile. Yes, that solution is an option, too, but I was hoping to find something without recompiling :-) I should write a patch to make it configurable... Cheers Klaus -- BOFH excuse #445: Browser's cookie is corrupted -- someone's been nibbling 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 rlwhite at illinois.edu Thu Feb 26 21:08:18 2009 From: rlwhite at illinois.edu (White, Richard L) Date: Thu, 26 Feb 2009 14:08:18 -0600 Subject: newbie question Message-ID: <16D997EBBFD7C147A9B068D6A59BDAC20677A375EF@DSMAILBOX.ad.uiuc.edu> List, I just finished installing Nagios 2.10 on my RedHat Linux system. I'm new at web stuff but after some digging was able to log into the application. I have not changed any of the default cfg files except for the contacts one listed in the quickstart directions and pointing the authentication to the correct password file. It looks like I should be monitoring my localhost, but I do not see hosts or services displayed in the viewer. Do they only show up when they are bad? On most screens I get the message similar to this one: "It appears as though you do not have permissions to view information for any of the hosts you requested... If you believe this is an error, check the HTTP server authentication requirements for access this CGI and check the authorization options in your CGI configuration file" Is this because the files it is looking for do not exist yet? Do I have a permissions problem? Any help you can provide will be appreciated! Rich White Service Manager -- Illinois Compass University of Illinois at Urbana-Champaign -------------- 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 Thu Feb 26 21:25:41 2009 From: marc at ena.com (Marc Powell) Date: Thu, 26 Feb 2009 14:25:41 -0600 Subject: getting warnings for connection refused with check_nrpe instead of critical In-Reply-To: <20090226201350.GI3833@umbach-racing.de> References: <20090226102132.GC3833@umbach-racing.de> <16b031c0902260906l50370313ge0e0b6d897a0835f@mail.gmail.com> <20090226190247.GH3833@umbach-racing.de> <306331CA-4DB4-4A28-9983-E758598CD86C@ena.com> <20090226201350.GI3833@umbach-racing.de> Message-ID: <82E10C42-2D38-4E52-93F3-2D431728F417@ena.com> On Feb 26, 2009, at 2:13 PM, Klaus Umbach wrote: > On 26/02/09 13:18, Marc Powell wrote: >> change STATE_CRITICAL to whatever state you think it should be and >> recompile. > > Yes, that solution is an option, too, but I was hoping to find > something > without recompiling :-) The negate plugin is close but it doesn't look at the text output, only the exit code, so you wouldn't have the granularity you need. I'm not aware of anything else workable. > I should write a patch to make it configurable... That'd be nice =) -- 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 lee at dropio.com Thu Feb 26 21:45:51 2009 From: lee at dropio.com (Lee Azzarello) Date: Thu, 26 Feb 2009 15:45:51 -0500 Subject: newbie question In-Reply-To: <16D997EBBFD7C147A9B068D6A59BDAC20677A375EF@DSMAILBOX.ad.uiuc.edu> References: <16D997EBBFD7C147A9B068D6A59BDAC20677A375EF@DSMAILBOX.ad.uiuc.edu> Message-ID: <16b031c0902261245i545bf796i70c5c4ed6fe9fdf5@mail.gmail.com> On Thu, Feb 26, 2009 at 3:08 PM, White, Richard L wrote: > List, > > > > I just finished installing Nagios 2.10 on my RedHat Linux system. Old version. Consider upgrading to version 3. > > I?m new at web stuff but after some digging was able to log into the > application. > > > > I have not changed any of the default cfg files except for the contacts one > listed in the quickstart directions and pointing the authentication to the > correct password file. > > It looks like I should be monitoring my localhost, but I do not see hosts or > services displayed in the viewer. > > Do they only show up when they are bad? > > > > On most screens I get the message similar to this one: > > > > ?It appears as though you do not have permissions to view information for > any of the hosts you requested? > > If you believe this is an error, check the HTTP server authentication > requirements for access this CGI and check the authorization options in your > CGI configuration file? > > > > Is this because the files it is looking for do not exist yet? > > Do I have a permissions problem? Yes, that is most likely. Start here: http://nagios.sourceforge.net/docs/3_0/config.html Documentation in this arena for your current version is not very explicit. Consider upgrading. -lee ------------------------------------------------------------------------------ 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 Kurt.Fritsch at housing.wisc.edu Thu Feb 26 22:25:22 2009 From: Kurt.Fritsch at housing.wisc.edu (Fritsch, Kurt) Date: Thu, 26 Feb 2009 15:25:22 -0600 Subject: Nagios still sending alerts for deleted host In-Reply-To: <16D997EBBFD7C147A9B068D6A59BDAC20677A375EF@DSMAILBOX.ad.uiuc.edu> References: <16D997EBBFD7C147A9B068D6A59BDAC20677A375EF@DSMAILBOX.ad.uiuc.edu> Message-ID: <7619979E76CBC04AB84FE454A060F04A0181D406EB87@MAILSTORE.housing.wisc.edu> Sorry for the newbie question, I have inherited what was a working Nagios setup that I am now in charge of. Most of my experience in making changes has been through the Fruity interface, but I do have some knowledge on where all the configuration files are stored and what they do. I have 2 distinct problems as of late: 1. I deleted a host entry for a piece of equipment that is no longer in service and now Nagios continuously sends problem alerts for it. I've searched through the config files (using Linux vi editor) to find any reference to this host and can't find anything. The host doesn't show up anywhere on Nagios' list of devices so I can't acknowledge the alert or anything. If I try to acknowledge the alert by clicking on the link in the alert email it gives me an error saying I'm not authorized to commit the specified command. I have re-uploaded the config files and restarted the Nagios process multiple times. Where is Nagios pulling this from? 2. Around the same time, I noticed that acknowledging alerts in general no longer works for any hosts. If a host or service goes down, it doesn't matter if I acknowledge the service problem, disable notifications or even schedule downtime, Nagios continues to flood my inbox with alert emails. It allows me to acknowledge the issue, doesn't give me any error messages, and even sends me a problem acknowledged email, but then the problem alerts just keep on coming. I've googled these issues without success, so hopefully someone can offer some insight. Thanks in advance for any help. Thanks, Kurt Fritsch ResNet Manager Division of University Housing Information Technology Department University of Wisconsin-Madison 608-265-3846 -------------- 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 Thu Feb 26 22:39:26 2009 From: marc at ena.com (Marc Powell) Date: Thu, 26 Feb 2009 15:39:26 -0600 Subject: Nagios still sending alerts for deleted host In-Reply-To: <7619979E76CBC04AB84FE454A060F04A0181D406EB87@MAILSTORE.housing.wisc.edu> References: <16D997EBBFD7C147A9B068D6A59BDAC20677A375EF@DSMAILBOX.ad.uiuc.edu> <7619979E76CBC04AB84FE454A060F04A0181D406EB87@MAILSTORE.housing.wisc.edu> Message-ID: <38AFF5F0-959F-4172-8F7A-711F952675F4@ena.com> On Feb 26, 2009, at 3:25 PM, Fritsch, Kurt wrote: > Sorry for the newbie question, I have inherited what was a working > Nagios setup that I am now in charge of. Most of my experience in > making changes has been through the Fruity interface, but I do have > some knowledge on where all the configuration files are stored and > what they do. > > I have 2 distinct problems as of late: > I?ve googled these issues without success, so hopefully someone can > offer some insight. Thanks in advance for any help. You have multiple nagios daemons running at the same time. One or more that know the old config and one or more with the new config. Stop nagios, verify with ps that they're all dead, kill any that remain and re-start nagios -- 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 Thu Feb 26 22:55:53 2009 From: echatham at broadvox.net (Eric Chatham) Date: Thu, 26 Feb 2009 16:55:53 -0500 Subject: Problems with check_snmp add-on In-Reply-To: <4ABA3E162F60624A949503A7F960245EB0E291B2B7@CLEHBEXMS01.broadvox.local> References: <4ABA3E162F60624A949503A7F960245EB0E291B1FA@CLEHBEXMS01.broadvox.local> <16b031c0902260859g513f6f43l1f5e7843f6f87540@mail.gmail.com> <4ABA3E162F60624A949503A7F960245EB0E291B2B7@CLEHBEXMS01.broadvox.local> Message-ID: <4ABA3E162F60624A949503A7F960245EB0E291B400@CLEHBEXMS01.broadvox.local> I got the Adtran to work with snmpwalk and get. I would like to monitor "ifOperStatus.1," which is the status on interface 1. I created this command & service # 'check_snmp_interface' command defintion define command { command_name check_snmp_interface command_line $USER1$/check_snmp -H $HOSTADDRESS$ -C $ARG1$ -o $ARG2$ -c $ARG3$ } define service{ host_name reach_media service_description INT1 check_command check_snmp_interface!!!ifOperStatus.1!1:1 max_check_attempts 3 normal_check_interval 1 check_period 24x7 When I add the service into Nagios, I keep getting "check_snmp: Invalid critical threshold - ifOperStatus.1" When I run the "check_snmp" plugin, I don't have any problems. [root@ ~ libexec]# ./check_snmp -H -C -o ifOperStatus.1 -c 1:1 SNMP CRITICAL - *2* | IF-MIB::ifOperStatus.1=2 [root@ ~ libexec]# Why won't it work on the Nagios webpage? Eric Chatham Broadvox MIS Department (216) 373-4683 echatham at broadvox.net -----Original Message----- From: Eric Chatham [mailto:echatham at broadvox.net] Sent: Thursday, February 26, 2009 12:59 To: Lee Azzarello; Nagios Users Mailinglist Subject: Re: [Nagios-users] Problems with check_snmp add-on [root@ ~ libexec]# snmpget -v1 -c .1.3.6.1.4.1.664.3.1.1 Timeout: No Response from . [root@ ~ libexec]# I took an ethereal capture as well. After looking at it, it looks like the destination host may not be accepting SNMP traffic. Is UDP 161 default for SNMP? [root@ ~ libexec]# tethereal ip host Running as user "root" and group "root". This could be dangerous. Capturing on eth0 0.000000 -> SNMP get-request SNMPv2-SMI::enterprises.664.3.1.1 0.049775 -> ICMP Destination unreachable (Port unreachable) 1.000719 -> SNMP get-request SNMPv2-SMI::enterprises.664.3.1.1 . . 12 packets captured [root@ ~ libexec]# Eric Chatham Broadvox MIS Department (216) 373-4683 echatham at broadvox.net -----Original Message----- From: Lee Azzarello [mailto:lee at dropio.com] Sent: Thursday, February 26, 2009 11:59 To: Nagios Users Mailinglist Subject: Re: [Nagios-users] Problems with check_snmp add-on On Thu, Feb 26, 2009 at 11:02 AM, Eric Chatham wrote: > Hello, > > > > I am trying to run the check_snmp add-on to retrieve the product name of an > Adtran. I have the community string and the MIBs loaded. When I run the > following command, I get "No data received from host." What am I doing > wrong? Thank you for your assistance. > > > > [root@ ~ libexec]# snmptranslate -m +ADTRAN-MIB -IR -On adProdName > > .1.3.6.1.4.1.664.3.1.1 > [root@~ libexec]# ./check_snmp -H -C -o > .1.3.6.1.4.1.664.3.1.1 > > SNMP problem - No data received from host > > CMD: /usr/local/bin/snmpget -t 1 -r 5 -m '' -v 1 [authpriv] > .1.3.6.1.4.1.664.3.1.1 What happens when you run snmpget manually? Does it return the value expected? -lee ------------------------------------------------------------------------------ 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 lee at dropio.com Thu Feb 26 23:22:15 2009 From: lee at dropio.com (Lee Azzarello) Date: Thu, 26 Feb 2009 17:22:15 -0500 Subject: Problems with check_snmp add-on In-Reply-To: <4ABA3E162F60624A949503A7F960245EB0E291B400@CLEHBEXMS01.broadvox.local> References: <4ABA3E162F60624A949503A7F960245EB0E291B1FA@CLEHBEXMS01.broadvox.local> <16b031c0902260859g513f6f43l1f5e7843f6f87540@mail.gmail.com> <4ABA3E162F60624A949503A7F960245EB0E291B2B7@CLEHBEXMS01.broadvox.local> <4ABA3E162F60624A949503A7F960245EB0E291B400@CLEHBEXMS01.broadvox.local> Message-ID: <16b031c0902261422r4fbc9965qea300c860eceb2d3@mail.gmail.com> On Thu, Feb 26, 2009 at 4:55 PM, Eric Chatham wrote: > I got the Adtran to work with snmpwalk and get. ?I would like to monitor "ifOperStatus.1," which is the status on interface 1. ?I created this command & service > > # 'check_snmp_interface' command defintion > define command { > ? ? ? ?command_name ? ?check_snmp_interface > ? ? ? ?command_line ? ?$USER1$/check_snmp -H $HOSTADDRESS$ -C $ARG1$ -o $ARG2$ -c $ARG3$ > ? ? ? ?} > > define service{ > ? ? ? ?host_name ? ? ? ? ? ? ? ? ? ? ? reach_media > ? ? ? ?service_description ? ? ? ? ? ? INT1 > ? ? ? ?check_command ? ? ? ? ? ? ? ? ? check_snmp_interface!!!ifOperStatus.1!1:1 > ? ? ? ?max_check_attempts ? ? ? ? ? ? ?3 > ? ? ? ?normal_check_interval ? ? ? ? ? 1 > ? ? ? ?check_period ? ? ? ? ? ? ? ? ? ?24x7 > > When I add the service into Nagios, I keep getting "check_snmp: Invalid critical threshold - ifOperStatus.1" Double check your argument order between the command and service definitions. -lee ------------------------------------------------------------------------------ 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 Thu Feb 26 23:43:32 2009 From: marc at ena.com (Marc Powell) Date: Thu, 26 Feb 2009 16:43:32 -0600 Subject: Problems with check_snmp add-on In-Reply-To: <4ABA3E162F60624A949503A7F960245EB0E291B400@CLEHBEXMS01.broadvox.local> References: <4ABA3E162F60624A949503A7F960245EB0E291B1FA@CLEHBEXMS01.broadvox.local> <16b031c0902260859g513f6f43l1f5e7843f6f87540@mail.gmail.com> <4ABA3E162F60624A949503A7F960245EB0E291B2B7@CLEHBEXMS01.broadvox.local> <4ABA3E162F60624A949503A7F960245EB0E291B400@CLEHBEXMS01.broadvox.local> Message-ID: <6418AA77-8E02-43F0-8CBD-53A55056EB4C@ena.com> On Feb 26, 2009, at 3:55 PM, Eric Chatham wrote: > I got the Adtran to work with snmpwalk and get. I would like to > monitor "ifOperStatus.1," which is the status on interface 1. I > created this command & service > command_line $USER1$/check_snmp -H $HOSTADDRESS$ -C $ARG1$ > -o $ARG2$ -c $ARG3$ > check_command check_snmp_interface! host>!!ifOperStatus.1!1:1 $ARG1$ = $ARG2$ = $ARG3$ = ifOperStatus.1 $ARG4$ = 1:1 Your command_line therefor looks like /path/to/plugins/check_snmp -H
-C -o -c ifOperStatus.1 > When I add the service into Nagios, I keep getting "check_snmp: > Invalid critical threshold - ifOperStatus.1" > > When I run the "check_snmp" plugin, I don't have any problems. > > [root@ ~ libexec]# ./check_snmp -H -C -o > ifOperStatus.1 -c 1:1 > SNMP CRITICAL - *2* | IF-MIB::ifOperStatus.1=2 Looks different. -- 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 Fri Feb 27 00:05:58 2009 From: echatham at broadvox.net (Eric Chatham) Date: Thu, 26 Feb 2009 18:05:58 -0500 Subject: Problems with check_snmp add-on In-Reply-To: <6418AA77-8E02-43F0-8CBD-53A55056EB4C@ena.com> References: <4ABA3E162F60624A949503A7F960245EB0E291B1FA@CLEHBEXMS01.broadvox.local> <16b031c0902260859g513f6f43l1f5e7843f6f87540@mail.gmail.com> <4ABA3E162F60624A949503A7F960245EB0E291B2B7@CLEHBEXMS01.broadvox.local> <4ABA3E162F60624A949503A7F960245EB0E291B400@CLEHBEXMS01.broadvox.local> <6418AA77-8E02-43F0-8CBD-53A55056EB4C@ena.com> Message-ID: <4ABA3E162F60624A949503A7F960245EB0E291B474@CLEHBEXMS01.broadvox.local> Thanks, guys. :) I see my mistake. I had the host IP listed twice. Eric Chatham Broadvox MIS Department (216) 373-4683 echatham at broadvox.net -----Original Message----- From: Marc Powell [mailto:marc at ena.com] Sent: Thursday, February 26, 2009 17:44 To: Nagios Users Mailinglist Subject: Re: [Nagios-users] Problems with check_snmp add-on On Feb 26, 2009, at 3:55 PM, Eric Chatham wrote: > I got the Adtran to work with snmpwalk and get. I would like to > monitor "ifOperStatus.1," which is the status on interface 1. I > created this command & service > command_line $USER1$/check_snmp -H $HOSTADDRESS$ -C $ARG1$ > -o $ARG2$ -c $ARG3$ > check_command check_snmp_interface! host>!!ifOperStatus.1!1:1 $ARG1$ = $ARG2$ = $ARG3$ = ifOperStatus.1 $ARG4$ = 1:1 Your command_line therefor looks like /path/to/plugins/check_snmp -H
-C -o -c ifOperStatus.1 > When I add the service into Nagios, I keep getting "check_snmp: > Invalid critical threshold - ifOperStatus.1" > > When I run the "check_snmp" plugin, I don't have any problems. > > [root@ ~ libexec]# ./check_snmp -H -C -o > ifOperStatus.1 -c 1:1 > SNMP CRITICAL - *2* | IF-MIB::ifOperStatus.1=2 Looks different. -- 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 marc at ena.com Fri Feb 27 00:08:50 2009 From: marc at ena.com (Marc Powell) Date: Thu, 26 Feb 2009 17:08:50 -0600 Subject: Problems with check_snmp add-on In-Reply-To: <4ABA3E162F60624A949503A7F960245EB0E291B474@CLEHBEXMS01.broadvox.local> References: <4ABA3E162F60624A949503A7F960245EB0E291B1FA@CLEHBEXMS01.broadvox.local> <16b031c0902260859g513f6f43l1f5e7843f6f87540@mail.gmail.com> <4ABA3E162F60624A949503A7F960245EB0E291B2B7@CLEHBEXMS01.broadvox.local> <4ABA3E162F60624A949503A7F960245EB0E291B400@CLEHBEXMS01.broadvox.local> <6418AA77-8E02-43F0-8CBD-53A55056EB4C@ena.com> <4ABA3E162F60624A949503A7F960245EB0E291B474@CLEHBEXMS01.broadvox.local> Message-ID: <6AE1A4B1-FE33-457F-AFB6-32EDDA055C56@ena.com> On Feb 26, 2009, at 5:05 PM, Eric Chatham wrote: > Thanks, guys. :) > > I see my mistake. I had the host IP listed twice. Yep, and you learned how argument macros work. win-win =) -- 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 syed_jafar at hotmail.com Fri Feb 27 06:08:58 2009 From: syed_jafar at hotmail.com (syed jafar) Date: Fri, 27 Feb 2009 05:08:58 +0000 Subject: Need to monitor Solaris 10 and am new to Nagios In-Reply-To: <770c4470902242021j293cfd09je8be2d2f33489e1d@mail.gmail.com> References: <770c4470902242021j293cfd09je8be2d2f33489e1d@mail.gmail.com> Message-ID: I am new to Nagios and would like to monitor Solaris 10 systems (CPU, Disk, ...etc). Nagios server/host is running Redhat LINUX. Could someone let me know step by step process what to do. I have been told that it's kinda dfficult to monitor Solaris 10 system. If this is not possible is there a PERL or Shell script available to monitor the disk and CPU utilization. Thanks, Syed Jafar -------------- 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 dharini.vibhu at wipro.com Fri Feb 27 06:36:19 2009 From: dharini.vibhu at wipro.com (dharini.vibhu at wipro.com) Date: Fri, 27 Feb 2009 11:06:19 +0530 Subject: Distributed Linux set up configuration In-Reply-To: <503016.43368.qm@web54107.mail.re2.yahoo.com> References: <503016.43368.qm@web54107.mail.re2.yahoo.com> Message-ID: Hi Yes have installed all openssl libraries. I am trying to install this in Linux redhat 4 and Nagios version is 3.0 Thanks and regards, V.Dharini Practice Team - Tools Engineer |WIPRO Infotech| # 37, Castle street, Samridhibhavan, Ashok Nagar. Bangalore - |560 025| -----Original Message----- From: nagaraj raj [mailto:mr_nagas at yahoo.com] Sent: Wednesday, February 25, 2009 9:49 AM To: Dharini Vibhu (WI01 - Manage IT) Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Distributed Linux set up configuration Have u installed u all openssl libraries In which OS are u trying to install what verion of nagios are u using --- On Tue, 2/24/09, dharini.vibhu at wipro.com wrote: > From: dharini.vibhu at wipro.com > Subject: [Nagios-users] Distributed Linux set up configuration > To: nagios-users at lists.sourceforge.net > Date: Tuesday, February 24, 2009, 3:09 PM > Hi All > While trying to configure Distributed Linux set up in > Nagios I am > getting only the following error message from the server > > "CHECK_NRPE: Error - Could not complete SSL > handshake" > > Whether some body can check and help me. Both plug-in and > daemon > versions ae same and permissions are correct. > > Some body please help me > > Thanks and regards, > V.Dharini > Practice Team - Tools Engineer > |WIPRO Infotech| # 37, Castle street, Samridhibhavan, Ashok > Nagar. > Bangalore - |560 025| > > > > > ------------------------------------------------------------------------ ------ > 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 dav.fontaine at gmail.com Fri Feb 27 08:15:27 2009 From: dav.fontaine at gmail.com (David Fontaine) Date: Fri, 27 Feb 2009 08:15:27 +0100 Subject: Service linked to hostgroup / notifications In-Reply-To: <16b031c0902261048y29d27125if679b7955d674cf9@mail.gmail.com> References: <29d675940902261017g14567e1p60c49e082909ec49@mail.gmail.com> <16b031c0902261048y29d27125if679b7955d674cf9@mail.gmail.com> Message-ID: <29d675940902262315n59f091d3rc5ed1f5dd3e03dfd@mail.gmail.com> NTP is configured for every server, except for some virtual machines synchronizing their clocks with the host on which they are running. It happened once or twice that the clock got desynchronized, even using NTP so I just want to make sure everything is in sync by monitoring the servers with nagios. On Thu, Feb 26, 2009 at 7:48 PM, Lee Azzarello wrote: > On Thu, Feb 26, 2009 at 1:17 PM, David Fontaine > wrote: > > Hello, > > > > I am monitoring a few dozen of servers and I'm really satisfied with > nagios. > > This is a great tool. > > > > However, there's one (actually more than one) thing that I can't figure > out > > : > > > > I define a service : > > > > define service{ > > use generic-service > > hostgroup_name linux-servers > > service_description Time > > check_command check_time!public > > } > > > > This service applies to a host group so that I don't have to define the > > service for each server. The command doesn't matter but for completeness > > here's what it does : it compares the time on a remote server (snmp) to > the > > local time and report the difference. > > Going out on a limb here...have you considered using the Network Time > Protocol to keep all your host's clocks in sync with an Internet scale > network of federated time servers available to you for free? > > I'm using NTP on a network of 40 hosts and I never have worried about > their clocks getting out of sync. > > -lee > > > ------------------------------------------------------------------------------ > 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 dav.fontaine at gmail.com Fri Feb 27 08:12:31 2009 From: dav.fontaine at gmail.com (David Fontaine) Date: Fri, 27 Feb 2009 08:12:31 +0100 Subject: Service linked to hostgroup / notifications In-Reply-To: <24725E34-06C5-4404-8C20-9E1007AEAE45@ena.com> References: <29d675940902261017g14567e1p60c49e082909ec49@mail.gmail.com> <24725E34-06C5-4404-8C20-9E1007AEAE45@ena.com> Message-ID: <29d675940902262312p19e4f83fjc6e086a487180a45@mail.gmail.com> That did the trick, thank you very much! It's all about the "!" (exclude) thing, use_true_regexp_matching is not necessary. David On Thu, Feb 26, 2009 at 7:31 PM, Marc Powell wrote: > > On Feb 26, 2009, at 12:17 PM, David Fontaine wrote: > > > Now, the question is : how do I apply the notification period to the > > service, but for only that one host ? > > > > Maybe I have to create a service for each host, so that I can > > specify different time periods for each service. There must be a way > > but I can't figure it out. I tried to define the same service on the > > host I would like not to receive notifications for, but Nagios > > complains about duplicates. > > Untested but I would try defining the specific service with the > special time_period as you do above when nagios complained about > duplicates and at the same time, change your more general definition > to exclude that host. You must have use_true_regexp_matching enabled I > believe. > > define service{ > use generic-service > hostgroup_name linux-servers > host_name !myspecialhost > service_description Time > check_command check_time!public > } > > -- > 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 subscription at kkeane.com Fri Feb 27 10:24:39 2009 From: subscription at kkeane.com (Kevin Keane) Date: Fri, 27 Feb 2009 01:24:39 -0800 Subject: Service linked to hostgroup / notifications In-Reply-To: <29d675940902262315n59f091d3rc5ed1f5dd3e03dfd@mail.gmail.com> References: <29d675940902261017g14567e1p60c49e082909ec49@mail.gmail.com> Message-ID: <49A7B157.2080106@kkeane.com> This isn't really a Nagios issue any more - but here is my experience with this issue: I used to have the same problem with VMWare Server 1.x. Haven't seen it happen in version 2.x, so upgrading might be a good idea if there is no reason for you not to do it. In 1.x, the problem of clock desynchronization really was quite dramatic. The real problem was that the clock drifts so fast that it exceeds ntp's threshold for how much it will adjust. IOW, ntp just plain can't keep up with the extreme clock drift by VMWare. My workaround: create a cron job that as much as every ten minutes restarted the ntp daemon. On restart, ntp will synchronize the time regardless of what the differential is. Of course, the ten minute interval would sometimes be substantially different from actual ten minutes, but that doesn't really matter much here. During these ten minutes, the clock may still drift quite a bit, but at least it will get corrected fairly quickly. David Fontaine wrote: > NTP is configured for every server, except for some virtual machines > synchronizing their clocks with the host on which they are running. > > It happened once or twice that the clock got desynchronized, even > using NTP so I just want to make sure everything is in sync by > monitoring the servers with nagios. > > On Thu, Feb 26, 2009 at 7:48 PM, Lee Azzarello > wrote: > > On Thu, Feb 26, 2009 at 1:17 PM, David Fontaine > > wrote: > > Hello, > > > > I am monitoring a few dozen of servers and I'm really satisfied > with nagios. > > This is a great tool. > > > > However, there's one (actually more than one) thing that I can't > figure out > > : > > > > I define a service : > > > > define service{ > > use generic-service > > hostgroup_name linux-servers > > service_description Time > > check_command check_time!public > > } > > > > This service applies to a host group so that I don't have to > define the > > service for each server. The command doesn't matter but for > completeness > > here's what it does : it compares the time on a remote server > (snmp) to the > > local time and report the difference. > > Going out on a limb here...have you considered using the Network Time > Protocol to keep all your host's clocks in sync with an Internet scale > network of federated time servers available to you for free? > > I'm using NTP on a network of 40 hosts and I never have worried about > their clocks getting out of sync. > > -lee > -- 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 hpsekhon at googlemail.com Fri Feb 27 11:09:04 2009 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Fri, 27 Feb 2009 10:09:04 +0000 Subject: Question about Nagios Plugin check_svn In-Reply-To: <72AE29DCFD0B044688AA35ACA4D6AB800CAF0F@spector.ip-connect.local> References: <72AE29DCFD0B044688AA35ACA4D6AB800CAF0F@spector.ip-connect.local> Message-ID: <49A7BBC0.5070305@googlemail.com> Manuel H?bel wrote: > > Hi Hari Sekhon, > > I have a question about your Nagios Plugin ?check_svn?. > > I only want to check if SVN is reachable. So I only use the Command Line > > $USER1$/check_svn -H $HOSTADDRESS$ > > in my Nagios Configuration to do so. But in Nagios, I always get the > failure: > > UNKNOWN: 'svn' cannot be found in path. Please install the subversion > client or fix your PATH environment variable > > Now to my question: Where do I have to change/set the ?PATH > environment variable?? Should I write it in the Command Line, for example: > > $USER1$/check_svn -H $HOSTADDRESS$ /usr/bin/svn > > or somewhere in your Plugin File? > > Sorry, I have no idea and I?m new to the hole ?Nagios thing?? ;) It > would give me great pleasure if you could help me with this little > problem. J > Hi Manuel, I'm sending this to the Nagios-Users mailing list as well as I think it's a generally useful thing to know/discuss. Firstly, the path is set in the user's profile as per unix standards, so you may want to check the path of the user account that the plugin is running as (if it's running from the nagios server as you imply then this is the user that Nagios itself runs as). Secondly, if you want to change the PATH environment variable to include the directory containing the svn binary only for the check_svn definition then you can try another standard unix trick which is to prepend the environment variable to the beginning of the command line as follows: PATH=$PATH:/path/to/directory $USER1$/check_svn -H $HOSTADDRESS$ which will append the directory "/path/to/directory" to the PATH environment variable and allow the plugin to find the svn executable. Replace "/path/to/directory" with the directory where your svn executable is located, something like /usr/local/bin etc... I've noticed that Nagios runs shells for some plugins and not for others. It looks like Nagios runs a shell for anything that isn't an obvious full plugin path... so you can use all sorts of constructs like cd /dir && ./plugin _name etc just as you would if you were typing into a shell. Probably the only thing I disagree with on the Plugin Coding Guidelines is specifying the full path to any binaries used as this makes things horribly non-portable across distros and platforms which may have programs in different places. I don't think that you should have to be editing plugin code to make it work on different platforms, that's just horrible to maintain if you run more than 1 distro/platform (and a lot of us do). PATH is so standard in unix, we should just use it. Security worries regarding PATH are usually ridiculous since if someone can modify your path, you've got serious problems and inconveniences like hard coding full paths to binaries just isn't going to save your bacon, we don't write /path/to/ls every time we execute it on the command line, do we? Thanks -h -- Hari Sekhon Always open to interesting opportunities http://www.linkedin.com/in/harisekhon ------------------------------------------------------------------------------ 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 treibholz at sozial-inkompetent.de Fri Feb 27 10:54:49 2009 From: treibholz at sozial-inkompetent.de (Klaus Umbach) Date: Fri, 27 Feb 2009 10:54:49 +0100 Subject: getting warnings for connection refused with check_nrpe instead of critical In-Reply-To: <82E10C42-2D38-4E52-93F3-2D431728F417@ena.com> References: <82E10C42-2D38-4E52-93F3-2D431728F417@ena.com> Message-ID: <20090227095449.GJ3833@umbach-racing.de> > > I should write a patch to make it configurable... > > That'd be nice =) Ehrm, I just looked in the code of nrpe 2.12... This function is already in (-u). I still had 2.5.1 (Debian Etch). This really hurts... :-) Cheers Klaus -- BOFH excuse #75: There isn't any problem ------------------------------------------------------------------------------ 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 Fri Feb 27 13:28:51 2009 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Fri, 27 Feb 2009 07:28:51 -0500 Subject: Understanding check_cluster In-Reply-To: <16b031c0902241603s68020538qf950378c8c32fcd@mail.gmail.com> References: <16b031c0902241603s68020538qf950378c8c32fcd@mail.gmail.com> Message-ID: <49A7DC83.10102@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 24/02/09 07:03 PM, Lee Azzarello wrote: > Here's my config. It's functional: > > define command{ > command_name check-cluster-health > command_line /usr/lib/nagios/plugins/check_cluster --service -l > $ARG1$ -w $ARG2$ -c $ARG3$ -d $ARG4$ > } > > define service{ > service_description check-cluster-health > host app-proxy > check_command check-cluster-health!"App Thread > Health"!0!1!$SERVICESTATEID:app-1:mongrel-count$,$SERVICESTATEID:app-2:mongrel-count$,$SERVICESTATEID:app-3:mongrel-count$,$SERVICESTATEID:app-4:mongrel-count$ > use serviceClusterTemplate > } > > define service{ > service_description mongrel-count > hostgroup app-servers,manager-servers > check_command check_nrpe_1arg!check_mongrel_count > notifications_enabled 0 > use serviceClusterTemplate > } Indeed, here's some more macro examples: $HOSTDOWNTIME:myhost$ <--- On-demand host macro $SERVICESTATEID:novellserver:DS Database$ <--- On-demand service macro You can also use hostgroups/servicegroups with a delimiter (delimiter should be ',' for check_cluster) # $HOSTMACRONAME:hostgroup_name:delimiter$ # $SERVICEMACRONAME:servicegroup_name:delimiter$ See the Nagios documentation for more details... http://nagios.sourceforge.net/docs/3_0/macros.html - -- Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFJp9yD6dZ+Kt5BchYRArtxAKDA2rdPcIsA4dqVUUS3RDUwYJYeOQCgl/Nl 4RywRCmCMXfFmwWTfryiYTo= =g5Ya -----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 echatham at broadvox.net Fri Feb 27 15:22:02 2009 From: echatham at broadvox.net (Eric Chatham) Date: Fri, 27 Feb 2009 09:22:02 -0500 Subject: Problems with check_snmp add-on In-Reply-To: <6AE1A4B1-FE33-457F-AFB6-32EDDA055C56@ena.com> References: <4ABA3E162F60624A949503A7F960245EB0E291B1FA@CLEHBEXMS01.broadvox.local> <16b031c0902260859g513f6f43l1f5e7843f6f87540@mail.gmail.com> <4ABA3E162F60624A949503A7F960245EB0E291B2B7@CLEHBEXMS01.broadvox.local> <4ABA3E162F60624A949503A7F960245EB0E291B400@CLEHBEXMS01.broadvox.local> <6418AA77-8E02-43F0-8CBD-53A55056EB4C@ena.com> <4ABA3E162F60624A949503A7F960245EB0E291B474@CLEHBEXMS01.broadvox.local> <6AE1A4B1-FE33-457F-AFB6-32EDDA055C56@ena.com> Message-ID: <4ABA3E162F60624A949503A7F960245EB0E291B4EB@CLEHBEXMS01.broadvox.local> Is there any way to get the HTML
flag on the webpage to "break" like it should? The
shows up on the page. :) Eric Chatham Broadvox MIS Department (216) 373-4683 echatham at broadvox.net -----Original Message----- From: Marc Powell [mailto:marc at ena.com] Sent: Thursday, February 26, 2009 18:09 To: Nagios Users Mailinglist Subject: Re: [Nagios-users] Problems with check_snmp add-on On Feb 26, 2009, at 5:05 PM, Eric Chatham wrote: > Thanks, guys. :) > > I see my mistake. I had the host IP listed twice. Yep, and you learned how argument macros work. win-win =) -- 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 nccomp at gmail.com Fri Feb 27 20:27:36 2009 From: nccomp at gmail.com (Andrew Davis) Date: Fri, 27 Feb 2009 14:27:36 -0500 Subject: check_http question Message-ID: <49A83EA8.2060401@gmail.com> I've enabled check_http for quite a few hosts, including testing for custom ports, URL's, and sites needing authentication. So far, so good. However, one issue in the Nagios interface is bothering me. If I drill in on a host, then the HTTP link for the test, it only shows OK. It DOES NOT show the full URL that was tested. For example, for one of my hosts, I had to test for a non-standard port, SSL, a directory structure, and authentication (-I $HOSTNAME -p 8099 -u /dir/dir/dir/file.php -a user:password. All worked in the sense that the test returned an OK status, but I have no visual way of seeing the tested URL within Nagios. In contrast, doing a similar test in BB (which I'm migrating away from), shows the full URL that was tested. Am I simply missing something here? Is there a way of seeing the full URL/string that was tested with the check_http command? -- Andrew Davis -------------- 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 ssimmons at cymfony.com Fri Feb 27 20:35:48 2009 From: ssimmons at cymfony.com (Seth Simmons) Date: Fri, 27 Feb 2009 14:35:48 -0500 Subject: check_http question In-Reply-To: <49A83EA8.2060401@gmail.com> References: <49A83EA8.2060401@gmail.com> Message-ID: <4881ECF1AB752843908A20CEE07A8EB11277F0@buf-ex01.cymfony.com> In nagios, go to view config -> commands It will show the exact command line being used for the host or service check From: Andrew Davis [mailto:nccomp at gmail.com] Sent: Friday, February 27, 2009 2:28 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] check_http question I've enabled check_http for quite a few hosts, including testing for custom ports, URL's, and sites needing authentication. So far, so good. However, one issue in the Nagios interface is bothering me. If I drill in on a host, then the HTTP link for the test, it only shows OK. It DOES NOT show the full URL that was tested. For example, for one of my hosts, I had to test for a non-standard port, SSL, a directory structure, and authentication (-I $HOSTNAME -p 8099 -u /dir/dir/dir/file.php -a user:password. All worked in the sense that the test returned an OK status, but I have no visual way of seeing the tested URL within Nagios. In contrast, doing a similar test in BB (which I'm migrating away from), shows the full URL that was tested. Am I simply missing something here? Is there a way of seeing the full URL/string that was tested with the check_http command? -- Andrew Davis -------------- 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 jmoseley at corp.xanadoo.com Fri Feb 27 20:44:23 2009 From: jmoseley at corp.xanadoo.com (jmoseley at corp.xanadoo.com) Date: Fri, 27 Feb 2009 13:44:23 -0600 Subject: check_http question In-Reply-To: <4881ECF1AB752843908A20CEE07A8EB11277F0@buf-ex01.cymfony.com> References: <4881ECF1AB752843908A20CEE07A8EB11277F0@buf-ex01.cymfony.com> Message-ID: Unfortunately, that only displays the commands as they are defined in the command configuration file object defintions. You could look at the service commands being run, though. Back to the question, though. Nagios displays what is being returned by the plugin. The plugin, by default, doesn't show the port or URL being monitored in the plugin out. You could run the plugin with a -v option (for verbose). That generates a lot of output. However, I don't know if Nagios will be able to parse the verbose output properly. James Moseley "Seth Simmons" To , 02/27/2009 01:35 cc Subject Re: [Nagios-users] check_http question In nagios, go to view config -> commands It will show the exact command line being used for the host or service check From: Andrew Davis [mailto:nccomp at gmail.com] Sent: Friday, February 27, 2009 2:28 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] check_http question I've enabled check_http for quite a few hosts, including testing for custom ports, URL's, and sites needing authentication. So far, so good. However, one issue in the Nagios interface is bothering me. If I drill in on a host, then the HTTP link for the test, it only shows OK. It DOES NOT show the full URL that was tested. For example, for one of my hosts, I had to test for a non-standard port, SSL, a directory structure, and authentication (-I $HOSTNAME -p 8099 -u /dir/dir/dir/file.php -a user:password. All worked in the sense that the test returned an OK status, but I have no visual way of seeing the tested URL within Nagios. In contrast, doing a similar test in BB (which I'm migrating away from), shows the full URL that was tested. Am I simply missing something here? Is there a way of seeing the full URL/string that was tested with the check_http command? -- Andrew Davis ------------------------------------------------------------------------------ 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 marc at ena.com Fri Feb 27 20:58:49 2009 From: marc at ena.com (Marc Powell) Date: Fri, 27 Feb 2009 13:58:49 -0600 Subject: check_http question In-Reply-To: <49A83EA8.2060401@gmail.com> References: <49A83EA8.2060401@gmail.com> Message-ID: <4246CEF9-29D3-4B05-A5CE-8DA983B1BBF8@ena.com> On Feb 27, 2009, at 1:27 PM, Andrew Davis wrote: > Is there a way of seeing the full URL/string that was tested with > the check_http command? No, that code doesn't exist in check_http (outside of verbose mode, - v, sort-of...). Might be nice to add in though. I usually use a more informational service_description. -- 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 nccomp at gmail.com Fri Feb 27 20:57:50 2009 From: nccomp at gmail.com (Andrew Davis) Date: Fri, 27 Feb 2009 14:57:50 -0500 Subject: check_http question In-Reply-To: References: Message-ID: <49A845BE.4090209@gmail.com> Thanks much. I guess I may have to just live with it the way it is until a future revision... Andrew Davis jmoseley at corp.xanadoo.com wrote: > Unfortunately, that only displays the commands as they are defined in the > command configuration file object defintions. You could look at the > service commands being run, though. > > Back to the question, though. Nagios displays what is being returned by > the plugin. The plugin, by default, doesn't show the port or URL being > monitored in the plugin out. You could run the plugin with a -v option > (for verbose). That generates a lot of output. However, I don't know if > Nagios will be able to parse the verbose output properly. > > > James Moseley > > > > > > "Seth Simmons" > .com> To > , > 02/27/2009 01:35 PM > > cc > > Subject > Re: [Nagios-users] check_http > question > > > > > > > > > > > In nagios, go to view config -> commands > It will show the exact command line being used for the host or service > check > > > From: Andrew Davis [mailto:nccomp at gmail.com] > Sent: Friday, February 27, 2009 2:28 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] check_http question > > I've enabled check_http for quite a few hosts, including testing for custom > ports, URL's, and sites needing authentication. So far, so good. However, > one issue in the Nagios interface is bothering me. If I drill in on a host, > then the HTTP link for the test, it only shows OK. It DOES NOT show the > full URL that was tested. For example, for one of my hosts, I had to test > for a non-standard port, SSL, a directory structure, and authentication (-I > $HOSTNAME -p 8099 -u /dir/dir/dir/file.php -a user:password. All worked in > the sense that the test returned an OK status, but I have no visual way of > seeing the tested URL within Nagios. In contrast, doing a similar test in > BB (which I'm migrating away from), shows the full URL that was tested. Am > I simply missing something here? Is there a way of seeing the full > URL/string that was tested with the check_http command? > > -- > > > Andrew Davis > ------------------------------------------------------------------------------ > > 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 Fri Feb 27 20:59:06 2009 From: subscription at kkeane.com (Kevin Keane) Date: Fri, 27 Feb 2009 11:59:06 -0800 Subject: check_http question In-Reply-To: <49A83EA8.2060401@gmail.com> References: <49A83EA8.2060401@gmail.com> Message-ID: <49A8460A.407@kkeane.com> You could write your own plugin - a simple bash script - that calls the original check_http, tests the result, and then outputs whatever you need. Should be about five or six lines of code. Don't forget to return the same exit code as what you got from check_http. # call the regular plugin here output=$(...../check_http .....) result=$? # output whatever you need. You can of course also make it conditional with # if [ $result -eq 0 ] or similar. Get as fancy as you want, just keep the output to a single line. echo $url $output exit $? Put it into your plugin directory, make it executable, and use that instead of the original call to check_http. Don't you love how customizable Nagios is? Andrew Davis wrote: > I've enabled check_http for quite a few hosts, including testing for > custom ports, URL's, and sites needing authentication. So far, so > good. However, one issue in the Nagios interface is bothering me. If I > drill in on a host, then the HTTP link for the test, it only shows OK. > It DOES NOT show the full URL that was tested. For example, for one of > my hosts, I had to test for a non-standard port, SSL, a directory > structure, and authentication (-I $HOSTNAME -p 8099 -u > /dir/dir/dir/file.php -a user:password. All worked in the sense that > the test returned an OK status, but I have no visual way of seeing the > tested URL within Nagios. In contrast, doing a similar test in BB > (which I'm migrating away from), shows the full URL that was tested. > Am I simply missing something here? Is there a way of seeing the full > URL/string that was tested with the check_http command? -- 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 jmoseley at corp.xanadoo.com Fri Feb 27 21:08:11 2009 From: jmoseley at corp.xanadoo.com (jmoseley at corp.xanadoo.com) Date: Fri, 27 Feb 2009 14:08:11 -0600 Subject: check_http question In-Reply-To: <49A8460A.407@kkeane.com> References: <49A8460A.407@kkeane.com> Message-ID: Yep, great suggestion. James Moseley Kevin Keane To 02/27/2009 01:59 cc PM nagios-users at lists.sourceforge.net Subject Re: [Nagios-users] check_http question You could write your own plugin - a simple bash script - that calls the original check_http, tests the result, and then outputs whatever you need. Should be about five or six lines of code. Don't forget to return the same exit code as what you got from check_http. # call the regular plugin here output=$(...../check_http .....) result=$? # output whatever you need. You can of course also make it conditional with # if [ $result -eq 0 ] or similar. Get as fancy as you want, just keep the output to a single line. echo $url $output exit $? Put it into your plugin directory, make it executable, and use that instead of the original call to check_http. Don't you love how customizable Nagios is? ------------------------------------------------------------------------------ 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 TNeu at sjm.com Fri Feb 27 21:20:18 2009 From: TNeu at sjm.com (Neu, Timothy) Date: Fri, 27 Feb 2009 14:20:18 -0600 Subject: Service linked to hostgroup / notifications In-Reply-To: <49A7B157.2080106@kkeane.com> References: <29d675940902262315n59f091d3rc5ed1f5dd3e03dfd@mail.gmail.com> <49A7B157.2080106@kkeane.com> Message-ID: As I understand it, running NTP on a VM is a complete waste of resources, as there is no real per-VM clock to keep in sync. (i.e., you're updating ether) VMWare "fakes" a clock whenever a process tries to access one. I know there are some kernel boot parameters that can be added to improve time accuracy inside a VM. Not sure if I found them on Redhat's site or VMWare's... That and VMWare tools time synchronization is the best I've been able to come up with. Tim Neu Tel +1 651 756 6383 Fax +1 651 490 4310 Mobile +1 651 238 8816 tneu at sjm.com -----Original Message----- From: Kevin Keane [mailto:subscription at kkeane.com] Sent: Friday, February 27, 2009 3:25 AM Cc: Nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Service linked to hostgroup / notifications This isn't really a Nagios issue any more - but here is my experience with this issue: I used to have the same problem with VMWare Server 1.x. Haven't seen it happen in version 2.x, so upgrading might be a good idea if there is no reason for you not to do it. In 1.x, the problem of clock desynchronization really was quite dramatic. The real problem was that the clock drifts so fast that it exceeds ntp's threshold for how much it will adjust. IOW, ntp just plain can't keep up with the extreme clock drift by VMWare. My workaround: create a cron job that as much as every ten minutes restarted the ntp daemon. On restart, ntp will synchronize the time regardless of what the differential is. Of course, the ten minute interval would sometimes be substantially different from actual ten minutes, but that doesn't really matter much here. During these ten minutes, the clock may still drift quite a bit, but at least it will get corrected fairly quickly. David Fontaine wrote: > NTP is configured for every server, except for some virtual machines > synchronizing their clocks with the host on which they are running. > > It happened once or twice that the clock got desynchronized, even > using NTP so I just want to make sure everything is in sync by > monitoring the servers with nagios. > > On Thu, Feb 26, 2009 at 7:48 PM, Lee Azzarello > wrote: > > On Thu, Feb 26, 2009 at 1:17 PM, David Fontaine > > wrote: > > Hello, > > > > I am monitoring a few dozen of servers and I'm really satisfied > with nagios. > > This is a great tool. > > > > However, there's one (actually more than one) thing that I can't > figure out > > : > > > > I define a service : > > > > define service{ > > use generic-service > > hostgroup_name linux-servers > > service_description Time > > check_command check_time!public > > } > > > > This service applies to a host group so that I don't have to > define the > > service for each server. The command doesn't matter but for > completeness > > here's what it does : it compares the time on a remote server > (snmp) to the > > local time and report the difference. > > Going out on a limb here...have you considered using the Network Time > Protocol to keep all your host's clocks in sync with an Internet scale > network of federated time servers available to you for free? > > I'm using NTP on a network of 40 hosts and I never have worried about > their clocks getting out of sync. > > -lee > -- 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 This communication, including any attachments, may contain information that is proprietary, privileged, confidential or legally exempt from disclosure. If you are not a named addressee, you are hereby notified that you are not authorized to read, print, retain a copy of or disseminate any portion of this communication without the consent of the sender and that doing so may be unlawful. If you have received this communication in error, please immediately notify the sender via return e-mail and delete it from your system. ------------------------------------------------------------------------------ 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 paulo at mobilecard.com.br Fri Feb 27 21:24:00 2009 From: paulo at mobilecard.com.br (=?ISO-8859-1?Q?Paulo=20Andrade?=) Date: Fri, 27 Feb 2009 17:24:00 -0300 Subject: Tomcat Plugin Message-ID: <20090227202400.32526.qmail@hm1580.locaweb.com.br> Hello everybody. I just got in the list of nagios-users and hope to contribute soon! I have the following question, there is a plugin to monitor Tomcat? I need it to monitor exceptions on the server in production. If not, anyone have any guess for development? Thank you! Regards, Paulo Andrade MobileCard ------------------------------------------------------------------------------ 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 Ayotunde.Itayemi at zain.com Fri Feb 27 21:34:21 2009 From: Ayotunde.Itayemi at zain.com (Ayotunde Itayemi) Date: Fri, 27 Feb 2009 21:34:21 +0100 Subject: configuring plugins to return graphable data Message-ID: <99487797D76C7841AEEDE4A1DCA86C7004E2203F@VNL-LA01EX04S.vmobile-nigeria.com> Hi All, Please I am using the default plugin sets on my Solaris/Linux systems. I would like to know the changes I need to make to these plugins (e.g., check_ram, check_load, check_cpu, check_disk, check_ping, etc) I need to graph their output's for proper reporting purposes but I can't remember the approach to making them return output in the proper format .. something about everything after "|" - please help. Thanks. A concrete example will 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 marc at ena.com Fri Feb 27 21:55:25 2009 From: marc at ena.com (Marc Powell) Date: Fri, 27 Feb 2009 14:55:25 -0600 Subject: configuring plugins to return graphable data In-Reply-To: <99487797D76C7841AEEDE4A1DCA86C7004E2203F@VNL-LA01EX04S.vmobile-nigeria.com> References: <99487797D76C7841AEEDE4A1DCA86C7004E2203F@VNL-LA01EX04S.vmobile-nigeria.com> Message-ID: <88DACFE4-ECB2-436C-898D-0AD6FFCBABDD@ena.com> On Feb 27, 2009, at 2:34 PM, Ayotunde Itayemi wrote: > Hi All, > Please I am using the default plugin sets on my Solaris/Linux > systems. I would like to know the changes I need to make to these > plugins (e.g., check_ram, check_load, check_cpu, check_disk, > check_ping, etc) > I need to graph their output?s for proper reporting purposes but I > can?t remember the approach to making them return output in the > proper format .. something about everything after ?|? ? please > help. Thanks. A concrete example will be appreciated. Most of the standard plugins just do it; no need to specifically enable it. Make sure you're using the latest plugins (http://www.nagiosplugins.org ) $ /check_load -w 1,1,1 -c 2,2,2 WARNING - load average: 1.20, 1.71, 1.85|load1=1.200;1.000;2.000;0; load5=1.710;1.000;2.000;0; load15=1.850;1.000;2.000;0; $ ./check_disk -w 10% -c 5% DISK OK - free space: / 2258 MB (30% inode=85%); /boot 49 MB (57% inode=99%); /opt 9429 MB (49% inode=99%); /dev/shm 1001 MB (100% inode=99%); /tmp 1832 MB (98% inode=99%); /usr 7412 MB (79% inode=94%); /usr/local 30877 MB (38% inode=98%); /var 7328 MB (78% inode=99%); /usr/local/nagios 76535 MB (85% inode=99%);| /=5215MB; 7086;7480;0;7874 /boot=37MB;81;86;0;91 /opt=9776MB; 18209;19221;0;20233 /dev/shm=0MB;900;950;0;1001 /tmp=36MB; 1771;1869;0;1968 /usr=1929MB;8857;9349;0;9842 /usr/local=48537MB; 75297;79480;0;83664 /var=2014MB;8857;9349;0;9842 /usr/local/ nagios=12735MB;84642;89344;0;94047 For those that don't, and for third party plugins like check_ram and check_cpu, you'll have to use --help of the plugin to see if it's supported and how to enable it. -- 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 kyleodonnell at gmail.com Fri Feb 27 22:04:25 2009 From: kyleodonnell at gmail.com (Kyle O'Donnell) Date: Fri, 27 Feb 2009 16:04:25 -0500 Subject: Tomcat Plugin In-Reply-To: <20090227202400.32526.qmail@hm1580.locaweb.com.br> References: <20090227202400.32526.qmail@hm1580.locaweb.com.br> Message-ID: <2274b9c30902271304l6b1b9bb4pbca5c58c1ecd7cc0@mail.gmail.com> check on the nagiosexchange for check_jmx or search for tomcat. On 2/27/09, Paulo Andrade wrote: > > Hello everybody. I just got in the list of nagios-users and hope to > contribute soon! > > I have the following question, there is a plugin to monitor Tomcat? I need > it to monitor exceptions on the server in production. If not, anyone have > any guess for development? > > Thank you! > > Regards, > > Paulo Andrade > MobileCard > > > > > > > ------------------------------------------------------------------------------ > 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 lraymond at weatherflow.com Fri Feb 27 22:49:00 2009 From: lraymond at weatherflow.com (Lance Raymond) Date: Fri, 27 Feb 2009 16:49:00 -0500 Subject: gui config application Message-ID: <49A85FCC.1050604@weatherflow.com> Googling around there are a few out there, mostly ng1, ng2, and I am wondering if there is something nice and clean out there for nagios 3. I don't mind the cli, but sometimes a point/click is just so much easier. New to the list, so if it's been discussed, I apologize. ------------------------------------------------------------------------------ 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 mweaver at compinfosystems.com Sat Feb 28 00:22:31 2009 From: mweaver at compinfosystems.com (Mark Weaver) Date: Fri, 27 Feb 2009 18:22:31 -0500 Subject: Connection refused question Message-ID: <49A875B7.2060806@compinfosystems.com> Hi all, I'm a total noob with Nagios. I've just completed the installation of Nagios on a server that is going to be the Nagios server. Once I got it compiled and running I started making some other modifications to other services on the system such as apache and ssh. What I did was change the ports on which these two services are listening on. Now I'm getting notifications that are telling me that connection attempts to these services are being refused. I strongly suspect it's because apache and ssh aren't listening on the default ports of 80 and 22. My question is where in the nagios configuration do I change the setting so nagios knows what ports these two services are listening on? thanks, Mark ------------------------------------------------------------------------------ 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 lavalamp at spiritual-machines.org Sat Feb 28 00:48:25 2009 From: lavalamp at spiritual-machines.org (Brian A. Seklecki) Date: Fri, 27 Feb 2009 18:48:25 -0500 (EST) Subject: Connection refused question In-Reply-To: <49A875B7.2060806@compinfosystems.com> References: <49A875B7.2060806@compinfosystems.com> Message-ID: > > My question is where in the nagios configuration do I change the setting > so nagios knows what ports these two services are listening on? > $ egrep -ir "check_(ssh|http)" in your {/usr/local,}/etc/nagios config dir: $ /usr/local/libexec/nagios/check_http -h|grep -i port strings and regular expressions, check connection times, and report on Usage: check_http -H | -I [-u ] [-p ] Append a port to include it in the header (eg: example.com:5000) -p, --port=INTEGER Port number (default: 80) Connect via SSL. Port defaults to 443 Minimum number of days a certificate has to be valid. Port defaults to 443 $ /usr/local/libexec/nagios/check_ssh -h|grep -i port Try to connect to an SSH server at specified server and port Usage:check_ssh [-46] [-t ] [-r ] [-p ] -p, --port=INTEGER Port number (default: 22) Adjust the templates as nessecary, or customize. Great books out there, too, eat em up! ~BAS ------------------------------------------------------------------------------ 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 mweaver at compinfosystems.com Sat Feb 28 01:32:05 2009 From: mweaver at compinfosystems.com (Mark Weaver) Date: Fri, 27 Feb 2009 19:32:05 -0500 Subject: Connection refused question In-Reply-To: References: <49A875B7.2060806@compinfosystems.com> Message-ID: <49A88605.5030902@compinfosystems.com> Brian A. Seklecki wrote: > > >> My question is where in the nagios configuration do I change the setting >> so nagios knows what ports these two services are listening on? >> >> > > > $ egrep -ir "check_(ssh|http)" in your {/usr/local,}/etc/nagios config > dir: > > > $ /usr/local/libexec/nagios/check_http -h|grep -i port > strings and regular expressions, check connection times, and report on > Usage: check_http -H | -I [-u ] [-p ] > Append a port to include it in the header (eg: example.com:5000) > -p, --port=INTEGER > Port number (default: 80) > Connect via SSL. Port defaults to 443 > Minimum number of days a certificate has to be valid. Port defaults to > 443 > > > $ /usr/local/libexec/nagios/check_ssh -h|grep -i port > Try to connect to an SSH server at specified server and port > Usage:check_ssh [-46] [-t ] [-r ] [-p ] > > -p, --port=INTEGER > Port number (default: 22) > > > Adjust the templates as nessecary, or customize. > > Great books out there, too, eat em up! > > ~BAS > Hi Brian, While I appreciate your reply I have absolutely no idea what you said. As I mentioned earlier I'm a complete noobie when it comes to Nagios. I.e. this is my first time ever exposure to this system. i've been all over the config file and I can't find anywhere where it would appear you could set the ports services run on for a given host. Do they even exist? Mark ------------------------------------------------------------------------------ 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 23 15:25:52 2009 From: echatham at broadvox.net (Eric Chatham) Date: Mon, 23 Feb 2009 09:25:52 -0500 Subject: Installing and configuring Nagiosgraph In-Reply-To: <200902230938.45948.assaf.flatto@ssp-intl.com> References: <4ABA3E162F60624A949503A7F960245EB0E26963A8@CLEHBEXMS01.broadvox.local> <200902230938.45948.assaf.flatto@ssp-intl.com> Message-ID: <4ABA3E162F60624A949503A7F960245EB0E269644E@CLEHBEXMS01.broadvox.local> I have RRDtool installed already. RRDs.pm is my RRDtool directory: /usr/local/rrdtool-1.3.6/lib/perl/5.8.8/i386-linux-thread-multi/RRDs.pm Eric Chatham Broadvox MIS Department (216) 373-4683 echatham at broadvox.net -----Original Message----- From: Assaf Flatto [mailto:assaf.flatto at ssp-intl.com] Sent: Monday, February 23, 2009 04:39 To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Installing and configuring Nagiosgraph It seems that your perl installation is missing the RRD.pm module . check the CPAN site and install the module for the RRD . On Friday 20 February 2009 22:43:23 Eric Chatham wrote: > Hello, > > I downloaded the nagiosgraph tar from http://nagiosgraph.sf.net/. I > extracted the files to "/usr/local/nagios" and even created a symlink for > it. My question is, how do I configure the plug-in? I already have > RRDtool installed on this server. Here are some environmental settings for > my server: > > rrddir= /usr/local/rrdtool-1.3.6/lib/perl/5.8.8/i386-linux-thread-multi/ > rrdtool=/usr/local/rrdtool-1.3.6/bin/rrdtool > > When I run "install.pl," I receive the following error: > > [root@ ~ nagiosgraph]# pwd > /usr/local/nagios/nagiosgraph > [root@ ~ nagiosgraph]# ./install.pl > Can't locate RRDs.pm in @INC (@INC contains: etc > /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 etc/ngshared.pm line 66. BEGIN > failed--compilation aborted at etc/ngshared.pm line 66. > Compilation failed in require at ./install.pl line 72. > BEGIN failed--compilation aborted at ./install.pl line 72. > > Do I need to configure "../etc/nagiosgraph.conf?" > > Eric Chatham > Broadvox MIS Department > Phone: (216) 373-4683 > Fax: (216) 373-4669 > echatham at broadvox.net > [cid:image001.jpg at 01C99382.003896F0] > > > ________________________________ > 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. -- 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 ------------------------------------------------------------------------------ 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 echatham at broadvox.net Mon Feb 23 16:05:33 2009 From: echatham at broadvox.net (Eric Chatham) Date: Mon, 23 Feb 2009 10:05:33 -0500 Subject: Installing and configuring Nagiosgraph In-Reply-To: <822f14060902230632n5dedf801ne8c18bc2ec82eb01@mail.gmail.com> References: <4ABA3E162F60624A949503A7F960245EB0E26963A8@CLEHBEXMS01.broadvox.local> <200902230938.45948.assaf.flatto@ssp-intl.com> <4ABA3E162F60624A949503A7F960245EB0E269644E@CLEHBEXMS01.broadvox.local> <822f14060902230632n5dedf801ne8c18bc2ec82eb01@mail.gmail.com> Message-ID: <4ABA3E162F60624A949503A7F960245EB0E2696493@CLEHBEXMS01.broadvox.local> If I export that variable, won't I have to re-create if the server gets rebooted? Eric Chatham Broadvox MIS Department (216) 373-4683 echatham at broadvox.net -----Original Message----- From: Richard Quintin [mailto:rich+nagios at quintinz.com] Sent: Monday, February 23, 2009 09:32 To: Eric Chatham Cc: Assaf Flatto; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Installing and configuring Nagiosgraph You need to configure INC to include RRDs.pm. You can do this by either setting environment variable PERL5LIB=/usr/local/rrdtool-1.3.6/lib/perl/5.8.8/i386-linux-thread-multi/ or by copying RRDs.pm to one of the directories listed in INC. On Mon, Feb 23, 2009 at 9:25 AM, Eric Chatham wrote: > I have RRDtool installed already. RRDs.pm is my RRDtool directory: > > /usr/local/rrdtool-1.3.6/lib/perl/5.8.8/i386-linux-thread-multi/RRDs.pm > > > > > Eric Chatham > Broadvox MIS Department > (216) 373-4683 > echatham at broadvox.net > > -----Original Message----- > From: Assaf Flatto [mailto:assaf.flatto at ssp-intl.com] > Sent: Monday, February 23, 2009 04:39 > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Installing and configuring Nagiosgraph > > It seems that your perl installation is missing the RRD.pm module . > check the CPAN site and install the module for the RRD . > > On Friday 20 February 2009 22:43:23 Eric Chatham wrote: >> Hello, >> >> I downloaded the nagiosgraph tar from http://nagiosgraph.sf.net/. I >> extracted the files to "/usr/local/nagios" and even created a symlink for >> it. My question is, how do I configure the plug-in? I already have >> RRDtool installed on this server. Here are some environmental settings for >> my server: >> >> rrddir= /usr/local/rrdtool-1.3.6/lib/perl/5.8.8/i386-linux-thread-multi/ >> rrdtool=/usr/local/rrdtool-1.3.6/bin/rrdtool >> >> When I run "install.pl," I receive the following error: >> >> [root@ ~ nagiosgraph]# pwd >> /usr/local/nagios/nagiosgraph >> [root@ ~ nagiosgraph]# ./install.pl >> Can't locate RRDs.pm in @INC (@INC contains: etc >> /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 etc/ngshared.pm line 66. BEGIN >> failed--compilation aborted at etc/ngshared.pm line 66. >> Compilation failed in require at ./install.pl line 72. >> BEGIN failed--compilation aborted at ./install.pl line 72. >> >> Do I need to configure "../etc/nagiosgraph.conf?" >> >> Eric Chatham >> Broadvox MIS Department >> Phone: (216) 373-4683 >> Fax: (216) 373-4669 >> echatham at broadvox.net >> [cid:image001.jpg at 01C99382.003896F0] >> >> >> ________________________________ >> 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. > > > > -- > 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 > > > > ------------------------------------------------------------------------------ > 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 > -- Richard Quintin, DBA Database & Application Administration Virginia Tech 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 Edgar.Matzinger at valid.nl Mon Feb 23 16:04:40 2009 From: Edgar.Matzinger at valid.nl (Edgar Matzinger) Date: Mon, 23 Feb 2009 16:04:40 +0100 Subject: Whoops Error for no reason In-Reply-To: <499F21E0.5080101@reox-design.net> References: <499F21E0.5080101@reox-design.net> Message-ID: Hi Sebastian, > ps faux shows me nagios running: > nagios 30461 0.0 0.0 34384 1884 ? SNsl 22:10 0:00 > /usr/sbin/nagios3 -d /etc/nagios3/nagios.cfg here you're referring to nagios3... > > nagios -v ... tells me and here to nagios... Are both executables the same? And did you (and I assume you did, but just to verify) specify "/etc/nagios3/nagios.cfg" for "..."? If so, then I'm stumped, but it could also be a problem with any of the CGIs. Do the nagios status and log files report any monitoring activity of the nagios daemon? Or are there any errors in those files? With regards to the CGIs, what is the value of main_config_file in /cgi.cfg? That should be /etc/nagios3/nagios.cfg. And is normally "/etc/nagios", but can be changed during the ./configure phase. Do a "strings //status.cgi | grep cgi.cfg" to verify it's location. 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 ... ------------------------------------------------------------------------------ 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