From yu.watanabe at jp.fujitsu.com Tue Sep 1 02:26:16 2009 From: yu.watanabe at jp.fujitsu.com (Yu Watanabe) Date: Tue, 01 Sep 2009 09:26:16 +0900 Subject: Is there such thing as automatic passive service check? In-Reply-To: <2690E507-ED57-4E98-8812-F4D911BF9DC1@ena.com> References: <2690E507-ED57-4E98-8812-F4D911BF9DC1@ena.com> Message-ID: <200909010026.AA01014@S2007337.jp.fujitsu.com> TO : Marc Thank you for the reply. I will check the configuration if this is the case or not. Yu Watanabe Marc Powell ????????: > >On Aug 31, 2009, at 2:17 AM, Yu Watanabe wrote: > >> Hello all. >> >> We are using Nagios v 3.0.6 and experiecned a strange situation. >> The services which we have deactivated the active check had been >> changed to OK status , service output as "OK". >> >> Does nagios automatically update the Pending status services and >> change it to OK stauts? > >Maybe? heh. My *speculation* is that on start/re-start, if you have >'initial_state o' specified in the service definition and retention >isn't enabled (or there is no retained status for this service), then >yes, nagios would set the first state to be 'OK'. That's new >functionality with 3.x and I haven't looked at it any to be sure thats >the case but it seems reasonable. > >-- >Marc > > >------------------------------------------------------------------------------ >Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day >trial. Simplify your report design, integration and deployment - and focus on >what you do best, core application coding. Discover what's new with >Crystal Reports now. http://p.sf.net/sfu/bobj-july >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jon at netdork.net Tue Sep 1 03:41:48 2009 From: jon at netdork.net (Jon Angliss) Date: Mon, 31 Aug 2009 20:41:48 -0500 Subject: nsclient++ check_nt USEDDISKSPACE Segmentation fault References: Message-ID: On Mon, 31 Aug 2009 08:48:57 -0700, "Massimo Balestra" wrote: > > >Hi everybody, > >I have a configuration with a Nagios monitoring some linux servers and few >Windows ones. >I have a problem monitoring the USEDDISKSPACE on one drive of one of the >windows servers. >It is a Windows Server 2003 R2 Standard edition (Service pack 2). >The problem occurs after I did the last Windows Update last Friday. Before >it was working. What patches got installed? >I am using nsclient++ > >C:\>"C:\Program Files\NSClient++\\NSClient++.exe" -version > >l NSClient++.cpp(360) NSClient++ Version: 0.3.6.818 2009-06-14, Plattform: >w32 >And, on the Nagios site, check_nt: >/usr/local/nagios/libexec/check_nt --version > >check_nt v1991 (nagios-plugins 1.4.13) >I show the problem running the plug-in from the command line because it >shows better what happens. > > > >The windows server has 2 disks (2 raid partitions): c and d > >The problem is: > >If I run the USEDDISKSPACE on the drive D everything is OK. > ># /usr/local/nagios/libexec/check_nt -H servername -p 12489 -s password -v >USEDDISKSPACE -l d ; echo $? > >d:\ - total: 182.12 Gb - used: 14.56 Gb (8%) - free 167.56 Gb (92%) | 'd:\ >Used Space'=14.56Gb;0.00;0.00;0.00;182.12 > >0 > > > >But if I run the same identical command on the drive c. > ># /usr/local/nagios/libexec/check_nt -H servername -p 12489 -s password -v >USEDDISKSPACE -l c ; echo $? > >Segmentation fault > >139 Tried running strace to see what it is doing when it dies? >I tried running the nsclient++ service in both ways: as administrator (with >password) and as system account (allowing service to interact with the >desktop) with the same results. >Does anybody knows what is the problem and how to solve it? >Note: I tried to stop the nsclient++ service and run it from the command >line with the option /test. > >It works. No error is shown and the ckeck_nt result is what I expect. So >this segmentation fauld in the linux/Nagios site occurs only what nsclient++ >runs as a service. What's the value that gets returned when using /test? -- Jonathan Angliss ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From yu.watanabe at jp.fujitsu.com Tue Sep 1 07:39:13 2009 From: yu.watanabe at jp.fujitsu.com (Yu Watanabe) Date: Tue, 01 Sep 2009 14:39:13 +0900 Subject: Is there such thing as automatic passive service check? In-Reply-To: <4A9BEE2E.90302@kkeane.com> References: <4A9BEE2E.90302@kkeane.com> Message-ID: <200909010539.AA01016@S2007337.jp.fujitsu.com> TO : Mr.Keane Hello Kevin. Thank you for the reply. We have not enabled the freshness check. However, the service output was "OK". Thank you Yu Watanabe Kevin Keane ????????: >This could be caused by freshness checking. If you configure a service >for passive checks, and no results arrive for the freshness interval >(and if you have turned on freshness checking, of course), then Nagios >will perform an active check even if active checks are otherwise >disabled. I'm using check_dummy to return a Warning state in that situation. > >Yu Watanabe wrote: >> Hello all. >> >> We are using Nagios v 3.0.6 and experiecned a strange situation. >> The services which we have deactivated the active check had been >> changed to OK status , service output as "OK". >> >> Does nagios automatically update the Pending status services and >> change it to OK stauts? >> >> Thank you >> Yu Watanabe >> >-- >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. > > >------------------------------------------------------------------------------ >Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day >trial. Simplify your report design, integration and deployment - and focus on >what you do best, core application coding. Discover what's new with >Crystal Reports now. http://p.sf.net/sfu/bobj-july >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From richard.gliebe at fhv.at Tue Sep 1 08:14:20 2009 From: richard.gliebe at fhv.at (Richard Gliebe) Date: Tue, 01 Sep 2009 08:14:20 +0200 Subject: Nagios update from V2.3 to V3.0.6 Message-ID: <4A9CBBBC.3020905@fhv.at> Hi all, I need to update our Nagios Installation from Version 2.3 to Version 3.0.6 on a FreeBSD 6.2 STABLE Box My first step is to do a source upgrade on the FreeBSD Box to the last STABLE Version (7.2) including all Ports and all Docs. The Nagios Update should be done by Ports and NOT with the Source Code like './configure && make && make install'. Is there a HOWTO available? I want to keep the existing Nagios Configuration. Thanks in advance Richard ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From arndt02 at googlemail.com Tue Sep 1 11:15:44 2009 From: arndt02 at googlemail.com (Juergen Arndt) Date: Tue, 01 Sep 2009 11:15:44 +0200 Subject: Monitor Sun Enterprise T2000 hardware In-Reply-To: <726E5F84A1A5F740AFB691669E628DEFF60FE4@NECSAP-SIN-XCH.NECSAPSIN.COM> References: <726E5F84A1A5F740AFB691669E628DEFF60FE4@NECSAP-SIN-XCH.NECSAPSIN.COM> Message-ID: Hi Scott, > Hi, is there any plugin to Monitor Sun Enterprise T2000 hardware like > HDD failure, memery ,fan ,and CPU problem? What about Sun tape drive and > storageteh as well? Or we can only use snmp trap sent from them to > monitor? personally I don't know any special plugin to monitor a T2000. But I guess it's quite easy to write a perl script, which parses through the output of prtdiag for example. To monitor things like fans, temperatures and so on via SNMP you need to install a special SNMP agent additionally to the usual one (SUN delivers a version of Net-SNMP within a Solaris installation). Maybe the links [1] and [2] are helpful for that purpose. Pay attention to the fact, that you need different packages for different platforms - so for a T2000 you need a different agent than for a T1000 or a V445. In link [2] you should find a table which packages belongs to which platform. For tape drives and storage solutions I have no idea, but maybe SNMP is your choice here too. Just study the MIBs, which data you can get from them and which traps they will send out. [1] http://www.kilala.nl/Sysadmin/index.php?id=730 [2] http://docs.sun.com/app/docs/prod/snmp.netra.14~snmp1.4-sfire-netra?l=en#hic Hope that helps a little bit, Juergen -- Juergen Arndt ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jay_lm at hotmail.com Tue Sep 1 13:12:55 2009 From: jay_lm at hotmail.com (joseph malai) Date: Tue, 1 Sep 2009 11:12:55 +0000 Subject: FW: confirm d8d280754ed2ef3eac8ce7247a3ccf418fd95662 In-Reply-To: References: Message-ID: From: jay_lm at hotmail.com To: nagios-users-request at lists.sourceforge.net Subject: RE: confirm d8d280754ed2ef3eac8ce7247a3ccf418fd95662 Date: Tue, 1 Sep 2009 10:08:12 +0000 Pls help this out using nagios version 3.1.2 plugin 1.4.13 centos 5 Got this warning on HTTP WARNING: HTTP/1.1 403 Forbidden and can't view on other machine http://localhost/nagios but i can brows from machine installed nagios http://localhost/nagios help me out pls > From: nagios-users-request at lists.sourceforge.net > To: jay_lm at hotmail.com > Subject: confirm d8d280754ed2ef3eac8ce7247a3ccf418fd95662 > Date: Tue, 1 Sep 2009 08:49:24 +0000 > > Mailing list subscription confirmation notice for mailing list > Nagios-users > > We have received a request from 172.29.29.1 for subscription of your > email address, "jay_lm at hotmail.com", to the > nagios-users at lists.sourceforge.net mailing list. To confirm that you > want to be added to this mailing list, simply reply to this message, > keeping the Subject: header intact. Or visit this web page: > > https://lists.sourceforge.net/lists/confirm/nagios-users/d8d280754ed2ef3eac8ce7247a3ccf418fd95662 > > > Or include the following line -- and only the following line -- in a > message to nagios-users-request at lists.sourceforge.net: > > confirm d8d280754ed2ef3eac8ce7247a3ccf418fd95662 > > Note that simply sending a `reply' to this message should work from > most mail readers, since that usually leaves the Subject: line in the > right form (additional "Re:" text in the Subject: is okay). > > If you do not wish to be subscribed to this list, please simply > disregard this message. If you think you are being maliciously > subscribed to the list, or have any other questions, send them to > nagios-users-owner at lists.sourceforge.net. check out the rest of the Windows Live?. More than mail?Windows Live? goes way beyond your inbox. More than messages _________________________________________________________________ Drag n? drop?Get easy photo sharing with Windows Live? Photos. http://www.microsoft.com/windows/windowslive/products/photos.aspx -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jay_lm at hotmail.com Tue Sep 1 13:31:05 2009 From: jay_lm at hotmail.com (joseph malai) Date: Tue, 1 Sep 2009 11:31:05 +0000 Subject: pls help me on nagios problem Message-ID: Pls help this out using nagios version 3.1.2 plugin 1.4.13 centos 5 Got this warning on HTTP WARNING: HTTP/1.1 403 Forbidden and can't view on other machine http://localhost/nagios but i can brows from machine installed nagios http://localhost/nagios _________________________________________________________________ Show them the way! Add maps and directions to your party invites. http://www.microsoft.com/windows/windowslive/products/events.aspx -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From arlytex at gmail.com Tue Sep 1 13:58:29 2009 From: arlytex at gmail.com (Arlen Drina) Date: Tue, 1 Sep 2009 13:58:29 +0200 Subject: pls help me on nagios problem In-Reply-To: References: Message-ID: <4e96b49a0909010458j7aa288fev3f0cc90a802e80eb@mail.gmail.com> from other machine try to enter http://ip_address_of_nagios_server/nagios hope this helps Arlen On Tue, Sep 1, 2009 at 1:31 PM, joseph malai wrote: > > > Pls help this out > using nagios version 3.1.2 > ?plugin 1.4.13 > ? centos 5 > Got this warning? on HTTP WARNING: HTTP/1.1 403 Forbidden and can't view on > other machine http://localhost/nagios but i can brows from machine installed > nagios http://localhost/nagios > ________________________________ > See all the ways you can stay connected to friends and family > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus > on > what you do best, core application coding. Discover what's new with > Crystal Reports now. ?http://p.sf.net/sfu/bobj-july > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From odenbach at uni-paderborn.de Tue Sep 1 13:50:30 2009 From: odenbach at uni-paderborn.de (Christopher Odenbach) Date: Tue, 01 Sep 2009 13:50:30 +0200 Subject: Monitor Sun Enterprise T2000 hardware In-Reply-To: <726E5F84A1A5F740AFB691669E628DEFF60FE4@NECSAP-SIN-XCH.NECSAPSIN.COM> References: <726E5F84A1A5F740AFB691669E628DEFF60FE4@NECSAP-SIN-XCH.NECSAPSIN.COM> Message-ID: <4A9D0A86.709@uni-paderborn.de> Scott Xiao schrieb: > Hi, is there any plugin to Monitor Sun Enterprise T2000 hardware like > HDD failure, memery ,fan ,and CPU problem? What about Sun tape drive and > storageteh as well? Or we can only use snmp trap sent from them to > monitor? If you have Solaris installed and prtpicl gives reasonable output you can use the check_sun_hardware plugin from monitoringexchange: http://www.monitoringexchange.org/cgi-bin/page.cgi?g=Detailed%2F3189.html;d=1 I have slightly modified the original check to run on other hardware as well, so it might run on yours. Christopher -- ====================================================== Dipl.-Ing. Christopher Odenbach Zentrum fuer Informations- und Medientechnologien Universitaet Paderborn Raum N5.122 odenbach at uni-paderborn.de Tel.: +49 5251 60 5315 ====================================================== -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 252 bytes Desc: OpenPGP digital signature URL: -------------- next part -------------- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jay_lm at hotmail.com Tue Sep 1 14:23:44 2009 From: jay_lm at hotmail.com (joseph malai) Date: Tue, 1 Sep 2009 12:23:44 +0000 Subject: pls help me on nagios problem Message-ID: Pls help this out using nagios version 3.1.2 plugin 1.4.13 centos 5 Got this warning on HTTP WARNING: HTTP/1.1 403 Forbidden and can't view on other machine http://localhost/nagios but i can brows from machine installed nagios http://localhost/nagios _________________________________________________________________ Drag n? drop?Get easy photo sharing with Windows Live? Photos. http://www.microsoft.com/windows/windowslive/products/photos.aspx -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Sep 1 14:37:25 2009 From: jperrin at gmail.com (Jim Perrin) Date: Tue, 1 Sep 2009 08:37:25 -0400 Subject: FW: confirm d8d280754ed2ef3eac8ce7247a3ccf418fd95662 In-Reply-To: References: Message-ID: <302ce8b50909010537q60a6352fu7eb0b119aaad0cc6@mail.gmail.com> On Tue, Sep 1, 2009 at 7:12 AM, joseph malai wrote: > Pls help this out > using nagios version 3.1.2 > ?plugin 1.4.13 > ? centos 5 > Got this warning? on HTTP WARNING: HTTP/1.1 403 Forbidden and can't view on > other machine http://localhost/nagios but i can brows from machine installed > nagios http://localhost/nagios > > help me out pls The localhost address is machine specific, and self-referencing. essentially EVERY computer you use refers to itself as localhost. You would have to either configure DNS or use the machine's ip address ( not 127.0.0.1). As for the Warning, that's nagios telling you that you have an error in your webserver setup. Most times this means that there's no default index.html or similar page to view and directory listings aren't allowed. Configure your server appropriately. -- During times of universal deceit, telling the truth becomes a revolutionary act. George Orwell ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From zarrelli at linux.it Tue Sep 1 15:00:11 2009 From: zarrelli at linux.it (Giorgio Zarrelli) Date: Tue, 1 Sep 2009 15:00:11 +0200 (CEST) Subject: pls help me on nagios problem In-Reply-To: References: Message-ID: <57195.89.119.149.126.1251810011.squirrel@picard.linux.it> Hi, it seems a problem in Apache configuration, denying all but localhost browse. Check Apache config files. Giorgio > > > > Pls help this out > using nagios version 3.1.2 > plugin 1.4.13 > centos 5 > Got this warning on HTTP WARNING: HTTP/1.1 403 Forbidden and can't view > on other machine http://localhost/nagios but i can brows from machine > installed nagios http://localhost/nagios > _________________________________________________________________ > Drag n? drop?Get easy photo sharing with Windows Live? Photos. > > http://www.microsoft.com/windows/windowslive/products/photos.aspx------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 > 30-Day > trial. Simplify your report design, integration and deployment - and focus > on > what you do best, core application coding. Discover what's new with > Crystal Reports now. > http://p.sf.net/sfu/bobj-july_______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sep 1 16:22:08 2009 From: assaf.flatto at ssp-intl.com (Assaf Flatto) Date: Tue, 1 Sep 2009 14:22:08 +0000 Subject: nagios crashes Message-ID: <200909011422.08788.assaf.flatto@ssp-intl.com> Hello I have nagios 3.0,6 from source running on SLES 10.2 (i586) . and i had it running for a long time with no issues. in the last couple of days it started crashing . I run nagios with a strace and this is the error i get when it crashes, write(6, "1251811259||Victoria-Ixxys_BOPC|"..., 139) = -1 EFBIG (File too large) --- SIGXFSZ (File size limit exceeded) @ 0 (0) --- +++ killed by SIGXFSZ +++ has anyone encountered this before ? 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 ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sep 1 15:53:47 2009 From: marc at ena.com (Marc Powell) Date: Tue, 1 Sep 2009 08:53:47 -0500 Subject: nagios crashes In-Reply-To: <200909011422.08788.assaf.flatto@ssp-intl.com> References: <200909011422.08788.assaf.flatto@ssp-intl.com> Message-ID: <25FFCCF9-5E52-4CD3-8ED3-2AB6BA07C5EA@ena.com> On Sep 1, 2009, at 9:22 AM, Assaf Flatto wrote: > write(6, "1251811259||Victoria-Ixxys_BOPC|"..., 139) = -1 EFBIG > (File too large) > --- SIGXFSZ (File size limit exceeded) @ 0 (0) --- > +++ killed by SIGXFSZ +++ > > > has anyone encountered this before ? Not related to nagios. The file it's trying to write to, whatever it is, has reached the max file size supported by your file system (2GB maybe). Is that nagios.log? Have you disabled nagios' log rotation in nagios.cfg? If it's not nagios.log, do you use any external modules that write to files? Check those to see if they've reached that max file size. If you can't find it at all, you can use the find command to locate all large files on your system and see if they relate to nagios. The following command will find all files greater than 1.5GB - find / - size +1500M -ls -- Marc ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From guidosh at gmail.com Tue Sep 1 15:47:48 2009 From: guidosh at gmail.com (Guy Waugh) Date: Tue, 1 Sep 2009 14:47:48 +0100 Subject: nagios crashes In-Reply-To: <200909011422.08788.assaf.flatto@ssp-intl.com> References: <200909011422.08788.assaf.flatto@ssp-intl.com> Message-ID: Hi Assaf, I haven't encountered it before, but my feeling would be to look for a file 2^31 bytes in size (2147483648)... maybe the nagios logfile? If that doesn't help, you could try strace'ing the nagios process... Cheers, Guy. On Tue, Sep 1, 2009 at 3:22 PM, Assaf Flatto wrote: > Hello > > I have nagios 3.0,6 from source running on SLES 10.2 (i586) . and i had it > running for a long time > with no issues. > > in the last couple of days it started crashing . > I run nagios with a strace and this is the error i get when it crashes, > > write(6, "1251811259||Victoria-Ixxys_BOPC|"..., 139) = -1 EFBIG (File too > large) > --- SIGXFSZ (File size limit exceeded) @ 0 (0) --- > +++ killed by SIGXFSZ +++ > > > has anyone encountered this before ? > > 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 > > > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus > on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sep 1 16:38:10 2009 From: assaf.flatto at ssp-intl.com (Assaf Flatto) Date: Tue, 1 Sep 2009 14:38:10 +0000 Subject: nagios crashes In-Reply-To: <200909011422.08788.assaf.flatto@ssp-intl.com> References: <200909011422.08788.assaf.flatto@ssp-intl.com> Message-ID: <200909011438.10450.assaf.flatto@ssp-intl.com> To add more information to this problem . It appears that the nagios works fine until the cmd.cgi is called and then it crashes (when trying to reschedule a check) . I rebuild the CGI from the source , and reinstalled it , but still the issue persists . hope this helps some more . Assaf On Tuesday 01 September 2009 14:22:08 Assaf Flatto wrote: > Hello > > I have nagios 3.0,6 from source running on SLES 10.2 (i586) . and i had it > running for a long time with no issues. > > in the last couple of days it started crashing . > I run nagios with a strace and this is the error i get when it crashes, > > write(6, "1251811259||Victoria-Ixxys_BOPC|"..., 139) = -1 EFBIG (File too > large) --- SIGXFSZ (File size limit exceeded) @ 0 (0) --- > +++ killed by SIGXFSZ +++ > > > has anyone encountered this before ? > > 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 ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sep 1 17:17:36 2009 From: assaf.flatto at ssp-intl.com (Assaf Flatto) Date: Tue, 1 Sep 2009 15:17:36 +0000 Subject: nagios crashes In-Reply-To: <25FFCCF9-5E52-4CD3-8ED3-2AB6BA07C5EA@ena.com> References: <200909011422.08788.assaf.flatto@ssp-intl.com> Message-ID: <200909011517.36942.assaf.flatto@ssp-intl.com> Thanks Marc It was the perfdata.log got to a 2Gb size . once i located it and rotated the file , nagios started up nicely. Assaf On Tuesday 01 September 2009 13:53:47 Marc Powell wrote: > On Sep 1, 2009, at 9:22 AM, Assaf Flatto wrote: > > write(6, "1251811259||Victoria-Ixxys_BOPC|"..., 139) = -1 EFBIG > > (File too large) > > --- SIGXFSZ (File size limit exceeded) @ 0 (0) --- > > +++ killed by SIGXFSZ +++ > > > > > > has anyone encountered this before ? > > Not related to nagios. The file it's trying to write to, whatever it > is, has reached the max file size supported by your file system (2GB > maybe). Is that nagios.log? Have you disabled nagios' log rotation in > nagios.cfg? > > If it's not nagios.log, do you use any external modules that write to > files? Check those to see if they've reached that max file size. > > If you can't find it at all, you can use the find command to locate > all large files on your system and see if they relate to nagios. The > following command will find all files greater than 1.5GB - find / - > size +1500M -ls > > -- > Marc > > > --------------------------------------------------------------------------- >--- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 > 30-Day trial. Simplify your report design, integration and deployment - and > focus on what you do best, core application coding. Discover what's new > with Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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 ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Steven.Battaille at ap2.be Tue Sep 1 16:46:19 2009 From: Steven.Battaille at ap2.be (Steven Battaille) Date: Tue, 1 Sep 2009 16:46:19 +0200 Subject: Monitoring Unix machine from a windows machine Message-ID: <16A9FB339EF0024C80FD6D1910268C7F01BEBBA4@apps18.ap2.local> Hi all Is there somebody who got experience in monitoring Unix machines from a windows machine? I'm not able to install the nagios plugins on the Unix machine. So it is the windows machine that will launch the scripts on the Unix machine. Would this be done by SSH or any other manner? Thx Steven Battaille Advanced Projects & Products Belgium -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From massimobalestra at hotmail.com Tue Sep 1 17:25:12 2009 From: massimobalestra at hotmail.com (Massimo Balestra) Date: Tue, 1 Sep 2009 08:25:12 -0700 Subject: nsclient++ check_nt USEDDISKSPACE Segmentation fault In-Reply-To: References: Message-ID: Hi Jon, Thank you for the answer. Here are my answers to your questions. > What patches got installed? Here is the list. - Update for Windows Server 2003 (KB968389) - Security Update for Windows Server 2003 (KB973869) - Security Update for Windows Server 2003 (KB960859) - Update for Windows Server 2003 (KB970653) - Update for Internet Explorer 8 Compatibility View List for Windows Server 2003 (KB973874) - Security Update for Windows Server 2003 (KB971657) - Security Update for Windows Server 2003 (KB973815) - Security Update for Windows Server 2003 (KB960859) - Security Update for Windows Server 2003 (KB973507) - Security Update for Windows Server 2003 (KB973354) - Security Update for Windows Server 2003 (KB956744) - Security Update for Windows Server 2003 (KB973869) - Security Update for Windows Server 2003 (KB973540) - Security Update for Windows Server 2003 (KB971557) - Security Update for Windows Server 2003 (KB971032) - Update for Windows Server 2003 (KB968389) - Security Update for Windows Server 2003 (KB961371) - Windows Malicious Software Removal Tool - August 2009 (KB890830) - Microsoft .NET Framework 3.5 Service Pack 1 and .NET Framework 3.5 Family Update for .NET versions 2.0 through 3.5 (KB951847) x86 - Remote Desktop Connection (Terminal Services Client 6.0) for Windows Server 2003 (KB925876) > Tried running strace to see what it is doing when it dies? Here is the result of the strace. ################################################ ns2:~# strace /usr/local/nagios/libexec/check_nt -H servername -p 12489 -s password -v USEDDISKSPACE -l c execve("/usr/local/nagios/libexec/check_nt", ["/usr/local/nagios/libexec/check_"..., "-H", "servername", "-p", "12489", "-s", "password", "-v", "USEDDISKSPACE", "-l", "c"], [/* 16 vars */]) = 0 brk(0) = 0x80ee000 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) mmap2(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f7e000 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) open("/etc/ld.so.cache", O_RDONLY) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=25644, ...}) = 0 mmap2(NULL, 25644, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7f77000 close(3) = 0 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) open("/lib/i686/cmov/libnsl.so.1", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\00001\0\0004\0\0\0\230"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0644, st_size=87800, ...}) = 0 mmap2(NULL, 100328, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7f5e000 mmap2(0xb7f73000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x14) = 0xb7f73000 mmap2(0xb7f75000, 6120, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7f75000 close(3) = 0 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) open("/lib/i686/cmov/libresolv.so.2", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0@!\0\0004\0\0\0\310"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0644, st_size=67408, ...}) = 0 mmap2(NULL, 80068, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7f4a000 mmap2(0xb7f5a000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xf) = 0xb7f5a000 mmap2(0xb7f5c000, 6340, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7f5c000 close(3) = 0 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) open("/lib/i686/cmov/libdl.so.2", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0`\n\0\0004\0\0\0H"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0644, st_size=9680, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f49000 mmap2(NULL, 12412, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7f45000 mmap2(0xb7f47000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1) = 0xb7f47000 close(3) = 0 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) open("/lib/i686/cmov/libc.so.6", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\260e\1\0004\0\0\0\4"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0755, st_size=1413540, ...}) = 0 mmap2(NULL, 1418864, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7dea000 mmap2(0xb7f3f000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x155) = 0xb7f3f000 mmap2(0xb7f42000, 9840, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7f42000 close(3) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7de9000 set_thread_area({entry_number:-1 -> 6, base_addr:0xb7de96b0, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0 mprotect(0xb7f3f000, 4096, PROT_READ) = 0 munmap(0xb7f77000, 25644) = 0 brk(0) = 0x80ee000 brk(0x810f000) = 0x810f000 open("/usr/lib/locale/locale-archive", O_RDONLY|O_LARGEFILE) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=1282816, ...}) = 0 mmap2(NULL, 1282816, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7caf000 close(3) = 0 rt_sigaction(SIGALRM, {0x804c0d0, [ALRM], SA_RESTART}, {SIG_DFL}, 8) = 0 alarm(10) = 0 socket(PF_NETLINK, SOCK_RAW, 0) = 3 bind(3, {sa_family=AF_NETLINK, pid=0, groups=00000000}, 12) = 0 getsockname(3, {sa_family=AF_NETLINK, pid=27747, groups=00000000}, [12]) = 0 time(NULL) = 1251817881 sendto(3, "\24\0\0\0\26\0\1\3\2319\235J\0\0\0\0\0\0\0\0"..., 20, 0, {sa_family=AF_NETLINK, pid=0, groups=00000000}, 12) = 20 recvmsg(3, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000}, msg_iov(1)=[{"0\0\0\0\24\0\2\0\2319\235Jcl\0\0\2\10\200\376\1\0\0\0\10\0\1\0 \177\0\0\1\10"..., 4096}], msg_controllen=0, msg_flags=0}, 0) = 108 recvmsg(3, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000}, msg_iov(1)=[{"@\0\0\0\24\0\2\0\2319\235Jcl\0\0\n\200\200\376\1\0\0\0\24\0\1\ 0\0\0\0\0\0"..., 4096}], msg_controllen=0, msg_flags=0}, 0) = 128 recvmsg(3, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000}, msg_iov(1)=[{"\24\0\0\0\3\0\2\0\2319\235Jcl\0\0\0\0\0\0\1\0\0\0\24\0\1\0\0\0 \0\0\0"..., 4096}], msg_controllen=0, msg_flags=0}, 0) = 20 close(3) = 0 socket(PF_FILE, SOCK_STREAM, 0) = 3 fcntl64(3, F_SETFL, O_RDWR|O_NONBLOCK) = 0 connect(3, {sa_family=AF_FILE, path="/var/run/nscd/socket"...}, 110) = -1 ENOENT (No such file or directory) close(3) = 0 socket(PF_FILE, SOCK_STREAM, 0) = 3 fcntl64(3, F_SETFL, O_RDWR|O_NONBLOCK) = 0 connect(3, {sa_family=AF_FILE, path="/var/run/nscd/socket"...}, 110) = -1 ENOENT (No such file or directory) close(3) = 0 open("/etc/nsswitch.conf", O_RDONLY) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=475, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f7d000 read(3, "# /etc/nsswitch.conf\n#\n# Example "..., 4096) = 475 read(3, ""..., 4096) = 0 close(3) = 0 munmap(0xb7f7d000, 4096) = 0 open("/etc/host.conf", O_RDONLY) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=9, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f7d000 read(3, "multi on\n"..., 4096) = 9 read(3, ""..., 4096) = 0 close(3) = 0 munmap(0xb7f7d000, 4096) = 0 getpid() = 27747 open("/etc/resolv.conf", O_RDONLY) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=96, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f7d000 read(3, ";nameserver 207.228.46.194\n;names"..., 4096) = 96 read(3, ""..., 4096) = 0 close(3) = 0 munmap(0xb7f7d000, 4096) = 0 open("/etc/ld.so.cache", O_RDONLY) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=25644, ...}) = 0 mmap2(NULL, 25644, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7f77000 close(3) = 0 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) open("/lib/i686/cmov/libnss_files.so.2", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\320\30\0\0004\0\0\0\250"... , 512) = 512 fstat64(3, {st_mode=S_IFREG|0644, st_size=42504, ...}) = 0 mmap2(NULL, 45720, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7ca3000 mmap2(0xb7cad000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x9) = 0xb7cad000 close(3) = 0 munmap(0xb7f77000, 25644) = 0 open("/etc/hosts", O_RDONLY|O_CLOEXEC) = 3 fcntl64(3, F_GETFD) = 0x1 (flags FD_CLOEXEC) fstat64(3, {st_mode=S_IFREG|0644, st_size=235, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f7d000 read(3, "127.0.0.1\tlocalhost\n\n# The follow"..., 4096) = 235 read(3, ""..., 4096) = 0 close(3) = 0 munmap(0xb7f7d000, 4096) = 0 open("/etc/hosts", O_RDONLY|O_CLOEXEC) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=235, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f7d000 read(3, "127.0.0.1\tlocalhost\n\n# The follow"..., 4096) = 235 read(3, ""..., 4096) = 0 close(3) = 0 munmap(0xb7f7d000, 4096) = 0 open("/etc/ld.so.cache", O_RDONLY) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=25644, ...}) = 0 mmap2(NULL, 25644, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7f77000 close(3) = 0 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) open("/lib/i686/cmov/libnss_dns.so.2", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\220\v\0\0004\0\0\0x"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0644, st_size=17880, ...}) = 0 mmap2(NULL, 20616, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7c9d000 mmap2(0xb7ca1000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3) = 0xb7ca1000 close(3) = 0 munmap(0xb7f77000, 25644) = 0 stat64("/etc/resolv.conf", {st_mode=S_IFREG|0644, st_size=96, ...}) = 0 open("/etc/resolv.conf", O_RDONLY) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=96, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f7d000 read(3, ";nameserver 207.228.46.194\n;names"..., 4096) = 96 read(3, ""..., 4096) = 0 close(3) = 0 munmap(0xb7f7d000, 4096) = 0 socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 3 connect(3, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("127.0.0.1")}, 28) = 0 fcntl64(3, F_GETFL) = 0x2 (flags O_RDWR) fcntl64(3, F_SETFL, O_RDWR|O_NONBLOCK) = 0 gettimeofday({1251817881, 838910}, NULL) = 0 poll([{fd=3, events=POLLOUT}], 1, 0) = 1 ([{fd=3, revents=POLLOUT}]) send(3, "\303!\1\0\0\1\0\0\0\0\0\0\3ts4\te-quantum\3net\0\0\34"..., 35, MSG_NOSIGNAL) = 35 poll([{fd=3, events=POLLIN}], 1, 5000) = 1 ([{fd=3, revents=POLLIN}]) ioctl(3, FIONREAD, [88]) = 0 recvfrom(3, "\303!\205\200\0\1\0\0\0\1\0\0\3ts4\te-quantum\3net\0\0\34"..., 1024, 0, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("127.0.0.1")}, [16]) = 88 close(3) = 0 socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 3 connect(3, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("127.0.0.1")}, 28) = 0 fcntl64(3, F_GETFL) = 0x2 (flags O_RDWR) fcntl64(3, F_SETFL, O_RDWR|O_NONBLOCK) = 0 gettimeofday({1251817881, 839972}, NULL) = 0 poll([{fd=3, events=POLLOUT}], 1, 0) = 1 ([{fd=3, revents=POLLOUT}]) send(3, "\373.\1\0\0\1\0\0\0\0\0\0\3ts4\te-quantum\3net\te-"..., 49, MSG_NOSIGNAL) = 49 poll([{fd=3, events=POLLIN}], 1, 5000) = 1 ([{fd=3, revents=POLLIN}]) ioctl(3, FIONREAD, [102]) = 0 recvfrom(3, "\373.\205\203\0\1\0\0\0\1\0\0\3ts4\te-quantum\3net\te-"..., 1024, 0, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("127.0.0.1")}, [16]) = 102 close(3) = 0 stat64("/etc/resolv.conf", {st_mode=S_IFREG|0644, st_size=96, ...}) = 0 socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 3 connect(3, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("127.0.0.1")}, 28) = 0 fcntl64(3, F_GETFL) = 0x2 (flags O_RDWR) fcntl64(3, F_SETFL, O_RDWR|O_NONBLOCK) = 0 gettimeofday({1251817881, 840925}, NULL) = 0 poll([{fd=3, events=POLLOUT}], 1, 0) = 1 ([{fd=3, revents=POLLOUT}]) send(3, "\317\216\1\0\0\1\0\0\0\0\0\0\3ts4\te-quantum\3net\0\0\1"..., 35, MSG_NOSIGNAL) = 35 poll([{fd=3, events=POLLIN}], 1, 5000) = 1 ([{fd=3, revents=POLLIN}]) ioctl(3, FIONREAD, [153]) = 0 recvfrom(3, "\317\216\205\200\0\1\0\1\0\3\0\3\3ts4\te-quantum\3net\0\0\1"..., 1024, 0, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("127.0.0.1")}, [16]) = 153 close(3) = 0 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 3 connect(3, {sa_family=AF_INET, sin_port=htons(12489), sin_addr=inet_addr("207.228.46.211")}, 16) = 0 send(3, "password&4&c"..., 14, 0) = 14 select(4, [3], NULL, NULL, {9, 0}) = 1 (in [3], left {8, 948000}) recv(3, "UNKNOWN: Could not get free space"..., 8191, 0) = 138 close(3) = 0 --- SIGSEGV (Segmentation fault) @ 0 (0) --- +++ killed by SIGSEGV +++ ################################################ Looks that it receives this " UNKNOWN: Could not get free space" but why? With the drive d it works so well. I did another test: telnet servername 12489 password&4&c UNKNOWN: Could not get free space for: c: c: reason: 32: The process cannot access the file because it is being used by another process. This is the problem: but why? What is wrong in the nsclient++ installation? I try to investigate (on google) on this windows error 32. > What's the value that gets returned when using /test? # /usr/local/nagios/libexec/check_nt -H servername -p 12489 -s password -v USEDDISKSPACE -l c ; echo $? c:\ - total: 50.09 Gb - used: 6.47 Gb (13%) - free 43.63 Gb (87%) | 'c:\ Used Space'=6.47Gb;0.00;0.00;0.00;50.09 0 Thank you for the help Massimo ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From richard.gliebe at fhv.at Tue Sep 1 17:35:39 2009 From: richard.gliebe at fhv.at (Richard Gliebe) Date: Tue, 01 Sep 2009 17:35:39 +0200 Subject: Nagios update from V2.3 to V3.0.6 In-Reply-To: <594977.30732.qm@web112120.mail.gq1.yahoo.com> References: <594977.30732.qm@web112120.mail.gq1.yahoo.com> Message-ID: <4A9D3F4B.6090707@fhv.at> On 9/1/09 3:01 PM Ryan Bowlby wrote: > --- On Tue, 9/1/09, Richard Gliebe wrote: > >> From: Richard Gliebe >> Subject: [Nagios-users] Nagios update from V2.3 to V3.0.6 >> To: "nagios-users" >> Date: Tuesday, September 1, 2009, 2:14 AM >> Hi all, >> >> I need to update our Nagios Installation from Version 2.3 >> to Version >> 3.0.6 on a FreeBSD 6.2 STABLE Box >> >> My first step is to do a source upgrade on the FreeBSD Box >> to the last >> STABLE Version (7.2) including all Ports and all Docs. >> >> The Nagios Update should be done by Ports and NOT with the >> Source Code >> like './configure && make && make >> install'. >> >> Is there a HOWTO available? >> >> I want to keep the existing Nagios Configuration. >> >> Thanks in advance >> Richard > > > Hi Richard, > > Do you have a FreeBSD test environment? If yes, just install Nagios3 in the test env and copy over your configs and verify the configs. > > nagios -v ./nagios.cfg > > Post any problems that you can't work out. > > Major version upgrades in FreeBSD really aren't that bad. Don't forget backups. ;) > > http://www.freebsd.org/doc/en/books/handbook/updating-freebsdupdate.html > > -Ryan Hi Ryan, thanks for your replay, Yes, we have a test environment with Nagios V3.0.b3 on a FreeBSD 7.2 StABLE Box, which is our Failover Installation. nagios-failover# pkg_info | grep -i nagio nagios-3.0.b3 Extremely powerful network monitoring system nagios-plugins-1.4.9_1,1 Plugins for Nagios nagios-radauth-plugin-1.00_1 Nagios plugin for checking radius server nrpe-1.9_2 Nagios Remote Plugin Executor Tomorrow (CEST), I'll do a Nagios re-install from the ports to Version 3.0.6 We will see what happens ;-) Backup: original austrian (NOT Australia) admins DON'T need backups ;-)) Thanks Richard -- Richard Gliebe Information Services Fachhochschule Vorarlberg GmbH / University for Applied Science Hochschulstrasse 1 A-6850 Dornbirn T: +43 5572 792 2207 M: richard.gliebe at fhv.at W: www.fhv.at FN 165415 h, LG Feldkirch ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sep 1 17:47:51 2009 From: patrick.morris at hp.com (Morris, Patrick) Date: Tue, 01 Sep 2009 08:47:51 -0700 Subject: Monitoring Unix machine from a windows machine In-Reply-To: <16A9FB339EF0024C80FD6D1910268C7F01BEBBA4@apps18.ap2.local> References: <16A9FB339EF0024C80FD6D1910268C7F01BEBBA4@apps18.ap2.local> Message-ID: <4A9D4227.1010208@hp.com> Steven Battaille wrote: > > Hi all > > > > Is there somebody who got experience in monitoring Unix machines from > a windows machine? > > > > I?m not able to install the nagios plugins on the Unix machine. So it > is the windows machine that will launch the scripts on the Unix machine. > > > > Would this be done by SSH or any other manner? > If you can't install plugins on the Unix machine, you're pretty limited in what you'll be able to do. Even if you were to SSH in from the Windows box, there'd be nothing to run once you got there to check the local disk. You're probably going to either need a plugin on the box somehow (i.e., in a user's home directory if not installed in a usual system location), or use some sort of remote check like SNMP. ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bugpb60 at hotmail.com Tue Sep 1 18:03:47 2009 From: bugpb60 at hotmail.com (Patrick Archibal) Date: Tue, 1 Sep 2009 16:03:47 +0000 Subject: Timeperiods and exception = BUG ? Message-ID: Hello, I'm using nagios v3.0.6 in production environnement. I'm having a serious problem with time periods. When i configure exceptions , notifications don't work anymore. My configuration With this configuration, all works define timeperiod{ timeperiod_name freeday alias My freeday january 1 00:00-24:00 december 25 00:00-24:00 } define timeperiod { timeperiod_name 11x5 alias 11 Hours A Day, 5 Days A Week monday 07:30-18:30 tuesday 07:30-18:30 wednesday 07:30-18:30 thursday 07:30-18:30 friday 07:30-18:30 exclude freeday } But with this configuration (ie i just add july 14) define timeperiod{ timeperiod_name freeday alias My freeday january 1 00:00-24:00 july 14 00:00-24:00 december 25 00:00-24:00 It seems notifications are disabled ! For information : if i use send custom notification, no notifications are send if i use send custom notification with forced checked , it works ! For information, in contact.cfg i have this : service_notification_period 11x5 host_notification_period 11x5 And in services configuation i have this : check_period 24x7 notification_period 11x5 Can someone tell me if there is a bug or not ? Because i tried everything but it doesn't work ! Best Regards Patrick _________________________________________________________________ A la recherche de bons plans pour une rentr?e pas ch?re ? Bing ! Trouvez ! http://www.bing.com/search?q=bons+plans+rentr%C3%A9e&form=MVDE6 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mmelin at gmail.com Tue Sep 1 18:47:02 2009 From: mmelin at gmail.com (Martin Melin) Date: Tue, 1 Sep 2009 18:47:02 +0200 Subject: Hiding services whose hosts are in scheduled downtime in status.cgi Message-ID: Hello, If a host is in scheduled downtime, Nagios won't send notifications for the services on that host. However, they still show up in Service Problems -> Unhandled as CRITICAL. Is there a way to change the arguments to status.cgi so that services whose hosts are in scheduled downtime are handled the same way as if they are in scheduled downtime themselves, or at least so that they are not included in the output? If someone has a better idea for handling services when hosts are in scheduled downtime, please do tell. Thanks and best regards, Martin Melin -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sep 1 18:54:16 2009 From: lecb79 at gmail.com (Eduardo Barreto) Date: Tue, 1 Sep 2009 13:54:16 -0300 Subject: Checking DHCP by NRPE Message-ID: Hi All, How can I check a dhcp service on a remote machine, and so squid? I'm planning to use a nrpe plugin. Thanks in advance Eduardo Barreto -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Shanmuga_Svr at jubilantbiosys.com Tue Sep 1 19:13:07 2009 From: Shanmuga_Svr at jubilantbiosys.com (Shanmuga_Svr at jubilantbiosys.com) Date: Tue, 1 Sep 2009 22:43:07 +0530 Subject: AUTO: Shanmuga Sundram V R is out of the office (returning 07/09/2009) Message-ID: I am out of the office until 07/09/2009. Please contact HV Nagaraj Upadhyaya (Nagaraja at jubilantbiosys.com) or IT Support (bangalorebiosys_itsupport at jubl.com) for any requirements. Note: This is an automated response to your message Nagios-users Digest, Vol 40, Issue 1 sent on 9/1/2009 7:25:28 PM. This is the only notification you will receive while this person is away. ---------------------------------------------------------------------------------------------------------------------- This e-mail and any files transmitted with it contain confidential Copyright, Proprietary and Legal privileged information. It should not be used by anyone who is not the original intended recipient, Any use, distribution, copying or disclosure by any other person is strictly prohibited. If you receive this transmission and other information in this, please notify the sender by reply email and then destroy the message. Opinions, conclusions and other information in this message that do not relate to official message of Jubilant Organosys Ltd and its subsidiaries, holding companies i.e. Jubilant Group shall be understood to be neither given nor endorsed by jubilant Group. Internet communications cannot be guaranteed to be timely, Secure, error or virus free. The sender does not accept lia bility for any errors or omissions. ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dd-b at dd-b.net Tue Sep 1 19:25:22 2009 From: dd-b at dd-b.net (David Dyer-Bennet) Date: Tue, 1 Sep 2009 12:25:22 -0500 Subject: Email service notifications not working Message-ID: <6df6549e6bb8dc1b5b7b33357e87f2e0.squirrel@webmail.dd-b.net> Or SOME of them. I did get ONE email service notification -- when I "acknowledged" a problem, I got a notification of that. But I got no notification of the change to critical status, and no notification of the return to normal. Service notification options are w,u,c,r. service notification period is 24x7. Service notification command is notify-by-email. Nagios 2.10 on Centos 4.8. I believe sendmail is configured adequately, because I can send a test email by hand, and because I've received that one service notification. Host notifications have generally worked on this install, though I haven't tested one lately. The web display is showing the service going into state critical, and it shows notifications enabled for that service. It shows "last service notification" as N/A, making me think that the problem is that Nagios isn't sending the notification, rather than any sort of delivery issue (and I've tested email from the monitoring host, works fine). This is a small setup, 13 hosts and 28 services, on a system with no load problems, so I'm not worried about performance issues being the cause. Everything is active tests form the monitoring system. How related are host and service notification? Should I test host notification at this point, or should I go ahead and work on service notification on its own? How do I approach this debugging problem? I'm assuming my config is at fault of course; but I'm running out of places to look. -- David Dyer-Bennet, dd-b at dd-b.net; http://dd-b.net/ Snapshots: http://dd-b.net/dd-b/SnapshotAlbum/data/ Photos: http://dd-b.net/photography/gallery/ Dragaera: http://dragaera.info ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dd-b at dd-b.net Tue Sep 1 20:53:23 2009 From: dd-b at dd-b.net (David Dyer-Bennet) Date: Tue, 1 Sep 2009 13:53:23 -0500 Subject: Email service notifications not working In-Reply-To: <6df6549e6bb8dc1b5b7b33357e87f2e0.squirrel@webmail.dd-b.net> References: <6df6549e6bb8dc1b5b7b33357e87f2e0.squirrel@webmail.dd-b.net> Message-ID: <0a7cd7131e64347dda20b3571893658c.squirrel@webmail.dd-b.net> On Tue, September 1, 2009 12:25, David Dyer-Bennet wrote: > How do I approach this debugging problem? I'm assuming my config is at > fault of course; but I'm running out of places to look. Following up my own query -- I'm not sure it's resolved yet, but I've found the "view config" option on the web page, which has been VERY useful in figuring out what's going on. For anybody who doesn't know, it shows all the detailed parameters set on various objects. So for example I could see that that I was not in fact getting notification options set. That part I've figured out -- you have to put them in the service definition, you can't JUST have them in the contact definition. Still testing to see if there's anything else wrong, but this is turning out to be a tremendously useful tool to see how Nagios has understood my configuration. -- David Dyer-Bennet, dd-b at dd-b.net; http://dd-b.net/ Snapshots: http://dd-b.net/dd-b/SnapshotAlbum/data/ Photos: http://dd-b.net/photography/gallery/ Dragaera: http://dragaera.info ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sep 1 21:44:38 2009 From: marc at ena.com (Marc Powell) Date: Tue, 1 Sep 2009 14:44:38 -0500 Subject: Email service notifications not working In-Reply-To: <0a7cd7131e64347dda20b3571893658c.squirrel@webmail.dd-b.net> References: <6df6549e6bb8dc1b5b7b33357e87f2e0.squirrel@webmail.dd-b.net> <0a7cd7131e64347dda20b3571893658c.squirrel@webmail.dd-b.net> Message-ID: <369C328C-BFF1-4872-9CA8-C5B445D9DBD4@ena.com> On Sep 1, 2009, at 1:53 PM, David Dyer-Bennet wrote: > > On Tue, September 1, 2009 12:25, David Dyer-Bennet wrote: > So for example I could see that that I was not in fact getting > notification options set. That part I've figured out -- you have to > put > them in the service definition, you can't JUST have them in the > contact > definition. Yes, in 2.x, they were required there. Not so in 3.x. If not present, the implication is that _all_ notification options are active. Reading between the lines, this seems to be a new install for you. Is there any reason you're starting with an old version? 3.0 has been out since 3/2008 and offers many improvements over 2.x. You're also starting out way behind the curve and will find fewer and fewer people willing or able to help support you. -- Marc ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sep 1 22:28:57 2009 From: subscription at kkeane.com (Kevin Keane) Date: Tue, 1 Sep 2009 13:28:57 -0700 Subject: Monitoring Unix machine from a windows machine In-Reply-To: <16A9FB339EF0024C80FD6D1910268C7F01BEBBA4@apps18.ap2.local> References: <16A9FB339EF0024C80FD6D1910268C7F01BEBBA4@apps18.ap2.local> Message-ID: <4A9D8409.8080901@kkeane.com> You say that the Windows machine is able to launch scripts on the Unix machine. Why not plugins - which basically simply ARE scripts? There are multiple ways to launch scripts on the Unix box. Which one is appropriate for you depends on your specific situation. Look into NSCA or NRPE (those do require an agent to be installed on the Unix box), as well as check_by_ssh. Steven Battaille wrote: > > Hi all > > Is there somebody who got experience in monitoring Unix machines from > a windows machine? > > I?m not able to install the nagios plugins on the Unix machine. So it > is the windows machine that will launch the scripts on the Unix machine. > > Would this be done by SSH or any other manner? > > Thx > > Steven Battaille > > Advanced Projects & Products > > Belgium > -- 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. ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From leandro.magnabosco at fcdl-sc.org.br Tue Sep 1 23:02:08 2009 From: leandro.magnabosco at fcdl-sc.org.br (Leandro Quibem Magnabosco) Date: Tue, 01 Sep 2009 18:02:08 -0300 Subject: Monitoring Unix machine from a windows machine In-Reply-To: <16A9FB339EF0024C80FD6D1910268C7F01BEBBA4@apps18.ap2.local> References: <16A9FB339EF0024C80FD6D1910268C7F01BEBBA4@apps18.ap2.local> Message-ID: <4A9D8BD0.4080401@fcdl-sc.org.br> An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: logotipos.gif Type: image/gif Size: 3319 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dd-b at dd-b.net Tue Sep 1 23:33:34 2009 From: dd-b at dd-b.net (David Dyer-Bennet) Date: Tue, 1 Sep 2009 16:33:34 -0500 Subject: Email service notifications not working In-Reply-To: <369C328C-BFF1-4872-9CA8-C5B445D9DBD4@ena.com> References: <6df6549e6bb8dc1b5b7b33357e87f2e0.squirrel@webmail.dd-b.net> <0a7cd7131e64347dda20b3571893658c.squirrel@webmail.dd-b.net> <369C328C-BFF1-4872-9CA8-C5B445D9DBD4@ena.com> Message-ID: On Tue, September 1, 2009 14:44, Marc Powell wrote: > Reading between the lines, this seems to be a new install for you. Is > there any reason you're starting with an old version? 3.0 has been out > since 3/2008 and offers many improvements over 2.x. You're also > starting out way behind the curve and will find fewer and fewer people > willing or able to help support you. It's a new round of additions to an existing install, so much of what I'm working with is new. I'm using 2.10 because that's what Centos 4.8 includes. That's old, too, of course; but we just upgraded from 4.7 to 4.8 on this box earlier this week. -- David Dyer-Bennet, dd-b at dd-b.net; http://dd-b.net/ Snapshots: http://dd-b.net/dd-b/SnapshotAlbum/data/ Photos: http://dd-b.net/photography/gallery/ Dragaera: http://dragaera.info ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dd-b at dd-b.net Tue Sep 1 23:41:15 2009 From: dd-b at dd-b.net (David Dyer-Bennet) Date: Tue, 1 Sep 2009 16:41:15 -0500 Subject: Monitoring a router Message-ID: Not complex stuff; I'm not really monitoring the router primarily (that's another group's job), but I want some kind of check whether the router, and the connection it serves, are working or not (to use as a parent for other checks, so that I get just get notified that the router is down rather than every host and server beyond it reported down if the link goes down). Right now I'm just pinging it. That works, in the sense that I get the ping back. But I am suspicious that, if the link went down, the router would still respond to pings. Is this "best practice" in the opinion of the community? Or is using SNMP to monitor something inside the router better somehow? And if so, WHAT? One thing that comes to mind is IP-MIB::ipForwarding, which appears to be a boolean. I don't know if that indicates administrative state or actual condition, though. Should I be looking for some sort of interface state field instead? (It's a Cisco IOS Software, Catalyst 4000 L3 Switch Software (cat4000-I9S-M), Version 12.2(25)EWA11, RELEASE SOFTWARE (fc1)). -- David Dyer-Bennet, dd-b at dd-b.net; http://dd-b.net/ Snapshots: http://dd-b.net/dd-b/SnapshotAlbum/data/ Photos: http://dd-b.net/photography/gallery/ Dragaera: http://dragaera.info ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sep 1 23:54:49 2009 From: marc at ena.com (Marc Powell) Date: Tue, 1 Sep 2009 16:54:49 -0500 Subject: Monitoring a router In-Reply-To: References: Message-ID: <20A4EBFF-7414-4F8D-819E-0E82340B79A8@ena.com> On Sep 1, 2009, at 4:41 PM, David Dyer-Bennet wrote: > Right now I'm just pinging it. That works, in the sense that I get > the > ping back. But I am suspicious that, if the link went down, the router > would still respond to pings. > > Is this "best practice" in the opinion of the community? We monitor about 3000 routers with ping only. We ping an RFC 1918 IP assigned to the loopback interface on the router. That way, as long as any serial interface on the router is up, the router is still 'up' without us having to configure every a ping for every serial interface. This is sufficiently 'up' for our SLA purposes... For the purposes of parenting, the ping check is likely sufficient. We also monitor the individual interfaces via SNMP to know when any one goes down. We have a process such that we don't need to add each specific serial interface into nagios but just figure what should be up in real time. -- Marc ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sep 2 00:41:25 2009 From: jim at jimavery.me.uk (Jim Avery) Date: Tue, 1 Sep 2009 23:41:25 +0100 Subject: Monitoring a router In-Reply-To: References: Message-ID: <765d77c80909011541x554afae2l35122dcb8b439b1d@mail.gmail.com> 2009/9/1 David Dyer-Bennet : > Is this "best practice" in the opinion of the community? ?Or is using SNMP > to monitor something inside the router better somehow? ?And if so, WHAT? Good question. One person's 'best practice' is another person's over-kill or under-kill. My golden rule is "only monitor something if you're going to be interested in it". For routers this usually means I simply ping them, but often I'm interested in bandwidth of specific interfaces too so I make sure specific WAN links are monitored for bandwidth, errors, discards and so on using the plugins from http://www.manubulon.com It's often a good idea to have the router send you SNMP traps - you'll need to configure snmptt to handle them though, maybe using NagTrap. I often find I get more traps than I'm interested in though - which breaks the golden rule (see above) - so I then need either to filter the traps out in the snmptt config or prevent the router from sending them in the first place. I used to monitor each router interface using ping, but now I think that's usually overkill. It just depends ... ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From yuehung at cht.com.tw Wed Sep 2 03:29:07 2009 From: yuehung at cht.com.tw (=?UTF-8?B?5YqJ5bKz5rOT?=) Date: Wed, 02 Sep 2009 09:29:07 +0800 Subject: Why are there "commands"? In-Reply-To: <015e276cd5af3e51f1630edac5fd8a63.squirrel@webmail.dd-b.net> References: <015e276cd5af3e51f1630edac5fd8a63.squirrel@webmail.dd-b.net> Message-ID: <4A9DCA63.7070508@cht.com.tw> If you code relevant checking command in each service, Nagios should register every single command in system memory. But by using command "templates", Nagios needs only register command definitions "once" and parameters for each service, this is more memory efficient. David Dyer-Bennet ??: > I don't really understand the purpose / utility of the "command" level of > abstraction in Nagios configuration. (2.10; we're still on Centos 4.7). > > To define a new service to check particular Windows web services we've > written, I define a service, and then it has to refer to a command, and > over in the command I have to hard-code the parameters needed to test this > specific service -- so in fact I need a separate command for each service. > This seems, to me, to just introduce confusion, and separate bits of > information that belong together. > > Is this just a historical artifact that in fact doesn't make much sense, > or are there lots of cases where it's useful and makes it easier or > clearer to do what you want? > > (I'm fine with "that's the way it works, but it doesn't really make much > sense as it turns out", I've got plenty of that in my own code; I'm just > looking for more understanding, in case it makes more sense than I've so > far figured out.) > > As a broader question, are there documents that give more of a logical > overview of Nagios, explaining how and why things are broken up and how > they work together? > > ------------------------------------------------------------------------ > > > No virus found in this incoming message. > Checked by AVG - www.avg.com > Version: 8.5.409 / Virus Database: 270.13.71/2330 - Release Date: 08/27/09 18:02:00 > > -- ??? Liu,Yueh-Hung ?????????? 0937044076 ????????[???]????[?]????[?]???? yuehung at cht.com.tw SCSA + ITIL Foundation + ISO 27001 Auditor ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From craig at hooters-uk.com Wed Sep 2 10:28:49 2009 From: craig at hooters-uk.com (craig at hooters-uk.com) Date: Wed, 2 Sep 2009 09:28:49 +0100 Subject: Nagio + SMS Message-ID: <887f328b40ba483ea6b687176ee48882.craig@hooters-uk.com> Hi all I'm looking for an SMS solution for my Nagios set-up and noticed on the Nagios page that you lean towards the SMS FoxBox, this looks like a nice solution but at the cost of 850 Euro's this is way outside of my budget. What does this community use and recommend for a nice and simple as well a cheap SMS solutions. Thanks Craig ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at thymox.co.uk Wed Sep 2 10:38:41 2009 From: nagios at thymox.co.uk (Grant Sewell) Date: Wed, 2 Sep 2009 09:38:41 +0100 Subject: Monitoring Unix machine from a windows machine In-Reply-To: <16A9FB339EF0024C80FD6D1910268C7F01BEBBA4@apps18.ap2.local> References: <16A9FB339EF0024C80FD6D1910268C7F01BEBBA4@apps18.ap2.local> Message-ID: <20090902093841.75e83e35@tempmail> On Tue, 1 Sep 2009 16:46:19 +0200 "Steven Battaille" wrote: > Hi all > > Is there somebody who got experience in monitoring Unix machines from > a windows machine? > > I'm not able to install the nagios plugins on the Unix machine. So it > is the windows machine that will launch the scripts on the Unix > machine. > > Would this be done by SSH or any other manner? > > Thx > > Steven Battaille > > Advanced Projects & Products > > Belgium If you have SSH access to the machine, can you not compile the various Nagios plugins on the target machine, place the compiled binary executables into something like ~/bin, setup passwordless SSH access (using keys) and then create your own commands to execute the appropriate Nagios plugin remotely? Grant. ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From christian.masopust at siemens.com Wed Sep 2 10:55:12 2009 From: christian.masopust at siemens.com (Masopust, Christian) Date: Wed, 2 Sep 2009 10:55:12 +0200 Subject: Nagio + SMS In-Reply-To: <887f328b40ba483ea6b687176ee48882.craig@hooters-uk.com> References: <887f328b40ba483ea6b687176ee48882.craig@hooters-uk.com> Message-ID: <60721B67EAF0994EAFFB561767B7001403F6AA70@nets13ha.ww300.siemens.net> Hello Craig, I'm using smstools (http://smstools.meinemullemaus.de/) with a simple GSM-Modem (Siemens TC35) here and it does all I need. Christian -- "I sense much NT in you, NT leads to Blue Screen. Blue Screen leads to downtime, downtime leads to suffering. NT is the path to the darkside." - Unknown Unix Jedi > -----Original Message----- > From: craig at hooters-uk.com [mailto:craig at hooters-uk.com] > Sent: Wednesday, September 02, 2009 10:29 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Nagio + SMS > > Hi all > > I'm looking for an SMS solution for my Nagios set-up > and noticed on the Nagios page that you lean towards > the SMS FoxBox, this looks like a nice solution but > at the cost of 850 Euro's this is way outside of my > budget. > > What does this community use and recommend for a nice > and simple as well a cheap SMS solutions. > > Thanks > > Craig > > > -------------------------------------------------------------- > ---------------- > Let Crystal Reports handle the reporting - Free Crystal > Reports 2008 30-Day > trial. Simplify your report design, integration and > deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Sep 2 11:00:19 2009 From: alexdehaini at gmail.com (Alex Dehaini) Date: Wed, 2 Sep 2009 09:00:19 +0000 Subject: Nagio + SMS In-Reply-To: <60721B67EAF0994EAFFB561767B7001403F6AA70@nets13ha.ww300.siemens.net> References: <887f328b40ba483ea6b687176ee48882.craig@hooters-uk.com> <60721B67EAF0994EAFFB561767B7001403F6AA70@nets13ha.ww300.siemens.net> Message-ID: <4b008f7d0909020200n534ebdb7g489370351a701893@mail.gmail.com> we use an email2sms gateway and it works well too. On Wed, Sep 2, 2009 at 8:55 AM, Masopust, Christian < christian.masopust at siemens.com> wrote: > > Hello Craig, > > I'm using smstools (http://smstools.meinemullemaus.de/) with a simple > GSM-Modem (Siemens TC35) here and it does all I need. > > Christian > > > -- > "I sense much NT in you, NT leads to Blue Screen. > Blue Screen leads to downtime, downtime leads to suffering. NT is the path > to the darkside." > > - Unknown Unix Jedi > > > -----Original Message----- > > From: craig at hooters-uk.com [mailto:craig at hooters-uk.com] > > Sent: Wednesday, September 02, 2009 10:29 AM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] Nagio + SMS > > > > Hi all > > > > I'm looking for an SMS solution for my Nagios set-up > > and noticed on the Nagios page that you lean towards > > the SMS FoxBox, this looks like a nice solution but > > at the cost of 850 Euro's this is way outside of my > > budget. > > > > What does this community use and recommend for a nice > > and simple as well a cheap SMS solutions. > > > > Thanks > > > > Craig > > > > > > -------------------------------------------------------------- > > ---------------- > > Let Crystal Reports handle the reporting - Free Crystal > > Reports 2008 30-Day > > trial. Simplify your report design, integration and > > deployment - and focus on > > what you do best, core application coding. Discover what's new with > > Crystal Reports now. http://p.sf.net/sfu/bobj-july > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS > > when reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus > on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From craig at hooters-uk.com Wed Sep 2 11:15:22 2009 From: craig at hooters-uk.com (craig at hooters-uk.com) Date: Wed, 2 Sep 2009 10:15:22 +0100 Subject: Nagio + SMS Message-ID: <56ea706ac1ec4ee6aa5aaea861d2299e.craig@hooters-uk.com> Thanks for the replies, I guess we have to be looking at a GSM gateway then as our rack manager will not allow us to have loose mobiles in cabs. I have just had a quick Google on some GSM Modems and wondered if any of these would be OK and use something like gnokii. GSM Modems http://www.rfsolutions.co.uk/acatalog/GSM_Modems.html Looking at this: http://www.rfsolutions.co.uk/acatalog/Maestro_Industrial_GSM_Modem.html Thanks ------- Original Message ------- >From : Masopust, Christian[mailto:christian.masopust at siemens.com] Sent : 02/09/2009 09:55:12 To : craig at hooters-uk.com; nagios-users at lists.sourceforge.net Cc : Subject : RE: [Nagios-users] Nagio + SMS Hello Craig, I'm using smstools ( http://smstools.meinemullemaus.de/ ) with a simple GSM-Modem (Siemens TC35) here and it does all I need. Christian -- "I sense much NT in you, NT leads to Blue Screen. Blue Screen leads to downtime, downtime leads to suffering. NT is the path to the darkside." - Unknown Unix Jedi > -----Original Message----- > From: craig at hooters-uk.com [ mailto:craig at hooters-uk.com] > Sent: Wednesday, September 02, 2009 10:29 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Nagio + SMS > > Hi all > > I'm looking for an SMS solution for my Nagios set-up > and noticed on the Nagios page that you lean towards > the SMS FoxBox, this looks like a nice solution but > at the cost of 850 Euro's this is way outside of my > budget. > > What does this community use and recommend for a nice > and simple as well a cheap SMS solutions. > > Thanks > > Craig > > > -------------------------------------------------------------- > ---------------- > Let Crystal Reports handle the reporting - Free Crystal > Reports 2008 30-Day > trial. Simplify your report design, integration and > deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sep 2 11:21:06 2009 From: martyn at chetnet.co.uk (Martyn) Date: Wed, 2 Sep 2009 10:21:06 +0100 Subject: Nagio + SMS In-Reply-To: <56ea706ac1ec4ee6aa5aaea861d2299e.craig@hooters-uk.com> References: <56ea706ac1ec4ee6aa5aaea861d2299e.craig@hooters-uk.com> Message-ID: Craig not sure if this is a correct statement but I think that gnokii only supports Nokia Mobiles, like I said not 100% sure. -----Original Message----- From: craig at hooters-uk.com [mailto:craig at hooters-uk.com] Sent: 02 September 2009 10:15 To: christian.masopust at siemens.com; craig at hooters-uk.com; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Nagio + SMS Thanks for the replies, I guess we have to be looking at a GSM gateway then as our rack manager will not allow us to have loose mobiles in cabs. I have just had a quick Google on some GSM Modems and wondered if any of these would be OK and use something like gnokii. GSM Modems http://www.rfsolutions.co.uk/acatalog/GSM_Modems.html Looking at this: http://www.rfsolutions.co.uk/acatalog/Maestro_Industrial_GSM_Modem.html Thanks ------- Original Message ------- >From : Masopust, Christian[mailto:christian.masopust at siemens.com] Sent : 02/09/2009 09:55:12 To : craig at hooters-uk.com; nagios-users at lists.sourceforge.net Cc : Subject : RE: [Nagios-users] Nagio + SMS Hello Craig, I'm using smstools ( http://smstools.meinemullemaus.de/ ) with a simple GSM-Modem (Siemens TC35) here and it does all I need. Christian -- "I sense much NT in you, NT leads to Blue Screen. Blue Screen leads to downtime, downtime leads to suffering. NT is the path to the darkside." - Unknown Unix Jedi > -----Original Message----- > From: craig at hooters-uk.com [ mailto:craig at hooters-uk.com] > Sent: Wednesday, September 02, 2009 10:29 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Nagio + SMS > > Hi all > > I'm looking for an SMS solution for my Nagios set-up and noticed on > the Nagios page that you lean towards the SMS FoxBox, this looks like > a nice solution but at the cost of 850 Euro's this is way outside of > my budget. > > What does this community use and recommend for a nice and simple as > well a cheap SMS solutions. > > Thanks > > Craig > > > -------------------------------------------------------------- > ---------------- > Let Crystal Reports handle the reporting - Free Crystal > Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and > focus on what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From juki.emma at gmail.com Wed Sep 2 11:26:08 2009 From: juki.emma at gmail.com (Juki) Date: Wed, 2 Sep 2009 12:26:08 +0300 Subject: check_by_ssh error - Remote command execution failed Message-ID: <7545d7d20909020226h40395a70m6f81278728547a33@mail.gmail.com> Hello people, I'm trying to implement check_by_ssh to monitor local resource usage on a remote host running Solaris 10. I'm following instructions as described in the attachment. Following the instructions, I have managed to ensure that the central Nagios server (running Nagios v3.0rc2 on SuSE Linux 10.0) is able to connect to the remote host via SSH in a manner that does not require a password. Below are my command and service definitions, as defined on the central Nagios server, for one of the resources (root partition disk usage) I intend to monitor; +++++ Service Definition +++++ define service{ use generic-service ; Name of service template to use host_name sauga02 service_description Root Partition check_command check_ssh_disk!25%!20%! notifications_enabled 0 } +++++ Command Definition +++++ # 'check_ssh_disk' command definition define command { command_name check_ssh_disk command_line $USER1$/check_by_ssh -i /home/nagios/.ssh/id_dsa -l nagios -H 10.151.28.22 -C /export/home/nagios/plugins/check_disk -w $ARG1$ -c $ARG2$ -p $ARG3$ } I created a password-less public/private keypair as the user running the Nagios service (typically "nagios"), sending the public key to the remote server, and then (as user "nagios") logging into the remote system. After completing the setup, I run the following command from the central Nagios server as a test and encountered the error as shown below; nagios at central-host:~> /usr/local/nagios/libexec/check_by_ssh -H x.x.x.x -C "/export/home/nagios/plugins/check_swap -w 50% -c 10%" Remote command execution failed: ###################### !!! WARNING !!! ############################# where; - x.x.x.x - the IP of the remote host. - /export/home/nagios/plugins - the location on the remote host where the plugins are run from I also run the same command using the host name of the remote host but that gave me the same error. The web GUI also shows the same error. Can someone please point me in the right direction towards solving this issue? Thanks, Juki -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Linux012009.pdf Type: application/pdf Size: 41456 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From zarrelli at linux.it Wed Sep 2 10:58:45 2009 From: zarrelli at linux.it (Giorgio Zarrelli) Date: Wed, 2 Sep 2009 10:58:45 +0200 Subject: R: Nagio + SMS In-Reply-To: <887f328b40ba483ea6b687176ee48882.craig@hooters-uk.com> References: <887f328b40ba483ea6b687176ee48882.craig@hooters-uk.com> Message-ID: <001b01ca2bab$958f02e0$c0ad08a0$@it> Hi, use a mobile handset and kannel or similar. Giorgio > -----Messaggio originale----- > Da: craig at hooters-uk.com [mailto:craig at hooters-uk.com] > Inviato: mercoled? 2 settembre 2009 10.29 > A: nagios-users at lists.sourceforge.net > Oggetto: [Nagios-users] Nagio + SMS > > Hi all > > I'm looking for an SMS solution for my Nagios set-up > and noticed on the Nagios page that you lean towards > the SMS FoxBox, this looks like a nice solution but > at the cost of 850 Euro's this is way outside of my > budget. > > What does this community use and recommend for a nice > and simple as well a cheap SMS solutions. > > Thanks > > Craig > > > ----------------------------------------------------------------------- > ------- > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 > 30-Day > trial. Simplify your report design, integration and deployment - and > focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jvc_dvl557 at hotmail.com Wed Sep 2 12:08:36 2009 From: jvc_dvl557 at hotmail.com (jvc_dvl557 at hotmail.com) Date: Wed, 2 Sep 2009 12:08:36 +0200 Subject: Nagio + SMS In-Reply-To: References: Message-ID: Hi Craig, I'm using a old-school Nokia device that sends out SMS notification messages. I use the program Gnokkii to send the text messages from my nagios server and a command line in my nagios config to execute Gnokii. Hope this helps you a bit. Gr. Dennis. -------------------------------------------------- From: Sent: Wednesday, September 02, 2009 11:26 AM To: Subject: Nagios-users Digest, Vol 40, Issue 3 > Send Nagios-users mailing list submissions to > nagios-users at lists.sourceforge.net > > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.sourceforge.net/lists/listinfo/nagios-users > or, via email, send a message with subject or body 'help' to > nagios-users-request at lists.sourceforge.net > > You can reach the person managing the list at > nagios-users-owner at lists.sourceforge.net > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Nagios-users digest..." > > > Today's Topics: > > 1. Re: Monitoring a router (Marc Powell) > 2. Re: Monitoring a router (Jim Avery) > 3. Re: Why are there "commands"? (???) > 4. Nagio + SMS (craig at hooters-uk.com) > 5. Re: Monitoring Unix machine from a windows machine (Grant Sewell) > 6. Re: Nagio + SMS (Masopust, Christian) > 7. Re: Nagio + SMS (Alex Dehaini) > 8. Re: Nagio + SMS (craig at hooters-uk.com) > 9. Re: Nagio + SMS (Martyn) > 10. check_by_ssh error - Remote command execution failed (Juki) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Tue, 1 Sep 2009 16:54:49 -0500 > From: Marc Powell > Subject: Re: [Nagios-users] Monitoring a router > To: Nagios User list > Message-ID: <20A4EBFF-7414-4F8D-819E-0E82340B79A8 at ena.com> > Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes > > > On Sep 1, 2009, at 4:41 PM, David Dyer-Bennet wrote: > >> Right now I'm just pinging it. That works, in the sense that I get >> the >> ping back. But I am suspicious that, if the link went down, the router >> would still respond to pings. >> >> Is this "best practice" in the opinion of the community? > > We monitor about 3000 routers with ping only. We ping an RFC 1918 IP > assigned to the loopback interface on the router. That way, as long as > any serial interface on the router is up, the router is still 'up' > without us having to configure every a ping for every serial > interface. This is sufficiently 'up' for our SLA purposes... For the > purposes of parenting, the ping check is likely sufficient. > > We also monitor the individual interfaces via SNMP to know when any > one goes down. We have a process such that we don't need to add each > specific serial interface into nagios but just figure what should be > up in real time. > > -- > Marc > > > > > ------------------------------ > > Message: 2 > Date: Tue, 1 Sep 2009 23:41:25 +0100 > From: Jim Avery > Subject: Re: [Nagios-users] Monitoring a router > To: nagios-users at lists.sourceforge.net > Message-ID: > <765d77c80909011541x554afae2l35122dcb8b439b1d at mail.gmail.com> > Content-Type: text/plain; charset=ISO-8859-1 > > 2009/9/1 David Dyer-Bennet : >> Is this "best practice" in the opinion of the community? ?Or is using >> SNMP >> to monitor something inside the router better somehow? ?And if so, WHAT? > > > Good question. One person's 'best practice' is another person's > over-kill or under-kill. > > My golden rule is "only monitor something if you're going to be > interested in it". For routers this usually means I simply ping them, > but often I'm interested in bandwidth of specific interfaces too so I > make sure specific WAN links are monitored for bandwidth, errors, > discards and so on using the plugins from http://www.manubulon.com > > It's often a good idea to have the router send you SNMP traps - you'll > need to configure snmptt to handle them though, maybe using NagTrap. > I often find I get more traps than I'm interested in though - which > breaks the golden rule (see above) - so I then need either to filter > the traps out in the snmptt config or prevent the router from sending > them in the first place. > > I used to monitor each router interface using ping, but now I think > that's usually overkill. It just depends ... > > > > ------------------------------ > > Message: 3 > Date: Wed, 02 Sep 2009 09:29:07 +0800 > From: ??? > Subject: Re: [Nagios-users] Why are there "commands"? > To: David Dyer-Bennet > Cc: nagios-users at lists.sourceforge.net > Message-ID: <4A9DCA63.7070508 at cht.com.tw> > Content-Type: text/plain; charset=UTF-8; format=flowed > > > If you code relevant checking command in each service, Nagios should > register every single command in system memory. > But by using command "templates", Nagios needs only register command > definitions "once" and parameters for each service, > this is more memory efficient. > > > David Dyer-Bennet ??: >> I don't really understand the purpose / utility of the "command" level of >> abstraction in Nagios configuration. (2.10; we're still on Centos 4.7). >> >> To define a new service to check particular Windows web services we've >> written, I define a service, and then it has to refer to a command, and >> over in the command I have to hard-code the parameters needed to test >> this >> specific service -- so in fact I need a separate command for each >> service. >> This seems, to me, to just introduce confusion, and separate bits of >> information that belong together. >> >> Is this just a historical artifact that in fact doesn't make much sense, >> or are there lots of cases where it's useful and makes it easier or >> clearer to do what you want? >> >> (I'm fine with "that's the way it works, but it doesn't really make much >> sense as it turns out", I've got plenty of that in my own code; I'm just >> looking for more understanding, in case it makes more sense than I've so >> far figured out.) >> >> As a broader question, are there documents that give more of a logical >> overview of Nagios, explaining how and why things are broken up and how >> they work together? >> >> ------------------------------------------------------------------------ >> >> >> No virus found in this incoming message. >> Checked by AVG - www.avg.com >> Version: 8.5.409 / Virus Database: 270.13.71/2330 - Release Date: >> 08/27/09 18:02:00 >> >> > > -- > ??? Liu,Yueh-Hung > ?????????? 0937044076 > ????????[???]????[?]????[?]???? yuehung at cht.com.tw > SCSA + ITIL Foundation + ISO 27001 Auditor > > > > > ------------------------------ > > Message: 4 > Date: Wed, 2 Sep 2009 09:28:49 +0100 > From: "craig at hooters-uk.com" > Subject: [Nagios-users] Nagio + SMS > To: nagios-users at lists.sourceforge.net > Message-ID: <887f328b40ba483ea6b687176ee48882.craig at hooters-uk.com> > Content-Type: text/plain; charset=utf-8 > > Hi all > > I'm looking for an SMS solution for my Nagios set-up > and noticed on the Nagios page that you lean towards > the SMS FoxBox, this looks like a nice solution but > at the cost of 850 Euro's this is way outside of my > budget. > > What does this community use and recommend for a nice > and simple as well a cheap SMS solutions. > > Thanks > > Craig > > > > > ------------------------------ > > Message: 5 > Date: Wed, 2 Sep 2009 09:38:41 +0100 > From: Grant Sewell > Subject: Re: [Nagios-users] Monitoring Unix machine from a windows > machine > To: nagios-users at lists.sourceforge.net > Message-ID: <20090902093841.75e83e35 at tempmail> > Content-Type: text/plain; charset=US-ASCII > > On Tue, 1 Sep 2009 16:46:19 +0200 > "Steven Battaille" wrote: > >> Hi all >> >> Is there somebody who got experience in monitoring Unix machines from >> a windows machine? >> >> I'm not able to install the nagios plugins on the Unix machine. So it >> is the windows machine that will launch the scripts on the Unix >> machine. >> >> Would this be done by SSH or any other manner? >> >> Thx >> >> Steven Battaille >> >> Advanced Projects & Products >> >> Belgium > > If you have SSH access to the machine, can you not compile the various > Nagios plugins on the target machine, place the compiled binary > executables into something like ~/bin, setup passwordless SSH access > (using keys) and then create your own commands to execute the > appropriate Nagios plugin remotely? > > Grant. > > > > ------------------------------ > > Message: 6 > Date: Wed, 2 Sep 2009 10:55:12 +0200 > From: "Masopust, Christian" > Subject: Re: [Nagios-users] Nagio + SMS > To: , > Message-ID: > <60721B67EAF0994EAFFB561767B7001403F6AA70 at nets13ha.ww300.siemens.net> > Content-Type: text/plain; charset="iso-8859-1" > > > Hello Craig, > > I'm using smstools (http://smstools.meinemullemaus.de/) with a simple > GSM-Modem (Siemens TC35) here and it does all I need. > > Christian > > > -- > "I sense much NT in you, NT leads to Blue Screen. > Blue Screen leads to downtime, downtime leads to suffering. NT is the path > to the darkside." > > - Unknown Unix Jedi > >> -----Original Message----- >> From: craig at hooters-uk.com [mailto:craig at hooters-uk.com] >> Sent: Wednesday, September 02, 2009 10:29 AM >> To: nagios-users at lists.sourceforge.net >> Subject: [Nagios-users] Nagio + SMS >> >> Hi all >> >> I'm looking for an SMS solution for my Nagios set-up >> and noticed on the Nagios page that you lean towards >> the SMS FoxBox, this looks like a nice solution but >> at the cost of 850 Euro's this is way outside of my >> budget. >> >> What does this community use and recommend for a nice >> and simple as well a cheap SMS solutions. >> >> Thanks >> >> Craig >> >> >> -------------------------------------------------------------- >> ---------------- >> Let Crystal Reports handle the reporting - Free Crystal >> Reports 2008 30-Day >> trial. Simplify your report design, integration and >> deployment - and focus on >> what you do best, core application coding. Discover what's new with >> Crystal Reports now. http://p.sf.net/sfu/bobj-july >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS >> when reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> > > > > ------------------------------ > > Message: 7 > Date: Wed, 2 Sep 2009 09:00:19 +0000 > From: Alex Dehaini > Subject: Re: [Nagios-users] Nagio + SMS > To: "Masopust, Christian" > Cc: nagios-users at lists.sourceforge.net > Message-ID: > <4b008f7d0909020200n534ebdb7g489370351a701893 at mail.gmail.com> > Content-Type: text/plain; charset="iso-8859-1" > > we use an email2sms gateway and it works well too. > > On Wed, Sep 2, 2009 at 8:55 AM, Masopust, Christian < > christian.masopust at siemens.com> wrote: > >> >> Hello Craig, >> >> I'm using smstools (http://smstools.meinemullemaus.de/) with a simple >> GSM-Modem (Siemens TC35) here and it does all I need. >> >> Christian >> >> >> -- >> "I sense much NT in you, NT leads to Blue Screen. >> Blue Screen leads to downtime, downtime leads to suffering. NT is the >> path >> to the darkside." >> >> - Unknown Unix Jedi >> >> > -----Original Message----- >> > From: craig at hooters-uk.com [mailto:craig at hooters-uk.com] >> > Sent: Wednesday, September 02, 2009 10:29 AM >> > To: nagios-users at lists.sourceforge.net >> > Subject: [Nagios-users] Nagio + SMS >> > >> > Hi all >> > >> > I'm looking for an SMS solution for my Nagios set-up >> > and noticed on the Nagios page that you lean towards >> > the SMS FoxBox, this looks like a nice solution but >> > at the cost of 850 Euro's this is way outside of my >> > budget. >> > >> > What does this community use and recommend for a nice >> > and simple as well a cheap SMS solutions. >> > >> > Thanks >> > >> > Craig >> > >> > >> > -------------------------------------------------------------- >> > ---------------- >> > Let Crystal Reports handle the reporting - Free Crystal >> > Reports 2008 30-Day >> > trial. Simplify your report design, integration and >> > deployment - and focus on >> > what you do best, core application coding. Discover what's new with >> > Crystal Reports now. http://p.sf.net/sfu/bobj-july >> > _______________________________________________ >> > Nagios-users mailing list >> > Nagios-users at lists.sourceforge.net >> > https://lists.sourceforge.net/lists/listinfo/nagios-users >> > ::: Please include Nagios version, plugin version (-v) and OS >> > when reporting any issue. >> > ::: Messages without supporting info will risk being sent to /dev/null >> > >> >> >> ------------------------------------------------------------------------------ >> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 >> 30-Day >> trial. Simplify your report design, integration and deployment - and >> focus >> on >> what you do best, core application coding. Discover what's new with >> Crystal Reports now. http://p.sf.net/sfu/bobj-july >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: 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... > > ------------------------------ > > Message: 8 > Date: Wed, 2 Sep 2009 10:15:22 +0100 > From: "craig at hooters-uk.com" > Subject: Re: [Nagios-users] Nagio + SMS > To: christian.masopust at siemens.com, craig at hooters-uk.com, > nagios-users at lists.sourceforge.net > Message-ID: <56ea706ac1ec4ee6aa5aaea861d2299e.craig at hooters-uk.com> > Content-Type: text/plain; charset=utf-8 > > Thanks for the replies, I guess we have to be looking > at a GSM gateway then as our rack manager will not > allow us to have loose mobiles in cabs. > > I have just had a quick Google on some GSM Modems and > wondered if any of these would be OK and use > something like gnokii. > > GSM Modems > http://www.rfsolutions.co.uk/acatalog/GSM_Modems.html > > Looking at this: > http://www.rfsolutions.co.uk/acatalog/Maestro_Industrial_GSM_Modem.html > > Thanks > > > ------- Original Message ------- >>From : Masopust, > Christian[mailto:christian.masopust at siemens.com] > Sent : 02/09/2009 09:55:12 > To : craig at hooters-uk.com; > nagios-users at lists.sourceforge.net > Cc : > Subject : RE: [Nagios-users] Nagio + SMS > > > Hello Craig, > > I'm using smstools ( > http://smstools.meinemullemaus.de/ ) with a simple > GSM-Modem (Siemens TC35) here and it does all I need. > > Christian > > > -- > "I sense much NT in you, NT leads to Blue Screen. > Blue Screen leads to downtime, downtime leads to > suffering. NT is the path to the darkside." > > - Unknown Unix Jedi > >> -----Original Message----- >> From: craig at hooters-uk.com [ > mailto:craig at hooters-uk.com] >> Sent: Wednesday, September 02, 2009 10:29 AM >> To: nagios-users at lists.sourceforge.net >> Subject: [Nagios-users] Nagio + SMS >> >> Hi all >> >> I'm looking for an SMS solution for my Nagios set-up >> and noticed on the Nagios page that you lean towards >> the SMS FoxBox, this looks like a nice solution but >> at the cost of 850 Euro's this is way outside of my >> budget. >> >> What does this community use and recommend for a nice >> and simple as well a cheap SMS solutions. >> >> Thanks >> >> Craig >> >> >> > -------------------------------------------------------------- >> ---------------- >> Let Crystal Reports handle the reporting - Free > Crystal >> Reports 2008 30-Day >> trial. Simplify your report design, integration and >> deployment - and focus on >> what you do best, core application coding. Discover > what's new with >> Crystal Reports now. http://p.sf.net/sfu/bobj-july >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> > https://lists.sourceforge.net/lists/listinfo/nagios-users > >> ::: Please include Nagios version, plugin version > (-v) and OS >> when reporting any issue. >> ::: Messages without supporting info will risk > being sent to /dev/null >> > > > > > > ------------------------------ > > Message: 9 > Date: Wed, 2 Sep 2009 10:21:06 +0100 > From: "Martyn" > Subject: Re: [Nagios-users] Nagio + SMS > To: , , > > Message-ID: > > > Content-Type: text/plain; charset="us-ascii" > > Craig not sure if this is a correct statement but I think that gnokii only > supports Nokia Mobiles, like I said not 100% sure. > > -----Original Message----- > From: craig at hooters-uk.com [mailto:craig at hooters-uk.com] > Sent: 02 September 2009 10:15 > To: christian.masopust at siemens.com; craig at hooters-uk.com; > nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Nagio + SMS > > Thanks for the replies, I guess we have to be looking at a GSM gateway > then > as our rack manager will not allow us to have loose mobiles in cabs. > > I have just had a quick Google on some GSM Modems and wondered if any of > these would be OK and use something like gnokii. > > GSM Modems > http://www.rfsolutions.co.uk/acatalog/GSM_Modems.html > > Looking at this: > http://www.rfsolutions.co.uk/acatalog/Maestro_Industrial_GSM_Modem.html > > Thanks > > > ------- Original Message ------- >>From : Masopust, > Christian[mailto:christian.masopust at siemens.com] > Sent : 02/09/2009 09:55:12 > To : craig at hooters-uk.com; > nagios-users at lists.sourceforge.net > Cc : > Subject : RE: [Nagios-users] Nagio + SMS > > > Hello Craig, > > I'm using smstools ( > http://smstools.meinemullemaus.de/ ) with a simple GSM-Modem (Siemens > TC35) > here and it does all I need. > > Christian > > > -- > "I sense much NT in you, NT leads to Blue Screen. > Blue Screen leads to downtime, downtime leads to suffering. NT is the path > to the darkside." > > - Unknown Unix Jedi > >> -----Original Message----- >> From: craig at hooters-uk.com [ > mailto:craig at hooters-uk.com] >> Sent: Wednesday, September 02, 2009 10:29 AM >> To: nagios-users at lists.sourceforge.net >> Subject: [Nagios-users] Nagio + SMS >> >> Hi all >> >> I'm looking for an SMS solution for my Nagios set-up and noticed on >> the Nagios page that you lean towards the SMS FoxBox, this looks like >> a nice solution but at the cost of 850 Euro's this is way outside of >> my budget. >> >> What does this community use and recommend for a nice and simple as >> well a cheap SMS solutions. >> >> Thanks >> >> Craig >> >> >> > -------------------------------------------------------------- >> ---------------- >> Let Crystal Reports handle the reporting - Free > Crystal >> Reports 2008 30-Day >> trial. Simplify your report design, integration and deployment - and >> focus on what you do best, core application coding. Discover > what's new with >> Crystal Reports now. http://p.sf.net/sfu/bobj-july >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> > https://lists.sourceforge.net/lists/listinfo/nagios-users > >> ::: Please include Nagios version, plugin version > (-v) and OS >> when reporting any issue. >> ::: Messages without supporting info will risk > being sent to /dev/null >> > > > > > > ------------------------------ > > Message: 10 > Date: Wed, 2 Sep 2009 12:26:08 +0300 > From: Juki > Subject: [Nagios-users] check_by_ssh error - Remote command execution > failed > To: Nagios Users Mail-list > Message-ID: > <7545d7d20909020226h40395a70m6f81278728547a33 at mail.gmail.com> > Content-Type: text/plain; charset="iso-8859-1" > > Hello people, > I'm trying to implement check_by_ssh to monitor local resource usage on a > remote host running Solaris 10. I'm following instructions as described in > the attachment. > > Following the instructions, I have managed to ensure that the central > Nagios > server (running Nagios v3.0rc2 on SuSE Linux 10.0) is able to connect to > the > remote host via SSH in a manner that does not require a password. Below > are > my command and service definitions, as defined on the central Nagios > server, > for one of the resources (root partition disk usage) I intend to monitor; > > > +++++ Service Definition +++++ > > define service{ > use generic-service ; Name > of service template to use > host_name sauga02 > service_description Root Partition > check_command check_ssh_disk!25%!20%! > notifications_enabled 0 > } > > > +++++ Command Definition +++++ > > # 'check_ssh_disk' command definition > define command { > command_name check_ssh_disk > command_line $USER1$/check_by_ssh -i /home/nagios/.ssh/id_dsa > -l nagios -H 10.151.28.22 -C /export/home/nagios/plugins/check_disk -w > $ARG1$ -c $ARG2$ -p $ARG3$ > } > > > I created a password-less public/private keypair as the user running the > Nagios service (typically "nagios"), sending the public key to the remote > server, and then (as user "nagios") logging into the remote system. > > After completing the setup, I run the following command from the central > Nagios server as a test and encountered the error as shown below; > > nagios at central-host:~> /usr/local/nagios/libexec/check_by_ssh -H > x.x.x.x -C > "/export/home/nagios/plugins/check_swap -w 50% -c 10%" > > Remote command execution failed: ###################### !!! WARNING !!! > ############################# > > where; > > - x.x.x.x - the IP of the remote host. > - /export/home/nagios/plugins - the location on the remote host where > the > plugins are run from > > > I also run the same command using the host name of the remote host but > that > gave me the same error. The web GUI also shows the same error. > > > Can someone please point me in the right direction towards solving this > issue? > > > Thanks, > Juki > -------------- next part -------------- > An HTML attachment was scrubbed... > -------------- next part -------------- > A non-text attachment was scrubbed... > Name: Linux012009.pdf > Type: application/pdf > Size: 41456 bytes > Desc: not available > > ------------------------------ > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 > 30-Day > trial. Simplify your report design, integration and deployment - and focus > on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > > ------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > End of Nagios-users Digest, Vol 40, Issue 3 > ******************************************* > ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sep 2 12:25:48 2009 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Wed, 02 Sep 2009 06:25:48 -0400 Subject: check_by_ssh error - Remote command execution failed In-Reply-To: <7545d7d20909020226h40395a70m6f81278728547a33@mail.gmail.com> References: <7545d7d20909020226h40395a70m6f81278728547a33@mail.gmail.com> Message-ID: <4A9E482C.3030507@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 02/09/09 05:26 AM, Juki wrote: > Hello people, > > Remote command execution failed: ###################### !!! WARNING !!! > ############################# This had to do with the server's kay that changed and is being cached in the nagios user's ~/.ssh/known_hosts. Find any entry matching the target host name or IP and delete them, then connect manually to the host as the nagios user. - -- Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFKnkgs6dZ+Kt5BchYRAltaAKCfycXEYyMfZRYlkvPkk6lQj9aHZACdFHt1 iOiO+/G7sLRVhAlWENfydps= =nXZy -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at thymox.co.uk Wed Sep 2 12:45:19 2009 From: nagios at thymox.co.uk (Grant Sewell) Date: Wed, 2 Sep 2009 11:45:19 +0100 Subject: check_by_ssh error - Remote command execution failed In-Reply-To: <4A9E482C.3030507@aei.ca> References: <7545d7d20909020226h40395a70m6f81278728547a33@mail.gmail.com> <4A9E482C.3030507@aei.ca> Message-ID: <20090902114519.580f0f5b@tempmail> On Wed, 02 Sep 2009 06:25:48 -0400 Thomas Guyot-Sionnest wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 02/09/09 05:26 AM, Juki wrote: > > Hello people, > > > > Remote command execution failed: ###################### !!! > > WARNING !!! ############################# > > This had to do with the server's kay that changed and is being cached > in the nagios user's ~/.ssh/known_hosts. Find any entry matching the > target host name or IP and delete them, then connect manually to the > host as the nagios user. > > - -- > Thomas I found that on a default Debian install (and presumably all Debian-related Linux distros), the Nagios user's 'home' directory (ie ~) was stored on a tmpfs mount... so if the machine was ever rebooted (we had several power-outs over the course of a week) the contents of ~/.ssh for the Nagios user wouldn't exist. I changed the 'home' of the Nagios user to somewhere on disk and stopped getting this error. Grant. ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alan.oceallaigh at gmail.com Wed Sep 2 13:12:58 2009 From: alan.oceallaigh at gmail.com (Alan O'Ceallaigh) Date: Wed, 2 Sep 2009 12:12:58 +0100 Subject: "Pending" host status on central server Message-ID: <74283b400909020412o770a521eq2214a0c7d5f49408@mail.gmail.com> Hi all, I am in the process of setting up a custom distributed Nagios configuration via the nsca facility. The central server is in a remote datacenter, and currently I am using a single satellite server to monitor my local network from the inside. Everything appears to be fine in that service status is being correctly passed to the central server for all hosts, so I suspect this may be a configuration issue. However, my issue is that the Host Status for all of the hosts is permanently "pending" on the remote (central)server. The local server sees all hosts as up. I am running Nagios v3.2.0. Any suggestions would be welcome. Contents of the nagios.cfg from the central server are below. Thanks & regards, Alan. ------------------------------------------------------------------------------------ log_file=/usr/local/nagios/var/nagios.log cfg_dir=/usr/local/nagios/etc/objects/commands cfg_dir=/usr/local/nagios/etc/objects/timeperiods cfg_dir=/usr/local/nagios/etc/objects/contacts cfg_dir=/usr/local/nagios/etc/objects/services cfg_dir=/usr/local/nagios/etc/objects/hosts cfg_dir=/usr/local/nagios/etc/objects/host-dependancies cfg_dir=/usr/local/nagios/etc/objects/templates object_cache_file=/usr/local/nagios/var/objects.cache precached_object_file=/usr/local/nagios/var/objects.precache resource_file=/usr/local/nagios/etc/resource.cfg status_file=/usr/local/nagios/var/status.dat status_update_interval=10 nagios_user=nagios nagios_group=nagios check_external_commands=1 command_check_interval=1 command_file=/usr/local/nagios/var/rw/nagios.cmd external_command_buffer_slots=4096 lock_file=/usr/local/nagios/var/nagios.lock temp_file=/usr/local/nagios/var/nagios.tmp temp_path=/tmp event_broker_options=-1 log_rotation_method=d log_archive_path=/usr/local/nagios/var/archives use_syslog=1 log_notifications=1 log_service_retries=1 log_host_retries=1 log_event_handlers=1 log_initial_states=0 log_external_commands=1 log_passive_checks=1 service_inter_check_delay_method=s max_service_check_spread=30 service_interleave_factor=s host_inter_check_delay_method=s max_host_check_spread=30 max_concurrent_checks=0 check_result_reaper_frequency=10 max_check_result_reaper_time=30 check_result_path=/usr/local/nagios/var/spool/checkresults max_check_result_file_age=3600 cached_host_check_horizon=15 cached_service_check_horizon=15 enable_predictive_host_dependency_checks=1 enable_predictive_service_dependency_checks=1 soft_state_dependencies=0 auto_reschedule_checks=0 auto_rescheduling_interval=30 auto_rescheduling_window=180 sleep_time=0.25 service_check_timeout=60 host_check_timeout=30 event_handler_timeout=30 notification_timeout=30 ocsp_timeout=5 perfdata_timeout=5 retain_state_information=1 state_retention_file=/usr/local/nagios/var/retention.dat retention_update_interval=60 use_retained_program_state=1 use_retained_scheduling_info=1 retained_host_attribute_mask=0 retained_service_attribute_mask=0 retained_process_host_attribute_mask=0 retained_process_service_attribute_mask=0 retained_contact_host_attribute_mask=0 retained_contact_service_attribute_mask=0 interval_length=60 use_aggressive_host_checking=0 execute_service_checks=0 accept_passive_service_checks=1 execute_host_checks=0 accept_passive_host_checks=1 enable_notifications=1 enable_event_handlers=1 process_performance_data=0 obsess_over_services=0 obsess_over_hosts=0 translate_passive_host_checks=0 passive_host_checks_are_soft=0 check_for_orphaned_services=1 check_for_orphaned_hosts=1 check_service_freshness=1 service_freshness_check_interval=60 check_host_freshness=0 host_freshness_check_interval=60 additional_freshness_latency=15 enable_flap_detection=1 low_service_flap_threshold=5.0 high_service_flap_threshold=20.0 low_host_flap_threshold=5.0 high_host_flap_threshold=20.0 date_format=us p1_file=/usr/local/nagios/bin/p1.pl enable_embedded_perl=1 use_embedded_perl_implicitly=1 illegal_object_name_chars=`~!$%^&*|'"<>?,()= illegal_macro_output_chars=`~$&|'"<> use_regexp_matching=0 use_true_regexp_matching=0 admin_email=nagios at localhost admin_pager=pagenagios at localhost daemon_dumps_core=0 use_large_installation_tweaks=0 enable_environment_macros=1 debug_level=2 debug_verbosity=0 debug_file=/usr/local/nagios/var/nagios.debug max_debug_file_size=1000000 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From juki.emma at gmail.com Wed Sep 2 13:19:18 2009 From: juki.emma at gmail.com (Juki) Date: Wed, 2 Sep 2009 14:19:18 +0300 Subject: check_by_ssh error - Remote command execution failed In-Reply-To: <7545d7d20909020418n6e5dc84et4601befe2bcfec61@mail.gmail.com> References: <7545d7d20909020226h40395a70m6f81278728547a33@mail.gmail.com> <4A9E482C.3030507@aei.ca> <7545d7d20909020418n6e5dc84et4601befe2bcfec61@mail.gmail.com> Message-ID: <7545d7d20909020419p4c8b84bfs52c77e7a985c6bd8@mail.gmail.com> 2009/9/2 Thomas Guyot-Sionnest > This had to do with the server's kay that changed and is being cached in > the nagios user's ~/.ssh/known_hosts. Find any entry matching the target > host name or IP and delete them, then connect manually to the host as > the nagios user. > Thanks for the reply. I deleted the entry matching the remote host's IP from the nagios user's ~/.ssh/known_hosts file on the nagios server. But that didn't help at all. On running the command again, I still got the error; nagios at central-host:/> /usr/local/nagios/libexec/check_by_ssh -H x.x.x.x -C "/export/home/nagios/plugins/check_swap -w 50% -c 10%" Remote command execution failed: ###################### !!! WARNING !!! ############################# In reply to Grant's comments, my Nagios user's home directory is stored on a local disk partition. Any more pointers? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ludo.joris at ua.ac.be Wed Sep 2 13:15:41 2009 From: ludo.joris at ua.ac.be (Joris Ludo) Date: Wed, 2 Sep 2009 13:15:41 +0200 Subject: Nagio + SMS In-Reply-To: <887f328b40ba483ea6b687176ee48882.craig@hooters-uk.com> References: <887f328b40ba483ea6b687176ee48882.craig@hooters-uk.com> Message-ID: <2F7B70885960AA42BE820036B3A8CDA06028A0@xmail06.ad.ua.ac.be> Hi, I'm using a Siemens MC35i Terminal GSM modem with Gammu and a few simple notification commands. Cost: GSM modem was 275 EUR, gammu is free. HTH -----Oorspronkelijk bericht----- Van: craig at hooters-uk.com [mailto:craig at hooters-uk.com] Verzonden: woensdag 2 september 2009 10:29 Aan: nagios-users at lists.sourceforge.net Onderwerp: [Nagios-users] Nagio + SMS Hi all I'm looking for an SMS solution for my Nagios set-up and noticed on the Nagios page that you lean towards the SMS FoxBox, this looks like a nice solution but at the cost of 850 Euro's this is way outside of my budget. What does this community use and recommend for a nice and simple as well a cheap SMS solutions. Thanks Craig ------------------------------------------------------------------------ ------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sep 2 14:17:33 2009 From: jc at info-systems.de (Jakob Curdes) Date: Wed, 02 Sep 2009 14:17:33 +0200 Subject: Nagio + SMS In-Reply-To: <56ea706ac1ec4ee6aa5aaea861d2299e.craig@hooters-uk.com> References: <56ea706ac1ec4ee6aa5aaea861d2299e.craig@hooters-uk.com> Message-ID: <4A9E625D.3080704@info-systems.de> craig at hooters-uk.com schrieb: > Thanks for the replies, I guess we have to be looking > at a GSM gateway then as our rack manager will not > allow us to have loose mobiles in cabs. > > I have just had a quick Google on some GSM Modems and > wondered if any of these would be OK and use > something like gnokii. > > We use westermo industrial GSM modems for rail mounting (need a 12-24 V DC power supply, though) with the tool already mentioned: >I'm using smstools (http://smstools.meinemullemaus.de/) On the Homepage of the tool there is a list of supported devices. The Siemens GSM modems should work also and are cheaper than the westermo ones. HTH, Jakob Curdes ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 packetalk.net Wed Sep 2 14:42:56 2009 From: jim at packetalk.net (Jim McNamara) Date: Wed, 02 Sep 2009 08:42:56 -0400 Subject: check_by_ssh error - Remote command execution failed In-Reply-To: <7545d7d20909020419p4c8b84bfs52c77e7a985c6bd8@mail.gmail.com> References: <7545d7d20909020226h40395a70m6f81278728547a33@mail.gmail.com> <4A9E482C.3030507@aei.ca> <7545d7d20909020418n6e5dc84et4601befe2bcfec61@mail.gmail.com> <7545d7d20909020419p4c8b84bfs52c77e7a985c6bd8@mail.gmail.com> Message-ID: <1251895376.4381.120.camel@jimsworktop.packetalk.net> On Wed, 2009-09-02 at 14:19 +0300, Juki wrote: > 2009/9/2 Thomas Guyot-Sionnest > > > > This had to do with the server's kay that changed and is being > cached in > > the nagios user's ~/.ssh/known_hosts. Find any entry matching > the target > host name or IP and delete them, then connect manually to the > host as > the nagios user. > > > > Thanks for the reply. > > > > > I deleted the entry matching the remote host's IP from the nagios > user's ~/.ssh/known_hosts file on the nagios server. But that > didn't help at all. > You deleted the old key info, but did you su to the nagios user and then ssh to the host? The first time you ssh to a host you'll get prompted to accept the key fingerprint of the remote host. I believe if you simply su the the nagios user then ssh to the remote host you'll be asked to accept the fingerprint of the remote host, then the error should stop. > > On running the command again, I still got the error; > > > nagios at central-host:/> /usr/local/nagios/libexec/check_by_ssh -H > x.x.x.x -C "/export/home/nagios/plugins/check_swap -w 50% -c 10%" > > > Remote command execution failed: ###################### !!! > WARNING !!! ############################# > > > > > In reply to Grant's comments, my Nagios user's home directory is > stored on a local disk partition. > > > Any more pointers? > > > > > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jay_lm at hotmail.com Wed Sep 2 15:55:44 2009 From: jay_lm at hotmail.com (joseph malai) Date: Wed, 2 Sep 2009 13:55:44 +0000 Subject: nagios services http shows HTTP WARNING: HTTP/1.1 403 Forbidden Message-ID: Hi all ,i install nagios 3.1.2 ,plugin 1.4.13,centos 5 and i can view it by http://localhost/nagios to pc which was installed but it show services HTTP WARNING: HTTP/1.1 403 Forbidden and i can't view to other machine by http://ip/nagios what are the problems i attached step by step guide to install nagion,terminal when httpd restarted and nagios.conf on one file as pdf kindly help _________________________________________________________________ Drag n? drop?Get easy photo sharing with Windows Live? Photos. http://www.microsoft.com/windows/windowslive/products/photos.aspx -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: nagios.conf&terminal&guide to install nagios.pdf Type: application/pdf Size: 156377 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sep 2 16:53:39 2009 From: marc at ena.com (Marc Powell) Date: Wed, 2 Sep 2009 09:53:39 -0500 Subject: nagios services http shows HTTP WARNING: HTTP/1.1 403 Forbidden In-Reply-To: References: Message-ID: <132C7DF5-4717-415F-96FF-CACDDCCB3900@ena.com> On Sep 2, 2009, at 8:55 AM, joseph malai wrote: > Hi all ,i install nagios 3.1.2 ,plugin 1.4.13,centos 5 and i can > view it by http://localhost/nagios to pc which was installed but it > show services HTTP WARNING: HTTP/1.1 403 Forbidden and i can't view > to other machine by http://ip/nagios what are the problems > Starting httpd: [Wed Sep 02 16:20:58 2009] [warn] The ScriptAlias > directive in > /etc/httpd/conf.d/nagios.conf at line 9 will probably never match > because it overlaps an earlier > ScriptAlias. grep your apache config files for 'ScriptAlias, find out what this conflict is and correct it. > [Wed Sep 02 16:20:58 2009] [warn] The Alias directive in /etc/httpd/ > conf.d/nagios.conf at line 28 will > probably never match because it overlaps an earlier Alias. grep your apache config files for 'Alias', find out what this conflict is and correct it. -- Marc ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Sep 2 17:18:18 2009 From: jonathan.wheeler at stfc.ac.uk (Wheeler, Jonathan (STFC,RAL,ESC)) Date: Wed, 2 Sep 2009 16:18:18 +0100 Subject: FW: Atlas Staff Fund subscription Message-ID: Sorry, this was sent to the wrong address - please ignore Jonathan Wheeler e-Science Centre Rutherford Appleton Laboratory > -----Original Message----- > From: Wheeler, Jonathan (STFC,RAL,ESC) > Sent: 02 September 2009 16:17 > To: Nagios User list > Subject: Atlas Staff Fund subscription > > Dear Nick > > Your 6 monthly payment to the ATLAS STAFF FUND expired on Friday 19th June > 2009. Please would you arrange to pay me ?10 as soon as possible. Cheques > should be made payable to 'Atlas Staff Fund'. > > Yours sincerely > > Jonathan Wheeler > Treasurer -- Scanned by iCritical. ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Sep 2 17:17:19 2009 From: jonathan.wheeler at stfc.ac.uk (Wheeler, Jonathan (STFC,RAL,ESC)) Date: Wed, 2 Sep 2009 16:17:19 +0100 Subject: Atlas Staff Fund subscription Message-ID: Dear Nick Your 6 monthly payment to the ATLAS STAFF FUND expired on Friday 19th June 2009. Please would you arrange to pay me ?10 as soon as possible. Cheques should be made payable to 'Atlas Staff Fund'. Yours sincerely Jonathan Wheeler Treasurer -- Scanned by iCritical. ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ranjithkodumbu at yahoo.co.in Wed Sep 2 17:39:31 2009 From: ranjithkodumbu at yahoo.co.in (ranjith kumar) Date: Wed, 2 Sep 2009 08:39:31 -0700 (PDT) Subject: www.ranjithkumar.com In-Reply-To: <7545d7d20909020419p4c8b84bfs52c77e7a985c6bd8@mail.gmail.com> References: <7545d7d20909020419p4c8b84bfs52c77e7a985c6bd8@mail.gmail.com> Message-ID: <5907.10138.qm@web95408.mail.in2.yahoo.com> Please check this link www.ranjithkumar.com Looking for local information? Find it on Yahoo! Local http://in.local.yahoo.com/ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sep 2 17:52:45 2009 From: jpratt at norwich.edu (James Pratt) Date: Wed, 2 Sep 2009 11:52:45 -0400 Subject: www.ranjithkumar.com In-Reply-To: <5907.10138.qm@web95408.mail.in2.yahoo.com> References: <7545d7d20909020419p4c8b84bfs52c77e7a985c6bd8@mail.gmail.com> <5907.10138.qm@web95408.mail.in2.yahoo.com> Message-ID: <8147CCE3C4A8764DA9980125EE70E823010AABBF@nuexchg.norwich.edu> >> -----Original Message----- >> From: ranjith kumar [mailto:ranjithkodumbu at yahoo.co.in] >> Sent: Wednesday, September 02, 2009 11:40 AM >> To: nagios-users at lists.sourceforge.net >> Subject: [Nagios-users] www.ranjithkumar.com >> >> Please check this link www.ranjithkumar.com >> Super... But... Any particular reason why? ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sep 2 19:56:04 2009 From: marc at ena.com (Marc Powell) Date: Wed, 2 Sep 2009 12:56:04 -0500 Subject: www.ranjithkumar.com In-Reply-To: <8147CCE3C4A8764DA9980125EE70E823010AABBF@nuexchg.norwich.edu> References: <7545d7d20909020419p4c8b84bfs52c77e7a985c6bd8@mail.gmail.com> <5907.10138.qm@web95408.mail.in2.yahoo.com> <8147CCE3C4A8764DA9980125EE70E823010AABBF@nuexchg.norwich.edu> Message-ID: <10ED6283-4229-4883-8472-7ADF931CC049@ena.com> On Sep 2, 2009, at 10:52 AM, James Pratt wrote: > > >>> -----Original Message----- >>> From: ranjith kumar [mailto:ranjithkodumbu at yahoo.co.in] >>> Sent: Wednesday, September 02, 2009 11:40 AM >>> To: nagios-users at lists.sourceforge.net >>> Subject: [Nagios-users] www.ranjithkumar.com >>> >>> Please check this link [spam] >>> > > Super... But... Any particular reason why? For him to get paid $$. This is the second post by this person, both spam. In May he tried telling us how we could earn 2000 Rupies daily with no investment. I'm still waiting for my check. Oh to be a listmom with kick-ability. -- Marc ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From neufpas at gmail.com Wed Sep 2 20:26:12 2009 From: neufpas at gmail.com (Noel Platzke) Date: Wed, 2 Sep 2009 14:26:12 -0400 Subject: trouble accessing cgi pages after enabling ldap authentication with active directory Message-ID: <96c54e8b0909021126r4d51fe65s8ae12397f865127e@mail.gmail.com> Hi, I've recently changed the authentication scheme for my nagios installion from htpasswd files to active directory authentication using active directory. I can login fine but I'm presented with the "It appears as though you do not have permission to view information for any of the services you requested..." screen whenever I try to access any of the cgi pages. Authentication definitely works as the initial login and navigation works and I even see my name in the logs. But for some reason the cgi pages are all restricted. I'm even setup in cgi.cfg as authorized_for_all_* Something tells me that nagios is seeing my username as something different than what's in apache but that's just a guess. Any ideas? Relevant section of httpd conf file included here... SSLRequireSSL Options -Indexes AuthType Basic AuthName "Nagios Login" AuthBasicProvider ldap AuthzLDAPAuthoritative Off AuthLDAPURL "ldap:// ldapserver.net:389/ou=myOU,dc=myDC,dc=net?sAMAccountName?sub?(objectClass=user) " AuthLDAPBindDN "cn=USER,ou=myOU1,ou=myOU2,ou=myOU3,dc=myDC,dc=net" AuthLDAPBindPassword PASSWORD Require ldap-group cn=myCN,ou=myOU1,ou=myOU2,ou=myOU3,ou=myOU4,dc=myDC,dc=net ErrorDocument 401 /noaccess.html ErrorDocument 403 /noaccess.html -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sep 2 20:52:08 2009 From: marc at ena.com (Marc Powell) Date: Wed, 2 Sep 2009 13:52:08 -0500 Subject: trouble accessing cgi pages after enabling ldap authentication with active directory In-Reply-To: <96c54e8b0909021126r4d51fe65s8ae12397f865127e@mail.gmail.com> References: <96c54e8b0909021126r4d51fe65s8ae12397f865127e@mail.gmail.com> Message-ID: <1301DB0C-23B8-4126-8F50-A8D25892021C@ena.com> On Sep 2, 2009, at 1:26 PM, Noel Platzke wrote: > Something tells me that nagios is seeing my username as something > different than what's in apache but that's just a guess. Any ideas? No guessing needed... It's displayed on every page (top left, "Logged in as "). What does it show? If it's '?', you don't have .htaccess for your sbin directory configured properly. -- Marc ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From neufpas at gmail.com Wed Sep 2 21:29:54 2009 From: neufpas at gmail.com (Noel Platzke) Date: Wed, 2 Sep 2009 15:29:54 -0400 Subject: trouble accessing cgi pages after enabling ldap authentication with active directory In-Reply-To: <96c54e8b0909021126r4d51fe65s8ae12397f865127e@mail.gmail.com> References: <96c54e8b0909021126r4d51fe65s8ae12397f865127e@mail.gmail.com> Message-ID: <96c54e8b0909021229j2475fe6fj96f3c699bfe8e29c@mail.gmail.com> Problem solved. I had enabled use_ssl_authentication in cgi.cfg and when I turned it off username stopped being displayed as '?' and I was able to access the cgi pages. On Wed, Sep 2, 2009 at 2:26 PM, Noel Platzke wrote: > Hi, > I've recently changed the authentication scheme for my nagios installion > from htpasswd files to active directory authentication using active > directory. I can login fine but I'm presented with the "It appears as though > you do not have permission to view information for any of the services you > requested..." screen whenever I try to access any of the cgi pages. > Authentication definitely works as the initial login and navigation works > and I even see my name in the logs. But for some reason the cgi pages are > all restricted. I'm even setup in cgi.cfg as authorized_for_all_* > > Something tells me that nagios is seeing my username as something different > than what's in apache but that's just a guess. Any ideas? > > Relevant section of httpd conf file included here... > > > SSLRequireSSL > Options -Indexes > AuthType Basic > AuthName "Nagios Login" > AuthBasicProvider ldap > AuthzLDAPAuthoritative Off > AuthLDAPURL "ldap:// > ldapserver.net:389/ou=myOU,dc=myDC,dc=net?sAMAccountName?sub?(objectClass=user) > " > AuthLDAPBindDN > "cn=USER,ou=myOU1,ou=myOU2,ou=myOU3,dc=myDC,dc=net" > AuthLDAPBindPassword PASSWORD > Require ldap-group > cn=myCN,ou=myOU1,ou=myOU2,ou=myOU3,ou=myOU4,dc=myDC,dc=net > ErrorDocument 401 /noaccess.html > ErrorDocument 403 /noaccess.html > > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dd-b at dd-b.net Wed Sep 2 23:09:57 2009 From: dd-b at dd-b.net (David Dyer-Bennet) Date: Wed, 2 Sep 2009 16:09:57 -0500 Subject: Monitoring a router In-Reply-To: <765d77c80909011541x554afae2l35122dcb8b439b1d@mail.gmail.com> References: <765d77c80909011541x554afae2l35122dcb8b439b1d@mail.gmail.com> Message-ID: <8951ef8a00af2a698c66c65903381aa6.squirrel@webmail.dd-b.net> On Tue, September 1, 2009 17:41, Jim Avery wrote: > 2009/9/1 David Dyer-Bennet : >> Is this "best practice" in the opinion of the community? ?Or is using >> SNMP >> to monitor something inside the router better somehow? ?And if so, WHAT? > > > Good question. One person's 'best practice' is another person's > over-kill or under-kill. Ain't it the truth! And they're probably right for their actual situation, even. > My golden rule is "only monitor something if you're going to be > interested in it". This seems to be getting back to Steinbach's Guildeline for Systems Programming: never test for an error condition you don't know how to handle. > For routers this usually means I simply ping them, > but often I'm interested in bandwidth of specific interfaces too so I > make sure specific WAN links are monitored for bandwidth, errors, > discards and so on using the plugins from http://www.manubulon.com Another group is responsible for that level of network maintenance. I hope they're monitoring that sort of detail. > It's often a good idea to have the router send you SNMP traps - you'll > need to configure snmptt to handle them though, maybe using NagTrap. > I often find I get more traps than I'm interested in though - which > breaks the golden rule (see above) - so I then need either to filter > the traps out in the snmptt config or prevent the router from sending > them in the first place. I probably can't get traps sent to me. But, really, I only care about routers in terms of what parts of the topology I can and can't reach, and ping will tell me that. > I used to monitor each router interface using ping, but now I think > that's usually overkill. It just depends ... Right. Thanks. -- David Dyer-Bennet, dd-b at dd-b.net; http://dd-b.net/ Snapshots: http://dd-b.net/dd-b/SnapshotAlbum/data/ Photos: http://dd-b.net/photography/gallery/ Dragaera: http://dragaera.info ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dd-b at dd-b.net Wed Sep 2 23:12:10 2009 From: dd-b at dd-b.net (David Dyer-Bennet) Date: Wed, 2 Sep 2009 16:12:10 -0500 Subject: Monitoring a router In-Reply-To: <20A4EBFF-7414-4F8D-819E-0E82340B79A8@ena.com> References: <20A4EBFF-7414-4F8D-819E-0E82340B79A8@ena.com> Message-ID: <814b4bdf2898af2862a8b21bf56d33ac.squirrel@webmail.dd-b.net> On Tue, September 1, 2009 16:54, Marc Powell wrote: > > On Sep 1, 2009, at 4:41 PM, David Dyer-Bennet wrote: > >> Right now I'm just pinging it. That works, in the sense that I get >> the >> ping back. But I am suspicious that, if the link went down, the router >> would still respond to pings. >> >> Is this "best practice" in the opinion of the community? > > We monitor about 3000 routers with ping only. We ping an RFC 1918 IP > assigned to the loopback interface on the router. That way, as long as > any serial interface on the router is up, the router is still 'up' > without us having to configure every a ping for every serial > interface. This is sufficiently 'up' for our SLA purposes... For the > purposes of parenting, the ping check is likely sufficient. Thanks for reminding me about the collection of IP interfaces sitting in that router. That makes ping more precise. > We also monitor the individual interfaces via SNMP to know when any > one goes down. We have a process such that we don't need to add each > specific serial interface into nagios but just figure what should be > up in real time. Sounds like a more complicated network than ours. And the network isn't my responsibility, I'm just looking to use it to filter out failure reports from services beyond failed network links. -- David Dyer-Bennet, dd-b at dd-b.net; http://dd-b.net/ Snapshots: http://dd-b.net/dd-b/SnapshotAlbum/data/ Photos: http://dd-b.net/photography/gallery/ Dragaera: http://dragaera.info ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lmw94002 at hotmail.com Wed Sep 2 23:53:21 2009 From: lmw94002 at hotmail.com (Mathew Walker) Date: Wed, 2 Sep 2009 17:53:21 -0400 Subject: Nagio + SMS In-Reply-To: <4A9E625D.3080704@info-systems.de> References: <56ea706ac1ec4ee6aa5aaea861d2299e.craig@hooters-uk.com> <4A9E625D.3080704@info-systems.de> Message-ID: The irony is we setup SMS vis Clickatell today to send our SMS alerts. I documented what I did on our Nagios server ... http://www.techadre.com/content/tweak-nagios-sms-messaging Of course the service isn't free, but when it's critical and an email doesn't cut it and you have SLAs to meet... -- Mat W. - http://www.techadre.com > Date: Wed, 2 Sep 2009 14:17:33 +0200 > From: jc at info-systems.de > To: craig at hooters-uk.com > CC: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Nagio + SMS > > craig at hooters-uk.com schrieb: > > Thanks for the replies, I guess we have to be looking > > at a GSM gateway then as our rack manager will not > > allow us to have loose mobiles in cabs. > > > > I have just had a quick Google on some GSM Modems and > > wondered if any of these would be OK and use > > something like gnokii. > > > > > We use westermo industrial GSM modems for rail mounting (need a 12-24 V > DC power supply, though) with the tool already mentioned: > > >I'm using smstools (http://smstools.meinemullemaus.de/) > > On the Homepage of the tool there is a list of supported devices. The > Siemens GSM modems should work also and are cheaper than the westermo ones. > > > HTH, > Jakob Curdes > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null _________________________________________________________________ With Windows Live, you can organize, edit, and share your photos. http://www.windowslive.com/Desktop/PhotoGallery -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Sep 3 02:53:30 2009 From: patrick.morris at hp.com (Morris, Patrick) Date: Wed, 2 Sep 2009 17:53:30 -0700 Subject: trouble accessing cgi pages after enabling ldap authentication with active directory In-Reply-To: <96c54e8b0909021126r4d51fe65s8ae12397f865127e@mail.gmail.com> References: <96c54e8b0909021126r4d51fe65s8ae12397f865127e@mail.gmail.com> Message-ID: <20090903005330.GI24459@bakgwai.americas.hpqcorp.net> On Wed, 02 Sep 2009, Noel Platzke wrote: > Hi, > I've recently changed the authentication scheme for my nagios installion from htpasswd files to active directory authentication using active directory. I can login fine but I'm presented with the "It appears as though you do not have permission to view information for any of the services you requested..." screen whenever I try to access any of the cgi pages. Authentication definitely works as the initial login and navigation works and I even see my name in the logs. But for some reason the cgi pages are all restricted. I'm even setup in cgi.cfg as authorized_for_all_* > > Something tells me that nagios is seeing my username as something different than what's in apache but that's just a guess. Any ideas? > > Relevant section of httpd conf file included here... > > > SSLRequireSSL > Options -Indexes > AuthType Basic > AuthName "Nagios Login" > AuthBasicProvider ldap > AuthzLDAPAuthoritative Off > AuthLDAPURL "ldap://ldapserver.net:389/ou=myOU,dc=myDC,dc=net?sAMAccountName?sub?(objectClass=user)" > AuthLDAPBindDN "cn=USER,ou=myOU1,ou=myOU2,ou=myOU3,dc=myDC,dc=net" > AuthLDAPBindPassword PASSWORD > Require ldap-group cn=myCN,ou=myOU1,ou=myOU2,ou=myOU3,ou=myOU4,dc=myDC,dc=net > ErrorDocument 401 /noaccess.html > ErrorDocument 403 /noaccess.html > A couple questions: Does the box at the top of the page say "logged in as [name you logged in with here]?" Is it the name you expect? Are the names people are logging in with (as displayed on the Nagios interface) the same as the contact names on the hosts and services they need to view? ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ranjithkodumbu at yahoo.co.in Thu Sep 3 08:01:38 2009 From: ranjithkodumbu at yahoo.co.in (ranjith kumar) Date: Wed, 2 Sep 2009 23:01:38 -0700 (PDT) Subject: People search Engine!!! Message-ID: <391655.26355.qm@web95416.mail.in2.yahoo.com> Hi All, ? Use http://ranjithkumar.com/?search Engine to search peoples in 50 states and their backgroup check. ? Regards, Ranjith Send free SMS to your Friends on Mobile from your Yahoo! Messenger. Download Now! http://messenger.yahoo.com/download.php -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sep 3 09:32:52 2009 From: martyn at chetnet.co.uk (Martyn) Date: Thu, 3 Sep 2009 08:32:52 +0100 Subject: Nagio + SMS In-Reply-To: References: Message-ID: Hi Craig, looks like I was wrong after doing some research -----Original Message----- From: Martyn [mailto:martyn at chetnet.co.uk] Sent: 02 September 2009 10:21 To: craig at hooters-uk.com; christian.masopust at siemens.com; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Nagio + SMS Craig not sure if this is a correct statement but I think that gnokii only supports Nokia Mobiles, like I said not 100% sure. -----Original Message----- From: craig at hooters-uk.com [mailto:craig at hooters-uk.com] Sent: 02 September 2009 10:15 To: christian.masopust at siemens.com; craig at hooters-uk.com; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Nagio + SMS Thanks for the replies, I guess we have to be looking at a GSM gateway then as our rack manager will not allow us to have loose mobiles in cabs. I have just had a quick Google on some GSM Modems and wondered if any of these would be OK and use something like gnokii. GSM Modems http://www.rfsolutions.co.uk/acatalog/GSM_Modems.html Looking at this: http://www.rfsolutions.co.uk/acatalog/Maestro_Industrial_GSM_Modem.html Thanks ------- Original Message ------- >From : Masopust, Christian[mailto:christian.masopust at siemens.com] Sent : 02/09/2009 09:55:12 To : craig at hooters-uk.com; nagios-users at lists.sourceforge.net Cc : Subject : RE: [Nagios-users] Nagio + SMS Hello Craig, I'm using smstools ( http://smstools.meinemullemaus.de/ ) with a simple GSM-Modem (Siemens TC35) here and it does all I need. Christian -- "I sense much NT in you, NT leads to Blue Screen. Blue Screen leads to downtime, downtime leads to suffering. NT is the path to the darkside." - Unknown Unix Jedi > -----Original Message----- > From: craig at hooters-uk.com [ mailto:craig at hooters-uk.com] > Sent: Wednesday, September 02, 2009 10:29 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Nagio + SMS > > Hi all > > I'm looking for an SMS solution for my Nagios set-up and noticed on > the Nagios page that you lean towards the SMS FoxBox, this looks like > a nice solution but at the cost of 850 Euro's this is way outside of > my budget. > > What does this community use and recommend for a nice and simple as > well a cheap SMS solutions. > > Thanks > > Craig > > > -------------------------------------------------------------- > ---------------- > Let Crystal Reports handle the reporting - Free Crystal > Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and > focus on what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sep 3 10:10:19 2009 From: jim at jimavery.me.uk (Jim Avery) Date: Thu, 3 Sep 2009 09:10:19 +0100 Subject: Monitoring a router In-Reply-To: <814b4bdf2898af2862a8b21bf56d33ac.squirrel@webmail.dd-b.net> References: <20A4EBFF-7414-4F8D-819E-0E82340B79A8@ena.com> <814b4bdf2898af2862a8b21bf56d33ac.squirrel@webmail.dd-b.net> Message-ID: <765d77c80909030110u5bcf9fefs835e61fe2b461373@mail.gmail.com> 2009/9/2 David Dyer-Bennet : > I'm just looking to use it to filter out failure > reports from services beyond failed network links. If that's the case I'd recommend maybe implementing your checks solely (and somewhat pedantically) from the perspective of what is useful for Nagios reachability checks. I would set up a host check for each interface on the far side of the router (from the Nagios server), but only for interfaces where there are hosts behind which Nagios is interested in. That way, if the one router interface goes down, or if the whole router goes down, then either way Nagios should handle reachability properly (assuming you've also set the parent relationships on the child nodes correctly too). Cheers, Jim ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From natxo.asenjo at gmail.com Thu Sep 3 13:24:48 2009 From: natxo.asenjo at gmail.com (Natxo Asenjo) Date: Thu, 3 Sep 2009 13:24:48 +0200 Subject: nsclient++ check_nt USEDDISKSPACE Segmentation fault In-Reply-To: References: Message-ID: <90f6e8270909030424x5cd0e029sc271d54471dafee7@mail.gmail.com> On Mon, Aug 31, 2009 at 5:48 PM, Massimo Balestra < massimobalestra at hotmail.com> wrote: > I have a problem monitoring the USEDDISKSPACE on one drive of one of the > windows servers. > > > > It is a Windows Server 2003 R2 Standard edition (Service pack 2). > > The problem occurs after I did the last Windows Update last Friday. Before > it was working. > your update broke it :( well, two solutions: 1. roll update back; 2. check disks with nrpe in windows: in your nsc.ini define an nrpe handler like this one: nrpe_CheckDriveSize=inject CheckDriveSize MinWarn=10% MinCrit=5% CheckAll FilterType=FIXED FilterType=REMOTE and your check disk service in nagios would be something like: check_nrpe -H $HOSTADDRESS$ -c nrpe_CheckDriveSize it works great like this. We check *all* disks in one go. natxo -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lscarneiro at veltrac.com.br Thu Sep 3 13:44:12 2009 From: lscarneiro at veltrac.com.br (Leonardo Carneiro) Date: Thu, 03 Sep 2009 08:44:12 -0300 Subject: can nagios take some pro-active actions? Message-ID: <4A9FAC0C.9010809@veltrac.com.br> hello everyone. Started to play with Nagios a few days ago and i'm very excited with it. I have a very small setup (2 linux server being monitored via npre by a third linux server) and i'd wrote some bash scripts to monitor some of the services that we run on those services (proprietary services, non-standard ones like ssh, apache and that stuff). I know Nagios can send sms, email and other things to warn administrators about problems, but can Nagios take any action to fix the problem, like restart the service if reach critical state, or restart the service if the service stays critical for more than 5 minutes? If yes, can someone just point me to the direction i should go? :) Tks in advance, and sorry about my poor english. I'm from Brazil. -- *Leonardo de Souza Carneiro* *Veltrac - Tecnologia em Log?stica.* lscarneiro at veltrac.com.br http://www.veltrac.com.br /Fone Com.: (43)2105-5601/ /Av. Higien?polis 1601 Ed. Eurocenter Sl. 803/ /Londrina- PR/ /Cep: 86015-010/ ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sep 3 14:09:01 2009 From: marc at ena.com (Marc Powell) Date: Thu, 3 Sep 2009 07:09:01 -0500 Subject: can nagios take some pro-active actions? In-Reply-To: <4A9FAC0C.9010809@veltrac.com.br> References: <4A9FAC0C.9010809@veltrac.com.br> Message-ID: <19CACA41-39E1-4E13-88F4-CC1DBCF45CA6@ena.com> On Sep 3, 2009, at 6:44 AM, Leonardo Carneiro wrote: > I know Nagios can send sms, email and other things to warn > administrators about problems, but can Nagios take any action to fix > the > problem, like restart the service if reach critical state, or restart > the service if the service stays critical for more than 5 minutes? Yes. Nagios calls them 'Event handlers'. -- Marc ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Chris.Menard at Aspect.com Thu Sep 3 14:16:37 2009 From: Chris.Menard at Aspect.com (Menard, Chris) Date: Thu, 3 Sep 2009 08:16:37 -0400 Subject: can nagios take some pro-active actions? In-Reply-To: <4A9FAC0C.9010809@veltrac.com.br> References: <4A9FAC0C.9010809@veltrac.com.br> Message-ID: Yes...look for event_handler -----Original Message----- From: Leonardo Carneiro [mailto:lscarneiro at veltrac.com.br] Sent: Thursday, September 03, 2009 7:44 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] can nagios take some pro-active actions? hello everyone. Started to play with Nagios a few days ago and i'm very excited with it. I have a very small setup (2 linux server being monitored via npre by a third linux server) and i'd wrote some bash scripts to monitor some of the services that we run on those services (proprietary services, non-standard ones like ssh, apache and that stuff). I know Nagios can send sms, email and other things to warn administrators about problems, but can Nagios take any action to fix the problem, like restart the service if reach critical state, or restart the service if the service stays critical for more than 5 minutes? If yes, can someone just point me to the direction i should go? :) Tks in advance, and sorry about my poor english. I'm from Brazil. -- *Leonardo de Souza Carneiro* *Veltrac - Tecnologia em Log?stica.* lscarneiro at veltrac.com.br http://www.veltrac.com.br /Fone Com.: (43)2105-5601/ /Av. Higien?polis 1601 Ed. Eurocenter Sl. 803/ /Londrina- PR/ /Cep: 86015-010/ ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kdavison at innosphere.ca Thu Sep 3 14:44:16 2009 From: kdavison at innosphere.ca (Kevin Davison) Date: Thu, 3 Sep 2009 08:44:16 -0400 Subject: www.ranjithkumar.com In-Reply-To: <8147CCE3C4A8764DA9980125EE70E823010AABBF@nuexchg.norwich.edu> References: <7545d7d20909020419p4c8b84bfs52c77e7a985c6bd8@mail.gmail.com> <5907.10138.qm@web95408.mail.in2.yahoo.com> <8147CCE3C4A8764DA9980125EE70E823010AABBF@nuexchg.norwich.edu> Message-ID: <002601ca2c94$41aba3b0$c502eb10$@ca> Nope! Apparently just spam. -----Original Message----- From: James Pratt [mailto:jpratt at norwich.edu] Sent: Wednesday, September 02, 2009 11:53 AM To: ranjith kumar; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] www.ranjithkumar.com >> -----Original Message----- >> From: ranjith kumar [mailto:ranjithkodumbu at yahoo.co.in] >> Sent: Wednesday, September 02, 2009 11:40 AM >> To: nagios-users at lists.sourceforge.net >> Subject: [Nagios-users] www.ranjithkumar.com >> >> Please check this link www.ranjithkumar.com >> Super... But... Any particular reason why? ---------------------------------------------------------------------------- -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null No virus found in this incoming message. Checked by AVG - www.avg.com Version: 8.5.409 / Virus Database: 270.13.74/2339 - Release Date: 09/02/09 05:50:00 ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 catsnest.co.uk Thu Sep 3 14:23:01 2009 From: mail at catsnest.co.uk (mail at catsnest.co.uk) Date: Thu, 3 Sep 2009 13:23:01 +0100 Subject: can nagios take some pro-active actions? In-Reply-To: <4A9FAC0C.9010809@veltrac.com.br> References: <4A9FAC0C.9010809@veltrac.com.br> Message-ID: <315c8c6f0909030523l20fe809s70cc8a96631c6c26@mail.gmail.com> Hi And welcome to the wonderful world of Nagios. I think what you want are "event_handlers" (have a look in the Nagios Doc's http://nagios.sourceforge.net/docs/3_0/eventhandlers.html ) Ritchie On Thu, Sep 3, 2009 at 12:44 PM, Leonardo Carneiro < lscarneiro at veltrac.com.br> wrote: > hello everyone. > > Started to play with Nagios a few days ago and i'm very excited with it. > I have a very small setup (2 linux server being monitored via npre by a > third linux server) and i'd wrote some bash scripts to monitor some of > the services that we run on those services (proprietary services, > non-standard ones like ssh, apache and that stuff). > > I know Nagios can send sms, email and other things to warn > administrators about problems, but can Nagios take any action to fix the > problem, like restart the service if reach critical state, or restart > the service if the service stays critical for more than 5 minutes? > > If yes, can someone just point me to the direction i should go? :) > > Tks in advance, and sorry about my poor english. I'm from Brazil. > -- > > *Leonardo de Souza Carneiro* > *Veltrac - Tecnologia em Log?stica.* > lscarneiro at veltrac.com.br > http://www.veltrac.com.br > /Fone Com.: (43)2105-5601/ > /Av. Higien?polis 1601 Ed. Eurocenter Sl. 803/ > /Londrina- PR/ > /Cep: 86015-010/ > > > > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus > on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lincolnzsilva at gmail.com Thu Sep 3 15:09:17 2009 From: lincolnzsilva at gmail.com (Lincoln Zuljewic Silva) Date: Thu, 3 Sep 2009 10:09:17 -0300 Subject: Control false-positives alarms Message-ID: Good morning to all, I was reading the Nagios documentation about service and contact definition and didn?t find any parameter that could be used to control false-positives alarms. For example: the CPU load may vary during a time period (30 minutes) and I would like to receive an alarm message only when the ?max_check_attempts? is reached, or only if the CPU load is greater than the critical parameter for X minutes. I?m using Nagios v3. Regards -- Lincoln Zuljewic Silva MSN: lincolnzsilva at gmail.com Mobile: +55-11-9608-3408 URL: http://meadiciona.com/lsilva/ "How often must a question be asked before it?s considered a frequently asked question?" ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dit.dash at gmail.com Thu Sep 3 15:30:28 2009 From: dit.dash at gmail.com (dave stern - e-mail.pluribus.unum) Date: Thu, 3 Sep 2009 09:30:28 -0400 Subject: can nagios take some pro-active actions? In-Reply-To: <4A9FAC0C.9010809@veltrac.com.br> References: <4A9FAC0C.9010809@veltrac.com.br> Message-ID: <7f62d2420909030630ua1e3e0ew2a3012b3e1de0ab7@mail.gmail.com> Ok, everyone agrees event handler can take action to fix a problem but bear in mind that this comes with caveats. Affectively, nagios event handler is treating a symptom; the disease goes merely on its way. If a service stops, WHY did it stop in the first place? Most good sysadmins would tackle the problem from the system end to insure that the service would never fail again. Furthermore, let's say a service failed for a reason, eg out of disk space. What good what it do to restart the service again? And if you build smarts into the event handler to look for and fix such a condition, is that the ONLY condition that could occur to stop this service? Having said all this, event handlers do have their place. We in fact use them to shut down hosts if the temperature gets too hot. You can imagine the testing we went through before rolling out something like this. On Thu, Sep 3, 2009 at 7:44 AM, Leonardo Carneiro wrote: > hello everyone. > > Started to play with Nagios a few days ago and i'm very excited with it. > I have a very small setup (2 linux server being monitored via npre by a > third linux server) and i'd wrote some bash scripts to monitor some of > the services that we run on those services (proprietary services, > non-standard ones like ssh, apache and that stuff). > > I know Nagios can send sms, email and other things to warn > administrators about problems, but can Nagios take any action to fix the > problem, like restart the service if reach critical state, or restart > the service if the service stays critical for more than 5 minutes? > > If yes, can someone just point me to the direction i should go? :) > > Tks in advance, and sorry about my poor english. I'm from Brazil. > -- > > *Leonardo de Souza Carneiro* > *Veltrac - Tecnologia em Log?stica.* > lscarneiro at veltrac.com.br > http://www.veltrac.com.br > /Fone Com.: (43)2105-5601/ > /Av. Higien?polis 1601 Ed. Eurocenter Sl. 803/ > /Londrina- PR/ > /Cep: 86015-010/ > > > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lscarneiro at veltrac.com.br Thu Sep 3 16:03:39 2009 From: lscarneiro at veltrac.com.br (Leonardo Carneiro) Date: Thu, 03 Sep 2009 11:03:39 -0300 Subject: can nagios take some pro-active actions? In-Reply-To: <7f62d2420909030630ua1e3e0ew2a3012b3e1de0ab7@mail.gmail.com> References: <4A9FAC0C.9010809@veltrac.com.br> <7f62d2420909030630ua1e3e0ew2a3012b3e1de0ab7@mail.gmail.com> Message-ID: <4A9FCCBB.4020603@veltrac.com.br> Tks to everyone. Let me explain the situation. The service in question is a software developed by my own company. This service "consumes" files in a defined directory, generated by other program. This is the metric i use to monitor. Like any software in constant development, it will eventualy crash or freeze. Doing so, the files on the directory end up accumulating. If the number of files cross the threshold, the warn or crit flag is set up. We DO check why the service stoped, but the service must be up and running as fast as possible, so this is why we restart the service. Later we can check what is going wrong. I also made, some months ago, a simple bash script that monitors the # of files, restart the service if necessary and logs this kind of event. What i do not know if this is the best aproach. Nagios gives me the visual tools to se in real time in a big panel if everything is OK with my servers. So i though if it can take proactives actions and if this aproach would be better than my simple scripts. dave stern - e-mail.pluribus.unum escreveu: > Ok, everyone agrees event handler can take action to fix a problem but bear in > mind that this comes with caveats. Affectively, nagios event handler is treating > a symptom; the disease goes merely on its way. If a service stops, WHY did > it stop in the first place? Most good sysadmins would tackle the problem from > the system end to insure that the service would never fail again. Furthermore, > let's say a service failed for a reason, eg out of disk space. What > good what it > do to restart the service again? And if you build smarts into the > event handler to > look for and fix such a condition, is that the ONLY condition that could occur > to stop this service? > > Having said all this, event handlers do have their place. We in fact use them > to shut down hosts if the temperature gets too hot. You can imagine the > testing we went through before rolling out something like this. > > > > On Thu, Sep 3, 2009 at 7:44 AM, Leonardo > Carneiro wrote: > >> hello everyone. >> >> Started to play with Nagios a few days ago and i'm very excited with it. >> I have a very small setup (2 linux server being monitored via npre by a >> third linux server) and i'd wrote some bash scripts to monitor some of >> the services that we run on those services (proprietary services, >> non-standard ones like ssh, apache and that stuff). >> >> I know Nagios can send sms, email and other things to warn >> administrators about problems, but can Nagios take any action to fix the >> problem, like restart the service if reach critical state, or restart >> the service if the service stays critical for more than 5 minutes? >> >> If yes, can someone just point me to the direction i should go? :) >> >> Tks in advance, and sorry about my poor english. I'm from Brazil. >> -- >> >> *Leonardo de Souza Carneiro* >> *Veltrac - Tecnologia em Log?stica.* >> lscarneiro at veltrac.com.br >> http://www.veltrac.com.br >> /Fone Com.: (43)2105-5601/ >> /Av. Higien?polis 1601 Ed. Eurocenter Sl. 803/ >> /Londrina- PR/ >> /Cep: 86015-010/ >> >> >> >> >> ------------------------------------------------------------------------------ >> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day >> trial. Simplify your report design, integration and deployment - and focus on >> what you do best, core application coding. Discover what's new with >> Crystal Reports now. http://p.sf.net/sfu/bobj-july >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> >> > > -- *Leonardo de Souza Carneiro* *Veltrac - Tecnologia em Log?stica.* lscarneiro at veltrac.com.br http://www.veltrac.com.br /Fone Com.: (43)2105-5601/ /Av. Higien?polis 1601 Ed. Eurocenter Sl. 803/ /Londrina- PR/ /Cep: 86015-010/ ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Chris.Menard at Aspect.com Thu Sep 3 16:20:17 2009 From: Chris.Menard at Aspect.com (Menard, Chris) Date: Thu, 3 Sep 2009 10:20:17 -0400 Subject: can nagios take some pro-active actions? In-Reply-To: <4A9FCCBB.4020603@veltrac.com.br> References: <4A9FAC0C.9010809@veltrac.com.br> <7f62d2420909030630ua1e3e0ew2a3012b3e1de0ab7@mail.gmail.com> <4A9FCCBB.4020603@veltrac.com.br> Message-ID: We use event_handlers EXACTLY as you describe. Let nagios restart service immediately and THEN figure out why it stopped. We all agree that root cause analysis is important....but often secondary to restoring service. -----Original Message----- From: Leonardo Carneiro [mailto:lscarneiro at veltrac.com.br] Sent: Thursday, September 03, 2009 10:04 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] can nagios take some pro-active actions? Tks to everyone. Let me explain the situation. The service in question is a software developed by my own company. This service "consumes" files in a defined directory, generated by other program. This is the metric i use to monitor. Like any software in constant development, it will eventualy crash or freeze. Doing so, the files on the directory end up accumulating. If the number of files cross the threshold, the warn or crit flag is set up. We DO check why the service stoped, but the service must be up and running as fast as possible, so this is why we restart the service. Later we can check what is going wrong. I also made, some months ago, a simple bash script that monitors the # of files, restart the service if necessary and logs this kind of event. What i do not know if this is the best aproach. Nagios gives me the visual tools to se in real time in a big panel if everything is OK with my servers. So i though if it can take proactives actions and if this aproach would be better than my simple scripts. dave stern - e-mail.pluribus.unum escreveu: > Ok, everyone agrees event handler can take action to fix a problem but bear in > mind that this comes with caveats. Affectively, nagios event handler is treating > a symptom; the disease goes merely on its way. If a service stops, WHY did > it stop in the first place? Most good sysadmins would tackle the problem from > the system end to insure that the service would never fail again. Furthermore, > let's say a service failed for a reason, eg out of disk space. What > good what it > do to restart the service again? And if you build smarts into the > event handler to > look for and fix such a condition, is that the ONLY condition that could occur > to stop this service? > > Having said all this, event handlers do have their place. We in fact use them > to shut down hosts if the temperature gets too hot. You can imagine the > testing we went through before rolling out something like this. > > > > On Thu, Sep 3, 2009 at 7:44 AM, Leonardo > Carneiro wrote: > >> hello everyone. >> >> Started to play with Nagios a few days ago and i'm very excited with it. >> I have a very small setup (2 linux server being monitored via npre by a >> third linux server) and i'd wrote some bash scripts to monitor some of >> the services that we run on those services (proprietary services, >> non-standard ones like ssh, apache and that stuff). >> >> I know Nagios can send sms, email and other things to warn >> administrators about problems, but can Nagios take any action to fix the >> problem, like restart the service if reach critical state, or restart >> the service if the service stays critical for more than 5 minutes? >> >> If yes, can someone just point me to the direction i should go? :) >> >> Tks in advance, and sorry about my poor english. I'm from Brazil. >> -- >> >> *Leonardo de Souza Carneiro* >> *Veltrac - Tecnologia em Log?stica.* >> lscarneiro at veltrac.com.br >> http://www.veltrac.com.br >> /Fone Com.: (43)2105-5601/ >> /Av. Higien?polis 1601 Ed. Eurocenter Sl. 803/ >> /Londrina- PR/ >> /Cep: 86015-010/ >> >> >> >> >> ------------------------------------------------------------------------------ >> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day >> trial. Simplify your report design, integration and deployment - and focus on >> what you do best, core application coding. Discover what's new with >> Crystal Reports now. http://p.sf.net/sfu/bobj-july >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> >> > > -- *Leonardo de Souza Carneiro* *Veltrac - Tecnologia em Log?stica.* lscarneiro at veltrac.com.br http://www.veltrac.com.br /Fone Com.: (43)2105-5601/ /Av. Higien?polis 1601 Ed. Eurocenter Sl. 803/ /Londrina- PR/ /Cep: 86015-010/ ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lscarneiro at veltrac.com.br Thu Sep 3 16:26:46 2009 From: lscarneiro at veltrac.com.br (Leonardo Carneiro) Date: Thu, 03 Sep 2009 11:26:46 -0300 Subject: can nagios take some pro-active actions? In-Reply-To: References: <4A9FAC0C.9010809@veltrac.com.br> <7f62d2420909030630ua1e3e0ew2a3012b3e1de0ab7@mail.gmail.com> <4A9FCCBB.4020603@veltrac.com.br> Message-ID: <4A9FD226.2000401@veltrac.com.br> Yeah, i understand that exists some situations that a event handler can't effectively fix something, but reading the documention link you guys send me, it turns out that this is EXACTLY what i'm looking for. check some times, restart, check again, if still down, notify the admin somehow. Thanks again to everyone for your support. Menard, Chris escreveu: > We use event_handlers EXACTLY as you describe. Let nagios restart service immediately and THEN figure out why it stopped. > > We all agree that root cause analysis is important....but often secondary to restoring service. > > > -----Original Message----- > From: Leonardo Carneiro [mailto:lscarneiro at veltrac.com.br] > Sent: Thursday, September 03, 2009 10:04 AM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] can nagios take some pro-active actions? > > Tks to everyone. Let me explain the situation. The service in question > is a software developed by my own company. This service "consumes" files > in a defined directory, generated by other program. This is the metric i > use to monitor. > > Like any software in constant development, it will eventualy crash or > freeze. Doing so, the files on the directory end up accumulating. If the > number of files cross the threshold, the warn or crit flag is set up. > > We DO check why the service stoped, but the service must be up and > running as fast as possible, so this is why we restart the service. > Later we can check what is going wrong. > > I also made, some months ago, a simple bash script that monitors the # > of files, restart the service if necessary and logs this kind of event. > > What i do not know if this is the best aproach. Nagios gives me the > visual tools to se in real time in a big panel if everything is OK with > my servers. So i though if it can take proactives actions and if this > aproach would be better than my simple scripts. > > dave stern - e-mail.pluribus.unum escreveu: > >> Ok, everyone agrees event handler can take action to fix a problem but bear in >> mind that this comes with caveats. Affectively, nagios event handler is treating >> a symptom; the disease goes merely on its way. If a service stops, WHY did >> it stop in the first place? Most good sysadmins would tackle the problem from >> the system end to insure that the service would never fail again. Furthermore, >> let's say a service failed for a reason, eg out of disk space. What >> good what it >> do to restart the service again? And if you build smarts into the >> event handler to >> look for and fix such a condition, is that the ONLY condition that could occur >> to stop this service? >> >> Having said all this, event handlers do have their place. We in fact use them >> to shut down hosts if the temperature gets too hot. You can imagine the >> testing we went through before rolling out something like this. >> >> >> >> On Thu, Sep 3, 2009 at 7:44 AM, Leonardo >> Carneiro wrote: >> >> >>> hello everyone. >>> >>> Started to play with Nagios a few days ago and i'm very excited with it. >>> I have a very small setup (2 linux server being monitored via npre by a >>> third linux server) and i'd wrote some bash scripts to monitor some of >>> the services that we run on those services (proprietary services, >>> non-standard ones like ssh, apache and that stuff). >>> >>> I know Nagios can send sms, email and other things to warn >>> administrators about problems, but can Nagios take any action to fix the >>> problem, like restart the service if reach critical state, or restart >>> the service if the service stays critical for more than 5 minutes? >>> >>> If yes, can someone just point me to the direction i should go? :) >>> >>> Tks in advance, and sorry about my poor english. I'm from Brazil. >>> -- >>> >>> *Leonardo de Souza Carneiro* >>> *Veltrac - Tecnologia em Log?stica.* >>> lscarneiro at veltrac.com.br >>> http://www.veltrac.com.br >>> /Fone Com.: (43)2105-5601/ >>> /Av. Higien?polis 1601 Ed. Eurocenter Sl. 803/ >>> /Londrina- PR/ >>> /Cep: 86015-010/ >>> >>> >>> >>> >>> ------------------------------------------------------------------------------ >>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day >>> trial. Simplify your report design, integration and deployment - and focus on >>> what you do best, core application coding. Discover what's new with >>> Crystal Reports now. http://p.sf.net/sfu/bobj-july >>> _______________________________________________ >>> Nagios-users mailing list >>> Nagios-users at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >>> ::: Messages without supporting info will risk being sent to /dev/null >>> >>> >>> >> >> > > -- *Leonardo de Souza Carneiro* *Veltrac - Tecnologia em Log?stica.* lscarneiro at veltrac.com.br http://www.veltrac.com.br /Fone Com.: (43)2105-5601/ /Av. Higien?polis 1601 Ed. Eurocenter Sl. 803/ /Londrina- PR/ /Cep: 86015-010/ ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Sep 3 16:32:05 2009 From: patrick.morris at hp.com (Morris, Patrick) Date: Thu, 03 Sep 2009 07:32:05 -0700 Subject: Control false-positives alarms In-Reply-To: References: Message-ID: <4A9FD365.90405@hp.com> Lincoln Zuljewic Silva wrote: > Good morning to all, > > I was reading the Nagios documentation about service and contact > definition and didn?t find any parameter that could be used to control > false-positives alarms. > > For example: the CPU load may vary during a time period (30 minutes) > and I would like to receive an alarm message only when the > ?max_check_attempts? is reached, or only if the CPU load is greater > than the critical parameter for X minutes. > This is exactly how Nagios works by default. If your max_check_attempts is set to 3, for example, it will need 3 non-OK results in a row before it will notify. ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Sep 3 16:57:40 2009 From: kyleodonnell at gmail.com (Kyle O'Donnell) Date: Thu, 3 Sep 2009 10:57:40 -0400 Subject: AIX 6.1 Binaries for nsca, nrpe, nagios-plugins available Message-ID: <2274b9c30909030757h26d52020u5b80368f1ef376ef@mail.gmail.com> I've compiled the binaries and uploaded to the nagios^H^H^H^H^H^Hmonitoringexchange: http://www.monitoringexchange.org/cgi-bin/page.cgi?g=Detailed%2F3192.html;d=1 Compiled binaries for AIX 6.1 NRPE 2.12 ./configure --prefix=/opt/nagios --enable-command-args --without-ssl NSCA 2.7.2 ./configure --prefix=/opt/nagios --without-mcrypt check_logfiles 3.0: ./configure --prefix=/opt/nagios --with-seekfiles-dir=/var/tmp --with-protocols-dir=/var/tmp nagios-plugins-trunk-200909021200 ./configure --prefix=/opt/nagios --enable-perl-modules --with-ps-command="/usr/sysv/bin/ps -eo 's uid pid ppid vsz rss pcpu etime comm args'" --with-ps-format="%s %d %d %d %d %d %f %s %s %n" --with-ps-cols=10 --with-ps-varlist="procstat,&procuid,&procpid,&procppid,&procvsz,&procrss,&procpcpu,procetime,procprog,&pos" ENJOY! ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sep 3 16:55:21 2009 From: marc at ena.com (Marc Powell) Date: Thu, 3 Sep 2009 09:55:21 -0500 Subject: Control false-positives alarms In-Reply-To: References: Message-ID: <80848B8F-6F28-4BF1-8EFC-A5B73EDECEE0@ena.com> On Sep 3, 2009, at 8:09 AM, Lincoln Zuljewic Silva wrote: > For example: the CPU load may vary during a time period (30 minutes) > and I would like to receive an alarm message only when the > ?max_check_attempts? is reached, or only if the CPU load is greater > than the critical parameter for X minutes. That's what nagios does. Unless you've set 'is_volatile', nagios will only send an alert when max_check_attempts is reached and then again every notification_interval. -- Marc ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From leandro.magnabosco at fcdl-sc.org.br Thu Sep 3 14:18:33 2009 From: leandro.magnabosco at fcdl-sc.org.br (Leandro Quibem Magnabosco) Date: Thu, 03 Sep 2009 09:18:33 -0300 Subject: can nagios take some pro-active actions? In-Reply-To: <4A9FAC0C.9010809@veltrac.com.br> References: <4A9FAC0C.9010809@veltrac.com.br> Message-ID: <4A9FB419.8070104@fcdl-sc.org.br> An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: logotipos.gif Type: image/gif Size: 3319 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Chris.Menard at Aspect.com Thu Sep 3 17:40:13 2009 From: Chris.Menard at Aspect.com (Menard, Chris) Date: Thu, 3 Sep 2009 11:40:13 -0400 Subject: can nagios take some pro-active actions? In-Reply-To: <4A9FB419.8070104@fcdl-sc.org.br> References: <4A9FAC0C.9010809@veltrac.com.br> <4A9FB419.8070104@fcdl-sc.org.br> Message-ID: Using nagios event_handlers provided a couple benefits. First, you can configure when to restart or correct the service. You can wait for the 2nd or 3rd SOFT non-OK status to perform the corrective action. This takes into account false-positives (as described in another thread today) and will avoid corrective actions when not needed. Second, by using nagios event_handlers, you have a record of all actions in one place, and visibility to the issue. From: Leandro Quibem Magnabosco [mailto:leandro.magnabosco at fcdl-sc.org.br] Sent: Thursday, September 03, 2009 8:19 AM To: Leonardo Carneiro Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] can nagios take some pro-active actions? "Ol?" Leonardo, Please note that Nagios uses mostly scripts to check services/disk/etc. and that those scripts that 'tell' nagios the status of the service/daemon/disk/etc. That said, I think you should not focus on Nagios to be proactive hence that it's scripts could be used for that. Let's say you have check_http configured to check www.example.com. It would connect to www.example.com on port 80 and report if it suceeds on sending a cmd or not . If something goes wrong, it would send a critical message back. This does not mean that the script is necessarily alerting nagios about the problem, it is alerting whatever called it in the first place. What I mean is, you don't *need* nagios to be in the middle of it and (IMO) you should not try to integrate it into this kind of solution because it would just make things more complicated. One simple way to implement that would be improving the scripts that comes with nagios-plugins. A "simple" if statement and some coding after it would do the trick. If the script already has the capability to check the status of something and be aware of the present status and take active measures . Interfere with the "function" that prints the message "CRITICAL" to make it, for eg., "ssh -T host /etc/init.d/apache2 restart". This email might be a little confusing cause I'm not thinking proper english this morning, but I would be happy to help you in our both mother language (portuguese) if you prefer. Good luck for now, [cid:image001.gif at 01CA2C8B.2B064D30] Leandro Quibem Magnabosco Consultor de TI (48) 3251-5323 leandro.magnabosco at fcdl-sc.org.br www.fcdl-sc.org.br Rua: Rafael Bandeira, 41 CEP. 88015-450 Florian?polis - SC "Este ? um e-mail oriundo da Federa??o das C?maras de Dirigentes Lojistas de Santa Catarina, e seu conte?do ? confidencial e destinado exclusivamente a seu(s) destinat?rio(s), n?o podendo ser copiado ou repassado,no todo ou em parte, a terceiros. Se esta mensagem foi-lhe enviada por engano, pedimos o obs?quio de entrar em contato conosco. This is an e-mail from the Federa??o das C?maras de Dirigentes Lojistas de Santa Catarina and its contents are privileged and confidential to the ordinary user(s) of the e-mail address(es) to which it was addressed, and no one else may copy or forward all or any of it in any form. If this e-mail was sent to you in error, please contact us." Leonardo Carneiro escreveu: hello everyone. Started to play with Nagios a few days ago and i'm very excited with it. I have a very small setup (2 linux server being monitored via npre by a third linux server) and i'd wrote some bash scripts to monitor some of the services that we run on those services (proprietary services, non-standard ones like ssh, apache and that stuff). I know Nagios can send sms, email and other things to warn administrators about problems, but can Nagios take any action to fix the problem, like restart the service if reach critical state, or restart the service if the service stays critical for more than 5 minutes? If yes, can someone just point me to the direction i should go? :) Tks in advance, and sorry about my poor english. I'm from Brazil. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.gif Type: image/gif Size: 3319 bytes Desc: image001.gif URL: -------------- next part -------------- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From massimobalestra at hotmail.com Thu Sep 3 17:53:53 2009 From: massimobalestra at hotmail.com (Massimo Balestra) Date: Thu, 3 Sep 2009 08:53:53 -0700 Subject: nsclient++ check_nt USEDDISKSPACE Segmentation fault In-Reply-To: <90f6e8270909030424x5cd0e029sc271d54471dafee7@mail.gmail.com> References: <90f6e8270909030424x5cd0e029sc271d54471dafee7@mail.gmail.com> Message-ID: Hi Thank you for the answer. I don't think the problem is the windows update. I think that there is a problem that showed up only after the windows update. And the problem is: accessing the drive C from a service I get this error: Could not get free space for: c: c: reason: 32: The process cannot access the file because it is being used by another process. In other words: a permission denied. And, if this is true, don't solve it setting up another way to perform my check. Is there anybody who already had this problem and can help me solve it? I already tried to run the nsclient++ service as system account and as administrator (with its password). Same result. Thank you. Massimo From: Natxo Asenjo [mailto:natxo.asenjo at gmail.com] Sent: Thursday, September 03, 2009 4:25 AM To: Nagios Users Mailinglist Subject: Re: [Nagios-users] nsclient++ check_nt USEDDISKSPACE Segmentation fault On Mon, Aug 31, 2009 at 5:48 PM, Massimo Balestra wrote: I have a problem monitoring the USEDDISKSPACE on one drive of one of the windows servers. It is a Windows Server 2003 R2 Standard edition (Service pack 2). The problem occurs after I did the last Windows Update last Friday. Before it was working. your update broke it :( well, two solutions: 1. roll update back; 2. check disks with nrpe in windows: in your nsc.ini define an nrpe handler like this one: nrpe_CheckDriveSize=inject CheckDriveSize MinWarn=10% MinCrit=5% CheckAll FilterType=FIXED FilterType=REMOTE and your check disk service in nagios would be something like: check_nrpe -H $HOSTADDRESS$ -c nrpe_CheckDriveSize it works great like this. We check *all* disks in one go. natxo -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From td3201 at gmail.com Thu Sep 3 20:10:04 2009 From: td3201 at gmail.com (Terry) Date: Thu, 3 Sep 2009 13:10:04 -0500 Subject: service dependency problem - config check hangs Message-ID: <8ee061010909031110r60489881p93c31f3bce3a3839@mail.gmail.com> Hello, When I try to check my config, it hangs on "Checking for circular host and service dependencies...". I have this service dependency: define servicedependency{ hostgroup_name windows service_description nrpe dependent_hostgroup_name windows dependent_service_description automatic services inherits_parent 1 execution_failure_criteria n notification_failure_criteria w,u,c } define hostgroup { hostgroup_name windows alias windows } define service { use service-active hostgroup_name windows service_description automatic services check_command check_nrpe_win_all_services!exclude=SysmonLog } define service { use service-active hostgroup_name windows service_description nrpe check_command check_tcp!5666 } Any ideas? ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sep 3 20:11:37 2009 From: cyruspy at gmail.com (Ciro Iriarte) Date: Thu, 3 Sep 2009 14:11:37 -0400 Subject: NRPE gives wrong exit codes Message-ID: Hi, i'm trying to monitor a Solaris box using NRPE. The thing is nagios sees always an EXIT_CODE=0. Running the check by hand on the Solaris host works as expected: -------------- [solaris ~]$ /usr/local/nagios/libexec/check_disk -w 50% -c 10% -p /kml_ DISK WARNING - free space: /kml_inst2 101125 MB (28% inode=100%);| /kml_inst2=248599MB;174862;314752;0;349725 [solaris ~]$ echo $? 1 -------------- But running it from the nagios host I get: ------------- spmon:~ # /usr/lib/nagios/plugins/check_nrpe -H solaris -c check_disk -a 50% 10% /test DISK WARNING - free space: /test 101125 MB (28% inode=100%);| /test=248599MB;174862;314752;0;349725 spmon:~ # echo $? 0 ------------- Versions: check_nrpe -------------- NRPE Plugin for Nagios Copyright (c) 1999-2008 Ethan Galstad (nagios at nagios.org) Version: 2.12 Last Modified: 03-10-2008 License: GPL v2 with exemptions (-l for more info) SSL/TLS Available: Anonymous DH Mode, OpenSSL 0.9.6 or higher required ------------- remote NRPE agent ------------- spmon:~ # /usr/lib/nagios/plugins/check_nrpe -H solaris NRPE v2.12 ------------ It's a bug in NRPE agent?, configuration error? Regards, -- Ciro Iriarte http://cyruspy.wordpress.com -- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Sep 3 20:48:48 2009 From: patrick.morris at hp.com (Morris, Patrick) Date: Thu, 3 Sep 2009 11:48:48 -0700 Subject: NRPE gives wrong exit codes In-Reply-To: References: Message-ID: <20090903184848.GB27586@bakgwai.americas.hpqcorp.net> On Thu, 03 Sep 2009, Ciro Iriarte wrote: > Hi, i'm trying to monitor a Solaris box using NRPE. The thing is > nagios sees always an EXIT_CODE=0. > > Running the check by hand on the Solaris host works as expected: > > -------------- > [solaris ~]$ /usr/local/nagios/libexec/check_disk -w 50% -c 10% -p /kml_ > DISK WARNING - free space: /kml_inst2 101125 MB (28% inode=100%);| > /kml_inst2=248599MB;174862;314752;0;349725 > [solaris ~]$ echo $? > 1 > -------------- > > But running it from the nagios host I get: > ------------- > spmon:~ # /usr/lib/nagios/plugins/check_nrpe -H solaris -c check_disk > -a 50% 10% /test > DISK WARNING - free space: /test 101125 MB (28% inode=100%);| > /test=248599MB;174862;314752;0;349725 > spmon:~ # echo $? > 0 > ------------- How is check_disk defined in your nrpe config and is it configured to allow arguments? ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Scott_Xiao at nec.com.sg Thu Sep 3 20:54:26 2009 From: Scott_Xiao at nec.com.sg (Scott Xiao) Date: Fri, 4 Sep 2009 02:54:26 +0800 Subject: any solution which will allow me to forward Nagios alerts to Netcool? In-Reply-To: References: Message-ID: <726E5F84A1A5F740AFB691669E628DEFFAC95B@NECSAP-SIN-XCH.NECSAPSIN.COM> Hi Max Thanks for your help! I am now ok to use the snmptrap to send out alert. But it seems the nagios doesn't involk the send_trap script to do the job. I setup same on a vm with nagios and use my laptop with wireshark to monitor incoming snmp traffic. In localhost.cfg, I changed to 1 and 2 for current users to create warning. I can see warning on nagios UI but still nothing to capture on sniffer with port 162. unless I manual to send trap..anything I mssing? I also attached the result that sniffer recieved, and my cfg as below. please advise, Thanks! define service{ use local-service ; Name of service template to use host_name localhost service_description Current Users event_handler send_trap event_handler_enabled 1 check_command check_local_users!1!2 } commands.cfg # 'send_trap' command definition define command{ command_name send_trap command_line /optnagios/libexec/send_trap 192.168.32.1 public $HOSTNAME$ $SERVICEDESC$ $SERVICESTATEID$ $SERVICEOUTPUT$ } [root at nagios libexec]# more send_trap #!/bin/sh # Arguments: # $1 = Management Station # $2 = Community String # $3 = host_name # $4 = service_description (Description of the service) # $5 = return_code (An integer that determines the state # of the service check, 0=OK, 1=WARNING, 2=CRITICAL, # 3=UNKNOWN). # $6 = plugin_output (A text string that should be used # as the plugin output for the service check) # # echo $1 >> /var/tmp/debug echo $2 >> /var/tmp/debug echo $3 >> /var/tmp/debug echo $HOSTNAME$ >> /var/tmp/debug echo $SERVICEDESC$ >> /var/tmp/debug echo $SERVICESTATEID$ >> /var/tmp/debug echo $SERVICEOUTPUT$ >> /var/tmp/debug /usr/bin/snmptrap -v 2c -c $2 $1 '' NAGIOS-NOTIFY-MIB::nSvcEvent nSvcHostname s $3 nSvcDesc s "$ 4" nSvcStateID i $5 nSvcOutput s "$6" #/usr/bin/snmptrap -v 2c -c $2 192.168.32.1 '' NAGIOS-NOTIFY-MIB::nSvcEvent nSvcHostname s "$3" nSvcDesc s "$4" nSvcStateID i $5 nSvcOutput s "$6" [root at nagios libexec]# [root at nagios libexec]# /usr/bin/snmptrap -v 2c -c public 192.168.32.1 '' NAGIOS-NOTIFY-MIB::nSvcEvent nSvcHostname s localhost nSvcDesc s "some service desc supposed to come from nagios" nSvcStateID i 0 nSvcOutput s "some service may down testing" [root at nagios libexec]# tail /var/tmp/debug 192.168.32.1 public localhost nagios.localdomain$ $ $ $ [root at nagios libexec]# -----Original Message----- From: max.schubert at gmail.com [mailto:max.schubert at gmail.com] On Behalf Of Max Sent: Wednesday, August 26, 2009 12:31 PM To: Scott Xiao Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] any solution which will allow me to forward Nagios alerts to Netcool? Scott, On Wed, Aug 26, 2009 at 12:02 AM, Scott Xiao wrote: > > Hi friends > Is there any solution which will allow me to forward > Nagios alerts to Netcool? I read looperng but not many details on how to > forward the alert to netcool, any advice (url /docs)? > Thanks > Scott Does Netcool have a trap receiver? If so, you can forward alerts with SNMP. We forward Nagios notifications to Spectrum by sending them as traps using the NAGIOS-NOTIFY-MIB service and host events .. works quite well. - max -------------- next part -------------- A non-text attachment was scrubbed... Name: nagiosforwarding1.pcap Type: application/octet-stream Size: 314 bytes Desc: nagiosforwarding1.pcap URL: -------------- next part -------------- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sep 3 21:15:59 2009 From: cyruspy at gmail.com (Ciro Iriarte) Date: Thu, 3 Sep 2009 15:15:59 -0400 Subject: NRPE gives wrong exit codes In-Reply-To: <20090903184848.GB27586@bakgwai.americas.hpqcorp.net> References: <20090903184848.GB27586@bakgwai.americas.hpqcorp.net> Message-ID: 2009/9/3 Morris, Patrick : > On Thu, 03 Sep 2009, Ciro Iriarte wrote: > >> Hi, i'm trying to monitor a Solaris box using NRPE. The thing is >> nagios sees always an EXIT_CODE=0. >> >> Running the check by hand on the Solaris host works as expected: >> >> -------------- >> [solaris ~]$ /usr/local/nagios/libexec/check_disk -w 50% -c 10% -p /kml_ >> DISK WARNING - free space: /kml_inst2 101125 MB (28% inode=100%);| >> /kml_inst2=248599MB;174862;314752;0;349725 >> [solaris ~]$ echo $? >> 1 >> -------------- >> >> But running it from the nagios host I get: >> ------------- >> spmon:~ # /usr/lib/nagios/plugins/check_nrpe -H solaris -c check_disk >> -a 50% 10% /test >> DISK WARNING - free space: /test 101125 MB (28% inode=100%);| >> /test=248599MB;174862;314752;0;349725 >> spmon:~ # echo $? >> 0 >> ------------- > > How is check_disk defined in your nrpe config and is it configured to > allow arguments? > I have: -------- dont_blame_nrpe=1 command[check_disk]=/usr/local/nagios/libexec/check_disk -w $ARG1$ -c $ARG2$ -p $ARG3$ -------- Regards, -- Ciro Iriarte http://cyruspy.wordpress.com -- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Sep 3 21:29:13 2009 From: shadhin71 at gmail.com (shadih rahman) Date: Thu, 3 Sep 2009 15:29:13 -0400 Subject: nagios scheduling and Hard/soft state question Message-ID: <6db4a4200909031229k12205ed5n2a48006985cea48f@mail.gmail.com> All, according to the definition hard state is reached upon completing the max_check_attempt . This particular service status information is stating otherwise. This particular service check has max_check_attempt set to 3. However it looks like soft state changed into Hard with checking for 3 times. Is this a bug or am I missing something here. Please advise on this. Thanks [09-02-2009 13:58:30] SERVICE ALERT: Host B;batteryliebert;WARNING;HARD;1;Status is a WARNING level - SNMP OID does not exist [image: Service Warning][09-02-2009 13:56:30] SERVICE ALERT: HOSTA;batteryliebert;WARNING;SOFT;1;Status is a WARNING level - SNMP agent not responding -- Cordially, Shadhin Rahman -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sep 3 22:00:42 2009 From: marc at ena.com (Marc Powell) Date: Thu, 3 Sep 2009 15:00:42 -0500 Subject: any solution which will allow me to forward Nagios alerts to Netcool? In-Reply-To: <726E5F84A1A5F740AFB691669E628DEFFAC95B@NECSAP-SIN-XCH.NECSAPSIN.COM> References: <726E5F84A1A5F740AFB691669E628DEFFAC95B@NECSAP-SIN-XCH.NECSAPSIN.COM> Message-ID: <2112492B-A4A8-4C89-B3F2-20640F70BC1B@ena.com> On Sep 3, 2009, at 1:54 PM, Scott Xiao wrote: > > Hi Max > Thanks for your help! > I am now ok to use the snmptrap to send out alert. But it seems the > nagios doesn't involk the send_trap script to do the job. > # 'send_trap' command definition > define command{ > command_name send_trap > command_line /optnagios/libexec/send_trap 192.168.32.1 public > $HOSTNAME$ $SERVICEDESC$ $SERVICESTATEID$ $SERVICEOUTPUT$ > } /optnagios/ - is that an actual paste or a typo on your part? If your hostname, servicedesc, servicestateid or serviceoutput contain spaces or special characters, you'll want to quote them above. > [root at nagios libexec]# /usr/bin/snmptrap -v 2c -c public > 192.168.32.1 '' [strangely line wrapped stuff removed] Nagios doesn't run this as root, you shouldn't either. Permission problems not seen when testing as root are a common issue when integrating something new. Also note that the way you are testing is different than the command_line you specify above in many ways. -- Marc ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sep 3 22:04:11 2009 From: marc at ena.com (Marc Powell) Date: Thu, 3 Sep 2009 15:04:11 -0500 Subject: nagios scheduling and Hard/soft state question In-Reply-To: <6db4a4200909031229k12205ed5n2a48006985cea48f@mail.gmail.com> References: <6db4a4200909031229k12205ed5n2a48006985cea48f@mail.gmail.com> Message-ID: On Sep 3, 2009, at 2:29 PM, shadih rahman wrote: > All, > according to the definition hard state is reached upon completing > the max_check_attempt . This particular service status information > is stating otherwise. This particular service check has > max_check_attempt set to 3. However it looks like soft state > changed into Hard with checking for 3 times. Is this a bug or am I > missing something here. Please advise on this. Thanks > > [09-02-2009 13:58:30] SERVICE ALERT: Host > B;batteryliebert;WARNING;HARD;1;Status is a WARNING level - SNMP OID > does not exist > [09-02-2009 13:56:30] SERVICE ALERT: > HOSTA;batteryliebert;WARNING;SOFT;1;Status is a WARNING level - SNMP > agent not responding Do you have 'is_volatile' enabled? Please post the entire service definition from objects.cache if you do not as well as a few prior log entries for this service. -- Marc ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lscarneiro at veltrac.com.br Thu Sep 3 22:12:43 2009 From: lscarneiro at veltrac.com.br (Leonardo Carneiro) Date: Thu, 03 Sep 2009 17:12:43 -0300 Subject: not reading images in extended info Message-ID: <4AA0233B.9090209@veltrac.com.br> An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: nag1.png Type: image/png Size: 4787 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: nag2.png Type: image/png Size: 12098 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: logo.png Type: image/png Size: 32306 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: debian.gd2 Type: application/octet-stream Size: 2649 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: debian.gif Type: image/gif Size: 2123 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mlitwin at stubhub.com Thu Sep 3 21:48:30 2009 From: mlitwin at stubhub.com (Matthew Litwin) Date: Thu, 03 Sep 2009 12:48:30 -0700 Subject: NRPE: Unable to read output Message-ID: I wrote a perl plugin that seems to work fine when I run it locally on the remote host as the nagios user, however when I try to execute it via NRPE I get the old familiar nebulous ?NRPE: Unable to read output?. I have debugging on for NRPE logging and it doesn?t tell much more. (Note this is in reverse order is it is out of splunk. IPs are obfuscated) Sep 3 19:27:01 sjvp00dbs001.XX.com Sep 3 19:27:01 nrpe[12434]: [ID 903583 daemon.debug] Connection from X.X.X.X closed. host=sjvp00dbs001.XX.com Options sourcetype=syslog Options source=udp:514 Options 589/3/09 7:27:01.000 PM Sep 3 19:27:01 sjvp00dbs001.XX.com Sep 3 19:27:01 nrpe[12434]: [ID 869297 daemon.debug] Return Code: 1, Output: NRPE: Unable to read output host=sjvp00dbs001.XX.com Options sourcetype=syslog Options source=udp:514 Options 599/3/09 7:27:01.000 PM Sep 3 19:27:01 sjvp00dbs001.XX.com Sep 3 19:27:01 nrpe[12434]: [ID 757686 daemon.debug] Command completed with return code 1 and output: host=sjvp00dbs001.XX.com Options sourcetype=syslog Options source=udp:514 Options 609/3/09 7:27:01.000 PM Sep 3 19:27:01 sjvp00dbs001.XX.com Sep 3 19:27:01 nrpe[12434]: [ID 462736 daemon.debug] Running command: /usr/loca/nagios/libexec/check_scrub_backlog.pl -w 1000 -c 2000 -u XXXX -p XXXX -i XXXX Sep 3 19:27:01 sjvp00dbs001.XX.com Sep 3 19:27:01 nrpe[12434]: [ID 881351 daemon.debug] Host is asking for command 'check_scrub_backlog' to be run... host=sjvp00dbs001.XX.com Options sourcetype=syslog Options source=udp:514 Options 629/3/09 7:27:01.000 PM Sep 3 19:27:01 sjvp00dbs001.XX.com Sep 3 19:27:01 nrpe[12434]: [ID 385967 daemon.debug] Host address is in allowed_hosts host=sjvp00dbs001.XX.com Options sourcetype=syslog Options source=udp:514 Options 639/3/09 7:27:01.000 PM Sep 3 19:27:01 sjvp00dbs001.XX.com Sep 3 19:27:01 nrpe[12434]: [ID 654915 daemon.debug] Connection from X.X.X.X port 34549 host=sjvp00dbs001.XX.com Options sourcetype=syslog Options source=udp:514 Options 649/3/09 7:27:01.000 PM Sep 3 19:27:01 sjvp00dbs001.XX.com Sep 3 19:27:01 nrpe[12434]: [ID 879649 daemon.debug] Handling the connection... The command that is trying to run looks corrected- arguments are being sent correctly. I have tested the command using the same user that NRPE is running as, nagios. I did build in output for error messages in case there were problems like issues with ENV, but obviously they are not making it to NRPE. I confirmed my output text has EOLs. What is especially weird is that the return code makes it back correctly but the output is just ?NRPE: Unable to read output? even as logged by nrpe. The output should look like this, which is what it gets locally when ran: Scrub Backlog Count: 1083 Nothing unusually with that, right? Any help appreciated, thanks. Does anyone have any other suggestions on how I might debug this? Since NRPE is working for all my other plugins -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mlitwin at stubhub.com Thu Sep 3 22:30:21 2009 From: mlitwin at stubhub.com (Matthew Litwin) Date: Thu, 03 Sep 2009 13:30:21 -0700 Subject: NRPE: Unable to read output In-Reply-To: References: Message-ID: I guess I should include the plugin script: #!/usr/bin/perl -w #check for item count in ListingCatlogue URL use POSIX; use strict; use File::Basename; use Getopt::Long; use vars qw( $opt_critical $opt_warning $opt_username $opt_password $opt_instance $opt_help $opt_usage $opt_version ); sub print_usage(); sub print_help(); # # Version and Author info my $author = "Matthew Litwin"; my $datemod = "September 2, 2009"; my $version = "0.1.0"; # 0.1.0 - initial cannibalization from check_lcs_update.pl my $progname = basename($0); my %ERRORS = ('UNKNOWN' => '-1', 'OK' => '0', 'WARNING' => '1', 'CRITICAL' => '2'); my $sqlplus = '/opt/oracle/product/10gRac/bin/sqlplus'; my $sqlfile = '/usr/local/nagios/libexec/check_scrub_backlog.sql'; Getopt::Long::Configure('bundling'); GetOptions ( "c=s" => \$opt_critical, "critical=s" => \$opt_critical, "w=s" => \$opt_warning, "warning=s" => \$opt_warning, "u=s" => \$opt_username, "username=s" => \$opt_username, "p=s" => \$opt_password, "password=s" => \$opt_password, "i=s" => \$opt_instance, "instance=s" => \$opt_instance, "h" => \$opt_help, "help" => \$opt_help, "usage" => \$opt_usage, "V" => \$opt_version,"version" => \$opt_version ) || die "Try `$progname --help' for more information.\n"; sub print_usage() { print "Usage: $progname -w WARNING -c CRITICAL -u username -p password -i instance\n"; print " $progname --help\n"; print " $progname --version\n"; } sub print_help() { print "$progname - check item count in ListingCatlogue URL\n"; print "Options are:\n"; print " -c, --critical\n"; print " -w, --warning\n"; print " -u, --username\n"; print " -p, --password\n"; print " -i, --instance\n"; print " -h, --help display this help and exit\n"; print " --usage display a short usage instruction\n"; print " -V, --version output version information and exit\n"; } if ($opt_help) { print_help(); exit $ERRORS{'UNKNOWN'}; } if ($opt_usage || !($opt_critical && $opt_warning && $opt_username && $opt_password && $opt_instance && $opt_instance)) { print_usage(); exit $ERRORS{'UNKNOWN'}; } if ($opt_version) { print "$progname $version\n"; print "$author, $datemod\n"; exit $ERRORS{'UNKNOWN'}; } if (!-x $sqlplus) { print "sqlplus not found or not executable at: $sqlplus\n"; exit $ERRORS{'UNKNOWN'}; } if (!-r $sqlfile) { print "sql command file not found or not readable at: $sqlfile\n"; exit $ERRORS{'UNKNOWN'}; } # This SQL request returns a row count. my $scrubcount=`$sqlplus -S $opt_username/$opt_password\@$opt_instance \@$sqlfile`; if ($? == 0) { chomp($scrubcount); $scrubcount =~ s/^\s+//; if ($scrubcount =~ m/^\d+$/) { print "Scrub Backlog Count: $scrubcount\n"; my $state; $state="OK"; if ($scrubcount >= $opt_warning) {$state="WARNING";} if ($scrubcount >= $opt_critical) {$state="CRITICAL";} exit $ERRORS{$state}; } else { print "Output not a numeric value\n"; exit $ERRORS{'UNKNOWN'}; } } else { print "sqlplus error: $?\n"; exit $ERRORS{'UNKNOWN'}; } On 9/3/09 12:48 PM, "Matthew Litwin" wrote: > I wrote a perl plugin that seems to work fine when I run it locally on the > remote host as the nagios user, however when I try to execute it via NRPE I > get the old familiar nebulous ?NRPE: Unable to read output?. I have debugging > on for NRPE logging and it doesn?t tell much more. (Note this is in reverse > order is it is out of splunk. IPs are obfuscated) > > Sep 3 19:27:01 sjvp00dbs001.XX.com Sep 3 19:27:01 nrpe[12434]: [ID 903583 > daemon.debug] Connection from X.X.X.X closed. > host=sjvp00dbs001.XX.com Options sourcetype=syslog Options source=udp:514 > Options > 589/3/09 7:27:01.000 PM > Sep 3 19:27:01 sjvp00dbs001.XX.com Sep 3 19:27:01 nrpe[12434]: [ID 869297 > daemon.debug] Return Code: 1, Output: NRPE: Unable to read output > host=sjvp00dbs001.XX.com Options sourcetype=syslog Options source=udp:514 > Options > 599/3/09 7:27:01.000 PM > Sep 3 19:27:01 sjvp00dbs001.XX.com Sep 3 19:27:01 nrpe[12434]: [ID 757686 > daemon.debug] Command completed with return code 1 and output: > host=sjvp00dbs001.XX.com Options sourcetype=syslog Options source=udp:514 > Options > 609/3/09 7:27:01.000 PM > Sep 3 19:27:01 sjvp00dbs001.XX.com Sep 3 19:27:01 nrpe[12434]: [ID 462736 > daemon.debug] Running command: /usr/loca/nagios/libexec/check_scrub_backlog.pl > -w 1000 -c 2000 -u XXXX -p XXXX -i XXXX > Sep 3 19:27:01 sjvp00dbs001.XX.com Sep 3 19:27:01 nrpe[12434]: [ID 881351 > daemon.debug] Host is asking for command 'check_scrub_backlog' to be run... > host=sjvp00dbs001.XX.com Options sourcetype=syslog Options source=udp:514 > Options > 629/3/09 7:27:01.000 PM > Sep 3 19:27:01 sjvp00dbs001.XX.com Sep 3 19:27:01 nrpe[12434]: [ID 385967 > daemon.debug] Host address is in allowed_hosts > host=sjvp00dbs001.XX.com Options sourcetype=syslog Options source=udp:514 > Options > 639/3/09 7:27:01.000 PM > Sep 3 19:27:01 sjvp00dbs001.XX.com Sep 3 19:27:01 nrpe[12434]: [ID 654915 > daemon.debug] Connection from X.X.X.X port 34549 > host=sjvp00dbs001.XX.com Options sourcetype=syslog Options source=udp:514 > Options > 649/3/09 7:27:01.000 PM > Sep 3 19:27:01 sjvp00dbs001.XX.com Sep 3 19:27:01 nrpe[12434]: [ID 879649 > daemon.debug] Handling the connection... > > The command that is trying to run looks corrected- arguments are being sent > correctly. I have tested the command using the same user that NRPE is running > as, nagios. I did build in output for error messages in case there were > problems like issues with ENV, but obviously they are not making it to NRPE. I > confirmed my output text has EOLs. What is especially weird is that the return > code makes it back correctly but the output is just ?NRPE: Unable to read > output? even as logged by nrpe. > > The output should look like this, which is what it gets locally when ran: > Scrub Backlog Count: 1083 > > Nothing unusually with that, right? > > Any help appreciated, thanks. > > > > Does anyone have any other suggestions on how I might debug this? Since NRPE > is working for all my other plugins -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mlitwin at stubhub.com Thu Sep 3 22:34:26 2009 From: mlitwin at stubhub.com (Matthew Litwin) Date: Thu, 03 Sep 2009 13:34:26 -0700 Subject: NRPE: Unable to read output In-Reply-To: References: Message-ID: Please disregard. I see the typo in the NRPE command path. So sorry! On 9/3/09 12:48 PM, "Matthew Litwin" wrote: > I wrote a perl plugin that seems to work fine when I run it locally on the > remote host as the nagios user, however when I try to execute it via NRPE I > get the old familiar nebulous ?NRPE: Unable to read output?. I have debugging > on for NRPE logging and it doesn?t tell much more. (Note this is in reverse > order is it is out of splunk. IPs are obfuscated) > > Sep 3 19:27:01 sjvp00dbs001.XX.com Sep 3 19:27:01 nrpe[12434]: [ID 903583 > daemon.debug] Connection from X.X.X.X closed. > host=sjvp00dbs001.XX.com Options sourcetype=syslog Options source=udp:514 > Options > 589/3/09 7:27:01.000 PM > Sep 3 19:27:01 sjvp00dbs001.XX.com Sep 3 19:27:01 nrpe[12434]: [ID 869297 > daemon.debug] Return Code: 1, Output: NRPE: Unable to read output > host=sjvp00dbs001.XX.com Options sourcetype=syslog Options source=udp:514 > Options > 599/3/09 7:27:01.000 PM > Sep 3 19:27:01 sjvp00dbs001.XX.com Sep 3 19:27:01 nrpe[12434]: [ID 757686 > daemon.debug] Command completed with return code 1 and output: > host=sjvp00dbs001.XX.com Options sourcetype=syslog Options source=udp:514 > Options > 609/3/09 7:27:01.000 PM > Sep 3 19:27:01 sjvp00dbs001.XX.com Sep 3 19:27:01 nrpe[12434]: [ID 462736 > daemon.debug] Running command: /usr/loca/nagios/libexec/check_scrub_backlog.pl > -w 1000 -c 2000 -u XXXX -p XXXX -i XXXX > Sep 3 19:27:01 sjvp00dbs001.XX.com Sep 3 19:27:01 nrpe[12434]: [ID 881351 > daemon.debug] Host is asking for command 'check_scrub_backlog' to be run... > host=sjvp00dbs001.XX.com Options sourcetype=syslog Options source=udp:514 > Options > 629/3/09 7:27:01.000 PM > Sep 3 19:27:01 sjvp00dbs001.XX.com Sep 3 19:27:01 nrpe[12434]: [ID 385967 > daemon.debug] Host address is in allowed_hosts > host=sjvp00dbs001.XX.com Options sourcetype=syslog Options source=udp:514 > Options > 639/3/09 7:27:01.000 PM > Sep 3 19:27:01 sjvp00dbs001.XX.com Sep 3 19:27:01 nrpe[12434]: [ID 654915 > daemon.debug] Connection from X.X.X.X port 34549 > host=sjvp00dbs001.XX.com Options sourcetype=syslog Options source=udp:514 > Options > 649/3/09 7:27:01.000 PM > Sep 3 19:27:01 sjvp00dbs001.XX.com Sep 3 19:27:01 nrpe[12434]: [ID 879649 > daemon.debug] Handling the connection... > > The command that is trying to run looks corrected- arguments are being sent > correctly. I have tested the command using the same user that NRPE is running > as, nagios. I did build in output for error messages in case there were > problems like issues with ENV, but obviously they are not making it to NRPE. I > confirmed my output text has EOLs. What is especially weird is that the return > code makes it back correctly but the output is just ?NRPE: Unable to read > output? even as logged by nrpe. > > The output should look like this, which is what it gets locally when ran: > Scrub Backlog Count: 1083 > > Nothing unusually with that, right? > > Any help appreciated, thanks. > > > > Does anyone have any other suggestions on how I might debug this? Since NRPE > is working for all my other plugins > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Sep 3 22:38:40 2009 From: shadhin71 at gmail.com (shadih rahman) Date: Thu, 3 Sep 2009 16:38:40 -0400 Subject: nagios scheduling and Hard/soft state question In-Reply-To: References: <6db4a4200909031229k12205ed5n2a48006985cea48f@mail.gmail.com> Message-ID: <6db4a4200909031338x31774d9ej7d4c8147a07c9314@mail.gmail.com> I don't have is_volatile enabled. Below I am pasting my log entries and service definition. Thanks *log entries* [1251777600] CURRENT HOST STATE: HOST A;UP;HARD;1;FPING OK - HOST A (loss=0%, rta=0.850000 ms) [1251777600] CURRENT SERVICE STATE: HOST A;batteryliebert;OK;HARD;1;Status is OK - GXT2-2000RT120 - STATUS NORMAL - [1251777600] CURRENT SERVICE STATE: HOST A;capacity;OK;HARD;1;SNMP OK - 100 [1251777600] CURRENT SERVICE STATE: HOST A;output_current;OK;HARD;1;SNMP OK - 32 0.1 RMS Amp [1251777600] CURRENT SERVICE STATE: HOST A;search_aid;OK;HARD;1;(null) [1251777600] CURRENT SERVICE STATE: HOST A;temp;OK;HARD;1;SNMP OK - 32 [1251914190] SERVICE ALERT: HOST A;batteryliebert;WARNING;SOFT;1;Status is a WARNING level - SNMP agent not responding [1251914200] HOST ALERT: HOST A;DOWN;SOFT;1;FPING CRITICAL - HOST A (loss=100% ) [1251914310] SERVICE ALERT: HOST A;batteryliebert;WARNING;HARD;1;Status is a WARNING level - SNMP OID does not exist [1251914390] HOST ALERT: HOST A;DOWN;SOFT;2;FPING CRITICAL - HOST A (loss=100% ) [1251914580] HOST ALERT: HOST A;UP;SOFT;3;FPING WARNING - HOST A [1251914600] SERVICE ALERT: HOST A;batteryliebert;OK;HARD;1;Status is OK - GXT2-2000RT120 - STATUS NORMAL - [1251915210] SERVICE ALERT: HOST A;batteryliebert;WARNING;SOFT;1;Status is a WARNING level - SNMP OID does not exist [1251915330] SERVICE ALERT: HOST A;batteryliebert;WARNING;SOFT;2;Status is a WARNING level - SNMP agent not responding [1251915440] SERVICE ALERT: HOST A;batteryliebert;OK;SOFT;3;Status is OK - GXT2-2000RT120 - STATUS NORMAL - *service definition* define service { host_name HOST A service_description batteryliebert check_period noncritical check_command check_liebert_ups contact_groups netsys notification_period extended initial_state o check_interval 5.000000 retry_interval 2.000000 max_check_attempts 3 is_volatile 0 parallelize_check 1 active_checks_enabled 1 passive_checks_enabled 1 obsess_over_service 1 event_handler_enabled 1 low_flap_threshold 0.000000 high_flap_threshold 0.000000 flap_detection_enabled 1 flap_detection_options o,c freshness_threshold 0 check_freshness 0 notification_options c,r,f notifications_enabled 1 notification_interval 30.000000 first_notification_delay 0.000000 stalking_options n process_perf_data 1 failure_prediction_enabled 1 retain_status_information 1 retain_nonstatus_information 1 } On Thu, Sep 3, 2009 at 4:04 PM, Marc Powell wrote: > > On Sep 3, 2009, at 2:29 PM, shadih rahman wrote: > > > All, > > according to the definition hard state is reached upon completing > > the max_check_attempt . This particular service status information > > is stating otherwise. This particular service check has > > max_check_attempt set to 3. However it looks like soft state > > changed into Hard with checking for 3 times. Is this a bug or am I > > missing something here. Please advise on this. Thanks > > > > [09-02-2009 13:58:30] SERVICE ALERT: Host > > B;batteryliebert;WARNING;HARD;1;Status is a WARNING level - SNMP OID > > does not exist > > [09-02-2009 13:56:30] SERVICE ALERT: > > HOSTA;batteryliebert;WARNING;SOFT;1;Status is a WARNING level - SNMP > > agent not responding > > Do you have 'is_volatile' enabled? Please post the entire service > definition from objects.cache if you do not as well as a few prior log > entries for this service. > > -- > Marc > > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus > on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sep 3 23:11:21 2009 From: marc at ena.com (Marc Powell) Date: Thu, 3 Sep 2009 16:11:21 -0500 Subject: nagios scheduling and Hard/soft state question In-Reply-To: <6db4a4200909031338x31774d9ej7d4c8147a07c9314@mail.gmail.com> References: <6db4a4200909031229k12205ed5n2a48006985cea48f@mail.gmail.com> <6db4a4200909031338x31774d9ej7d4c8147a07c9314@mail.gmail.com> Message-ID: On Sep 3, 2009, at 3:38 PM, shadih rahman wrote: > I don't have is_volatile enabled. Below I am pasting my log > entries and service definition. Thanks Weren't you asking about HOST B;batteryliebert? > log entries > [1251914190] SERVICE ALERT: HOST A;batteryliebert;WARNING;SOFT; > 1;Status is a WARNING level - SNMP agent not responding Service isn't responding... get's a warning (must be default for that plugin?). Nagios now checks the host -- > [1251914200] HOST ALERT: HOST A;DOWN;SOFT;1;FPING CRITICAL - HOST A > (loss=100% ) Host is down! > [1251914310] SERVICE ALERT: HOST A;batteryliebert;WARNING;HARD; > 1;Status is a WARNING level - SNMP OID does not exist If service has problem and host is down, retries aren't needed, HARD state results. I haven't looked in depth at the new check logic with the introduction of parallel host checks to be absolutely certain but the above seems reasonable based on what nagios did in the past. -- Marc ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sep 3 23:39:54 2009 From: cyruspy at gmail.com (Ciro Iriarte) Date: Thu, 3 Sep 2009 17:39:54 -0400 Subject: NRPE gives wrong exit codes In-Reply-To: References: <20090903184848.GB27586@bakgwai.americas.hpqcorp.net> Message-ID: 2009/9/3 Ciro Iriarte : > 2009/9/3 Morris, Patrick : >> On Thu, 03 Sep 2009, Ciro Iriarte wrote: >> >>> Hi, i'm trying to monitor a Solaris box using NRPE. The thing is >>> nagios sees always an EXIT_CODE=0. >>> >>> Running the check by hand on the Solaris host works as expected: >>> >>> -------------- >>> [solaris ~]$ /usr/local/nagios/libexec/check_disk -w 50% -c 10% -p /kml_ >>> DISK WARNING - free space: /kml_inst2 101125 MB (28% inode=100%);| >>> /kml_inst2=248599MB;174862;314752;0;349725 >>> [solaris ~]$ echo $? >>> 1 >>> -------------- >>> >>> But running it from the nagios host I get: >>> ------------- >>> spmon:~ # /usr/lib/nagios/plugins/check_nrpe -H solaris -c check_disk >>> -a 50% 10% /test >>> DISK WARNING - free space: /test 101125 MB (28% inode=100%);| >>> /test=248599MB;174862;314752;0;349725 >>> spmon:~ # echo $? >>> 0 >>> ------------- >> >> How is check_disk defined in your nrpe config and is it configured to >> allow arguments? >> > > I have: > > -------- > dont_blame_nrpe=1 > command[check_disk]=/usr/local/nagios/libexec/check_disk -w $ARG1$ -c > $ARG2$ -p $ARG3$ > -------- > > Regards, > It's weird, if I restart the daemon it works, but just for the first execution. --------- spmon:/etc/nagios/objects/services # /usr/lib/nagios/plugins/check_nrpe -H billbd2 -c check_disk -a 90% 80% /kml_inst2 DISK CRITICAL - free space: /kml_inst2 76172 MB (21% inode=100%);| /kml_inst2=273552MB;34972;69944;0;349725 spmon:/etc/nagios/objects/services # echo $? 2 spmon:/etc/nagios/objects/services # /usr/lib/nagios/plugins/check_nrpe -H billbd2 -c check_disk -a 90% 80% /kml_inst2 DISK CRITICAL - free space: /kml_inst2 76172 MB (21% inode=100%);| /kml_inst2=273552MB;34972;69944;0;349725 spmon:/etc/nagios/objects/services # echo $? 0 ---------- Regards, -- Ciro Iriarte http://cyruspy.wordpress.com -- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From yungwei at resolvity.com Thu Sep 3 23:38:38 2009 From: yungwei at resolvity.com (Yungwei Chen) Date: Thu, 3 Sep 2009 17:38:38 -0400 Subject: using OCP daemon Message-ID: <33095823FD21DF429B481B5163264B793E28FF753F@VMBX102.ihostexchange.net> HI, I am evaluting OCP daemon in order to improve performance of sending check results from one nagios machine A to another. The nagios on machine A is also using pnp4nagios to show graphical results. I noticed the following in http://wiki.nagios.org/index.php/OCP_Daemon. Does that mean machine A will no longer be able to display the graphical results once OCP daemon is deployed on machine A? Thanks. The drawbacks * Can't use the perfdata files for what they are meant for without modifying the daemon. Although the proper fix would be to have a dedicated pipe in Nagios for OCHP/OCSP purposes, I might as well implement it in the daemon if there is requests for this (use the Talk page or email me...). This would be in the form of "duplicate" file/fifo files where everything received from Nagios pipes would be written there. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sep 3 17:58:24 2009 From: allanc at chickenandporn.com (Allan Clark) Date: Thu, 3 Sep 2009 16:58:24 +0100 Subject: can nagios take some pro-active actions? In-Reply-To: <4A9FB419.8070104@fcdl-sc.org.br> References: <4A9FAC0C.9010809@veltrac.com.br> <4A9FB419.8070104@fcdl-sc.org.br> Message-ID: <23292877-D0FF-422E-8D8E-EC058CB91370@chickenandporn.com> On Sep 3, 2009, at 13:18, Leandro Quibem Magnabosco wrote: > "Ol?" Leonardo, > > Please note that Nagios uses mostly scripts to check services/disk/ > etc. and that those scripts that 'tell' nagios the status of the > service/daemon/disk/etc. > That said, I think you should not focus on Nagios to be proactive > hence that it's scripts could be used for that. > > Let's say you have check_http configured to check www.example.com. > It would connect to www.example.com on port 80 and report if it > suceeds on sending a cmd or not . > If something goes wrong, it would send a critical message back. > This does not mean that the script is necessarily alerting nagios > about the problem, it is alerting whatever called it in the first > place. > > What I mean is, you don't *need* nagios to be in the middle of it > and (IMO) you should not try to integrate it into this kind of > solution because it would just make things more complicated. > > One simple way to implement that would be improving the scripts that > comes with nagios-plugins. > A "simple" if statement and some coding after it would do the trick. > If the script already has the capability to check the status of > something and be aware of the present status and take active > measures . > > Interfere with the "function" that prints the message "CRITICAL" to > make it, for eg., "ssh -T host /etc/init.d/apache2 restart". I have used the scripts from Nagios in a similar way: a project ("extotest") using Nagios plugins and autotools' autotest to check all critical services before and after complex firewall ACL changes. It's similar in that it leverages the good work of many contributors but doesn't use the Nagios Core as an engine. In your case, a cronjob might suffice: #!bash case $(check_http -opt -opt) in OK*) exit 0 ;; *) exec /etc/init.d/httpd restart ;; esac Allan -- http://tech.chickenandporn.com/tags/nagios -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sep 4 01:06:36 2009 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Thu, 03 Sep 2009 19:06:36 -0400 Subject: using OCP daemon In-Reply-To: <33095823FD21DF429B481B5163264B793E28FF753F@VMBX102.ihostexchange.net> References: <33095823FD21DF429B481B5163264B793E28FF753F@VMBX102.ihostexchange.net> Message-ID: <4AA04BFC.6060302@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 03/09/09 05:38 PM, Yungwei Chen wrote: > HI, > > I am evaluting OCP daemon in order to improve performance of sending > check results from one nagios machine A to another. The nagios on > machine A is also using pnp4nagios to show graphical results. > > I noticed the following in http://wiki.nagios.org/index.php/OCP_Daemon. > Does that mean machine A will no longer be able to display the graphical > results once OCP daemon is deployed on machine A? Thanks. > > *The drawbacks * > > * Can't use the perfdata files for what they are meant for without > modifying the daemon. Although the proper fix would be to have a > dedicated pipe in Nagios for OCHP/OCSP purposes, I might as well > implement it in the daemon if there is requests for this (use the > Talk page or email me...). This would be in the form of > "duplicate" file/fifo files where everything received from Nagios > pipes would be written there. That's only if you use the Nagios performance data files for feeding pnp4nagios. If you have a command defined for each service that won't be a proble... Same if you use the central nagios for performance data processing. If you need this feature though let me know and I'll add it... It's pretty simple as long ad you don't need any special file rotation feature than Nagios provide. - -- Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFKoEv86dZ+Kt5BchYRAt53AJ4nurQfe1U4ITXY0lxBeoIidUSr7gCeOBOM ooyX/vhoAvFSM/lNEhc592E= =OxiL -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tore.lonoy at gmail.com Fri Sep 4 08:01:41 2009 From: tore.lonoy at gmail.com (=?ISO-8859-1?Q?Tore_L=F8n=F8y?=) Date: Fri, 4 Sep 2009 08:01:41 +0200 Subject: Monitor for memory bottleneck on Windows? In-Reply-To: References: <4A523B33.2000100@medin.name> <4A55C3C3.5020605@medin.name> Message-ID: Have i missed your response, Michael? Cant seem to find your respond in the archive. On Wednesday, August 5, 2009, Tore L?n?y wrote: > Hey again Michael, > > Yeah I think av avg value of Pages Output/sec for the last X min would > be the best, much like the CPU check in current build. > > Been away on vacation for a while, hence the latency:-) > > On Thursday, July 9, 2009, Michael Medin wrote: >> >> >> >> >> >> >> The CPU is measured as averages for the last X