From dermoth at aei.ca Thu Apr 1 00:38:04 2010 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Wed, 31 Mar 2010 18:38:04 -0400 Subject: check_cluster configuration. In-Reply-To: References: Message-ID: <4BB3CECC.2050609@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 29/03/10 07:52 AM, HyunSung Jang wrote: > what a nice solution it is!! > why I didn't think about that.. > > we have VIP and represented domain name > so this is very clear to me.. I do this, and for some checks that just float around but always return their status at the same place (using send_nsca & others), I use a dummy host with 127.0.0.1 as the host address, so it never fails the host check. You could also use check_cluster as the host check, aggregating the status of all hosts in a hosts group. - -- Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFLs87M6dZ+Kt5BchYRAp73AKDf6LBIbMj2sCH6NbSxfOG/cLT+JwCgyt58 AdgEQ51iocaGUHHC66MPYes= =eMZg -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mirde at oppy.com Thu Apr 1 01:08:01 2010 From: mirde at oppy.com (Mirza Dedic) Date: Wed, 31 Mar 2010 16:08:01 -0700 Subject: Icinga fork.. and the many well established open source projects.. Message-ID: So first time I hear about the fork, but just something that pounders my mind.. Why reinvent the wheel of a UI when there are projects out there focusing on this? Op5 Ninja is super fast and great, wouldn't it be a better use of development time if you integrate Icinga with Ninja and Merlin as the DB Broker and build from that? That way, the community gets new everything; a new Nagios fork, new UI and a DB broker; which would all be rapidly developed by the community. If you wanted to expand it, you can integrate PNP4Nagios and NaCoMa as the configuration, hell, this sounds better than what some are charging a fortune for (hyperic-hq, etc.). I know this is a long shot, but.. really? The Oppenheimer Group ---- CONFIDENTIAL This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the email by you is prohibited. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From asraikhn at gmail.com Thu Apr 1 06:30:36 2010 From: asraikhn at gmail.com (Asrai khn) Date: Thu, 1 Apr 2010 09:30:36 +0500 Subject: Nagios 3.2.1 - browser refresh In-Reply-To: <4BB33947.2010103@verizon.net> References: <10E728E6-661D-46D8-91A5-E12B2A63C68B@xodus.org> <20100330191410.GM4621@bakgwai.americas.hpqcorp.net> <4BB333D6.7010608@verizon.net> <742841AA-DDB1-4EFF-894E-FF70BA8985EB@xodus.org> <4BB33947.2010103@verizon.net> Message-ID: placing this line " public"); ?>" on the first line of index.php did work for me on Centos 5.4 and Nagios 3.2.1 On Wed, Mar 31, 2010 at 5:00 PM, Max Hetrick wrote: > Marc Powell wrote: > > > Looking at CVS, there have been no changes to index.php in 14 months > (several releases). Whatever's changed. it's not this. > > Smells like CentOS to me...either Apache or PHP. I know there was an > httpd update this past week for CentOS 5, which I loaded. > > Is everyone else experiencing this on CentOS updated? > > Regards, > Max > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nkr.singh at gmail.com Thu Apr 1 09:16:20 2010 From: nkr.singh at gmail.com (Naveen SINGH) Date: Thu, 1 Apr 2010 12:46:20 +0530 Subject: Nagios - Custom Report Generation Message-ID: Hi, I want to generate a custom report in "Nagios-3.2.0". I have defined the work-hours in "timeperiods.cfg" as follows: #workhours' timeperiod definition define timeperiod { timeperiod_name 0800-2000 alias full time monday 08:00-20:00 tuesday 08:00-20:00 wednesday 08:00-20:00 thursday 08:00-20:00 friday 08:00-20:00 saturday 08:00-20:00 } Now, if I replace "saturday" with "2010-03-27" or "march 27" as shown below: #workhours' timeperiod definition define timeperiod { timeperiod_name 0800-2000 alias full time monday 08:00-20:00 tuesday 08:00-20:00 wednesday 08:00-20:00 thursday 08:00-20:00 friday 08:00-20:00 2010-03-27 08:00-20:00 } Nagios is not generating report for the given date (2010-03-27). How can I modify "timeperiods.cfg" so that I can generate reports for the given dates ? Thanks, Naveen -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Apr 1 16:40:21 2010 From: neufpas at gmail.com (Noel Platzke) Date: Thu, 1 Apr 2010 10:40:21 -0400 Subject: state change question Message-ID: I'm trying to track down an issue and am not sure If I'm following what is happening correctly. We had a service go critical and start sending alerts. The service was then acknowledged so it would stop sending notifications. The problem with that service was then "resolved" by getting the service into a WARN state instead of getting it back to OK. The service then ended up going critical again but it never sent a notification on the hard state change from WARN to CRITICAL. Is it possible that because it never went back to OK the acknowledgement never went away? I'm reading through the docs and I don't see anything that covers this scenario. Is this expected behavior or am I missing something and need to do more digging? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From benny at bennyvision.com Thu Apr 1 16:54:41 2010 From: benny at bennyvision.com (C. Bensend) Date: Thu, 1 Apr 2010 09:54:41 -0500 Subject: state change question In-Reply-To: References: Message-ID: > I'm trying to track down an issue and am not sure If I'm following what is > happening correctly. We had a service go critical and start sending > alerts. > The service was then acknowledged so it would stop sending notifications. > The problem with that service was then "resolved" by getting the service > into a WARN state instead of getting it back to OK. The service then ended > up going critical again but it never sent a notification on the hard state > change from WARN to CRITICAL. Is it possible that because it never went > back > to OK the acknowledgement never went away? I'm reading through the docs > and > I don't see anything that covers this scenario. Is this expected behavior > or > am I missing something and need to do more digging? Take a look at the documentation regarding "sticky" acknowledgements. A sticky ack will disable notifications until the service RECOVERS. A non-sticky ack will disable notifications until the service CHANGES STATE. It's a very important distinction. It's for this very reason that I patched my Nagios source to make acknowledgements NOT sticky by default, instead of the opposite. Benny -- Whoever said that hell hath no fury like a women scorned never owned a cat. -- bash.org ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From a31modela at hotmail.com Thu Apr 1 17:06:18 2010 From: a31modela at hotmail.com (steve f) Date: Thu, 1 Apr 2010 11:06:18 -0400 Subject: state change question In-Reply-To: References: Message-ID: Hey Fritz, Maybe this is the issue ? Steve F. http://www.mail-archive.com/nagios-users at lists.sourceforge.net/msg18874.html You are specifying 'Sticky Acknowledgement'. Command Description This command is used to acknowledge a service problem. When a service problem is acknowledged, future notifications about problems are temporarily disabled until the service changes from its current state. If you want acknowledgement to disable notifications until the service recovers, check the 'Sticky Acknowledgement' checkbox. Date: Thu, 1 Apr 2010 10:40:21 -0400 From: neufpas at gmail.com To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] state change question I'm trying to track down an issue and am not sure If I'm following what is happening correctly. We had a service go critical and start sending alerts. The service was then acknowledged so it would stop sending notifications. The problem with that service was then "resolved" by getting the service into a WARN state instead of getting it back to OK. The service then ended up going critical again but it never sent a notification on the hard state change from WARN to CRITICAL. Is it possible that because it never went back to OK the acknowledgement never went away? I'm reading through the docs and I don't see anything that covers this scenario. Is this expected behavior or am I missing something and need to do more digging? _________________________________________________________________ Hotmail: Trusted email with powerful SPAM protection. http://clk.atdmt.com/GBL/go/210850553/direct/01/ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nigel.leach at uk.bnpparibas.com Thu Apr 1 18:01:16 2010 From: nigel.leach at uk.bnpparibas.com (nigel.leach at uk.bnpparibas.com) Date: Thu, 1 Apr 2010 17:01:16 +0100 Subject: Nigel Leach (CMIT - Front Office Risk) is out of the office. Message-ID: I will be out of the office starting 01/04/2010 and will not return until 07/04/2010. For any urgent issues, please contact the CMITP FORS team on 0207 595 0350, or cmitp.fors at bnpparibas.com ___________________________________________________________ This communication is confidential, may be privileged and is meant only for the intended recipient. If you are not the intended recipient, please notify the sender by reply and delete the message from your system. Any unauthorised dissemination, distribution or copying hereof is prohibited. BNP Paribas Trust Corporation UK Limited, BNP Paribas UK Limited, BNP Paribas Commodity Futures Limited, BNP Paribas Asset Management UK Limited and Investment Fund Services Limited are authorised and regulated by the Financial Services Authority. BNP Paribas London Branch and BNP Paribas Wealth Management London Branch are authorised by the CECEI and supervised by the Commission Bancaire. BNP Paribas London Branch is authorised and subject to limited regulation by the Financial Services Authority. Details about the extent of our authorisation and regulation by the Financial Services Authority are available from us on request. BNP Paribas is also a member of the London Stock Exchange. BNP Paribas Wealth Management London Branch is subject to limited regulation by the Financial Services Authority. Details about the extent of our authorisation and regulation by the Financial Services Authority are available from us on request. BNP Paribas Securities Services London Branch is authorised by the CECEI and supervised by the AMF, and subject to limited regulation by the Financial Services Authority. Details on the extent of our regulation by the Financial Services Authority are available from us on request. BNP Paribas Securities Services is also a member of the London Stock Exchange. BNP Paribas Trust Corporation UK Limited is registered in England and Wales (registered no. 4042668) at registered office 55 Moorgate, London EC2R 6PA. BNP Paribas UK Limited is registered in England and Wales (registered no. 1488108) at registered office 10 Harewood Avenue, London NW1 6AA. BNP Paribas Commodity Futures Limited is registered in England and Wales (registered no. 2391477) at registered office 10 Harewood Avenue, London NW1 6AA. BNP Paribas Asset Management UK Limited is registered in England and Wales (registered no. 2474627) at registered office 10 Harewood Avenue, London NW1 6AA. Investment Fund Services Limited is registered in England and Wales (registered no. 6110770) at registered office 55 Moorgate, London EC2R 6PA. BNP Paribas London Branch is registered in England and Wales (registered no. FC13447) at registered office 10 Harewood Avenue, London NW1 6AA. BNP Paribas Wealth Management London Branch is registered in England and Wales (registered no. FC023926) at registered office 10 Harewood Avenue, London NW1 6AA. BNP Paribas Securities Services London Branch is registered in England and Wales (registered no. BR006393) at registered office 55 Moorgate, London, EC2R 6PA. BNP Paribas Lease Group Plc is registered in England and Wales (registered no. 2341989) at registered office Northern Cross, Basing View, Basingstoke, Hampshire RG21 4HL. ____________________________________________________________ ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Apr 1 17:22:01 2010 From: neufpas at gmail.com (Noel Platzke) Date: Thu, 1 Apr 2010 11:22:01 -0400 Subject: state change question In-Reply-To: References: Message-ID: Yeah, it's the sticky acknowledgement that caused the problem. I'm permanently disabling it. There needs to be a better way to control this other than hacking the gui. On Thu, Apr 1, 2010 at 11:06 AM, steve f wrote: > > Hey Fritz, > > Maybe this is the issue ? > > Steve F. > > > > http://www.mail-archive.com/nagios-users at lists.sourceforge.net/msg18874.html > > You are specifying 'Sticky Acknowledgement'. > > Command Description > This command is used to acknowledge a service problem. When a service > problem is acknowledged, future notifications about problems are > temporarily disabled until the service changes from its current state. > If you want acknowledgement to disable notifications until the service > recovers, check the 'Sticky Acknowledgement' checkbox. > > > ------------------------------ > Date: Thu, 1 Apr 2010 10:40:21 -0400 > From: neufpas at gmail.com > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] state change question > > > I'm trying to track down an issue and am not sure If I'm following what is > happening correctly. We had a service go critical and start sending alerts. > The service was then acknowledged so it would stop sending notifications. > The problem with that service was then "resolved" by getting the service > into a WARN state instead of getting it back to OK. The service then ended > up going critical again but it never sent a notification on the hard state > change from WARN to CRITICAL. Is it possible that because it never went back > to OK the acknowledgement never went away? I'm reading through the docs and > I don't see anything that covers this scenario. Is this expected behavior or > am I missing something and need to do more digging? > > ------------------------------ > Hotmail: Trusted email with powerful SPAM protection. Sign up now. > > > ------------------------------------------------------------------------------ > Download Intel? Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mirde at oppy.com Thu Apr 1 23:41:38 2010 From: mirde at oppy.com (Mirza Dedic) Date: Thu, 1 Apr 2010 14:41:38 -0700 Subject: Service / Host Dependency Check - logic Message-ID: Hi, I just want to make sure I understand the logic here correctly before implementing it; basically my goal here is to "minimize" the amount of notifications that come through. Right now, as an example I have in my definitions: My host cfg: define host{ use windows-server host_name van-mail01 alias van-mail01 address 172.16.4.10 } define service{ use generic-service host_name van-mail01 service_description Ping check_command check_ping!250.0,20%!500.0,20% } Then, many services configured for that box that check ports, service states, processes, disk space, memory, CPU., the standard stuff.. define service{ use generic-service host_name van-mail01 service_description Uptime check_command check_nt_up process_perf_data 0 } define service{ use generic-service host_name van-mail01 service_description C - Disk Space check_command check_nt_disk!C!95!98 } define service{ use generic-service host_name van-mail01 service_description D - Disk Space check_command check_nt_disk!D!95!98 } Well, if I can't ping Host A from my Nagios box, then the host is probably down or the network on which Host A is on is down, so I want to suppress notification for all the services on that host, and just receive one notice that "host a" cannot be pinged. Is this the correct method to accomplish this? define servicedependency{ dependent_host_name van-mail01 dependent_service_description Ping host_name host_name hostgroup_name van-mail01 service_description Uptime, C - Disk Space, D - Disk Space inherits_parent [0/1] # what should this be? execution_failure_criteria [o,w,u,c,p,n] # ?? notification_failure_criteria [o,w,u,c,p,n] # ?? } I want to only receive a Warning for van-mail01's Ping and suppress everything else since its going to be "unreachable/unknown/critical/down" if I can't ping the service. Please let me know, thank you. The Oppenheimer Group ---- CONFIDENTIAL This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the email by you is prohibited. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 flatto.net Thu Apr 1 23:54:25 2010 From: nagios at flatto.net (Assaf Flatto) Date: Thu, 01 Apr 2010 22:54:25 +0100 Subject: Service / Host Dependency Check - logic In-Reply-To: References: Message-ID: <4BB51611.6010005@flatto.net> Mirza Dedic wrote: > Hi, > > I just want to make sure I understand the logic here correctly before implementing it; basically my goal here is to "minimize" the amount of notifications that come through. > > Right now, as an example I have in my definitions: > > My host cfg: > > define host{ > use windows-server > host_name van-mail01 > alias van-mail01 > address 172.16.4.10 > } > > define service{ > use generic-service > host_name van-mail01 > service_description Ping > check_command check_ping!250.0,20%!500.0,20% > } > > Then, many services configured for that box that check ports, service states, processes, disk space, memory, CPU., the standard stuff.. > > define service{ > use generic-service > host_name van-mail01 > service_description Uptime > check_command check_nt_up > process_perf_data 0 > } > > define service{ > use generic-service > host_name van-mail01 > service_description C - Disk Space > check_command check_nt_disk!C!95!98 > } > > define service{ > use generic-service > host_name van-mail01 > service_description D - Disk Space > check_command check_nt_disk!D!95!98 > } > > Well, if I can't ping Host A from my Nagios box, then the host is probably down or the network on which Host A is on is down, so I want to suppress notification for all the services on that host, and just receive one notice that "host a" cannot be pinged. > > Is this the correct method to accomplish this? > > define servicedependency{ > dependent_host_name van-mail01 > dependent_service_description Ping > host_name host_name > hostgroup_name van-mail01 > service_description Uptime, C - Disk Space, D - Disk Space > inherits_parent [0/1] # what should this be? > execution_failure_criteria [o,w,u,c,p,n] # ?? > notification_failure_criteria [o,w,u,c,p,n] # ?? > } > > I want to only receive a Warning for van-mail01's Ping and suppress everything else since its going to be "unreachable/unknown/critical/down" if I can't ping the service. > > Please let me know, thank you. > you have it the wrong way round , it should be like this define servicedependency{ host_name van-mail01 service_description Ping service_description Uptime, C - Disk Space, D - Disk Space execution_failure_criteria w,u,c notification_failure_criteria ,w,u,c } this tells nagios that the primary service is ping and the others depend on him to work. the fact that we only state the host ones - tells nagios that it is "same host dependencies" to get more in depth understanding read these : http://nagios.sourceforge.net/docs/3_0/dependencies.html and http://nagios.sourceforge.net/docs/3_0/objecttricks.html Assaf -- Never ,Ever cut a Deal With A Dragon ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From vicjalan at gmail.com Fri Apr 2 01:45:33 2010 From: vicjalan at gmail.com (Victor Lanza) Date: Thu, 1 Apr 2010 19:45:33 -0400 Subject: Monitor Thin Clients with Nagios In-Reply-To: References: Message-ID: Thank you for your input and pointing me in some kind of direction. I will give it a try. On 3/31/10, Matt Simmons wrote: > Like anything else, the thin clients have to be able to report, > somehow. Given the fact that there is a Wyse MIB ( > http://www.oidview.com/mibs/714/WYSE-MIB.html ), I'd wager they > support SNMP, and thus could probably be set up like any other network > accessible host. > > Also, there's a chance (though I'm unfamiliar with the equipment, so I > don't know how good of a chance) that they could be setup for SNMP > traps, in which case you can probably be alerted for hardware faults. > > Good luck. Get it done, then write some documentation! ;-) > > --Matt > > > On Wed, Mar 31, 2010 at 4:06 PM, Victor Lanza wrote: >> Hi, >> >> Has anyone tried to monitor Thin Clients with Nagios..as far as hardware >> health or anything other than just ping? Specifically with Wyse thin >> clients >> and Nagios 3.0.6. I'm curious to see what can be monitored. >> >> Thanks, >> >> Victor >> >> ------------------------------------------------------------------------------ >> Download Intel® Parallel Studio Eval >> Try the new software tools for yourself. Speed compiling, find bugs >> proactively, and fine-tune applications for parallel performance. >> See why Intel Parallel Studio got high marks during beta. >> http://p.sf.net/sfu/intel-sw-dev >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting >> any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> > > > > -- > LITTLE GIRL: But which cookie will you eat FIRST? > COOKIE MONSTER: Me think you have misconception of cookie-eating process. > > COOKIE MONSTER: Boy, I wish I were a sysadmin so I could go to the > NJ-PICC Sysadmin Conference! http://www.picconf.org > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Sent from my mobile device Best Regards, Victor Lanza ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From steinex at nognu.de Fri Apr 2 21:24:38 2010 From: steinex at nognu.de (Frank Steinborn) Date: Fri, 2 Apr 2010 21:24:38 +0200 Subject: Failover+NSCA - syncing webinterface settings? Message-ID: <20100402192438.GH38965@haydn.nognu.de> Hello, We have completed a failover setup for Nagios and it's running very smoothly so far, besides one issue. Let me explain. The slave-Nagios starts checking services and sending out notifications in case the master fails - perfect. I have configured the Master to send passive service checks via NSCA to the slave so that the service and hoststates are always known to the slave in case it needs to take over - perfect. However: If I, for example, mute a service in the masters' Webinterface, I'd need a way for syncing such settings to the slave too. Or better said: I just don't want the actual service states synced, but it's assoiciated settings from the webinterface too. Any ideas how this may be possible? ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pradhanparas at gmail.com Fri Apr 2 22:45:06 2010 From: pradhanparas at gmail.com (Paras pradhan) Date: Fri, 2 Apr 2010 15:45:06 -0500 Subject: nrpe solaris? Message-ID: Is there any pre compiled nrpe package for solaris 8 9 and 10? The one at http://www.monitoringexchange.org/inventory/Utilities/AddOn-Projects/Communication/NRPE/NRPE-Solaris doesn't seem to work ( installs but ssl handshake error if queried from the nagios server. Do I need any extra package here?) Thanks! Paras. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ravishankar.gundlapali at wipro.com Sat Apr 3 07:21:48 2010 From: ravishankar.gundlapali at wipro.com (ravishankar.gundlapali at wipro.com) Date: Sat, 3 Apr 2010 10:51:48 +0530 Subject: Nagios 3.2.1 - browser refresh Message-ID: <39C5D75C6A5D3440A833E1C014384BAA08E5DB5C@PNE-HJN-MBX02.wipro.com> Hi, I am using nagios on Linux with Fedora installed on it. I have recently upgraded nagios to 3.2.1,when I refresh the browser it gets redirected to home page. I have gone through the previous posts and made the changes but even then same problem. I have renamed the file index.php to index.html Please someone suggest. Thanks, Ravi G -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- An embedded message was scrubbed... From: Subject: Re: [Nagios-users] Nagios 3.2.1 - browser refresh Date: Wed, 31 Mar 2010 00:44:10 +0530 Size: 7598 URL: -------------- next part -------------- An embedded message was scrubbed... From: Subject: Re: [Nagios-users] Nagios 3.2.1 - browser refresh Date: Wed, 31 Mar 2010 17:30:07 +0530 Size: 6671 URL: -------------- next part -------------- An embedded message was scrubbed... From: Subject: Re: [Nagios-users] Nagios 3.2.1 - browser refresh Date: Wed, 31 Mar 2010 17:20:34 +0530 Size: 7334 URL: -------------- next part -------------- An embedded message was scrubbed... From: Subject: Re: [Nagios-users] Nagios 3.2.1 - browser refresh Date: Thu, 1 Apr 2010 10:00:36 +0530 Size: 9065 URL: -------------- next part -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From doepain at gmail.com Mon Apr 5 04:50:31 2010 From: doepain at gmail.com (dOE) Date: Sun, 4 Apr 2010 22:50:31 -0400 Subject: Setting up Escalations. Message-ID: I am having a difficulty getting escalations to work on Nagios 3.0.3 The following is pulled from the documentation: define serviceescalation{ host_name webserver service_description HTTP first_notification 3 last_notification 5 notification_interval 45 contact_groups ITOps_Oncall,managers } define serviceescalation{ host_name webserver service_description HTTP first_notification 6 last_notification 0 notification_interval 60 contact_groups ITOps_Oncall,managers,everyone } I have read the documentation, but I don't understand what the "notification_interval" are based on, and sine we have hosts inheriting from a "core" template it is very difficult to test escalations. We use OpCfg to do our Nagios configuration, but it does not stop me from occasionally going into the actual configuration files to make changes either. If anyone has this working, and could shed some light on how I can get this to work, or clarify the documentation explanation of it. Also, since I am inheriting from a template I feel as though the changes I make to a particular host (to test) is being ignored or it maybe me not understanding what the "notification_interval" are exactly. Any advice is very much appreciated. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From asraikhn at gmail.com Mon Apr 5 07:28:18 2010 From: asraikhn at gmail.com (Asrai khn) Date: Mon, 5 Apr 2010 10:28:18 +0500 Subject: nrpe solaris? In-Reply-To: References: Message-ID: 2. You can disable SSL while running nrpe on remote Solaris box... nrpe -n -c /nagios/etc/nrpe.cfg -d and then can use check_nrpe from nagios box with -n argument. 2. Or you can install NRPE using blastwave.org repository on Solaris boxes. On Sat, Apr 3, 2010 at 1:45 AM, Paras pradhan wrote: > Is there any pre compiled nrpe package for solaris 8 9 and 10? > > The one at > > > http://www.monitoringexchange.org/inventory/Utilities/AddOn-Projects/Communication/NRPE/NRPE-Solaris > > > doesn't seem to work ( installs but ssl handshake error if queried from the > nagios server. Do I need any extra package here?) > > > > Thanks! > Paras. > > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Apr 5 12:34:07 2010 From: zarrelli at linux.it (Giorgio Zarrelli) Date: Mon, 5 Apr 2010 12:34:07 +0200 Subject: Setting up Escalations. In-Reply-To: References: Message-ID: <87D9BE14-F5BC-42B9-993D-18413F0FDA7D@linux.it> Hi, First, local definitions win over those written in templates, so if in the template you have a notification_interval value and in the escalation you have another, escalation wins and its value is adopted. Second, notification_interval il the interval between two consecutive notifications for a host or a service, after it enters a non ok status and has exceeded max_check_attempts value. Ciao, Giorgio Il giorno 05/apr/2010, alle ore 04.50, dOE ha scritto: > I am having a difficulty getting escalations to work on Nagios 3.0.3 > > The following is pulled from the documentation: > > define serviceescalation{ > host_name webserver > service_description HTTP > first_notification 3 > last_notification 5 > notification_interval 45 > contact_groups ITOps_Oncall,managers > } > > define serviceescalation{ > host_name webserver > service_description HTTP > first_notification 6 > last_notification 0 > notification_interval 60 > contact_groups ITOps_Oncall,managers,everyone > } > > I have read the documentation, but I don't understand what the > "notification_interval" are based on, and sine we have hosts > inheriting from a "core" template it is very difficult to test > escalations. > We use OpCfg to do our Nagios configuration, but it does not stop me > from occasionally going into the actual configuration files to make > changes either. > > If anyone has this working, and could shed some light on how I can > get this to work, or clarify the documentation explanation of it. > Also, since I am inheriting from a template I feel as though the > changes I make to a particular host (to test) is being ignored or it > maybe me not understanding what the "notification_interval" are > exactly. > > Any advice is very much appreciated. > --- > --- > --- > --------------------------------------------------------------------- > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From akpgeek at gmail.com Mon Apr 5 16:55:42 2010 From: akpgeek at gmail.com (akp geek) Date: Mon, 5 Apr 2010 10:55:42 -0400 Subject: nrpe solaris? In-Reply-To: References: Message-ID: http://www.utahsysadmin.com/2008/03/14/configuring-nagios-plugins-nrpe-on-solaris-10/ Try this one Regards On Fri, Apr 2, 2010 at 4:45 PM, Paras pradhan wrote: > Is there any pre compiled nrpe package for solaris 8 9 and 10? > > The one at > > > http://www.monitoringexchange.org/inventory/Utilities/AddOn-Projects/Communication/NRPE/NRPE-Solaris > > > doesn't seem to work ( installs but ssl handshake error if queried from the > nagios server. Do I need any extra package here?) > > > > Thanks! > Paras. > > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pradhanparas at gmail.com Mon Apr 5 19:07:31 2010 From: pradhanparas at gmail.com (Paras pradhan) Date: Mon, 5 Apr 2010 12:07:31 -0500 Subject: nrpe solaris? In-Reply-To: References: Message-ID: On Mon, Apr 5, 2010 at 12:28 AM, Asrai khn wrote: > > 2. You can disable SSL while running nrpe on remote Solaris box... > > nrpe -n -c /nagios/etc/nrpe.cfg -d > > -n is not recognized in the package that I have download from > monitoringexchange. > > and then can use check_nrpe from nagios box with -n argument. > > 2. Or you can install NRPE using blastwave.org repository on Solaris > boxes. > I can see only nrpe for solaris 8. no packages for 9 and 10 for nrpe on blastwave? http://www.blastwave.org/jir/pkgcontents.ftd?software=nrpe&style=brief&state=5&arch=sparc Thanks Paras. > > > > On Sat, Apr 3, 2010 at 1:45 AM, Paras pradhan wrote: > >> Is there any pre compiled nrpe package for solaris 8 9 and 10? >> >> The one at >> >> >> http://www.monitoringexchange.org/inventory/Utilities/AddOn-Projects/Communication/NRPE/NRPE-Solaris >> >> >> doesn't seem to work ( installs but ssl handshake error if queried from >> the nagios server. Do I need any extra package here?) >> >> >> >> Thanks! >> Paras. >> >> >> >> ------------------------------------------------------------------------------ >> Download Intel® Parallel Studio Eval >> Try the new software tools for yourself. Speed compiling, find bugs >> proactively, and fine-tune applications for parallel performance. >> See why Intel Parallel Studio got high marks during beta. >> http://p.sf.net/sfu/intel-sw-dev >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> > > > > -- > 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 > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 isprime.org Mon Apr 5 19:23:46 2010 From: nagios at isprime.org (Kyle O'Donnell) Date: Mon, 05 Apr 2010 13:23:46 -0400 Subject: =?utf-8?q?nrpe_solaris=3F?= In-Reply-To: References: Message-ID: SunOS 5.8 (tested and work on SunOS 5.9) http://www.monitoringexchange.org/p/1283 SunOS 5.10 (sparc) http://www.monitoringexchange.org/p/1284 SunOS 5.10 (x86) http://www.monitoringexchange.org/p/1289 On Mon, 5 Apr 2010 12:07:31 -0500, Paras pradhan wrote: > On Mon, Apr 5, 2010 at 12:28 AM, Asrai khn wrote: > >> >> 2. You can disable SSL while running nrpe on remote Solaris box... >> >> nrpe -n -c /nagios/etc/nrpe.cfg -d >> > > > >> -n is not recognized in the package that I have download from >> monitoringexchange. >> > > > >> and then can use check_nrpe from nagios box with -n argument. >> >> 2. Or you can install NRPE using blastwave.org repository on Solaris >> boxes. >> > > I can see only nrpe for solaris 8. no packages for 9 and 10 for nrpe on > blastwave? > > http://www.blastwave.org/jir/pkgcontents.ftd?software=nrpe&style=brief&state=5&arch=sparc > > Thanks > Paras. > > >> >> >> >> On Sat, Apr 3, 2010 at 1:45 AM, Paras pradhan >> wrote: >> >>> Is there any pre compiled nrpe package for solaris 8 9 and 10? >>> >>> The one at >>> >>> >>> http://www.monitoringexchange.org/inventory/Utilities/AddOn-Projects/Communication/NRPE/NRPE-Solaris >>> >>> >>> doesn't seem to work ( installs but ssl handshake error if queried from >>> the nagios server. Do I need any extra package here?) >>> >>> >>> >>> Thanks! >>> Paras. >>> >>> >>> >>> ------------------------------------------------------------------------------ >>> Download Intel? Parallel Studio Eval >>> Try the new software tools for yourself. Speed compiling, find bugs >>> proactively, and fine-tune applications for parallel performance. >>> See why Intel Parallel Studio got high marks during beta. >>> http://p.sf.net/sfu/intel-sw-dev >>> _______________________________________________ >>> Nagios-users mailing list >>> Nagios-users at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>> ::: Please include Nagios version, plugin version (-v) and OS when >>> reporting any issue. >>> ::: Messages without supporting info will risk being sent to /dev/null >>> >> >> >> >> -- >> 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 >> >> >> ------------------------------------------------------------------------------ >> Download Intel? Parallel Studio Eval >> Try the new software tools for yourself. Speed compiling, find bugs >> proactively, and fine-tune applications for parallel performance. >> See why Intel Parallel Studio got high marks during beta. >> http://p.sf.net/sfu/intel-sw-dev >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Apr 5 23:11:12 2010 From: zarrelli at linux.it (Giorgio Zarrelli) Date: Mon, 05 Apr 2010 23:11:12 +0200 Subject: Setting up Escalations. In-Reply-To: References: <87D9BE14-F5BC-42B9-993D-18413F0FDA7D@linux.it> Message-ID: <1270501872.3095.58.camel@SALOTTO> Hi, the workflow is the following: 1. The service/host is checked in OK state with the check_interval timing; 2. As the service/host goes into a NON OK state, but didn't reach the max_check_attempts, the service enters a SOFT NON OK state and the next check is scheduled with the retry_interval timing; 3. As the service/host in NON OK state reaches the max_check_attempts_value, the service enters an HARD NON OK STATE and the next service/host check is scheduled with the check_interval timing; 4. Now, if you set first_notification_delay, this can alter the timing for the first notification to be sent (0 means notifications to be sent immediately); 5. If you didn't set the first_notification_delay, the first notification is immediately sent and the following will be scheduled with the notification_interval timing (0 means only the first notification will be sent, the other will not be sent); 6. In your escalation, at the third notification (with the notification_interval taking place), the notification interval changes to 45 minutes, so the first notification will be sent after the max_check_attempts value will be reached (assuming you didn't put any delay), then the second after 10 time units, usually 10 minutes, the third 10 mins after the second, the fourth 45 mins after the third, the fifth 45 mins after the fourth, the sixth 45 mins after the fifth. 7. From the sixth notification, the new escalation comes into play. The seventh notification will be sent after 60 minutes, and all the other notifications will be sent 60 mins after each other. Keep in mind that having used 0 as the last_notification value, you escalation will never end till your check will return an OK status. I do not know if I answered to your questions, I hope to have explained the notification/escalation timings in a correct and clear manner. On the Nagios wiki you will find a flowchart I wrote to clarify the logic dealing with the notification framework. Ciao, Giorgio Il giorno lun, 05/04/2010 alle 12.48 -0400, dOE ha scritto: > Thanks Giorgia, > > Then for notification_interval for production environment set to "10" > would process the escalation after 10 minutes of the alert NIT being > "ok"?, and subsequent notification_interval should be set to more than > "10" so that they would then be notified too? > > Am I understanding this correctly? > > On Mon, Apr 5, 2010 at 6:34 AM, Giorgio Zarrelli > wrote: > Hi, > > First, local definitions win over those written in templates, > so if in the template you have a notification_interval value > and in the escalation you have another, escalation wins and > its value is adopted. > > Second, notification_interval il the interval between two > consecutive notifications for a host or a service, after it > enters a non ok status and has exceeded max_check_attempts > value. > > Ciao, > > Giorgio > > Il giorno 05/apr/2010, alle ore 04.50, dOE > ha scritto: > > > I am having a difficulty getting escalations to work > on Nagios 3.0.3 > > The following is pulled from the documentation: > > define serviceescalation{ > host_name webserver > service_description HTTP > first_notification 3 > last_notification 5 > notification_interval 45 > contact_groups ITOps_Oncall,managers > } > > define serviceescalation{ > host_name webserver > service_description HTTP > first_notification 6 > last_notification 0 > notification_interval 60 > contact_groups > ITOps_Oncall,managers,everyone > } > > I have read the documentation, but I don't understand > what the "notification_interval" are based on, and > sine we have hosts inheriting from a "core" template > it is very difficult to test escalations. > We use OpCfg to do our Nagios configuration, but it > does not stop me from occasionally going into the > actual configuration files to make changes either. > > If anyone has this working, and could shed some light > on how I can get this to work, or clarify the > documentation explanation of it. Also, since I am > inheriting from a template I feel as though the > changes I make to a particular host (to test) is being > ignored or it maybe me not understanding what the > "notification_interval" are exactly. > > Any advice is very much appreciated. > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed > compiling, find bugs > proactively, and fine-tune applications for parallel > performance. > See why Intel Parallel Studio got high marks during > beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) > and OS when reporting any issue. > ::: Messages without supporting info will risk being > sent to /dev/null > > ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pradhanparas at gmail.com Mon Apr 5 23:26:02 2010 From: pradhanparas at gmail.com (Paras pradhan) Date: Mon, 5 Apr 2010 16:26:02 -0500 Subject: nrpe solaris? In-Reply-To: References: Message-ID: Thanks Kyle. This worked well ! Paras. On Mon, Apr 5, 2010 at 12:23 PM, Kyle O'Donnell wrote: > SunOS 5.8 (tested and work on SunOS 5.9) > http://www.monitoringexchange.org/p/1283 > > SunOS 5.10 (sparc) > http://www.monitoringexchange.org/p/1284 > > SunOS 5.10 (x86) > http://www.monitoringexchange.org/p/1289 > > On Mon, 5 Apr 2010 12:07:31 -0500, Paras pradhan > wrote: > > On Mon, Apr 5, 2010 at 12:28 AM, Asrai khn wrote: > > > >> > >> 2. You can disable SSL while running nrpe on remote Solaris box... > >> > >> nrpe -n -c /nagios/etc/nrpe.cfg -d > >> > > > > > > > >> -n is not recognized in the package that I have download from > >> monitoringexchange. > >> > > > > > > > >> and then can use check_nrpe from nagios box with -n argument. > >> > >> 2. Or you can install NRPE using blastwave.org repository on Solaris > >> boxes. > >> > > > > I can see only nrpe for solaris 8. no packages for 9 and 10 for nrpe on > > blastwave? > > > > > > http://www.blastwave.org/jir/pkgcontents.ftd?software=nrpe&style=brief&state=5&arch=sparc > > > > Thanks > > Paras. > > > > > >> > >> > >> > >> On Sat, Apr 3, 2010 at 1:45 AM, Paras pradhan > >> wrote: > >> > >>> Is there any pre compiled nrpe package for solaris 8 9 and 10? > >>> > >>> The one at > >>> > >>> > >>> > > http://www.monitoringexchange.org/inventory/Utilities/AddOn-Projects/Communication/NRPE/NRPE-Solaris > >>> > >>> > >>> doesn't seem to work ( installs but ssl handshake error if queried > from > >>> the nagios server. Do I need any extra package here?) > >>> > >>> > >>> > >>> Thanks! > >>> Paras. > >>> > >>> > >>> > >>> > > ------------------------------------------------------------------------------ > >>> Download Intel? Parallel Studio Eval > >>> Try the new software tools for yourself. Speed compiling, find bugs > >>> proactively, and fine-tune applications for parallel performance. > >>> See why Intel Parallel Studio got high marks during beta. > >>> http://p.sf.net/sfu/intel-sw-dev > >>> _______________________________________________ > >>> Nagios-users mailing list > >>> Nagios-users at lists.sourceforge.net > >>> https://lists.sourceforge.net/lists/listinfo/nagios-users > >>> ::: Please include Nagios version, plugin version (-v) and OS when > >>> reporting any issue. > >>> ::: Messages without supporting info will risk being sent to /dev/null > >>> > >> > >> > >> > >> -- > >> 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 > >> > >> > >> > > ------------------------------------------------------------------------------ > >> Download Intel? Parallel Studio Eval > >> Try the new software tools for yourself. Speed compiling, find bugs > >> proactively, and fine-tune applications for parallel performance. > >> See why Intel Parallel Studio got high marks during beta. > >> http://p.sf.net/sfu/intel-sw-dev > >> _______________________________________________ > >> Nagios-users mailing list > >> Nagios-users at lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/nagios-users > >> ::: Please include Nagios version, plugin version (-v) and OS when > >> reporting any issue. > >> ::: Messages without supporting info will risk being sent to /dev/null > >> > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ravishankar.gundlapali at wipro.com Tue Apr 6 02:57:45 2010 From: ravishankar.gundlapali at wipro.com (ravishankar.gundlapali at wipro.com) Date: Tue, 6 Apr 2010 06:27:45 +0530 Subject: Not recieving email notifications?? Message-ID: Hi , I am using Nagios 3.0.6 on Linux with Fedora installed on it. My Nagios suddenly stopped sending email notifications . Here is my service template. # Generic service definition template - This is NOT a real service, just a template! define service{ name generic-service ; The 'name' of this service template active_checks_enabled 1 ; Active service checks are enabled passive_checks_enabled 1 ; Passive service checks are enabled/accepted parallelize_check 1 ; Active service checks should be parallelized (disabling this can lead to major performance problems) obsess_over_service 1 ; We should obsess over this service (if necessary) check_freshness 0 ; Default is to NOT check service 'freshness' notifications_enabled 1 ; Service notifications are enabled event_handler_enabled 1 ; Service event handler is enabled flap_detection_enabled 1 ; Flap detection is enabled failure_prediction_enabled 1 ; Failure prediction is enabled process_perf_data 1 ; Process performance data retain_status_information 1 ; Retain status information across program restarts retain_nonstatus_information 1 ; Retain non-status information across program restarts is_volatile 0 ; The service is not volatile check_period 24x7 ; The service can be checked at any time of the day max_check_attempts 2 ; Re-check the service up to 3 times in order to determine its final (hard) state normal_check_interval 5 ; Check the service every 10 minutes under normal conditions retry_check_interval 1 ; Re-check the service every two minutes until a hard state can be determined # contact_groups stw_win_server,stw_network_devices,stw_app_server ; Notifications get sent out to everyone in the 'admins' group notification_options w,u,c ; Send notifications about warning, unknown, critical, and recovery events notification_interval 30 ; Re-notify about service problems every hour notification_period 24x7 ; Notifications can be sent out at any time register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL SERVICE, JUST A TEMPLATE! } Thanks & Regards, Ravi G -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From asraikhn at gmail.com Tue Apr 6 07:17:29 2010 From: asraikhn at gmail.com (Asrai khn) Date: Tue, 6 Apr 2010 10:17:29 +0500 Subject: Not recieving email notifications?? In-Reply-To: References: Message-ID: Check if your there is any email in your mail queue mailq? May be your MTA some problem in sending out bound emails? also try to su to naigios user su - nagios and type $mail may be email are bouncing back? On Tue, Apr 6, 2010 at 5:57 AM, wrote: > Hi , > > > > I am using Nagios 3.0.6 on Linux with Fedora installed on it. > > > > My Nagios suddenly stopped sending email notifications . > > > > Here is my service template. > > > > # Generic service definition template - This is NOT a real service, just a > template! > > > > define service{ > > name generic-service ; The > 'name' of this service template > > active_checks_enabled 1 ; Active > service checks are enabled > > passive_checks_enabled 1 ; Passive > service checks are enabled/accepted > > parallelize_check 1 ; Active > service checks should be parallelized (disabling this can lead to major > performance problems) > > obsess_over_service 1 ; We should > obsess over this service (if necessary) > > check_freshness 0 ; Default > is to NOT check service 'freshness' > > notifications_enabled 1 ; Service > notifications are enabled > > event_handler_enabled 1 ; Service > event handler is enabled > > flap_detection_enabled 1 ; Flap > detection is enabled > > failure_prediction_enabled 1 ; Failure > prediction is enabled > > process_perf_data 1 ; Process > performance data > > retain_status_information 1 ; Retain > status information across program restarts > > retain_nonstatus_information 1 ; Retain > non-status information across program restarts > > is_volatile 0 ; The > service is not volatile > > check_period 24x7 ; The > service can be checked at any time of the day > > max_check_attempts 2 ; Re-check > the service up to 3 times in order to determine its final (hard) state > > normal_check_interval 5 ; Check the > service every 10 minutes under normal conditions > > retry_check_interval 1 ; Re-check > the service every two minutes until a hard state can be determined > > # contact_groups > stw_win_server,stw_network_devices,stw_app_server ; Notifications get > sent out to everyone in the 'admins' group > > notification_options w,u,c ; Send > notifications about warning, unknown, critical, and recovery events > > notification_interval 30 ; Re-notify > about service problems every hour > > notification_period 24x7 ; > Notifications can be sent out at any time > > register 0 ; DONT > REGISTER THIS DEFINITION - ITS NOT A REAL SERVICE, JUST A TEMPLATE! > > } > > > > Thanks & Regards, > > Ravi G > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 6 07:22:54 2010 From: patrick.morris at hp.com (Morris, Patrick) Date: Mon, 05 Apr 2010 22:22:54 -0700 Subject: Not recieving email notifications?? In-Reply-To: References: Message-ID: <4BBAC52E.10809@hp.com> ravishankar.gundlapali at wipro.com wrote: > > Hi , > > > > I am using Nagios 3.0.6 on Linux with Fedora installed on it. > > > > My Nagios suddenly stopped sending email notifications . > First check that notifications haven't been disabled. After that, start looking at your logs. Nagios first, to see if it's notifying, then if it is, look at your mail logs. If it's not notifying at all according to the logs, double-check that notification haven't been disabled. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ravishankar.gundlapali at wipro.com Tue Apr 6 07:47:21 2010 From: ravishankar.gundlapali at wipro.com (ravishankar.gundlapali at wipro.com) Date: Tue, 6 Apr 2010 11:17:21 +0530 Subject: Not recieving email notifications?? In-Reply-To: <4BBAC52E.10809@hp.com> References: <4BBAC52E.10809@hp.com> Message-ID: Hi, The notifications have been enabled....please see below snippet in nagios.cfg file.. # NOTIFICATIONS OPTION # This determines whether or not Nagios will sent out any host or # service notifications when it is initially (re)started. # Values: 1 = enable notifications, 0 = disable notifications enable_notifications=1 I have also sent a test email by using the command ,and I received the mail. Please see below mail. echo "test 1" | mail -s "message" ravishankar.gundlapali at wipro.com -----Original Message----- From: root [mailto:root at localhost.localdomain] Sent: Tuesday, April 06, 2010 9:17 AM To: Ravishankar Gundlapali (WT01 - ENERGY & UTILITIES) Subject: test 1 test 1 Still I am not receiving the notifications from Nagios. Thanks & Regards, Ravi G -----Original Message----- From: Morris, Patrick [mailto:patrick.morris at hp.com] Sent: Tuesday, April 06, 2010 10:53 AM To: Nagios Users List Subject: Re: [Nagios-users] Not recieving email notifications?? ravishankar.gundlapali at wipro.com wrote: > > Hi , > > > > I am using Nagios 3.0.6 on Linux with Fedora installed on it. > > > > My Nagios suddenly stopped sending email notifications . > First check that notifications haven't been disabled. After that, start looking at your logs. Nagios first, to see if it's notifying, then if it is, look at your mail logs. If it's not notifying at all according to the logs, double-check that notification haven't been disabled. ------------------------------------------------------------------------ ------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ravishankar.gundlapali at wipro.com Tue Apr 6 07:51:01 2010 From: ravishankar.gundlapali at wipro.com (ravishankar.gundlapali at wipro.com) Date: Tue, 6 Apr 2010 11:21:01 +0530 Subject: Not recieving email notifications?? In-Reply-To: References: Message-ID: Hi, I am receiving the email when Sent using the command from cmdline. echo "subject" | mail -s "message" me at mymail.com I am not receiving the email notifications from Nagios.... Thanks & Regards, Ravi G From: Asrai khn [mailto:asraikhn at gmail.com] Sent: Tuesday, April 06, 2010 10:47 AM To: Nagios Users List Subject: Re: [Nagios-users] Not recieving email notifications?? Check if your there is any email in your mail queue mailq? May be your MTA some problem in sending out bound emails? also try to su to naigios user su - nagios and type $mail may be email are bouncing back? On Tue, Apr 6, 2010 at 5:57 AM, wrote: Hi , I am using Nagios 3.0.6 on Linux with Fedora installed on it. My Nagios suddenly stopped sending email notifications . Here is my service template. # Generic service definition template - This is NOT a real service, just a template! define service{ name generic-service ; The 'name' of this service template active_checks_enabled 1 ; Active service checks are enabled passive_checks_enabled 1 ; Passive service checks are enabled/accepted parallelize_check 1 ; Active service checks should be parallelized (disabling this can lead to major performance problems) obsess_over_service 1 ; We should obsess over this service (if necessary) check_freshness 0 ; Default is to NOT check service 'freshness' notifications_enabled 1 ; Service notifications are enabled event_handler_enabled 1 ; Service event handler is enabled flap_detection_enabled 1 ; Flap detection is enabled failure_prediction_enabled 1 ; Failure prediction is enabled process_perf_data 1 ; Process performance data retain_status_information 1 ; Retain status information across program restarts retain_nonstatus_information 1 ; Retain non-status information across program restarts is_volatile 0 ; The service is not volatile check_period 24x7 ; The service can be checked at any time of the day max_check_attempts 2 ; Re-check the service up to 3 times in order to determine its final (hard) state normal_check_interval 5 ; Check the service every 10 minutes under normal conditions retry_check_interval 1 ; Re-check the service every two minutes until a hard state can be determined # contact_groups stw_win_server,stw_network_devices,stw_app_server ; Notifications get sent out to everyone in the 'admins' group notification_options w,u,c ; Send notifications about warning, unknown, critical, and recovery events notification_interval 30 ; Re-notify about service problems every hour notification_period 24x7 ; Notifications can be sent out at any time register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL SERVICE, JUST A TEMPLATE! } Thanks & Regards, Ravi G ------------------------------------------------------------------------ ------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 6 07:52:27 2010 From: patrick.morris at hp.com (Morris, Patrick) Date: Mon, 05 Apr 2010 22:52:27 -0700 Subject: Not recieving email notifications?? In-Reply-To: References: <4BBAC52E.10809@hp.com> Message-ID: <4BBACC1B.6020300@hp.com> ravishankar.gundlapali at wipro.com wrote: > Hi, > > The notifications have been enabled....please see below snippet in > nagios.cfg file.. > > # NOTIFICATIONS OPTION > # This determines whether or not Nagios will sent out any host or > # service notifications when it is initially (re)started. > # Values: 1 = enable notifications, 0 = disable notifications > > enable_notifications=1 > > > I have also sent a test email by using the command ,and I received the > mail. Please see below mail. > > echo "test 1" | mail -s "message" ravishankar.gundlapali at wipro.com > > > -----Original Message----- > From: root [mailto:root at localhost.localdomain] > Sent: Tuesday, April 06, 2010 9:17 AM > To: Ravishankar Gundlapali (WT01 - ENERGY & UTILITIES) > Subject: test 1 > > test 1 > > > Still I am not receiving the notifications from Nagios. > > > Thanks & Regards, > Ravi G > > -----Original Message----- > From: Morris, Patrick [mailto:patrick.morris at hp.com] > Sent: Tuesday, April 06, 2010 10:53 AM > To: Nagios Users List > Subject: Re: [Nagios-users] Not recieving email notifications?? > > ravishankar.gundlapali at wipro.com wrote: > >> Hi , >> >> >> >> I am using Nagios 3.0.6 on Linux with Fedora installed on it. >> >> >> >> My Nagios suddenly stopped sending email notifications . >> >> > > First check that notifications haven't been disabled. > > After that, start looking at your logs. Nagios first, to see if it's > notifying, then if it is, look at your mail logs. If it's not notifying > at all according to the logs, double-check that notification haven't > been disabled. Please re-read my original reply, and try those instructions. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 6 08:50:03 2010 From: zarrelli at linux.it (Giorgio Zarrelli) Date: Tue, 6 Apr 2010 08:50:03 +0200 Subject: Not recieving email notifications?? In-Reply-To: References: Message-ID: <90CFA04D-1E3B-4E7A-9957-B85D90B9732C@linux.it> First, check in the web interface the notifications history to see if the notification-by-email command is called along with the notification events. Ciao, Giorgio Il giorno 06/apr/2010, alle ore 07.51, ha scritto: > Hi, > > > > I am receiving the email when Sent using the command from cmdline. > > > > echo "subject" | mail -s "message" me at mymail.com > > > > I am not receiving the email notifications from Nagios?. > > > > > > > > Thanks & Regards, > > Ravi G > > > > From: Asrai khn [mailto:asraikhn at gmail.com] > Sent: Tuesday, April 06, 2010 10:47 AM > To: Nagios Users List > Subject: Re: [Nagios-users] Not recieving email notifications?? > > > > Check if your there is any email in your mail queue > > mailq? > > May be your MTA some problem in sending out bound emails? > > also try to su to naigios user > > su - nagios > > and type > > $mail > > may be email are bouncing back? > > > On Tue, Apr 6, 2010 at 5:57 AM, > wrote: > > Hi , > > > > I am using Nagios 3.0.6 on Linux with Fedora installed on it. > > > > My Nagios suddenly stopped sending email notifications . > > > > Here is my service template. > > > > # Generic service definition template - This is NOT a real service, > just a template! > > > > define service{ > > name generic-service ; > The 'name' of this service template > > active_checks_enabled 1 ; > Active service checks are enabled > > passive_checks_enabled 1 ; > Passive service checks are enabled/accepted > > parallelize_check 1 ; > Active service checks should be parallelized (disabling this can > lead to major performance problems) > > obsess_over_service 1 ; We > should obsess over this service (if necessary) > > check_freshness 0 ; > Default is to NOT check service 'freshness' > > notifications_enabled 1 ; > Service notifications are enabled > > event_handler_enabled 1 ; > Service event handler is enabled > > flap_detection_enabled 1 ; > Flap detection is enabled > > failure_prediction_enabled 1 ; > Failure prediction is enabled > > process_perf_data 1 ; > Process performance data > > retain_status_information 1 ; > Retain status information across program restarts > > retain_nonstatus_information 1 ; > Retain non-status information across program restarts > > is_volatile 0 ; > The service is not volatile > > check_period 24x7 ; > The service can be checked at any time of the day > > max_check_attempts 2 ; Re- > check the service up to 3 times in order to determine its final > (hard) state > > normal_check_interval 5 ; > Check the service every 10 minutes under normal conditions > > retry_check_interval 1 ; Re- > check the service every two minutes until a hard state can be > determined > > # contact_groups > stw_win_server,stw_network_devices,stw_app_server ; > Notifications get sent out to everyone in the 'admins' group > > notification_options w,u,c ; > Send notifications about warning, unknown, critical, and recovery > events > > notification_interval 30 ; Re- > notify about service problems every hour > > notification_period 24x7 ; > Notifications can be sent out at any time > > register 0 ; > DONT REGISTER THIS DEFINITION - ITS NOT A REAL SERVICE, JUST A > TEMPLATE! > > } > > > > Thanks & Regards, > > Ravi G > > > --- > --- > --- > --------------------------------------------------------------------- > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > > > -- > 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 > > --- > --- > --- > --------------------------------------------------------------------- > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ravishankar.gundlapali at wipro.com Tue Apr 6 09:02:16 2010 From: ravishankar.gundlapali at wipro.com (ravishankar.gundlapali at wipro.com) Date: Tue, 6 Apr 2010 12:32:16 +0530 Subject: Not recieving email notifications?? In-Reply-To: <90CFA04D-1E3B-4E7A-9957-B85D90B9732C@linux.it> References: <90CFA04D-1E3B-4E7A-9957-B85D90B9732C@linux.it> Message-ID: Hi, Please see the notifications in web console?..I think notification-by-email command is called. File:/usr/local/nagios/var/nagios.log Host Service Type Time Contact Notification Command Information LTCPETLDBPRD01 E:\ Drive Space CRITICAL 04-06-2010 07:46:59 stw_app_server notify-service-by-email (Return code of 139 is out of bounds) lvecpp01 E:\ Drive Space CRITICAL 04-06-2010 07:40:09 stw_app_server notify-service-by-email E:\ - total: 49.98 Gb - used: 46.53 Gb (93%) - free 3.46 Gb (7%) LVMDQ1 D:\ Drive Space WARNING 04-06-2010 07:38:39 stw_app_server notify-service-by-email D:\ - total: 30.00 Gb - used: 26.82 Gb (89%) - free 3.17 Gb (11%) LTCPETLDBPRD01 E:\ Drive Space CRITICAL 04-06-2010 07:16:59 stw_app_server notify-service-by-email (Return code of 139 is out of bounds) lvecpp01 E:\ Drive Space CRITICAL 04-06-2010 07:10:09 stw_app_server notify-service-by-email E:\ - total: 49.98 Gb - used: 46.52 Gb (93%) - free 3.46 Gb (7%) LVMDQ1 D:\ Drive Space WARNING 04-06-2010 07:08:39 stw_app_server notify-service-by-email D:\ - total: 30.00 Gb - used: 26.82 Gb (89%) - free 3.17 Gb (11%) LTCPETLDBPRD01 E:\ Drive Space CRITICAL 04-06-2010 06:46:59 stw_app_server notify-service-by-email (Return code of 139 is out of bounds) lvecpp01 E:\ Drive Space CRITICAL 04-06-2010 06:40:09 stw_app_server notify-service-by-email E:\ - total: 49.98 Gb - used: 46.52 Gb (93%) - free 3.46 Gb (7%) LVMDQ1 D:\ Drive Space WARNING 04-06-2010 06:38:39 stw_app_server notify-service-by-email D:\ - total: 30.00 Gb - used: 26.82 Gb (89%) - free 3.17 Gb (11%) LTCPETLDBPRD01 E:\ Drive Space CRITICAL 04-06-2010 06:16:59 stw_app_server notify-service-by-email (Return code of 139 is out of bounds) lvecpp01 E:\ Drive Space CRITICAL 04-06-2010 06:10:09 stw_app_server notify-service-by-email E:\ - total: 49.98 Gb - used: 46.53 Gb (93%) - free 3.45 Gb (7%) LVMDQ1 D:\ Drive Space WARNING 04-06-2010 06:08:39 stw_app_server notify-service-by-email D:\ - total: 30.00 Gb - used: 26.82 Gb (89%) - free 3.17 Thanks & Regards, Ravi G P please consider the environment - do you really need to print this email? From: Giorgio Zarrelli [mailto:zarrelli at linux.it] Sent: Tuesday, April 06, 2010 12:20 PM To: Nagios Users List Cc: Subject: Re: [Nagios-users] Not recieving email notifications?? First, check in the web interface the notifications history to see if the notification-by-email command is called along with the notification events. Ciao, Giorgio Il giorno 06/apr/2010, alle ore 07.51, ha scritto: Hi, I am receiving the email when Sent using the command from cmdline. echo "subject" | mail -s "message" me at mymail.com I am not receiving the email notifications from Nagios?. Thanks & Regards, Ravi G From: Asrai khn [mailto:asraikhn at gmail.com] Sent: Tuesday, April 06, 2010 10:47 AM To: Nagios Users List Subject: Re: [Nagios-users] Not recieving email notifications?? Check if your there is any email in your mail queue mailq? May be your MTA some problem in sending out bound emails? also try to su to naigios user su - nagios and type $mail may be email are bouncing back? On Tue, Apr 6, 2010 at 5:57 AM, wrote: Hi , I am using Nagios 3.0.6 on Linux with Fedora installed on it. My Nagios suddenly stopped sending email notifications . Here is my service template. # Generic service definition template - This is NOT a real service, just a template! define service{ name generic-service ; The 'name' of this service template active_checks_enabled 1 ; Active service checks are enabled passive_checks_enabled 1 ; Passive service checks are enabled/accepted parallelize_check 1 ; Active service checks should be parallelized (disabling this can lead to major performance problems) obsess_over_service 1 ; We should obsess over this service (if necessary) check_freshness 0 ; Default is to NOT check service 'freshness' notifications_enabled 1 ; Service notifications are enabled event_handler_enabled 1 ; Service event handler is enabled flap_detection_enabled 1 ; Flap detection is enabled failure_prediction_enabled 1 ; Failure prediction is enabled process_perf_data 1 ; Process performance data retain_status_information 1 ; Retain status information across program restarts retain_nonstatus_information 1 ; Retain non-status information across program restarts is_volatile 0 ; The service is not volatile check_period 24x7 ; The service can be checked at any time of the day max_check_attempts 2 ; Re-check the service up to 3 times in order to determine its final (hard) state normal_check_interval 5 ; Check the service every 10 minutes under normal conditions retry_check_interval 1 ; Re-check the service every two minutes until a hard state can be determined # contact_groups stw_win_server,stw_network_devices,stw_app_server ; Notifications get sent out to everyone in the 'admins' group notification_options w,u,c ; Send notifications about warning, unknown, critical, and recovery events notification_interval 30 ; Re-notify about service problems every hour notification_period 24x7 ; Notifications can be sent out at any time register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL SERVICE, JUST A TEMPLATE! } Thanks & Regards, Ravi G ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- 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 ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 6 09:58:16 2010 From: zarrelli at linux.it (Giorgio Zarrelli) Date: Tue, 6 Apr 2010 09:58:16 +0200 Subject: Not recieving email notifications?? In-Reply-To: References: <90CFA04D-1E3B-4E7A-9957-B85D90B9732C@linux.it> Message-ID: <070A3E1F-E7DC-4896-897A-4C82E9605D72@linux.it> Hi, Check the ownership and permissions on the script called by notify- service-by-email Ciao, Giorgio Il giorno 06/apr/2010, alle ore 09.02, ha scritto: > Hi, > > > > Please see the notifications in web console?..I think notification-b > y-email command is called. > > > > > > > > File:/usr/local/nagios/var/nagios.log > > > > > > > > > > > > > > > > Host > > Service > > Type > > Time > > Contact > > Notification Command > > Information > > LTCPETLDBPRD01 > > E:\ Drive Space > > CRITICAL > > 04-06-2010 07:46:59 > > stw_app_server > > notify-service-by-email > > (Return code of 139 is out of bounds) > > lvecpp01 > > E:\ Drive Space > > CRITICAL > > 04-06-2010 07:40:09 > > stw_app_server > > notify-service-by-email > > E:\ - total: 49.98 Gb - used: 46.53 Gb (93%) - free 3.46 Gb (7%) > > LVMDQ1 > > D:\ Drive Space > > WARNING > > 04-06-2010 07:38:39 > > stw_app_server > > notify-service-by-email > > D:\ - total: 30.00 Gb - used: 26.82 Gb (89%) - free 3.17 Gb (11%) > > LTCPETLDBPRD01 > > E:\ Drive Space > > CRITICAL > > 04-06-2010 07:16:59 > > stw_app_server > > notify-service-by-email > > (Return code of 139 is out of bounds) > > lvecpp01 > > E:\ Drive Space > > CRITICAL > > 04-06-2010 07:10:09 > > stw_app_server > > notify-service-by-email > > E:\ - total: 49.98 Gb - used: 46.52 Gb (93%) - free 3.46 Gb (7%) > > LVMDQ1 > > D:\ Drive Space > > WARNING > > 04-06-2010 07:08:39 > > stw_app_server > > notify-service-by-email > > D:\ - total: 30.00 Gb - used: 26.82 Gb (89%) - free 3.17 Gb (11%) > > LTCPETLDBPRD01 > > E:\ Drive Space > > CRITICAL > > 04-06-2010 06:46:59 > > stw_app_server > > notify-service-by-email > > (Return code of 139 is out of bounds) > > lvecpp01 > > E:\ Drive Space > > CRITICAL > > 04-06-2010 06:40:09 > > stw_app_server > > notify-service-by-email > > E:\ - total: 49.98 Gb - used: 46.52 Gb (93%) - free 3.46 Gb (7%) > > LVMDQ1 > > D:\ Drive Space > > WARNING > > 04-06-2010 06:38:39 > > stw_app_server > > notify-service-by-email > > D:\ - total: 30.00 Gb - used: 26.82 Gb (89%) - free 3.17 Gb (11%) > > LTCPETLDBPRD01 > > E:\ Drive Space > > CRITICAL > > 04-06-2010 06:16:59 > > stw_app_server > > notify-service-by-email > > (Return code of 139 is out of bounds) > > lvecpp01 > > E:\ Drive Space > > CRITICAL > > 04-06-2010 06:10:09 > > stw_app_server > > notify-service-by-email > > E:\ - total: 49.98 Gb - used: 46.53 Gb (93%) - free 3.45 Gb (7%) > > LVMDQ1 > > D:\ Drive Space > > WARNING > > 04-06-2010 06:08:39 > > stw_app_server > > notify-service-by-email > > D:\ - total: 30.00 Gb - used: 26.82 Gb (89%) - free 3.17 > > > > > > > > Thanks & Regards, > > Ravi G > > > > P please consider the environment - do you really need to print this > email? > > > > From: Giorgio Zarrelli [mailto:zarrelli at linux.it] > Sent: Tuesday, April 06, 2010 12:20 PM > To: Nagios Users List > Cc: > Subject: Re: [Nagios-users] Not recieving email notifications?? > > > > First, check in the web interface the notifications history to see > if the notification-by-email command is called along with the > notification events. > > Ciao, > > > > Giorgio > > > Il giorno 06/apr/2010, alle ore 07.51, > ha scritto: > > Hi, > > > > I am receiving the email when Sent using the command from cmdline. > > > > echo "subject" | mail -s "message" me at mymail.com > > > > I am not receiving the email notifications from Nagios?. > > > > > > > > Thanks & Regards, > > Ravi G > > > > From: Asrai khn [mailto:asraikhn at gmail.com] > Sent: Tuesday, April 06, 2010 10:47 AM > To: Nagios Users List > Subject: Re: [Nagios-users] Not recieving email notifications?? > > > > Check if your there is any email in your mail queue > > mailq? > > May be your MTA some problem in sending out bound emails? > > also try to su to naigios user > > su - nagios > > and type > > $mail > > may be email are bouncing back? > > > > On Tue, Apr 6, 2010 at 5:57 AM, > wrote: > > Hi , > > > > I am using Nagios 3.0.6 on Linux with Fedora installed on it. > > > > My Nagios suddenly stopped sending email notifications . > > > > Here is my service template. > > > > # Generic service definition template - This is NOT a real service, > just a template! > > > > define service{ > > name generic-service ; > The 'name' of this service template > > active_checks_enabled 1 ; > Active service checks are enabled > > passive_checks_enabled 1 ; > Passive service checks are enabled/accepted > > parallelize_check 1 ; > Active service checks should be parallelized (disabling this can > lead to major performance problems) > > obsess_over_service 1 ; We > should obsess over this service (if necessary) > > check_freshness 0 ; > Default is to NOT check service 'freshness' > > notifications_enabled 1 ; > Service notifications are enabled > > event_handler_enabled 1 ; > Service event handler is enabled > > flap_detection_enabled 1 ; > Flap detection is enabled > > failure_prediction_enabled 1 ; > Failure prediction is enabled > > process_perf_data 1 ; > Process performance data > > retain_status_information 1 ; > Retain status information across program restarts > > retain_nonstatus_information 1 ; > Retain non-status information across program restarts > > is_volatile 0 ; > The service is not volatile > > check_period 24x7 ; > The service can be checked at any time of the day > > max_check_attempts 2 ; Re- > check the service up to 3 times in order to determine its final > (hard) state > > normal_check_interval 5 ; > Check the service every 10 minutes under normal conditions > > retry_check_interval 1 ; Re- > check the service every two minutes until a hard state can be > determined > > # contact_groups > stw_win_server,stw_network_devices,stw_app_server ; > Notifications get sent out to everyone in the 'admins' group > > notification_options w,u,c ; > Send notifications about warning, unknown, critical, and recovery > events > > notification_interval 30 ; Re- > notify about service problems every hour > > notification_period 24x7 ; > Notifications can be sent out at any time > > register 0 ; > DONT REGISTER THIS DEFINITION - ITS NOT A REAL SERVICE, JUST A > TEMPLATE! > > } > > > > Thanks & Regards, > > Ravi G > > > --- > --- > --- > --------------------------------------------------------------------- > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > > > -- > 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 > > --- > --- > --- > --------------------------------------------------------------------- > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > Please do not print this email unless it is absolutely necessary. > > The information contained in this electronic message and any > attachments to this message are intended for the exclusive use of > the addressee(s) and may contain proprietary, confidential or > privileged information. If you are not the intended recipient, you > should not disseminate, distribute or copy this e-mail. Please > notify the sender immediately and destroy all copies of this message > and any attachments. > > WARNING: Computer viruses can be transmitted via email. The > recipient should check this email and any attachments for the > presence of viruses. The company accepts no liability for any damage > caused by any virus transmitted by this email. > > www.wipro.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ravishankar.gundlapali at wipro.com Tue Apr 6 11:01:53 2010 From: ravishankar.gundlapali at wipro.com (ravishankar.gundlapali at wipro.com) Date: Tue, 6 Apr 2010 14:31:53 +0530 Subject: Nagios 3.2.1 - browser refresh Message-ID: Hi, I am using nagios on Linux with Fedora installed on it. I have recently upgraded nagios to 3.2.1,when I refresh the browser it gets redirected to home page. I have gone through the previous posts and made the changes but even then same problem. I have renamed the file index.php to index.html but even then the problem persists... Please someone suggest. Thanks, Ravi G -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 vitro.co.uk Tue Apr 6 12:27:37 2010 From: nagios at vitro.co.uk (kristian) Date: Tue, 6 Apr 2010 11:27:37 +0100 Subject: Failover+NSCA - syncing webinterface settings? In-Reply-To: <20100402192438.GH38965@haydn.nognu.de> References: <20100402192438.GH38965@haydn.nognu.de> Message-ID: <000001cad573$c939bc80$5bad3580$@co.uk> Hi Frank I've got a similar setup running and had the problem of whenever the slave came online, any acknowledgements on the master were lost and notifications came out again. I use subversion to keep my object definitions in line between the slave and master (there is an svn update step in the master check on the slave) so the way I got around this was to commit the status.dat and retention.dat files to svn each minute. As part of the svn update on the slave, it turns off nagios, svn updates everything and then switches the slave back on, thus transferring all my acknowledgements across to the slave. I'm sure it could be done more elegantly, but this works for me. Hope it helps Kristian -----Original Message----- From: Frank Steinborn [mailto:steinex at nognu.de] Sent: 02 April 2010 8:25 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Failover+NSCA - syncing webinterface settings? Hello, We have completed a failover setup for Nagios and it's running very smoothly so far, besides one issue. Let me explain. The slave-Nagios starts checking services and sending out notifications in case the master fails - perfect. I have configured the Master to send passive service checks via NSCA to the slave so that the service and hoststates are always known to the slave in case it needs to take over - perfect. However: If I, for example, mute a service in the masters' Webinterface, I'd need a way for syncing such settings to the slave too. Or better said: I just don't want the actual service states synced, but it's assoiciated settings from the webinterface too. Any ideas how this may be possible? ---------------------------------------------------------------------------- -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 6 15:39:46 2010 From: guidosh at gmail.com (Guy Waugh) Date: Tue, 6 Apr 2010 14:39:46 +0100 Subject: Plugin to check file for string? Message-ID: Hi all, Does anyone know of a nagios plugin that will grep a file for a string? I have a cronjob that logs output to a file and I basically want to grep for 'cronjob successful' in this file, alerting Critical if the string isn't found and OK if it is. Thanks, Guy. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 flatto.net Tue Apr 6 15:49:30 2010 From: nagios at flatto.net (Assaf Flatto) Date: Tue, 06 Apr 2010 14:49:30 +0100 Subject: Plugin to check file for string? In-Reply-To: References: Message-ID: <4BBB3BEA.1000402@flatto.net> Guy Waugh wrote: > Hi all, > > Does anyone know of a nagios plugin that will grep a file for a string? > > I have a cronjob that logs output to a file and I basically want to > grep for 'cronjob successful' in this file, alerting Critical if the > string isn't found and OK if it is. > > Thanks, > Guy. Hi There are several that do what you need. check_log , is one of them and you can fiind many others here . http://www.monitoringexchange.org/search?query=check_log Have fun. Assaf -- Never,Ever Cut A Deal With a Dragon ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From benny at bennyvision.com Tue Apr 6 16:23:33 2010 From: benny at bennyvision.com (C. Bensend) Date: Tue, 6 Apr 2010 09:23:33 -0500 Subject: Plugin to check file for string? In-Reply-To: References: Message-ID: > Does anyone know of a nagios plugin that will grep a file for a string? > > I have a cronjob that logs output to a file and I basically want to grep > for > 'cronjob successful' in this file, alerting Critical if the string isn't > found and OK if it is. http://labs.consol.de/lang/en/nagios/check_logfiles/ The ConSol Labs guys are awesome, very responsive, and their check_logfile plugin is very powerful. Benny -- Me: 'How big a monster can you take out with one of those? Would you win a fight with Godzilla?' Jim: 'You could disassemble Godzilla at a range of seven miles.' -- Blog entry about the 76mm Melera, a gun on a US Navy Perry-class frigate that Somali pirates tried to seize ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From maxhetrick at verizon.net Tue Apr 6 17:57:07 2010 From: maxhetrick at verizon.net (Max Hetrick) Date: Tue, 06 Apr 2010 11:57:07 -0400 Subject: Plugin to check file for string? In-Reply-To: References: Message-ID: <4BBB59D3.2080002@verizon.net> Guy Waugh wrote: > Does anyone know of a nagios plugin that will grep a file for a string? > > I have a cronjob that logs output to a file and I basically want to grep > for 'cronjob successful' in this file, alerting Critical if the string > isn't found and OK if it is. The check_file plugin that is part of OpenFusion's plugin pack can check a file for a regular expression. I've used it for this purpose. http://www.openfusion.com.au/labs/nagios/ Regards, Max ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From helderbn at gmail.com Tue Apr 6 20:54:10 2010 From: helderbn at gmail.com (Helder) Date: Tue, 6 Apr 2010 15:54:10 -0300 Subject: How can nagios alert when receive email? Message-ID: Hi! I would like to configure nagios to alert when receive some messages from a pop server. How can i do it? Thanks Helder -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tyarusso at nagios.com Tue Apr 6 21:37:25 2010 From: tyarusso at nagios.com (Tony Yarusso) Date: Tue, 06 Apr 2010 14:37:25 -0500 Subject: How can nagios alert when receive email? In-Reply-To: References: Message-ID: <4BBB8D75.4050004@nagios.com> On 4/6/2010 1:54 PM, Helder wrote: > Hi! > > I would like to configure nagios to alert when receive some > messages from a pop server. How can i do it? > > Thanks > Helderes There are a number of plugins available the in exchange for this type of thing - take a look at the "IMAP4 and POP3" category to see if any suit your needs - http://exchange.nagios.org/directory/Plugins/Network-Protocols/IMAP4-and-POP3 -- Tony Yarusso Technical Team ___ Nagios Enterprises, LLC Email: tyarusso at nagios.com Web: www.nagios.com ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From justinp at norchemlab.com Tue Apr 6 22:13:27 2010 From: justinp at norchemlab.com (Justin T Pryzby) Date: Tue, 6 Apr 2010 13:13:27 -0700 Subject: How can nagios alert when receive email? In-Reply-To: References: Message-ID: <20100406201327.GA28021@norchemlab.com> On Tue, Apr 06, 2010 at 03:54:10PM -0300, Helder wrote: > I would like to configure nagios to alert when receive some > messages from a pop server. How can i do it? Procmail + nsca ? Justin ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From martyn at chetnet.co.uk Tue Apr 6 22:24:10 2010 From: martyn at chetnet.co.uk (Martyn) Date: Tue, 6 Apr 2010 21:24:10 +0100 Subject: Security Breach? Message-ID: Hi all, hope you can help me out with this question I have just been sent which is as follows: - "We have had a security warning from the hosting company, one of the Nagios User processes was using up 90% of the CPU: 8521 nagios 25 0 6144 2168 1524 R 90.4 0.0 566:17.51 x A review of the users access logs show this appeared to start last night, and the account has been remotely logged in to, suggesting its fully compromised: nagios pts/3 :pts/1:S.0 Sat Apr 3 11:35 - 11:36 (00:00) nagios pts/3 :pts/1:S.0 Sat Apr 3 11:32 - 11:35 (00:03) nagios pts/3 :pts/1:S.0 Sat Apr 3 01:41 - 11:30 (09:49) nagios pts/1 79.119.233.48 Sat Apr 3 01:36 - 15:36 (13:59) nagios pts/3 :pts/1:S.0 Fri Apr 2 23:50 - 01:36 (01:45) nagios pts/3 :pts/1:S.0 Fri Apr 2 22:25 - 23:37 (01:12) nagios pts/1 79.119.233.48 Fri Apr 2 20:55 - 01:36 (04:41) nagios pts/3 :pts/1:S.0 Fri Apr 2 12:47 - 13:18 (00:31) nagios pts/3 :pts/1:S.0 Fri Apr 2 10:50 - 12:47 (01:56) nagios pts/3 :pts/1:S.0 Fri Apr 2 10:49 - 10:49 (00:00) nagios pts/2 :pts/1:S.0 Fri Apr 2 10:36 - 10:49 (00:12) nagios pts/2 :pts/1:S.0 Fri Apr 2 10:02 - 10:36 (00:33) nagios pts/1 79.119.227.50 Fri Apr 2 09:35 - 13:18 (03:43) nagios pts/1 91.194.84.177 Fri Apr 2 01:52 - 01:52 (00:00" Could you help me out to try and understand how this has happened please as I'm at a complete loss, if you need more info I will endeavour to get it for you. Thanks all Nrpe.cfg and hosts allow are below. ###################################################### # LOG FACILITY # The syslog facility that should be used for logging purposes. log_facility=daemon # PID FILE # The name of the file in which the NRPE daemon should write it's process ID # number. The file is only written if the NRPE daemon is started by the root # user and is running in standalone mode. pid_file=/var/run/nrpe.pid # PORT NUMBER # Port number we should wait for connections on. # NOTE: This must be a non-priviledged port (i.e. > 1024). # NOTE: This option is ignored if NRPE is running under either inetd or xinetd server_port=5666 # SERVER ADDRESS # Address that nrpe should bind to in case there are more than one interface # and you do not want nrpe to bind on all interfaces. # NOTE: This option is ignored if NRPE is running under either inetd or xinetd #server_address=127.0.0.1 # NRPE USER # This determines the effective user that the NRPE daemon should run as. # You can either supply a username or a UID. # # NOTE: This option is ignored if NRPE is running under either inetd or xinetd nrpe_user=nagios # NRPE GROUP # This determines the effective group that the NRPE daemon should run as. # You can either supply a group name or a GID. # # NOTE: This option is ignored if NRPE is running under either inetd or xinetd nrpe_group=nagios # ALLOWED HOST ADDRESSES # This is an optional comma-delimited list of IP address or hostnames # that are allowed to talk to the NRPE daemon. # # Note: The daemon only does rudimentary checking of the client's IP # address. I would highly recommend adding entries in your /etc/hosts.allow # file to allow only the specified host to connect to the port # you are running this daemon on. # # NOTE: This option is ignored if NRPE is running under either inetd or xinetd allowed_hosts=127.0.0.1 # COMMAND ARGUMENT PROCESSING # This option determines whether or not the NRPE daemon will allow clients # to specify arguments to commands that are executed. This option only works # if the daemon was configured with the --enable-command-args configure script # option. # # *** ENABLING THIS OPTION IS A SECURITY RISK! *** # Read the SECURITY file for information on some of the security implications # of enabling this variable. # # Values: 0=do not allow arguments, 1=allow command arguments dont_blame_nrpe=0 # COMMAND PREFIX # This option allows you to prefix all commands with a user-defined string. # A space is automatically added between the specified prefix string and the # command line from the command definition. # # *** THIS EXAMPLE MAY POSE A POTENTIAL SECURITY RISK, SO USE WITH CAUTION! *** # Usage scenario: # Execute restricted commmands using sudo. For this to work, you need to add # the nagios user to your /etc/sudoers. An example entry for alllowing # execution of the plugins from might be: # # nagios ALL=(ALL) NOPASSWD: /usr/lib/nagios/plugins/ # # This lets the nagios user run all commands in that directory (and only them) # without asking for a password. If you do this, make sure you don't give # random users write access to that directory or its contents! # command_prefix=/usr/bin/sudo # DEBUGGING OPTION # This option determines whether or not debugging messages are logged to the # syslog facility. # Values: 0=debugging off, 1=debugging on debug=0 # COMMAND TIMEOUT # This specifies the maximum number of seconds that the NRPE daemon will # allow plugins to finish executing before killing them off. command_timeout=60 # CONNECTION TIMEOUT # This specifies the maximum number of seconds that the NRPE daemon will # wait for a connection to be established before exiting. This is sometimes # seen where a network problem stops the SSL being established even though # all network sessions are connected. This causes the nrpe daemons to # accumulate, eating system resources. Do not set this too low. connection_timeout=300 # WEEK RANDOM SEED OPTION # This directive allows you to use SSL even if your system does not have # a /dev/random or /dev/urandom (on purpose or because the necessary patches # were not applied). The random number generator will be seeded from a file # which is either a file pointed to by the environment valiable $RANDFILE # or $HOME/.rnd. If neither exists, the pseudo random number generator will # be initialized and a warning will be issued. # Values: 0=only seed from /dev/[u]random, 1=also seed from weak randomness #allow_weak_random_seed=1 # INCLUDE CONFIG FILE # This directive allows you to include definitions from an external config file. #include= # INCLUDE CONFIG DIRECTORY # This directive allows you to include definitions from config files (with a # .cfg extension) in one or more directories (with recursion). #include_dir= #include_dir= # COMMAND DEFINITIONS # Command definitions that this daemon will run. Definitions # are in the following format: # # command[]= # # When the daemon receives a request to return the results of # it will execute the command specified by the argument. # # Unlike Nagios, the command line cannot contain macros - it must be # typed exactly as it should be executed. # # Note: Any plugins that are used in the command lines must reside # on the machine that this daemon is running on! The examples below # assume that you have plugins installed in a /usr/local/nagios/libexec # directory. Also note that you will have to modify the definitions below # to match the argument format the plugins expect. Remember, these are # examples only! # The following examples use hardcoded command arguments... command[check_users]=/usr/local/nagios/libexec/check_users -w 5 -c 10 command[check_load]=/usr/local/nagios/libexec/check_load -w 35,30,25 -c 50,45,40 command[check_hda1]=/usr/local/nagios/libexec/check_disk -w 20% -c 10% -p /dev/hda1 command[check_zombie_procs]=/usr/local/nagios/libexec/check_procs -w 5 -c 10 -s Z command[check_total_procs]=/usr/local/nagios/libexec/check_procs -w 1500 -c 2000 command[check_disk1]=/usr/local/nagios/libexec/check_disk -w 20% -c 10% -p /dev/sda3 command[check_disk2]=/usr/local/nagios/libexec/check_disk -w 20% -c 10% -p /dev/sda1 command[check_disk3]=/usr/local/nagios/libexec/check_disk -w 20% -c 10% -p tmpfscommand[check_local_swap]=/usr/local/nagios/libexec/check_swap -w 20% -c 10% command[check_local_swap]=/usr/local/nagios/libexec/check_swap -w 20% -c 10% #command[check_users]=/usr/local/nagios/libexec/check_users -w $ARG1$ -c $ARG2$ #command[check_load]=/usr/local/nagios/libexec/check_load -w $ARG1$ -c $ARG2$ #command[check_disk]=/usr/local/nagios/libexec/check_disk -w $ARG1$ -c $ARG2$ -p $ARG3$ #command[check_procs]=/usr/local/nagios/libexec/check_procs -w $ARG1$ -c $ARG2$ -s $ARG3$ hosts.allow # # hosts.allow This file describes the names of the hosts which are # allowed to use the local INET services, as decided # by the '/usr/sbin/tcpd' server. # nrpe: 17.0.0.1 xxx.27.117.xxx -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 6 22:31:05 2010 From: zarrelli at linux.it (Giorgio Zarrelli) Date: Tue, 6 Apr 2010 22:31:05 +0200 (CEST) Subject: Setting up Escalations. Message-ID: <2ac1660bba64f5507aecc742b6e5ea8d.squirrel@picard.linux.it> Hi, the workflow for check/notification/escalation is the following: 1. The service/host is checked in OK state with the check_interval timing; 2. As the service/host goes into a NON OK state, but didn't reach the max_check_attempts, the service enters a SOFT NON OK state and the next check is scheduled with the retry_interval timing; 3. As the service/host in NON OK state reaches the max_check_attempts_value, the service enters an HARD NON OK STATE and the next service/host check is scheduled with the check_interval timing; 4. Now, if you set first_notification_delay, this can alter the timing for the first notification to be sent (0 means notifications to be sent immediately); 5. If you didn't set the first_notification_delay, the first notification is immediately sent and the following will be scheduled with the notification_interval timing (0 means only the first notification will be sent, the other will not be sent); 6. In your escalation, at the third notification (with the notification_interval taking place), the notification interval changes to 45 minutes, so the first notification will be sent after the max_check_attempts value will be reached (assuming you didn't put any delay), then the second after 10 time units, usually 10 minutes, the third 10 mins after the second, the fourth 45 mins after the third, the fifth 45 mins after the fourth, the sixth 45 mins after the fifth. 7. From the sixth notification, the new escalation comes into play. The seventh notification will be sent after 60 minutes, and all the other notifications will be sent 60 mins after each other. Keep in mind that having used 0 as the last_notification value, you escalation will never end till your check will return an OK status. I do not know if I answered to your questions, I hope to have explained the notification/escalation timings in a correct and clear manner. On the Nagios wiki you will find a flowchart I wrote to clarify the logic dealing with the notification framework. Ciao, Giorgio Il giorno lun, 05/04/2010 alle 12.48 -0400, dOE ha scritto: > Thanks Giorgia, > > Then for notification_interval for production environment set to "10" > would process the escalation after 10 minutes of the alert NIT being > "ok"?, and subsequent notification_interval should be set to more than > "10" so that they would then be notified too? > > Am I understanding this correctly? > > On Mon, Apr 5, 2010 at 6:34 AM, Giorgio Zarrelli > wrote: > Hi, > > First, local definitions win over those written in templates, > so if in the template you have a notification_interval value > and in the escalation you have another, escalation wins and > its value is adopted. > > Second, notification_interval il the interval between two > consecutive notifications for a host or a service, after it > enters a non ok status and has exceeded max_check_attempts > value. > > Ciao, > > Giorgio > > Il giorno 05/apr/2010, alle ore 04.50, dOE > ha scritto: > > > I am having a difficulty getting escalations to work > on Nagios 3.0.3 > > The following is pulled from the documentation: > > define serviceescalation{ > host_name webserver > service_description HTTP > first_notification 3 > last_notification 5 > notification_interval 45 > contact_groups ITOps_Oncall,managers > } > > define serviceescalation{ > host_name webserver > service_description HTTP > first_notification 6 > last_notification 0 > notification_interval 60 > contact_groups > ITOps_Oncall,managers,everyone > } > > I have read the documentation, but I don't understand > what the "notification_interval" are based on, and > sine we have hosts inheriting from a "core" template > it is very difficult to test escalations. > We use OpCfg to do our Nagios configuration, but it > does not stop me from occasionally going into the > actual configuration files to make changes either. > > If anyone has this working, and could shed some light > on how I can get this to work, or clarify the > documentation explanation of it. Also, since I am > inheriting from a template I feel as though the > changes I make to a particular host (to test) is being > ignored or it maybe me not understanding what the > "notification_interval" are exactly. > > Any advice is very much appreciated. > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed > compiling, find bugs > proactively, and fine-tune applications for parallel > performance. > See why Intel Parallel Studio got high marks during > beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) > and OS when reporting any issue. > ::: Messages without supporting info will risk being > sent to /dev/null > > ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mgagne at iweb.com Tue Apr 6 22:49:39 2010 From: mgagne at iweb.com (=?ISO-8859-1?Q?Mathieu_Gagn=E9?=) Date: Tue, 06 Apr 2010 16:49:39 -0400 Subject: Security Breach? In-Reply-To: References: Message-ID: <4BBB9E63.4030306@iweb.com> On 4/6/10 4:24 PM, Martyn wrote: > Hi all, hope you can help me out with this question I have just been > sent which is as follows: - > > "We have had a security warning from the hosting company, one of the > Nagios User processes was using up 90% of the CPU: Did you set a password for the "nagios" user or disabled shell access? -- Mathieu ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pradhanparas at gmail.com Wed Apr 7 00:55:03 2010 From: pradhanparas at gmail.com (Paras pradhan) Date: Tue, 6 Apr 2010 17:55:03 -0500 Subject: Nagiosgraph and load graphing Message-ID: Hi, Just installed nagiosgraph and nagios (bothe latest) . Nagios seems to be working fine. When i see Load graph, I am seeing something like 350m, 440m , 200m instead of 0.03, 0.04, 0.02. I don't know what this "m" is and how/why this is happening. Did I miss or need to do something? Thanks! Paras. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stuart.browne at ausregistry.com.au Wed Apr 7 01:08:50 2010 From: stuart.browne at ausregistry.com.au (Stuart Browne) Date: Wed, 7 Apr 2010 09:08:50 +1000 Subject: Nagiosgraph and load graphing In-Reply-To: References: Message-ID: <8CEF048B9EC83748B1517DC64EA130FB3E3385F571@off-win2003-01.ausregistrygroup.local> > From: Paras pradhan [mailto:pradhanparas at gmail.com] > > Just installed nagiosgraph and nagios (bothe latest) . Nagios seems to be > working fine. When i see Load graph, I am seeing something like 350m, 440m, > 200m instead of 0.03, 0.04, 0.02. I don't know what this "m" is and how/why > this is happening. ?Did I miss or need to do something? 'm' stands for 'micro'. This is the 'rrd' graphs showing their scale without decimals. This is normal. Stuart ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From PetterborgCa at ldschurch.org Wed Apr 7 00:51:37 2010 From: PetterborgCa at ldschurch.org (Cary Petterborg) Date: Tue, 6 Apr 2010 16:51:37 -0600 Subject: High latency issues on Nagios 3.2.1 Message-ID: We are currently working towards migrating from Nagios 2.7 to 3.2. We have 37,000+ services and 3,000+ hosts. We have a test environment with an 8 CPU system running Nagios 3.2.1 and we are getting high latency of 330+ seconds. The configuration has the large installation tweaks turned on and max_concurrent_checks=10000000. The load average on the system is around 3 to 4, but the CPU utilization is less then 50% on the average, with peaks of 80+% that might last 1 second about every 10 or 15 seconds. So my question is this - Is there something that we can do to lower the latency and increase the CPU utilization? Is there some limiting factor with our configuration that we need to tweak, or is it just too many checks for the main Nagios process to handle in the time frame, or something else? I can provide any information that would make it possible to lower the latency. Thanks!! Cary Petterborg ICS Monitoring The Church of Jesus Christ of Latter-day Saints Office Phone: 801-240-8267 Email: petterborgca at ldschurch.org NOTICE: This email message is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rkomorn at dofc.org Wed Apr 7 01:08:19 2010 From: rkomorn at dofc.org (Romain Komorn) Date: Tue, 6 Apr 2010 16:08:19 -0700 Subject: Nagiosgraph and load graphing In-Reply-To: References: Message-ID: m usually stands for 'milli' as in 'millisecond' or 'millimeter' but it seems like it should be 35m , 44m and 20m , in your case, if loads are 0.03 , 0.04 and 0.02 . On Tue, Apr 6, 2010 at 3:55 PM, Paras pradhan wrote: > Hi, > Just installed nagiosgraph and nagios (bothe latest) . Nagios seems to be > working fine. When i see Load graph, I am seeing something like 350m, 440m , > 200m instead of 0.03, 0.04, 0.02. I don't know what this "m" is and how/why > this is happening. ?Did I miss or need to do something? > > Thanks! > Paras. > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stuart.browne at ausregistry.com.au Wed Apr 7 03:07:16 2010 From: stuart.browne at ausregistry.com.au (Stuart Browne) Date: Wed, 7 Apr 2010 11:07:16 +1000 Subject: Nagiosgraph and load graphing In-Reply-To: <8CEF048B9EC83748B1517DC64EA130FB3E3385F571@off-win2003-01.ausregistrygroup.local> References: <8CEF048B9EC83748B1517DC64EA130FB3E3385F571@off-win2003-01.ausregistrygroup.local> Message-ID: <8CEF048B9EC83748B1517DC64EA130FB3E3385F577@off-win2003-01.ausregistrygroup.local> Oops, wrong scale. Milli as Romain suggests. > -----Original Message----- > From: Stuart Browne [mailto:stuart.browne at ausregistry.com.au] > Sent: Wednesday, 7 April 2010 09:09 > To: Nagios Users List > Subject: Re: [Nagios-users] Nagiosgraph and load graphing > > > From: Paras pradhan [mailto:pradhanparas at gmail.com] > > > > Just installed nagiosgraph and nagios (bothe latest) . Nagios seems > to be > > working fine. When i see Load graph, I am seeing something like 350m, > 440m, > > 200m instead of 0.03, 0.04, 0.02. I don't know what this "m" is and > how/why > > this is happening. ?Did I miss or need to do something? > > 'm' stands for 'micro'. This is the 'rrd' graphs showing their scale > without decimals. > > This is normal. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ravishankar.gundlapali at wipro.com Wed Apr 7 03:28:40 2010 From: ravishankar.gundlapali at wipro.com (ravishankar.gundlapali at wipro.com) Date: Wed, 7 Apr 2010 06:58:40 +0530 Subject: Return code of 139 is out of bounds!!! Message-ID: Hi, I am using Nagios 3.0.6 with Nagios plugins 1.4.14 on Linux with Fedora 10.1. I have recently changed the warning and critical thresholds for E: drive of one server to 95% and 98% respectively. The moment I changed, nagios started showing the status as 'Return code of 139 is out of bounds' for this drive. define service{ use generic-service host_name lvecpp01 service_description E:\ Drive Space check_command check_nt!USEDDISKSPACE!-l J -w 95 -c 98 } Please let me know what might be the problem... Thanks & Regards, Ravi G -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gevery at gmail.com Wed Apr 7 04:15:03 2010 From: gevery at gmail.com (Gary Every) Date: Tue, 6 Apr 2010 19:15:03 -0700 Subject: Return code of 139 is out of bounds!!! In-Reply-To: References: Message-ID: Looks like you're looking at the J drive, not the E: drive. Do you have a J: drive? On Tue, Apr 6, 2010 at 6:28 PM, wrote: > Hi, > > > > I am using Nagios 3.0.6 with Nagios plugins 1.4.14 on Linux with Fedora > > 10.1. > > > > I have recently changed the warning and critical thresholds for E: drive of > one server to 95% and 98% respectively. > > > > The moment I changed, nagios started showing the status as ?Return code of > 139 is out of bounds? for this drive. > > > > > > define service{ > > use generic-service > > host_name lvecpp01 > > service_description E:\ Drive Space > > check_command check_nt!USEDDISKSPACE!-l J -w 95 -c 98 > > } > > > > > > Please let me know what might be the problem? > > > > > > Thanks & Regards, > > *Ravi G* > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Gary Every "Pay it Forward!" -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ravishankar.gundlapali at wipro.com Wed Apr 7 04:31:23 2010 From: ravishankar.gundlapali at wipro.com (ravishankar.gundlapali at wipro.com) Date: Wed, 7 Apr 2010 08:01:23 +0530 Subject: Return code of 139 is out of bounds!!! In-Reply-To: References: Message-ID: No, there is no J: drive configured for this server.... I have just changed the thresholds for E: drive. Please let me know where is the mistake... Thanks & Regards, Ravi G From: Gary Every [mailto:gevery at gmail.com] Sent: Wednesday, April 07, 2010 7:45 AM To: Nagios Users List Subject: Re: [Nagios-users] Return code of 139 is out of bounds!!! Looks like you're looking at the J drive, not the E: drive. Do you have a J: drive? On Tue, Apr 6, 2010 at 6:28 PM, wrote: Hi, I am using Nagios 3.0.6 with Nagios plugins 1.4.14 on Linux with Fedora 10.1. I have recently changed the warning and critical thresholds for E: drive of one server to 95% and 98% respectively. The moment I changed, nagios started showing the status as 'Return code of 139 is out of bounds' for this drive. define service{ use generic-service host_name lvecpp01 service_description E:\ Drive Space check_command check_nt!USEDDISKSPACE!-l J -w 95 -c 98 } Please let me know what might be the problem... Thanks & Regards, Ravi G ------------------------------------------------------------------------ ------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- Gary Every "Pay it Forward!" -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ravishankar.gundlapali at wipro.com Wed Apr 7 04:37:22 2010 From: ravishankar.gundlapali at wipro.com (ravishankar.gundlapali at wipro.com) Date: Wed, 7 Apr 2010 08:07:22 +0530 Subject: Return code of 139 is out of bounds!!! References: Message-ID: Thanks a lot Gevery ....I found where I have made the mistake..... check_command check_nt!USEDDISKSPACE!-l J -w 95 -c 98 I have changed the letter J to E....this has resolved the problem.. Thanks & Regards, Ravi G From: Ravishankar Gundlapali (WT01 - ENERGY & UTILITIES) Sent: Wednesday, April 07, 2010 8:01 AM To: Nagios Users List Cc: 'gevery at gmail.com' Subject: RE: [Nagios-users] Return code of 139 is out of bounds!!! No, there is no J: drive configured for this server.... I have just changed the thresholds for E: drive. Please let me know where is the mistake... Thanks & Regards, Ravi G From: Gary Every [mailto:gevery at gmail.com] Sent: Wednesday, April 07, 2010 7:45 AM To: Nagios Users List Subject: Re: [Nagios-users] Return code of 139 is out of bounds!!! Looks like you're looking at the J drive, not the E: drive. Do you have a J: drive? On Tue, Apr 6, 2010 at 6:28 PM, wrote: Hi, I am using Nagios 3.0.6 with Nagios plugins 1.4.14 on Linux with Fedora 10.1. I have recently changed the warning and critical thresholds for E: drive of one server to 95% and 98% respectively. The moment I changed, nagios started showing the status as 'Return code of 139 is out of bounds' for this drive. define service{ use generic-service host_name lvecpp01 service_description E:\ Drive Space check_command check_nt!USEDDISKSPACE!-l J -w 95 -c 98 } Please let me know what might be the problem... Thanks & Regards, Ravi G ------------------------------------------------------------------------ ------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- Gary Every "Pay it Forward!" -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 7 06:36:28 2010 From: zarrelli at linux.it (Giorgio Zarrelli) Date: Wed, 7 Apr 2010 06:36:28 +0200 Subject: Return code of 139 is out of bounds!!! In-Reply-To: References: Message-ID: Chanhe the ownership or permissions on the plugin file. Ciao, Giorgio Il giorno 07/apr/2010, alle ore 03.28, ha scritto: > Hi, > > > > I am using Nagios 3.0.6 with Nagios plugins 1.4.14 on Linux with > Fedora > > 10.1. > > > > I have recently changed the warning and critical thresholds for E: > drive of one server to 95% and 98% respectively. > > > > The moment I changed, nagios started showing the status as ?Return c > ode of 139 is out of bounds? for this drive. > > > > > > define service{ > > use generic-service > > host_name lvecpp01 > > service_description E:\ Drive Space > > check_command check_nt!USEDDISKSPACE!-l J -w 95 -c > 98 > > } > > > > > > Please let me know what might be the problem? > > > > > > Thanks & Regards, > > Ravi G > > --- > --- > --- > --------------------------------------------------------------------- > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jprakash at dgit.biz Wed Apr 7 10:22:06 2010 From: jprakash at dgit.biz (Jai Prakash) Date: Wed, 7 Apr 2010 18:22:06 +1000 Subject: nagios-3.2.0 crashed couple of times Message-ID: Hi All, I have nagios-1.2 running for years monitoring 3000+ hosts and 10,000+ services. Recently we decided to port it to nagios-3.2.0 on to Centos5.4 and found this issue. We have two custom developed scripts, one script (daemon) receives the snmp-traps and writes it to the nagios.cmd pipe. Another script is a cron job which removes/adds the hosts to hosrgroups then 'stops nagios for 5 seconds' and 'starts nagios' again. We faced few problems in the older version with 'service nagios reload' so we have to come up with this turnaround solution which we wish to continue in the newer version of nagios also. When nagios is stopped 'nagios.cmd' is not deleted as we keep on receiving snmp-traps and we want to process them as soon as nagios is up and running and not to lose them. Though not all times few times nagios crashed reporting 'SIGSEGV'. Couldn't figure out the exact reason as the log file and the debug messages were reporting to be normal. Would be very happy if someone sheds more light on this. Thanks, Jai -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 aidananderson.co.uk Wed Apr 7 12:16:25 2010 From: mail at aidananderson.co.uk (Aidan Anderson) Date: Wed, 07 Apr 2010 11:16:25 +0100 Subject: Child host becomes UNREACHABLE when parent changes from UP to a SOFT DOWN state Message-ID: <4BBC5B79.3030500@aidananderson.co.uk> Hi List! I am in the process of upgrading from v2.12 to v3.2.1. As well as upgrading, I am taking the opportunity to move to a new server at the same time. This has allowed me to run both versions in tandem to compare the operation of the two versions. One difference I noticed straight away was downtime duration on certain hosts. For example, v2 would show a host down for over 2 days yet v3 would show the same host as being down for only a few hours. On investigation, it turned out that the parent of the host on v3 went into a soft down state. This changed the host in question to an unreachable state. The parent host recovered within a minute or so and changed the host back to a down state, effectively resetting the down duration back to zero. I would have expected that the child host should only change state if the parent goes into a hard down state, not a soft down state. I googled for the issue and found one related post from just over a year ago: http://www.mail-archive.com/nagios-users at lists.sourceforge.net/msg25543.html The poster was given various suggestions to circumvent the problem, i.e. tweaking flap detection, increasing time-out on the plugin etc but nothing that seemed to resolve his issue. The posters main problem with this behaviour was that he was getting down e-mail alerts for hosts that are already down due to the state changes. My issue is not with repeated alerts but with the accuracy of the down duration of the host. When our support department look to resolve host problems, they will try and resolve the oldest problems first for obvious reasons of fairness to our customers. This scenario breaks this. In v3, to get an accurate downtime for a host, you would now have to trawl through the alert history or run a trend report for the host to find out when the host really went down. Version 2 does not exhibit this problem. I don't think this is by design but purely down to the way serial host checks work in v2. When a host goes into a soft down state in v2, Nagios cannot do anything else until it has completed all the retries or the host recovers so Nagios never gets the chance to mark the child host unreachable unless it reaches max_check_attempts and determines that the parent host really is down. The original poster of this problem made a good point that Nagios has all the tolerance built in to avoid false alarms on host checks but unfortunately this logic doesn't carry on through child hosts. I can't see that the current way v3 deals with parent/child problems as being desirable for most people, although it seems to have only bothered 2 of us! Thoughts? regards, Aidan ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alexus at gmail.com Wed Apr 7 17:49:41 2010 From: alexus at gmail.com (alexus) Date: Wed, 7 Apr 2010 11:49:41 -0400 Subject: nagios alternative notification methods Message-ID: what are alternative methods of getting notified if let's say internet went down? can it interact with pos line? send sms through a modem or something? -- http://alexus.org/ ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 flatto.net Wed Apr 7 17:57:23 2010 From: nagios at flatto.net (Assaf Flatto) Date: Wed, 07 Apr 2010 16:57:23 +0100 Subject: nagios alternative notification methods In-Reply-To: References: Message-ID: <4BBCAB63.4030105@flatto.net> alexus wrote: > what are alternative methods of getting notified if let's say internet > went down? > can it interact with pos line? send sms through a modem or something? > > yes , nagios can send texts via modems try the sms_client application . http://howto.gumph.org/content/send-sms-messages-from-linux/ -- Never,Ever Cut A Deal With a Dragon ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Paul_Bertino at cable.comcast.com Wed Apr 7 18:32:26 2010 From: Paul_Bertino at cable.comcast.com (Bertino, Paul) Date: Wed, 7 Apr 2010 12:32:26 -0400 Subject: Setup Nagios on an HP-UX Server Message-ID: <2E7DAFE78CBAC949AF68D41B4135A8B60FB479B6@PACDCEXCMB04.cable.comcast.com> Hello, > First I am inexperienced with setting up monitoring. I think what I > would like to do is > have Nagios and the net-snmp reside on the same server to monitor it > resources on the HP-UX server. > I hope this explains it. I am trying to setup net-snmp with Nagios on an HP-UX with Unix OS > version 11.23. Could you > > point me in the right direction to get this information or do you have > any on the site? I would > > appreciate any assistance on this. Thanks, Paul J. Bertino Platforms, I&O, NE&TO Senior Systems Admin Comcast Cable Communications, Inc. 1354 Boot Road MS 22044 West Chester, PA. 19380 610-732-2225 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.gif Type: image/gif Size: 569 bytes Desc: image001.gif URL: -------------- next part -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pradhanparas at gmail.com Wed Apr 7 19:10:58 2010 From: pradhanparas at gmail.com (Paras pradhan) Date: Wed, 7 Apr 2010 12:10:58 -0500 Subject: Nagiosgraph and load graphing In-Reply-To: <8CEF048B9EC83748B1517DC64EA130FB3E3385F577@off-win2003-01.ausregistrygroup.local> References: <8CEF048B9EC83748B1517DC64EA130FB3E3385F571@off-win2003-01.ausregistrygroup.local> <8CEF048B9EC83748B1517DC64EA130FB3E3385F577@off-win2003-01.ausregistrygroup.local> Message-ID: How do I change it to match the output similar to what w and top provides. i.e instead of 350m, 440m,200m graph it as 0.03, 0.04, 0.02. Thanks! Paras. On Tue, Apr 6, 2010 at 8:07 PM, Stuart Browne < stuart.browne at ausregistry.com.au> wrote: > Oops, wrong scale. Milli as Romain suggests. > > > -----Original Message----- > > From: Stuart Browne [mailto:stuart.browne at ausregistry.com.au] > > Sent: Wednesday, 7 April 2010 09:09 > > To: Nagios Users List > > Subject: Re: [Nagios-users] Nagiosgraph and load graphing > > > > > From: Paras pradhan [mailto:pradhanparas at gmail.com] > > > > > > Just installed nagiosgraph and nagios (bothe latest) . Nagios seems > > to be > > > working fine. When i see Load graph, I am seeing something like 350m, > > 440m, > > > 200m instead of 0.03, 0.04, 0.02. I don't know what this "m" is and > > how/why > > > this is happening. Did I miss or need to do something? > > > > 'm' stands for 'micro'. This is the 'rrd' graphs showing their scale > > without decimals. > > > > This is normal. > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pradhanparas at gmail.com Wed Apr 7 19:14:05 2010 From: pradhanparas at gmail.com (Paras pradhan) Date: Wed, 7 Apr 2010 12:14:05 -0500 Subject: Inteface traffic Message-ID: I have few Linux and Solaris hosts that I need to grab the total in and out traffic from there nics. Which plugin should i use? Do i need to configure snmp on all of my hosts or there are some non snmp plugins. Thanks! Paras. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From trisha at rockyou.com Wed Apr 7 19:45:07 2010 From: trisha at rockyou.com (Trisha Hoang) Date: Wed, 7 Apr 2010 10:45:07 -0700 Subject: pnp4nagios Message-ID: In our environment, the slaves send check results in bulk to the master, which means that all the nagios macros associated with the results are no longer available once reached the master. What I want to do is to install pnp4nagios on the master so that we'll have graphs for all the results. The problem now is how do I manually create the right syntax for the service-perfdata file to be processed by the pnp4nagios script " process_perfdata.pl", when all the macros are not available? Perhaps if you have a sample service-perfdata file, that would be helpful. Trisha -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Wed Apr 7 23:16:44 2010 From: patrick.morris at hp.com (patrick.morris at hp.com) Date: Wed, 7 Apr 2010 14:16:44 -0700 Subject: pnp4nagios In-Reply-To: References: Message-ID: <20100407211644.GK4621@bakgwai.americas.hpqcorp.net> Hi Trisha! On Wed, 07 Apr 2010, Trisha Hoang wrote: > In our environment, the slaves send check results in bulk to the master, which means that all the nagios macros associated with the results are no longer available once reached the master. What I want to do is to install pnp4nagios on the master so that we'll have graphs for all the results. > > The problem now is how do I manually create the right syntax for the service-perfdata file to be processed by the pnp4nagios script "process_perfdata.pl", when all the macros are not available? Perhaps if you have a sample service-perfdata file, that would be helpful. Why do you need the macros? All the values should be substituted before the results are passed on, meaning your slave server should be receiving exactly the same thing your slave did. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From trisha at rockyou.com Wed Apr 7 23:41:40 2010 From: trisha at rockyou.com (Trisha Hoang) Date: Wed, 7 Apr 2010 14:41:40 -0700 Subject: pnp4nagios In-Reply-To: <20100407211644.GK4621@bakgwai.americas.hpqcorp.net> References: <20100407211644.GK4621@bakgwai.americas.hpqcorp.net> Message-ID: Hi Patrick, I'm attaching the process_perfdata.pl file. On Wed, Apr 7, 2010 at 2:16 PM, wrote: > Hi Trisha! > > On Wed, 07 Apr 2010, Trisha Hoang wrote: > > > In our environment, the slaves send check results in bulk to the master, > which means that all the nagios macros associated with the results are no > longer available once reached the master. What I want to do is to install > pnp4nagios on the master so that we'll have graphs for all the results. > > > > The problem now is how do I manually create the right syntax for the > service-perfdata file to be processed by the pnp4nagios script " > process_perfdata.pl", when all the macros are > not available? Perhaps if you have a sample service-perfdata file, that > would be helpful. > > Why do you need the macros? All the values should be substituted before > the results are passed on, meaning your slave server should be receiving > exactly the same thing your slave did. > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: process_perfdata.pl Type: application/octet-stream Size: 40795 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lists at xodus.org Thu Apr 8 04:24:09 2010 From: lists at xodus.org (Marc Powell) Date: Wed, 7 Apr 2010 21:24:09 -0500 Subject: pnp4nagios In-Reply-To: References: Message-ID: <7F3269C9-9047-44C8-84D8-790DB77020D1@xodus.org> On Apr 7, 2010, at 12:45 PM, Trisha Hoang wrote: > In our environment, the slaves send check results in bulk to the master, which means that all the nagios macros associated with the results are no longer available once reached the master. I can't test this but I'm 99% sure there's no reason they shouldn't be available unless you've disabled macros-as-environment-variables in nagios.cfg. There's no distinction made between an active check and a passive check that I know of for this feature. -- Marc ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jprakash at dgit.biz Thu Apr 8 05:43:32 2010 From: jprakash at dgit.biz (Jai Prakash) Date: Thu, 8 Apr 2010 13:43:32 +1000 Subject: nagios-3.2.0 crashed couple of times Message-ID: Hi All, My apologies for my earlier post about for asking the ways to save 'nagios.cmd' file even after stopping nagios. As the documentations clearly mentions the command file has to be deleted before nagios start or it will bail out. Interestingly I dint observe this behaviour. In my 'init.d/nagios' script the path for 'nagios.cmd' was wrong so it was not getting deleted when nagios was stopped. When I started nagios it dint complained about the existing 'nagios.cmd' file and started normally. Can this happen? Thanks, Jai From: Jai Prakash Sent: Wednesday, 7 April 2010 6:22 PM To: 'nagios-users at lists.sourceforge.net' Subject: nagios-3.2.0 crashed couple of times Hi All, I have nagios-1.2 running for years monitoring 3000+ hosts and 10,000+ services. Recently we decided to port it to nagios-3.2.0 on to Centos5.4 and found this issue. We have two custom developed scripts, one script (daemon) receives the snmp-traps and writes it to the nagios.cmd pipe. Another script is a cron job which removes/adds the hosts to hosrgroups then 'stops nagios for 5 seconds' and 'starts nagios' again. We faced few problems in the older version with 'service nagios reload' so we have to come up with this turnaround solution which we wish to continue in the newer version of nagios also. When nagios is stopped 'nagios.cmd' is not deleted as we keep on receiving snmp-traps and we want to process them as soon as nagios is up and running and not to lose them. Though not all times few times nagios crashed reporting 'SIGSEGV'. Couldn't figure out the exact reason as the log file and the debug messages were reporting to be normal. Would be very happy if someone sheds more light on this. Thanks, Jai -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pitchfork at ederdrom.de Thu Apr 8 06:38:28 2010 From: pitchfork at ederdrom.de (Joerg Linge) Date: Thu, 08 Apr 2010 06:38:28 +0200 Subject: pnp4nagios In-Reply-To: <7F3269C9-9047-44C8-84D8-790DB77020D1@xodus.org> References: <7F3269C9-9047-44C8-84D8-790DB77020D1@xodus.org> Message-ID: <4BBD5DC4.5040201@ederdrom.de> Am 08.04.10 04:24, schrieb Marc Powell: > > On Apr 7, 2010, at 12:45 PM, Trisha Hoang wrote: > >> In our environment, the slaves send check results in bulk to the master, which means that all the nagios macros associated with the results are no longer available once reached the master. > > I can't test this but I'm 99% sure there's no reason they shouldn't be available unless you've disabled macros-as-environment-variables in nagios.cfg. There's no distinction made between an active check and a passive check that I know of for this feature. Only the used check_command is missing on the master. More Infos on -> http://docs.pnp4nagios.org/pnp-0.6/advanced Joerg ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From trisha at rockyou.com Thu Apr 8 07:21:34 2010 From: trisha at rockyou.com (Trisha Hoang) Date: Wed, 7 Apr 2010 22:21:34 -0700 Subject: pnp4nagios In-Reply-To: <7F3269C9-9047-44C8-84D8-790DB77020D1@xodus.org> References: <7F3269C9-9047-44C8-84D8-790DB77020D1@xodus.org> Message-ID: This is the syntax for the service-perfdata file. Looks like the slave can send 1) the regular format to nagios.cmd, and 2) the below format to pnp4nagios. I think it's do-able :-). DATATYPE::SERVICEPERFDATA TIMET::1270684107 HOSTNAME::www157 SERVICEDESC::PUPPET SERVICEPERFDATA:: SERVICECHECKCOMMAND::check_nrpe!check_file_age!259200!10800!/var/lib/puppet/state/state.yaml HOSTSTATE::UP HOSTSTATETYPE::HARD SERVICESTATE::OK SERVICESTATETYPE::HARD Thank you. Trisha -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From klausman at schwarzvogel.de Thu Apr 8 09:25:10 2010 From: klausman at schwarzvogel.de (Tobias Klausmann) Date: Thu, 8 Apr 2010 09:25:10 +0200 Subject: Nagiosgraph and load graphing In-Reply-To: References: <8CEF048B9EC83748B1517DC64EA130FB3E3385F571@off-win2003-01.ausregistrygroup.local> <8CEF048B9EC83748B1517DC64EA130FB3E3385F577@off-win2003-01.ausregistrygroup.local> Message-ID: <20100408072510.GA5110@eric.schwarzvogel.de> Hi! On Wed, 07 Apr 2010, Paras pradhan wrote: > How do I change it to match the output similar to what w and > top provides. i.e instead of 350m, 440m,200m graph it as 0.03, > 0.04, 0.02. This is not a matter of NagiosGraph itself, but of its rrdtool backend. To create the legend on the graph, it will use a line like this: rrdtool graph [...] 'GPRINT:B:LAST:Cur %6.1lf %sOct' [...] That GPRINT part creates the legend for a certain data source (in this case 'B'). The thing responsible for the SI prefix (i.e. m, k, G and so on) is the "%s". So to get rid of that you'd have to make NG not include it when creating graphs. Yes, that may be a nasty piece of effort, but I don't know NG very well, so I can't say if it's possible easily. For more information on RRDTool itself, I recommend its man pages or better yet, its homepage http://oss.oetiker.ch/rrdtool/ HTH, Tobias -- printk(CARDNAME": Bad Craziness - sent packet while busy.\n" ); linux-2.6.6/drivers/net/smc9194.c ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From schneemann at b1-systems.de Thu Apr 8 10:04:06 2010 From: schneemann at b1-systems.de (Christian Schneemann) Date: Thu, 8 Apr 2010 10:04:06 +0200 Subject: service dependency - dependent from Message-ID: <201004081004.06659.schneemann@b1-systems.de> Hallo, I need service dependency definitions the other way round as it is written in the documentation I think :( If I understand the documentation right it is just possible to add the services that are dependent _from_ a service in the servicedependency definition. I would need to define a service and add to that definition from which service it is dependent. As an example I would like to add on the fly services using nrpe by just adding a new file with the service definitions I need. These services would be dependent from the already defined nrpe-service. Or is it possible to create multiple servicedependency definition with the same service_description (same master)? Has anyone tested this already? Regards, Christian -- Christian Schneemann Geschaeftsfuehrer: Ralph Dehner IT Consultant & Trainer Unternehmenssitz: Vohburg B1 Systems GmbH Amtsgericht: Ingolstadt Mobil: +49-(0)-1757250665 Handelsregister: HRB 3537 EMail: schneemann at b1-systems.de http://www.b1-systems.de Adresse: B1 Systems GmbH, Osterfeldstra?e 7, 85088 Vohburg GPG: http://pgpkeys.pca.dfn.de/pks/lookup?op=get&search=0x2FA8643A41BDAB81 ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From wertyy.w at gmail.com Thu Apr 8 12:18:05 2010 From: wertyy.w at gmail.com (wale Ajayi) Date: Thu, 8 Apr 2010 11:18:05 +0100 Subject: Gnokii Notification Message-ID: Notification Not working with gnokii, can anyone give me help to make it work . Nagios version 3.2.0 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From benny at bennyvision.com Thu Apr 8 14:44:27 2010 From: benny at bennyvision.com (C. Bensend) Date: Thu, 8 Apr 2010 07:44:27 -0500 Subject: service dependency - dependent from In-Reply-To: <201004081004.06659.schneemann@b1-systems.de> References: <201004081004.06659.schneemann@b1-systems.de> Message-ID: <69d2eba4dcbbbccf29030ae5167eb3a1.squirrel@webmail.stinkweasel.net> > If I understand the documentation right it is just possible to add the > services that are dependent _from_ a service in the servicedependency > definition. > I would need to define a service and add to that definition from which > service > it is dependent. > > As an example I would like to add on the fly services using nrpe by just > adding a new file with the service definitions I need. These services > would be > dependent from the already defined nrpe-service. > > > Or is it possible to create multiple servicedependency definition with the > same service_description (same master)? Has anyone tested this already? You mean like: # All services that depend on NSClient++ define servicedependency{ # Host the dependent service is running on dependent_host_name HOSTNAME # Service that is dependent on the service_description below dependent_service_description C:,CPU,Dell hardware,DHCP scope,DHCP server,E:,F:,H:,I:,Shadow copies E:,Shadow copies H:,Shadow copies I:,Memory usage,SMS Agent Host,Unplanned restart,User-initiated restart # Host the master service is running on host_name HOSTNAME # Service that the others depend on service_description NSClient++ # Criteria to NOT notify for, if the above service is down notification_failure_criteria w,u,c } ? Because I have several hundred dependencies configured like this. Benny -- Me: 'How big a monster can you take out with one of those? Would you win a fight with Godzilla?' Jim: 'You could disassemble Godzilla at a range of seven miles.' -- Blog entry about the 76mm Melera, a gun on a US Navy Perry-class frigate that Somali pirates tried to seize ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kamble at gmail.com Thu Apr 8 15:04:22 2010 From: kamble at gmail.com (Shashank Kamble) Date: Thu, 8 Apr 2010 10:04:22 -0300 Subject: check_http issue Message-ID: Hello, I am newbie to Nagios. I successfully installed Nagios and its monitoring most of our windows and Linux servers. Currently, I am having issues with the one of the website we support for our client. I defined a host and also defined an http service to monitor the website: Here is host and service definition to monitor a website. define host{ use windows-server host_name illinoistollway alias illinoistollway address www.illinoistollway.com contact_groups admins } define service { use local-service host_name IllionisHighway service_description HTTP check_command check_http } But I am getting an error that host is down and service is not monitored as well. Could you please guide me how to resolve this issue? Thanks, Shashank -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From schneemann at b1-systems.de Thu Apr 8 15:09:14 2010 From: schneemann at b1-systems.de (Christian Schneemann) Date: Thu, 8 Apr 2010 15:09:14 +0200 Subject: service dependency - dependent from In-Reply-To: <69d2eba4dcbbbccf29030ae5167eb3a1.squirrel@webmail.stinkweasel.net> References: <201004081004.06659.schneemann@b1-systems.de> <69d2eba4dcbbbccf29030ae5167eb3a1.squirrel@webmail.stinkweasel.net> Message-ID: <201004081509.14613.schneemann@b1-systems.de> On Thursday 08 April 2010 02:44:27 pm C. Bensend wrote: > > If I understand the documentation right it is just possible to add the > > services that are dependent _from_ a service in the servicedependency > > definition. > > I would need to define a service and add to that definition from which > > service > > it is dependent. > > > > As an example I would like to add on the fly services using nrpe by just > > adding a new file with the service definitions I need. These services > > would be > > dependent from the already defined nrpe-service. > > > > > > Or is it possible to create multiple servicedependency definition with > > the same service_description (same master)? Has anyone tested this > > already? > > You mean like: > > > # All services that depend on NSClient++ > define servicedependency{ > # Host the dependent service is running on > dependent_host_name HOSTNAME > # Service that is dependent on the service_description below > dependent_service_description C:,CPU,Dell hardware,DHCP > scope,DHCP server,E:,F:,H:,I:,Shadow copies E:,Shadow copies > H:,Shadow copies I:,Memory usage,SMS Agent Host,Unplanned > restart,User-initiated restart > # Host the master service is running on > host_name HOSTNAME > # Service that the others depend on > service_description NSClient++ > # Criteria to NOT notify for, if the above service is down > notification_failure_criteria w,u,c > } > > > ? Because I have several hundred dependencies configured like this. No, that is the way it's documented :) I want something like: (used other names just to make clear what I mean) define service { service_description nrpe ... } define service { service_description filesystem_through_nrpe .... } define servicedependency { dependent_service filesystem_through_nrpe dependent_from nrpe } define service { service_description health_through_nrpe .... } define servicedependency { dependent_service health_through_nrpe dependent_from nrpe } or as a "better" way to define the service one is dependent from like this: define service{ service_description health_nrpe dependent_from nrpe ... } like the "parent" we have at hosts. Christian -- Christian Schneemann Geschaeftsfuehrer: Ralph Dehner IT Consultant & Trainer Unternehmenssitz: Vohburg B1 Systems GmbH Amtsgericht: Ingolstadt Mobil: +49-(0)-1757250665 Handelsregister: HRB 3537 EMail: schneemann at b1-systems.de http://www.b1-systems.de Adresse: B1 Systems GmbH, Osterfeldstra?e 7, 85088 Vohburg GPG: http://pgpkeys.pca.dfn.de/pks/lookup?op=get&search=0x2FA8643A41BDAB81 ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lflacayo at cps.k12.il.us Thu Apr 8 14:35:42 2010 From: lflacayo at cps.k12.il.us (Lacayo, Luis F) Date: Thu, 8 Apr 2010 07:35:42 -0500 Subject: General Question.. In-Reply-To: References: Message-ID: Hello and good to all, I was wondering if there is possibility to have Nagios submit a script when a certain value is exceeded. I heard that this is possible and would appreciate any guidance on how to achieve this. Thanks in advance. Luis Lacayo Chicago Public schools. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 flatto.net Thu Apr 8 15:14:49 2010 From: nagios at flatto.net (Assaf Flatto) Date: Thu, 08 Apr 2010 14:14:49 +0100 Subject: check_http issue In-Reply-To: References: Message-ID: <4BBDD6C9.70704@flatto.net> Shashank Kamble wrote: > > Hello, > > > > I am newbie to Nagios. I successfully installed Nagios and its > monitoring most of our windows and Linux servers. Currently, I am > having issues with the one of the website we support for our client. I > defined a host and also defined an http service to monitor the website: > > > > Here is host and service definition to monitor a website. > > > > define host{ > > use windows-server > > host_name illinoistollway > > alias illinoistollway > > address www.illinoistollway.com > > > contact_groups admins > > } > > > > define service { > > use local-service > > host_name IllionisHighway > > service_description HTTP > > check_command check_http > > } > > > > But I am getting an error that host is down and service is not > monitored as well. > > > > Could you please guide me how to resolve this issue? > > > > Thanks, > > Shashank > > ------------------------------------------------------------------------ Before you added the host , did you make sure you can ping it ? did you also try to manually as the user nagios can execute the check_http script and get a proper response ? By default check_host_alive and check_http expect an IP address in the " address " Feild , not a FQDN . and that might be what is throwing your nagios of game. Change the "address" to the IP address and see what response you get . Assaf -- Never,Ever Cut A Deal With a Dragon I am doing a Charity Bike ride On the 27 of June for the Capital to Coast Charity. Please help by Donating http://www.justgiving.com/Lovefilm-capital-to-coast ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From schneemann at b1-systems.de Thu Apr 8 15:25:34 2010 From: schneemann at b1-systems.de (Christian Schneemann) Date: Thu, 8 Apr 2010 15:25:34 +0200 Subject: service dependency - dependent from In-Reply-To: <201004081509.14613.schneemann@b1-systems.de> References: <201004081004.06659.schneemann@b1-systems.de> <69d2eba4dcbbbccf29030ae5167eb3a1.squirrel@webmail.stinkweasel.net> <201004081509.14613.schneemann@b1-systems.de> Message-ID: <201004081525.34563.schneemann@b1-systems.de> On Thursday 08 April 2010 03:09:14 pm Christian Schneemann wrote: > On Thursday 08 April 2010 02:44:27 pm C. Bensend wrote: > like the "parent" we have at hosts. OK, the parents defintion could be misleading... Maybe better to explain with servicegrous, there you can define the members in the group definition, or you can say in the service definition in which group it is. But I think this is not possible :( Maybe the source will be with me :) > > > Christian > -- Christian Schneemann Geschaeftsfuehrer: Ralph Dehner IT Consultant & Trainer Unternehmenssitz: Vohburg B1 Systems GmbH Amtsgericht: Ingolstadt Mobil: +49-(0)-1757250665 Handelsregister: HRB 3537 EMail: schneemann at b1-systems.de http://www.b1-systems.de Adresse: B1 Systems GmbH, Osterfeldstra?e 7, 85088 Vohburg GPG: http://pgpkeys.pca.dfn.de/pks/lookup?op=get&search=0x2FA8643A41BDAB81 ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pangrazi at gmail.com Thu Apr 8 15:26:32 2010 From: pangrazi at gmail.com (Greg Pangrazio) Date: Thu, 8 Apr 2010 08:26:32 -0500 Subject: OOB alerting Message-ID: I am looking for a method to send email and or SMS messages out from our Nagios server. These messages should not rely on any network connectivity. The idea here is that I still need to be able to alert users outside the company when the mail system goes down or all the internet access goes down and email no longer works. This would also apply to the switch that the Nagios server is connected to. I know one option is an POTS line with a modem, but anyone used a Cellular system successfully? Thanks! Greg Pangrazio pangrazi at gmail.com 847-707-7933 (c) 847-973-0307 (h) ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From benny at bennyvision.com Thu Apr 8 15:31:03 2010 From: benny at bennyvision.com (C. Bensend) Date: Thu, 8 Apr 2010 08:31:03 -0500 Subject: service dependency - dependent from In-Reply-To: <201004081509.14613.schneemann@b1-systems.de> References: <201004081004.06659.schneemann@b1-systems.de> <69d2eba4dcbbbccf29030ae5167eb3a1.squirrel@webmail.stinkweasel.net> <201004081509.14613.schneemann@b1-systems.de> Message-ID: >> You mean like: >> >> >> # All services that depend on NSClient++ >> define servicedependency{ >> # Host the dependent service is running on >> dependent_host_name HOSTNAME >> # Service that is dependent on the service_description below >> dependent_service_description C:,CPU,Dell hardware,DHCP >> scope,DHCP server,E:,F:,H:,I:,Shadow copies E:,Shadow copies >> H:,Shadow copies I:,Memory usage,SMS Agent Host,Unplanned >> restart,User-initiated restart >> # Host the master service is running on >> host_name HOSTNAME >> # Service that the others depend on >> service_description NSClient++ >> # Criteria to NOT notify for, if the above service is down >> notification_failure_criteria w,u,c >> } >> >> >> ? Because I have several hundred dependencies configured like this. > > No, that is the way it's documented :) > > I want something like: (used other names just to make clear what I mean) > define service { > service_description nrpe > ... > } > > define service { > service_description filesystem_through_nrpe > .... > } > define servicedependency { > dependent_service filesystem_through_nrpe > dependent_from nrpe > } > > > define service { > service_description health_through_nrpe > .... > } > define servicedependency { > dependent_service health_through_nrpe > dependent_from nrpe > } > > or as a "better" way to define the service one is dependent from like > this: > define service{ > service_description health_nrpe > dependent_from nrpe > ... > } > > like the "parent" we have at hosts. I guess I'm still not understanding what you're needing... You can define a service dependency for each individual service if that's what you're after, instead of all at once. So, if you have a service "check_linux_filesystem_nrpe" that depends on a service "nrpe" on a host, you can add a service dependency for that in its own file. Then, when you add another service named "check_linux_memory_nrpe" that also needs the "nrpe" service, you can define another, seperate service dependency for that in its own file. It doesn't matter if they're defined all in one definition or seperately, as long as your Nagios installation is configured to pick up on the new files it will be just fine. I hope I'm understanding you correctly? Benny -- Me: 'How big a monster can you take out with one of those? Would you win a fight with Godzilla?' Jim: 'You could disassemble Godzilla at a range of seven miles.' -- Blog entry about the 76mm Melera, a gun on a US Navy Perry-class frigate that Somali pirates tried to seize ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lists at xodus.org Thu Apr 8 15:28:19 2010 From: lists at xodus.org (Marc Powell) Date: Thu, 8 Apr 2010 08:28:19 -0500 Subject: General Question.. In-Reply-To: References: Message-ID: <64B16CBF-4788-4001-8DDC-F8695BCB1CE9@xodus.org> On Apr 8, 2010, at 7:35 AM, Lacayo, Luis F wrote: > Hello and good to all, > > I was wondering if there is possibility to have Nagios submit a script when a certain value is exceeded. I heard that this is possible and would appreciate any guidance on how to achieve this. These are Event Handlers. == Marc ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kamble at gmail.com Thu Apr 8 15:36:51 2010 From: kamble at gmail.com (Shashank Kamble) Date: Thu, 8 Apr 2010 10:36:51 -0300 Subject: check_http issue In-Reply-To: <4BBDD6C9.70704@flatto.net> References: <4BBDD6C9.70704@flatto.net> Message-ID: Bingo, thanx Assaf. It worked. Cheers, Shashank On Thu, Apr 8, 2010 at 10:14 AM, Assaf Flatto wrote: > Shashank Kamble wrote: > > > > Hello, > > > > > > > > I am newbie to Nagios. I successfully installed Nagios and its > > monitoring most of our windows and Linux servers. Currently, I am > > having issues with the one of the website we support for our client. I > > defined a host and also defined an http service to monitor the website: > > > > > > > > Here is host and service definition to monitor a website. > > > > > > > > define host{ > > > > use windows-server > > > > host_name illinoistollway > > > > alias illinoistollway > > > > address www.illinoistollway.com > > > > > > contact_groups admins > > > > } > > > > > > > > define service { > > > > use local-service > > > > host_name IllionisHighway > > > > service_description HTTP > > > > check_command check_http > > > > } > > > > > > > > But I am getting an error that host is down and service is not > > monitored as well. > > > > > > > > Could you please guide me how to resolve this issue? > > > > > > > > Thanks, > > > > Shashank > > > > ------------------------------------------------------------------------ > > Before you added the host , did you make sure you can ping it ? > did you also try to manually as the user nagios can execute the > check_http script and get a proper response ? > > By default check_host_alive and check_http expect an IP address in the " > address " Feild , not a FQDN . > and that might be what is throwing your nagios of game. > > Change the "address" to the IP address and see what response you get . > > Assaf > > > -- > Never,Ever Cut A Deal With a Dragon > > > I am doing a Charity Bike ride On the 27 of June for the > Capital to Coast Charity. Please help by Donating > http://www.justgiving.com/Lovefilm-capital-to-coast > > > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 flatto.net Thu Apr 8 15:40:35 2010 From: nagios at flatto.net (Assaf Flatto) Date: Thu, 08 Apr 2010 14:40:35 +0100 Subject: OOB alerting In-Reply-To: References: Message-ID: <4BBDDCD3.5080704@flatto.net> Greg Pangrazio wrote: > I am looking for a method to send email and or SMS messages out from > our Nagios server. These messages should not rely on any network > connectivity. > > The idea here is that I still need to be able to alert users outside > the company when the mail system goes down or all the internet access > goes down and email no longer works. This would also apply to the > switch that the Nagios server is connected to. I know one option is > an POTS line with a modem, but anyone used a Cellular system > successfully? > > Thanks! > I have used a Cellular modem to send SMS alerts via nagios before . It was an implementation of nagios+Kannel http://www.kannel.org/ -- Never,Ever Cut A Deal With a Dragon I am doing a Charity Bike ride On the 27 of June for the Capital to Coast Charity. Please help by Donating http://www.justgiving.com/Lovefilm-capital-to-coast ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From schneemann at b1-systems.de Thu Apr 8 15:43:14 2010 From: schneemann at b1-systems.de (Christian Schneemann) Date: Thu, 8 Apr 2010 15:43:14 +0200 Subject: OOB alerting In-Reply-To: References: Message-ID: <201004081543.14244.schneemann@b1-systems.de> Hi, On Thursday 08 April 2010 03:26:32 pm Greg Pangrazio wrote: > I am looking for a method to send email and or SMS messages out from > our Nagios server. These messages should not rely on any network > connectivity. > > The idea here is that I still need to be able to alert users outside > the company when the mail system goes down or all the internet access > goes down and email no longer works. This would also apply to the > switch that the Nagios server is connected to. I know one option is > an POTS line with a modem, but anyone used a Cellular system > successfully? You can use old mobile phones if you want or a "special" gsm modem.. Tools to use are smstools or gnokii... You should find all what you need in the archive of this list or using a websearch of your chose. Regards, Christian > > Thanks! > > Greg Pangrazio > pangrazi at gmail.com > 847-707-7933 (c) > 847-973-0307 (h) > > --------------------------------------------------------------------------- > --- Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > ::: reporting any issue. Messages without supporting info will risk being > ::: sent to /dev/null > -- Christian Schneemann Geschaeftsfuehrer: Ralph Dehner IT Consultant & Trainer Unternehmenssitz: Vohburg B1 Systems GmbH Amtsgericht: Ingolstadt Mobil: +49-(0)-1757250665 Handelsregister: HRB 3537 EMail: schneemann at b1-systems.de http://www.b1-systems.de Adresse: B1 Systems GmbH, Osterfeldstra?e 7, 85088 Vohburg GPG: http://pgpkeys.pca.dfn.de/pks/lookup?op=get&search=0x2FA8643A41BDAB81 ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kamble at gmail.com Thu Apr 8 15:50:55 2010 From: kamble at gmail.com (Shashank Kamble) Date: Thu, 8 Apr 2010 10:50:55 -0300 Subject: Nagios on solaris 8: NRPE issue Message-ID: Hello, I am having issues with installing NRPE plugin to on one of "Solaris 8" on SPARC machine. I successfully installed Nagios Plugins. Here is the problem, 1) I added the following entry to /etc/services: nrpe 5666/tcp # NRPE 2) Then add the following line to the end of /etc/inet/inetd.conf: nrpe stream tcp nowait nagios /usr/sfw/sbin/tcpd /usr/local/nagios/bin/nrpe -c /usr/local/nagios/etc/nrpe.cfg -i 3) Next, we need to convert it to SMF by running # inetconv With Solaris 10, we use SMF. Is there any particular documents or steps I have to follow to install NRPE on Solaris8. or am I missing some steps. Could you please help me with this issue. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From schneemann at b1-systems.de Thu Apr 8 15:55:56 2010 From: schneemann at b1-systems.de (Christian Schneemann) Date: Thu, 8 Apr 2010 15:55:56 +0200 Subject: service dependency - dependent from In-Reply-To: References: <201004081004.06659.schneemann@b1-systems.de> <201004081509.14613.schneemann@b1-systems.de> Message-ID: <201004081555.56757.schneemann@b1-systems.de> On Thursday 08 April 2010 03:31:03 pm C. Bensend wrote: > >> You mean like: > >> > >> > >> # All services that depend on NSClient++ > >> define servicedependency{ > >> # Host the dependent service is running on > >> dependent_host_name HOSTNAME > >> # Service that is dependent on the service_description below > >> dependent_service_description C:,CPU,Dell hardware,DHCP > >> scope,DHCP server,E:,F:,H:,I:,Shadow copies E:,Shadow copies > >> H:,Shadow copies I:,Memory usage,SMS Agent Host,Unplanned > >> restart,User-initiated restart > >> # Host the master service is running on > >> host_name HOSTNAME > >> # Service that the others depend on > >> service_description NSClient++ > >> # Criteria to NOT notify for, if the above service is down > >> notification_failure_criteria w,u,c > >> } > >> > >> > >> ? Because I have several hundred dependencies configured like this. > > > > No, that is the way it's documented :) > > > > I want something like: (used other names just to make clear what I mean) > > define service { > > service_description nrpe > > ... > > } > > > > define service { > > service_description filesystem_through_nrpe > > .... > > } > > define servicedependency { > > dependent_service filesystem_through_nrpe > > dependent_from nrpe > > } > > > > > > define service { > > service_description health_through_nrpe > > .... > > } > > define servicedependency { > > dependent_service health_through_nrpe > > dependent_from nrpe > > } > > > > or as a "better" way to define the service one is dependent from like > > this: > > define service{ > > service_description health_nrpe > > dependent_from nrpe > > ... > > } > > > > like the "parent" we have at hosts. > > I guess I'm still not understanding what you're needing... You > can define a service dependency for each individual service if > that's what you're after, instead of all at once. > > So, if you have a service "check_linux_filesystem_nrpe" that > depends on a service "nrpe" on a host, you can add a service > dependency for that in its own file. Then, when you add another > service named "check_linux_memory_nrpe" that also needs the "nrpe" > service, you can define another, seperate service dependency for > that in its own file. It doesn't matter if they're defined all in > one definition or seperately, as long as your Nagios installation > is configured to pick up on the new files it will be just fine. > > I hope I'm understanding you correctly? Yes, you did. Ok, than I will do it as you mentioned here. I think that will be the smartest solution for my needs.. Thanks. Christian > > Benny > -- Christian Schneemann Geschaeftsfuehrer: Ralph Dehner IT Consultant & Trainer Unternehmenssitz: Vohburg B1 Systems GmbH Amtsgericht: Ingolstadt Mobil: +49-(0)-1757250665 Handelsregister: HRB 3537 EMail: schneemann at b1-systems.de http://www.b1-systems.de Adresse: B1 Systems GmbH, Osterfeldstra?e 7, 85088 Vohburg GPG: http://pgpkeys.pca.dfn.de/pks/lookup?op=get&search=0x2FA8643A41BDAB81 ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From smcafee at collaborativefusion.com Thu Apr 8 15:49:40 2010 From: smcafee at collaborativefusion.com (Sean McAfee) Date: Thu, 08 Apr 2010 09:49:40 -0400 Subject: OOB alerting In-Reply-To: References: Message-ID: <4BBDDEF4.80402@collaborativefusion.com> Greg Pangrazio wrote: > I am looking for a method to send email and or SMS messages out from > our Nagios server. These messages should not rely on any network > connectivity. > > The idea here is that I still need to be able to alert users outside > the company when the mail system goes down or all the internet access > goes down and email no longer works. This would also apply to the > switch that the Nagios server is connected to. I know one option is > an POTS line with a modem, but anyone used a Cellular system > successfully? > > Thanks! > > Greg Pangrazio > pangrazi at gmail.com > 847-707-7933 (c) > 847-973-0307 (h) I've got it set up with a Moxa OnCell 2100 (http://www.moxa.com/product/OnCell_G2100_G2150I.htm) and SMSTools3 (http://smstools3.kekekasvi.com/) using T-Mobile. It's nice and simple, has worked flawlessly, and doesn't require any third party service providers other than the cell company. I previously had a Cepag modem and it was absolutely terrible and would lock up quite frequently. My dealings with Moxa have been few, but I've been completely satisfied with them. -- Sean McAfee Senior Systems Engineer ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 8 16:45:36 2010 From: patrick.morris at hp.com (Morris, Patrick) Date: Thu, 08 Apr 2010 07:45:36 -0700 Subject: Gnokii Notification In-Reply-To: References: Message-ID: <4BBDEC10.1020003@hp.com> wale Ajayi wrote: > Notification Not working with gnokii, can anyone give me help to make > it work . > Nagios version 3.2.0 Without any information about how you've set it up? No, probably not. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 at westnet.com Thu Apr 8 17:54:29 2010 From: chris at westnet.com (Christopher X. Candreva) Date: Thu, 8 Apr 2010 11:54:29 -0400 (EDT) Subject: Nagios on solaris 8: NRPE issue In-Reply-To: References: Message-ID: On Thu, 8 Apr 2010, Shashank Kamble wrote: > I am having issues with installing NRPE plugin to on one of "Solaris 8" on SPARC machine. I successfully installed > Nagios Plugins. Here is the problem, > > 1) I added the following entry to /etc/services: > nrpe 5666/tcp # NRPE > > 2) Then add the following line to the end of /etc/inet/inetd.conf: > > nrpe stream tcp nowait nagios /usr/sfw/sbin/tcpd /usr/local/nagios/bin/nrpe -c /usr/local/nagios/etc/nrpe.cfg -i > > 3) Next, we need to convert it to SMF by running > > # inetconv > > With Solaris 10, we use SMF. Is there any particular documents or steps I have to follow to install NRPE on Solaris8. > or am I missing some steps. As far as I know Solaris 8 doesn't use SMF. At least none of our Solaris 8 machines do, though it may be an option I don't know about. After adding it to inetd.conf you just restart inetd, or send it SIGHUP ========================================================== Chris Candreva -- chris at westnet.com -- (914) 948-3162 WestNet Internet Services of Westchester http://www.westnet.com/ ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Narasimha.Tadepalli at pervasive.com Thu Apr 8 18:02:13 2010 From: Narasimha.Tadepalli at pervasive.com (Narasimha Tadepalli) Date: Thu, 8 Apr 2010 11:02:13 -0500 Subject: Monitoring a process with its pid In-Reply-To: <4B95FF65.2090705@cisco.com> References: <4B94E976.2070202@cisco.com> <4B94F728.5060803@cisco.com> <5bcb62b61003080731y4d209337v644650b715414ae7@mail.gmail.com> <4B95FF65.2090705@cisco.com> Message-ID: <064B882F1EF10E4D837C42B2D39713E40534C1734C@pvswmail.pervasive.com> Hi Jatin Could you explain briefly how did you solve your problem. Look like you solved with snmp. Please explain how did you tied snmp to nagios etc stuff. I am also in need of solution for exact similar situation. Thanks Nars -----Original Message----- From: Jatin Davey [mailto:jashokda at cisco.com] Sent: Tuesday, March 09, 2010 1:57 AM To: Matt Simmons Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Monitoring a process with its pid Thanks Matt, It solved my problem. Thanks Jatin On 3/8/2010 9:01 PM, Matt Simmons wrote: > If you have snmp enabled on the hosts, you can pull that information out: > > ~$ snmpwalk -v 2c -c COMMUNITY myhost.mydomain.com > HOST-RESOURCES-MIB::hrSWRunName.3309 > HOST-RESOURCES-MIB::hrSWRunName.3309 = STRING: "crond" > > > > On Mon, Mar 8, 2010 at 8:10 AM, Jatin Davey wrote: > >> Let me re-phrase it a little , >> >> Basically what i want is to give the process id as the input and make >> sure on that target machine i have the process with the given id running >> , once it stops there might not be the process running with that id and >> hence i need to raise an email notification alert. >> >> Thanks >> Jatin >> >> On 3/8/2010 5:41 PM, Jatin Davey wrote: >> >>> Hi All >>> >>> Do we have a plugin that can monitor process id (pid) on a target >>> machine , the target machine could be anything such as windows , linux , >>> solaris etc and alert with an email notification when the process id >>> changes. >>> >>> Appreciate your responses. >>> >>> Thanks >>> Jatin >>> >>> ------------------------------------------------------------------------------ >>> Download Intel® Parallel Studio Eval >>> Try the new software tools for yourself. Speed compiling, find bugs >>> proactively, and fine-tune applications for parallel performance. >>> See why Intel Parallel Studio got high marks during beta. >>> http://p.sf.net/sfu/intel-sw-dev >>> _______________________________________________ >>> Nagios-users mailing list >>> Nagios-users at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >>> ::: Messages without supporting info will risk being sent to /dev/null >>> >>> >>> >> ------------------------------------------------------------------------------ >> Download Intel® Parallel Studio Eval >> Try the new software tools for yourself. Speed compiling, find bugs >> proactively, and fine-tune applications for parallel performance. >> See why Intel Parallel Studio got high marks during beta. >> http://p.sf.net/sfu/intel-sw-dev >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> >> > > > ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kamble at gmail.com Thu Apr 8 19:14:49 2010 From: kamble at gmail.com (Shashank Kamble) Date: Thu, 8 Apr 2010 14:14:49 -0300 Subject: Nagios on solaris 8: NRPE issue In-Reply-To: References: Message-ID: excellent.. it worked... :) On Thu, Apr 8, 2010 at 12:54 PM, Christopher X. Candreva wrote: > On Thu, 8 Apr 2010, Shashank Kamble wrote: > > > I am having issues with installing NRPE plugin to on one of "Solaris 8" > on SPARC machine. I successfully installed > > Nagios Plugins. Here is the problem, > > > > 1) I added the following entry to /etc/services: > > nrpe 5666/tcp # NRPE > > > > 2) Then add the following line to the end of /etc/inet/inetd.conf: > > > > nrpe stream tcp nowait nagios /usr/sfw/sbin/tcpd > /usr/local/nagios/bin/nrpe -c /usr/local/nagios/etc/nrpe.cfg -i > > > > 3) Next, we need to convert it to SMF by running > > > > # inetconv > > > > With Solaris 10, we use SMF. Is there any particular documents or steps I > have to follow to install NRPE on Solaris8. > > or am I missing some steps. > > As far as I know Solaris 8 doesn't use SMF. At least none of our Solaris 8 > machines do, though it may be an option I don't know about. > > After adding it to inetd.conf you just restart inetd, or send it SIGHUP > > > ========================================================== > Chris Candreva -- chris at westnet.com -- (914) 948-3162 > WestNet Internet Services of Westchester > http://www.westnet.com/ > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kamble at gmail.com Thu Apr 8 19:21:52 2010 From: kamble at gmail.com (Shashank Kamble) Date: Thu, 8 Apr 2010 14:21:52 -0300 Subject: nrep error: libssl no such file or a directory Message-ID: Hello, I am new to Nagios. I am trying to install nrpe2.12 on Solaris 8. I compiled it without any error, and made all the necessary changes that required NRPE to run. But, whenever I try to run "/usr/local/nagios/libexec/check_nrpe -H localhost", I am getting following error. ld.so.1: nrpe: fatal: libssl.so.0.9.8: open failed: No such file or directory I did some research online, but still no luck, could you please help me with this issue. Thanks, Shashank -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 8 20:39:34 2010 From: patrick.morris at hp.com (patrick.morris at hp.com) Date: Thu, 8 Apr 2010 11:39:34 -0700 Subject: nrep error: libssl no such file or a directory In-Reply-To: References: Message-ID: <20100408183934.GO4621@bakgwai.americas.hpqcorp.net> On Thu, 08 Apr 2010, Shashank Kamble wrote: > Hello, > > I am new to Nagios. I am trying to install nrpe2.12 on Solaris 8. I compiled it without any error, and made all the necessary changes that required NRPE to run. But, whenever I try to run "/usr/local/nagios/libexec/check_nrpe -H localhost", I am getting following error. > > ld.so.1: nrpe: fatal: libssl.so.0.9.8: open failed: No such file or directory > > > I did some research online, but still no luck, could you please help me with this issue. > You've compiled nrpe with SSL support, but libssl.so.0.9.8 is not in your system library path. It's also possible you used someone else's precompiled package, and it was built against a library you don't have. In case 1, you need to either make sure that library is in your systel mibrary path, or set LD_LIBRARY_PATH before running nrpe to include the directory that library ilves in. In case 2, you need to either obtain that library, or get one that's built against files that do exist on your system. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lflacayo at cps.k12.il.us Thu Apr 8 21:55:32 2010 From: lflacayo at cps.k12.il.us (Lacayo, Luis F) Date: Thu, 8 Apr 2010 14:55:32 -0500 Subject: General Question.. In-Reply-To: <64B16CBF-4788-4001-8DDC-F8695BCB1CE9@xodus.org> References: <64B16CBF-4788-4001-8DDC-F8695BCB1CE9@xodus.org> Message-ID: Thank you .... I just could not think of the name.. Thanks again, Luis -----Original Message----- From: Marc Powell [mailto:lists at xodus.org] Sent: Thursday, April 08, 2010 8:28 AM To: Nagios Users List Subject: Re: [Nagios-users] General Question.. On Apr 8, 2010, at 7:35 AM, Lacayo, Luis F wrote: > Hello and good to all, > > I was wondering if there is possibility to have Nagios submit a script when a certain value is exceeded. I heard that this is possible and would appreciate any guidance on how to achieve this. These are Event Handlers. == Marc ------------------------------------------------------------------------ ------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Paul_Bertino at cable.comcast.com Thu Apr 8 22:02:36 2010 From: Paul_Bertino at cable.comcast.com (Bertino, Paul) Date: Thu, 8 Apr 2010 16:02:36 -0400 Subject: Setup Nagios on an HP-UX Server In-Reply-To: <2E7DAFE78CBAC949AF68D41B4135A8B60FB479B6@PACDCEXCMB04.cable.comcast.com> References: <2E7DAFE78CBAC949AF68D41B4135A8B60FB479B6@PACDCEXCMB04.cable.comcast.com> Message-ID: <2E7DAFE78CBAC949AF68D41B4135A8B60FBF56CE@PACDCEXCMB04.cable.comcast.com> I had hoped someone could give me some direction here. I would appreciate any help in this matter! Thanks, Paul Bertino Senior Administrator System Support Group Comcast Cable Communications, Inc. MS 22044 1354 Boot Road West Chester, PA. 19380 215-286-2225 From: Bertino, Paul [mailto:Paul_Bertino at cable.comcast.com] Sent: Wednesday, April 07, 2010 12:32 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Setup Nagios on an HP-UX Server Hello, > First I am inexperienced with setting up monitoring. I think what I > would like to do is > have Nagios and the net-snmp reside on the same server to monitor it > resources on the HP-UX server. > I hope this explains it. I am trying to setup net-snmp with Nagios on an HP-UX with Unix OS > version 11.23. Could you > > point me in the right direction to get this information or do you have > any on the site? I would > > appreciate any assistance on this. Thanks, Paul J. Bertino Platforms, I&O, NE&TO Senior Systems Admin Comcast Cable Communications, Inc. 1354 Boot Road MS 22044 West Chester, PA. 19380 610-732-2225 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.gif Type: image/gif Size: 569 bytes Desc: image002.gif URL: -------------- next part -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mitsuto at gmail.com Thu Apr 8 22:39:34 2010 From: mitsuto at gmail.com (Marcel) Date: Thu, 8 Apr 2010 17:39:34 -0300 Subject: Setup Nagios on an HP-UX Server In-Reply-To: <2E7DAFE78CBAC949AF68D41B4135A8B60FBF56CE@PACDCEXCMB04.cable.comcast.com> References: <2E7DAFE78CBAC949AF68D41B4135A8B60FB479B6@PACDCEXCMB04.cable.comcast.com> <2E7DAFE78CBAC949AF68D41B4135A8B60FBF56CE@PACDCEXCMB04.cable.comcast.com> Message-ID: If you don't want to read the manual, trying to do it yourself first, the come here with your doubts and problems faced, then you could pay anyone to do this for you... On Thu, Apr 8, 2010 at 5:02 PM, Bertino, Paul < Paul_Bertino at cable.comcast.com> wrote: > I had hoped someone could give me some direction here. I would > appreciate any help in this matter! > > > > Thanks, > > > > *Paul Bertino* > > *Senior Administrator* > > *System Support Group* > > Comcast Cable Communications, Inc. > > MS 22044 > > 1354 Boot Road > > West Chester, PA. 19380 > > 215-286-2225 > > *From:* Bertino, Paul [mailto:Paul_Bertino at cable.comcast.com] > *Sent:* Wednesday, April 07, 2010 12:32 PM > *To:* nagios-users at lists.sourceforge.net > *Subject:* Re: [Nagios-users] Setup Nagios on an HP-UX Server > > > > Hello, > > > > > First I am inexperienced with setting up monitoring. I think what I > > > would like to do is > > > have Nagios and the net-snmp reside on the same server to monitor it > > > resources on the HP-UX server. > > > I hope this explains it. > > I am trying to setup net-snmp with Nagios on an HP-UX with Unix OS > > > version 11.23. Could you > > > > > > point me in the right direction to get this information or do you have > > > any on the site? I would > > > > > > appreciate any assistance on this. > > Thanks, > > > > *Paul J. Bertino* > > Platforms, I&O, NE&TO > > Senior Systems Admin > > Comcast Cable Communications, Inc. > > 1354 Boot Road > > MS 22044 > > West Chester, PA. 19380 > > 610-732-2225 > > > > > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.gif Type: image/gif Size: 569 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pradhanparas at gmail.com Fri Apr 9 01:01:43 2010 From: pradhanparas at gmail.com (Paras pradhan) Date: Thu, 8 Apr 2010 18:01:43 -0500 Subject: Inteface traffic In-Reply-To: References: Message-ID: Which is the correct SNMP MIB to see Data IN and Data out from interfaces? Thanks Paras. On Wed, Apr 7, 2010 at 12:14 PM, Paras pradhan wrote: > I have few Linux and Solaris hosts that I need to grab the total in and out > traffic from there nics. Which plugin should i use? Do i need to configure > snmp on all of my hosts or there are some non snmp plugins. > > Thanks! > Paras. > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From perldork at webwizarddesign.com Fri Apr 9 02:41:52 2010 From: perldork at webwizarddesign.com (Max) Date: Thu, 8 Apr 2010 20:41:52 -0400 Subject: Inteface traffic In-Reply-To: References: Message-ID: IF-MIB On 4/8/10, Paras pradhan wrote: > Which is the correct SNMP MIB to see Data IN and Data out from interfaces? > > Thanks > Paras. > > > On Wed, Apr 7, 2010 at 12:14 PM, Paras pradhan > wrote: > >> I have few Linux and Solaris hosts that I need to grab the total in and >> out >> traffic from there nics. Which plugin should i use? Do i need to configure >> snmp on all of my hosts or there are some non snmp plugins. >> >> Thanks! >> Paras. >> >> > ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From benny at bennyvision.com Fri Apr 9 05:25:17 2010 From: benny at bennyvision.com (C. Bensend) Date: Thu, 8 Apr 2010 22:25:17 -0500 Subject: Setup Nagios on an HP-UX Server In-Reply-To: <2E7DAFE78CBAC949AF68D41B4135A8B60FBF56CE@PACDCEXCMB04.cable.comcast.com> References: <2E7DAFE78CBAC949AF68D41B4135A8B60FB479B6@PACDCEXCMB04.cable.comcast.com> <2E7DAFE78CBAC949AF68D41B4135A8B60FBF56CE@PACDCEXCMB04.cable.comcast.com> Message-ID: > I had hoped someone could give me some direction here. I would > appreciate any help in this matter! Please be patient, Paul... People do not check their mail 24x7, nor is everyone in the same time zone as yourself. :) Now, just to verify, you are intending to run the Nagios daemon *on* the HP-UX server, or you are intending to monitor an HP-UX server from another host? Benny -- Me: 'How big a monster can you take out with one of those? Would you win a fight with Godzilla?' Jim: 'You could disassemble Godzilla at a range of seven miles.' -- Blog entry about the 76mm Melera, a gun on a US Navy Perry-class frigate that Somali pirates tried to seize ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From asraikhn at gmail.com Fri Apr 9 07:05:01 2010 From: asraikhn at gmail.com (Asrai khn) Date: Fri, 9 Apr 2010 10:05:01 +0500 Subject: Gnokii Notification In-Reply-To: References: Message-ID: This might help, http://askaralikhan.blogspot.com/2010/03/sending-sms-notification-from-nagios.html On Thu, Apr 8, 2010 at 3:18 PM, wale Ajayi wrote: > Notification Not working with gnokii, can anyone give me help to make it > work . > Nagios version 3.2.0 > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From K.Getchell at kingston.ac.uk Fri Apr 9 10:47:42 2010 From: K.Getchell at kingston.ac.uk (Getchell, Kristoffer M) Date: Fri, 9 Apr 2010 09:47:42 +0100 Subject: Nagios Logfiles being compressed on SLES11 Message-ID: Dear List I'm hoping someone can help me out. We're running Nagios 3.0.6 on SLES 11 and I'm having an issue with the archived logfiles being compressed. The archive of logfiles is located in the /var/log/nagios/archives directory and they are set to be cycled daily by Nagios. Logrotate has no entries for the Nagios directory. However, every night the files are being BZip2 compressed and I can't figure out what is causing this. Anyone got any ideas? I've been looking at it so long that I'm sure I'm missing the obvious cause of this behaviour, but can't see what it is! Thanks in advance for any assistance. Kind regards, Kris This email has been scanned for all viruses by the MessageLabs Email Security System. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From schneemann at b1-systems.de Fri Apr 9 11:43:33 2010 From: schneemann at b1-systems.de (Christian Schneemann) Date: Fri, 9 Apr 2010 11:43:33 +0200 Subject: Nagios Logfiles being compressed on SLES11 In-Reply-To: References: Message-ID: <201004091143.33805.schneemann@b1-systems.de> Hallo, On Friday 09 April 2010 10:47:42 am Getchell, Kristoffer M wrote: > Dear List > > I'm hoping someone can help me out. We're running Nagios 3.0.6 on SLES 11 > and I'm having an issue with the archived logfiles being compressed. The > archive of logfiles is located in the /var/log/nagios/archives directory > and they are set to be cycled daily by Nagios. Logrotate has no entries > for the Nagios directory. However, every night the files are being BZip2 > compressed and I can't figure out what is causing this. > > Anyone got any ideas? I've been looking at it so long that I'm sure I'm > missing the obvious cause of this behaviour, but can't see what it is! have a look in the /etc/cron.d/ directory, there should be the file that's causing this. you can simply delete the file or move it to a backup place. Regards, Christian -- Christian Schneemann Geschaeftsfuehrer: Ralph Dehner IT Consultant & Trainer Unternehmenssitz: Vohburg B1 Systems GmbH Amtsgericht: Ingolstadt Mobil: +49-(0)-1757250665 Handelsregister: HRB 3537 EMail: schneemann at b1-systems.de http://www.b1-systems.de Adresse: B1 Systems GmbH, Osterfeldstra?e 7, 85088 Vohburg GPG: http://pgpkeys.pca.dfn.de/pks/lookup?op=get&search=0x2FA8643A41BDAB81 ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From schneemann at b1-systems.de Fri Apr 9 11:47:59 2010 From: schneemann at b1-systems.de (Christian Schneemann) Date: Fri, 9 Apr 2010 11:47:59 +0200 Subject: Nagios Logfiles being compressed on SLES11 In-Reply-To: <201004091143.33805.schneemann@b1-systems.de> References: <201004091143.33805.schneemann@b1-systems.de> Message-ID: <201004091148.00116.schneemann@b1-systems.de> On Friday 09 April 2010 11:43:33 am Christian Schneemann wrote: > Hallo, > > On Friday 09 April 2010 10:47:42 am Getchell, Kristoffer M wrote: > > Dear List > > > > I'm hoping someone can help me out. We're running Nagios 3.0.6 on SLES > > 11 and I'm having an issue with the archived logfiles being compressed. > > The archive of logfiles is located in the /var/log/nagios/archives > > directory and they are set to be cycled daily by Nagios. Logrotate has > > no entries for the Nagios directory. However, every night the files are > > being BZip2 compressed and I can't figure out what is causing this. > > > > Anyone got any ideas? I've been looking at it so long that I'm sure I'm > > missing the obvious cause of this behaviour, but can't see what it is! > > have a look in the /etc/cron.d/ directory, there should be the file that's > causing this. or /etc/cron.weekly/nagios but that should just do this ones a week... > you can simply delete the file or move it to a backup place. > > Regards, > Christian > -- Christian Schneemann Geschaeftsfuehrer: Ralph Dehner IT Consultant & Trainer Unternehmenssitz: Vohburg B1 Systems GmbH Amtsgericht: Ingolstadt Mobil: +49-(0)-1757250665 Handelsregister: HRB 3537 EMail: schneemann at b1-systems.de http://www.b1-systems.de Adresse: B1 Systems GmbH, Osterfeldstra?e 7, 85088 Vohburg GPG: http://pgpkeys.pca.dfn.de/pks/lookup?op=get&search=0x2FA8643A41BDAB81 ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From uwe.us.schreiber at daimler.com Fri Apr 9 12:14:49 2010 From: uwe.us.schreiber at daimler.com (uwe.us.schreiber at daimler.com) Date: Fri, 09 Apr 2010 12:14:49 +0200 Subject: Schreiber, Uwe US is out of the office. Message-ID: Ich bin seit dem 06.04.2010 nicht im B?ro. Ich werde am 13.04.2010 zur?ckkehren. Achtung: Dies ist eine automatisch erstellte Benachrichtigung auf Ihre Mail "Nagios-users Digest, Vol 47, Issue 9"gesendet am 9/4/10 11:48:00 . Dies ist die einzige Benachrichtigung, die Sie w?hrend der Abwesenheit des Empf?ngers erhalten. If you are not the intended addressee, please inform us immediately that you have received this e-mail in error, and delete it. We thank you for your cooperation. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From K.Getchell at kingston.ac.uk Fri Apr 9 12:15:23 2010 From: K.Getchell at kingston.ac.uk (Getchell, Kristoffer M) Date: Fri, 9 Apr 2010 11:15:23 +0100 Subject: Nagios Logfiles being compressed on SLES11 In-Reply-To: <201004091148.00116.schneemann@b1-systems.de> References: <201004091148.00116.schneemann@b1-systems.de> Message-ID: Christian Many thanks for this - I knew it'd be something obvious, I just couldn't see it for looking! Kind regards, Kris On 09/04/2010 10:47, "Christian Schneemann" wrote: > On Friday 09 April 2010 11:43:33 am Christian Schneemann wrote: >> Hallo, >> >> On Friday 09 April 2010 10:47:42 am Getchell, Kristoffer M wrote: >>> Dear List >>> >>> I'm hoping someone can help me out. We're running Nagios 3.0.6 on SLES >>> 11 and I'm having an issue with the archived logfiles being compressed. >>> The archive of logfiles is located in the /var/log/nagios/archives >>> directory and they are set to be cycled daily by Nagios. Logrotate has >>> no entries for the Nagios directory. However, every night the files are >>> being BZip2 compressed and I can't figure out what is causing this. >>> >>> Anyone got any ideas? I've been looking at it so long that I'm sure I'm >>> missing the obvious cause of this behaviour, but can't see what it is! >> >> have a look in the /etc/cron.d/ directory, there should be the file that's >> causing this. > or /etc/cron.weekly/nagios but that should just do this ones a week... > >> you can simply delete the file or move it to a backup place. >> >> Regards, >> Christian >> Kristoffer Getchell | Systems Analyst | Information Services | 020 8417 2079 This email has been scanned for all viruses by the MessageLabs Email Security System. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pradhanparas at gmail.com Fri Apr 9 18:53:11 2010 From: pradhanparas at gmail.com (Paras pradhan) Date: Fri, 9 Apr 2010 11:53:11 -0500 Subject: Inteface traffic In-Reply-To: References: Message-ID: Any non snmp plugins exists? Paras. On Thu, Apr 8, 2010 at 7:41 PM, Max wrote: > IF-MIB > > On 4/8/10, Paras pradhan wrote: > > Which is the correct SNMP MIB to see Data IN and Data out from > interfaces? > > > > Thanks > > Paras. > > > > > > On Wed, Apr 7, 2010 at 12:14 PM, Paras pradhan > > wrote: > > > >> I have few Linux and Solaris hosts that I need to grab the total in and > >> out > >> traffic from there nics. Which plugin should i use? Do i need to > configure > >> snmp on all of my hosts or there are some non snmp plugins. > >> > >> Thanks! > >> Paras. > >> > >> > > > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rwolfe at i-evolve.com Fri Apr 9 19:03:35 2010 From: rwolfe at i-evolve.com (Robert Wolfe) Date: Fri, 9 Apr 2010 13:03:35 -0400 Subject: Inteface traffic In-Reply-To: References: Message-ID: <33C7BE4CE80D504E8907FDC31F8A08304E78A24B36@iexchange.I-EVOLVE.com> Myself, I wrote a short custom plugin that requires NRPE to be installed on the remote machine being monitored. The plugin basically shows the total amount of RX and TX data on an interface since last reboot. From: Paras pradhan [mailto:pradhanparas at gmail.com] Sent: Friday, April 09, 2010 12:53 PM To: Nagios Users List Subject: Re: [Nagios-users] Inteface traffic Any non snmp plugins exists? Paras. On Thu, Apr 8, 2010 at 7:41 PM, Max > wrote: IF-MIB On 4/8/10, Paras pradhan > wrote: > Which is the correct SNMP MIB to see Data IN and Data out from interfaces? > > Thanks > Paras. > > > On Wed, Apr 7, 2010 at 12:14 PM, Paras pradhan > >wrote: > >> I have few Linux and Solaris hosts that I need to grab the total in and >> out >> traffic from there nics. Which plugin should i use? Do i need to configure >> snmp on all of my hosts or there are some non snmp plugins. >> >> Thanks! >> Paras. >> >> > ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pradhanparas at gmail.com Fri Apr 9 19:16:09 2010 From: pradhanparas at gmail.com (Paras pradhan) Date: Fri, 9 Apr 2010 12:16:09 -0500 Subject: Inteface traffic In-Reply-To: <33C7BE4CE80D504E8907FDC31F8A08304E78A24B36@iexchange.I-EVOLVE.com> References: <33C7BE4CE80D504E8907FDC31F8A08304E78A24B36@iexchange.I-EVOLVE.com> Message-ID: On Fri, Apr 9, 2010 at 12:03 PM, Robert Wolfe wrote: > Myself, I wrote a short custom plugin that requires NRPE to be installed on > the remote machine being monitored. The plugin basically shows the total > amount of RX and TX data on an interface since last reboot. > > Where I can see the detail about this plugin?. May be this would work but I am looking something that can see the real time traffic on the interfaces. Paras. > > > *From:* Paras pradhan [mailto:pradhanparas at gmail.com] > *Sent:* Friday, April 09, 2010 12:53 PM > *To:* Nagios Users List > *Subject:* Re: [Nagios-users] Inteface traffic > > > > Any non snmp plugins exists? > > > > Paras. > > > > On Thu, Apr 8, 2010 at 7:41 PM, Max wrote: > > IF-MIB > > > On 4/8/10, Paras pradhan wrote: > > Which is the correct SNMP MIB to see Data IN and Data out from > interfaces? > > > > Thanks > > Paras. > > > > > > On Wed, Apr 7, 2010 at 12:14 PM, Paras pradhan > > wrote: > > > >> I have few Linux and Solaris hosts that I need to grab the total in and > >> out > >> traffic from there nics. Which plugin should i use? Do i need to > configure > >> snmp on all of my hosts or there are some non snmp plugins. > >> > >> Thanks! > >> Paras. > >> > >> > > > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pradhanparas at gmail.com Fri Apr 9 19:52:39 2010 From: pradhanparas at gmail.com (Paras pradhan) Date: Fri, 9 Apr 2010 12:52:39 -0500 Subject: Inteface traffic In-Reply-To: <33C7BE4CE80D504E8907FDC31F8A08304E78A24B37@iexchange.I-EVOLVE.com> References: <33C7BE4CE80D504E8907FDC31F8A08304E78A24B36@iexchange.I-EVOLVE.com> <33C7BE4CE80D504E8907FDC31F8A08304E78A24B37@iexchange.I-EVOLVE.com> Message-ID: Real time = current In and Out traffic. Paras. On Fri, Apr 9, 2010 at 12:21 PM, Robert Wolfe wrote: > Define ?real time? as it is used here. > > > > *From:* Paras pradhan [mailto:pradhanparas at gmail.com] > *Sent:* Friday, April 09, 2010 1:16 PM > > *To:* Nagios Users List > *Subject:* Re: [Nagios-users] Inteface traffic > > > > > > On Fri, Apr 9, 2010 at 12:03 PM, Robert Wolfe wrote: > > Myself, I wrote a short custom plugin that requires NRPE to be installed on > the remote machine being monitored. The plugin basically shows the total > amount of RX and TX data on an interface since last reboot. > > Where I can see the detail about this plugin?. May be this would work but I > am looking something that can see the real time traffic on the interfaces. > > > > Paras. > > > > > > *From:* Paras pradhan [mailto:pradhanparas at gmail.com] > *Sent:* Friday, April 09, 2010 12:53 PM > *To:* Nagios Users List > *Subject:* Re: [Nagios-users] Inteface traffic > > > > Any non snmp plugins exists? > > > > Paras. > > > > On Thu, Apr 8, 2010 at 7:41 PM, Max wrote: > > IF-MIB > > > On 4/8/10, Paras pradhan wrote: > > Which is the correct SNMP MIB to see Data IN and Data out from > interfaces? > > > > Thanks > > Paras. > > > > > > On Wed, Apr 7, 2010 at 12:14 PM, Paras pradhan > > wrote: > > > >> I have few Linux and Solaris hosts that I need to grab the total in and > >> out > >> traffic from there nics. Which plugin should i use? Do i need to > configure > >> snmp on all of my hosts or there are some non snmp plugins. > >> > >> Thanks! > >> Paras. > >> > >> > > > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rwolfe at i-evolve.com Fri Apr 9 19:21:20 2010 From: rwolfe at i-evolve.com (Robert Wolfe) Date: Fri, 9 Apr 2010 13:21:20 -0400 Subject: Inteface traffic In-Reply-To: References: <33C7BE4CE80D504E8907FDC31F8A08304E78A24B36@iexchange.I-EVOLVE.com> Message-ID: <33C7BE4CE80D504E8907FDC31F8A08304E78A24B37@iexchange.I-EVOLVE.com> Define "real time" as it is used here. From: Paras pradhan [mailto:pradhanparas at gmail.com] Sent: Friday, April 09, 2010 1:16 PM To: Nagios Users List Subject: Re: [Nagios-users] Inteface traffic On Fri, Apr 9, 2010 at 12:03 PM, Robert Wolfe > wrote: Myself, I wrote a short custom plugin that requires NRPE to be installed on the remote machine being monitored. The plugin basically shows the total amount of RX and TX data on an interface since last reboot. Where I can see the detail about this plugin?. May be this would work but I am looking something that can see the real time traffic on the interfaces. Paras. From: Paras pradhan [mailto:pradhanparas at gmail.com] Sent: Friday, April 09, 2010 12:53 PM To: Nagios Users List Subject: Re: [Nagios-users] Inteface traffic Any non snmp plugins exists? Paras. On Thu, Apr 8, 2010 at 7:41 PM, Max > wrote: IF-MIB On 4/8/10, Paras pradhan > wrote: > Which is the correct SNMP MIB to see Data IN and Data out from interfaces? > > Thanks > Paras. > > > On Wed, Apr 7, 2010 at 12:14 PM, Paras pradhan > >wrote: > >> I have few Linux and Solaris hosts that I need to grab the total in and >> out >> traffic from there nics. Which plugin should i use? Do i need to configure >> snmp on all of my hosts or there are some non snmp plugins. >> >> Thanks! >> Paras. >> >> > ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rwolfe at i-evolve.com Fri Apr 9 20:39:19 2010 From: rwolfe at i-evolve.com (Robert Wolfe) Date: Fri, 9 Apr 2010 14:39:19 -0400 Subject: Inteface traffic In-Reply-To: References: <33C7BE4CE80D504E8907FDC31F8A08304E78A24B36@iexchange.I-EVOLVE.com> <33C7BE4CE80D504E8907FDC31F8A08304E78A24B37@iexchange.I-EVOLVE.com> Message-ID: <33C7BE4CE80D504E8907FDC31F8A08304E78A24B38@iexchange.I-EVOLVE.com> Ok, a short script with an ifconfig and a strategically formatted grep command executed through NRPE will do wonders. From: Paras pradhan [mailto:pradhanparas at gmail.com] Sent: Friday, April 09, 2010 1:53 PM To: Nagios Users List Subject: Re: [Nagios-users] Inteface traffic Real time = current In and Out traffic. Paras. On Fri, Apr 9, 2010 at 12:21 PM, Robert Wolfe > wrote: Define "real time" as it is used here. From: Paras pradhan [mailto:pradhanparas at gmail.com] Sent: Friday, April 09, 2010 1:16 PM To: Nagios Users List Subject: Re: [Nagios-users] Inteface traffic On Fri, Apr 9, 2010 at 12:03 PM, Robert Wolfe > wrote: Myself, I wrote a short custom plugin that requires NRPE to be installed on the remote machine being monitored. The plugin basically shows the total amount of RX and TX data on an interface since last reboot. Where I can see the detail about this plugin?. May be this would work but I am looking something that can see the real time traffic on the interfaces. Paras. From: Paras pradhan [mailto:pradhanparas at gmail.com] Sent: Friday, April 09, 2010 12:53 PM To: Nagios Users List Subject: Re: [Nagios-users] Inteface traffic Any non snmp plugins exists? Paras. On Thu, Apr 8, 2010 at 7:41 PM, Max > wrote: IF-MIB On 4/8/10, Paras pradhan > wrote: > Which is the correct SNMP MIB to see Data IN and Data out from interfaces? > > Thanks > Paras. > > > On Wed, Apr 7, 2010 at 12:14 PM, Paras pradhan > >wrote: > >> I have few Linux and Solaris hosts that I need to grab the total in and >> out >> traffic from there nics. Which plugin should i use? Do i need to configure >> snmp on all of my hosts or there are some non snmp plugins. >> >> Thanks! >> Paras. >> >> > ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From akpgeek at gmail.com Fri Apr 9 21:32:24 2010 From: akpgeek at gmail.com (akp geek) Date: Fri, 9 Apr 2010 15:32:24 -0400 Subject: Nagios Monitoring with out NRPE Message-ID: Hi all - Would it be possible to monitor a website, whether the web site is up or not using nagios. I have nagios sset up to monitor the databases Appreciate your help Regards -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Apr 9 21:50:45 2010 From: zarrelli at linux.it (Giorgio Zarrelli) Date: Fri, 9 Apr 2010 21:50:45 +0200 Subject: Inteface traffic In-Reply-To: <33C7BE4CE80D504E8907FDC31F8A08304E78A24B38@iexchange.I-EVOLVE.com> References: <33C7BE4CE80D504E8907FDC31F8A08304E78A24B36@iexchange.I-EVOLVE.com> <33C7BE4CE80D504E8907FDC31F8A08304E78A24B37@iexchange.I-EVOLVE.com> <33C7BE4CE80D504E8907FDC31F8A08304E78A24B38@iexchange.I-EVOLVE.com> Message-ID: <71591794-4F33-4EE5-B28D-2139931D6177@linux.it> Hi, Check my plugin, it may help http://www.monitoringexchange.org/inventory/Check-Plugins/Hardware/Network/Check-Bandwidth-with-SNMP-v3 Ciao, Giorgio Il giorno 09/apr/2010, alle ore 20.39, Robert Wolfe ha scritto: > Ok, a short script with an ifconfig and a strategically formatted > grep command executed through NRPE will do wonders. > > > > From: Paras pradhan [mailto:pradhanparas at gmail.com] > Sent: Friday, April 09, 2010 1:53 PM > To: Nagios Users List > Subject: Re: [Nagios-users] Inteface traffic > > > > Real time = current In and Out traffic. > > > > Paras. > > > > On Fri, Apr 9, 2010 at 12:21 PM, Robert Wolfe > wrote: > > Define ?real time? as it is used here. > > > > From: Paras pradhan [mailto:pradhanparas at gmail.com] > Sent: Friday, April 09, 2010 1:16 PM > > > To: Nagios Users List > Subject: Re: [Nagios-users] Inteface traffic > > > > > > On Fri, Apr 9, 2010 at 12:03 PM, Robert Wolfe > wrote: > > Myself, I wrote a short custom plugin that requires NRPE to be > installed on the remote machine being monitored. The plugin > basically shows the total amount of RX and TX data on an interface > since last reboot. > > Where I can see the detail about this plugin?. May be this would > work but I am looking something that can see the real time traffic > on the interfaces. > > > > Paras. > > > > > > From: Paras pradhan [mailto:pradhanparas at gmail.com] > Sent: Friday, April 09, 2010 12:53 PM > To: Nagios Users List > Subject: Re: [Nagios-users] Inteface traffic > > > > Any non snmp plugins exists? > > > > Paras. > > > > On Thu, Apr 8, 2010 at 7:41 PM, Max > wrote: > > IF-MIB > > > On 4/8/10, Paras pradhan wrote: > > Which is the correct SNMP MIB to see Data IN and Data out from > interfaces? > > > > Thanks > > Paras. > > > > > > On Wed, Apr 7, 2010 at 12:14 PM, Paras pradhan > > wrote: > > > >> I have few Linux and Solaris hosts that I need to grab the total > in and > >> out > >> traffic from there nics. Which plugin should i use? Do i need to > configure > >> snmp on all of my hosts or there are some non snmp plugins. > >> > >> Thanks! > >> Paras. > >> > >> > > > > --- > --- > --- > --------------------------------------------------------------------- > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > > > --- > --- > --- > --------------------------------------------------------------------- > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > > > --- > --- > --- > --------------------------------------------------------------------- > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > > --- > --- > --- > --------------------------------------------------------------------- > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Apr 9 21:52:27 2010 From: zarrelli at linux.it (Giorgio Zarrelli) Date: Fri, 9 Apr 2010 21:52:27 +0200 Subject: Nagios Monitoring with out NRPE In-Reply-To: References: Message-ID: To monitor a "public" service you do not need nrpe, just call the appropriate plugin Ciao, Giorgio Il giorno 09/apr/2010, alle ore 21.32, akp geek ha scritto: > Hi all - > > Would it be possible to monitor a website, whether the web site is > up or not using nagios. I have nagios sset up to monitor the > databases > > Appreciate your help > > Regards > --- > --- > --- > --------------------------------------------------------------------- > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mitsuto at gmail.com Fri Apr 9 21:57:57 2010 From: mitsuto at gmail.com (Marcel) Date: Fri, 9 Apr 2010 16:57:57 -0300 Subject: Nagios Monitoring with out NRPE In-Reply-To: References: Message-ID: /usr/local/nagios/libexec/check_http --help On Fri, Apr 9, 2010 at 4:32 PM, akp geek wrote: > Hi all - > > Would it be possible to monitor a website, whether the web site is up or > not using nagios. I have nagios sset up to monitor the databases > > Appreciate your help > > Regards > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Fri Apr 9 22:20:47 2010 From: patrick.morris at hp.com (patrick.morris at hp.com) Date: Fri, 9 Apr 2010 13:20:47 -0700 Subject: Nagios Monitoring with out NRPE In-Reply-To: References: Message-ID: <20100409202047.GU4621@bakgwai.americas.hpqcorp.net> On Fri, 09 Apr 2010, akp geek wrote: > Hi all - > > Would it be possible to monitor a website, whether the web site is up or not using nagios. I have nagios sset up to monitor the databases Something like check_http? ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From akpgeek at gmail.com Fri Apr 9 22:22:23 2010 From: akpgeek at gmail.com (akp geek) Date: Fri, 9 Apr 2010 16:22:23 -0400 Subject: Nagios Monitoring with out NRPE In-Reply-To: References: Message-ID: Thank you. I am able to use the check_http The problem that I am running into ./check_http -w 5 -c 10 -H www.mysite.com works fine but what we have is subdomains if I do /check_http -w 5 -c 10 -H www.mysite.com/subDomain/index.html it does not work Thanks again Regards On Fri, Apr 9, 2010 at 3:57 PM, Marcel wrote: > /usr/local/nagios/libexec/check_http --help > > On Fri, Apr 9, 2010 at 4:32 PM, akp geek wrote: > >> Hi all - >> >> Would it be possible to monitor a website, whether the web site is up or >> not using nagios. I have nagios sset up to monitor the databases >> >> Appreciate your help >> >> Regards >> >> >> ------------------------------------------------------------------------------ >> >> Download Intel® Parallel Studio Eval >> Try the new software tools for yourself. Speed compiling, find bugs >> proactively, and fine-tune applications for parallel performance. >> See why Intel Parallel Studio got high marks during beta. >> http://p.sf.net/sfu/intel-sw-dev >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> > > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Fri Apr 9 22:29:13 2010 From: patrick.morris at hp.com (patrick.morris at hp.com) Date: Fri, 9 Apr 2010 13:29:13 -0700 Subject: Nagios Monitoring with out NRPE In-Reply-To: References: Message-ID: <20100409202913.GV4621@bakgwai.americas.hpqcorp.net> Hi akp! On Fri, 09 Apr 2010, akp geek wrote: > Thank you. I am able to use the check_http > > The problem that I am running into > > ./check_http -w 5 -c 10 -H www.mysite.com works fine > > but what we have is subdomains > > if I do > > /check_http -w 5 -c 10 -H www.mysite.com/subDomain/index.html > > it does not work Anyone who has ever worked in any support role will tell you that "it doesn't work" is *never* an adequate description of a problem. You're getting an error message; please tell us what it is. Copy and paste is not hard. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 isprime.org Fri Apr 9 22:43:35 2010 From: nagios at isprime.org (Kyle O'Donnell) Date: Fri, 09 Apr 2010 16:43:35 -0400 Subject: Nagios Monitoring with out NRPE In-Reply-To: <20100409202913.GV4621@bakgwai.americas.hpqcorp.net> References: <20100409202913.GV4621@bakgwai.americas.hpqcorp.net> Message-ID: does check_http reside in / :) On Fri, 9 Apr 2010 13:29:13 -0700, patrick.morris at hp.com wrote: > Hi akp! > > On Fri, 09 Apr 2010, akp geek wrote: > >> Thank you. I am able to use the check_http >> >> The problem that I am running into >> >> ./check_http -w 5 -c 10 -H www.mysite.com >> works fine >> >> but what we have is subdomains >> >> if I do >> >> /check_http -w 5 -c 10 -H >> www.mysite.com/subDomain/index.html >> >> it does not work > > Anyone who has ever worked in any support role will tell you that "it > doesn't work" is *never* an adequate description of a problem. You're > getting an error message; please tell us what it is. Copy and paste is > not hard. > > ------------------------------------------------------------------------------ > Download Intel? Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From akpgeek at gmail.com Fri Apr 9 22:43:15 2010 From: akpgeek at gmail.com (akp geek) Date: Fri, 9 Apr 2010 16:43:15 -0400 Subject: Nagios Monitoring with out NRPE In-Reply-To: <20100409202913.GV4621@bakgwai.americas.hpqcorp.net> References: <20100409202913.GV4621@bakgwai.americas.hpqcorp.net> Message-ID: I totally agree with your statement. Sorry for not providing proper information I got the following error node name or service name not known HTTP CRITICAL - Unable to open TCP socket I could able to resolve it using the following /check_http -w 5 -c 10 -H www.mysite.com -u /subDomain/index.htm l regards On Fri, Apr 9, 2010 at 4:29 PM, wrote: > Hi akp! > > On Fri, 09 Apr 2010, akp geek wrote: > > > Thank you. I am able to use the check_http > > > > The problem that I am running into > > > > ./check_http -w 5 -c 10 -H www.mysite.com > works fine > > > > but what we have is subdomains > > > > if I do > > > > /check_http -w 5 -c 10 -H www.mysite.com/subDomain/index.html< > http://www.mysite.com/subDomain/index.html> > > > > it does not work > > Anyone who has ever worked in any support role will tell you that "it > doesn't work" is *never* an adequate description of a problem. You're > getting an error message; please tell us what it is. Copy and paste is > not hard. > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Apr 9 22:51:13 2010 From: zarrelli at linux.it (Giorgio Zarrelli) Date: Fri, 9 Apr 2010 22:51:13 +0200 Subject: Nagios Monitoring with out NRPE In-Reply-To: References: Message-ID: Try check_http -w 5 -c 10 -H www.mysite.com -u /subDomain/index.html Here you find the man of check_http, describing -u usage, first result googling from my couch. http://nagiosplugins.org/man/check_http Ciao, Giorgio Il giorno 09/apr/2010, alle ore 22.22, akp geek ha scritto: > Thank you. I am able to use the check_http > > The problem that I am running into > > ./check_http -w 5 -c 10 -H www.mysite.com works fine > > but what we have is subdomains > > if I do > > /check_http -w 5 -c 10 -H www.mysite.com/subDomain/index.html > > it does not work > > > Thanks again > > Regards > > > On Fri, Apr 9, 2010 at 3:57 PM, Marcel wrote: > /usr/local/nagios/libexec/check_http --help > > On Fri, Apr 9, 2010 at 4:32 PM, akp geek wrote: > Hi all - > > Would it be possible to monitor a website, whether the web site is > up or not using nagios. I have nagios sset up to monitor the > databases > > Appreciate your help > > Regards > > --- > --- > --- > --------------------------------------------------------------------- > > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > --- > --- > --- > --------------------------------------------------------------------- > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > --- > --- > --- > --------------------------------------------------------------------- > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From akpgeek at gmail.com Fri Apr 9 22:55:18 2010 From: akpgeek at gmail.com (akp geek) Date: Fri, 9 Apr 2010 16:55:18 -0400 Subject: Nagios Monitoring with out NRPE In-Reply-To: References: <20100409202913.GV4621@bakgwai.americas.hpqcorp.net> Message-ID: typo /usr/local/nagios/libexec/check_http -w 5 -c 10 -H www.mysite.com -u /subDomain/index.htm l On Fri, Apr 9, 2010 at 4:43 PM, Kyle O'Donnell wrote: > > does check_http reside in / :) > > On Fri, 9 Apr 2010 13:29:13 -0700, patrick.morris at hp.com wrote: > > Hi akp! > > > > On Fri, 09 Apr 2010, akp geek wrote: > > > >> Thank you. I am able to use the check_http > >> > >> The problem that I am running into > >> > >> ./check_http -w 5 -c 10 -H www.mysite.com > >> works fine > >> > >> but what we have is subdomains > >> > >> if I do > >> > >> /check_http -w 5 -c 10 -H > >> > www.mysite.com/subDomain/index.html< > http://www.mysite.com/subDomain/index.html> > >> > >> it does not work > > > > Anyone who has ever worked in any support role will tell you that "it > > doesn't work" is *never* an adequate description of a problem. You're > > getting an error message; please tell us what it is. Copy and paste is > > not hard. > > > > > > ------------------------------------------------------------------------------ > > Download Intel? Parallel Studio Eval > > Try the new software tools for yourself. Speed compiling, find bugs > > proactively, and fine-tune applications for parallel performance. > > See why Intel Parallel Studio got high marks during beta. > > http://p.sf.net/sfu/intel-sw-dev > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > > reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From daveyjatin at gmail.com Sat Apr 10 08:57:01 2010 From: daveyjatin at gmail.com (Jatin) Date: Sat, 10 Apr 2010 12:27:01 +0530 Subject: Monitoring a process with its pid In-Reply-To: <064B882F1EF10E4D837C42B2D39713E40534C1734C@pvswmail.pervasive.com> References: <4B94E976.2070202@cisco.com> <4B94F728.5060803@cisco.com> <5bcb62b61003080731y4d209337v644650b715414ae7@mail.gmail.com> <4B95FF65.2090705@cisco.com> <064B882F1EF10E4D837C42B2D39713E40534C1734C@pvswmail.pervasive.com> Message-ID: <4BC0213D.9070309@gmail.com> Hi Narsimha I followed these steps: 1. Installed the snmpd daemon on the target machine that you want to monitor , use yum to install it. command is : yum install net-snmp 2. open the file snmpd.conf file from the directory /etc/snmp , you need to edit this file. locate the line which says "view systemview x.x.x.x.x " , make sure to add the oid for the first element in the HOST-RESOURCES-MIB , usually if you dont edit this file then you will be only able to get reply for only one mib parameter from the HOST-RESOURCES-MIB. 3. Restart the snmpd daemon on the target machine using the command : service snmpd restart 4. In the HOST-RESOURCES-MIB , there is one parameter which shows the values for the processes running in the system , which is hrSWrun (not sure about the name though) locate using a MIB browser for the paremeters supported in this MIB. I will check out and reply with some more detail when i go to office on monday , try if you can figure out with the above mentioned clues so far. Thanks Jatin Narasimha Tadepalli wrote: > Hi Jatin > > Could you explain briefly how did you solve your problem. Look like you solved with snmp. Please explain how did you tied snmp to nagios etc stuff. I am also in need of solution for exact similar situation. > > Thanks > Nars > > -----Original Message----- > From: Jatin Davey [mailto:jashokda at cisco.com] > Sent: Tuesday, March 09, 2010 1:57 AM > To: Matt Simmons > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Monitoring a process with its pid > > Thanks Matt, > > It solved my problem. > > Thanks > Jatin > > On 3/8/2010 9:01 PM, Matt Simmons wrote: > >> If you have snmp enabled on the hosts, you can pull that information out: >> >> ~$ snmpwalk -v 2c -c COMMUNITY myhost.mydomain.com >> HOST-RESOURCES-MIB::hrSWRunName.3309 >> HOST-RESOURCES-MIB::hrSWRunName.3309 = STRING: "crond" >> >> >> >> On Mon, Mar 8, 2010 at 8:10 AM, Jatin Davey wrote: >> >> >>> Let me re-phrase it a little , >>> >>> Basically what i want is to give the process id as the input and make >>> sure on that target machine i have the process with the given id running >>> , once it stops there might not be the process running with that id and >>> hence i need to raise an email notification alert. >>> >>> Thanks >>> Jatin >>> >>> On 3/8/2010 5:41 PM, Jatin Davey wrote: >>> >>> >>>> Hi All >>>> >>>> Do we have a plugin that can monitor process id (pid) on a target >>>> machine , the target machine could be anything such as windows , linux , >>>> solaris etc and alert with an email notification when the process id >>>> changes. >>>> >>>> Appreciate your responses. >>>> >>>> Thanks >>>> Jatin >>>> >>>> ------------------------------------------------------------------------------ >>>> Download Intel® Parallel Studio Eval >>>> Try the new software tools for yourself. Speed compiling, find bugs >>>> proactively, and fine-tune applications for parallel performance. >>>> See why Intel Parallel Studio got high marks during beta. >>>> http://p.sf.net/sfu/intel-sw-dev >>>> _______________________________________________ >>>> Nagios-users mailing list >>>> Nagios-users at lists.sourceforge.net >>>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>>> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >>>> ::: Messages without supporting info will risk being sent to /dev/null >>>> >>>> >>>> >>>> >>> ------------------------------------------------------------------------------ >>> Download Intel® Parallel Studio Eval >>> Try the new software tools for yourself. Speed compiling, find bugs >>> proactively, and fine-tune applications for parallel performance. >>> See why Intel Parallel Studio got high marks during beta. >>> http://p.sf.net/sfu/intel-sw-dev >>> _______________________________________________ >>> Nagios-users mailing list >>> Nagios-users at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >>> ::: Messages without supporting info will risk being sent to /dev/null >>> >>> >>> >> >> > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From shantikatta at gmail.com Sat Apr 10 16:44:28 2010 From: shantikatta at gmail.com (Shanti Katta) Date: Sat, 10 Apr 2010 10:44:28 -0400 Subject: Designing distributed and failover architecture Message-ID: Need suggestions on designing a distributed and failover Nagios monitoring infrastructure for ~1500 Linux RHEL hosts spread across 2 datacenters and DMZ networks. Reading through different archives, it appears DNX is the most preferred method for distribution/cluster setup and having a secondary Nagios server as a fail over option managed via Linux HA/DRBD. What are some of the cons in following setup: - Primary and secondary(failover) Nagios servers managed by Linux HA/DRBD/cron etc. Have MySQL replication between them. - Primary Nagios server performing active checks via N DNX worker nodes in both datacenters. - Primary Nagios server monitoring DMZ hosts via NRPE (Custom regular expression for services). Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sun Apr 11 12:08:04 2010 From: subscription at kkeane.com (Kevin Keane) Date: Sun, 11 Apr 2010 03:08:04 -0700 Subject: RSyslog monitoring? Message-ID: <724C3B2F1C5EB44D9108E471EC5E9933B267CDF094@akechi-denki.ad.nctechcenter.com> I would like to find a way to monitor syslog entries using rsyslog 4.4 rules before they are ever written to a log file. The log parsing plugins I found on MonitoringExchange aren't useful for my purpose. I have three main requirements: - I need to have "negative logic": I want to provide a list of patterns NOT to forward to Nagios - all unknown log entries should be sent to nagios. - It needs to be realtime, or nearly so. Ideally, I'd like to use rsyslog rules to classify log messages and forward them to Nagios as passive-check results. - It needs to be reasonably high performance. This syslog receives quite a few log entries per second (most of which would be discarded of course). Has anybody else already done something like this? Kevin Keane Owner The NetTech Find the Uncommon: Expert Solutions for a Network You Never Have to Think About Direct: 760-721-8339 Office: 866-642-7116 kkeane at 4nettech.com 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. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jcasale at activenetwerx.com Sun Apr 11 18:53:53 2010 From: jcasale at activenetwerx.com (Joseph L. Casale) Date: Sun, 11 Apr 2010 16:53:53 +0000 Subject: Plugin fails with epn Message-ID: I've written a plugin that very closely resembles other contrib based Perl plugins and runs as expected at the cli. It fails with a "Service check did not exit properly" unless I force it to run w/o the epn. I have read the guidelines, but not really knowing much about Perl, I can't see where its tanking. Is there a way to run it at the cli with the epn in hopes to see more output to glean a clue as to what's going wrong? Or is there a better way to glean more useful info? Thanks, jlc ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From perldork at webwizarddesign.com Sun Apr 11 19:59:19 2010 From: perldork at webwizarddesign.com (Max) Date: Sun, 11 Apr 2010 13:59:19 -0400 Subject: Plugin fails with epn In-Reply-To: References: Message-ID: If you look at p1.pl, which is in the Nagios bin directory you can enable ePn logging (EPN_LEAVE_MESSAGES or something similar for debug level) and have epn log each command execution to a log file ... This often will make the source of an epn error more obvious. The other thing to do is add Use warnings; To your script or run it from the command line with perl -w As any output to STDERR will cause ePN to halt execution. That said, 'not execute properly' errors are often permissions or path errors, so when you test from the CLI make sure you run the script as the same user your Nagios damon runs as. Max On 4/11/10, Joseph L. Casale wrote: > I've written a plugin that very closely resembles other contrib based > Perl plugins and runs as expected at the cli. It fails with a "Service > check did not exit properly" unless I force it to run w/o the epn. > > I have read the guidelines, but not really knowing much about Perl, I > can't see where its tanking. > > Is there a way to run it at the cli with the epn in hopes to see more > output to glean a clue as to what's going wrong? Or is there a better > way to glean more useful info? > > Thanks, > jlc > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jcasale at activenetwerx.com Sun Apr 11 20:52:07 2010 From: jcasale at activenetwerx.com (Joseph L. Casale) Date: Sun, 11 Apr 2010 18:52:07 +0000 Subject: Plugin fails with epn In-Reply-To: References: Message-ID: >If you look at p1.pl, which is in the Nagios bin directory you can >enable ePn logging (EPN_LEAVE_MESSAGES or something similar for debug >level) and have epn log each command execution to a log file ... This >often will make the source of an epn error more obvious. Ok, looks like there are some factors surrounding when the o0utput even gets dumped? Plugin was touched, now I am waiting... >The other thing to do is add > >Use warnings; Got that in the plugin as per the guidelines. >As any output to STDERR will cause ePN to halt execution. Works fine:/ >That said, 'not execute properly' errors are often permissions or path >errors, so when you test from the CLI make sure you run the script as >the same user your Nagios damon runs as. Actually, it is 'exit' not execute, it has perms granting execution for all. We'll see what happens after I come back to it. Thanks for the help! jlc ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From perldork at webwizarddesign.com Sun Apr 11 20:58:32 2010 From: perldork at webwizarddesign.com (Max) Date: Sun, 11 Apr 2010 14:58:32 -0400 Subject: Plugin fails with epn In-Reply-To: References: Message-ID: Meant exit not execute :) ... Good luck. On 4/11/10, Joseph L. Casale wrote: >>If you look at p1.pl, which is in the Nagios bin directory you can >>enable ePn logging (EPN_LEAVE_MESSAGES or something similar for debug >>level) and have epn log each command execution to a log file ... This >>often will make the source of an epn error more obvious. > > Ok, looks like there are some factors surrounding when the o0utput even > gets dumped? Plugin was touched, now I am waiting... > >>The other thing to do is add >> >>Use warnings; > > Got that in the plugin as per the guidelines. > >>As any output to STDERR will cause ePN to halt execution. > > Works fine:/ > >>That said, 'not execute properly' errors are often permissions or path >>errors, so when you test from the CLI make sure you run the script as >>the same user your Nagios damon runs as. > > Actually, it is 'exit' not execute, it has perms granting execution for all. > > We'll see what happens after I come back to it. > Thanks for the help! > jlc > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jcasale at activenetwerx.com Sun Apr 11 22:48:47 2010 From: jcasale at activenetwerx.com (Joseph L. Casale) Date: Sun, 11 Apr 2010 20:48:47 +0000 Subject: Plugin fails with epn In-Reply-To: References: Message-ID: >Meant exit not execute :) ... Good luck. I guess the epn isn't reread on a 'reload', needed a 'restart', nuances :) Ok, so it complains: "Variable "$opt_hostname" will not stay shared at (eval 1) line 23,". The plugin dump shows: 23 my ($opt_hostname,$opt_port,$opt_password,$opt_command,$opt_regex,$opt_help,$opt_version,$opt_verbose); Missed #4 at http://nagios.sourceforge.net/docs/3_0/epnplugins.html Not being fluent in Perl, I can't say I fully comprehend what that's about, but it works now:) Thanks! jlc ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From perldork at webwizarddesign.com Sun Apr 11 23:04:37 2010 From: perldork at webwizarddesign.com (Max) Date: Sun, 11 Apr 2010 17:04:37 -0400 Subject: Plugin fails with epn In-Reply-To: References: Message-ID: The 'not stayed shared' is the one warning that ePN will not die on at run time so you can safely continue with that warning being emitted. - Max On Sun, Apr 11, 2010 at 4:48 PM, Joseph L. Casale wrote: >>Meant exit not execute :) ... Good luck. > > I guess the epn isn't reread on a 'reload', needed a 'restart', nuances :) > > Ok, so it complains: > "Variable "$opt_hostname" will not stay shared at (eval 1) line 23,". > > The plugin dump shows: > 23 ?my ($opt_hostname,$opt_port,$opt_password,$opt_command,$opt_regex,$opt_help,$opt_version,$opt_verbose); > > Missed #4 at http://nagios.sourceforge.net/docs/3_0/epnplugins.html > > Not being fluent in Perl, I can't say I fully comprehend what that's > about, but it works now:) > > Thanks! > jlc > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dermoth at aei.ca Mon Apr 12 06:54:37 2010 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Mon, 12 Apr 2010 00:54:37 -0400 Subject: RSyslog monitoring? In-Reply-To: <724C3B2F1C5EB44D9108E471EC5E9933B267CDF094@akechi-denki.ad.nctechcenter.com> References: <724C3B2F1C5EB44D9108E471EC5E9933B267CDF094@akechi-denki.ad.nctechcenter.com> Message-ID: <4BC2A78D.8090508@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 11/04/10 06:08 AM, Kevin Keane wrote: > I would like to find a way to monitor syslog entries using rsyslog 4.4 > rules before they are ever written to a log file. The log parsing > plugins I found on MonitoringExchange aren?t useful for my purpose. > > > > I have three main requirements: > > - I need to have ?negative logic?: I want to provide a list of > patterns NOT to forward to Nagios ? all unknown log entries should be > sent to nagios. > > - It needs to be realtime, or nearly so. Ideally, I?d like to > use rsyslog rules to classify log messages and forward them to Nagios as > passive-check results. > > - It needs to be reasonably high performance. This syslog > receives quite a few log entries per second (most of which would be > discarded of course). > > > > Has anybody else already done something like this? I wrote one, although it's really implemented toward Windows Event logs sent to syslog with EvtSys. http://solaris.beaubien.net/~dermoth/pages/nagios/windows-eventlog.php A more generic project would be EventDB, although I never tried it. http://www.nagioswiki.org/wiki/Addon:EventDb - -- Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFLwqeN6dZ+Kt5BchYRAuffAJ9QOZcHcagSciPUZfYobLbCIXUCoQCg+tlH Cwq4nirqagA8dA5PBeVWtDw= =X7bC -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jashokda at cisco.com Mon Apr 12 07:22:50 2010 From: jashokda at cisco.com (Jatin Davey) Date: Mon, 12 Apr 2010 10:52:50 +0530 Subject: Monitoring a process with its pid In-Reply-To: <4BC0213D.9070309@gmail.com> References: <4B94E976.2070202@cisco.com> Message-ID: <4BC2AE2A.9060001@cisco.com> Hi Narsimha Please find the detailed steps as below: 1. Install the snmpd daemon on the target machine that you want to monitor , use yum to install it. command is : yum install net-snmp 2. Open the file snmpd.conf from the directory /etc/snmp , you need to locate for the lines as below : view systemview included .1.3.6.1.2.1.1 view systemview included .1.3.6.1.2.1.25 The second line as above is normally like: "view systemview included .1.3.6.1.2.1.25.1.1" , you have to edit it to : .1.3.6.1.2.1.25 so that you can query the entire HOST-RESOURCES-MIB. 3. Re-start the snmpd daemon using the command : "service snmpd restart" and you are good to start monitoring it. Rest of the steps remain the same as mentioned in the mail thread below. Thanks Jatin On 4/10/2010 12:27 PM, Jatin wrote: > Hi Narsimha > > I followed these steps: > > 1. Installed the snmpd daemon on the target machine that you want to > monitor , use yum to install it. command is : yum install net-snmp > > 2. open the file snmpd.conf file from the directory /etc/snmp , you need > to edit this file. locate the line which says "view systemview x.x.x.x.x > " , make sure to add the oid for the first element in the > HOST-RESOURCES-MIB , usually if you dont edit this file then you will be > only able to get reply for only one mib parameter from the > HOST-RESOURCES-MIB. > > 3. Restart the snmpd daemon on the target machine using the command : > service snmpd restart > > 4. In the HOST-RESOURCES-MIB , there is one parameter which shows the > values for the processes running in the system , which is hrSWrun (not > sure about the name though) locate using a MIB browser for the > paremeters supported in this MIB. > > I will check out and reply with some more detail when i go to office on > monday , try if you can figure out with the above mentioned clues so far. > > Thanks > Jatin > > Narasimha Tadepalli wrote: > >> Hi Jatin >> >> Could you explain briefly how did you solve your problem. Look like you solved with snmp. Please explain how did you tied snmp to nagios etc stuff. I am also in need of solution for exact similar situation. >> >> Thanks >> Nars >> >> -----Original Message----- >> From: Jatin Davey [mailto:jashokda at cisco.com] >> Sent: Tuesday, March 09, 2010 1:57 AM >> To: Matt Simmons >> Cc: nagios-users at lists.sourceforge.net >> Subject: Re: [Nagios-users] Monitoring a process with its pid >> >> Thanks Matt, >> >> It solved my problem. >> >> Thanks >> Jatin >> >> On 3/8/2010 9:01 PM, Matt Simmons wrote: >> >> >>> If you have snmp enabled on the hosts, you can pull that information out: >>> >>> ~$ snmpwalk -v 2c -c COMMUNITY myhost.mydomain.com >>> HOST-RESOURCES-MIB::hrSWRunName.3309 >>> HOST-RESOURCES-MIB::hrSWRunName.3309 = STRING: "crond" >>> >>> >>> >>> On Mon, Mar 8, 2010 at 8:10 AM, Jatin Davey wrote: >>> >>> >>> >>>> Let me re-phrase it a little , >>>> >>>> Basically what i want is to give the process id as the input and make >>>> sure on that target machine i have the process with the given id running >>>> , once it stops there might not be the process running with that id and >>>> hence i need to raise an email notification alert. >>>> >>>> Thanks >>>> Jatin >>>> >>>> On 3/8/2010 5:41 PM, Jatin Davey wrote: >>>> >>>> >>>> >>>>> Hi All >>>>> >>>>> Do we have a plugin that can monitor process id (pid) on a target >>>>> machine , the target machine could be anything such as windows , linux , >>>>> solaris etc and alert with an email notification when the process id >>>>> changes. >>>>> >>>>> Appreciate your responses. >>>>> >>>>> Thanks >>>>> Jatin >>>>> >>>>> ------------------------------------------------------------------------------ >>>>> Download Intel® Parallel Studio Eval >>>>> Try the new software tools for yourself. Speed compiling, find bugs >>>>> proactively, and fine-tune applications for parallel performance. >>>>> See why Intel Parallel Studio got high marks during beta. >>>>> http://p.sf.net/sfu/intel-sw-dev >>>>> _______________________________________________ >>>>> Nagios-users mailing list >>>>> Nagios-users at lists.sourceforge.net >>>>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>>>> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >>>>> ::: Messages without supporting info will risk being sent to /dev/null >>>>> >>>>> >>>>> >>>>> >>>>> >>>> ------------------------------------------------------------------------------ >>>> Download Intel® Parallel Studio Eval >>>> Try the new software tools for yourself. Speed compiling, find bugs >>>> proactively, and fine-tune applications for parallel performance. >>>> See why Intel Parallel Studio got high marks during beta. >>>> http://p.sf.net/sfu/intel-sw-dev >>>> _______________________________________________ >>>> Nagios-users mailing list >>>> Nagios-users at lists.sourceforge.net >>>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>>> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >>>> ::: Messages without supporting info will risk being sent to /dev/null >>>> >>>> >>>> >>>> >>> >>> >>> >> ------------------------------------------------------------------------------ >> Download Intel® Parallel Studio Eval >> Try the new software tools for yourself. Speed compiling, find bugs >> proactively, and fine-tune applications for parallel performance. >> See why Intel Parallel Studio got high marks during beta. >> http://p.sf.net/sfu/intel-sw-dev >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> >> >> >> ------------------------------------------------------------------------------ >> Download Intel® Parallel Studio Eval >> Try the new software tools for yourself. Speed compiling, find bugs >> proactively, and fine-tune applications for parallel performance. >> See why Intel Parallel Studio got high marks during beta. >> http://p.sf.net/sfu/intel-sw-dev >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> >> >> > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 aidananderson.co.uk Mon Apr 12 12:18:12 2010 From: mail at aidananderson.co.uk (Aidan Anderson) Date: Mon, 12 Apr 2010 11:18:12 +0100 Subject: Persistent Comment in Acknowledgement Message-ID: <4BC2F364.5000601@aidananderson.co.uk> Hi, When acknowledging a host or service problem, I've noticed that the "Persistent Comment" check box is not ticked by default in v3 whereas it was in v2. Is there anyway of changing this behaviour so that it is ticked by default? I can't find any options in cgi.cfg or nagios.cfg to change this behaviour. If there is no official way to change it, does anyone know of a hack to do this? regards, Aidan ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 flatto.net Mon Apr 12 12:27:58 2010 From: nagios at flatto.net (Assaf Flatto) Date: Mon, 12 Apr 2010 11:27:58 +0100 Subject: Persistent Comment in Acknowledgement In-Reply-To: <4BC2F364.5000601@aidananderson.co.uk> References: <4BC2F364.5000601@aidananderson.co.uk> Message-ID: <4BC2F5AE.9010104@flatto.net> Aidan Anderson wrote: > Hi, > > When acknowledging a host or service problem, I've noticed that the > "Persistent Comment" check box is not ticked by default in v3 whereas it > was in v2. Is there anyway of changing this behaviour so that it is > ticked by default? I can't find any options in cgi.cfg or nagios.cfg to > change this behaviour. If there is no official way to change it, does > anyone know of a hack to do this? > > regards, > Aidan > > > you will need to make changes to the cmd.c file and recompile the cgi AFAIK. Good luck . -- Never,Ever Cut A Deal With a Dragon I am doing a Charity Bike ride On the 27 of June for the Capital to Coast Charity. Please help by Donating http://www.justgiving.com/Lovefilm-capital-to-coast ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From shantikatta at gmail.com Mon Apr 12 13:27:13 2010 From: shantikatta at gmail.com (Shanti) Date: Mon, 12 Apr 2010 07:27:13 -0400 Subject: Designing distributed architecture Message-ID: <0D8FF6F6-9F2C-4001-9970-E8F883F02A23@gmail.com> Need suggestions on designing a distributed and failover Nagios monitoring infrastructure for ~1500 Linux RHEL hosts spread across 2 datacenters and DMZ networks. Reading through different archives, it appears DNX is the most preferred method for distribution/cluster setup and having a secondary Nagios server as a fail over option managed via Linux HA/DRBD. What are some of the cons in following setup: - Primary and secondary(failover) Nagios servers managed by Linux HA/ DRBD/cron etc. Have MySQL replication between them. - Primary Nagios server performing active checks via N DNX worker nodes in both datacenters. - Primary Nagios server monitoring DMZ hosts via NRPE (Custom regular expression for services). Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From manuchanteloup at gmail.com Mon Apr 12 14:43:36 2010 From: manuchanteloup at gmail.com (Emmanuel Chanteloup) Date: Mon, 12 Apr 2010 14:43:36 +0200 Subject: Check_jmx plugin problem Message-ID: Hi, I am trying to use check_jmx but I can get through with my NRPE. - If I run directly the check_jmx in a line, it works : [nagios at myserver libexec]# /usr/local/nagios/libexec/check_jmx -U service:jmx:rmi:///jndi/rmi://localhost:8999/jmxrmi -O java.lang:type=Memory -A HeapMemoryUsage -K used -I HeapMemoryUsage -J used -vvvv -w 800000000 -c 1500000000 JMX OK HeapMemoryUsage.used=407931824{committed=1013972992;init=1073741824;max=1013972992;used=407931824} - If I try with the NRPE, I always get the following message : [nagios at myserver libexec]# /usr/local/nagios/libexec/check_nrpe -H 127.0.0.1 -c check_jmx NRPE: Unable to read output It makes the same thing with the root user, so I do not think this is a right problem, more a return message problem. Any idea how I can solve this ? Regards, Manu -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 aidananderson.co.uk Mon Apr 12 14:56:05 2010 From: mail at aidananderson.co.uk (Aidan Anderson) Date: Mon, 12 Apr 2010 13:56:05 +0100 Subject: Persistent Comment in Acknowledgement In-Reply-To: <4BC2F5AE.9010104@flatto.net> References: <4BC2F364.5000601@aidananderson.co.uk> <4BC2F5AE.9010104@flatto.net> Message-ID: <4BC31865.6010803@aidananderson.co.uk> Assaf Flatto wrote: > Aidan Anderson wrote: > >> Hi, >> >> When acknowledging a host or service problem, I've noticed that the >> "Persistent Comment" check box is not ticked by default in v3 whereas it >> was in v2. Is there anyway of changing this behaviour so that it is >> ticked by default? I can't find any options in cgi.cfg or nagios.cfg to >> change this behaviour. If there is no official way to change it, does >> anyone know of a hack to do this? >> >> regards, >> Aidan >> >> >> >> > > you will need to make changes to the cmd.c file and recompile the cgi AFAIK. > > > Good luck . > > > > Hi Assaf, Thanks for the reply. I must admit, I've never messed about with C source code before but I'll give it a try :) I assume that if I make any changes, I would need to repeat the changes following any upgrades? regards, Aidan ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 flatto.net Mon Apr 12 15:02:32 2010 From: nagios at flatto.net (Assaf Flatto) Date: Mon, 12 Apr 2010 14:02:32 +0100 Subject: Persistent Comment in Acknowledgement In-Reply-To: <4BC31865.6010803@aidananderson.co.uk> References: <4BC2F364.5000601@aidananderson.co.uk> <4BC2F5AE.9010104@flatto.net> <4BC31865.6010803@aidananderson.co.uk> Message-ID: <4BC319E8.3000001@flatto.net> Aidan Anderson wrote: > Assaf Flatto wrote: > >> Aidan Anderson wrote: >> >> >>> Hi, >>> >>> When acknowledging a host or service problem, I've noticed that the >>> "Persistent Comment" check box is not ticked by default in v3 whereas it >>> was in v2. Is there anyway of changing this behaviour so that it is >>> ticked by default? I can't find any options in cgi.cfg or nagios.cfg to >>> change this behaviour. If there is no official way to change it, does >>> anyone know of a hack to do this? >>> >>> regards, >>> Aidan >>> >>> >>> >>> >>> >> you will need to make changes to the cmd.c file and recompile the cgi AFAIK. >> >> >> Good luck . >> >> >> >> >> > Hi Assaf, > > Thanks for the reply. I must admit, I've never messed about with C > source code before but I'll give it a try :) > > I assume that if I make any changes, I would need to repeat the changes > following any upgrades? > Aidan If you've never delved in the C code , then i'd advise not to do any changes with out the help of a C programer and have a backup before any attempts begin . As for the upgrade issue - Of course ! Since this is a local change , unless you plan to to the upgrade for the core with out the CGI's , any "local" change will be overwritten when you upgrade . but once you do it and get it right , doing it again on the new version will be much easier . Good luck Assaf -- Never,Ever Cut A Deal With a Dragon I am doing a Charity Bike ride On the 27 of June for the Capital to Coast Charity. Please help by Donating http://www.justgiving.com/Lovefilm-capital-to-coast ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Apr 12 15:49:55 2010 From: natxo.asenjo at gmail.com (Natxo Asenjo) Date: Mon, 12 Apr 2010 15:49:55 +0200 Subject: Check_jmx plugin problem In-Reply-To: References: Message-ID: On Mon, Apr 12, 2010 at 2:43 PM, Emmanuel Chanteloup wrote: > Hi, > > I am trying to use check_jmx but I can get through with my NRPE. > > - If I run directly the check_jmx in a line, it works : > > [nagios at myserver libexec]# /usr/local/nagios/libexec/check_jmx -U > service:jmx:rmi:///jndi/rmi://localhost:8999/jmxrmi -O java.lang:type=Memory > -A HeapMemoryUsage -K used -I HeapMemoryUsage -J used -vvvv -w 800000000 -c > 1500000000 > > JMX OK > HeapMemoryUsage.used=407931824{committed=1013972992;init=1073741824;max=1013972992;used=407931824} > > - If I try with the NRPE, I always get the following message : > > [nagios at myserver libexec]# /usr/local/nagios/libexec/check_nrpe -H 127.0.0.1 > -c check_jmx > NRPE: Unable to read output can you just check if nrpe is running and available? If I try this from the nagios server: ./check_nrpe -H localhost NRPE v2.12 so no -c switch, just the host. That means that the nrpe daemon is listening and we may poll it. you also need to define the command check_jmx somwhere in your client nrpe.cfg configuration file. I do not know how you installed nrpe in the machine you want to check, so I cannot guess where the file is. In a debian server it is in /etc/nagios/nrpe.cfg provided you installed the nagios-nrpe-server package from the debian repositories. If you installed from source I have no idea where it is, but it should be obvious from the documentation. -- groeten, natxo ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From manuchanteloup at gmail.com Mon Apr 12 16:00:21 2010 From: manuchanteloup at gmail.com (Emmanuel Chanteloup) Date: Mon, 12 Apr 2010 16:00:21 +0200 Subject: Check_jmx plugin problem In-Reply-To: References: Message-ID: Hi, Yes of course it is : [root at myserver libexec]# ./check_nrpe -H localhost NRPE v2.12 I have a lot of other plugins running ok on this server (check_users, check_procs ...). Thanks for your help. Manu 2010/4/12 Natxo Asenjo > On Mon, Apr 12, 2010 at 2:43 PM, Emmanuel Chanteloup > wrote: > > Hi, > > > > I am trying to use check_jmx but I can get through with my NRPE. > > > > - If I run directly the check_jmx in a line, it works : > > > > [nagios at myserver libexec]# /usr/local/nagios/libexec/check_jmx -U > > service:jmx:rmi:///jndi/rmi://localhost:8999/jmxrmi -O > java.lang:type=Memory > > -A HeapMemoryUsage -K used -I HeapMemoryUsage -J used -vvvv -w 800000000 > -c > > 1500000000 > > > > JMX OK > > > HeapMemoryUsage.used=407931824{committed=1013972992;init=1073741824;max=1013972992;used=407931824} > > > > - If I try with the NRPE, I always get the following message : > > > > [nagios at myserver libexec]# /usr/local/nagios/libexec/check_nrpe -H > 127.0.0.1 > > -c check_jmx > > NRPE: Unable to read output > > can you just check if nrpe is running and available? If I try this > from the nagios server: > ./check_nrpe -H localhost > NRPE v2.12 > > so no -c switch, just the host. That means that the nrpe daemon is > listening and we may poll it. > > you also need to define the command check_jmx somwhere in your client > nrpe.cfg configuration file. I do not know how you installed nrpe in > the machine you want to check, so I cannot guess where the file is. In > a debian server it is in /etc/nagios/nrpe.cfg provided you installed > the nagios-nrpe-server package from the debian repositories. If you > installed from source I have no idea where it is, but it should be > obvious from the documentation. > > -- > groeten, > natxo > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 aidananderson.co.uk Mon Apr 12 16:17:59 2010 From: mail at aidananderson.co.uk (Aidan Anderson) Date: Mon, 12 Apr 2010 15:17:59 +0100 Subject: Persistent Comment in Acknowledgement In-Reply-To: <4BC319E8.3000001@flatto.net> References: <4BC2F364.5000601@aidananderson.co.uk> <4BC2F5AE.9010104@flatto.net> <4BC31865.6010803@aidananderson.co.uk> <4BC319E8.3000001@flatto.net> Message-ID: <4BC32B97.7040406@aidananderson.co.uk> Assaf Flatto wrote: > Aidan Anderson wrote: > >> Assaf Flatto wrote: >> >> >>> Aidan Anderson wrote: >>> >>> >>> >>>> Hi, >>>> >>>> When acknowledging a host or service problem, I've noticed that the >>>> "Persistent Comment" check box is not ticked by default in v3 whereas it >>>> was in v2. Is there anyway of changing this behaviour so that it is >>>> ticked by default? I can't find any options in cgi.cfg or nagios.cfg to >>>> change this behaviour. If there is no official way to change it, does >>>> anyone know of a hack to do this? >>>> >>>> regards, >>>> Aidan >>>> >>>> >>>> >>>> >>>> >>>> >>> you will need to make changes to the cmd.c file and recompile the cgi AFAIK. >>> >>> >>> Good luck . >>> >>> >>> >>> >>> >>> >> Hi Assaf, >> >> Thanks for the reply. I must admit, I've never messed about with C >> source code before but I'll give it a try :) >> >> I assume that if I make any changes, I would need to repeat the changes >> following any upgrades? >> >> > > Aidan > > If you've never delved in the C code , then i'd advise not to do any > changes with out the help of a C programer and have a backup before any > attempts begin . > > As for the upgrade issue - Of course ! > Since this is a local change , unless you plan to to the upgrade for > the core with out the CGI's , any "local" change will be overwritten > when you upgrade . > > but once you do it and get it right , doing it again on the new version > will be much easier . > > Good luck > > Assaf > > > Hi Assaf, I had to have a go and (surprising myself) have managed to do it. I will remember to do this again each time I upgrade. Below is the output of a 'diff' following my changes to cmd.c in case anyone else is interested in making this modification. 2 changes are required to cover host and service acknowledgements. 958c958 < printf("",(cmd==CMD_ACKNOWLEDGE_HOST_PROBLEM)?"":"CHECKED"); --- > printf(""); 984c984 < printf(" printf(""); Thanks again for your help Assaf. regards, Aidan ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Apr 12 17:20:26 2010 From: natxo.asenjo at gmail.com (Natxo Asenjo) Date: Mon, 12 Apr 2010 17:20:26 +0200 Subject: Check_jmx plugin problem In-Reply-To: References: Message-ID: On Mon, Apr 12, 2010 at 4:00 PM, Emmanuel Chanteloup wrote: > Hi, > > Yes of course it is : > > [root at myserver libexec]# ./check_nrpe -H localhost > NRPE v2.12 > > I have a lot of other plugins running ok on this server (check_users, > check_procs ...). ok. Have you tried enabling the debug information on the client (iirc debug=1 instead of 0), reload the nrpe daemon and see if you get more info. -- natxo ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From manuchanteloup at gmail.com Mon Apr 12 17:42:17 2010 From: manuchanteloup at gmail.com (Emmanuel Chanteloup) Date: Mon, 12 Apr 2010 17:42:17 +0200 Subject: Check_jmx plugin problem In-Reply-To: References: Message-ID: I tried it too. I just get one more line telling the SSL access, that's it : example : Apr 12 17:34:26 myserver xinetd[14625]: START: nrpe pid=16717 from=10.1.2.1 Apr 12 17:34:26 myserver nrpe[16717]: INFO: SSL/TLS initialized. All network traffic will be encrypted. Apr 12 17:34:26 myserver xinetd[14625]: EXIT: nrpe status=0 pid=16717 duration=0(sec) 2010/4/12 Natxo Asenjo > On Mon, Apr 12, 2010 at 4:00 PM, Emmanuel Chanteloup > wrote: > > Hi, > > > > Yes of course it is : > > > > [root at myserver libexec]# ./check_nrpe -H localhost > > NRPE v2.12 > > > > I have a lot of other plugins running ok on this server (check_users, > > check_procs ...). > > ok. Have you tried enabling the debug information on the client (iirc > debug=1 instead of 0), reload the nrpe daemon and see if you get more > info. > > -- > natxo > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mlrtime3 at gmail.com Mon Apr 12 18:02:53 2010 From: mlrtime3 at gmail.com (mlrtime3) Date: Mon, 12 Apr 2010 12:02:53 -0400 Subject: Dynmically Adding Hosts and Retain State Information Message-ID: <1271088173.2921.1369530907@webmail.messagingengine.com> Hi, I would like the ability to dynamically add hosts. I have Developers who have written APIs to send passive service checks to Nagios, however due to the size of our infrastructure I cannot add every host. The only way I know how to do this is parse nagios.log for " Passive check result was received for service '$service' on host '$host', but the host could not be found!" messages. The problem that I have is that I would also like to keep the ability for some services to NOT retain state information during specific restarts. The only way I can see to add dynamic hosts is to make sure retain state is enabled globally, add the cfg, then do a reload of nagios. If I have some "retain_status_information 0" settings then I will loose state throughout the day. Is there anyway to force a reload AND keep state, regardless of settings? Anyone have a workaround for this problem? Thanks! ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bryon.jones at gmail.com Mon Apr 12 18:34:11 2010 From: bryon.jones at gmail.com (bryon.jones at gmail.com) Date: Mon, 12 Apr 2010 11:34:11 -0500 Subject: Nagios & Ethernet power controllers Message-ID: <4bc34b85.5744f10a.75a9.3535@mx.google.com> anyone have experience with Digital Loggers Inc Ethernet Power controllers? (Looking to trigger a Cycle on a particular outlet upon outage. ) -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bryon.jones at gmail.com Mon Apr 12 21:26:17 2010 From: bryon.jones at gmail.com (BJones) Date: Mon, 12 Apr 2010 14:26:17 -0500 Subject: Nagios & Ethernet power controllers Message-ID: <4bc373db.5544f10a.0d17.40a6@mx.google.com> anyone have experience with Digital Loggers Inc Ethernet Power controllers? (Looking to trigger a Cycle on a particular outlet upon outage. ) -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Apr 12 21:56:25 2010 From: kdavison at innosphere.ca (Kevin Davison) Date: Mon, 12 Apr 2010 15:56:25 -0400 Subject: Monitoring absense of bandwidth Message-ID: I have a few proxy servers that seem to get upset when too much traffic gets sent through them. I've resolved my problem but I'd really like to have a faster response time if something like this happens again. I would really love to find a way to know if the bandwidth usage on my server reaches 0Kbps. The machines I'm monitoring are used heavily enough that this shouldn't ever happen. I took a look at check_snmp_int.pl but it appears to be set up specifically to monitor high bandwidth usage rather than low. I'm not much of a scripter beyond Bash. Does anyone know of a pre-existing plugin that will provide this functionality? Kevin Davison Network Administrator Innosphere SDG Ltd. 147 Wyndham St. N., Ste 306 Guelph, ON, N1H 4E9 (519) 766-9726 X223 Email: kdavison at innosphere.ca Website: www.innosphere.ca -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Apr 12 22:13:48 2010 From: patrick.morris at hp.com (patrick.morris at hp.com) Date: Mon, 12 Apr 2010 13:13:48 -0700 Subject: Monitoring absense of bandwidth In-Reply-To: References: Message-ID: <20100412201348.GE17129@bakgwai.americas.hpqcorp.net> On Mon, 12 Apr 2010, Kevin Davison wrote: > I have a few proxy servers that seem to get upset when too much traffic gets sent through them. I?ve resolved my problem but I?d really like to have a faster response time if something like this happens again. I would really love to find a way to know if the bandwidth usage on my server reaches 0Kbps. The machines I?m monitoring are used heavily enough that this shouldn?t ever happen. I took a look at check_snmp_int.pl but it appears to be set up specifically to monitor high bandwidth usage rather than low. > > I?m not much of a scripter beyond Bash. Does anyone know of a pre-existing plugin that will provide this functionality? How about using the negate plugin with check_snmp_int.pl to invert the results? ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Apr 12 22:17:45 2010 From: kdavison at innosphere.ca (Kevin Davison) Date: Mon, 12 Apr 2010 16:17:45 -0400 Subject: Monitoring absense of bandwidth In-Reply-To: <20100412201348.GE17129@bakgwai.americas.hpqcorp.net> References: <20100412201348.GE17129@bakgwai.americas.hpqcorp.net> Message-ID: That looks like it will solve the problem just fine! Thanks muchly! -----Original Message----- From: patrick.morris at hp.com [mailto:patrick.morris at hp.com] Sent: Monday, April 12, 2010 4:14 PM To: Nagios Users List Subject: Re: [Nagios-users] Monitoring absense of bandwidth On Mon, 12 Apr 2010, Kevin Davison wrote: > I have a few proxy servers that seem to get upset when too much traffic gets sent through them. I?ve resolved my problem but I?d really like to have a faster response time if something like this happens again. I would really love to find a way to know if the bandwidth usage on my server reaches 0Kbps. The machines I?m monitoring are used heavily enough that this shouldn?t ever happen. I took a look at check_snmp_int.pl but it appears to be set up specifically to monitor high bandwidth usage rather than low. > > I?m not much of a scripter beyond Bash. Does anyone know of a pre-existing plugin that will provide this functionality? How about using the negate plugin with check_snmp_int.pl to invert the results? ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 13 00:43:57 2010 From: zarrelli at linux.it (Giorgio Zarrelli) Date: Tue, 13 Apr 2010 00:43:57 +0200 Subject: Monitoring absense of bandwidth In-Reply-To: References: Message-ID: <87D56EF8-9E33-42DB-A3FE-BE23644D0D4E@linux.it> Read the manual and you will find how to setup threesholds. Ciao, Giorgio Il giorno 12/apr/2010, alle ore 21.56, Kevin Davison ha scritto: > I have a few proxy servers that seem to get upset when too much > traffic gets sent through them. I?ve resolved my problem but I?d > really like to have a faster response time if something like this ha > ppens again. I would really love to find a way to know if the bandwi > dth usage on my server reaches 0Kbps. The machines I?m monitoring ar > e used heavily enough that this shouldn?t ever happen. I took a look > at check_snmp_int.pl but it appears to be set up specifically to mo > nitor high bandwidth usage rather than low. > > > > I?m not much of a scripter beyond Bash. Does anyone know of a pre-ex > isting plugin that will provide this functionality? > > > > > > > > Kevin Davison > > Network Administrator > > Innosphere SDG Ltd. > > 147 Wyndham St. N., Ste 306 > > Guelph, ON, N1H 4E9 > > (519) 766-9726 X223 > > Email: kdavison at innosphere.ca > > Website: www.innosphere.ca > > > > --- > --- > --- > --------------------------------------------------------------------- > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 13 00:48:33 2010 From: zarrelli at linux.it (Giorgio Zarrelli) Date: Tue, 13 Apr 2010 00:48:33 +0200 Subject: Monitoring absense of bandwidth In-Reply-To: References: <20100412201348.GE17129@bakgwai.americas.hpqcorp.net> Message-ID: <9C808683-2943-415D-BB8C-3D21F19450D0@linux.it> Easy and brilliant :-) Anyway: Table 3. Example ranges Range definition Generate an alert if x... 10 < 0 or > 10, (outside the range of {0 .. 10}) 10: < 10, (outside {10 .. ?}) ~:10 > 10, (outside the range of {-? .. 10}) 10:20 < 10 or > 20, (outside the range of {10 .. 20}) @10:20 ? 10 and ? 20, (inside the range of {10 .. 20}) 10 < 0 or > 10, (outside the range of {0 .. 10}) Table 4. Command line examples Command line Meaning check_stuff -w10 -c20 Critical if "stuff" is over 20, else warn if over 10 (will be critical if "stuff" is less than 0) check_stuff -w~:10 -c~:20 Same as above. Negative "stuff" is OK check_stuff -w10: -c20 Critical if "stuff" is over 20, else warn if "stuff" is below 10 (will be critical if "stuff" is less than 0) check_stuff -c1: Critical if "stuff" is less than 1 check_stuff -w~:0 -c10 Critical if "stuff" is above 10; Warn if "stuff" is above zero check_stuff -c5:6 The only noncritical range is 5:6 check_stuff -c10:20 Critical if "stuff" is 10 to 20 Ciao, Giorgio Il giorno 12/apr/2010, alle ore 22.17, Kevin Davison ha scritto: > That looks like it will solve the problem just fine! Thanks muchly! > > -----Original Message----- > From: patrick.morris at hp.com [mailto:patrick.morris at hp.com] > Sent: Monday, April 12, 2010 4:14 PM > To: Nagios Users List > Subject: Re: [Nagios-users] Monitoring absense of bandwidth > > On Mon, 12 Apr 2010, Kevin Davison wrote: > >> I have a few proxy servers that seem to get upset when too much >> traffic gets sent through them. I?ve resolved my problem but I?d >> really like to have a faster response time if something like this >> happens again. I would really love to find a way to know if the >> bandwidth usage on my server reaches 0Kbps. The machines I?m >> monitoring are used heavily enough that this shouldn?t ever happen. >> I took a look at check_snmp_int.pl but it appears to be set up >> specifically to monitor high bandwidth usage rather than low. >> >> I?m not much of a scripter beyond Bash. Does anyone know of a pre- >> existing plugin that will provide this functionality? > > How about using the negate plugin with check_snmp_int.pl to invert the > results? > > --- > --- > --- > --------------------------------------------------------------------- > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > --- > --- > --- > --------------------------------------------------------------------- > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From wwanghongrui at cebbank.com Tue Apr 13 02:12:08 2010 From: wwanghongrui at cebbank.com (=?utf-8?B?d3dhbmdob25ncnVp?=) Date: Tue, 13 Apr 2010 08:12:08 +0800 Subject: =?utf-8?q?Fw=3A_nagios_web_only_show_400_node=3F?= References: <201004121833076401796@cebbank.com> Message-ID: <201004130812018593187@cebbank.com> ???? wwanghongrui ????? 2010-04-12 18:33:07 ???? nagios-users ??? ??? nagios web only show 400 node? Hi, guys~ We install Nagios? Core? 3.2.0 on SUSE 10 SP2 X86_64. We have added more than 440 nodes in nagios server, but only 400 nodes showed in nagios web. The nodes added after 400, are not showed. Could you give me some suggestion for resolve this problem? Regards HongRui Wang wwanghongrui at cebbank.com 2010-04-13 wwanghongrui 2010-04-12 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lists at xodus.org Tue Apr 13 03:43:46 2010 From: lists at xodus.org (Marc Powell) Date: Mon, 12 Apr 2010 20:43:46 -0500 Subject: Fw: nagios web only show 400 node? In-Reply-To: <201004130812018593187@cebbank.com> References: <201004121833076401796@cebbank.com> <201004130812018593187@cebbank.com> Message-ID: <5B6B029C-6847-4AC7-B444-23F65FB5E860@xodus.org> On Apr 12, 2010, at 7:12 PM, wwanghongrui wrote: > ???? wwanghongrui > ????? 2010-04-12 18:33:07 > ???? nagios-users > ??? > ??? nagios web only show 400 node? > > Hi, guys~ > > We install Nagios? Core? 3.2.0 on SUSE 10 SP2 X86_64. We have added more than 440 nodes in nagios server, but only 400 nodes showed in nagios web. The nodes added after 400, are not showed. Could you give me some suggestion for resolve this problem? > There are a few possibilities that come to mind -- - You haven't reloaded or restarted nagios since adding them - The file you're adding them to isn't parsed by nagios (i.e. a cfg_file or in a cfg_dir in nagios.cfg). (run /path/to/nagios -v /path/to/nagios.cfg and see if the numbers presented are reasonable). - If you have authentication enabled, the user you log in as is not a contact for the hosts in question. - You have multiple nagios daemons running at the same time and there is contention over the status file. -- Marc ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From wwanghongrui at cebbank.com Tue Apr 13 04:38:25 2010 From: wwanghongrui at cebbank.com (=?utf-8?B?d3dhbmdob25ncnVp?=) Date: Tue, 13 Apr 2010 10:38:25 +0800 Subject: =?utf-8?q?Fw=3A_nagios_web_only_show_400_node=3F?= References: <201004121833076401796@cebbank.com>, <201004130812018593187@cebbank.com> Message-ID: <201004131038250009215@cebbank.com> >- You haven't reloaded or restarted nagios since adding them I exectue "/etc/init.d/nagios reload" every time after edit something. > The file you're adding them to isn't parsed by nagios (i.e. a cfg_file or in a cfg_dir in nagios.cfg). (run /path/to/nagios ->v /path/to/nagios.cfg and see if the numbers presented are reasonable). BL680-127:~ # /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg Nagios Core 3.2.0 Copyright (c) 2009 Nagios Core Development Team and Community Contributors Copyright (c) 1999-2009 Ethan Galstad Last Modified: 08-12-2009 License: GPL Website: http://www.nagios.org Reading configuration data... Read main config file okay... Processing object config file '/usr/local/nagios/etc/hosts.cfg'... Processing object config file '/usr/local/nagios/etc/services.cfg'... Processing object config file '/usr/local/nagios/etc/misccommands.cfg'... Processing object config file '/usr/local/nagios/etc/checkcommands.cfg'... Processing object config file '/usr/local/nagios/etc/contactgroups.cfg'... Processing object config file '/usr/local/nagios/etc/contacts.cfg'... Processing object config file '/usr/local/nagios/etc/hostgroups.cfg'... Processing object config file '/usr/local/nagios/etc/servicegroups.cfg'... Processing object config file '/usr/local/nagios/etc/timeperiods.cfg'... Processing object config file '/usr/local/nagios/etc/escalations.cfg'... Processing object config file '/usr/local/nagios/etc/dependencies.cfg'... Processing object config file '/usr/local/nagios/etc/hostextinfo.cfg'... Processing object config file '/usr/local/nagios/etc/serviceextinfo.cfg'... Processing object config file '/usr/local/nagios/etc/meta_commands.cfg'... Processing object config file '/usr/local/nagios/etc/meta_contactgroup.cfg'... Processing object config file '/usr/local/nagios/etc/meta_contact.cfg'... Processing object config file '/usr/local/nagios/etc/meta_dependencies.cfg'... Processing object config file '/usr/local/nagios/etc/meta_escalations.cfg'... Processing object config file '/usr/local/nagios/etc/meta_hostgroup.cfg'... Processing object config file '/usr/local/nagios/etc/meta_host.cfg'... Processing object config file '/usr/local/nagios/etc/meta_services.cfg'... Processing object config file '/usr/local/nagios/etc/meta_timeperiod.cfg'... Read object config files okay... Running pre-flight check on configuration data... Checking services... Checked 2794 services. Checking hosts... Warning: Host 'Centreon-Server' has no services associated with it! Warning: Host 'localhost' has no services associated with it! Checked 430 hosts. Checking host groups... Checked 5 host groups. Checking service groups... Checked 4 service groups. Checking contacts... Checked 10 contacts. Checking contact groups... Checked 4 contact groups. Checking service escalations... Checked 0 service escalations. Checking service dependencies... Checked 0 service dependencies. Checking host escalations... Checked 0 host escalations. Checking host dependencies... Checked 0 host dependencies. Checking commands... Checked 103 commands. Checking time periods... Checked 7 time periods. Checking for circular paths between hosts... Checking for circular host and service dependencies... Checking global event handlers... Checking obsessive compulsive processor commands... Checking misc settings... Total Warnings: 2 Total Errors: 0 >- If you have authentication enabled, the user you log in as is not a contact for the hosts in question. I log in as nagios admin. I think that user have privilage to see any hosts. >-You have multiple nagios daemons running at the same time and there is contention over the status file. BL680-127:~ # service nagios status nagios (pid 18513) is running... BL680-127:~ # ps -ef |grep nagios.cfg nagios 13648 1 0 10:28 ? 00:00:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg nagios 13658 1 0 10:28 ? 00:00:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg nagios 13662 1 0 10:28 ? 00:00:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg nagios 13666 1 0 10:28 ? 00:00:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg nagios 13689 18513 0 10:28 ? 00:00:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg root 13707 3121 0 10:28 pts/0 00:00:00 grep nagios.cfg nagios 18513 1 2 Apr12 ? 00:24:40 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg BL680-127:~ # ps -ef |grep nagios.cfg nagios 14090 1 0 10:28 ? 00:00:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg nagios 14381 1 0 10:28 ? 00:00:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg nagios 14415 1 0 10:28 ? 00:00:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg nagios 14419 1 0 10:28 ? 00:00:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg nagios 14423 1 0 10:28 ? 00:00:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg root 14505 3121 0 10:28 pts/0 00:00:00 grep nagios.cfg nagios 18513 1 2 Apr12 ? 00:24:41 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg Run "service nagios status", only one daemon is running. But execute "ps -ef |grep nagios.cfg", the process number and pid are always different. Is this issue ? Regards HongRui Wang wwanghongrui at cebbank.com wwanghongrui 2010-04-13 ???? Marc Powell ????? 2010-04-13 09:45:52 ???? Nagios Users List ??? ??? Re: [Nagios-users] Fw: nagios web only show 400 node? On Apr 12, 2010, at 7:12 PM, wwanghongrui wrote: > ???? wwanghongrui > ????? 2010-04-12 18:33:07 > ???? nagios-users > ??? > ??? nagios web only show 400 node? > > Hi, guys~ > > We install Nagios? Core? 3.2.0 on SUSE 10 SP2 X86_64. We have added more than 440 nodes in nagios server, but only 400 nodes showed in nagios web. The nodes added after 400, are not showed. Could you give me some suggestion for resolve this problem? > There are a few possibilities that come to mind -- - You haven't reloaded or restarted nagios since adding them - The file you're adding them to isn't parsed by nagios (i.e. a cfg_file or in a cfg_dir in nagios.cfg). (run /path/to/nagios -v /path/to/nagios.cfg and see if the numbers presented are reasonable). - If you have authentication enabled, the user you log in as is not a contact for the hosts in question. - You have multiple nagios daemons running at the same time and there is contention over the status file. -- Marc ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From manuchanteloup at gmail.com Tue Apr 13 08:39:13 2010 From: manuchanteloup at gmail.com (Emmanuel Chanteloup) Date: Tue, 13 Apr 2010 08:39:13 +0200 Subject: Check_jmx plugin problem In-Reply-To: References: Message-ID: The thing I do not understand is why I can run it directly with my nagios account : [nagios at myserver ~]$ /usr/local/nagios/libexec/check_jmx -U service:jmx:rmi:///jndi/rmi://localhost:8999/jmxrmi -O java.lang:type=Memory -A HeapMemoryUsage -K used -I HeapMemoryUsage -J used -vvvv -w 800000000 -c 1500000000 JMX OK HeapMemoryUsage.used=593227424{committed=1036189696;init=1073741824;max=1036189696;used=593227424} and it doesn't work with NRPE, knowing that NRPE is using the nagios account ! [nagios at myserver ~]$ /usr/local/nagios/libexec/check_nrpe -H localhost -c check_jmx NRPE: Unable to read output Weird. I guess it is concerned by the environment variables or something like that. I tried to add the JAVA_HOME parameter in the check_jmx script, but it changed nothing. If anyone has an idea, he is welcome. Thank you, Regards, Emmanuel 2010/4/12 Emmanuel Chanteloup > I tried it too. I just get one more line telling the SSL access, that's it > : > > example : > > Apr 12 17:34:26 myserver xinetd[14625]: START: nrpe pid=16717 from=10.1.2.1 > Apr 12 17:34:26 myserver nrpe[16717]: INFO: SSL/TLS initialized. All > network traffic will be encrypted. > Apr 12 17:34:26 myserver xinetd[14625]: EXIT: nrpe status=0 pid=16717 > duration=0(sec) > > 2010/4/12 Natxo Asenjo > >> On Mon, Apr 12, 2010 at 4:00 PM, Emmanuel Chanteloup >> >> wrote: >> > Hi, >> > >> > Yes of course it is : >> > >> > [root at myserver libexec]# ./check_nrpe -H localhost >> > NRPE v2.12 >> > >> > I have a lot of other plugins running ok on this server (check_users, >> > check_procs ...). >> >> ok. Have you tried enabling the debug information on the client (iirc >> debug=1 instead of 0), reload the nrpe daemon and see if you get more >> info. >> >> -- >> natxo >> >> >> ------------------------------------------------------------------------------ >> Download Intel® Parallel Studio Eval >> Try the new software tools for yourself. Speed compiling, find bugs >> proactively, and fine-tune applications for parallel performance. >> See why Intel Parallel Studio got high marks during beta. >> http://p.sf.net/sfu/intel-sw-dev >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: 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 -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Apr 13 09:12:13 2010 From: natxo.asenjo at gmail.com (Natxo Asenjo) Date: Tue, 13 Apr 2010 09:12:13 +0200 Subject: Check_jmx plugin problem In-Reply-To: References: Message-ID: On Tue, Apr 13, 2010 at 8:39 AM, Emmanuel Chanteloup wrote: > The thing I do not understand is why I can run it directly with my nagios > account : > > [nagios at myserver ~]$ /usr/local/nagios/libexec/check_jmx -U > service:jmx:rmi:///jndi/rmi://localhost:8999/jmxrmi -O java.lang:type=Memory > -A HeapMemoryUsage -K used -I HeapMemoryUsage -J used -vvvv -w 800000000 -c > 1500000000 > JMX OK > HeapMemoryUsage.used=593227424{committed=1036189696;init=1073741824;max=1036189696;used=593227424} > > and it doesn't work with NRPE, knowing that NRPE is using the nagios account > ! > > [nagios at myserver ~]$ /usr/local/nagios/libexec/check_nrpe -H localhost -c > check_jmx > NRPE: Unable to read output could you please post your nrpe.cfg (sanitize as needed) to make sure there is not a typo in it? (I've had that many times myself, very frustrating). Another option worth exploring is http://search.cpan.org/~roland/jmx4perl-0.65/scripts/check_jmx4perl. Another thing: I am not sure how nrpe escapes the slashes (if at all) in the uri in that check. Try adding more on slash in front of every other slash. Just a wild shot, I know. -- natxo ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From manuchanteloup at gmail.com Tue Apr 13 09:34:54 2010 From: manuchanteloup at gmail.com (Emmanuel Chanteloup) Date: Tue, 13 Apr 2010 09:34:54 +0200 Subject: Check_jmx plugin problem In-Reply-To: References: Message-ID: Hi Natxo, First, thank you for your time. Here is my nrpe.conf : _________________________________________________________________________________________________ log_facility=daemon pid_file=/var/run/nrpe.pid server_port=5666 nrpe_user=nagios nrpe_group=nagios dont_blame_nrpe=0 debug=1 command_timeout=60 connection_timeout=300 command[check_users]=/usr/local/nagios/libexec/check_users -w 10 -c 15 command[check_load]=/usr/local/nagios/libexec/check_load -w 15,10,5 -c 30,25,20 command[check_hda1]=/usr/local/nagios/libexec/check_disk -w 20% -c 10% -p /dev/mapper/VolGroup00-LogVol00 command[check_zombie_procs]=/usr/local/nagios/libexec/check_procs -w 5 -c 10 -s Z command[check_total_procs]=/usr/local/nagios/libexec/check_procs -w 655 -c 700 command[check_jmx]=/usr/local/nagios/libexec/check_jmx -U service:jmx:rmi:///jndi/rmi://localhost:8999/jmxrmi -O java.lang:type=Memory -A HeapMemoryUsage -K used -I HeapMemoryUsage -J used -vvvv -w 800000000 -c 1500000000 _________________________________________________________________________________________________ all my commands are working except the check_jmx. Nrpe is running through xinetd, here is my nrpe file in /etc/xinetd.d : service nrpe { flags = REUSE socket_type = stream port = 5666 wait = no user = nagios group = nagios server = /usr/local/nagios/bin/nrpe server_args = -c /usr/local/nagios/etc/nrpe.cfg --inetd log_on_failure += USERID disable = no only_from = 10.1.2.1 127.0.0.1 10.1.2.200 } Regards, emmanuel 2010/4/13 Natxo Asenjo > On Tue, Apr 13, 2010 at 8:39 AM, Emmanuel Chanteloup > wrote: > > The thing I do not understand is why I can run it directly with my nagios > > account : > > > > [nagios at myserver ~]$ /usr/local/nagios/libexec/check_jmx -U > > service:jmx:rmi:///jndi/rmi://localhost:8999/jmxrmi -O > java.lang:type=Memory > > -A HeapMemoryUsage -K used -I HeapMemoryUsage -J used -vvvv -w 800000000 > -c > > 1500000000 > > JMX OK > > > HeapMemoryUsage.used=593227424{committed=1036189696;init=1073741824;max=1036189696;used=593227424} > > > > and it doesn't work with NRPE, knowing that NRPE is using the nagios > account > > ! > > > > [nagios at myserver ~]$ /usr/local/nagios/libexec/check_nrpe -H localhost > -c > > check_jmx > > NRPE: Unable to read output > > could you please post your nrpe.cfg (sanitize as needed) to make sure > there is not a typo in it? (I've had that many times myself, very > frustrating). > > Another option worth exploring is > http://search.cpan.org/~roland/jmx4perl-0.65/scripts/check_jmx4perl > . > > Another thing: I am not sure how nrpe escapes the slashes (if at all) > in the uri in that check. Try adding more on slash in front of every > other slash. Just a wild shot, I know. > > -- > natxo > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From paul.willis at kent.pnn.police.uk Tue Apr 13 11:03:46 2010 From: paul.willis at kent.pnn.police.uk (Paul WILLIS PSE 55499) Date: Tue, 13 Apr 2010 10:03:46 +0100 Subject: Check_jmx plugin problem In-Reply-To: References: Message-ID: <4BC44182020000C40001709C@kent.pnn.police.uk> I've had similar problems with nrpe where the command string doesn't get passed intact but instead some non letter characters get "processed" somewhere within nrpe, so running it directly and through nrpe give different results. Try putting a \ in front of every unusual character Paul Willis >>> Natxo Asenjo 13/04/10 08:12 >>> On Tue, Apr 13, 2010 at 8:39 AM, Emmanuel Chanteloup wrote: > The thing I do not understand is why I can run it directly with my nagios > account : > > [nagios at myserver ~]$ /usr/local/nagios/libexec/check_jmx -U > service:jmx:rmi:///jndi/rmi://localhost:8999/jmxrmi -O java.lang:type=Memory > -A HeapMemoryUsage -K used -I HeapMemoryUsage -J used -vvvv -w 800000000 -c > 1500000000 > JMX OK > HeapMemoryUsage.used=593227424{committed=1036189696;init=1073741824;max=1036189696;used=593227424} > > and it doesn't work with NRPE, knowing that NRPE is using the nagios account > ! > > [nagios at myserver ~]$ /usr/local/nagios/libexec/check_nrpe -H localhost -c > check_jmx > NRPE: Unable to read output could you please post your nrpe.cfg (sanitize as needed) to make sure there is not a typo in it? (I've had that many times myself, very frustrating). Another option worth exploring is http://search.cpan.org/~roland/jmx4perl-0.65/scripts/check_jmx4perl. Another thing: I am not sure how nrpe escapes the slashes (if at all) in the uri in that check. Try adding more on slash in front of every other slash. Just a wild shot, I know. -- natxo ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From manuchanteloup at gmail.com Tue Apr 13 11:49:31 2010 From: manuchanteloup at gmail.com (Emmanuel Chanteloup) Date: Tue, 13 Apr 2010 11:49:31 +0200 Subject: Check_jmx plugin problem In-Reply-To: <4BC44182020000C40001709C@kent.pnn.police.uk> References: <4BC44182020000C40001709C@kent.pnn.police.uk> Message-ID: Hi Paul, Where can I add the \ ? Which file ? Do you mean I have to edit the .jar ? Regards Emmanuel 2010/4/13 Paul WILLIS PSE 55499 > I've had similar problems with nrpe where the command string doesn't get > passed intact but instead some non letter characters get "processed" > somewhere > within nrpe, so running it directly and through nrpe give different > results. > Try putting a \ in front of every unusual character > > Paul Willis > > >>> Natxo Asenjo 13/04/10 08:12 >>> > > On Tue, Apr 13, 2010 at 8:39 AM, Emmanuel Chanteloup > wrote: > > The thing I do not understand is why I can run it directly with my nagios > > account : > > > > [nagios at myserver ~]$ /usr/local/nagios/libexec/check_jmx -U > > service:jmx:rmi:///jndi/rmi://localhost:8999/jmxrmi -O > java.lang:type=Memory > > -A HeapMemoryUsage -K used -I HeapMemoryUsage -J used -vvvv -w 800000000 > -c > > 1500000000 > > JMX OK > > > HeapMemoryUsage.used=593227424{committed=1036189696;init=1073741824;max=1036189696;used=593227424} > > > > and it doesn't work with NRPE, knowing that NRPE is using the nagios > account > > ! > > > > [nagios at myserver ~]$ /usr/local/nagios/libexec/check_nrpe -H localhost > -c > > check_jmx > > NRPE: Unable to read output > > could you please post your nrpe.cfg (sanitize as needed) to make sure > there is not a typo in it? (I've had that many times myself, very > frustrating). > > Another option worth exploring is > http://search.cpan.org/~roland/jmx4perl-0.65/scripts/check_jmx4perl. > > Another thing: I am not sure how nrpe escapes the slashes (if at all) > in the uri in that check. Try adding more on slash in front of every > other slash. Just a wild shot, I know. > > -- > natxo > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From r.hagen at qlict.nl Tue Apr 13 12:06:35 2010 From: r.hagen at qlict.nl (Richard Hagen) Date: Tue, 13 Apr 2010 12:06:35 +0200 Subject: Internal error Message-ID: <3A67459001D1664A830ACE3801CE3812296D4A8309@QLEX01.qlict.local> Dear Sir/Madam, I recently installed a new DELL Poweredge 2970 with W2k8 and installed also DELL OMSA. When i read the status from nagios i get the following error: Amperage probe 0 [PS 1 Current 1] reads 0 A Amperage probe 1 [PS 2 Current 2] reads 0 A INTERNAL ERROR: Use of uninitialized value in division (/) at /usr/lib/nagios/plugins/check_openmanage line 3536. INTERNAL ERROR: Use of uninitialized value in division (/) at /usr/lib/nagios/plugins/check_openmanage line 3536. INTERNAL ERROR: Use of uninitialized value in sprintf at /usr/lib/nagios/plugins/check_openmanage line 3562. When i use the command line on the Nagios server i can read from OMSA: [root at vwnagios plugins]# ./check_openmanage -H 172.16.24.27 -C **** -d | head -n 3 System: PowerEdge 2970 ServiceTag: ******* OMSA version: 6.2.0 BIOS/date: 4.1.1 11/10/2009 Plugin version: 3.5.7 Does someone know how to fix this? Thanks in advance. Met vriendelijke groet, Richard Hagen Teamleider Techniek en Projecten Telefoon:053 4750633 Mobiel:06-17106543 Internet http://www.qlict.nl [cid:image004.png at b1831d0884db4e52be8d28ec68122af7][cid:kw201062.png at 7c2b242930b04dcda606d7ec6d6b5322] QLiCT webshop vanaf 1 november geheel vernieuwd! AANTREKKELIJKE AANBIEDINGEN -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image004.png Type: image/png Size: 26158 bytes Desc: image004.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: kw201062.png Type: image/png Size: 7825 bytes Desc: kw201062.png URL: -------------- next part -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From t.h.amundsen at usit.uio.no Tue Apr 13 13:39:01 2010 From: t.h.amundsen at usit.uio.no (Trond Hasle Amundsen) Date: Tue, 13 Apr 2010 13:39:01 +0200 Subject: Internal error In-Reply-To: <3A67459001D1664A830ACE3801CE3812296D4A8309@QLEX01.qlict.local> (Richard Hagen's message of "Tue, 13 Apr 2010 12:06:35 +0200") References: <3A67459001D1664A830ACE3801CE3812296D4A8309@QLEX01.qlict.local> Message-ID: <15tfx2zwpii.fsf@tux.uio.no> Richard Hagen writes: > I recently installed a new DELL Poweredge 2970 with W2k8 and installed also > DELL OMSA. > > When i read the status from nagios i get the following error: > > Amperage probe 0 [PS 1 Current 1] reads 0 A > Amperage probe 1 [PS 2 Current 2] reads 0 A > INTERNAL ERROR: Use of uninitialized value in division (/) at /usr/lib/nagios/ > plugins/check_openmanage line 3536. > INTERNAL ERROR: Use of uninitialized value in division (/) at /usr/lib/nagios/ > plugins/check_openmanage line 3536. > INTERNAL ERROR: Use of uninitialized value in sprintf at /usr/lib/nagios/ > plugins/check_openmanage line 3562. Hi Richard, This happens because the value (i.e. reading from the amperage probes) are not reported by SNMP, while the rest of the data about the probes are reported (status, type, name etc.). There is something wrong with Openmanage on this server. What is the output from this command: omreport chassis pwrmonitoring That being said, the plugin could handle this better. Please try the beta version available here: http://folk.uio.no/trondham/tmp/ Cheers, -- Trond H. Amundsen Center for Information Technology Services, University of Oslo ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From r.hagen at qlict.nl Tue Apr 13 14:09:10 2010 From: r.hagen at qlict.nl (Richard Hagen) Date: Tue, 13 Apr 2010 14:09:10 +0200 Subject: Internal error In-Reply-To: <15tfx2zwpii.fsf@tux.uio.no> References: <3A67459001D1664A830ACE3801CE3812296D4A8309@QLEX01.qlict.local> <15tfx2zwpii.fsf@tux.uio.no> Message-ID: <3A67459001D1664A830ACE3801CE3812296D4A8373@QLEX01.qlict.local> Dear Trond, The command gives the following output: Power Consumption Information Power Consumption Index : 2 Status : Ok Probe Name : System Board System Level Reading : 0 W Warning Threshold : 916 W Failure Threshold : 964 W Amperage Location : PS 1 Current 1 Reading : [N/A] Location : PS 2 Current 2 Reading : [N/A] Power Tracking Statistics Statistic : Energy Consumption Measurement Start Time : Mon Apr 12 07:39:57 2010 Measurement Finish Time : Tue Apr 13 13:45:11 2010 Reading : 0.2 KWh Statistic : System Peak Power Measurement Start Time : Mon Apr 12 07:39:57 2010 Peak Time : Peak Reading : 0 W Statistic : System Peak Amperage Measurement Start Time : Mon Apr 12 07:39:57 2010 Peak Time : Peak Reading : 0.0 A It looks like OMSA can't read the powet usage from the server. I will look into this. The Beta doesn't display the internal error anymore. Thanks for your support Met vriendelijke groet, Richard Hagen QLiCT, Teamleider Techniek en Projecten Telefoon 053 4750633 Internet http://www.qlict.nl QliCT webshop vanaf 1 november geheel vernieuwd! AANTREKKELIJKE AANBIEDINGEN http://www.qlictshop.nl/ -----Oorspronkelijk bericht----- Van: Trond Hasle Amundsen [mailto:t.h.amundsen at usit.uio.no] Verzonden: dinsdag 13 april 2010 13:39 Aan: Nagios Users List Onderwerp: Re: [Nagios-users] Internal error Richard Hagen writes: > I recently installed a new DELL Poweredge 2970 with W2k8 and installed also > DELL OMSA. > > When i read the status from nagios i get the following error: > > Amperage probe 0 [PS 1 Current 1] reads 0 A > Amperage probe 1 [PS 2 Current 2] reads 0 A > INTERNAL ERROR: Use of uninitialized value in division (/) at /usr/lib/nagios/ > plugins/check_openmanage line 3536. > INTERNAL ERROR: Use of uninitialized value in division (/) at /usr/lib/nagios/ > plugins/check_openmanage line 3536. > INTERNAL ERROR: Use of uninitialized value in sprintf at /usr/lib/nagios/ > plugins/check_openmanage line 3562. Hi Richard, This happens because the value (i.e. reading from the amperage probes) are not reported by SNMP, while the rest of the data about the probes are reported (status, type, name etc.). There is something wrong with Openmanage on this server. What is the output from this command: omreport chassis pwrmonitoring That being said, the plugin could handle this better. Please try the beta version available here: http://folk.uio.no/trondham/tmp/ Cheers, -- Trond H. Amundsen Center for Information Technology Services, University of Oslo ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mitsuto at gmail.com Tue Apr 13 15:31:35 2010 From: mitsuto at gmail.com (Marcel) Date: Tue, 13 Apr 2010 10:31:35 -0300 Subject: Fw: nagios web only show 400 node? In-Reply-To: <201004131038250009215@cebbank.com> References: <201004121833076401796@cebbank.com> <201004130812018593187@cebbank.com> <201004131038250009215@cebbank.com> Message-ID: On Mon, Apr 12, 2010 at 11:38 PM, wwanghongrui wrote: > >- You haven't reloaded or restarted nagios since adding them > > I exectue "/etc/init.d/nagios reload" every time after edit something. > > > > > The file you're adding them to isn't parsed by nagios (i.e. a cfg_file or in a cfg_dir in nagios.cfg). (run /path/to/nagios ->v /path/to/nagios.cfg and see if the numbers presented are reasonable). > > > BL680-127:~ # /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg > Nagios Core 3.2.0 > Copyright (c) 2009 Nagios Core Development Team and Community Contributors > Copyright (c) 1999-2009 Ethan Galstad > Last Modified: 08-12-2009 > License: GPL > Website: http://www.nagios.org > Reading configuration data... > Read main config file okay... > Processing object config file '/usr/local/nagios/etc/hosts.cfg'... > Processing object config file '/usr/local/nagios/etc/services.cfg'... > Processing object config file '/usr/local/nagios/etc/misccommands.cfg'... > Processing object config file '/usr/local/nagios/etc/checkcommands.cfg'... > Processing object config file '/usr/local/nagios/etc/contactgroups.cfg'... > Processing object config file '/usr/local/nagios/etc/contacts.cfg'... > Processing object config file '/usr/local/nagios/etc/hostgroups.cfg'... > Processing object config file '/usr/local/nagios/etc/servicegroups.cfg'... > Processing object config file '/usr/local/nagios/etc/timeperiods.cfg'... > Processing object config file '/usr/local/nagios/etc/escalations.cfg'... > Processing object config file '/usr/local/nagios/etc/dependencies.cfg'... > Processing object config file '/usr/local/nagios/etc/hostextinfo.cfg'... > Processing object config file '/usr/local/nagios/etc/serviceextinfo.cfg'... > Processing object config file '/usr/local/nagios/etc/meta_commands.cfg'... > > Processing object config file '/usr/local/nagios/etc/meta_contactgroup.cfg'... > Processing object config file '/usr/local/nagios/etc/meta_contact.cfg'... > > Processing object config file '/usr/local/nagios/etc/meta_dependencies.cfg'... > > Processing object config file '/usr/local/nagios/etc/meta_escalations.cfg'... > Processing object config file '/usr/local/nagios/etc/meta_hostgroup.cfg'... > Processing object config file '/usr/local/nagios/etc/meta_host.cfg'... > Processing object config file '/usr/local/nagios/etc/meta_services.cfg'... > > Processing object config file '/usr/local/nagios/etc/meta_timeperiod.cfg'... > Read object config files okay... > Running pre-flight check on configuration data... > Checking services... > Checked 2794 services. > Checking hosts... > Warning: Host 'Centreon-Server' has no services associated with it! > Warning: Host 'localhost' has no services associated with it! > Checked 430 hosts. > Checking host groups... > Checked 5 host groups. > Checking service groups... > Checked 4 service groups. > Checking contacts... > Checked 10 contacts. > Checking contact groups... > Checked 4 contact groups. > Checking service escalations... > Checked 0 service escalations. > Checking service dependencies... > Checked 0 service dependencies. > Checking host escalations... > Checked 0 host escalations. > Checking host dependencies... > Checked 0 host dependencies. > Checking commands... > Checked 103 commands. > Checking time periods... > Checked 7 time periods. > Checking for circular paths between hosts... > Checking for circular host and service dependencies... > Checking global event handlers... > Checking obsessive compulsive processor commands... > Checking misc settings... > Total Warnings: 2 > Total Errors: 0 > > > > >- If you have authentication enabled, the user you log in as is not a contact for the hosts in question. > I log in as nagios admin. I think that user have privilage to see any > hosts. > > > >-You have multiple nagios daemons running at the same time and there is contention over the status file. > > BL680-127:~ # service nagios status > nagios (pid 18513) is running... > BL680-127:~ # ps -ef |grep nagios.cfg > > nagios 13648 1 0 10:28 ? 00:00:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg > > nagios 13658 1 0 10:28 ? 00:00:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg > > nagios 13662 1 0 10:28 ? 00:00:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg > > nagios 13666 1 0 10:28 ? 00:00:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg > > nagios 13689 18513 0 10:28 ? 00:00:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg > root 13707 3121 0 10:28 pts/0 00:00:00 grep nagios.cfg > > nagios 18513 1 2 Apr12 ? 00:24:40 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg > BL680-127:~ # ps -ef |grep nagios.cfg > > nagios 14090 1 0 10:28 ? 00:00:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg > > nagios 14381 1 0 10:28 ? 00:00:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg > > nagios 14415 1 0 10:28 ? 00:00:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg > > nagios 14419 1 0 10:28 ? 00:00:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg > > nagios 14423 1 0 10:28 ? 00:00:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg > root 14505 3121 0 10:28 pts/0 00:00:00 grep nagios.cfg > > nagios 18513 1 2 Apr12 ? 00:24:41 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg > > Run "service nagios status", only one daemon is running. But execute "ps > -ef |grep nagios.cfg", the process number and pid are always different. Is > this issue ? > Yes, that's it! You have several nagios processes that are sons of the PID == 1. Do a /etc/init.d/nagios stop and execute that ps -fu nagios again to see that there is remaining nagios processes that are sons of the PID == 1. Then you kill'em all and start fresh. > > > Regards > HongRui Wang > wwanghongrui at cebbank.com > > ------------------------------ > wwanghongrui > 2010-04-13 > ------------------------------ > *????* Marc Powell > *?????* 2010-04-13 09:45:52 > *????* Nagios Users List > *???* > *???* Re: [Nagios-users] Fw: nagios web only show 400 node? > > On Apr 12, 2010, at 7:12 PM, wwanghongrui wrote: > > ???? wwanghongrui > > ????? 2010-04-12 18:33:07 > > ???? nagios-users > > ??? > > ??? nagios web only show 400 node? > > > > Hi, guys~ > > > > > We install Nagios(R) Core(tm) 3.2.0 on SUSE 10 SP2 X86_64. We have added more than 440 nodes in nagios server, but only 400 nodes showed in nagios web. The nodes added after 400, are not showed. Could you give me some suggestion for resolve this problem? > > > There are a few possibilities that come to mind -- > - You haven't reloaded or restarted nagios since adding them > > - The file you're adding them to isn't parsed by nagios (i.e. a cfg_file or in a cfg_dir in nagios.cfg). (run /path/to/nagios -v /path/to/nagios.cfg and see if the numbers presented are reasonable). > > - If you have authentication enabled, the user you log in as is not a contact for the hosts in question. > > - You have multiple nagios daemons running at the same time and there is contention over the status file. > -- > Marc > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Apr 13 17:03:12 2010 From: natxo.asenjo at gmail.com (Natxo Asenjo) Date: Tue, 13 Apr 2010 17:03:12 +0200 Subject: Check_jmx plugin problem In-Reply-To: References: Message-ID: On Tue, Apr 13, 2010 at 9:34 AM, Emmanuel Chanteloup wrote: > command[check_jmx]=/usr/local/nagios/libexec/check_jmx -U > service:jmx:rmi:///jndi/rmi://localhost:8999/jmxrmi -O java.lang:type=Memory > -A HeapMemoryUsage -K used -I HeapMemoryUsage -J used -vvvv -w 800000000 -c > 1500000000 ok, try this: command[check_jmx]="/usr/local/nagios/libexec/check_jmx -U service:jmx:rmi:///jndi/rmi://localhost:8999/jmxrmi -O java.lang:type=Memory -A HeapMemoryUsage -K used -I HeapMemoryUsage -J used -vvvv -w 800000000 -c 1500000000" that is, with inverted commas. If it doesn't work, try escaping the uris like this: service:jmx:rmi:\/\/\/jndi/rmi:/\/\localhost:8999\/jmxrmi You may also try the developers list, maybe they can help you further. Hope this helps -- natxo ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From shadhin71 at gmail.com Tue Apr 13 21:09:56 2010 From: shadhin71 at gmail.com (shadih rahman) Date: Tue, 13 Apr 2010 15:09:56 -0400 Subject: disk check question Message-ID: All, disk check returns amount of free space. Is there anyway to output disk used? off course I am talking about the stocked C check_disk plugins. Please advise on this. -- Cordially, Shadhin Rahman -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From burton at simondsfamily.com Tue Apr 13 21:47:04 2010 From: burton at simondsfamily.com (Burton Simonds) Date: Tue, 13 Apr 2010 15:47:04 -0400 Subject: NRPE checks from multiple Nagios hosts Message-ID: We have a requirement to run checks from multiple locations. We currently use NRPE to perform these checks, and I am running it out xinetd. Will I potentailly clobber requests if I have requests coming in from multiple nagios servers to the same nrpe service? Thanks, Burton ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From schneemann at b1-systems.de Tue Apr 13 22:42:29 2010 From: schneemann at b1-systems.de (Christian Schneemann) Date: Tue, 13 Apr 2010 22:42:29 +0200 Subject: NRPE checks from multiple Nagios hosts In-Reply-To: References: Message-ID: <201004132242.29732.schneemann@b1-systems.de> Hi, On Tuesday 13 April 2010 09:47:04 pm Burton Simonds wrote: > We have a requirement to run checks from multiple locations. We > currently use NRPE to perform these checks, and I am running it out > xinetd. Will I potentailly clobber requests if I have requests > coming in from multiple nagios servers to the same nrpe service? what do you mean with "clobber"? We are doing just that here at a customer. It just works. You could get problems if you run checks that are requesting the result from a counter, which will get set to zero after calling the plugin through nrpe. But with normal checks you should get no problems. Regards, Christian > > Thanks, > Burton > > --------------------------------------------------------------------------- > --- Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > ::: reporting any issue. Messages without supporting info will risk being > ::: sent to /dev/null > -- Christian Schneemann Geschaeftsfuehrer: Ralph Dehner IT Consultant & Trainer Unternehmenssitz: Vohburg B1 Systems GmbH Amtsgericht: Ingolstadt Mobil: +49-(0)-1757250665 Handelsregister: HRB 3537 EMail: schneemann at b1-systems.de http://www.b1-systems.de Adresse: B1 Systems GmbH, Osterfeldstra?e 7, 85088 Vohburg GPG: http://pgpkeys.pca.dfn.de/pks/lookup?op=get&search=0x2FA8643A41BDAB81 ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 13 23:40:17 2010 From: patrick.morris at hp.com (Morris, Patrick) Date: Tue, 13 Apr 2010 14:40:17 -0700 Subject: NRPE checks from multiple Nagios hosts In-Reply-To: References: Message-ID: <4BC4E4C1.4010504@hp.com> Burton Simonds wrote: > We have a requirement to run checks from multiple locations. We > currently use NRPE to perform these checks, and I am running it out > xinetd. Will I potentailly clobber requests if I have requests > coming in from multiple nagios servers to the same nrpe service? xinetd generally will spawn a new instance of your daemon for each connection, so no, you don't have to worry about contention for the same service since there will be multiple instances of it handling requests. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From wwanghongrui at cebbank.com Wed Apr 14 08:03:58 2010 From: wwanghongrui at cebbank.com (=?utf-8?B?d3dhbmdob25ncnVp?=) Date: Wed, 14 Apr 2010 14:03:58 +0800 Subject: =?utf-8?q?Fw=3A_nagios_web_only_show_400_node=3F?= References: <201004121833076401796@cebbank.com>, <201004130812018593187@cebbank.com>, <201004131038250009215@cebbank.com> Message-ID: <201004141403576878765@cebbank.com> Thanks, Marcel I found the issue, the file /usr/local/nagios/var/objects.cache lose write permission. So new added nodes can't write into this file. Now, all nodes are showed on nagios page. I killed all nagios processes, then execute "/etc/init.d/nagios start", still found many nagios processes. Faint~ wwanghongrui 2010-04-14 ???? Marcel ????? 2010-04-13 21:31:50 ???? wwanghongrui; Nagios Users List ??? ??? Re: [Nagios-users] Fw: nagios web only show 400 node? On Mon, Apr 12, 2010 at 11:38 PM, wwanghongrui wrote: >- You haven't reloaded or restarted nagios since adding them I exectue "/etc/init.d/nagios reload" every time after edit something. > The file you're adding them to isn't parsed by nagios (i.e. a cfg_file or in a cfg_dir in nagios.cfg). (run /path/to/nagios ->v /path/to/nagios.cfg and see if the numbers presented are reasonable). BL680-127:~ # /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg Nagios Core 3.2.0 Copyright (c) 2009 Nagios Core Development Team and Community Contributors Copyright (c) 1999-2009 Ethan Galstad Last Modified: 08-12-2009 License: GPL Website: http://www.nagios.org Reading configuration data... Read main config file okay... Processing object config file '/usr/local/nagios/etc/hosts.cfg'... Processing object config file '/usr/local/nagios/etc/services.cfg'... Processing object config file '/usr/local/nagios/etc/misccommands.cfg'... Processing object config file '/usr/local/nagios/etc/checkcommands.cfg'... Processing object config file '/usr/local/nagios/etc/contactgroups.cfg'... Processing object config file '/usr/local/nagios/etc/contacts.cfg'... Processing object config file '/usr/local/nagios/etc/hostgroups.cfg'... Processing object config file '/usr/local/nagios/etc/servicegroups.cfg'... Processing object config file '/usr/local/nagios/etc/timeperiods.cfg'... Processing object config file '/usr/local/nagios/etc/escalations.cfg'... Processing object config file '/usr/local/nagios/etc/dependencies.cfg'... Processing object config file '/usr/local/nagios/etc/hostextinfo.cfg'... Processing object config file '/usr/local/nagios/etc/serviceextinfo.cfg'... Processing object config file '/usr/local/nagios/etc/meta_commands.cfg'... Processing object config file '/usr/local/nagios/etc/meta_contactgroup.cfg'... Processing object config file '/usr/local/nagios/etc/meta_contact.cfg'... Processing object config file '/usr/local/nagios/etc/meta_dependencies.cfg'... Processing object config file '/usr/local/nagios/etc/meta_escalations.cfg'... Processing object config file '/usr/local/nagios/etc/meta_hostgroup.cfg'... Processing object config file '/usr/local/nagios/etc/meta_host.cfg'... Processing object config file '/usr/local/nagios/etc/meta_services.cfg'... Processing object config file '/usr/local/nagios/etc/meta_timeperiod.cfg'... Read object config files okay... Running pre-flight check on configuration data... Checking services... Checked 2794 services. Checking hosts... Warning: Host 'Centreon-Server' has no services associated with it! Warning: Host 'localhost' has no services associated with it! Checked 430 hosts. Checking host groups... Checked 5 host groups. Checking service groups... Checked 4 service groups. Checking contacts... Checked 10 contacts. Checking contact groups... Checked 4 contact groups. Checking service escalations... Checked 0 service escalations. Checking service dependencies... Checked 0 service dependencies. Checking host escalations... Checked 0 host escalations. Checking host dependencies... Checked 0 host dependencies. Checking commands... Checked 103 commands. Checking time periods... Checked 7 time periods. Checking for circular paths between hosts... Checking for circular host and service dependencies... Checking global event handlers... Checking obsessive compulsive processor commands... Checking misc settings... Total Warnings: 2 Total Errors: 0 >- If you have authentication enabled, the user you log in as is not a contact for the hosts in question. I log in as nagios admin. I think that user have privilage to see any hosts. >-You have multiple nagios daemons running at the same time and there is contention over the status file. BL680-127:~ # service nagios status nagios (pid 18513) is running... BL680-127:~ # ps -ef |grep nagios.cfg nagios 13648 1 0 10:28 ? 00:00:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg nagios 13658 1 0 10:28 ? 00:00:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg nagios 13662 1 0 10:28 ? 00:00:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg nagios 13666 1 0 10:28 ? 00:00:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg nagios 13689 18513 0 10:28 ? 00:00:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg root 13707 3121 0 10:28 pts/0 00:00:00 grep nagios.cfg nagios 18513 1 2 Apr12 ? 00:24:40 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg BL680-127:~ # ps -ef |grep nagios.cfg nagios 14090 1 0 10:28 ? 00:00:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg nagios 14381 1 0 10:28 ? 00:00:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg nagios 14415 1 0 10:28 ? 00:00:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg nagios 14419 1 0 10:28 ? 00:00:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg nagios 14423 1 0 10:28 ? 00:00:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg root 14505 3121 0 10:28 pts/0 00:00:00 grep nagios.cfg nagios 18513 1 2 Apr12 ? 00:24:41 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg Run "service nagios status", only one daemon is running. But execute "ps -ef |grep nagios.cfg", the process number and pid are always different. Is this issue ? Yes, that's it! You have several nagios processes that are sons of the PID == 1. Do a /etc/init.d/nagios stop and execute that ps -fu nagios again to see that there is remaining nagios processes that are sons of the PID == 1. Then you kill'em all and start fresh. Regards HongRui Wang wwanghongrui at cebbank.com wwanghongrui 2010-04-13 ???? Marc Powell ????? 2010-04-13 09:45:52 ???? Nagios Users List ??? ??? Re: [Nagios-users] Fw: nagios web only show 400 node? On Apr 12, 2010, at 7:12 PM, wwanghongrui wrote: > ???? wwanghongrui > ????? 2010-04-12 18:33:07 > ???? nagios-users > ??? > ??? nagios web only show 400 node? > > Hi, guys~ > > We install Nagios? Core? 3.2.0 on SUSE 10 SP2 X86_64. We have added more than 440 nodes in nagios server, but only 400 nodes showed in nagios web. The nodes added after 400, are not showed. Could you give me some suggestion for resolve this problem? > There are a few possibilities that come to mind -- - You haven't reloaded or restarted nagios since adding them - The file you're adding them to isn't parsed by nagios (i.e. a cfg_file or in a cfg_dir in nagios.cfg). (run /path/to/nagios -v /path/to/nagios.cfg and see if the numbers presented are reasonable). - If you have authentication enabled, the user you log in as is not a contact for the hosts in question. - You have multiple nagios daemons running at the same time and there is contention over the status file. -- Marc ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nkeshav12 at gmail.com Wed Apr 14 09:06:12 2010 From: nkeshav12 at gmail.com (keshav murthy) Date: Wed, 14 Apr 2010 12:36:12 +0530 Subject: Simple Print queue monitoring Message-ID: Hello All, I would like to know if we have any ready plugins/scripts for monitoring the print queue. We are still running nrpe and pnsclient on the clients. Any help will be appreciated. Cheers Kesava -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From brian.omahony at curamsoftware.com Wed Apr 14 12:43:52 2010 From: brian.omahony at curamsoftware.com (Brian O'Mahony) Date: Wed, 14 Apr 2010 11:43:52 +0100 Subject: alias in server cfg file Message-ID: <86E8DA9E18BC2344BD0218BF23C88DF30142BDA86E48@MAIL06.curamsoftware.com> I have a number of machines that cannot be looked up by hostname, however I don't want them listed in nagios as IPs. So I have: host_name 172.16.165.41 alias VIO_server However this still comes up as the IP. How do I get it to recognize the alias? B The information in this email is confidential and may be legally privileged. It is intended solely for the addressee. Access to this email by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. If you are not the intended addressee please contact the sender and dispose of this e-mail. Thank you. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 14 12:58:10 2010 From: neufpas at gmail.com (Noel Platzke) Date: Wed, 14 Apr 2010 06:58:10 -0400 Subject: alias in server cfg file In-Reply-To: <86E8DA9E18BC2344BD0218BF23C88DF30142BDA86E48@MAIL06.curamsoftware.com> References: <86E8DA9E18BC2344BD0218BF23C88DF30142BDA86E48@MAIL06.curamsoftware.com> Message-ID: define it this way instead... define host { host_name VIO_server address 172.16.165.41 ... } On Wed, Apr 14, 2010 at 6:43 AM, Brian O'Mahony < brian.omahony at curamsoftware.com> wrote: > I have a number of machines that cannot be looked up by hostname, however > I don?t want them listed in nagios as IPs. So I have: > > > > host_name 172.16.165.41 > > alias VIO_server > > > > However this still comes up as the IP. > > > > How do I get it to recognize the alias? > > > > B > > The information in this email is confidential and may be legally privileged. > It is intended solely for the addressee. Access to this email by anyone else > is unauthorized. If you are not the intended recipient, any disclosure, > copying, distribution or any action taken or omitted to be taken in reliance > on it, is prohibited and may be unlawful. If you are not the intended > addressee please contact the sender and dispose of this e-mail. Thank you. > > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From burton at simondsfamily.com Wed Apr 14 13:32:24 2010 From: burton at simondsfamily.com (Burton Simonds) Date: Wed, 14 Apr 2010 07:32:24 -0400 Subject: NRPE checks from multiple Nagios hosts In-Reply-To: <4BC4E4C1.4010504@hp.com> References: <4BC4E4C1.4010504@hp.com> Message-ID: I was more worried about 2 instances using the same port at the same time. I know I can compile nrpe to use a different port, but I don't to have to manage 2 sets of checks on the host, one for each nrpe instance. I have been running it for a bit, and have not seen any issues. I guess as long as the thresholds and rechecks are set appropriately, if there was a conflict for a check, it would recheck and then be ok. i just wanted to see if anyone else is doing this, with no problems. Thanks! Burton On Tue, Apr 13, 2010 at 5:40 PM, Morris, Patrick wrote: > Burton Simonds wrote: >> We have a requirement to run checks from multiple locations. ?We >> currently use NRPE to perform these checks, and I am running it out >> xinetd. ? Will I potentailly clobber requests if I have requests >> coming in from multiple nagios servers to the same nrpe service? > > xinetd generally will spawn a new instance of your daemon for each > connection, so no, you don't have to worry about contention for the same > service since there will be multiple instances of it handling requests. > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lists at xodus.org Wed Apr 14 13:51:04 2010 From: lists at xodus.org (Marc Powell) Date: Wed, 14 Apr 2010 06:51:04 -0500 Subject: NRPE checks from multiple Nagios hosts In-Reply-To: References: <4BC4E4C1.4010504@hp.com> Message-ID: <014A6A25-E9C4-4997-B9C7-63FC29C79AD4@xodus.org> On Apr 14, 2010, at 6:32 AM, Burton Simonds wrote: > I was more worried about 2 instances using the same port at the same > time. This is how pretty much all client/server software works. Think SMTP server, HTTP server, etc. I'd consider any server software that didn't do this as broken. -- Marc ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From manuchanteloup at gmail.com Wed Apr 14 16:24:31 2010 From: manuchanteloup at gmail.com (Emmanuel Chanteloup) Date: Wed, 14 Apr 2010 16:24:31 +0200 Subject: Check_jmx plugin problem In-Reply-To: References: Message-ID: Hi, I am still stuck with my parse problem : [nagios at myserver ~]$ /usr/local/nagios/libexec/check_nrpe -H localhost -c check_jmx JMX UNKNOWN java.lang.NumberFormatException connecting to java.lang:type=Memory by URL service:jmx:rmi:///jndi/rmi://localhost:8999/jmxrmiorg.nagios.ParseError: java.lang.NumberFormatException at org.nagios.JMXQuery.parse(JMXQuery.java:250) at org.nagios.JMXQuery.main(JMXQuery.java:74) Caused by: java.lang.NumberFormatException at java.lang.Long.parseLong(libgcj.so.7rh) at java.lang.Long.parseLong(libgcj.so.7rh) at org.nagios.JMXQuery.parse(JMXQuery.java:240) tried with : command[check_jmx]=/usr/local/nagios/libexec/check_jmx -U "service:jmx:rmi:///jndi/rmi://localhost:8999/jmxrmi" -O "java.lang:type=Memory" -A "\HeapMemoryUsage" -K "\used" -I "\HeapMemoryUsage" -J "\used" -vvvv -w "\800000000" -c "\1500000000" I guess the problem is around the jmxrmiorg.nagios If you have any idea for a syntax ... Thanks, Emmanuel 2010/4/13 Natxo Asenjo > On Tue, Apr 13, 2010 at 9:34 AM, Emmanuel Chanteloup > wrote: > > command[check_jmx]=/usr/local/nagios/libexec/check_jmx -U > > service:jmx:rmi:///jndi/rmi://localhost:8999/jmxrmi -O > java.lang:type=Memory > > -A HeapMemoryUsage -K used -I HeapMemoryUsage -J used -vvvv -w 800000000 > -c > > 1500000000 > > ok, try this: > > command[check_jmx]="/usr/local/nagios/libexec/check_jmx -U > service:jmx:rmi:///jndi/rmi://localhost:8999/jmxrmi -O > java.lang:type=Memory > -A HeapMemoryUsage -K used -I HeapMemoryUsage -J used -vvvv -w 800000000 > -c > 1500000000" > > that is, with inverted commas. If it doesn't work, try escaping the > uris like this: > > service:jmx:rmi:\/\/\/jndi/rmi:/\/\localhost:8999\/jmxrmi > > You may also try the developers list, maybe they can help you further. > Hope this helps > > -- > natxo > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bryon.jones at gmail.com Wed Apr 14 17:07:50 2010 From: bryon.jones at gmail.com (BJones) Date: Wed, 14 Apr 2010 10:07:50 -0500 Subject: Nagios and Tranzeo Message-ID: <4bc5da4b.5644f10a.4f7b.2b60@mx.google.com> Newbie here wanting to pull bandwidth from tranzeo radios? any input / script would be appreciated. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dgomes at ipfn.ist.utl.pt Wed Apr 14 19:26:39 2010 From: dgomes at ipfn.ist.utl.pt (Daniel Gomes) Date: Wed, 14 Apr 2010 18:26:39 +0100 Subject: Segmentation Fault with NDOUtils Message-ID: <4BC5FACF.40307@ipfn.ist.utl.pt> Dear list members, I've been trying to get NDOutils to work so I can use a MySQL backend (and later Centreon, but that's a different story). Before I forget, this is a Ubuntu Hardy (8.04.4) running Nagios 3.2.1, Nagios Plugins 1.4.14 and NDOUtils 1.4b9. I am installing everything from the source files, with explations provided on some tutorials I found. The basic Nagios installation is working fine, I can access the Web GUI and view the stats for my local machine. After having this setup, I moved on to trying to get NDOUtils to work. After some troubles trying to find the MySQL libs etc, I tried with the default configuration, UNIX sockets, which yielded some problems. So I then tried TCP sockets, which is the current configuration. So, as for ndo2db.cfg (the MySQL data is all tested - I manually connected with the said user and was able to insert and delete rows into a nagios_* table): # grep -v '^#' ndo2db.cfg | grep -v '^$' lock_file=/usr/local/nagios/var/ndo2db.lock ndo2db_user=nagios ndo2db_group=nagios socket_type=tcp socket_name=/usr/local/nagios/var/ndo.sock tcp_port=5668 use_ssl=0 db_servertype=mysql db_host=XXX db_port=3306 db_name=nagiosdb db_prefix=nagios_ db_user=nagios db_pass=XXX max_timedevents_age=1440 max_systemcommands_age=10080 max_servicechecks_age=10080 max_hostchecks_age=10080 max_eventhandlers_age=44640 max_externalcommands_age=44640 debug_level=-1 debug_verbosity=2 debug_file=/var/log/ndo2db.debug max_debug_file_size=1000000 ------------------------------ (and by the way, like some other people I found on other pages, I can't get any info to show up on /var/log/ndo2db.debug) I am able to start ndo2sql (I'm using a custom script I found on some tutorial, I can post it if you'd like) and the proof that all is working is: # netstat -plane | grep 5668 tcp 0 0 0.0.0.0:5668 0.0.0.0:* LISTEN 1012 1231363 32676/ndo2db As I mentioned, nothing (good or bad) gets written to the debug file. ------------------------------ On to nagios.cfg (I guess these are the only important fields): # grep -v "#" nagios.cfg | grep broker event_broker_options=-1 broker_module=/usr/local/nagios/bin/ndomod.o config_file=/usr/local/nagios/etc/ndomod.cfg And finally ndomod.cfg: # grep -v '^#' /usr/local/nagios/etc/ndomod.cfg | grep -v '^$' instance_name=default output_type=tcpsocket output=127.0.0.1 tcp_port=5668 use_ssl=0 output_buffer_items=5000 buffer_file=/usr/local/nagios/var/ndomod.tmp file_rotation_interval=14400 file_rotation_timeout=60 reconnect_interval=15 reconnect_warning_interval=15 data_processing_options=-1 config_output_options=2 Starting nagios just says "done" without errors/warnings, but checking the logs (/var/log/nagios.log): [1271265751] Nagios 3.2.1 starting... (PID=520) [1271265751] Local time is Wed Apr 14 18:22:31 WEST 2010 [1271265751] LOG VERSION: 2.0 [1271265751] ndomod: NDOMOD 1.4b9 (10-27-2009) Copyright (c) 2009 Nagios Core Development Team and Community Contributors [1271265751] ndomod: Successfully connected to data sink. 54 queued items to flush. [1271265751] ndomod: Successfully flushed 54 queued items to data sink. [1271265751] Event broker module '/usr/local/nagios/bin/ndomod.o' initialized successfully. [1271265751] Finished daemonizing... (New PID=522) [1271265752] ndomod: Error writing to data sink! Some output may get lost... [1271265752] ndomod: Please check remote ndo2db log, database connection or SSL Parameters [1271265768] ndomod: Successfully reconnected to data sink! 0 items lost, 86 queued items to flush. [1271265768] ndomod: Successfully flushed 86 queued items to data sink. [1271265768] ndomod: Error writing to data sink! Some output may get lost... [1271265768] ndomod: Please check remote ndo2db log, database connection or SSL Parameters [1271265784] ndomod: Successfully reconnected to data sink! 0 items lost, 82 queued items to flush. [1271265784] ndomod: Successfully flushed 82 queued items to data sink. [1271265784] ndomod: Error writing to data sink! Some output may get lost... [1271265784] ndomod: Please check remote ndo2db log, database connection or SSL Parameters [1271265800] ndomod: Successfully reconnected to data sink! 0 items lost, 85 queued items to flush. [1271265800] ndomod: Successfully flushed 85 queued items to data sink. [1271265800] ndomod: Error writing to data sink! Some output may get lost... [1271265800] ndomod: Please check remote ndo2db log, database connection or SSL Parameters Still nothing on the ndo2db debug log, and checking the syslog: Apr 14 18:22:31 silver nagios: Event broker module '/usr/local/nagios/bin/ndomod.o' initialized successfully. Apr 14 18:22:31 silver nagios: Finished daemonizing... (New PID=522) Apr 14 18:22:31 silver kernel: [694704.043377] ndo2db[521]: segfault at 7fff1da10ff8 rip 7f9615464696 rsp 7fff1da11000 error 6 Apr 14 18:22:32 silver nagios: ndomod: Error writing to data sink! Some output may get lost... Apr 14 18:22:32 silver nagios: ndomod: Please check remote ndo2db log, database connection or SSL Parameters Apr 14 18:22:48 silver kernel: [694720.308001] ndo2db[535]: segfault at 7fff1da10ff8 rip 7f9615464696 rsp 7fff1da11000 error 6 Apr 14 18:22:48 silver nagios: ndomod: Successfully reconnected to data sink! 0 items lost, 86 queued items to flush. Apr 14 18:22:48 silver nagios: ndomod: Successfully flushed 86 queued items to data sink. Apr 14 18:22:48 silver nagios: ndomod: Error writing to data sink! Some output may get lost... Apr 14 18:22:48 silver nagios: ndomod: Please check remote ndo2db log, database connection or SSL Parameters And so on, with several more segfaults... If it helps for anything, setting the output_type for file seems to work well, with the file getting written. Can ndo2db read this file? For me it really doesn't matter which type of output I use, so long as it works... Thanks in advance, -- Daniel Gomes (SysAdmin) dgomes at ipfn.ist.utl.pt Ext. 3487 - 218419487 Instituto de Plasmas e Fus?o Nuclear Instituto Superior T?cnico - UTL Av. Rovisco Pais - 1049-001 Lisboa - Portugal ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From robert.l.odonnell at intel.com Wed Apr 14 23:15:24 2010 From: robert.l.odonnell at intel.com (O'Donnell, Robert L) Date: Wed, 14 Apr 2010 14:15:24 -0700 Subject: check_by_ssh failing - host key verification failed Message-ID: Running nagios 3.0.6 on OpenSUSE and trying to get info from a SUSE enterprise machine. Chk_by_ssh returns UNKNOWN and "Remote command execution failed: Host key verification failed", check_ping works. I have played with every combo of options I could think of, but same results. This is my first setup with remote checks on a linux machine (windows machine checks working fine), so it could be a newb problem. (from commands.cfg) # check_ssh_dummy command definition define command{ command_name check_ssh_dummy command_line $USER1$/check_by_ssh -H $HOSTADDRESS$ -l nagios -2 \ -I /etc/nagios/.ssh/id_dsa -C "/usr/lib/nagios/plugins/check_dummy 0" } I took out the desired response text to eliminate possible double quote issues, but it made no difference (from object config) define service{ use local-service host_name (machine_name) service_description PING check_command check_ping!100.0,20%!500.o,60% } define_service{ use local-service host_name (machine_name) service_description check_ssh_dummy! } >From the command line, I run: /usr/lib/nagios/plugins/check_by_ssh -H (machine_ip) -l nagios -i /etc/nagios.ssh/id_dsa -C "usr/lib/nagios/plugins/check_dummy 0" It returns OK I am having the same issue with check_ssh_disk. I do not have a MOTD for the shell, I have tried putting explicit paths in place of USER1, putting in the actual address for HOSTADDRESS, and many options on the Robert L. O'Donnell Advanced Equipment Engineering, IMO -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 14 23:47:22 2010 From: zarrelli at linux.it (Giorgio Zarrelli) Date: Wed, 14 Apr 2010 23:47:22 +0200 Subject: check_by_ssh failing - host key verification failed In-Reply-To: References: Message-ID: If u try an ssh login from Nagios box to the remote box, u can login without been asked for a password? Ciao, Giorgio Il giorno 14/apr/2010, alle ore 23.15, "O'Donnell, Robert L" ha scritto: > Running nagios 3.0.6 on OpenSUSE and trying to get info from a SUSE > enterprise machine. > > > > Chk_by_ssh returns UNKNOWN and ?Remote command execution failed: Hos > t key verification failed?, check_ping works. > > > > I have played with every combo of options I could think of, but same > results. This is my first setup with remote checks on a linux > machine (windows machine checks working fine), so it could be a newb > problem. > > > > (from commands.cfg) > > # check_ssh_dummy command definition > > define command{ > > command_name check_ssh_dummy > > command_line $USER1$/check_by_ssh ?H $HOSTADDRESS$ -l > nagios -2 \ > > ?I /etc/nagios/.ssh/id_dsa ?C ?/usr/lib/nagios/plugins/ > check_dummy 0? > > } > > > > I took out the desired response text to eliminate possible double > quote issues, but it made no difference > > > > > > (from object config) > > > > define service{ > > use local-service > > host_name (machine_name) > > service_description PING > > check_command check_ping!100.0,20%!500.o,60% > > } > > > > define_service{ > > use local-service > > host_name (machine_name) > > service_description check_ssh_dummy! > > } > > > > > > From the command line, I run: > > > > /usr/lib/nagios/plugins/check_by_ssh ?H (machine_ip) ?l nagios ? > i /etc/nagios.ssh/id_dsa ?C ?usr/lib/nagios/plugins/check_dummy > 0? > > > > It returns OK > > > > I am having the same issue with check_ssh_disk. I do not have a > MOTD for the shell, I have tried putting explicit paths in place of > USER1, putting in the actual address for HOSTADDRESS, and many > options on the > > > > > > Robert L. O'Donnell > > Advanced Equipment Engineering, IMO > > --- > --- > --- > --------------------------------------------------------------------- > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From robert.l.odonnell at intel.com Thu Apr 15 00:24:08 2010 From: robert.l.odonnell at intel.com (O'Donnell, Robert L) Date: Wed, 14 Apr 2010 15:24:08 -0700 Subject: check_by_ssh failing - host key verification failed Message-ID: Giorgio, Yes. Ssh (remote_machine_ip) -l nagios -I /etc/nagios/.ssh/id_dsa logs me in with prompt "nagios@(remote_machine_name):~>" and whoami returns nagios. ------------ If u try an ssh login from Nagios box to the remote box, u can login without been asked for a password? Ciao, Giorgio Robert L. O'Donnell Advanced Equipment Engineering, IMO Voice 408 653-5667 Cell 408/230-5203 Pager 4082305203 at messaging.sprintpcs.com email robert.l.odonnell at intel.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pschobel at 1iopen.net Thu Apr 15 01:58:21 2010 From: pschobel at 1iopen.net (Peter Schobel) Date: Wed, 14 Apr 2010 16:58:21 -0700 Subject: Nagios Availability Report Poor Performance Message-ID: Does anyone know why I might be getting really poor performance when running the availability report against a host? Disk iowait doesn't seem to be a problem. I notice when avail.cgi is running, the cpu wait can get pretty high for one cpu. I increased the apache timeout to 5 mins and still running a 31 day report seems to exceed the timeout. I am using Nagios 3.1.2. System hardware is 4x 3Ghz CPU cores and 4 Gigs RAM. I'd be happy to supply any additional information. Any help would be appreciated. Regards, -- Peter Schobel ~ ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 15 02:53:30 2010 From: patrick.morris at hp.com (patrick.morris at hp.com) Date: Wed, 14 Apr 2010 17:53:30 -0700 Subject: check_by_ssh failing - host key verification failed In-Reply-To: References: Message-ID: <20100415005330.GO17129@bakgwai.americas.hpqcorp.net> Hi O'Donnell,! On Wed, 14 Apr 2010, O'Donnell, Robert L wrote: > Giorgio, > > Yes. > > Ssh (remote_machine_ip) -l nagios ?I /etc/nagios/.ssh/id_dsa > > logs me in with prompt ?nagios@(remote_machine_name):~>? and > whoami returns nagios. I see that you're logging in by IP, but in the config snippet you included previously there was no IP defined in the host definition, so $HOSTADDRESS$ will expand to the same value as host_name. You'll need to log in using the same exact address (in this case, name) Nagios will be using to create an entry in your known_hosts file that matches what Nagios will be using. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Thu Apr 15 08:46:27 2010 From: ae at op5.se (Andreas Ericsson) Date: Thu, 15 Apr 2010 08:46:27 +0200 Subject: Nagios Availability Report Poor Performance In-Reply-To: References: Message-ID: <4BC6B643.3050203@op5.se> On 04/15/2010 01:58 AM, Peter Schobel wrote: > Does anyone know why I might be getting really poor performance when > running the availability report against a host? Disk iowait doesn't > seem to be a problem. I notice when avail.cgi is running, the cpu wait > can get pretty high for one cpu. I increased the apache timeout to 5 > mins and still running a 31 day report seems to exceed the timeout. > > I am using Nagios 3.1.2. > > System hardware is 4x 3Ghz CPU cores and 4 Gigs RAM. > > I'd be happy to supply any additional information. Any help would be > appreciated. > Are you putting your archived logfiles on a network mounted disk of some sort? How many hosts and services are you monitoring? -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 Considering the successes of the wars on alcohol, poverty, drugs and terror, I think we should give some serious thought to declaring war on peace. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gerard at facturize.nl Thu Apr 15 10:50:22 2010 From: gerard at facturize.nl (Gerard Petersen) Date: Thu, 15 Apr 2010 10:50:22 +0200 Subject: check_http (bogus) setup Message-ID: <4BC6D34E.9050008@facturize.nl> Hi All, I've been testing with the check_http service. I always was under the assumption that the setup below would check www.example.com define service{ use generic-service host_name myhost1 service_description http - www.example.com check_command check_http!www.example.com!/ } With this service definition (as often installed out of the box): define command{ command_name check_http command_line /usr/lib/nagios/plugins/check_http -H '$HOSTADDRESS$' } Wrong! It would check for a webserver on myhost1. Since there's nothing running at myhost1:80 i got a TCP error. Somewhat baffled I've been tailing the access.log of www.example.com to see when I actually got a hit. The funny thing is this (with no additional parms) even returns ok, would you have a webserver listening on myhost1:80 check_command check_http So, you would be wise to turn the command syntax into this: command_line /usr/lib/nagios/plugins/check_http -H '$ARG1$' -u '$ARG2$' Then this will actually test www.example.com: check_command check_http!www.example.com!/ Is it me or is this check_http setup misleading? (ubuntu 9.10 in this case) If you do have a webserver running at myhost1 that's the url you check. So you might see an OK status and think you're testing www.example.com .. but you would never touch it. Anybody experienced this? Regards, Gerard. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From manuchanteloup at gmail.com Thu Apr 15 11:28:05 2010 From: manuchanteloup at gmail.com (Emmanuel Chanteloup) Date: Thu, 15 Apr 2010 11:28:05 +0200 Subject: Check_jmx plugin problem In-Reply-To: References: Message-ID: Hi, I tried with check_by_ssh, to give it a try : /usr/local/nagios/libexec/check_by_ssh -H apwebscp01 -l nagios -C "/usr/local/nagios/libexec/check_jmx -U service:jmx:rmi:///jndi/rmi://localhost:8999/jmxrmi -O java.lang:type=Memory" Remote command execution failed: Exception in thread "main" java.lang.NoClassDefFoundError: ch.syabru.nagios.NagiosJmxPlugin ________________________________________________________________________ [nagios at aporcl11g objects]$ /usr/local/nagios/libexec/check_by_ssh -H apwebscp01 -l nagios -C "/usr/local/nagios/libexec/check_jmx -U service:jmx:rmi:///jndi/rmi://localhost:8999/jmxrmi -O 'java.lang:type=Memory'" Remote command execution failed: Exception in thread "main" java.lang.NoClassDefFoundError: ch.syabru.nagios.NagiosJmxPlugin ________________________________________________________________________ [nagios at aporcl11g objects]$ /usr/local/nagios/libexec/check_by_ssh -H apwebscp01 -l nagios -C "/usr/local/nagios/libexec/check_jmx -U service:jmx:rmi:///jndi/rmi://localhost:8999/jmxrmi -O '\java.lang:type=Memory'" Remote command execution failed: Exception in thread "main" java.lang.NoClassDefFoundError: ch.syabru.nagios.NagiosJmxPlugin Any help would be appreciated. Regards, Emmanuel 2010/4/13 Natxo Asenjo > On Tue, Apr 13, 2010 at 9:34 AM, Emmanuel Chanteloup > wrote: > > command[check_jmx]=/usr/local/nagios/libexec/check_jmx -U > > service:jmx:rmi:///jndi/rmi://localhost:8999/jmxrmi -O > java.lang:type=Memory > > -A HeapMemoryUsage -K used -I HeapMemoryUsage -J used -vvvv -w 800000000 > -c > > 1500000000 > > ok, try this: > > command[check_jmx]="/usr/local/nagios/libexec/check_jmx -U > service:jmx:rmi:///jndi/rmi://localhost:8999/jmxrmi -O > java.lang:type=Memory > -A HeapMemoryUsage -K used -I HeapMemoryUsage -J used -vvvv -w 800000000 > -c > 1500000000" > > that is, with inverted commas. If it doesn't work, try escaping the > uris like this: > > service:jmx:rmi:\/\/\/jndi/rmi:/\/\localhost:8999\/jmxrmi > > You may also try the developers list, maybe they can help you further. > Hope this helps > > -- > natxo > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kasper at nordal-lund.dk Thu Apr 15 11:19:49 2010 From: kasper at nordal-lund.dk (Kasper Nordal Lund) Date: Thu, 15 Apr 2010 11:19:49 +0200 Subject: [SPAM] Re: Simple Print queue monitoring In-Reply-To: References: Message-ID: <4434951403fad9f5c926c8fd21e20885@godfather> On Wed, 14 Apr 2010 12:36:12 +0530, keshav murthy wrote: Hello All, I would like to know if we have any ready plugins/scripts for monitoring the print queue. We are still running nrpe and pnsclient on the clients. Any help will be appreciated. Cheers Kesava Hi Kesava. I assume you are talking windows machines? I use nrpe with this command: check_nrpe -H $ARG1$ -p 5666 -t 30 -c CheckCounter -a "\Print Queue($ARG2$)\Jobs" MaxWarn=$ARG3$ MaxCrit=$ARG4$ Where $ARG2$ = printername on the host. You need to have cehckwmi enabled in the NRPE configuration. Regards. /Kasper -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From paul.willis at kent.pnn.police.uk Thu Apr 15 12:15:56 2010 From: paul.willis at kent.pnn.police.uk (Paul WILLIS PSE 55499) Date: Thu, 15 Apr 2010 11:15:56 +0100 Subject: Check_jmx plugin problem In-Reply-To: References: Message-ID: <4BC6F56C020000C400017216@kent.pnn.police.uk> Hi Emmanuel What user/group do you have set in /etc/xinet.d/nrpe? Are you sure that combination has all the rights it needs? Perhaps its worth setting it to root or putting an entry in the sudoers file to allow that user to run the command. It looks like it cannot read one of the java files, possibly jmxquery.jar? Regards Paul >>> Emmanuel Chanteloup 15/04/10 10:28 >>> Hi, I tried with check_by_ssh, to give it a try : /usr/local/nagios/libexec/check_by_ssh -H apwebscp01 -l nagios -C "/usr/local/nagios/libexec/check_jmx -U service:jmx:rmi:///jndi/rmi://localhost:8999/jmxrmi -O java.lang:type=Memory" Remote command execution failed: Exception in thread "main" java.lang.NoClassDefFoundError: ch.syabru.nagios.NagiosJmxPlugin ________________________________________________________________________ [nagios at aporcl11g objects]$ /usr/local/nagios/libexec/check_by_ssh -H apwebscp01 -l nagios -C "/usr/local/nagios/libexec/check_jmx -U service:jmx:rmi:///jndi/rmi://localhost:8999/jmxrmi -O 'java.lang:type=Memory'" Remote command execution failed: Exception in thread "main" java.lang.NoClassDefFoundError: ch.syabru.nagios.NagiosJmxPlugin ________________________________________________________________________ [nagios at aporcl11g objects]$ /usr/local/nagios/libexec/check_by_ssh -H apwebscp01 -l nagios -C "/usr/local/nagios/libexec/check_jmx -U service:jmx:rmi:///jndi/rmi://localhost:8999/jmxrmi -O '\java.lang:type=Memory'" Remote command execution failed: Exception in thread "main" java.lang.NoClassDefFoundError: ch.syabru.nagios.NagiosJmxPlugin Any help would be appreciated. Regards, Emmanuel 2010/4/13 Natxo Asenjo On Tue, Apr 13, 2010 at 9:34 AM, Emmanuel Chanteloup wrote: > command[check_jmx]=/usr/local/nagios/libexec/check_jmx -U > service:jmx:rmi:///jndi/rmi://localhost:8999/jmxrmi -O java.lang:type=Memory > -A HeapMemoryUsage -K used -I HeapMemoryUsage -J used -vvvv -w 800000000 -c > 1500000000 ok, try this: command[check_jmx]="/usr/local/nagios/libexec/check_jmx -U service:jmx:rmi:///jndi/rmi://localhost:8999/jmxrmi -O java.lang:type=Memory -A HeapMemoryUsage -K used -I HeapMemoryUsage -J used -vvvv -w 800000000 -c 1500000000" that is, with inverted commas. If it doesn't work, try escaping the uris like this: service:jmx:rmi:\/\/\/jndi/rmi:/\/\localhost:8999\/jmxrmi You may also try the developers list, maybe they can help you further. Hope this helps -- natxo ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Traiano.Welcome at mtnbusiness.co.za Thu Apr 15 12:19:42 2010 From: Traiano.Welcome at mtnbusiness.co.za (Traiano Welcome) Date: Thu, 15 Apr 2010 12:19:42 +0200 Subject: Nagios 3 Include File Mechanism Message-ID: Hi List I have an awkward nagios 3 configuration setup where configs for monitored hosts are automatically generated from a database, but I also have need to add new hosts via a manual method in a separate configuration file. It looks like an "include file" mechanism would be needed in the main nagios configuration file that would point to single file that holds all the configs for hosts added manually. Is there such a configuration option in NAGIOS 3? Thanks in advance, Traiano Welcome NOTE: This e-mail message and all attachments thereto contain confidential information intended for a specific addressee and purpose. If you are not the addressee (a) you may not disclose, copy, distribute or take any action based on the contents hereof; (b) kindly inform the sender immediately and destroy all copies hereof. Any copying, publication or disclosure of this message, or part hereof, in any form whatsoever, without the sender's express written consent, is prohibited. No opinion expressed or implied by the sender necessarily constitutes the opinion of MTN. This message does not constitute a guarantee or proof of the facts mentioned herein. No Employee or intermediary is authorised to conclude a binding agreement on behalf of MTN Group Limited, or any of its subsidiary companies, by e-mail without the express written confirmation by a duly authorised representative of MTN Group Limited. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From paul.willis at kent.pnn.police.uk Thu Apr 15 12:25:14 2010 From: paul.willis at kent.pnn.police.uk (Paul WILLIS PSE 55499) Date: Thu, 15 Apr 2010 11:25:14 +0100 Subject: Nagios 3 Include File Mechanism In-Reply-To: References: Message-ID: <4BC6F79A020000C40001721B@kent.pnn.police.uk> Use the cfg_dir= command in the main config file. All files with a .cfg extension in that directory will be automatically included as well. Paul >>> Traiano Welcome 15/04/10 11:19 >>> Hi List I have an awkward nagios 3 configuration setup where configs for monitored hosts are automatically generated from a database, but I also have need to add new hosts via a manual method in a separate configuration file. It looks like an "include file" mechanism would be needed in the main nagios configuration file that would point to single file that holds all the configs for hosts added manually. Is there such a configuration option in NAGIOS 3? Thanks in advance, Traiano Welcome NOTE: This e-mail message and all attachments thereto contain confidential information intended for a specific addressee and purpose. If you are not the addressee (a) you may not disclose, copy, distribute or take any action based on the contents hereof; (b) kindly inform the sender immediately and destroy all copies hereof. Any copying, publication or disclosure of this message, or part hereof, in any form whatsoever, without the sender's express written consent, is prohibited. No opinion expressed or implied by the sender necessarily constitutes the opinion of MTN. This message does not constitute a guarantee or proof of the facts mentioned herein. No Employee or intermediary is authorised to conclude a binding agreement on behalf of MTN Group Limited, or any of its subsidiary companies, by e-mail without the express written confirmation by a duly authorised representative of MTN Group Limited. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From benny at bennyvision.com Thu Apr 15 12:27:45 2010 From: benny at bennyvision.com (C. Bensend) Date: Thu, 15 Apr 2010 05:27:45 -0500 Subject: Nagios 3 Include File Mechanism In-Reply-To: References: Message-ID: <91e6ca9def9ce3a6c8de9688db25fd41.squirrel@webmail.stinkweasel.net> > I have an awkward nagios 3 configuration setup where configs for monitored > hosts are automatically generated from a database, but I also have need to > add new hosts via a manual method in a separate configuration file. > It looks like an "include file" mechanism would be needed in the main > nagios > configuration file that would point to single file that holds all the > configs for hosts added manually. > > Is there such a configuration option in NAGIOS 3? Yes. http://nagios.sourceforge.net/docs/3_0/configmain.html The documentation for Nagios is actually very good... It might be worth taking a spin through the entire thing. I do occasionally, and still learn new things when I do. :) Benny -- Me: 'How big a monster can you take out with one of those? Would you win a fight with Godzilla?' Jim: 'You could disassemble Godzilla at a range of seven miles.' -- Blog entry about the 76mm Melera, a gun on a US Navy Perry-class frigate that Somali pirates tried to seize ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Traiano.Welcome at mtnbusiness.co.za Thu Apr 15 12:40:10 2010 From: Traiano.Welcome at mtnbusiness.co.za (Traiano Welcome) Date: Thu, 15 Apr 2010 12:40:10 +0200 Subject: Nagios 3 Include File Mechanism In-Reply-To: <91e6ca9def9ce3a6c8de9688db25fd41.squirrel@webmail.stinkweasel.net> References: <91e6ca9def9ce3a6c8de9688db25fd41.squirrel@webmail.stinkweasel.net> Message-ID: * ahem * Thanks :-) Traiano On 2010/04/15 12:27 PM, "C. Bensend" wrote: > >> I have an awkward nagios 3 configuration setup where configs for monitored >> hosts are automatically generated from a database, but I also have need to >> add new hosts via a manual method in a separate configuration file. >> It looks like an "include file" mechanism would be needed in the main >> nagios >> configuration file that would point to single file that holds all the >> configs for hosts added manually. >> >> Is there such a configuration option in NAGIOS 3? > > Yes. NOTE: This e-mail message and all attachments thereto contain confidential information intended for a specific addressee and purpose. If you are not the addressee (a) you may not disclose, copy, distribute or take any action based on the contents hereof; (b) kindly inform the sender immediately and destroy all copies hereof. Any copying, publication or disclosure of this message, or part hereof, in any form whatsoever, without the sender's express written consent, is prohibited. No opinion expressed or implied by the sender necessarily constitutes the opinion of MTN. This message does not constitute a guarantee or proof of the facts mentioned herein. No Employee or intermediary is authorised to conclude a binding agreement on behalf of MTN Group Limited, or any of its subsidiary companies, by e-mail without the express written confirmation by a duly authorised representative of MTN Group Limited. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dgomes at ipfn.ist.utl.pt Thu Apr 15 13:14:08 2010 From: dgomes at ipfn.ist.utl.pt (Daniel Gomes) Date: Thu, 15 Apr 2010 12:14:08 +0100 Subject: Fwd: Segmentation Fault with NDOUtils Message-ID: <4BC6F500.9090900@ipfn.ist.utl.pt> Hey all, for anyone who might me thinking about answering, I solved the issue. Turns out I'd forgotten this was a 64 buts machine, and even though I set "--with-mysql-lib" which solved the issues to many other users, I sued /usr/lib/mysql instead of /usr/lib64/mysql. Using this second choice solved the segmentation faults! Thanks anyway, -------- Mensagem Original -------- Assunto: Segmentation Fault with NDOUtils Data: Wed, 14 Apr 2010 18:26:39 +0100 De: Daniel Gomes Para: nagios-users at lists.sourceforge.net Dear list members, I've been trying to get NDOutils to work so I can use a MySQL backend (and later Centreon, but that's a different story). Before I forget, this is a Ubuntu Hardy (8.04.4) running Nagios 3.2.1, Nagios Plugins 1.4.14 and NDOUtils 1.4b9. I am installing everything from the source files, with explations provided on some tutorials I found. The basic Nagios installation is working fine, I can access the Web GUI and view the stats for my local machine. After having this setup, I moved on to trying to get NDOUtils to work. After some troubles trying to find the MySQL libs etc, I tried with the default configuration, UNIX sockets, which yielded some problems. So I then tried TCP sockets, which is the current configuration. So, as for ndo2db.cfg (the MySQL data is all tested - I manually connected with the said user and was able to insert and delete rows into a nagios_* table): # grep -v '^#' ndo2db.cfg | grep -v '^$' lock_file=/usr/local/nagios/var/ndo2db.lock ndo2db_user=nagios ndo2db_group=nagios socket_type=tcp socket_name=/usr/local/nagios/var/ndo.sock tcp_port=5668 use_ssl=0 db_servertype=mysql db_host=XXX db_port=3306 db_name=nagiosdb db_prefix=nagios_ db_user=nagios db_pass=XXX max_timedevents_age=1440 max_systemcommands_age=10080 max_servicechecks_age=10080 max_hostchecks_age=10080 max_eventhandlers_age=44640 max_externalcommands_age=44640 debug_level=-1 debug_verbosity=2 debug_file=/var/log/ndo2db.debug max_debug_file_size=1000000 ------------------------------ (and by the way, like some other people I found on other pages, I can't get any info to show up on /var/log/ndo2db.debug) I am able to start ndo2sql (I'm using a custom script I found on some tutorial, I can post it if you'd like) and the proof that all is working is: # netstat -plane | grep 5668 tcp 0 0 0.0.0.0:5668 0.0.0.0:* LISTEN 1012 1231363 32676/ndo2db As I mentioned, nothing (good or bad) gets written to the debug file. ------------------------------ On to nagios.cfg (I guess these are the only important fields): # grep -v "#" nagios.cfg | grep broker event_broker_options=-1 broker_module=/usr/local/nagios/bin/ndomod.o config_file=/usr/local/nagios/etc/ndomod.cfg And finally ndomod.cfg: # grep -v '^#' /usr/local/nagios/etc/ndomod.cfg | grep -v '^$' instance_name=default output_type=tcpsocket output=127.0.0.1 tcp_port=5668 use_ssl=0 output_buffer_items=5000 buffer_file=/usr/local/nagios/var/ndomod.tmp file_rotation_interval=14400 file_rotation_timeout=60 reconnect_interval=15 reconnect_warning_interval=15 data_processing_options=-1 config_output_options=2 Starting nagios just says "done" without errors/warnings, but checking the logs (/var/log/nagios.log): [1271265751] Nagios 3.2.1 starting... (PID=520) [1271265751] Local time is Wed Apr 14 18:22:31 WEST 2010 [1271265751] LOG VERSION: 2.0 [1271265751] ndomod: NDOMOD 1.4b9 (10-27-2009) Copyright (c) 2009 Nagios Core Development Team and Community Contributors [1271265751] ndomod: Successfully connected to data sink. 54 queued items to flush. [1271265751] ndomod: Successfully flushed 54 queued items to data sink. [1271265751] Event broker module '/usr/local/nagios/bin/ndomod.o' initialized successfully. [1271265751] Finished daemonizing... (New PID=522) [1271265752] ndomod: Error writing to data sink! Some output may get lost... [1271265752] ndomod: Please check remote ndo2db log, database connection or SSL Parameters [1271265768] ndomod: Successfully reconnected to data sink! 0 items lost, 86 queued items to flush. [1271265768] ndomod: Successfully flushed 86 queued items to data sink. [1271265768] ndomod: Error writing to data sink! Some output may get lost... [1271265768] ndomod: Please check remote ndo2db log, database connection or SSL Parameters [1271265784] ndomod: Successfully reconnected to data sink! 0 items lost, 82 queued items to flush. [1271265784] ndomod: Successfully flushed 82 queued items to data sink. [1271265784] ndomod: Error writing to data sink! Some output may get lost... [1271265784] ndomod: Please check remote ndo2db log, database connection or SSL Parameters [1271265800] ndomod: Successfully reconnected to data sink! 0 items lost, 85 queued items to flush. [1271265800] ndomod: Successfully flushed 85 queued items to data sink. [1271265800] ndomod: Error writing to data sink! Some output may get lost... [1271265800] ndomod: Please check remote ndo2db log, database connection or SSL Parameters Still nothing on the ndo2db debug log, and checking the syslog: Apr 14 18:22:31 silver nagios: Event broker module '/usr/local/nagios/bin/ndomod.o' initialized successfully. Apr 14 18:22:31 silver nagios: Finished daemonizing... (New PID=522) Apr 14 18:22:31 silver kernel: [694704.043377] ndo2db[521]: segfault at 7fff1da10ff8 rip 7f9615464696 rsp 7fff1da11000 error 6 Apr 14 18:22:32 silver nagios: ndomod: Error writing to data sink! Some output may get lost... Apr 14 18:22:32 silver nagios: ndomod: Please check remote ndo2db log, database connection or SSL Parameters Apr 14 18:22:48 silver kernel: [694720.308001] ndo2db[535]: segfault at 7fff1da10ff8 rip 7f9615464696 rsp 7fff1da11000 error 6 Apr 14 18:22:48 silver nagios: ndomod: Successfully reconnected to data sink! 0 items lost, 86 queued items to flush. Apr 14 18:22:48 silver nagios: ndomod: Successfully flushed 86 queued items to data sink. Apr 14 18:22:48 silver nagios: ndomod: Error writing to data sink! Some output may get lost... Apr 14 18:22:48 silver nagios: ndomod: Please check remote ndo2db log, database connection or SSL Parameters And so on, with several more segfaults... If it helps for anything, setting the output_type for file seems to work well, with the file getting written. Can ndo2db read this file? For me it really doesn't matter which type of output I use, so long as it works... Thanks in advance, -- Daniel Gomes (SysAdmin) dgomes at ipfn.ist.utl.pt Ext. 3487 - 218419487 Instituto de Plasmas e Fus?o Nuclear Instituto Superior T?cnico - UTL Av. Rovisco Pais - 1049-001 Lisboa - Portugal -- Daniel Gomes (SysAdmin) dgomes at ipfn.ist.utl.pt Ext. 3487 - 218419487 Instituto de Plasmas e Fus?o Nuclear Instituto Superior T?cnico - UTL Av. Rovisco Pais - 1049-001 Lisboa - Portugal -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rakesh.kakde at gmail.com Thu Apr 15 13:35:04 2010 From: rakesh.kakde at gmail.com (rakesh kakde) Date: Thu, 15 Apr 2010 17:05:04 +0530 Subject: Monitor IBM storage from nagios. Message-ID: Dear All, Is there any possibility to monitor IBM storage DS8100 and DS4800 so that I can get the trend analysis in pnp4nagios for parameters like Allocated Capacity Available Capacity Allocated Capacity Volume Group Capacity Volume Group Freespace %Allocated VG Capacity Cache Size Nonvolatile Storage Tot I/Os (ops/s) Tot MB (MB/s) Tot Time (ms/op) Avg Max Avg Max Avg Max Tot Xfer (KB/op) Tot Hit% (%) Wrt-cch delay% (%) Avg Max Avg Max Tot I/Os (ops/s) Tot MB (MB/s) Tot Time (ms/op) Avg Max Avg Max Avg Max Any help is highly appriciated. Regards Rakesh Kakde -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lists at xodus.org Thu Apr 15 14:45:00 2010 From: lists at xodus.org (Marc Powell) Date: Thu, 15 Apr 2010 07:45:00 -0500 Subject: check_http (bogus) setup In-Reply-To: <4BC6D34E.9050008@facturize.nl> References: <4BC6D34E.9050008@facturize.nl> Message-ID: <66E174BE-62B3-4C90-B231-511C3080C0F7@xodus.org> On Apr 15, 2010, at 3:50 AM, Gerard Petersen wrote: > Hi All, > > I've been testing with the check_http service. I always was under the > assumption that the setup below would check www.example.com Why did you make this assumption? It's not documented to work like this. > check_command check_http!www.example.com!/ > With this service definition (as often installed out of the box): > > define command{ > command_name check_http > command_line /usr/lib/nagios/plugins/check_http -H '$HOSTADDRESS$' > } It's not been like this in a long time I believe. Perhaps you've installed from a distribution specific package and they've deviated from current nagios? If so, there's nothing that we can do about that. This is what the official package uses -- # 'check_http' command definition define command{ command_name check_http command_line $USER1$/check_http -I $HOSTADDRESS$ $ARG1$ } Note that your assumed configuration still wouldn't work here but the official documentation expects this definition. See 'Monitoring HTTP' at http://nagios.sourceforge.net/docs/3_0/monitoring-publicservices.html. > Wrong! It would check for a webserver on myhost1. Since there's nothing > running at myhost1:80 i got a TCP error. Somewhat baffled I've been tailing > the access.log of www.example.com to see when I actually got a hit. > The funny thing is this (with no additional parms) even returns ok, would > you have a webserver listening on myhost1:80 > > check_command check_http This is because your command_line doesn't use any of the params you think you're passing it ($ARG1$, $ARG2$). > So, you would be wise to turn the command syntax into this: > > command_line /usr/lib/nagios/plugins/check_http -H '$ARG1$' -u '$ARG2$' Or follow the example documented use of the plugin. In general, you can't make assumptions about how a plugin works without looking at, and understanding, the defined command_line for that plugin. Every one is different. > Then this will actually test www.example.com: > > check_command check_http!www.example.com!/ > > Is it me or is this check_http setup misleading? (ubuntu 9.10 in this case) No, but that would depend on the documentation you're referencing to use the plugin. If the ubuntu documentation says that your format works with their packaged version of the check_http command definition, then that is misleading and they should correct that. Otherwise it looks like you made an incorrect assumption about how something worked without understanding it. If I buy a car from a dealer and they tell me it runs on diesel, fill it up with diesel and it doesn't, then that's their fault. If they don't tell me anything about it and I assume it does without reading the manual, that's my fault. For a new admin, the simplest use case is just to check that a web server is listening on a host. That's what your definition does and what the official definition does if no additional parameters are passed. As an admin becomes more familiar with the plugin and more sophisticated in what they want to do they need to edit either one or both of the command_line and check_command in your case but only the check_command in the official case. I think the official way provides the most flexibility all around, IMHO. -- Marc ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From manuchanteloup at gmail.com Thu Apr 15 15:07:38 2010 From: manuchanteloup at gmail.com (Emmanuel Chanteloup) Date: Thu, 15 Apr 2010 15:07:38 +0200 Subject: Check_jmx plugin problem In-Reply-To: <4BC6F56C020000C400017216@kent.pnn.police.uk> References: <4BC6F56C020000C400017216@kent.pnn.police.uk> Message-ID: Hi Paul, I also tried with check_by_ssh, here is what I get : /usr/local/nagios/libexec/check_by_ssh -H apwebscp01 -l nagios -C '/usr/local/nagios/libexec/check_jmx -U service:jmx:rmi:///jndi/rmi://localhost:8999/jmxrmi -A HeapMemoryUsage -K used -O java.lang:type=Memory' Remote command execution failed: Exception in thread "main" java.lang.NoClassDefFoundError: ch.syabru.nagios.NagiosJmxPlugin I also tried to add " : /usr/local/nagios/libexec/check_by_ssh -H apwebscp01 -l nagios -C '/usr/local/nagios/libexec/check_jmx -U service:jmx:rmi:///jndi/rmi://localhost:8999/jmxrmi -A HeapMemoryUsage -K used -O "java.lang:type=Memory"' Could not open pipe: /usr/bin/ssh -l nagios apwebscp01 '/usr/local/nagios/libexec/check_jmx -U service:jmx:rmi:///jndi/rmi://localhost:8999/jmxrmi -A HeapMemoryUsage -K used -O "java.lang:type=Memory"' I think this one is due to -O which also is a check_by_ssh variable. It is just driving me crazy :) Thanks anyway, Regards, Emmanuel 2010/4/15 Paul WILLIS PSE 55499 > Hi Emmanuel > > What user/group do you have set in /etc/xinet.d/nrpe? Are you sure that > combination has all the rights it needs? > Perhaps its worth setting it to root or putting an entry in the sudoers > file to allow that user to run the command. It looks like > it cannot read one of the java files, possibly jmxquery.jar? > > > Regards > > Paul > > > >>> Emmanuel Chanteloup 15/04/10 10:28 >>> > > Hi, > > I tried with check_by_ssh, to give it a try : > > /usr/local/nagios/libexec/check_by_ssh -H apwebscp01 -l nagios -C > "/usr/local/nagios/libexec/check_jmx -U > service:jmx:rmi:///jndi/rmi://localhost:8999/jmxrmi -O > java.lang:type=Memory" > > Remote command execution failed: Exception in thread "main" > java.lang.NoClassDefFoundError: ch.syabru.nagios.NagiosJmxPlugin > ________________________________________________________________________ > [nagios at aporcl11g objects]$ /usr/local/nagios/libexec/check_by_ssh -H > apwebscp01 -l nagios -C "/usr/local/nagios/libexec/check_jmx -U > service:jmx:rmi:///jndi/rmi://localhost:8999/jmxrmi -O > 'java.lang:type=Memory'" > > Remote command execution failed: Exception in thread "main" > java.lang.NoClassDefFoundError: ch.syabru.nagios.NagiosJmxPlugin > ________________________________________________________________________ > > [nagios at aporcl11g objects]$ /usr/local/nagios/libexec/check_by_ssh -H > apwebscp01 -l nagios -C "/usr/local/nagios/libexec/check_jmx -U > service:jmx:rmi:///jndi/rmi://localhost:8999/jmxrmi -O > '\java.lang:type=Memory'" > Remote command execution failed: Exception in thread "main" > java.lang.NoClassDefFoundError: ch.syabru.nagios.NagiosJmxPlugin > > Any help would be appreciated. > > Regards, > > Emmanuel > > 2010/4/13 Natxo Asenjo > >> On Tue, Apr 13, 2010 at 9:34 AM, Emmanuel Chanteloup >> wrote: >> > command[check_jmx]=/usr/local/nagios/libexec/check_jmx -U >> > service:jmx:rmi:///jndi/rmi://localhost:8999/jmxrmi -O >> java.lang:type=Memory >> > -A HeapMemoryUsage -K used -I HeapMemoryUsage -J used -vvvv -w 800000000 >> -c >> > 1500000000 >> >> ok, try this: >> >> command[check_jmx]="/usr/local/nagios/libexec/check_jmx -U >> service:jmx:rmi:///jndi/rmi://localhost:8999/jmxrmi -O >> java.lang:type=Memory >> -A HeapMemoryUsage -K used -I HeapMemoryUsage -J used -vvvv -w 800000000 >> -c >> 1500000000" >> >> that is, with inverted commas. If it doesn't work, try escaping the >> uris like this: >> >> service:jmx:rmi:\/\/\/jndi/rmi:/\/\localhost:8999\/jmxrmi >> >> You may also try the developers list, maybe they can help you further. >> Hope this helps >> >> -- >> natxo >> >> >> ------------------------------------------------------------------------------ >> Download Intel® Parallel Studio Eval >> Try the new software tools for yourself. Speed compiling, find bugs >> proactively, and fine-tune applications for parallel performance. >> See why Intel Parallel Studio got high marks during beta. >> http://p.sf.net/sfu/intel-sw-dev >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> > > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kamble at gmail.com Thu Apr 15 15:12:36 2010 From: kamble at gmail.com (Shashank Kamble) Date: Thu, 15 Apr 2010 10:12:36 -0300 Subject: design doc for nagios Message-ID: Just wondering if any one have a default design doc for Nagios. Cheers, Shashank -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From s6a9d6u9s at gmail.com Thu Apr 15 17:24:20 2010 From: s6a9d6u9s at gmail.com (Jeremy) Date: Thu, 15 Apr 2010 10:24:20 -0500 Subject: bizarre Nagios 2.12 memory leak Message-ID: We have a large distributed setup running Nagios 2.12 with 20 distributed servers sharing about 20000 checks against 2500 hosts. They are reporting into multiple master Nagios servers using a modified OCP_daemon that handles multiple master servers. Recently we nearly doubled our number of distributed servers. Our number of checks had grown so we only were doing about 20-30% per minute on some of our most busy distributed servers. Now we are doing 90% per minute. Ever since we increased the frequency of all the checks, our oldest Master server has started crashing randomly every so often. Nothing else has changed. Memory use goes through the roof until eventually there is 0 swap left and the server finally crashes and has to be rebooted. If we restart the Nagios service while the memory usage is going crazy, it drops back down to normal for quite a while, but days later it will happen again. I started restarting Nagios on that server once an hour but it hasn't helped. We tried upgrading to 16 GB of RAM which has made this happen a bit less often, but it continues to happen sometimes. We are using NPCD to graph the performance data from all of our checks, but all the graph .RRD files are on a dedicated partition, and the crashing happens even when we disable graphing completely and disk I/O is near 0% on both the system partitions and the graph partition. So I was wondering how I could go about figuring out why Nagios is freaking out on our older server (Dell PowerEdge 1950). Our other Master server (a Dell PowerEdge R710) gets all the same checks reported to it, and handles it just fine, but it using much newer Xeon CPUs, faster memory, etc. The old crashing server handles things just fine for days at a time until it randomly runs itself out of swap space and crashes. I know I really should get around to upgrading to Nagios 3.x but no time for that yet and it's going to be a pain to upgrade them all at once without being blind for a little bit, so pretend Nagios 3.x isn't an option just yet. Thanks for any insight! Jeremy -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Apr 15 17:43:22 2010 From: zarrelli at linux.it (Giorgio Zarrelli) Date: Thu, 15 Apr 2010 17:43:22 +0200 Subject: bizarre Nagios 2.12 memory leak In-Reply-To: References: Message-ID: Did you check zombie procs growth an iowait om cpu? Ciao, Giorgio Il giorno 15/apr/2010, alle ore 17.24, Jeremy ha scritto: > We have a large distributed setup running Nagios 2.12 with 20 > distributed servers sharing about 20000 checks against 2500 hosts. > They are reporting into multiple master Nagios servers using a > modified OCP_daemon that handles multiple master servers. Recently > we nearly doubled our number of distributed servers. Our number of > checks had grown so we only were doing about 20-30% per minute on > some of our most busy distributed servers. Now we are doing 90% per > minute. > > Ever since we increased the frequency of all the checks, our oldest > Master server has started crashing randomly every so often. Nothing > else has changed. Memory use goes through the roof until eventually > there is 0 swap left and the server finally crashes and has to be > rebooted. If we restart the Nagios service while the memory usage is > going crazy, it drops back down to normal for quite a while, but > days later it will happen again. I started restarting Nagios on that > server once an hour but it hasn't helped. We tried upgrading to 16 > GB of RAM which has made this happen a bit less often, but it > continues to happen sometimes. > > We are using NPCD to graph the performance data from all of our > checks, but all the graph .RRD files are on a dedicated partition, > and the crashing happens even when we disable graphing completely > and disk I/O is near 0% on both the system partitions and the graph > partition. > > So I was wondering how I could go about figuring out why Nagios is > freaking out on our older server (Dell PowerEdge 1950). Our other > Master server (a Dell PowerEdge R710) gets all the same checks > reported to it, and handles it just fine, but it using much newer > Xeon CPUs, faster memory, etc. The old crashing server handles > things just fine for days at a time until it randomly runs itself > out of swap space and crashes. > > I know I really should get around to upgrading to Nagios 3.x but no > time for that yet and it's going to be a pain to upgrade them all at > once without being blind for a little bit, so pretend Nagios 3.x > isn't an option just yet. > > Thanks for any insight! > Jeremy > --- > --- > --- > --------------------------------------------------------------------- > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 15 19:01:59 2010 From: patrick.morris at hp.com (Morris, Patrick) Date: Thu, 15 Apr 2010 10:01:59 -0700 Subject: check_http (bogus) setup In-Reply-To: <4BC6D34E.9050008@facturize.nl> References: <4BC6D34E.9050008@facturize.nl> Message-ID: <4BC74687.1080600@hp.com> Gerard Petersen wrote: > Hi All, > > I've been testing with the check_http service. I always was under the > assumption that the setup below would check www.example.com > > define service{ > use generic-service > host_name myhost1 > service_description http - www.example.com > check_command check_http!www.example.com!/ > } > > With this service definition (as often installed out of the box): > > define command{ > command_name check_http > command_line /usr/lib/nagios/plugins/check_http -H '$HOSTADDRESS$' > } > > Wrong! It would check for a webserver on myhost1. Since there's nothing > running at myhost1:80 i got a TCP error. Somewhat baffled I've been tailing > the access.log of www.example.com to see when I actually got a hit. > Why would you assume it would check www.example.com? Your service definition clearly tells it to check $HOSTADDRESS$, which is the address of the host the service is defined on. > The funny thing is this (with no additional parms) even returns ok, would > you have a webserver listening on myhost1:80 > > check_command check_http > > So, you would be wise to turn the command syntax into this: > > command_line /usr/lib/nagios/plugins/check_http -H '$ARG1$' -u '$ARG2$' > > Then this will actually test www.example.com: > > check_command check_http!www.example.com!/ > > Is it me or is this check_http setup misleading? (ubuntu 9.10 in this case) > It's you. The plugin's parameters, and the value of Nagios's macros, are all very well-defined and well-documented. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From num_sura at hotmail.com Thu Apr 15 19:35:25 2010 From: num_sura at hotmail.com (alvaro morales) Date: Thu, 15 Apr 2010 17:35:25 +0000 Subject: unsuscribe Message-ID: unsuscribe _________________________________________________________________ Hotmail: Free, trusted and rich email service. https://signup.live.com/signup.aspx?id=60969 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rick.mangus+nagios at gmail.com Thu Apr 15 20:09:38 2010 From: rick.mangus+nagios at gmail.com (Rick Mangus) Date: Thu, 15 Apr 2010 13:09:38 -0500 Subject: Bug reporting Message-ID: Hi all: I was wondering if tracker.nagios.org is the correct place to file bug reports and the like. It seems that no-one has edited a report since Feb 1st. I submitted a bug report and patch about a week ago, and was wondering if I should notify someone via email, if there's another tracker, or what. While I only found a small problem that is no longer bothering me, I would like to see this fixed! So, if anyone here knows a better place to forward this to, do let me know. My initial report is here: http://tracker.nagios.org/view.php?id=138 --Rick Mangus ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Apr 15 20:12:08 2010 From: lecb79 at gmail.com (Eduardo Barreto) Date: Thu, 15 Apr 2010 15:12:08 -0300 Subject: NagioQL - Nagios 3.2.1 Message-ID: Fellows, Are there any problem using NagiosQL with Nagios Core 3.2.1? Thanks in advance. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jcasale at activenetwerx.com Thu Apr 15 22:11:39 2010 From: jcasale at activenetwerx.com (Joseph L. Casale) Date: Thu, 15 Apr 2010 20:11:39 +0000 Subject: Parent relationships versus dependencies Message-ID: While attempting to finally get to writing out my dependencies config file, I noticed that the docs suggest that for Host deps, parent relationships should be used. I got unreachable alerts from a host whose parent was down, and once the parent returned online, I immediately got the down alert. Either it doesn't make sense to alert on "unreachable" or I still need the dependencies.cfg setup to prevent the unreachable alerts from being dispatched? What's the consensus on this configuration? Thanks! jlc ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From schneemann at b1-systems.de Thu Apr 15 22:35:45 2010 From: schneemann at b1-systems.de (Christian Schneemann) Date: Thu, 15 Apr 2010 22:35:45 +0200 Subject: Parent relationships versus dependencies In-Reply-To: References: Message-ID: <201004152235.45264.schneemann@b1-systems.de> Hi, On Thursday 15 April 2010 10:11:39 pm Joseph L. Casale wrote: > While attempting to finally get to writing out my dependencies config file, > I noticed that the docs suggest that for Host deps, parent relationships > should be used. I got unreachable alerts from a host whose parent was > down, and once the parent returned online, I immediately got the down > alert. > > Either it doesn't make sense to alert on "unreachable" or I still need the > dependencies.cfg setup to prevent the unreachable alerts from being > dispatched? it's up to you if you want a notification if a host is unreachable, or just for the parent that's down. Have a look at the notification_options for your hosts, there you can configure if these unreachable messages should be sent. (or host_notification_options at contacts, ...) I think it could be interesting for some people to know which hosts can not be reached if a special host is down. Regards, Christian > > What's the consensus on this configuration? > > Thanks! > jlc > > --------------------------------------------------------------------------- > --- Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > ::: reporting any issue. Messages without supporting info will risk being > ::: sent to /dev/null > -- Christian Schneemann Geschaeftsfuehrer: Ralph Dehner IT Consultant & Trainer Unternehmenssitz: Vohburg B1 Systems GmbH Amtsgericht: Ingolstadt Mobil: +49-(0)-1757250665 Handelsregister: HRB 3537 EMail: schneemann at b1-systems.de http://www.b1-systems.de Adresse: B1 Systems GmbH, Osterfeldstra?e 7, 85088 Vohburg GPG: http://pgpkeys.pca.dfn.de/pks/lookup?op=get&search=0x2FA8643A41BDAB81 ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From weinerm at ccf.org Thu Apr 15 22:32:33 2010 From: weinerm at ccf.org (Weiner, Michael) Date: Thu, 15 Apr 2010 16:32:33 -0400 Subject: Return Code of 4 Message-ID: Dear list readers - Its been awhile since I have posted anything here, mainly because I find for the most part Nagios just works and does so pretty much out of the box for most things. Lately I have been gathering up all the monitoring/scripting pieces that the Windows administrator has laying around on the floor and trying to put them into Nagios in some sensible way. So, I have been working on some scripts/plugins for Symantec NetBackup, in particular, we run the Master and Media Servers on Windows servers and I am trying to get Nagios which runs on a Linux box to check (for the first part of my exercise) certain pools. I have a shell script written based on Jurry's script that takes a few arguments from the command line and checks the remote server for the pool specified in the check command. An example is shown below: $USER1$/check_pool my-backup-server 100 20 Scratch ALL The check_pool script simply users vmquery via sudo in order to elevate the nagios users' rights to be that of root and run the appropriate command: sudo -u nagios /usr/local/openv/volmgr/bin/vmquery -h my-backup-server -b -pn Scratch Running this at the command line (even as user nagios) succeeds and gives me Scratch OK : available tapes 121|Scratch=121;100;20 However once I add this as a service check to nagios I receive the following: Warning: Return code of 4 for check of service 'Scratch_Pool_Check' on host 'my-backup-server' was out of bounds. I tried googling for the return code 4 and really came up empty, but read a lot about various other return codes. Does someone on the list do something similar? If so, how? And is anyone able to shed some light on the above Warning? Thanks in advance Michael Weiner =================================== P Please consider the environment before printing this e-mail Cleveland Clinic is ranked one of the top hospitals in America by U.S.News & World Report (2009). Visit us online at http://www.clevelandclinic.org for a complete listing of our services, staff and locations. Confidentiality Note: This message is intended for use only by the individual or entity to which it is addressed and may contain information that is privileged, confidential, and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient or the employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. Thank you. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Thu Apr 15 23:13:13 2010 From: ae at op5.se (Andreas Ericsson) Date: Thu, 15 Apr 2010 23:13:13 +0200 Subject: bizarre Nagios 2.12 memory leak In-Reply-To: References: Message-ID: <4BC78169.9070802@op5.se> On 04/15/2010 05:24 PM, Jeremy wrote: > > I know I really should get around to upgrading to Nagios 3.x but no time for > that yet and it's going to be a pain to upgrade them all at once without > being blind for a little bit, so pretend Nagios 3.x isn't an option just > yet. > The truth of the matter though is that noone really cares about fixing a problem in 2.12 unless it's also a problem in 3.2.1, and especially if it's a bug as hard to debug as this one. Insofar as I know, configuration files are compatible between those two revisions, so you could just use 3.2.1 as a drop-in replacement for 2.12. Some minor things have to be changed in nagios.cfg (and possibly cgi.cfg), but the bulk of the configuration should be ok the way it is. Since this is an otherwise intermittent error which may well depend on other variables (such as pthread library version, glibc library version or any other system library), it's well nigh impossible to debug without having you run Nagios through valgrind until it crashes due to lack of memory. Rest assured that that will keep your Nagios running crippled longer than an upgrade would If the problem persists with Nagios 3.2.1, you should look into upgrading the rest of your system. If that doesn't help either, it's time to report it as a bug. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 Considering the successes of the wars on alcohol, poverty, drugs and terror, I think we should give some serious thought to declaring war on peace. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Thu Apr 15 23:16:14 2010 From: ae at op5.se (Andreas Ericsson) Date: Thu, 15 Apr 2010 23:16:14 +0200 Subject: Bug reporting In-Reply-To: References: Message-ID: <4BC7821E.30208@op5.se> On 04/15/2010 08:09 PM, Rick Mangus wrote: > Hi all: > Hi Rick. > I was wondering if tracker.nagios.org is the correct place to file bug > reports and the like. It seems that no-one has edited a report since > Feb 1st. I submitted a bug report and patch about a week ago, and was > wondering if I should notify someone via email, if there's another > tracker, or what. > I rarely check the Nagios tracker for bugs, although I probably should since I'm one of the core developers. Instead I rely on those bugs to be posted to nagios-devel at lists.sourceforge.net, which is the list I primarily follow. I usually have too much of a backlog in nagios-users@ to even begin to catch up, so my normal course of action for dealing with this list is to simply delete all mails. > While I only found a small problem that is no longer bothering me, I > would like to see this fixed! So, if anyone here knows a better place > to forward this to, do let me know. > > My initial report is here: http://tracker.nagios.org/view.php?id=138 > I'll take a look at it tomorrow. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 Considering the successes of the wars on alcohol, poverty, drugs and terror, I think we should give some serious thought to declaring war on peace. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Thu Apr 15 23:16:52 2010 From: ae at op5.se (Andreas Ericsson) Date: Thu, 15 Apr 2010 23:16:52 +0200 Subject: NagioQL - Nagios 3.2.1 In-Reply-To: References: Message-ID: <4BC78244.8020906@op5.se> On 04/15/2010 08:12 PM, Eduardo Barreto wrote: > Fellows, > > Are there any problem using NagiosQL with Nagios Core 3.2.1? > Try and find out. If there are, report the problems to the NagiosQL mailing list. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 Considering the successes of the wars on alcohol, poverty, drugs and terror, I think we should give some serious thought to declaring war on peace. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Thu Apr 15 23:20:52 2010 From: ae at op5.se (Andreas Ericsson) Date: Thu, 15 Apr 2010 23:20:52 +0200 Subject: Return Code of 4 In-Reply-To: References: Message-ID: <4BC78334.8000503@op5.se> On 04/15/2010 10:32 PM, Weiner, Michael wrote: > > Its been awhile since I have posted anything here, mainly because I find > for the most part Nagios just works and does so pretty much out of the > box for most things. Lately I have been gathering up all the > monitoring/scripting pieces that the Windows administrator has laying > around on the floor and trying to put them into Nagios in some sensible > way. So, I have been working on some scripts/plugins for Symantec > NetBackup, in particular, we run the Master and Media Servers on Windows > servers and I am trying to get Nagios which runs on a Linux box to check > (for the first part of my exercise) certain pools. I have a shell script > written based on Jurry's script that takes a few arguments from the > command line and checks the remote server for the pool specified in the > check command. An example is shown below: > > > > $USER1$/check_pool my-backup-server 100 20 Scratch ALL > > The check_pool script simply users vmquery via sudo in order to elevate > the nagios users' rights to be that of root and run the appropriate > command: > > sudo -u nagios /usr/local/openv/volmgr/bin/vmquery -h my-backup-server > -b -pn Scratch > > Running this at the command line (even as user nagios) succeeds and > gives me > > Scratch OK : available tapes 121|Scratch=121;100;20 > > > > However once I add this as a service check to nagios I receive the > following: > > > > Warning: Return code of 4 for check of service 'Scratch_Pool_Check' on > host 'my-backup-server' was out of bounds. > Try this from your Nagios server: true; echo $? false; echo $? Those are return codes. A numerical value the running program sets for the master program to reap. The textual output has absolutely nothing to do with that return code. If you run the check exactly like Nagios does it and then, immediately after having run the check, run the command echo $? you will get the return code of the check command. Note that you can only inspect $? once, as it takes a new value for each command you run. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 Considering the successes of the wars on alcohol, poverty, drugs and terror, I think we should give some serious thought to declaring war on peace. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Fri Apr 16 00:50:24 2010 From: patrick.morris at hp.com (patrick.morris at hp.com) Date: Thu, 15 Apr 2010 15:50:24 -0700 Subject: Return Code of 4 In-Reply-To: References: Message-ID: <20100415225024.GQ17129@bakgwai.americas.hpqcorp.net> Hi Weiner,! On Thu, 15 Apr 2010, Weiner, Michael wrote: > Running this at the command line (even as user nagios) succeeds and gives me > > Scratch OK : available tapes 121|Scratch=121;100;20 > > However once I add this as a service check to nagios I receive the following: > > Warning: Return code of 4 for check of service 'Scratch_Pool_Check' on host 'my-backup-server' was out of bounds. > > I tried googling for the return code 4 and really came up empty, but read a lot about various other return codes. Does someone on the list do something similar? If so, how? And is anyone able to shed some light on the above Warning? Your script is returning a result code of 4. Why is impossible to say without seeing the script, but on an OK state it should be returning 0, not 4. Note that it doesn't matter if the output of the plugin is "Scratch OK, etc." All Nagios pays any attention to when determining that state of a service is that return code, and your script is not returning an "OK" code (that would be 0). What "4" means in this case could very well be specific to that script. Without more details about the script it'd be hard to say why it's returning the wrong result code, but I'd look for something like an "exit" command and verify that it's returning the right values for critical, warning, OK and unknown states. http://nagiosplug.sourceforge.net/developer-guidelines.html#AEN76 ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From moby at mobsternet.com Fri Apr 16 00:58:07 2010 From: moby at mobsternet.com (Moby) Date: Thu, 15 Apr 2010 17:58:07 -0500 Subject: NagioQL - Nagios 3.2.1 In-Reply-To: <4BC78244.8020906@op5.se> References: <4BC78244.8020906@op5.se> Message-ID: <4BC799FF.6030707@mobsternet.com> On 04/15/2010 04:16 PM, Andreas Ericsson wrote: > On 04/15/2010 08:12 PM, Eduardo Barreto wrote: >> Fellows, >> >> Are there any problem using NagiosQL with Nagios Core 3.2.1? >> > Try and find out. If there are, report the problems to the NagiosQL > mailing list. > I am running NagiosQL 3.0.3 with Nagios 3.2.1 with no issues - works great. -- --Moby They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety. -- Benjamin Franklin ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gerard at facturize.nl Fri Apr 16 09:33:43 2010 From: gerard at facturize.nl (Gerard Petersen) Date: Fri, 16 Apr 2010 09:33:43 +0200 Subject: check_http (bogus) setup In-Reply-To: <66E174BE-62B3-4C90-B231-511C3080C0F7@xodus.org> References: <4BC6D34E.9050008@facturize.nl> <66E174BE-62B3-4C90-B231-511C3080C0F7@xodus.org> Message-ID: <4BC812D7.4030301@facturize.nl> Dear Marc, Thanx for you elaborate feedback. The joke is somewhat on me, but more on that in a second. You're documentation is good and to the point! The configuration I used was a apt-get installed nagios3 on Ubuntu 9.10 which seems a recipe from a modern kitchen. I ofcourse totally agree with you that you can't be responsible for how other distro's deploy your (marvelous piece of) software. Then for laughs .. I have set up a major Nagios cluster in the past. You can check here whether or not my Nagios knowledge is good enough: http://www.gerardjp.com/2007/05/12/nagios-remote-eventhandling-for-init-scripts/ (RFE'd the $MAX_CHECK_ATTEMPTS$ which was incorporated in a newer release btw) Anyway, in that aformentioned nagios setup, I used to check for a list of urls, from 2 different nodes running nrpe. It must be pure coincidence that these two nodes did run a webserver themselves. I now realize that I never checked the intended urls, but just the websites running on these nodes. Ah well .. one lives and learns :) Thanx again! On 15-04-10 14:45, Marc Powell wrote: > > On Apr 15, 2010, at 3:50 AM, Gerard Petersen wrote: > >> Hi All, >> >> I've been testing with the check_http service. I always was under the >> assumption that the setup below would check www.example.com > > Why did you make this assumption? It's not documented to work like this. > >> check_command check_http!www.example.com!/ > >> With this service definition (as often installed out of the box): >> >> define command{ >> command_name check_http >> command_line /usr/lib/nagios/plugins/check_http -H '$HOSTADDRESS$' >> } > > It's not been like this in a long time I believe. Perhaps you've installed from a distribution specific package and they've deviated from current nagios? If so, there's nothing that we can do about that. This is what the official package uses -- > > # 'check_http' command definition > define command{ > command_name check_http > command_line $USER1$/check_http -I $HOSTADDRESS$ $ARG1$ > } > > Note that your assumed configuration still wouldn't work here but the official documentation expects this definition. See 'Monitoring HTTP' at http://nagios.sourceforge.net/docs/3_0/monitoring-publicservices.html. > >> Wrong! It would check for a webserver on myhost1. Since there's nothing >> running at myhost1:80 i got a TCP error. Somewhat baffled I've been tailing >> the access.log of www.example.com to see when I actually got a hit. > > >> The funny thing is this (with no additional parms) even returns ok, would >> you have a webserver listening on myhost1:80 >> >> check_command check_http > > This is because your command_line doesn't use any of the params you think you're passing it ($ARG1$, $ARG2$). > >> So, you would be wise to turn the command syntax into this: >> >> command_line /usr/lib/nagios/plugins/check_http -H '$ARG1$' -u '$ARG2$' > > Or follow the example documented use of the plugin. In general, you can't make assumptions about how a plugin works without looking at, and understanding, the defined command_line for that plugin. Every one is different. > >> Then this will actually test www.example.com: >> >> check_command check_http!www.example.com!/ >> >> Is it me or is this check_http setup misleading? (ubuntu 9.10 in this case) > > No, but that would depend on the documentation you're referencing to use the plugin. If the ubuntu documentation says that your format works with their packaged version of the check_http command definition, then that is misleading and they should correct that. Otherwise it looks like you made an incorrect assumption about how something worked without understanding it. If I buy a car from a dealer and they tell me it runs on diesel, fill it up with diesel and it doesn't, then that's their fault. If they don't tell me anything about it and I assume it does without reading the manual, that's my fault. > > For a new admin, the simplest use case is just to check that a web server is listening on a host. That's what your definition does and what the official definition does if no additional parameters are passed. As an admin becomes more familiar with the plugin and more sophisticated in what they want to do they need to edit either one or both of the command_line and check_command in your case but only the check_command in the official case. I think the official way provides the most flexibility all around, IMHO. > > -- > Marc > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mux at riseup.net Fri Apr 16 09:55:40 2010 From: mux at riseup.net (Chris) Date: Fri, 16 Apr 2010 09:55:40 +0200 Subject: Monitor IBM storage from nagios. In-Reply-To: References: Message-ID: Hi, I am looking for exactly the same! On Monitoring Exchange is an check for ds4x00 systems. But it checks only array_status, device_status, logical_status and system_status. So its not that what we want. So is here anyone who can help? Thanks a lot! Am 15.04.2010 um 13:35 schrieb rakesh kakde : > Dear All, > > Is there any possibility to monitor IBM storage DS8100 and DS4800 so > that I can get the trend analysis in pnp4nagios for parameters like > > Allocated Capacity > Available Capacity > Allocated Capacity > Volume Group Capacity > Volume Group Freespace > %Allocated VG Capacity > Cache Size > Nonvolatile Storage > > Tot I/Os (ops/s) Tot MB (MB/ > s) Tot Time (ms/op) > Avg Max Avg > Max Avg Max > > Tot Xfer (KB/op) Tot Hit% > (%) Wrt-cch delay% (%) > Avg Max Avg Max > > Tot I/Os (ops/s) Tot MB (MB/ > s) Tot Time (ms/op) > Avg Max Avg > Max Avg Max > > > Any help is highly appriciated. > > Regards > Rakesh Kakde > --- > --- > --- > --------------------------------------------------------------------- > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Apr 16 10:01:13 2010 From: zarrelli at linux.it (Giorgio Zarrelli) Date: Fri, 16 Apr 2010 10:01:13 +0200 Subject: Monitor IBM storage from nagios. In-Reply-To: References: Message-ID: It's just a matter of Pisa Ciao, Giorgio Il giorno 16/apr/2010, alle ore 09.55, Chris ha scritto: > Hi, > > I am looking for exactly the same! On Monitoring Exchange is an check > for ds4x00 systems. But it checks only array_status, device_status, > logical_status and system_status. So its not that what we want. > > So is here anyone who can help? > > Thanks a lot! > > > > Am 15.04.2010 um 13:35 schrieb rakesh kakde : > >> Dear All, >> >> Is there any possibility to monitor IBM storage DS8100 and DS4800 so >> that I can get the trend analysis in pnp4nagios for parameters like >> >> Allocated Capacity >> Available Capacity >> Allocated Capacity >> Volume Group Capacity >> Volume Group Freespace >> %Allocated VG Capacity >> Cache Size >> Nonvolatile Storage >> >> Tot I/Os (ops/s) Tot MB (MB/ >> s) Tot Time (ms/op) >> Avg Max Avg >> Max Avg Max >> >> Tot Xfer (KB/op) Tot Hit% >> (%) Wrt-cch delay% (%) >> Avg Max Avg Max >> >> Tot I/Os (ops/s) Tot MB (MB/ >> s) Tot Time (ms/op) >> Avg Max Avg >> Max Avg Max >> >> >> Any help is highly appriciated. >> >> Regards >> Rakesh Kakde >> --- >> --- >> --- >> --------------------------------------------------------------------- >> Download Intel® Parallel Studio Eval >> Try the new software tools for yourself. Speed compiling, find bugs >> proactively, and fine-tune applications for parallel performance. >> See why Intel Parallel Studio got high marks during beta. >> http://p.sf.net/sfu/intel-sw-dev >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/ >> null > > --- > --- > --- > --------------------------------------------------------------------- > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Apr 16 10:55:55 2010 From: zarrelli at linux.it (Giorgio Zarrelli) Date: Fri, 16 Apr 2010 10:55:55 +0200 Subject: Monitor IBM storage from nagios. In-Reply-To: References: Message-ID: As I told privately to Chris, I am short on time but if you find the right oids I can code a plugin and release in GPL v.3. I have a ds4000 and a ds4700 to test on. Just matter of spare tine, but if I can avoid gettin crazy in finding them, I can save time to code. Ciao, Giorgio Il giorno 16/apr/2010, alle ore 09.55, Chris ha scritto: > Hi, > > I am looking for exactly the same! On Monitoring Exchange is an check > for ds4x00 systems. But it checks only array_status, device_status, > logical_status and system_status. So its not that what we want. > > So is here anyone who can help? > > Thanks a lot! > > > > Am 15.04.2010 um 13:35 schrieb rakesh kakde : > >> Dear All, >> >> Is there any possibility to monitor IBM storage DS8100 and DS4800 so >> that I can get the trend analysis in pnp4nagios for parameters like >> >> Allocated Capacity >> Available Capacity >> Allocated Capacity >> Volume Group Capacity >> Volume Group Freespace >> %Allocated VG Capacity >> Cache Size >> Nonvolatile Storage >> >> Tot I/Os (ops/s) Tot MB (MB/ >> s) Tot Time (ms/op) >> Avg Max Avg >> Max Avg Max >> >> Tot Xfer (KB/op) Tot Hit% >> (%) Wrt-cch delay% (%) >> Avg Max Avg Max >> >> Tot I/Os (ops/s) Tot MB (MB/ >> s) Tot Time (ms/op) >> Avg Max Avg >> Max Avg Max >> >> >> Any help is highly appriciated. >> >> Regards >> Rakesh Kakde >> --- >> --- >> --- >> --------------------------------------------------------------------- >> Download Intel® Parallel Studio Eval >> Try the new software tools for yourself. Speed compiling, find bugs >> proactively, and fine-tune applications for parallel performance. >> See why Intel Parallel Studio got high marks during beta. >> http://p.sf.net/sfu/intel-sw-dev >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/ >> null > > --- > --- > --- > --------------------------------------------------------------------- > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rick.mangus+nagios at gmail.com Fri Apr 16 15:43:47 2010 From: rick.mangus+nagios at gmail.com (Rick Mangus) Date: Fri, 16 Apr 2010 08:43:47 -0500 Subject: bizarre Nagios 2.12 memory leak In-Reply-To: <4BC78169.9070802@op5.se> References: <4BC78169.9070802@op5.se> Message-ID: Have you checked where your memory is being used? I had a similar problem, and found I had 30k+ processes of nsca eating swap and PIDs. The system would die one of two ways: OOM or unable to spawn new processes due to lack of PIDs. In my case, it turned out that processing perfdata could block due to database problems, causing nagios to bog down and nsca processes to back up in a major way. Finding and fixing that was ... special. Anyway, running out of swap is good to know, but is nagios using 16GB of RAM? Or is it disappearing elsewhere? Good Luck --Rick On Thu, Apr 15, 2010 at 4:13 PM, Andreas Ericsson wrote: > On 04/15/2010 05:24 PM, Jeremy wrote: >> >> I know I really should get around to upgrading to Nagios 3.x but no time for >> that yet and it's going to be a pain to upgrade them all at once without >> being blind for a little bit, so pretend Nagios 3.x isn't an option just >> yet. >> > > The truth of the matter though is that noone really cares about fixing a > problem in 2.12 unless it's also a problem in 3.2.1, and especially if > it's a bug as hard to debug as this one. Insofar as I know, configuration > files are compatible between those two revisions, so you could just use > 3.2.1 as a drop-in replacement for 2.12. > > Some minor things have to be changed in nagios.cfg (and possibly cgi.cfg), > but the bulk of the configuration should be ok the way it is. > > Since this is an otherwise intermittent error which may well depend on other > variables (such as pthread library version, glibc library version or any > other system library), it's well nigh impossible to debug without having > you run Nagios through valgrind until it crashes due to lack of memory. > > Rest assured that that will keep your Nagios running crippled longer than > an upgrade would > > If the problem persists with Nagios 3.2.1, you should look into upgrading > the rest of your system. If that doesn't help either, it's time to report > it as a bug. > > -- > Andreas Ericsson ? ? ? ? ? ? ? ? ? andreas.ericsson at op5.se > OP5 AB ? ? ? ? ? ? ? ? ? ? ? ? ? ? www.op5.se > Tel: +46 8-230225 ? ? ? ? ? ? ? ? ?Fax: +46 8-230231 > > Considering the successes of the wars on alcohol, poverty, drugs and > terror, I think we should give some serious thought to declaring war > on peace. > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From EWScott at scotborders.gov.uk Fri Apr 16 15:49:41 2010 From: EWScott at scotborders.gov.uk (Scott, Ewan) Date: Fri, 16 Apr 2010 14:49:41 +0100 Subject: all notifications failing Message-ID: <771645F4ADF2C9449B7E6AE630C720018BC4BD23E7@HQ-MAIL-01.scotborders.gov.uk> Hi All my notifications are failing - no emails are being generated. Can someone confirm that it is the nagios user which sends the emails and not root. If this is the case then I seem to have created a file permissions problem on the system somehow and the nagios user cannot send mail. (This used to work until I installed php5-cli and ran a notifications script I picked up on exchange.nagios.org). Although it is not really a nagios issue if anyone knows what the temporary file is that it is trying to open - see below - please let me know. (The same issue occurs for other non-root users sending mail). Thanks. Ewan # id uid=0(root) gid=0(root) groups=0(root) # /usr/bin/printf "%b" "***** Nagios *****\nNotification " | /usr/bin/mail -s "** $NOTIFICATIONTYPE$ Service Alert: $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" ewscott at scotborders.gov.uk # ### This has sent mail successfully. # # su - nagios $ /usr/bin/printf "%b" "***** Nagios *****\nNotification " | /usr/bin/mail -s "** $NOTIFICATIONTYPE$ Service Alert: $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" ewscott at scotborders.gov.uk mail: Cannot open temporary file: Permission denied Cannot open temporary file System info: # uname -a Linux sbc-nagios-01 2.6.31-20-server #58-Ubuntu SMP Fri Mar 12 05:40:05 UTC 2010 x86_64 GNU/Linux # ### nagios 3.2.0 # dpkg --list | egrep mailutil ii libmailutils2 1:2.0+dfsg1-2 GNU Mail abstraction library ii mailutils 1:2.0+dfsg1-2 GNU mailutils utilities for handling mail # Ewan Scott Technical Officer Servers and Storage Business & Technology Solutions Scottish Borders Council Council Headquarters Newtown St Boswells Melrose TD6 0SA 01835 824000 ext 5374 ewscott at scotborders.gov.uk http://www.scotborders.gov.uk ********************************************************************** This email and any files transmitted with it are privileged, confidential and subject to copyright. Any unauthorised use or disclosure of any part of this email is prohibited. If you are not the intended recipient please inform the sender immediately; you should then delete the email and remove any copies from your system. The views or opinions expressed in this communication may not necessarily be those of Scottish Borders Council. Please be advised that Scottish Borders Council's incoming and outgoing email is subject to regular monitoring and any email may require to be disclosed by the Council under the provisions of the Freedom of Information (Scotland) Act 2002. ********************************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Fri Apr 16 17:02:23 2010 From: patrick.morris at hp.com (Morris, Patrick) Date: Fri, 16 Apr 2010 08:02:23 -0700 Subject: all notifications failing In-Reply-To: <771645F4ADF2C9449B7E6AE630C720018BC4BD23E7@HQ-MAIL-01.scotborders.gov.uk> References: <771645F4ADF2C9449B7E6AE630C720018BC4BD23E7@HQ-MAIL-01.scotborders.gov.uk> Message-ID: <4BC87BFF.2030607@hp.com> Scott, Ewan wrote: > > Hi > > > > All my notifications are failing - no emails are being generated. Can > someone confirm that it is the *nagios* user which sends the emails > and not *root*. If this is the case then I seem to have created a file > permissions problem on the system somehow and the nagios user cannot > send mail. (This used to work until I installed *php5-cli* and ran a > *notifications* script I picked up on exchange.nagios.org). > Mail will be sent as the user Nagios runs under. > > Although it is not really a nagios issue if anyone knows what the > temporary file is that it is trying to open - see below - please let > me know. (The same issue occurs for other non-root users sending mail). > > > > Thanks. > > Ewan > > > > # id > > uid=0(root) gid=0(root) groups=0(root) > > # /usr/bin/printf "%b" "***** Nagios *****\nNotification " | > /usr/bin/mail -s "** $NOTIFICATIONTYPE$ Service Alert: > $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" ewscott at scotborders.gov.uk > > # ### This has sent mail successfully. > > # > > # su - nagios > > $ /usr/bin/printf "%b" "***** Nagios *****\nNotification " | > /usr/bin/mail -s "** $NOTIFICATIONTYPE$ Service Alert: > $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" ewscott at scotborders.gov.uk > > mail: Cannot open temporary file: Permission denied > > Cannot open temporary file > Sounds like permissions on your temporary directory (most likely /tmp or /var/tmp) are screwed up, or you've got a full disk. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From weinerm at ccf.org Fri Apr 16 19:06:54 2010 From: weinerm at ccf.org (Weiner, Michael) Date: Fri, 16 Apr 2010 13:06:54 -0400 Subject: Return Code of 4 In-Reply-To: <4BC78334.8000503@op5.se> References: <4BC78334.8000503@op5.se> Message-ID: -----Original Message----- From: Andreas Ericsson [mailto:ae at op5.se] On 04/15/2010 10:32 PM, Weiner, Michael wrote: > > $USER1$/check_pool my-backup-server 100 20 Scratch ALL > > The check_pool script simply users vmquery via sudo in order to elevate > the nagios users' rights to be that of root and run the appropriate > command: > > sudo -u nagios /usr/local/openv/volmgr/bin/vmquery -h my-backup-server > -b -pn Scratch > > Running this at the command line (even as user nagios) succeeds and > gives me > > Scratch OK : available tapes 121|Scratch=121;100;20 > > However once I add this as a service check to nagios I receive the > following: > > Warning: Return code of 4 for check of service 'Scratch_Pool_Check' on > host 'my-backup-server' was out of bounds. > Try this from your Nagios server: true; echo $? false; echo $? Those are return codes. A numerical value the running program sets for the master program to reap. The textual output has absolutely nothing to do with that return code. If you run the check exactly like Nagios does it and then, immediately after having run the check, run the command echo $? you will get the return code of the check command. Note that you can only inspect $? once, as it takes a new value for each command you run. Thanks Andreas - I did a little testing and it seems that if I fail to put in all the arguments the script requires at the command line and then do an 'echo $?' I receive a return code of 4. So, there must be something wrong with my checkcommand that I have in nagios. I will dig and see what I can come up with. Thanks again Michael =================================== P Please consider the environment before printing this e-mail Cleveland Clinic is ranked one of the top hospitals in America by U.S.News & World Report (2009). Visit us online at http://www.clevelandclinic.org for a complete listing of our services, staff and locations. Confidentiality Note: This message is intended for use only by the individual or entity to which it is addressed and may contain information that is privileged, confidential, and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient or the employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. Thank you. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From shadhin71 at gmail.com Fri Apr 16 21:52:30 2010 From: shadhin71 at gmail.com (shadih rahman) Date: Fri, 16 Apr 2010 15:52:30 -0400 Subject: Designing distributed and failover architecture In-Reply-To: References: Message-ID: I have not implemented distributed nagios but I have failover setup. Few comments I want to make 1) If you are using ndoutils for backend make sure you have looked at faster speed up option. There is a patch for faster start up in opsview 2) if you using nsca to transfer acknowledgement and comments make sure you do some research on that. scalability is a problem 3) remember to understand failover architecture properly. I have made few mistakes when it comes to ndoutils. your ndomod data processing option should be different on the failover from master server. Your master should push configuration definitions into database but your failover should not push theses configuration defitions in database. 4) Keep in mind scalability will be a problem. data retention is really a difficult problem for large setup. On Sat, Apr 10, 2010 at 10:44 AM, Shanti Katta wrote: > Need suggestions on designing a distributed and failover Nagios monitoring > infrastructure for ~1500 Linux RHEL hosts spread across 2 datacenters and > DMZ networks. > Reading through different archives, it appears DNX is the most preferred > method for distribution/cluster setup and having a secondary Nagios server > as a fail over option managed via Linux HA/DRBD. > What are some of the cons in following setup: > > - Primary and secondary(failover) Nagios servers managed by Linux > HA/DRBD/cron etc. Have MySQL replication between them. > - Primary Nagios server performing active checks via N DNX worker nodes in > both datacenters. > - Primary Nagios server monitoring DMZ hosts via NRPE (Custom regular > expression for services). > > Thanks > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dermoth at aei.ca Sat Apr 17 05:37:59 2010 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Fri, 16 Apr 2010 23:37:59 -0400 Subject: all notifications failing In-Reply-To: <771645F4ADF2C9449B7E6AE630C720018BC4BD23E7@HQ-MAIL-01.scotborders.gov.uk> References: <771645F4ADF2C9449B7E6AE630C720018BC4BD23E7@HQ-MAIL-01.scotborders.gov.uk> Message-ID: <4BC92D17.1090901@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 16/04/10 09:49 AM, Scott, Ewan wrote: > Hi > > [...] > > # su - nagios > > $ /usr/bin/printf "%b" "***** Nagios *****\nNotification " | > /usr/bin/mail -s "** $NOTIFICATIONTYPE$ Service Alert: > $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" ewscott at scotborders.gov.uk > > mail: Cannot open temporary file: Permission denied > > Cannot open temporary file Use strace to find out what fails. strace will print all syscalls used by the traced program and wou will see which one (including parameters) failed. Don't forget to trace the mail program, not printf. i.e.: > $/usr/bin/printf "%b" "***** Nagios *****\nNotification " | strace > /usr/bin/mail -s "** $NOTIFICATIONTYPE$ Service Alert: > $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" ewscott at scotborders.gov.uk 2>/tmp/mail_trace.log Here I added "strace" before "/usr/bin/mail" and redirected stderr to "/tmp/mail_trace.log". Then you can look at "/tmp/mail_trace.log" for something like a failed open() call or for ENOPERM. The argument to the failed call should indicate which file failed. - -- Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFLyS0X6dZ+Kt5BchYRAgeuAJ46zQNJ+mdWLj94agD1qihi/pvZ1QCdGvlj gUs8215gRrSW21kl3wDq9CY= =o+AZ -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ravishankar.gundlapali at wipro.com Sat Apr 17 16:02:10 2010 From: ravishankar.gundlapali at wipro.com (ravishankar.gundlapali at wipro.com) Date: Sat, 17 Apr 2010 19:32:10 +0530 Subject: Nagios.lock file issue... References: Message-ID: Hi, I am using Nagios 3.0.6 with Nagios plugins 1.4.14 on Linux with Fedora 10.1. I am having a tuff time getting my nagios box running. Even after doing the configuration changes they are not getting reflected. After doing the changes ,when I run the below command it is not showing any errors or warnings. /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg But after this when I run the command service nagios restart,I get the following output. [root at LTCPNAGPRD01 objects]# service nagios restart Running configuration check...done. Stopping nagios: No lock file found in /usr/local/nagios/var/nagios.lock Starting nagios: done. I have checked whether the nagios.lock file is present or not,please see below output. [root at LTCPNAGPRD01 ~]# cd /usr/local/nagios/var/ [root at LTCPNAGPRD01 var]# ls archives nagios.lock nagios.log objects.cache retention.dat rw spool status.dat Please someone help me on this.. Thanks, Ravi G -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sat Apr 17 16:09:33 2010 From: zarrelli at linux.it (Giorgio Zarrelli) Date: Sat, 17 Apr 2010 16:09:33 +0200 Subject: Nagios.lock file issue... In-Reply-To: References: Message-ID: <4B83F89E-5B31-4746-BE40-DC9C388DD6CE@linux.it> Check the ownership and permissions on Nagios lock file Ciao, Giorgio Il giorno 17/apr/2010, alle ore 16.02, ha scritto: > Hi, > > I am using Nagios 3.0.6 with Nagios plugins 1.4.14 on Linux with > Fedora 10.1. > > I am having a tuff time getting my nagios box running. Even after > doing the configuration changes they are not getting reflected. > > After doing the changes ,when I run the below command it is not > showing any errors or warnings. > > /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg > > But after this when I run the command service nagios restart,I get > the following output. > > [root at LTCPNAGPRD01 objects]# service nagios restart > > Running configuration check...done. > > Stopping nagios: No lock file found in /usr/local/nagios/var/ > nagios.lock > > Starting nagios: done. > > I have checked whether the nagios.lock file is present or not,please > see below output. > > [root at LTCPNAGPRD01 ~]# cd /usr/local/nagios/var/ > > [root at LTCPNAGPRD01 var]# ls > > archives nagios.lock nagios.log objects.cache retention.dat rw > spool status.dat > > > > Please someone help me on this.. > > Thanks, > > Ravi G > > > > --- > --- > --- > --------------------------------------------------------------------- > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ravishankar.gundlapali at wipro.com Sat Apr 17 16:18:49 2010 From: ravishankar.gundlapali at wipro.com (ravishankar.gundlapali at wipro.com) Date: Sat, 17 Apr 2010 19:48:49 +0530 Subject: Nagios.lock file issue... In-Reply-To: <4B83F89E-5B31-4746-BE40-DC9C388DD6CE@linux.it> References: <4B83F89E-5B31-4746-BE40-DC9C388DD6CE@linux.it> Message-ID: Hi, Please see the below output, request you to suggest me what changes I need to do? [root at LTCPNAGPRD01 var]# ls -la total 25008 drwxrwxr-x 5 nagios nagios 4096 2010-04-17 15:19 . drwxr-xr-x 8 root root 4096 2010-03-30 05:04 .. drwxrwxrwx 2 nagios nagios 16384 2010-04-17 00:00 archives -rw-r--r-- 1 nagios nagios 6 2010-04-17 14:49 nagios.lock -rw-rw-r-- 1 nagios nagios 19180879 2010-04-17 15:18 nagios.log -rw-r--r-- 1 nagios nagios 1438215 2010-04-17 14:49 objects.cache -rw------- 1 nagios nagios 2457993 2010-04-17 15:15 retention.dat drwxrwsr-x 2 nagios nagcmd 4096 2010-04-17 14:49 rw drwxr-xr-x 3 root root 4096 2009-08-04 16:09 spool -rw-rw-r-- 1 nagios nagios 2449262 2010-04-17 15:19 status.dat Thanks & Regards, Ravi G From: Giorgio Zarrelli [mailto:zarrelli at linux.it] Sent: Saturday, April 17, 2010 7:40 PM To: Nagios Users List Cc: Subject: Re: [Nagios-users] Nagios.lock file issue... Check the ownership and permissions on Nagios lock file Ciao, Giorgio Il giorno 17/apr/2010, alle ore 16.02, ha scritto: Hi, I am using Nagios 3.0.6 with Nagios plugins 1.4.14 on Linux with Fedora 10.1. I am having a tuff time getting my nagios box running. Even after doing the configuration changes they are not getting reflected. After doing the changes ,when I run the below command it is not showing any errors or warnings. /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg But after this when I run the command service nagios restart,I get the following output. [root at LTCPNAGPRD01 objects]# service nagios restart Running configuration check...done. Stopping nagios: No lock file found in /usr/local/nagios/var/nagios.lock Starting nagios: done. I have checked whether the nagios.lock file is present or not,please see below output. [root at LTCPNAGPRD01 ~]# cd /usr/local/nagios/var/ [root at LTCPNAGPRD01 var]# ls archives nagios.lock nagios.log objects.cache retention.dat rw spool status.dat Please someone help me on this.. Thanks, Ravi G ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ravishankar.gundlapali at wipro.com Sun Apr 18 12:01:20 2010 From: ravishankar.gundlapali at wipro.com (ravishankar.gundlapali at wipro.com) Date: Sun, 18 Apr 2010 15:31:20 +0530 Subject: Nagios.lock file issue... References: <4B83F89E-5B31-4746-BE40-DC9C388DD6CE@linux.it> Message-ID: Also some times when I restart Nagios ,I get the below error nagios did not exit in a timely manner. Please someone help me on this?. Thanks & Regards, Ravi G From: Ravishankar Gundlapali (WT01 - ENERGY & UTILITIES) Sent: Saturday, April 17, 2010 7:49 PM To: Nagios Users List Cc: 'zarrelli at linux.it' Subject: RE: [Nagios-users] Nagios.lock file issue... Hi, Please see the below output, request you to suggest me what changes I need to do? [root at LTCPNAGPRD01 var]# ls -la total 25008 drwxrwxr-x 5 nagios nagios 4096 2010-04-17 15:19 . drwxr-xr-x 8 root root 4096 2010-03-30 05:04 .. drwxrwxrwx 2 nagios nagios 16384 2010-04-17 00:00 archives -rw-r--r-- 1 nagios nagios 6 2010-04-17 14:49 nagios.lock -rw-rw-r-- 1 nagios nagios 19180879 2010-04-17 15:18 nagios.log -rw-r--r-- 1 nagios nagios 1438215 2010-04-17 14:49 objects.cache -rw------- 1 nagios nagios 2457993 2010-04-17 15:15 retention.dat drwxrwsr-x 2 nagios nagcmd 4096 2010-04-17 14:49 rw drwxr-xr-x 3 root root 4096 2009-08-04 16:09 spool -rw-rw-r-- 1 nagios nagios 2449262 2010-04-17 15:19 status.dat Thanks & Regards, Ravi G From: Giorgio Zarrelli [mailto:zarrelli at linux.it] Sent: Saturday, April 17, 2010 7:40 PM To: Nagios Users List Cc: Subject: Re: [Nagios-users] Nagios.lock file issue... Check the ownership and permissions on Nagios lock file Ciao, Giorgio Il giorno 17/apr/2010, alle ore 16.02, ha scritto: Hi, I am using Nagios 3.0.6 with Nagios plugins 1.4.14 on Linux with Fedora 10.1. I am having a tuff time getting my nagios box running. Even after doing the configuration changes they are not getting reflected. After doing the changes ,when I run the below command it is not showing any errors or warnings. /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg But after this when I run the command service nagios restart,I get the following output. [root at LTCPNAGPRD01 objects]# service nagios restart Running configuration check...done. Stopping nagios: No lock file found in /usr/local/nagios/var/nagios.lock Starting nagios: done. I have checked whether the nagios.lock file is present or not,please see below output. [root at LTCPNAGPRD01 ~]# cd /usr/local/nagios/var/ [root at LTCPNAGPRD01 var]# ls archives nagios.lock nagios.log objects.cache retention.dat rw spool status.dat Please someone help me on this.. Thanks, Ravi G ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Apr 19 07:38:22 2010 From: juki.emma at gmail.com (Juki) Date: Mon, 19 Apr 2010 08:38:22 +0300 Subject: Installing Nagios-Plugins [make errors] Message-ID: Hello list, I have encountered the following 'make' error while trying to compile nagios-plugins-1.4.14 (after successfully running the 'configure' command) on a Solaris 10 client host. *Undefined first referenced symbol in file SSL_load_error_strings sslutils.o SSL_write sslutils.o OpenSSL_add_all_algorithms sslutils.o SSL_set_fd sslutils.o SSL_free sslutils.o SSL_read sslutils.o SSLv23_client_method sslutils.o SSL_new sslutils.o SSL_CTX_new sslutils.o SSL_connect sslutils.o SSL_shutdown sslutils.o SSL_CTX_free sslutils.o SSL_library_init sslutils.o ld: fatal: Symbol referencing errors. No output written to check_http collect2: ld returned 1 exit status *** Error code 1 make: Fatal error: Command failed for target `check_http' Current working directory /tmp/nagios-plugins-1.4.14/plugins *** Error code 1 The following command caused the error: failcom='exit 1'; \ for f in x $MAKEFLAGS; do \ case $f in \ *=* | --[!k]*);; \ *k*) failcom='fail=yes';; \ esac; \ done; \ dot_seen=no; \ target=`echo all-recursive | sed s/-recursive//`; \ list='gl tap lib plugins plugins-scripts plugins-root po'; for subdir in $list; do \ echo "Making $target in $subdir"; \ if test "$subdir" = "."; then \ dot_seen=yes; \ local_target="$target-am"; \ else \ local_target="$target"; \ fi; \ (cd $subdir && make $local_target) \ || eval $failcom; \ done; \ if test "$dot_seen" = "no"; then \ make "$target-am" || exit 1; \ fi; test -z "$fail" make: Fatal error: Command failed for target `all-recursive' Current working directory /tmp/nagios-plugins-1.4.14 *** Error code 1 make: Fatal error: Command failed for target `all'* Anyone know a way to resolve this? Thanks, Juki -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mark.elsen at gmail.com Mon Apr 19 07:48:32 2010 From: mark.elsen at gmail.com (Mark Elsen) Date: Mon, 19 Apr 2010 07:48:32 +0200 Subject: Installing Nagios-Plugins [make errors] In-Reply-To: References: Message-ID: > Hello list, > > I have encountered the following 'make' error while trying to compile > nagios-plugins-1.4.14 (after successfully running the 'configure' command) > on a Solaris 10 client host. > >... Try 'gmake' (GNU Make) , M. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Apr 19 08:05:19 2010 From: juki.emma at gmail.com (Juki) Date: Mon, 19 Apr 2010 09:05:19 +0300 Subject: Installing Nagios-Plugins [make errors] In-Reply-To: References: Message-ID: Hello, On 19 April 2010 08:48, Mark Elsen wrote: > > Try 'gmake' (GNU Make) , > After using 'gmake' the error has now changed to this; *Undefined first referenced symbol in file SSL_load_error_strings sslutils.o SSL_write sslutils.o OpenSSL_add_all_algorithms sslutils.o SSL_set_fd sslutils.o SSL_free sslutils.o SSL_read sslutils.o SSLv23_client_method sslutils.o SSL_new sslutils.o SSL_CTX_new sslutils.o SSL_connect sslutils.o SSL_shutdown sslutils.o SSL_CTX_free sslutils.o SSL_library_init sslutils.o ld: fatal: Symbol referencing errors. No output written to check_http collect2: ld returned 1 exit status gmake[2]: *** [check_http] Error 1 gmake[2]: Leaving directory `/tmp/nagios-plugins-1.4.14/plugins' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/tmp/nagios-plugins-1.4.14' gmake: *** [all] Error 2* Something wrong with the check_http plugin, perhaps? Juki. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Apr 19 09:21:06 2010 From: juki.emma at gmail.com (Juki) Date: Mon, 19 Apr 2010 10:21:06 +0300 Subject: Installing Nagios-Plugins [make errors] - Resolved Message-ID: Thanks for the input Mark! I successfully installed openssl (pre-compiled package) and then re-run the 'configure' with this; ./configure --with-openssl=/usr/local/ssl --with-mysql=/usr/sfw/bin I added the 'with-mysql' path option because of a compile error that was looking for the path to mysql. I found the path to mysql by running; /usr/sfw/bin/mysql -V Then after 'configure' completed successfully, I run the following; gmake clean [really important step] gmake gmake install Thanks for the help! Regards, Juki -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 flatto.net Mon Apr 19 11:06:28 2010 From: nagios at flatto.net (Assaf Flatto) Date: Mon, 19 Apr 2010 10:06:28 +0100 Subject: Installing Nagios-Plugins [make errors] In-Reply-To: References: Message-ID: <4BCC1D14.3020903@flatto.net> Juki wrote: > Hello, > > On 19 April 2010 08:48, Mark Elsen > wrote: > > > Try 'gmake' (GNU Make) , > > > After using 'gmake' the error has now changed to this; > > /Undefined first referenced > symbol in file > SSL_load_error_strings sslutils.o > SSL_write sslutils.o > OpenSSL_add_all_algorithms sslutils.o > SSL_set_fd sslutils.o > SSL_free sslutils.o > SSL_read sslutils.o > SSLv23_client_method sslutils.o > SSL_new sslutils.o > SSL_CTX_new sslutils.o > SSL_connect sslutils.o > SSL_shutdown sslutils.o > SSL_CTX_free sslutils.o > SSL_library_init sslutils.o > ld: fatal: Symbol referencing errors. No output written to check_http > collect2: ld returned 1 exit status > gmake[2]: *** [check_http] Error 1 > gmake[2]: Leaving directory `/tmp/nagios-plugins-1.4.14/plugins' > gmake[1]: *** [all-recursive] Error 1 > gmake[1]: Leaving directory `/tmp/nagios-plugins-1.4.14' > gmake: *** [all] Error 2/ > > > Something wrong with the check_http plugin, perhaps? > > Juki. When you run the configure script - did it say anything about SSL ? from first glance it seems that it is looking for the sslutil.o module and does not find it . Assaf -- Never,Ever Cut A Deal With a Dragon I am doing a Charity Bike ride On the 27 of June for the Capital to Coast Charity. Please help by Donating http://www.justgiving.com/Lovefilm-capital-to-coast ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fm at frank4dd.com Mon Apr 19 14:01:01 2010 From: fm at frank4dd.com (Frank Migge) Date: Mon, 19 Apr 2010 21:01:01 +0900 Subject: Installing Nagios-Plugins [make errors] In-Reply-To: References: Message-ID: <1C5EE61326EC4F7FA970649ADB1C6872@sumomo> Hi Juki, It looks like the compiler cannot find the OpenSSL libraries for linking. The http plugin needs these libraries for the https calls. Find the libcryptoxxx.so and libsslxxx.so libraries location, then try adding the path manually to the Makefile using the -L option, e.g. -L/usr/local/ssl/lib. Alternatively, you can try using the gcc environment variable LIBRARY_PATH or LDFLAGS to force the compiler to find the SSL libraries. $ LIBRARY_PATH=/usr/local/ssl/lib $ export LIBRARY_PATH LDFLAGS="-L/usr/local/ssl/lib" export LDFLAGS Run make once more and see what happens. Cheers, Frank ----- Original Message ----- From: Juki To: Nagios Users List Sent: Monday, April 19, 2010 3:05 PM Subject: Re: [Nagios-users] Installing Nagios-Plugins [make errors] Hello, On 19 April 2010 08:48, Mark Elsen wrote: Try 'gmake' (GNU Make) , After using 'gmake' the error has now changed to this; Undefined first referenced symbol in file SSL_load_error_strings sslutils.o SSL_write sslutils.o OpenSSL_add_all_algorithms sslutils.o SSL_set_fd sslutils.o SSL_free sslutils.o SSL_read sslutils.o SSLv23_client_method sslutils.o SSL_new sslutils.o SSL_CTX_new sslutils.o SSL_connect sslutils.o SSL_shutdown sslutils.o SSL_CTX_free sslutils.o SSL_library_init sslutils.o ld: fatal: Symbol referencing errors. No output written to check_http collect2: ld returned 1 exit status gmake[2]: *** [check_http] Error 1 gmake[2]: Leaving directory `/tmp/nagios-plugins-1.4.14/plugins' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/tmp/nagios-plugins-1.4.14' gmake: *** [all] Error 2 Something wrong with the check_http plugin, perhaps? Juki. ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From EWScott at scotborders.gov.uk Mon Apr 19 15:30:15 2010 From: EWScott at scotborders.gov.uk (Scott, Ewan) Date: Mon, 19 Apr 2010 14:30:15 +0100 Subject: all notifications failing In-Reply-To: <4BC92D17.1090901@aei.ca> References: <771645F4ADF2C9449B7E6AE630C720018BC4BD23E7@HQ-MAIL-01.scotborders.gov.uk> <4BC92D17.1090901@aei.ca> Message-ID: <771645F4ADF2C9449B7E6AE630C720018BC4BD23EE@HQ-MAIL-01.scotborders.gov.uk> Problem was indeed with the /tmp directory permissions. Reset this back to drwxrwxrwt and mail notifications work again. Thanks to Patrick and Thomas for the pointers. Regards Ewan -----Original Message----- From: Thomas Guyot-Sionnest [mailto:dermoth at aei.ca] Sent: 17 April 2010 04:38 To: Nagios Users List Subject: Re: [Nagios-users] all notifications failing -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 16/04/10 09:49 AM, Scott, Ewan wrote: > Hi > > [...] > > # su - nagios > > $ /usr/bin/printf "%b" "***** Nagios *****\nNotification " | > /usr/bin/mail -s "** $NOTIFICATIONTYPE$ Service Alert: > $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" ewscott at scotborders.gov.uk > > mail: Cannot open temporary file: Permission denied > > Cannot open temporary file Use strace to find out what fails. strace will print all syscalls used by the traced program and wou will see which one (including parameters) failed. Don't forget to trace the mail program, not printf. i.e.: > $/usr/bin/printf "%b" "***** Nagios *****\nNotification " | strace > /usr/bin/mail -s "** $NOTIFICATIONTYPE$ Service Alert: > $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" ewscott at scotborders.gov.uk 2>/tmp/mail_trace.log Here I added "strace" before "/usr/bin/mail" and redirected stderr to "/tmp/mail_trace.log". Then you can look at "/tmp/mail_trace.log" for something like a failed open() call or for ENOPERM. The argument to the failed call should indicate which file failed. - -- Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFLyS0X6dZ+Kt5BchYRAgeuAJ46zQNJ+mdWLj94agD1qihi/pvZ1QCdGvlj gUs8215gRrSW21kl3wDq9CY= =o+AZ -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ********************************************************************** This email and any files transmitted with it are privileged, confidential and subject to copyright. Any unauthorised use or disclosure of any part of this email is prohibited. If you are not the intended recipient please inform the sender immediately; you should then delete the email and remove any copies from your system. The views or opinions expressed in this communication may not necessarily be those of Scottish Borders Council. Please be advised that Scottish Borders Council's incoming and outgoing email is subject to regular monitoring and any email may require to be disclosed by the Council under the provisions of the Freedom of Information (Scotland) Act 2002. ********************************************************************** ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From s.shipway at auckland.ac.nz Tue Apr 20 04:52:57 2010 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Tue, 20 Apr 2010 14:52:57 +1200 Subject: Monitoring Cisco Ironport Message-ID: <6B587E8C999646469B54486AF219584612DCC88DC9@UXCHANGE7-1.UoA.auckland.ac.nz> Hello all. Here, we have recently acquired a Cisco Ironport Email gateway appliance, and this makes all sorts of useful data available via an XML interface. Therefore, I have created a plugin for Nagios and MRTG that can collect and threshold this data using the HTTPS/XML interface. The plugin is written in Perl using LWP. It is still in its infancy, but can retrieve any of the counters, gauges and rates available on the standard web status screen; if anyone would like to have a copy of the v0.1 or has their own experiences in monitoring Ironports, please let me know... Due to impending growth of my family I may take a bit longer to reply that normal Steve From pkranz at unwiredltd.com Tue Apr 20 04:43:00 2010 From: pkranz at unwiredltd.com (Peter Kranz) Date: Mon, 19 Apr 2010 19:43:00 -0700 Subject: $SERVICEOUTPUT$ missing from emails.. Nagios 3.2.1 Message-ID: <088701cae033$3188c000$949a4000$@unwiredltd.com> Somewhere in the Nagios 3 chain we stopped receiving the $SERVICEOUTPUT$ in service-notify emails.. I found a few bug reports of similar issues.. we are on Ubuntu.. any quick fixes? It shows up in the nagios log; so the data is being passed.. [1271730453] SERVICE NOTIFICATION: pkranz-email;lpetersen;ping-residential;OK;notify-by-email;OK - lpetersen.pv1: rta 16.481ms, lost 0% But does not show up in the email; We are using the default notify template... ***** Nagios ***** Notification Type: RECOVERY Service: ping-residential Host: lpetersen Address: lpetersen.pv1 State: OK Date/Time: Mon Apr 19 19:27:33 PDT 2010 Additional Info: Peter Kranz www.UnwiredLtd.com Desk: 510-868-1614 x100 Mobile: 510-207-0000 pkranz at unwiredltd.com ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 20 05:23:15 2010 From: patrick.morris at hp.com (Morris, Patrick) Date: Mon, 19 Apr 2010 20:23:15 -0700 Subject: $SERVICEOUTPUT$ missing from emails.. Nagios 3.2.1 In-Reply-To: <088701cae033$3188c000$949a4000$@unwiredltd.com> References: <088701cae033$3188c000$949a4000$@unwiredltd.com> Message-ID: <4BCD1E23.2090900@hp.com> Peter Kranz wrote: > Somewhere in the Nagios 3 chain we stopped receiving the $SERVICEOUTPUT$ in > service-notify emails.. I found a few bug reports of similar issues.. we > are on Ubuntu.. any quick fixes? > > It shows up in the nagios log; so the data is being passed.. > > [1271730453] SERVICE NOTIFICATION: > pkranz-email;lpetersen;ping-residential;OK;notify-by-email;OK - > lpetersen.pv1: rta 16.481ms, lost 0% > > But does not show up in the email; We are using the default notify > template... > What's your template look like? The "default notify template" varies depending on several factors. Something a bit more precise would be nice (especially since your problem is almost certainly with that notify command). ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pkranz at unwiredltd.com Tue Apr 20 05:34:53 2010 From: pkranz at unwiredltd.com (Peter Kranz) Date: Mon, 19 Apr 2010 20:34:53 -0700 Subject: $SERVICEOUTPUT$ missing from emails.. Nagios 3.2.1 In-Reply-To: <4BCD1E23.2090900@hp.com> References: <088701cae033$3188c000$949a4000$@unwiredltd.com> <4BCD1E23.2090900@hp.com> Message-ID: <000c01cae03a$70e34cf0$52a9e6d0$@com> It's the default that comes with the .tar: # 'notify-by-email' command definition define command{ command_name notify-by-email command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time:$LONGDATETIME$\n\nAdditional Info:\n\n$SERVICEOUTPUT$" | /usr/bin/mail -s "** $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$ } -Peter -----Original Message----- From: Morris, Patrick [mailto:patrick.morris at hp.com] Sent: Monday, April 19, 2010 8:23 PM To: Nagios Users List Subject: Re: [Nagios-users] $SERVICEOUTPUT$ missing from emails.. Nagios 3.2.1 Peter Kranz wrote: > Somewhere in the Nagios 3 chain we stopped receiving the $SERVICEOUTPUT$ in > service-notify emails.. I found a few bug reports of similar issues.. we > are on Ubuntu.. any quick fixes? > > It shows up in the nagios log; so the data is being passed.. > > [1271730453] SERVICE NOTIFICATION: > pkranz-email;lpetersen;ping-residential;OK;notify-by-email;OK - > lpetersen.pv1: rta 16.481ms, lost 0% > > But does not show up in the email; We are using the default notify > template... > What's your template look like? The "default notify template" varies depending on several factors. Something a bit more precise would be nice (especially since your problem is almost certainly with that notify command). ---------------------------------------------------------------------------- -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Simone.Cambria at bancaria.ch Tue Apr 20 11:36:11 2010 From: Simone.Cambria at bancaria.ch (Simone Cambria) Date: Tue, 20 Apr 2010 11:36:11 +0200 Subject: help - check_nt v1.4.14 (nagios-plugins 1.4.14) Message-ID: Hello, I'm trying to use che plugin Check_nt to monitor some process on a Windows 2003 server. I have two processes named in the same way (transfersicmsg.exe). I'm not able to monitor if just one of these is down, nagios gives me a notification if both of them are not running. Is it possible to specify the number of running processes? Does check_nt PROCSTATE/SERVICESTATE work on windows 2008 server? Thanks in advance for your cooperation. Best regards, Simone Cambria Simone Cambria ________________________________ Societ? Bancaria Ticinese Piazza Collegiata 3 6500 Bellinzona Tel.: +41 91 825 51 21 Fax: +41 91 825 66 18 e-mail: simone.cambria at bancaria.ch web site: www.bancaria.ch ________________________________ ========================LEGAL DISCLAIMER=========================== The contents of this e-mail and any attachments are strictly confidential and they may not be used or disclosed by someone who is not a named recipient. If you have received this email in error please notify the sender by Replying to this email inserting the word "misdirected" as the message and delete This e-mail from your system. ==================================================================== ________________________________ - -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lists at xodus.org Tue Apr 20 13:34:15 2010 From: lists at xodus.org (Marc Powell) Date: Tue, 20 Apr 2010 06:34:15 -0500 Subject: $SERVICEOUTPUT$ missing from emails.. Nagios 3.2.1 In-Reply-To: <000c01cae03a$70e34cf0$52a9e6d0$@com> References: <088701cae033$3188c000$949a4000$@unwiredltd.com> <4BCD1E23.2090900@hp.com> <000c01cae03a$70e34cf0$52a9e6d0$@com> Message-ID: <8E4A6830-60AE-4ED3-A829-258D176C06F5@xodus.org> On Apr 19, 2010, at 10:34 PM, Peter Kranz wrote: > It's the default that comes with the .tar: > > # 'notify-by-email' command definition > define command{ > command_name notify-by-email > command_line /usr/bin/printf "%b" "***** Nagios > *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: > $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: > $SERVICESTATE$\n\nDate/Time:$LONGDATETIME$\n\nAdditional > Info:\n\n$SERVICEOUTPUT$" | /usr/bin/mail -s "** $NOTIFICATIONTYPE$ alert - > $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$ > } Make sure the contact is using 'notify-by-email' as their service notification command. There have been no reports of this as a bug so I'd greatly lean toward it being a configuration issue. -- Marc ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pangrazi at gmail.com Tue Apr 20 15:07:38 2010 From: pangrazi at gmail.com (Greg Pangrazio) Date: Tue, 20 Apr 2010 08:07:38 -0500 Subject: Monitoring Cisco Ironport In-Reply-To: <6B587E8C999646469B54486AF219584612DCC88DC9@UXCHANGE7-1.UoA.auckland.ac.nz> References: <6B587E8C999646469B54486AF219584612DCC88DC9@UXCHANGE7-1.UoA.auckland.ac.nz> Message-ID: I have been monitoring some of the output via snmp for about 7 months, but would be interested in seeing what you have. I use Cacti to graph the cache response time and a few other small things. Greg Pangrazio pangrazi at gmail.com On Mon, Apr 19, 2010 at 9:52 PM, Steve Shipway wrote: > Hello all. > > Here, we have recently acquired a Cisco Ironport Email gateway appliance, and this makes all sorts of useful data available via an XML interface. ?Therefore, I have created a plugin for Nagios and MRTG that can collect and threshold this data using the HTTPS/XML interface. > > The plugin is written in Perl using LWP. ?It is still in its infancy, but can retrieve any of the counters, gauges and rates available on the standard web status screen; if anyone would like to have a copy of the v0.1 or has their own experiences in monitoring Ironports, please let me know... > > Due to impending growth of my family I may take a bit longer to reply that normal > > Steve > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From standalone.sysadmin at gmail.com Tue Apr 20 16:45:33 2010 From: standalone.sysadmin at gmail.com (Matt Simmons) Date: Tue, 20 Apr 2010 10:45:33 -0400 Subject: $SERVICEOUTPUT$ missing from emails.. Nagios 3.2.1 In-Reply-To: <8E4A6830-60AE-4ED3-A829-258D176C06F5@xodus.org> References: <088701cae033$3188c000$949a4000$@unwiredltd.com> <4BCD1E23.2090900@hp.com> <000c01cae03a$70e34cf0$52a9e6d0$@com> <8E4A6830-60AE-4ED3-A829-258D176C06F5@xodus.org> Message-ID: Have you verified that your MTA is operating correctly? Try sending mail from the command line (echo "test 1" | mail -s "test 1" email at address.com) and see if that goes through, before you suspect Nagios. --Matt On Tue, Apr 20, 2010 at 7:34 AM, Marc Powell wrote: > > On Apr 19, 2010, at 10:34 PM, Peter Kranz wrote: > >> It's the default that comes with the .tar: >> >> # 'notify-by-email' command definition >> define command{ >> ? ? ? ?command_name ? ?notify-by-email >> ? ? ? ?command_line ? ?/usr/bin/printf "%b" "***** Nagios >> *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: >> $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: >> $SERVICESTATE$\n\nDate/Time:$LONGDATETIME$\n\nAdditional >> Info:\n\n$SERVICEOUTPUT$" | /usr/bin/mail -s "** $NOTIFICATIONTYPE$ alert - >> $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$ >> ? ? ? ?} > > Make sure the contact is using 'notify-by-email' as their service notification command. There have been no reports of this as a bug so I'd greatly lean toward it being a configuration issue. > > -- > Marc > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- LITTLE GIRL: But which cookie will you eat FIRST? COOKIE MONSTER: Me think you have misconception of cookie-eating process. COOKIE MONSTER: Boy, I wish I were a sysadmin so I could go to the NJ-PICC Sysadmin Conference! http://www.picconf.org ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 aidananderson.co.uk Tue Apr 20 18:12:09 2010 From: mail at aidananderson.co.uk (Aidan Anderson) Date: Tue, 20 Apr 2010 17:12:09 +0100 Subject: Host Dependency Object Inheritance Issue Message-ID: <4BCDD259.9090408@aidananderson.co.uk> Hi, Using Nagios v3.2.1 I am have problems defining host dependency object inheritance (chaining) using templates. It "appears" that if you use 2 levels of inheritance, Nagios doesn't like it and aborts with the following error: Error: Could not expand dependent hostgroups and/or hosts specified in host dependency (config file '/usr/local/nagios/etc/manual/templates-hosts.cfg', starting on line 123) Here is my config. I created the following host dependency templates in '/usr/local/nagios/etc/manual/templates-hosts.cfg'. This is where the error is found so I've highlighted line 123: define hostdependency{ name dc-ping-proxy execution_failure_criteria d,u,p notification_failure_criteria d,u,p register 0 } define hostdependency{ use dc-ping-proxy name cam-ping-proxy host_name rp1b register 0 } define hostdependency{ <------- Line 123 use dc-ping-proxy name tcl-ping-proxy host_name rp1a register 0 } I then created the following 2 host dependency definitions which use the bottom 2 templates: define hostdependency{ use cam-ping-proxy dependent_host_name cam-int } define hostdependency{ use tcl-ping-proxy dependent_host_name tcl-int } This should expand as follows: define hostdependency{ host_name rp1b dependent_host_name cam-int execution_failure_criteria d,u,p notification_failure_criteria d,u,p } define hostdependency{ host_name rp1a dependent_host_name tcl-int execution_failure_criteria d,u,p notification_failure_criteria d,u,p } but I get the error. I then changed the configs to remove 1 level of inheritance. My templates and definitions now look like this: Template: define hostdependency{ name dc-ping-proxy execution_failure_criteria d,u,p notification_failure_criteria d,u,p register 0 } Definitions: define hostdependency{ use dc-ping-proxy host_name rp1b dependent_host_name cam-int } define hostdependency{ use dc-ping-proxy host_name rp1a dependent_host_name tcl-int } This should expand to the same configuration as when there were 2 levels of inheritance. However, the second configuration works fine but the first one doesn't. Also, I have created a similar service dependency setup with 2 levels of inheritance and that works fine. Can someone cast their eye over the configs listed above to see if there is anything obvious that I have done wrong with the inheritance? regards, Aidan ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pkranz at unwiredltd.com Tue Apr 20 19:39:29 2010 From: pkranz at unwiredltd.com (Peter Kranz) Date: Tue, 20 Apr 2010 10:39:29 -0700 Subject: $SERVICEOUTPUT$ missing from emails.. Nagios 3.2.1 In-Reply-To: References: <088701cae033$3188c000$949a4000$@unwiredltd.com> <4BCD1E23.2090900@hp.com> <000c01cae03a$70e34cf0$52a9e6d0$@com> <8E4A6830-60AE-4ED3-A829-258D176C06F5@xodus.org> Message-ID: <098a01cae0b0$6e35dc90$4aa195b0$@unwiredltd.com> Hi Matt, We receive the emails ok, just missing the $SERVICEOUTPUTS$ part.. -Peter -----Original Message----- From: Matt Simmons [mailto:standalone.sysadmin at gmail.com] Sent: Tuesday, April 20, 2010 7:46 AM To: Nagios Users List Subject: Re: [Nagios-users] $SERVICEOUTPUT$ missing from emails.. Nagios 3.2.1 Have you verified that your MTA is operating correctly? Try sending mail from the command line (echo "test 1" | mail -s "test 1" email at address.com) and see if that goes through, before you suspect Nagios. --Matt On Tue, Apr 20, 2010 at 7:34 AM, Marc Powell wrote: > > On Apr 19, 2010, at 10:34 PM, Peter Kranz wrote: > >> It's the default that comes with the .tar: >> >> # 'notify-by-email' command definition define command{ >> command_name notify-by-email >> command_line /usr/bin/printf "%b" "***** Nagios >> *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: >> $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: >> $SERVICESTATE$\n\nDate/Time:$LONGDATETIME$\n\nAdditional >> Info:\n\n$SERVICEOUTPUT$" | /usr/bin/mail -s "** $NOTIFICATIONTYPE$ >> alert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" >> $CONTACTEMAIL$ >> } > > Make sure the contact is using 'notify-by-email' as their service notification command. There have been no reports of this as a bug so I'd greatly lean toward it being a configuration issue. > > -- > Marc > > > ---------------------------------------------------------------------- > -------- Download Intel® Parallel Studio Eval Try the new > software tools for yourself. Speed compiling, find bugs proactively, > and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- LITTLE GIRL: But which cookie will you eat FIRST? COOKIE MONSTER: Me think you have misconception of cookie-eating process. COOKIE MONSTER: Boy, I wish I were a sysadmin so I could go to the NJ-PICC Sysadmin Conference! http://www.picconf.org ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pkranz at unwiredltd.com Tue Apr 20 19:43:03 2010 From: pkranz at unwiredltd.com (Peter Kranz) Date: Tue, 20 Apr 2010 10:43:03 -0700 Subject: $SERVICEOUTPUT$ missing from emails.. Nagios 3.2.1 In-Reply-To: <8E4A6830-60AE-4ED3-A829-258D176C06F5@xodus.org> References: <088701cae033$3188c000$949a4000$@unwiredltd.com> <4BCD1E23.2090900@hp.com> <000c01cae03a$70e34cf0$52a9e6d0$@com> <8E4A6830-60AE-4ED3-A829-258D176C06F5@xodus.org> Message-ID: <098c01cae0b0$edd3b120$c97b1360$@unwiredltd.com> Confirmed: >service_notification_commands notify-by-email Apparently some reported similar issues in the past under the 2.0 chain.. > http://osdir.com/ml/network.nagios.devel/2005-11/msg00004.html -Peter -----Original Message----- From: Marc Powell [mailto:lists at xodus.org] Sent: Tuesday, April 20, 2010 4:34 AM To: Nagios Users List Subject: Re: [Nagios-users] $SERVICEOUTPUT$ missing from emails.. Nagios 3.2.1 On Apr 19, 2010, at 10:34 PM, Peter Kranz wrote: > It's the default that comes with the .tar: > > # 'notify-by-email' command definition define command{ > command_name notify-by-email > command_line /usr/bin/printf "%b" "***** Nagios > *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: > $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: > $SERVICESTATE$\n\nDate/Time:$LONGDATETIME$\n\nAdditional > Info:\n\n$SERVICEOUTPUT$" | /usr/bin/mail -s "** $NOTIFICATIONTYPE$ > alert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$ > } Make sure the contact is using 'notify-by-email' as their service notification command. There have been no reports of this as a bug so I'd greatly lean toward it being a configuration issue. -- Marc ---------------------------------------------------------------------------- -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rjswart at kc.rr.com Tue Apr 20 20:00:23 2010 From: rjswart at kc.rr.com (Ralph Swartwood) Date: Tue, 20 Apr 2010 13:00:23 -0500 Subject: processing performance data in passive checks Message-ID: <006901cae0b3$59de7740$0d9b65c0$@rr.com> I have nagios working with pnp4nagios in sync mode. Performance data is captured by pnp4nagios correctly from active checks. However, it doesn't appear that nagios is calling the service_perfdata_command when processing passive checks. Is there some parameter I missed? Thanks, Ralph -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mitsuto at gmail.com Tue Apr 20 20:27:12 2010 From: mitsuto at gmail.com (Marcel) Date: Tue, 20 Apr 2010 15:27:12 -0300 Subject: $SERVICEOUTPUT$ missing from emails.. Nagios 3.2.1 In-Reply-To: <098c01cae0b0$edd3b120$c97b1360$@unwiredltd.com> References: <088701cae033$3188c000$949a4000$@unwiredltd.com> <4BCD1E23.2090900@hp.com> <000c01cae03a$70e34cf0$52a9e6d0$@com> <8E4A6830-60AE-4ED3-A829-258D176C06F5@xodus.org> <098c01cae0b0$edd3b120$c97b1360$@unwiredltd.com> Message-ID: from the docs, $SERVICEOUTPUT$ just prints the first output line. If by any chance your plugin is outputting "\n$SERVICEOUTPUT$\n" the all you'll get would be a blank line. However, you can try using $LONGSERVICEOUTPUT$, as it prints everything from plugins' output. On Tue, Apr 20, 2010 at 2:43 PM, Peter Kranz wrote: > Confirmed: > > >service_notification_commands notify-by-email > > Apparently some reported similar issues in the past under the 2.0 chain.. > > > http://osdir.com/ml/network.nagios.devel/2005-11/msg00004.html > > -Peter > > -----Original Message----- > From: Marc Powell [mailto:lists at xodus.org] > Sent: Tuesday, April 20, 2010 4:34 AM > To: Nagios Users List > Subject: Re: [Nagios-users] $SERVICEOUTPUT$ missing from emails.. Nagios > 3.2.1 > > > On Apr 19, 2010, at 10:34 PM, Peter Kranz wrote: > > > It's the default that comes with the .tar: > > > > # 'notify-by-email' command definition define command{ > > command_name notify-by-email > > command_line /usr/bin/printf "%b" "***** Nagios > > *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: > > $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: > > $SERVICESTATE$\n\nDate/Time:$LONGDATETIME$\n\nAdditional > > Info:\n\n$SERVICEOUTPUT$" | /usr/bin/mail -s "** $NOTIFICATIONTYPE$ > > alert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$ > > } > > Make sure the contact is using 'notify-by-email' as their service > notification command. There have been no reports of this as a bug so I'd > greatly lean toward it being a configuration issue. > > -- > Marc > > > > ---------------------------------------------------------------------------- > -- > Download Intel® Parallel Studio Eval Try the new software tools for > yourself. Speed compiling, find bugs proactively, and fine-tune > applications > for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Flyinvap at orange.fr Tue Apr 20 21:06:12 2010 From: Flyinvap at orange.fr (Flyinvap) Date: Tue, 20 Apr 2010 21:06:12 +0200 Subject: $SERVICEOUTPUT$ missing from emails.. Nagios 3.2.1 In-Reply-To: References: <088701cae033$3188c000$949a4000$@unwiredltd.com> <4BCD1E23.2090900@hp.com> <000c01cae03a$70e34cf0$52a9e6d0$@com> <8E4A6830-60AE-4ED3-A829-258D176C06F5@xodus.org> <098c01cae0b0$edd3b120$c97b1360$@unwiredltd.com> Message-ID: <20100420210612.43f47c34@orange.fr> Le Tue, 20 Apr 2010 15:27:12 -0300, Marcel a ?crit : > However, you can try using $LONGSERVICEOUTPUT$, as it prints > everything from plugins' output. For everything, you have to use $SERVICEOUTPUT$\n$LONGSERVICEOUTPUT$. $SERVICEOUTPUT$ : The first line of text output from the last service check (i.e. "Ping OK"). $LONGSERVICEOUTPUT$ : The full text output (aside from the first line) from the last service check. http://nagios.sourceforge.net/docs/3_0/macrolist.html#serviceoutput -- Flyinvap ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From robert.l.odonnell at intel.com Wed Apr 21 01:18:05 2010 From: robert.l.odonnell at intel.com (O'Donnell, Robert L) Date: Tue, 20 Apr 2010 16:18:05 -0700 Subject: check_by_ssh failing - host key verification failed In-Reply-To: References: Message-ID: No joy in Mudville. I can ssh interactive as user nagios with both the ip address and the name of the target machine. Also, my .cfg file does define the host name and address Define host{ Use linux-server Host_name (machine_name) Alias (machine_name) Address (machine_ip) Notes xxxxx Notes_url (internal_wiki_web_link) I also tried to change the command.cfg command_line to check_by_ssh -H $HOSTADDRESS$ ... to $HOSTNAME$ with no impact. Any help would be GREATLY appreciated, as I have been banging my head on this for over a week. That said, I know a LOT more about ssh and DSA security than I did last week. ================ Hi O'Donnell,! On Wed, 14 Apr 2010, O'Donnell, Robert L wrote: > Giorgio, > > Yes. > > Ssh (remote_machine_ip) -l nagios ?I /etc/nagios/.ssh/id_dsa > > logs me in with prompt ?nagios@(remote_machine_name):~>? and > whoami returns nagios. I see that you're logging in by IP, but in the config snippet you included previously there was no IP defined in the host definition, so $HOSTADDRESS$ will expand to the same value as host_name. You'll need to log in using the same exact address (in this case, name) Nagios will be using to create an entry in your known_hosts file that matches what Nagios will be using. ================== If u try an ssh login from Nagios box to the remote box, u can login without been asked for a password? Ciao, Giorgio Il giorno 14/apr/2010, alle ore 23.15, "O'Donnell, Robert L" ha scritto: Running nagios 3.0.6 on OpenSUSE and trying to get info from a SUSE enterprise machine. Chk_by_ssh returns UNKNOWN and "Remote command execution failed: Host key verification failed", check_ping works. I have played with every combo of options I could think of, but same results. This is my first setup with remote checks on a linux machine (windows machine checks working fine), so it could be a newb problem. (from commands.cfg) # check_ssh_dummy command definition define command{ command_name check_ssh_dummy command_line $USER1$/check_by_ssh -H $HOSTADDRESS$ -l nagios -2 \ -I /etc/nagios/.ssh/id_dsa -C "/usr/lib/nagios/plugins/check_dummy 0" } I took out the desired response text to eliminate possible double quote issues, but it made no difference =================== Running nagios 3.0.6 on OpenSUSE and trying to get info from a SUSE enterprise machine. Chk_by_ssh returns UNKNOWN and "Remote command execution failed: Host key verification failed", check_ping works. I have played with every combo of options I could think of, but same results. This is my first setup with remote checks on a linux machine (windows machine checks working fine), so it could be a newb problem. (from commands.cfg) # check_ssh_dummy command definition define command{ command_name check_ssh_dummy command_line $USER1$/check_by_ssh -H $HOSTADDRESS$ -l nagios -2 \ -I /etc/nagios/.ssh/id_dsa -C "/usr/lib/nagios/plugins/check_dummy 0" } I took out the desired response text to eliminate possible double quote issues, but it made no difference (from object config) define service{ use local-service host_name (machine_name) service_description PING check_command check_ping!100.0,20%!500.o,60% } define_service{ use local-service host_name (machine_name) service_description check_ssh_dummy! } >From the command line, I run: /usr/lib/nagios/plugins/check_by_ssh -H (machine_ip) -l nagios -i /etc/nagios.ssh/id_dsa -C "usr/lib/nagios/plugins/check_dummy 0" It returns OK I am having the same issue with check_ssh_disk. I do not have a MOTD for the shell, I have tried putting explicit paths in place of USER1, putting in the actual address for HOSTADDRESS, and many options on the Robert L. O'Donnell Advanced Equipment Engineering, IMO ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ratty at they.org Wed Apr 21 03:00:31 2010 From: ratty at they.org (frank) Date: Tue, 20 Apr 2010 18:00:31 -0700 (PDT) Subject: check_by_ssh failing - host key verification failed In-Reply-To: References: Message-ID: Add "-o StrictHostKeyChecking=no" to your check_by_ssh command line. Or you can edit ~nagios/.ssh/known_hosts, remove the line for that host, then su to the nagios user and manually ssh to the host. Type "yes" when it asks you about the host key. -f On Tue, 20 Apr 2010, O'Donnell, Robert L wrote: > Date: Tue, 20 Apr 2010 16:18:05 -0700 > From: "O'Donnell, Robert L" > Reply-To: Nagios Users List > To: "nagios-users at lists.sourceforge.net" > Subject: Re: [Nagios-users] check_by_ssh failing - host key verification > failed > > No joy in Mudville. > > I can ssh interactive as user nagios with both the ip address and the name of the target machine. > > Also, my .cfg file does define the host name and address > > Define host{ > Use linux-server > Host_name (machine_name) > Alias (machine_name) > Address (machine_ip) > Notes xxxxx > Notes_url (internal_wiki_web_link) > > > I also tried to change the command.cfg command_line to check_by_ssh -H $HOSTADDRESS$ ... to $HOSTNAME$ with no impact. > > Any help would be GREATLY appreciated, as I have been banging my head on this for over a week. That said, I know a LOT more about ssh and DSA security than I did last week. > > > ================ > > Hi O'Donnell,! > > On Wed, 14 Apr 2010, O'Donnell, Robert L wrote: > >> Giorgio, >> >> Yes. >> >> Ssh (remote_machine_ip) -l nagios ?I /etc/nagios/.ssh/id_dsa >> >> logs me in with prompt ?nagios@(remote_machine_name):~>? and >> whoami returns nagios. > > I see that you're logging in by IP, but in the config snippet you > included previously there was no IP defined in the host definition, so > $HOSTADDRESS$ will expand to the same value as host_name. You'll need > to log in using the same exact address (in this case, name) Nagios will > be using to create an entry in your known_hosts file that matches what > Nagios will be using. > > ================== > > If u try an ssh login from Nagios box to the remote box, u can login without been asked for a password? > > > Ciao, > > Giorgio > > Il giorno 14/apr/2010, alle ore 23.15, "O'Donnell, Robert L" ha scritto: > Running nagios 3.0.6 on OpenSUSE and trying to get info from a SUSE enterprise machine. > > Chk_by_ssh returns UNKNOWN and "Remote command execution failed: Host key verification failed", check_ping works. > > I have played with every combo of options I could think of, but same results. This is my first setup with remote checks on a linux machine (windows machine checks working fine), so it could be a newb problem. > > (from commands.cfg) > # check_ssh_dummy command definition > define command{ > command_name check_ssh_dummy > command_line $USER1$/check_by_ssh -H $HOSTADDRESS$ -l nagios -2 \ > -I /etc/nagios/.ssh/id_dsa -C "/usr/lib/nagios/plugins/check_dummy 0" > } > > I took out the desired response text to eliminate possible double quote issues, but it made no difference > > =================== > > Running nagios 3.0.6 on OpenSUSE and trying to get info from a SUSE enterprise machine. > > Chk_by_ssh returns UNKNOWN and "Remote command execution failed: Host key verification failed", check_ping works. > > I have played with every combo of options I could think of, but same results. This is my first setup with remote checks on a linux machine (windows machine checks working fine), so it could be a newb problem. > > (from commands.cfg) > # check_ssh_dummy command definition > define command{ > command_name check_ssh_dummy > command_line $USER1$/check_by_ssh -H $HOSTADDRESS$ -l nagios -2 \ > -I /etc/nagios/.ssh/id_dsa -C "/usr/lib/nagios/plugins/check_dummy 0" > } > > I took out the desired response text to eliminate possible double quote issues, but it made no difference > > > (from object config) > > define service{ > use local-service > host_name (machine_name) > service_description PING > check_command check_ping!100.0,20%!500.o,60% > } > > define_service{ > use local-service > host_name (machine_name) > service_description check_ssh_dummy! > } > > >> From the command line, I run: > > /usr/lib/nagios/plugins/check_by_ssh -H (machine_ip) -l nagios -i /etc/nagios.ssh/id_dsa -C "usr/lib/nagios/plugins/check_dummy 0" > > It returns OK > > I am having the same issue with check_ssh_disk. I do not have a MOTD for the shell, I have tried putting explicit paths in place of USER1, putting in the actual address for HOSTADDRESS, and many options on the > > > Robert L. O'Donnell > Advanced Equipment Engineering, IMO > > ------------------------------------------------------------------------------ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lists at xodus.org Wed Apr 21 05:26:09 2010 From: lists at xodus.org (Marc Powell) Date: Tue, 20 Apr 2010 22:26:09 -0500 Subject: $SERVICEOUTPUT$ missing from emails.. Nagios 3.2.1 In-Reply-To: <098c01cae0b0$edd3b120$c97b1360$@unwiredltd.com> References: <088701cae033$3188c000$949a4000$@unwiredltd.com> <4BCD1E23.2090900@hp.com> <000c01cae03a$70e34cf0$52a9e6d0$@com> <8E4A6830-60AE-4ED3-A829-258D176C06F5@xodus.org> <098c01cae0b0$edd3b120$c97b1360$@unwiredltd.com> Message-ID: On Apr 20, 2010, at 12:43 PM, Peter Kranz wrote: > Confirmed: > >> service_notification_commands notify-by-email > > Apparently some reported similar issues in the past under the 2.0 chain.. > >> http://osdir.com/ml/network.nagios.devel/2005-11/msg00004.html I don't see anything obviously wrong with what you're doing but I also don't think that a 5 year old, *possible* bug report for a beta version of a previous major release is relevant ;) There are no known bugs related to macros and haven't been for a long time. The code for macro processing hasn't needed to be touched for about 2 years; it's widely used and stable. Can you just try retyping that entire $MACRO$ in the notification command in the event that some hidden character has been introduced while editing the file? -- Marc ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dermoth at aei.ca Wed Apr 21 05:32:20 2010 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Tue, 20 Apr 2010 23:32:20 -0400 Subject: processing performance data in passive checks In-Reply-To: <006901cae0b3$59de7740$0d9b65c0$@rr.com> References: <006901cae0b3$59de7740$0d9b65c0$@rr.com> Message-ID: <4BCE71C4.60804@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 20/04/10 02:00 PM, Ralph Swartwood wrote: > I have nagios working with pnp4nagios in sync mode. Performance data is > captured by pnp4nagios correctly from active checks. However, it > doesn?t appear that nagios is calling the *service_perfdata_command > *when processing passive checks. Is there some parameter I missed? Are you passing data to passive checks? What exactly are you returning to nagios as check results? - -- Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFLznHE6dZ+Kt5BchYRAr2IAKCjlKVNsAWzUSlgZ2Oc/cfcnh9jlACcCrRj 4F26Rm6PoDS5tjL7dSkqIAM= =w1/0 -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 21 12:00:48 2010 From: zarrelli at linux.it (Giorgio Zarrelli) Date: Wed, 21 Apr 2010 12:00:48 +0200 (CEST) Subject: $SERVICEOUTPUT$ missing from emails.. Nagios 3.2.1 In-Reply-To: <098a01cae0b0$6e35dc90$4aa195b0$@unwiredltd.com> References: <088701cae033$3188c000$949a4000$@unwiredltd.com> <4BCD1E23.2090900@hp.com> <000c01cae03a$70e34cf0$52a9e6d0$@com> <8E4A6830-60AE-4ED3-A829-258D176C06F5@xodus.org> <098a01cae0b0$6e35dc90$4aa195b0$@unwiredltd.com> Message-ID: Hi, I have the same problem. Just the %SERVICEOUTPUT$ and "LONGSERVICEOUTPUT$ are missing from notification emails. I am checking what can be the problem. > Hi Matt, > We receive the emails ok, just missing the $SERVICEOUTPUTS$ part.. > > -Peter > > > -----Original Message----- > From: Matt Simmons [mailto:standalone.sysadmin at gmail.com] > Sent: Tuesday, April 20, 2010 7:46 AM > To: Nagios Users List > Subject: Re: [Nagios-users] $SERVICEOUTPUT$ missing from emails.. Nagios > 3.2.1 > > Have you verified that your MTA is operating correctly? Try sending mail > from the command line (echo "test 1" | mail -s "test 1" > email at address.com) and see if that goes through, before you suspect > Nagios. > > --Matt > > > On Tue, Apr 20, 2010 at 7:34 AM, Marc Powell wrote: >> >> On Apr 19, 2010, at 10:34 PM, Peter Kranz wrote: >> >>> It's the default that comes with the .tar: >>> >>> # 'notify-by-email' command definition define command{ >>> command_name notify-by-email >>> command_line /usr/bin/printf "%b" "***** Nagios >>> *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: >>> $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: >>> $SERVICESTATE$\n\nDate/Time:$LONGDATETIME$\n\nAdditional >>> Info:\n\n$SERVICEOUTPUT$" | /usr/bin/mail -s "** $NOTIFICATIONTYPE$ >>> alert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" >>> $CONTACTEMAIL$ >>> } >> >> Make sure the contact is using 'notify-by-email' as their service >> notification command. There have been no reports of this as a bug so I'd >> greatly lean toward it being a configuration issue. >> >> -- >> Marc >> >> >> ---------------------------------------------------------------------- >> -------- Download Intel® Parallel Studio Eval Try the new >> software tools for yourself. Speed compiling, find bugs proactively, >> and fine-tune applications for parallel performance. >> See why Intel Parallel Studio got high marks during beta. >> http://p.sf.net/sfu/intel-sw-dev >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> > > > > -- > LITTLE GIRL: But which cookie will you eat FIRST? > COOKIE MONSTER: Me think you have misconception of cookie-eating process. > > COOKIE MONSTER: Boy, I wish I were a sysadmin so I could go to the NJ-PICC > Sysadmin Conference! http://www.picconf.org > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval Try the new software tools for > yourself. Speed compiling, find bugs proactively, and fine-tune > applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From zarrelli at linux.it Wed Apr 21 12:35:09 2010 From: zarrelli at linux.it (Giorgio Zarrelli) Date: Wed, 21 Apr 2010 12:35:09 +0200 (CEST) Subject: $SERVICEOUTPUT$ missing from emails.. Nagios 3.2.1 In-Reply-To: <098a01cae0b0$6e35dc90$4aa195b0$@unwiredltd.com> References: <088701cae033$3188c000$949a4000$@unwiredltd.com> <4BCD1E23.2090900@hp.com> <000c01cae03a$70e34cf0$52a9e6d0$@com> <8E4A6830-60AE-4ED3-A829-258D176C06F5@xodus.org> <098a01cae0b0$6e35dc90$4aa195b0$@unwiredltd.com> Message-ID: Hi, this is the definition: define command{ command_name notify-service-by-email command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional Info:\n\n$SERVICEOUTPUT$ - $LONGSERVICEOUTPUT$" | /usr/bin/mail -s "** $NOTIFICATIONTYPE$ Service Alert: $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$ } And this is the output from notify-service-by-email, not showing $SERVICEOUTPUT$ - $LONGSERVICEOUTPUT$: ***** Nagios ***** Notification Type: PROBLEM Service: Totale Processi Host: Nagios Address: 127.0.0.1 State: WARNING Date/Time: Wed Apr 21 12:34:30 CEST 2010 Additional Info: ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Deborah.Martin at Kognitio.com Wed Apr 21 13:24:57 2010 From: Deborah.Martin at Kognitio.com (Deborah Martin) Date: Wed, 21 Apr 2010 12:24:57 +0100 Subject: Timeperiods and oncall rotation with UK Public holidays Message-ID: <84836290D5AD43418C40DCF0C4A54ED3015DBE08@kogex02.pmpl.co.uk> Folks, I'm using SLES 10 and Nagios 3.2.0. We have 4 oncall engineers which rotate over a 4 week period, each being oncall one week at a time. The oncall period is 17:30 - 08:00 each working day and then the whole period for any weekend or UK public holiday. My definitions are :- define timeperiod{ timeperiod_name 24x7 alias 24 Hours A Day, 7 Days A Week sunday 00:00-24:00 monday 00:00-24:00 tuesday 00:00-24:00 wednesday 00:00-24:00 thursday 00:00-24:00 friday 00:00-24:00 saturday 00:00-24:00 } This is for all normal monitoring of our systems. Each oncall engineer is defined :- define timeperiod{ timeperiod_name person1-oncall alias person1-oncall 2010-03-29 / 28 17:30-24:00 ; Monday 2010-03-30 / 28 00:00-08:00,17:30-24:00 ; Tuesday 2010-03-31 / 28 00:00-08:00,17:30-24:00 ; Wednesday 2010-04-01 / 28 00:00-08:00,17:30-24:00 ; Thursday 2010-04-02 / 28 00:00-08:00,17:30-24:00 ; Friday 2010-04-03 / 28 00:00-24:00 ; Saturday 2010-04-04 / 28 00:00-24:00 ; Sunday 2010-04-05 / 28 00:00-08:00 ; Monday } define timeperiod{ timeperiod_name person2-oncall alias person2-oncall 2010-04-05 / 28 17:30-24:00 ; Monday 2010-04-06 / 28 00:00-08:00,17:30-24:00 ; Tuesday 2010-04-07 / 28 00:00-08:00,17:30-24:00 ; Wednesday 2010-04-08 / 28 00:00-08:00,17:30-24:00 ; Thursday 2010-04-09 / 28 00:00-08:00,17:30-24:00 ; Friday 2010-04-10 / 28 00:00-24:00 ; Saturday 2010-04-11 / 28 00:00-24:00 ; Sunday 2010-04-12 / 28 00:00-08:00 ; Monday } define timeperiod{ timeperiod_name person3-oncall alias person3-oncall 2010-04-12 / 28 17:30-24:00 ; Monday 2010-04-13 / 28 00:00-08:00,17:30-24:00 ; Tuesday 2010-04-14 / 28 00:00-08:00,17:30-24:00 ; Wednesday 2010-04-15 / 28 00:00-08:00,17:30-24:00 ; Thursday 2010-04-16 / 28 00:00-08:00,17:30-24:00 ; Friday 2010-04-17 / 28 00:00-24:00 ; Saturday 2010-04-18 / 28 00:00-24:00 ; Sunday 2010-04-19 / 28 00:00-08:00 ; Monday } define timeperiod{ timeperiod_name person4-oncall alias person4-oncall 2010-04-19 / 28 17:30-24:00 ; Monday 2010-04-20 / 28 00:00-08:00,17:30-24:00 ; Tuesday 2010-04-21 / 28 00:00-08:00,17:30-24:00 ; Wednesday 2010-04-22 / 28 00:00-08:00,17:30-24:00 ; Thursday 2010-04-23 / 28 00:00-08:00,17:30-24:00 ; Friday 2010-04-24 / 28 00:00-24:00 ; Saturday 2010-04-25 / 28 00:00-24:00 ; Sunday 2010-04-26 / 28 00:00-08:00 ; Monday } I have escalations set for one particular client which will happen during oncall hours only and depending on the notification number, (4,5,6) will send an SMS alert to the relevant person oncall. ## Escalation ONE: define serviceescalation { host_name dbhost1 service_description DB Conn Check first_notification 4 last_notification 6 notification_interval 15 escalation_options c ; Only escalate for CRITICAL alerts escalation_period oncall contact_groups wx2-sms-oncall-group } define timeperiod{ timeperiod_name oncall alias Oncall Hours sunday 00:00-24:00 monday 00:00-08:00,17:30-24:00 tuesday 00:00-08:00,17:30-24:00 wednesday 00:00-08:00,17:30-24:00 thursday 00:00-08:00,17:30-24:00 friday 00:00-08:00,17:30-24:00 saturday 00:00-24:00 } And the sms-oncall-group defined for the service escalation includes all 4 oncall engineers but only the person actually oncall should get the sms alert based on their oncall timeperiods. define contactgroup{ contactgroup_name wx2-sms-oncall-group alias WX2 Oncall members person1-oncall, person2-oncall, person3-oncall, person4-oncall } However, I've now hit a snag - how do I define UK public holidays periods as being 24 hours (particularly if they fall on a weekday) and put that timeperiod into each oncall engineers timeperiod so whoever is oncall on a particular UK public holiday will get the escalation alerts for the entire 24 hour period rather than the usual defined oncall period of "00:00-08:00 and 17:30-24:00" I'd rather not explicitly define a UK holiday date to an oncall engineer as this would need to be maintained. I'd rather just have to update the timeperiod if the person rota'ed cannot cover that particular timeperiod as this will be few and far between in comparison. If anymore info is required please let me know. I'm probably missing something obvious but I've read the docs over a few times and can't seem to see what I want to do in there. Any pointers, help would be really appreciated. Thanks, Deborah *************************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. Any unauthorised distribution or copying is strictly prohibited. Whilst Kognitio Limited takes steps to prevent the transmission of viruses via e-mail, we can not guarantee that any email or attachment is free from computer viruses and you are strongly advised to undertake your own anti-virus precautions. Kognitio grants no warranties regarding performance, use or quality of any e-mail or attachment and undertakes no liability for loss or damage, howsoever caused. Kognitio Limited, a company registered in England and Wales. Registered number 0212 7833. Registered Office: 3a Waterside Park, Cookham Road, Bracknell, Berks, RG12 1RB. VAT number 864 4378 92. Kognitio Inc, a company incorporated in Delaware, principal office 180 North Stetson, Suite 3500, Chicago, IL 60601, USA *************************************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From zarrelli at linux.it Wed Apr 21 14:13:26 2010 From: zarrelli at linux.it (Giorgio Zarrelli) Date: Wed, 21 Apr 2010 14:13:26 +0200 (CEST) Subject: $SERVICEOUTPUT$ missing from emails.. Nagios 3.2.1 In-Reply-To: <098a01cae0b0$6e35dc90$4aa195b0$@unwiredltd.com> References: <088701cae033$3188c000$949a4000$@unwiredltd.com> <4BCD1E23.2090900@hp.com> <000c01cae03a$70e34cf0$52a9e6d0$@com> <8E4A6830-60AE-4ED3-A829-258D176C06F5@xodus.org> <098a01cae0b0$6e35dc90$4aa195b0$@unwiredltd.com> Message-ID: Ok, found a workaround in this message: http://www.mail-archive.com/nagios-users at lists.sourceforge.net/msg23566.html Instead of /usr/bin/printf "%b" use /bin/echo -e so, notify-service-by-email becomes: define command{ command_name notify-service-by-email command_line /bin/echo -e "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional Info Aggiuntive:\n\n$SERVICEOUTPUT$ - $LONGSERVICEOUTPUT$" | /usr/bin/mail -s "** $NOTIFICATIONTYPE$ Service Alert: $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$ } Cheers. ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From oklein at nccms.de Thu Apr 22 09:55:37 2010 From: oklein at nccms.de (Klein, Oliver) Date: Thu, 22 Apr 2010 09:55:37 +0200 Subject: passive host alive check? Message-ID: <602226EBB63E1342A63331A1B7F63E3E6F40A0C09D@nccmskom2.ncc.cons> Hi i have a questions about passive checks, we use this option to monitor some servers from our customers. Now our problem is, that the services are in the state "OK" but the hosts are "down", but the host is "alive". How can I solve this? I read some docs about this issue, but I didn?t really understand what to do now. Can anyone give a short howto about this issue? Big thx in advance Regards Olly Mit freundlichen Gruessen Oliver Klein System Engineer Tel: 02506 / 93 20 214 Mobil: 0163-5932004 E-Mail: oklein at nccms.de NCC Noethen Computer Center GmbH Wolbecker Windmuehle 55 48167 Muenster Tel: 02506 93 20 0 FAX: 02506 93 20 20 E-Mail: info at nccms.de Homepage: www.nccms.de Amtsgericht Muenster HRB 5036 Geschaeftsfuehrer: Ralf Bakenecker Uwe-Christian Surma _____________________________________________________________________ Dieses E-Mail ist nur fuer den Empfaenger bestimmt, an den es gerichtet ist und kann vertrauliches bzw. unter das Berufsgeheimnis fallendes Material enthalten. Jegliche darin enthaltene Ansicht oder Meinungs- aeusserung ist die des Autors und stellt nicht notwendigerweise die Ansicht oder Meinung von NCC GmbH dar. Sind Sie nicht der Empfaenger, so haben Sie diese E-Mail irrtuemlich erhalten und jegliche Verwendung, Veroeffentlichung, Weiterleitung, Abschrift oder jeglicher Druck dieser E-Mail ist strengstens untersagt. Weder NCC GmbH noch der Absender (Oliver Klein) uebernehmen die Haftung fuer Viren; es obliegt Ihrer Verantwortung, die E-Mail und deren Anhaenge auf Viren zu pruefen. Anhaenge: _____________________________________________________________________ Versand am 22.04.2010 09:55 von Klein Oliver Validation-Code: 3152203751533 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: compass-logo.jpg Type: image/jpeg Size: 1941 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: ncc-logo.jpg Type: image/jpeg Size: 2264 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at flatto.net Thu Apr 22 10:56:56 2010 From: nagios at flatto.net (Assaf Flatto) Date: Thu, 22 Apr 2010 09:56:56 +0100 Subject: passive host alive check? In-Reply-To: <602226EBB63E1342A63331A1B7F63E3E6F40A0C09D@nccmskom2.ncc.cons> References: <602226EBB63E1342A63331A1B7F63E3E6F40A0C09D@nccmskom2.ncc.cons> Message-ID: <4BD00F58.9010009@flatto.net> Klein, Oliver wrote: > > > Hi > > i have a questions about passive checks, we use this option to monitor > some servers from our customers. > > Now our problem is, that the services are in the state ?OK? but the > hosts are ?down?, but the host is ?alive?. > > How can I solve this? I read some docs about this issue, but I didn?t > really understand what to do now. Can anyone > > give a short howto about this issue? > > Big thx in advance > > Regards Olly > > > > AFAIK nagios passive checks ( defined usually by the users )are for services ( most users do not enable passive checks for hosts) - hence the host is never getting a status update as it is not check as a "service" per say. you may need to set active checks on the host , and passive test for the host-related services , or you can change the host status manually with the use of the external commands. if you are using the PING test for the host - then that should be the indicator for if the host is "alive" - as the check_host_alive is using ping to make that determination . Assaf -- Never,Ever Cut A Deal With a Dragon I am doing a Charity Bike ride On the 27 of June for the Capital to Coast Charity. Please help by Donating http://www.justgiving.com/Lovefilm-capital-to-coast ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Deborah.Martin at Kognitio.com Thu Apr 22 11:42:43 2010 From: Deborah.Martin at Kognitio.com (Deborah Martin) Date: Thu, 22 Apr 2010 10:42:43 +0100 Subject: FW: [Nagios-users] Timeperiods and oncall rotation with UK Public holidays Message-ID: <84836290D5AD43418C40DCF0C4A54ED3015DBE12@kogex02.pmpl.co.uk> Is anybody able to help with this ? Thanks, Deborah _____ From: Deborah Martin [mailto:Deborah.Martin at Kognitio.com] Sent: 21 April 2010 12:25 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Timeperiods and oncall rotation with UK Public holidays Importance: High Folks, I'm using SLES 10 and Nagios 3.2.0. We have 4 oncall engineers which rotate over a 4 week period, each being oncall one week at a time. The oncall period is 17:30 - 08:00 each working day and then the whole period for any weekend or UK public holiday. My definitions are :- define timeperiod{ timeperiod_name 24x7 alias 24 Hours A Day, 7 Days A Week sunday 00:00-24:00 monday 00:00-24:00 tuesday 00:00-24:00 wednesday 00:00-24:00 thursday 00:00-24:00 friday 00:00-24:00 saturday 00:00-24:00 } This is for all normal monitoring of our systems. Each oncall engineer is defined :- define timeperiod{ timeperiod_name person1-oncall alias person1-oncall 2010-03-29 / 28 17:30-24:00 ; Monday 2010-03-30 / 28 00:00-08:00,17:30-24:00 ; Tuesday 2010-03-31 / 28 00:00-08:00,17:30-24:00 ; Wednesday 2010-04-01 / 28 00:00-08:00,17:30-24:00 ; Thursday 2010-04-02 / 28 00:00-08:00,17:30-24:00 ; Friday 2010-04-03 / 28 00:00-24:00 ; Saturday 2010-04-04 / 28 00:00-24:00 ; Sunday 2010-04-05 / 28 00:00-08:00 ; Monday } define timeperiod{ timeperiod_name person2-oncall alias person2-oncall 2010-04-05 / 28 17:30-24:00 ; Monday 2010-04-06 / 28 00:00-08:00,17:30-24:00 ; Tuesday 2010-04-07 / 28 00:00-08:00,17:30-24:00 ; Wednesday 2010-04-08 / 28 00:00-08:00,17:30-24:00 ; Thursday 2010-04-09 / 28 00:00-08:00,17:30-24:00 ; Friday 2010-04-10 / 28 00:00-24:00 ; Saturday 2010-04-11 / 28 00:00-24:00 ; Sunday 2010-04-12 / 28 00:00-08:00 ; Monday } define timeperiod{ timeperiod_name person3-oncall alias person3-oncall 2010-04-12 / 28 17:30-24:00 ; Monday 2010-04-13 / 28 00:00-08:00,17:30-24:00 ; Tuesday 2010-04-14 / 28 00:00-08:00,17:30-24:00 ; Wednesday 2010-04-15 / 28 00:00-08:00,17:30-24:00 ; Thursday 2010-04-16 / 28 00:00-08:00,17:30-24:00 ; Friday 2010-04-17 / 28 00:00-24:00 ; Saturday 2010-04-18 / 28 00:00-24:00 ; Sunday 2010-04-19 / 28 00:00-08:00 ; Monday } define timeperiod{ timeperiod_name person4-oncall alias person4-oncall 2010-04-19 / 28 17:30-24:00 ; Monday 2010-04-20 / 28 00:00-08:00,17:30-24:00 ; Tuesday 2010-04-21 / 28 00:00-08:00,17:30-24:00 ; Wednesday 2010-04-22 / 28 00:00-08:00,17:30-24:00 ; Thursday 2010-04-23 / 28 00:00-08:00,17:30-24:00 ; Friday 2010-04-24 / 28 00:00-24:00 ; Saturday 2010-04-25 / 28 00:00-24:00 ; Sunday 2010-04-26 / 28 00:00-08:00 ; Monday } I have escalations set for one particular client which will happen during oncall hours only and depending on the notification number, (4,5,6) will send an SMS alert to the relevant person oncall. ## Escalation ONE: define serviceescalation { host_name dbhost1 service_description DB Conn Check first_notification 4 last_notification 6 notification_interval 15 escalation_options c ; Only escalate for CRITICAL alerts escalation_period oncall contact_groups wx2-sms-oncall-group } define timeperiod{ timeperiod_name oncall alias Oncall Hours sunday 00:00-24:00 monday 00:00-08:00,17:30-24:00 tuesday 00:00-08:00,17:30-24:00 wednesday 00:00-08:00,17:30-24:00 thursday 00:00-08:00,17:30-24:00 friday 00:00-08:00,17:30-24:00 saturday 00:00-24:00 } And the sms-oncall-group defined for the service escalation includes all 4 oncall engineers but only the person actually oncall should get the sms alert based on their oncall timeperiods. define contactgroup{ contactgroup_name wx2-sms-oncall-group alias WX2 Oncall members person1-oncall, person2-oncall, person3-oncall, person4-oncall } However, I've now hit a snag - how do I define UK public holidays periods as being 24 hours (particularly if they fall on a weekday) and put that timeperiod into each oncall engineers timeperiod so whoever is oncall on a particular UK public holiday will get the escalation alerts for the entire 24 hour period rather than the usual defined oncall period of "00:00-08:00 and 17:30-24:00" I'd rather not explicitly define a UK holiday date to an oncall engineer as this would need to be maintained. I'd rather just have to update the timeperiod if the person rota'ed cannot cover that particular timeperiod as this will be few and far between in comparison. If anymore info is required please let me know. I'm probably missing something obvious but I've read the docs over a few times and can't seem to see what I want to do in there. Any pointers, help would be really appreciated. Thanks, Deborah *************************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. Any unauthorised distribution or copying is strictly prohibited. Whilst Kognitio Limited takes steps to prevent the transmission of viruses via e-mail, we can not guarantee that any email or attachment is free from computer viruses and you are strongly advised to undertake your own anti-virus precautions. Kognitio grants no warranties regarding performance, use or quality of any e-mail or attachment and undertakes no liability for loss or damage, howsoever caused. Kognitio Limited, a company registered in England and Wales. Registered number 0212 7833. Registered Office: 3a Waterside Park, Cookham Road, Bracknell, Berks, RG12 1RB. VAT number 864 4378 92. Kognitio Inc, a company incorporated in Delaware, principal office 180 North Stetson, Suite 3500, Chicago, IL 60601, USA *************************************************************************** *************************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. Any unauthorised distribution or copying is strictly prohibited. Whilst Kognitio Limited takes steps to prevent the transmission of viruses via e-mail, we can not guarantee that any email or attachment is free from computer viruses and you are strongly advised to undertake your own anti-virus precautions. Kognitio grants no warranties regarding performance, use or quality of any e-mail or attachment and undertakes no liability for loss or damage, howsoever caused. Kognitio Limited, a company registered in England and Wales. Registered number 0212 7833. Registered Office: 3a Waterside Park, Cookham Road, Bracknell, Berks, RG12 1RB. VAT number 864 4378 92. Kognitio Inc, a company incorporated in Delaware, principal office 180 North Stetson, Suite 3500, Chicago, IL 60601, USA *************************************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: ATT12366611.txt URL: -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: ATT12366612.txt URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-devel mailing list Nagios-devel at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-devel From oklein at nccms.de Thu Apr 22 12:02:54 2010 From: oklein at nccms.de (Klein, Oliver) Date: Thu, 22 Apr 2010 12:02:54 +0200 Subject: passive host alive check? In-Reply-To: <4BD00F58.9010009@flatto.net> References: <602226EBB63E1342A63331A1B7F63E3E6F40A0C09D@nccmskom2.ncc.cons> <4BD00F58.9010009@flatto.net> Message-ID: <602226EBB63E1342A63331A1B7F63E3E6F40A0C0C5@nccmskom2.ncc.cons> Hi Assaf ok so i change the default check command fort he host to "check-host-alive" in the templates.cfg but host is still "down" in the webinterface. So where I have to do these changes? Can you give a short explain? regards olly Mit freundlichen Gruessen Oliver Klein System Engineer Tel: 02506 / 93 20 214 Mobil: 0163-5932004 E-Mail: oklein at nccms.de NCC Noethen Computer Center GmbH Wolbecker Windmuehle 55 48167 Muenster Tel: 02506 93 20 0 FAX: 02506 93 20 20 E-Mail: info at nccms.de Homepage: www.nccms.de Amtsgericht Muenster HRB 5036 Geschaeftsfuehrer: Ralf Bakenecker Uwe-Christian Surma _____________________________________________________________________ Dieses E-Mail ist nur fuer den Empfaenger bestimmt, an den es gerichtet ist und kann vertrauliches bzw. unter das Berufsgeheimnis fallendes Material enthalten. Jegliche darin enthaltene Ansicht oder Meinungs- aeusserung ist die des Autors und stellt nicht notwendigerweise die Ansicht oder Meinung von NCC GmbH dar. Sind Sie nicht der Empfaenger, so haben Sie diese E-Mail irrtuemlich erhalten und jegliche Verwendung, Veroeffentlichung, Weiterleitung, Abschrift oder jeglicher Druck dieser E-Mail ist strengstens untersagt. Weder NCC GmbH noch der Absender (Oliver Klein) uebernehmen die Haftung fuer Viren; es obliegt Ihrer Verantwortung, die E-Mail und deren Anhaenge auf Viren zu pruefen. Anhaenge: _____________________________________________________________________ Versand am 22.04.2010 12:02 von Klein Oliver Validation-Code: 3152203752122 -----Urspruengliche Nachricht----- Von: Assaf Flatto [mailto:nagios at flatto.net] Gesendet: Donnerstag, 22. April 2010 10:57 An: nagios-users at lists.sourceforge.net Betreff: Re: [Nagios-users] passive host alive check? Klein, Oliver wrote: > > > Hi > > i have a questions about passive checks, we use this option to monitor > some servers from our customers. > > Now our problem is, that the services are in the state "OK" but the > hosts are "down", but the host is "alive". > > How can I solve this? I read some docs about this issue, but I didn?t > really understand what to do now. Can anyone > > give a short howto about this issue? > > Big thx in advance > > Regards Olly > > > > AFAIK nagios passive checks ( defined usually by the users )are for services ( most users do not enable passive checks for hosts) - hence the host is never getting a status update as it is not check as a "service" per say. you may need to set active checks on the host , and passive test for the host-related services , or you can change the host status manually with the use of the external commands. if you are using the PING test for the host - then that should be the indicator for if the host is "alive" - as the check_host_alive is using ping to make that determination . Assaf -- Never,Ever Cut A Deal With a Dragon I am doing a Charity Bike ride On the 27 of June for the Capital to Coast Charity. Please help by Donating http://www.justgiving.com/Lovefilm-capital-to-coast ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From oklein at nccms.de Thu Apr 22 12:04:28 2010 From: oklein at nccms.de (Klein, Oliver) Date: Thu, 22 Apr 2010 12:04:28 +0200 Subject: passive host alive check? In-Reply-To: <4BD00F58.9010009@flatto.net> References: <602226EBB63E1342A63331A1B7F63E3E6F40A0C09D@nccmskom2.ncc.cons> <4BD00F58.9010009@flatto.net> Message-ID: <602226EBB63E1342A63331A1B7F63E3E6F40A0C0C8@nccmskom2.ncc.cons> Hi Assaf solved i have to wait some sec ;-) THX and regards Olly Mit freundlichen Gruessen Oliver Klein System Engineer Tel: 02506 / 93 20 214 Mobil: 0163-5932004 E-Mail: oklein at nccms.de NCC Noethen Computer Center GmbH Wolbecker Windmuehle 55 48167 Muenster Tel: 02506 93 20 0 FAX: 02506 93 20 20 E-Mail: info at nccms.de Homepage: www.nccms.de Amtsgericht Muenster HRB 5036 Geschaeftsfuehrer: Ralf Bakenecker Uwe-Christian Surma _____________________________________________________________________ Dieses E-Mail ist nur fuer den Empfaenger bestimmt, an den es gerichtet ist und kann vertrauliches bzw. unter das Berufsgeheimnis fallendes Material enthalten. Jegliche darin enthaltene Ansicht oder Meinungs- aeusserung ist die des Autors und stellt nicht notwendigerweise die Ansicht oder Meinung von NCC GmbH dar. Sind Sie nicht der Empfaenger, so haben Sie diese E-Mail irrtuemlich erhalten und jegliche Verwendung, Veroeffentlichung, Weiterleitung, Abschrift oder jeglicher Druck dieser E-Mail ist strengstens untersagt. Weder NCC GmbH noch der Absender (Oliver Klein) uebernehmen die Haftung fuer Viren; es obliegt Ihrer Verantwortung, die E-Mail und deren Anhaenge auf Viren zu pruefen. Anhaenge: _____________________________________________________________________ Versand am 22.04.2010 12:04 von Klein Oliver Validation-Code: 3152203752124 -----Urspruengliche Nachricht----- Von: Assaf Flatto [mailto:nagios at flatto.net] Gesendet: Donnerstag, 22. April 2010 10:57 An: nagios-users at lists.sourceforge.net Betreff: Re: [Nagios-users] passive host alive check? Klein, Oliver wrote: > > > Hi > > i have a questions about passive checks, we use this option to monitor > some servers from our customers. > > Now our problem is, that the services are in the state "OK" but the > hosts are "down", but the host is "alive". > > How can I solve this? I read some docs about this issue, but I didn?t > really understand what to do now. Can anyone > > give a short howto about this issue? > > Big thx in advance > > Regards Olly > > > > AFAIK nagios passive checks ( defined usually by the users )are for services ( most users do not enable passive checks for hosts) - hence the host is never getting a status update as it is not check as a "service" per say. you may need to set active checks on the host , and passive test for the host-related services , or you can change the host status manually with the use of the external commands. if you are using the PING test for the host - then that should be the indicator for if the host is "alive" - as the check_host_alive is using ping to make that determination . Assaf -- Never,Ever Cut A Deal With a Dragon I am doing a Charity Bike ride On the 27 of June for the Capital to Coast Charity. Please help by Donating http://www.justgiving.com/Lovefilm-capital-to-coast ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at vitro.co.uk Thu Apr 22 12:07:53 2010 From: nagios at vitro.co.uk (kristian) Date: Thu, 22 Apr 2010 11:07:53 +0100 Subject: FW: Timeperiods and oncall rotation with UK Public holidays In-Reply-To: <84836290D5AD43418C40DCF0C4A54ED3015DBE12@kogex02.pmpl.co.uk> References: <84836290D5AD43418C40DCF0C4A54ED3015DBE12@kogex02.pmpl.co.uk> Message-ID: <001501cae203$adcc5830$09650890$@co.uk> Hi Deborah I wonder if you could create a new timeperiod with the holidays defined, and then have a separate contact group (eg. Vacation_oncall) that would receive alerts 0-24 on those days only and set these up in a similar way to your existing escalation objects? Then you could also 'exclude' the vacation period from the normal oncall rota so duty personnel only get 'vacation' period alerts. Not sure if its a workable solution, but its an interesting problem. J Cheers Kristian From: Deborah Martin [mailto:Deborah.Martin at Kognitio.com] Sent: 22 April 2010 10:43 AM To: nagios-users at lists.sourceforge.net; 'nagios-devel at lists.sourceforge.net' Subject: [Nagios-users] FW: Timeperiods and oncall rotation with UK Public holidays Importance: High Is anybody able to help with this ? Thanks, Deborah _____ From: Deborah Martin [mailto:Deborah.Martin at Kognitio.com] Sent: 21 April 2010 12:25 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Timeperiods and oncall rotation with UK Public holidays Importance: High Folks, I'm using SLES 10 and Nagios 3.2.0. We have 4 oncall engineers which rotate over a 4 week period, each being oncall one week at a time. The oncall period is 17:30 - 08:00 each working day and then the whole period for any weekend or UK public holiday. My definitions are :- define timeperiod{ timeperiod_name 24x7 alias 24 Hours A Day, 7 Days A Week sunday 00:00-24:00 monday 00:00-24:00 tuesday 00:00-24:00 wednesday 00:00-24:00 thursday 00:00-24:00 friday 00:00-24:00 saturday 00:00-24:00 } This is for all normal monitoring of our systems. Each oncall engineer is defined :- define timeperiod{ timeperiod_name person1-oncall alias person1-oncall 2010-03-29 / 28 17:30-24:00 ; Monday 2010-03-30 / 28 00:00-08:00,17:30-24:00 ; Tuesday 2010-03-31 / 28 00:00-08:00,17:30-24:00 ; Wednesday 2010-04-01 / 28 00:00-08:00,17:30-24:00 ; Thursday 2010-04-02 / 28 00:00-08:00,17:30-24:00 ; Friday 2010-04-03 / 28 00:00-24:00 ; Saturday 2010-04-04 / 28 00:00-24:00 ; Sunday 2010-04-05 / 28 00:00-08:00 ; Monday } define timeperiod{ timeperiod_name person2-oncall alias person2-oncall 2010-04-05 / 28 17:30-24:00 ; Monday 2010-04-06 / 28 00:00-08:00,17:30-24:00 ; Tuesday 2010-04-07 / 28 00:00-08:00,17:30-24:00 ; Wednesday 2010-04-08 / 28 00:00-08:00,17:30-24:00 ; Thursday 2010-04-09 / 28 00:00-08:00,17:30-24:00 ; Friday 2010-04-10 / 28 00:00-24:00 ; Saturday 2010-04-11 / 28 00:00-24:00 ; Sunday 2010-04-12 / 28 00:00-08:00 ; Monday } define timeperiod{ timeperiod_name person3-oncall alias person3-oncall 2010-04-12 / 28 17:30-24:00 ; Monday 2010-04-13 / 28 00:00-08:00,17:30-24:00 ; Tuesday 2010-04-14 / 28 00:00-08:00,17:30-24:00 ; Wednesday 2010-04-15 / 28 00:00-08:00,17:30-24:00 ; Thursday 2010-04-16 / 28 00:00-08:00,17:30-24:00 ; Friday 2010-04-17 / 28 00:00-24:00 ; Saturday 2010-04-18 / 28 00:00-24:00 ; Sunday 2010-04-19 / 28 00:00-08:00 ; Monday } define timeperiod{ timeperiod_name person4-oncall alias person4-oncall 2010-04-19 / 28 17:30-24:00 ; Monday 2010-04-20 / 28 00:00-08:00,17:30-24:00 ; Tuesday 2010-04-21 / 28 00:00-08:00,17:30-24:00 ; Wednesday 2010-04-22 / 28 00:00-08:00,17:30-24:00 ; Thursday 2010-04-23 / 28 00:00-08:00,17:30-24:00 ; Friday 2010-04-24 / 28 00:00-24:00 ; Saturday 2010-04-25 / 28 00:00-24:00 ; Sunday 2010-04-26 / 28 00:00-08:00 ; Monday } I have escalations set for one particular client which will happen during oncall hours only and depending on the notification number, (4,5,6) will send an SMS alert to the relevant person oncall. ## Escalation ONE: define serviceescalation { host_name dbhost1 service_description DB Conn Check first_notification 4 last_notification 6 notification_interval 15 escalation_options c ; Only escalate for CRITICAL alerts escalation_period oncall contact_groups wx2-sms-oncall-group } define timeperiod{ timeperiod_name oncall alias Oncall Hours sunday 00:00-24:00 monday 00:00-08:00,17:30-24:00 tuesday 00:00-08:00,17:30-24:00 wednesday 00:00-08:00,17:30-24:00 thursday 00:00-08:00,17:30-24:00 friday 00:00-08:00,17:30-24:00 saturday 00:00-24:00 } And the sms-oncall-group defined for the service escalation includes all 4 oncall engineers but only the person actually oncall should get the sms alert based on their oncall timeperiods. define contactgroup{ contactgroup_name wx2-sms-oncall-group alias WX2 Oncall members person1-oncall, person2-oncall, person3-oncall, person4-oncall } However, I've now hit a snag - how do I define UK public holidays periods as being 24 hours (particularly if they fall on a weekday) and put that timeperiod into each oncall engineers timeperiod so whoever is oncall on a particular UK public holiday will get the escalation alerts for the entire 24 hour period rather than the usual defined oncall period of "00:00-08:00 and 17:30-24:00" I'd rather not explicitly define a UK holiday date to an oncall engineer as this would need to be maintained. I'd rather just have to update the timeperiod if the person rota'ed cannot cover that particular timeperiod as this will be few and far between in comparison. If anymore info is required please let me know. I'm probably missing something obvious but I've read the docs over a few times and can't seem to see what I want to do in there. Any pointers, help would be really appreciated. Thanks, Deborah *************************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. Any unauthorised distribution or copying is strictly prohibited. Whilst Kognitio Limited takes steps to prevent the transmission of viruses via e-mail, we can not guarantee that any email or attachment is free from computer viruses and you are strongly advised to undertake your own anti-virus precautions. Kognitio grants no warranties regarding performance, use or quality of any e-mail or attachment and undertakes no liability for loss or damage, howsoever caused. Kognitio Limited, a company registered in England and Wales. Registered number 0212 7833. Registered Office: 3a Waterside Park, Cookham Road, Bracknell, Berks, RG12 1RB. VAT number 864 4378 92. Kognitio Inc, a company incorporated in Delaware, principal office 180 North Stetson, Suite 3500, Chicago, IL 60601, USA *************************************************************************** *************************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. Any unauthorised distribution or copying is strictly prohibited. Whilst Kognitio Limited takes steps to prevent the transmission of viruses via e-mail, we can not guarantee that any email or attachment is free from computer viruses and you are strongly advised to undertake your own anti-virus precautions. Kognitio grants no warranties regarding performance, use or quality of any e-mail or attachment and undertakes no liability for loss or damage, howsoever caused. Kognitio Limited, a company registered in England and Wales. Registered number 0212 7833. Registered Office: 3a Waterside Park, Cookham Road, Bracknell, Berks, RG12 1RB. VAT number 864 4378 92. Kognitio Inc, a company incorporated in Delaware, principal office 180 North Stetson, Suite 3500, Chicago, IL 60601, USA *************************************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From oklein at nccms.de Thu Apr 22 12:35:22 2010 From: oklein at nccms.de (Klein, Oliver) Date: Thu, 22 Apr 2010 12:35:22 +0200 Subject: passive host alive check? In-Reply-To: <602226EBB63E1342A63331A1B7F63E3E6F40A0C0C5@nccmskom2.ncc.cons> References: <602226EBB63E1342A63331A1B7F63E3E6F40A0C09D@nccmskom2.ncc.cons><4BD00F58.9010009@flatto.net> <602226EBB63E1342A63331A1B7F63E3E6F40A0C0C5@nccmskom2.ncc.cons> Message-ID: <602226EBB63E1342A63331A1B7F63E3E6F40A0C0D8@nccmskom2.ncc.cons> Hi ok one more problem, so i changed the host check from "check-passiv" to "check-host-alive" , so that works for some domains with a really FQDN, but we have some domains with f.e. *.local. So how can I get an answer from these hosts? check_ping: Ung??ltige(r) Hostname/Adresse - sbs-server.fuerstliche.local Usage:check_ping -H -w ,% -c ,% [-p packets] [-t timeout] [-4 Regards Olly Mit freundlichen Gruessen Oliver Klein System Engineer Tel: 02506 / 93 20 214 Mobil: 0163-5932004 E-Mail: oklein at nccms.de NCC Noethen Computer Center GmbH Wolbecker Windmuehle 55 48167 Muenster Tel: 02506 93 20 0 FAX: 02506 93 20 20 E-Mail: info at nccms.de Homepage: www.nccms.de Amtsgericht Muenster HRB 5036 Geschaeftsfuehrer: Ralf Bakenecker Uwe-Christian Surma _____________________________________________________________________ Dieses E-Mail ist nur fuer den Empfaenger bestimmt, an den es gerichtet ist und kann vertrauliches bzw. unter das Berufsgeheimnis fallendes Material enthalten. Jegliche darin enthaltene Ansicht oder Meinungs- aeusserung ist die des Autors und stellt nicht notwendigerweise die Ansicht oder Meinung von NCC GmbH dar. Sind Sie nicht der Empfaenger, so haben Sie diese E-Mail irrtuemlich erhalten und jegliche Verwendung, Veroeffentlichung, Weiterleitung, Abschrift oder jeglicher Druck dieser E-Mail ist strengstens untersagt. Weder NCC GmbH noch der Absender (Oliver Klein) uebernehmen die Haftung fuer Viren; es obliegt Ihrer Verantwortung, die E-Mail und deren Anhaenge auf Viren zu pruefen. Anhaenge: _____________________________________________________________________ Versand am 22.04.2010 12:35 von Klein Oliver Validation-Code: 3152203752163 -----Urspruengliche Nachricht----- Von: Klein, Oliver [mailto:oklein at nccms.de] Gesendet: Donnerstag, 22. April 2010 12:03 An: Nagios Users List Betreff: Re: [Nagios-users] passive host alive check? Hi Assaf ok so i change the default check command fort he host to "check-host-alive" in the templates.cfg but host is still "down" in the webinterface. So where I have to do these changes? Can you give a short explain? regards olly Mit freundlichen Gruessen Oliver Klein System Engineer Tel: 02506 / 93 20 214 Mobil: 0163-5932004 E-Mail: oklein at nccms.de NCC Noethen Computer Center GmbH Wolbecker Windmuehle 55 48167 Muenster Tel: 02506 93 20 0 FAX: 02506 93 20 20 E-Mail: info at nccms.de Homepage: www.nccms.de Amtsgericht Muenster HRB 5036 Geschaeftsfuehrer: Ralf Bakenecker Uwe-Christian Surma _____________________________________________________________________ Dieses E-Mail ist nur fuer den Empfaenger bestimmt, an den es gerichtet ist und kann vertrauliches bzw. unter das Berufsgeheimnis fallendes Material enthalten. Jegliche darin enthaltene Ansicht oder Meinungs- aeusserung ist die des Autors und stellt nicht notwendigerweise die Ansicht oder Meinung von NCC GmbH dar. Sind Sie nicht der Empfaenger, so haben Sie diese E-Mail irrtuemlich erhalten und jegliche Verwendung, Veroeffentlichung, Weiterleitung, Abschrift oder jeglicher Druck dieser E-Mail ist strengstens untersagt. Weder NCC GmbH noch der Absender (Oliver Klein) uebernehmen die Haftung fuer Viren; es obliegt Ihrer Verantwortung, die E-Mail und deren Anhaenge auf Viren zu pruefen. Anhaenge: _____________________________________________________________________ Versand am 22.04.2010 12:02 von Klein Oliver Validation-Code: 3152203752122 -----Urspruengliche Nachricht----- Von: Assaf Flatto [mailto:nagios at flatto.net] Gesendet: Donnerstag, 22. April 2010 10:57 An: nagios-users at lists.sourceforge.net Betreff: Re: [Nagios-users] passive host alive check? Klein, Oliver wrote: > > > Hi > > i have a questions about passive checks, we use this option to monitor > some servers from our customers. > > Now our problem is, that the services are in the state "OK" but the > hosts are "down", but the host is "alive". > > How can I solve this? I read some docs about this issue, but I didn?t > really understand what to do now. Can anyone > > give a short howto about this issue? > > Big thx in advance > > Regards Olly > > > > AFAIK nagios passive checks ( defined usually by the users )are for services ( most users do not enable passive checks for hosts) - hence the host is never getting a status update as it is not check as a "service" per say. you may need to set active checks on the host , and passive test for the host-related services , or you can change the host status manually with the use of the external commands. if you are using the PING test for the host - then that should be the indicator for if the host is "alive" - as the check_host_alive is using ping to make that determination . Assaf -- Never,Ever Cut A Deal With a Dragon I am doing a Charity Bike ride On the 27 of June for the Capital to Coast Charity. Please help by Donating http://www.justgiving.com/Lovefilm-capital-to-coast ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From zarrelli at linux.it Thu Apr 22 12:45:32 2010 From: zarrelli at linux.it (Giorgio Zarrelli) Date: Thu, 22 Apr 2010 12:45:32 +0200 Subject: passive host alive check? In-Reply-To: <602226EBB63E1342A63331A1B7F63E3E6F40A0C0D8@nccmskom2.ncc.cons> References: <602226EBB63E1342A63331A1B7F63E3E6F40A0C09D@nccmskom2.ncc.cons><4BD00F58.9010009@flatto.net> <602226EBB63E1342A63331A1B7F63E3E6F40A0C0C5@nccmskom2.ncc.cons> <602226EBB63E1342A63331A1B7F63E3E6F40A0C0D8@nccmskom2.ncc.cons> Message-ID: IT works anyway. Ciao, Giorgio Il giorno 22/apr/2010, alle ore 12.35, "Klein, Oliver" ha scritto: > Hi > > ok one more problem, so i changed the host check from "check-passiv" > to "check-host-alive" , so that works > for some domains with a really FQDN, but we have some domains with > f.e. *.local. So how can I get an answer > from these hosts? > > check_ping: Ung??ltige(r) Hostname/Adresse - sbs-server.fuerstliche. > local > Usage:check_ping -H -w ,% -c ,% > [-p packets] [-t timeout] [-4 > > Regards Olly > > > Mit freundlichen Gruessen > > Oliver Klein > System Engineer > > Tel: 02506 / 93 20 214 > Mobil: 0163-5932004 > E-Mail: oklein at nccms.de > > > > NCC > Noethen Computer Center GmbH > Wolbecker Windmuehle 55 > 48167 Muenster > > Tel: 02506 93 20 0 > FAX: 02506 93 20 20 > > E-Mail: info at nccms.de > Homepage: www.nccms.de > > > > > > > > Amtsgericht Muenster HRB 5036 Geschaeftsfuehrer: Ralf Bakenecker > Uwe-Christian Surma > > > _____________________________________________________________________ > Dieses E-Mail ist nur fuer den Empfaenger bestimmt, an den es > gerichtet > ist und kann vertrauliches bzw. unter das Berufsgeheimnis fallendes > Material enthalten. Jegliche darin enthaltene Ansicht oder Meinungs- > aeusserung ist die des Autors und stellt nicht notwendigerweise die > Ansicht oder Meinung von NCC GmbH dar. > Sind Sie nicht der Empfaenger, so haben Sie diese E-Mail irrtuemlich > erhalten und jegliche Verwendung, Veroeffentlichung, Weiterleitung, > Abschrift oder jeglicher Druck dieser E-Mail ist strengstens > untersagt. > > Weder NCC GmbH noch der Absender (Oliver Klein) > uebernehmen die Haftung fuer Viren; es obliegt Ihrer Verantwortung, > die E-Mail und deren Anhaenge auf Viren zu pruefen. > Anhaenge: > > _____________________________________________________________________ > Versand am 22.04.2010 12:35 von Klein Oliver > Validation-Code: 3152203752163 > > -----Urspruengliche Nachricht----- > Von: Klein, Oliver [mailto:oklein at nccms.de] > Gesendet: Donnerstag, 22. April 2010 12:03 > An: Nagios Users List > Betreff: Re: [Nagios-users] passive host alive check? > > Hi Assaf > > ok so i change the default check command fort he host to "check-host- > alive" in the templates.cfg but host is still "down" > in the webinterface. So where I have to do these changes? Can you > give a short explain? > > regards olly > > > Mit freundlichen Gruessen > > Oliver Klein > System Engineer > > Tel: 02506 / 93 20 214 > Mobil: 0163-5932004 > E-Mail: oklein at nccms.de > > > > NCC > Noethen Computer Center GmbH > Wolbecker Windmuehle 55 > 48167 Muenster > > Tel: 02506 93 20 0 > FAX: 02506 93 20 20 > > E-Mail: info at nccms.de > Homepage: www.nccms.de > > > > > > > > Amtsgericht Muenster HRB 5036 Geschaeftsfuehrer: Ralf Bakenecker > Uwe-Christian Surma > > > _____________________________________________________________________ > Dieses E-Mail ist nur fuer den Empfaenger bestimmt, an den es > gerichtet ist und kann vertrauliches bzw. unter das Berufsgeheimnis > fallendes Material enthalten. Jegliche darin enthaltene Ansicht oder > Meinungs- aeusserung ist die des Autors und stellt nicht > notwendigerweise die Ansicht oder Meinung von NCC GmbH dar. > Sind Sie nicht der Empfaenger, so haben Sie diese E-Mail irrtuemlich > erhalten und jegliche Verwendung, Veroeffentlichung, Weiterleitung, > Abschrift oder jeglicher Druck dieser E-Mail ist strengstens > untersagt. > > Weder NCC GmbH noch der Absender (Oliver Klein) uebernehmen die > Haftung fuer Viren; es obliegt Ihrer Verantwortung, die E-Mail und > deren Anhaenge auf Viren zu pruefen. > Anhaenge: > > _____________________________________________________________________ > Versand am 22.04.2010 12:02 von Klein Oliver > Validation-Code: 3152203752122 > > -----Urspruengliche Nachricht----- > Von: Assaf Flatto [mailto:nagios at flatto.net] > Gesendet: Donnerstag, 22. April 2010 10:57 > An: nagios-users at lists.sourceforge.net > Betreff: Re: [Nagios-users] passive host alive check? > > Klein, Oliver wrote: >> >> >> Hi >> >> i have a questions about passive checks, we use this option to >> monitor >> some servers from our customers. >> >> Now our problem is, that the services are in the state "OK" but the >> hosts are "down", but the host is "alive". >> >> How can I solve this? I read some docs about this issue, but I did >> n?t >> really understand what to do now. Can anyone >> >> give a short howto about this issue? >> >> Big thx in advance >> >> Regards Olly >> >> >> >> > > AFAIK nagios passive checks ( defined usually by the users )are for > services ( most users do not enable passive checks for hosts) - > hence the host is never getting a status update as it is not check > as a "service" per say. > you may need to set active checks on the host , and passive test for > the host-related services , or you can change the host status > manually with the use of the external commands. > > if you are using the PING test for the host - then that should be > the indicator for if the host is "alive" - as the check_host_alive > is using ping to make that determination . > > Assaf > > -- > Never,Ever Cut A Deal With a Dragon > > > I am doing a Charity Bike ride On the 27 of June for the Capital to > Coast Charity. Please help by Donating http://www.justgiving.com/Lovefilm-capital-to-coast > > > > --- > --- > --- > --------------------------------------------------------------------- > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > --- > --- > --- > --------------------------------------------------------------------- > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > --- > --- > --- > --------------------------------------------------------------------- > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Thu Apr 22 12:47:22 2010 From: ae at op5.se (Andreas Ericsson) Date: Thu, 22 Apr 2010 12:47:22 +0200 Subject: [Nagios-devel] FW: Timeperiods and oncall rotation with UK Public holidays In-Reply-To: <84836290D5AD43418C40DCF0C4A54ED3015DBE12@kogex02.pmpl.co.uk> References: <84836290D5AD43418C40DCF0C4A54ED3015DBE12@kogex02.pmpl.co.uk> Message-ID: <4BD0293A.5030407@op5.se> On 04/22/2010 11:42 AM, Deborah Martin wrote: > > However, I've now hit a snag - how do I define UK public holidays periods as > being 24 hours (particularly if they fall on a weekday) and put that > timeperiod into each oncall engineers timeperiod so whoever is oncall on a > particular UK public holiday will get the escalation alerts for the entire > 24 hour period rather than the usual defined oncall period of "00:00-08:00 > and 17:30-24:00" > > I'd rather not explicitly define a UK holiday date to an oncall engineer as > this would need to be maintained. I'd rather just have to update > > the timeperiod if the person rota'ed cannot cover that particular timeperiod > as this will be few and far between in comparison. > It can't be done. You could add all holidays as a separate timeperiod and then specify that timeperiod as an exception in the others, but that would mean all on-call staff would get notified during each holiday. There is no syntax for "if this contact should be contacted at all during this day, use these times instead of the ones in the timeperiod, otherwise keep ignoring it". I'd hate to have to try to code it up too, but if you make a patch and add some tests to verify that it works, I'll go ahead and apply it for you. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 Considering the successes of the wars on alcohol, poverty, drugs and terror, I think we should give some serious thought to declaring war on peace. ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From oklein at nccms.de Thu Apr 22 12:59:38 2010 From: oklein at nccms.de (Klein, Oliver) Date: Thu, 22 Apr 2010 12:59:38 +0200 Subject: passive host alive check? In-Reply-To: References: <602226EBB63E1342A63331A1B7F63E3E6F40A0C09D@nccmskom2.ncc.cons><4BD00F58.9010009@flatto.net><602226EBB63E1342A63331A1B7F63E3E6F40A0C0C5@nccmskom2.ncc.cons><602226EBB63E1342A63331A1B7F63E3E6F40A0C0D8@nccmskom2.ncc.cons> Message-ID: <602226EBB63E1342A63331A1B7F63E3E6F40A0C0E1@nccmskom2.ncc.cons> Hi what do you mean? Mit freundlichen Gruessen Oliver Klein System Engineer Tel: 02506 / 93 20 214 Mobil: 0163-5932004 E-Mail: oklein at nccms.de NCC Noethen Computer Center GmbH Wolbecker Windmuehle 55 48167 Muenster Tel: 02506 93 20 0 FAX: 02506 93 20 20 E-Mail: info at nccms.de Homepage: www.nccms.de Amtsgericht Muenster HRB 5036 Geschaeftsfuehrer: Ralf Bakenecker Uwe-Christian Surma _____________________________________________________________________ Dieses E-Mail ist nur fuer den Empfaenger bestimmt, an den es gerichtet ist und kann vertrauliches bzw. unter das Berufsgeheimnis fallendes Material enthalten. Jegliche darin enthaltene Ansicht oder Meinungs- aeusserung ist die des Autors und stellt nicht notwendigerweise die Ansicht oder Meinung von NCC GmbH dar. Sind Sie nicht der Empfaenger, so haben Sie diese E-Mail irrtuemlich erhalten und jegliche Verwendung, Veroeffentlichung, Weiterleitung, Abschrift oder jeglicher Druck dieser E-Mail ist strengstens untersagt. Weder NCC GmbH noch der Absender (Oliver Klein) uebernehmen die Haftung fuer Viren; es obliegt Ihrer Verantwortung, die E-Mail und deren Anhaenge auf Viren zu pruefen. Anhaenge: _____________________________________________________________________ Versand am 22.04.2010 12:59 von Klein Oliver Validation-Code: 3152203752213 -----Urspruengliche Nachricht----- Von: Giorgio Zarrelli [mailto:zarrelli at linux.it] Gesendet: Donnerstag, 22. April 2010 12:46 An: Nagios Users List Cc: Nagios Users List Betreff: Re: [Nagios-users] passive host alive check? IT works anyway. Ciao, Giorgio Il giorno 22/apr/2010, alle ore 12.35, "Klein, Oliver" ha scritto: > Hi > > ok one more problem, so i changed the host check from "check-passiv" > to "check-host-alive" , so that works > for some domains with a really FQDN, but we have some domains with > f.e. *.local. So how can I get an answer from these hosts? > > check_ping: Ung??ltige(r) Hostname/Adresse - sbs-server.fuerstliche. > local > Usage:check_ping -H -w ,% -c ,% > [-p packets] [-t timeout] [-4 > > Regards Olly > > > Mit freundlichen Gruessen > > Oliver Klein > System Engineer > > Tel: 02506 / 93 20 214 > Mobil: 0163-5932004 > E-Mail: oklein at nccms.de > > > > NCC > Noethen Computer Center GmbH > Wolbecker Windmuehle 55 > 48167 Muenster > > Tel: 02506 93 20 0 > FAX: 02506 93 20 20 > > E-Mail: info at nccms.de > Homepage: www.nccms.de > > > > > > > > Amtsgericht Muenster HRB 5036 Geschaeftsfuehrer: Ralf Bakenecker > Uwe-Christian Surma > > > _____________________________________________________________________ > Dieses E-Mail ist nur fuer den Empfaenger bestimmt, an den es > gerichtet ist und kann vertrauliches bzw. unter das Berufsgeheimnis > fallendes Material enthalten. Jegliche darin enthaltene Ansicht oder > Meinungs- aeusserung ist die des Autors und stellt nicht > notwendigerweise die Ansicht oder Meinung von NCC GmbH dar. > Sind Sie nicht der Empfaenger, so haben Sie diese E-Mail irrtuemlich > erhalten und jegliche Verwendung, Veroeffentlichung, Weiterleitung, > Abschrift oder jeglicher Druck dieser E-Mail ist strengstens > untersagt. > > Weder NCC GmbH noch der Absender (Oliver Klein) uebernehmen die > Haftung fuer Viren; es obliegt Ihrer Verantwortung, die E-Mail und > deren Anhaenge auf Viren zu pruefen. > Anhaenge: > > _____________________________________________________________________ > Versand am 22.04.2010 12:35 von Klein Oliver > Validation-Code: 3152203752163 > > -----Urspruengliche Nachricht----- > Von: Klein, Oliver [mailto:oklein at nccms.de] > Gesendet: Donnerstag, 22. April 2010 12:03 > An: Nagios Users List > Betreff: Re: [Nagios-users] passive host alive check? > > Hi Assaf > > ok so i change the default check command fort he host to "check-host- > alive" in the templates.cfg but host is still "down" > in the webinterface. So where I have to do these changes? Can you give > a short explain? > > regards olly > > > Mit freundlichen Gruessen > > Oliver Klein > System Engineer > > Tel: 02506 / 93 20 214 > Mobil: 0163-5932004 > E-Mail: oklein at nccms.de > > > > NCC > Noethen Computer Center GmbH > Wolbecker Windmuehle 55 > 48167 Muenster > > Tel: 02506 93 20 0 > FAX: 02506 93 20 20 > > E-Mail: info at nccms.de > Homepage: www.nccms.de > > > > > > > > Amtsgericht Muenster HRB 5036 Geschaeftsfuehrer: Ralf Bakenecker > Uwe-Christian Surma > > > _____________________________________________________________________ > Dieses E-Mail ist nur fuer den Empfaenger bestimmt, an den es > gerichtet ist und kann vertrauliches bzw. unter das Berufsgeheimnis > fallendes Material enthalten. Jegliche darin enthaltene Ansicht oder > Meinungs- aeusserung ist die des Autors und stellt nicht > notwendigerweise die Ansicht oder Meinung von NCC GmbH dar. > Sind Sie nicht der Empfaenger, so haben Sie diese E-Mail irrtuemlich > erhalten und jegliche Verwendung, Veroeffentlichung, Weiterleitung, > Abschrift oder jeglicher Druck dieser E-Mail ist strengstens > untersagt. > > Weder NCC GmbH noch der Absender (Oliver Klein) uebernehmen die > Haftung fuer Viren; es obliegt Ihrer Verantwortung, die E-Mail und > deren Anhaenge auf Viren zu pruefen. > Anhaenge: > > _____________________________________________________________________ > Versand am 22.04.2010 12:02 von Klein Oliver > Validation-Code: 3152203752122 > > -----Urspruengliche Nachricht----- > Von: Assaf Flatto [mailto:nagios at flatto.net] > Gesendet: Donnerstag, 22. April 2010 10:57 > An: nagios-users at lists.sourceforge.net > Betreff: Re: [Nagios-users] passive host alive check? > > Klein, Oliver wrote: >> >> >> Hi >> >> i have a questions about passive checks, we use this option to >> monitor some servers from our customers. >> >> Now our problem is, that the services are in the state "OK" but the >> hosts are "down", but the host is "alive". >> >> How can I solve this? I read some docs about this issue, but I did >> n?t really understand what to do now. Can anyone >> >> give a short howto about this issue? >> >> Big thx in advance >> >> Regards Olly >> >> >> >> > > AFAIK nagios passive checks ( defined usually by the users )are for > services ( most users do not enable passive checks for hosts) - hence > the host is never getting a status update as it is not check as a > "service" per say. > you may need to set active checks on the host , and passive test for > the host-related services , or you can change the host status manually > with the use of the external commands. > > if you are using the PING test for the host - then that should be the > indicator for if the host is "alive" - as the check_host_alive is > using ping to make that determination . > > Assaf > > -- > Never,Ever Cut A Deal With a Dragon > > > I am doing a Charity Bike ride On the 27 of June for the Capital to > Coast Charity. Please help by Donating > http://www.justgiving.com/Lovefilm-capital-to-coast > > > > --- > --- > --- > --------------------------------------------------------------------- > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > --- > --- > --- > --------------------------------------------------------------------- > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > --- > --- > --- > --------------------------------------------------------------------- > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From zarrelli at linux.it Thu Apr 22 14:00:01 2010 From: zarrelli at linux.it (Giorgio Zarrelli) Date: Thu, 22 Apr 2010 14:00:01 +0200 (CEST) Subject: passive host alive check? In-Reply-To: <602226EBB63E1342A63331A1B7F63E3E6F40A0C0E1@nccmskom2.ncc.cons> References: <602226EBB63E1342A63331A1B7F63E3E6F40A0C09D@nccmskom2.ncc.cons><4BD00F58.9010009@flatto.net><602226EBB63E1342A63331A1B7F63E3E6F40A0C0C5@nccmskom2.ncc.cons><602226EBB63E1342A63331A1B7F63E3E6F40A0C0D8@nccmskom2.ncc.cons> <602226EBB63E1342A63331A1B7F63E3E6F40A0C0E1@nccmskom2.ncc.cons> Message-ID: <298b8b13249214080098a3bfb3f3591c.squirrel@picard.linux.it> Hi, let's have a glance to the check-host-alive definition: define command{ command_name check-host-alive command_line $USER1$/check_ping -H $HOSTADDRESS$ -w 3000.0,80% -c 5000.0,100% -p 5 } As you can see, it uses $HOSTADDRESS$ so, as long as in you host definition you write: host_name fantasy-name address xxx.xxx.xxx.xxx and the address is a valid ip, your check-host-alive will never try to resolve the fake (aka not dns) name and will use "address" ip as the target for check_ping. In this way, on your web interface you will see the "fake" name but the check will be done on the real ip address. Giorgio > Hi > > what do you mean? > > > Mit freundlichen Gruessen > > Oliver Klein > System Engineer > > Tel: 02506 / 93 20 214 > Mobil: 0163-5932004 > E-Mail: oklein at nccms.de > > > > NCC > Noethen Computer Center GmbH > Wolbecker Windmuehle 55 > 48167 Muenster > > Tel: 02506 93 20 0 > FAX: 02506 93 20 20 > > E-Mail: info at nccms.de > Homepage: www.nccms.de > > > > > > > > Amtsgericht Muenster HRB 5036 Geschaeftsfuehrer: Ralf Bakenecker > Uwe-Christian Surma > > > _____________________________________________________________________ > Dieses E-Mail ist nur fuer den Empfaenger bestimmt, an den es gerichtet > ist und kann vertrauliches bzw. unter das Berufsgeheimnis fallendes > Material enthalten. Jegliche darin enthaltene Ansicht oder Meinungs- > aeusserung ist die des Autors und stellt nicht notwendigerweise die > Ansicht oder Meinung von NCC GmbH dar. > Sind Sie nicht der Empfaenger, so haben Sie diese E-Mail irrtuemlich > erhalten und jegliche Verwendung, Veroeffentlichung, Weiterleitung, > Abschrift oder jeglicher Druck dieser E-Mail ist strengstens untersagt. > > Weder NCC GmbH noch der Absender (Oliver Klein) > uebernehmen die Haftung fuer Viren; es obliegt Ihrer Verantwortung, > die E-Mail und deren Anhaenge auf Viren zu pruefen. > Anhaenge: > > _____________________________________________________________________ > Versand am 22.04.2010 12:59 von Klein Oliver > Validation-Code: 3152203752213 > > -----Urspruengliche Nachricht----- > Von: Giorgio Zarrelli [mailto:zarrelli at linux.it] > Gesendet: Donnerstag, 22. April 2010 12:46 > An: Nagios Users List > Cc: Nagios Users List > Betreff: Re: [Nagios-users] passive host alive check? > > IT works anyway. > > Ciao, > > Giorgio > > Il giorno 22/apr/2010, alle ore 12.35, "Klein, Oliver" > ha scritto: > >> Hi >> >> ok one more problem, so i changed the host check from "check-passiv" >> to "check-host-alive" , so that works >> for some domains with a really FQDN, but we have some domains with >> f.e. *.local. So how can I get an answer from these hosts? >> >> check_ping: Ung????ltige(r) Hostname/Adresse - sbs-server.fuerstliche. >> local >> Usage:check_ping -H -w ,% -c ,% >> [-p packets] [-t timeout] [-4 >> >> Regards Olly >> >> >> Mit freundlichen Gruessen >> >> Oliver Klein >> System Engineer >> >> Tel: 02506 / 93 20 214 >> Mobil: 0163-5932004 >> E-Mail: oklein at nccms.de >> >> >> >> NCC >> Noethen Computer Center GmbH >> Wolbecker Windmuehle 55 >> 48167 Muenster >> >> Tel: 02506 93 20 0 >> FAX: 02506 93 20 20 >> >> E-Mail: info at nccms.de >> Homepage: www.nccms.de >> >> >> >> >> >> >> >> Amtsgericht Muenster HRB 5036 Geschaeftsfuehrer: Ralf Bakenecker >> Uwe-Christian Surma >> >> >> _____________________________________________________________________ >> Dieses E-Mail ist nur fuer den Empfaenger bestimmt, an den es >> gerichtet ist und kann vertrauliches bzw. unter das Berufsgeheimnis >> fallendes Material enthalten. Jegliche darin enthaltene Ansicht oder >> Meinungs- aeusserung ist die des Autors und stellt nicht >> notwendigerweise die Ansicht oder Meinung von NCC GmbH dar. >> Sind Sie nicht der Empfaenger, so haben Sie diese E-Mail irrtuemlich >> erhalten und jegliche Verwendung, Veroeffentlichung, Weiterleitung, >> Abschrift oder jeglicher Druck dieser E-Mail ist strengstens >> untersagt. >> >> Weder NCC GmbH noch der Absender (Oliver Klein) uebernehmen die >> Haftung fuer Viren; es obliegt Ihrer Verantwortung, die E-Mail und >> deren Anhaenge auf Viren zu pruefen. >> Anhaenge: >> >> _____________________________________________________________________ >> Versand am 22.04.2010 12:35 von Klein Oliver >> Validation-Code: 3152203752163 >> >> -----Urspruengliche Nachricht----- >> Von: Klein, Oliver [mailto:oklein at nccms.de] >> Gesendet: Donnerstag, 22. April 2010 12:03 >> An: Nagios Users List >> Betreff: Re: [Nagios-users] passive host alive check? >> >> Hi Assaf >> >> ok so i change the default check command fort he host to "check-host- >> alive" in the templates.cfg but host is still "down" >> in the webinterface. So where I have to do these changes? Can you give >> a short explain? >> >> regards olly >> >> >> Mit freundlichen Gruessen >> >> Oliver Klein >> System Engineer >> >> Tel: 02506 / 93 20 214 >> Mobil: 0163-5932004 >> E-Mail: oklein at nccms.de >> >> >> >> NCC >> Noethen Computer Center GmbH >> Wolbecker Windmuehle 55 >> 48167 Muenster >> >> Tel: 02506 93 20 0 >> FAX: 02506 93 20 20 >> >> E-Mail: info at nccms.de >> Homepage: www.nccms.de >> >> >> >> >> >> >> >> Amtsgericht Muenster HRB 5036 Geschaeftsfuehrer: Ralf Bakenecker >> Uwe-Christian Surma >> >> >> _____________________________________________________________________ >> Dieses E-Mail ist nur fuer den Empfaenger bestimmt, an den es >> gerichtet ist und kann vertrauliches bzw. unter das Berufsgeheimnis >> fallendes Material enthalten. Jegliche darin enthaltene Ansicht oder >> Meinungs- aeusserung ist die des Autors und stellt nicht >> notwendigerweise die Ansicht oder Meinung von NCC GmbH dar. >> Sind Sie nicht der Empfaenger, so haben Sie diese E-Mail irrtuemlich >> erhalten und jegliche Verwendung, Veroeffentlichung, Weiterleitung, >> Abschrift oder jeglicher Druck dieser E-Mail ist strengstens >> untersagt. >> >> Weder NCC GmbH noch der Absender (Oliver Klein) uebernehmen die >> Haftung fuer Viren; es obliegt Ihrer Verantwortung, die E-Mail und >> deren Anhaenge auf Viren zu pruefen. >> Anhaenge: >> >> _____________________________________________________________________ >> Versand am 22.04.2010 12:02 von Klein Oliver >> Validation-Code: 3152203752122 >> >> -----Urspruengliche Nachricht----- >> Von: Assaf Flatto [mailto:nagios at flatto.net] >> Gesendet: Donnerstag, 22. April 2010 10:57 >> An: nagios-users at lists.sourceforge.net >> Betreff: Re: [Nagios-users] passive host alive check? >> >> Klein, Oliver wrote: >>> >>> >>> Hi >>> >>> i have a questions about passive checks, we use this option to >>> monitor some servers from our customers. >>> >>> Now our problem is, that the services are in the state "OK" but the >>> hosts are "down", but the host is "alive". >>> >>> How can I solve this? I read some docs about this issue, but I did >>> n??t really understand what to do now. Can anyone >>> >>> give a short howto about this issue? >>> >>> Big thx in advance >>> >>> Regards Olly >>> >>> >>> >>> >> >> AFAIK nagios passive checks ( defined usually by the users )are for >> services ( most users do not enable passive checks for hosts) - hence >> the host is never getting a status update as it is not check as a >> "service" per say. >> you may need to set active checks on the host , and passive test for >> the host-related services , or you can change the host status manually >> with the use of the external commands. >> >> if you are using the PING test for the host - then that should be the >> indicator for if the host is "alive" - as the check_host_alive is >> using ping to make that determination . >> >> Assaf >> >> -- >> Never,Ever Cut A Deal With a Dragon >> >> >> I am doing a Charity Bike ride On the 27 of June for the Capital to >> Coast Charity. Please help by Donating >> http://www.justgiving.com/Lovefilm-capital-to-coast >> >> >> >> --- >> --- >> --- >> --------------------------------------------------------------------- >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> >> >> --- >> --- >> --- >> --------------------------------------------------------------------- >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> >> >> --- >> --- >> --- >> --------------------------------------------------------------------- >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------------------------------ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > ------------------------------------------------------------------------------ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mail at aidananderson.co.uk Thu Apr 22 17:18:55 2010 From: mail at aidananderson.co.uk (Aidan Anderson) Date: Thu, 22 Apr 2010 16:18:55 +0100 Subject: Host Dependency Object Inheritance Issue In-Reply-To: <4BCDD259.9090408@aidananderson.co.uk> References: <4BCDD259.9090408@aidananderson.co.uk> Message-ID: <4BD068DF.1010802@aidananderson.co.uk> Aidan Anderson wrote: > Hi, > > Using Nagios v3.2.1 > > I am have problems defining host dependency object inheritance > (chaining) using templates. It "appears" that if you use 2 levels of > inheritance, Nagios doesn't like it and aborts with the following error: > > Error: Could not expand dependent hostgroups and/or hosts specified in > host dependency (config file > '/usr/local/nagios/etc/manual/templates-hosts.cfg', starting on line 123) > > Here is my config. > > > I created the following host dependency templates in > '/usr/local/nagios/etc/manual/templates-hosts.cfg'. This is where the > error is found so I've highlighted line 123: > > > define hostdependency{ > name dc-ping-proxy > execution_failure_criteria d,u,p > notification_failure_criteria d,u,p > register 0 > } > > define hostdependency{ > use dc-ping-proxy > name cam-ping-proxy > host_name rp1b > register 0 > } > > define hostdependency{ > <------- Line 123 > use dc-ping-proxy > name tcl-ping-proxy > host_name rp1a > register 0 > } > > > I then created the following 2 host dependency definitions which use > the bottom 2 templates: > > > define hostdependency{ > use cam-ping-proxy > dependent_host_name cam-int > } > > define hostdependency{ > use tcl-ping-proxy > dependent_host_name tcl-int > } > > > This should expand as follows: > > > define hostdependency{ > host_name rp1b > dependent_host_name cam-int > execution_failure_criteria d,u,p > notification_failure_criteria d,u,p > } > > define hostdependency{ > host_name rp1a > dependent_host_name tcl-int > execution_failure_criteria d,u,p > notification_failure_criteria d,u,p > } > > but I get the error. > > > I then changed the configs to remove 1 level of inheritance. My > templates and definitions now look like this: > > Template: > > define hostdependency{ > name dc-ping-proxy > execution_failure_criteria d,u,p > notification_failure_criteria d,u,p > register 0 > } > > > Definitions: > > define hostdependency{ > use dc-ping-proxy > host_name rp1b > dependent_host_name cam-int > } > > define hostdependency{ > use dc-ping-proxy > host_name rp1a > dependent_host_name tcl-int > } > > This should expand to the same configuration as when there were 2 > levels of inheritance. > > However, the second configuration works fine but the first one > doesn't. Also, I have created a similar service dependency setup with > 2 levels of inheritance and that works fine. > > Can someone cast their eye over the configs listed above to see if > there is anything obvious that I have done wrong with the inheritance? > > regards, > Aidan > I've changed the why I work out the host_name of the host being depended upon to make it more dynamic so this is no longer an issue for me. If someone could double check my syntax to make sure I have not made an error, I will post to nagios-dev as a possible bug. cheers, Aidan ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From wade.peacock at sunwave.net Thu Apr 22 18:47:18 2010 From: wade.peacock at sunwave.net (Wade Peacock) Date: Thu, 22 Apr 2010 09:47:18 -0700 Subject: check_snmp checks are broken post update to nagios-plugins-snmp-1.4.14-1.el5 from nagios-plugins-snmp-1.4.13-11.el5 Message-ID: <4BD07D96.7040801@sunwave.net> After updating our nagios-plugins via yum yesterday we have an issue with our service checks that rely on check_snmp Here is are some samples: 1) ./check_snmp ups-shop -C public1 -o mib-2.33.1.2.4.0 -w 51:75 -c 25:50 -v /usr/bin/snmpget -t 1 -r 5 -m ALL -v 1 [authpriv] ups-shop:161 mib-2.33.1.2.4.0 SNMPv2-SMI::mib-2.33.1.2.4.0 = INTEGER: 100 SNMP CRITICAL - *100* | SNMPv2-SMI::mib-2.33.1.2.4.0=100 An OK is expected. 2) /usr/lib/nagios/plugins/check_snmp -H bw1.in.sunwave.net -C public1 -o transmission.127.1.1.4.1.5.121 -w 17:18 -c 0:16 -v /usr/bin/snmpget -t 1 -r 5 -m ALL -v 1 [authpriv] bw1.in.sunwave.net:161 transmission.127.1.1.4.1.5.121 DOCS-IF-MIB::docsIfSigQSignalNoise.121 = INTEGER: 28.8 dB SNMP CRITICAL - *29* | DOCS-IF-MIB::docsIfSigQSignalNoise.121=29 Once again an OK is expected. Current version is nagios-plugins-snmp-1.4.14-1.el5 Previous version was nagios-plugins-snmp-1.4.13-11.el5 Net-snmp remained unchanged. Current version net-snmp-5.3.2.2-7.el5_4.2 I have tried "tweaking the ranges" to no avail. Two more test samples: No Critical range /usr/lib/nagios/plugins/check_snmp -H bw1.in.sunwave.net -C public1 -o transmission.127.1.1.4.1.5.121 -w 17:18 -v /usr/bin/snmpget -t 1 -r 5 -m ALL -v 1 [authpriv] bw1.in.sunwave.net:161 transmission.127.1.1.4.1.5.121 DOCS-IF-MIB::docsIfSigQSignalNoise.121 = INTEGER: 28.8 dB SNMP WARNING - *29* | DOCS-IF-MIB::docsIfSigQSignalNoise.121=29 No Critical or Warning Range /usr/lib/nagios/plugins/check_snmp -H bw1.in.sunwave.net -C public1 -o transmission.127.1.1.4.1.5.121 -v /usr/bin/snmpget -t 1 -r 5 -m ALL -v 1 [authpriv] bw1.in.sunwave.net:161 transmission.127.1.1.4.1.5.121 DOCS-IF-MIB::docsIfSigQSignalNoise.121 = INTEGER: 28.8 dB SNMP OK - 28.8 dB | Any thoughts? -- Wade Peacock Network Administrator Sun Country Cablevision Ltd Sunwave Internet Department Tel: (250) 832-9711 or (250) 546-9667 Web: http://www.sunwave.net Email: wade.peacock at sunwave.net Support Email: support at sunwave.net ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From drich at employees.org Thu Apr 22 18:45:24 2010 From: drich at employees.org (Daniel Rich) Date: Thu, 22 Apr 2010 09:45:24 -0700 Subject: [Nagios-devel] FW: Timeperiods and oncall rotation with UK Public holidays In-Reply-To: <84836290D5AD43418C40DCF0C4A54ED3015DBE12@kogex02.pmpl.co.uk> References: <84836290D5AD43418C40DCF0C4A54ED3015DBE12@kogex02.pmpl.co.uk> Message-ID: This is one of my pet peeves of Nagios -- that notifications are not particularly flexible. That is why we have two sets of contacts for everyone, one that notifies via pager and e-mail, and one that only notifies via. e-mail; as there isn't a way to have Nagios do that for us. We do something very similar to what you are trying to do. We have a contact "groupname-oncall" that gets assigned to hosts and services a particular group is responsible for. That alias exists both in our mail system and our paging system, and is updated automatically by a script to point to the correct individual. The hardest part of this is writing the script to do the updates, as it has to be able to parse a configuration file with the dates/times your individuals are on-call and update the mail and paging systems with the correct information. In our case, the aliases are stored in LDAP, so it is trivial for us to make the updates. For years I have wanted to find the time to write a back-end notification script for Nagios that would make notifications more flexible, I just haven't had the time. I want to be able to do things like: o Notify via. e-mail on warnings but send a text message for critical or for some services/hosts send text-messages for everything o Only notify the on-call individuals after hours but notify everyone during business hours o Remove duplicate messages o Allow for two-way messages so an reply can be sent via. e-mail or SMS to ack an issue (I almost have this in place today) o Have a configuration file that drives all of the above On Apr 22, 2010, at 02:42, Deborah Martin wrote: > > Is anybody able to help with this ? > > Thanks, > Deborah > > From: Deborah Martin [mailto:Deborah.Martin at Kognitio.com] > Sent: 21 April 2010 12:25 > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Timeperiods and oncall rotation with UK Public holidays > Importance: High > > Folks, > > I'm using SLES 10 and Nagios 3.2.0. > > We have 4 oncall engineers which rotate over a 4 week period, each being oncall one week at a time. > The oncall period is 17:30 - 08:00 each working day and then the whole period for any weekend or UK public holiday. > > My definitions are :- > > define timeperiod{ > timeperiod_name 24x7 > alias 24 Hours A Day, 7 Days A Week > sunday 00:00-24:00 > monday 00:00-24:00 > tuesday 00:00-24:00 > wednesday 00:00-24:00 > thursday 00:00-24:00 > friday 00:00-24:00 > saturday 00:00-24:00 > } > > This is for all normal monitoring of our systems. > > Each oncall engineer is defined :- > > define timeperiod{ > timeperiod_name person1-oncall > alias person1-oncall > 2010-03-29 / 28 17:30-24:00 ; Monday > 2010-03-30 / 28 00:00-08:00,17:30-24:00 ; Tuesday > 2010-03-31 / 28 00:00-08:00,17:30-24:00 ; Wednesday > 2010-04-01 / 28 00:00-08:00,17:30-24:00 ; Thursday > 2010-04-02 / 28 00:00-08:00,17:30-24:00 ; Friday > 2010-04-03 / 28 00:00-24:00 ; Saturday > 2010-04-04 / 28 00:00-24:00 ; Sunday > 2010-04-05 / 28 00:00-08:00 ; Monday > } > > define timeperiod{ > timeperiod_name person2-oncall > alias person2-oncall > 2010-04-05 / 28 17:30-24:00 ; Monday > 2010-04-06 / 28 00:00-08:00,17:30-24:00 ; Tuesday > 2010-04-07 / 28 00:00-08:00,17:30-24:00 ; Wednesday > 2010-04-08 / 28 00:00-08:00,17:30-24:00 ; Thursday > 2010-04-09 / 28 00:00-08:00,17:30-24:00 ; Friday > 2010-04-10 / 28 00:00-24:00 ; Saturday > 2010-04-11 / 28 00:00-24:00 ; Sunday > 2010-04-12 / 28 00:00-08:00 ; Monday > } > > define timeperiod{ > timeperiod_name person3-oncall > alias person3-oncall > 2010-04-12 / 28 17:30-24:00 ; Monday > 2010-04-13 / 28 00:00-08:00,17:30-24:00 ; Tuesday > 2010-04-14 / 28 00:00-08:00,17:30-24:00 ; Wednesday > 2010-04-15 / 28 00:00-08:00,17:30-24:00 ; Thursday > 2010-04-16 / 28 00:00-08:00,17:30-24:00 ; Friday > 2010-04-17 / 28 00:00-24:00 ; Saturday > 2010-04-18 / 28 00:00-24:00 ; Sunday > 2010-04-19 / 28 00:00-08:00 ; Monday > } > > define timeperiod{ > timeperiod_name person4-oncall > alias person4-oncall > 2010-04-19 / 28 17:30-24:00 ; Monday > 2010-04-20 / 28 00:00-08:00,17:30-24:00 ; Tuesday > 2010-04-21 / 28 00:00-08:00,17:30-24:00 ; Wednesday > 2010-04-22 / 28 00:00-08:00,17:30-24:00 ; Thursday > 2010-04-23 / 28 00:00-08:00,17:30-24:00 ; Friday > 2010-04-24 / 28 00:00-24:00 ; Saturday > 2010-04-25 / 28 00:00-24:00 ; Sunday > 2010-04-26 / 28 00:00-08:00 ; Monday > } > > I have escalations set for one particular client which will happen during oncall hours only and depending on the notification number, (4,5,6) will send an SMS alert to the relevant person oncall. > > ## Escalation ONE: > define serviceescalation { > host_name dbhost1 > service_description DB Conn Check > first_notification 4 > last_notification 6 > notification_interval 15 > escalation_options c ; Only escalate for CRITICAL alerts > escalation_period oncall > contact_groups wx2-sms-oncall-group > } > > define timeperiod{ > timeperiod_name oncall > alias Oncall Hours > sunday 00:00-24:00 > monday 00:00-08:00,17:30-24:00 > tuesday 00:00-08:00,17:30-24:00 > wednesday 00:00-08:00,17:30-24:00 > thursday 00:00-08:00,17:30-24:00 > friday 00:00-08:00,17:30-24:00 > saturday 00:00-24:00 > } > > And the sms-oncall-group defined for the service escalation includes all 4 oncall engineers but only the person actually oncall should get the sms alert based on their oncall timeperiods. > > > define contactgroup{ > contactgroup_name wx2-sms-oncall-group > alias WX2 Oncall > members person1-oncall, person2-oncall, person3-oncall, person4-oncall > } > > However, I've now hit a snag - how do I define UK public holidays periods as being 24 hours (particularly if they fall on a weekday) and put that timeperiod into each oncall engineers timeperiod so whoever is oncall on a particular UK public holiday will get the escalation alerts for the entire 24 hour period rather than the usual defined oncall period of "00:00-08:00 and 17:30-24:00" > > I'd rather not explicitly define a UK holiday date to an oncall engineer as this would need to be maintained. I'd rather just have to update > > the timeperiod if the person rota'ed cannot cover that particular timeperiod as this will be few and far between in comparison. > > If anymore info is required please let me know. I'm probably missing something obvious but I've read the docs over a few times and can't seem to see what I want to do in there. > > Any pointers, help would be really appreciated. > > Thanks, > Deborah > > > > > > > *************************************************************************** > This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. > > Any unauthorised distribution or copying is strictly prohibited. > Whilst Kognitio Limited takes steps to prevent the transmission of viruses via e-mail, we can not guarantee that any email or attachment is free from computer viruses and you are strongly advised to undertake your own anti-virus precautions. > > Kognitio grants no warranties regarding performance, use or quality of any e-mail or attachment and undertakes no liability for loss or damage, howsoever caused. > > Kognitio Limited, a company registered in England and Wales. Registered number 0212 7833. Registered Office: 3a Waterside Park, Cookham Road, Bracknell, Berks, RG12 1RB. VAT number 864 4378 92. > > Kognitio Inc, a company incorporated in Delaware, principal office 180 North Stetson, Suite 3500, Chicago, IL 60601, USA > *************************************************************************** > > *************************************************************************** > This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. > > Any unauthorised distribution or copying is strictly prohibited. > Whilst Kognitio Limited takes steps to prevent the transmission of viruses via e-mail, we can not guarantee that any email or attachment is free from computer viruses and you are strongly advised to undertake your own anti-virus precautions. > > Kognitio grants no warranties regarding performance, use or quality of any e-mail or attachment and undertakes no liability for loss or damage, howsoever caused. > > Kognitio Limited, a company registered in England and Wales. Registered number 0212 7833. Registered Office: 3a Waterside Park, Cookham Road, Bracknell, Berks, RG12 1RB. VAT number 864 4378 92. > > Kognitio Inc, a company incorporated in Delaware, principal office 180 North Stetson, Suite 3500, Chicago, IL 60601, USA > *************************************************************************** > ------------------------------------------------------------------------------ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null------------------------------------------------------------------------------ > _______________________________________________ > Nagios-devel mailing list > Nagios-devel at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-devel Dan Rich | http://www.employees.org/~drich/ | "Step up to red alert!" "Are you sure, sir? | It means changing the bulb in the sign..." | - Red Dwarf (BBC) -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rwolfe at i-evolve.com Thu Apr 22 19:18:26 2010 From: rwolfe at i-evolve.com (Robert Wolfe) Date: Thu, 22 Apr 2010 13:18:26 -0400 Subject: [Nagios-devel] FW: Timeperiods and oncall rotation with UK Public holidays In-Reply-To: References: <84836290D5AD43418C40DCF0C4A54ED3015DBE12@kogex02.pmpl.co.uk> Message-ID: <33C7BE4CE80D504E8907FDC31F8A08304E7CB0C0BA@iexchange.I-EVOLVE.com> If you can find a way to do this, please let me know! My boss is wanting our Nagios installation to do this very thing, but I have yet to find a way to make this happen. Robert Wolfe - Linux+, MCP, MCSA, MCITP, MCTS, LPIC-1, CCA I-Evolve Technology Services Systems Engineer 501 John James Audubon, Suite 201 Amherst, NY 14228 * email: rwolfe at i-evolve.com - * phone: 716.505.8324 ext 120 : web: www.i-evolve.com - 6 fax: 716.505.8325 From: Daniel Rich [mailto:drich at employees.org] Sent: Thursday, April 22, 2010 12:45 PM To: Nagios Developers List Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] [Nagios-devel] FW: Timeperiods and oncall rotation with UK Public holidays [...much deleted...] o Notify via. e-mail on warnings but send a text message for critical or for some services/hosts send text-messages for everything -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jcasale at activenetwerx.com Thu Apr 22 19:23:07 2010 From: jcasale at activenetwerx.com (Joseph L. Casale) Date: Thu, 22 Apr 2010 17:23:07 +0000 Subject: check_snmp checks are broken post update to nagios-plugins-snmp-1.4.14-1.el5 from nagios-plugins-snmp-1.4.13-11.el5 In-Reply-To: <4BD07D96.7040801@sunwave.net> References: <4BD07D96.7040801@sunwave.net> Message-ID: >/usr/lib/nagios/plugins/check_snmp -H bw1.in.sunwave.net -C public1 -o transmission.127.1.1.4.1.5.121 -w 17:18 -v >SNMP WARNING - *29* | DOCS-IF-MIB::docsIfSigQSignalNoise.121=29 So it's working, it's out of the range you specified. http://nagiosplug.sourceforge.net/developer-guidelines.html#THRESHOLDFORMAT >Any thoughts? Check your warning and critical spec's, the "tolerated" syntax was changed. ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rwolfe at i-evolve.com Thu Apr 22 19:30:35 2010 From: rwolfe at i-evolve.com (Robert Wolfe) Date: Thu, 22 Apr 2010 13:30:35 -0400 Subject: check_snmp Not Compiling In-Reply-To: References: <4BD07D96.7040801@sunwave.net> Message-ID: <33C7BE4CE80D504E8907FDC31F8A08304E7CB0C0BB@iexchange.I-EVOLVE.com> Hi all! I am trying to get the check_snmp code to compile, but for some reason it does not want to compile when I go to build the modules from the Nagios-plugins tarball. Running CentOS 5.4 64 bit, latest Nagios release. . . . . . . . . *** Message Virus Free. Email scanned by I-FILTER *** Corporate Anti-Spam and Anti-Virus email service by www.I-EVOLVE.com . ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From wade.peacock at sunwave.net Thu Apr 22 19:35:40 2010 From: wade.peacock at sunwave.net (Wade Peacock) Date: Thu, 22 Apr 2010 10:35:40 -0700 Subject: check_snmp checks are broken post update to nagios-plugins-snmp-1.4.14-1.el5 from nagios-plugins-snmp-1.4.13-11.el5 In-Reply-To: References: <4BD07D96.7040801@sunwave.net> Message-ID: <4BD088EC.1020701@sunwave.net> On 04/22/2010 10:23 AM, Joseph L. Casale wrote: >> /usr/lib/nagios/plugins/check_snmp -H bw1.in.sunwave.net -C public1 -o transmission.127.1.1.4.1.5.121 -w 17:18 -v >> SNMP WARNING - *29* | DOCS-IF-MIB::docsIfSigQSignalNoise.121=29 > > So it's working, it's out of the range you specified. > http://nagiosplug.sourceforge.net/developer-guidelines.html#THRESHOLDFORMAT Awesome resource. It was what I need. Thanks. Wade Peacock Network Administrator Sun Country Cablevision Ltd Sunwave Internet Department Tel: (250) 832-9711 or (250) 546-9667 Web: http://www.sunwave.net Email: wade.peacock at sunwave.net Support Email: support at sunwave.net ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jcasale at activenetwerx.com Thu Apr 22 20:02:59 2010 From: jcasale at activenetwerx.com (Joseph L. Casale) Date: Thu, 22 Apr 2010 18:02:59 +0000 Subject: check_snmp Not Compiling In-Reply-To: <33C7BE4CE80D504E8907FDC31F8A08304E7CB0C0BB@iexchange.I-EVOLVE.com> References: <4BD07D96.7040801@sunwave.net> <33C7BE4CE80D504E8907FDC31F8A08304E7CB0C0BB@iexchange.I-EVOLVE.com> Message-ID: >Hi all! I am trying to get the check_snmp code to compile So why not use the rpm from rpmforge which you can enable for yum and make life easy:) ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From benny at bennyvision.com Thu Apr 22 20:07:58 2010 From: benny at bennyvision.com (C. Bensend) Date: Thu, 22 Apr 2010 13:07:58 -0500 Subject: [Nagios-devel] FW: Timeperiods and oncall rotation with UK Public holidays In-Reply-To: <33C7BE4CE80D504E8907FDC31F8A08304E7CB0C0BA@iexchange.I-EVOLVE.com> References: <84836290D5AD43418C40DCF0C4A54ED3015DBE12@kogex02.pmpl.co.uk> <33C7BE4CE80D504E8907FDC31F8A08304E7CB0C0BA@iexchange.I-EVOLVE.com> Message-ID: <428a488c0147bdea43a81997315ad665.squirrel@webmail.stinkweasel.net> > If you can find a way to do this, please let me know! My boss is wanting > our Nagios installation to do this very thing, but I have yet to find a > way to make this happen. If you're needing to have warnings sent via email and criticals sent via SMS (for example), it's not difficult. The solution isn't what I'd call simple or ideal, but: 1) Define two contacts for each user 2) One contact gets notifications via email, and its only alerting options are warning and recovery 3) One contact gets notifications via SMS, and its only alerting options are critical and recovery 4) Add *both* contacts to each host/service that you want monitored in this fashion Nice, simple, and clean? Nope. But it works and works well. Benny -- Me: 'How big a monster can you take out with one of those? Would you win a fight with Godzilla?' Jim: 'You could disassemble Godzilla at a range of seven miles.' -- Blog entry about the 76mm Melera, a gun on a US Navy Perry-class frigate that Somali pirates tried to seize ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mitsuto at gmail.com Thu Apr 22 20:15:01 2010 From: mitsuto at gmail.com (Marcel) Date: Thu, 22 Apr 2010 15:15:01 -0300 Subject: check_snmp Not Compiling In-Reply-To: <33C7BE4CE80D504E8907FDC31F8A08304E7CB0C0BB@iexchange.I-EVOLVE.com> References: <4BD07D96.7040801@sunwave.net> <33C7BE4CE80D504E8907FDC31F8A08304E7CB0C0BB@iexchange.I-EVOLVE.com> Message-ID: make sure you have: yum install net-snmp net-snmp-devel net-snmp-libs perl-SNMP On Thu, Apr 22, 2010 at 2:30 PM, Robert Wolfe wrote: > Hi all! I am trying to get the check_snmp code to compile, but for some > reason it does not want to compile when I go to build the modules from the > Nagios-plugins tarball. Running CentOS 5.4 64 bit, latest Nagios release. > > . > . > . > . > . > . > . > . > *** Message Virus Free. Email scanned by I-FILTER *** > Corporate Anti-Spam and Anti-Virus email service by www.I-EVOLVE.com > . > > > > > > > ------------------------------------------------------------------------------ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From robert.l.odonnell at intel.com Thu Apr 22 21:10:26 2010 From: robert.l.odonnell at intel.com (O'Donnell, Robert L) Date: Thu, 22 Apr 2010 12:10:26 -0700 Subject: check_by_ssh failing - host key verification failed In-Reply-To: References: Message-ID: Neither of Frank's suggestions solved it, but something strange did happen. First there was no known_users folder under nagios, only under /root. I copied this file and tried the check again. Nothing. I deleted the lines referring to the host both by name and by ip. I logged in again, and I went directly to the command line without being asked for a host key. I checked both known_user files again, and there were NO REFERENCES to the host machine, even though I was in the machine via ssh. Curiouser and curiouser. In learning more about error logs, I found the following. Nagios command line send looks good. The only error it is getting is remote command execution failed. I checked the logs on the target machine, and they said " Error: PAM: Authentication failure for nagios from (fully_qualified_machine_name)" Robert L. O'Donnell -----Original Message----- Add "-o StrictHostKeyChecking=no" to your check_by_ssh command line. Or you can edit ~nagios/.ssh/known_hosts, remove the line for that host, then su to the nagios user and manually ssh to the host. Type "yes" when it asks you about the host key. -f On Tue, 20 Apr 2010, O'Donnell, Robert L wrote: > Date: Tue, 20 Apr 2010 16:18:05 -0700 > From: "O'Donnell, Robert L" > > No joy in Mudville. > > I can ssh interactive as user nagios with both the ip address and the name of the target machine. > > Also, my .cfg file does define the host name and address > > Define host{ > Use linux-server > Host_name (machine_name) > Alias (machine_name) > Address (machine_ip) > Notes xxxxx > Notes_url (internal_wiki_web_link) > > > I also tried to change the command.cfg command_line to check_by_ssh -H $HOSTADDRESS$ ... to $HOSTNAME$ with no impact. > > Any help would be GREATLY appreciated, as I have been banging my head on this for over a week. That said, I know a LOT more about ssh and DSA security than I did last week. > > > ================ > > Hi O'Donnell,! > > On Wed, 14 Apr 2010, O'Donnell, Robert L wrote: > >> Giorgio, >> >> Yes. >> >> Ssh (remote_machine_ip) -l nagios ?I /etc/nagios/.ssh/id_dsa >> >> logs me in with prompt ?nagios@(remote_machine_name):~>? and >> whoami returns nagios. > > I see that you're logging in by IP, but in the config snippet you > included previously there was no IP defined in the host definition, so > $HOSTADDRESS$ will expand to the same value as host_name. You'll need > to log in using the same exact address (in this case, name) Nagios will > be using to create an entry in your known_hosts file that matches what > Nagios will be using. > > ================== > > If u try an ssh login from Nagios box to the remote box, u can login without been asked for a password? > > > Ciao, > > Giorgio > > Il giorno 14/apr/2010, alle ore 23.15, "O'Donnell, Robert L" ha scritto: > Running nagios 3.0.6 on OpenSUSE and trying to get info from a SUSE enterprise machine. > > Chk_by_ssh returns UNKNOWN and "Remote command execution failed: Host key verification failed", check_ping works. > > I have played with every combo of options I could think of, but same results. This is my first setup with remote checks on a linux machine (windows machine checks working fine), so it could be a newb problem. > > (from commands.cfg) > # check_ssh_dummy command definition > define command{ > command_name check_ssh_dummy > command_line $USER1$/check_by_ssh -H $HOSTADDRESS$ -l nagios -2 \ > -I /etc/nagios/.ssh/id_dsa -C "/usr/lib/nagios/plugins/check_dummy 0" > } > > I took out the desired response text to eliminate possible double quote issues, but it made no difference > > =================== > > Running nagios 3.0.6 on OpenSUSE and trying to get info from a SUSE enterprise machine. > > Chk_by_ssh returns UNKNOWN and "Remote command execution failed: Host key verification failed", check_ping works. > > I have played with every combo of options I could think of, but same results. This is my first setup with remote checks on a linux machine (windows machine checks working fine), so it could be a newb problem. > > (from commands.cfg) > # check_ssh_dummy command definition > define command{ > command_name check_ssh_dummy > command_line $USER1$/check_by_ssh -H $HOSTADDRESS$ -l nagios -2 \ > -I /etc/nagios/.ssh/id_dsa -C "/usr/lib/nagios/plugins/check_dummy 0" > } > > I took out the desired response text to eliminate possible double quote issues, but it made no difference > > > (from object config) > > define service{ > use local-service > host_name (machine_name) > service_description PING > check_command check_ping!100.0,20%!500.o,60% > } > > define_service{ > use local-service > host_name (machine_name) > service_description check_ssh_dummy! > } > > >> From the command line, I run: > > /usr/lib/nagios/plugins/check_by_ssh -H (machine_ip) -l nagios -i /etc/nagios.ssh/id_dsa -C "usr/lib/nagios/plugins/check_dummy 0" > > It returns OK > > I am having the same issue with check_ssh_disk. I do not have a MOTD for the shell, I have tried putting explicit paths in place of USER1, putting in the actual address for HOSTADDRESS, and many options on the > > > Robert L. O'Donnell > Advanced Equipment Engineering, IMO > > ------------------------------------------------------------------------------ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rwolfe at i-evolve.com Thu Apr 22 21:39:29 2010 From: rwolfe at i-evolve.com (Robert Wolfe) Date: Thu, 22 Apr 2010 15:39:29 -0400 Subject: check_snmp Not Compiling In-Reply-To: References: <4BD07D96.7040801@sunwave.net> <33C7BE4CE80D504E8907FDC31F8A08304E7CB0C0BB@iexchange.I-EVOLVE.com> Message-ID: <33C7BE4CE80D504E8907FDC31F8A08304E7CB0C0BD@iexchange.I-EVOLVE.com> Thanks! Was missing all of these. Ran this command and everything is set now! Thanks again! From: Marcel [mailto:mitsuto at gmail.com] Sent: Thursday, April 22, 2010 2:15 PM To: Nagios Users List Subject: Re: [Nagios-users] check_snmp Not Compiling make sure you have: yum install net-snmp net-snmp-devel net-snmp-libs perl-SNMP On Thu, Apr 22, 2010 at 2:30 PM, Robert Wolfe > wrote: Hi all! I am trying to get the check_snmp code to compile, but for some reason it does not want to compile when I go to build the modules from the Nagios-plugins tarball. Running CentOS 5.4 64 bit, latest Nagios release. . . . . . . . . *** Message Virus Free. Email scanned by I-FILTER *** Corporate Anti-Spam and Anti-Virus email service by www.I-EVOLVE.com . ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Albert.Shih at obspm.fr Thu Apr 22 22:14:00 2010 From: Albert.Shih at obspm.fr (Albert Shih) Date: Thu, 22 Apr 2010 22:14:00 +0200 Subject: Host unreachable what's nagios do. Message-ID: <20100422201400.GL42724@obspm.fr> Hi all. I would like to known what nagios with the child host when a parent is unreachable. Does he continu to check something ? For example trying to known when a child return to normal. Regards. JAS -- Albert SHIH SIO batiment 15 Observatoire de Paris Meudon 5 Place Jules Janssen 92195 Meudon Cedex T?l?phone : 01 45 07 76 26/06 86 69 95 71 Heure local/Local time: Jeu 22 avr 2010 22:12:23 CEST ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mitsuto at gmail.com Thu Apr 22 23:15:33 2010 From: mitsuto at gmail.com (Marcel) Date: Thu, 22 Apr 2010 18:15:33 -0300 Subject: check_snmp Not Compiling In-Reply-To: <33C7BE4CE80D504E8907FDC31F8A08304E7CB0C0BD@iexchange.I-EVOLVE.com> References: <4BD07D96.7040801@sunwave.net> <33C7BE4CE80D504E8907FDC31F8A08304E7CB0C0BB@iexchange.I-EVOLVE.com> <33C7BE4CE80D504E8907FDC31F8A08304E7CB0C0BD@iexchange.I-EVOLVE.com> Message-ID: glad to be of any help On Thu, Apr 22, 2010 at 4:39 PM, Robert Wolfe wrote: > Thanks! Was missing all of these. Ran this command and everything is > set now! Thanks again! > > > > *From:* Marcel [mailto:mitsuto at gmail.com] > *Sent:* Thursday, April 22, 2010 2:15 PM > *To:* Nagios Users List > *Subject:* Re: [Nagios-users] check_snmp Not Compiling > > > > make sure you have: > > yum install net-snmp net-snmp-devel net-snmp-libs perl-SNMP > > > On Thu, Apr 22, 2010 at 2:30 PM, Robert Wolfe > wrote: > > Hi all! I am trying to get the check_snmp code to compile, but for some > reason it does not want to compile when I go to build the modules from the > Nagios-plugins tarball. Running CentOS 5.4 64 bit, latest Nagios release. > > . > . > . > . > . > . > . > . > *** Message Virus Free. Email scanned by I-FILTER *** > Corporate Anti-Spam and Anti-Virus email service by www.I-EVOLVE.com > . > > > > > > > ------------------------------------------------------------------------------ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > > > ------------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mitsuto at gmail.com Thu Apr 22 23:16:36 2010 From: mitsuto at gmail.com (Marcel) Date: Thu, 22 Apr 2010 18:16:36 -0300 Subject: Host unreachable what's nagios do. In-Reply-To: <20100422201400.GL42724@obspm.fr> References: <20100422201400.GL42724@obspm.fr> Message-ID: (assuming nagios 3.x series) please read this: http://nagios.sourceforge.net/docs/3_0/toc.html On Thu, Apr 22, 2010 at 5:14 PM, Albert Shih wrote: > Hi all. > > I would like to known what nagios with the child host when a parent is > unreachable. > > Does he continu to check something ? For example trying to known when a > child return to normal. > > Regards. > > JAS > -- > Albert SHIH > SIO batiment 15 > Observatoire de Paris Meudon > 5 Place Jules Janssen > 92195 Meudon Cedex > T?l?phone : 01 45 07 76 26/06 86 69 95 71 > Heure local/Local time: > Jeu 22 avr 2010 22:12:23 CEST > > > ------------------------------------------------------------------------------ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.lynch at rasmussen.edu Thu Apr 22 23:21:40 2010 From: richard.lynch at rasmussen.edu (Richard Lynch) Date: Thu, 22 Apr 2010 16:21:40 -0500 Subject: Check_swap binary on OS X In-Reply-To: References: Message-ID: [resending after subscribing; apologies if admin also approves] Check_swap is failing on a fresh install on OS X. This is no surprise, as it?s trying to run /opt/local/libexec/nagios/check_swap There is no such file. What should have installed it, and where would I find it for OS X?... PS There are other files there; some binaries, some +x scripts. An old Ubuntu install by my predecessor also has no check_swap ... -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From zarrelli at linux.it Thu Apr 22 23:44:35 2010 From: zarrelli at linux.it (Giorgio Zarrelli) Date: Thu, 22 Apr 2010 23:44:35 +0200 Subject: Host unreachable what's nagios do. In-Reply-To: References: <20100422201400.GL42724@obspm.fr> Message-ID: <7954F814-DFB2-4213-8AB7-2001CB3297EB@linux.it> From the manual: "When hosts change state (i.e. from UP to DOWN), the host reachability logic in Nagios kicks in. The reachability logic will initiate parallel checks of the parents and children of whatever hosts change state. This allows Nagios to quickly determine the current status of your network infrastructure when changes occur." Ciao, Giorgio Il giorno 22/apr/2010, alle ore 23.16, Marcel ha scritto: > (assuming nagios 3.x series) please read this: http://nagios.sourceforge.net/docs/3_0/toc.html > > On Thu, Apr 22, 2010 at 5:14 PM, Albert Shih > wrote: > Hi all. > > I would like to known what nagios with the child host when a parent is > unreachable. > > Does he continu to check something ? For example trying to known > when a > child return to normal. > > Regards. > > JAS > -- > Albert SHIH > SIO batiment 15 > Observatoire de Paris Meudon > 5 Place Jules Janssen > 92195 Meudon Cedex > T?l?phone : 01 45 07 76 26/06 86 69 95 71 > Heure local/Local time: > Jeu 22 avr 2010 22:12:23 CEST > > --- > --- > --- > --------------------------------------------------------------------- > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > --- > --- > --- > --------------------------------------------------------------------- > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From oklein at nccms.de Fri Apr 23 08:31:58 2010 From: oklein at nccms.de (Klein, Oliver) Date: Fri, 23 Apr 2010 08:31:58 +0200 Subject: passive host alive check? In-Reply-To: <298b8b13249214080098a3bfb3f3591c.squirrel@picard.linux.it> References: <602226EBB63E1342A63331A1B7F63E3E6F40A0C09D@nccmskom2.ncc.cons><4BD00F58.9010009@flatto.net><602226EBB63E1342A63331A1B7F63E3E6F40A0C0C5@nccmskom2.ncc.cons><602226EBB63E1342A63331A1B7F63E3E6F40A0C0D8@nccmskom2.ncc.cons><602226EBB63E1342A63331A1B7F63E3E6F40A0C0E1@nccmskom2.ncc.cons> <298b8b13249214080098a3bfb3f3591c.squirrel@picard.linux.it> Message-ID: <602226EBB63E1342A63331A1B7F63E3E6F40A0C141@nccmskom2.ncc.cons> Hi Giorgio I know this with check-host-alive, but I don?t understand how to nagios resolve the name or IP address, cause it?s a private ip? here you can see the host definition define host{ use fuerstliche-server ; Inherit default values from a template parents astaro host_name sbs-server.fuerstliche.local ; The name we're giving to this host alias sbs-server.fuerstliche.local ; A longer name associated with the host address 192.168.1.10 } Any hints again for me? ;-) regards olly Mit freundlichen Gruessen Oliver Klein System Engineer Tel: 02506 / 93 20 214 Mobil: 0163-5932004 E-Mail: oklein at nccms.de NCC Noethen Computer Center GmbH Wolbecker Windmuehle 55 48167 Muenster Tel: 02506 93 20 0 FAX: 02506 93 20 20 E-Mail: info at nccms.de Homepage: www.nccms.de Amtsgericht Muenster HRB 5036 Geschaeftsfuehrer: Ralf Bakenecker Uwe-Christian Surma _____________________________________________________________________ Dieses E-Mail ist nur fuer den Empfaenger bestimmt, an den es gerichtet ist und kann vertrauliches bzw. unter das Berufsgeheimnis fallendes Material enthalten. Jegliche darin enthaltene Ansicht oder Meinungs- aeusserung ist die des Autors und stellt nicht notwendigerweise die Ansicht oder Meinung von NCC GmbH dar. Sind Sie nicht der Empfaenger, so haben Sie diese E-Mail irrtuemlich erhalten und jegliche Verwendung, Veroeffentlichung, Weiterleitung, Abschrift oder jeglicher Druck dieser E-Mail ist strengstens untersagt. Weder NCC GmbH noch der Absender (Oliver Klein) uebernehmen die Haftung fuer Viren; es obliegt Ihrer Verantwortung, die E-Mail und deren Anhaenge auf Viren zu pruefen. Anhaenge: _____________________________________________________________________ Versand am 23.04.2010 08:32 von Klein Oliver Validation-Code: 3264606733340 -----Urspruengliche Nachricht----- Von: Giorgio Zarrelli [mailto:zarrelli at linux.it] Gesendet: Donnerstag, 22. April 2010 14:00 An: Nagios Users List Betreff: Re: [Nagios-users] passive host alive check? Hi, let's have a glance to the check-host-alive definition: define command{ command_name check-host-alive command_line $USER1$/check_ping -H $HOSTADDRESS$ -w 3000.0,80% -c 5000.0,100% -p 5 } As you can see, it uses $HOSTADDRESS$ so, as long as in you host definition you write: host_name fantasy-name address xxx.xxx.xxx.xxx and the address is a valid ip, your check-host-alive will never try to resolve the fake (aka not dns) name and will use "address" ip as the target for check_ping. In this way, on your web interface you will see the "fake" name but the check will be done on the real ip address. Giorgio > Hi > > what do you mean? > > > Mit freundlichen Gruessen > > Oliver Klein > System Engineer > > Tel: 02506 / 93 20 214 > Mobil: 0163-5932004 > E-Mail: oklein at nccms.de > > > > NCC > Noethen Computer Center GmbH > Wolbecker Windmuehle 55 > 48167 Muenster > > Tel: 02506 93 20 0 > FAX: 02506 93 20 20 > > E-Mail: info at nccms.de > Homepage: www.nccms.de > > > > > > > > Amtsgericht Muenster HRB 5036 Geschaeftsfuehrer: Ralf Bakenecker > Uwe-Christian Surma > > > _____________________________________________________________________ > Dieses E-Mail ist nur fuer den Empfaenger bestimmt, an den es > gerichtet ist und kann vertrauliches bzw. unter das Berufsgeheimnis > fallendes Material enthalten. Jegliche darin enthaltene Ansicht oder > Meinungs- aeusserung ist die des Autors und stellt nicht > notwendigerweise die Ansicht oder Meinung von NCC GmbH dar. > Sind Sie nicht der Empfaenger, so haben Sie diese E-Mail irrtuemlich > erhalten und jegliche Verwendung, Veroeffentlichung, Weiterleitung, > Abschrift oder jeglicher Druck dieser E-Mail ist strengstens untersagt. > > Weder NCC GmbH noch der Absender (Oliver Klein) uebernehmen die > Haftung fuer Viren; es obliegt Ihrer Verantwortung, die E-Mail und > deren Anhaenge auf Viren zu pruefen. > Anhaenge: > > _____________________________________________________________________ > Versand am 22.04.2010 12:59 von Klein Oliver > Validation-Code: 3152203752213 > > -----Urspruengliche Nachricht----- > Von: Giorgio Zarrelli [mailto:zarrelli at linux.it] > Gesendet: Donnerstag, 22. April 2010 12:46 > An: Nagios Users List > Cc: Nagios Users List > Betreff: Re: [Nagios-users] passive host alive check? > > IT works anyway. > > Ciao, > > Giorgio > > Il giorno 22/apr/2010, alle ore 12.35, "Klein, Oliver" > ha scritto: > >> Hi >> >> ok one more problem, so i changed the host check from "check-passiv" >> to "check-host-alive" , so that works for some domains with a really >> FQDN, but we have some domains with f.e. *.local. So how can I get an >> answer from these hosts? >> >> check_ping: Ung????ltige(r) Hostname/Adresse - sbs-server.fuerstliche. >> local >> Usage:check_ping -H -w ,% -c ,% >> [-p packets] [-t timeout] [-4 >> >> Regards Olly >> >> >> Mit freundlichen Gruessen >> >> Oliver Klein >> System Engineer >> >> Tel: 02506 / 93 20 214 >> Mobil: 0163-5932004 >> E-Mail: oklein at nccms.de >> >> >> >> NCC >> Noethen Computer Center GmbH >> Wolbecker Windmuehle 55 >> 48167 Muenster >> >> Tel: 02506 93 20 0 >> FAX: 02506 93 20 20 >> >> E-Mail: info at nccms.de >> Homepage: www.nccms.de >> >> >> >> >> >> >> >> Amtsgericht Muenster HRB 5036 Geschaeftsfuehrer: Ralf Bakenecker >> Uwe-Christian Surma >> >> >> _____________________________________________________________________ >> Dieses E-Mail ist nur fuer den Empfaenger bestimmt, an den es >> gerichtet ist und kann vertrauliches bzw. unter das Berufsgeheimnis >> fallendes Material enthalten. Jegliche darin enthaltene Ansicht oder >> Meinungs- aeusserung ist die des Autors und stellt nicht >> notwendigerweise die Ansicht oder Meinung von NCC GmbH dar. >> Sind Sie nicht der Empfaenger, so haben Sie diese E-Mail irrtuemlich >> erhalten und jegliche Verwendung, Veroeffentlichung, Weiterleitung, >> Abschrift oder jeglicher Druck dieser E-Mail ist strengstens >> untersagt. >> >> Weder NCC GmbH noch der Absender (Oliver Klein) uebernehmen die >> Haftung fuer Viren; es obliegt Ihrer Verantwortung, die E-Mail und >> deren Anhaenge auf Viren zu pruefen. >> Anhaenge: >> >> _____________________________________________________________________ >> Versand am 22.04.2010 12:35 von Klein Oliver >> Validation-Code: 3152203752163 >> >> -----Urspruengliche Nachricht----- >> Von: Klein, Oliver [mailto:oklein at nccms.de] >> Gesendet: Donnerstag, 22. April 2010 12:03 >> An: Nagios Users List >> Betreff: Re: [Nagios-users] passive host alive check? >> >> Hi Assaf >> >> ok so i change the default check command fort he host to "check-host- >> alive" in the templates.cfg but host is still "down" >> in the webinterface. So where I have to do these changes? Can you >> give a short explain? >> >> regards olly >> >> >> Mit freundlichen Gruessen >> >> Oliver Klein >> System Engineer >> >> Tel: 02506 / 93 20 214 >> Mobil: 0163-5932004 >> E-Mail: oklein at nccms.de >> >> >> >> NCC >> Noethen Computer Center GmbH >> Wolbecker Windmuehle 55 >> 48167 Muenster >> >> Tel: 02506 93 20 0 >> FAX: 02506 93 20 20 >> >> E-Mail: info at nccms.de >> Homepage: www.nccms.de >> >> >> >> >> >> >> >> Amtsgericht Muenster HRB 5036 Geschaeftsfuehrer: Ralf Bakenecker >> Uwe-Christian Surma >> >> >> _____________________________________________________________________ >> Dieses E-Mail ist nur fuer den Empfaenger bestimmt, an den es >> gerichtet ist und kann vertrauliches bzw. unter das Berufsgeheimnis >> fallendes Material enthalten. Jegliche darin enthaltene Ansicht oder >> Meinungs- aeusserung ist die des Autors und stellt nicht >> notwendigerweise die Ansicht oder Meinung von NCC GmbH dar. >> Sind Sie nicht der Empfaenger, so haben Sie diese E-Mail irrtuemlich >> erhalten und jegliche Verwendung, Veroeffentlichung, Weiterleitung, >> Abschrift oder jeglicher Druck dieser E-Mail ist strengstens >> untersagt. >> >> Weder NCC GmbH noch der Absender (Oliver Klein) uebernehmen die >> Haftung fuer Viren; es obliegt Ihrer Verantwortung, die E-Mail und >> deren Anhaenge auf Viren zu pruefen. >> Anhaenge: >> >> _____________________________________________________________________ >> Versand am 22.04.2010 12:02 von Klein Oliver >> Validation-Code: 3152203752122 >> >> -----Urspruengliche Nachricht----- >> Von: Assaf Flatto [mailto:nagios at flatto.net] >> Gesendet: Donnerstag, 22. April 2010 10:57 >> An: nagios-users at lists.sourceforge.net >> Betreff: Re: [Nagios-users] passive host alive check? >> >> Klein, Oliver wrote: >>> >>> >>> Hi >>> >>> i have a questions about passive checks, we use this option to >>> monitor some servers from our customers. >>> >>> Now our problem is, that the services are in the state "OK" but the >>> hosts are "down", but the host is "alive". >>> >>> How can I solve this? I read some docs about this issue, but I did >>> n??t really understand what to do now. Can anyone >>> >>> give a short howto about this issue? >>> >>> Big thx in advance >>> >>> Regards Olly >>> >>> >>> >>> >> >> AFAIK nagios passive checks ( defined usually by the users )are for >> services ( most users do not enable passive checks for hosts) - hence >> the host is never getting a status update as it is not check as a >> "service" per say. >> you may need to set active checks on the host , and passive test for >> the host-related services , or you can change the host status >> manually with the use of the external commands. >> >> if you are using the PING test for the host - then that should be the >> indicator for if the host is "alive" - as the check_host_alive is >> using ping to make that determination . >> >> Assaf >> >> -- >> Never,Ever Cut A Deal With a Dragon >> >> >> I am doing a Charity Bike ride On the 27 of June for the Capital to >> Coast Charity. Please help by Donating >> http://www.justgiving.com/Lovefilm-capital-to-coast >> >> >> >> --- >> --- >> --- >> --------------------------------------------------------------------- >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to >> /dev/null >> >> >> --- >> --- >> --- >> --------------------------------------------------------------------- >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to >> /dev/null >> >> >> --- >> --- >> --- >> --------------------------------------------------------------------- >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to >> /dev/null > > ---------------------------------------------------------------------- > -------- _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > ---------------------------------------------------------------------- > -------- _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Apr 23 09:37:30 2010 From: zarrelli at linux.it (Giorgio Zarrelli) Date: Fri, 23 Apr 2010 09:37:30 +0200 Subject: passive host alive check? In-Reply-To: <602226EBB63E1342A63331A1B7F63E3E6F40A0C141@nccmskom2.ncc.cons> References: <602226EBB63E1342A63331A1B7F63E3E6F40A0C09D@nccmskom2.ncc.cons><4BD00F58.9010009@flatto.net><602226EBB63E1342A63331A1B7F63E3E6F40A0C0C5@nccmskom2.ncc.cons><602226EBB63E1342A63331A1B7F63E3E6F40A0C0D8@nccmskom2.ncc.cons><602226EBB63E1342A63331A1B7F63E3E6F40A0C0E1@nccmskom2.ncc.cons> <298b8b13249214080098a3bfb3f3591c.squirrel@picard.linux.it> <602226EBB63E1342A63331A1B7F63E3E6F40A0C141@nccmskom2.ncc.cons> Message-ID: Hi, It is not clear what's your problem. Please, answer to the following question: Are you able to ping 192.168.1.10 from the Nagios server? Ciao, Giorgio Il giorno 23/apr/2010, alle ore 08.31, "Klein, Oliver" ha scritto: > Hi Giorgio > > I know this with check-host-alive, but I don?t understand how to nag > ios resolve > the name or IP address, cause it?s a private ip? here you can see th > e host definition > > define host{ > use fuerstliche-server ; > Inherit default values from a template > parents astaro > host_name sbs-server.fuerstliche.local ; The name > we're giving to this host > alias sbs-server.fuerstliche.local ; A > longer name associated with the host > address 192.168.1.10 > } > > Any hints again for me? ;-) > > regards olly > > > Mit freundlichen Gruessen > > Oliver Klein > System Engineer > > Tel: 02506 / 93 20 214 > Mobil: 0163-5932004 > E-Mail: oklein at nccms.de > > > > NCC > Noethen Computer Center GmbH > Wolbecker Windmuehle 55 > 48167 Muenster > > Tel: 02506 93 20 0 > FAX: 02506 93 20 20 > > E-Mail: info at nccms.de > Homepage: www.nccms.de > > > > > > > > Amtsgericht Muenster HRB 5036 Geschaeftsfuehrer: Ralf Bakenecker > Uwe-Christian Surma > > > _____________________________________________________________________ > Dieses E-Mail ist nur fuer den Empfaenger bestimmt, an den es > gerichtet > ist und kann vertrauliches bzw. unter das Berufsgeheimnis fallendes > Material enthalten. Jegliche darin enthaltene Ansicht oder Meinungs- > aeusserung ist die des Autors und stellt nicht notwendigerweise die > Ansicht oder Meinung von NCC GmbH dar. > Sind Sie nicht der Empfaenger, so haben Sie diese E-Mail irrtuemlich > erhalten und jegliche Verwendung, Veroeffentlichung, Weiterleitung, > Abschrift oder jeglicher Druck dieser E-Mail ist strengstens > untersagt. > > Weder NCC GmbH noch der Absender (Oliver Klein) > uebernehmen die Haftung fuer Viren; es obliegt Ihrer Verantwortung, > die E-Mail und deren Anhaenge auf Viren zu pruefen. > Anhaenge: > > _____________________________________________________________________ > Versand am 23.04.2010 08:32 von Klein Oliver > Validation-Code: 3264606733340 > > -----Urspruengliche Nachricht----- > Von: Giorgio Zarrelli [mailto:zarrelli at linux.it] > Gesendet: Donnerstag, 22. April 2010 14:00 > An: Nagios Users List > Betreff: Re: [Nagios-users] passive host alive check? > > Hi, > > let's have a glance to the check-host-alive definition: > > define command{ > command_name check-host-alive > command_line $USER1$/check_ping -H $HOSTADDRESS$ -w > 3000.0,80% > -c 5000.0,100% -p 5 > } > > As you can see, it uses $HOSTADDRESS$ so, as long as in you host > definition you write: > > host_name fantasy-name > address xxx.xxx.xxx.xxx > > and the address is a valid ip, your check-host-alive will never try > to resolve the fake (aka not dns) name and will use "address" ip as > the target for check_ping. > > In this way, on your web interface you will see the "fake" name but > the check will be done on the real ip address. > > Giorgio > > >> Hi >> >> what do you mean? >> >> >> Mit freundlichen Gruessen >> >> Oliver Klein >> System Engineer >> >> Tel: 02506 / 93 20 214 >> Mobil: 0163-5932004 >> E-Mail: oklein at nccms.de >> >> >> >> NCC >> Noethen Computer Center GmbH >> Wolbecker Windmuehle 55 >> 48167 Muenster >> >> Tel: 02506 93 20 0 >> FAX: 02506 93 20 20 >> >> E-Mail: info at nccms.de >> Homepage: www.nccms.de >> >> >> >> >> >> >> >> Amtsgericht Muenster HRB 5036 Geschaeftsfuehrer: Ralf Bakenecker >> Uwe-Christian Surma >> >> >> _____________________________________________________________________ >> Dieses E-Mail ist nur fuer den Empfaenger bestimmt, an den es >> gerichtet ist und kann vertrauliches bzw. unter das Berufsgeheimnis >> fallendes Material enthalten. Jegliche darin enthaltene Ansicht oder >> Meinungs- aeusserung ist die des Autors und stellt nicht >> notwendigerweise die Ansicht oder Meinung von NCC GmbH dar. >> Sind Sie nicht der Empfaenger, so haben Sie diese E-Mail irrtuemlich >> erhalten und jegliche Verwendung, Veroeffentlichung, Weiterleitung, >> Abschrift oder jeglicher Druck dieser E-Mail ist strengstens >> untersagt. >> >> Weder NCC GmbH noch der Absender (Oliver Klein) uebernehmen die >> Haftung fuer Viren; es obliegt Ihrer Verantwortung, die E-Mail und >> deren Anhaenge auf Viren zu pruefen. >> Anhaenge: >> >> _____________________________________________________________________ >> Versand am 22.04.2010 12:59 von Klein Oliver >> Validation-Code: 3152203752213 >> >> -----Urspruengliche Nachricht----- >> Von: Giorgio Zarrelli [mailto:zarrelli at linux.it] >> Gesendet: Donnerstag, 22. April 2010 12:46 >> An: Nagios Users List >> Cc: Nagios Users List >> Betreff: Re: [Nagios-users] passive host alive check? >> >> IT works anyway. >> >> Ciao, >> >> Giorgio >> >> Il giorno 22/apr/2010, alle ore 12.35, "Klein, Oliver" >> ha scritto: >> >>> Hi >>> >>> ok one more problem, so i changed the host check from "check-passiv" >>> to "check-host-alive" , so that works for some domains with a really >>> FQDN, but we have some domains with f.e. *.local. So how can I get >>> an >>> answer from these hosts? >>> >>> check_ping: Ung????ltige(r) Hostname/Adresse - sbs-server.fuerst >>> liche. >>> local >>> Usage:check_ping -H -w ,% -c ,% >>> [-p packets] [-t timeout] [-4 >>> >>> Regards Olly >>> >>> >>> Mit freundlichen Gruessen >>> >>> Oliver Klein >>> System Engineer >>> >>> Tel: 02506 / 93 20 214 >>> Mobil: 0163-5932004 >>> E-Mail: oklein at nccms.de >>> >>> >>> >>> NCC >>> Noethen Computer Center GmbH >>> Wolbecker Windmuehle 55 >>> 48167 Muenster >>> >>> Tel: 02506 93 20 0 >>> FAX: 02506 93 20 20 >>> >>> E-Mail: info at nccms.de >>> Homepage: www.nccms.de >>> >>> >>> >>> >>> >>> >>> >>> Amtsgericht Muenster HRB 5036 Geschaeftsfuehrer: Ralf Bakenecker >>> Uwe-Christian Surma >>> >>> >>> _____________________________________________________________________ >>> Dieses E-Mail ist nur fuer den Empfaenger bestimmt, an den es >>> gerichtet ist und kann vertrauliches bzw. unter das Berufsgeheimnis >>> fallendes Material enthalten. Jegliche darin enthaltene Ansicht oder >>> Meinungs- aeusserung ist die des Autors und stellt nicht >>> notwendigerweise die Ansicht oder Meinung von NCC GmbH dar. >>> Sind Sie nicht der Empfaenger, so haben Sie diese E-Mail irrtuemlich >>> erhalten und jegliche Verwendung, Veroeffentlichung, Weiterleitung, >>> Abschrift oder jeglicher Druck dieser E-Mail ist strengstens >>> untersagt. >>> >>> Weder NCC GmbH noch der Absender (Oliver Klein) uebernehmen die >>> Haftung fuer Viren; es obliegt Ihrer Verantwortung, die E-Mail und >>> deren Anhaenge auf Viren zu pruefen. >>> Anhaenge: >>> >>> _____________________________________________________________________ >>> Versand am 22.04.2010 12:35 von Klein Oliver >>> Validation-Code: 3152203752163 >>> >>> -----Urspruengliche Nachricht----- >>> Von: Klein, Oliver [mailto:oklein at nccms.de] >>> Gesendet: Donnerstag, 22. April 2010 12:03 >>> An: Nagios Users List >>> Betreff: Re: [Nagios-users] passive host alive check? >>> >>> Hi Assaf >>> >>> ok so i change the default check command fort he host to "check- >>> host- >>> alive" in the templates.cfg but host is still "down" >>> in the webinterface. So where I have to do these changes? Can you >>> give a short explain? >>> >>> regards olly >>> >>> >>> Mit freundlichen Gruessen >>> >>> Oliver Klein >>> System Engineer >>> >>> Tel: 02506 / 93 20 214 >>> Mobil: 0163-5932004 >>> E-Mail: oklein at nccms.de >>> >>> >>> >>> NCC >>> Noethen Computer Center GmbH >>> Wolbecker Windmuehle 55 >>> 48167 Muenster >>> >>> Tel: 02506 93 20 0 >>> FAX: 02506 93 20 20 >>> >>> E-Mail: info at nccms.de >>> Homepage: www.nccms.de >>> >>> >>> >>> >>> >>> >>> >>> Amtsgericht Muenster HRB 5036 Geschaeftsfuehrer: Ralf Bakenecker >>> Uwe-Christian Surma >>> >>> >>> _____________________________________________________________________ >>> Dieses E-Mail ist nur fuer den Empfaenger bestimmt, an den es >>> gerichtet ist und kann vertrauliches bzw. unter das Berufsgeheimnis >>> fallendes Material enthalten. Jegliche darin enthaltene Ansicht oder >>> Meinungs- aeusserung ist die des Autors und stellt nicht >>> notwendigerweise die Ansicht oder Meinung von NCC GmbH dar. >>> Sind Sie nicht der Empfaenger, so haben Sie diese E-Mail irrtuemlich >>> erhalten und jegliche Verwendung, Veroeffentlichung, Weiterleitung, >>> Abschrift oder jeglicher Druck dieser E-Mail ist strengstens >>> untersagt. >>> >>> Weder NCC GmbH noch der Absender (Oliver Klein) uebernehmen die >>> Haftung fuer Viren; es obliegt Ihrer Verantwortung, die E-Mail und >>> deren Anhaenge auf Viren zu pruefen. >>> Anhaenge: >>> >>> _____________________________________________________________________ >>> Versand am 22.04.2010 12:02 von Klein Oliver >>> Validation-Code: 3152203752122 >>> >>> -----Urspruengliche Nachricht----- >>> Von: Assaf Flatto [mailto:nagios at flatto.net] >>> Gesendet: Donnerstag, 22. April 2010 10:57 >>> An: nagios-users at lists.sourceforge.net >>> Betreff: Re: [Nagios-users] passive host alive check? >>> >>> Klein, Oliver wrote: >>>> >>>> >>>> Hi >>>> >>>> i have a questions about passive checks, we use this option to >>>> monitor some servers from our customers. >>>> >>>> Now our problem is, that the services are in the state "OK" but the >>>> hosts are "down", but the host is "alive". >>>> >>>> How can I solve this? I read some docs about this issue, but I did >>>> n??t really understand what to do now. Can anyone >>>> >>>> give a short howto about this issue? >>>> >>>> Big thx in advance >>>> >>>> Regards Olly >>>> >>>> >>>> >>>> >>> >>> AFAIK nagios passive checks ( defined usually by the users )are for >>> services ( most users do not enable passive checks for hosts) - >>> hence >>> the host is never getting a status update as it is not check as a >>> "service" per say. >>> you may need to set active checks on the host , and passive test for >>> the host-related services , or you can change the host status >>> manually with the use of the external commands. >>> >>> if you are using the PING test for the host - then that should be >>> the >>> indicator for if the host is "alive" - as the check_host_alive is >>> using ping to make that determination . >>> >>> Assaf >>> >>> -- >>> Never,Ever Cut A Deal With a Dragon >>> >>> >>> I am doing a Charity Bike ride On the 27 of June for the Capital to >>> Coast Charity. Please help by Donating >>> http://www.justgiving.com/Lovefilm-capital-to-coast >>> >>> >>> >>> --- >>> --- >>> --- >>> --- >>> ------------------------------------------------------------------ >>> _______________________________________________ >>> Nagios-users mailing list >>> Nagios-users at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>> ::: Please include Nagios version, plugin version (-v) and OS when >>> reporting any issue. >>> ::: Messages without supporting info will risk being sent to >>> /dev/null >>> >>> >>> --- >>> --- >>> --- >>> --- >>> ------------------------------------------------------------------ >>> _______________________________________________ >>> Nagios-users mailing list >>> Nagios-users at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>> ::: Please include Nagios version, plugin version (-v) and OS when >>> reporting any issue. >>> ::: Messages without supporting info will risk being sent to >>> /dev/null >>> >>> >>> --- >>> --- >>> --- >>> --- >>> ------------------------------------------------------------------ >>> _______________________________________________ >>> Nagios-users mailing list >>> Nagios-users at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>> ::: Please include Nagios version, plugin version (-v) and OS when >>> reporting any issue. >>> ::: Messages without supporting info will risk being sent to >>> /dev/null >> >> --- >> ------------------------------------------------------------------- >> -------- _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/ >> null >> >> >> --- >> ------------------------------------------------------------------- >> -------- _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/ >> null > > > > --- > --- > --- > --------------------------------------------------------------------- > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From reachtarak at hotmail.com Fri Apr 23 11:08:42 2010 From: reachtarak at hotmail.com (Digital Edge) Date: Fri, 23 Apr 2010 14:38:42 +0530 Subject: Custom Notification Time Message-ID: Dear List, As wanted to monitor few services for 7AM to 7PM . Using " check_period 24x7" , how can i do that. below is my service check parameter. define service{ name network-service use generic-service check_period 24x7 max_check_attempts 3 normal_check_interval 1 retry_check_interval 1 contact_groups Monitoring-alerts notification_options w,u,c,r notification_interval 60 notification_period 24x7 register 0 } /\ dE _________________________________________________________________ Climate, controversies and the changing signatures of nature http://green.in.msn.com/ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mmelin at gmail.com Fri Apr 23 11:18:24 2010 From: mmelin at gmail.com (Martin Melin) Date: Fri, 23 Apr 2010 11:18:24 +0200 Subject: Custom Notification Time In-Reply-To: References: Message-ID: On Fri, Apr 23, 2010 at 11:08 AM, Digital Edge wrote: > Dear List, > > As wanted to monitor few services for 7AM to 7PM . Using " > check_period?????? 24x7" , how can i do that. You create a timeperiod definition for that time. Then, if you really want to only check during that time, you set check_period to the name of the newly created timeperiod. However, in my opinion it's almost always a better idea to change notification_period, so that you monitor 24x7 but are only notified of problems during specific times. > > below is my service check parameter. > > define service{ > ??????? name??????????????????????????? network-service > ??????? use???????????????????????????? generic-service > ??????? check_period??????????????????? 24x7 > ??????? max_check_attempts????????????? 3 > ??????? normal_check_interval?????????? 1 > ??????? retry_check_interval??????????? 1 > ??????? contact_groups????????????????? Monitoring-alerts > ??????? notification_options??????????? w,u,c,r > ??????? notification_interval?????????? 60 > ??????? notification_period???????????? 24x7 > ??????? register??????????????????????? 0 > ??????? } > > > /\ > dE Regards Martin Melin ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jens.hyllegaard at softdesign.dk Fri Apr 23 11:05:52 2010 From: jens.hyllegaard at softdesign.dk (Jens Hyllegaard) Date: Fri, 23 Apr 2010 11:05:52 +0200 Subject: Advanced http_check with post Message-ID: <6BA565D1AFD80E479DB529D08DFE47660173CB576A@NTSERVER4.softdesign.dk> Hi. I want to do a check of a webservice we have. I need to post a xml file and analyze the result. I have managed to set all the parameters correctly, but I'm having trouble with posting the xml part. The biggest problem is that I need to have either newline or CR in the data that I send. And Check_Http only allows me to use a string, and it does not parse it, so \n won't work. I have thought about piping the data into the command, but have not managed to get that to work either. Does anybody have an idea on how to do this? Regards Jens -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From zorg at probesys.com Fri Apr 23 12:16:49 2010 From: zorg at probesys.com (zorgman) Date: Fri, 23 Apr 2010 12:16:49 +0200 Subject: No answer from host with check-SNMP Message-ID: <4BD17391.40002@probesys.com> Hi I have a switch checked by check-snmp. I'm checking differents interfaces, uptimes etc... So nagios send many snmp request to the switch. But there is a problem, if all the requests are sent in a few time interval, i have a "no answer from host XXX" message, so i must to reschedule next check of service by CGI, it's a long work to do it. Is there a solution to avoid it? say to nagios to wait some time between the differents checks? The switch is a Netgear, see below my config : define command{ command_name check_snmp_int command_line $USER1$/check_snmp_int2.pl -H $HOSTADDRESS$ -f -mm -P "$SERVICEPERFDATA$" -T $LASTSERVICECHECK$ -d 240 -r $ARG1$ } define service { host_name Switch_netgear service_description FREE_NEW check_command check_snmp_int!-C public -n "3/g24" -k -w 200,50 -c 800,80 use generic-service-active-perfdata notification_interval 0 } Thanks a lot! ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Albert.Shih at obspm.fr Fri Apr 23 13:36:19 2010 From: Albert.Shih at obspm.fr (Albert Shih) Date: Fri, 23 Apr 2010 13:36:19 +0200 Subject: Host unreachable what's nagios do. In-Reply-To: <7954F814-DFB2-4213-8AB7-2001CB3297EB@linux.it> References: <20100422201400.GL42724@obspm.fr> <7954F814-DFB2-4213-8AB7-2001CB3297EB@linux.it> Message-ID: <20100423113619.GA39887@obspm.fr> Le 22/04/2010 ? 23:44:35+0200, Giorgio Zarrelli a ?crit > From the manual: > > "When hosts change state (i.e. from UP to DOWN), the host reachability logic in > Nagios kicks in. The reachability logic will initiate parallel checks of the > parents and children of whatever hosts change state. This allows Nagios to > quickly determine the current status of your network infrastructure when > changes occur." Thanks for that. My problem is : I've lot of services/hosts under nagios (~1500) and when some building is out of power (so lots of host/services going down), the nagios go wrong because of the charge on the server. The first thing I think about is the parents/children but as you say that's not going to change anything. The second idea is to : Use dependencies and put a set (like all servers in a building) of host/servers in dependence of top of switch. And when the power come out, I put manually the top of the switch to down. What's do you think ? Regards. -- Albert SHIH SIO batiment 15 Observatoire de Paris Meudon 5 Place Jules Janssen 92195 Meudon Cedex T?l?phone : 01 45 07 76 26/06 86 69 95 71 Heure local/Local time: Ven 23 avr 2010 13:36:14 CEST ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lists at xodus.org Fri Apr 23 14:52:12 2010 From: lists at xodus.org (Marc Powell) Date: Fri, 23 Apr 2010 07:52:12 -0500 Subject: Host unreachable what's nagios do. In-Reply-To: <20100423113619.GA39887@obspm.fr> References: <20100422201400.GL42724@obspm.fr> <7954F814-DFB2-4213-8AB7-2001CB3297EB@linux.it> <20100423113619.GA39887@obspm.fr> Message-ID: <046E090E-DA58-4888-B615-C341D927435D@xodus.org> On Apr 23, 2010, at 6:36 AM, Albert Shih wrote: > My problem is : > > I've lot of services/hosts under nagios (~1500) and when some > building is out of power (so lots of host/services going down), the > nagios go wrong because of the charge on the server. What do you mean by 'nagios go wrong?' > The first thing I think about is the parents/children but as you say that's > not going to change anything. This is the monitoring solution to this kind of outage. Nagios will continue to try to check all hosts at the site but will report all devices behind the blocking device (top switch in your case it seems) in an unreachable state. You can choose to receive (or not) notifications about 'unreachable' devices separately from the 'down' switch. > The second idea is to : > > Use dependencies and put a set (like all servers in a building) of > host/servers in dependence of top of switch. Dependencies are not a good solution to this problem as you've stated it. What benefit do you believe there is with dependencies v.s. parents? > And when the power come out, I put manually the top of the switch > to down. If nagios were monitoring this switch it would just override whatever you did here unless you also disabled monitoring of the switch. > What's do you think ? I think that you should set parents for the hosts at this site such that every host -> parent relationship eventually leads to the top-level switch. If the top-level switch goes out, it will be shown as down and anything behind it will be shown as unreachable. host -- (parents) --> top-level switch or host -- (parents) -> some mid-level switch -- (parents) --> top-level switch -- Marc ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lists at xodus.org Fri Apr 23 14:52:26 2010 From: lists at xodus.org (Marc Powell) Date: Fri, 23 Apr 2010 07:52:26 -0500 Subject: Host unreachable what's nagios do. In-Reply-To: <20100423113619.GA39887@obspm.fr> References: <20100422201400.GL42724@obspm.fr> <7954F814-DFB2-4213-8AB7-2001CB3297EB@linux.it> <20100423113619.GA39887@obspm.fr> Message-ID: <996A45AF-37F4-42D4-8560-958CBEC4EFF7@xodus.org> On Apr 23, 2010, at 6:36 AM, Albert Shih wrote: > My problem is : > > I've lot of services/hosts under nagios (~1500) and when some > building is out of power (so lots of host/services going down), the > nagios go wrong because of the charge on the server. What do you mean by 'nagios go wrong?' > The first thing I think about is the parents/children but as you say that's > not going to change anything. This is the monitoring solution to this kind of outage. Nagios will continue to try to check all hosts at the site but will report all devices behind the blocking device (top switch in your case it seems) in an unreachable state. You can choose to receive (or not) notifications about 'unreachable' devices separately from the 'down' switch. > The second idea is to : > > Use dependencies and put a set (like all servers in a building) of > host/servers in dependence of top of switch. Dependencies are not a good solution to this problem as you've stated it. What benefit do you believe there is with dependencies v.s. parents? > And when the power come out, I put manually the top of the switch > to down. If nagios were monitoring this switch it would just override whatever you did here unless you also disabled monitoring of the switch. > What's do you think ? I think that you should set parents for the hosts at this site such that every host -> parent relationship eventually leads to the top-level switch. If the top-level switch goes out, it will be shown as down and anything behind it will be shown as unreachable. host -- (parents) --> top-level switch or host -- (parents) -> some mid-level switch -- (parents) --> top-level switch -- Marc ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From flyinvap at orange.fr Fri Apr 23 15:34:13 2010 From: flyinvap at orange.fr (Flyinvap) Date: Fri, 23 Apr 2010 15:34:13 +0200 Subject: Host unreachable what's nagios do. In-Reply-To: <046E090E-DA58-4888-B615-C341D927435D@xodus.org> References: <20100422201400.GL42724@obspm.fr> <7954F814-DFB2-4213-8AB7-2001CB3297EB@linux.it> <20100423113619.GA39887@obspm.fr> <046E090E-DA58-4888-B615-C341D927435D@xodus.org> Message-ID: <20100423153413.082fd36a@orange.fr> Hi, Le Fri, 23 Apr 2010 07:52:12 -0500, Marc Powell a ?crit : > This is the monitoring solution to this kind of outage. Nagios will > continue to try to check all hosts at the site but will report all > devices behind the blocking device (top switch in your case it seems) > in an unreachable state. You can choose to receive (or not) Does nagios sent notifications for NOK service on unreachable hosts ? If it does, I would check HOSTSTATEID in services notification command. Regards. -- Flyinvap ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nigel.leach at uk.bnpparibas.com Fri Apr 23 17:22:49 2010 From: nigel.leach at uk.bnpparibas.com (nigel.leach at uk.bnpparibas.com) Date: Fri, 23 Apr 2010 16:22:49 +0100 Subject: check_ifoperstatus Query Message-ID: Hi Guys, I've posted this in the past without much response, so am hoping a heroic person may have missed it. Any help much appreciated... I maybe expecting something that is not designed, but I was hoping to exclude checking of my loopback interface (as this frequently has counters that are too large to be read) #snmpwalk -v1 -c public localhost ifType IF-MIB::ifType.1 = INTEGER: softwareLoopback(24) IF-MIB::ifType.2 = INTEGER: ethernetCsmacd(6) IF-MIB::ifType.3 = INTEGER: ethernetCsmacd(6) # ./check_ifoperstatus -H localhost -T 6 OK: Interface eth0 (index 2) is up. I was hoping, and expecting to see both 'real' interfaces (index 2 and 3) in the check_ifoperstatus output ? I have check_ifoperstatus v1.4.14 (nagios-plugins 1.4.14) on AS4 U6. Regards Nigel Nigel Leach Grid Engineer | Front Office Risk Systems | BNP Paribas ___________________________________________________________ This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and delete this e-mail. Any unauthorised copying, disclosure or distribution of the material in this e-mail is prohibited. Please refer to http://www.bnpparibas.co.uk/en/information/legal_information.asp?Code=ECAS-845C5H for additional disclosures. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From noelrocha at gmail.com Fri Apr 23 20:04:03 2010 From: noelrocha at gmail.com (Noel R. Morais) Date: Fri, 23 Apr 2010 15:04:03 -0300 Subject: Next Scheduled Check is N/A or set in the past. Message-ID: Hi Guys, Im using Nagios 3.2.1 and it isn?t checking my services. When nagios starts the "Next Scheduled Check" is N/A. If I force a check, it checks and sets the "Next Scheduled Check" in the past. did someone have this problem? Thanks, -- Noel Rocha http://blog.noelrocha.com.br ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jcasale at activenetwerx.com Fri Apr 23 21:06:10 2010 From: jcasale at activenetwerx.com (Joseph L. Casale) Date: Fri, 23 Apr 2010 19:06:10 +0000 Subject: check_ifoperstatus Query In-Reply-To: References: Message-ID: >I was hoping, and expecting to see both 'real' interfaces (index 2 and 3) in the check_ifoperstatus output ? Just glancing quickly at the Perl code, I don't think it iterates over all them, also I don't believe that would make sense. How do you return data on multiple interfaces then? What's the logical return of op/admin status on "n" interfaces? That would just be messy dealing with all the possibilities, is it good if 5 of 6 are up, etc... ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mitsuto at gmail.com Fri Apr 23 21:25:55 2010 From: mitsuto at gmail.com (Marcel) Date: Fri, 23 Apr 2010 16:25:55 -0300 Subject: Next Scheduled Check is N/A or set in the past. In-Reply-To: References: Message-ID: Look if you have more than one nagios process running. /etc/init.d/nagios stop; ps -fu nagios If after nagios stop you still have nagios processes, then killall nagios. then fresh start and see if scheduling is ok. if not the you have clock/timezone problems, or something alien.. On Fri, Apr 23, 2010 at 3:04 PM, Noel R. Morais wrote: > Hi Guys, > > Im using Nagios 3.2.1 and it isn?t checking my services. When nagios > starts the "Next Scheduled Check" is N/A. If I force a check, it > checks and sets the "Next Scheduled Check" in the past. > > did someone have this problem? > > Thanks, > > -- > Noel Rocha > http://blog.noelrocha.com.br > > > ------------------------------------------------------------------------------ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lists at xodus.org Sat Apr 24 00:08:59 2010 From: lists at xodus.org (Marc Powell) Date: Fri, 23 Apr 2010 17:08:59 -0500 Subject: Host unreachable what's nagios do. In-Reply-To: <20100423153413.082fd36a@orange.fr> References: <20100422201400.GL42724@obspm.fr> <7954F814-DFB2-4213-8AB7-2001CB3297EB@linux.it> <20100423113619.GA39887@obspm.fr> <046E090E-DA58-4888-B615-C341D927435D@xodus.org> <20100423153413.082fd36a@orange.fr> Message-ID: On Fri, Apr 23, 2010 at 8:34 AM, Flyinvap wrote: > Does nagios sent notifications for NOK service on unreachable hosts ? If > it does, I would check HOSTSTATEID in services notification command. > No. Notifications for services on DOWN or UNREACHABLE hosts are entirely suppressed. -- Marc -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bipsen at andebakken.dk Sun Apr 25 20:29:38 2010 From: bipsen at andebakken.dk (Brian Ipsen) Date: Sun, 25 Apr 2010 20:29:38 +0200 Subject: Problem with notification config Message-ID: <000001cae4a5$43746a00$ca5d3e00$@dk> Hi I'm having an issue with notification handling and escalation.. As far as I can see, the notification counter on a service-check increments by one every time a notification is sent - no matter whether the notification is a warning or a critical notification. Well, I have a group of users, that only should receive the first two warning notifications - and if the check changes state to critical, they should only receive the 2 first critical notifications. I've tried using service escalations - but I don't think this can be used, since warning and critical notifications simply increment the notification number by one - the number is not reset when changing from warning to critical. My service escalation config looks like this: define serviceescalation { hostgroup_name Hosts-Gold service_description Service1,Service2,Service3 contact_groups grp-expiration,grp-drift,nt-admins first_notification 0 last_notification 1 notification_interval 60 escalation_period 24x7 escalation_options w } define serviceescalation { hostgroup_name Hosts-Gold service_description Service1,Service2,Service3 contact_groups grp-expiration,grp-drift,nt-admins first_notification 0 last_notification 1 notification_interval 60 escalation_period 24x7 escalation_options c } The questions is whether my need for this notification scheme is possible during the configuration - or it only can be done by writing an event-handler ?? Regards /Brian -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nigel.leach at uk.bnpparibas.com Mon Apr 26 10:36:08 2010 From: nigel.leach at uk.bnpparibas.com (nigel.leach at uk.bnpparibas.com) Date: Mon, 26 Apr 2010 09:36:08 +0100 Subject: check_ifoperstatus Query Message-ID: I?m not so sure it would be messy, surely most users would want a Nagios NOTOK if any of their Ethernet adapters are returning a bad status. Also, if what you suggest is correct, then I have to ensure I always plug my most important LAN into the first Ethernet, what happens if I want to check a second interface too. nb in my example; 6 is the ifType, not ifName. Nigel Leach Grid Engineer | Front Office Risk Systems | BNP Paribas ___________________________________________________________ This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and delete this e-mail. Any unauthorised copying, disclosure or distribution of the material in this e-mail is prohibited. Please refer to http://www.bnpparibas.co.uk/en/information/legal_information.asp?Code=ECAS-845C5H for additional disclosures. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ihab24 at hotmail.com Mon Apr 26 10:49:48 2010 From: ihab24 at hotmail.com (Ihab Samara) Date: Mon, 26 Apr 2010 11:49:48 +0300 Subject: check_snmp-load.pl Message-ID: Hi I have a problem with "check_snmp_load.pl", it is always returning 100.0% CRITICAL for a linux host, which is a false positive ofcourse. The check I am using: check_snmp_load.pl -H ipadd -C public -T netsc -w 80% -c 90% I tried all the -T options, but didn't work. This check used to work just fine but suddenly I faced this issue without making any changes on the host or on nagios. I am using the same script to check the cpu on other hosts and it works fine. Any ideas? Nagios version: 3.2.0 check_snmp_load.pl version :1.12 _________________________________________________________________ Hotmail: Trusted email with powerful SPAM protection. https://signup.live.com/signup.aspx?id=60969 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at flatto.net Mon Apr 26 10:55:08 2010 From: nagios at flatto.net (Assaf Flatto) Date: Mon, 26 Apr 2010 09:55:08 +0100 Subject: Problem with notification config In-Reply-To: <000001cae4a5$43746a00$ca5d3e00$@dk> References: <000001cae4a5$43746a00$ca5d3e00$@dk> Message-ID: <4BD554EC.5000208@flatto.net> Brian Ipsen wrote: > > Hi > > I?m having an issue with notification handling and escalation?. > > As far as I can see, the notification counter on a service-check > increments by one every time a notification is sent ? no matter > whether the notification is a warning or a critical notification. > > Well, I have a group of users, that only should receive the first two > warning notifications ? and if the check changes state to critical, > they should only receive the 2 first critical notifications. > > I?ve tried using service escalations ? but I don?t think this can be > used, since warning and critical notifications simply increment the > notification number by one ? the number is not reset when changing > from warning to critical? > > My service escalation config looks like this: > > define serviceescalation { > > hostgroup_name Hosts-Gold > > service_description Service1,Service2,Service3 > > contact_groups grp-expiration,grp-drift,nt-admins > > first_notification 0 > > last_notification 1 > > notification_interval 60 > > escalation_period 24x7 > > escalation_options w > > } > > define serviceescalation { > > hostgroup_name Hosts-Gold > > service_description Service1,Service2,Service3 > > contact_groups grp-expiration,grp-drift,nt-admins > > first_notification 0 > > last_notification 1 > > notification_interval 60 > > escalation_period 24x7 > > escalation_options c > > } > > The questions is whether my need for this notification scheme is > possible during the configuration ? or it only can be done by writing > an event-handler ?? > > Regards > > /Brian > From what i can see in your config you are only sending 1 alert in any case . what you might want to do is change the notifications to 1-2 in the warning category and 3-4 when it is critical that way if it is stay in "warning" - the group is notified in the first 2 notifications only . If it moves to critical after - they get the next 2 messages . and you can define a new group ( with the same contacts) and give it the same setting as the warning but for the critical - and that way cover both escalation paths. Assaf -- Never,Ever Cut A Deal With a Dragon I am doing a Charity Bike ride On the 27 of June for the Capital to Coast Charity. Please help by Donating http://www.justgiving.com/Lovefilm-capital-to-coast ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 flatto.net Mon Apr 26 14:34:04 2010 From: nagios at flatto.net (Assaf Flatto) Date: Mon, 26 Apr 2010 13:34:04 +0100 Subject: Host group services scheduled downtime Message-ID: <4BD5883C.3010209@flatto.net> Hello I just encountered an issue of cancelling scheduled downtime on a host group and related services . I have 20 hosts in a group and each host has 3 checks , when I scheduled the downtime - not a problem - the CGI has a nice option to add that . Now that I need to cancel the downtime - I have 20 hosts and 60 services to manually "uncheck" . Does anyone know of a better way to fix this ? Will there ever be a "remove Sched down time" in the CGI too ? I am using Nagios 3.2.0 from source , -- Never,Ever Cut A Deal With a Dragon I am doing a Charity Bike ride On the 27 of June for the Capital to Coast Charity. Please help by Donating http://www.justgiving.com/Lovefilm-capital-to-coast ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jcasale at activenetwerx.com Mon Apr 26 15:58:41 2010 From: jcasale at activenetwerx.com (Joseph L. Casale) Date: Mon, 26 Apr 2010 13:58:41 +0000 Subject: check_ifoperstatus Query In-Reply-To: References: Message-ID: >Also, if what you suggest is correct, then I have to ensure I always plug my >most important LAN into the first Ethernet, what happens if I want to check >a second interface too. Uhm, check your "2nd" interface in addition to, or alternatively then? ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alexus at gmail.com Mon Apr 26 16:25:37 2010 From: alexus at gmail.com (alexus) Date: Mon, 26 Apr 2010 10:25:37 -0400 Subject: event handler & flapping Message-ID: is there a way to incorporate flapping state into event handler? -- http://alexus.org/ ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From flyinvap at orange.fr Mon Apr 26 17:20:16 2010 From: flyinvap at orange.fr (Flyinvap) Date: Mon, 26 Apr 2010 17:20:16 +0200 Subject: event handler & flapping In-Reply-To: References: Message-ID: <20100426172016.4013c13a@orange.fr> Le Mon, 26 Apr 2010 10:25:37 -0400, alexus a ?crit : > is there a way to incorporate flapping state into event handler? May be test $HOSTPERCENTCHANGE$, $SERVICEPERCENTCHANGE$ or $NOTIFICATIONTYPE$ macros in your event handler script ? -- Fly ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alexus at gmail.com Mon Apr 26 18:54:47 2010 From: alexus at gmail.com (alexus) Date: Mon, 26 Apr 2010 12:54:47 -0400 Subject: event handler & flapping In-Reply-To: <20100426172016.4013c13a@orange.fr> References: <20100426172016.4013c13a@orange.fr> Message-ID: On Mon, Apr 26, 2010 at 11:20 AM, Flyinvap wrote: > Le Mon, 26 Apr 2010 10:25:37 -0400, > alexus a ?crit : > >> is there a way to incorporate flapping state into event handler? > > May be test $HOSTPERCENTCHANGE$, $SERVICEPERCENTCHANGE$ or > $NOTIFICATIONTYPE$ macros in your event handler script ? > > -- > Fly > > > > ------------------------------------------------------------------------------ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null I'm trying to pass $NOTIFICATIONTYPE$ into my event handler but I'm not sure why, it won't get passed... I even turn on debuging and I see my event handler kicks in, yet nothing get passed for NOTIFICATIONTYPE, yet all other stuff get passed that I was doing before such as SERVICESTATE SERVICESSTATETYPE and SERVICEATTEMPTS -- http://alexus.org/ ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Apr 26 19:53:48 2010 From: zarrelli at linux.it (Giorgio Zarrelli) Date: Mon, 26 Apr 2010 19:53:48 +0200 Subject: event handler & flapping In-Reply-To: References: <20100426172016.4013c13a@orange.fr> Message-ID: Try with environment variables, they Are described in the manual. Mauve they can help! Ciao, Giorgio Il giorno 26/apr/2010, alle ore 18.54, alexus ha scritto: > On Mon, Apr 26, 2010 at 11:20 AM, Flyinvap wrote: >> Le Mon, 26 Apr 2010 10:25:37 -0400, >> alexus a ?crit : >> >>> is there a way to incorporate flapping state into event handler? >> >> May be test $HOSTPERCENTCHANGE$, $SERVICEPERCENTCHANGE$ or >> $NOTIFICATIONTYPE$ macros in your event handler script ? >> >> -- >> Fly >> >> >> >> --- >> --- >> --- >> --------------------------------------------------------------------- >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/ >> null > > I'm trying to pass $NOTIFICATIONTYPE$ into my event handler but I'm > not sure why, it won't get passed... > I even turn on debuging and I see my event handler kicks in, yet > nothing get passed for NOTIFICATIONTYPE, yet all other stuff get > passed that I was doing before such as SERVICESTATE SERVICESSTATETYPE > and SERVICEATTEMPTS > > -- > http://alexus.org/ > > --- > --- > --- > --------------------------------------------------------------------- > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From doepain at gmail.com Mon Apr 26 20:08:02 2010 From: doepain at gmail.com (dOE) Date: Mon, 26 Apr 2010 14:08:02 -0400 Subject: Setting up Escalations. In-Reply-To: <2ac1660bba64f5507aecc742b6e5ea8d.squirrel@picard.linux.it> References: <2ac1660bba64f5507aecc742b6e5ea8d.squirrel@picard.linux.it> Message-ID: Thank you your guide helped On Tue, Apr 6, 2010 at 4:31 PM, Giorgio Zarrelli wrote: > Hi, > > the workflow for check/notification/escalation is the following: > > > 1. The service/host is checked in OK state with the check_interval > timing; > > 2. As the service/host goes into a NON OK state, but didn't reach the > max_check_attempts, the service enters a SOFT NON OK state and the next > check is scheduled with the retry_interval timing; > > 3. As the service/host in NON OK state reaches the > max_check_attempts_value, the service enters an HARD NON OK STATE and > the next service/host check is scheduled with the check_interval timing; > > 4. Now, if you set first_notification_delay, this can alter the timing > for the first notification to be sent (0 means notifications to be sent > immediately); > > 5. If you didn't set the first_notification_delay, the first > notification is immediately sent and the following will be scheduled > with the notification_interval timing (0 means only the first > notification will be sent, the other will not be sent); > > 6. In your escalation, at the third notification (with the > notification_interval taking place), the notification interval changes > to 45 minutes, so the first notification will be sent after the > max_check_attempts value will be reached (assuming you didn't put any > delay), then the second after 10 time units, usually 10 minutes, the > third 10 mins after the second, the fourth 45 mins after the third, the > fifth 45 mins after the fourth, the sixth 45 mins after the fifth. > > > 7. From the sixth notification, the new escalation comes into play. The > seventh notification will be sent after 60 minutes, and all the other > notifications will be sent 60 mins after each other. Keep in mind that > having used 0 as the last_notification value, you escalation will never > end till your check will return an OK status. > > > I do not know if I answered to your questions, I hope to have explained > the notification/escalation timings in a correct and clear manner. > > On the Nagios wiki you will find a flowchart I wrote to clarify the > logic dealing with the notification framework. > > Ciao, > > Giorgio > > > > Il giorno lun, 05/04/2010 alle 12.48 -0400, dOE ha scritto: > > Thanks Giorgia, > > > > Then for notification_interval for production environment set to "10" > > would process the escalation after 10 minutes of the alert NIT being > > "ok"?, and subsequent notification_interval should be set to more than > > "10" so that they would then be notified too? > > > > Am I understanding this correctly? > > > > On Mon, Apr 5, 2010 at 6:34 AM, Giorgio Zarrelli > > wrote: > > Hi, > > > > First, local definitions win over those written in templates, > > so if in the template you have a notification_interval value > > and in the escalation you have another, escalation wins and > > its value is adopted. > > > > Second, notification_interval il the interval between two > > consecutive notifications for a host or a service, after it > > enters a non ok status and has exceeded max_check_attempts > > value. > > > > Ciao, > > > > Giorgio > > > > Il giorno 05/apr/2010, alle ore 04.50, dOE > > ha scritto: > > > > > > I am having a difficulty getting escalations to work > > on Nagios 3.0.3 > > > > The following is pulled from the documentation: > > > > define serviceescalation{ > > host_name webserver > > service_description HTTP > > first_notification 3 > > last_notification 5 > > notification_interval 45 > > contact_groups ITOps_Oncall,managers > > } > > > > define serviceescalation{ > > host_name webserver > > service_description HTTP > > first_notification 6 > > last_notification 0 > > notification_interval 60 > > contact_groups > > ITOps_Oncall,managers,everyone > > } > > > > I have read the documentation, but I don't understand > > what the "notification_interval" are based on, and > > sine we have hosts inheriting from a "core" template > > it is very difficult to test escalations. > > We use OpCfg to do our Nagios configuration, but it > > does not stop me from occasionally going into the > > actual configuration files to make changes either. > > > > If anyone has this working, and could shed some light > > on how I can get this to work, or clarify the > > documentation explanation of it. Also, since I am > > inheriting from a template I feel as though the > > changes I make to a particular host (to test) is being > > ignored or it maybe me not understanding what the > > "notification_interval" are exactly. > > > > Any advice is very much appreciated. > > > > > ------------------------------------------------------------------------------ > > Download Intel® Parallel Studio Eval > > Try the new software tools for yourself. Speed > > compiling, find bugs > > proactively, and fine-tune applications for parallel > > performance. > > See why Intel Parallel Studio got high marks during > > beta. > > http://p.sf.net/sfu/intel-sw-dev > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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 -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bipsen at andebakken.dk Mon Apr 26 20:19:50 2010 From: bipsen at andebakken.dk (Brian Ipsen) Date: Mon, 26 Apr 2010 20:19:50 +0200 Subject: Problem with notification config In-Reply-To: <4BD554EC.5000208@flatto.net> References: <000001cae4a5$43746a00$ca5d3e00$@dk> <4BD554EC.5000208@flatto.net> Message-ID: <000001cae56d$0fb9ef00$2f2dcd00$@dk> Hi The problem is that I never know if I get 1, 2 or 10 warnings before the state changes to critical (or maybe even OK)... That is why I find it a bit difficult, and wonder whether an eventhandler would be the proper solution... Regards /Brian -----Original Message----- From: Assaf Flatto [mailto:nagios at flatto.net] Sent: 26. april 2010 10:55 To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Problem with notification config Brian Ipsen wrote: > > Hi > > I'm having an issue with notification handling and escalation.. > > As far as I can see, the notification counter on a service-check > increments by one every time a notification is sent - no matter > whether the notification is a warning or a critical notification. > > Well, I have a group of users, that only should receive the first two > warning notifications - and if the check changes state to critical, > they should only receive the 2 first critical notifications. > > I've tried using service escalations - but I don't think this can be > used, since warning and critical notifications simply increment the > notification number by one - the number is not reset when changing > from warning to critical. > > My service escalation config looks like this: > > define serviceescalation { > > hostgroup_name Hosts-Gold > > service_description Service1,Service2,Service3 > > contact_groups grp-expiration,grp-drift,nt-admins > > first_notification 0 > > last_notification 1 > > notification_interval 60 > > escalation_period 24x7 > > escalation_options w > > } > > define serviceescalation { > > hostgroup_name Hosts-Gold > > service_description Service1,Service2,Service3 > > contact_groups grp-expiration,grp-drift,nt-admins > > first_notification 0 > > last_notification 1 > > notification_interval 60 > > escalation_period 24x7 > > escalation_options c > > } > > The questions is whether my need for this notification scheme is > possible during the configuration - or it only can be done by writing > an event-handler ?? > > Regards > > /Brian > From what i can see in your config you are only sending 1 alert in any case . what you might want to do is change the notifications to 1-2 in the warning category and 3-4 when it is critical that way if it is stay in "warning" - the group is notified in the first 2 notifications only . If it moves to critical after - they get the next 2 messages . and you can define a new group ( with the same contacts) and give it the same setting as the warning but for the critical - and that way cover both escalation paths. Assaf -- Never,Ever Cut A Deal With a Dragon I am doing a Charity Bike ride On the 27 of June for the Capital to Coast Charity. Please help by Donating http://www.justgiving.com/Lovefilm-capital-to-coast ---------------------------------------------------------------------------- -- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bparish at cognex.com Tue Apr 27 02:49:40 2010 From: bparish at cognex.com (Parish, Brent) Date: Mon, 26 Apr 2010 20:49:40 -0400 Subject: FW: Timeperiods and oncall rotation with UK Public holidays Message-ID: I've been wanting to chime in on this topic for some time now, but I've done so much customization in my Nagios environment that it would be really hard to post the code. For example, my notify.pl script checks out user preferences that are stored in a database, which requires the CGI that allows users to change that info, which requires Active Directory (so they can only see/modify their own stuff). I also run a private instant message server (OpenFire) so alerts can pop up as instant messages if users prefer that. Although I'm certain there are much better ways to do this out there, here is what works for me in a nutshell: * use NDOutils to store Nagios configuration and alerts * store user contact preferences in a MySQL database * create a CGI and link into the left hand nav panel to allow users to change contact preferences * create a new notify.pl from scratch - Check if it is business hours or non biz hours (to do: use Nagios time config files) - Do a select on the database to see who is responsible for this alert, given time, day, host, service, level, etc. - Optionally: send alert to generic group/email if no one is specifically defined - Read in user preferences from DB, given host, time of day, etc. - Send alert according to preference (email address, instant message, voice, etc) * Define the contacts' email addresses (inside contacts.cfg) to be the username (CN) in Active Directory * Define all users to get alerts all the time, let the database do the work of sorting out details If ever get the time to clean up the code, document it better and explain the dependencies, I'll be happy to post the code somewhere as an example of one way to do it. Hope it helps, - Brent -----Original Message----- Sent: Thursday, April 22, 2010 2:08 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] [Nagios-devel] FW: Timeperiods and oncall rotation with UK Public holidays > If you can find a way to do this, please let me know! My boss is wanting > our Nagios installation to do this very thing, but I have yet to find a > way to make this happen. ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 27 03:34:00 2010 From: yu.watanabe at jp.fujitsu.com (Yu Watanabe) Date: Tue, 27 Apr 2010 10:34:00 +0900 Subject: About host check retry interval for nagios v 3.x Message-ID: <201004270134.AA01766@S2007337.jp.fujitsu.com> Hello all. I would like to ask a question regarding to "Host Definition" in Nagios official document of 3.x. In the "Object Definitions -> Host Definition", the host retry interval is set as "#". What would be the interval lentgh that Nagios is actually performed with this value? Would it be the default time unit , 60 sec? Thank you Yu Watanabe ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jashokda at cisco.com Tue Apr 27 08:24:32 2010 From: jashokda at cisco.com (Jatin Davey) Date: Tue, 27 Apr 2010 11:54:32 +0530 Subject: Creating Nagios Read-Only Users Message-ID: <4BD68320.6010508@cisco.com> Hi Is it possible to create read-only users who just have read permissions to access the nagios GUI ? Can some one point me on how to do it. Thanks Jatin ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From flyinvap at orange.fr Tue Apr 27 10:14:25 2010 From: flyinvap at orange.fr (Flyinvap) Date: Tue, 27 Apr 2010 10:14:25 +0200 Subject: Creating Nagios Read-Only Users In-Reply-To: <4BD68320.6010508@cisco.com> References: <4BD68320.6010508@cisco.com> Message-ID: <20100427101425.2c50f54f@orange.fr> Hi, Le Tue, 27 Apr 2010 11:54:32 +0530, Jatin Davey a ?crit : > Is it possible to create read-only users who just have read > permissions to access the nagios GUI ? > Can some one point me on how to do it. Just the doc [1]. [1] http://nagios.sourceforge.net/docs/3_0/configcgi.html -- Flyinvap ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From flyinvap at orange.fr Tue Apr 27 10:22:16 2010 From: flyinvap at orange.fr (Flyinvap) Date: Tue, 27 Apr 2010 10:22:16 +0200 Subject: Passive Service Checks Last Message-ID: <20100427102216.11ab2274@orange.fr> Hi, I use nagios 3.2 from Debian backports and would like to graph passive services checks on a passive server. $ nagios3stats --mrtg --data=NUMPSVSVCCHECKS1M,NUMPSVSVCCHECKS5M,NUMPSVSVCCHECKS15M 24 233 233 $ nagios3stats | grep 'Passive Service Checks Last' Passive Service Checks Last 1/5/15 min: 54 / 279 / 279 On last 5 minutes and on 15 minutes, nagiosstats return always the same values for passive checks. It's working with active check on active server. Is it a feature or a bug ? Regards -- Flyinvap ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 aidananderson.co.uk Tue Apr 27 17:55:11 2010 From: mail at aidananderson.co.uk (Aidan Anderson) Date: Tue, 27 Apr 2010 16:55:11 +0100 Subject: About host check retry interval for nagios v 3.x In-Reply-To: <201004270134.AA01766@S2007337.jp.fujitsu.com> References: <201004270134.AA01766@S2007337.jp.fujitsu.com> Message-ID: <4BD708DF.4000602@aidananderson.co.uk> Yu Watanabe wrote: > Hello all. > > I would like to ask a question regarding to "Host Definition" in Nagios official document of 3.x. > > In the "Object Definitions -> Host Definition", the host retry interval is set as "#". > What would be the interval lentgh that Nagios is actually performed with this value? > Would it be the default time unit , 60 sec? > > Thank you > Yu Watanabe > > This is not a real value, the # indicates that the directive requires a number. In the case of retry_interval, this is the number of minutes between each check attempt after the host goes into a SOFT non-ok state. Normally you put a 1 here so that it retries every 1 minute until it reaches max_check_attempts. regards, Aidan ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From subs at arahmantech.com Wed Apr 28 11:58:18 2010 From: subs at arahmantech.com (Athiqur Rahman) Date: Wed, 28 Apr 2010 10:58:18 +0100 Subject: snmpwalk works but check_snmp doesn't Message-ID: <4BD806BA.4090201@arahmantech.com> I am trying to monitor the status of my BGP connections on a cisco box. I can get the status of the connection via [root at watcher libexec]#snmpwalk -v2c -c public 172.16.0.1 .1.3.6.1.2.1.15.3.1.2 SNMPv2-SMI::mib-2.15.3.1.2.212.12.10.11 = INTEGER: 6 SNMPv2-SMI::mib-2.15.3.1.2.234.13.11.109 = INTEGER: 6 you can see i get state established (6) for both peers 212.12.10.11 and 234.13.11.109 But when I execute using the nagios snmp plugin i get the following [root at watcher libexec]# ./check_snmp -H 172.16.0.1 -P 2c -C public -o .1.3.6.1.2.1.15.3.1.2 SNMP OK - No Such Instance currently exists at this OID | What is the best way to go about monitoring the state of the bgp connection? thanks ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lists at xodus.org Wed Apr 28 14:14:12 2010 From: lists at xodus.org (Marc Powell) Date: Wed, 28 Apr 2010 07:14:12 -0500 Subject: snmpwalk works but check_snmp doesn't In-Reply-To: <4BD806BA.4090201@arahmantech.com> References: <4BD806BA.4090201@arahmantech.com> Message-ID: <56F1C187-1FEB-47C4-8524-F65D983135E3@xodus.org> On Apr 28, 2010, at 4:58 AM, Athiqur Rahman wrote: > I am trying to monitor the status of my BGP connections on a cisco box. [snip] > But when I execute using the nagios snmp plugin i get the following > > [root at watcher libexec]# ./check_snmp -H 172.16.0.1 -P 2c -C public -o > .1.3.6.1.2.1.15.3.1.2 > SNMP OK - No Such Instance currently exists at this OID | check_snmp doesn't do a walk. You must be very specific to the exact OID you want to check. You'll also need to specify failure criteria if you want to get any kind of alert. > What is the best way to go about monitoring the state of the bgp connection? I used the following combination -- define command { command_name check_bgp_peer_state command_line $USER1$/check_snmp -H $HOSTADDRESS$ -o .1.3.6.1.2.1.15.3.1.2.$ARG1$ -s 6 -C $USER3$ -l 'BGP Peer $ARG1$ State' } define service{ use generic-service host_name myhost service_description iBGP-to-othernet retry_check_interval 3 contact_groups nateng-oncall-network check_command check_bgp_peer_state!212.12.10.11 } -- Marc ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From powo+lists.nagios-users at powo.priv.at Wed Apr 28 23:14:02 2010 From: powo+lists.nagios-users at powo.priv.at (Wolfgang Powisch) Date: Wed, 28 Apr 2010 23:14:02 +0200 Subject: event_broker_options and multiple broker modules Message-ID: <4BD8A51A.4080303@powo.priv.at> Hi, I'm currently using NDOutils+MySQL to access both, live- and hitorical data from Nagios-systems in a custom network management system. Recently I noticed mk-livestatus and since the NDO-DB solution has significant performance/scalability issues I'm planning to use mk-livestatus for live-data-retrieval but keeping NDO for historical data. Basically it doesn't seem to be a problem to use both broker-modules at the same time but I'd like to specify different "event_broker_options" per broker_module. is that possible ? regards, powo ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From michael.friedrich at univie.ac.at Thu Apr 29 09:31:52 2010 From: michael.friedrich at univie.ac.at (Michael Friedrich) Date: Thu, 29 Apr 2010 09:31:52 +0200 Subject: event_broker_options and multiple broker modules In-Reply-To: <4BD8A51A.4080303@powo.priv.at> References: <4BD8A51A.4080303@powo.priv.at> Message-ID: <4BD935E8.40803@univie.ac.at> -------- Original Message -------- Subject: [Nagios-users] event_broker_options and multiple broker modules From: Wolfgang Powisch To: Nagios List Date: 2010-04-28 23:14 > Hi, > > I'm currently using NDOutils+MySQL to access both, live- and hitorical > data from Nagios-systems in a custom network management system. Which Version of NDOUtils? If > 1.4b7 I would not recommend it for historical data, or in case, if you don't need correct data in servicechecks, systemcommands and timedevents, you can keep it ;-) > > Recently I noticed mk-livestatus and since the NDO-DB solution has > significant performance/scalability issues I'm planning to use > mk-livestatus for live-data-retrieval but keeping NDO for historical > data. AFAIK mk-livestatus can also ask the core for historical data, but I don't think parsing logs from the core would scale then. Also the overall memory consumption of the core loading the mk-livestatus module will will be more when having everything cached. > > Basically it doesn't seem to be a problem to use both broker-modules > at the same time but I'd like to specify different > "event_broker_options" per broker_module. is that possible ? On NDOUtils you can set the data processing options in ndomod.cfg - this is just for the module itsself. Which event broker options are needed for mk-livestatus - well that's the thing to ask the devs. Also there's no option to set that directly onto the module as for it only gets the live socket as param (and debug mode). I would recommend that you ask on nagios-portal.org where the devs are around. Kind regards, Michael -- DI (FH) Michael Friedrich michael.friedrich at univie.ac.at Tel: +43 1 4277 14359 Vienna University Computer Center Universitaetsstrasse 7 A-1010 Vienna, Austria ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jashokda at cisco.com Thu Apr 29 10:23:32 2010 From: jashokda at cisco.com (Jatin Davey) Date: Thu, 29 Apr 2010 13:53:32 +0530 Subject: help on check_snmp_process 's performance data Message-ID: <4BD94204.8090602@cisco.com> Hi I am using the check_snmp_process to get the performance data for a specific process. Basically i want to give the process name to the plugin to get the memory used by that process. I get the following ouput when i run the command: Argument "v6.0.0" isn't numeric in numeric lt (<) at ./check_snmp_process line 410. Argument "v6.0.0" isn't numeric in numeric lt (<) at ./check_snmp_process line 554. 1 process matching cspc_server (> 0), Mem : 209.4Mb > 200 WARNING | 'memory_usage'=209.4MB;200;300 'num_process'=1;0;0 I dont know what the first two lines indicate , can some one explain ? Also can i plot the graphs in PNP4 if i get the output in the format as shown above ? Thanks Jatin ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jashokda at cisco.com Thu Apr 29 11:52:26 2010 From: jashokda at cisco.com (Jatin Davey) Date: Thu, 29 Apr 2010 15:22:26 +0530 Subject: check_snmp_process plugin -- clarification Message-ID: <4BD956DA.5010201@cisco.com> Hi The check_snmp_process plugin gives me process level performance data. I want to know how it reports in the following scenario: I have two java processes running on my target machine , i use the check_snmp_process plugin and get the memory usage of the java processes. It reports me that there are 2 java processes and the memory used is 60 MB. Here i want to know whether the 60MB is used by both the java processes ? or is it something else ? Please clarify me on this. Thanks Jatin ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jashokda at cisco.com Thu Apr 29 13:06:32 2010 From: jashokda at cisco.com (Jatin Davey) Date: Thu, 29 Apr 2010 16:36:32 +0530 Subject: help on check_snmp_process 's performance data In-Reply-To: <4BD94204.8090602@cisco.com> References: <4BD94204.8090602@cisco.com> Message-ID: <4BD96838.2070204@cisco.com> I gave it a try and even with this output i was able to plot the performance graphs using PNP4. Thanks Jatin On 4/29/2010 1:53 PM, Jatin Davey wrote: > Hi > > I am using the check_snmp_process to get the performance data for a > specific process. Basically i want to give the process name to the > plugin to get the memory used by that process. I get the following ouput > when i run the command: > > Argument "v6.0.0" isn't numeric in numeric lt (<) at > ./check_snmp_process line 410. > Argument "v6.0.0" isn't numeric in numeric lt (<) at > ./check_snmp_process line 554. > 1 process matching cspc_server (> 0), Mem : 209.4Mb> 200 WARNING | > 'memory_usage'=209.4MB;200;300 'num_process'=1;0;0 > > I dont know what the first two lines indicate , can some one explain ? > > Also can i plot the graphs in PNP4 if i get the output in the format as > shown above ? > > Thanks > Jatin > > ------------------------------------------------------------------------------ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Thu Apr 29 20:46:32 2010 From: ae at op5.se (Andreas Ericsson) Date: Thu, 29 Apr 2010 20:46:32 +0200 Subject: Nagios development moving forward Message-ID: <4BD9D408.808@op5.se> Hey all. Sorry for cross-posting, but I suppose this announce interests quite a lot of the users too, and not just developers. I'm just writing to inform you all that Nagios (core and cgi's) development is once again moving forward. We've previously been stalled by technical issues on how we should work with the code now that we're a distributed team. As most of you know, talk has been going on for quite some time to move the official Nagios repository to git. While this hasn't happened yet, everything that has so far been coded for Nagios has been done that way, in my own and Ton's public repositories which are cross-pollinated with changes from both of us. So for those of you who wish to try out a revamped Nagios with a bunch of bugfixes and code improvements, clone your repo from me or Ton today and build Nagios from source. To clone a repository with git, use git clone This will get you all latest sources. For further info about git, see http://www.git-scm.org My repo: clone url: git://git.op5.org/nagios.git gitweb url's: http://git.op5.org/git/?p=nagios.git http://git.op5.org/git/?p=nagios.git;a=shortlog;h=refs/heads/dev branches: master Same as the still-official Nagios CVS repo dev My changes on top of CVS import ae-ton The merged state between me and Ton Ton's repo: clone url: git://github.com/tonvoon/opsview-nagios.git gitweb url: http://github.com/tonvoon/opsview-nagios.git branches: master Ton's and my changes on top of CVS import Those of you who have reported bugs to tracker.nagios.org should log into the tracker again and see if your bug has been closed or resolved, and if so try out my dev branch, which should contain the proper fix. Those of you who are git-savvy since before can try git log -p --grep="fix.*#$bug_id_without_leading_zeroes" dev in a repo cloned from mine and it'll show you the commits that are responsible for fixing your problem. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 Considering the successes of the wars on alcohol, poverty, drugs and terror, I think we should give some serious thought to declaring war on peace. ------------------------------------------------------------------------------ From michael.friedrich at univie.ac.at Thu Apr 29 21:15:13 2010 From: michael.friedrich at univie.ac.at (Michael Friedrich) Date: Thu, 29 Apr 2010 21:15:13 +0200 Subject: Nagios development moving forward In-Reply-To: <4BD9D408.808@op5.se> References: <4BD9D408.808@op5.se> Message-ID: <4BD9DAC1.9050008@univie.ac.at> Hi, -------- Original Message -------- Subject: [Nagios-devel] Nagios development moving forward From: Andreas Ericsson To: nagios-devel , Nagios-users at lists.sourceforge.net Date: 2010-04-29 20:46 > Hey all. Sorry for cross-posting, but I suppose this announce > interests quite a lot of the users too, and not just developers. > > I'm just writing to inform you all that Nagios (core and cgi's) > development is once again moving forward. We've previously been > stalled by technical issues on how we should work with the code > now that we're a distributed team. > > As most of you know, talk has been going on for quite some time > to move the official Nagios repository to git. While this hasn't > happened yet, everything that has so far been coded for Nagios > has been done that way, in my own and Ton's public repositories > which are cross-pollinated with changes from both of us. > > So for those of you who wish to try out a revamped Nagios with a > bunch of bugfixes and code improvements, clone your repo from me > or Ton today and build Nagios from source. Thanks for the update. Although it would be nice to get the official repositories onto GIT - where exactly is the problem? And regarding the revamped Nagios - is this meant to be an invitation for testing, or for using those versions? When will all those fixes be merged back in to the CVS HEAD > branches: > master Same as the still-official Nagios CVS repo > dev My changes on top of CVS import > ae-ton The merged state between me and Ton Sounds good, will give it a try. A bunch of nice improvements, and bugfixes next to those where I've already applied the patches and tested them over here :) > gitweb url: > http://github.com/tonvoon/opsview-nagios.git Minor note - remove the .git then it works http://github.com/tonvoon/opsview-nagios > Those of you who have reported bugs to tracker.nagios.org should > log into the tracker again and see if your bug has been closed or > resolved, and if so try out my dev branch, which should contain > the proper fix. Any news on NDOUtils and other Core addons? Next to the Core it would be nice to know what's going on with them. Kind regards, Michael -- DI (FH) Michael Friedrich michael.friedrich at univie.ac.at Tel: +43 1 4277 14359 Vienna University Computer Center Universitaetsstrasse 7 A-1010 Vienna, Austria ------------------------------------------------------------------------------ From richard.lynch at rasmussen.edu Thu Apr 29 21:39:15 2010 From: richard.lynch at rasmussen.edu (Richard Lynch) Date: Thu, 29 Apr 2010 14:39:15 -0500 Subject: Nagios development moving forward In-Reply-To: <4BD9D408.808@op5.se> References: <4BD9D408.808@op5.se> Message-ID: Recommendation: Check_swap should be refactored to a get_swap function, OS-dependent, and then a comparison process, OS-independent. :-) I'm contemplating writing a Mac OS X check_swap, as there does not seem to be one, and not looking forward to parsing "top -n 1 -S ..." output... But I'd be a whole lot more comfy with it if I just had to return a BIGINT instead of duplicating the logic of the test. 'Course, I don't really know what I'm talking about; I'm a nagios "victim" for a month of a setup that blasts the whole IT department for every notification, and haven't actually done anything useful to fix that yet... On 4/29/10 1:46 PM, "Andreas Ericsson" wrote: > Hey all. Sorry for cross-posting, but I suppose this announce > interests quite a lot of the users too, and not just developers. > > I'm just writing to inform you all that Nagios (core and cgi's) > development is once again moving forward. We've previously been > stalled by technical issues on how we should work with the code > now that we're a distributed team. > > As most of you know, talk has been going on for quite some time > to move the official Nagios repository to git. While this hasn't > happened yet, everything that has so far been coded for Nagios > has been done that way, in my own and Ton's public repositories > which are cross-pollinated with changes from both of us. > > So for those of you who wish to try out a revamped Nagios with a > bunch of bugfixes and code improvements, clone your repo from me > or Ton today and build Nagios from source. > > To clone a repository with git, use > git clone > > This will get you all latest sources. For further info about git, > see http://www.git-scm.org > > My repo: > clone url: > git://git.op5.org/nagios.git > gitweb url's: > http://git.op5.org/git/?p=nagios.git > http://git.op5.org/git/?p=nagios.git;a=shortlog;h=refs/heads/dev > branches: > master Same as the still-official Nagios CVS repo > dev My changes on top of CVS import > ae-ton The merged state between me and Ton > > Ton's repo: > clone url: > git://github.com/tonvoon/opsview-nagios.git > gitweb url: > http://github.com/tonvoon/opsview-nagios.git > branches: > master Ton's and my changes on top of CVS import > > > Those of you who have reported bugs to tracker.nagios.org should > log into the tracker again and see if your bug has been closed or > resolved, and if so try out my dev branch, which should contain > the proper fix. > > Those of you who are git-savvy since before can try > > git log -p --grep="fix.*#$bug_id_without_leading_zeroes" dev > > in a repo cloned from mine and it'll show you the commits that > are responsible for fixing your problem. ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From john.h.hyde at gmail.com Thu Apr 29 22:01:38 2010 From: john.h.hyde at gmail.com (John Hyde) Date: Thu, 29 Apr 2010 16:01:38 -0400 Subject: Repeated spawning of nrpe (10.5.8 - Mac OS X server) Message-ID: Hello all, I'm having a bit of difficulty with an install of nrpe on a Mac. Everything was working fine and suddenly the timeouts began to show up, causing everything to go critical. Here's the story, I've made the nrpe.plist per instructions on this link; http://arfore.com/2008/10/12/starting-nrpe-via-launchd/?replytocom=1108#comment-1119 When I do a ps -A | grep nrpe there are over 450 sessions still running, and a telnet to the server from my Nagios install to the server "Chiserv02" on port 5666 opens and waits for its next instruction. The 'check_nrpe -H chiserv02 -c check_ping -t 30' will ultimately fail after 30 seconds despite the telnet session opening immediately. The plist file I ultimately came up with (and is working fine on other 10.5.8 servers) is this; KeepAlive NetworkState UserName nagios GroupName nagios ProgramArguments /usr/local/nagios/bin/nrpe -c /usr/local/nagios/etc/nrpe.cfg -i Sockets Listeners SockServiceName 5666 SockType stream SockFamily IPv4 inetdCompatibility Wait Label org.nagios.nrpe Thanks in advance, John -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ian at acces.co.jp Fri Apr 30 08:01:02 2010 From: ian at acces.co.jp (Ian Masters) Date: Fri, 30 Apr 2010 15:01:02 +0900 Subject: Sending SNMP traps from Nagios to a management host In-Reply-To: References: <726E5F84A1A5F740AFB691669E628DEFF60A96@NECSAP-SIN-XCH.NECSAPSIN.COM> Message-ID: <4BDA721E.4090706@acces.co.jp> Folks, Just want to give you a tip on a great tutorial I found for sending SNMP traps from Nagios to a management host. I'd never used event handlers until now and this tutorial really helped. http://askaralikhan.blogspot.com/2010/02/sending-snmp-traps-from-nagios.html Friendly Ian ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jashokda at cisco.com Fri Apr 30 08:15:48 2010 From: jashokda at cisco.com (Jatin Davey) Date: Fri, 30 Apr 2010 11:45:48 +0530 Subject: check_snmp_process plugin -- Need total memory used by all process Message-ID: <4BDA7594.4080309@cisco.com> Hi The plug-in check_snmp_process gives the performance data for the processes running on a system. I have a system which runs 6 java processes and i want to know the total memory used by all the 6 java processes put together. But the plugin does not give this data , It either gives the max memory used by a process or average of all the process. How do i get the total memory used by all the processes running with a name java ? Can some one please help me in this regard. Thanks Jatin ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Fri Apr 30 10:04:19 2010 From: ae at op5.se (Andreas Ericsson) Date: Fri, 30 Apr 2010 10:04:19 +0200 Subject: Nagios development moving forward In-Reply-To: <4BD9DAC1.9050008@univie.ac.at> References: <4BD9D408.808@op5.se> <4BD9DAC1.9050008@univie.ac.at> Message-ID: <4BDA8F03.803@op5.se> On 04/29/2010 09:15 PM, Michael Friedrich wrote: > Hi, > >> >> As most of you know, talk has been going on for quite some time >> to move the official Nagios repository to git. While this hasn't >> happened yet, everything that has so far been coded for Nagios >> has been done that way, in my own and Ton's public repositories >> which are cross-pollinated with changes from both of us. >> >> So for those of you who wish to try out a revamped Nagios with a >> bunch of bugfixes and code improvements, clone your repo from me >> or Ton today and build Nagios from source. > > Thanks for the update. Although it would be nice to get the official > repositories onto GIT - where exactly is the problem? > The problem is that Ethan is too swamped to learn a new SCM at the moment. Since that most likely means he's also too swamped to do any development work on the Nagios core and CVS is quite unusable by me and Ton, we decided to move forward with development anyway. We're using one git repository each, and expect to be able to send pull requests to Ethan (or whoever takes the part of integrator) when Ethan takes the time to learn enough of git to join in. > And regarding the revamped Nagios - is this meant to be an invitation > for testing, or for using those versions? When will all those fixes be > merged back in to the CVS HEAD > It's meant to be an announcement that there are repositories where core developers are stashing bugfixes and enhancements. What people choose to do with that information is quite up to themselves. Personally, I'd love it if people used my 'dev' branch for testing and, if it solves a real problem they're having, for production use too. All the changes I've done so far are bugfixes and performance and maintainability improvements that shouldn't change any previously working behaviour. >> branches: >> master Same as the still-official Nagios CVS repo >> dev My changes on top of CVS import >> ae-ton The merged state between me and Ton > > Sounds good, will give it a try. A bunch of nice improvements, and > bugfixes next to those where I've already applied the patches and tested > them over here :) > >> gitweb url: >> http://github.com/tonvoon/opsview-nagios.git > > Minor note - remove the .git then it works > http://github.com/tonvoon/opsview-nagios > Ah, thanks. > >> Those of you who have reported bugs to tracker.nagios.org should >> log into the tracker again and see if your bug has been closed or >> resolved, and if so try out my dev branch, which should contain >> the proper fix. > > Any news on NDOUtils and other Core addons? Next to the Core it would be > nice to know what's going on with them. > Yes and no. Hendrik Baecker wrote an email to me, Ton and Ethan a few weeks ago stating he no longer has the time to maintain NDOutils. That means that NDOUtils currently stands without a maintainer. I won't be picking up that flag, since I'm also the Merlin maintainer and wouldn't want to sit in a position where I'm maintaining two similar modules. Especially since op5 won't be paying me to maintain a more or less competing product. Maybe Ton or Ethan will take care of it, or we'll announce that we're looking for a new maintainer sometime soon. If anyone's interested in wearing the NDOUtils hat, let us know. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 Considering the successes of the wars on alcohol, poverty, drugs and terror, I think we should give some serious thought to declaring war on peace. ------------------------------------------------------------------------------ From ae at op5.se Fri Apr 30 10:06:48 2010 From: ae at op5.se (Andreas Ericsson) Date: Fri, 30 Apr 2010 10:06:48 +0200 Subject: [Nagios-users] Nagios development moving forward In-Reply-To: References: Message-ID: <4BDA8F98.2030107@op5.se> On 04/29/2010 09:39 PM, Richard Lynch wrote: > Recommendation: > > Check_swap should be refactored to a get_swap function, OS-dependent, and > then a comparison process, OS-independent. :-) > > I'm contemplating writing a Mac OS X check_swap, as there does not seem to > be one, and not looking forward to parsing "top -n 1 -S ..." output... > This is a plugin issue. I was discussing the nagios core deamon, which is the scheduler that runs the plugins. Issues like this would best be vented on the nagiosplugin-devel list, or by scouring the web for an OS X compatible check_swap. > > 'Course, I don't really know what I'm talking about; I'm a nagios "victim" > for a month of a setup that blasts the whole IT department for every > notification, and haven't actually done anything useful to fix that yet... > I'd suggest you disable notifications globally right now, since people will otherwise get used to ignoring them. Then fix the problem and re-enable them. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 Considering the successes of the wars on alcohol, poverty, drugs and terror, I think we should give some serious thought to declaring war on peace. ------------------------------------------------------------------------------ From michael.friedrich at univie.ac.at Fri Apr 30 15:05:20 2010 From: michael.friedrich at univie.ac.at (Michael Friedrich) Date: Fri, 30 Apr 2010 15:05:20 +0200 Subject: Nagios development moving forward In-Reply-To: <4BDA8F03.803@op5.se> References: <4BD9D408.808@op5.se> <4BD9DAC1.9050008@univie.ac.at> <4BDA8F03.803@op5.se> Message-ID: <4BDAD590.60108@univie.ac.at> Hi, -------- Original Message -------- Subject: Re: [Nagios-devel] Nagios development moving forward From: Andreas Ericsson To: Nagios Developers List Date: 2010-04-30 10:04 > The problem is that Ethan is too swamped to learn a new SCM at the > moment. Since that most likely means he's also too swamped to do any > development work on the Nagios core and CVS is quite unusable by me > and Ton, we decided to move forward with development anyway. Well I understand what he is doing right know, and I also understand that Ton and you would like to get things going with GIT. I basically did the same for some NDOUtils patches recently, I don't like to work on CVS when I get my hands on GIT :) > We're using one git repository each, and expect to be able to send pull > requests to Ethan (or whoever takes the part of integrator) when > Ethan takes the time to learn enough of git to join in. Hmmm I was coming from CVS/SVN about a year ago, and it was hard at the first time, but after a while, it was rather easy. I wrote several notes, and summarized this into our wiki lately. Maybe it will help Ethan since its focus is on the core within GIT. https://dev.icinga.org/wiki/icinga-development > It's meant to be an announcement that there are repositories where > core developers are stashing bugfixes and enhancements. What people > choose to do with that information is quite up to themselves. Ok, will start testing and applying then. > > Personally, I'd love it if people used my 'dev' branch for testing > and, if it solves a real problem they're having, for production use > too. All the changes I've done so far are bugfixes and performance > and maintainability improvements that shouldn't change any previously > working behaviour. Maybe several patches and fixes will get into rpm/deb packages then if they are resolving major issues and no new official release happens in time. Thanks for pointing this out, this will ease applying and testing. > Yes and no. Hendrik Baecker wrote an email to me, Ton and Ethan a > few weeks ago stating he no longer has the time to maintain NDOutils. > That means that NDOUtils currently stands without a maintainer. Ah ok. Thanks for the official info, thought about that a while ago. Well, difficult situation then. Maybe time for Merlin to become an official Core addon? :) > I won't be picking up that flag, since I'm also the Merlin maintainer > and wouldn't want to sit in a position where I'm maintaining two > similar modules. Especially since op5 won't be paying me to maintain > a more or less competing product. Maybe Ton or Ethan will take care > of it, or we'll announce that we're looking for a new maintainer > sometime soon. If anyone's interested in wearing the NDOUtils hat, > let us know. A while ago, I would have said yes (I also told Hendrik that he should send Ethan my application, but I got on hold never having sent any patches or sth like that). Right know my company will step over to Icinga and I will be maintaining this direction into the future, mainly regarding Postgres/Oracle support in combination with the new API/Web. So basically there's no time left for NDOUtils - it's basically competing with IDOUtils as a matter of fact, but only IDOUtils has Postgres/Oracle support and extended housekeeping etc. Overall NDOUtils needs to be kind of rewritten/improved as we did in Icinga - by someone who'll take the hat. Furthermore there are signifcant issues on the code of NDOUtils which need to be fixed asap (imho) - just for the community who uses it right now. Some of them are mentioned on the lists, some on the tracker and some are also within the patch collection of Opsera (talked to Ton on IRC about taking some of them into IDOUtils). Regarding NagVis, mk-livestatus (nice approach getting to know on the couches next to OSMC 2009) get's more and more important and people are moving over. At least the german speaking community is really into that, maybe others will catch up too. http://mathias-kettner.de/checkmk_livestatus.html So the basic need of NDOUtils is not there anymore regarding NagVis - also if using Merlin/Ninja. For other addons e.g. reporting tools development must not stop though. There are 2 other guys on the NDOUtils team - how about them to get things going? Or maybe a decision by Ethan, because currently the Nagios XI Enterprise version also ships with a buggy, not patched version of NDOUtils. And I suspect, for business needs, that's not really a good choice offering that. Anyways, I am happy to see that something's going on on the Nagios dev side of life :-) Kind regards, Michael -- DI (FH) Michael Friedrich michael.friedrich at univie.ac.at Tel: +43 1 4277 14359 Vienna University Computer Center Universitaetsstrasse 7 A-1010 Vienna, Austria ------------------------------------------------------------------------------ From flyinvap at orange.fr Fri Apr 30 17:37:52 2010 From: flyinvap at orange.fr (Flyinvap) Date: Fri, 30 Apr 2010 17:37:52 +0200 Subject: service dependencies with host group Message-ID: <20100430173752.4baf7fd1@orange.fr> Hi, Is it possible do use service dependencies on with hostgroup ? All services are applied to hostgroup : define service { use generic name service1 description service1 hostgroup server check_command check1 } define service { use generic name service2 description service2 hostgroup server check_command check2 } Is it possible that nagios doesn't send notification for service1 if service2 is not OK ? I try to declare service dependency like : define servicedependency { dependent_hostgroup_name server dependent_service_description service1 hostgroup_name server service_description service2 inherits_parent 0 execution_failure_criteria n notification_failure_criteria w,u,c } It take a long, long, long time to verify config $ nagios3 -v nagios.cfg [...] Checking for circular paths between hosts... Checking for circular host and service dependencies... ^C I'm afraid I have declared dependencies from each host to all other ... Regards. -- Flyinvap ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 flatto.net Fri Apr 30 17:48:03 2010 From: nagios at flatto.net (Assaf Flatto) Date: Fri, 30 Apr 2010 16:48:03 +0100 Subject: service dependencies with host group In-Reply-To: <20100430173752.4baf7fd1@orange.fr> References: <20100430173752.4baf7fd1@orange.fr> Message-ID: <4BDAFBB3.9040807@flatto.net> Flyinvap wrote: > Hi, > > Is it possible do use service dependencies on with hostgroup ? All > services are applied to hostgroup : > > define service { > use generic > name service1 > description service1 > hostgroup server > check_command check1 > } > > define service { > use generic > name service2 > description service2 > hostgroup server > check_command check2 > } > > Is it possible that nagios doesn't send notification for service1 if > service2 is not OK ? I try to declare service dependency like : > > define servicedependency { > dependent_hostgroup_name server > dependent_service_description service1 > hostgroup_name server > service_description service2 > inherits_parent 0 > execution_failure_criteria n > notification_failure_criteria w,u,c > } > > It take a long, long, long time to verify config > > $ nagios3 -v nagios.cfg > [...] > Checking for circular paths between hosts... > Checking for circular host and service dependencies... > ^C > > I'm afraid I have declared dependencies from each host to all other ... > > Regards. > > Basically what you defined is service 2 is dependent on service1 on ALL hosts in the hostgroup server. and i assume you have a large number of hosts in the group so nagios is building a long list of dependencies . Take a look here - and it might help you sort this one out http://nagios.sourceforge.net/docs/3_0/objecttricks.html -- Never,Ever Cut A Deal With a Dragon I am doing a Charity Bike ride On the 27 of June for the Capital to Coast Charity. Please help by Donating http://www.justgiving.com/Lovefilm-capital-to-coast ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alexd at cal.net Fri Apr 30 19:23:27 2010 From: alexd at cal.net (Alex) Date: Fri, 30 Apr 2010 10:23:27 -0700 Subject: check_radius issue after 3.2.1 update Message-ID: <010401cae889$d86260d0$89272270$@net> I had check_radius running perfectly on nagios 3.2.0. I ran 'yum update' on CentOS and there was a new nagios package available. Now nagios reports "Auth Error" when checking that service. The weird part is that it works just fine if I issue the command from CLI, but when nagios service runs it I can't even see a radius request coming from the nagios system to the radius server. define command { command_name check_radius command_line $USER1$/check_radius -H $HOSTADDRESS$ -F /etc/radiusclient/radiusclient.conf -u nagios -p nagioscheck } [root at owl plugins]# ./check_radius.bak -V check_radius v1994 (nagios-plugins 1.4.13) [root at owl plugins]# ./check_radius -V check_radius v1.4.14 (nagios-plugins 1.4.14) [root at owl plugins]# /usr/lib/nagios/plugins/check_radius -H zeus2 -F /etc/radiusclient/radiusclient.conf -u nagios -p nagioscheck Auth OK [root at owl plugins]# /usr/lib/nagios/plugins/check_radius.bak -H zeus2 -F /etc/radiusclient/radiusclient.conf -u nagios -p nagioscheck Auth OK (On radius server when running check_radius from command line) [root at zeus2 ~]# tcpdump -i eth0 dst port 1645 tcpdump: listening on eth0 10:13:39.204207 owl.domain.36491 > zeus2.domain.datametrics: rad-access-req 58 [id 9] Attr[ Service_type{Authenticate Only} User{nagios} Pass [|radius] (DF) 10:13:46.022804 owl.domain.46966 > zeus2.domain.datametrics: rad-access-req 58 [id 10] Attr[ Service_type{Authenticate Only} User{nagios} Pass [|radius] (DF) I don't see any packets coming in when the nagios service is checking for it. Thanks for any suggestions Alex -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From frank at ia-informatics.com Fri Apr 30 12:46:03 2010 From: frank at ia-informatics.com (Frank Osako) Date: Fri, 30 Apr 2010 12:46:03 Subject: automated response Message-ID: <11004301246.AA10803649@mail.ia-informatics.com> I will be out of the office from 28 Apr to 04 May. If you are in need of immediate assistance, please contact Informatics at 319-363-3795. ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 flatto.net Fri Apr 30 23:02:53 2010 From: nagios at flatto.net (Assaf Flatto) Date: Fri, 30 Apr 2010 22:02:53 +0100 Subject: check_radius issue after 3.2.1 update In-Reply-To: <010401cae889$d86260d0$89272270$@net> References: <010401cae889$d86260d0$89272270$@net> Message-ID: <4BDB457D.9010402@flatto.net> Alex wrote: > > I had check_radius running perfectly on nagios 3.2.0. I ran ?yum > update? on CentOS and there was a new nagios package available. > > Now nagios reports ?Auth Error? when checking that service. The weird > part is that it works just fine if I issue the command from CLI, but > when nagios service runs it I can?t even see a radius request coming > from the nagios system to the radius server. > > define command { > > command_name check_radius > > command_line $USER1$/check_radius -H $HOSTADDRESS$ -F > /etc/radiusclient/radiusclient.conf -u nagios -p nagioscheck > > } > > [root at owl plugins]# ./check_radius.bak -V > > check_radius v1994 (nagios-plugins 1.4.13) > > [root at owl plugins]# ./check_radius -V > > check_radius v1.4.14 (nagios-plugins 1.4.14) > > [root at owl plugins]# /usr/lib/nagios/plugins/check_radius -H zeus2 -F > /etc/radiusclient/radiusclient.conf -u nagios -p nagioscheck > > Auth OK > > [root at owl plugins]# /usr/lib/nagios/plugins/check_radius.bak -H zeus2 > -F /etc/radiusclient/radiusclient.conf -u nagios -p nagioscheck > > Auth OK > > (On radius server when running check_radius from command line) > > [root at zeus2 ~]# tcpdump -i eth0 dst port 1645 > > tcpdump: listening on eth0 > > 10:13:39.204207 owl.domain.36491 > zeus2.domain.datametrics: > rad-access-req 58 [id 9] Attr[ Service_type{Authenticate Only} > User{nagios} Pass [|radius] (DF) > > 10:13:46.022804 owl.domain.46966 > zeus2.domain.datametrics: > rad-access-req 58 [id 10] Attr[ Service_type{Authenticate Only} > User{nagios} Pass [|radius] (DF) > > I don?t see any packets coming in when the nagios service is checking > for it. > > Thanks for any suggestions > > Alex > Try executing the scriot as the nagios use not as root and see what the output is . root and nagios have differing env setting in the shell , and there might be the problem in your response. Assaf -- Never , Ever Cut a Deal With a Dragon ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Flyinvap at orange.fr Fri Apr 30 23:22:40 2010 From: Flyinvap at orange.fr (Flyinvap) Date: Fri, 30 Apr 2010 23:22:40 +0200 Subject: service dependencies with host group In-Reply-To: <4BDAFBB3.9040807@flatto.net> References: <20100430173752.4baf7fd1@orange.fr> <4BDAFBB3.9040807@flatto.net> Message-ID: <20100430232240.5e2aabc0@orange.fr> Hi, Le Fri, 30 Apr 2010 16:48:03 +0100, Assaf Flatto a ?crit : > Take a look here - and it might help you sort this one out As usual, explanations were in the doc ! Just have to find it. define servicedependency{ hostgroup server dependent_service_description service1 service_description service2 execution_failure_criteria u,w,c notification_failure_criteria u,w,c } dependent_hostgroup caused the dependencies on service from all other hosts. There is always a solution with nagios ;-) Thank's a lot. Regards. -- Flyinvap ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 smetj.net Fri Apr 30 23:36:25 2010 From: nagios at smetj.net (Jelle Smet) Date: Fri, 30 Apr 2010 23:36:25 +0200 Subject: Nagios 3.2.0 SIGSEGV Message-ID: <6b08078f904fb71a75d88453c42f7c59@mail.smetj.net> Hi List, I'm running Nagios 3.2.0 compiled from source on SLES 10 SP2 The installation is pretty vanilla except that we make use of livestatus mk. We experience quite regularly a Nagios crash... At first glance it looks like Nagios works as it should, the cgi's respond but no more jobs are scheduled and the # of hosts and services is at zero. I was wondering if there are any ppl who have/had the same experience? Any tips and feedback would be appreciated.. This is how our logfile looks like (I have replaced hostnames by XXXXXXXXXX): ...snip.... [1272660915] livestatus: Query: Filter: name = be-gen-wap-02 [1272660915] livestatus: Query: OutputFormat:json [1272660915] livestatus: Query: KeepAlive: on [1272660915] livestatus: Query: ResponseHeader: fixed16 [1272660915] livestatus: Time to process request: 81 us. Size of answer: 257 bytes [1272660915] livestatus: Query: GET services [1272660915] livestatus: Query: Filter: host_name = XXXXXXXXXX) [1272660915] livestatus: Query: Columns: description display_name state host_alias host_address plugin_output notes last_check next_check state_type current_attempt max_check_attempts last_state_change last_hard_state_change perf_data scheduled_downtime_depth acknowledged host_acknowledged host_scheduled_downtime_depth has_been_checked [1272660915] livestatus: Query: OutputFormat:json [1272660915] livestatus: Query: KeepAlive: on [1272660915] livestatus: Query: ResponseHeader: fixed16 [1272660915] livestatus: Time to process request: 10 us. Size of answer: 312 bytes [1272660915] livestatus: Query: GET hosts [1272660915] livestatus: Query: Columns: state plugin_output alias display_name address notes last_check next_check state_type current_attempt max_check_attempts last_state_change last_hard_state_change statusmap_image perf_data acknowledged scheduled_downtime_depth has_been_checked state [1272660915] livestatus: Query: Filter: name = be-gen-wap-01 [1272660915] livestatus: Query: OutputFormat:json [1272660915] livestatus: Query: KeepAlive: on [1272660915] livestatus: Query: ResponseHeader: fixed16 [1272660915] livestatus: Time to process request: 81 us. Size of answer: 257 bytes [1272660915] livestatus: Query: GET services [1272660915] livestatus: Query: Filter: host_name = XXXXXXXXXX) [1272660915] livestatus: Query: Columns: description display_name state host_alias host_address plugin_output notes last_check next_check state_type current_attempt max_check_attempts last_state_change last_hard_state_change perf_data scheduled_downtime_depth acknowledged host_acknowledged host_scheduled_downtime_depth has_been_checked [1272660915] livestatus: Query: OutputFormat:json [1272660915] livestatus: Query: KeepAlive: on [1272660915] livestatus: Query: ResponseHeader: fixed16 [1272660915] livestatus: Time to process request: 9 us. Size of answer: 312 bytes [1272660939] SERVICE ALERT: XXXXXXXXXX;Procs - Default;UNKNOWN;SOFT;1;CHECK_NRPE: Socket timeout after 30 seconds. [1272660959] SERVICE ALERT: XXXXXXXXXX;Procs - Default;OK;SOFT;2;CHECK_PROCS_MULTI OK - all processes OK [1272660969] SERVICE ALERT: XXXXXXXXXX;CPU - Usage;OK;SOFT;2;OK - CPU0 'Load Percentage' = 4: OK - _Total 'Load Percentage' = 4: [1272660979] SERVICE ALERT: XXXXXXXXXX;CPU - Usage;OK;SOFT;3;OK - CPU0 'Load Percentage' = 30: OK - CPU1 'Load Percentage' = 2: OK - _Total 'Load Percentage' = 16: [1272660999] SERVICE ALERT: XXXXXXXXXX;CPU - Usage;UNKNOWN;SOFT;2;Unknown - LoadPercentage cannot be determined [1272661034] livestatus: Query: GET hosts [1272661034] livestatus: Query: Columns: childs [1272661034] Caught SIGSEGV, shutting down... The Debug file looks like this: [1272661033.237415] [064.1] [pid=9031] Making callbacks (type 13)... [1272661033.237436] [064.2] [pid=9031] Callback #1 (type 13) return code = 0 [1272661033.239257] [064.1] [pid=9031] Making callbacks (type 8)... [1272661033.239289] [064.1] [pid=9031] Making callbacks (type 13)... [1272661033.239297] [064.2] [pid=9031] Callback #1 (type 13) return code = 0 [1272661033.239356] [064.1] [pid=9031] Making callbacks (type 13)... [1272661033.239362] [064.2] [pid=9031] Callback #1 (type 13) return code = 0 [1272661033.241357] [064.1] [pid=9031] Making callbacks (type 8)... [1272661033.241390] [064.1] [pid=9031] Making callbacks (type 13)... [1272661033.241399] [064.2] [pid=9031] Callback #1 (type 13) return code = 0 [1272661033.241433] [064.1] [pid=9031] Making callbacks (type 13)... [1272661033.241438] [064.2] [pid=9031] Callback #1 (type 13) return code = 0 [1272661033.243672] [064.1] [pid=9031] Making callbacks (type 8)... [1272661033.243719] [064.1] [pid=9031] Making callbacks (type 13)... [1272661033.243730] [064.2] [pid=9031] Callback #1 (type 13) return code = 0 [1272661033.243778] [064.1] [pid=9031] Making callbacks (type 13)... [1272661033.243785] [064.2] [pid=9031] Callback #1 (type 13) return code = 0 [1272661033.245368] [064.1] [pid=9031] Making callbacks (type 8)... [1272661033.245401] [064.1] [pid=9031] Making callbacks (type 13)... [1272661033.245410] [064.2] [pid=9031] Callback #1 (type 13) return code = 0 [1272661033.245445] [064.1] [pid=9031] Making callbacks (type 13)... [1272661033.245449] [064.2] [pid=9031] Callback #1 (type 13) return code = 0 [1272661033.248076] [064.1] [pid=9031] Making callbacks (type 8)... [1272661033.248111] [064.1] [pid=9031] Making callbacks (type 13)... [1272661033.248120] [064.2] [pid=9031] Callback #1 (type 13) return code = 0 [1272661033.248182] [064.1] [pid=9031] Making callbacks (type 13)... [1272661033.248187] [064.2] [pid=9031] Callback #1 (type 13) return code = 0 [1272661033.249484] [064.1] [pid=9031] Making callbacks (type 8)... [1272661033.249514] [064.1] [pid=9031] Making callbacks (type 13)... [1272661033.249523] [064.2] [pid=9031] Callback #1 (type 13) return code = 0 [1272661033.249566] [064.1] [pid=9031] Making callbacks (type 13)... [1272661033.249571] [064.2] [pid=9031] Callback #1 (type 13) return code = 0 [1272661033.251416] [064.1] [pid=9031] Making callbacks (type 8)... [1272661033.505428] [064.1] [pid=9031] Making callbacks (type 8)... [1272661033.757384] [064.1] [pid=9031] Making callbacks (type 8)... [1272661034.009381] [064.1] [pid=9031] Making callbacks (type 8)... [1272661034.009432] [064.1] [pid=9031] Making callbacks (type 13)... [1272661034.009442] [064.2] [pid=9031] Callback #1 (type 13) return code = 0 [1272661034.009510] [064.1] [pid=9031] Making callbacks (type 13)... [1272661034.009515] [064.2] [pid=9031] Callback #1 (type 13) return code = 0 [1272661034.011394] [064.1] [pid=9031] Making callbacks (type 8)... [1272661034.011426] [064.1] [pid=9031] Making callbacks (type 13)... [1272661034.011435] [064.2] [pid=9031] Callback #1 (type 13) return code = 0 [1272661034.011482] [064.1] [pid=9031] Making callbacks (type 13)... [1272661034.011487] [064.2] [pid=9031] Callback #1 (type 13) return code = 0 [1272661034.013339] [064.1] [pid=9031] Making callbacks (type 8)... [1272661034.013376] [064.1] [pid=9031] Making callbacks (type 13)... [1272661034.013385] [064.2] [pid=9031] Callback #1 (type 13) return code = 0 [1272661034.013454] [064.1] [pid=9031] Making callbacks (type 13)... [1272661034.013459] [064.2] [pid=9031] Callback #1 (type 13) return code = 0 [1272661034.014324] [064.1] [pid=9031] Making callbacks (type 8)... [1272661034.014352] [064.1] [pid=9031] Making callbacks (type 13)... [1272661034.014361] [064.2] [pid=9031] Callback #1 (type 13) return code = 0 [1272661034.014409] [064.1] [pid=9031] Making callbacks (type 13)... [1272661034.014414] [064.2] [pid=9031] Callback #1 (type 13) return code = 0 [1272661034.017539] [064.1] [pid=9031] Making callbacks (type 8)... [1272661034.017579] [064.1] [pid=9031] Making callbacks (type 13)... [1272661034.017589] [064.2] [pid=9031] Callback #1 (type 13) return code = 0 [1272661034.017679] [064.1] [pid=9031] Making callbacks (type 13)... [1272661034.017687] [064.2] [pid=9031] Callback #1 (type 13) return code = 0 [1272661034.019850] [064.1] [pid=9031] Making callbacks (type 8)... [1272661034.019903] [064.1] [pid=9031] Making callbacks (type 13)... [1272661034.019916] [064.2] [pid=9031] Callback #1 (type 13) return code = 0 [1272661034.019951] [064.1] [pid=9031] Making callbacks (type 9)... [1272661034.019967] [064.2] [pid=9031] Callback #1 (type 9) return code = 0 [1272661034.020002] [064.1] [pid=9031] Making callbacks (type 13).. -- Jelle Smet http://www.smetj.net [1272661033.237415] [064.1] [pid=9031] Making callbacks (type 13)... [1272661033.237436] [064.2] [pid=9031] Callback #1 (type 13) return code = 0 [1272661033.239257] [064.1] [pid=9031] Making callbacks (type 8)... [1272661033.239289] [064.1] [pid=9031] Making callbacks (type 13)... [1272661033.239297] [064.2] [pid=9031] Callback #1 (type 13) return code = 0 [1272661033.239356] [064.1] [pid=9031] Making callbacks (type 13)... [1272661033.239362] [064.2] [pid=9031] Callback #1 (type 13) return code = 0 [1272661033.241357] [064.1] [pid=9031] Making callbacks (type 8)... [1272661033.241390] [064.1] [pid=9031] Making callbacks (type 13)... [1272661033.241399] [064.2] [pid=9031] Callback #1 (type 13) return code = 0 [1272661033.241433] [064.1] [pid=9031] Making callbacks (type 13)... [1272661033.241438] [064.2] [pid=9031] Callback #1 (type 13) return code = 0 [1272661033.243672] [064.1] [pid=9031] Making callbacks (type 8)... [1272661033.243719] [064.1] [pid=9031] Making callbacks (type 13)... [1272661033.243730] [064.2] [pid=9031] Callback #1 (type 13) return code = 0 [1272661033.243778] [064.1] [pid=9031] Making callbacks (type 13)... [1272661033.243785] [064.2] [pid=9031] Callback #1 (type 13) return code = 0 [1272661033.245368] [064.1] [pid=9031] Making callbacks (type 8)... [1272661033.245401] [064.1] [pid=9031] Making callbacks (type 13)... [1272661033.245410] [064.2] [pid=9031] Callback #1 (type 13) return code = 0 [1272661033.245445] [064.1] [pid=9031] Making callbacks (type 13)... [1272661033.245449] [064.2] [pid=9031] Callback #1 (type 13) return code = 0 [1272661033.248076] [064.1] [pid=9031] Making callbacks (type 8)... [1272661033.248111] [064.1] [pid=9031] Making callbacks (type 13)... [1272661033.248120] [064.2] [pid=9031] Callback #1 (type 13) return code = 0 [1272661033.248182] [064.1] [pid=9031] Making callbacks (type 13)... [1272661033.248187] [064.2] [pid=9031] Callback #1 (type 13) return code = 0 [1272661033.249484] [064.1] [pid=9031] Making callbacks (type 8)... [1272661033.249514] [064.1] [pid=9031] Making callbacks (type 13)... [1272661033.249523] [064.2] [pid=9031] Callback #1 (type 13) return code = 0 [1272661033.249566] [064.1] [pid=9031] Making callbacks (type 13)... [1272661033.249571] [064.2] [pid=9031] Callback #1 (type 13) return code = 0 [1272661033.251416] [064.1] [pid=9031] Making callbacks (type 8)... [1272661033.505428] [064.1] [pid=9031] Making callbacks (type 8)... [1272661033.757384] [064.1] [pid=9031] Making callbacks (type 8)... [1272661034.009381] [064.1] [pid=9031] Making callbacks (type 8)... [1272661034.009432] [064.1] [pid=9031] Making callbacks (type 13)... [1272661034.009442] [064.2] [pid=9031] Callback #1 (type 13) return code = 0 [1272661034.009510] [064.1] [pid=9031] Making callbacks (type 13)... [1272661034.009515] [064.2] [pid=9031] Callback #1 (type 13) return code = 0 [1272661034.011394] [064.1] [pid=9031] Making callbacks (type 8)... [1272661034.011426] [064.1] [pid=9031] Making callbacks (type 13)... [1272661034.011435] [064.2] [pid=9031] Callback #1 (type 13) return code = 0 [1272661034.011482] [064.1] [pid=9031] Making callbacks (type 13)... [1272661034.011487] [064.2] [pid=9031] Callback #1 (type 13) return code = 0 [1272661034.013339] [064.1] [pid=9031] Making callbacks (type 8)... [1272661034.013376] [064.1] [pid=9031] Making callbacks (type 13)... [1272661034.013385] [064.2] [pid=9031] Callback #1 (type 13) return code = 0 [1272661034.013454] [064.1] [pid=9031] Making callbacks (type 13)... [1272661034.013459] [064.2] [pid=9031] Callback #1 (type 13) return code = 0 [1272661034.014324] [064.1] [pid=9031] Making callbacks (type 8)... [1272661034.014352] [064.1] [pid=9031] Making callbacks (type 13)... [1272661034.014361] [064.2] [pid=9031] Callback #1 (type 13) return code = 0 [1272661034.014409] [064.1] [pid=9031] Making callbacks (type 13)... [1272661034.014414] [064.2] [pid=9031] Callback #1 (type 13) return code = 0 [1272661034.017539] [064.1] [pid=9031] Making callbacks (type 8)... [1272661034.017579] [064.1] [pid=9031] Making callbacks (type 13)... [1272661034.017589] [064.2] [pid=9031] Callback #1 (type 13) return code = 0 [1272661034.017679] [064.1] [pid=9031] Making callbacks (type 13)... [1272661034.017687] [064.2] [pid=9031] Callback #1 (type 13) return code = 0 [1272661034.019850] [064.1] [pid=9031] Making callbacks (type 8)... [1272661034.019903] [064.1] [pid=9031] Making callbacks (type 13)... [1272661034.019916] [064.2] [pid=9031] Callback #1 (type 13) return code = 0 [1272661034.019951] [064.1] [pid=9031] Making callbacks (type 9)... [1272661034.019967] [064.2] [pid=9031] Callback #1 (type 9) return code = 0 [1272661034.020002] [064.1] [pid=9031] Making callbacks (type 13).. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alexd at cal.net Fri Apr 30 23:57:09 2010 From: alexd at cal.net (Alex) Date: Fri, 30 Apr 2010 14:57:09 -0700 Subject: check_radius issue after 3.2.1 update In-Reply-To: <4BDB457D.9010402@flatto.net> References: <010401cae889$d86260d0$89272270$@net> <4BDB457D.9010402@flatto.net> Message-ID: <012f01cae8b0$151b28b0$3f517a10$@net> >> Try executing the script as the nagios use not as root and see what the output is . >> root and nagios have differing env setting in the shell , and there >> might be the problem in your response. >> Assaf [root at owl plugins]# su - nagios -sh-3.2$ /usr/lib/nagios/plugins/check_radius -H zeus2 -F /etc/radiusclient/radiusclient.conf -u nagios -p nagioscheck Auth Error You're right, that seems to be the issue. Could you by chance recommend what I need to do in order to get this fixed? Thank you, Alex ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null