From JBeck at urbn.com Sat Jan 1 05:49:37 2011 From: JBeck at urbn.com (Joe Beck) Date: Fri, 31 Dec 2010 23:49:37 -0500 Subject: Managing performance data Message-ID: I?m looking for feedback on the best practice & pgm to process & graph performance data in nagios. My nagios server details: IBM hardware-- Model: "IBM System x3350 (Machine type 4192)" 4x2.5ghz processors, 8GB RAM OS ? Suse 11 Nagios Core 3.2.3; nagios-plugins-1.4.15; nrpe-2.12 I spent some time researching on the web & it seems like PNP may be my best option, but some of what I found was 2-3 years old. My background in this area of collecting & graphing performance data & having baselines for perf. Mgt & as a guide for capacity mgt is ext. system accting, SE toolkit & orca. Thanks in advance for any feedback & recommendations, Joe -- Joe Beck | IT-Open Systems Engineer | urban outfitters inc. 5000 South Broad Street | Phila., PA 19112 | 215.454.xxxx | jbeck at xxxx.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From yuehung.liu at gmail.com Sat Jan 1 08:19:24 2011 From: yuehung.liu at gmail.com (Yueh-Hung Liu) Date: Sat, 1 Jan 2011 15:19:24 +0800 Subject: Service Escalation via Host Group In-Reply-To: <20101231101529.GA21734@torres.zugschlus.de> References: <20101231010352.GA14357@torres.zugschlus.de> <20101231101529.GA21734@torres.zugschlus.de> Message-ID: if only services of norm-notify should be escalated, " host_name * " is no need. On Fri, Dec 31, 2010 at 6:15 PM, Marc Haber wrote: > On Fri, Dec 31, 2010 at 12:06:21PM +0800, Yueh-Hung Liu wrote: >> but by your configuration, all services will be escalated, not only >> services of norm-notify. > > Why? And how do I configure nagios to do what I want? > >> > define serviceescalation { >> > ? ? ? ?host_name ? ? ? ? ? ? ? ? ? ? ? * >> > ? ? ? ?service_description ? ? ? ? ? ? * >> > ? ? ? ?hostgroup_name ? ? ? ? ? ? ? ? ?norm-notify >> > ? ? ? ?contact_groups ? ? ? ? ? ? ? ? ?admins-mail >> > ? ? ? ?first_notification ? ? ? ? ? ? ?1 >> > ? ? ? ?last_notification ? ? ? ? ? ? ? 0 >> > ? ? ? ?notification_interval ? ? ? ? ? 120 >> > ? ? ? ?escalation_options ? ? ? ? ? ? ?w,u,c,r >> > ? ? ? ?escalation_period ? ? ? ? ? ? ? 24x7 >> > } >> > >> > define serviceescalation { >> > ? ? ? ?host_name ? ? ? ? ? ? ? ? ? ? ? * >> > ? ? ? ?service_description ? ? ? ? ? ? * >> > ? ? ? ?hostgroup_name ? ? ? ? ? ? ? ? ?norm-notify >> > ? ? ? ?contact_groups ? ? ? ? ? ? ? ? ?admins-sms >> > ? ? ? ?first_notification ? ? ? ? ? ? ?2 >> > ? ? ? ?last_notification ? ? ? ? ? ? ? 0 >> > ? ? ? ?notification_interval ? ? ? ? ? 120 >> > ? ? ? ?escalation_options ? ? ? ? ? ? ?w,u,c,r >> > ? ? ? ?escalation_period ? ? ? ? ? ? ? 24x7 >> > } > > Greetings > Marc > > -- > ----------------------------------------------------------------------------- > Marc Haber ? ? ? ? | "I don't trust Computers. They | Mailadresse im Header > Mannheim, Germany ?| ?lose things." ? ?Winona Ryder | Fon: *49 621 72739834 > Nordisch by Nature | ?How to make an American Quilt | Fax: *49 3221 2323190 > > ------------------------------------------------------------------------------ > Learn how Oracle Real Application Clusters (RAC) One Node allows customers > to consolidate database storage, standardize their database environment, and, > should the need arise, upgrade to a full multi-node Oracle RAC database > without downtime or disruption > http://p.sf.net/sfu/oracle-sfdevnl > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From trm.nagios at gmail.com Sat Jan 1 13:58:16 2011 From: trm.nagios at gmail.com (trm asn) Date: Sat, 1 Jan 2011 18:28:16 +0530 Subject: Open Monitoring Distribution Message-ID: Hi List, Open Monitoring Distribution ( http://omdistro.org ) , did anybody tested ... /\ dE -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From misteritguru at gmx.com Sat Jan 1 14:08:11 2011 From: misteritguru at gmx.com (Mister IT Guru) Date: Sat, 01 Jan 2011 13:08:11 +0000 Subject: Test Client behaving badly - CHECK_NRPE: Socket timeout after 10 seconds. Message-ID: <4D1F273B.9020605@gmx.com> I'm attempting to configure a host, and when I run ]# /usr/lib/nagios/plugins/check_nrpe -H testclient.localdomain CHECK_NRPE: Socket timeout after 10 seconds. The testclient is a windows 2003 server, and it is running the NRPE daemon. This appears in the in event log on the windows machine NRPE_NT: Host 172.x.x.x is not allowed to talk to us! Which I find amazing, because the line allowed_hosts=172.x.x.x is in the nrpe.cfg of the windows box? So, on to my question, what other avenues can I look into to find out how to fix this issue? Thank You ------------------------------------------------------------------------------ Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From misteritguru at gmx.com Sat Jan 1 14:11:44 2011 From: misteritguru at gmx.com (Mister IT Guru) Date: Sat, 01 Jan 2011 13:11:44 +0000 Subject: Autodiscover hosts? Best options to configure Nagios? Message-ID: <4D1F2810.2030603@gmx.com> Are there any 'recommendations' for web interfaces, or helper applications to automate configuration of nagios? I'd like to experiment with some. Thanks ------------------------------------------------------------------------------ Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From misteritguru at gmx.com Sat Jan 1 14:16:11 2011 From: misteritguru at gmx.com (Mister IT Guru) Date: Sat, 01 Jan 2011 13:16:11 +0000 Subject: Test Client behaving badly - CHECK_NRPE: Socket timeout after 10 seconds. [SOLVED] In-Reply-To: <4D1F273B.9020605@gmx.com> References: <4D1F273B.9020605@gmx.com> Message-ID: <4D1F291B.3030808@gmx.com> On 01/01/2011 13:08, Mister IT Guru wrote: > I'm attempting to configure a host, and when I run > > ]# /usr/lib/nagios/plugins/check_nrpe -H testclient.localdomain > CHECK_NRPE: Socket timeout after 10 seconds. > > The testclient is a windows 2003 server, and it is running the NRPE > daemon. This appears in the in event log on the windows machine > > NRPE_NT: Host 172.x.x.x is not allowed to talk to us! > > Which I find amazing, because the line > > allowed_hosts=172.x.x.x > > is in the nrpe.cfg of the windows box? > > So, on to my question, what other avenues can I look into to find out > how to fix this issue? > > Thank You I found a second configuration file on this server, and I will be having words with the person who installed it! Sorry for list traffic :) ------------------------------------------------------------------------------ Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rutger at blokje.net Sat Jan 1 14:26:40 2011 From: rutger at blokje.net (Rutger Blom) Date: Sat, 1 Jan 2011 14:26:40 +0100 Subject: Autodiscover hosts? Best options to configure Nagios? In-Reply-To: <4D1F2810.2030603@gmx.com> References: <4D1F2810.2030603@gmx.com> Message-ID: <00A43F67-38C6-4B0E-8C23-4B9B32363ED7@blokje.net> Check_mk does automatic inventory. Rutger 1 jan 2011 kl. 14:11 skrev Mister IT Guru : > Are there any 'recommendations' for web interfaces, or helper > applications to automate configuration of nagios? I'd like to experiment > with some. > > Thanks > > ------------------------------------------------------------------------------ > Learn how Oracle Real Application Clusters (RAC) One Node allows customers > to consolidate database storage, standardize their database environment, and, > should the need arise, upgrade to a full multi-node Oracle RAC database > without downtime or disruption > http://p.sf.net/sfu/oracle-sfdevnl > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Sven.Nierlein at consol.de Sat Jan 1 15:07:11 2011 From: Sven.Nierlein at consol.de (Sven Nierlein) Date: Sat, 01 Jan 2011 15:07:11 +0100 Subject: Open Monitoring Distribution In-Reply-To: References: Message-ID: <4D1F350F.4060504@consol.de> On 01.01.2011 13:58, trm asn wrote: > Open Monitoring Distribution ( http://omdistro.org ) , did anybody tested ... Beeing one of the developer, i did... Version 0.44 works best on Debian and SLES, but next version will be pretty stable on the other supported platforms too. (Centos/Ubuntu). Next version is planned for the middle of January. Sven ------------------------------------------------------------------------------ Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From PWilliamson at twgi.net Sat Jan 1 15:25:04 2011 From: PWilliamson at twgi.net (Paul Williamson) Date: Sat, 1 Jan 2011 14:25:04 +0000 Subject: Autodiscover hosts? Best options to configure Nagios? In-Reply-To: <4D1F2810.2030603@gmx.com> References: <4D1F2810.2030603@gmx.com> Message-ID: <53910224-2A6A-40DB-BAF4-DFA85EED6AE0@twgi.net> On Jan 1, 2011, at 8:16 AM, "Mister IT Guru" wrote: > Are there any 'recommendations' for web interfaces, or helper > applications to automate configuration of nagios? I'd like to experiment > with some. > > Thanks > > - Try NACE. It's pretty good. Paul ------------------------------------------------------------------------------ Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Sat Jan 1 21:56:22 2011 From: jim at jimavery.me.uk (Jim Avery) Date: Sat, 1 Jan 2011 20:56:22 +0000 Subject: Managing performance data In-Reply-To: References: Message-ID: On 1 January 2011 04:49, Joe Beck wrote: > I?m looking for feedback on the best practice & pgm to process & graph > performance data in nagios. > My nagios server details: > IBM hardware-- Model: "IBM System x3350 (Machine type 4192)" ?4x2.5ghz > processors, 8GB RAM > OS ? Suse 11 > Nagios Core 3.2.3; nagios-plugins-1.4.15; nrpe-2.12 > > I spent some time researching on the web & it seems like PNP may be my best > option, but some of what I found was 2-3 years old. > My background in this area of collecting & graphing performance data & > having baselines for perf. Mgt & as a guide for capacity mgt is ext. system > accting, SE toolkit & orca. > > Thanks in advance for any feedback & recommendations, > Joe Yes, PNP is, IME, the way to go. It's not too heavy, but if you need to spare some cpu cycles on the Nagios server, consider using batch mode and ship the data off to a second server for processing. There are some powerful tools around for extracting and manipulating the data from the .rrd databases too. In particular look at rrdexport ( http://www.mrtg.org/rrdtool/doc/rrdxport.en.html ) for extracting the data so you can manipulate it in Excel and drraw ( http://web.taranis.org/drraw/ ) for combining many metrics in to one graph and manipulating the data using rpn. See http://www.semintelligent.com/blog/articles/39/pnp-aware-version-of-drraw-released too for a version of drraw customised to make best use of PNP. ------------------------------------------------------------------------------ Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mh+nagios-users at zugschlus.de Sun Jan 2 15:28:07 2011 From: mh+nagios-users at zugschlus.de (Marc Haber) Date: Sun, 2 Jan 2011 15:28:07 +0100 Subject: Service Escalation via Host Group In-Reply-To: References: <20101231010352.GA14357@torres.zugschlus.de> <20101231101529.GA21734@torres.zugschlus.de> Message-ID: <20110102142807.GC27840@torres.zugschlus.de> On Sat, Jan 01, 2011 at 03:19:24PM +0800, Yueh-Hung Liu wrote: > if only services of norm-notify should be escalated, " host_name * > " is no need. That was helpful, thanks! Greetings Marc -- ----------------------------------------------------------------------------- Marc Haber | "I don't trust Computers. They | Mailadresse im Header Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834 Nordisch by Nature | How to make an American Quilt | Fax: *49 3221 2323190 ------------------------------------------------------------------------------ Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From misteritguru at gmx.com Sun Jan 2 20:17:54 2011 From: misteritguru at gmx.com (Mister IT Guru) Date: Sun, 02 Jan 2011 19:17:54 +0000 Subject: Check_nrpe works, but actual checks by nagios do not? Should this be able to happen? Message-ID: <4D20CF62.4060109@gmx.com> If check_nrpe -H host.com works, and returns no errors, then is it reasonable to assume that checks to that same host should also be able to connect? I shouldn't be getting connection refused errors in the nagios interface, and cannot complete SSL errors in the windows server log, if check_nrpe - H host.com doesn't return an error? Shouldn't I be getting SSL errors, when I run check_nrpe against the host in question? To me this doesn't make sense, and I am at a loss as to the best place to look when attempting to fix this. Any suggestions and comments are appreciated. Thank You -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From misteritguru at gmx.com Mon Jan 3 12:52:31 2011 From: misteritguru at gmx.com (Mister IT Guru) Date: Mon, 03 Jan 2011 11:52:31 +0000 Subject: Is it possible for nrpe to send nagios alerts for windows log errors? Message-ID: <4D21B87F.9070407@gmx.com> I was just wondering if there is a plug in that can respond if certain events appear in the log. For example, I run GFI, and we have around 50k emails a day going through it, as you can imagine, it's a bottleneck, and when it goes fubar, the server still runs with no ill effects, other than a message in the applications log. As you can imagine, it's most annoying to have to manually check every few days, only to find I have 10 hour backlog. Any ideas, and comments appreciated! ------------------------------------------------------------------------------ Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Gerald.Ortner at gespag.at Mon Jan 3 13:40:37 2011 From: Gerald.Ortner at gespag.at (Ortner, Gerald) Date: Mon, 3 Jan 2011 13:40:37 +0100 Subject: Is it possible for nrpe to send nagios alerts forwindows log errors? In-Reply-To: <4D21B87F.9070407@gmx.com> References: <4D21B87F.9070407@gmx.com> Message-ID: <13579FFE8B208F4DBA327EE25F804AABDC0E6517@swvbpheaglxmb02.health.local> Try http://labs.consol.de/lang/en/nagios/check_logfiles/ Sry, I have no config example for windows and nrpe as I only use it on Linux via ssh. gerald -----Urspr?ngliche Nachricht----- Von: Mister IT Guru [mailto:misteritguru at gmx.com] Gesendet: Montag, 03. J?nner 2011 12:53 An: Nagios Users List Betreff: [Nagios-users] Is it possible for nrpe to send nagios alerts forwindows log errors? I was just wondering if there is a plug in that can respond if certain events appear in the log. For example, I run GFI, and we have around 50k emails a day going through it, as you can imagine, it's a bottleneck, and when it goes fubar, the server still runs with no ill effects, other than a message in the applications log. As you can imagine, it's most annoying to have to manually check every few days, only to find I have 10 hour backlog. Any ideas, and comments appreciated! ------------------------------------------------------------------------------ Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null OOe. Gesundheits- und Spitals-AG Techcenter, Hafenstrasse 47-51, 4020 Linz DVR 2107870, ATU 51928204, Firmenbuchgericht: Landesgericht Linz, FN 210146 p ------------------------------------------------------------------------------ Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Sebastian.Ries at dtnet.de Mon Jan 3 14:04:05 2011 From: Sebastian.Ries at dtnet.de (Sebastian Ries) Date: Mon, 03 Jan 2011 14:04:05 +0100 Subject: Is it possible for nrpe to send nagios alerts for windows log errors? In-Reply-To: <4D21B87F.9070407@gmx.com> References: <4D21B87F.9070407@gmx.com> Message-ID: <1294059845.7110.31.camel@bofh.dtnet.de> Hi Am Montag, den 03.01.2011, 11:52 +0000 schrieb Mister IT Guru: > I was just wondering if there is a plug in that can respond if certain > events appear in the log. For example, I run GFI, and we have around 50k > emails a day going through it, as you can imagine, it's a bottleneck, > and when it goes fubar, the server still runs with no ill effects, other > than a message in the applications log. As you can imagine, it's most > annoying to have to manually check every few days, only to find I have > 10 hour backlog. I have used this: https://www.monitoringexchange.org/inventory/Check-Plugins/Operating-Systems/Windows/Enhanced-Windows-eventlog-check to check a Windows Eventlog with NSClient++. [NRPE Handlers] check_intel_raid=scripts\elog.exe --include Source:RAIDService --period 720 This checks for the occurrence of Events with the Source named "RAIDService" within the last 30 hours. Be aware that the Service will turn green without beeing repaired after 30 hours as long as it will not be reported anymore. And it will stay read even if another event shows that the problem was solved. But it helps to get informed about the Event. Hope that helps Regards Sebastian Ries -- ------------------------------------------------------------ DT Netsolution GmbH - Talaeckerstr. 30 - D-70437 Stuttgart Tel: +49-711-849910-36 Fax: +49-711-849910-936 WEB: http://www.dtnet.de/ email: Sebastian.Ries at dtnet.de ------------------------------------------------------------------------------ Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From misteritguru at gmx.com Mon Jan 3 15:57:44 2011 From: misteritguru at gmx.com (Mister IT Guru) Date: Mon, 03 Jan 2011 14:57:44 +0000 Subject: Missing notifications? Message-ID: <4D21E3E8.7050901@gmx.com> I've just finished a fresh install of nagios, and for some reason, I get emails about acknowledgments of problems, (i'm rebooting servers to test how long it takes for the notification to come through), instantly, but I'm not actually getting emails about the problems?! I've checked the configuration via the nagios web interface, and the correct email address is listed. Is there more than one place to configure notifications to an admin? I'm finding this a touch disturbing, and I'm hoping that it's because I've got a misconfiguration in the system, rather than some sort of default behavior. I would pretty much want to be notified instantly every time there is a problem, at least until such time that I can find problems with my systems fix them, and then tweak notifications as required. I guess the bottom line is, why are acknowledgment emails being sent, but not warnings, and criticals? ------------------------------------------------------------------------------ Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cbeattie at geninfo.com Mon Jan 3 16:10:49 2011 From: cbeattie at geninfo.com (Chris Beattie) Date: Mon, 03 Jan 2011 10:10:49 -0500 Subject: Missing notifications? In-Reply-To: <4D21E3E8.7050901@gmx.com> References: <4D21E3E8.7050901@gmx.com> Message-ID: <4D21E6F9.2040709@geninfo.com> Mister IT Guru wrote: > I guess the bottom line is, why are acknowledgment emails being sent, > but not warnings, and criticals? What are host_notification_options and service_notification_options set to in your contact definition? -- -Chris ------ Nothing in this message is intended to make or accept an offer or to form a contract, except that an attachment that is an image of a contract bearing the signature of an officer of our company may be or become a contract. This message (including any attachments) is intended only for the use of the individual or entity to whom it is addressed. It may contain information that is non-public, proprietary, privileged, confidential, and exempt from disclosure under applicable law or may constitute as attorney work product. If you are not the intended recipient, we hereby notify you that any use, dissemination, distribution, or copying of this message is strictly prohibited. If you have received this message in error, please notify us immediately by telephone and delete this message immediately. Thank you. ------------------------------------------------------------------------------ Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Mon Jan 3 16:14:23 2011 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Mon, 03 Jan 2011 16:14:23 +0100 Subject: =?utf-8?q?Missing_notifications=3F?= In-Reply-To: <4D21E3E8.7050901@gmx.com> References: <4D21E3E8.7050901@gmx.com> Message-ID: On Mon, 03 Jan 2011 14:57:44 +0000, Mister IT Guru wrote: > I've just finished a fresh install of nagios, and for some reason, I > get > emails about acknowledgments of problems, (i'm rebooting servers to > test > how long it takes for the notification to come through), instantly, > but > I'm not actually getting emails about the problems?! Check the log file(s). It should show all the details you need. Hugo. -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc ------------------------------------------------------------------------------ Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From misteritguru at gmx.com Mon Jan 3 16:32:28 2011 From: misteritguru at gmx.com (Mister IT Guru) Date: Mon, 03 Jan 2011 15:32:28 +0000 Subject: Missing notifications? In-Reply-To: <4D21E6F9.2040709@geninfo.com> References: <4D21E3E8.7050901@gmx.com> <4D21E6F9.2040709@geninfo.com> Message-ID: <4D21EC0C.2050009@gmx.com> On 03/01/2011 15:10, Chris Beattie wrote: > Mister IT Guru wrote: > >> I guess the bottom line is, why are acknowledgment emails being sent, >> but not warnings, and criticals? > What are host_notification_options and service_notification_options set > to in your contact definition? > > This is my contact definition define contact{ contact_name nagiosadmin ; Short name of user use generic-contact ; Inherit default values from generic-contact template (defined above) alias Nagios Admin ; Full name of user email me-theadmin at domain.com ; <<***** CHANGE THIS TO YOUR EMAIL ADDRESS ****** host_notifications_enabled 1 service_notifications_enabled 1 service_notification_period 24x7 host_notification_period 24x7 service_notification_options w,u,c,r host_notification_options d,u,r } ------------------------------------------------------------------------------ Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jm+nagios-users at roth.lu Mon Jan 3 16:50:03 2011 From: jm+nagios-users at roth.lu (J.M.) Date: Mon, 3 Jan 2011 15:50:03 +0000 (UTC) Subject: everyday timeperiod strange results Message-ID: define timeperiod { timeperiod_name tp_backupcheck alias bla day 1 - -1 08:00-08:15 } define service { use normal host_name bla01 service_description bla backup check_command check_bla max_check_attempts 1 normal_check_interval 3600 retry_check_interval 1800 check_period 24x7 notification_interval 0 notification_period 24x7 notification_options u,c,r notifications_enabled 0 } Today is Jan 3 and I get: Service check scheduled for Tue Feb 1 08:00:00 CET 2011 :-\ ------------------------------------------------------------------------------ Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From misteritguru at gmx.com Mon Jan 3 20:14:15 2011 From: misteritguru at gmx.com (Mister IT Guru) Date: Mon, 03 Jan 2011 19:14:15 +0000 Subject: Missing notifications? In-Reply-To: <4D21E3E8.7050901@gmx.com> References: <4D21E3E8.7050901@gmx.com> Message-ID: <4D222007.5020603@gmx.com> On 03/01/2011 14:57, Mister IT Guru wrote: > I've just finished a fresh install of nagios, and for some reason, I get > emails about acknowledgments of problems, (i'm rebooting servers to test > how long it takes for the notification to come through), instantly, but > I'm not actually getting emails about the problems?! > > I've checked the configuration via the nagios web interface, and the > correct email address is listed. Is there more than one place to > configure notifications to an admin? > > I'm finding this a touch disturbing, and I'm hoping that it's because > I've got a misconfiguration in the system, rather than some sort of > default behavior. I would pretty much want to be notified instantly > every time there is a problem, at least until such time that I can find > problems with my systems fix them, and then tweak notifications as required. > > I guess the bottom line is, why are acknowledgment emails being sent, > but not warnings, and criticals? I was directed in the irc forum to look at http://nagios.sourceforge.net/docs/3_0/statetypes.html and I learned that services or hosts need to have a hard state failure, in order for notifications to go out. I've been trying to reboot my servers in order to get my notifications to go out. I'd like to check that I'll actually get notifications as soon as there is a problem, for example, a host goes offline, I'd like to know after about 2 minutes if possible! ------------------------------------------------------------------------------ Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From misteritguru at gmx.com Mon Jan 3 20:54:49 2011 From: misteritguru at gmx.com (Mister IT Guru) Date: Mon, 03 Jan 2011 19:54:49 +0000 Subject: Missing notifications? [SOLVED] In-Reply-To: <4D222007.5020603@gmx.com> References: <4D21E3E8.7050901@gmx.com> <4D222007.5020603@gmx.com> Message-ID: <4D222989.2040503@gmx.com> On 03/01/2011 19:14, Mister IT Guru wrote: > On 03/01/2011 14:57, Mister IT Guru wrote: >> I've just finished a fresh install of nagios, and for some reason, I get >> emails about acknowledgments of problems, (i'm rebooting servers to test >> how long it takes for the notification to come through), instantly, but >> I'm not actually getting emails about the problems?! >> >> I've checked the configuration via the nagios web interface, and the >> correct email address is listed. Is there more than one place to >> configure notifications to an admin? >> >> I'm finding this a touch disturbing, and I'm hoping that it's because >> I've got a misconfiguration in the system, rather than some sort of >> default behavior. I would pretty much want to be notified instantly >> every time there is a problem, at least until such time that I can find >> problems with my systems fix them, and then tweak notifications as required. >> >> I guess the bottom line is, why are acknowledgment emails being sent, >> but not warnings, and criticals? > I was directed in the irc forum to look at > http://nagios.sourceforge.net/docs/3_0/statetypes.html and I learned > that services or hosts need to have a hard state failure, in order for > notifications to go out. I've been trying to reboot my servers in order > to get my notifications to go out. I'd like to check that I'll actually > get notifications as soon as there is a problem, for example, a host > goes offline, I'd like to know after about 2 minutes if possible! I've discovered the problem, my systems didn't seem to be down long enough for a notification to be fired off, the services, and the host came back online before max_check_attempts had been hit. I've made modifications to my templates, and voila - I'm getting notifications. Thanks to the IRC guys, and mailing list advice which helped me solve this. ------------------------------------------------------------------------------ Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jmoseley at corp.xanadoo.com Mon Jan 3 20:53:59 2011 From: jmoseley at corp.xanadoo.com (James Moseley) Date: Mon, 3 Jan 2011 13:53:59 -0600 Subject: Missing notifications? In-Reply-To: <4D222007.5020603@gmx.com> References: <4D21E3E8.7050901@gmx.com> <4D222007.5020603@gmx.com> Message-ID: > I was directed in the irc forum to look at > http://nagios.sourceforge.net/docs/3_0/statetypes.html and I learned > that services or hosts need to have a hard state failure, in order for > notifications to go out. I've been trying to reboot my servers in order > to get my notifications to go out. I'd like to check that I'll actually > get notifications as soon as there is a problem, for example, a host > goes offline, I'd like to know after about 2 minutes if possible! > > Then just turn a server off and wait a bit... ;-) You could also create a fake host, one with an unpingable IP address. As for how much time it takes to notify once the host/service becomes unresponsive, these three definitions (outside of any separate escalation policies) will dictate how fast the first alert will go out: max_check_attempts normal_check_interval retry_check_interval In your case, you'd probably want to set max_check to '2' and normal and retry to '1'. In this case, assuming "interval_length=60", the host (or service) would be checked every minute. When the host becomes unreachable/down, the host would then be rechecked once, one minute after it first becomes unreachable/down. If it was still down, the state would then become 'hard' and an alert sent. Total time before alert was sent could be anywhere from 61 seconds to two minutes, depending on when the host is first checked after it goes down. You really need to read the object definitions in the Nagios documentation. -- James Moseley -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mike-nagios at 5dninja.net Mon Jan 3 23:03:57 2011 From: mike-nagios at 5dninja.net (Mike Lindsey) Date: Mon, 03 Jan 2011 14:03:57 -0800 Subject: Missing notifications? In-Reply-To: References: <4D21E3E8.7050901@gmx.com> <4D222007.5020603@gmx.com> Message-ID: <4D2247CD.4030301@5dninja.net> On 1/3/11 11:53 AM, James Moseley wrote: > > I was directed in the irc forum to look at > http://nagios.sourceforge.net/docs/3_0/statetypes.html and I learned > that services or hosts need to have a hard state failure, in order for > notifications to go out. I've been trying to reboot my servers in > order > to get my notifications to go out. I'd like to check that I'll > actually > get notifications as soon as there is a problem, for example, a host > goes offline, I'd like to know after about 2 minutes if possible! > > > Then just turn a server off and wait a bit... ;-) You could also > create a fake host, one with an unpingable IP address. My favorite trick, that doesn't require adding fake config or rebooting a server, is updating /etc/hosts on the monitoring host to point a real host at a known bad ip address. Requires root, and that you use dns for your hostaddress entries, however. -- Mike Lindsey -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From 07anis at gmail.com Tue Jan 4 04:01:35 2011 From: 07anis at gmail.com (anish kumar) Date: Mon, 3 Jan 2011 21:01:35 -0600 Subject: URL monitoring Message-ID: Hi folks, I just want to know how to monitor urls using nagios.i.e running web applications under tomcat. can any one pleasAe provide me links or docs that narrates,how to configure nagios in a way to monitor our web applications. we already configured nagios for monitoring remote servers load,login details, disk space etc.. But we could not find any documents for configuring nagios in order to monitor webapplications. Your valuable suggestions please. Thanks in Advance With Regards Anish Kumar.V -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jan 4 13:16:39 2011 From: maxhetrick at verizon.net (Max Hetrick) Date: Tue, 04 Jan 2011 07:16:39 -0500 Subject: URL monitoring In-Reply-To: References: Message-ID: <4D230FA7.5030202@verizon.net> On 01/03/2011 10:01 PM, anish kumar wrote: > Hi folks, > > I just want to know how to monitor urls using nagios.i.e running web > applications under tomcat. > > can any one pleasAe provide me links or docs that narrates,how to > configure nagios in a way to monitor our web applications. > > we already configured nagios for monitoring remote servers load,login > details, disk space etc.. > > But we could not find any documents for configuring nagios in order to > monitor webapplications. > > Your valuable suggestions please. Look around Monitoring Exchange. Here's two URL checks after a quick search on check_url. https://www.monitoringexchange.org/search?query=check_url Regards, Max ------------------------------------------------------------------------------ Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From darren at brucetelecom.com Tue Jan 4 14:13:09 2011 From: darren at brucetelecom.com (Darren Hill) Date: Tue, 04 Jan 2011 08:13:09 -0500 Subject: PING and NRPE Timeout Message-ID: <4D231CE5.6000604@brucetelecom.com> Hi, I have a linux box (8.04 LTS ubuntu) monitoring a bunch of windows hosts where PING and NRPE checks timeout. I have several other opsview/nagios installations that work fine, but the hosts are all linux based. I do have host entries on the nagios/opsview server and the clients, and they are all on the same local network/subnet, on the same ethernet switch. There are no hardware errors on the switch, and if I do a ping through the CLI, everything is fine. However opsview/nagios randomly comes back with failed icmp echo requests or NRPE timeout, then it magically fixes itself. If the manual ping check is fine (and I have it continually going while nagios complains the host has lost connectivity), it's not an actual connection issue, but something in nagios. Has anyone ever experienced this, especially with windows hosts? I have tried increasing the delay time of the checks and how many times they need to fail before it alarms, to no avail. Thanks -- Darren Hill Network Administrator Bruce Telecom e: darren at bmts.com p: 519 368-1267 f: 519 368-1285 ------------------------------------------------------------------------------ Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mssneah at yahoo.com Tue Jan 4 14:38:12 2011 From: mssneah at yahoo.com (moses neah) Date: Tue, 4 Jan 2011 05:38:12 -0800 (PST) Subject: AKCP plugin Message-ID: <603867.90341.qm@web45214.mail.sp1.yahoo.com> Hi All, Has any one use this plugin? I run the below command and got error. I have install the plugin and defined the command. [root at nagiosxi services]# /usr/local/nagios/libexec/check_akcp.pl -H 192.168.3.2 Too few options! Usage: check_akcp.pl -h check_akcp.pl --man check_akcp.pl -H -P [-w ] [-c ] Options: -h Display this helpmessage. -H The hostname or ipaddress of the akcp device. -C The snmp community of the akcp device. -P The port where the probe is connected to. -w The warning threshold. -c The critical threshold. --man Displays the complete perldoc manpage. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alexdehaini at gmail.com Tue Jan 4 14:48:08 2011 From: alexdehaini at gmail.com (Alex Dehaini) Date: Tue, 4 Jan 2011 07:48:08 -0600 Subject: AKCP plugin In-Reply-To: <603867.90341.qm@web45214.mail.sp1.yahoo.com> References: <603867.90341.qm@web45214.mail.sp1.yahoo.com> Message-ID: What is the error message? On Tue, Jan 4, 2011 at 7:38 AM, moses neah wrote: > Hi All, > Has any one use this plugin? I run the below command and got error. I have > install the plugin and defined the command. > > [root at nagiosxi services]# /usr/local/nagios/libexec/check_akcp.pl -H > 192.168.3.2 > Too few options! > Usage: > check_akcp.pl -h > > check_akcp.pl --man > > check_akcp.pl -H -P [-w ] [-c ] > > Options: > -h Display this helpmessage. > > -H The hostname or ipaddress of the akcp device. > > -C The snmp community of the akcp device. > > -P The port where the probe is connected to. > > -w The warning threshold. > > -c The critical threshold. > > --man Displays the complete perldoc manpage. > > > > > ------------------------------------------------------------------------------ > Learn how Oracle Real Application Clusters (RAC) One Node allows customers > to consolidate database storage, standardize their database environment, > and, > should the need arise, upgrade to a full multi-node Oracle RAC database > without downtime or disruption > http://p.sf.net/sfu/oracle-sfdevnl > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Jan 4 15:17:37 2011 From: a31modela at hotmail.com (steve f) Date: Tue, 4 Jan 2011 09:17:37 -0500 Subject: AKCP plugin In-Reply-To: References: <603867.90341.qm@web45214.mail.sp1.yahoo.com>, Message-ID: If the error you are talking about is the "too few options " , then the problem appears to be that you did not include a -P for the port & did not include a critical and warning values [root at nagiosxi services]# /usr/local/nagios/libexec/check_akcp.pl -H 192.168.3.2 Too few options! Steve Date: Tue, 4 Jan 2011 07:48:08 -0600 From: alexdehaini at gmail.com To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] AKCP plugin What is the error message? On Tue, Jan 4, 2011 at 7:38 AM, moses neah wrote: Hi All, Has any one use this plugin? I run the below command and got error. I have install the plugin and defined the command. [root at nagiosxi services]# /usr/local/nagios/libexec/check_akcp.pl -H 192.168.3.2 Too few options! Usage: check_akcp.pl -h check_akcp.pl --man check_akcp.pl -H -P [-w ] [-c ] Options: -h Display this helpmessage. -H The hostname or ipaddress of the akcp device. -C The snmp community of the akcp device. -P The port where the probe is connected to. -w The warning threshold. -c The critical threshold. --man Displays the complete perldoc manpage. ------------------------------------------------------------------------------ Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------------ Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alexdehaini at gmail.com Tue Jan 4 15:21:28 2011 From: alexdehaini at gmail.com (Alex Dehaini) Date: Tue, 4 Jan 2011 08:21:28 -0600 Subject: AKCP plugin In-Reply-To: References: <603867.90341.qm@web45214.mail.sp1.yahoo.com> Message-ID: Yep, sounds about right. Good one steve :) On Tue, Jan 4, 2011 at 8:17 AM, steve f wrote: > If the error you are talking about is the "too few options " , then the > problem appears to be that you did not include a -P for the port & did not > include a critical and warning values > > [root at nagiosxi services]# /usr/local/nagios/libexec/check_akcp.pl -H > 192.168.3.2 > Too few options! > > Steve > > > ------------------------------ > Date: Tue, 4 Jan 2011 07:48:08 -0600 > From: alexdehaini at gmail.com > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] AKCP plugin > > > What is the error message? > > On Tue, Jan 4, 2011 at 7:38 AM, moses neah wrote: > > Hi All, > Has any one use this plugin? I run the below command and got error. I have > install the plugin and defined the command. > > [root at nagiosxi services]# /usr/local/nagios/libexec/check_akcp.pl -H > 192.168.3.2 > Too few options! > Usage: > check_akcp.pl -h > > check_akcp.pl --man > > check_akcp.pl -H -P [-w ] [-c ] > > Options: > -h Display this helpmessage. > > -H The hostname or ipaddress of the akcp device. > > -C The snmp community of the akcp device. > > -P The port where the probe is connected to. > > -w The warning threshold. > > -c The critical threshold. > > --man Displays the complete perldoc manpage. > > > > > ------------------------------------------------------------------------------ > Learn how Oracle Real Application Clusters (RAC) One Node allows customers > to consolidate database storage, standardize their database environment, > and, > should the need arise, upgrade to a full multi-node Oracle RAC database > without downtime or disruption > http://p.sf.net/sfu/oracle-sfdevnl > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > > ------------------------------------------------------------------------------ > Learn how Oracle Real Application Clusters (RAC) One Node allows customers > to consolidate database storage, standardize their database environment, > and, should the need arise, upgrade to a full multi-node Oracle RAC database > without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl > > _______________________________________________ Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please > include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > ------------------------------------------------------------------------------ > Learn how Oracle Real Application Clusters (RAC) One Node allows customers > to consolidate database storage, standardize their database environment, > and, > should the need arise, upgrade to a full multi-node Oracle RAC database > without downtime or disruption > http://p.sf.net/sfu/oracle-sfdevnl > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From GGoodenough at gaithersburgmd.gov Tue Jan 4 14:51:52 2011 From: GGoodenough at gaithersburgmd.gov (Guy Goodenough) Date: Tue, 4 Jan 2011 08:51:52 -0500 Subject: URL monitoring In-Reply-To: References: Message-ID: <4BB217361671DA49BF593F09C22C1D764461E7C10D@exch07IS.servers.gaithersburgmd.gov> You also may want to take a look at the check that is included with the plugin bundle: Check_http Usage: check_http -H | -I [-u ] [-p ] [-w ] [-c ] [-t ] [-L] [-a auth] [-f ] [-e ] [-s string] [-l] [-r | -R ] [-P string] [-m :] [-4|-6] [-N] [-M ] [-A string] [-k string] [-S] [-C ] [-T ] [-j method] GG From: anish kumar [mailto:07anis at gmail.com] Sent: Monday, January 03, 2011 10:02 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] URL monitoring Hi folks, I just want to know how to monitor urls using nagios.i.e running web applications under tomcat. can any one pleasAe provide me links or docs that narrates,how to configure nagios in a way to monitor our web applications. we already configured nagios for monitoring remote servers load,login details, disk space etc.. But we could not find any documents for configuring nagios in order to monitor webapplications. Your valuable suggestions please. Thanks in Advance With Regards Anish Kumar.V -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ennis at nmcourts.gov Tue Jan 4 15:54:30 2011 From: ennis at nmcourts.gov (Ennis Ibarra) Date: Tue, 4 Jan 2011 07:54:30 -0700 (MST) Subject: URL monitoring In-Reply-To: <616273041.120012.1294152742053.JavaMail.root@mail.nmcourts.gov> References: <616273041.120012.1294152742053.JavaMail.root@mail.nmcourts.gov> Message-ID: <1739994116.120054.1294152870882.JavaMail.root@mail.nmcourts.gov> We do this by a wget plugin that extracts from the Probe manager ( http://psi-probe.googlecode.com/) it allows us to determine sessions and response time which comes to be very handy when you have several DB backend. Hope this is helpful. ----- Original Message ----- From: "anish kumar" <07anis at gmail.com> To: nagios-users at lists.sourceforge.net Sent: Monday, January 3, 2011 8:01:35 PM Subject: [Nagios-users] URL monitoring Hi folks, I just want to know how to monitor urls using nagios.i.e running web applications under tomcat. can any one pleasAe provide me links or docs that narrates,how to configure nagios in a way to monitor our web applications. we already configured nagios for monitoring remote servers load,login details, disk space etc.. But we could not find any documents for configuring nagios in order to monitor webapplications. Your valuable suggestions please. Thanks in Advance With Regards Anish Kumar.V ------------------------------------------------------------------------------ Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------------ Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Jan 5 07:05:37 2011 From: yu.watanabe at jp.fujitsu.com (Yu Watanabe) Date: Wed, 05 Jan 2011 15:05:37 +0900 Subject: Difference between the timeout service and orphaned service Message-ID: <201101050605.AA03044@S2007337.jp.fujitsu.com> Hello all. I'd like to ask a question about the service check timeout and the orphaned service check. I am looking at the manual but couldn't understand the major difference. Could someone give me an advice with the point of these two options? Thanks Yu Watanabe ------------------------------------------------------------------------------ Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From yuehung.liu at gmail.com Wed Jan 5 09:36:55 2011 From: yuehung.liu at gmail.com (Yueh-Hung Liu) Date: Wed, 5 Jan 2011 16:36:55 +0800 Subject: Difference between the timeout service and orphaned service In-Reply-To: <201101050605.AA03044@S2007337.jp.fujitsu.com> References: <201101050605.AA03044@S2007337.jp.fujitsu.com> Message-ID: they are not totally related. "service check timeout" tells when Nagios should kill a check process ACTIVELY. "orphaned service check" would let Nagios find out whether a check process is killed BY OTHERS. On Wed, Jan 5, 2011 at 2:05 PM, Yu Watanabe wrote: > Hello all. > > I'd like to ask a question about the service check timeout and the orphaned service check. > I am looking at the manual but couldn't understand the major difference. > > Could someone give me an advice with the point of these two options? > > Thanks > Yu Watanabe > > > ------------------------------------------------------------------------------ > Learn how Oracle Real Application Clusters (RAC) One Node allows customers > to consolidate database storage, standardize their database environment, and, > should the need arise, upgrade to a full multi-node Oracle RAC database > without downtime or disruption > http://p.sf.net/sfu/oracle-sfdevnl > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From misteritguru at gmx.com Wed Jan 5 11:22:35 2011 From: misteritguru at gmx.com (Mister IT Guru) Date: Wed, 05 Jan 2011 10:22:35 +0000 Subject: Can nagios export the configuration that it currently holds? Message-ID: <4D24466B.9000901@gmx.com> I've wondered if nagios can export the configuration it currently has in one big file? I'm assuming that it reads in all these configuration files, it should be able to spit out that same data in some sort of structured form? It's just that I feel that nagios, (and not just nagios mind you, a lot of open source software that read in formatted text based config files), is such a mature project, that surly, there should be a way to export the configuration to a txt file at least, so that I can see what nagios 'sees' It would also be pretty cool if nagios could export the config without hardcoded variables, so people can paste what nagios sees to the list for example, and have people help with thier config with out fear of exposing unique info like IP addresses, host name and such, that are in out text based configs - I'm always worried when posting my configs for a lot of apps, apache. bacula, nagios etc. So it would be nice if it did exist :) ------------------------------------------------------------------------------ Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Jan 5 12:27:47 2011 From: yu.watanabe at jp.fujitsu.com (Yu Watanabe) Date: Wed, 05 Jan 2011 20:27:47 +0900 Subject: Difference between the timeout service and orphaned service In-Reply-To: References: Message-ID: <201101051127.AA03050@S2007337.jp.fujitsu.com> Thank you for the reply. Could I ask you a further question? In the manual the orphaned services are defined as "This option allows you to enable or disable checks for orphaned service checks. Orphaned service checks are checks which ahve been executed and have been removed from the event queue, but have not had any results reported in a long time. Since no results have come back in for the service, it is not rescheduled in the event queue. This can cause service checks to stop being executed. Normally it is very rare for this to happen - it might happen if an external user or process killed off the process that was being used to execute a service check. " To be more specific, is this a kind of status that in the memory , nagios is acknowledging that this service is still checking but actually the plugin did not return anything although the process is already dead? Thank you for reading. Yu Watanabe Yueh-Hung Liu ????????: >they are not totally related. >"service check timeout" tells when Nagios should kill a check process ACTIVELY. >"orphaned service check" would let Nagios find out whether a check >process is killed BY OTHERS. > > >On Wed, Jan 5, 2011 at 2:05 PM, Yu Watanabe wrote: >> Hello all. >> >> I'd like to ask a question about the service check timeout and the orphaned service check. >> I am looking at the manual but couldn't understand the major difference. >> >> Could someone give me an advice with the point of these two options? >> >> Thanks >> Yu Watanabe >> >> >> ------------------------------------------------------------------------------ >> Learn how Oracle Real Application Clusters (RAC) One Node allows customers >> to consolidate database storage, standardize their database environment, and, >> should the need arise, upgrade to a full multi-node Oracle RAC database >> without downtime or disruption >> http://p.sf.net/sfu/oracle-sfdevnl >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> > >------------------------------------------------------------------------------ >Learn how Oracle Real Application Clusters (RAC) One Node allows customers >to consolidate database storage, standardize their database environment, and, >should the need arise, upgrade to a full multi-node Oracle RAC database >without downtime or disruption >http://p.sf.net/sfu/oracle-sfdevnl >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Jan 5 12:52:32 2011 From: yu.watanabe at jp.fujitsu.com (Yu Watanabe) Date: Wed, 05 Jan 2011 20:52:32 +0900 Subject: Timing of the deleteion of service check from the event queue Message-ID: <201101051152.AA03051@S2007337.jp.fujitsu.com> Hello all. I would like to ask for an advice about when does nagios removes the service check from the event queue. I was following the source code but couldn't actually find the part that actually removes the service check. Does it removes after the reaper event or after the execution of the command ? Thanks, Yu Watanabe ------------------------------------------------------------------------------ Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Wed Jan 5 13:39:59 2011 From: jim at jimavery.me.uk (Jim Avery) Date: Wed, 5 Jan 2011 12:39:59 +0000 Subject: Can nagios export the configuration that it currently holds? In-Reply-To: <4D24466B.9000901@gmx.com> References: <4D24466B.9000901@gmx.com> Message-ID: On 5 January 2011 10:22, Mister IT Guru wrote: > I've wondered if nagios can export the configuration it currently has in > one big file? I'm assuming that it reads in all these configuration > files, it should be able to spit out that same data in some sort of > structured form? > > It's just that I feel that nagios, (and not just nagios mind you, a lot > of open source software that read in formatted text based config files), > is such a mature project, that surly, there should be a way to export > the configuration to a txt file at least, so that I can see what nagios > 'sees' > > It would also be pretty cool if nagios could export the config without > hardcoded variables, so people can paste what nagios sees to the list > for example, and have people help with thier config with out fear of > exposing unique info like IP addresses, host name and such, that are in > out text based configs - I'm always worried when posting my configs for > a lot of apps, apache. bacula, nagios etc. So it would be nice if it did > exist :) You'll find the Nagios config in one big file in /usr/local/nagios/var/objects.cache hth, Jim ------------------------------------------------------------------------------ Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mh+nagios-users at zugschlus.de Wed Jan 5 16:28:33 2011 From: mh+nagios-users at zugschlus.de (Marc Haber) Date: Wed, 5 Jan 2011 16:28:33 +0100 Subject: How to Monitor VMware ESX Server and Storage Units Message-ID: <20110105152833.GC1951@torres.zugschlus.de> Hi, up to now, I have usually been monitoring "real" Unix systems: One installs a bunch of Nagios plugins directly on the target systems and monitors away. Now, I have been asked to monitor a cluster of VMware ESX servers and a fibrechannel-based HP MSA Storage Unit. On the MSA, I cannot install any software at all, and on the ESX servers, I'd rather not install any software since this endangers VMware support just in case something would act up. The site in question is very interested in being able to yell at their vendors if something doesn't work. Both ESX and MSA can speak SNMP, but both boxes are missing information in their SNMP data set that I'd really love to monitor: Both boxes' SNMP sets are missing information about power supply status and whether we have any failed hard disks. I have installed all MIBs that VMware and HP have delivered, and full snmpwalk output does not contain any numerically written OIDs. But there is nothing identifying whether a hard disk or a power supply is even online, and I'd have expected to find a hard disk's SMART info at least partially in the data set which is pollable via SNMP. Are there other possibilities of connecting Nagios to ESX and MSA devices? I'd appreciate your input. Greetings Marc -- ----------------------------------------------------------------------------- Marc Haber | "I don't trust Computers. They | Mailadresse im Header Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834 Nordisch by Nature | How to make an American Quilt | Fax: *49 3221 2323190 ------------------------------------------------------------------------------ Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Jan 5 16:38:31 2011 From: maxhetrick at verizon.net (Max Hetrick) Date: Wed, 05 Jan 2011 10:38:31 -0500 Subject: How to Monitor VMware ESX Server and Storage Units In-Reply-To: <20110105152833.GC1951@torres.zugschlus.de> References: <20110105152833.GC1951@torres.zugschlus.de> Message-ID: <4D249077.6010001@verizon.net> On 01/05/2011 10:28 AM, Marc Haber wrote: > Are there other possibilities of connecting Nagios to ESX and MSA > devices? I'd appreciate your input. Have a look at the check_esx.pl plugin. You can do quite a bit with it. http://www.op5.org/community/plugin-inventory/op5-projects/check-esx-plugin It just requires the VMware Perl SDK kit to be installed on the machine you want to connect from, in this instance, Nagios. Regards, Max ------------------------------------------------------------------------------ Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jpratt at norwich.edu Wed Jan 5 17:02:46 2011 From: jpratt at norwich.edu (James Pratt) Date: Wed, 5 Jan 2011 11:02:46 -0500 Subject: How to Monitor VMware ESX Server and StorageUnits In-Reply-To: <4D249077.6010001@verizon.net> References: <20110105152833.GC1951@torres.zugschlus.de> <4D249077.6010001@verizon.net> Message-ID: <369C2BA4DE2C8F4A88BC422AD06C96BD0CAA14@nuexchange.norwich.edu> hi, you mention you are using HP's management agents on ESX - if so, check out these SNMP plugins to replace check_snmp - http://nagios.manubulon.com/ I'm not sure if you can get any SMART drive status from snmpd/HP, but you can check RAID status on local disks, and there are also ways to check ESX datastore free space usage too. good luck & cheers, James -----Original Message----- From: Max Hetrick [mailto:maxhetrick at verizon.net] Sent: Wednesday, January 05, 2011 10:39 AM To: Nagios Users List Subject: Re: [Nagios-users] How to Monitor VMware ESX Server and StorageUnits On 01/05/2011 10:28 AM, Marc Haber wrote: > Are there other possibilities of connecting Nagios to ESX and MSA > devices? I'd appreciate your input. Have a look at the check_esx.pl plugin. You can do quite a bit with it. http://www.op5.org/community/plugin-inventory/op5-projects/check-esx-plu gin It just requires the VMware Perl SDK kit to be installed on the machine you want to connect from, in this instance, Nagios. Regards, Max ------------------------------------------------------------------------ ------ Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From yuehung.liu at gmail.com Wed Jan 5 17:43:20 2011 From: yuehung.liu at gmail.com (Yueh-Hung Liu) Date: Thu, 6 Jan 2011 00:43:20 +0800 Subject: Can nagios export the configuration that it currently holds? In-Reply-To: <4D24466B.9000901@gmx.com> References: <4D24466B.9000901@gmx.com> Message-ID: use a broker could do this, you can write your own and share with all. On Wed, Jan 5, 2011 at 6:22 PM, Mister IT Guru wrote: > I've wondered if nagios can export the configuration it currently has in > one big file? I'm assuming that it reads in all these configuration > files, it should be able to spit out that same data in some sort of > structured form? > > It's just that I feel that nagios, (and not just nagios mind you, a lot > of open source software that read in formatted text based config files), > is such a mature project, that surly, there should be a way to export > the configuration to a txt file at least, so that I can see what nagios > 'sees' > > It would also be pretty cool if nagios could export the config without > hardcoded variables, so people can paste what nagios sees to the list > for example, and have people help with thier config with out fear of > exposing unique info like IP addresses, host name and such, that are in > out text based configs - I'm always worried when posting my configs for > a lot of apps, apache. bacula, nagios etc. So it would be nice if it did > exist :) > > ------------------------------------------------------------------------------ > Learn how Oracle Real Application Clusters (RAC) One Node allows customers > to consolidate database storage, standardize their database environment, and, > should the need arise, upgrade to a full multi-node Oracle RAC database > without downtime or disruption > http://p.sf.net/sfu/oracle-sfdevnl > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From misteritguru at gmx.com Wed Jan 5 17:48:10 2011 From: misteritguru at gmx.com (Mister IT Guru) Date: Wed, 05 Jan 2011 16:48:10 +0000 Subject: Can nagios export the configuration that it currently holds? In-Reply-To: References: <4D24466B.9000901@gmx.com> Message-ID: <4D24A0CA.1060502@gmx.com> On 05/01/2011 12:39, Jim Avery wrote: > On 5 January 2011 10:22, Mister IT Guru wrote: >> I've wondered if nagios can export the configuration it currently has in >> one big file? I'm assuming that it reads in all these configuration >> files, it should be able to spit out that same data in some sort of >> structured form? >> >> It's just that I feel that nagios, (and not just nagios mind you, a lot >> of open source software that read in formatted text based config files), >> is such a mature project, that surly, there should be a way to export >> the configuration to a txt file at least, so that I can see what nagios >> 'sees' >> >> It would also be pretty cool if nagios could export the config without >> hardcoded variables, so people can paste what nagios sees to the list >> for example, and have people help with thier config with out fear of >> exposing unique info like IP addresses, host name and such, that are in >> out text based configs - I'm always worried when posting my configs for >> a lot of apps, apache. bacula, nagios etc. So it would be nice if it did >> exist :) > You'll find the Nagios config in one big file in > /usr/local/nagios/var/objects.cache > > hth, > > Jim Thanks Jim! I have wondered about that file a few times, and never checked it out, I believe I will do now! Ahh... the power of the open source community! ------------------------------------------------------------------------------ Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From misteritguru at gmx.com Wed Jan 5 17:50:19 2011 From: misteritguru at gmx.com (Mister IT Guru) Date: Wed, 05 Jan 2011 16:50:19 +0000 Subject: Can nagios export the configuration that it currently holds? In-Reply-To: References: <4D24466B.9000901@gmx.com> Message-ID: <4D24A14B.80009@gmx.com> On 05/01/2011 16:43, Yueh-Hung Liu wrote: > use a broker could do this, you can write your own and share with all. It would be helpful if I was a coder :) I only have rudimentary coding skills, I'm more of a logic type guy, the coders in our company work for me! hehe ... oh, hang on! I have coders..... It would be a nice project to take on, but we're getting a touch off topic. Thanks for the response! :) ------------------------------------------------------------------------------ Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From yuehung.liu at gmail.com Wed Jan 5 18:14:02 2011 From: yuehung.liu at gmail.com (Yueh-Hung Liu) Date: Thu, 6 Jan 2011 01:14:02 +0800 Subject: Difference between the timeout service and orphaned service In-Reply-To: <201101051127.AA03050@S2007337.jp.fujitsu.com> References: <201101051127.AA03050@S2007337.jp.fujitsu.com> Message-ID: i think Nagios handles a check by the following flow: [1] schedule a check (into event queue) [2] time to go! fire the check (remove it from the queue) [3] wait for a result.... [4a] check finished normally (got a result) [4b] timeout (terminate the check process) [5] go to [1] (reschedule) an orphaned check could happen while Nagios in [3] but never proceed to next step. it can't reach [4a] because the checking process is dead. (killed by someone) it can't reach [4b] because it has nothing to terminate. (process is gone, Nagios loses its control) finally, Nagios never go to [5], i.e. it won't reschedule and execute the check again. so, the answer to your question is yes. 2011/1/5 Yu Watanabe : > Thank you for the reply. > > Could I ask you a further question? > > In the manual the orphaned services are defined as > > "This option allows you to enable or disable checks for orphaned service checks. Orphaned service > checks are checks which ahve been executed and have been removed from the event queue, but have > not had any results reported in a long time. Since no results have come back in for the service, it is not > rescheduled in the event queue. This can cause service checks to stop being executed. Normally it is > very rare for this to happen - it might happen if an external user or process killed off the process that > was being used to execute a service check. " > > To be more specific, is this a kind of status that in the memory , nagios is > acknowledging that this service is still checking but actually the plugin > did not return anything although the process is already dead? > > Thank you for reading. > > Yu Watanabe > > Yueh-Hung Liu ????????: >>they are not totally related. >>"service check timeout" tells when Nagios should kill a check process ACTIVELY. >>"orphaned service check" would let Nagios find out whether a check >>process is killed BY OTHERS. >> >> >>On Wed, Jan 5, 2011 at 2:05 PM, Yu Watanabe wrote: >>> Hello all. >>> >>> I'd like to ask a question about the service check timeout and the orphaned service check. >>> I am looking at the manual but couldn't understand the major difference. >>> >>> Could someone give me an advice with the point of these two options? >>> >>> Thanks >>> Yu Watanabe >>> >>> >>> ------------------------------------------------------------------------------ >>> Learn how Oracle Real Application Clusters (RAC) One Node allows customers >>> to consolidate database storage, standardize their database environment, and, >>> should the need arise, upgrade to a full multi-node Oracle RAC database >>> without downtime or disruption >>> http://p.sf.net/sfu/oracle-sfdevnl >>> _______________________________________________ >>> Nagios-users mailing list >>> Nagios-users at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >>> ::: Messages without supporting info will risk being sent to /dev/null >>> >> >>------------------------------------------------------------------------------ >>Learn how Oracle Real Application Clusters (RAC) One Node allows customers >>to consolidate database storage, standardize their database environment, and, >>should the need arise, upgrade to a full multi-node Oracle RAC database >>without downtime or disruption >>http://p.sf.net/sfu/oracle-sfdevnl >>_______________________________________________ >>Nagios-users mailing list >>Nagios-users at lists.sourceforge.net >>https://lists.sourceforge.net/lists/listinfo/nagios-users >>::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >>::: Messages without supporting info will risk being sent to /dev/null >> > > > ------------------------------------------------------------------------------ > Learn how Oracle Real Application Clusters (RAC) One Node allows customers > to consolidate database storage, standardize their database environment, and, > should the need arise, upgrade to a full multi-node Oracle RAC database > without downtime or disruption > http://p.sf.net/sfu/oracle-sfdevnl > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From yuehung.liu at gmail.com Wed Jan 5 18:33:20 2011 From: yuehung.liu at gmail.com (Yueh-Hung Liu) Date: Thu, 6 Jan 2011 01:33:20 +0800 Subject: Timing of the deleteion of service check from the event queue In-Reply-To: <201101051152.AA03051@S2007337.jp.fujitsu.com> References: <201101051152.AA03051@S2007337.jp.fujitsu.com> Message-ID: a service check could block the whole queue if it isn't removed from the quese after execution. On Wed, Jan 5, 2011 at 7:52 PM, Yu Watanabe wrote: > Hello all. > > I would like to ask for an advice about when does nagios removes the service check > from the event queue. > > I was following the source code but couldn't actually find the part > that actually removes the service check. > > Does it removes after the reaper event or after the execution of the command ? > > Thanks, > Yu Watanabe > > > ------------------------------------------------------------------------------ > Learn how Oracle Real Application Clusters (RAC) One Node allows customers > to consolidate database storage, standardize their database environment, and, > should the need arise, upgrade to a full multi-node Oracle RAC database > without downtime or disruption > http://p.sf.net/sfu/oracle-sfdevnl > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andy.graybeal at casanueva.com Wed Jan 5 19:00:09 2011 From: andy.graybeal at casanueva.com (Andy Graybeal) Date: Wed, 05 Jan 2011 13:00:09 -0500 Subject: Backing up Nagios on Ubuntu 10.04 Message-ID: <4D24B1A9.3000802@casanueva.com> Greetings, I would like to backup Nagios. I'm imagining rsyncing the files to another server that runs a backup job to tape each night. I'm on Ubuntu 10.04 and used it's package management system to install Nagios, so this isn't a compiled version. I'm not exactly sure where all the Nagios data lives... but basically I looked into the nagios.conf and httpd.conf files and wrote up a list of directories it's responsible for. Here's my list: /etc/nagios3 /usr/lib/nagios/ /etc/nagios-plugins /var/log/nagios3 /var/cache/nagios3 /var/lib/nagios3 /usr/share/nagios3 /usr/lib/cgi-bin/nagios3 Should I be adding any other directories to the archive to ensure I can start up where I left off in case something goes horribly wrong? Thanks, -Andy ------------------------------------------------------------------------------ Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lcardona at buzz-media.com Wed Jan 5 19:07:33 2011 From: lcardona at buzz-media.com (Liz Cardona) Date: Wed, 5 Jan 2011 10:07:33 -0800 Subject: Check_load Message-ID: Hello, Ive been using nagios for quite sometime now and would like to enhance the way I do check_load. According to you documentation, when using the plugin check_load I can use a ?-r? option and it will give me the load average based on processes/number of cpus core. I cannot find a documentation explaining how nagios is doing this? I.e how is it checking the number of cpus. I've turned on debugging mode with no succes. I'm wondering if you can please put me in the correct direction or documentations of how to understand this in depth. Thank you very much, Liz Cardona liz at buzz-media.com 323 459 2833 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Jan 5 19:10:12 2011 From: tyarusso at nagios.com (Tony Yarusso) Date: Wed, 05 Jan 2011 12:10:12 -0600 Subject: Backing up Nagios on Ubuntu 10.04 In-Reply-To: <4D24B1A9.3000802@casanueva.com> References: <4D24B1A9.3000802@casanueva.com> Message-ID: <4D24B404.2030908@nagios.com> What it really comes down to is exactly *what* you want to back up. If it's just the configuration, then the stuff in /etc should be all you need. The stuff in /var will contain the current state (logs, lock files, status.dat, etc.). The things in /usr should only be things that are installed by the package, and probably don't need to be backed up. An exception to that would be if you've manually added plugins to /usr/lib/nagios/plugins/. If you want to check your list, you could also run 'find / -name *nagios*' and pore over the results. -- Tony Yarusso Technical Team ___ Nagios Enterprises, LLC Email: tyarusso at nagios.com Web: www.nagios.com ------------------------------------------------------------------------------ Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andy.graybeal at casanueva.com Wed Jan 5 21:01:54 2011 From: andy.graybeal at casanueva.com (Andy Graybeal) Date: Wed, 05 Jan 2011 15:01:54 -0500 Subject: Backing up Nagios on Ubuntu 10.04 In-Reply-To: <4D24B404.2030908@nagios.com> References: <4D24B1A9.3000802@casanueva.com> <4D24B404.2030908@nagios.com> Message-ID: <4D24CE32.1030901@casanueva.com> On 01/05/2011 01:10 PM, Tony Yarusso wrote: > What it really comes down to is exactly *what* you want to back up. If > it's just the configuration, then the stuff in /etc should be all you > need. The stuff in /var will contain the current state (logs, lock > files, status.dat, etc.). The things in /usr should only be things that > are installed by the package, and probably don't need to be backed up. > An exception to that would be if you've manually added plugins to > /usr/lib/nagios/plugins/. > > If you want to check your list, you could also run 'find / -name > *nagios*' and pore over the results. > Great! Thanks so much Tony. -Andy ------------------------------------------------------------------------------ Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From maxs at webwizarddesign.com Wed Jan 5 23:39:42 2011 From: maxs at webwizarddesign.com (Max Schubert) Date: Wed, 5 Jan 2011 17:39:42 -0500 Subject: Backing up Nagios on Ubuntu 10.04 In-Reply-To: <4D24CE32.1030901@casanueva.com> References: <4D24B1A9.3000802@casanueva.com> <4D24B404.2030908@nagios.com> <4D24CE32.1030901@casanueva.com> Message-ID: While a live back up is definitely a good idea, if you start storing your configuration tree in a version control system off server - CVS, GIT, SVN, any other one you choose - then the back up issue on the live server only becomes one of backing up retention.dat, which has changes you / your users have made to the states of notifications, flapping, etc from the CGIs or via the named pipe. - Max ------------------------------------------------------------------------------ Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Jan 6 05:43:42 2011 From: yu.watanabe at jp.fujitsu.com (Yu Watanabe) Date: Thu, 06 Jan 2011 13:43:42 +0900 Subject: Difference between the timeout service and orphaned service In-Reply-To: References: Message-ID: <201101060443.AA03065@S2007337.jp.fujitsu.com> Thank you for the clear explanation. The information is significantly helpful. Thanks, Yu Watanabe Yueh-Hung Liu ????????: >i think Nagios handles a check by the following flow: > >[1] schedule a check (into event queue) >[2] time to go! fire the check (remove it from the queue) >[3] wait for a result.... >[4a] check finished normally (got a result) >[4b] timeout (terminate the check process) >[5] go to [1] (reschedule) > >an orphaned check could happen while Nagios in [3] but never proceed >to next step. >it can't reach [4a] because the checking process is dead. (killed by someone) >it can't reach [4b] because it has nothing to terminate. (process is >gone, Nagios loses its control) >finally, Nagios never go to [5], i.e. it won't reschedule and execute >the check again. > >so, the answer to your question is yes. > > >2011/1/5 Yu Watanabe : >> Thank you for the reply. >> >> Could I ask you a further question? >> >> In the manual the orphaned services are defined as >> >> "This option allows you to enable or disable checks for orphaned service checks. Orphaned service >> checks are checks which ahve been executed and have been removed from the event queue, but have >> not had any results reported in a long time. Since no results have come back in for the service, it is not >> rescheduled in the event queue. This can cause service checks to stop being executed. Normally it is >> very rare for this to happen - it might happen if an external user or process killed off the process that >> was being used to execute a service check. " >> >> To be more specific, is this a kind of status that in the memory , nagios is >> acknowledging that this service is still checking but actually the plugin >> did not return anything although the process is already dead? >> >> Thank you for reading. >> >> Yu Watanabe >> >> Yueh-Hung Liu ????????: >>>they are not totally related. >>>"service check timeout" tells when Nagios should kill a check process ACTIVELY. >>>"orphaned service check" would let Nagios find out whether a check >>>process is killed BY OTHERS. >>> >>> >>>On Wed, Jan 5, 2011 at 2:05 PM, Yu Watanabe wrote: >>>> Hello all. >>>> >>>> I'd like to ask a question about the service check timeout and the orphaned service check. >>>> I am looking at the manual but couldn't understand the major difference. >>>> >>>> Could someone give me an advice with the point of these two options? >>>> >>>> Thanks >>>> Yu Watanabe >>>> >>>> >>>> ------------------------------------------------------------------------------ >>>> Learn how Oracle Real Application Clusters (RAC) One Node allows customers >>>> to consolidate database storage, standardize their database environment, and, >>>> should the need arise, upgrade to a full multi-node Oracle RAC database >>>> without downtime or disruption >>>> http://p.sf.net/sfu/oracle-sfdevnl >>>> _______________________________________________ >>>> Nagios-users mailing list >>>> Nagios-users at lists.sourceforge.net >>>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>>> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >>>> ::: Messages without supporting info will risk being sent to /dev/null >>>> >>> >>>------------------------------------------------------------------------------ >>>Learn how Oracle Real Application Clusters (RAC) One Node allows customers >>>to consolidate database storage, standardize their database environment, and, >>>should the need arise, upgrade to a full multi-node Oracle RAC database >>>without downtime or disruption >>>http://p.sf.net/sfu/oracle-sfdevnl >>>_______________________________________________ >>>Nagios-users mailing list >>>Nagios-users at lists.sourceforge.net >>>https://lists.sourceforge.net/lists/listinfo/nagios-users >>>::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >>>::: Messages without supporting info will risk being sent to /dev/null >>> >> >> >> ------------------------------------------------------------------------------ >> Learn how Oracle Real Application Clusters (RAC) One Node allows customers >> to consolidate database storage, standardize their database environment, and, >> should the need arise, upgrade to a full multi-node Oracle RAC database >> without downtime or disruption >> http://p.sf.net/sfu/oracle-sfdevnl >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> > >------------------------------------------------------------------------------ >Learn how Oracle Real Application Clusters (RAC) One Node allows customers >to consolidate database storage, standardize their database environment, and, >should the need arise, upgrade to a full multi-node Oracle RAC database >without downtime or disruption >http://p.sf.net/sfu/oracle-sfdevnl >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > ********************************************************************** FUJITSU SOCIAL SCIENCE LABORATORY LIMITED(FUJITSU SSL) System Infrastructure Development Department Telecom Sstems Business Group 2 Yu Watanabe E-Mail : yu.watanabe at jp.fujitsu.com Phone : 044-739-1570 Skype : FJSSL_YWATANABE ********************************************************************** ------------------------------------------------------------------------------ Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Jan 6 07:03:58 2011 From: yu.watanabe at jp.fujitsu.com (Yu Watanabe) Date: Thu, 06 Jan 2011 15:03:58 +0900 Subject: Check behavior during the notification event Message-ID: <201101060603.AA03069@S2007337.jp.fujitsu.com> Hello all. I would like to ask a question regarding to the behavior of check scheduling during the massive number of notification event is occuring. I have couple of notification group defeined in each service but when notification alerts occur consecutively among multiple services, it seems that nagios sequentially process the notification events, not simultaneously. [2010-12-19 15:08:26] SERVICE ALERT: host1; [2010-12-19 15:08:26] SERVICE NOTIFICATION: jdoe;proact1;ssh_proc_mem_Search;CRITICAL;notify-by-email; [2010-12-19 15:08:56] SERVICE NOTIFICATION: nagiosadmin;proact1;ssh_proc_mem_Search;CRITICAL;notify-by-email; [2010-12-19 15:09:26] SERVICE ALERT: host2;ssh_proc_alv_TrafficAgent_3;CRITICAL;HARD;3; [2010-12-19 15:09:26] SERVICE NOTIFICATION: jdoe;traffic01;ssh_proc_alv_TrafficAgent_3;CRITICAL;notify-by-email; [2010-12-19 15:09:56] SERVICE NOTIFICATION: nagiosadmin;traffic01;ssh_proc_alv_TrafficAgent_3;CRITICAL;notify-by-email; [2010-12-19 15:10:26] SERVICE ALERT: host3;ssh_proc_alv_EAM_GbE_MC_5;CRITICAL;HARD;3; [2010-12-19 15:10:26] SERVICE NOTIFICATION: jdoe;eam03;ssh_proc_alv_EAM_GbE_MC_5;CRITICAL;notify-by-email; [2010-12-19 15:10:56] SERVICE NOTIFICATION: nagiosadmin;eam03;ssh_proc_alv_EAM_GbE_MC_5;CRITICAL;notify-by-email; [2010-12-19 15:11:26] SERVICE ALERT: host4;ssh_proc_alv_EAM_CX2600_220_40;CRITICAL;HARD;3; [2010-12-19 15:11:26] SERVICE NOTIFICATION: jdoe;eam01;ssh_proc_alv_EAM_CX2600_220_40;CRITICAL;notify-by-email; [2010-12-19 15:11:56] SERVICE NOTIFICATION: nagiosadmin;eam01;ssh_proc_alv_EAM_CX2600_220_40;CRITICAL;notify-by-email; Is this a normal behavior with nagios ? (The version is 2.10) I found a chapter in Nagios manual describes about the check delay of high priority events but wasn't sure if the situation corresponds to the manual or not. "Examples of high priority events include log file rotations, external command checks, and service reaper events. Additionally, host checks will slow down the execution and processing of service checks." Thanks, Yu Watanabe ------------------------------------------------------------------------------ Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Jan 6 07:17:30 2011 From: stuart.browne at ausregistry.com.au (Stuart Browne) Date: Thu, 6 Jan 2011 17:17:30 +1100 Subject: Check behavior during the notification event In-Reply-To: <201101060603.AA03069@S2007337.jp.fujitsu.com> References: <201101060603.AA03069@S2007337.jp.fujitsu.com> Message-ID: <8CEF048B9EC83748B1517DC64EA130FB43EF5779AA@off-win2003-01.ausregistrygroup.local> > -----Original Message----- > From: Yu Watanabe [mailto:yu.watanabe at jp.fujitsu.com] > Sent: Thursday, 6 January 2011 5:04 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Check behavior during the notification event > > Hello all. > > I would like to ask a question regarding to the behavior of check > scheduling > during the massive number of notification event is occuring. > > I have couple of notification group defeined in each service but when > notification > alerts occur consecutively among multiple services, it seems that nagios > sequentially > process the notification events, not simultaneously. > > [2010-12-19 15:08:26] SERVICE ALERT: host1; > [2010-12-19 15:08:26] SERVICE NOTIFICATION: > jdoe;proact1;ssh_proc_mem_Search;CRITICAL;notify-by-email; > [2010-12-19 15:08:56] SERVICE NOTIFICATION: > nagiosadmin;proact1;ssh_proc_mem_Search;CRITICAL;notify-by-email; > [2010-12-19 15:09:26] SERVICE ALERT: > host2;ssh_proc_alv_TrafficAgent_3;CRITICAL;HARD;3; > [2010-12-19 15:09:26] SERVICE NOTIFICATION: > jdoe;traffic01;ssh_proc_alv_TrafficAgent_3;CRITICAL;notify-by-email; > [2010-12-19 15:09:56] SERVICE NOTIFICATION: > nagiosadmin;traffic01;ssh_proc_alv_TrafficAgent_3;CRITICAL;notify-by- > email; > [2010-12-19 15:10:26] SERVICE ALERT: > host3;ssh_proc_alv_EAM_GbE_MC_5;CRITICAL;HARD;3; > [2010-12-19 15:10:26] SERVICE NOTIFICATION: > jdoe;eam03;ssh_proc_alv_EAM_GbE_MC_5;CRITICAL;notify-by-email; > [2010-12-19 15:10:56] SERVICE NOTIFICATION: > nagiosadmin;eam03;ssh_proc_alv_EAM_GbE_MC_5;CRITICAL;notify-by-email; > [2010-12-19 15:11:26] SERVICE ALERT: > host4;ssh_proc_alv_EAM_CX2600_220_40;CRITICAL;HARD;3; > [2010-12-19 15:11:26] SERVICE NOTIFICATION: > jdoe;eam01;ssh_proc_alv_EAM_CX2600_220_40;CRITICAL;notify-by-email; > [2010-12-19 15:11:56] SERVICE NOTIFICATION: > nagiosadmin;eam01;ssh_proc_alv_EAM_CX2600_220_40;CRITICAL;notify-by-email; > > Is this a normal behavior with nagios ? (The version is 2.10) > I found a chapter in Nagios manual describes about the check delay of high > priority events but > wasn't sure if the situation corresponds to the manual or not. > > "Examples of high priority events include log file rotations, external > command checks, and service reaper events. Additionally, host checks will > slow down the execution > and processing of service checks." > > Thanks, > Yu Watanabe This is normal behaviour. A lot of people end up writing external notification handlers to take the load off of Nagios so the scheduled checks can continue whilst the external app queues and processes the notifications. Generally an email notification should be quick (less than a second), but if you're trying to send 20 emails or you start sending SMS' directly etc., it can get bogged down. Stuart ------------------------------------------------------------------------------ Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Jan 6 08:27:27 2011 From: yu.watanabe at jp.fujitsu.com (Yu Watanabe) Date: Thu, 06 Jan 2011 16:27:27 +0900 Subject: Check behavior during the notification event In-Reply-To: <8CEF048B9EC83748B1517DC64EA130FB43EF5779AA@off-win2003-01.ausregistrygroup.local> References: <8CEF048B9EC83748B1517DC64EA130FB43EF5779AA@off-win2003-01.ausregistrygroup.local> Message-ID: <201101060727.AA03072@S2007337.jp.fujitsu.com> Thank you for the reply. I understood that notification events will hang up the normal service check events. I was bit curious about your comment. >A lot of people end up writing external notification handlers to take the load off of Nagios so the scheduled checks can continue whilst the external app queues and processes the notifications. If you could share your knowledge it would be helpful. Does people create external application that scans the nagios.log without using any of Event Handlers or Notification Events of Nagios? Or perhaps event broker? Thanks, Yu Watanabe Stuart Browne ????????: >> -----Original Message----- >> From: Yu Watanabe [mailto:yu.watanabe at jp.fujitsu.com] >> Sent: Thursday, 6 January 2011 5:04 PM >> To: nagios-users at lists.sourceforge.net >> Subject: [Nagios-users] Check behavior during the notification event >> >> Hello all. >> >> I would like to ask a question regarding to the behavior of check >> scheduling >> during the massive number of notification event is occuring. >> >> I have couple of notification group defeined in each service but when >> notification >> alerts occur consecutively among multiple services, it seems that nagios >> sequentially >> process the notification events, not simultaneously. >> >> [2010-12-19 15:08:26] SERVICE ALERT: host1; >> [2010-12-19 15:08:26] SERVICE NOTIFICATION: >> jdoe;proact1;ssh_proc_mem_Search;CRITICAL;notify-by-email; >> [2010-12-19 15:08:56] SERVICE NOTIFICATION: >> nagiosadmin;proact1;ssh_proc_mem_Search;CRITICAL;notify-by-email; >> [2010-12-19 15:09:26] SERVICE ALERT: >> host2;ssh_proc_alv_TrafficAgent_3;CRITICAL;HARD;3; >> [2010-12-19 15:09:26] SERVICE NOTIFICATION: >> jdoe;traffic01;ssh_proc_alv_TrafficAgent_3;CRITICAL;notify-by-email; >> [2010-12-19 15:09:56] SERVICE NOTIFICATION: >> nagiosadmin;traffic01;ssh_proc_alv_TrafficAgent_3;CRITICAL;notify-by- >> email; >> [2010-12-19 15:10:26] SERVICE ALERT: >> host3;ssh_proc_alv_EAM_GbE_MC_5;CRITICAL;HARD;3; >> [2010-12-19 15:10:26] SERVICE NOTIFICATION: >> jdoe;eam03;ssh_proc_alv_EAM_GbE_MC_5;CRITICAL;notify-by-email; >> [2010-12-19 15:10:56] SERVICE NOTIFICATION: >> nagiosadmin;eam03;ssh_proc_alv_EAM_GbE_MC_5;CRITICAL;notify-by-email; >> [2010-12-19 15:11:26] SERVICE ALERT: >> host4;ssh_proc_alv_EAM_CX2600_220_40;CRITICAL;HARD;3; >> [2010-12-19 15:11:26] SERVICE NOTIFICATION: >> jdoe;eam01;ssh_proc_alv_EAM_CX2600_220_40;CRITICAL;notify-by-email; >> [2010-12-19 15:11:56] SERVICE NOTIFICATION: >> nagiosadmin;eam01;ssh_proc_alv_EAM_CX2600_220_40;CRITICAL;notify-by-email; >> >> Is this a normal behavior with nagios ? (The version is 2.10) >> I found a chapter in Nagios manual describes about the check delay of high >> priority events but >> wasn't sure if the situation corresponds to the manual or not. >> >> "Examples of high priority events include log file rotations, external >> command checks, and service reaper events. Additionally, host checks will >> slow down the execution >> and processing of service checks." >> >> Thanks, >> Yu Watanabe > >This is normal behaviour. > >A lot of people end up writing external notification handlers to take the load off of Nagios so the scheduled checks can continue whilst the external app queues and processes the notifications. > >Generally an email notification should be quick (less than a second), but if you're trying to send 20 emails or you start sending SMS' directly etc., it can get bogged down. > >Stuart > >------------------------------------------------------------------------------ >Learn how Oracle Real Application Clusters (RAC) One Node allows customers >to consolidate database storage, standardize their database environment, and, >should the need arise, upgrade to a full multi-node Oracle RAC database >without downtime or disruption >http://p.sf.net/sfu/oracle-sfdevnl >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mike-nagios at 5dninja.net Thu Jan 6 08:56:57 2011 From: mike-nagios at 5dninja.net (Mike Lindsey) Date: Wed, 05 Jan 2011 23:56:57 -0800 Subject: Check behavior during the notification event In-Reply-To: <201101060727.AA03072@S2007337.jp.fujitsu.com> References: <8CEF048B9EC83748B1517DC64EA130FB43EF5779AA@off-win2003-01.ausregistrygroup.local> <201101060727.AA03072@S2007337.jp.fujitsu.com> Message-ID: <4D2575C9.7060005@5dninja.net> On 1/5/11 11:27 PM, Yu Watanabe wrote: > Thank you for the reply. > > I understood that notification events will hang up the normal service check events. > > I was bit curious about your comment. > >> A lot of people end up writing external notification handlers to take the load off of Nagios so the scheduled checks can continue whilst the external app > queues and processes the notifications. > > If you could share your knowledge it would be helpful. > Does people create external application that scans the nagios.log without using > any of Event Handlers or Notification Events of Nagios? Or perhaps event broker? > What I ended up doing was having notification commands that drop a spool file that contains the Nagios environment macros, into a directory. A second daemon reads in the spool files for the notification event, collects all the meta data (product dependencies, runbook links, ticket links, etc), caches it for the subsequent contacts. The spool file write is very quick, letting Nagios get back to dealing with check submission handling, and the secondary daemon takes a serial, blocking process, and does all the heavy lifting for notification generation and email in a fairly parallel process. A notification for us will include upwards of 20 contacts (some email lists, some individuals, some ticketing and tracking systems, and some pagers).. At the height of the "bad times" Nagios would block for 40 or so seconds, sending out every single notification serially. Just dumping out a spool file for each contact happens in a small fraction of a second. Pager contacts are still straight Nagios to postfix, because simple is better for anything where you're actually waking someone up at 3am. -- Mike Lindsey ------------------------------------------------------------------------------ Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mh+nagios-users at zugschlus.de Thu Jan 6 10:52:09 2011 From: mh+nagios-users at zugschlus.de (Marc Haber) Date: Thu, 6 Jan 2011 10:52:09 +0100 Subject: How to Monitor VMware ESX Server and Storage Units In-Reply-To: <4D249077.6010001@verizon.net> References: <20110105152833.GC1951@torres.zugschlus.de> <4D249077.6010001@verizon.net> Message-ID: <20110106095209.GA21997@torres.zugschlus.de> On Wed, Jan 05, 2011 at 10:38:31AM -0500, Max Hetrick wrote: > On 01/05/2011 10:28 AM, Marc Haber wrote: > > Are there other possibilities of connecting Nagios to ESX and MSA > > devices? I'd appreciate your input. > > Have a look at the check_esx.pl plugin. You can do quite a bit with it. About the same that I can already monitor using SNMP. Judging from the web page, it doesn't allow finding out whether we still have all power supplies and all local disks. Greetings Marc -- ----------------------------------------------------------------------------- Marc Haber | "I don't trust Computers. They | Mailadresse im Header Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834 Nordisch by Nature | How to make an American Quilt | Fax: *49 3221 2323190 ------------------------------------------------------------------------------ Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mh+nagios-users at zugschlus.de Thu Jan 6 10:56:24 2011 From: mh+nagios-users at zugschlus.de (Marc Haber) Date: Thu, 6 Jan 2011 10:56:24 +0100 Subject: How to Monitor VMware ESX Server and StorageUnits In-Reply-To: <369C2BA4DE2C8F4A88BC422AD06C96BD0CAA14@nuexchange.norwich.edu> References: <20110105152833.GC1951@torres.zugschlus.de> <4D249077.6010001@verizon.net> <369C2BA4DE2C8F4A88BC422AD06C96BD0CAA14@nuexchange.norwich.edu> Message-ID: <20110106095624.GB21997@torres.zugschlus.de> On Wed, Jan 05, 2011 at 11:02:46AM -0500, James Pratt wrote: > hi, you mention you are using HP's management agents on ESX - if so, > check out these SNMP plugins to replace check_snmp - > > http://nagios.manubulon.com/ What do these plugins better than the stock snmp plugins? > I'm not sure if you can get any SMART drive status from snmpd/HP, but > you can check RAID status on local disks, and there are also ways to > check ESX datastore free space usage too. Power Supply Status? Greetings Marc -- ----------------------------------------------------------------------------- Marc Haber | "I don't trust Computers. They | Mailadresse im Header Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834 Nordisch by Nature | How to make an American Quilt | Fax: *49 3221 2323190 ------------------------------------------------------------------------------ Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Jan 6 12:12:01 2011 From: yu.watanabe at jp.fujitsu.com (Yu Watanabe) Date: Thu, 06 Jan 2011 20:12:01 +0900 Subject: Check behavior during the notification event In-Reply-To: <4D2575C9.7060005@5dninja.net> References: <4D2575C9.7060005@5dninja.net> Message-ID: <201101061112.AA03076@S2007337.jp.fujitsu.com> Thank you for the reply. So the length of Notfication depends on the command which you use... >some ticketing and tracking systems, and some pagers).. At the height of >the "bad times" Nagios would block for 40 or so seconds, sending out >every single notification serially. Just dumping out a spool file for Do you mean by 40 second per Notfication event or took 40 seconds to send 20 contacts? Thanks, Yu Watanabe Mike Lindsey ????????: >On 1/5/11 11:27 PM, Yu Watanabe wrote: >> Thank you for the reply. >> >> I understood that notification events will hang up the normal service check events. >> >> I was bit curious about your comment. >> >>> A lot of people end up writing external notification handlers to take the load off of Nagios so the scheduled checks can continue whilst the external app >> queues and processes the notifications. >> >> If you could share your knowledge it would be helpful. >> Does people create external application that scans the nagios.log without using >> any of Event Handlers or Notification Events of Nagios? Or perhaps event broker? >> >What I ended up doing was having notification commands that drop a spool >file that contains the Nagios environment macros, into a directory. A >second daemon reads in the spool files for the notification event, >collects all the meta data (product dependencies, runbook links, ticket >links, etc), caches it for the subsequent contacts. > >The spool file write is very quick, letting Nagios get back to dealing >with check submission handling, and the secondary daemon takes a serial, >blocking process, and does all the heavy lifting for notification >generation and email in a fairly parallel process. A notification for us >will include upwards of 20 contacts (some email lists, some individuals, >some ticketing and tracking systems, and some pagers).. At the height of >the "bad times" Nagios would block for 40 or so seconds, sending out >every single notification serially. Just dumping out a spool file for >each contact happens in a small fraction of a second. Pager contacts are >still straight Nagios to postfix, because simple is better for anything >where you're actually waking someone up at 3am. > >-- >Mike Lindsey > > ------------------------------------------------------------------------------ Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Jan 6 13:49:26 2011 From: yu.watanabe at jp.fujitsu.com (Yu Watanabe) Date: Thu, 06 Jan 2011 21:49:26 +0900 Subject: Check behavior during the notification event In-Reply-To: <8CEF048B9EC83748B1517DC64EA130FB43EF5779AA@off-win2003-01.ausregistrygroup.local> References: <8CEF048B9EC83748B1517DC64EA130FB43EF5779AA@off-win2003-01.ausregistrygroup.local> Message-ID: <201101061249.AA03077@S2007337.jp.fujitsu.com> It would be a great help if you could help me out with my additional question. I was trying to find how does nagios determine the interval time between the high priority events in the source code but I couldn't find the part. I found was the following line in the event.c 958 /* handle high priority events */ 959 if(event_list_high!=NULL && (current_time>=event_list_high->run_time)){ 960 961 /* remove the first event from the timing loop */ 962 temp_event=event_list_high; 963 event_list_high=event_list_high->next; 964 965 /* handle the event */ 966 handle_timed_event(temp_event); 967 968 /* reschedule the event if necessary */ 969 if(temp_event->recurring==TRUE) 970 reschedule_event(temp_event,&event_list_high); 971 972 /* else free memory associated with the event */ 973 else 974 free(temp_event); 975 } Do you have any idea how does nagios determine the value 30 seconds, between the high priority events? Thank you for reading. Thanks, Yu Stuart Browne ????????: >> -----Original Message----- >> From: Yu Watanabe [mailto:yu.watanabe at jp.fujitsu.com] >> Sent: Thursday, 6 January 2011 5:04 PM >> To: nagios-users at lists.sourceforge.net >> Subject: [Nagios-users] Check behavior during the notification event >> >> Hello all. >> >> I would like to ask a question regarding to the behavior of check >> scheduling >> during the massive number of notification event is occuring. >> >> I have couple of notification group defeined in each service but when >> notification >> alerts occur consecutively among multiple services, it seems that nagios >> sequentially >> process the notification events, not simultaneously. >> >> [2010-12-19 15:08:26] SERVICE ALERT: host1; >> [2010-12-19 15:08:26] SERVICE NOTIFICATION: >> jdoe;proact1;ssh_proc_mem_Search;CRITICAL;notify-by-email; >> [2010-12-19 15:08:56] SERVICE NOTIFICATION: >> nagiosadmin;proact1;ssh_proc_mem_Search;CRITICAL;notify-by-email; >> [2010-12-19 15:09:26] SERVICE ALERT: >> host2;ssh_proc_alv_TrafficAgent_3;CRITICAL;HARD;3; >> [2010-12-19 15:09:26] SERVICE NOTIFICATION: >> jdoe;traffic01;ssh_proc_alv_TrafficAgent_3;CRITICAL;notify-by-email; >> [2010-12-19 15:09:56] SERVICE NOTIFICATION: >> nagiosadmin;traffic01;ssh_proc_alv_TrafficAgent_3;CRITICAL;notify-by- >> email; >> [2010-12-19 15:10:26] SERVICE ALERT: >> host3;ssh_proc_alv_EAM_GbE_MC_5;CRITICAL;HARD;3; >> [2010-12-19 15:10:26] SERVICE NOTIFICATION: >> jdoe;eam03;ssh_proc_alv_EAM_GbE_MC_5;CRITICAL;notify-by-email; >> [2010-12-19 15:10:56] SERVICE NOTIFICATION: >> nagiosadmin;eam03;ssh_proc_alv_EAM_GbE_MC_5;CRITICAL;notify-by-email; >> [2010-12-19 15:11:26] SERVICE ALERT: >> host4;ssh_proc_alv_EAM_CX2600_220_40;CRITICAL;HARD;3; >> [2010-12-19 15:11:26] SERVICE NOTIFICATION: >> jdoe;eam01;ssh_proc_alv_EAM_CX2600_220_40;CRITICAL;notify-by-email; >> [2010-12-19 15:11:56] SERVICE NOTIFICATION: >> nagiosadmin;eam01;ssh_proc_alv_EAM_CX2600_220_40;CRITICAL;notify-by-email; >> >> Is this a normal behavior with nagios ? (The version is 2.10) >> I found a chapter in Nagios manual describes about the check delay of high >> priority events but >> wasn't sure if the situation corresponds to the manual or not. >> >> "Examples of high priority events include log file rotations, external >> command checks, and service reaper events. Additionally, host checks will >> slow down the execution >> and processing of service checks." >> >> Thanks, >> Yu Watanabe > >This is normal behaviour. > >A lot of people end up writing external notification handlers to take the load off of Nagios so the scheduled checks can continue whilst the external app queues and processes the notifications. > >Generally an email notification should be quick (less than a second), but if you're trying to send 20 emails or you start sending SMS' directly etc., it can get bogged down. > >Stuart > >------------------------------------------------------------------------------ >Learn how Oracle Real Application Clusters (RAC) One Node allows customers >to consolidate database storage, standardize their database environment, and, >should the need arise, upgrade to a full multi-node Oracle RAC database >without downtime or disruption >http://p.sf.net/sfu/oracle-sfdevnl >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Andrew.Fay at ajl.co.uk Thu Jan 6 15:53:31 2011 From: Andrew.Fay at ajl.co.uk (Andrew Fay) Date: Thu, 6 Jan 2011 14:53:31 -0000 Subject: NagVis Apache Help Message-ID: <73B0897B46A48E429822E662D4530F886A54F7@aber-exch-003.ajl.co.uk> hi, I have nagios3 and a copy of nagvis running on an ubuntu box.. when I click on a host in Nagvis I get : The requested URL /nagios/cgi-bin/status.cgi was not found on this server. http://server/nagios/cgi-bin/status.cgi?host=localhost it should be http://server/nagios3/cgi-bin/status.cgi?host=localhost Basically The CGI's work for standard Nagios but not for NagVis, so how can I tell NagVis where to look for the CGI's? This is the apache cfg for nagvis : # NagVis Apache2 sample configuration file # # ######################################################################## ##### Alias /nagvis "/etc/nagvis/share" Options FollowSymLinks AllowOverride None Order allow,deny Allow from all # To enable Nagios basic auth on NagVis use the following options # Just uncomment it. Maybe you need to adjust the path to the # Auth user file. # # If you use the NagVis internal auth mechanism based on the web # for you won't need this. # #AuthName "NagVis Access" #AuthType Basic #AuthUserFile /etc/nagios3/etc/htpasswd.users #Require valid-user # With installed and enabled mod_rewrite there are several redirections # available to fix deprecated and/or wrong urls. None of those rules is # mandatory to get NagVis working. RewriteEngine On RewriteBase /nagvis # Use mod_rewrite for old url redirection even if there are php files which # redirect the queries itselfs. In some cases the mod_rewrite redirect # is better than the php redirect. RewriteCond %{REQUEST_URI} ^/nagvis(/index\.php|/|)(\?.*|)$ RewriteRule ^(index\.php|)(\?.*|)$ /nagvis/frontend/nagvis-js/$1$2 [R=301,L] RewriteCond %{REQUEST_URI} ^/nagvis/config\.php.*$ RewriteRule ^config\.php(.*) /nagvis/frontend/wui/$1 [R=301,L] # Redirect old regular map links RewriteCond %{REQUEST_URI} ^/nagvis/frontend/nagvis-js RewriteCond %{QUERY_STRING} map=(.*) RewriteRule ^(.*)$ /nagvis/frontend/nagvis-js/index.php?mod=Map&act=view&show=%1 [R=301,L] # Redirect old wui map links RewriteCond %{REQUEST_URI} ^/nagvis/frontend/wui RewriteCond %{QUERY_STRING} map=(.*) RewriteRule ^(.*)$ /nagvis/frontend/wui/index.php?mod=Map&act=edit&show=%1 [R=301,L] # Redirect old rotation calls RewriteCond %{REQUEST_URI} ^/nagvis/frontend/nagvis-js RewriteCond %{QUERY_STRING} !mod RewriteCond %{QUERY_STRING} rotation=(.*) RewriteRule ^(.*)$ /nagvis/frontend/nagvis-js/index.php?mod=Rotation&act=view&show=%1 [R=301,L] Nagios apache config : # apache configuration for nagios 3.x # note to users of nagios 1.x and 2.x: # throughout this file are commented out sections which preserve # backwards compatibility with bookmarks/config for older nagios versios. # simply look for lines following "nagios 1.x:" and "nagios 2.x" comments. ScriptAlias /cgi-bin/nagios3 /usr/lib/cgi-bin/nagios3 ScriptAlias /nagios3/cgi-bin /usr/lib/cgi-bin/nagios3 # nagios 1.x: #ScriptAlias /cgi-bin/nagios /usr/lib/cgi-bin/nagios3 #ScriptAlias /nagios/cgi-bin /usr/lib/cgi-bin/nagios3 # nagios 2.x: #ScriptAlias /cgi-bin/nagios2 /usr/lib/cgi-bin/nagios3 #ScriptAlias /nagios2/cgi-bin /usr/lib/cgi-bin/nagios3 # Where the stylesheets (config files) reside Alias /nagios3/stylesheets /etc/nagios3/stylesheets # nagios 1.x: #Alias /nagios/stylesheets /etc/nagios3/stylesheets # nagios 2.x: #Alias /nagios2/stylesheets /etc/nagios3/stylesheets # Where the HTML pages live Alias /nagios3 /usr/share/nagios3/htdocs # nagios 2.x: #Alias /nagios2 /usr/share/nagios3/htdocs # nagios 1.x: #Alias /nagios /usr/share/nagios3/htdocs Options FollowSymLinks DirectoryIndex index.php AllowOverride AuthConfig Order Allow,Deny Allow From All AuthName "Nagios Access" AuthType Basic AuthUserFile /etc/nagios3/htpasswd.users # nagios 1.x: #AuthUserFile /etc/nagios/htpasswd.users require valid-user # Enable this ScriptAlias if you want to enable the grouplist patch. # See http://apan.sourceforge.net/download.html for more info # It allows you to see a clickable list of all hostgroups in the # left pane of the Nagios web interface # XXX This is not tested for nagios 2.x use at your own peril #ScriptAlias /nagios3/side.html /usr/lib/cgi-bin/nagios3/grouplist.cgi # nagios 1.x: #ScriptAlias /nagios/side.html /usr/lib/cgi-bin/nagios3/grouplist.cgi Thanks --------------------------- Andrew ------------------------------------------------------------------------------------------------ Disclaimer statement by ABERDEEN JOURNALS LTD - 6/1/2011 The information or images contained within this e-mail are of a confidential nature. If you are not the intended recipient please forward it to BadMail at ajl.co.uk and delete the message from your system. Opinions, conclusions and other information in this message that do not relate to the official business of Aberdeen Journals Ltd shall be understood as neither given nor endorsed by it. Aberdeen Journals Ltd, PO Box 43, Lang Stracht, Mastrick, Aberdeen. AB15 6DF. Tel: +44 (0)1224 690222 | Fax +44 (0)1224 685753 | Registered No: 15256 Scotland. PLEASE CONSIDER THE ENVIRONMENT BEFORE PRINTING THIS EMAIL ------------------------------------------------------------------------------------------------ o----------------------------------------------------------------------o This Email has been scanned for viruses by Aberdeen Journals' Outbound Email Security Systems. o----------------------------------------------------------------------o -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Jan 6 16:20:09 2011 From: tyarusso at nagios.com (Tony Yarusso) Date: Thu, 06 Jan 2011 09:20:09 -0600 Subject: NagVis Apache Help In-Reply-To: <73B0897B46A48E429822E662D4530F886A54F7@aber-exch-003.ajl.co.uk> References: <73B0897B46A48E429822E662D4530F886A54F7@aber-exch-003.ajl.co.uk> Message-ID: <4D25DDA9.2040804@nagios.com> It's actually not an Apache setting at all, but a NagVis one. In your nagvis.ini.php file, look for this section: ; absolute html NagVis cgi path ; htmlcgi="/nagios/cgi-bin" Uncomment the htmlcgi setting (remove the semicolon), and change the path to fit what you need. -- Tony Yarusso Technical Team ___ Nagios Enterprises, LLC Email: tyarusso at nagios.com Web: www.nagios.com ------------------------------------------------------------------------------ Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Andrew.Fay at ajl.co.uk Thu Jan 6 16:35:08 2011 From: Andrew.Fay at ajl.co.uk (Andrew Fay) Date: Thu, 6 Jan 2011 15:35:08 -0000 Subject: [SPAM] - Re: NagVis Apache Help - Email found in subject References: <73B0897B46A48E429822E662D4530F886A54F7@aber-exch-003.ajl.co.uk> <4D25DDA9.2040804@nagios.com> Message-ID: <73B0897B46A48E429822E662D4530F886A54F8@aber-exch-003.ajl.co.uk> Hi, Thanks for the quick response, I found it a few minutes after emailing, Cheers! --------------------------- Andrew -----Original Message----- From: Tony Yarusso [mailto:tyarusso at nagios.com] Sent: 06 January 2011 15:20 To: nagios-users at lists.sourceforge.net Subject: [SPAM] - Re: [Nagios-users] NagVis Apache Help - Email found in subject It's actually not an Apache setting at all, but a NagVis one. In your nagvis.ini.php file, look for this section: ; absolute html NagVis cgi path ; htmlcgi="/nagios/cgi-bin" Uncomment the htmlcgi setting (remove the semicolon), and change the path to fit what you need. -- Tony Yarusso Technical Team ___ Nagios Enterprises, LLC Email: tyarusso at nagios.com Web: www.nagios.com ------------------------------------------------------------------------ ------ Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null o----------------------------------------------------------------------o This Email has been scanned for viruses by Aberdeen Journals' Inbound Email Security Systems. o----------------------------------------------------------------------o ------------------------------------------------------------------------------------------------ Disclaimer statement by ABERDEEN JOURNALS LTD - 6/1/2011 The information or images contained within this e-mail are of a confidential nature. If you are not the intended recipient please forward it to BadMail at ajl.co.uk and delete the message from your system. Opinions, conclusions and other information in this message that do not relate to the official business of Aberdeen Journals Ltd shall be understood as neither given nor endorsed by it. Aberdeen Journals Ltd, PO Box 43, Lang Stracht, Mastrick, Aberdeen. AB15 6DF. Tel: +44 (0)1224 690222 | Fax +44 (0)1224 685753 | Registered No: 15256 Scotland. PLEASE CONSIDER THE ENVIRONMENT BEFORE PRINTING THIS EMAIL ------------------------------------------------------------------------------------------------ o----------------------------------------------------------------------o This Email has been scanned for viruses by Aberdeen Journals' Outbound Email Security Systems. o----------------------------------------------------------------------o ------------------------------------------------------------------------------ Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lcardona at buzz-media.com Thu Jan 6 19:53:49 2011 From: lcardona at buzz-media.com (Liz Cardona) Date: Thu, 6 Jan 2011 10:53:49 -0800 Subject: Check_load In-Reply-To: References: Message-ID: Hello, I am wondering if someone had an idea regarding the question below? Thanks, On 1/5/11 10:07 AM, "Liz Cardona" wrote: Hello, Ive been using nagios for quite sometime now and would like to enhance the way I do check_load. According to you documentation, when using the plugin check_load I can use a ?-r? option and it will give me the load average based on processes/number of cpus core. I cannot find a documentation explaining how nagios is doing this? I.e how is it checking the number of cpus. I've turned on debugging mode with no succes. I'm wondering if you can please put me in the correct direction or documentations of how to understand this in depth. Thank you very much, Liz Cardona liz at buzz-media.com 323 459 2833 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jpratt at norwich.edu Thu Jan 6 20:28:14 2011 From: jpratt at norwich.edu (James Pratt) Date: Thu, 6 Jan 2011 14:28:14 -0500 Subject: Check_load In-Reply-To: References: Message-ID: <369C2BA4DE2C8F4A88BC422AD06C96BD0E85F5@nuexchange.norwich.edu> You would have to know what OS you are on , and have a look at the configure.in file for the plugins, as that is how the CPU info is obtained ... (Just checked the source code, as I was curious about that as well)... check_load.c --- if (take_into_account_cpus == 1) { if ((numcpus = GET_NUMBER_OF_CPUS()) > 0) { la[0] = la[0] / numcpus; la[1] = la[1] / numcpus; la[2] = la[2] / numcpus; } } ------------------------------------------------------------------------ ------------------------------ common.h /* GET_NUMBER_OF_CPUS is a macro to return number of CPUs, if we can get that data. Use configure.in to test for various OS ways of getting that data Will return -1 if cannot get data */ #ifdef HAVE_SYSCONF__SC_NPROCESSORS_CONF #define GET_NUMBER_OF_CPUS() sysconf(_SC_NPROCESSORS_CONF) #else #define GET_NUMBER_OF_CPUS() -1 #endif ------------------------------------------------------------------------ ------------------------------ Cheers, Jamie From: Liz Cardona [mailto:lcardona at buzz-media.com] Sent: Thursday, January 06, 2011 1:54 PM To: Nagios Users List Subject: Re: [Nagios-users] Check_load Hello, I am wondering if someone had an idea regarding the question below? Thanks, On 1/5/11 10:07 AM, "Liz Cardona" wrote: Hello, Ive been using nagios for quite sometime now and would like to enhance the way I do check_load. According to you documentation, when using the plugin check_load I can use a "-r" option and it will give me the load average based on processes/number of cpus core. I cannot find a documentation explaining how nagios is doing this? I.e how is it checking the number of cpus. I've turned on debugging mode with no succes. I'm wondering if you can please put me in the correct direction or documentations of how to understand this in depth. Thank you very much, Liz Cardona liz at buzz-media.com 323 459 2833 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andy.graybeal at casanueva.com Thu Jan 6 20:32:42 2011 From: andy.graybeal at casanueva.com (Andy Graybeal) Date: Thu, 06 Jan 2011 14:32:42 -0500 Subject: Backing up Nagios on Ubuntu 10.04 In-Reply-To: References: <4D24B1A9.3000802@casanueva.com> <4D24B404.2030908@nagios.com> <4D24CE32.1030901@casanueva.com> Message-ID: <4D2618DA.2040400@casanueva.com> On 01/05/2011 05:39 PM, Max Schubert wrote: > While a live back up is definitely a good idea, if you start storing > your configuration tree in a version control system off server - CVS, > GIT, SVN, any other one you choose - then the back up issue on the > live server only becomes one of backing up retention.dat, which has > changes you / your users have made to the states of notifications, > flapping, etc from the CGIs or via the named pipe. > > - Max > Max, thank you for this information. I actually just learned of the version control technique for configuration files just recently. I am sad that I didn't know of this technique before. Thanks for your advice. -Andy ------------------------------------------------------------------------------ Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From david.ribeiro at altitudeinfra.fr Thu Jan 6 20:14:20 2011 From: david.ribeiro at altitudeinfra.fr (david ribeiro) Date: Thu, 6 Jan 2011 20:14:20 +0100 (CET) Subject: NagVis Apache Help In-Reply-To: <73B0897B46A48E429822E662D4530F886A54F7@aber-exch-003.ajl.co.uk> References: <73B0897B46A48E429822E662D4530F886A54F7@aber-exch-003.ajl.co.uk> Message-ID: <677494002.115804.1294341260774.JavaMail.root@zm-mbs01.altitudetelecom.fr> You need to modify the file /etc:nagvis/nagvis.ini.php Put this : ; path options [paths] ; absolute physical NagVis path base="/usr/share/nagvis/" ; absolute html NagVis path htmlbase="/nagios3/nagvis" ; absolute html NagVis cgi path htmlcgi="/nagios3/cgi-bin" David Ribeiro De: "Andrew Fay" ?: "Nagios Users List" Envoy?: Jeudi 6 Janvier 2011 15:53:31 Objet: [Nagios-users] NagVis Apache Help hi, I have nagios3 and a copy of nagvis running on an ubuntu box.. when I click on a host in Nagvis I get : The requested URL /nagios/cgi-bin/status.cgi was not found on this server. http://server/nagios/cgi-bin/status.cgi?host=localhost it should be http://server/nagios3/cgi-bin/status.cgi?host=localhost Basically The CGI's work for standard Nagios but not for NagVis, so how can I tell NagVis where to look for the CGI's? This is the apache cfg for nagvis : # NagVis Apache2 sample configuration file # # ############################################################################# Alias /nagvis "/etc/nagvis/share" Options FollowSymLinks AllowOverride None Order allow,deny Allow from all # To enable Nagios basic auth on NagVis use the following options # Just uncomment it. Maybe you need to adjust the path to the # Auth user file. # # If you use the NagVis internal auth mechanism based on the web # for you won't need this. # #AuthName "NagVis Access" #AuthType Basic #AuthUserFile /etc/nagios3/etc/htpasswd.users #Require valid-user # With installed and enabled mod_rewrite there are several redirections # available to fix deprecated and/or wrong urls. None of those rules is # mandatory to get NagVis working. RewriteEngine On RewriteBase /nagvis # Use mod_rewrite for old url redirection even if there are php files which # redirect the queries itselfs. In some cases the mod_rewrite redirect # is better than the php redirect. RewriteCond %{REQUEST_URI} ^/nagvis(/index\.php|/|)(\?.*|)$ RewriteRule ^(index\.php|)(\?.*|)$ /nagvis/frontend/nagvis-js/$1$2 [R=301,L] RewriteCond %{REQUEST_URI} ^/nagvis/config\.php.*$ RewriteRule ^config\.php(.*) /nagvis/frontend/wui/$1 [R=301,L] # Redirect old regular map links RewriteCond %{REQUEST_URI} ^/nagvis/frontend/nagvis-js RewriteCond %{QUERY_STRING} map=(.*) RewriteRule ^(.*)$ /nagvis/frontend/nagvis-js/index.php?mod=Map&act=view&show=%1 [R=301,L] # Redirect old wui map links RewriteCond %{REQUEST_URI} ^/nagvis/frontend/wui RewriteCond %{QUERY_STRING} map=(.*) RewriteRule ^(.*)$ /nagvis/frontend/wui/index.php?mod=Map&act=edit&show=%1 [R=301,L] # Redirect old rotation calls RewriteCond %{REQUEST_URI} ^/nagvis/frontend/nagvis-js RewriteCond %{QUERY_STRING} !mod RewriteCond %{QUERY_STRING} rotation=(.*) RewriteRule ^(.*)$ /nagvis/frontend/nagvis-js/index.php?mod=Rotation&act=view&show=%1 [R=301,L] Nagios apache config : # apache configuration for nagios 3.x # note to users of nagios 1.x and 2.x: #?? throughout this file are commented out sections which preserve #?? backwards compatibility with bookmarks/config for older nagios versios. #?? simply look for lines following "nagios 1.x:" and "nagios 2.x" comments. ScriptAlias /cgi-bin/nagios3 /usr/lib/cgi-bin/nagios3 ScriptAlias /nagios3/cgi-bin /usr/lib/cgi-bin/nagios3 # nagios 1.x: #ScriptAlias /cgi-bin/nagios /usr/lib/cgi-bin/nagios3 #ScriptAlias /nagios/cgi-bin /usr/lib/cgi-bin/nagios3 # nagios 2.x: #ScriptAlias /cgi-bin/nagios2 /usr/lib/cgi-bin/nagios3 #ScriptAlias /nagios2/cgi-bin /usr/lib/cgi-bin/nagios3 # Where the stylesheets (config files) reside Alias /nagios3/stylesheets /etc/nagios3/stylesheets # nagios 1.x: #Alias /nagios/stylesheets /etc/nagios3/stylesheets # nagios 2.x: #Alias /nagios2/stylesheets /etc/nagios3/stylesheets # Where the HTML pages live Alias /nagios3 /usr/share/nagios3/htdocs # nagios 2.x: #Alias /nagios2 /usr/share/nagios3/htdocs # nagios 1.x: #Alias /nagios /usr/share/nagios3/htdocs Options FollowSymLinks DirectoryIndex index.php AllowOverride AuthConfig Order Allow,Deny Allow From All AuthName "Nagios Access" AuthType Basic AuthUserFile /etc/nagios3/htpasswd.users # nagios 1.x: #AuthUserFile /etc/nagios/htpasswd.users require valid-user # Enable this ScriptAlias if you want to enable the grouplist patch. # See http://apan.sourceforge.net/download.html for more info # It allows you to see a clickable list of all hostgroups in the # left pane of the Nagios web interface # XXX This is not tested for nagios 2.x use at your own peril #ScriptAlias /nagios3/side.html /usr/lib/cgi-bin/nagios3/grouplist.cgi # nagios 1.x: #ScriptAlias /nagios/side.html /usr/lib/cgi-bin/nagios3/grouplist.cgi Thanks --------------------------- Andrew Disclaimer statement by ABERDEEN JOURNALS LTD - 6/1/2011 The information or images contained within this e-mail are of a confidential nature. If you are not the intended recipient please forward it to BadMail at ajl.co.uk and delete the message from your system. Opinions, conclusions and other information in this message that do not relate to the official business of Aberdeen Journals Ltd shall be understood as neither given nor endorsed by it. Aberdeen Journals Ltd, PO Box 43, Lang Stracht, Mastrick, Aberdeen. AB15 6DF. Tel: +44 (0)1224 690222 | Fax +44 (0)1224 685753 | Registered No: 15256 Scotland. PLEASE CONSIDER THE ENVIRONMENT BEFORE PRINTING THIS EMAIL o----------------------------------------------------------------------o This Email has been scanned for viruses by Aberdeen Journals' Outbound Email Security Systems. o----------------------------------------------------------------------o ------------------------------------------------------------------------------ Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null Ce message et toutes les pieces jointes (ci-apres le "message" ) sont confidentiels et etablis a l'intention exclusive de ses destinataires. Toute utilisation de ce message non conforme a sa destination, toute diffusion ou toute publication, totale ou partielle, est interdite, sauf autorisation expresse. Si vous recevez ce message par erreur, merci de le detruire sans en conserver de copie et d'en avertir immediatement l'expediteur. Internet ne permettant pas de garantir l'integrite de ce message, AltitudeInfrastructure decline toute responsabilite au titre de ce message s'il a ete modifie, altere, deforme ou falsifie. This message and any attachments (the "message") are confidential and intended solely for the addressees. Any use not in accord with its purpose, any dissemination or disclosure, either whole or partial, is prohibited except formal approval. If you receive this message in error, please delete it without storing any evidence and immediately notify the sender. Internet can not guarantee the integrity of this message, neither AltitudeInfrastructure shall be liable for the message if modified, altered, changed or falsified. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Jan 6 20:44:08 2011 From: maxhetrick at verizon.net (Max Hetrick) Date: Thu, 06 Jan 2011 14:44:08 -0500 Subject: Backing up Nagios on Ubuntu 10.04 In-Reply-To: References: <4D24B1A9.3000802@casanueva.com> <4D24B404.2030908@nagios.com> <4D24CE32.1030901@casanueva.com> Message-ID: <4D261B88.9080204@verizon.net> On 01/05/2011 05:39 PM, Max Schubert wrote: > While a live back up is definitely a good idea, if you start storing > your configuration tree in a version control system off server - CVS, > GIT, SVN, any other one you choose - then the back up issue on the > live server only becomes one of backing up retention.dat, which has > changes you / your users have made to the states of notifications, > flapping, etc from the CGIs or via the named pipe. That's what we do at my employer, that is use SVN for the Nagios configuration files. I still backup all data off-site for backup purposes, though. Where SVN comes into play for us is when every change has been made for Nagios, there is a comment on the commit. This allows us to easily navigate back knowing what changes were made, by whom, and what the date was when the change occurred to the configs. I'd still opt for backup of all the system files off-site, however, and depending on your company, this may be policy for disaster recovery anyways. But SVN can also serve as backup too. You can never have too many, right. :) Regards, Max ------------------------------------------------------------------------------ Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Jan 7 01:02:32 2011 From: ihab24 at hotmail.com (Ihab Samara) Date: Fri, 7 Jan 2011 02:02:32 +0200 Subject: Windows system events In-Reply-To: <677494002.115804.1294341260774.JavaMail.root@zm-mbs01.altitudetelecom.fr> References: <73B0897B46A48E429822E662D4530F886A54F7@aber-exch-003.ajl.co.uk>, <677494002.115804.1294341260774.JavaMail.root@zm-mbs01.altitudetelecom.fr> Message-ID: Hi All, What are the best plugin to monitor specific system event on a windows machine? I prefer to use a plugin that doesnt require any installations on the windows machine. Thank you Date: Thu, 6 Jan 2011 20:14:20 +0100 From: david.ribeiro at altitudeinfra.fr To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] NagVis Apache Help You need to modify the file /etc:nagvis/nagvis.ini.php Put this : ; path options [paths] ; absolute physical NagVis path base="/usr/share/nagvis/" ; absolute html NagVis path htmlbase="/nagios3/nagvis" ; absolute html NagVis cgi path htmlcgi="/nagios3/cgi-bin" David Ribeiro De: "Andrew Fay" ?: "Nagios Users List" Envoy?: Jeudi 6 Janvier 2011 15:53:31 Objet: [Nagios-users] NagVis Apache Help hi, I have nagios3 and a copy of nagvis running on an ubuntu box.. when I click on a host in Nagvis I get : The requested URL /nagios/cgi-bin/status.cgi was not found on this server. http://server/nagios/cgi-bin/status.cgi?host=localhost it should be http://server/nagios3/cgi-bin/status.cgi?host=localhost Basically The CGI's work for standard Nagios but not for NagVis, so how can I tell NagVis where to look for the CGI's? This is the apache cfg for nagvis : # NagVis Apache2 sample configuration file## ############################################################################# Alias /nagvis "/etc/nagvis/share" Options FollowSymLinks AllowOverride None Order allow,deny Allow from all # To enable Nagios basic auth on NagVis use the following options # Just uncomment it. Maybe you need to adjust the path to the # Auth user file. # # If you use the NagVis internal auth mechanism based on the web # for you won't need this. # #AuthName "NagVis Access" #AuthType Basic #AuthUserFile /etc/nagios3/etc/htpasswd.users #Require valid-user # With installed and enabled mod_rewrite there are several redirections # available to fix deprecated and/or wrong urls. None of those rules is # mandatory to get NagVis working. RewriteEngine On RewriteBase /nagvis # Use mod_rewrite for old url redirection even if there are php files which # redirect the queries itselfs. In some cases the mod_rewrite redirect # is better than the php redirect. RewriteCond %{REQUEST_URI} ^/nagvis(/index\.php|/|)(\?.*|)$ RewriteRule ^(index\.php|)(\?.*|)$ /nagvis/frontend/nagvis-js/$1$2 [R=301,L] RewriteCond %{REQUEST_URI} ^/nagvis/config\.php.*$ RewriteRule ^config\.php(.*) /nagvis/frontend/wui/$1 [R=301,L] # Redirect old regular map links RewriteCond %{REQUEST_URI} ^/nagvis/frontend/nagvis-js RewriteCond %{QUERY_STRING} map=(.*) RewriteRule ^(.*)$ /nagvis/frontend/nagvis-js/index.php?mod=Map&act=view&show=%1 [R=301,L] # Redirect old wui map links RewriteCond %{REQUEST_URI} ^/nagvis/frontend/wui RewriteCond %{QUERY_STRING} map=(.*) RewriteRule ^(.*)$ /nagvis/frontend/wui/index.php?mod=Map&act=edit&show=%1 [R=301,L] # Redirect old rotation calls RewriteCond %{REQUEST_URI} ^/nagvis/frontend/nagvis-js RewriteCond %{QUERY_STRING} !mod RewriteCond %{QUERY_STRING} rotation=(.*) RewriteRule ^(.*)$ /nagvis/frontend/nagvis-js/index.php?mod=Rotation&act=view&show=%1 [R=301,L] Nagios apache config : # apache configuration for nagios 3.x# note to users of nagios 1.x and 2.x:# throughout this file are commented out sections which preserve# backwards compatibility with bookmarks/config for older nagios versios.# simply look for lines following "nagios 1.x:" and "nagios 2.x" comments. ScriptAlias /cgi-bin/nagios3 /usr/lib/cgi-bin/nagios3ScriptAlias /nagios3/cgi-bin /usr/lib/cgi-bin/nagios3# nagios 1.x:#ScriptAlias /cgi-bin/nagios /usr/lib/cgi-bin/nagios3#ScriptAlias /nagios/cgi-bin /usr/lib/cgi-bin/nagios3# nagios 2.x: #ScriptAlias /cgi-bin/nagios2 /usr/lib/cgi-bin/nagios3#ScriptAlias /nagios2/cgi-bin /usr/lib/cgi-bin/nagios3 # Where the stylesheets (config files) resideAlias /nagios3/stylesheets /etc/nagios3/stylesheets# nagios 1.x:#Alias /nagios/stylesheets /etc/nagios3/stylesheets# nagios 2.x:#Alias /nagios2/stylesheets /etc/nagios3/stylesheets # Where the HTML pages liveAlias /nagios3 /usr/share/nagios3/htdocs# nagios 2.x: #Alias /nagios2 /usr/share/nagios3/htdocs# nagios 1.x:#Alias /nagios /usr/share/nagios3/htdocs Options FollowSymLinks DirectoryIndex index.php AllowOverride AuthConfig Order Allow,Deny Allow From All AuthName "Nagios Access" AuthType Basic AuthUserFile /etc/nagios3/htpasswd.users # nagios 1.x: #AuthUserFile /etc/nagios/htpasswd.users require valid-user # Enable this ScriptAlias if you want to enable the grouplist patch.# See http://apan.sourceforge.net/download.html for more info# It allows you to see a clickable list of all hostgroups in the# left pane of the Nagios web interface# XXX This is not tested for nagios 2.x use at your own peril#ScriptAlias /nagios3/side.html /usr/lib/cgi-bin/nagios3/grouplist.cgi# nagios 1.x:#ScriptAlias /nagios/side.html /usr/lib/cgi-bin/nagios3/grouplist.cgi Thanks --------------------------- Andrew Disclaimer statement by ABERDEEN JOURNALS LTD - 6/1/2011 The information or images contained within this e-mail are of a confidential nature. If you are not the intended recipient please forward it to BadMail at ajl.co.uk and delete the message from your system. Opinions, conclusions and other information in this message that do not relate to the official business of Aberdeen Journals Ltd shall be understood as neither given nor endorsed by it. Aberdeen Journals Ltd, PO Box 43, Lang Stracht, Mastrick, Aberdeen. AB15 6DF. Tel: +44 (0)1224 690222 | Fax +44 (0)1224 685753 | Registered No: 15256 Scotland. PLEASE CONSIDER THE ENVIRONMENT BEFORE PRINTING THIS EMAIL o----------------------------------------------------------------------o This Email has been scanned for viruses by Aberdeen Journals' Outbound Email Security Systems. o----------------------------------------------------------------------o ------------------------------------------------------------------------------ Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null Ce message et toutes les pieces jointes (ci-apres le "message" ) sont confidentiels et etablis a l'intention exclusive de ses destinataires. Toute utilisation de ce message non conforme a sa destination, toute diffusion ou toute publication, totale ou partielle, est interdite, sauf autorisation expresse. Si vous recevez ce message par erreur, merci de le detruire sans en conserver de copie et d'en avertir immediatement l'expediteur. Internet ne permettant pas de garantir l'integrite de ce message, AltitudeInfrastructure decline toute responsabilite au titre de ce message s'il a ete modifie, altere, deforme ou falsifie. This message and any attachments (the "message") are confidential and intended solely for the addresses. Any use not in accord with its purpose, any dissemination or disclosure, either whole or partial, is prohibited except formal approval. If you receive this message in error, please delete it without storing any evidence and immediately notify the sender. Internet can not guarantee the integrity of this message, neither AltitudeInfrastructure shall be liable for the message if modified, altered, changed or falsified. ------------------------------------------------------------------------------ Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------------ Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cjones at exelixis.com Fri Jan 7 01:56:39 2011 From: cjones at exelixis.com (Clyde Jones) Date: Thu, 6 Jan 2011 16:56:39 -0800 Subject: Nagiosgraper In-Reply-To: References: , , , Message-ID: <5F171A4332A7E147B1537EA714461E0102B2A415@EXCL01.exelixis.com> Rikard Dahlberg wrote: > Right, pnp4nagioS seems slicker. > > However, after i've installed it, i got this error , did you > get that also? If so, how did you work around it? : " > > > PNP Error > > Please check the Kohana documentation for information about > the following error. > application/models/data.php [104]: > perfdata directory "/usr/local/pnp4nagios/var/perfdata/" is > empty. Please check your Nagios config. Read FAQ online > " > > > /Rik > > Hi Check to make sure process_perfdata.pl is finding your perfomance data. I was getting that error until I manually ran process_perfdata.pl with log level set to 2 (from etc/pnp/process_perfdata.cfg). I saw that process_perfdata.cfg was not looking in the right places for the process data (I have nagios installed to /opt/nagios instead of /usr/local/nagios). I symlinked /opt/nagios/var to /usr/local/nagios/var (until I can figure out what is going on), and my data appeared. Pnp4nagios is a *LOT* better than nagiosgrapher -- Clyde Jones R&D Informatics Senior Applications Engineer cjones at exelixis.com Exelixis Inc 650 837 7085 Office 650 228 4699 Cell This email (including any attachments) may contain material that is confidential and privileged and is for the sole use of the intended recipient. Any review, reliance or distribution by others or forwarding without express permission is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies. Exelixis, Inc. reserves the right, to the extent and under circumstances permitted by applicable law, to retain, monitor and intercept e-mail messages to and from its systems. ------------------------------------------------------------------------------ Gaining the trust of online customers is vital for the success of any company that requires sensitive data to be transmitted over the Web. Learn how to best implement a security strategy that keeps consumers' information secure and instills the confidence they need to proceed with transactions. http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From yuehung.liu at gmail.com Fri Jan 7 05:09:06 2011 From: yuehung.liu at gmail.com (Yueh-Hung Liu) Date: Fri, 7 Jan 2011 12:09:06 +0800 Subject: Windows system events In-Reply-To: References: <73B0897B46A48E429822E662D4530F886A54F7@aber-exch-003.ajl.co.uk> <677494002.115804.1294341260774.JavaMail.root@zm-mbs01.altitudetelecom.fr> Message-ID: you write your own, that should best suit for you and won't need any installation. On Fri, Jan 7, 2011 at 8:02 AM, Ihab Samara wrote: > Hi All, > > What are the best plugin to monitor specific system event on a windows > machine? > I prefer to use a plugin that doesnt require any installations on the > windows machine. > Thank you > > ________________________________ > Date: Thu, 6 Jan 2011 20:14:20 +0100 > From: david.ribeiro at altitudeinfra.fr > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] NagVis Apache Help > > You need to modify the file /etc:nagvis/nagvis.ini.php > > Put this : > > ; path options > [paths] > ; absolute physical NagVis path > base="/usr/share/nagvis/" > ; absolute html NagVis path > htmlbase="/nagios3/nagvis" > ; absolute html NagVis cgi path > htmlcgi="/nagios3/cgi-bin" > > David Ribeiro > > ________________________________ > De: "Andrew Fay" > ?: "Nagios Users List" > Envoy?: Jeudi 6 Janvier 2011 15:53:31 > Objet: [Nagios-users] NagVis Apache Help > > hi, > I have nagios3 and a copy of nagvis running on an ubuntu box.. when I click > on a host in Nagvis I get : > The requested URL /nagios/cgi-bin/status.cgi was not found on this server. > http://server/nagios/cgi-bin/status.cgi?host=localhost > it should be > http://server/nagios3/cgi-bin/status.cgi?host=localhost > Basically The CGI's work for standard Nagios but not for NagVis, so how can > I tell NagVis where to look for the CGI's? > > This is the apache cfg for nagvis : > > # NagVis Apache2 sample configuration file > > # > > # > ############################################################################# > > > > > > Alias /nagvis "/etc/nagvis/share" > > > > > > ? Options FollowSymLinks > > ? AllowOverride None > > ? Order allow,deny > > ? Allow from all > > > > ? # To enable Nagios basic auth on NagVis use the following options > > ? # Just uncomment it. Maybe you need to adjust the path to the > > ? # Auth user file. > > ? # > > ? # If you use the NagVis internal auth mechanism based on the web > > ? # for you won't need this. > > ? # > > ? #AuthName "NagVis Access" > > ? #AuthType Basic > > ? #AuthUserFile /etc/nagios3/etc/htpasswd.users > > ? #Require valid-user > > > > ? # With installed and enabled mod_rewrite there are several redirections > > ? # available to fix deprecated and/or wrong urls. None of those rules is > > ? # mandatory to get NagVis working. > > ? > > ??? RewriteEngine On > > ??? RewriteBase /nagvis > > > > ??? # Use mod_rewrite for old url redirection even if there are php files > which > > ??? # redirect the queries itselfs. In some cases the mod_rewrite redirect > > ??? # is better than the php redirect. > > ??? RewriteCond %{REQUEST_URI} ^/nagvis(/index\.php|/|)(\?.*|)$ > > ??? RewriteRule ^(index\.php|)(\?.*|)$ /nagvis/frontend/nagvis-js/$1$2 > [R=301,L] > > ??? RewriteCond %{REQUEST_URI} ^/nagvis/config\.php.*$ > > ??? RewriteRule ^config\.php(.*) /nagvis/frontend/wui/$1 [R=301,L] > > > > ??? # Redirect old regular map links > > ??? RewriteCond %{REQUEST_URI} ^/nagvis/frontend/nagvis-js > > ??? RewriteCond %{QUERY_STRING} map=(.*) > > ??? RewriteRule ^(.*)$ > /nagvis/frontend/nagvis-js/index.php?mod=Map&act=view&show=%1 [R=301,L] > > > > ??? # Redirect old wui map links > > ??? RewriteCond %{REQUEST_URI} ^/nagvis/frontend/wui > > ??? RewriteCond %{QUERY_STRING} map=(.*) > > ??? RewriteRule ^(.*)$ > /nagvis/frontend/wui/index.php?mod=Map&act=edit&show=%1 [R=301,L] > > > > ??? # Redirect old rotation calls > > ??? RewriteCond %{REQUEST_URI} ^/nagvis/frontend/nagvis-js > > ??? RewriteCond %{QUERY_STRING} !mod > > ??? RewriteCond %{QUERY_STRING} rotation=(.*) > > ??? RewriteRule ^(.*)$ > /nagvis/frontend/nagvis-js/index.php?mod=Rotation&act=view&show=%1 [R=301,L] > > ? > > > > Nagios apache config : > > # apache configuration for nagios 3.x > > # note to users of nagios 1.x and 2.x: > > #?? throughout this file are commented out sections which preserve > > #?? backwards compatibility with bookmarks/config for older nagios versios. > > #?? simply look for lines following "nagios 1.x:" and "nagios 2.x" comments. > > > > ScriptAlias /cgi-bin/nagios3 /usr/lib/cgi-bin/nagios3 > > ScriptAlias /nagios3/cgi-bin /usr/lib/cgi-bin/nagios3 > > # nagios 1.x: > > #ScriptAlias /cgi-bin/nagios /usr/lib/cgi-bin/nagios3 > > #ScriptAlias /nagios/cgi-bin /usr/lib/cgi-bin/nagios3 > > # nagios 2.x: > > #ScriptAlias /cgi-bin/nagios2 /usr/lib/cgi-bin/nagios3 > > #ScriptAlias /nagios2/cgi-bin /usr/lib/cgi-bin/nagios3 > > > > # Where the stylesheets (config files) reside > > Alias /nagios3/stylesheets /etc/nagios3/stylesheets > > # nagios 1.x: > > #Alias /nagios/stylesheets /etc/nagios3/stylesheets > > # nagios 2.x: > > #Alias /nagios2/stylesheets /etc/nagios3/stylesheets > > > > # Where the HTML pages live > > Alias /nagios3 /usr/share/nagios3/htdocs > > # nagios 2.x: > > #Alias /nagios2 /usr/share/nagios3/htdocs > > # nagios 1.x: > > #Alias /nagios /usr/share/nagios3/htdocs > > > > (/usr/share/nagios3/htdocs|/usr/lib/cgi-bin/nagios3|/etc/nagios3/stylesheets)> > > ??? Options FollowSymLinks > > > > ??? DirectoryIndex index.php > > > > ??? AllowOverride AuthConfig > > ??? Order Allow,Deny > > ??? Allow From All > > > > ??? AuthName "Nagios Access" > > ??? AuthType Basic > > ??? AuthUserFile /etc/nagios3/htpasswd.users > > ??? # nagios 1.x: > > ??? #AuthUserFile /etc/nagios/htpasswd.users > > ??? require valid-user > > > > > > # Enable this ScriptAlias if you want to enable the grouplist patch. > > # See http://apan.sourceforge.net/download.html for more info > > # It allows you to see a clickable list of all hostgroups in the > > # left pane of the Nagios web interface > > # XXX This is not tested for nagios 2.x use at your own peril > > #ScriptAlias /nagios3/side.html /usr/lib/cgi-bin/nagios3/grouplist.cgi > > # nagios 1.x: > > #ScriptAlias /nagios/side.html /usr/lib/cgi-bin/nagios3/grouplist.cgi > > Thanks > > > > > > --------------------------- > > > > Andrew > > > > ________________________________ > Disclaimer statement by ABERDEEN JOURNALS LTD - 6/1/2011 > The information or images contained within this e-mail are of a confidential > nature. If you are > not the intended recipient please forward it to BadMail at ajl.co.uk and delete > the message > from your system. > Opinions, conclusions and other information in this message that do not > relate to the official > business of Aberdeen Journals Ltd shall be understood as neither given nor > endorsed by it. > > Aberdeen Journals Ltd, PO Box 43, Lang Stracht, Mastrick, Aberdeen. AB15 > 6DF. > Tel: +44 (0)1224 690222? | Fax +44 (0)1224 685753 | Registered No: 15256 > Scotland. > > PLEASE CONSIDER THE ENVIRONMENT BEFORE PRINTING THIS EMAIL > > ________________________________ > > > > > > o----------------------------------------------------------------------o > This Email has been scanned for viruses by Aberdeen > Journals' Outbound Email Security Systems. > o----------------------------------------------------------------------o > > > > ------------------------------------------------------------------------------ > Learn how Oracle Real Application Clusters (RAC) One Node allows customers > to consolidate database storage, standardize their database environment, > and, > should the need arise, upgrade to a full multi-node Oracle RAC database > without downtime or disruption > http://p.sf.net/sfu/oracle-sfdevnl > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > Ce message et toutes les pieces jointes (ci-apres le "message" ) sont > confidentiels et etablis a l'intention exclusive de ses destinataires. Toute > utilisation de ce message non conforme a sa destination, toute diffusion ou > toute publication, totale ou partielle, est interdite, sauf autorisation > expresse. Si vous recevez ce message par erreur, merci de le detruire sans > en conserver de copie et d'en avertir immediatement l'expediteur. Internet > ne permettant pas de garantir l'integrite de ce message, > AltitudeInfrastructure decline toute responsabilite au titre de ce message > s'il a ete modifie, altere, deforme ou falsifie. > This message and any attachments (the "message") are confidential and > intended solely for the addresses. Any use not in accord with its purpose, > any dissemination or disclosure, either whole or partial, is prohibited > except formal approval. If you receive this message in error, please delete > it without storing any evidence and immediately notify the sender. Internet > can not guarantee the integrity of this message, neither > AltitudeInfrastructure shall be liable for the message if modified, altered, > changed or falsified. > > > ------------------------------------------------------------------------------ > Learn how Oracle Real Application Clusters (RAC) One Node allows customers > to consolidate database storage, standardize their database environment, > and, should the need arise, upgrade to a full multi-node Oracle RAC database > without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl > _______________________________________________ Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include > Nagios version, plugin version (-v) and OS when reporting any issue. ::: > Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ > Learn how Oracle Real Application Clusters (RAC) One Node allows customers > to consolidate database storage, standardize their database environment, > and, > should the need arise, upgrade to a full multi-node Oracle RAC database > without downtime or disruption > http://p.sf.net/sfu/oracle-sfdevnl > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Gaining the trust of online customers is vital for the success of any company that requires sensitive data to be transmitted over the Web. Learn how to best implement a security strategy that keeps consumers' information secure and instills the confidence they need to proceed with transactions. http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From glenn.bilocca at sprachcaffe.com Fri Jan 7 07:52:45 2011 From: glenn.bilocca at sprachcaffe.com (Glenn Bilocca) Date: Fri, 7 Jan 2011 07:52:45 +0100 Subject: Plugins Message-ID: <3058.64698389104$1294384276@news.gmane.org> Hi all Nagios users, I've installed and configured the basic Nagios on a linux server and I'm quite pleased by the monitoring functions it has. As you can see I'm quite a newbie for such program but can you tell me if there any plugins or other functions which I can add to safeguard and monitor more my networking system? Thanks and Regards Glenn -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Gaining the trust of online customers is vital for the success of any company that requires sensitive data to be transmitted over the Web. Learn how to best implement a security strategy that keeps consumers' information secure and instills the confidence they need to proceed with transactions. http://p.sf.net/sfu/oracle-sfdevnl -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Fri Jan 7 09:01:18 2011 From: jim at jimavery.me.uk (Jim Avery) Date: Fri, 7 Jan 2011 08:01:18 +0000 Subject: Plugins In-Reply-To: <4501960832399349836@unknownmsgid> References: <4501960832399349836@unknownmsgid> Message-ID: On 7 January 2011 06:52, Glenn Bilocca wrote: > Hi all Nagios users, > > I?ve installed and configured the basic Nagios on a linux server and I?m > quite pleased by the monitoring functions it has. As you can see I?m quite a > newbie for such program but can you tell me if there any plugins or other > functions which I can add to safeguard and monitor more my networking > system? Some useful plugins for monitoring network equipment cant be found at: http://nagios.manubulon.com/ To make use of performance data gathered by Nagios, use PNP4Nagios 0.6: http://docs.pnp4nagios.org/start You might also want to receive SNMP traps and alert on them in Nagios. There are various ways people do this. One of the easiest is to use NagTrap: http://www.nagtrap.org/doku.php/en:start hth, Jim ------------------------------------------------------------------------------ Gaining the trust of online customers is vital for the success of any company that requires sensitive data to be transmitted over the Web. Learn how to best implement a security strategy that keeps consumers' information secure and instills the confidence they need to proceed with transactions. http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fj6573ez at aa.jp.fujitsu.com Fri Jan 7 08:54:49 2011 From: fj6573ez at aa.jp.fujitsu.com (=?ISO-2022-JP?B?GyRCPyVFRCEhQC5IdBsoQg==?=) Date: Fri, 07 Jan 2011 16:54:49 +0900 Subject: About the process of Nagios Message-ID: <4D26C6C9.2030604@aa.jp.fujitsu.com> Hello all. I would like to ask a question regarding to the behavior of Nagios check. Delay has occurred in processing of Naigos check. When external command processing occurs, what does internal processing become? Is internal processing after external processing execution performed? External Command{cacti ? Nagios(Passive services)} ? Internal processing{ Nagios(Active service)} Please let me know about processing of Nagios. Thanks, Masataka Oda -- ------------------------------------------------------------ FUJITSU SOCIAL SCIENCE LABORATORY LIMITED(FUJITSU SSL) System Infrastructure Development Department Telecom Sstems Business Group 2 ?Masataka Oda Phone ?044-739-1570 E-Mail?fj6573ez at aa.jp.fujitsu.com ------------------------------------------------------------ ------------------------------------------------------------------------------ Gaining the trust of online customers is vital for the success of any company that requires sensitive data to be transmitted over the Web. Learn how to best implement a security strategy that keeps consumers' information secure and instills the confidence they need to proceed with transactions. http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From polifemos at conedsolutions.com Fri Jan 7 16:10:04 2011 From: polifemos at conedsolutions.com (Polifemo, Salvatore) Date: Fri, 7 Jan 2011 10:10:04 -0500 Subject: Windows system events In-Reply-To: References: <73B0897B46A48E429822E662D4530F886A54F7@aber-exch-003.ajl.co.uk><677494002.115804.1294341260774.JavaMail.root@zm-mbs01.altitudetelecom.fr> Message-ID: <5BE7D0404F28DC44B780100927AA4CB018664CAF@whplex3.int.cecdes.net> Either use SNMP or WMI. SNMP Is great if the MIB supplies the information you are looking for, WMI has to run on a windows machine and you need to learn the scripting language. We have standardized on NSClient++ ( included in the standard server build process ) and have not had any issues. Salvatore Polifemo Sr. Systems Security Specialist ConEdison Solutions 100 Summit Lake Drive Valhalla, NY 10595 -----Original Message----- From: Yueh-Hung Liu [mailto:yuehung.liu at gmail.com] Sent: Thursday, January 06, 2011 11:09 PM To: Nagios Users List Subject: Re: [Nagios-users] Windows system events you write your own, that should best suit for you and won't need any installation. On Fri, Jan 7, 2011 at 8:02 AM, Ihab Samara wrote: > Hi All, > > What are the best plugin to monitor specific system event on a windows > machine? > I prefer to use a plugin that doesnt require any installations on the > windows machine. > Thank you > > ________________________________ > Date: Thu, 6 Jan 2011 20:14:20 +0100 > From: david.ribeiro at altitudeinfra.fr > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] NagVis Apache Help > > You need to modify the file /etc:nagvis/nagvis.ini.php > > Put this : > > ; path options > [paths] > ; absolute physical NagVis path > base="/usr/share/nagvis/" > ; absolute html NagVis path > htmlbase="/nagios3/nagvis" > ; absolute html NagVis cgi path > htmlcgi="/nagios3/cgi-bin" > > David Ribeiro > > ________________________________ > De: "Andrew Fay" > ?: "Nagios Users List" > Envoy?: Jeudi 6 Janvier 2011 15:53:31 > Objet: [Nagios-users] NagVis Apache Help > > hi, > I have nagios3 and a copy of nagvis running on an ubuntu box.. when I click > on a host in Nagvis I get : > The requested URL /nagios/cgi-bin/status.cgi was not found on this server. > http://server/nagios/cgi-bin/status.cgi?host=localhost > it should be > http://server/nagios3/cgi-bin/status.cgi?host=localhost > Basically The CGI's work for standard Nagios but not for NagVis, so how can > I tell NagVis where to look for the CGI's? > > This is the apache cfg for nagvis : > > # NagVis Apache2 sample configuration file > > # > > # > ############################################################################# > > > > > > Alias /nagvis "/etc/nagvis/share" > > > > > > ? Options FollowSymLinks > > ? AllowOverride None > > ? Order allow,deny > > ? Allow from all > > > > ? # To enable Nagios basic auth on NagVis use the following options > > ? # Just uncomment it. Maybe you need to adjust the path to the > > ? # Auth user file. > > ? # > > ? # If you use the NagVis internal auth mechanism based on the web > > ? # for you won't need this. > > ? # > > ? #AuthName "NagVis Access" > > ? #AuthType Basic > > ? #AuthUserFile /etc/nagios3/etc/htpasswd.users > > ? #Require valid-user > > > > ? # With installed and enabled mod_rewrite there are several redirections > > ? # available to fix deprecated and/or wrong urls. None of those rules is > > ? # mandatory to get NagVis working. > > ? > > ??? RewriteEngine On > > ??? RewriteBase /nagvis > > > > ??? # Use mod_rewrite for old url redirection even if there are php files > which > > ??? # redirect the queries itselfs. In some cases the mod_rewrite redirect > > ??? # is better than the php redirect. > > ??? RewriteCond %{REQUEST_URI} ^/nagvis(/index\.php|/|)(\?.*|)$ > > ??? RewriteRule ^(index\.php|)(\?.*|)$ /nagvis/frontend/nagvis-js/$1$2 > [R=301,L] > > ??? RewriteCond %{REQUEST_URI} ^/nagvis/config\.php.*$ > > ??? RewriteRule ^config\.php(.*) /nagvis/frontend/wui/$1 [R=301,L] > > > > ??? # Redirect old regular map links > > ??? RewriteCond %{REQUEST_URI} ^/nagvis/frontend/nagvis-js > > ??? RewriteCond %{QUERY_STRING} map=(.*) > > ??? RewriteRule ^(.*)$ > /nagvis/frontend/nagvis-js/index.php?mod=Map&act=view&show=%1 [R=301,L] > > > > ??? # Redirect old wui map links > > ??? RewriteCond %{REQUEST_URI} ^/nagvis/frontend/wui > > ??? RewriteCond %{QUERY_STRING} map=(.*) > > ??? RewriteRule ^(.*)$ > /nagvis/frontend/wui/index.php?mod=Map&act=edit&show=%1 [R=301,L] > > > > ??? # Redirect old rotation calls > > ??? RewriteCond %{REQUEST_URI} ^/nagvis/frontend/nagvis-js > > ??? RewriteCond %{QUERY_STRING} !mod > > ??? RewriteCond %{QUERY_STRING} rotation=(.*) > > ??? RewriteRule ^(.*)$ > /nagvis/frontend/nagvis-js/index.php?mod=Rotation&act=view&show=%1 [R=301,L] > > ? > > > > Nagios apache config : > > # apache configuration for nagios 3.x > > # note to users of nagios 1.x and 2.x: > > #?? throughout this file are commented out sections which preserve > > #?? backwards compatibility with bookmarks/config for older nagios versios. > > #?? simply look for lines following "nagios 1.x:" and "nagios 2.x" comments. > > > > ScriptAlias /cgi-bin/nagios3 /usr/lib/cgi-bin/nagios3 > > ScriptAlias /nagios3/cgi-bin /usr/lib/cgi-bin/nagios3 > > # nagios 1.x: > > #ScriptAlias /cgi-bin/nagios /usr/lib/cgi-bin/nagios3 > > #ScriptAlias /nagios/cgi-bin /usr/lib/cgi-bin/nagios3 > > # nagios 2.x: > > #ScriptAlias /cgi-bin/nagios2 /usr/lib/cgi-bin/nagios3 > > #ScriptAlias /nagios2/cgi-bin /usr/lib/cgi-bin/nagios3 > > > > # Where the stylesheets (config files) reside > > Alias /nagios3/stylesheets /etc/nagios3/stylesheets > > # nagios 1.x: > > #Alias /nagios/stylesheets /etc/nagios3/stylesheets > > # nagios 2.x: > > #Alias /nagios2/stylesheets /etc/nagios3/stylesheets > > > > # Where the HTML pages live > > Alias /nagios3 /usr/share/nagios3/htdocs > > # nagios 2.x: > > #Alias /nagios2 /usr/share/nagios3/htdocs > > # nagios 1.x: > > #Alias /nagios /usr/share/nagios3/htdocs > > > > (/usr/share/nagios3/htdocs|/usr/lib/cgi-bin/nagios3|/etc/nagios3/stylesheets)> > > ??? Options FollowSymLinks > > > > ??? DirectoryIndex index.php > > > > ??? AllowOverride AuthConfig > > ??? Order Allow,Deny > > ??? Allow From All > > > > ??? AuthName "Nagios Access" > > ??? AuthType Basic > > ??? AuthUserFile /etc/nagios3/htpasswd.users > > ??? # nagios 1.x: > > ??? #AuthUserFile /etc/nagios/htpasswd.users > > ??? require valid-user > > > > > > # Enable this ScriptAlias if you want to enable the grouplist patch. > > # See http://apan.sourceforge.net/download.html for more info > > # It allows you to see a clickable list of all hostgroups in the > > # left pane of the Nagios web interface > > # XXX This is not tested for nagios 2.x use at your own peril > > #ScriptAlias /nagios3/side.html /usr/lib/cgi-bin/nagios3/grouplist.cgi > > # nagios 1.x: > > #ScriptAlias /nagios/side.html /usr/lib/cgi-bin/nagios3/grouplist.cgi > > Thanks > > > > > > --------------------------- > > > > Andrew > > > > ________________________________ > Disclaimer statement by ABERDEEN JOURNALS LTD - 6/1/2011 > The information or images contained within this e-mail are of a confidential > nature. If you are > not the intended recipient please forward it to BadMail at ajl.co.uk and delete > the message > from your system. > Opinions, conclusions and other information in this message that do not > relate to the official > business of Aberdeen Journals Ltd shall be understood as neither given nor > endorsed by it. > > Aberdeen Journals Ltd, PO Box 43, Lang Stracht, Mastrick, Aberdeen. AB15 > 6DF. > Tel: +44 (0)1224 690222? | Fax +44 (0)1224 685753 | Registered No: 15256 > Scotland. > > PLEASE CONSIDER THE ENVIRONMENT BEFORE PRINTING THIS EMAIL > > ________________________________ > > > > > > o----------------------------------------------------------------------o > This Email has been scanned for viruses by Aberdeen > Journals' Outbound Email Security Systems. > o----------------------------------------------------------------------o > > > > ------------------------------------------------------------------------------ > Learn how Oracle Real Application Clusters (RAC) One Node allows customers > to consolidate database storage, standardize their database environment, > and, > should the need arise, upgrade to a full multi-node Oracle RAC database > without downtime or disruption > http://p.sf.net/sfu/oracle-sfdevnl > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > Ce message et toutes les pieces jointes (ci-apres le "message" ) sont > confidentiels et etablis a l'intention exclusive de ses destinataires. Toute > utilisation de ce message non conforme a sa destination, toute diffusion ou > toute publication, totale ou partielle, est interdite, sauf autorisation > expresse. Si vous recevez ce message par erreur, merci de le detruire sans > en conserver de copie et d'en avertir immediatement l'expediteur. Internet > ne permettant pas de garantir l'integrite de ce message, > AltitudeInfrastructure decline toute responsabilite au titre de ce message > s'il a ete modifie, altere, deforme ou falsifie. > This message and any attachments (the "message") are confidential and > intended solely for the addresses. Any use not in accord with its purpose, > any dissemination or disclosure, either whole or partial, is prohibited > except formal approval. If you receive this message in error, please delete > it without storing any evidence and immediately notify the sender. Internet > can not guarantee the integrity of this message, neither > AltitudeInfrastructure shall be liable for the message if modified, altered, > changed or falsified. > > > ------------------------------------------------------------------------------ > Learn how Oracle Real Application Clusters (RAC) One Node allows customers > to consolidate database storage, standardize their database environment, > and, should the need arise, upgrade to a full multi-node Oracle RAC database > without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl > _______________________________________________ Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include > Nagios version, plugin version (-v) and OS when reporting any issue. ::: > Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ > Learn how Oracle Real Application Clusters (RAC) One Node allows customers > to consolidate database storage, standardize their database environment, > and, > should the need arise, upgrade to a full multi-node Oracle RAC database > without downtime or disruption > http://p.sf.net/sfu/oracle-sfdevnl > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Gaining the trust of online customers is vital for the success of any company that requires sensitive data to be transmitted over the Web. Learn how to best implement a security strategy that keeps consumers' information secure and instills the confidence they need to proceed with transactions. http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Gaining the trust of online customers is vital for the success of any company that requires sensitive data to be transmitted over the Web. Learn how to best implement a security strategy that keeps consumers' information secure and instills the confidence they need to proceed with transactions. http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jan 7 18:55:09 2011 From: patrick.morris at hp.com (Morris, Patrick) Date: Fri, 07 Jan 2011 09:55:09 -0800 Subject: Check_nrpe works, but actual checks by nagios do not? Should this be able to happen? In-Reply-To: <4D20CF62.4060109@gmx.com> References: <4D20CF62.4060109@gmx.com> Message-ID: <4D27537D.7050908@hp.com> On 1/2/2011 11:17 AM, Mister IT Guru wrote: > If check_nrpe -H host.com works, and returns no errors, then is it > reasonable to assume that checks to that same host should also be able > to connect? I shouldn't be getting connection refused errors in the > nagios interface, and cannot complete SSL errors in the windows server > log, if check_nrpe - H host.com doesn't return an error? Shouldn't I > be getting SSL errors, when I run check_nrpe against the host in question? > > To me this doesn't make sense, and I am at a loss as to the best place > to look when attempting to fix this. Any suggestions and comments are > appreciated. Are you sure you and Nagios are using the same check_nrpe? And are your commands that use it configured to use it the same way you're running it manually? I suspect not. Theoretically, yes... if you can run it at the command line successfully, Nagios should be able to run it successfully, too. That assumes, though, that you and Nagios are both running it the same way. If your check commands are configured in such a way that you're using different addresses for the -H parameter, there are permission problems with check_nrpe, you're passing different parameters to nsca, or any number of other possible differences, you may not get the same results in both cases. A little more detail on your specific problem, like how your checks are defined and the exact command line you're using to test, would make it a lot easier to give a more detailed answer. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Gaining the trust of online customers is vital for the success of any company that requires sensitive data to be transmitted over the Web. Learn how to best implement a security strategy that keeps consumers' information secure and instills the confidence they need to proceed with transactions. http://p.sf.net/sfu/oracle-sfdevnl -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cjones at exelixis.com Sat Jan 8 01:59:34 2011 From: cjones at exelixis.com (Clyde Jones) Date: Fri, 7 Jan 2011 16:59:34 -0800 Subject: Windows system events In-Reply-To: References: <73B0897B46A48E429822E662D4530F886A54F7@aber-exch-003.ajl.co.uk>, <677494002.115804.1294341260774.JavaMail.root@zm-mbs01.altitudetelecom.fr> Message-ID: <5F171A4332A7E147B1537EA714461E0102B2A525@EXCL01.exelixis.com> Ihab Samara wrote: > Hi All, > > > What are the best plugin to monitor specific system event on > a windows machine? > > I prefer to use a plugin that doesnt require any > installations on the windows machine. > > Thank you > We are using a combination of NRPE and WMI. I do NRPE checks to a windows proxy machine to do the WMI windows checks. This means I only have one client software installation of NRPE_NT on my proxy machine. See http://proddoc.groundworkopensource.com/Bookshelf_RoboHelp/GroundWork_Pr ofiles/WMI_Profiles/Profiles_WMI_Windows.htm for an explanation. You can find the groundworks wmi scripts on nagiosforge. There is https://github.com/mbaldessari/nagios-wmi-plugin, but I haven't used it, or http://www.openpegasus.org/ -- Clyde Jones R&D Informatics Senior Applications Engineer cjones at exelixis.com Exelixis Inc 650 837 7085 Office 650 228 4699 Cell This email (including any attachments) may contain material that is confidential and privileged and is for the sole use of the intended recipient. Any review, reliance or distribution by others or forwarding without express permission is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies. Exelixis, Inc. reserves the right, to the extent and under circumstances permitted by applicable law, to retain, monitor and intercept e-mail messages to and from its systems. ------------------------------------------------------------------------------ Gaining the trust of online customers is vital for the success of any company that requires sensitive data to be transmitted over the Web. Learn how to best implement a security strategy that keeps consumers' information secure and instills the confidence they need to proceed with transactions. http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sat Jan 8 02:48:46 2011 From: ihab24 at hotmail.com (Ihab Samara) Date: Sat, 8 Jan 2011 03:48:46 +0200 Subject: Windows system events In-Reply-To: <5BE7D0404F28DC44B780100927AA4CB018664CAF@whplex3.int.cecdes.net> References: <73B0897B46A48E429822E662D4530F886A54F7@aber-exch-003.ajl.co.uk><677494002.115804.1294341260774.JavaMail.root@zm-mbs01.altitudetelecom.fr>, , <5BE7D0404F28DC44B780100927AA4CB018664CAF@whplex3.int.cecdes.net> Message-ID: Hi Salvatore I just checked NSClient++ "CheckEventLog" it looks fine. Many thanksIhab > Date: Fri, 7 Jan 2011 10:10:04 -0500 > From: polifemos at conedsolutions.com > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Windows system events > > Either use SNMP or WMI. SNMP Is great if the MIB supplies the information you are looking for, WMI has to run on a windows machine and you need to learn the scripting language. > > We have standardized on NSClient++ ( included in the standard server build process ) and have not had any issues. > > Salvatore Polifemo > Sr. Systems Security Specialist > ConEdison Solutions > 100 Summit Lake Drive > Valhalla, NY 10595 > > -----Original Message----- > From: Yueh-Hung Liu [mailto:yuehung.liu at gmail.com] > Sent: Thursday, January 06, 2011 11:09 PM > To: Nagios Users List > Subject: Re: [Nagios-users] Windows system events > > you write your own, that should best suit for you and won't need any > installation. > > > On Fri, Jan 7, 2011 at 8:02 AM, Ihab Samara wrote: > > Hi All, > > > > What are the best plugin to monitor specific system event on a windows > > machine? > > I prefer to use a plugin that doesnt require any installations on the > > windows machine. > > Thank you > > > > ________________________________ > > Date: Thu, 6 Jan 2011 20:14:20 +0100 > > From: david.ribeiro at altitudeinfra.fr > > To: nagios-users at lists.sourceforge.net > > Subject: Re: [Nagios-users] NagVis Apache Help > > > > You need to modify the file /etc:nagvis/nagvis.ini.php > > > > Put this : > > > > ; path options > > [paths] > > ; absolute physical NagVis path > > base="/usr/share/nagvis/" > > ; absolute html NagVis path > > htmlbase="/nagios3/nagvis" > > ; absolute html NagVis cgi path > > htmlcgi="/nagios3/cgi-bin" > > > > David Ribeiro > > > > ________________________________ > > De: "Andrew Fay" > > ?: "Nagios Users List" > > Envoy?: Jeudi 6 Janvier 2011 15:53:31 > > Objet: [Nagios-users] NagVis Apache Help > > > > hi, > > I have nagios3 and a copy of nagvis running on an ubuntu box.. when I click > > on a host in Nagvis I get : > > The requested URL /nagios/cgi-bin/status.cgi was not found on this server. > > http://server/nagios/cgi-bin/status.cgi?host=localhost > > it should be > > http://server/nagios3/cgi-bin/status.cgi?host=localhost > > Basically The CGI's work for standard Nagios but not for NagVis, so how can > > I tell NagVis where to look for the CGI's? > > > > This is the apache cfg for nagvis : > > > > # NagVis Apache2 sample configuration file > > > > # > > > > # > > ############################################################################# > > > > > > > > > > > > Alias /nagvis "/etc/nagvis/share" > > > > > > > > > > > > Options FollowSymLinks > > > > AllowOverride None > > > > Order allow,deny > > > > Allow from all > > > > > > > > # To enable Nagios basic auth on NagVis use the following options > > > > # Just uncomment it. Maybe you need to adjust the path to the > > > > # Auth user file. > > > > # > > > > # If you use the NagVis internal auth mechanism based on the web > > > > # for you won't need this. > > > > # > > > > #AuthName "NagVis Access" > > > > #AuthType Basic > > > > #AuthUserFile /etc/nagios3/etc/htpasswd.users > > > > #Require valid-user > > > > > > > > # With installed and enabled mod_rewrite there are several redirections > > > > # available to fix deprecated and/or wrong urls. None of those rules is > > > > # mandatory to get NagVis working. > > > > > > > > RewriteEngine On > > > > RewriteBase /nagvis > > > > > > > > # Use mod_rewrite for old url redirection even if there are php files > > which > > > > # redirect the queries itselfs. In some cases the mod_rewrite redirect > > > > # is better than the php redirect. > > > > RewriteCond %{REQUEST_URI} ^/nagvis(/index\.php|/|)(\?.*|)$ > > > > RewriteRule ^(index\.php|)(\?.*|)$ /nagvis/frontend/nagvis-js/$1$2 > > [R=301,L] > > > > RewriteCond %{REQUEST_URI} ^/nagvis/config\.php.*$ > > > > RewriteRule ^config\.php(.*) /nagvis/frontend/wui/$1 [R=301,L] > > > > > > > > # Redirect old regular map links > > > > RewriteCond %{REQUEST_URI} ^/nagvis/frontend/nagvis-js > > > > RewriteCond %{QUERY_STRING} map=(.*) > > > > RewriteRule ^(.*)$ > > /nagvis/frontend/nagvis-js/index.php?mod=Map&act=view&show=%1 [R=301,L] > > > > > > > > # Redirect old wui map links > > > > RewriteCond %{REQUEST_URI} ^/nagvis/frontend/wui > > > > RewriteCond %{QUERY_STRING} map=(.*) > > > > RewriteRule ^(.*)$ > > /nagvis/frontend/wui/index.php?mod=Map&act=edit&show=%1 [R=301,L] > > > > > > > > # Redirect old rotation calls > > > > RewriteCond %{REQUEST_URI} ^/nagvis/frontend/nagvis-js > > > > RewriteCond %{QUERY_STRING} !mod > > > > RewriteCond %{QUERY_STRING} rotation=(.*) > > > > RewriteRule ^(.*)$ > > /nagvis/frontend/nagvis-js/index.php?mod=Rotation&act=view&show=%1 [R=301,L] > > > > > > > > > > > > Nagios apache config : > > > > # apache configuration for nagios 3.x > > > > # note to users of nagios 1.x and 2.x: > > > > # throughout this file are commented out sections which preserve > > > > # backwards compatibility with bookmarks/config for older nagios versios. > > > > # simply look for lines following "nagios 1.x:" and "nagios 2.x" comments. > > > > > > > > ScriptAlias /cgi-bin/nagios3 /usr/lib/cgi-bin/nagios3 > > > > ScriptAlias /nagios3/cgi-bin /usr/lib/cgi-bin/nagios3 > > > > # nagios 1.x: > > > > #ScriptAlias /cgi-bin/nagios /usr/lib/cgi-bin/nagios3 > > > > #ScriptAlias /nagios/cgi-bin /usr/lib/cgi-bin/nagios3 > > > > # nagios 2.x: > > > > #ScriptAlias /cgi-bin/nagios2 /usr/lib/cgi-bin/nagios3 > > > > #ScriptAlias /nagios2/cgi-bin /usr/lib/cgi-bin/nagios3 > > > > > > > > # Where the stylesheets (config files) reside > > > > Alias /nagios3/stylesheets /etc/nagios3/stylesheets > > > > # nagios 1.x: > > > > #Alias /nagios/stylesheets /etc/nagios3/stylesheets > > > > # nagios 2.x: > > > > #Alias /nagios2/stylesheets /etc/nagios3/stylesheets > > > > > > > > # Where the HTML pages live > > > > Alias /nagios3 /usr/share/nagios3/htdocs > > > > # nagios 2.x: > > > > #Alias /nagios2 /usr/share/nagios3/htdocs > > > > # nagios 1.x: > > > > #Alias /nagios /usr/share/nagios3/htdocs > > > > > > > > > (/usr/share/nagios3/htdocs|/usr/lib/cgi-bin/nagios3|/etc/nagios3/stylesheets)> > > > > Options FollowSymLinks > > > > > > > > DirectoryIndex index.php > > > > > > > > AllowOverride AuthConfig > > > > Order Allow,Deny > > > > Allow From All > > > > > > > > AuthName "Nagios Access" > > > > AuthType Basic > > > > AuthUserFile /etc/nagios3/htpasswd.users > > > > # nagios 1.x: > > > > #AuthUserFile /etc/nagios/htpasswd.users > > > > require valid-user > > > > > > > > > > > > # Enable this ScriptAlias if you want to enable the grouplist patch. > > > > # See http://apan.sourceforge.net/download.html for more info > > > > # It allows you to see a clickable list of all hostgroups in the > > > > # left pane of the Nagios web interface > > > > # XXX This is not tested for nagios 2.x use at your own peril > > > > #ScriptAlias /nagios3/side.html /usr/lib/cgi-bin/nagios3/grouplist.cgi > > > > # nagios 1.x: > > > > #ScriptAlias /nagios/side.html /usr/lib/cgi-bin/nagios3/grouplist.cgi > > > > Thanks > > > > > > > > > > > > --------------------------- > > > > > > > > Andrew > > > > > > > > ________________________________ > > Disclaimer statement by ABERDEEN JOURNALS LTD - 6/1/2011 > > The information or images contained within this e-mail are of a confidential > > nature. If you are > > not the intended recipient please forward it to BadMail at ajl.co.uk and delete > > the message > > from your system. > > Opinions, conclusions and other information in this message that do not > > relate to the official > > business of Aberdeen Journals Ltd shall be understood as neither given nor > > endorsed by it. > > > > Aberdeen Journals Ltd, PO Box 43, Lang Stracht, Mastrick, Aberdeen. AB15 > > 6DF. > > Tel: +44 (0)1224 690222 | Fax +44 (0)1224 685753 | Registered No: 15256 > > Scotland. > > > > PLEASE CONSIDER THE ENVIRONMENT BEFORE PRINTING THIS EMAIL > > > > ________________________________ > > > > > > > > > > > > o----------------------------------------------------------------------o > > This Email has been scanned for viruses by Aberdeen > > Journals' Outbound Email Security Systems. > > o----------------------------------------------------------------------o > > > > > > > > ------------------------------------------------------------------------------ > > Learn how Oracle Real Application Clusters (RAC) One Node allows customers > > to consolidate database storage, standardize their database environment, > > and, > > should the need arise, upgrade to a full multi-node Oracle RAC database > > without downtime or disruption > > http://p.sf.net/sfu/oracle-sfdevnl > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when reporting > > any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > > > Ce message et toutes les pieces jointes (ci-apres le "message" ) sont > > confidentiels et etablis a l'intention exclusive de ses destinataires. Toute > > utilisation de ce message non conforme a sa destination, toute diffusion ou > > toute publication, totale ou partielle, est interdite, sauf autorisation > > expresse. Si vous recevez ce message par erreur, merci de le detruire sans > > en conserver de copie et d'en avertir immediatement l'expediteur. Internet > > ne permettant pas de garantir l'integrite de ce message, > > AltitudeInfrastructure decline toute responsabilite au titre de ce message > > s'il a ete modifie, altere, deforme ou falsifie. > > This message and any attachments (the "message") are confidential and > > intended solely for the addresses. Any use not in accord with its purpose, > > any dissemination or disclosure, either whole or partial, is prohibited > > except formal approval. If you receive this message in error, please delete > > it without storing any evidence and immediately notify the sender. Internet > > can not guarantee the integrity of this message, neither > > AltitudeInfrastructure shall be liable for the message if modified, altered, > > changed or falsified. > > > > > > ------------------------------------------------------------------------------ > > Learn how Oracle Real Application Clusters (RAC) One Node allows customers > > to consolidate database storage, standardize their database environment, > > and, should the need arise, upgrade to a full multi-node Oracle RAC database > > without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl > > _______________________________________________ Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include > > Nagios version, plugin version (-v) and OS when reporting any issue. ::: > > Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------------------------------ > > Learn how Oracle Real Application Clusters (RAC) One Node allows customers > > to consolidate database storage, standardize their database environment, > > and, > > should the need arise, upgrade to a full multi-node Oracle RAC database > > without downtime or disruption > > http://p.sf.net/sfu/oracle-sfdevnl > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when reporting > > any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > ------------------------------------------------------------------------------ > Gaining the trust of online customers is vital for the success of any company > that requires sensitive data to be transmitted over the Web. Learn how to > best implement a security strategy that keeps consumers' information secure > and instills the confidence they need to proceed with transactions. > http://p.sf.net/sfu/oracle-sfdevnl > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------------------------------ > Gaining the trust of online customers is vital for the success of any company > that requires sensitive data to be transmitted over the Web. Learn how to > best implement a security strategy that keeps consumers' information secure > and instills the confidence they need to proceed with transactions. > http://p.sf.net/sfu/oracle-sfdevnl > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Gaining the trust of online customers is vital for the success of any company that requires sensitive data to be transmitted over the Web. Learn how to best implement a security strategy that keeps consumers' information secure and instills the confidence they need to proceed with transactions. http://p.sf.net/sfu/oracle-sfdevnl -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From misteritguru at gmx.com Sat Jan 8 10:59:16 2011 From: misteritguru at gmx.com (Mister IT Guru) Date: Sat, 08 Jan 2011 09:59:16 +0000 Subject: Can I monitor printer status with nagios? Message-ID: <4D283574.8020608@gmx.com> A thought struck me yesterday, we have a bucket load of printers, and I was wondering, can nagios tell when a printer is running low on ink, or something similar, so that our teams can become proactive when fixing printer jams, and replacing ink and paper etc. It's just a thought:) ------------------------------------------------------------------------------ Gaining the trust of online customers is vital for the success of any company that requires sensitive data to be transmitted over the Web. Learn how to best implement a security strategy that keeps consumers' information secure and instills the confidence they need to proceed with transactions. http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From PWilliamson at twgi.net Sat Jan 8 11:08:59 2011 From: PWilliamson at twgi.net (Paul Williamson) Date: Sat, 8 Jan 2011 10:08:59 +0000 Subject: Can I monitor printer status with nagios? In-Reply-To: <4D283574.8020608@gmx.com> References: <4D283574.8020608@gmx.com> Message-ID: On Jan 8, 2011, at 5:04 AM, "Mister IT Guru" wrote: > A thought struck me yesterday, we have a bucket load of printers, and I > was wondering, can nagios tell when a printer is running low on ink, or > something similar, so that our teams can become proactive when fixing > printer jams, and replacing ink and paper etc. > > It's just a thought:) > Yes. Use the check_snmp module and anything other than an "ok" is returned, it can be alerted upon. ------------------------------------------------------------------------------ Gaining the trust of online customers is vital for the success of any company that requires sensitive data to be transmitted over the Web. Learn how to best implement a security strategy that keeps consumers' information secure and instills the confidence they need to proceed with transactions. http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From misteritguru at gmx.com Sat Jan 8 11:12:48 2011 From: misteritguru at gmx.com (Mister IT Guru) Date: Sat, 08 Jan 2011 10:12:48 +0000 Subject: Can I monitor printer status with nagios? In-Reply-To: References: <4D283574.8020608@gmx.com> Message-ID: <4D2838A0.2090807@gmx.com> On 08/01/2011 10:08, Paul Williamson wrote: > On Jan 8, 2011, at 5:04 AM, "Mister IT Guru" wrote: > >> A thought struck me yesterday, we have a bucket load of printers, and I >> was wondering, can nagios tell when a printer is running low on ink, or >> something similar, so that our teams can become proactive when fixing >> printer jams, and replacing ink and paper etc. >> >> It's just a thought:) >> > Yes. Use the check_snmp module and anything other than an "ok" is returned, it can be alerted upon. Now this reply was just too quick! Thank you, I'll investigate snmp on my printers :) ------------------------------------------------------------------------------ Gaining the trust of online customers is vital for the success of any company that requires sensitive data to be transmitted over the Web. Learn how to best implement a security strategy that keeps consumers' information secure and instills the confidence they need to proceed with transactions. http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 ljnet.dk Sat Jan 8 12:05:18 2011 From: nagios at ljnet.dk (Leif J.) Date: Sat, 08 Jan 2011 12:05:18 +0100 Subject: Can I monitor printer status with nagios? In-Reply-To: <4D283574.8020608@gmx.com> References: <4D283574.8020608@gmx.com> Message-ID: <4D2844EE.30309@ljnet.dk> To some printers there are check files already made. Den 08-01-2011 10:59, Mister IT Guru skrev: > A thought struck me yesterday, we have a bucket load of printers, and I > was wondering, can nagios tell when a printer is running low on ink, or > something similar, so that our teams can become proactive when fixing > printer jams, and replacing ink and paper etc. > > It's just a thought:) > > ------------------------------------------------------------------------------ > Gaining the trust of online customers is vital for the success of any company > that requires sensitive data to be transmitted over the Web. Learn how to > best implement a security strategy that keeps consumers' information secure > and instills the confidence they need to proceed with transactions. > http://p.sf.net/sfu/oracle-sfdevnl > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Gaining the trust of online customers is vital for the success of any company that requires sensitive data to be transmitted over the Web. Learn how to best implement a security strategy that keeps consumers' information secure and instills the confidence they need to proceed with transactions. http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From misteritguru at gmx.com Sat Jan 8 13:01:44 2011 From: misteritguru at gmx.com (Mister IT Guru) Date: Sat, 08 Jan 2011 12:01:44 +0000 Subject: Can I monitor printer status with nagios? In-Reply-To: <4D2844EE.30309@ljnet.dk> References: <4D283574.8020608@gmx.com> <4D2844EE.30309@ljnet.dk> Message-ID: <4D285228.3080801@gmx.com> On 08/01/2011 11:05, Leif J. wrote: > Den 08-01-2011 10:59, Mister IT Guru skrev: >> A thought struck me yesterday, we have a bucket load of printers, and I >> was wondering, can nagios tell when a printer is running low on ink, or >> something similar, so that our teams can become proactive when fixing >> printer jams, and replacing ink and paper etc. >> >> It's just a thought:) To some printers there are check files already made. I have three HP Officejet Pro L7500, where can i find if there are templates for these printers? ------------------------------------------------------------------------------ Gaining the trust of online customers is vital for the success of any company that requires sensitive data to be transmitted over the Web. Learn how to best implement a security strategy that keeps consumers' information secure and instills the confidence they need to proceed with transactions. http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mssneah at yahoo.com Sat Jan 8 13:45:54 2011 From: mssneah at yahoo.com (moses neah) Date: Sat, 8 Jan 2011 04:45:54 -0800 (PST) Subject: Nagios checker configuration Message-ID: <561100.86074.qm@web45201.mail.sp1.yahoo.com> Hi all, Have anybody used nagios checher addon for firefox with nagiosxi? I try it with nagios 2.9 and it work fine. But I get error (1error) when I use it with nagiosxi. Can anybody point out what to do? Thanks so much, -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Gaining the trust of online customers is vital for the success of any company that requires sensitive data to be transmitted over the Web. Learn how to best implement a security strategy that keeps consumers' information secure and instills the confidence they need to proceed with transactions. http://p.sf.net/sfu/oracle-sfdevnl -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From misteritguru at gmx.com Sat Jan 8 14:22:25 2011 From: misteritguru at gmx.com (Mister IT Guru) Date: Sat, 08 Jan 2011 13:22:25 +0000 Subject: Custom command, works from command line, not from nagios? Message-ID: <4D286511.3020608@gmx.com> I run this command from the cli [root at host ~]# /usr/lib/nagios/plugins/check_nrpe -H client.localdomain -c get_disk -a localhost C: 70,80 OK - C: 'Percentage Space Used' = 54; |'C'=54;70;80; And I get the response above. I defined the command below, define command{ command_name check_cdrive command_line $USER1$/get_disk -a $HOSTADDRESS$ C: 70,80 } and also this service, define service{ use generic-service ; Inherit default values from a template hostgroup_name Windows_Servers service_description C Drive Space check_command check_cdrive } And I get this response when nagios runs the checks. Status Information: (Return code of 127 is out of bounds - plugin may be missing) The target client is a windows box, running nrpe_nt - Any ideas, as to where I'm going wrong, are appreciated :) ------------------------------------------------------------------------------ Gaining the trust of online customers is vital for the success of any company that requires sensitive data to be transmitted over the Web. Learn how to best implement a security strategy that keeps consumers' information secure and instills the confidence they need to proceed with transactions. http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 ljnet.dk Sat Jan 8 14:40:30 2011 From: nagios at ljnet.dk (Leif J.) Date: Sat, 08 Jan 2011 14:40:30 +0100 Subject: Custom command, works from command line, not from nagios? In-Reply-To: <4D286511.3020608@gmx.com> References: <4D286511.3020608@gmx.com> Message-ID: <4D28694E.8060403@ljnet.dk> I'm confused in CLI you are using: /usr/lib/nagios/plugins/check_nrpe -H client.localdomain -c get_disk -a localhost C: 70,80 but in the define command you are using: $USER1$/get_disk -a $HOSTADDRESS$ C: 70,80 In your define command I would define it as: /usr/lib/nagios/plugins/check_nrpe -H $HOSTADDRESS$ -c get_disk -a localhost C: 70,80 And then define the command in nrpe on the windows box Den 08-01-2011 14:22, Mister IT Guru skrev: > I run this command from the cli > > [root at host ~]# /usr/lib/nagios/plugins/check_nrpe -H client.localdomain > -c get_disk -a localhost C: 70,80 > > OK - C: 'Percentage Space Used' = 54; |'C'=54;70;80; > > And I get the response above. I defined the command below, > > define command{ > command_name check_cdrive > command_line $USER1$/get_disk -a $HOSTADDRESS$ C: 70,80 > } > > and also this service, > > define service{ > > use generic-service ; Inherit default values from a > template > hostgroup_name Windows_Servers > service_description C Drive Space > check_command check_cdrive > } > > And I get this response when nagios runs the checks. > > Status Information: (Return code of 127 is out of bounds - plugin may > be missing) > > > The target client is a windows box, running nrpe_nt - > > Any ideas, as to where I'm going wrong, are appreciated :) > > ------------------------------------------------------------------------------ > Gaining the trust of online customers is vital for the success of any company > that requires sensitive data to be transmitted over the Web. Learn how to > best implement a security strategy that keeps consumers' information secure > and instills the confidence they need to proceed with transactions. > http://p.sf.net/sfu/oracle-sfdevnl > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Gaining the trust of online customers is vital for the success of any company that requires sensitive data to be transmitted over the Web. Learn how to best implement a security strategy that keeps consumers' information secure and instills the confidence they need to proceed with transactions. http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From misteritguru at gmx.com Sat Jan 8 14:51:28 2011 From: misteritguru at gmx.com (Mister IT Guru) Date: Sat, 08 Jan 2011 13:51:28 +0000 Subject: Custom command, works from command line, not from nagios? In-Reply-To: <4D28694E.8060403@ljnet.dk> References: <4D286511.3020608@gmx.com> <4D28694E.8060403@ljnet.dk> Message-ID: <4D286BE0.6010401@gmx.com> On 08/01/2011 13:40, Leif J. wrote: > I'm confused in CLI you are using: > > /usr/lib/nagios/plugins/check_nrpe -H client.localdomain > -c get_disk -a localhost C: 70,80 > > but in the define command you are using: > > $USER1$/get_disk -a $HOSTADDRESS$ C: 70,80 > > > > In your define command I would define it as: > > /usr/lib/nagios/plugins/check_nrpe -H $HOSTADDRESS$ -c get_disk -a localhost C: 70,80 > > > And then define the command in nrpe on the windows box > I had no idea that I could do that!? I feel so stupid! Thanks for the tip! ------------------------------------------------------------------------------ Gaining the trust of online customers is vital for the success of any company that requires sensitive data to be transmitted over the Web. Learn how to best implement a security strategy that keeps consumers' information secure and instills the confidence they need to proceed with transactions. http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 ljnet.dk Sat Jan 8 15:09:19 2011 From: nagios at ljnet.dk (Leif J.) Date: Sat, 08 Jan 2011 15:09:19 +0100 Subject: Custom command, works from command line, not from nagios? In-Reply-To: <4D286BE0.6010401@gmx.com> References: <4D286511.3020608@gmx.com> <4D28694E.8060403@ljnet.dk> <4D286BE0.6010401@gmx.com> Message-ID: <4D28700F.8090008@ljnet.dk> Den 08-01-2011 14:51, Mister IT Guru skrev: > On 08/01/2011 13:40, Leif J. wrote: >> I'm confused in CLI you are using: >> >> /usr/lib/nagios/plugins/check_nrpe -H client.localdomain >> -c get_disk -a localhost C: 70,80 >> >> but in the define command you are using: >> >> $USER1$/get_disk -a $HOSTADDRESS$ C: 70,80 >> >> >> >> In your define command I would define it as: >> >> /usr/lib/nagios/plugins/check_nrpe -H $HOSTADDRESS$ -c get_disk -a localhost C: 70,80 >> >> >> And then define the command in nrpe on the windows box >> > I had no idea that I could do that!? I feel so stupid! Thanks for the tip! I always take the exactly path to make sure what command it are using. ------------------------------------------------------------------------------ Gaining the trust of online customers is vital for the success of any company that requires sensitive data to be transmitted over the Web. Learn how to best implement a security strategy that keeps consumers' information secure and instills the confidence they need to proceed with transactions. http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sat Jan 8 16:02:34 2011 From: a31modela at hotmail.com (steve f) Date: Sat, 8 Jan 2011 10:02:34 -0500 Subject: Can I monitor printer status with nagios? In-Reply-To: <4D285228.3080801@gmx.com> References: <4D283574.8020608@gmx.com> <4D2844EE.30309@ljnet.dk>,<4D285228.3080801@gmx.com> Message-ID: FYI.... http://nagios.sourceforge.net/docs/3_0/monitoring-printers.html This document describes how you can monitor the status of networked printers. Specifically, HP printers that have internal/external JetDirect cards/devices, or other print servers (like the Troy PocketPro 100S or the Netgear PS101) that support the JetDirect protocol. The check_hpjd plugin (which is part of the standard Nagios plugins distribution) allows you to monitor the status of JetDirect-capable printers which have SNMP enabled. The plugin is capable of detecting the following printer states: Paper JamOut of PaperPrinter OfflineIntervention RequiredToner LowInsufficient MemoryOpen DoorOutput Tray is Fulland more... Steve -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Gaining the trust of online customers is vital for the success of any company that requires sensitive data to be transmitted over the Web. Learn how to best implement a security strategy that keeps consumers' information secure and instills the confidence they need to proceed with transactions. http://p.sf.net/sfu/oracle-sfdevnl -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Sat Jan 8 21:15:01 2011 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Sat, 08 Jan 2011 21:15:01 +0100 Subject: Nagios checker configuration In-Reply-To: <561100.86074.qm@web45201.mail.sp1.yahoo.com> References: <561100.86074.qm@web45201.mail.sp1.yahoo.com> Message-ID: <4D28C5C5.90303@vanderkooij.org> On 08/01/11 13:45, moses neah wrote: > Have anybody used nagios checher addon for firefox with nagiosxi? I try > it with nagios 2.9 and it work fine. But I get error (1error) when I use > it with nagiosxi. Can anybody point out what to do? It would help if you would share the actual error message. Hugo. -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc ------------------------------------------------------------------------------ Gaining the trust of online customers is vital for the success of any company that requires sensitive data to be transmitted over the Web. Learn how to best implement a security strategy that keeps consumers' information secure and instills the confidence they need to proceed with transactions. http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From yuehung.liu at gmail.com Sun Jan 9 11:17:57 2011 From: yuehung.liu at gmail.com (Yueh-Hung Liu) Date: Sun, 9 Jan 2011 18:17:57 +0800 Subject: Rule-Based Notifier Message-ID: Hi all, I have a new work here: http://exchange.nagios.org/directory/Addons/Notifications/*-Notification-Managers/Rule%252DBased-Notifier/details This simple Perl script is a rule-based notification addon for Nagios. Nagios has its own notification logic which decides whether a notification for an alert should be sent. If this script is defined as the notification commands, further conditions can be defined by admins to control whether a notification should be "actually" sent. By using this script, Nagios admins can decide: WHO should(or not) be notified, notification for WHICH hosts/services should(or not) be controlled, on WHAT states should(or not) be concerned, at WHEN a notification should(or not) be sent, and HOW to send a notification. All these features are implemented by defining some "rules" which will be matched by this script while Nagios hand off a notification to it. Rules are defined in a plain text config file(see below), no database is needed. At first I wrote this script just for myself(as an Nagios admin) to fulfill different needs from different Nagios contacts: someone want to be notified on some specific situations, while another contacts don't want be "annoyed" on some conditions, etc. This script has been tested and used for several monthes in the system administered by me, it should be workable and now is released to share with anyone who need it. Perhaps many functions this script provided could be achievable by complex Nagios configuration, it is here for another, simpler I think, choice. Any suggestion and feedback are greatly welcome. Thanks. Y.H. ------------------------------------------------------------------------------ Gaining the trust of online customers is vital for the success of any company that requires sensitive data to be transmitted over the Web. Learn how to best implement a security strategy that keeps consumers' information secure and instills the confidence they need to proceed with transactions. http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From misteritguru at gmx.com Sun Jan 9 13:48:24 2011 From: misteritguru at gmx.com (Mister IT Guru) Date: Sun, 09 Jan 2011 12:48:24 +0000 Subject: Check_hpjd Message-ID: <4D29AE98.7090002@gmx.com> When I run the following [root at host plugins]# ./check_hpjd -H printer1.mydomain.com : Timeout from host printer1.mydomain.com I have Net-snmp installed on my system, and the timeout is instant, as in 0 seconds. I'm pretty sure that SNMP isn't that quick! Any tips on trouble shooting this will be appreciated. In the meantime, I'm going to try to manually speak to my printers using snmp. (This is my first journey into SNMP by the way :) ) ------------------------------------------------------------------------------ Gaining the trust of online customers is vital for the success of any company that requires sensitive data to be transmitted over the Web. Learn how to best implement a security strategy that keeps consumers' information secure and instills the confidence they need to proceed with transactions. http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From PWilliamson at twgi.net Sun Jan 9 15:25:08 2011 From: PWilliamson at twgi.net (Paul Williamson) Date: Sun, 9 Jan 2011 14:25:08 +0000 Subject: Check_hpjd In-Reply-To: <4D29AE98.7090002@gmx.com> References: <4D29AE98.7090002@gmx.com> Message-ID: <9C4141B1-FB01-4FA1-ACD6-D32716763600@twgi.net> On Jan 9, 2011, at 7:53 AM, "Mister IT Guru" wrote: > When I run the following > > [root at host plugins]# ./check_hpjd -H printer1.mydomain.com > : Timeout from host printer1.mydomain.com > > I have Net-snmp installed on my system, and the timeout is instant, as > in 0 seconds. > > I'm pretty sure that SNMP isn't that quick! Any tips on trouble shooting > this will be appreciated. In the meantime, I'm going to try to manually > speak to my printers using snmp. (This is my first journey into SNMP by > the way :) ) > > > ------------------------------------------------ Doesn't sound like an snmp problem. Have you tried walking the system mib of the printer from the Command line? If that is successful, try enabling debug or verbose mode in the plugin. Paul ------------------------------------------------------------------------------ Gaining the trust of online customers is vital for the success of any company that requires sensitive data to be transmitted over the Web. Learn how to best implement a security strategy that keeps consumers' information secure and instills the confidence they need to proceed with transactions. http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From misteritguru at gmx.com Sun Jan 9 18:45:42 2011 From: misteritguru at gmx.com (Mister IT Guru) Date: Sun, 09 Jan 2011 17:45:42 +0000 Subject: Check_hpjd In-Reply-To: <9C4141B1-FB01-4FA1-ACD6-D32716763600@twgi.net> References: <4D29AE98.7090002@gmx.com> <9C4141B1-FB01-4FA1-ACD6-D32716763600@twgi.net> Message-ID: <4D29F446.4010203@gmx.com> On 09/01/2011 14:25, Paul Williamson wrote: > On Jan 9, 2011, at 7:53 AM, "Mister IT Guru" wrote: > >> When I run the following >> >> [root at host plugins]# ./check_hpjd -H printer1.mydomain.com >> : Timeout from host printer1.mydomain.com >> >> I have Net-snmp installed on my system, and the timeout is instant, as >> in 0 seconds. >> >> I'm pretty sure that SNMP isn't that quick! Any tips on trouble shooting >> this will be appreciated. In the meantime, I'm going to try to manually >> speak to my printers using snmp. (This is my first journey into SNMP by >> the way :) ) >> >> >> ------------------------------------------------ > > Doesn't sound like an snmp problem. Have you tried walking the system mib of the printer from the Command line? > > If that is successful, try enabling debug or verbose mode in the plugin. > > Paul I noted that i didn't have net-snmp-utils installed, and then I was able to run [root at host plugins]# snmpwalk -Os -c public -v 1 printer1.mydomain.com system sysDescr.0 = STRING: HP ETHERNET MULTI-ENVIRONMENT sysObjectID.0 = OID: enterprises.11.2.3.9.1 sysUpTimeInstance = Timeticks: (325408663) 37 days, 15:54:46.63 sysContact.0 = STRING: sysName.0 = STRING: printer1 sysLocation.0 = STRING: sysServices.0 = INTEGER: 72 So I know that the printer is working as expected, (as far as SNMP is concerned). But when I run [root at host plugins]# ./check_hpjd -H printer1.mydomain.com -C public Error in packet () I get this error - From what I've tried so far, I know my host can communicate via SNMP, I know the printer responds via SNMP, so I guess I'm left to look at the plug-in, which I will be checking up on. I'm new to SNMP, I am investigating this with my good friend Google search, but I am on a learning curve here, so please forgive my questions if they sound stupid, TIA -- The Solo System Admin http://solosysad.blogspot.com/ -- Mister IT Guru At Gmx Dot Com ------------------------------------------------------------------------------ Gaining the trust of online customers is vital for the success of any company that requires sensitive data to be transmitted over the Web. Learn how to best implement a security strategy that keeps consumers' information secure and instills the confidence they need to proceed with transactions. http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From PWilliamson at twgi.net Sun Jan 9 18:57:58 2011 From: PWilliamson at twgi.net (Paul Williamson) Date: Sun, 9 Jan 2011 17:57:58 +0000 Subject: Check_hpjd In-Reply-To: <4D29F446.4010203@gmx.com> References: <4D29AE98.7090002@gmx.com> <9C4141B1-FB01-4FA1-ACD6-D32716763600@twgi.net> <4D29F446.4010203@gmx.com> Message-ID: <19C93783-42C4-4E94-92DC-9A0C1B1D4E3D@twgi.net> >>> >>> >>> >>> >>> >> >> >> > I noted that i didn't have net-snmp-utils installed, and then I was able > to run > > [root at host plugins]# snmpwalk -Os -c public -v 1 printer1.mydomain.com > system > > sysDescr.0 = STRING: HP ETHERNET MULTI-ENVIRONMENT > sysObjectID.0 = OID: enterprises.11.2.3.9.1 > sysUpTimeInstance = Timeticks: (325408663) 37 days, 15:54:46.63 > sysContact.0 = STRING: > sysName.0 = STRING: printer1 > sysLocation.0 = STRING: > sysServices.0 = INTEGER: 72 > > > So I know that the printer is working as expected, (as far as SNMP is > concerned). But when I run > > > [root at host plugins]# ./check_hpjd -H printer1.mydomain.com -C public > Error in packet () > > I get this error - From what I've tried so far, I know my host can > communicate via SNMP, I know the printer responds via SNMP, so I guess > I'm left to look at the plug-in, which I will be checking up on. I'm > new to SNMP, I am investigating this with my good friend Google search, > but I am on a learning curve here, so please forgive my questions if > they sound stupid, > > TIA > Do you have the snmp development libraries installed? I'm guessing that is the situation. ------------------------------------------------------------------------------ Gaining the trust of online customers is vital for the success of any company that requires sensitive data to be transmitted over the Web. Learn how to best implement a security strategy that keeps consumers' information secure and instills the confidence they need to proceed with transactions. http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From misteritguru at gmx.com Sun Jan 9 19:25:39 2011 From: misteritguru at gmx.com (Mister IT Guru) Date: Sun, 09 Jan 2011 18:25:39 +0000 Subject: Check_hpjd In-Reply-To: <19C93783-42C4-4E94-92DC-9A0C1B1D4E3D@twgi.net> References: <4D29AE98.7090002@gmx.com> <9C4141B1-FB01-4FA1-ACD6-D32716763600@twgi.net> <4D29F446.4010203@gmx.com> <19C93783-42C4-4E94-92DC-9A0C1B1D4E3D@twgi.net> Message-ID: <4D29FDA3.4040907@gmx.com> On 09/01/2011 17:57, Paul Williamson wrote: >>>> >>>> >>>> >>>> >>> >>> >> I noted that i didn't have net-snmp-utils installed, and then I was able >> to run >> >> [root at host plugins]# snmpwalk -Os -c public -v 1 printer1.mydomain.com >> system >> >> sysDescr.0 = STRING: HP ETHERNET MULTI-ENVIRONMENT >> sysObjectID.0 = OID: enterprises.11.2.3.9.1 >> sysUpTimeInstance = Timeticks: (325408663) 37 days, 15:54:46.63 >> sysContact.0 = STRING: >> sysName.0 = STRING: printer1 >> sysLocation.0 = STRING: >> sysServices.0 = INTEGER: 72 >> >> >> So I know that the printer is working as expected, (as far as SNMP is >> concerned). But when I run >> >> >> [root at host plugins]# ./check_hpjd -H printer1.mydomain.com -C public >> Error in packet () >> >> I get this error - From what I've tried so far, I know my host can >> communicate via SNMP, I know the printer responds via SNMP, so I guess >> I'm left to look at the plug-in, which I will be checking up on. I'm >> new to SNMP, I am investigating this with my good friend Google search, >> but I am on a learning curve here, so please forgive my questions if >> they sound stupid, >> >> TIA >> > Do you have the snmp development libraries installed? I'm guessing that is the situation. I have the net-snmp-devel installed, and the situation remains the same :( -- The Solo System Admin http://solosysad.blogspot.com/ --- Mister IT Guru At Gmx Dot Com ------------------------------------------------------------------------------ Gaining the trust of online customers is vital for the success of any company that requires sensitive data to be transmitted over the Web. Learn how to best implement a security strategy that keeps consumers' information secure and instills the confidence they need to proceed with transactions. http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From misteritguru at gmx.com Sun Jan 9 19:32:15 2011 From: misteritguru at gmx.com (Mister IT Guru) Date: Sun, 09 Jan 2011 18:32:15 +0000 Subject: Can I monitor printer status with nagios? In-Reply-To: References: <4D283574.8020608@gmx.com> <4D2844EE.30309@ljnet.dk>, <4D285228.3080801@gmx.com> Message-ID: <4D29FF2F.9030308@gmx.com> On 08/01/2011 15:02, steve f wrote: > FYI.... > > http://nagios.sourceforge.net/docs/3_0/monitoring-printers.html > > > This document describes how you can monitor the status of networked > printers. Specifically, HP printers that have internal/external > JetDirect cards/devices, or other print servers (like the Troy > PocketPro 100S or the Netgear PS101) that support the JetDirect protocol. > The /check_hpjd/ plugin (which is part of the standard Nagios plugins > distribution) allows you to monitor the status of JetDirect-capable > printers which have SNMP enabled. The plugin is capable of detecting > the following printer states: > > * Paper Jam > * Out of Paper > * Printer Offline > * Intervention Required > * Toner Low > * Insufficient Memory > * Open Door > * Output Tray is Full > * and more... > > > > Steve I'm currently having some issues getting this plugin to work, but I do now have snmp configured on all my printers, and I can contact my printers via snmp. I'm currently having some issues, but I'm dealing with that in another thread. When that gets solved, I'm report back if is solved my problem. Thanks -- The Solo System Admin http://solosysad.blogspot.com/ -- Mister IT Guru At Gmx Dot Com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Gaining the trust of online customers is vital for the success of any company that requires sensitive data to be transmitted over the Web. Learn how to best implement a security strategy that keeps consumers' information secure and instills the confidence they need to proceed with transactions. http://p.sf.net/sfu/oracle-sfdevnl -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From misteritguru at gmx.com Mon Jan 10 12:17:35 2011 From: misteritguru at gmx.com (Mister IT Guru) Date: Mon, 10 Jan 2011 11:17:35 +0000 Subject: Custom command, works from command line, not from nagios? [SOLVED] In-Reply-To: <4D28700F.8090008@ljnet.dk> References: <4D286511.3020608@gmx.com> <4D28694E.8060403@ljnet.dk> <4D286BE0.6010401@gmx.com> <4D28700F.8090008@ljnet.dk> Message-ID: <4D2AEACF.4080305@gmx.com> On 08/01/2011 14:09, Leif J. wrote: > Den 08-01-2011 14:51, Mister IT Guru skrev: >> On 08/01/2011 13:40, Leif J. wrote: >>> I'm confused in CLI you are using: >>> >>> /usr/lib/nagios/plugins/check_nrpe -H client.localdomain >>> -c get_disk -a localhost C: 70,80 >>> >>> but in the define command you are using: >>> >>> $USER1$/get_disk -a $HOSTADDRESS$ C: 70,80 >>> >>> >>> >>> In your define command I would define it as: >>> >>> /usr/lib/nagios/plugins/check_nrpe -H $HOSTADDRESS$ -c get_disk -a localhost C: 70,80 >>> >>> >>> And then define the command in nrpe on the windows box >>> >> I had no idea that I could do that!? I feel so stupid! Thanks for the tip! > I always take the exactly path to make sure what command it are using. By using the absolute path, I was able to get everything working, Thank you :) -- The Solo System Admin http://solosysad.blogspot.com/ -- Mister IT Guru At Gmx Dot Com ------------------------------------------------------------------------------ Gaining the trust of online customers is vital for the success of any company that requires sensitive data to be transmitted over the Web. Learn how to best implement a security strategy that keeps consumers' information secure and instills the confidence they need to proceed with transactions. http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From misteritguru at gmx.com Mon Jan 10 14:14:33 2011 From: misteritguru at gmx.com (Mister IT Guru) Date: Mon, 10 Jan 2011 13:14:33 +0000 Subject: Check_hpjd In-Reply-To: <4D29FDA3.4040907@gmx.com> References: <4D29AE98.7090002@gmx.com> <9C4141B1-FB01-4FA1-ACD6-D32716763600@twgi.net> <4D29F446.4010203@gmx.com> <19C93783-42C4-4E94-92DC-9A0C1B1D4E3D@twgi.net> <4D29FDA3.4040907@gmx.com> Message-ID: <4D2B0639.8090307@gmx.com> On 09/01/2011 18:25, Mister IT Guru wrote: > On 09/01/2011 17:57, Paul Williamson wrote: >>>>> >>>>> >>>>> >>>> >>> I noted that i didn't have net-snmp-utils installed, and then I was able >>> to run >>> >>> [root at host plugins]# snmpwalk -Os -c public -v 1 printer1.mydomain.com >>> system >>> >>> sysDescr.0 = STRING: HP ETHERNET MULTI-ENVIRONMENT >>> sysObjectID.0 = OID: enterprises.11.2.3.9.1 >>> sysUpTimeInstance = Timeticks: (325408663) 37 days, 15:54:46.63 >>> sysContact.0 = STRING: >>> sysName.0 = STRING: printer1 >>> sysLocation.0 = STRING: >>> sysServices.0 = INTEGER: 72 >>> >>> >>> So I know that the printer is working as expected, (as far as SNMP is >>> concerned). But when I run >>> >>> >>> [root at host plugins]# ./check_hpjd -H printer1.mydomain.com -C public >>> Error in packet () >>> >>> I get this error - From what I've tried so far, I know my host can >>> communicate via SNMP, I know the printer responds via SNMP, so I guess >>> I'm left to look at the plug-in, which I will be checking up on. I'm >>> new to SNMP, I am investigating this with my good friend Google search, >>> but I am on a learning curve here, so please forgive my questions if >>> they sound stupid, >>> >>> TIA >>> >> Do you have the snmp development libraries installed? I'm guessing that is the situation. > I have the net-snmp-devel installed, and the situation remains the same :( > > > I'm still attempting to make progress on this issue, and it's confusing me. Surely the plugin doesn't uses it;s own snmp engine, it would make more sense to use to the OS to make those calls. I can use the OS to talk to my printers, so can I be safe in assuming that the plugin should be able to as well? -- The Solo System Admin http://solosysad.blogspot.com/ -- Mister IT Guru At Gmx Dot Com ------------------------------------------------------------------------------ Gaining the trust of online customers is vital for the success of any company that requires sensitive data to be transmitted over the Web. Learn how to best implement a security strategy that keeps consumers' information secure and instills the confidence they need to proceed with transactions. http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From PWilliamson at twgi.net Mon Jan 10 14:58:25 2011 From: PWilliamson at twgi.net (Paul Williamson) Date: Mon, 10 Jan 2011 13:58:25 +0000 Subject: Check_hpjd In-Reply-To: <4D2B0639.8090307@gmx.com> References: <4D29AE98.7090002@gmx.com> <9C4141B1-FB01-4FA1-ACD6-D32716763600@twgi.net> <4D29F446.4010203@gmx.com> <19C93783-42C4-4E94-92DC-9A0C1B1D4E3D@twgi.net> <4D29FDA3.4040907@gmx.com> <4D2B0639.8090307@gmx.com> Message-ID: > I'm still attempting to make progress on this issue, and it's > confusing me. Surely the plugin doesn't uses it;s own snmp engine, > it would make more sense to use to the OS to make those calls. I > can use the OS to talk to my printers, so can I be safe in > assuming that the plugin should be able to as well? > -- Have you run the check manually in debug or verbose mode? I didn't realize there was a check_hpdj plugin. Went looking for it, found it, and installed it without much issue. What is the response from the printer for the following? snmpwalk -v 1 -c private.enterprises.11.2.3.9.1.1.3 It should respond "Ready". If it doesn't, there's something wrong. Paul ------------------------------------------------------------------------------ Gaining the trust of online customers is vital for the success of any company that requires sensitive data to be transmitted over the Web. Learn how to best implement a security strategy that keeps consumers' information secure and instills the confidence they need to proceed with transactions. http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From misteritguru at gmx.com Mon Jan 10 15:07:42 2011 From: misteritguru at gmx.com (Mister IT Guru) Date: Mon, 10 Jan 2011 14:07:42 +0000 Subject: Check_hpjd In-Reply-To: References: <4D29AE98.7090002@gmx.com> <9C4141B1-FB01-4FA1-ACD6-D32716763600@twgi.net> <4D29F446.4010203@gmx.com> <19C93783-42C4-4E94-92DC-9A0C1B1D4E3D@twgi.net> <4D29FDA3.4040907@gmx.com> <4D2B0639.8090307@gmx.com> Message-ID: <4D2B12AE.5060004@gmx.com> On 10/01/2011 13:58, Paul Williamson wrote: >> I'm still attempting to make progress on this issue, and it's >> confusing me. Surely the plugin doesn't uses it;s own snmp engine, >> it would make more sense to use to the OS to make those calls. I >> can use the OS to talk to my printers, so can I be safe in >> assuming that the plugin should be able to as well? >> Have you run the check manually in debug or verbose mode? I didn't realize there was a check_hpdj plugin. Went looking for it, found it, and installed it without much issue. What is the response from the printer for the following? snmpwalk -v 1 -c private.enterprises.11.2.3.9.1.1.3 It should respond "Ready". If it doesn't, there's something wrong. Paul I ran the following on my system, and this is the response that I got. [root at host ~]# snmpwalk -v 1 -c public printer1.mydomain.com private.enterprises.11.2.3.9.1.1.3 Returns no response, no error message, just returns me to the CLI -- The Solo System Admin http://solosysad.blogspot.com/ -- Mister IT Guru At Gmx Dot Com ------------------------------------------------------------------------------ Gaining the trust of online customers is vital for the success of any company that requires sensitive data to be transmitted over the Web. Learn how to best implement a security strategy that keeps consumers' information secure and instills the confidence they need to proceed with transactions. http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From PWilliamson at twgi.net Mon Jan 10 15:17:22 2011 From: PWilliamson at twgi.net (Paul Williamson) Date: Mon, 10 Jan 2011 14:17:22 +0000 Subject: Check_hpjd In-Reply-To: <4D2B12AE.5060004@gmx.com> References: <4D29AE98.7090002@gmx.com> <9C4141B1-FB01-4FA1-ACD6-D32716763600@twgi.net> <4D29F446.4010203@gmx.com> <19C93783-42C4-4E94-92DC-9A0C1B1D4E3D@twgi.net> <4D29FDA3.4040907@gmx.com> <4D2B0639.8090307@gmx.com> <4D2B12AE.5060004@gmx.com> Message-ID: -----Original Message----- From: Mister IT Guru [mailto:misteritguru at gmx.com] Sent: Monday, January 10, 2011 9:08 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Check_hpjd I ran the following on my system, and this is the response that I got. [root at host ~]# snmpwalk -v 1 -c public printer1.mydomain.com private.enterprises.11.2.3.9.1.1.3 Returns no response, no error message, just returns me to the CLI -- Step back once more...what about this? snmpwalk -v 1 -c public printer1.mydomain.com private.enterprises or better yet: snmpwalk -v 1 -c public printer1.mydomain.com private.enterprises.11 | grep 'Hewlett' Paul ------------------------------------------------------------------------------ Gaining the trust of online customers is vital for the success of any company that requires sensitive data to be transmitted over the Web. Learn how to best implement a security strategy that keeps consumers' information secure and instills the confidence they need to proceed with transactions. http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From misteritguru at gmx.com Mon Jan 10 15:18:38 2011 From: misteritguru at gmx.com (Mister IT Guru) Date: Mon, 10 Jan 2011 14:18:38 +0000 Subject: Check_hpjd In-Reply-To: References: <4D29AE98.7090002@gmx.com> <9C4141B1-FB01-4FA1-ACD6-D32716763600@twgi.net> <4D29F446.4010203@gmx.com> <19C93783-42C4-4E94-92DC-9A0C1B1D4E3D@twgi.net> <4D29FDA3.4040907@gmx.com> <4D2B0639.8090307@gmx.com> <4D2B12AE.5060004@gmx.com> Message-ID: <4D2B153E.4000707@gmx.com> I'm sure that my SNMP setup is working, as I have had previous responses from the printers when I queried them, the output is in my previous posts in this thread. ------------------------------------------------------------------------------ Gaining the trust of online customers is vital for the success of any company that requires sensitive data to be transmitted over the Web. Learn how to best implement a security strategy that keeps consumers' information secure and instills the confidence they need to proceed with transactions. http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ras.kumar01 at gmail.com Mon Jan 10 15:33:41 2011 From: ras.kumar01 at gmail.com (Rajesh Kumar) Date: Mon, 10 Jan 2011 20:03:41 +0530 Subject: Reg: Check_http_Port Message-ID: Hi All I have installed Nagios Core in my CentOS but not able to configure port based check_http. We are using several port in apache-tomcat in remote server. We can able to configure default port 80. I have to need to configure server port of 8082, 8084 ? could you assist me port based configure on nagios. This is my cfg file of check_http. define host{ use linux-server host_name USSERVER alias USSERVER address saas-testing.com } define service{ use generic-service host_name USSERVER service_description HTTP check_command check_http check_interval 3 check_period 24x7 retry_interval 2 max_check_attempts 2 notification_interval 5 notification_period workhours notification_options w,c,u,r notifications_enabled 1 } Regards B.Rajeshkumar -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Gaining the trust of online customers is vital for the success of any company that requires sensitive data to be transmitted over the Web. Learn how to best implement a security strategy that keeps consumers' information secure and instills the confidence they need to proceed with transactions. http://p.sf.net/sfu/oracle-sfdevnl -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jmoseley at corp.xanadoo.com Mon Jan 10 15:33:18 2011 From: jmoseley at corp.xanadoo.com (James Moseley) Date: Mon, 10 Jan 2011 08:33:18 -0600 Subject: Check_hpjd In-Reply-To: <4D2B153E.4000707@gmx.com> References: <4D29AE98.7090002@gmx.com> <9C4141B1-FB01-4FA1-ACD6-D32716763600@twgi.net> <4D29F446.4010203@gmx.com> <19C93783-42C4-4E94-92DC-9A0C1B1D4E3D@twgi.net> <4D29FDA3.4040907@gmx.com> <4D2B0639.8090307@gmx.com> <4D2B12AE.5060004@gmx.com> <4D2B153E.4000707@gmx.com> Message-ID: On Mon, Jan 10, 2011 at 8:18 AM, Mister IT Guru wrote: > I'm sure that my SNMP setup is working, as I have had previous responses > from the printers when I queried them, the output is in my previous > posts in this thread. > Then your printer isn't responding correctly or doesn't have the proper SNMP MIB support. I would suggest you research the model and software version of your printer with HP to make sure the SNMP support you desire is included in the version of hardware/software you have. -- James Moseley -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Gaining the trust of online customers is vital for the success of any company that requires sensitive data to be transmitted over the Web. Learn how to best implement a security strategy that keeps consumers' information secure and instills the confidence they need to proceed with transactions. http://p.sf.net/sfu/oracle-sfdevnl -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From misteritguru at gmx.com Mon Jan 10 16:54:32 2011 From: misteritguru at gmx.com (Mister IT Guru) Date: Mon, 10 Jan 2011 15:54:32 +0000 Subject: Check_hpjd In-Reply-To: References: <4D29AE98.7090002@gmx.com> <9C4141B1-FB01-4FA1-ACD6-D32716763600@twgi.net> <4D29F446.4010203@gmx.com> <19C93783-42C4-4E94-92DC-9A0C1B1D4E3D@twgi.net> <4D29FDA3.4040907@gmx.com> <4D2B0639.8090307@gmx.com> <4D2B12AE.5060004@gmx.com> <4D2B153E.4000707@gmx.com> Message-ID: <4D2B2BB8.70906@gmx.com> On 10/01/2011 14:33, James Moseley wrote: > On Mon, Jan 10, 2011 at 8:18 AM, Mister IT Guru > wrote: > > I'm sure that my SNMP setup is working, as I have had previous > responses > from the printers when I queried them, the output is in my previous > posts in this thread. > > > Then your printer isn't responding correctly or doesn't have the > proper SNMP MIB support. I would suggest you research the model and > software version of your printer with HP to make sure the SNMP support > you desire is included in the version of hardware/software you have. > > -- > James Moseley I'm pretty sure that the SNMP on my printers is working. Is it included with this printer, because I specifically configured it, and looked out for SNMP support before ordering these printers, to use with Nagios. I know that my device returns data, because it does for snmp queries from the CLI. I would like to know, how I can get check_hpjd to be more verbose, or to log if that is possible? Thank You -- The Solo System Admin http://solosysad.blogspot.com/ -- Mister IT Guru At Gmx Dot Com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Gaining the trust of online customers is vital for the success of any company that requires sensitive data to be transmitted over the Web. Learn how to best implement a security strategy that keeps consumers' information secure and instills the confidence they need to proceed with transactions. http://p.sf.net/sfu/oracle-sfdevnl -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alexdehaini at gmail.com Mon Jan 10 17:04:45 2011 From: alexdehaini at gmail.com (Alex Dehaini) Date: Mon, 10 Jan 2011 10:04:45 -0600 Subject: Reg: Check_http_Port In-Reply-To: References: Message-ID: Why not create several different services to monitor each port? On Mon, Jan 10, 2011 at 8:33 AM, Rajesh Kumar wrote: > Hi All > > > > I have installed Nagios Core in my CentOS but not able to configure > port based check_http. We are using several port in apache-tomcat in remote > server. We can able to configure default port 80. I have to need to > configure server port of 8082, 8084 ? could you assist me port based > configure on nagios. This is my cfg file of check_http. > > > > define host{ > > use linux-server > > host_name USSERVER > > alias USSERVER > > address saas-testing.com > > } > > define service{ > > use generic-service > > host_name USSERVER > > service_description HTTP > > check_command check_http > > check_interval 3 > > check_period 24x7 > > retry_interval 2 > > max_check_attempts 2 > > notification_interval 5 > > notification_period workhours > > notification_options w,c,u,r > > notifications_enabled 1 > } > > Regards > > B.Rajeshkumar > > > > ------------------------------------------------------------------------------ > Gaining the trust of online customers is vital for the success of any > company > that requires sensitive data to be transmitted over the Web. Learn how to > best implement a security strategy that keeps consumers' information secure > and instills the confidence they need to proceed with transactions. > http://p.sf.net/sfu/oracle-sfdevnl > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Gaining the trust of online customers is vital for the success of any company that requires sensitive data to be transmitted over the Web. Learn how to best implement a security strategy that keeps consumers' information secure and instills the confidence they need to proceed with transactions. http://p.sf.net/sfu/oracle-sfdevnl -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jmoseley at corp.xanadoo.com Mon Jan 10 17:28:26 2011 From: jmoseley at corp.xanadoo.com (James Moseley) Date: Mon, 10 Jan 2011 10:28:26 -0600 Subject: Check_hpjd In-Reply-To: <4D2B2BB8.70906@gmx.com> References: <4D29AE98.7090002@gmx.com> <9C4141B1-FB01-4FA1-ACD6-D32716763600@twgi.net> <4D29F446.4010203@gmx.com> <19C93783-42C4-4E94-92DC-9A0C1B1D4E3D@twgi.net> <4D29FDA3.4040907@gmx.com> <4D2B0639.8090307@gmx.com> <4D2B12AE.5060004@gmx.com> <4D2B153E.4000707@gmx.com> <4D2B2BB8.70906@gmx.com> Message-ID: On Mon, Jan 10, 2011 at 9:54 AM, Mister IT Guru wrote: > > I'm pretty sure that the SNMP on my printers is working. Is it included > with this printer, because I specifically configured it, and looked out for > SNMP support before ordering these printers, to use with Nagios. I know that > my device returns data, because it does for snmp queries from the CLI. I > would like to know, how I can get check_hpjd to be more verbose, or to log > if that is possible? > > Thank You > Let me explain in a different way. If you are querying your printer manually with snmpwalk/snmpget and you are not getting the response you expect, then the Nagios plugin you are trying to use will not work. In other words, this isn't a Nagios problem. You stated earlier in this thread that your printer supports SNMP as evidence that you were able to walk the standard MIB tree. That's great, but that doesn't mean that your hardware and current software supports the SNMP MIB that the plugin is trying to use. That's why I suggested making sure you have the latest firmware/SNMP support from HP installed on the printer. The plugin states that it works with HP printers that have JetDirect cards installed. Does yours? Another step in your troubleshooting would be to look at the source code of the check_hpjd plugin to see what MIB OID's it is using. I believe that's what a previous person on this thread did as they suggested a MIB-specific OID for you to check. If your printer doesn't support that OID, then the check_hpjd plugin will not work and you will have to either a) get the printer to support the MIB the plugin is using b) modify the plugin and recompile it c) write your own plugin using the the SNMP MIB OID's your printer supports. -- James Moseley -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Gaining the trust of online customers is vital for the success of any company that requires sensitive data to be transmitted over the Web. Learn how to best implement a security strategy that keeps consumers' information secure and instills the confidence they need to proceed with transactions. http://p.sf.net/sfu/oracle-sfdevnl -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jmoseley at corp.xanadoo.com Mon Jan 10 17:33:57 2011 From: jmoseley at corp.xanadoo.com (James Moseley) Date: Mon, 10 Jan 2011 10:33:57 -0600 Subject: Reg: Check_http_Port In-Reply-To: References: Message-ID: On Mon, Jan 10, 2011 at 8:33 AM, Rajesh Kumar wrote: > Hi All > > > > I have installed Nagios Core in my CentOS but not able to configure > port based check_http. We are using several port in apache-tomcat in remote > server. We can able to configure default port 80. I have to need to > configure server port of 8082, 8084 ? could you assist me port based > configure on nagios. This is my cfg file of check_http. > > > > define host{ > > use linux-server > > host_name USSERVER > > alias USSERVER > > address saas-testing.com > > } > > define service{ > > use generic-service > > host_name USSERVER > > service_description HTTP > > check_command check_http > > check_interval 3 > > check_period 24x7 > > retry_interval 2 > > max_check_attempts 2 > > notification_interval 5 > > notification_period workhours > > notification_options w,c,u,r > > notifications_enabled 1 > } > > Regards > > B.Rajeshkumar > Your check command definition (which you didn't attach) should look something like: define command{ command_name check_http command_line $USER1$/check_http -H $HOSTADDRESS$ -p $ARG1$ } Then the check_command argument in your service definition, if you were checking port 80, would look like: check_command check_http!80 If you want to check other ports, then you'll have to create a different service for each port you want to check. -- James Moseley -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Gaining the trust of online customers is vital for the success of any company that requires sensitive data to be transmitted over the Web. Learn how to best implement a security strategy that keeps consumers' information secure and instills the confidence they need to proceed with transactions. http://p.sf.net/sfu/oracle-sfdevnl -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From PWilliamson at twgi.net Mon Jan 10 17:42:23 2011 From: PWilliamson at twgi.net (Paul Williamson) Date: Mon, 10 Jan 2011 16:42:23 +0000 Subject: Check_hpjd In-Reply-To: References: <4D29AE98.7090002@gmx.com> <9C4141B1-FB01-4FA1-ACD6-D32716763600@twgi.net> <4D29F446.4010203@gmx.com> <19C93783-42C4-4E94-92DC-9A0C1B1D4E3D@twgi.net> <4D29FDA3.4040907@gmx.com> <4D2B0639.8090307@gmx.com> <4D2B12AE.5060004@gmx.com> <4D2B153E.4000707@gmx.com> <4D2B2BB8.70906@gmx.com> Message-ID: From: James Moseley [mailto:jmoseley at corp.xanadoo.com] Sent: Monday, January 10, 2011 11:28 AM To: Nagios Users List Subject: Re: [Nagios-users] Check_hpjd On Mon, Jan 10, 2011 at 9:54 AM, Mister IT Guru > wrote: I'm pretty sure that the SNMP on my printers is working. Is it included with this printer, because I specifically configured it, and looked out for SNMP support before ordering these printers, to use with Nagios. I know that my device returns data, because it does for snmp queries from the CLI. I would like to know, how I can get check_hpjd to be more verbose, or to log if that is possible? Thank You Let me explain in a different way. If you are querying your printer manually with snmpwalk/snmpget and you are not getting the response you expect, then the Nagios plugin you are trying to use will not work. In other words, this isn't a Nagios problem. You stated earlier in this thread that your printer supports SNMP as evidence that you were able to walk the standard MIB tree. That's great, but that doesn't mean that your hardware and current software supports the SNMP MIB that the plugin is trying to use. That's why I suggested making sure you have the latest firmware/SNMP support from HP installed on the printer. The plugin states that it works with HP printers that have JetDirect cards installed. Does yours? Another step in your troubleshooting would be to look at the source code of the check_hpjd plugin to see what MIB OID's it is using. I believe that's what a previous person on this thread did as they suggested a MIB-specific OID for you to check. If your printer doesn't support that OID, then the check_hpjd plugin will not work and you will have to either a) get the printer to support the MIB the plugin is using b) modify the plugin and recompile it c) write your own plugin using the the SNMP MIB OID's your printer supports. -- I missed the response to my question about some specific query responses...so I'll put them here again: Step back once more...what about this? snmpwalk -v 1 -c public printer1.mydomain.com private.enterprises or better yet: snmpwalk -v 1 -c public printer1.mydomain.com private.enterprises.11 | grep 'Hewlett' The latter should return at least one line (actually, probably only one line). Is JetAdmin able to identify the printer/card correctly? Paul -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Gaining the trust of online customers is vital for the success of any company that requires sensitive data to be transmitted over the Web. Learn how to best implement a security strategy that keeps consumers' information secure and instills the confidence they need to proceed with transactions. http://p.sf.net/sfu/oracle-sfdevnl -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From eddy at ati.une.cu Mon Jan 10 17:33:08 2011 From: eddy at ati.une.cu (eddy) Date: Mon, 10 Jan 2011 11:33:08 -0500 Subject: Nagios Historical data backup Message-ID: <1294677188.8317.23.camel@laptop-eddy> Good Morning,I have an installation of Nagios ver 3.0.6 and It's been working fine up to now. Well now I need for certain reasons (NagVis,NDOUtils, etc) to have nagios deamon to store data in a MySQL database, I have already backed up the conf data, the problem is as follows: I would like to save the Historical Data so when I install NDOUtils and Nagvis I can have that availabe in the database,the question is: where does nagios keeps its historical data?.Thanks in advance. -- ++++++++++++++++++++++++++++++++ Eddy Ruiz Azcuy Admin Redes NODO-Union Electrica de Cuba tlf:+53 (7) 877-5000 877-5031 ext 20675 jabber:eddy at jb.une.cu Union electrica de Cuba CarlosIII #666 e/ Oquendo y Soledad ++++++++++++++++++++++++++++++++ ------------------------------------------------------------------------------ Gaining the trust of online customers is vital for the success of any company that requires sensitive data to be transmitted over the Web. Learn how to best implement a security strategy that keeps consumers' information secure and instills the confidence they need to proceed with transactions. http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ras.kumar01 at gmail.com Mon Jan 10 19:05:33 2011 From: ras.kumar01 at gmail.com (Rajesh Kumar) Date: Mon, 10 Jan 2011 23:35:33 +0530 Subject: Reg: Check_http_Port In-Reply-To: References: Message-ID: Hi James Moseley Thanks For your valuable reply for my request. I got the port based check_http monitoring. Thanks. My command definition as follows, # 'check_http' command definition define command{ command_name check_http command_line $USER1$/check_http -H $HOSTADDRESS$ -p $ARG1$ } define host{ use linux-server host_name USSERVER alias USSERVER address saas-test1.com } define service{ use generic-service host_name USSERVER service_description HTTP check_command check_http!8082 check_interval 3 check_period 24x7 retry_interval 2 max_check_attempts 2 notification_interval 5 notification_period workhours notification_options w,c,u,r notifications_enabled 1 } Regards B.Rajeshkumar On Mon, Jan 10, 2011 at 10:03 PM, James Moseley wrote: > On Mon, Jan 10, 2011 at 8:33 AM, Rajesh Kumar wrote: > >> Hi All >> >> >> >> I have installed Nagios Core in my CentOS but not able to configure >> port based check_http. We are using several port in apache-tomcat in remote >> server. We can able to configure default port 80. I have to need to >> configure server port of 8082, 8084 ? could you assist me port based >> configure on nagios. This is my cfg file of check_http. >> >> >> >> define host{ >> >> use linux-server >> >> host_name USSERVER >> >> alias USSERVER >> >> address saas-testing.com >> >> } >> >> define service{ >> >> use generic-service >> >> host_name USSERVER >> >> service_description HTTP >> >> check_command check_http >> >> check_interval 3 >> >> check_period 24x7 >> >> retry_interval 2 >> >> max_check_attempts 2 >> >> notification_interval 5 >> >> notification_period workhours >> >> notification_options w,c,u,r >> >> notifications_enabled 1 >> } >> >> Regards >> >> B.Rajeshkumar >> > > Your check command definition (which you didn't attach) should look > something like: > > define command{ > command_name check_http > command_line $USER1$/check_http -H $HOSTADDRESS$ -p $ARG1$ > } > > Then the check_command argument in your service definition, if you were > checking port 80, would look like: > > check_command check_http!80 > > If you want to check other ports, then you'll have to create a different > service for each port you want to check. > > -- > James Moseley > > > > ------------------------------------------------------------------------------ > Gaining the trust of online customers is vital for the success of any > company > that requires sensitive data to be transmitted over the Web. Learn how to > best implement a security strategy that keeps consumers' information secure > and instills the confidence they need to proceed with transactions. > http://p.sf.net/sfu/oracle-sfdevnl > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Gaining the trust of online customers is vital for the success of any company that requires sensitive data to be transmitted over the Web. Learn how to best implement a security strategy that keeps consumers' information secure and instills the confidence they need to proceed with transactions. http://p.sf.net/sfu/oracle-sfdevnl -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jmoseley at corp.xanadoo.com Mon Jan 10 19:31:06 2011 From: jmoseley at corp.xanadoo.com (James Moseley) Date: Mon, 10 Jan 2011 12:31:06 -0600 Subject: Reg: Check_http_Port In-Reply-To: References: Message-ID: On Mon, Jan 10, 2011 at 12:05 PM, Rajesh Kumar wrote: > Hi James Moseley > > > > Thanks For your valuable reply for my request. I got the port > based check_http monitoring. Thanks. > You're welcome. -- James Moseley -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Gaining the trust of online customers is vital for the success of any company that requires sensitive data to be transmitted over the Web. Learn how to best implement a security strategy that keeps consumers' information secure and instills the confidence they need to proceed with transactions. http://p.sf.net/sfu/oracle-sfdevnl -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jan 11 03:09:11 2011 From: yu.watanabe at jp.fujitsu.com (Yu Watanabe) Date: Tue, 11 Jan 2011 11:09:11 +0900 Subject: Check scheduling mechanism Message-ID: <201101110209.AA03089@S2007337.jp.fujitsu.com> Hello all. I'd like to confirm if the check scheduling mechanism had changed between version 2.x and 3.x. I have tried to check the documentation for 3.x but it seems that its still under construction. If it hadn't changed from version 2.x I want to refer the previous version . Had it changed drastically? Thanks! Yu Watanabe ------------------------------------------------------------------------------ Gaining the trust of online customers is vital for the success of any company that requires sensitive data to be transmitted over the Web. Learn how to best implement a security strategy that keeps consumers' information secure and instills the confidence they need to proceed with transactions. http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jan 11 03:11:12 2011 From: yu.watanabe at jp.fujitsu.com (Yu Watanabe) Date: Tue, 11 Jan 2011 11:11:12 +0900 Subject: Check scheduling mechanism In-Reply-To: <201101110209.AA03089@S2007337.jp.fujitsu.com> References: <201101110209.AA03089@S2007337.jp.fujitsu.com> Message-ID: <201101110211.AA03090@S2007337.jp.fujitsu.com> I was refering to the chapter "Service and Host Check Scheduling". Thanks! Yu Watanabe Yu Watanabe ????????: >Hello all. > >I'd like to confirm if the check scheduling mechanism had changed >between version 2.x and 3.x. > >I have tried to check the documentation for 3.x but it seems that its >still under construction. > >If it hadn't changed from version 2.x I want to refer the previous version . >Had it changed drastically? > >Thanks! >Yu Watanabe ------------------------------------------------------------------------------ Gaining the trust of online customers is vital for the success of any company that requires sensitive data to be transmitted over the Web. Learn how to best implement a security strategy that keeps consumers' information secure and instills the confidence they need to proceed with transactions. http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From yuehung.liu at gmail.com Tue Jan 11 04:44:46 2011 From: yuehung.liu at gmail.com (Yueh-Hung Liu) Date: Tue, 11 Jan 2011 11:44:46 +0800 Subject: Nagios Historical data backup In-Reply-To: <1294677188.8317.23.camel@laptop-eddy> References: <1294677188.8317.23.camel@laptop-eddy> Message-ID: check "log_archive_path" variable in Nagios' main config On Tue, Jan 11, 2011 at 12:33 AM, eddy wrote: > Good Morning,I have an installation of Nagios ver 3.0.6 and It's been > working fine up to now. Well now I need for certain reasons > (NagVis,NDOUtils, etc) to have nagios deamon to store data in a MySQL > database, I have already backed up the conf data, the problem is as > follows: I would like to save the Historical Data so when I install > NDOUtils and Nagvis I can have that availabe in the database,the > question is: where does nagios keeps its historical data?.Thanks in > advance. > > > > > -- > ++++++++++++++++++++++++++++++++ > Eddy Ruiz Azcuy > Admin Redes NODO-Union Electrica de Cuba > tlf:+53 (7) 877-5000 > 877-5031 ext 20675 > jabber:eddy at jb.une.cu > Union electrica de Cuba > CarlosIII #666 e/ Oquendo y Soledad > ++++++++++++++++++++++++++++++++ > > > > ------------------------------------------------------------------------------ > Gaining the trust of online customers is vital for the success of any company > that requires sensitive data to be transmitted over the Web. ? Learn how to > best implement a security strategy that keeps consumers' information secure > and instills the confidence they need to proceed with transactions. > http://p.sf.net/sfu/oracle-sfdevnl > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Gaining the trust of online customers is vital for the success of any company that requires sensitive data to be transmitted over the Web. Learn how to best implement a security strategy that keeps consumers' information secure and instills the confidence they need to proceed with transactions. http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From misteritguru at gmx.com Tue Jan 11 10:44:18 2011 From: misteritguru at gmx.com (Mister IT Guru) Date: Tue, 11 Jan 2011 09:44:18 +0000 Subject: Check_hpjd [SOLVED]ish In-Reply-To: References: <4D29AE98.7090002@gmx.com> <9C4141B1-FB01-4FA1-ACD6-D32716763600@twgi.net> <4D29F446.4010203@gmx.com> <19C93783-42C4-4E94-92DC-9A0C1B1D4E3D@twgi.net> <4D29FDA3.4040907@gmx.com> <4D2B0639.8090307@gmx.com> <4D2B12AE.5060004@gmx.com> <4D2B153E.4000707@gmx.com> <4D2B2BB8.70906@gmx.com> Message-ID: <4D2C2672.4000601@gmx.com> On 10/01/2011 16:42, Paul Williamson wrote: > > *From:*James Moseley [mailto:jmoseley at corp.xanadoo.com] > *Sent:* Monday, January 10, 2011 11:28 AM > *To:* Nagios Users List > *Subject:* Re: [Nagios-users] Check_hpjd > > On Mon, Jan 10, 2011 at 9:54 AM, Mister IT Guru > wrote: > > I'm pretty sure that the SNMP on my printers is working. Is it > included with this printer, because I specifically configured it, > and looked out for SNMP support before ordering these printers, to > use with Nagios. I know that my device returns data, because it > does for snmp queries from the CLI. I would like to know, how I > can get check_hpjd to be more verbose, or to log if that is possible? > > Thank You > > > You stated earlier in this thread that your printer supports SNMP as > evidence that you were able to walk the standard MIB tree. That's > great, but that doesn't mean that your hardware and current software > supports the SNMP MIB that the plugin is trying to use. > > That's why I suggested making sure you have the latest firmware/SNMP > support from HP installed on the printer. > > The plugin states that it works with HP printers that have JetDirect > cards installed. Does yours? > Please forgive my stupidness - I believed that all networked HP printers had JetDirect support, I now know better! Square peg, Round hole situation it seems. My talents as a coder, are yet to be realised, so please forgive me if I refrain from updating or customizing the plugin! I will have to find another way to monitor my printer status. -- The Solo System Admin http://solosysad.blogspot.com/ -- Mister IT Guru At Gmx Dot Com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Gaining the trust of online customers is vital for the success of any company that requires sensitive data to be transmitted over the Web. Learn how to best implement a security strategy that keeps consumers' information secure and instills the confidence they need to proceed with transactions. http://p.sf.net/sfu/oracle-sfdevnl -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Andrew.Fay at ajl.co.uk Tue Jan 11 11:10:08 2011 From: Andrew.Fay at ajl.co.uk (Andrew Fay) Date: Tue, 11 Jan 2011 10:10:08 -0000 Subject: NagVis - Cookies issue Message-ID: <73B0897B46A48E429822E662D4530F886A5508@aber-exch-003.ajl.co.uk> Hi, I am getting 1 2 Cookies disabled NagVis is unable to set a cookie in your browser. Please enable cookies for at least the NagVis host. Upon opening the NagVis page in Internet Explorer 8, when I open in Firefox I am able to log in no problem, Any ideas? Cookies are not disabled in my browser, I have tried this on other machines too with the same issue. I have also uncommented the cookies section in the nagvis config to no avail. Thanks, Andy o----------------------------------------------------------------------o This Email has been scanned for viruses by Aberdeen Journals' Outbound Email Security Systems. o----------------------------------------------------------------------o -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Gaining the trust of online customers is vital for the success of any company that requires sensitive data to be transmitted over the Web. Learn how to best implement a security strategy that keeps consumers' information secure and instills the confidence they need to proceed with transactions. http://p.sf.net/sfu/oracle-sfdevnl -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jalexson at jajxn.net Wed Jan 12 06:22:02 2011 From: jalexson at jajxn.net (John Alexson) Date: Tue, 11 Jan 2011 23:22:02 -0600 Subject: Check_hpjd [SOLVED]ish In-Reply-To: <4D2C2672.4000601@gmx.com> References: <4D29AE98.7090002@gmx.com> <9C4141B1-FB01-4FA1-ACD6-D32716763600@twgi.net> <4D29F446.4010203@gmx.com> <19C93783-42C4-4E94-92DC-9A0C1B1D4E3D@twgi.net> <4D29FDA3.4040907@gmx.com> <4D2B0639.8090307@gmx.com> <4D2B12AE.5060004@gmx.com> <4D2B153E.4000707@gmx.com> <4D2B2BB8.70906@gmx.com> <4D2C2672.4000601@gmx.com> Message-ID: <1294809722.10380.22.camel@spanky.jajxn.net> On Tue, 2011-01-11 at 09:44 +0000, Mister IT Guru wrote: > On 10/01/2011 16:42, Paul Williamson wrote: > > From: James Moseley [mailto:jmoseley at corp.xanadoo.com] > > Sent: Monday, January 10, 2011 11:28 AM > > To: Nagios Users List > > Subject: Re: [Nagios-users] Check_hpjd > > > > > > > > > > On Mon, Jan 10, 2011 at 9:54 AM, Mister IT Guru > > wrote: > > > > > > > > > > I'm pretty sure that the SNMP on my printers is working. Is > > it included with this printer, because I specifically > > configured it, and looked out for SNMP support before > > ordering these printers, to use with Nagios. I know that my > > device returns data, because it does for snmp queries from > > the CLI. I would like to know, how I can get check_hpjd to > > be more verbose, or to log if that is possible? > > > > Thank You > > > > > > > > You stated earlier in this thread that your printer supports SNMP as > > evidence that you were able to walk the standard MIB tree. That's > > great, but that doesn't mean that your hardware and current software > > supports the SNMP MIB that the plugin is trying to use. > > > > That's why I suggested making sure you have the latest firmware/SNMP > > support from HP installed on the printer. > > > > The plugin states that it works with HP printers that have JetDirect > > cards installed. Does yours? > > > > > > Please forgive my stupidness - I believed that all networked HP > printers had JetDirect support, I now know better! Square peg, Round > hole situation it seems. My talents as a coder, are yet to be > realised, so please forgive me if I refrain from updating or > customizing the plugin! I will have to find another way to monitor my > printer status. > Just a bit of friendly advice . . . You may want to reconsider your position on updating or customizing plugins. While it may be possible to find plugins that do exactly what you want in your particular environment with no modifications, it's going to be unnecessarily difficult and often frustrating. And it's certainly going to limit your choices of plugins, and thus the power and flexibility of Nagios. You may even find that the coding skills required to fix/tweak/tune/etc a plugin for your particular setup *might* be quite minimal. ------------------------------------------------------------------------------ Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From JBeck at urbn.com Thu Jan 13 08:24:06 2011 From: JBeck at urbn.com (Joe Beck) Date: Thu, 13 Jan 2011 02:24:06 -0500 Subject: Inventory plugin Message-ID: In researching a bit I found openaudit & onecmdb in terms of asset & inventory systems with some integration (or at least mention of it) with nagios. I?m wondering if anyone?s integrated facter? I don?t have a strong preference for any but looking for a product that?s a good fit & is still actively being developed. I?ve recently added openmanage (check_openmanage) which provides a good bit of config/inventory info but looking for something more in line with what facter preaches--Description: a library for retrieving facts from operating systems A cross-platform Ruby library for retrieving facts from operating systems. Supports multiple resolution mechanisms, any of which can be restricted to working only on certain operating systems or environments. Facter is especially useful for retrieving things like operating system names, IP addresses, MAC addresses, and SSH keys. I know this is tied closely into puppet which another tool we?re looking at here. The goal is to continue to leverage nagios, nrpe & pnp4nagios & build on this?these tools all integrate extremely well with no heavy development or web/php coding req?d. Thanks for sharing any info on this, Joe -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Jan 13 12:23:10 2011 From: yu.watanabe at jp.fujitsu.com (Yu Watanabe) Date: Thu, 13 Jan 2011 20:23:10 +0900 Subject: Timerange in exception area for timeperiod defintiion Message-ID: <201101131123.AA03123@S2007337.jp.fujitsu.com> Hello all. I 'd like to ask question for version 3.x. In the exception area of timeperiod definitions , when you specify you own timerange, like day 1 10:00-11:00 it seems that Nagios is not acknowledging the period. Is this a know issue in Nagios? Thanks, Yu Watanabe ------------------------------------------------------------------------------ Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From luc.maignan at winxpert.com Thu Jan 13 15:29:57 2011 From: luc.maignan at winxpert.com (Luc MAIGNAN) Date: Thu, 13 Jan 2011 15:29:57 +0100 Subject: Postqueue monitoring Message-ID: <4D2F0C65.2080303@winxpert.com> Hi, I'm looking for a postqueue (postfix) plugin that alerts me if there are blocked messages in a postfix queue. I didn't find any WORKABLE plugin. Does anyone know a good one ? BR ------------------------------------------------------------------------------ Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cjones at exelixis.com Thu Jan 13 19:30:19 2011 From: cjones at exelixis.com (Clyde Jones) Date: Thu, 13 Jan 2011 10:30:19 -0800 Subject: Custom command, works from command line, not from nagios? In-Reply-To: <4D286511.3020608@gmx.com> References: <4D286511.3020608@gmx.com> Message-ID: <5F171A4332A7E147B1537EA714461E0102BD797B@EXCL01.exelixis.com> Mister IT Guru wrote: > I run this command from the cli > > [root at host ~]# /usr/lib/nagios/plugins/check_nrpe -H client.localdomain -c get_disk -a localhost C: 70,80 > > And I get the response above. I defined the command below, > > define command{ > command_name check_cdrive > command_line $USER1$/get_disk -a $HOSTADDRESS$ C: 70,80 > } > > and also this service, > > define service{ > > use generic-service ; Inherit default > values from a > template > hostgroup_name Windows_Servers > service_description C Drive Space > check_command check_cdrive > } > > And I get this response when nagios runs the checks. > > Status Information: (Return code of 127 is out of bounds - plugin may > be missing) > > You are asking Nagios to run a non-existing command. What you have defined in the nagios command is NOT what you ran on the command line. Your command should be: define command{ command_name check_cdrive # Wrong command_line $USER1$/get_disk -a $HOSTADDRESS$ C: 70,80 command_line $USER1$/check_nrpe $HOSTADDRESS$ -c get_disk -a localhost C: 70,80 } -- Clyde Jones R&D Informatics Senior Applications Engineer cjones at exelixis.com Exelixis Inc 650 837 7085 Office 650 228 4699 Cell This email (including any attachments) may contain material that is confidential and privileged and is for the sole use of the intended recipient. Any review, reliance or distribution by others or forwarding without express permission is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies. Exelixis, Inc. reserves the right, to the extent and under circumstances permitted by applicable law, to retain, monitor and intercept e-mail messages to and from its systems. ------------------------------------------------------------------------------ Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Fri Jan 14 00:31:26 2011 From: jim at jimavery.me.uk (Jim Avery) Date: Thu, 13 Jan 2011 23:31:26 +0000 Subject: About the process of Nagios In-Reply-To: <4D26C6C9.2030604@aa.jp.fujitsu.com> References: <4D26C6C9.2030604@aa.jp.fujitsu.com> Message-ID: 2011/1/7 ????? : > Hello all. > > I would like to ask a question regarding to the behavior of Nagios check. > Delay has occurred in processing of Naigos check. Is that delay of an Active check or a Passive check? > When external command processing occurs, what does internal processing become? > Is internal processing after external processing execution performed? > > External Command{cacti ? Nagios(Passive services)} > ? Internal processing{ Nagios(Active service)} > > Please let me know about processing of Nagios. I'm not sure if they will tell you all you need to know, but if you haven't read them already, take a look at the "Active Checks" and "Passive Checks" pages under http://nagios.sourceforge.net/docs/3_0/toc.html The first place to look when fixing performance problems with Nagios is: http://nagios.sourceforge.net/docs/3_0/tuning.html I hope that helps you a little. Jim ------------------------------------------------------------------------------ Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Fri Jan 14 00:43:07 2011 From: jim at jimavery.me.uk (Jim Avery) Date: Thu, 13 Jan 2011 23:43:07 +0000 Subject: Nagios checker configuration In-Reply-To: <561100.86074.qm@web45201.mail.sp1.yahoo.com> References: <561100.86074.qm@web45201.mail.sp1.yahoo.com> Message-ID: On 8 January 2011 12:45, moses neah wrote: > Hi all, > Have anybody used nagios checher addon for firefox with nagiosxi? I try it > with nagios 2.9 and it work fine. But I get error (1error) when I use it > with nagiosxi. Can anybody point out what to do? > Thanks so much, It's been a while since I last used the Nagios Checker addon for Firefox. I think it simply runs the relevant .cgi and scrapes the status from what it finds there. In my experience, this can work well, but if you do something which alters the web page output in a way that Nagios Checker doesn't understand then it breaks it in one way or another. In my case, I found it broke after I implemented notes_url and action_url directives in service definitions (I can't remember which of those two actually broke the Firefox addon). I have no experience with Nagios XI so I don't know how the cgi differs from Nagios core (if at all). If you still have your Nagios 2.9 system, you might find what the problem is by comparing the html output of that with your XI system. hth, Jim ------------------------------------------------------------------------------ Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Fri Jan 14 00:49:25 2011 From: jim at jimavery.me.uk (Jim Avery) Date: Thu, 13 Jan 2011 23:49:25 +0000 Subject: Check scheduling mechanism In-Reply-To: <201101110209.AA03089@S2007337.jp.fujitsu.com> References: <201101110209.AA03089@S2007337.jp.fujitsu.com> Message-ID: On 11 January 2011 02:09, Yu Watanabe wrote: > Hello all. > > I'd like to confirm if the check scheduling mechanism had changed > between version 2.x and 3.x. > > I have tried to check the documentation for 3.x but it seems that its > still under construction. > > If it hadn't changed from version 2.x I want to refer the previous version . > Had it changed drastically? > > Thanks! > Yu Watanabe Have you checked the version history? http://www.nagios.org/projects/nagioscore/history/core-3x I don't know why but I can never find the version history page very easily so I bookmarked it. hth, Jim ------------------------------------------------------------------------------ Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Fri Jan 14 00:57:03 2011 From: jim at jimavery.me.uk (Jim Avery) Date: Thu, 13 Jan 2011 23:57:03 +0000 Subject: Postqueue monitoring In-Reply-To: <4D2F0C65.2080303@winxpert.com> References: <4D2F0C65.2080303@winxpert.com> Message-ID: On 13 January 2011 14:29, Luc MAIGNAN wrote: > Hi, > > I'm looking for a postqueue (postfix) plugin that alerts me if there are > blocked messages in a postfix queue. > > I didn't find any WORKABLE plugin. > > Does anyone know a good one ? Have you tried searching for 'postfix' at http://exchange.nagios.org/ ? There are few plugins there - if you find any of them are good or bad, please post a rating to help anyone else looking for something similar. I see one of them has good ratings .. http://exchange.nagios.org/directory/Plugins/Email-and-Groupware/Postfix/check_postfix_queue/details hth, Jim ------------------------------------------------------------------------------ Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Lincoln.Hobley at iag.com.au Fri Jan 14 03:02:09 2011 From: Lincoln.Hobley at iag.com.au (Lincoln Hobley) Date: Fri, 14 Jan 2011 13:02:09 +1100 Subject: Nagios checker configuration In-Reply-To: References: Message-ID: _______________________________________________________________________________________ Note: This e-mail is subject to the disclaimer contained at the bottom of this message. _______________________________________________________________________________________ Hi, Have been using the list for a while now & thought its time to contribute.. So being my 1st response, please be gentle.....;-) I use Nagios checker with Firefox, connecting to XI. I just configure it to connect to the Nagios Core component of XI http:///nagios, providing the relevant user details. & for me works just fine. Here's how I did it: So when you edit the Nagios Systems in the checker config (R click on the Nagios Checker notification area in FF, select settings), on the Nagios Systems tab, r click the Nagios system --> edit) In the general tab - just a friendly name.. In the Nagios Web interface tab - enter the url of the XI host: http:///nagios. Also select the radio button "Standalone Nagios", & add the user detail you use to connect that has access to the hosts/services you're interested in. In the status script URL tab Tick the box "Set URL manually" copy the Nagios URL from previous, & append: /cgi-bin/status.cgi which will give you the complete URL http:///nagios/cgi-bin/status.cgi Left the "other" tab untouched Then OK all the way out.. Cant comment on the notes_url or action_url other than I haven't seen that behaviour in the Nagios Core instances we have deployed. Hope its helpful.. Regards Lincoln -----Original Message----- From: Jim Avery [mailto:jim at jimavery.me.uk] Sent: Friday, 14 January 2011 10:43 AM To: Nagios Users List Subject: Re: [Nagios-users] Nagios checker configuration On 8 January 2011 12:45, moses neah wrote: > Hi all, > Have anybody used nagios checher addon for firefox with nagiosxi? I try it > with nagios 2.9 and it work fine. But I get error (1error) when I use it > with nagiosxi. Can anybody point out what to do? > Thanks so much, It's been a while since I last used the Nagios Checker addon for Firefox. I think it simply runs the relevant .cgi and scrapes the status from what it finds there. In my experience, this can work well, but if you do something which alters the web page output in a way that Nagios Checker doesn't understand then it breaks it in one way or another. In my case, I found it broke after I implemented notes_url and action_url directives in service definitions (I can't remember which of those two actually broke the Firefox addon). I have no experience with Nagios XI so I don't know how the cgi differs from Nagios core (if at all). If you still have your Nagios 2.9 system, you might find what the problem is by comparing the html output of that with your XI system. hth, Jim _______________________________________________________________________________________ The information transmitted in this message and its attachments (if any) is intended only for the person or entity to which it is addressed. The message may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon this information, by persons or entities other than the intended recipient is prohibited. If you have received this in error, please contact the sender and delete this e-mail and associated material from any computer. The intended recipient of this e-mail may only use, reproduce, disclose or distribute the information contained in this e-mail and any attached files, with the permission of the sender. This message has been scanned for viruses. _______________________________________________________________________________________ ------------------------------------------------------------------------------ Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ras.kumar01 at gmail.com Fri Jan 14 09:54:24 2011 From: ras.kumar01 at gmail.com (Rajesh Kumar) Date: Fri, 14 Jan 2011 14:24:24 +0530 Subject: Reg: Change_Email_ID Message-ID: Hi All I used Nagios Core in my CentOS Server. It?s working well. I need to change notification alert from my mail id. Now am getting mail id from nagios at monitor.server The monitor.server is my CentOS host id. How to switch to my mail id, (ras.kumar01 at gmail.com) in nagios. Regards B.Rajeshkumar -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From it.toonz at gmail.com Fri Jan 14 12:41:48 2011 From: it.toonz at gmail.com (Toonz IT) Date: Fri, 14 Jan 2011 17:11:48 +0530 Subject: Checking for live systems once every night. Message-ID: We want to monitor alive systems daily at a scheduled time(after office hours). We have users who repeatedly fail to switch off their workstations after office hours, even after several requests to help save power, and manually checking and switching off is not possible, so we want to generate a history log of days when their systems were kept on, so that they understand the loss they are generating. We have NSClient++ installed in these workstations, but how will be schedule a one time checking? We already have hourly checks and alerts for rest of our critical servers. thanks ananth. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 ljnet.dk Fri Jan 14 12:57:01 2011 From: nagios at ljnet.dk (Leif J.) Date: Fri, 14 Jan 2011 12:57:01 +0100 Subject: Checking for live systems once every night. In-Reply-To: References: Message-ID: <4D303A0D.7080808@ljnet.dk> Simple, Create a timeperiod. For example I have: define timeperiod{ timeperiod_name 9clock alias 09:00 every day sunday 09:00-09:00 monday 09:00-09:00 tuesday 09:00-09:00 wednesday 09:00-09:00 thursday 09:00-09:00 friday 09:00-09:00 saturday 09:00-09:00 } That will say everyday at 9 it will be checked /Leif Den 14-01-2011 12:41, Toonz IT skrev: > > We want to monitor alive systems daily at a scheduled time(after > office hours). > > We have users who repeatedly fail to switch off their workstations > after office hours, even after several requests to help save power, > and manually checking and switching off is not possible, so we want to > generate a history log of days when their systems were kept on, so > that they understand the loss they are generating. > > We have NSClient++ installed in these workstations, but how will be > schedule a one time checking? We already have hourly checks > and alerts for rest of our critical servers. > > thanks > ananth. > > > ------------------------------------------------------------------------------ > Protect Your Site and Customers from Malware Attacks > Learn about various malware tactics and how to avoid them. Understand > malware threats, the impact they can have on your business, and how you > can protect your company and customers by using code signing. > http://p.sf.net/sfu/oracle-sfdevnl > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From it.toonz at gmail.com Fri Jan 14 13:58:44 2011 From: it.toonz at gmail.com (Toonz IT) Date: Fri, 14 Jan 2011 18:28:44 +0530 Subject: Checking for live systems once every night. In-Reply-To: <4D303A0D.7080808@ljnet.dk> References: <4D303A0D.7080808@ljnet.dk> Message-ID: Thanks Keif, Will post if there are any issues... :-) On Fri, Jan 14, 2011 at 5:27 PM, Leif J. wrote: > Simple, Create a timeperiod. For example I have: > define timeperiod{ > timeperiod_name 9clock > alias 09:00 every day > sunday 09:00-09:00 > monday 09:00-09:00 > tuesday 09:00-09:00 > wednesday 09:00-09:00 > thursday 09:00-09:00 > friday 09:00-09:00 > saturday 09:00-09:00 > } > > > That will say everyday at 9 it will be checked > > /Leif > > > > Den 14-01-2011 12:41, Toonz IT skrev: > > > We want to monitor alive systems daily at a scheduled time(after office > hours). > > We have users who repeatedly fail to switch off their workstations after > office hours, even after several requests to help save power, and manually > checking and switching off is not possible, so we want to generate a history > log of days when their systems were kept on, so that they understand the > loss they are generating. > > We have NSClient++ installed in these workstations, but how will be > schedule a one time checking? We already have hourly checks > and alerts for rest of our critical servers. > > thanks > ananth. > > > ------------------------------------------------------------------------------ > Protect Your Site and Customers from Malware Attacks > Learn about various malware tactics and how to avoid them. Understand > malware threats, the impact they can have on your business, and how you > can protect your company and customers by using code signing.http://p.sf.net/sfu/oracle-sfdevnl > > > _______________________________________________ > Nagios-users mailing listNagios-users at lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > > > ------------------------------------------------------------------------------ > Protect Your Site and Customers from Malware Attacks > Learn about various malware tactics and how to avoid them. Understand > malware threats, the impact they can have on your business, and how you > can protect your company and customers by using code signing. > http://p.sf.net/sfu/oracle-sfdevnl > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.Maurer at mosolf.de Fri Jan 14 14:31:46 2011 From: Michael.Maurer at mosolf.de (Maurer, Michael) Date: Fri, 14 Jan 2011 14:31:46 +0100 Subject: check_sap CCMS questions Message-ID: <6623E119CF0E7D4A95B3CEC11A0B189E0319B54E@ex03-kir.mosolf.de> Hi Folks, i have 2 questions about the check_sap plugin... 1st: Is it possible to configure different warning- and critical-values in SAP CCMS rz20 for each SAP Server separately? Example: We have 4 SAP Servers SAP\Server0_SAP_00 SAP\Server1_SAP_00 SAP\Server2_SAP_00 SAP\Server3_SAP_00 I would like to set "*\*\Dialog\ResponseTime" critical limit value for SAP\Server0_SAP_00 higher than for SAP\Server3_SAP_00 but when i edit the limit values they apply for all servers. That suxx :( 2nd: No information gathered! System up? - WHY?!? When i check a value for all servers (wildcards in Pattern) i get the correct result: Agent.cfg Template: [TEMPLATE_09] DESCRIPTION="DialogResponseTime" MONI_SET_NAME=SAP CCMS Monitors for Optional Components MONI_NAME="Logon Load Balancing" MAX_TREE_DEPTH=0 PATTERN_0="*\*\Dialog\ResponseTime" RESULT: nagios32-kir:/usr/lib/nagios/plugins # ./check_sap 09 HOST ResponseTime=51msec | ResponseTime=51msec;3000.000000;5000.000000;0; ResponseTime=209msec | ResponseTime=209msec;3000.000000;5000.000000;0; ResponseTime=197msec | ResponseTime=197msec;3000.000000;5000.000000;0; ResponseTime=58msec | ResponseTime=58msec;3000.000000;5000.000000;0; But when i try to check it without wildcards explicitely for one server i get message "No information gathered! System up?". [TEMPLATE_007] DESCRIPTION="TEST" MONI_SET_NAME=SAP CCMS Monitors for Optional Components MONI_NAME="Logon Load Balancing" MAX_TREE_DEPTH=0 PATTERN_0="SAP\Server3_SAP_00\R3Services\Dialog\ResponseTime" This pattern value is copy&pasted from properties of the CCMS Monitor... I dont understand why... :( Thanks in advance! kind regards Michael -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jeffrey.Veatch at Knowyourrights.com Fri Jan 14 15:43:26 2011 From: Jeffrey.Veatch at Knowyourrights.com (Jeffrey C. Veatch) Date: Fri, 14 Jan 2011 08:43:26 -0600 Subject: Check_OpenManage error Message-ID: <57AD54E843EE1D4D8794562E4439798A010DE092C3@VMPLMAIL.Knowyourrights.com> To whom it may concern: I have been trying to use check_openmanage in my Nagios configuration, but no matter what I do I get a list of Internal Errors at the end of the returned test. The only way I can avoid it is by using the debug mode and only returning the first 80 lines. This however does not warn me of any issues the server is having. Here are some details. The server running OMSA is an R710 running VMware ESX 4.0.0 Update 2. OMSA version is 6.4. The nagios server is in a virtual machine running OpenSUSE 11.3. The Nagios version is 3.2.3. If there are other packages that you need to know the version, let me know. The following is an example of the results that I get. Oh, and in nagios this ends up being an unknown state for the check. VLinux:/usr/local/nagios/libexec # ./check_openmanage -H 192.168.10.21 OK - System: 'PowerEdge R710', SN: '5QTMZK1', 72 GB ram (18 dimms), 1 logical drives, 2 physical drives INTERNAL ERROR: Use of :locked is deprecated at /usr/lib/perl5/vendor_perl/5.12.1/Net/SNMP.pm line 588. INTERNAL ERROR: Use of :locked is deprecated at /usr/lib/perl5/vendor_perl/5.12.1/Net/SNMP.pm line 655. INTERNAL ERROR: Use of :locked is deprecated at /usr/lib/perl5/vendor_perl/5.12.1/Net/SNMP.pm line 708. INTERNAL ERROR: Use of :locked is deprecated at /usr/lib/perl5/vendor_perl/5.12.1/Net/SNMP.pm line 764. INTERNAL ERROR: Use of :locked is deprecated at /usr/lib/perl5/vendor_perl/5.12.1/Net/SNMP.pm line 869. INTERNAL ERROR: Use of :locked is deprecated at /usr/lib/perl5/vendor_perl/5.12.1/Net/SNMP.pm line 952. INTERNAL ERROR: Use of :locked is deprecated at /usr/lib/perl5/vendor_perl/5.12.1/Net/SNMP.pm line 1028. INTERNAL ERROR: Use of :locked is deprecated at /usr/lib/perl5/vendor_perl/5.12.1/Net/SNMP.pm line 1103. INTERNAL ERROR: Use of :locked is deprecated at /usr/lib/perl5/vendor_perl/5.12.1/Net/SNMP.pm line 1168. INTERNAL ERROR: Use of :locked is deprecated at /usr/lib/perl5/vendor_perl/5.12.1/Net/SNMP.pm line 1325. INTERNAL ERROR: Use of :locked is deprecated at /usr/lib/perl5/vendor_perl/5.12.1/Net/SNMP.pm line 1531. INTERNAL ERROR: Use of :locked is deprecated at /usr/lib/perl5/vendor_perl/5.12.1/Net/SNMP.pm line 1549. INTERNAL ERROR: Use of :locked is deprecated at /usr/lib/perl5/vendor_perl/5.12.1/Net/SNMP.pm line 1563. INTERNAL ERROR: Use of :locked is deprecated at /usr/lib/perl5/vendor_perl/5.12.1/Net/SNMP.pm line 1577. INTERNAL ERROR: Use of :locked is deprecated at /usr/lib/perl5/vendor_perl/5.12.1/Net/SNMP.pm line 1591. INTERNAL ERROR: Use of :locked is deprecated at /usr/lib/perl5/vendor_perl/5.12.1/Net/SNMP.pm line 1613. INTERNAL ERROR: Use of :locked is deprecated at /usr/lib/perl5/vendor_perl/5.12.1/Net/SNMP.pm line 1633. INTERNAL ERROR: Use of :locked is deprecated at /usr/lib/perl5/vendor_perl/5.12.1/Net/SNMP.pm line 1653. INTERNAL ERROR: Use of :locked is deprecated at /usr/lib/perl5/vendor_perl/5.12.1/Net/SNMP.pm line 1674. INTERNAL ERROR: Use of :locked is deprecated at /usr/lib/perl5/vendor_perl/5.12.1/Net/SNMP.pm line 1702. INTERNAL ERROR: Use of :locked is deprecated at /usr/lib/perl5/vendor_perl/5.12.1/Net/SNMP.pm line 1737. INTERNAL ERROR: Use of :locked is deprecated at /usr/lib/perl5/vendor_perl/5.12.1/Net/SNMP.pm line 1846. INTERNAL ERROR: Use of :locked is deprecated at /usr/lib/perl5/vendor_perl/5.12.1/Net/SNMP.pm line 1968. INTERNAL ERROR: Use of :locked is deprecated at /usr/lib/perl5/vendor_perl/5.12.1/Net/SNMP.pm line 1973. INTERNAL ERROR: Use of :locked is deprecated at /usr/lib/perl5/vendor_perl/5.12.1/Net/SNMP.pm line 1978. INTERNAL ERROR: Use of :locked is deprecated at /usr/lib/perl5/vendor_perl/5.12.1/Net/SNMP.pm line 1983. Thanks for any help you can give me. Jeffrey C. Veatch Network Manager 800 Marquette Avenue, Suite 900 Minneapolis, MN 55402 direct: 612-333-9727 fax: 612-333-5970 website: http://www.knowyourrights.com [http://www.knowyourrights.com/emailsigs/SGVCLogo.png] Confidentiality Notice: This message contains confidential information and is intended only for the intended recipient(s). If you are not the named recipient you should not read, distribute or copy this e-mail. Please notify the sender immediately via e-mail if you have received this e-mail by mistake; then, delete this e-mail from your system. Thank you.{SGVC} -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: SGVCLogo.png Type: image/png Size: 7266 bytes Desc: SGVCLogo.png URL: -------------- next part -------------- ------------------------------------------------------------------------------ Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From t.h.amundsen at usit.uio.no Fri Jan 14 17:09:30 2011 From: t.h.amundsen at usit.uio.no (Trond Hasle Amundsen) Date: Fri, 14 Jan 2011 17:09:30 +0100 Subject: Check_OpenManage error In-Reply-To: <57AD54E843EE1D4D8794562E4439798A010DE092C3@VMPLMAIL.Knowyourrights.com> (Jeffrey C. Veatch's message of "Fri, 14 Jan 2011 08:43:26 -0600") References: <57AD54E843EE1D4D8794562E4439798A010DE092C3@VMPLMAIL.Knowyourrights.com> Message-ID: <15t4o9bo4at.fsf@tux.uio.no> "Jeffrey C. Veatch" writes: > To whom it may concern: > > I have been trying to use check_openmanage in my Nagios configuration, but no > matter what I do I get a list of Internal Errors at the end of the returned > test. The only way I can avoid it is by using the debug mode and only > returning the first 80 lines. This however does not warn me of any issues the > server is having. > > Here are some details. The server running OMSA is an R710 running VMware ESX > 4.0.0 Update 2. OMSA version is 6.4. > The nagios server is in a virtual machine running OpenSUSE 11.3. The Nagios > version is 3.2.3. > > If there are other packages that you need to know the version, let me know. > The following is an example of the results that I get. Oh, and in nagios this > ends up being an unknown state for the check. > > VLinux:/usr/local/nagios/libexec # ./check_openmanage -H 192.168.10.21 > OK - System: 'PowerEdge R710', SN: '5QTMZK1', 72 GB ram (18 dimms), 1 logical > drives, 2 physical drives > INTERNAL ERROR: Use of :locked is deprecated at /usr/lib/perl5/vendor_perl/ > 5.12.1/Net/SNMP.pm line 588. > INTERNAL ERROR: Use of :locked is deprecated at /usr/lib/perl5/vendor_perl/ > 5.12.1/Net/SNMP.pm line 655. > INTERNAL ERROR: Use of :locked is deprecated at /usr/lib/perl5/vendor_perl/ > 5.12.1/Net/SNMP.pm line 708. > INTERNAL ERROR: Use of :locked is deprecated at /usr/lib/perl5/vendor_perl/ > 5.12.1/Net/SNMP.pm line 764. > INTERNAL ERROR: Use of :locked is deprecated at /usr/lib/perl5/vendor_perl/ > 5.12.1/Net/SNMP.pm line 869. > INTERNAL ERROR: Use of :locked is deprecated at /usr/lib/perl5/vendor_perl/ > 5.12.1/Net/SNMP.pm line 952. > INTERNAL ERROR: Use of :locked is deprecated at /usr/lib/perl5/vendor_perl/ > 5.12.1/Net/SNMP.pm line 1028. > INTERNAL ERROR: Use of :locked is deprecated at /usr/lib/perl5/vendor_perl/ > 5.12.1/Net/SNMP.pm line 1103. > INTERNAL ERROR: Use of :locked is deprecated at /usr/lib/perl5/vendor_perl/ > 5.12.1/Net/SNMP.pm line 1168. > INTERNAL ERROR: Use of :locked is deprecated at /usr/lib/perl5/vendor_perl/ > 5.12.1/Net/SNMP.pm line 1325. > INTERNAL ERROR: Use of :locked is deprecated at /usr/lib/perl5/vendor_perl/ > 5.12.1/Net/SNMP.pm line 1531. > INTERNAL ERROR: Use of :locked is deprecated at /usr/lib/perl5/vendor_perl/ > 5.12.1/Net/SNMP.pm line 1549. > INTERNAL ERROR: Use of :locked is deprecated at /usr/lib/perl5/vendor_perl/ > 5.12.1/Net/SNMP.pm line 1563. > INTERNAL ERROR: Use of :locked is deprecated at /usr/lib/perl5/vendor_perl/ > 5.12.1/Net/SNMP.pm line 1577. > INTERNAL ERROR: Use of :locked is deprecated at /usr/lib/perl5/vendor_perl/ > 5.12.1/Net/SNMP.pm line 1591. > INTERNAL ERROR: Use of :locked is deprecated at /usr/lib/perl5/vendor_perl/ > 5.12.1/Net/SNMP.pm line 1613. > INTERNAL ERROR: Use of :locked is deprecated at /usr/lib/perl5/vendor_perl/ > 5.12.1/Net/SNMP.pm line 1633. > INTERNAL ERROR: Use of :locked is deprecated at /usr/lib/perl5/vendor_perl/ > 5.12.1/Net/SNMP.pm line 1653. > INTERNAL ERROR: Use of :locked is deprecated at /usr/lib/perl5/vendor_perl/ > 5.12.1/Net/SNMP.pm line 1674. > INTERNAL ERROR: Use of :locked is deprecated at /usr/lib/perl5/vendor_perl/ > 5.12.1/Net/SNMP.pm line 1702. > INTERNAL ERROR: Use of :locked is deprecated at /usr/lib/perl5/vendor_perl/ > 5.12.1/Net/SNMP.pm line 1737. > INTERNAL ERROR: Use of :locked is deprecated at /usr/lib/perl5/vendor_perl/ > 5.12.1/Net/SNMP.pm line 1846. > INTERNAL ERROR: Use of :locked is deprecated at /usr/lib/perl5/vendor_perl/ > 5.12.1/Net/SNMP.pm line 1968. > INTERNAL ERROR: Use of :locked is deprecated at /usr/lib/perl5/vendor_perl/ > 5.12.1/Net/SNMP.pm line 1973. > INTERNAL ERROR: Use of :locked is deprecated at /usr/lib/perl5/vendor_perl/ > 5.12.1/Net/SNMP.pm line 1978. > INTERNAL ERROR: Use of :locked is deprecated at /usr/lib/perl5/vendor_perl/ > 5.12.1/Net/SNMP.pm line 1983. > Thanks for any help you can give me. Hi Jeffrey, Interesting error, never seen this one before :) check_openmanage will print any perl warnings that occur during execution as internal errors. This is done to avoid situations where the plugin stops working due to perl incompatibilities etc. without your knowledge, as Nagios completely ignores any plugin output to STDERR. Which version of Net::SNMP are you using? Try 'rpm -q perl-Net-SNMP' to find out. Perl 5.12 deprecated the "locked" attribute, and this was fixed in Net::SNMP version 6.0.1, i.e. the latest release. The changelog for Net::SNMP 6.0.1 has the following: - Removed all occurrences of the "locked" attribute that was deprecated in Perl 5.12.0. I believe this to be a problem with your distribution using an old/incompatible version of Net::SNMP. It seems that for perl 5.12.x you need Net::SNMP 6.0.1 (or any later version). PS. I found this in the OpenSUSE bugzilla: https://bugzilla.novell.com/show_bug.cgi?id=629698 Cheers, -- Trond H. Amundsen Center for Information Technology Services, University of Oslo ------------------------------------------------------------------------------ Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.Maurer at mosolf.de Fri Jan 14 17:54:48 2011 From: Michael.Maurer at mosolf.de (Maurer, Michael) Date: Fri, 14 Jan 2011 17:54:48 +0100 Subject: [BULK] - check_sap CCMS questions In-Reply-To: <6623E119CF0E7D4A95B3CEC11A0B189E0319B54E@ex03-kir.mosolf.de> References: <6623E119CF0E7D4A95B3CEC11A0B189E0319B54E@ex03-kir.mosolf.de> Message-ID: <6623E119CF0E7D4A95B3CEC11A0B189E0319B5AC@ex03-kir.mosolf.de> I solved question 2 myself. In SAP CCMS i created a new Monitorset "Nagios" and a new Monitor each server, so i can select the values separately and use wildcards. Thanks anyways :) kind regards Michael ________________________________ Von: Maurer, Michael [mailto:Michael.Maurer at mosolf.de] Gesendet: Freitag, 14. Januar 2011 14:32 An: nagios-users at lists.sourceforge.net Betreff: [BULK] - [Nagios-users] check_sap CCMS questions Hi Folks, i have 2 questions about the check_sap plugin... 1st: Is it possible to configure different warning- and critical-values in SAP CCMS rz20 for each SAP Server separately? Example: We have 4 SAP Servers SAP\Server0_SAP_00 SAP\Server1_SAP_00 SAP\Server2_SAP_00 SAP\Server3_SAP_00 I would like to set "*\*\Dialog\ResponseTime" critical limit value for SAP\Server0_SAP_00 higher than for SAP\Server3_SAP_00 but when i edit the limit values they apply for all servers. That suxx :( 2nd: No information gathered! System up? - WHY?!? When i check a value for all servers (wildcards in Pattern) i get the correct result: Agent.cfg Template: [TEMPLATE_09] DESCRIPTION="DialogResponseTime" MONI_SET_NAME=SAP CCMS Monitors for Optional Components MONI_NAME="Logon Load Balancing" MAX_TREE_DEPTH=0 PATTERN_0="*\*\Dialog\ResponseTime" RESULT: nagios32-kir:/usr/lib/nagios/plugins # ./check_sap 09 HOST ResponseTime=51msec | ResponseTime=51msec;3000.000000;5000.000000;0; ResponseTime=209msec | ResponseTime=209msec;3000.000000;5000.000000;0; ResponseTime=197msec | ResponseTime=197msec;3000.000000;5000.000000;0; ResponseTime=58msec | ResponseTime=58msec;3000.000000;5000.000000;0; But when i try to check it without wildcards explicitely for one server i get message "No information gathered! System up?". [TEMPLATE_007] DESCRIPTION="TEST" MONI_SET_NAME=SAP CCMS Monitors for Optional Components MONI_NAME="Logon Load Balancing" MAX_TREE_DEPTH=0 PATTERN_0="SAP\Server3_SAP_00\R3Services\Dialog\ResponseTime" This pattern value is copy&pasted from properties of the CCMS Monitor... I dont understand why... :( Thanks in advance! kind regards Michael -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ray at ganymede.org Fri Jan 14 21:55:28 2011 From: ray at ganymede.org (Ray Kiddy) Date: Fri, 14 Jan 2011 12:55:28 -0800 Subject: tracking AWStats systems? Message-ID: <99B82202-0A14-4EB5-BBFC-9BF8772BF01D@ganymede.org> I know that there are a huge number of web sites that nagios could track in different ways. But it seems to me that AWStats is commonly used and of interest to the people who also use nagios. So, does anyone have a suggestion for this? We have several AWStats systems and we want to check things like, is it still logging, is it seeing only 0 hits for some reason, is traffic dropping below or above some certain level, and are certain types of hits appearing? I suppose a nagios plugin can check the apache logs directly. But we appreciate using AWStats and it would be nice to enable nagios to check if the AWStats systems we have are working. Any thoughts or suggestions? thanx - ray ------------------------------------------------------------------------------ Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From timp at rndgroup.co.nz Sat Jan 15 02:40:34 2011 From: timp at rndgroup.co.nz (Tim Philips) Date: Sat, 15 Jan 2011 14:40:34 +1300 Subject: Odd configuration with flap_detection_enabled on a service Message-ID: <742DA433-6328-4B14-8579-816BEEABBE3A@rndgroup.co.nz> Hi All, I hope someone can point me in the right direction but I'm getting very mixed results when enabling flap detection (via the object templates) for a given service. I'm using Nagios 3.2.3 (on CentOS - a DAG RPM) and have enabled notifications globally (and can confirm this via the "Process Info" CGI - it says "Flap Detection Enabled? Yes"). I have defined a simple host configuration with the given service using a single template. The template has flap_detection_enabled = 0 defined. I have configured flap_detection_enabled = 1 on the service in question but via the Configuration > Services CGI I'm seeing "Enable Flap Detection No". The only way I can get it to say Yes (indicating that it is using Flap Detection) is to remove the configuration from the service and either remove it from the template or change the template to flap_detection_enabled = 1. I'm restarting the Nagios daemon each time I make changes to the configuration. Has anyone else experienced this or am I totally off the mark? -- Thanks, Tim Philips (RHCE) RND GROUP LIMITED ------------------------------------------------------------------------------ Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mssneah at yahoo.com Sun Jan 16 06:53:59 2011 From: mssneah at yahoo.com (moses neah) Date: Sat, 15 Jan 2011 21:53:59 -0800 (PST) Subject: Nagios default ping packet Message-ID: <593293.47352.qm@web45213.mail.sp1.yahoo.com> Hi All out there. has anybody change the default ping packet (-p 5). What I want to do is change the ping packet to 35 packets like this(-w 3000.0!3%!5000.0!5%!-p 35). What do I need to do before this work? I am running nagiosxi the latest version. Regards, -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From NOC at eurofmc.com Mon Jan 17 08:57:48 2011 From: NOC at eurofmc.com (Network Operation Center FMC Luxemburg) Date: Mon, 17 Jan 2011 08:57:48 +0100 Subject: SMTP server update Message-ID: <4D33F67C.4050607@eurofmc.com> Dear list, Is it possible to specify to Nagios wich SMTP server it have to use for sending alert mails? Thanks a lot Francois -- Network Operation Center LUXEMBURG E-mail: NOC at eurofmc.com -------------------------------------------------------------------- _DISCLAIMER_: This e-mail contains proprietary information some or all of which may be legally privileged. It is for the intended recipient only. If an addressing or transmission error has misdirected this e-mail, please notify the author by replying to this e-mail. If you are not the intended recipient you must not use, copy, distribute, disclose, print, or rely on this e-mail. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: smallfmc.gif Type: image/gif Size: 2324 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From member at linkedin.com Mon Jan 17 09:43:41 2011 From: member at linkedin.com (dylan klc via LinkedIn) Date: Mon, 17 Jan 2011 08:43:41 +0000 (UTC) Subject: Invitation to connect on LinkedIn Message-ID: <760873351.8167407.1295253821797.JavaMail.app@ela4-bed32.prod> LinkedIn ------------dylan klc requested to add you as a connection on LinkedIn: ------------------------------------------ Lei, I'd like to add you to my professional network on LinkedIn. - dylan Accept invitation from dylan klc http://www.linkedin.com/e/y49s6u-gj14ol7l-6m/Vg1FBpStI6_M-eFLExlo-pjnfalPIPkLyx3rkqjZdRi1FOrPNoT/blk/I1054705741_3/1BpC5vrmRLoRZcjkkZt5YCpnlOt3RApnhMpmdzgmhxrSNBszYPnP4QdPkMdPgRc359bSpIt69jckATbP4OejwVc3kRcj8LrCBxbOYWrSlI/EML_comm_afe/ View invitation from dylan klc http://www.linkedin.com/e/y49s6u-gj14ol7l-6m/Vg1FBpStI6_M-eFLExlo-pjnfalPIPkLyx3rkqjZdRi1FOrPNoT/blk/I1054705741_3/3dvcjgTdj0Td3kMckALqnpPbOYWrSlI/svi/ ------------------------------------------ DID YOU KNOW that LinkedIn can find the answers to your most difficult questions? Post those vexing questions on LinkedIn Answers to tap into the knowledge of the world's foremost business experts: http://www.linkedin.com/e/y49s6u-gj14ol7l-6m/ask/inv-23/ -- (c) 2010, LinkedIn Corporation -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Thomas.Borger at esg.de Mon Jan 17 09:51:05 2011 From: Thomas.Borger at esg.de (Thomas Borger) Date: Mon, 17 Jan 2011 09:51:05 +0100 Subject: Antwort: SMTP server update In-Reply-To: <4D33F67C.4050607@eurofmc.com> References: <4D33F67C.4050607@eurofmc.com> Message-ID: Yes. The only thing what is to do for you, is configure your MTA (postfix, sendmail, exim) on the Nagios server. kindly regards Thomas Network Operation Center FMC Luxemburg schrieb am 17.01.2011 08:57:48: > Von: Network Operation Center FMC Luxemburg > An: nagios-users at lists.sourceforge.net > Datum: 17.01.2011 09:45 > Betreff: [Nagios-users] SMTP server update > > Dear list, > > Is it possible to specify to Nagios wich SMTP server it have to use > for sending alert mails? > > Thanks a lot > Francois > > -- > Network Operation Center > [Bild entfernt] > LUXEMBURG > > E-mail: NOC at eurofmc.com > -------------------------------------------------------------------- > > DISCLAIMER: This e-mail contains proprietary information some or all > of which may be legally privileged. It is for the intended recipient > only. If an addressing or transmission error has misdirected this > e-mail, please notify the author by replying to this e-mail. If you > are not the intended recipient you must not use, copy, distribute, > disclose, print, or rely on this e-mail. > > > ------------------------------------------------------------------------------ > Protect Your Site and Customers from Malware Attacks > Learn about various malware tactics and how to avoid them. Understand > malware threats, the impact they can have on your business, and how you > can protect your company and customers by using code signing. > http://p.sf.net/sfu/oracle-sfdevnl > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null _____________________________________________________________________________________________________________________ ESG Elektroniksystem- und Logistik-GmbH Rechtsform/Legal Form: Gesellschaft mit beschr?nkter Haftung Sitz/Registered Office: M?nchen Handelsregister/Commercial Register: Registergericht M?nchen, HRB 8130 Vorsitzender des Aufsichtsrats/Chairman of the Supervisory Board: Peter Obermark Vorsitzender der Gesch?ftsf?hrung/CEO: Dipl.-Math. Gerhard Schempp, Gesch?ftsf?hrer/Managing Director: Dipl.-Kfm. G?tz Graichen -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jan 17 14:33:07 2011 From: nagios at flatto.net (Assaf Flatto) Date: Mon, 17 Jan 2011 13:33:07 +0000 Subject: Nagios default ping packet In-Reply-To: <593293.47352.qm@web45213.mail.sp1.yahoo.com> References: <593293.47352.qm@web45213.mail.sp1.yahoo.com> Message-ID: <4D344513.1020801@flatto.net> moses neah wrote: > Hi All out there. > has anybody change the default ping packet (-p 5). What I want to do > is change the ping packet to 35 packets like this(-w > 3000.0!3%!5000.0!5%!-p 35). What do I need to do before this work? I > am running nagiosxi the latest version. > Regards, > > You'll need to change the definitions of the command check_ping in the commands.cfg file you may also want to consult the specific parameters of the plug -in to make sure you have it set up properly and then reload nagios . http://nagiosplugins.org/man/check_ping Assaf ------------------------------------------------------------------------------ Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From it.toonz at gmail.com Mon Jan 17 15:10:57 2011 From: it.toonz at gmail.com (Toonz IT) Date: Mon, 17 Jan 2011 19:40:57 +0530 Subject: Checking for live systems once every night. In-Reply-To: References: <4D303A0D.7080808@ljnet.dk> Message-ID: This is how we have given time period to check if a number of workstation were alive at 10PM every night of a week. But we are getting alerts every half an hour. where have we gone wrong. define timeperiod{ timeperiod_name 10pm alias 10:00 everyday sunday 10:00-10:00 monday 10:00-10:00 tuesday 10:00-10:00 wednesday 10:00-10:00 thursday 10:00-10:00 friday 10:00-10:00 saturday 10:00-10:00 } we are using FAN 2.0 virtual appliance. On Fri, Jan 14, 2011 at 6:28 PM, Toonz IT wrote: > Thanks Keif, > > Will post if there are any issues... :-) > > > > > On Fri, Jan 14, 2011 at 5:27 PM, Leif J. wrote: > >> Simple, Create a timeperiod. For example I have: >> define timeperiod{ >> timeperiod_name 9clock >> alias 09:00 every day >> sunday 09:00-09:00 >> monday 09:00-09:00 >> tuesday 09:00-09:00 >> wednesday 09:00-09:00 >> thursday 09:00-09:00 >> friday 09:00-09:00 >> saturday 09:00-09:00 >> } >> >> >> That will say everyday at 9 it will be checked >> >> /Leif >> >> >> >> Den 14-01-2011 12:41, Toonz IT skrev: >> >> >> We want to monitor alive systems daily at a scheduled time(after office >> hours). >> >> We have users who repeatedly fail to switch off their workstations after >> office hours, even after several requests to help save power, and manually >> checking and switching off is not possible, so we want to generate a history >> log of days when their systems were kept on, so that they understand the >> loss they are generating. >> >> We have NSClient++ installed in these workstations, but how will be >> schedule a one time checking? We already have hourly checks >> and alerts for rest of our critical servers. >> >> thanks >> ananth. >> >> >> ------------------------------------------------------------------------------ >> Protect Your Site and Customers from Malware Attacks >> Learn about various malware tactics and how to avoid them. Understand >> malware threats, the impact they can have on your business, and how you >> can protect your company and customers by using code signing.http://p.sf.net/sfu/oracle-sfdevnl >> >> >> _______________________________________________ >> Nagios-users mailing listNagios-users at lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> >> >> >> >> ------------------------------------------------------------------------------ >> Protect Your Site and Customers from Malware Attacks >> Learn about various malware tactics and how to avoid them. Understand >> malware threats, the impact they can have on your business, and how you >> can protect your company and customers by using code signing. >> http://p.sf.net/sfu/oracle-sfdevnl >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: 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 -------------- ------------------------------------------------------------------------------ Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From AHKAPLAN at PARTNERS.ORG Mon Jan 17 18:55:26 2011 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Mon, 17 Jan 2011 12:55:26 -0500 Subject: CHECK_NRPE: No output returned with check_iptables.sh script Message-ID: Hi there -- I am running the check_iptables.sh script on one of our clients, and while the script presents output whenever it is manually run on the server with the firewall, this output is not being transmitted to the Nagios server. The error message that I am encountering is the following: CHECK_NRPE: No output returned from daemon. The check_iptables.sh script is located in the /usr/local/nagios/libxec directory, and has been added as a definition to the /usr/local/nagios/etc/commands.cfg file with the syntax shown below: # 'check_iptables.sh' command definition define command{ command_name check_iptables command_line /usr/local/nagios/libexec/check_iptables.sh } The definition for check on the Nagios server has been added to the /usr/local/nagios/etc/objects/services.cfg file with the following: # Service definition define service{ use generic-service ; Name of service template to use host_name service_description Check IP Tables is_volatile 0 check_period workhours max_check_attempts 4 normal_check_interval 5 retry_check_interval 1 contact_groups linux-admins notification_interval 960 notification_period workhours check_command check_nrpe!check_iptables } The check_iptables.sh script has been added to the /usr/local/nrpe/libexec directory on the client, and the definition of the check shown below is included in the client's nrpe.cfg file: command[check_iptables]=/usr/local/nrpe/libexec/check_iptables.sh The client system is situated outside the company filewall in a DMZ, and connections are made through the firewall via an SSH connection. There are several other services that are monitored by the Nagios server, and the output from their respective chceks are getting through to the Nagios server. The NRPE client is version 2.6, while the Nagios server is running the 3.1.2 release. I checked the nagios.log and messages log files, but I did not see any errors relating to the script. What other step(s) do I need to take in order for the output that is generated on the client be transmitted to the server? Thanks. The information in this e-mail is intended only for the person to whom it is addressed. If you believe this e-mail was sent to you in error and the e-mail contains patient information, please contact the Partners Compliance HelpLine at http://www.partners.org/complianceline . If the e-mail was sent to you in error but does not contain patient information, please contact the sender and properly dispose of the e-mail. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jan 17 19:01:39 2011 From: nagios at flatto.net (Assaf Flatto) Date: Mon, 17 Jan 2011 18:01:39 +0000 Subject: CHECK_NRPE: No output returned with check_iptables.sh script In-Reply-To: References: Message-ID: <4D348403.1010006@flatto.net> Kaplan, Andrew H. wrote: > > Hi there -- > > I am running the check_iptables.sh script on one of our clients, and > while the script presents output whenever it is > manually run on the server with the firewall, this output is not being > transmitted to the Nagios server. The error message > > that I am encountering is the following: > > CHECK_NRPE: No output returned from daemon. > > The check_iptables.sh script is located in the > /usr/local/nagios/libxec directory, and has been added as a definition to > > the /usr/local/nagios/etc/commands.cfg file with the syntax shown below: > > # 'check_iptables.sh' command definition > define command{ > command_name check_iptables > command_line /usr/local/nagios/libexec/check_iptables.sh > } > > The definition for check on the Nagios server has been added to the > /usr/local/nagios/etc/objects/services.cfg file > with the following: > > # Service definition > define service{ > use generic-service ; Name > of service template to use > > host_name > service_description Check IP Tables > is_volatile 0 > check_period workhours > max_check_attempts 4 > normal_check_interval 5 > retry_check_interval 1 > contact_groups linux-admins > notification_interval 960 > notification_period workhours > check_command check_nrpe!check_iptables > } > > The check_iptables.sh script has been added to the > /usr/local/nrpe/libexec directory on the client, and the definition > of the check shown below is included in the client's nrpe.cfg file: > > command[check_iptables]=/usr/local/nrpe/libexec/check_iptables.sh > > The client system is situated outside the company filewall in a DMZ, > and connections are made through the firewall > via an SSH connection. There are several other services that are > monitored by the Nagios server, and the output from > their respective chceks are getting through to the Nagios server. > > The NRPE client is version 2.6, while the Nagios server is running the > 3.1.2 release. I checked the nagios.log and > messages log files, but I did not see any errors relating to the > script. What other step(s) do I need to take in order > for the output that is generated on the client be transmitted to the > server? Thanks. > > Have you tried enabling the debugging on the nrpe client and see what the output is when you manually trigger the check ? Have you tried running the check manually as the nagios user ? what output did you get ? what are the return codes that you implemented in the iptables test script , and what output is sent beside the return codes? Assaf ------------------------------------------------------------------------------ Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From AHKAPLAN at PARTNERS.ORG Mon Jan 17 19:13:32 2011 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Mon, 17 Jan 2011 13:13:32 -0500 Subject: CHECK_NRPE: No output returned with check_iptables.sh script In-Reply-To: <4D348403.1010006@flatto.net> References: <4D348403.1010006@flatto.net> Message-ID: Hi there -- Thanks for your reply. Regarding your questions: >> Have you tried enabling the debugging on the nrpe client and see what >> the output is when you manually trigger the check ? I have enabled debugging on the client, and there were no error messages listed in /var/log/messages file. >> Have you tried running the check manually as the nagios user ? what >> output did you get ? I have run the check manually, and the output appears to be correct. >> what are the return codes that you implemented in the iptables test >> script , and what output is sent beside the return codes? I have not implemented any return codes in the test script. -----Original Message----- From: Assaf Flatto [mailto:nagios at flatto.net] Sent: Monday, January 17, 2011 1:02 PM To: Nagios Users List Subject: Re: [Nagios-users] CHECK_NRPE: No output returned with check_iptables.sh script Kaplan, Andrew H. wrote: > > Hi there -- > > I am running the check_iptables.sh script on one of our clients, and > while the script presents output whenever it is > manually run on the server with the firewall, this output is not being > transmitted to the Nagios server. The error message > > that I am encountering is the following: > > CHECK_NRPE: No output returned from daemon. > > The check_iptables.sh script is located in the > /usr/local/nagios/libxec directory, and has been added as a definition to > > the /usr/local/nagios/etc/commands.cfg file with the syntax shown below: > > # 'check_iptables.sh' command definition > define command{ > command_name check_iptables > command_line /usr/local/nagios/libexec/check_iptables.sh > } > > The definition for check on the Nagios server has been added to the > /usr/local/nagios/etc/objects/services.cfg file > with the following: > > # Service definition > define service{ > use generic-service ; Name > of service template to use > > host_name > service_description Check IP Tables > is_volatile 0 > check_period workhours > max_check_attempts 4 > normal_check_interval 5 > retry_check_interval 1 > contact_groups linux-admins > notification_interval 960 > notification_period workhours > check_command check_nrpe!check_iptables > } > > The check_iptables.sh script has been added to the > /usr/local/nrpe/libexec directory on the client, and the definition > of the check shown below is included in the client's nrpe.cfg file: > > command[check_iptables]=/usr/local/nrpe/libexec/check_iptables.sh > > The client system is situated outside the company filewall in a DMZ, > and connections are made through the firewall > via an SSH connection. There are several other services that are > monitored by the Nagios server, and the output from > their respective chceks are getting through to the Nagios server. > > The NRPE client is version 2.6, while the Nagios server is running the > 3.1.2 release. I checked the nagios.log and > messages log files, but I did not see any errors relating to the > script. What other step(s) do I need to take in order > for the output that is generated on the client be transmitted to the > server? Thanks. > > Have you tried enabling the debugging on the nrpe client and see what the output is when you manually trigger the check ? Have you tried running the check manually as the nagios user ? what output did you get ? what are the return codes that you implemented in the iptables test script , and what output is sent beside the return codes? Assaf ------------------------------------------------------------------------------ Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null The information in this e-mail is intended only for the person to whom it is addressed. If you believe this e-mail was sent to you in error and the e-mail contains patient information, please contact the Partners Compliance HelpLine at http://www.partners.org/complianceline . If the e-mail was sent to you in error but does not contain patient information, please contact the sender and properly dispose of the e-mail. ------------------------------------------------------------------------------ Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sschwartz at gracenote.com Mon Jan 17 20:59:27 2011 From: sschwartz at gracenote.com (Steven Schwartz) Date: Mon, 17 Jan 2011 11:59:27 -0800 Subject: Weird failure-to-count error Message-ID: I have a test (proprietary internal test) that runs, reports critical (not surprising, as it's doing a web submit to a non-running webserver), which then fails again every 15 minutes; and never moves from "Current Attempt: 1/3", and therefore does not notify. Interestingly enough, the subsequent failures do not log; the only way I was able to tell that, in fact, they had failed was checking the "Last Check Time" and "Next Scheduled Active Check" and seeing them advance, while the "Current Attempt" remained stable. The "Current State Duration" is updated correctly, but it still does not page. Has anyone seen a problem like this before, and if so, what did you do to fix it? Steven Schwartz Unix Systems Administrator, Gracenote, Inc. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Nigel.Heaney at bgfl.org Mon Jan 17 21:19:27 2011 From: Nigel.Heaney at bgfl.org (Nigel Heaney) Date: Mon, 17 Jan 2011 20:19:27 +0000 Subject: automated response Message-ID: <11101172019.AA36601@bgfl.org> I will be out of the office until 31st January. I will read my email upon return. ************************************************************* This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify postmaster at bgfl.org The views expressed within this email are those of the individual, and not necessarily those of the organisation ************************************************************* ------------------------------------------------------------------------------ Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jan 17 22:23:38 2011 From: nagios at flatto.net (Assaf Flatto) Date: Mon, 17 Jan 2011 21:23:38 +0000 Subject: CHECK_NRPE: No output returned with check_iptables.sh script In-Reply-To: References: <4D348403.1010006@flatto.net> Message-ID: <4D34B35A.6030703@flatto.net> Kaplan, Andrew H. wrote: > Hi there -- > > Thanks for your reply. Regarding your questions: > > >>> Have you tried enabling the debugging on the nrpe client and see what >>> the output is when you manually trigger the check ? >>> > > I have enabled debugging on the client, and there were no error messages listed > in /var/log/messages file. > > >>> Have you tried running the check manually as the nagios user ? what >>> output did you get ? >>> > > I have run the check manually, and the output appears to be correct. > > >>> what are the return codes that you implemented in the iptables test >>> script , and what output is sent beside the return codes? >>> > > I have not implemented any return codes in the test script. > > > > When you run it manually - how do you do it ? check_nrpe -H -c check_iptables from the nagios server ? or local on the client ? If you have not put in return codes how do you expect nagios to know what was the exit status of the script ? how will it know if it finished running or failed - those are not covered from NRPE but determined in the plugin. Assaf ------------------------------------------------------------------------------ Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tonvoon at gmail.com Mon Jan 17 22:46:35 2011 From: tonvoon at gmail.com (Ton Voon) Date: Mon, 17 Jan 2011 21:46:35 +0000 Subject: Weird failure-to-count error In-Reply-To: References: Message-ID: <114DD765-D06A-4980-8421-0320834B8BD6@gmail.com> On 17 Jan 2011, at 19:59, Steven Schwartz wrote: > I have a test (proprietary internal test) that runs, reports > critical (not surprising, as it?s doing a web submit to a non- > running webserver), which then fails again every 15 minutes; and > never moves from ?Current Attempt: 1/3?, and therefore does not > notify. > > Interestingly enough, the subsequent failures do not log; the only > way I was able to tell that, in fact, they had failed was checking > the ?Last Check Time? and ?Next Scheduled Active Check? and seeing > them advance, while the ?Current Attempt? remained stable. > > The ?Current State Duration? is updated correctly, but it still does > not page. > > Has anyone seen a problem like this before, and if so, what did you > do to fix it? If this is: * On Nagios 3.2.3 * Has a host failure and * Is not the service that noticed that the host failed Then you probably have the bug documented here: http://bit.ly/dKykJr I've patched in the latest CVS, but no release is made yet. Does this fix it for you? Ton -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sschwartz at gracenote.com Mon Jan 17 22:54:07 2011 From: sschwartz at gracenote.com (Steven Schwartz) Date: Mon, 17 Jan 2011 13:54:07 -0800 Subject: Weird failure-to-count error In-Reply-To: <114DD765-D06A-4980-8421-0320834B8BD6@gmail.com> References: <114DD765-D06A-4980-8421-0320834B8BD6@gmail.com> Message-ID: Sadly, we're running 2.5 (looking to upgrade/switch to icinga later in the year, still figuring out which), and the system never gets to checking for a host failure; indeed, once we get the first failure (Current attempt: 1/3), it never appears to go back and check again. So, I'll look at the patch you made, but I don't think it's the same problem. Thank you, though! Steven Schwartz From: Ton Voon [mailto:tonvoon at gmail.com] Sent: Monday, January 17, 2011 1:47 PM To: Nagios Users List Subject: Re: [Nagios-users] Weird failure-to-count error On 17 Jan 2011, at 19:59, Steven Schwartz wrote: I have a test (proprietary internal test) that runs, reports critical (not surprising, as it's doing a web submit to a non-running webserver), which then fails again every 15 minutes; and never moves from "Current Attempt: 1/3", and therefore does not notify. Interestingly enough, the subsequent failures do not log; the only way I was able to tell that, in fact, they had failed was checking the "Last Check Time" and "Next Scheduled Active Check" and seeing them advance, while the "Current Attempt" remained stable. The "Current State Duration" is updated correctly, but it still does not page. Has anyone seen a problem like this before, and if so, what did you do to fix it? If this is: * On Nagios 3.2.3 * Has a host failure and * Is not the service that noticed that the host failed Then you probably have the bug documented here: http://bit.ly/dKykJr I've patched in the latest CVS, but no release is made yet. Does this fix it for you? Ton -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From it.toonz at gmail.com Tue Jan 18 07:15:16 2011 From: it.toonz at gmail.com (Toonz IT) Date: Tue, 18 Jan 2011 11:45:16 +0530 Subject: Checking for live systems once every night. In-Reply-To: References: <4D303A0D.7080808@ljnet.dk> Message-ID: We have added the checking time period in timeperiods.cfg file. and it is correctly showing in the Host State Information Host Status: UP (for 0d 1h 41m 11s) Status Information:PING OK - Packet loss = 0%, RTA = 0.22 ms Performance Data:rta=0.221000ms;3000.000000;5000.000000;0.000000 pl=0%;80;100;0 Current Attempt:1/10 (HARD state) Last Check Time:01-18-2011 10:00:00 Check Type:ACTIVE Check Latency / Duration:0.141 / 6.732 seconds Next Scheduled Active Check: 01-19-2011 10:00:00 Last State Change:01-18-2011 10:00:16 Last Notification:01-18-2011 10:00:16 (notification 0) Is This Host Flapping? NO (0.00% state change) In Scheduled Downtime? NO Last Update:01-18-2011 11:41:22 ( 0d 0h 0m 5s ago) Active Checks: ENABLED Passive Checks: ENABLED Obsessing: ENABLED Notifications: ENABLED Event Handler: ENABLED Flap Detection: ENABLED But we are getting notification every 30min, we have now edited the cofig file of the system and set notification to 720, as we need a notification only after every 12 hours. Hope this is the way to do it!! Please advice. *Our aim is to collect information on systems which has not been shutdown at 10pm every night when most employees have already left the studio.* On Mon, Jan 17, 2011 at 7:40 PM, Toonz IT wrote: > This is how we have given time period to check if a number of workstation > were alive at 10PM every night of a week. But we are getting alerts every > half an hour. where have we gone wrong. > > > define timeperiod{ > timeperiod_name 10pm > alias 10:00 everyday > sunday 10:00-10:00 > monday 10:00-10:00 > tuesday 10:00-10:00 > wednesday 10:00-10:00 > thursday 10:00-10:00 > friday 10:00-10:00 > saturday 10:00-10:00 > } > > we are using FAN 2.0 virtual appliance. > > > > > > On Fri, Jan 14, 2011 at 6:28 PM, Toonz IT wrote: > >> Thanks Keif, >> >> Will post if there are any issues... :-) >> >> >> >> >> On Fri, Jan 14, 2011 at 5:27 PM, Leif J. wrote: >> >>> Simple, Create a timeperiod. For example I have: >>> define timeperiod{ >>> timeperiod_name 9clock >>> alias 09:00 every day >>> sunday 09:00-09:00 >>> monday 09:00-09:00 >>> tuesday 09:00-09:00 >>> wednesday 09:00-09:00 >>> thursday 09:00-09:00 >>> friday 09:00-09:00 >>> saturday 09:00-09:00 >>> } >>> >>> >>> That will say everyday at 9 it will be checked >>> >>> /Leif >>> >>> >>> >>> Den 14-01-2011 12:41, Toonz IT skrev: >>> >>> >>> We want to monitor alive systems daily at a scheduled time(after office >>> hours). >>> >>> We have users who repeatedly fail to switch off their workstations after >>> office hours, even after several requests to help save power, and manually >>> checking and switching off is not possible, so we want to generate a history >>> log of days when their systems were kept on, so that they understand the >>> loss they are generating. >>> >>> We have NSClient++ installed in these workstations, but how will be >>> schedule a one time checking? We already have hourly checks >>> and alerts for rest of our critical servers. >>> >>> thanks >>> ananth. >>> >>> >>> ------------------------------------------------------------------------------ >>> Protect Your Site and Customers from Malware Attacks >>> Learn about various malware tactics and how to avoid them. Understand >>> malware threats, the impact they can have on your business, and how you >>> can protect your company and customers by using code signing.http://p.sf.net/sfu/oracle-sfdevnl >>> >>> >>> _______________________________________________ >>> Nagios-users mailing listNagios-users at lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/nagios-users >>> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >>> ::: Messages without supporting info will risk being sent to /dev/null >>> >>> >>> >>> >>> ------------------------------------------------------------------------------ >>> Protect Your Site and Customers from Malware Attacks >>> Learn about various malware tactics and how to avoid them. Understand >>> malware threats, the impact they can have on your business, and how you >>> can protect your company and customers by using code signing. >>> http://p.sf.net/sfu/oracle-sfdevnl >>> _______________________________________________ >>> Nagios-users mailing list >>> Nagios-users at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>> ::: 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 -------------- ------------------------------------------------------------------------------ Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ej_seg at hotmail.com Tue Jan 18 08:29:36 2011 From: ej_seg at hotmail.com (Rikard Dahlberg) Date: Tue, 18 Jan 2011 07:29:36 +0000 Subject: Hostgroups, make them less cluttered? Message-ID: Heya Is there a way to make for example the hostgroups as only a topic? I am monitoring about 100 severs and all those servers are grouped by different hostgroups , since all the servers belongs to different companies. When you get this high in numbers i feel that the hostgroup usage becomes very cluttered, and im wondering if you can only show the name of the hostgroup, and then if you click on it, you get into the servers, APs or routers. As it is now, i get the topic of the servers and then all server directly on the hostgroup page, and that is about 100 servers and about 70 hostgroups :) so the hostgroup page is both slow and very cluttered... If you've ever used the software hobbit, you know what i mean :) -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ras.kumar01 at gmail.com Tue Jan 18 10:33:45 2011 From: ras.kumar01 at gmail.com (Rajesh Kumar) Date: Tue, 18 Jan 2011 15:03:45 +0530 Subject: Change_Email_From Message-ID: Hi All I used Nagios Core in my CentOS Server. It?s working fine. I need to change notification alert from my mail id. Now am getting mail id from nagios at monitor.server The monitor.server is my CentOS host id. How to switch to my mail id, (ras.kumar01 at gmail.com) in nagios. Regards B.Rajeshkumar -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From misteritguru at gmx.com Tue Jan 18 10:49:47 2011 From: misteritguru at gmx.com (Mister IT Guru) Date: Tue, 18 Jan 2011 09:49:47 +0000 Subject: Change_Email_From In-Reply-To: References: Message-ID: <4D35623B.4070408@gmx.com> On 18/01/2011 09:33, Rajesh Kumar wrote: > > Hi All > > I used Nagios Core in my CentOS Server. It?s working fine. I need to > change notification alert from my mail id. Now am getting mail id from > nagios at monitor.server The > monitor.server is my CentOS host id. How to switch to my mail id, > (ras.kumar01 at gmail.com ) in nagios. > Regards > B.Rajeshkumar +1 -- I have a similar requirement, but I'd like to use multiple from addresses, for for different services or hosts. -- The Solo System Admin - Follow me - I follow you http://solosysad.blogspot.com/ Latest Entry: Bacula - Building from source -- Mister IT Guru At Gmx Dot Com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.Maurer at mosolf.de Tue Jan 18 11:40:37 2011 From: Michael.Maurer at mosolf.de (Maurer, Michael) Date: Tue, 18 Jan 2011 11:40:37 +0100 Subject: monitoring file content Message-ID: <6623E119CF0E7D4A95B3CEC11A0B189E0319B7E9@ex03-kir.mosolf.de> hi folks, i`d like to monitor the content of a txt file on a remote windows host. The file will be formated like: value1: 1009 value2: 156 value3: 7889 value4: 9981 valueN: ..... I have to set warning and critical ranges for each value separately. (value1 warn=500, crit = 1500 / value2 warn = 100, crit = 500 etc...) The file will be deleted and newly created if one of the values changes. Does anybody know how to do that? thanks in advance! kind regards Michael -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From yuehung.liu at gmail.com Tue Jan 18 14:48:22 2011 From: yuehung.liu at gmail.com (Yueh-Hung Liu) Date: Tue, 18 Jan 2011 21:48:22 +0800 Subject: monitoring file content In-Reply-To: <6623E119CF0E7D4A95B3CEC11A0B189E0319B7E9@ex03-kir.mosolf.de> References: <6623E119CF0E7D4A95B3CEC11A0B189E0319B7E9@ex03-kir.mosolf.de> Message-ID: i guess no plugin exists to do that, you have to write one for yourself On Tue, Jan 18, 2011 at 6:40 PM, Maurer, Michael wrote: > hi folks, > > i`d like to monitor the content of a txt file on a remote windows host. > > The file will be formated like: > > value1: 1009 > value2: 156 > value3: 7889 > value4: 9981 > valueN: ?.. > > I have to set warning and critical ranges for each value separately. (value1 > warn=500, crit = 1500 / value2 warn = 100, crit = 500 etc?) > > The file will be deleted and newly created if one of the values changes. > > Does anybody know how to do that? thanks in advance! > > kind regards > Michael > > ------------------------------------------------------------------------------ > Protect Your Site and Customers from Malware Attacks > Learn about various malware tactics and how to avoid them. Understand > malware threats, the impact they can have on your business, and how you > can protect your company and customers by using code signing. > http://p.sf.net/sfu/oracle-sfdevnl > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From yuehung.liu at gmail.com Tue Jan 18 15:03:32 2011 From: yuehung.liu at gmail.com (Yueh-Hung Liu) Date: Tue, 18 Jan 2011 22:03:32 +0800 Subject: SMTP server update In-Reply-To: <4D33F67C.4050607@eurofmc.com> References: <4D33F67C.4050607@eurofmc.com> Message-ID: mail notification is done by commands defined in your Nagios' configuration files. if you can send mail from the server that Nagios is installed on, you don't need to specify SMTP or whatever anymore. On Mon, Jan 17, 2011 at 3:57 PM, Network Operation Center FMC Luxemburg < NOC at eurofmc.com> wrote: > Dear list, > > Is it possible to specify to Nagios wich SMTP server it have to use for > sending alert mails? > > Thanks a lot > Francois > -- > Network Operation Center > > LUXEMBURG > > E-mail: NOC at eurofmc.com > -------------------------------------------------------------------- > > *DISCLAIMER*: This e-mail contains proprietary information some or all > of which may be legally privileged. It is for the intended recipient > only. If an addressing or transmission error has misdirected this > e-mail, please notify the author by replying to this e-mail. If you > are not the intended recipient you must not use, copy, distribute, > disclose, print, or rely on this e-mail. > > > > ------------------------------------------------------------------------------ > Protect Your Site and Customers from Malware Attacks > Learn about various malware tactics and how to avoid them. Understand > malware threats, the impact they can have on your business, and how you > can protect your company and customers by using code signing. > http://p.sf.net/sfu/oracle-sfdevnl > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From AHKAPLAN at PARTNERS.ORG Tue Jan 18 15:21:39 2011 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Tue, 18 Jan 2011 09:21:39 -0500 Subject: CHECK_NRPE: No output returned with check_iptables.sh script In-Reply-To: <4D34B35A.6030703@flatto.net> References: <4D348403.1010006@flatto.net> <4D34B35A.6030703@flatto.net> Message-ID: Hi there -- >> When you run it manually - how do you do it ? check_nrpe -H -c >> check_iptables from the nagios server ? or local on the client ? I have run the script on the Nagios server, and on the client system. When I ran the script on the server, the syntax I used was the following: /usr/local/nagios/libexec/check_nrpe -H hadron -c check_iptables The output of that command was: CHECK_NRPE: No output returned from daemon. I ran the script on the client using the following syntax: /usr/local/nrpe/libexec/check_iptables.sh The output of that command was: OK INPUT 20 rules
OK BLACKIN 497 rules
OK BLACKOUT 497 rules
When I ran the command on the client, I did so as the root user. The nagios user account exists on the client, but as a means of security it is set up with the /sbin/nologin shell. I confirmed with other administrators, as well as in practice, this should not intefere with operations. >> If you have not put in return codes how do you expect nagios to know >> what was the exit status of the script ? how will it know if it finished >> running or failed - those are not covered from NRPE but determined in >> the plugin. I looked at the plugin, and I am not sure what the syntax is for entering the return codes. -----Original Message----- From: Assaf Flatto [mailto:nagios at flatto.net] Sent: Monday, January 17, 2011 4:24 PM To: Nagios Users List Subject: Re: [Nagios-users] CHECK_NRPE: No output returned with check_iptables.sh script Kaplan, Andrew H. wrote: > Hi there -- > > Thanks for your reply. Regarding your questions: > > >>> Have you tried enabling the debugging on the nrpe client and see what >>> the output is when you manually trigger the check ? >>> > > I have enabled debugging on the client, and there were no error messages listed > in /var/log/messages file. > > >>> Have you tried running the check manually as the nagios user ? what >>> output did you get ? >>> > > I have run the check manually, and the output appears to be correct. > > >>> what are the return codes that you implemented in the iptables test >>> script , and what output is sent beside the return codes? >>> > > I have not implemented any return codes in the test script. > > > > When you run it manually - how do you do it ? check_nrpe -H -c check_iptables from the nagios server ? or local on the client ? If you have not put in return codes how do you expect nagios to know what was the exit status of the script ? how will it know if it finished running or failed - those are not covered from NRPE but determined in the plugin. Assaf ------------------------------------------------------------------------------ Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null The information in this e-mail is intended only for the person to whom it is addressed. If you believe this e-mail was sent to you in error and the e-mail contains patient information, please contact the Partners Compliance HelpLine at http://www.partners.org/complianceline . If the e-mail was sent to you in error but does not contain patient information, please contact the sender and properly dispose of the e-mail. ------------------------------------------------------------------------------ Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jpratt at norwich.edu Tue Jan 18 15:22:42 2011 From: jpratt at norwich.edu (James Pratt) Date: Tue, 18 Jan 2011 09:22:42 -0500 Subject: SMTP server update In-Reply-To: References: <4D33F67C.4050607@eurofmc.com> Message-ID: <369C2BA4DE2C8F4A88BC422AD06C96BD1135BE@nuexchange.norwich.edu> To clarify- 1. Mail notification via Nagios is is configured in your Nagios configuration files, no SMTP info is necessary - Nagios expects a working local SMTP relay for such configurations to actually work. 2. Your nagios server can indeed be set up to relay mail to a specific SMTP server via the mail server software's configuration files (I.e Postfix/Sendmail, etc etc). From: Yueh-Hung Liu [mailto:yuehung.liu at gmail.com] Sent: Tuesday, January 18, 2011 9:04 AM To: Nagios Users List Subject: Re: [Nagios-users] SMTP server update mail notification is done by commands defined in your Nagios' configuration files. if you can send mail from the server that Nagios is installed on, you don't need to specify SMTP or whatever anymore. On Mon, Jan 17, 2011 at 3:57 PM, Network Operation Center FMC Luxemburg wrote: Dear list, Is it possible to specify to Nagios wich SMTP server it have to use for sending alert mails? Thanks a lot Francois -- Network Operation Center LUXEMBURG E-mail: NOC at eurofmc.com -------------------------------------------------------------------- DISCLAIMER: This e-mail contains proprietary information some or all of which may be legally privileged. It is for the intended recipient only. If an addressing or transmission error has misdirected this e-mail, please notify the author by replying to this e-mail. If you are not the intended recipient you must not use, copy, distribute, disclose, print, or rely on this e-mail. ------------------------------------------------------------------------ ------ Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------------ Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ras.kumar01 at gmail.com Tue Jan 18 15:57:10 2011 From: ras.kumar01 at gmail.com (Rajesh Kumar) Date: Tue, 18 Jan 2011 20:27:10 +0530 Subject: Reg: [Nagios-User] Change_Email_FromID Message-ID: Hi All I used Nagios Core in my CentOS Server. It?s working fine. I need to change notification alert from my mail id. Now am getting mail id from nagios at monitor.server The monitor.server is my CentOS host id. How to switch to my mail id, (ras.kumar01 at gmail.com) in nagios. Regards B.Rajeshkumar -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From smbizwo at gmail.com Tue Jan 18 16:03:57 2011 From: smbizwo at gmail.com (mbizwo simon) Date: Tue, 18 Jan 2011 17:03:57 +0200 Subject: blank graphs on nagios Message-ID: I successfully installed nagios and nagiosql successfully and then i installed nagiosgrapher , the graphs are blank for my hosts. I'm using Debian GNU/Linux 5.0 , Nagiosql version 3.04 and nagios3 My log files are not helpful, the sample output is as below. nms:/opt# tail -f /var/log/nagiosgrapher/ngraph.log 2011-01-18 16:54:37 VALUES: [27105900800-Ninirichi][PING]: RTA=4.18 Loss=0 2011-01-18 16:54:37 VALUES: [localhost][HTTP]: http_res=0.001474 2011-01-18 16:54:47 VALUES: [27879422857-RedAlertEL][PING]: RTA=68.98 Loss=0 2011-01-18 16:54:47 VALUES: [27879422871-Telemasters][PING]: RTA=58.94 Loss=0 2011-01-18 16:54:47 VALUES: [27879422860-ProtekUMT][PING]: RTA=66.97 Loss=0 2011-01-18 16:54:47 VALUES: [27879422863-NzelenzelePrestron][PING]: RTA=46.54 Loss=0 2011-01-18 16:55:17 VALUES: [27879413762-TargetCranes][PING]: RTA=15.73 Loss=16 2011-01-18 16:55:17 VALUES: [27879413740-IpexDBN][PING]: RTA=37.26 Loss=0 2011-01-18 16:55:47 VALUES: [27879434778-ChalkAiRumt][PING]: RTA=65.54 Loss=0 2011-01-18 16:55:47 VALUES: [gateway][PING]: RTA=0.55 Loss=0 My ngraph config file is as below : pipe /var/lib/nagiosgrapher/ngraph.pipe port 5667 buffer 1024 interface pipe # please use subfolder pidfile /var/run/nagiosgrapher/nagiosgrapher.pid user nagios group nagios # normal_check_interval step 60 # VALUE (e.g. 600 for 5 minutes ) or AUTO heartbeat 600 rrdpath /var/lib/nagiosgrapher/rrd/ tmppath /tmp/nagiosgrapher/ fontfile serviceext_type MULTIPLE serviceextinfo /etc/nagiosgrapher/nagios3/serviceextinfo.cfg serviceext_path /etc/nagiosgrapher/nagios3/serviceext url /cgi-bin/nagios3/graphs.cgi #notes_url /wiki/index.php/$HOSTNAME$#$SERVICEDESC$ notes_url "" nagios_config /etc/nagios3/nagios.cfg cgi_config /etc/nagios3/cgi.cfg icon_image_tag 'dot.png' border="0"> -------------- next part -------------- ------------------------------------------------------------------------------ Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jan 18 19:44:12 2011 From: nagios at flatto.net (Assaf Flatto) Date: Tue, 18 Jan 2011 18:44:12 +0000 Subject: CHECK_NRPE: No output returned with check_iptables.sh script In-Reply-To: References: <4D348403.1010006@flatto.net> <4D34B35A.6030703@flatto.net> Message-ID: <4D35DF7C.60002@flatto.net> Kaplan, Andrew H. wrote: > Hi there -- > > >>> When you run it manually - how do you do it ? check_nrpe -H -c >>> check_iptables from the nagios server ? or local on the client ? >>> > > I have run the script on the Nagios server, and on the client system. When I ran > the script > on the server, the syntax I used was the following: > > /usr/local/nagios/libexec/check_nrpe -H hadron -c check_iptables > > The output of that command was: CHECK_NRPE: No output returned from daemon. > > I ran the script on the client using the following syntax: > > /usr/local/nrpe/libexec/check_iptables.sh > > The output of that command was: OK INPUT 20 rules
OK BLACKIN 497 rules
OK > BLACKOUT 497 rules
> > When I ran the command on the client, I did so as the root user. The nagios user > account exists on the > client, but as a means of security it is set up with the /sbin/nologin shell. I > confirmed with other > administrators, as well as in practice, this should not intefere with > operations. > > >>> If you have not put in return codes how do you expect nagios to know >>> what was the exit status of the script ? how will it know if it finished >>> running or failed - those are not covered from NRPE but determined in >>> the plugin. >>> > > I looked at the plugin, and I am not sure what the syntax is for entering the > return codes. > > you'll need to read this page about the return codes for nagios . http://nagios.sourceforge.net/docs/3_0/pluginapi.html As for the execution - running scripts as root is no indication that the plugin is working as you need it since the NRPE daemon is not executing the plugins on the remote machine as root but as either user nrpe or the user nagios . If the nagios user has no shell to execute a shell script - it will fail and not run. now if the action you check need root privileges - grant the nagios user sudo permissions on that script so it can access the iptables properly. Assaf ------------------------------------------------------------------------------ Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Jan 18 21:20:29 2011 From: a31modela at hotmail.com (steve f) Date: Tue, 18 Jan 2011 15:20:29 -0500 Subject: Unique Email Notification for Service Escalation?? Message-ID: Is it possible to create a unique email notification for a serviceescalation ? I defined my serviceescalation and the contact group and verified after the set number of first_notification, my escalation group got the email notification of the alert. What I want to do, is send a unique email message if its an escalation. In commands.cfg I added the following : # 'service-escalation-by-email' command definition define command{ command_name service-escalation-by-email command_line /usr/bin/printf "%b" "***** Nagios Service Escalation *****\n\nNotification Type: $NOTIFICATIONTYPE$ Escalation\n\nService: $ SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional Info:\n\n$SERVICEOUTPUT$\nT HIS IS A SERVICE ESCALATION. YOU ARE BEING NOTIFIED BECAUSE THE ALERT HAS NOT BEEN ADDRESSED YET." | /usr/bin/mail -s "** $NOTIFICATIONTYPE$ Service Alert Escalation: $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$ } Now, I see in the contact definition, there is service_notification_commands where I assume I could define the server-escalation-by-email and get the new email sent to the contact, but that option is not shown in the contact group definition. Can I just add the service_notification_command directive in the group definition?? Thanks, Steve -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cwaters at jeld-wen.com Tue Jan 18 22:39:08 2011 From: cwaters at jeld-wen.com (Chris Waters) Date: Tue, 18 Jan 2011 13:39:08 -0800 Subject: Unique Email Notification for Service Escalation?? In-Reply-To: References: Message-ID: <4D36087C.6040503@jeld-wen.com> One method is to duplicate your contacts/contactgroups and apply those to your escalations. For example: normaluser1 -> notification commad - normal notification format escuser1 -> notification command - escalation notification format (same real person as normaluser1 but with a different notification command) mynormalcontactgroup -> normaluser1- contact group for normal notifications myescalationcontactgroup -> escuser1 - contact group for escaltions There are other ways as well but this is probably the most simple unless you have large numbers of contacts/contactgroups/escalations to deal with. On 01/18/2011 12:20 PM, steve f wrote: > Is it possible to create a unique email notification for a > serviceescalation ? > > I defined my serviceescalation and the contact group and verified > after the set number of first_notification, my escalation group got > the email notification of the alert. > > What I want to do, is send a unique email message if its an escalation. > > In commands.cfg I added the following : > > # 'service-escalation-by-email' command definition > define command{ > command_name service-escalation-by-email > command_line /usr/bin/printf "%b" "***** Nagios Service > Escalation *****\n\nNotification Type: $NOTIFICATIONTYPE$ > Escalation\n\nService: $ > SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: > $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional > Info:\n\n$SERVICEOUTPUT$\nT > HIS IS A SERVICE ESCALATION. YOU ARE BEING NOTIFIED BECAUSE THE ALERT > HAS NOT BEEN ADDRESSED YET." | /usr/bin/mail -s "** $NOTIFICATIONTYPE$ > Service > Alert Escalation: $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" > $CONTACTEMAIL$ > } > > > Now, I see in the contact definition, there is > service_notification_commands where I assume I could define the > server-escalation-by-email and get the new email sent to the contact, > but that option is not shown in the contact group definition. Can I > just add the service_notification_command directive in the group > definition?? > > > Thanks, > > Steve > > > ------------------------------------------------------------------------------ > Protect Your Site and Customers from Malware Attacks > Learn about various malware tactics and how to avoid them. Understand > malware threats, the impact they can have on your business, and how you > can protect your company and customers by using code signing. > http://p.sf.net/sfu/oracle-sfdevnl > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- Thanks, Chris Waters WAN/LAN Technician Information Systems - Networks JELD-WEN, Inc. cwaters at jeld-wen.com 541-882-3451 x2109 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 4280 bytes Desc: S/MIME Cryptographic Signature URL: -------------- next part -------------- ------------------------------------------------------------------------------ Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From yuehung.liu at gmail.com Wed Jan 19 03:06:57 2011 From: yuehung.liu at gmail.com (Yueh-Hung Liu) Date: Wed, 19 Jan 2011 10:06:57 +0800 Subject: Unique Email Notification for Service Escalation?? In-Reply-To: References: Message-ID: http://exchange.nagios.org/directory/Addons/Notifications/%2A-Notification-Managers/Rule%252DBased-Notifier/details this can define which commands should be used to notify contacts by referring notification number. On Wed, Jan 19, 2011 at 4:20 AM, steve f wrote: > Is it possible to create a unique email notification for a serviceescalation > ? > > I defined my serviceescalation and the contact group and verified after the > set number of first_notification, my escalation group got the email > notification of the alert. > > What I want to do, is send a unique email message if its an escalation. > > In commands.cfg I added the following : > > ? # 'service-escalation-by-email' command definition > define command{ > ??????? command_name??? service-escalation-by-email > ??????? command_line??? /usr/bin/printf "%b" "***** Nagios Service > Escalation *****\n\nNotification Type: $NOTIFICATIONTYPE$ > Escalation\n\nService: $ > SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: > $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional > Info:\n\n$SERVICEOUTPUT$\nT > HIS IS A SERVICE ESCALATION. YOU ARE BEING NOTIFIED BECAUSE THE ALERT HAS > NOT BEEN ADDRESSED YET." | /usr/bin/mail -s "** $NOTIFICATIONTYPE$ Service > Alert Escalation: $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" > $CONTACTEMAIL$ > ??????? } > > > Now, I see in the contact definition, there is service_notification_commands > where I assume I could define the server-escalation-by-email and get the new > email sent to the contact, but that option is not shown in the contact group > definition.? Can I just add the service_notification_command directive in > the group definition?? > > > Thanks, > > Steve > > ------------------------------------------------------------------------------ > Protect Your Site and Customers from Malware Attacks > Learn about various malware tactics and how to avoid them. Understand > malware threats, the impact they can have on your business, and how you > can protect your company and customers by using code signing. > http://p.sf.net/sfu/oracle-sfdevnl > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jmoseley at corp.xanadoo.com Wed Jan 19 05:51:53 2011 From: jmoseley at corp.xanadoo.com (James Moseley) Date: Tue, 18 Jan 2011 22:51:53 -0600 Subject: Change_Email_From In-Reply-To: <4D35623B.4070408@gmx.com> References: <4D35623B.4070408@gmx.com> Message-ID: There is no global method (that I know of) to simply set a from/reply-to address in the Nagios config. By default, email is sent from Nagios using the /bin/mail program which will set the from/reply-to address as @. In most cases, Nagios is running under the user 'nagios'. In your commands definitions, you can certainly alter your notifications to move away from the Nagios default configuration which pipes notification output to the following example: /bin/mail -s "Host $HOSTSTATE$ alert for $HOSTNAME$!" $CONTACTEMAIL$ In order to set a from/reply-to address, you will need to use a mailer that will allow you to set a from/reply-to address. With /bin/mail, I don't think that's possible. Therefore, you'll need to use a program like /usr/sbin/sendmail. But sendmail uses a completely different syntax than mail, so you can't just substitute /usr/sbin/sendmail for /bin/mail in your Nagios config. In a nutshell, to use sendmail you need to pipe in output containing the To, From, Subject, etc, then the message, all on separate lines. In order to do this using printf, you would need to separate each line with "\n" new line arguments. As for the question about setting up a different from addresses depending on host/service, you would simply create multiple notification commands, or you could possibly use macros. Perhaps I'm way off base here and there is an easier way to accomplish what you guys want... There are most likely several ways to skin this cat, like using a mailer other than sendmail. -- James Moseley On Tue, Jan 18, 2011 at 3:49 AM, Mister IT Guru wrote: > On 18/01/2011 09:33, Rajesh Kumar wrote: > > Hi All > > > I used Nagios Core in my CentOS Server. It?s working fine. I need to > change notification alert from my mail id. Now am getting mail id from > nagios at monitor.server The monitor.server is my CentOS host id. How to > switch to my mail id, (ras.kumar01 at gmail.com) in nagios. > > > Regards > > B.Rajeshkumar > > +1 -- I have a similar requirement, but I'd like to use multiple from > addresses, for for different services or hosts. > > -- > The Solo System Admin - Follow me - I follow youhttp://solosysad.blogspot.com/ > Latest Entry: Bacula - Building from source > -- > Mister IT Guru At Gmx Dot Com > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From arkaitz.abad at ehu.es Wed Jan 19 08:47:33 2011 From: arkaitz.abad at ehu.es (Abad Uriarte, Arkaitz) Date: Wed, 19 Jan 2011 08:47:33 +0100 Subject: Change_Email_From In-Reply-To: References: Message-ID: <20110119084733.20396w0s95f8ce80@www.ehu.es> Hello; Hello; In commands.cfg you specifies the mail comand are Nagios using. #command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n" | /bin/mail -s "** $NOTIFICATIONTYPE$ Host Alert: $HOSTNAME$ is $HOSTSTATE$ **" $CONTACTEMAIL$ change mail comand and use flag to change from, for example: mail -s "My Subject" recipient at domain.tld -- -f sender at domain.tld Excuse me my English Arkaitz ---------------------------------------------------------------------- ARKAITZ ABAD URIARTE Euskal Herriko Unibertsitatea Email: arkaitz.abad @ehu.es Bizkaiko I.I.S.I.G Tel. : 94 601 8390 ---------------------------------------------------------------------- Aurreztu papera. E-posta hau inprimatu beharra daukazu? Rajesh Kumar escribi?: > Hi All > > > I used Nagios Core in my CentOS Server. It?s working fine. I need to > change notification alert from my mail id. Now am getting mail id from > nagios at monitor.server The monitor.server is my CentOS host id. How to switch > to my mail id, (ras.kumar01 at gmail.com) in nagios. > > > Regards > > B.Rajeshkumar > ------------------------------------------------------------------------------ Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From arkaitz.abad at ehu.es Wed Jan 19 08:45:39 2011 From: arkaitz.abad at ehu.es (Abad Uriarte, Arkaitz) Date: Wed, 19 Jan 2011 08:45:39 +0100 Subject: Reg: [Nagios-User] Change_Email_FromID In-Reply-To: References: Message-ID: <20110119084539.9436244w5o7by274@www.ehu.es> Hello; Probe with it: mail -s "My Subject" recipient at domain.tld -- -f sender at domain.tld Arkaitz ---------------------------------------------------------------------- ARKAITZ ABAD URIARTE Euskal Herriko Unibertsitatea Email: arkaitz.abad @ehu.es Bizkaiko I.I.S.I.G Tel. : 94 601 8390 ---------------------------------------------------------------------- Aurreztu papera. E-posta hau inprimatu beharra daukazu? Rajesh Kumar escribi?: > Hi All > > > I used Nagios Core in my CentOS Server. It?s working fine. I need to > change notification alert from my mail id. Now am getting mail id from > nagios at monitor.server The monitor.server is my CentOS host id. How to switch > to my mail id, (ras.kumar01 at gmail.com) in nagios. > > > Regards > > B.Rajeshkumar > ------------------------------------------------------------------------------ Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From arkaitz.abad at ehu.es Wed Jan 19 08:34:59 2011 From: arkaitz.abad at ehu.es (Abad Uriarte, Arkaitz) Date: Wed, 19 Jan 2011 08:34:59 +0100 Subject: Reg: [Nagios-User] Change_Email_FromID In-Reply-To: References: Message-ID: <20110119083459.20256vbwi9ndjtc8@www.ehu.es> Hello; In commands.cfg you specifies the mail comand are Nagios using. #command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n" | /bin/mail -s "** $NOTIFICATIONTYPE$ Host Alert: $HOSTNAME$ is $HOSTSTATE$ **" $CONTACTEMAIL$ I do not know how you could change with mail comand the from, or how you could change "from" for the nagios user in your system... but that is the solution: change in system or in mail comand of command.cfg Answer is not completed but is a little help. Excuse me my English Arkaitz ---------------------------------------------------------------------- ARKAITZ ABAD URIARTE Euskal Herriko Unibertsitatea Email: arkaitz.abad @ehu.es Bizkaiko I.I.S.I.G Tel. : 94 601 8390 ---------------------------------------------------------------------- Aurreztu papera. E-posta hau inprimatu beharra daukazu? Rajesh Kumar escribi?: > Hi All > > > I used Nagios Core in my CentOS Server. It?s working fine. I need to > change notification alert from my mail id. Now am getting mail id from > nagios at monitor.server The monitor.server is my CentOS host id. How to switch > to my mail id, (ras.kumar01 at gmail.com) in nagios. > > > Regards > > B.Rajeshkumar > ------------------------------------------------------------------------------ Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Wed Jan 19 13:00:53 2011 From: jim at jimavery.me.uk (Jim Avery) Date: Wed, 19 Jan 2011 12:00:53 +0000 Subject: Checking for live systems once every night. In-Reply-To: References: <4D303A0D.7080808@ljnet.dk> Message-ID: On 18 January 2011 06:15, Toonz IT wrote: > We have added the checking time period in timeperiods.cfg file. and it is > correctly showing in the Host State Information > Host Status: > UP > (for 0d 1h 41m 11s) Status Information:PING OK - Packet loss = 0%, RTA = > 0.22 ms Performance Data:rta=0.221000ms;3000.000000;5000.000000;0.000000 > pl=0%;80;100;0 Current Attempt:1/10 (HARD state) Last Check Time:01-18-2011 > 10:00:00 Check Type:ACTIVE Check Latency / Duration:0.141 / 6.732 seconds Next > Scheduled Active Check: 01-19-2011 10:00:00 Last State Change:01-18-2011 > 10:00:16 Last Notification:01-18-2011 10:00:16 (notification 0) Is This > Host Flapping? > NO > (0.00% state change) In Scheduled Downtime? > NO > Last Update:01-18-2011 11:41:22 ( 0d 0h 0m 5s ago) Active Checks: > ENABLED > Passive Checks: > ENABLED > Obsessing: > ENABLED > Notifications: > ENABLED > Event Handler: > ENABLED > Flap Detection: > ENABLED > > But we are getting notification every 30min, we have now edited the cofig > file of the system and set notification to 720, as we need a notification > only after every 12 hours. Hope this is the way to do it!! > > Please advice. *Our aim is to collect information on systems which has not > been shutdown at 10pm every night when most employees have already left the > studio.* > > Nagios itself doesn't have a mechanism for scheduling a check to run once at a specific time. I would configure a check script in cron on your nagios server which runs the check at 10pm each day and submits the result to Nagios as a passive check (via NSCA or using the command interface whichever you prefer). Another similar (but probably not so good) way to tackle this would be to set up a script in the windows scheduler on each client PC which submits the passive check back to Nagios using send_nsca. I normally use a standalone send_nsca binary for this, but I believe it would be possible to use the nsca in NSClient++ instead. With this method you may need to set up freshness checking too so you can record when the PC is not active overnight. hth, Jim -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jmoseley at corp.xanadoo.com Wed Jan 19 15:03:41 2011 From: jmoseley at corp.xanadoo.com (James Moseley) Date: Wed, 19 Jan 2011 08:03:41 -0600 Subject: Reg: [Nagios-User] Change_Email_FromID In-Reply-To: <20110119084539.9436244w5o7by274@www.ehu.es> References: <20110119084539.9436244w5o7by274@www.ehu.es> Message-ID: The command below will not achieve the desired results. On Wed, Jan 19, 2011 at 1:45 AM, Abad Uriarte, Arkaitz wrote: > > > mail -s "My Subject" recipient at domain.tld -- -f sender at domain.tld > > Rajesh Kumar escribi?: > > > Hi All > > > > > > I used Nagios Core in my CentOS Server. It?s working fine. I need > to > > change notification alert from my mail id. Now am getting mail id from > > nagios at monitor.server The monitor.server is my CentOS host id. How to > switch > > to my mail id, (ras.kumar01 at gmail.com) in nagios. > > > > > > Regards > > > > B.Rajeshkumar > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From damnshock at gmail.com Wed Jan 19 19:14:27 2011 From: damnshock at gmail.com (Damnshock) Date: Wed, 19 Jan 2011 19:14:27 +0100 Subject: blank graphs on nagios In-Reply-To: References: Message-ID: <201101191914.27819.damnshock@gmail.com> On Tuesday 18 January 2011 16:03:57 mbizwo simon wrote: > Anyone out there with an idea, if you require any other information i will > gladly provide so as to help resolve this issue. If your graphs do show although blank... there must be a problem with reading the information or a lack of it. I have no experience with nagiosgrapher but you should check all the logs to debug the problem. Regards ------------------------------------------------------------------------------ Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Edwin.Zoeller at ama-assn.org Wed Jan 19 21:28:02 2011 From: Edwin.Zoeller at ama-assn.org (Edwin Zoeller) Date: Wed, 19 Jan 2011 14:28:02 -0600 Subject: Checking a Web Site Message-ID: I was wondering if someone out there can help me with this. I am trying to monitoring a website to which I login with a username/password then from there as that user access another site that I am allowed to see from my login name. If someone has done this I would very much appreciate the help. Also, what is the proper syntax for searching for a string that would appear only as an error. Example, all is good but if the phrase "Denied" appears on the web page, I want to report that as an error. Thanks, Ed P Please consider the environment before printing this e-mail -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From GFranks at synacor.com Wed Jan 19 23:23:47 2011 From: GFranks at synacor.com (Geoff Franks) Date: Wed, 19 Jan 2011 17:23:47 -0500 Subject: global event handler external commands not working Message-ID: <910F63450B2E064DA54C0E27EB314731073128CA@syncorpmail.synbuf.local> I'm trying to use the CHANGE_GLOBAL_SVC_EVENT_HANDLER and CHANGE_GLOBAL_HOST_EVENT_HANDLER external commands to modify the event handlers on a nagios server without restarting the nagios process. As far I can tell, I'm using them properly as defined in http://old.nagios.org/developerinfo/externalcommands/commandinfo.php?com mand_id=103 . However, it doesn't seem like the command actually changes the global event handlers. Anyone know why this would happen? Am I using it wrong? Is the feature not really supported currently? Nagios 3.2.0 Nagios.log: [1295474822] GLOBAL SERVICE EVENT HANDLER: server1.test.com;tcp_nsca;CRITICAL;SOFT;1;process-standby-event [1295474852] GLOBAL SERVICE EVENT HANDLER: server1.test.com;ssh_nagios_latency;UNKNOWN;SOFT;1;process-standby-event [1295474852] EXTERNAL COMMAND: CHANGE_GLOBAL_SVC_EVENT_HANDLER;process-service-nsca-multi [1295474852] EXTERNAL COMMAND: CHANGE_GLOBAL_HOST_EVENT_HANDLER;process-host-nsca-multi [1295474882] GLOBAL SERVICE EVENT HANDLER: server1.test.com;tcp_nsca;CRITICAL;SOFT;2;process-standby-event [1295474902] GLOBAL SERVICE EVENT HANDLER: server2.test.com;check_lighttpd_status NO_MINIMUMS;OK;HARD;3;process-standby-event Geoff Franks Monitoring and Reporting Engineer Synacor, Inc. 40 LaRiviere Dr. Suite 300 | Buffalo NY 14202 Office: 716-362-3765 ------------------------------------------------------------------------------ Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jan 19 23:44:20 2011 From: stuart.browne at ausregistry.com.au (Stuart Browne) Date: Thu, 20 Jan 2011 09:44:20 +1100 Subject: Checking a Web Site In-Reply-To: References: Message-ID: <8CEF048B9EC83748B1517DC64EA130FB4B33DF4AE5@off-win2003-01.ausregistrygroup.local> > From: Edwin Zoeller [mailto:Edwin.Zoeller at ama-assn.org] > Sent: Thursday, 20 January 2011 7:28 AM > > I was wondering if someone out there can help me with this. I am trying to > monitoring a website to which I login with a username/password then from > there as that user access another site that I am allowed to see from my > login name. If someone has done this I would very much appreciate the help. > Also, what is the proper syntax for searching for a string that would appear > only as an error. Example, all is good but if the phrase "Denied" appears on > the web page, I want to report that as an error. The standard check_http plugin supports the ability to send username and password (assuming the site uses a browser-authentication). From there you can do either string or regular-expression matching. If the site doesn't use browser-authentication, then I'd recommend the perl module WWW::Mechanize to fill in forms and browse through a website. We use this module for a number of our site monitoring. It's very robust (if you take the time to use the module properly) and very easy to use. Stuart ------------------------------------------------------------------------------ Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Thu Jan 20 13:38:21 2011 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Thu, 20 Jan 2011 13:38:21 +0100 Subject: global event handler external commands not working In-Reply-To: <910F63450B2E064DA54C0E27EB314731073128CA@syncorpmail.synbuf.local> References: <910F63450B2E064DA54C0E27EB314731073128CA@syncorpmail.synbuf.local> Message-ID: On Wed, 19 Jan 2011 17:23:47 -0500, "Geoff Franks" wrote: > I'm trying to use the CHANGE_GLOBAL_SVC_EVENT_HANDLER and > CHANGE_GLOBAL_HOST_EVENT_HANDLER external commands to modify the > event > handlers on a nagios server without restarting the nagios process. As > far I can tell, I'm using them properly as defined in > > http://old.nagios.org/developerinfo/externalcommands/commandinfo.php?com > mand_id=103 . However, it doesn't seem like the command actually > changes > the global event handlers. Anyone know why this would happen? Am I > using > it wrong? Is the feature not really supported currently? Well. The fact that you are reading from ... old.nagios.org is kind of an indication that you are looking at historical information. Hugo. -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc ------------------------------------------------------------------------------ Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Thu Jan 20 13:41:59 2011 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Thu, 20 Jan 2011 13:41:59 +0100 Subject: Checking a Web Site In-Reply-To: References: Message-ID: <976dc75207dc01cffc5245b0cd7dcfcb@vps517.directvps.nl> On Wed, 19 Jan 2011 14:28:02 -0600, "Edwin Zoeller" wrote: I was wondering if someone out there can help me with this. I am trying to monitoring a website to which I login with a username/password then from there as that user access another site that I am allowed to see from my login name. If someone has done this I would very much appreciate the help. Also, what is the proper syntax for searching for a string that would appear only as an error. Example, all is good but if the phrase "Denied" appears on the web page, I want to report that as an error. Sounds like a job for: http://exchange.nagios.org/directory/Plugins/Websites,-Forms-and-Transactions/Check-website-response/details [1] Hugo. -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc Links: ------ [1] http://exchange.nagios.org/directory/Plugins/Websites,-Forms-and-Transactions/Check-website-response/details -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From michal.lackovic at cz.schneider-electric.com Thu Jan 20 14:05:50 2011 From: michal.lackovic at cz.schneider-electric.com (michal.lackovic at cz.schneider-electric.com) Date: Thu, 20 Jan 2011 14:05:50 +0100 Subject: custom notifications for specific service groups In-Reply-To: <8CEF048B9EC83748B1517DC64EA130FB4B33DF4AE5@off-win2003-01.ausregistrygroup.local> References: <8CEF048B9EC83748B1517DC64EA130FB4B33DF4AE5@off-win2003-01.ausregistrygroup.local> Message-ID: Dear community, I am trying to figure out how to satisfy infrastructure team supporting servers. Their request is two split services into two groups "core" and "applications". In the core group the following services would be nested: CPU load Memory utilization Storage and in the applications groups they would like to see the following: Citrix sessions Citrix licences They have segregated duties within the team for OS,HW and for application part. They would need Nagios to send appropriate notification to OS team and the same for application team. Now, AFAIK if a contact is linked to the host then the notifications for all its services are sent out. So my question is if is there any way how to split notifications on the same host so that OS team will never receive notification for Application team and vice versa? thanks in advance for your help Michal -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From GFranks at synacor.com Thu Jan 20 14:29:19 2011 From: GFranks at synacor.com (Geoff Franks) Date: Thu, 20 Jan 2011 08:29:19 -0500 Subject: global event handler external commands notworking In-Reply-To: References: <910F63450B2E064DA54C0E27EB314731073128CA@syncorpmail.synbuf.local> Message-ID: <910F63450B2E064DA54C0E27EB314731073128DE@syncorpmail.synbuf.local> I'm redirected there from http://nagios.sourceforge.net/docs/3_0/extcommands.html. The documentation says it works in nagios 2.x and 3.x. If this is not where I should be looking, can you tell me where I should look? Geoff Franks Monitoring and Reporting Engineer Synacor, Inc. 40 LaRiviere Dr. Suite 300 | Buffalo NY 14202 Office: 716-362-3765 > -----Original Message----- > From: Hugo van der Kooij [mailto:hvdkooij at vanderkooij.org] > Sent: Thursday, January 20, 2011 7:38 AM > To: Nagios Users List > Subject: Re: [Nagios-users] global event handler external commands > notworking > > On Wed, 19 Jan 2011 17:23:47 -0500, "Geoff Franks" > wrote: > > I'm trying to use the CHANGE_GLOBAL_SVC_EVENT_HANDLER and > > CHANGE_GLOBAL_HOST_EVENT_HANDLER external commands to modify the > > event > > handlers on a nagios server without restarting the nagios process. As > > far I can tell, I'm using them properly as defined in > > > > > http://old.nagios.org/developerinfo/externalcommands/commandinfo.php?com > > mand_id=103 . However, it doesn't seem like the command actually > > changes > > the global event handlers. Anyone know why this would happen? Am I > > using > > it wrong? Is the feature not really supported currently? > > Well. The fact that you are reading from ... old.nagios.org is kind of > an indication that you are looking at historical information. > > Hugo. > > -- > hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ > PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc > > ------------------------------------------------------------------------ > ------ > Protect Your Site and Customers from Malware Attacks > Learn about various malware tactics and how to avoid them. Understand > malware threats, the impact they can have on your business, and how you > can protect your company and customers by using code signing. > http://p.sf.net/sfu/oracle-sfdevnl > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stanb at panix.com Thu Jan 20 15:44:44 2011 From: stanb at panix.com (stan) Date: Thu, 20 Jan 2011 09:44:44 -0500 Subject: check_http and authentication Message-ID: <20110120144444.GA15756@teddy.fas.com> I have 2 Nagios instances at the moment. On one I am using the chck_http pluging version 1.4.13, and on the other I have version 1.4.14. On both systems I am check agains Server Tecnology PDU's. The older one works fine. The newer plugin reports a warning "HTTP Warning HTTP/1.1 401 Unauthorized 412 bytes ..." But when run from the command line you get status OK, and a return code of 0. From the coomand line we are executing"check_http -H "hostname" --authorization=xxxx:xxx". I think that maybe the newer plugin requires a different set of options to work with these units? Any sugestions as to debuging this? -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? ------------------------------------------------------------------------------ Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Edwin.Zoeller at ama-assn.org Thu Jan 20 16:21:12 2011 From: Edwin.Zoeller at ama-assn.org (Edwin Zoeller) Date: Thu, 20 Jan 2011 09:21:12 -0600 Subject: check_http and authentication In-Reply-To: <20110120144444.GA15756@teddy.fas.com> References: <20110120144444.GA15756@teddy.fas.com> Message-ID: I am having the same type of problem but mine is that when I enter a UID/PWD and change it to test it is always successful. What am I doing wrong. -----Original Message----- From: stan [mailto:stanb at panix.com] Sent: Thursday, January 20, 2011 8:45 AM To: nagios List Subject: [Nagios-users] check_http and authentication I have 2 Nagios instances at the moment. On one I am using the chck_http pluging version 1.4.13, and on the other I have version 1.4.14. On both systems I am check agains Server Tecnology PDU's. The older one works fine. The newer plugin reports a warning "HTTP Warning HTTP/1.1 401 Unauthorized 412 bytes ..." But when run from the command line you get status OK, and a return code of 0. From the coomand line we are executing"check_http -H "hostname" --authorization=xxxx:xxx". I think that maybe the newer plugin requires a different set of options to work with these units? Any sugestions as to debuging this? -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? ------------------------------------------------------------------------ ------ Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mail at catsnest.co.uk Thu Jan 20 17:19:05 2011 From: mail at catsnest.co.uk (mail at catsnest.co.uk) Date: Thu, 20 Jan 2011 16:19:05 +0000 Subject: monitoring file content In-Reply-To: <6623E119CF0E7D4A95B3CEC11A0B189E0319B7E9@ex03-kir.mosolf.de> References: <6623E119CF0E7D4A95B3CEC11A0B189E0319B7E9@ex03-kir.mosolf.de> Message-ID: On Tue, Jan 18, 2011 at 10:40 AM, Maurer, Michael wrote: > hi folks, > Hi, > i`d like to monitor the content of a txt file on a remote windows host. > > The file will be formated like: > > value1: 1009 > value2: 156 > value3: 7889 > value4: 9981 > valueN: ?.. > > I have to set warning and critical ranges for each value separately. (value1 > warn=500, crit = 1500 / value2 warn = 100, crit = 500 etc?) > > The file will be deleted and newly created if one of the values changes. > > Does anybody know how to do that? thanks in advance! I use a check something similar, I (badly) wrote a Perl script for the check. It runs on Solaris though so would need fiddling for windows /ActivePerl. Plus its expecting data in the format 'value1:1234 value2:1234 value3:4567' So again would need playing with to work how you want it to... I have attached the script and some config files. HTH Ritchie -- Fnord... <-- http://23.me.uk --> <-- http://wiki.s23.org --> <-- http://twitter.com/23me --> <- -Only the lavender prairie dogs know the key to unlock the secret of the tumble-weeds. --> > > kind regards > Michael > > ------------------------------------------------------------------------------ > Protect Your Site and Customers from Malware Attacks > Learn about various malware tactics and how to avoid them. Understand > malware threats, the impact they can have on your business, and how you > can protect your company and customers by using code signing. > http://p.sf.net/sfu/oracle-sfdevnl > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- A non-text attachment was scrubbed... Name: log_checker.tar.gz Type: application/x-gzip Size: 3916 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.Maurer at mosolf.de Thu Jan 20 17:54:52 2011 From: Michael.Maurer at mosolf.de (Maurer, Michael) Date: Thu, 20 Jan 2011 17:54:52 +0100 Subject: [BULK] - Re: monitoring file content In-Reply-To: References: <6623E119CF0E7D4A95B3CEC11A0B189E0319B7E9@ex03-kir.mosolf.de> Message-ID: <6623E119CF0E7D4A95B3CEC11A0B189E0319BA8A@ex03-kir.mosolf.de> Thanks Ritchie! I?m going to try it next week kind regards Michael -----Urspr?ngliche Nachricht----- Von: mail at catsnest.co.uk [mailto:mail at catsnest.co.uk] Gesendet: Donnerstag, 20. Januar 2011 17:19 An: Nagios Users List Betreff: [BULK] - Re: [Nagios-users] monitoring file content On Tue, Jan 18, 2011 at 10:40 AM, Maurer, Michael wrote: > hi folks, > Hi, > i`d like to monitor the content of a txt file on a remote windows host. > > The file will be formated like: > > value1: 1009 > value2: 156 > value3: 7889 > value4: 9981 > valueN: ..... > > I have to set warning and critical ranges for each value separately. > (value1 warn=500, crit = 1500 / value2 warn = 100, crit = 500 etc...) > > The file will be deleted and newly created if one of the values changes. > > Does anybody know how to do that? thanks in advance! I use a check something similar, I (badly) wrote a Perl script for the check. It runs on Solaris though so would need fiddling for windows /ActivePerl. Plus its expecting data in the format 'value1:1234 value2:1234 value3:4567' So again would need playing with to work how you want it to... I have attached the script and some config files. HTH Ritchie -- Fnord... <-- http://23.me.uk --> <-- http://wiki.s23.org --> <-- http://twitter.com/23me --> <- -Only the lavender prairie dogs know the key to unlock the secret of the tumble-weeds. --> > > kind regards > Michael > > ---------------------------------------------------------------------- > -------- Protect Your Site and Customers from Malware Attacks Learn > about various malware tactics and how to avoid them. Understand > malware threats, the impact they can have on your business, and how > you can protect your company and customers by using code signing. > http://p.sf.net/sfu/oracle-sfdevnl > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stanb at panix.com Thu Jan 20 22:35:26 2011 From: stanb at panix.com (stan) Date: Thu, 20 Jan 2011 16:35:26 -0500 Subject: check_http with auth issue Message-ID: <20110120213526.GB23372@teddy.fas.com> Hi, We're having problems with Nagios3 (3.2.0) reporting 'HTTP WARNING HTTP/1.1 401 Unauthorized' for check_http queries to a several switched CDUs of the same type. All these CDUs have HTTP Server = enabled, Authentication= Basic. Running check_http from the command line returns an OK status: /usr/lib/nagios/plugins/check_http -I ppcr23ps1 --authorization=user:passwd HTTP OK HTTP/1.1 200 OK - 763 bytes in 0.267 seconds check_http is reporting OK status for all the other devices we're checking from this Nagios3 server. This Nagios3 server is an internal server in a distributed nagios configuration, and we have 1 identical CDU configured on the main nagios server outside the firewall (the external nagios is 3.1.0). The check_http on the Nagios 3.1.0 server (external) does not give the WARNING 401 Unauthorized message. It displays HTTP OK HTTP 1.1 200 OK. To verify that the CDU config was not the problem or the firmware version wasn't the problem on the 2 new CDUs being configd for the internal server, we added the external CDU (already reporting OK on nagios 3.1.0) to the Nagios3 configuration & did a check_http. Like the other 2 units, the command line reports HTTP OK but nagios displays the 401 warning. We've run from the command line check_http -v and it's identical on both servers (everything is OK). However, the header on the devices that do not get the 401 warning start with a Server: descrip and Connection: close before the Content-Type CDU: STATUS: HTTP/1.1 200 OK **** HEADER **** Content-Type: text/html (the rest of the header info follows) All other devices: STATUS: HTTP/1.1 200 OK **** HEADER **** Server: Embedded Web Server (or whatever server description per device) Connection: close Content-Type: text/html (the rest of the header info follows) Any ideas why it works on 3.1.0 and not 3.2.0? Thanks -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? ------------------------------------------------------------------------------ Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From yuehung.liu at gmail.com Fri Jan 21 02:55:05 2011 From: yuehung.liu at gmail.com (Yueh-Hung Liu) Date: Fri, 21 Jan 2011 09:55:05 +0800 Subject: custom notifications for specific service groups In-Reply-To: References: <8CEF048B9EC83748B1517DC64EA130FB4B33DF4AE5@off-win2003-01.ausregistrygroup.local> Message-ID: simply assign different contacts/contact_groups in different service definitions. On Thu, Jan 20, 2011 at 9:05 PM, wrote: > Dear community, > > I am trying to figure out how to satisfy infrastructure team supporting > servers. Their request is two split services into two groups "core" and > "applications". > In the core group the following services would be nested: > CPU load > Memory utilization > Storage > and in the applications groups they would like to see the following: > Citrix sessions > Citrix licences > > They have segregated duties within the team for OS,HW and for application > part. They would need Nagios to send appropriate notification to OS team and > the same for application team. > Now, AFAIK if a contact is linked to the host then the notifications for all > its services are sent out. > So my question is if is there any way how to split notifications on the same > host so that OS team will never receive notification for Application team > and vice versa? > > thanks in advance for your help > > Michal > > > ------------------------------------------------------------------------------ > Protect Your Site and Customers from Malware Attacks > Learn about various malware tactics and how to avoid them. Understand > malware threats, the impact they can have on your business, and how you > can protect your company and customers by using code signing. > http://p.sf.net/sfu/oracle-sfdevnl > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ray at ganymede.org Fri Jan 21 06:38:54 2011 From: ray at ganymede.org (Ray Kiddy) Date: Thu, 20 Jan 2011 21:38:54 -0800 Subject: check_http with auth issue In-Reply-To: <20110120213526.GB23372@teddy.fas.com> References: <20110120213526.GB23372@teddy.fas.com> Message-ID: <637EC75C-0A53-4669-AE06-5BB5E98B88CF@ganymede.org> On Jan 20, 2011, at 1:35 PM, stan wrote: > Hi, > We're having problems with Nagios3 (3.2.0) reporting 'HTTP WARNING HTTP/1.1 401 Unauthorized' for check_http queries to a several switched CDUs of the same type. All these CDUs have HTTP Server = enabled, Authentication= Basic. > > Running check_http from the command line returns an OK status: > /usr/lib/nagios/plugins/check_http -I ppcr23ps1 --authorization=user:passwd > HTTP OK HTTP/1.1 200 OK - 763 bytes in 0.267 seconds > We had a similar problem. We have several CNAME entries for different names for some of our hosts. We were using a host definition that included the IP address. Then we switched to a host definition that was using the DNS name only. Also, be careful of certain characters in your password digest. If an ampersand appears in the password digest (and they seem to pop up about 1/3 of the time), you have to protect it with a backslash. We were running the check_http command the same way, but were of course putting single-quotes around the password digest and, gee, there is no problem..... These may not be your issue, but they may point you to something else. Good luck. cheers - ray > check_http is reporting OK status for all the other devices we're checking from this Nagios3 server. > > This Nagios3 server is an internal server in a distributed nagios configuration, and we have 1 identical CDU configured on the main nagios server outside the firewall (the external nagios is 3.1.0). The check_http on the Nagios 3.1.0 server (external) does not give the WARNING 401 Unauthorized message. It displays HTTP OK HTTP 1.1 200 OK. > > To verify that the CDU config was not the problem or the firmware version > wasn't the problem on the 2 new CDUs being configd for the internal server, we added the external CDU > (already reporting OK on nagios 3.1.0) to the Nagios3 configuration & did a check_http. Like the other 2 units, the command line reports HTTP OK but nagios displays the 401 warning. > > We've run from the command line check_http -v and it's identical on both servers (everything is OK). > However, the header on the devices that do not get the 401 warning start > with a Server: descrip and Connection: close before the Content-Type > > CDU: > > STATUS: HTTP/1.1 200 OK > **** HEADER **** > Content-Type: text/html > (the rest of the header info follows) > > All other devices: > > STATUS: HTTP/1.1 200 OK > **** HEADER **** > Server: Embedded Web Server (or whatever server description per device) > Connection: close > Content-Type: text/html > (the rest of the header info follows) > > Any ideas why it works on 3.1.0 and not 3.2.0? > Thanks > > > -- > A: Because it messes up the order in which people normally read text. > Q: Why is top-posting such a bad thing? > A: Top-posting. > Q: What is the most annoying thing in e-mail? > > ------------------------------------------------------------------------------ > Protect Your Site and Customers from Malware Attacks > Learn about various malware tactics and how to avoid them. Understand > malware threats, the impact they can have on your business, and how you > can protect your company and customers by using code signing. > http://p.sf.net/sfu/oracle-sfdevnl > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From michal.lackovic at cz.schneider-electric.com Fri Jan 21 09:47:01 2011 From: michal.lackovic at cz.schneider-electric.com (michal.lackovic at cz.schneider-electric.com) Date: Fri, 21 Jan 2011 09:47:01 +0100 Subject: custom notifications for specific service groups In-Reply-To: References: <8CEF048B9EC83748B1517DC64EA130FB4B33DF4AE5@off-win2003-01.ausregistrygroup.local> Message-ID: Hi, This would only work with these two teams As soon as next team will be interested in core services from another group of the servers I will have to create new services with yet different contacts. Michal Yueh-Hung Liu 21.01.2011 02:55 Please respond to Nagios Users List To Nagios Users List cc Subject Re: [Nagios-users] custom notifications for specific service groups simply assign different contacts/contact_groups in different service definitions. On Thu, Jan 20, 2011 at 9:05 PM, wrote: > Dear community, > > I am trying to figure out how to satisfy infrastructure team supporting > servers. Their request is two split services into two groups "core" and > "applications". > In the core group the following services would be nested: > CPU load > Memory utilization > Storage > and in the applications groups they would like to see the following: > Citrix sessions > Citrix licences > > They have segregated duties within the team for OS,HW and for application > part. They would need Nagios to send appropriate notification to OS team and > the same for application team. > Now, AFAIK if a contact is linked to the host then the notifications for all > its services are sent out. > So my question is if is there any way how to split notifications on the same > host so that OS team will never receive notification for Application team > and vice versa? > > thanks in advance for your help > > Michal > > > ------------------------------------------------------------------------------ > Protect Your Site and Customers from Malware Attacks > Learn about various malware tactics and how to avoid them. Understand > malware threats, the impact they can have on your business, and how you > can protect your company and customers by using code signing. > http://p.sf.net/sfu/oracle-sfdevnl > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 has been scanned by the MessageLabs Email Security System. ______________________________________________________________________ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From it.toonz at gmail.com Fri Jan 21 10:16:37 2011 From: it.toonz at gmail.com (Toonz IT) Date: Fri, 21 Jan 2011 14:46:37 +0530 Subject: Checking for live systems once every night. In-Reply-To: References: <4D303A0D.7080808@ljnet.dk> Message-ID: Thanks Jim, Cron checking looks a bit complicated for us, we are newbie in Nagios. Anyway will try to implement it. Thanks for tip! anth :-) On Wed, Jan 19, 2011 at 5:30 PM, Jim Avery wrote: > > > On 18 January 2011 06:15, Toonz IT wrote: > >> We have added the checking time period in timeperiods.cfg file. and it is >> correctly showing in the Host State Information >> Host Status: >> UP >> (for 0d 1h 41m 11s) Status Information:PING OK - Packet loss = 0%, RTA = >> 0.22 ms Performance Data:rta=0.221000ms;3000.000000;5000.000000;0.000000 >> pl=0%;80;100;0 Current Attempt:1/10 (HARD state) Last Check Time:01-18-2011 >> 10:00:00 Check Type:ACTIVE Check Latency / Duration:0.141 / 6.732 seconds Next >> Scheduled Active Check: 01-19-2011 10:00:00 Last State Change:01-18-2011 >> 10:00:16 Last Notification:01-18-2011 10:00:16 (notification 0) Is This >> Host Flapping? >> NO >> (0.00% state change) In Scheduled Downtime? >> NO >> Last Update:01-18-2011 11:41:22 ( 0d 0h 0m 5s ago) Active Checks: >> ENABLED >> Passive Checks: >> ENABLED >> Obsessing: >> ENABLED >> Notifications: >> ENABLED >> Event Handler: >> ENABLED >> Flap Detection: >> ENABLED >> >> But we are getting notification every 30min, we have now edited the cofig >> file of the system and set notification to 720, as we need a notification >> only after every 12 hours. Hope this is the way to do it!! >> >> Please advice. *Our aim is to collect information on systems which has >> not been shutdown at 10pm every night when most employees have already left >> the studio.* >> >> > > > Nagios itself doesn't have a mechanism for scheduling a check to run once > at a specific time. > > I would configure a check script in cron on your nagios server which runs > the check at 10pm each day and submits the result to Nagios as a passive > check (via NSCA or using the command interface whichever you prefer). > > Another similar (but probably not so good) way to tackle this would be to > set up a script in the windows scheduler on each client PC which submits the > passive check back to Nagios using send_nsca. I normally use a standalone > send_nsca binary for this, but I believe it would be possible to use the > nsca in NSClient++ instead. With this method you may need to set up > freshness checking too so you can record when the PC is not active > overnight. > > hth, > > Jim > > > ------------------------------------------------------------------------------ > Protect Your Site and Customers from Malware Attacks > Learn about various malware tactics and how to avoid them. Understand > malware threats, the impact they can have on your business, and how you > can protect your company and customers by using code signing. > http://p.sf.net/sfu/oracle-sfdevnl > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Fri Jan 21 12:19:21 2011 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Fri, 21 Jan 2011 12:19:21 +0100 Subject: Checking for live systems once every night. In-Reply-To: References: <4D303A0D.7080808@ljnet.dk> Message-ID: On Fri, 21 Jan 2011 14:46:37 +0530, Toonz IT wrote: Cron checking looks a bit complicated for us, we are newbie in Nagios. Anyway will try to implement it How much are you willing to spend on this? I doubt someone is willing to implement this and invest time for free. Hugo. -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Fri Jan 21 12:23:01 2011 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Fri, 21 Jan 2011 12:23:01 +0100 Subject: custom notifications for specific service groups In-Reply-To: References: "" <8CEF048B9EC83748B1517DC64EA130FB4B33DF4AE5@off-win2003-01.ausregistrygroup.local> Message-ID: <9f3daf5728253e69c1039631a11e3a75@vps517.directvps.nl> On Fri, 21 Jan 2011 09:47:01 +0100, michal.lackovic at cz.schneider-electric.com wrote: This would only work with these two teams As soon as next team will be interested in core services from another group of the servers I will have to create new services with yet different contacts. I fail to see the problem here. The solution is exactly what you need to do. Just configure the right contact(group)s to the right services. Hugo. -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From yuehung.liu at gmail.com Sat Jan 22 03:45:30 2011 From: yuehung.liu at gmail.com (Yueh-Hung Liu) Date: Sat, 22 Jan 2011 10:45:30 +0800 Subject: custom notifications for specific service groups In-Reply-To: References: <8CEF048B9EC83748B1517DC64EA130FB4B33DF4AE5@off-win2003-01.ausregistrygroup.local> Message-ID: been confused.... contacts in service definitions will override host contacts, why this would only work with (what you said) 2 teams? On Fri, Jan 21, 2011 at 4:47 PM, wrote: > Hi, > > This would only work with these two teams As soon as next team will be > interested in core services from another group of the servers I will have to > create new services with yet different contacts. > > Michal > > > > > > *Yueh-Hung Liu * > > 21.01.2011 02:55 > Please respond to > Nagios Users List > > To > Nagios Users List > cc > Subject > Re: [Nagios-users] custom notifications for specific service groups > > > > > simply assign different contacts/contact_groups in different service > definitions. > > > On Thu, Jan 20, 2011 at 9:05 PM, > wrote: > > Dear community, > > > > I am trying to figure out how to satisfy infrastructure team supporting > > servers. Their request is two split services into two groups "core" and > > "applications". > > In the core group the following services would be nested: > > CPU load > > Memory utilization > > Storage > > and in the applications groups they would like to see the following: > > Citrix sessions > > Citrix licences > > > > They have segregated duties within the team for OS,HW and for application > > part. They would need Nagios to send appropriate notification to OS team > and > > the same for application team. > > Now, AFAIK if a contact is linked to the host then the notifications for > all > > its services are sent out. > > So my question is if is there any way how to split notifications on the > same > > host so that OS team will never receive notification for Application team > > and vice versa? > > > > thanks in advance for your help > > > > Michal > > > > > > > ------------------------------------------------------------------------------ > > Protect Your Site and Customers from Malware Attacks > > Learn about various malware tactics and how to avoid them. Understand > > malware threats, the impact they can have on your business, and how you > > can protect your company and customers by using code signing. > > http://p.sf.net/sfu/oracle-sfdevnl > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ::: Please include Nagios version, plugin version (-v) and OS when > reporting > > any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > > ------------------------------------------------------------------------------ > Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! > Finally, a world-class log management solution at an even better > price-free! > Download using promo code Free_Logger_4_Dev2Dev. Offer expires > February 28th, so secure your free ArcSight Logger TODAY! > http://p.sf.net/sfu/arcsight-sfd2d > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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 has been scanned by the MessageLabs Email Security System. > ______________________________________________________________________ > > > > ------------------------------------------------------------------------------ > Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! > Finally, a world-class log management solution at an even better > price-free! > Download using promo code Free_Logger_4_Dev2Dev. Offer expires > February 28th, so secure your free ArcSight Logger TODAY! > http://p.sf.net/sfu/arcsight-sfd2d > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From grover1711 at gmail.com Sun Jan 23 09:22:32 2011 From: grover1711 at gmail.com (ankush grover) Date: Sun, 23 Jan 2011 13:52:32 +0530 Subject: Unable to run check_disk_remote with nrpe Message-ID: Hi Friends, I am trying to return output of check_disk_remote command through nrpe to the Nagios server but it is returning below error whereas the command is running properly without check_nrpe. The remote server(test.example.com) is not accessible through ssh from the Nagios server so I am running check_disk_remote plugin from a localserver which is already a nrpe client and running some checks like disk,load etc.. Nagios Server: 2.7 on Centos 5.5 Localserver: Ubuntu 8.04 32-bit What could be the reason for this issue? /check_nrpe -H localhost -c check_disk_remoteserver stderr = 65280 : error: | nrpe.cfg command[check_disk_remoteserver]=/usr/lib/nagios/plugins/check_disk_remote -e ssh -H test.example -v -w 70 -c 8 5 Output of /usr/lib/nagios/plugins/check_disk_remote -e ssh -H test.example.com -v -w 70 -c 85 Filesystem 1024-blocks Used Available Capacity Mounted on /dev/sda1 2064208 1166612 792740 60% / percent = 60% warn=70 crit=85 tmpfs 873828 0 873828 0% /lib/init/rw varrun 873828 48 873780 1% /var/run varlock 873828 0 873828 0% /var/lock udev 873828 432 873396 1% /dev tmpfs 873828 0 873828 0% /dev/shm /dev/sda2 153899044 192072 145889348 1% /mnt percent = 1% warn=70 crit=85 /dev/sdf 15481840 2528508 12166900 18% /data percent = 18% warn=70 crit=85 OK: All Filesystems are below threshold (70/85%) | /=60%;;;0;100 /mnt=1%;;;0;100 /data=18%;;;0;100 Regards Ankush ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From yuehung.liu at gmail.com Sun Jan 23 12:02:20 2011 From: yuehung.liu at gmail.com (Yueh-Hung Liu) Date: Sun, 23 Jan 2011 19:02:20 +0800 Subject: Unable to run check_disk_remote with nrpe In-Reply-To: References: Message-ID: should it be "check_nrpe -H test.example.com -c check_disk_remoteserver" on Nagios server? On Sun, Jan 23, 2011 at 4:22 PM, ankush grover wrote: > Hi Friends, > > I am trying to return output of check_disk_remote command through nrpe > to the Nagios server but it is returning below error whereas the > command is running properly without check_nrpe. The remote > server(test.example.com) is not accessible through ssh from the Nagios > server so I am running check_disk_remote plugin from a localserver > which is already a nrpe client and running some checks like disk,load > etc.. > > Nagios Server: 2.7 on Centos 5.5 > Localserver: Ubuntu 8.04 32-bit > > > What could be the reason for this issue? > > /check_nrpe -H localhost -c check_disk_remoteserver > > stderr = 65280 : > error: > ?| > > nrpe.cfg > command[check_disk_remoteserver]=/usr/lib/nagios/plugins/check_disk_remote > -e ssh -H test.example -v -w 70 -c 8 > 5 > > Output of > /usr/lib/nagios/plugins/check_disk_remote -e ssh -H test.example.com > -v -w 70 -c 85 > > Filesystem ? ? ? ? 1024-blocks ? ? ?Used Available Capacity Mounted on > /dev/sda1 ? ? ? ? ? ? ?2064208 ? 1166612 ? ?792740 ? ? ?60% / > percent = 60% warn=70 crit=85 > tmpfs ? ? ? ? ? ? ? ? ? 873828 ? ? ? ? 0 ? ?873828 ? ? ? 0% /lib/init/rw > varrun ? ? ? ? ? ? ? ? ?873828 ? ? ? ?48 ? ?873780 ? ? ? 1% /var/run > varlock ? ? ? ? ? ? ? ? 873828 ? ? ? ? 0 ? ?873828 ? ? ? 0% /var/lock > udev ? ? ? ? ? ? ? ? ? ?873828 ? ? ? 432 ? ?873396 ? ? ? 1% /dev > tmpfs ? ? ? ? ? ? ? ? ? 873828 ? ? ? ? 0 ? ?873828 ? ? ? 0% /dev/shm > /dev/sda2 ? ? ? ? ? ?153899044 ? ?192072 145889348 ? ? ? 1% /mnt > percent = 1% warn=70 crit=85 > /dev/sdf ? ? ? ? ? ? ?15481840 ? 2528508 ?12166900 ? ? ?18% /data > percent = 18% warn=70 crit=85 > OK: All Filesystems are below threshold (70/85%) | /=60%;;;0;100 > /mnt=1%;;;0;100 /data=18%;;;0;100 > > > Regards > > Ankush > > ------------------------------------------------------------------------------ > Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! > Finally, a world-class log management solution at an even better price-free! > Download using promo code Free_Logger_4_Dev2Dev. Offer expires > February 28th, so secure your free ArcSight Logger TODAY! > http://p.sf.net/sfu/arcsight-sfd2d > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nibin.vm at piserve.com Sun Jan 23 16:46:03 2011 From: nibin.vm at piserve.com (Nibin VM) Date: Sun, 23 Jan 2011 21:16:03 +0530 Subject: Trying to develop a new perl plugin Message-ID: Hello guys, I am trying to write some nagios perl plugin to monitor some services I'm responsible for. Initially I tried to write custom plugin to monitor mail queue using the following script. =========== #!/usr/bin/perl -w use strict; use Net::SNMP; use Getopt::Long; use lib "/usr/lib64/nagios/libexec"; my %ERRORS=('OK'=>0,'WARNING'=>1,'CRITICAL'=>2,'UNKNOWN'=>3); my $host = undef; my $result = undef; my @array = undef; $host=$ARGV[0]; $result=`/usr/lib64/nagios/plugins/check_snmp -H $host -C "community" -o extOutput.1`; @array = split(/\ /, $result); chomp($array[3]); if ( $array[3] le "19999" ) { print "OK: current emails queue is $array[3]\n"; exit $ERRORS{"OK"}; } elsif ( $array[3] ge "20000" && $array[3] le "29999" ) { print "Warning: current emails queue is $array[3]\n"; exit $ERRORS{"WARNING"}; } elsif ( $array[3] ge "30000" ) { print "Critical: current emails queue is $array[3]\n"; exit $ERRORS{"CRITICAL"}; } else { print "Unknown"; exit $ERRORS{"UNKNOWN"}; } ================ As you can see, I use snmp to pull mail queue from the remote server. When I try the command from command line it work fine. ]# ./test.pl "server name" OK: current emails queue is 264 But from the nagios from end it shows as critical and it shows "Critical: current emails queue is Unknown" error :( Please somebody help me to sort this out. Obviously its the first perl script that I ever wrote and I really interested to write more plugins in perl(I am in love with perl now :) ). Thanks in advance! -- Regards, Nibin. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jan 23 17:50:24 2011 From: jcasale at activenetwerx.com (Joseph L. Casale) Date: Sun, 23 Jan 2011 16:50:24 +0000 Subject: Trying to develop a new perl plugin In-Reply-To: References: Message-ID: >As you can see, I use snmp to pull mail queue from the remote server. >When I try the command from command line it work fine. Most likely your plugin doesn't conform to ePn guidelines. http://nagios.sourceforge.net/docs/3_0/epnplugins.html ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Timothy.Boyer at opm.gov Sun Jan 23 18:14:38 2011 From: Timothy.Boyer at opm.gov (Boyer, Timothy A.) Date: Sun, 23 Jan 2011 12:14:38 -0500 Subject: Trying to develop a new perl plugin In-Reply-To: References: Message-ID: <0F3D91EA70124C468301FF70A8ED16D4029F3FC9A3@BOYV7EXVS1.opm.gov> Permissions problem? You're running the command line as root; try running the command line as your Nagios username. ________________________________________ From: Nibin VM [nibin.vm at piserve.com] Sent: Sunday, January 23, 2011 10:46 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Trying to develop a new perl plugin Hello guys, I am trying to write some nagios perl plugin to monitor some services I'm responsible for. Initially I tried to write custom plugin to monitor mail queue using the following script. =========== #!/usr/bin/perl -w use strict; use Net::SNMP; use Getopt::Long; use lib "/usr/lib64/nagios/libexec"; my %ERRORS=('OK'=>0,'WARNING'=>1,'CRITICAL'=>2,'UNKNOWN'=>3); my $host = undef; my $result = undef; my @array = undef; $host=$ARGV[0]; $result=`/usr/lib64/nagios/plugins/check_snmp -H $host -C "community" -o extOutput.1`; @array = split(/\ /, $result); chomp($array[3]); if ( $array[3] le "19999" ) { print "OK: current emails queue is $array[3]\n"; exit $ERRORS{"OK"}; } elsif ( $array[3] ge "20000" && $array[3] le "29999" ) { print "Warning: current emails queue is $array[3]\n"; exit $ERRORS{"WARNING"}; } elsif ( $array[3] ge "30000" ) { print "Critical: current emails queue is $array[3]\n"; exit $ERRORS{"CRITICAL"}; } else { print "Unknown"; exit $ERRORS{"UNKNOWN"}; } ================ As you can see, I use snmp to pull mail queue from the remote server. When I try the command from command line it work fine. ]# ./test.pl "server name" OK: current emails queue is 264 But from the nagios from end it shows as critical and it shows "Critical: current emails queue is Unknown" error :( Please somebody help me to sort this out. Obviously its the first perl script that I ever wrote and I really interested to write more plugins in perl(I am in love with perl now :) ). Thanks in advance! -- Regards, Nibin. ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From grover1711 at gmail.com Mon Jan 24 08:10:02 2011 From: grover1711 at gmail.com (ankush grover) Date: Mon, 24 Jan 2011 12:40:02 +0530 Subject: Unable to run check_disk_remote with nrpe In-Reply-To: References: Message-ID: On Sun, Jan 23, 2011 at 4:32 PM, Yueh-Hung Liu wrote: > should it be "check_nrpe -H test.example.com -c > check_disk_remoteserver" on Nagios server? > > > What I am trying to say even I run check_nrpe on the localserver it is giving the below error. Once check_nrpe runs fine from the localserver it should run fine from the Nagios server also. stderr = 65280 : error: | > On Sun, Jan 23, 2011 at 4:22 PM, ankush grover wrote: >> Hi Friends, >> >> I am trying to return output of check_disk_remote command through nrpe >> to the Nagios server but it is returning below error whereas the >> command is running properly without check_nrpe. The remote >> server(test.example.com) is not accessible through ssh from the Nagios >> server so I am running check_disk_remote plugin from a localserver >> which is already a nrpe client and running some checks like disk,load >> etc.. >> >> Nagios Server: 2.7 on Centos 5.5 >> Localserver: Ubuntu 8.04 32-bit >> >> >> What could be the reason for this issue? >> >> /check_nrpe -H localhost -c check_disk_remoteserver >> >> stderr = 65280 : >> error: >> ?| >> >> nrpe.cfg >> command[check_disk_remoteserver]=/usr/lib/nagios/plugins/check_disk_remote >> -e ssh -H test.example -v -w 70 -c 8 >> 5 >> >> Output of >> /usr/lib/nagios/plugins/check_disk_remote -e ssh -H test.example.com >> -v -w 70 -c 85 >> >> Filesystem ? ? ? ? 1024-blocks ? ? ?Used Available Capacity Mounted on >> /dev/sda1 ? ? ? ? ? ? ?2064208 ? 1166612 ? ?792740 ? ? ?60% / >> percent = 60% warn=70 crit=85 >> tmpfs ? ? ? ? ? ? ? ? ? 873828 ? ? ? ? 0 ? ?873828 ? ? ? 0% /lib/init/rw >> varrun ? ? ? ? ? ? ? ? ?873828 ? ? ? ?48 ? ?873780 ? ? ? 1% /var/run >> varlock ? ? ? ? ? ? ? ? 873828 ? ? ? ? 0 ? ?873828 ? ? ? 0% /var/lock >> udev ? ? ? ? ? ? ? ? ? ?873828 ? ? ? 432 ? ?873396 ? ? ? 1% /dev >> tmpfs ? ? ? ? ? ? ? ? ? 873828 ? ? ? ? 0 ? ?873828 ? ? ? 0% /dev/shm >> /dev/sda2 ? ? ? ? ? ?153899044 ? ?192072 145889348 ? ? ? 1% /mnt >> percent = 1% warn=70 crit=85 >> /dev/sdf ? ? ? ? ? ? ?15481840 ? 2528508 ?12166900 ? ? ?18% /data >> percent = 18% warn=70 crit=85 >> OK: All Filesystems are below threshold (70/85%) | /=60%;;;0;100 >> /mnt=1%;;;0;100 /data=18%;;;0;100 >> >> >> Regards >> >> Ankush >> >> ------------------------------------------------------------------------------ >> Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! >> Finally, a world-class log management solution at an even better price-free! >> Download using promo code Free_Logger_4_Dev2Dev. Offer expires >> February 28th, so secure your free ArcSight Logger TODAY! >> http://p.sf.net/sfu/arcsight-sfd2d >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> > > ------------------------------------------------------------------------------ > Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! > Finally, a world-class log management solution at an even better price-free! > Download using promo code Free_Logger_4_Dev2Dev. Offer expires > February 28th, so secure your free ArcSight Logger TODAY! > http://p.sf.net/sfu/arcsight-sfd2d > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nibin.vm at piserve.com Mon Jan 24 16:16:51 2011 From: nibin.vm at piserve.com (Nibin VM) Date: Mon, 24 Jan 2011 20:46:51 +0530 Subject: Trying to develop a new perl plugin In-Reply-To: <0F3D91EA70124C468301FF70A8ED16D4029F3FC9A3@BOYV7EXVS1.opm.gov> References: <0F3D91EA70124C468301FF70A8ED16D4029F3FC9A3@BOYV7EXVS1.opm.gov> Message-ID: Thanks for your reply folks.. :) Finally I have concluded that the portion which reads the argument has issues. $host=$ARGV[0]; It isn't taken correctly when its executed from nagios. Please somebody tell me what code should I put if I need to specify the host name like ./test.pl-H "hostname"? On Sun, Jan 23, 2011 at 10:44 PM, Boyer, Timothy A. wrote: > Permissions problem? You're running the command line as root; try running > the command line as your Nagios username. > ________________________________________ > From: Nibin VM [nibin.vm at piserve.com] > Sent: Sunday, January 23, 2011 10:46 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Trying to develop a new perl plugin > > Hello guys, > > I am trying to write some nagios perl plugin to monitor some services I'm > responsible for. Initially I tried to write custom plugin to monitor mail > queue using the following script. > > =========== > #!/usr/bin/perl -w > > use strict; > use Net::SNMP; > use Getopt::Long; > > use lib "/usr/lib64/nagios/libexec"; > my %ERRORS=('OK'=>0,'WARNING'=>1,'CRITICAL'=>2,'UNKNOWN'=>3); > my $host = undef; > my $result = undef; > my @array = undef; > > $host=$ARGV[0]; > $result=`/usr/lib64/nagios/plugins/check_snmp -H $host -C "community" -o > extOutput.1`; > > @array = split(/\ /, $result); > chomp($array[3]); > > if ( $array[3] le "19999" ) > { > print "OK: current emails queue is $array[3]\n"; > exit $ERRORS{"OK"}; > } > > elsif ( $array[3] ge "20000" && $array[3] le "29999" ) > { > print "Warning: current emails queue is $array[3]\n"; > exit $ERRORS{"WARNING"}; > } > > elsif ( $array[3] ge "30000" ) > { > print "Critical: current emails queue is $array[3]\n"; > exit $ERRORS{"CRITICAL"}; > } > > else > { > print "Unknown"; > exit $ERRORS{"UNKNOWN"}; > } > ================ > > As you can see, I use snmp to pull mail queue from the remote server. When > I try the command from command line it work fine. > > ]# ./test.pl "server name" > OK: current emails queue is 264 > > But from the nagios from end it shows as critical and it shows "Critical: > current emails queue is Unknown" error :( > > Please somebody help me to sort this out. Obviously its the first perl > script that I ever wrote and I really interested to write more plugins in > perl(I am in love with perl now :) ). > > Thanks in advance! > > -- > Regards, > Nibin. > > > > > > ------------------------------------------------------------------------------ > Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! > Finally, a world-class log management solution at an even better > price-free! > Download using promo code Free_Logger_4_Dev2Dev. Offer expires > February 28th, so secure your free ArcSight Logger TODAY! > http://p.sf.net/sfu/arcsight-sfd2d > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Regards, Nibin. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jan 24 16:42:39 2011 From: jcasale at activenetwerx.com (Joseph L. Casale) Date: Mon, 24 Jan 2011 15:42:39 +0000 Subject: Trying to develop a new perl plugin In-Reply-To: References: <0F3D91EA70124C468301FF70A8ED16D4029F3FC9A3@BOYV7EXVS1.opm.gov> Message-ID: >Finally I have concluded that the portion which reads the argument has issues. > >$host=$ARGV[0]; Read that link I gave you, it explains this thoroughly. On another note, your plugin looks like you simply query an OID for a value and return levels based on a range? Why are you writing a plugin to use a plugin that does what you need? /usr/lib64/nagios/plugins/check_snmp --help You can search/grep on values/ranges... ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From work at paul.dubuc.org Mon Jan 24 16:44:32 2011 From: work at paul.dubuc.org (Paul M. Dubuc) Date: Mon, 24 Jan 2011 10:44:32 -0500 Subject: Trying to develop a new perl plugin In-Reply-To: References: <0F3D91EA70124C468301FF70A8ED16D4029F3FC9A3@BOYV7EXVS1.opm.gov> Message-ID: <4D3D9E60.7050806@paul.dubuc.org> If you're going to be writing many of your own plugins, it might be worth the effort to use the Nagios::Plugin modules (http://search.cpan.org/~tonvoon/Nagios-Plugin-0.35/lib/Nagios/Plugin.pm). They're probably installed under the perl/lib subdirectory of your Nagios installation. Among other things, they provide a convenient wrapper for Getopt::Long and Params::Validate so you can do position independent options and argument validation for your Perl plugins. Using it could save you quite a bit of time and code maintenance headaches in the long run. Paul Dubuc Nibin VM wrote: > Thanks for your reply folks.. :) > > Finally I have concluded that the portion which reads the argument has > issues. > > $host=$ARGV[0]; > > It isn't taken correctly when its executed from nagios. Please somebody > tell me what code should I put if I need to specify the host name like > ./test.pl -H "hostname"? > > On Sun, Jan 23, 2011 at 10:44 PM, Boyer, Timothy A. > > wrote: > > Permissions problem? You're running the command line as root; try > running the command line as your Nagios username. > ________________________________________ > From: Nibin VM [nibin.vm at piserve.com ] > Sent: Sunday, January 23, 2011 10:46 AM > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] Trying to develop a new perl plugin > > Hello guys, > > I am trying to write some nagios perl plugin to monitor some > services I'm responsible for. Initially I tried to write custom > plugin to monitor mail queue using the following script. > > =========== > #!/usr/bin/perl -w > > use strict; > use Net::SNMP; > use Getopt::Long; > > use lib "/usr/lib64/nagios/libexec"; > my %ERRORS=('OK'=>0,'WARNING'=>1,'CRITICAL'=>2,'UNKNOWN'=>3); > my $host = undef; > my $result = undef; > my @array = undef; > > $host=$ARGV[0]; > $result=`/usr/lib64/nagios/plugins/check_snmp -H $host -C > "community" -o extOutput.1`; > > @array = split(/\ /, $result); > chomp($array[3]); > > if ( $array[3] le "19999" ) > { > print "OK: current emails queue is $array[3]\n"; > exit $ERRORS{"OK"}; > } > > elsif ( $array[3] ge "20000" && $array[3] le "29999" ) > { > print "Warning: current emails queue is $array[3]\n"; > exit $ERRORS{"WARNING"}; > } > > elsif ( $array[3] ge "30000" ) > { > print "Critical: current emails queue is $array[3]\n"; > exit $ERRORS{"CRITICAL"}; > } > > else > { > print "Unknown"; > exit $ERRORS{"UNKNOWN"}; > } > ================ > > As you can see, I use snmp to pull mail queue from the remote > server. When I try the command from command line it work fine. > > ]# ./test.pl "server name" > OK: current emails queue is 264 > > But from the nagios from end it shows as critical and it shows > "Critical: current emails queue is Unknown" error :( > > Please somebody help me to sort this out. Obviously its the first > perl script that I ever wrote and I really interested to write more > plugins in perl(I am in love with perl now :) ). > > Thanks in advance! > > -- > Regards, > Nibin. > > > > > ------------------------------------------------------------------------------ > Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! > Finally, a world-class log management solution at an even better > price-free! > Download using promo code Free_Logger_4_Dev2Dev. Offer expires > February 28th, so secure your free ArcSight Logger TODAY! > http://p.sf.net/sfu/arcsight-sfd2d > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > > > -- > Regards, > Nibin. > > > > > > > > ------------------------------------------------------------------------------ > Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! > Finally, a world-class log management solution at an even better price-free! > Download using promo code Free_Logger_4_Dev2Dev. Offer expires > February 28th, so secure your free ArcSight Logger TODAY! > http://p.sf.net/sfu/arcsight-sfd2d > > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Steve.Onotsky at broadridge.com Mon Jan 24 16:54:13 2011 From: Steve.Onotsky at broadridge.com (Onotsky, Steve x55328) Date: Mon, 24 Jan 2011 10:54:13 -0500 Subject: Trying to develop a new perl plugin In-Reply-To: References: <0F3D91EA70124C468301FF70A8ED16D4029F3FC9A3@BOYV7EXVS1.opm.gov> Message-ID: <30A417B62E7EE448B3864ADC881CEFD60FA63316@missemsa01.bsg.ad.adp.com> > From: Nibin VM [mailto:nibin.vm at piserve.com] > Sent: January-24-11 10:17 > To: Nagios Users List > Subject: Re: [Nagios-users] Trying to develop a new perl plugin > > $host=$ARGV[0]; >? > It isn't taken correctly when its executed from nagios. Please somebody tell me what code should > I put if I need to specify the host name like ./test.pl -H "hostname"? My Perl is a bit rusty, but wouldn't '$host=$ARGV[0]' have a value of "-H" with these command line arguments (with "hostname" getting ignored because only the first element of the ARGV array is specified)? Perhaps something like Getopt::Long might get you were you need (or just leave off the '-H' and pass only the hostname)? Or did I miss the point somewhere? :) Cheers Steve This message and any attachments are intended only for the use of the addressee and may contain information that is privileged and confidential. If the reader of the message is not the intended recipient or an authorized representative of the intended recipient, you are hereby notified that any dissemination of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by e-mail and delete the message and any attachments from your system. ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeffrey.w.watts at gmail.com Mon Jan 24 17:21:05 2011 From: jeffrey.w.watts at gmail.com (Jeffrey Watts) Date: Mon, 24 Jan 2011 10:21:05 -0600 Subject: Problem with check_openmanage Message-ID: Hello, I'm using Mr. Amundsen's excellent check_openmanage plugin, and I'm getting an odd error: $ check_openmanage -H myserver -C public Power Supply 0 [AC] needs attention: Presence detected, Failure detected, AC lost Voltage sensor 14 [PS 2 Voltage 2] is INTERNAL ERROR: Use of uninitialized value $reading in sprintf at /usr/lib/nagios/plugins/check_openmanage line 3565. Has anyone else seen this error? I'm running version 3.6.4. Please let me know what additional information is needed. Thanks in advance, Jeffrey. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From t.h.amundsen at usit.uio.no Mon Jan 24 17:55:12 2011 From: t.h.amundsen at usit.uio.no (Trond Hasle Amundsen) Date: Mon, 24 Jan 2011 17:55:12 +0100 Subject: Problem with check_openmanage In-Reply-To: (Jeffrey Watts's message of "Mon, 24 Jan 2011 10:21:05 -0600") References: Message-ID: <15twrluxmvj.fsf@tux.uio.no> Jeffrey Watts writes: > Hello, I'm using Mr.?Amundsen's excellent check_openmanage plugin, and I'm > getting an odd error: > > $ check_openmanage -H myserver -C public > Power Supply 0 [AC] needs attention: Presence detected, Failure detected, AC > lost > Voltage sensor 14 [PS 2 Voltage 2] is? > INTERNAL ERROR: Use of uninitialized value $reading in sprintf at /usr/lib/ > nagios/plugins/check_openmanage line 3565. > > Has anyone else seen this error? ?I'm running version 3.6.4. ?Please let me > know what additional information is needed. Hi Jeffrey, This shouldn't happen, and I think I see where the problem is. Please try the version available here, and let me know if it performs any better: http://folk.uio.no/trondham/software/test/ Cheers, -- Trond H. Amundsen Center for Information Technology Services, University of Oslo ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Jan 24 17:36:04 2011 From: benny at bennyvision.com (C. Bensend) Date: Mon, 24 Jan 2011 10:36:04 -0600 Subject: Problem with check_openmanage In-Reply-To: References: Message-ID: <60cd756eaae4814889ecdc8dbbb23779.squirrel@webmail.stinkweasel.net> > $ check_openmanage -H myserver -C public > Power Supply 0 [AC] needs attention: Presence detected, Failure detected, > AC lost You have a power supply #0, it is plugged in, but it has no AC input. Someone tripped over a cable. > Voltage sensor 14 [PS 2 Voltage 2] is > INTERNAL ERROR: Use of uninitialized value $reading in sprintf at > /usr/lib/nagios/plugins/check_openmanage line 3565. Whoopsie, that looks like a bug in check_openmanage. Trond is excellent about fixing issues, I'd expect to hear from him shortly. Benny -- "Hairy ape nads." -- Colleen, playing Neverwinter Nights ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From yackey_steve at emc.com Mon Jan 24 17:53:59 2011 From: yackey_steve at emc.com (Steve) Date: Mon, 24 Jan 2011 16:53:59 +0000 (UTC) Subject: a quick check on nagwin and nsclient++ Message-ID: Hi, I have done my 'due dilligence' in trying to get nagwin/nsclient++ to 'work' in any regard. Meaning, read the requisite docs, config suggestions etc. But just to save myself time - does the nagwin/nsclient++ 'stuff' actuall work ? The items are the 'latest and greatest' downloads. Just wondering if it humanly possible and I am just a moron or what. Thanks ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From acm at fonetglobal.com Mon Jan 24 18:38:31 2011 From: acm at fonetglobal.com (=?utf-8?Q?Alexandro_Conde_Mart=C3=ADnez?=) Date: Mon, 24 Jan 2011 11:38:31 -0600 (CST) Subject: Trying to develop a new perl plugin In-Reply-To: <1516149.33415.1295890370354.JavaMail.root@mail.fonetglobal.com> References: <1516149.33415.1295890370354.JavaMail.root@mail.fonetglobal.com> Message-ID: <18750845.33418.1295890710956.JavaMail.root@mail.fonetglobal.com> That's easy, just use the Getopt ----- use Getopt::Long; use vars qw($opt_h $opt_C $opt_H); # Get the options Getopt::Long::Configure('bundling'); GetOptions ("h" => \$opt_h, "help" => \$opt_h, # Help Flag "H=s" => \$opt_H, "hostname=s" => \$opt_H); # Hostname # Validate the options if ($opt_h) { &print_help(); exit $ERRORS{OK}; } $opt_H = shift unless ($opt_H); $host = $1 if ($opt_H && $opt_H =~ m/^([a-zA-Z][-a-zA-Z0-9]+(\.[a-zA-Z][-a-zA-Z0-9]+)*)$/); unless ($host) { print "No target host specified\n"; &print_usage(); exit $ERRORS{UNKNOWN}; } ----- Eng. Alexandro Conde Mart?nez ---------> Alcon CTO, Fonet Global Inc. Phone: +1.972.749.9970 Voip: 523663800 acm at fonetglobal.com http://www.fonetglobal.com Stop Spam: http://www.cauce.org ----- Original Message ----- From: "Nibin VM" To: "Nagios Users List" Sent: Monday, January 24, 2011 9:16:51 AM Subject: Re: [Nagios-users] Trying to develop a new perl plugin Thanks for your reply folks.. :) Finally I have concluded that the portion which reads the argument has issues. $host=$ARGV[0]; It isn't taken correctly when its executed from nagios. Please somebody tell me what code should I put if I need to specify the host name like ./ test.pl -H "hostname"? On Sun, Jan 23, 2011 at 10:44 PM, Boyer, Timothy A. < Timothy.Boyer at opm.gov > wrote: Permissions problem? You're running the command line as root; try running the command line as your Nagios username. ________________________________________ From: Nibin VM [ nibin.vm at piserve.com ] Sent: Sunday, January 23, 2011 10:46 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Trying to develop a new perl plugin Hello guys, I am trying to write some nagios perl plugin to monitor some services I'm responsible for. Initially I tried to write custom plugin to monitor mail queue using the following script. =========== #!/usr/bin/perl -w use strict; use Net::SNMP; use Getopt::Long; use lib "/usr/lib64/nagios/libexec"; my %ERRORS=('OK'=>0,'WARNING'=>1,'CRITICAL'=>2,'UNKNOWN'=>3); my $host = undef; my $result = undef; my @array = undef; $host=$ARGV[0]; $result=`/usr/lib64/nagios/plugins/check_snmp -H $host -C "community" -o extOutput.1`; @array = split(/\ /, $result); chomp($array[3]); if ( $array[3] le "19999" ) { print "OK: current emails queue is $array[3]\n"; exit $ERRORS{"OK"}; } elsif ( $array[3] ge "20000" && $array[3] le "29999" ) { print "Warning: current emails queue is $array[3]\n"; exit $ERRORS{"WARNING"}; } elsif ( $array[3] ge "30000" ) { print "Critical: current emails queue is $array[3]\n"; exit $ERRORS{"CRITICAL"}; } else { print "Unknown"; exit $ERRORS{"UNKNOWN"}; } ================ As you can see, I use snmp to pull mail queue from the remote server. When I try the command from command line it work fine. ]# ./ test.pl < http://test.pl > "server name" OK: current emails queue is 264 But from the nagios from end it shows as critical and it shows "Critical: current emails queue is Unknown" error :( Please somebody help me to sort this out. Obviously its the first perl script that I ever wrote and I really interested to write more plugins in perl(I am in love with perl now :) ). Thanks in advance! -- Regards, Nibin. ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- Regards, Nibin. ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From yackey_steve at emc.com Mon Jan 24 19:46:36 2011 From: yackey_steve at emc.com (Steve) Date: Mon, 24 Jan 2011 18:46:36 +0000 (UTC) Subject: a quick check on nagwin and nsclient++ References: Message-ID: Steve emc.com> writes: > > Hi, > > I have done my 'due dilligence' in trying to get nagwin/nsclient++ to 'work' in > any regard. Meaning, read the requisite docs, config suggestions etc. > > But just to save myself time - does the nagwin/nsclient++ 'stuff' actuall work ? > The items are the 'latest and greatest' downloads. > Just wondering if it humanly possible and I am just a moron or what. > > Thanks > I didn't search/find/read the appropriate docs. Got nrpe to do something. My other 'issues' have got to be similarly self-inflicted. Sorry to bother the list. ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeffrey.w.watts at gmail.com Mon Jan 24 20:01:10 2011 From: jeffrey.w.watts at gmail.com (Jeffrey Watts) Date: Mon, 24 Jan 2011 13:01:10 -0600 Subject: Problem with check_openmanage In-Reply-To: <15twrluxmvj.fsf@tux.uio.no> References: <15twrluxmvj.fsf@tux.uio.no> Message-ID: Thanks Trond! That seems to have fixed it. Here's what I see now: ./check_openmanage -H pkc-search28 -C tomgeco Power Supply 0 [AC] needs attention: Presence detected, Failure detected, AC lost Voltage sensor 14 [PS 2 Voltage 2] is Unknown reading It comes up correctly now as a CRIT, too. Thanks! Jeffrey. On Mon, Jan 24, 2011 at 10:55 AM, Trond Hasle Amundsen < t.h.amundsen at usit.uio.no> wrote: > Jeffrey Watts writes: > > > Hello, I'm using Mr. Amundsen's excellent check_openmanage plugin, and > I'm > > getting an odd error: > > > > $ check_openmanage -H myserver -C public > > Power Supply 0 [AC] needs attention: Presence detected, Failure detected, > AC > > lost > > Voltage sensor 14 [PS 2 Voltage 2] is > > INTERNAL ERROR: Use of uninitialized value $reading in sprintf at > /usr/lib/ > > nagios/plugins/check_openmanage line 3565. > > > > Has anyone else seen this error? I'm running version 3.6.4. Please let > me > > know what additional information is needed. > > Hi Jeffrey, > > This shouldn't happen, and I think I see where the problem is. Please > try the version available here, and let me know if it performs any > better: > > http://folk.uio.no/trondham/software/test/ > > Cheers, > -- > Trond H. Amundsen > Center for Information Technology Services, University of Oslo > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From t.h.amundsen at usit.uio.no Mon Jan 24 21:19:54 2011 From: t.h.amundsen at usit.uio.no (Trond Hasle Amundsen) Date: Mon, 24 Jan 2011 21:19:54 +0100 Subject: Problem with check_openmanage In-Reply-To: (Jeffrey Watts's message of "Mon, 24 Jan 2011 13:01:10 -0600") References: <15twrluxmvj.fsf@tux.uio.no> Message-ID: <15tsjwixded.fsf@tux.uio.no> Jeffrey Watts writes: > Thanks Trond! ?That seems to have fixed it. ?Here's what I see now: > > ./check_openmanage -H pkc-search28 -C tomgeco > Power Supply 0 [AC] needs attention: Presence detected, Failure detected, AC lost > Voltage sensor 14 [PS 2 Voltage 2] is Unknown reading > > It comes up correctly now as a CRIT, too. Good, thanks for reporting back. I'll include this fix in the next release. The problem was that where the reading is not available, the plugin assumes that the reading is discrete (i.e. not a number but "good", "bad" etc.). This assumption is wrong in cases where the reading is NOT discrete and simply not available via SNMP. The fixed version will set the reading to "Unknown reading" when the reading can't be obtained. (However, this situation shouldn't occur at all if OMSA it behaving as it should. Pulling the cable on one power supply would normally lead to a reading of 0 volts for that voltage probe.) Cheers, -- Trond H. Amundsen Center for Information Technology Services, University of Oslo ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jxadams at ualr.edu Mon Jan 24 21:59:16 2011 From: jxadams at ualr.edu (John Adams) Date: Mon, 24 Jan 2011 14:59:16 -0600 Subject: Writing nrpe commands Message-ID: Hi, folks, I'm in need of using nrpe to get information from log files, and I'm stumped on where to find guidance on doing so. Any pointers to the right information or the right place to ask (if this isn't it)? Thanks, John A ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Jan 24 22:10:29 2011 From: benny at bennyvision.com (C. Bensend) Date: Mon, 24 Jan 2011 15:10:29 -0600 Subject: Writing nrpe commands In-Reply-To: References: Message-ID: > I'm in need of using nrpe to get information from log files, and > I'm stumped on where to find guidance on doing so. Any pointers to the > right information or the right place to ask (if this isn't it)? I would take a look at the sample nrpe.cfg that comes with NRPE for examples of commands, and then check out consul.de's excellent check_logfiles plugin to do the work with the logs. Benny -- "Hairy ape nads." -- Colleen, playing Neverwinter Nights ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tevfik.karagulle at gmail.com Mon Jan 24 23:19:25 2011 From: tevfik.karagulle at gmail.com (Tevfik Karagulle) Date: Mon, 24 Jan 2011 23:19:25 +0100 Subject: a quick check on nagwin and nsclient++ Message-ID: Nagwin + NSClient++ will work just fine as long as you run NSClient in NRPE mode. Tev ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tevfik.karagulle at gmail.com Tue Jan 25 00:07:39 2011 From: tevfik.karagulle at gmail.com (Tevfik Karagulle) Date: Tue, 25 Jan 2011 00:07:39 +0100 Subject: External Command Interface - broken named pipes on Cygwin Message-ID: Hi, It seems that Cygwin support for named pipes may have some broken parts, causing trouble during porting of External Command Interface. What I observe that Nagios manages to write to the named pipe for the first time. Following requests end up with timeouts. I've tried several other alternatives like blocked or read-only opening of the pipe to no avail. Things get just worse. My conclusion is that the current External Command Interface can not be implemented as a stable solution on Cygwin. Questions: - Has anybody succeeded porting External Command Interface to Cygwin? - Do you have any suggestions ? I am considering to move command fifo structure and processing logic out of Nagios to a network service. Tev -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Naveen.R-//tT4aWmXyZBDgjK7y7TUQ at public.gmane.org Tue Jan 25 06:14:11 2011 From: Naveen.R-//tT4aWmXyZBDgjK7y7TUQ at public.gmane.org (R, Naveen) Date: Tue, 25 Jan 2011 06:14:11 +0100 Subject: Unregister to Nagios userlist mail Message-ID: <8DF553C0530569419CAAFA4E3331C32BEE8B653173@NLCLUEXM09.connect1.local> Hello, I wanted to unregister for Nagios mail. Please remove my email id from this user list. Thank you. Warm regards, Naveen.R., Philips Consumer Lifestyle, Philips Innovation Campus, Philips Electronics India Ltd, Manyata Tech Park, Nagavara, Bangalore - 560045. Ph: +91 80 40162000 Extn: 2718/3016 Mobile: 9663320455 Email: naveen.r-//tT4aWmXyZBDgjK7y7TUQ at public.gmane.org intranet: http://pww.bangalore.philips.com, internet: http://www.bangalore.philips.com [cid:image001.png-r3v+ikiA73XrLea1TfyDTTRmByFHzeGd at public.gmane.org] ________________________________ The information contained in this message may be confidential and legally protected under applicable law. The message is intended solely for the addressee(s). If you are not the intended recipient, you are hereby notified that any use, forwarding, dissemination, or reproduction of this message is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender by return e-mail and destroy all copies of the original message. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 4858 bytes Desc: image001.png URL: -------------- next part -------------- ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d -------------- next part -------------- _______________________________________________ Nagiosplug-help mailing list Nagiosplug-help-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org https://lists.sourceforge.net/lists/listinfo/nagiosplug-help ::: Please include plugins version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stevejenkins at gmail.com Tue Jan 25 06:43:14 2011 From: stevejenkins at gmail.com (Steve Jenkins) Date: Mon, 24 Jan 2011 21:43:14 -0800 Subject: check_openmanage showing 0 logical drives with OMSA 6.4 and PERC4 Message-ID: I've been using Trond Amundsen's awesome check_openmanage script to babysit a dozen or so full of various Dell PowerEdges - all the way from x550s to x950s (thanks, Trond!) After upgrading three of the 1850s to Dell OMSA 6.4 today, I noticed something strange. The three of them now display in Nagios: OK - System: 'PowerEdge 1850', SN: 'XXXXXXXX', 3 GB ram (6 dimms), 0 logical drives, 2 physical drives OK - System: 'PowerEdge 1850', SN: 'XXXXXXX', 12 GB ram (6 dimms), 0 logical drives, 2 physical drives OK - System: 'PowerEdge 1850', SN: 'XXXXXXX', 4 GB ram (6 dimms), 0 logical drives, 2 physical drives All three display 0 logical drives, even though they all have a working RAID array. All three of these boxes are running the 32-bit version of OMSA 6.4, even though two of them are 64-bit CentOS systems. I had to run the 32-bit version of OMSA 6.4 because the 64-bit version won't see the PERC 4 controller. For comparison, I have a 2950 running OMSA 6.4 that's showing: OK - System: 'PowerEdge 2950', SN: 'XXXXXXX', 16 GB ram (8 dimms), 1 logical drives, 2 physical drives So I know that OMSA 6.4 is passing the appropriate info the check_openmanage in that case. The debug output on the 1850s shows : # ./check_openmanage -d System: PowerEdge 1850 OMSA version: 6.4.0 ServiceTag: XXXXXXX Plugin version: 3.6.4 BIOS/date: A07 04/25/2008 Checking mode: local ----------------------------------------------------------------------------- Storage Components ============================================================================= STATE | ID | MESSAGE TEXT ---------+----------+-------------------------------------------------------- OK | 0 | Controller 0 [PERC 4e/Si] is Ready OK | 0:0:0 | Physical Disk 0:0 [SCSI-HDD 37GB] on ctrl 0 is Online OK | 0:0:1 | Physical Disk 0:1 [SCSI-HDD 36GB] on ctrl 0 is Online OK | 0:0 | Cache Battery 0 in controller 0 is Ready OK | 0:0 | Connector 0 [SCSI Channel RAID Mode] on controller 0 is Ready OK | 0:0 | Enclosure 0:0 [Backplane] on controller 0 is Ready Which is clearly missing the "Logical Drive" output that does appear on the 2950 running OMSA 6.4, which is: OK | 0:0 | Logical Drive '/dev/sda' [RAID-1, 67.75 GB] is Ready The strange part is that OMSA 6.4 on the 1850s is clearly aware that there's a logical drive, because the GUI shows "Virtual Disk 0 RAID-1" in the Storage Dashboard. I'm pretty certain that all three of these 1850s used to report 1 logical drive under OMSA 6.3, so I'm thinking that some combination of OMSA 6.4 and the PERC 4 isn't giving enough info to check_openmanage for it to know that the logical drive is there. The OMSA 6.4 GUI is getting the message somehow, but check_openmanage isn't. I'm happy to provide any other output to help debug. Thanks in advance for any assistance! SteveJ ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nibin.vm at piserve.com Tue Jan 25 09:58:43 2011 From: nibin.vm at piserve.com (Nibin VM) Date: Tue, 25 Jan 2011 14:28:43 +0530 Subject: Trying to develop a new perl plugin In-Reply-To: <18750845.33418.1295890710956.JavaMail.root@mail.fonetglobal.com> References: <1516149.33415.1295890370354.JavaMail.root@mail.fonetglobal.com> <18750845.33418.1295890710956.JavaMail.root@mail.fonetglobal.com> Message-ID: thanks guys.... :) On Mon, Jan 24, 2011 at 11:08 PM, Alexandro Conde Mart?nez < acm at fonetglobal.com> wrote: > That's easy, just use the Getopt > > ----- > use Getopt::Long; > use vars qw($opt_h $opt_C $opt_H); > > # Get the options > Getopt::Long::Configure('bundling'); > GetOptions > ("h" => \$opt_h, "help" => \$opt_h, # Help Flag > "H=s" => \$opt_H, "hostname=s" => \$opt_H); # Hostname > > # Validate the options > if ($opt_h) { > &print_help(); > exit $ERRORS{OK}; > } > > $opt_H = shift unless ($opt_H); > $host = $1 if ($opt_H && $opt_H =~ > m/^([a-zA-Z][-a-zA-Z0-9]+(\.[a-zA-Z][-a-zA-Z0-9]+)*)$/); > unless ($host) { > print "No target host specified\n"; > &print_usage(); > exit $ERRORS{UNKNOWN}; > } > ----- > > > *Eng. Alexandro Conde Mart?nez --------->* *Alcon* > CTO, Fonet Global Inc. > Phone: +1.972.749.9970 Voip: 523663800 > acm at fonetglobal.com > http://www.fonetglobal.com > Stop Spam: http://www.cauce.org > > > ----- Original Message ----- > From: "Nibin VM" > To: "Nagios Users List" > Sent: Monday, January 24, 2011 9:16:51 AM > Subject: Re: [Nagios-users] Trying to develop a new perl plugin > > Thanks for your reply folks.. :) > > Finally I have concluded that the portion which reads the argument has > issues. > > $host=$ARGV[0]; > > It isn't taken correctly when its executed from nagios. Please somebody > tell me what code should I put if I need to specify the host name like ./ > test.pl -H "hostname"? > > On Sun, Jan 23, 2011 at 10:44 PM, Boyer, Timothy A. > wrote: > >> Permissions problem? You're running the command line as root; try running >> the command line as your Nagios username. >> ________________________________________ >> From: Nibin VM [nibin.vm at piserve.com] >> >> Sent: Sunday, January 23, 2011 10:46 AM >> To: nagios-users at lists.sourceforge.net >> Subject: [Nagios-users] Trying to develop a new perl plugin >> >> Hello guys, >> >> I am trying to write some nagios perl plugin to monitor some services I'm >> responsible for. Initially I tried to write custom plugin to monitor mail >> queue using the following script. >> >> =========== >> #!/usr/bin/perl -w >> >> use strict; >> use Net::SNMP; >> use Getopt::Long; >> >> use lib "/usr/lib64/nagios/libexec"; >> my %ERRORS=('OK'=>0,'WARNING'=>1,'CRITICAL'=>2,'UNKNOWN'=>3); >> my $host = undef; >> my $result = undef; >> my @array = undef; >> >> $host=$ARGV[0]; >> $result=`/usr/lib64/nagios/plugins/check_snmp -H $host -C "community" -o >> extOutput.1`; >> >> @array = split(/\ /, $result); >> chomp($array[3]); >> >> if ( $array[3] le "19999" ) >> { >> print "OK: current emails queue is $array[3]\n"; >> exit $ERRORS{"OK"}; >> } >> >> elsif ( $array[3] ge "20000" && $array[3] le "29999" ) >> { >> print "Warning: current emails queue is $array[3]\n"; >> exit $ERRORS{"WARNING"}; >> } >> >> elsif ( $array[3] ge "30000" ) >> { >> print "Critical: current emails queue is $array[3]\n"; >> exit $ERRORS{"CRITICAL"}; >> } >> >> else >> { >> print "Unknown"; >> exit $ERRORS{"UNKNOWN"}; >> } >> ================ >> >> As you can see, I use snmp to pull mail queue from the remote server. When >> I try the command from command line it work fine. >> >> ]# ./test.pl "server name" >> >> OK: current emails queue is 264 >> >> But from the nagios from end it shows as critical and it shows "Critical: >> current emails queue is Unknown" error :( >> >> Please somebody help me to sort this out. Obviously its the first perl >> script that I ever wrote and I really interested to write more plugins in >> perl(I am in love with perl now :) ). >> >> Thanks in advance! >> >> -- >> Regards, >> Nibin. >> >> >> >> >> >> ------------------------------------------------------------------------------ >> >> Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! >> Finally, a world-class log management solution at an even better >> price-free! >> Download using promo code Free_Logger_4_Dev2Dev. Offer expires >> February 28th, so secure your free ArcSight Logger TODAY! >> http://p.sf.net/sfu/arcsight-sfd2d >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> > > > > -- > Regards, > Nibin. > > > > > > > > > ------------------------------------------------------------------------------ > Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! > Finally, a world-class log management solution at an even better > price-free! > Download using promo code Free_Logger_4_Dev2Dev. Offer expires > February 28th, so secure your free ArcSight Logger TODAY! > http://p.sf.net/sfu/arcsight-sfd2d > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > ------------------------------------------------------------------------------ > Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! > Finally, a world-class log management solution at an even better > price-free! > Download using promo code Free_Logger_4_Dev2Dev. Offer expires > February 28th, so secure your free ArcSight Logger TODAY! > http://p.sf.net/sfu/arcsight-sfd2d > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Regards, Nibin. --------------------------------- Nibin.V.M Operations Engineer(Unix) PiServe.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jan 25 12:41:11 2011 From: t.h.amundsen at usit.uio.no (Trond Hasle Amundsen) Date: Tue, 25 Jan 2011 12:41:11 +0100 Subject: check_openmanage showing 0 logical drives with OMSA 6.4 and PERC4 In-Reply-To: (Steve Jenkins's message of "Mon, 24 Jan 2011 21:43:14 -0800") References: Message-ID: <15t7hdtxlbc.fsf@tux.uio.no> Steve Jenkins writes: > After upgrading three of the 1850s to Dell OMSA 6.4 today, I noticed > something strange. The three of them now display in Nagios: > > OK - System: 'PowerEdge 1850', SN: 'XXXXXXXX', 3 GB ram (6 dimms), 0 > logical drives, 2 physical drives > > OK - System: 'PowerEdge 1850', SN: 'XXXXXXX', 12 GB ram (6 dimms), 0 > logical drives, 2 physical drives > > OK - System: 'PowerEdge 1850', SN: 'XXXXXXX', 4 GB ram (6 dimms), 0 > logical drives, 2 physical drives > > All three display 0 logical drives, even though they all have a > working RAID array. [snip] > The strange part is that OMSA 6.4 on the 1850s is clearly aware that > there's a logical drive, because the GUI shows "Virtual Disk 0 RAID-1" > in the Storage Dashboard. Hi Steve, Interesting.. OMSA is obviously aware of the logical drives, but what does omreport actually say about them? Try running 'omreport storage vdisk controller='. You seem to be running check_openmanage in local mode, so the output from omreport is what matters. Cheers, -- Trond H. Amundsen Center for Information Technology Services, University of Oslo ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From yackey_steve at emc.com Tue Jan 25 15:38:42 2011 From: yackey_steve at emc.com (Steve) Date: Tue, 25 Jan 2011 14:38:42 +0000 (UTC) Subject: a quick check on nagwin and nsclient++ References: Message-ID: Tevfik Karagulle gmail.com> writes: > > Nagwin + NSClient++ will work just fine as long as you run NSClient in > NRPE mode. > > Tev > Cannot get nagwin (the web drill down on hosts) to 'recognize' any plugins. I am focusing on checkcpu just trying to get one to work. I can do the command line stuff just fine. I have been thru several configuration tries - using suggestions for cfg files - both real and imagined (windows.cfg etc). Logging reveals nothing (except it didn't work). Is there a site/wiki/whatever that has a semi-accurate description of the configuration required; like an example of actual cfg files, that correspond to the actual directory structure ? I know this is experimental open-source stuff and I might be out of luck. Just thought I'd ask. Thanks in advance ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tevfik.karagulle at gmail.com Tue Jan 25 15:48:54 2011 From: tevfik.karagulle at gmail.com (Tevfik Karagulle) Date: Tue, 25 Jan 2011 15:48:54 +0100 Subject: a quick check on nagwin and nsclient++ In-Reply-To: References: Message-ID: Time to visit http://itefix.no/i2/nagwin and check examples there :-) On Tue, Jan 25, 2011 at 3:38 PM, Steve wrote: > Tevfik Karagulle gmail.com> writes: > > > > > Nagwin + NSClient++ will work just fine as long as you run NSClient in > > NRPE mode. > > > > Tev > > > > Cannot get nagwin (the web drill down on hosts) to 'recognize' any plugins. > I am focusing on checkcpu just trying to get one to work. > I can do the command line stuff just fine. > > I have been thru several configuration tries - using suggestions for cfg > files - > both real and imagined (windows.cfg etc). Logging reveals nothing (except > it > didn't work). > > Is there a site/wiki/whatever that has a semi-accurate description of the > configuration required; like an example of actual cfg files, that > correspond to > the actual directory structure ? > > I know this is experimental open-source stuff and I might be out of luck. > Just thought I'd ask. > > Thanks in advance > > > > ------------------------------------------------------------------------------ > Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! > Finally, a world-class log management solution at an even better > price-free! > Download using promo code Free_Logger_4_Dev2Dev. Offer expires > February 28th, so secure your free ArcSight Logger TODAY! > http://p.sf.net/sfu/arcsight-sfd2d > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From luc.maignan at winxpert.com Tue Jan 25 15:58:01 2011 From: luc.maignan at winxpert.com (Luc MAIGNAN) Date: Tue, 25 Jan 2011 15:58:01 +0100 Subject: Alert via SMS Message-ID: <4D3EE4F9.6040706@winxpert.com> Hi, Yes I know that my question has already been posted a lot of times... But I think that the solution depend of the country the server is. I am in France and I want to notify my Nagios Users by SMS. Is there a free way to do this ? What is the nagios configuration to do this ? I have I very urgent need, so any help would be highly appreciated Best regards Luc ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From yackey_steve at emc.com Tue Jan 25 16:04:09 2011 From: yackey_steve at emc.com (Steve) Date: Tue, 25 Jan 2011 15:04:09 +0000 (UTC) Subject: a quick check on nagwin and nsclient++ References: Message-ID: Tevfik Karagulle gmail.com> writes: > > > Time to visit http://itefix.no/i2/nagwin and check examples there > On Tue, Jan 25, 2011 at 3:38 PM, Steve emc.com> wrote: > > > Tevfik Karagulle gmail.com> writes: > > > > Nagwin + NSClient++ will work just fine as long as you run NSClient in > > NRPE mode. > > > > Tev > > > > Cannot get nagwin (the web drill down on hosts) to 'recognize' any plugins. > I am focusing on checkcpu just trying to get one to work. > I can do the command line stuff just fine. > I have been thru several configuration tries - using suggestions for cfg files - > ?both real and imagined (windows.cfg etc). Logging reveals nothing (except it > didn't work). > Is there a site/wiki/whatever that has a semi-accurate description of the > configuration required; like an example of actual cfg files, that correspond to > the actual directory structure ? > I know this is experimental open-source stuff and I might be out of luck. > Just thought I'd ask. > Thanks in advance I had actually stumbeled across that :) Was proceeding along (yesterday) but I see things like: ?Windows host: Replace contents of the configuration file nrpe.cfg (default location is c:\program files\icw, remember to specify allowed_hosts parameter): But of course there is no nrpe.cfg file in that spot or anywhere else. I 'moved on' to just trying some check_pdm stuff (just for grins), but, as I'm sure you know, that doesn't work either. So I'll fiddle some more - Nagios sounds cool and I wanted to explore its integration into the 'open frameworks'. Thanks for the responses. ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tevfik.karagulle at gmail.com Tue Jan 25 16:19:04 2011 From: tevfik.karagulle at gmail.com (Tevfik Karagulle) Date: Tue, 25 Jan 2011 16:19:04 +0100 Subject: a quick check on nagwin and nsclient++ In-Reply-To: References: Message-ID: Just open a thread at Nagwin forum at itefix.no. So I can try to help you there. I think that nagios-users is not so appropriate for very Nagwin-specific instructions. Please remember that Nagwin contains plain Nagios on a completely different platform than *nixes and some platform-specific issues had to be addressed in different ways. Tev On Tue, Jan 25, 2011 at 4:04 PM, Steve wrote: > Tevfik Karagulle gmail.com> writes: > > > > > > > Time to visit http://itefix.no/i2/nagwin and check examples there > > On Tue, Jan 25, 2011 at 3:38 PM, Steve emc.com> > wrote: > > > > > > Tevfik Karagulle gmail.com> writes: > > > > > > Nagwin + NSClient++ will work just fine as long as you run NSClient in > > > NRPE mode. > > > > > > Tev > > > > > > > Cannot get nagwin (the web drill down on hosts) to 'recognize' any > plugins. > > I am focusing on checkcpu just trying to get one to work. > > I can do the command line stuff just fine. > > I have been thru several configuration tries - using suggestions for cfg > files - > > both real and imagined (windows.cfg etc). Logging reveals nothing > (except it > > didn't work). > > Is there a site/wiki/whatever that has a semi-accurate description of the > > configuration required; like an example of actual cfg files, that > correspond > to > > the actual directory structure ? > > I know this is experimental open-source stuff and I might be out of luck. > > Just thought I'd ask. > > Thanks in advance > > > I had actually stumbeled across that :) > Was proceeding along (yesterday) but I see things like: > > ?Windows host: Replace contents of the configuration file nrpe.cfg (default > location is c:\program files\icw, remember to specify allowed_hosts > parameter): > > But of course there is no nrpe.cfg file in that spot or anywhere else. > I 'moved on' to just trying some check_pdm stuff (just for grins), but, as > I'm > sure you know, that doesn't work either. > > So I'll fiddle some more - Nagios sounds cool and I wanted to explore its > integration into the 'open frameworks'. > > Thanks for the responses. > > > > > > > > > ------------------------------------------------------------------------------ > Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! > Finally, a world-class log management solution at an even better > price-free! > Download using promo code Free_Logger_4_Dev2Dev. Offer expires > February 28th, so secure your free ArcSight Logger TODAY! > http://p.sf.net/sfu/arcsight-sfd2d > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stevejenkins at gmail.com Tue Jan 25 17:36:55 2011 From: stevejenkins at gmail.com (Steve Jenkins) Date: Tue, 25 Jan 2011 08:36:55 -0800 Subject: check_openmanage showing 0 logical drives with OMSA 6.4 and PERC4 In-Reply-To: <15t7hdtxlbc.fsf@tux.uio.no> References: <15t7hdtxlbc.fsf@tux.uio.no> Message-ID: On Tue, Jan 25, 2011 at 3:41 AM, Trond Hasle Amundsen wrote: > Interesting.. OMSA is obviously aware of the logical drives, but what > does omreport actually say about them? Try running 'omreport storage > vdisk controller='. Hi Trond, Looks like omreport sees the controller, but not the VDisk: # omreport storage vdisk controller=0 No virtual disks found # omreport storage controller Controller PERC 4e/Si (Embedded) Controllers ID : 0 Status : Ok Name : PERC 4e/Si Slot ID : Embedded State : Ready Firmware Version : 5B2D Minimum Required Firmware Version : Not Applicable Driver Version : Not Applicable Minimum Required Driver Version : Not Applicable Storport Driver Version : Not Applicable Minimum Required Storport Driver Version : Not Applicable Number of Connectors : 1 Rebuild Rate : 30% BGI Rate : Not Applicable Check Consistency Rate : Not Applicable Reconstruct Rate : Not Applicable Alarm State : Not Applicable Cluster Mode : Not Applicable SCSI Initiator ID : 7 Cache Memory Size : 256 MB Patrol Read Mode : Auto Patrol Read State : Active Patrol Read Rate : Not Applicable Patrol Read Iterations : 787 Abort Check Consistency on Error : Not Applicable Allow Revertible Hot Spare and Replace Member : Not Applicable Load Balance : Not Applicable Auto Replace Member on Predictive Failure : Not Applicable Redundant Path view : Not Applicable CacheCade Capable : Not Applicable Persistent Hot Spare : Not Applicable Encryption Capable : Not Applicable Encryption Key Present : Not Applicable Encryption Mode : Not Applicable Spin Down Unconfigured Drives : Not Applicable Spin Down Hot Spares : Not Applicable Thanks, SteveJ ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jan 25 19:56:19 2011 From: t.h.amundsen at usit.uio.no (Trond Hasle Amundsen) Date: Tue, 25 Jan 2011 19:56:19 +0100 Subject: check_openmanage showing 0 logical drives with OMSA 6.4 and PERC4 In-Reply-To: (Steve Jenkins's message of "Tue, 25 Jan 2011 08:36:55 -0800") References: <15t7hdtxlbc.fsf@tux.uio.no> Message-ID: <15tlj28x164.fsf@tux.uio.no> Steve Jenkins writes: > On Tue, Jan 25, 2011 at 3:41 AM, Trond Hasle Amundsen > wrote: >> Interesting.. OMSA is obviously aware of the logical drives, but what >> does omreport actually say about them? Try running 'omreport storage >> vdisk controller='. > > Looks like omreport sees the controller, but not the VDisk: > > # omreport storage vdisk controller=0 > No virtual disks found Ok, so there is the reason that check_openmanage doesn't display any virtual disks. It relies on OMSA for the information, specifically omreport when used in local mode. Based on the issue at hand and your reports about OMSA 6.4 and PERC4 controllers on the linux poweredge list, it seems that the latest OMSA has serious issues with 8th gen Dell servers. PS. You may have noticed that the plugin doesn't issue an alert when virtual disks are missing. The reason for this is that it's perfectly legal and plausible for systems to have no virtual disks. This is the downside of a plugin that both discovers the components and monitors them at the same time. It can't give alerts on missing components unless they should always be present in all servers. A notable exception is controllers, since being unable to display controllers is a common OMSA problem. check_openmanage will complain about missing controllers even though controller-less systems are possible. Regards, -- Trond H. Amundsen Center for Information Technology Services, University of Oslo ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stevejenkins at gmail.com Tue Jan 25 22:01:06 2011 From: stevejenkins at gmail.com (Steve Jenkins) Date: Tue, 25 Jan 2011 13:01:06 -0800 Subject: check_openmanage showing 0 logical drives with OMSA 6.4 and PERC4 In-Reply-To: <15tlj28x164.fsf@tux.uio.no> References: <15t7hdtxlbc.fsf@tux.uio.no> <15tlj28x164.fsf@tux.uio.no> Message-ID: On Tue, Jan 25, 2011 at 10:56 AM, Trond Hasle Amundsen wrote: > Ok, so there is the reason that check_openmanage doesn't display any > virtual disks. It relies on OMSA for the information, specifically > omreport when used in local mode. > > Based on the issue at hand and your reports about OMSA 6.4 and PERC4 > controllers on the linux poweredge list, it seems that the latest OMSA > has serious issues with 8th gen Dell servers. Darn... that's what I was afraid of. From their level of support for it, it's like Dell is trying to forget that the PERC4 ever existed. :) The good news is that I have a separate Nagios script that checks the RAID array, so it should alert me if the array is degraded. Thanks again for your terrific script. Best, SteveJ ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bryan.berry at gmail.com Wed Jan 26 08:30:30 2011 From: bryan.berry at gmail.com (Bryan Berry) Date: Wed, 26 Jan 2011 08:30:30 +0100 Subject: CAS authentication Message-ID: Anybody using CAS for SSO authentication ( https://wiki.jasig.org/display/CASC/phpCAS) into Nagios? I would love to know if there is an existing solutions for this. haven't managed to find anything regarding this on google yet Bryan Berry Linux System Administrator -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bryan.berry at gmail.com Wed Jan 26 08:32:32 2011 From: bryan.berry at gmail.com (Bryan Berry) Date: Wed, 26 Jan 2011 08:32:32 +0100 Subject: CAS authentication In-Reply-To: References: Message-ID: I neglected to mention that I did find this plugin http://exchange.nagios.org/directory/Addons/Components/Active-Directory-Integration-for-Nagios-XI/details However I am wary of updating to the development snapshot. Anybody know a solution that works on the stable version of nagios? On Wed, Jan 26, 2011 at 8:30 AM, Bryan Berry wrote: > Anybody using CAS for SSO authentication ( > https://wiki.jasig.org/display/CASC/phpCAS) into Nagios? I would love to > know if there is an existing solutions for this. haven't managed to find > anything regarding this on google yet > > Bryan Berry > Linux System Administrator > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From davidseira at gmail.com Wed Jan 26 09:54:27 2011 From: davidseira at gmail.com (David Seira) Date: Wed, 26 Jan 2011 09:54:27 +0100 Subject: Alert via SMS In-Reply-To: <4D3EE4F9.6040706@winxpert.com> References: <4D3EE4F9.6040706@winxpert.com> Message-ID: Hi. There are several ways for do it. You can use a email-to-sms gateway; there are some portal that are free. But I prefer use a 3g modem connected to the nagios server; you send the sms with the gnokii program, it's easy. The bad thing is you need to pay the 3g. The good thing for use a 3g modem is that if you lose connectivity with the gateway you even send notifications. Bye. 2011/1/25 Luc MAIGNAN > Hi, > > Yes I know that my question has already been posted a lot of times... > But I think that the solution depend of the country the server is. > > I am in France and I want to notify my Nagios Users by SMS. > > Is there a free way to do this ? > > What is the nagios configuration to do this ? > > I have I very urgent need, so any help would be highly appreciated > > Best regards > > Luc > > > ------------------------------------------------------------------------------ > Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! > Finally, a world-class log management solution at an even better > price-free! > Download using promo code Free_Logger_4_Dev2Dev. Offer expires > February 28th, so secure your free ArcSight Logger TODAY! > http://p.sf.net/sfu/arcsight-sfd2d > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jan.grant at bristol.ac.uk Wed Jan 26 10:17:18 2011 From: jan.grant at bristol.ac.uk (jan.grant at bristol.ac.uk) Date: Wed, 26 Jan 2011 09:17:18 +0000 (GMT) Subject: CAS authentication In-Reply-To: References: Message-ID: On Wed, 26 Jan 2011, Bryan Berry wrote: > Anybody using CAS for SSO authentication ( > https://wiki.jasig.org/display/CASC/phpCAS) into Nagios? I would love to > know if there is an existing solutions for this. haven't managed to find > anything regarding this on google yet We just slapped it behind mod_cas (or whatever it's called); seems to work, although you'll need an alternative route if you want unauthenticated access too, since there's no "opt-out" with that, unless you construct a cunning config that lets the front page through unauthenticated. -- jan grant, ISYS, University of Bristol. http://www.bris.ac.uk/ Tel +44 (0)117 3317661 http://ioctl.org/jan/ They modified their trousers secretly. ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tevfik.karagulle at gmail.com Wed Jan 26 10:43:25 2011 From: tevfik.karagulle at gmail.com (Tevfik Karagulle) Date: Wed, 26 Jan 2011 10:43:25 +0100 Subject: CAS authentication In-Reply-To: References: Message-ID: The link below can be helpful if If you look for single sign-on integration with Active Directory: http://www.itefix.no/i2/node/11683 (Nagios single sign-on authentication with Active Directory) That recipe is successfully implemented on a Nagios implementation two years ago. Tev On Wed, Jan 26, 2011 at 10:17 AM, wrote: > On Wed, 26 Jan 2011, Bryan Berry wrote: > > > Anybody using CAS for SSO authentication ( > > https://wiki.jasig.org/display/CASC/phpCAS) into Nagios? I would love to > > know if there is an existing solutions for this. haven't managed to find > > anything regarding this on google yet > > We just slapped it behind mod_cas (or whatever it's called); seems to > work, although you'll need an alternative route if you want > unauthenticated access too, since there's no "opt-out" with that, unless > you construct a cunning config that lets the front page through > unauthenticated. > > > -- > jan grant, ISYS, University of Bristol. http://www.bris.ac.uk/ > Tel +44 (0)117 3317661 http://ioctl.org/jan/ > They modified their trousers secretly. > > > ------------------------------------------------------------------------------ > Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! > Finally, a world-class log management solution at an even better > price-free! > Download using promo code Free_Logger_4_Dev2Dev. Offer expires > February 28th, so secure your free ArcSight Logger TODAY! > http://p.sf.net/sfu/arcsight-sfd2d > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From giles at coochey.net Wed Jan 26 10:57:04 2011 From: giles at coochey.net (Giles Coochey) Date: Wed, 26 Jan 2011 10:57:04 +0100 Subject: Alert via SMS In-Reply-To: References: <4D3EE4F9.6040706@winxpert.com> Message-ID: <4D3FEFF0.2030303@coochey.net> On 26/01/2011 09:54, David Seira wrote: > Hi. > > There are several ways for do it. You can use a email-to-sms gateway; > there are some portal that are free. But I prefer use a 3g modem > connected to the nagios server; you send the sms with the gnokii > program, it's easy. The bad thing is you need to pay the 3g. The good > thing for use a 3g modem is that if you lose connectivity with the > gateway you even send notifications. > > Bye. 3g modem is the best way as it is an Out-Of-Band method, you can probably find a provider that offers an unlimited SMS package. I've heard endless stories of people implementing this and disabling it straight away due to too many notifications. The older cell phones (often used for on-call duty) have limited memory space for messages and deleting them can be a bit of a pain too. I would recommend that you limit SMS notifications to escalations or a sub-set of your notifications (Priority-1 systems for instance). -- Best Regards, Giles Coochey NetSecSpec Ltd NL T-Systems Mobile: +31 681 265 086 NL Mobile: +31 626 508 131 GIB Mobile: +350 5401 6693 Email/MSN/Live Messenger: giles at coochey.net Skype: gilescoochey -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 5137 bytes Desc: S/MIME Cryptographic Signature URL: -------------- next part -------------- ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 ljnet.dk Wed Jan 26 12:20:54 2011 From: nagios at ljnet.dk (Leif J.) Date: Wed, 26 Jan 2011 12:20:54 +0100 Subject: Alert via SMS In-Reply-To: <4D3FEFF0.2030303@coochey.net> References: <4D3EE4F9.6040706@winxpert.com> <4D3FEFF0.2030303@coochey.net> Message-ID: <4D400396.9010703@ljnet.dk> I can only agree. Use a GSM modem and think of what services you put SMS notification on. I use primarily SMS on Gateways/Routers and Services that are categorized at Priority services for example a electronic access control system at doors, Air-condition down at the Server room and so on. I know in Denmark we can get GSM Modems that are made for purely sending SMS. Mvh. Leif On 26-01-2011 10:57, Giles Coochey wrote: > On 26/01/2011 09:54, David Seira wrote: >> Hi. >> >> There are several ways for do it. You can use a email-to-sms gateway; >> there are some portal that are free. But I prefer use a 3g modem >> connected to the nagios server; you send the sms with the gnokii >> program, it's easy. The bad thing is you need to pay the 3g. The good >> thing for use a 3g modem is that if you lose connectivity with the >> gateway you even send notifications. >> >> Bye. > 3g modem is the best way as it is an Out-Of-Band method, you can > probably find a provider that offers an unlimited SMS package. > > I've heard endless stories of people implementing this and disabling > it straight away due to too many notifications. The older cell phones > (often used for on-call duty) have limited memory space for messages > and deleting them can be a bit of a pain too. I would recommend that > you limit SMS notifications to escalations or a sub-set of your > notifications (Priority-1 systems for instance). > > > ------------------------------------------------------------------------------ > Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! > Finally, a world-class log management solution at an even better price-free! > Download using promo code Free_Logger_4_Dev2Dev. Offer expires > February 28th, so secure your free ArcSight Logger TODAY! > http://p.sf.net/sfu/arcsight-sfd2d > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bram at openminds.be Wed Jan 26 12:28:15 2011 From: bram at openminds.be (Bram Gillemon) Date: Wed, 26 Jan 2011 12:28:15 +0100 Subject: Alert via SMS In-Reply-To: <4D3FEFF0.2030303@coochey.net> References: <4D3EE4F9.6040706@winxpert.com> <4D3FEFF0.2030303@coochey.net> Message-ID: We bought the gprskit-G20 from acmesystems, it has been running for a couple of months now and its pretty stable. We previously ran it using a 3G usb stick but this wasn't stable (kernel crashes, usb dongle disapeared, ...) I'm running gnokkii on the box that connects to a mysql database. http://eshop.acmesystems.it/?id=GPRSKIT-G20 Kr, Bram Gillemon On 26 Jan 2011, at 10:57, Giles Coochey wrote: > On 26/01/2011 09:54, David Seira wrote: >> Hi. >> >> There are several ways for do it. You can use a email-to-sms gateway; there are some portal that are free. But I prefer use a 3g modem connected to the nagios server; you send the sms with the gnokii program, it's easy. The bad thing is you need to pay the 3g. The good thing for use a 3g modem is that if you lose connectivity with the gateway you even send notifications. >> >> Bye. > 3g modem is the best way as it is an Out-Of-Band method, you can probably find a provider that offers an unlimited SMS package. > > I've heard endless stories of people implementing this and disabling it straight away due to too many notifications. The older cell phones (often used for on-call duty) have limited memory space for messages and deleting them can be a bit of a pain too. I would recommend that you limit SMS notifications to escalations or a sub-set of your notifications (Priority-1 systems for instance). > > -- > Best Regards, > > Giles Coochey > NetSecSpec Ltd > NL T-Systems Mobile: +31 681 265 086 > NL Mobile: +31 626 508 131 > GIB Mobile: +350 5401 6693 > Email/MSN/Live Messenger: giles at coochey.net > Skype: gilescoochey > > > > ------------------------------------------------------------------------------ > Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! > Finally, a world-class log management solution at an even better price-free! > Download using promo code Free_Logger_4_Dev2Dev. Offer expires > February 28th, so secure your free ArcSight Logger TODAY! > http://p.sf.net/sfu/arcsight-sfd2d_______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dario.bestetti at opservices.com.br Wed Jan 26 15:17:28 2011 From: dario.bestetti at opservices.com.br (Dario B. Bestetti (OpServices)) Date: Wed, 26 Jan 2011 12:17:28 -0200 (BRST) Subject: Alert via SMS In-Reply-To: References: Message-ID: <26484924.72730.1296051448818.JavaMail.root@mail.opservices.com.br> Try SMSTOOLS (http://smstools3.kekekasvi.com/), it worked better than Gnokii for us. _________________________________________________ Dario B. Bestetti OpServices R. F?lix da Cunha, 1009 - Sala 501 Porto Alegre, RS - CEP 90570-001 Fone 55(51)32753588 Mobile 55(51)81518218 Fax 55(51)32753588 Email dario.bestetti at opservices.com.br Twitter @opservices Nagios Conference Latin America: http://www.monitoringconferencelatinamerica.com/ _________________________________________________ ----- "Bram Gillemon" escreveu: > We bought the gprskit-G20 from acmesystems, it has been running for a > couple of months now and its pretty stable. > > We previously ran it using a 3G usb stick but this wasn't stable > (kernel crashes, usb dongle disapeared, ...) > > I'm running gnokkii on the box that connects to a mysql database. > > http://eshop.acmesystems.it/?id=GPRSKIT-G20 > > Kr, > Bram Gillemon > > > On 26 Jan 2011, at 10:57, Giles Coochey wrote: > > > On 26/01/2011 09:54, David Seira wrote: > >> Hi. > >> > >> There are several ways for do it. You can use a email-to-sms > gateway; there are some portal that are free. But I prefer use a 3g > modem connected to the nagios server; you send the sms with the gnokii > program, it's easy. The bad thing is you need to pay the 3g. The good > thing for use a 3g modem is that if you lose connectivity with the > gateway you even send notifications. > >> > >> Bye. > > 3g modem is the best way as it is an Out-Of-Band method, you can > probably find a provider that offers an unlimited SMS package. > > > > I've heard endless stories of people implementing this and disabling > it straight away due to too many notifications. The older cell phones > (often used for on-call duty) have limited memory space for messages > and deleting them can be a bit of a pain too. I would recommend that > you limit SMS notifications to escalations or a sub-set of your > notifications (Priority-1 systems for instance). > > > > -- > > Best Regards, > > > > Giles Coochey > > NetSecSpec Ltd > > NL T-Systems Mobile: +31 681 265 086 > > NL Mobile: +31 626 508 131 > > GIB Mobile: +350 5401 6693 > > Email/MSN/Live Messenger: giles at coochey.net > > Skype: gilescoochey > > > > > > > > > ------------------------------------------------------------------------------ > > Special Offer-- Download ArcSight Logger for FREE (a $49 USD > value)! > > Finally, a world-class log management solution at an even better > price-free! > > Download using promo code Free_Logger_4_Dev2Dev. Offer expires > > February 28th, so secure your free ArcSight Logger TODAY! > > > http://p.sf.net/sfu/arcsight-sfd2d_______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > > ::: Messages without supporting info will risk being sent to > /dev/null > > > ------------------------------------------------------------------------------ > Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! > Finally, a world-class log management solution at an even better > price-free! > Download using promo code Free_Logger_4_Dev2Dev. Offer expires > February 28th, so secure your free ArcSight Logger TODAY! > http://p.sf.net/sfu/arcsight-sfd2d > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From l.vazquez at bpa.ad Wed Jan 26 16:32:52 2011 From: l.vazquez at bpa.ad (l.vazquez at bpa.ad) Date: Wed, 26 Jan 2011 16:32:52 +0100 Subject: Notification criteria Message-ID: Good Evening, I have a doubt with nagios notification criteria. [26-01-2011 15:40:45] SERVICE ALERT: hostName;serviceName;CRITICAL;HARD;3;Trying IP:443... [ KO ] :: Host no accessible [2601-2011 15:29:05] SERVICE ALERT: hostName;serviceName;CRITICAL;SOFT;2;Trying IP:443... [ KO ] :: Host no accessible [26-01-2011 15:16:05] SERVICE ALERT: hostName;serviceName;CRITICAL;SOFT;1;Trying IP4:443... [ KO ] :: Host no accessible The critical state began at 15:16, but I didn't receive any notification tll 15:40, when 'HARD' has been marked instead of 'SOFT'. What's the difference? What's the service/config parameter of 'HARD'/'SOFT'? This is my service config: retry_check_interval 5 notification_interval 30 notification_period 24x7 notification_options w,u,c,r Thanks in advance, -- Laura V?zquez Mart?n -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From archu2inin at yahoo.co.in Wed Jan 26 19:05:11 2011 From: archu2inin at yahoo.co.in (Archana Ramamoorthy) Date: Wed, 26 Jan 2011 13:05:11 -0500 Subject: NRPE- Log files in syslog In-Reply-To: References: Message-ID: Hi All: I use the NPRE plugin for Nagios and i know that setting the value of the variable "debug" to 1 in the nrpe.cfg file would make the debug messages to be logged into the syslog facility. Is there a way for me to make it log into some other folder of my choice instead of it even getting stored in syslog? I couldn't find the exact script/file where it actually writes stuff into syslog. It would be great if someone could tell me where to find this file or how to change the option to make it log into a folder of my choice. Also, i tried to find if i could find some plugin to log into some other folder. I could find many plugins for NSCA log but i couldn't find anything for NRPE. It would be great if anybody could help me with this. Thanks. Regards, Archana -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeffrey.w.watts at gmail.com Wed Jan 26 21:47:28 2011 From: jeffrey.w.watts at gmail.com (Jeffrey Watts) Date: Wed, 26 Jan 2011 14:47:28 -0600 Subject: Monitoring temperatures on Cisco equipment Message-ID: I'm looking to monitor temperature on some various Cisco equipment (2821, 3750, 4948, 6509, etc). I've looked at the check_catalyst_temp.pl and check_env_stats.py plugins, which both look in .1.3.6.1.4.1.9.9.13.1. I see and understand the basic mechanisms of these checks. What I don't understand is why both require warning and critical thresholds. From what I can tell, both walk ciscoEnvMonTemperatureStatusDescr, check ciscoEnvMonTemperatureState (and alert accordingly) AND also check ciscoEnvMonTemperatureStatusValue to see if it's out of the warning and critical thresholds specified on the command line. I understand why one would want to be able to set custom thresholds (that would override "normal" and "warning" states). What I don't understand is why are they required? Is there a reason, or is it just an oversight? I don't have much experience monitoring network equipment, so I'm wondering if there's a reason for it. On that same note, does anyone know where those thresholds are stored? I see in the same OID that there is ciscoEnvMonTemperatureThreshold, but that's an absolute upper bound before a forced shutdown occurs. I'm assuming that the thresholds for "warning" and "critical" ciscoEnvMonTemperatureState must be stored somewhere else. Does anyone know where that is? Unless there's a good reason for requiring -w and -c, I'll probably change one of the plugins to not require them. Thanks in advance, Jeffrey. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeffrey.w.watts at gmail.com Wed Jan 26 21:18:54 2011 From: jeffrey.w.watts at gmail.com (Jeffrey Watts) Date: Wed, 26 Jan 2011 14:18:54 -0600 Subject: Notification criteria In-Reply-To: References: Message-ID: Nagios notifies on HARD states (or flapping, which is another matter). It's generally assumed that people don't want to be notified every time there's a failed check - they want to be notified after it's failed a certain number of times. A SOFT state is a state where non-OK checks have occurred less than max_check_attempts number of times. In your case, it appears that max_check_attempts is 3. Nagios will try host or service (in your example) 3 times before going into a HARD state and notifying. In your example there appears to be a discrepancy between the retry_check_interval and when the checks were actually performed. Jeffrey. On Wed, Jan 26, 2011 at 9:32 AM, wrote: > Good Evening, > > I have a doubt with nagios notification criteria. > > [26-01-2011 15:40:45] SERVICE ALERT: > hostName;serviceName;CRITICAL;HARD;3;Trying IP:443... [ KO ] :: Host no > accessible > [2601-2011 15:29:05] SERVICE ALERT: > hostName;serviceName;CRITICAL;SOFT;2;Trying IP:443... [ KO ] :: Host no > accessible > [26-01-2011 15:16:05] SERVICE ALERT: > hostName;serviceName;CRITICAL;SOFT;1;Trying IP4:443... [ KO ] :: Host no > accessible > > The critical state began at 15:16, but I didn't receive any notification > tll 15:40, when 'HARD' has been marked instead of 'SOFT'. > What's the difference? What's the service/config parameter of > 'HARD'/'SOFT'? > > This is my service config: > > retry_check_interval 5 > notification_interval 30 > notification_period 24x7 > notification_options w,u,c,r > > Thanks in advance, > --* > Laura V?zquez Mart?n* > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From archu2inin at yahoo.co.in Wed Jan 26 18:36:11 2011 From: archu2inin at yahoo.co.in (Archana Ramamoorthy) Date: Wed, 26 Jan 2011 12:36:11 -0500 Subject: NRPE- Log files in syslog Message-ID: Hi All: I use the NPRE plugin for Nagios and i know that setting the value of the variable "debug" to 1 in the nrpe.cfg file would make the debug messages to be logged into the syslog facility. Is there a way for me to make it log into some other folder of my choice instead of it even getting stored in syslog? I couldn't find the exact script/file where it actually writes stuff into syslog. It would be great if someone could tell me where to find this file or how to change the option to make it log into a folder of my choice. Also, i tried to find if i could find some plugin to log into some other folder. I could find many plugins for NSCA log but i couldn't find anything for NRPE. It would be great if anybody could help me with this. Thanks. Regards, Archana -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 kabano.net Wed Jan 26 17:13:52 2011 From: flyinvap at kabano.net (Flyinvap) Date: Wed, 26 Jan 2011 17:13:52 +0100 Subject: Notification criteria In-Reply-To: References: Message-ID: <4D404840.8030904@kabano.net> Le 26/01/2011 16:32, l.vazquez at bpa.ad a ?crit : > The critical state began at 15:16, but I didn't receive any notification > tll 15:40, when 'HARD' has been marked instead of 'SOFT'. > What's the difference? What's the service/config parameter of > 'HARD'/'SOFT'? You should read the doc [0]. [0] http://nagios.sourceforge.net/docs/3_0/statetypes.html -- Fly ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jhilton at conservonline.com Wed Jan 26 22:58:04 2011 From: jhilton at conservonline.com (Josh R. Hilton) Date: Wed, 26 Jan 2011 16:58:04 -0500 Subject: Monitoring a Windows server Message-ID: <0ED4BE7F32447547B5ED2346377C7DD5764FA87C97@conservexchange.conservlargo.bch.com> Hello all, first timer to Nagios here. I've been able to get Nagios installed and running on a Ubuntu server and can access the control page either locally or remotely. I also have the windows agent running (NSClient++) on a different server. However I can't get the monitored server to show up in Nagios. I followed the Quickstart guide on Ubuntu (http://nagios.sourceforge.net/docs/3_0/quickstart-ubuntu.html) and the guide to monitoring Windows servers (http://nagios.sourceforge.net/docs/3_0/monitoring-windows.html). I can verify my configuration without returning errors. After looking through the forums and archives of the mailing list, I wasn't able to find anything relating to this (though I know it's a rather generalized kind of problem). When looking at the Nagios webpage, I can see the "Windows Servers" group, but there are no hosts underneath it. NSClient is using the local system as a user and does have access to the desktop. I am inexperienced with Ubuntu (Linux/Unix systems in general) so any and all help is greatly appreciated. However I was able to confirm that the firewall for Ubuntu was disabled. ** My windows.cfg file is: ############################################################################### # WINDOWS.CFG - SAMPLE CONFIG FILE FOR MONITORING A WINDOWS MACHINE # # Last Modified: 06-13-2007 # # NOTES: This config file assumes that you are using the sample configuration # files that get installed with the Nagios quickstart guide. # ############################################################################### ############################################################################### ############################################################################### # # HOST DEFINITIONS # ############################################################################### ############################################################################### # Define a host for the Windows machine we'll be monitoring # Change the host_name, alias, and address to fit your situation define host{ use windows-server ; Inherit default values from a template host_name DFS ; The name we're giving to this host alias DFS-Windows ; A longer name associated with the host address 10.70.15.9 ; IP address of the host } ############################################################################### ############################################################################### # # HOST GROUP DEFINITIONS # ############################################################################### ############################################################################### # Define a hostgroup for Windows machines # All hosts that use the windows-server template will automatically be a member of this group define hostgroup{ hostgroup_name windows-servers ; The name of the hostgroup alias Windows Servers ; Long name of the group } ############################################################################### ############################################################################### # # SERVICE DEFINITIONS # ############################################################################### ############################################################################### # Create a service for monitoring the version of NSCLient++ that is installed # Change the host_name to match the name of the host you defined above define service{ use generic-service host_name DFS service_description 0.3.8 check_command check_nt!CLIENTVERSION } # Create a service for monitoring the uptime of the server # Change the host_name to match the name of the host you defined above define service{ use generic-service host_name DFS service_description Uptime check_command check_nt!UPTIME } # Create a service for monitoring CPU load # Change the host_name to match the name of the host you defined above define service{ use generic-service host_name DFS service_description CPU Load check_command check_nt!CPULOAD!-l 5,80,90 } # Create a service for monitoring memory usage # Change the host_name to match the name of the host you defined above define service{ use generic-service host_name DFS service_description Memory Usage check_command check_nt!MEMUSE!-w 80 -c 90 } # Create a service for monitoring C:\ disk usage # Change the host_name to match the name of the host you defined above define service{ use generic-service host_name DFS service_description C:\ Drive Space check_command check_nt!USEDDISKSPACE!-l c -w 80 -c 90 } # Create a service for monitoring the W3SVC service # Change the host_name to match the name of the host you defined above define service{ use generic-service host_name DFS service_description W3SVC check_command check_nt!SERVICESTATE!-d SHOWALL -l W3SVC } # Create a service for monitoring the Explorer.exe process # Change the host_name to match the name of the host you defined above define service{ use generic-service host_name DFS service_description Explorer check_command check_nt!PROCSTATE!-d SHOWALL -l Explorer.exe } ** The NSC.ini file from the DFS machine (the server to be monitored): [modules] NRPEListener.dll NSClientListener.dll FileLogger.dll CheckSystem.dll CheckDisk.dll CheckEventLog.dll CheckHelpers.dll ;# NSCLIENT++ MODULES ;# A list with DLLs to load at startup. ; You will need to enable some of these for NSClient++ to work. ; ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ; * * ; * N O T I C E ! ! ! - Y O U H A V E T O E D I T T H I S * ; * * ; ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! FileLogger.dll CheckSystem.dll CheckDisk.dll NSClientListener.dll NRPEListener.dll SysTray.dll CheckEventLog.dll CheckHelpers.dll ;CheckWMI.dll ; ; Script to check external scripts and/or internal aliases. CheckExternalScripts.dll ; ; NSCA Agent if you enable this NSClient++ will talk to NSCA hosts repeatedly (so dont enable unless you want to use NSCA) ;NSCAAgent.dll ; ; LUA script module used to write your own "check deamon". ;LUAScript.dll ; ; RemoteConfiguration IS AN EXTREM EARLY IDEA SO DONT USE FOR PRODUCTION ENVIROMNEMTS! ;RemoteConfiguration.dll ; Check other hosts through NRPE extreme beta and probably a bit dangerous! :) ;NRPEClient.dll ; Extreamly early beta of a task-schedule checker ;CheckTaskSched.dll [Settings] ;# OBFUSCATED PASSWORD ; This is the same as the password option but here you can store the password in an obfuscated manner. ; *NOTICE* obfuscation is *NOT* the same as encryption, someone with access to this file can still figure out the ; password. Its just a bit harder to do it at first glance. ;obfuscated_password=Jw0KAUUdXlAAUwASDAAB ; ;# PASSWORD ; This is the password (-s) that is required to access NSClient remotely. If you leave this blank everyone will be able to access the daemon remotly. password= ; ;# ALLOWED HOST ADDRESSES ; This is a comma-delimited list of IP address of hosts that are allowed to talk to the all daemons. ; If leave this blank anyone can access the deamon remotly (NSClient still requires a valid password). ; The syntax is host or ip/mask so 192.168.0.0/24 will allow anyone on that subnet access allowed_hosts=10.70.15.53 ; ;# USE THIS FILE ; Use the INI file as opposed to the registry if this is 0 and the use_reg in the registry is set to 1 ; the registry will be used instead. use_file=0 allowed_hosts=10.70.15.53 ; ; # USE SHARED MEMORY CHANNELS ; This is the "new" way for using the system tray based on an IPC framework on top shared memmory channels and events. ; It is brand new and (probably has bugs) so dont enable this unless for testing! ; If set to 1 shared channels will be created and system tray icons created and such and such... ;shared_session=0 [log] ;# LOG DEBUG ; Set to 1 if you want debug message printed in the log file (debug messages are always printed to stdout when run with -test) ;debug=1 ; ;# LOG FILE ; The file to print log statements to ;file=nsclient.log ; ;# LOG DATE MASK ; The format to for the date/time part of the log entry written to file. ;date_mask=%Y-%m-%d %H:%M:%S ; ;# LOG ROOT FOLDER ; The root folder to use for logging. ; exe = the folder where the executable is located ; local-app-data = local application data (probably a better choice then the old default) ;root_folder=exe [NSClient] ;# ALLOWED HOST ADDRESSES ; This is a comma-delimited list of IP address of hosts that are allowed to talk to NSClient deamon. ; If you leave this blank the global version will be used instead. allowed_hosts= ; ;# NSCLIENT PORT NUMBER ; This is the port the NSClientListener.dll will listen to. port=12489 ; ;# BIND TO ADDRESS ; Allows you to bind server to a specific local address. This has to be a dotted ip adress not a hostname. ; Leaving this blank will bind to all avalible IP adresses. bind_to_address= ; ;# SOCKET TIMEOUT ; Timeout when reading packets on incoming sockets. If the data has not arrived withint this time we will bail out. ;socket_timeout=30 [NRPE] ;# NRPE PORT NUMBER ; This is the port the NRPEListener.dll will listen to. ;port=5666 ; ;# COMMAND TIMEOUT ; This specifies the maximum number of seconds that the NRPE daemon will allow plug-ins to finish executing before killing them off. ;command_timeout=60 ; ;# COMMAND ARGUMENT PROCESSING ; This option determines whether or not the NRPE daemon will allow clients to specify arguments to commands that are executed. ;allow_arguments=0 ; ;# COMMAND ALLOW NASTY META CHARS ; This option determines whether or not the NRPE daemon will allow clients to specify nasty (as in |`&><'"\[]{}) characters in arguments. ;allow_nasty_meta_chars=0 ; ;# USE SSL SOCKET ; This option controls if SSL should be used on the socket. ;use_ssl=1 ; ;# BIND TO ADDRESS ; Allows you to bind server to a specific local address. This has to be a dotted ip adress not a hostname. ; Leaving this blank will bind to all avalible IP adresses. ; bind_to_address= ; ;# ALLOWED HOST ADDRESSES ; This is a comma-delimited list of IP address of hosts that are allowed to talk to NRPE deamon. ; If you leave this blank the global version will be used instead. ;allowed_hosts= ; ;# SCRIPT DIRECTORY ; All files in this directory will become check commands. ; *WARNING* This is undoubtedly dangerous so use with care! ;script_dir=scripts\ ; ;# SOCKET TIMEOUT ; Timeout when reading packets on incoming sockets. If the data has not arrived withint this time we will bail out. ;socket_timeout=30 [Check System] ;# CPU BUFFER SIZE ; Can be anything ranging from 1s (for 1 second) to 10w for 10 weeks. Notice that a larger buffer will waste memory ; so don't use a larger buffer then you need (ie. the longest check you do +1). CPUBufferSize=1h ; ;# CHECK RESOLUTION ; The resolution to check values (currently only CPU). ; The value is entered in 1/10:th of a second and the default is 10 (which means ones every second) CheckResolution=10 ; ;# CHECK ALL SERVICES ; Configure how to check services when a CheckAll is performed. ; ...=started means services in that class *has* to be running. ; ...=stopped means services in that class has to be stopped. ; ...=ignored means services in this class will be ignored. check_all_services[SERVICE_BOOT_START]=ignored check_all_services[SERVICE_SYSTEM_START]=ignored check_all_services[SERVICE_AUTO_START]=started check_all_services[SERVICE_DEMAND_START]=ignored check_all_services[SERVICE_DISABLED]=stopped [External Script] ;# COMMAND TIMEOUT ; This specifies the maximum number of seconds that the NRPE daemon will allow plug-ins to finish executing before killing them off. ;command_timeout=60 ; ;# COMMAND ARGUMENT PROCESSING ; This option determines whether or not the NRPE daemon will allow clients to specify arguments to commands that are executed. ;allow_arguments=0 ; ;# COMMAND ALLOW NASTY META CHARS ; This option determines whether or not the NRPE daemon will allow clients to specify nasty (as in |`&><'"\[]{}) characters in arguments. ;allow_nasty_meta_chars=0 ; ;# SCRIPT DIRECTORY ; All files in this directory will become check commands. ; *WARNING* This is undoubtedly dangerous so use with care! ;script_dir=c:\my\script\dir [Script Wrappings] vbs=cscript.exe //T:30 //NoLogo scripts\lib\wrapper.vbs %SCRIPT% %ARGS% ps1=cmd /c echo scripts\%SCRIPT% %ARGS%; exit($lastexitcode) | powershell.exe -command - bat=scripts\%SCRIPT% %ARGS% [External Scripts] ;check_es_long=scripts\long.bat ;check_es_ok=scripts\ok.bat ;check_es_nok=scripts\nok.bat ;check_vbs_sample=cscript.exe //T:30 //NoLogo scripts\check_vb.vbs ;check_powershell_warn=cmd /c echo scripts\powershell.ps1 | powershell.exe -command - [External Alias] alias_cpu=checkCPU warn=80 crit=90 time=5m time=1m time=30s alias_cpu_ex=checkCPU warn=$ARG1$ crit=$ARG2$ time=5m time=1m time=30s alias_disk=CheckDriveSize MinWarn=10% MinCrit=5% CheckAll FilterType=FIXED alias_service=checkServiceState CheckAll alias_process=checkProcState $ARG1$=started alias_mem=checkMem MaxWarn=80% MaxCrit=90% ShowAll type=physical alias_up=checkUpTime MinWarn=1d MinWarn=1h alias_file_age=checkFile2 filter=out "file=$ARG1$" filter-written=>1d MaxWarn=1 MaxCrit=1 "syntax=%filename% %write%" alias_file_size=checkFile2 filter=out "file=$ARG1$" filter-size=>$ARG2$ MaxWarn=1 MaxCrit=1 "syntax=%filename% %size%" alias_file_size_in_dir=checkFile2 filter=out pattern=*.txt "file=$ARG1$" filter-size=>$ARG2$ MaxWarn=1 MaxCrit=1 "syntax=%filename% %size%" alias_event_log_old=CheckEventLog file=application file=system filter=new filter=out MaxWarn=1 MaxCrit=1 filter-generated=>2d filter-severity==success filter-severity==informational truncate=800 unique descriptions "syntax=%severity%: %source%: %message% (%count%)" alias_event_log_new=CheckEventLog file=application file=system MaxWarn=1 MaxCrit=1 "filter=generated gt -2d AND severity NOT IN ('success', 'informational')" truncate=800 unique descriptions "syntax=%severity%: %source%: %message% (%count%)" alias_event_log=alias_event_log_new check_ok=CheckOK Everything is fine! [Wrapped Scripts] ;check_test_vbs=check_test.vbs /arg1:1 /arg2:1 /variable:1 ;check_test_ps1=check_test.ps1 arg1 arg2 ;check_test_bat=check_test.bat arg1 arg2 ;check_battery=check_battery.vbs ;check_printer=check_printer.vbs ; [includes] ;# The order when used is "reversed" thus the last included file will be "first" ;# Included files can include other files (be carefull only do basic recursive checking) ; ; myotherfile.ini ; real.ini [NSCA Agent] ;# CHECK INTERVALL (in seconds) ; How often we should run the checks and submit the results. ;interval=5 ; ;# ENCRYPTION METHOD ; This option determines the method by which the send_nsca client will encrypt the packets it sends ; to the nsca daemon. The encryption method you choose will be a balance between security and ; performance, as strong encryption methods consume more processor resources. ; You should evaluate your security needs when choosing an encryption method. ; ; Note: The encryption method you specify here must match the decryption method the nsca daemon uses ; (as specified in the nsca.cfg file)!! ; Values: ; 0 = None (Do NOT use this option) ; 1 = Simple XOR (No security, just obfuscation, but very fast) ; 2 = DES ; 3 = 3DES (Triple DES) ; 4 = CAST-128 ; 6 = xTEA ; 8 = BLOWFISH ; 9 = TWOFISH ; 11 = RC2 ; 14 = RIJNDAEL-128 (AES) ; 20 = SERPENT ;encryption_method=14 ; ;# ENCRYPTION PASSWORD ; This is the password/passphrase that should be used to encrypt the sent packets. ;password= ; ;# BIND TO ADDRESS ; Allows you to bind server to a specific local address. This has to be a dotted ip adress not a hostname. ; Leaving this blank will bind to "one" local interface. ; -- not supported as of now -- ;bind_to_address= ; ;# LOCAL HOST NAME ; The name of this host (if empty "computername" will be used. ;hostname= ; ;# NAGIOS SERVER ADDRESS ; The address to the nagios server to submit results to. ;nsca_host=192.168.0.1 ; ;# NAGIOS SERVER PORT ; The port to the nagios server to submit results to. ;nsca_port=5667 ; ;# CHECK COMMAND LIST ; The checks to run everytime we submit results back to nagios ; Any command(alias/key) starting with a host_ is sent as HOST_COMMAND others are sent as SERVICE_COMMANDS ; where the alias/key is used as service name. ; [NSCA Commands] ;my_cpu_check=checkCPU warn=80 crit=90 time=20m time=10s time=4 ;my_mem_check=checkMem MaxWarn=80% MaxCrit=90% ShowAll type=page ;my_svc_check=checkServiceState CheckAll exclude=wampmysqld exclude=MpfService ;host_check=check_ok ;# REMOTE NRPE PROXY COMMANDS ; A list of commands that check other hosts. ; Used by the NRPECLient module [NRPE Client Handlers] check_other=-H 192.168.0.1 -p 5666 -c remote_command -a arguments ;# LUA SCRIPT SECTION ; A list of all Lua scripts to load. ;[LUA Scripts] ;scripts\test.lua -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeffrey.w.watts at gmail.com Thu Jan 27 00:14:22 2011 From: jeffrey.w.watts at gmail.com (Jeffrey Watts) Date: Wed, 26 Jan 2011 17:14:22 -0600 Subject: NRPE- Log files in syslog In-Reply-To: References: Message-ID: You really ought to read up on syslog and how it works. It can do everything you're asking. The whole point of the syslog service is to abstract logging from the application - so that it can be centralized, filtered, separated, etc. :) Try (depends on which syslog you have running, ps can help you figure that out): man 5 syslog.conf man 5 syslog-ng.conf That will help you with the format of the configuration file. If you're not familiar with the concepts of syslog in general, I'd recommend googling. Good luck! Jeffrey. On Wed, Jan 26, 2011 at 11:36 AM, Archana Ramamoorthy < archu2inin at yahoo.co.in> wrote: > Hi All: > > I use the NPRE plugin for Nagios and i know that setting the value of the > variable "debug" to 1 in the nrpe.cfg file would make the debug messages to > be logged into the syslog facility. Is there a way for me to make it log > into some other folder of my choice instead of it even getting stored in > syslog? I couldn't find the exact script/file where it actually writes stuff > into syslog. It would be great if someone could tell me where to find this > file or how to change the option to make it log into a folder of my choice. > > Also, i tried to find if i could find some plugin to log into some other > folder. I could find many plugins for NSCA log but i couldn't find anything > for NRPE. It would be great if anybody could help me with this. > > Thanks. > > Regards, > Archana > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 lamp.xs4all.nl Wed Jan 26 23:38:24 2011 From: nagios at lamp.xs4all.nl (Lennard Bakker) Date: Wed, 26 Jan 2011 23:38:24 +0100 Subject: Notification criteria In-Reply-To: References: Message-ID: <4D40A260.50000@lamp.xs4all.nl> A plain RTFM answer: http://nagios.sourceforge.net/docs/3_0/statetypes.html On 26-1-2011 16:32, l.vazquez at bpa.ad wrote: > Good Evening, > > I have a doubt with nagios notification criteria. > > [26-01-2011 15:40:45] SERVICE ALERT: > hostName;serviceName;CRITICAL;HARD;3;Trying IP:443... [ KO ] :: Host no > accessible > [2601-2011 15:29:05] SERVICE ALERT: > hostName;serviceName;CRITICAL;SOFT;2;Trying IP:443... [ KO ] :: Host no > accessible > [26-01-2011 15:16:05] SERVICE ALERT: > hostName;serviceName;CRITICAL;SOFT;1;Trying IP4:443... [ KO ] :: Host no > accessible > > The critical state began at 15:16, but I didn't receive any notification > tll 15:40, when 'HARD' has been marked instead of 'SOFT'. > What's the difference? What's the service/config parameter of > 'HARD'/'SOFT'? > > This is my service config: > > retry_check_interval 5 > notification_interval 30 > notification_period 24x7 > notification_options w,u,c,r > > Thanks in advance, > --* > Laura V?zquez Mart?n** > * > > > > ------------------------------------------------------------------------------ > Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! > Finally, a world-class log management solution at an even better price-free! > Download using promo code Free_Logger_4_Dev2Dev. Offer expires > February 28th, so secure your free ArcSight Logger TODAY! > http://p.sf.net/sfu/arcsight-sfd2d > > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From archu2inin at yahoo.co.in Thu Jan 27 00:35:38 2011 From: archu2inin at yahoo.co.in (Archana Ramamoorthy) Date: Wed, 26 Jan 2011 18:35:38 -0500 Subject: NRPE- Log files in syslog In-Reply-To: References: Message-ID: Thank you Jeffrey. I'm actually new to both Nagios and the world of Unix. I shall however read up on syslog. I was very particular about this because i wanted to know the exact point where nrpe writes to syslog so that i re-route it and make it write to a place of my choice. The main reason I would want to do this is because i will not have access to the syslog of many servers in my company. On Wed, Jan 26, 2011 at 6:14 PM, Jeffrey Watts wrote: > You really ought to read up on syslog and how it works. It can do > everything you're asking. The whole point of the syslog service is to > abstract logging from the application - so that it can be centralized, > filtered, separated, etc. :) > > Try (depends on which syslog you have running, ps can help you figure that > out): > man 5 syslog.conf > man 5 syslog-ng.conf > > That will help you with the format of the configuration file. If you're > not familiar with the concepts of syslog in general, I'd recommend googling. > > Good luck! > Jeffrey. > > On Wed, Jan 26, 2011 at 11:36 AM, Archana Ramamoorthy < > archu2inin at yahoo.co.in> wrote: > >> Hi All: >> >> I use the NPRE plugin for Nagios and i know that setting the value of the >> variable "debug" to 1 in the nrpe.cfg file would make the debug messages to >> be logged into the syslog facility. Is there a way for me to make it log >> into some other folder of my choice instead of it even getting stored in >> syslog? I couldn't find the exact script/file where it actually writes stuff >> into syslog. It would be great if someone could tell me where to find this >> file or how to change the option to make it log into a folder of my choice. >> >> Also, i tried to find if i could find some plugin to log into some other >> folder. I could find many plugins for NSCA log but i couldn't find anything >> for NRPE. It would be great if anybody could help me with this. >> >> Thanks. >> >> Regards, >> Archana >> >> >> > > ------------------------------------------------------------------------------ > Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! > Finally, a world-class log management solution at an even better > price-free! > Download using promo code Free_Logger_4_Dev2Dev. Offer expires > February 28th, so secure your free ArcSight Logger TODAY! > http://p.sf.net/sfu/arcsight-sfd2d > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > -- > Archana > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From subscription at kkeane.com Thu Jan 27 00:51:17 2011 From: subscription at kkeane.com (Kevin Keane) Date: Wed, 26 Jan 2011 15:51:17 -0800 Subject: Monitoring a Windows server In-Reply-To: <0ED4BE7F32447547B5ED2346377C7DD5764FA87C97@conservexchange.conservlargo.bch.com> References: <0ED4BE7F32447547B5ED2346377C7DD5764FA87C97@conservexchange.conservlargo.bch.com> Message-ID: When you can't see the machine at all, you can rule out NSCient++ as the cause; it is within Nagios itself. The Windows Servers group is empty because you didn't tell the windows-servers group that it contained a host named DFS. Or alternatively, you can also tell DFS that it is part of the hostgroup. To do that (double-check the syntax; I'm writing this from memory), you either have to add a hostgroups statement to the host declaration, or you can add a hosts statement to the hostgroup. Before you get started, you can also try to find the host directly without the hostgroup. You should see it when you click on "Hosts" or on "Services" in the Nagios GUI. Once you have found the Windows machine, the next step is to see whether Nagios talks to NSClient++. That's related to services, not to hosts, though. From: Josh R. Hilton [mailto:jhilton at conservonline.com] Sent: Wednesday, January 26, 2011 1:58 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Monitoring a Windows server Hello all, first timer to Nagios here. I've been able to get Nagios installed and running on a Ubuntu server and can access the control page either locally or remotely. I also have the windows agent running (NSClient++) on a different server. However I can't get the monitored server to show up in Nagios. I followed the Quickstart guide on Ubuntu (http://nagios.sourceforge.net/docs/3_0/quickstart-ubuntu.html) and the guide to monitoring Windows servers (http://nagios.sourceforge.net/docs/3_0/monitoring-windows.html). I can verify my configuration without returning errors. After looking through the forums and archives of the mailing list, I wasn't able to find anything relating to this (though I know it's a rather generalized kind of problem). When looking at the Nagios webpage, I can see the "Windows Servers" group, but there are no hosts underneath it. NSClient is using the local system as a user and does have access to the desktop. I am inexperienced with Ubuntu (Linux/Unix systems in general) so any and all help is greatly appreciated. However I was able to confirm that the firewall for Ubuntu was disabled. ** My windows.cfg file is: ############################################################################### # WINDOWS.CFG - SAMPLE CONFIG FILE FOR MONITORING A WINDOWS MACHINE # # Last Modified: 06-13-2007 # # NOTES: This config file assumes that you are using the sample configuration # files that get installed with the Nagios quickstart guide. # ############################################################################### ############################################################################### ############################################################################### # # HOST DEFINITIONS # ############################################################################### ############################################################################### # Define a host for the Windows machine we'll be monitoring # Change the host_name, alias, and address to fit your situation define host{ use windows-server ; Inherit default values from a template host_name DFS ; The name we're giving to this host alias DFS-Windows ; A longer name associated with the host address 10.70.15.9 ; IP address of the host } ############################################################################### ############################################################################### # # HOST GROUP DEFINITIONS # ############################################################################### ############################################################################### # Define a hostgroup for Windows machines # All hosts that use the windows-server template will automatically be a member of this group define hostgroup{ hostgroup_name windows-servers ; The name of the hostgroup alias Windows Servers ; Long name of the group } ############################################################################### ############################################################################### # # SERVICE DEFINITIONS # ############################################################################### ############################################################################### # Create a service for monitoring the version of NSCLient++ that is installed # Change the host_name to match the name of the host you defined above define service{ use generic-service host_name DFS service_description 0.3.8 check_command check_nt!CLIENTVERSION } # Create a service for monitoring the uptime of the server # Change the host_name to match the name of the host you defined above define service{ use generic-service host_name DFS service_description Uptime check_command check_nt!UPTIME } # Create a service for monitoring CPU load # Change the host_name to match the name of the host you defined above define service{ use generic-service host_name DFS service_description CPU Load check_command check_nt!CPULOAD!-l 5,80,90 } # Create a service for monitoring memory usage # Change the host_name to match the name of the host you defined above define service{ use generic-service host_name DFS service_description Memory Usage check_command check_nt!MEMUSE!-w 80 -c 90 } # Create a service for monitoring C:\ disk usage # Change the host_name to match the name of the host you defined above define service{ use generic-service host_name DFS service_description C:\ Drive Space check_command check_nt!USEDDISKSPACE!-l c -w 80 -c 90 } # Create a service for monitoring the W3SVC service # Change the host_name to match the name of the host you defined above define service{ use generic-service host_name DFS service_description W3SVC check_command check_nt!SERVICESTATE!-d SHOWALL -l W3SVC } # Create a service for monitoring the Explorer.exe process # Change the host_name to match the name of the host you defined above define service{ use generic-service host_name DFS service_description Explorer check_command check_nt!PROCSTATE!-d SHOWALL -l Explorer.exe } ** The NSC.ini file from the DFS machine (the server to be monitored): [modules] NRPEListener.dll NSClientListener.dll FileLogger.dll CheckSystem.dll CheckDisk.dll CheckEventLog.dll CheckHelpers.dll ;# NSCLIENT++ MODULES ;# A list with DLLs to load at startup. ; You will need to enable some of these for NSClient++ to work. ; ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ; * * ; * N O T I C E ! ! ! - Y O U H A V E T O E D I T T H I S * ; * * ; ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! FileLogger.dll CheckSystem.dll CheckDisk.dll NSClientListener.dll NRPEListener.dll SysTray.dll CheckEventLog.dll CheckHelpers.dll ;CheckWMI.dll ; ; Script to check external scripts and/or internal aliases. CheckExternalScripts.dll ; ; NSCA Agent if you enable this NSClient++ will talk to NSCA hosts repeatedly (so dont enable unless you want to use NSCA) ;NSCAAgent.dll ; ; LUA script module used to write your own "check deamon". ;LUAScript.dll ; ; RemoteConfiguration IS AN EXTREM EARLY IDEA SO DONT USE FOR PRODUCTION ENVIROMNEMTS! ;RemoteConfiguration.dll ; Check other hosts through NRPE extreme beta and probably a bit dangerous! :) ;NRPEClient.dll ; Extreamly early beta of a task-schedule checker ;CheckTaskSched.dll [Settings] ;# OBFUSCATED PASSWORD ; This is the same as the password option but here you can store the password in an obfuscated manner. ; *NOTICE* obfuscation is *NOT* the same as encryption, someone with access to this file can still figure out the ; password. Its just a bit harder to do it at first glance. ;obfuscated_password=Jw0KAUUdXlAAUwASDAAB ; ;# PASSWORD ; This is the password (-s) that is required to access NSClient remotely. If you leave this blank everyone will be able to access the daemon remotly. password= ; ;# ALLOWED HOST ADDRESSES ; This is a comma-delimited list of IP address of hosts that are allowed to talk to the all daemons. ; If leave this blank anyone can access the deamon remotly (NSClient still requires a valid password). ; The syntax is host or ip/mask so 192.168.0.0/24 will allow anyone on that subnet access allowed_hosts=10.70.15.53 ; ;# USE THIS FILE ; Use the INI file as opposed to the registry if this is 0 and the use_reg in the registry is set to 1 ; the registry will be used instead. use_file=0 allowed_hosts=10.70.15.53 ; ; # USE SHARED MEMORY CHANNELS ; This is the "new" way for using the system tray based on an IPC framework on top shared memmory channels and events. ; It is brand new and (probably has bugs) so dont enable this unless for testing! ; If set to 1 shared channels will be created and system tray icons created and such and such... ;shared_session=0 [log] ;# LOG DEBUG ; Set to 1 if you want debug message printed in the log file (debug messages are always printed to stdout when run with -test) ;debug=1 ; ;# LOG FILE ; The file to print log statements to ;file=nsclient.log ; ;# LOG DATE MASK ; The format to for the date/time part of the log entry written to file. ;date_mask=%Y-%m-%d %H:%M:%S ; ;# LOG ROOT FOLDER ; The root folder to use for logging. ; exe = the folder where the executable is located ; local-app-data = local application data (probably a better choice then the old default) ;root_folder=exe [NSClient] ;# ALLOWED HOST ADDRESSES ; This is a comma-delimited list of IP address of hosts that are allowed to talk to NSClient deamon. ; If you leave this blank the global version will be used instead. allowed_hosts= ; ;# NSCLIENT PORT NUMBER ; This is the port the NSClientListener.dll will listen to. port=12489 ; ;# BIND TO ADDRESS ; Allows you to bind server to a specific local address. This has to be a dotted ip adress not a hostname. ; Leaving this blank will bind to all avalible IP adresses. bind_to_address= ; ;# SOCKET TIMEOUT ; Timeout when reading packets on incoming sockets. If the data has not arrived withint this time we will bail out. ;socket_timeout=30 [NRPE] ;# NRPE PORT NUMBER ; This is the port the NRPEListener.dll will listen to. ;port=5666 ; ;# COMMAND TIMEOUT ; This specifies the maximum number of seconds that the NRPE daemon will allow plug-ins to finish executing before killing them off. ;command_timeout=60 ; ;# COMMAND ARGUMENT PROCESSING ; This option determines whether or not the NRPE daemon will allow clients to specify arguments to commands that are executed. ;allow_arguments=0 ; ;# COMMAND ALLOW NASTY META CHARS ; This option determines whether or not the NRPE daemon will allow clients to specify nasty (as in |`&><'"\[]{}) characters in arguments. ;allow_nasty_meta_chars=0 ; ;# USE SSL SOCKET ; This option controls if SSL should be used on the socket. ;use_ssl=1 ; ;# BIND TO ADDRESS ; Allows you to bind server to a specific local address. This has to be a dotted ip adress not a hostname. ; Leaving this blank will bind to all avalible IP adresses. ; bind_to_address= ; ;# ALLOWED HOST ADDRESSES ; This is a comma-delimited list of IP address of hosts that are allowed to talk to NRPE deamon. ; If you leave this blank the global version will be used instead. ;allowed_hosts= ; ;# SCRIPT DIRECTORY ; All files in this directory will become check commands. ; *WARNING* This is undoubtedly dangerous so use with care! ;script_dir=scripts\ ; ;# SOCKET TIMEOUT ; Timeout when reading packets on incoming sockets. If the data has not arrived withint this time we will bail out. ;socket_timeout=30 [Check System] ;# CPU BUFFER SIZE ; Can be anything ranging from 1s (for 1 second) to 10w for 10 weeks. Notice that a larger buffer will waste memory ; so don't use a larger buffer then you need (ie. the longest check you do +1). CPUBufferSize=1h ; ;# CHECK RESOLUTION ; The resolution to check values (currently only CPU). ; The value is entered in 1/10:th of a second and the default is 10 (which means ones every second) CheckResolution=10 ; ;# CHECK ALL SERVICES ; Configure how to check services when a CheckAll is performed. ; ...=started means services in that class *has* to be running. ; ...=stopped means services in that class has to be stopped. ; ...=ignored means services in this class will be ignored. check_all_services[SERVICE_BOOT_START]=ignored check_all_services[SERVICE_SYSTEM_START]=ignored check_all_services[SERVICE_AUTO_START]=started check_all_services[SERVICE_DEMAND_START]=ignored check_all_services[SERVICE_DISABLED]=stopped [External Script] ;# COMMAND TIMEOUT ; This specifies the maximum number of seconds that the NRPE daemon will allow plug-ins to finish executing before killing them off. ;command_timeout=60 ; ;# COMMAND ARGUMENT PROCESSING ; This option determines whether or not the NRPE daemon will allow clients to specify arguments to commands that are executed. ;allow_arguments=0 ; ;# COMMAND ALLOW NASTY META CHARS ; This option determines whether or not the NRPE daemon will allow clients to specify nasty (as in |`&><'"\[]{}) characters in arguments. ;allow_nasty_meta_chars=0 ; ;# SCRIPT DIRECTORY ; All files in this directory will become check commands. ; *WARNING* This is undoubtedly dangerous so use with care! ;script_dir=c:\my\script\dir [Script Wrappings] vbs=cscript.exe //T:30 //NoLogo scripts\lib\wrapper.vbs %SCRIPT% %ARGS% ps1=cmd /c echo scripts\%SCRIPT% %ARGS%; exit($lastexitcode) | powershell.exe -command - bat=scripts\%SCRIPT% %ARGS% [External Scripts] ;check_es_long=scripts\long.bat ;check_es_ok=scripts\ok.bat ;check_es_nok=scripts\nok.bat ;check_vbs_sample=cscript.exe //T:30 //NoLogo scripts\check_vb.vbs ;check_powershell_warn=cmd /c echo scripts\powershell.ps1 | powershell.exe -command - [External Alias] alias_cpu=checkCPU warn=80 crit=90 time=5m time=1m time=30s alias_cpu_ex=checkCPU warn=$ARG1$ crit=$ARG2$ time=5m time=1m time=30s alias_disk=CheckDriveSize MinWarn=10% MinCrit=5% CheckAll FilterType=FIXED alias_service=checkServiceState CheckAll alias_process=checkProcState $ARG1$=started alias_mem=checkMem MaxWarn=80% MaxCrit=90% ShowAll type=physical alias_up=checkUpTime MinWarn=1d MinWarn=1h alias_file_age=checkFile2 filter=out "file=$ARG1$" filter-written=>1d MaxWarn=1 MaxCrit=1 "syntax=%filename% %write%" alias_file_size=checkFile2 filter=out "file=$ARG1$" filter-size=>$ARG2$ MaxWarn=1 MaxCrit=1 "syntax=%filename% %size%" alias_file_size_in_dir=checkFile2 filter=out pattern=*.txt "file=$ARG1$" filter-size=>$ARG2$ MaxWarn=1 MaxCrit=1 "syntax=%filename% %size%" alias_event_log_old=CheckEventLog file=application file=system filter=new filter=out MaxWarn=1 MaxCrit=1 filter-generated=>2d filter-severity==success filter-severity==informational truncate=800 unique descriptions "syntax=%severity%: %source%: %message% (%count%)" alias_event_log_new=CheckEventLog file=application file=system MaxWarn=1 MaxCrit=1 "filter=generated gt -2d AND severity NOT IN ('success', 'informational')" truncate=800 unique descriptions "syntax=%severity%: %source%: %message% (%count%)" alias_event_log=alias_event_log_new check_ok=CheckOK Everything is fine! [Wrapped Scripts] ;check_test_vbs=check_test.vbs /arg1:1 /arg2:1 /variable:1 ;check_test_ps1=check_test.ps1 arg1 arg2 ;check_test_bat=check_test.bat arg1 arg2 ;check_battery=check_battery.vbs ;check_printer=check_printer.vbs ; [includes] ;# The order when used is "reversed" thus the last included file will be "first" ;# Included files can include other files (be carefull only do basic recursive checking) ; ; myotherfile.ini ; real.ini [NSCA Agent] ;# CHECK INTERVALL (in seconds) ; How often we should run the checks and submit the results. ;interval=5 ; ;# ENCRYPTION METHOD ; This option determines the method by which the send_nsca client will encrypt the packets it sends ; to the nsca daemon. The encryption method you choose will be a balance between security and ; performance, as strong encryption methods consume more processor resources. ; You should evaluate your security needs when choosing an encryption method. ; ; Note: The encryption method you specify here must match the decryption method the nsca daemon uses ; (as specified in the nsca.cfg file)!! ; Values: ; 0 = None (Do NOT use this option) ; 1 = Simple XOR (No security, just obfuscation, but very fast) ; 2 = DES ; 3 = 3DES (Triple DES) ; 4 = CAST-128 ; 6 = xTEA ; 8 = BLOWFISH ; 9 = TWOFISH ; 11 = RC2 ; 14 = RIJNDAEL-128 (AES) ; 20 = SERPENT ;encryption_method=14 ; ;# ENCRYPTION PASSWORD ; This is the password/passphrase that should be used to encrypt the sent packets. ;password= ; ;# BIND TO ADDRESS ; Allows you to bind server to a specific local address. This has to be a dotted ip adress not a hostname. ; Leaving this blank will bind to "one" local interface. ; -- not supported as of now -- ;bind_to_address= ; ;# LOCAL HOST NAME ; The name of this host (if empty "computername" will be used. ;hostname= ; ;# NAGIOS SERVER ADDRESS ; The address to the nagios server to submit results to. ;nsca_host=192.168.0.1 ; ;# NAGIOS SERVER PORT ; The port to the nagios server to submit results to. ;nsca_port=5667 ; ;# CHECK COMMAND LIST ; The checks to run everytime we submit results back to nagios ; Any command(alias/key) starting with a host_ is sent as HOST_COMMAND others are sent as SERVICE_COMMANDS ; where the alias/key is used as service name. ; [NSCA Commands] ;my_cpu_check=checkCPU warn=80 crit=90 time=20m time=10s time=4 ;my_mem_check=checkMem MaxWarn=80% MaxCrit=90% ShowAll type=page ;my_svc_check=checkServiceState CheckAll exclude=wampmysqld exclude=MpfService ;host_check=check_ok ;# REMOTE NRPE PROXY COMMANDS ; A list of commands that check other hosts. ; Used by the NRPECLient module [NRPE Client Handlers] check_other=-H 192.168.0.1 -p 5666 -c remote_command -a arguments ;# LUA SCRIPT SECTION ; A list of all Lua scripts to load. ;[LUA Scripts] ;scripts\test.lua -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From challenger_joseph at yahoo.com.mx Thu Jan 27 03:38:34 2011 From: challenger_joseph at yahoo.com.mx (Christian Iñiguez) Date: Wed, 26 Jan 2011 18:38:34 -0800 (PST) Subject: (no subject) Message-ID: <907877.57892.qm@web36508.mail.mud.yahoo.com> http://salvadoss.prv.pl/2011.php?PageID=58gh ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bryan.berry at gmail.com Thu Jan 27 07:55:22 2011 From: bryan.berry at gmail.com (Bryan Berry) Date: Thu, 27 Jan 2011 07:55:22 +0100 Subject: CAS authentication In-Reply-To: References: Message-ID: thanks Jan and Tevfik. I will have to experiment w/ your solutions How does Nagios application know about the individual accounts? Do you have to create them separately and then mod_cas or mod_krb passes thru the credentials to Active Directory for verification? On Wed, Jan 26, 2011 at 10:43 AM, Tevfik Karagulle < tevfik.karagulle at gmail.com> wrote: > The link below can be helpful if If you look for single sign-on integration > with Active Directory: > > http://www.itefix.no/i2/node/11683 (Nagios single sign-on authentication > with Active Directory) > > That recipe is successfully implemented on a Nagios implementation two > years ago. > > Tev > > On Wed, Jan 26, 2011 at 10:17 AM, wrote: > >> On Wed, 26 Jan 2011, Bryan Berry wrote: >> >> > Anybody using CAS for SSO authentication ( >> > https://wiki.jasig.org/display/CASC/phpCAS) into Nagios? I would love >> to >> > know if there is an existing solutions for this. haven't managed to find >> > anything regarding this on google yet >> >> We just slapped it behind mod_cas (or whatever it's called); seems to >> work, although you'll need an alternative route if you want >> unauthenticated access too, since there's no "opt-out" with that, unless >> you construct a cunning config that lets the front page through >> unauthenticated. >> >> >> -- >> jan grant, ISYS, University of Bristol. http://www.bris.ac.uk/ >> Tel +44 (0)117 3317661 http://ioctl.org/jan/ >> They modified their trousers secretly. >> >> >> ------------------------------------------------------------------------------ >> Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! >> Finally, a world-class log management solution at an even better >> price-free! >> Download using promo code Free_Logger_4_Dev2Dev. Offer expires >> February 28th, so secure your free ArcSight Logger TODAY! >> http://p.sf.net/sfu/arcsight-sfd2d >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> > > > > ------------------------------------------------------------------------------ > Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! > Finally, a world-class log management solution at an even better > price-free! > Download using promo code Free_Logger_4_Dev2Dev. Offer expires > February 28th, so secure your free ArcSight Logger TODAY! > http://p.sf.net/sfu/arcsight-sfd2d > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mail at catsnest.co.uk Thu Jan 27 10:05:53 2011 From: mail at catsnest.co.uk (mail at catsnest.co.uk) Date: Thu, 27 Jan 2011 09:05:53 +0000 Subject: Monitoring temperatures on Cisco equipment In-Reply-To: References: Message-ID: On Wed, Jan 26, 2011 at 8:47 PM, Jeffrey Watts wrote: > I'm looking to monitor temperature on some various Cisco equipment (2821, > 3750, 4948, 6509, etc). ?I've looked at the check_catalyst_temp.pl and > check_env_stats.py plugins, which both look in .1.3.6.1.4.1.9.9.13.1. ?I see > and understand the basic mechanisms of these checks. > What I don't understand is why both require warning and critical thresholds. > ?From what I can tell, both walk ciscoEnvMonTemperatureStatusDescr, > check?ciscoEnvMonTemperatureState?(and alert accordingly) AND also > check?ciscoEnvMonTemperatureStatusValue to see if it's out of the warning > and critical thresholds specified on the command line. ?I understand why one > would want to be able to set custom thresholds (that would override "normal" > and "warning" states). ?What I don't understand is why are they required? > ?Is there a reason, or is it just an oversight? ?I don't have much > experience monitoring network equipment, so I'm wondering if there's a > reason for it. > On that same note, does anyone know where those thresholds are stored? ?I > see in the same OID that there is?ciscoEnvMonTemperatureThreshold, but > that's an absolute upper bound before a forced shutdown occurs. ?I'm > assuming that the thresholds for "warning" and > "critical"?ciscoEnvMonTemperatureState must be stored somewhere else. ?Does > anyone know where that is? > Unless there's a good reason for requiring -w and -c, I'll probably change > one of the plugins to not require them. > Thanks in advance, > Jeffrey. I maybe misunderstanding you here but isn?t the whole point of running Nagios checks to return Normal, Warning or Critical, so you can alert agents them? What would be the point in just returning the value and doing nothing with it? Regards, Rithcie > ------------------------------------------------------------------------------ > Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! > Finally, a world-class log management solution at an even better price-free! > Download using promo code Free_Logger_4_Dev2Dev. Offer expires > February 28th, so secure your free ArcSight Logger TODAY! > http://p.sf.net/sfu/arcsight-sfd2d > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Gerald.Ortner at gespag.at Thu Jan 27 10:51:50 2011 From: Gerald.Ortner at gespag.at (Ortner, Gerald) Date: Thu, 27 Jan 2011 10:51:50 +0100 Subject: Monitoring temperatures on Cisco equipment In-Reply-To: References: Message-ID: <13579FFE8B208F4DBA327EE25F804AABDC5B25F9@swvbpheaglxmb02.health.local> Hi, We use check_cisco_envmon to monitor our Cisco equipment. It's using the ciscoEnvMonxxxxState value only. I don't know if the thresholds are available through snmp, but you can view them by entering "show environment alarm thresholds" on the device. gerald Von: Jeffrey Watts [mailto:jeffrey.w.watts at gmail.com] Gesendet: Mittwoch, 26. J?nner 2011 21:47 An: Nagios Users List Betreff: [Nagios-users] Monitoring temperatures on Cisco equipment I'm looking to monitor temperature on some various Cisco equipment (2821, 3750, 4948, 6509, etc). I've looked at the check_catalyst_temp.pl and check_env_stats.py plugins, which both look in .1.3.6.1.4.1.9.9.13.1. I see and understand the basic mechanisms of these checks. What I don't understand is why both require warning and critical thresholds. From what I can tell, both walk ciscoEnvMonTemperatureStatusDescr, check ciscoEnvMonTemperatureState (and alert accordingly) AND also check ciscoEnvMonTemperatureStatusValue to see if it's out of the warning and critical thresholds specified on the command line. I understand why one would want to be able to set custom thresholds (that would override "normal" and "warning" states). What I don't understand is why are they required? Is there a reason, or is it just an oversight? I don't have much experience monitoring network equipment, so I'm wondering if there's a reason for it. On that same note, does anyone know where those thresholds are stored? I see in the same OID that there is ciscoEnvMonTemperatureThreshold, but that's an absolute upper bound before a forced shutdown occurs. I'm assuming that the thresholds for "warning" and "critical" ciscoEnvMonTemperatureState must be stored somewhere else. Does anyone know where that is? Unless there's a good reason for requiring -w and -c, I'll probably change one of the plugins to not require them. Thanks in advance, Jeffrey. ________________________________ OOe. Gesundheits- und Spitals-AG Techcenter, Hafenstrasse 47-51, 4020 Linz DVR 2107870, ATU 51928204, Firmenbuchgericht: Landesgericht Linz, FN 210146 p -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tevfik.karagulle at gmail.com Thu Jan 27 11:18:25 2011 From: tevfik.karagulle at gmail.com (Tevfik Karagulle) Date: Thu, 27 Jan 2011 11:18:25 +0100 Subject: CAS authentication In-Reply-To: References: Message-ID: I ran an AD-query script periodically. The script could map Nagios contact groups to AD-groups, getting AD-users of those groups and create corresponding Nagios contacts. On Thu, Jan 27, 2011 at 7:55 AM, Bryan Berry wrote: > thanks Jan and Tevfik. I will have to experiment w/ your solutions > > How does Nagios application know about the individual accounts? Do you have > to create them separately and then mod_cas or mod_krb passes thru the > credentials to Active Directory for verification? > > > On Wed, Jan 26, 2011 at 10:43 AM, Tevfik Karagulle < > tevfik.karagulle at gmail.com> wrote: > >> The link below can be helpful if If you look for single sign-on >> integration with Active Directory: >> >> http://www.itefix.no/i2/node/11683 (Nagios single sign-on authentication >> with Active Directory) >> >> That recipe is successfully implemented on a Nagios implementation two >> years ago. >> >> Tev >> >> On Wed, Jan 26, 2011 at 10:17 AM, wrote: >> >>> On Wed, 26 Jan 2011, Bryan Berry wrote: >>> >>> > Anybody using CAS for SSO authentication ( >>> > https://wiki.jasig.org/display/CASC/phpCAS) into Nagios? I would love >>> to >>> > know if there is an existing solutions for this. haven't managed to >>> find >>> > anything regarding this on google yet >>> >>> We just slapped it behind mod_cas (or whatever it's called); seems to >>> work, although you'll need an alternative route if you want >>> unauthenticated access too, since there's no "opt-out" with that, unless >>> you construct a cunning config that lets the front page through >>> unauthenticated. >>> >>> >>> -- >>> jan grant, ISYS, University of Bristol. http://www.bris.ac.uk/ >>> Tel +44 (0)117 3317661 http://ioctl.org/jan/ >>> They modified their trousers secretly. >>> >>> >>> ------------------------------------------------------------------------------ >>> Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! >>> Finally, a world-class log management solution at an even better >>> price-free! >>> Download using promo code Free_Logger_4_Dev2Dev. Offer expires >>> February 28th, so secure your free ArcSight Logger TODAY! >>> http://p.sf.net/sfu/arcsight-sfd2d >>> _______________________________________________ >>> Nagios-users mailing list >>> Nagios-users at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>> ::: Please include Nagios version, plugin version (-v) and OS when >>> reporting any issue. >>> ::: Messages without supporting info will risk being sent to /dev/null >>> >> >> >> >> ------------------------------------------------------------------------------ >> Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! >> Finally, a world-class log management solution at an even better >> price-free! >> Download using promo code Free_Logger_4_Dev2Dev. Offer expires >> February 28th, so secure your free ArcSight Logger TODAY! >> http://p.sf.net/sfu/arcsight-sfd2d >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> > > > > ------------------------------------------------------------------------------ > Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! > Finally, a world-class log management solution at an even better > price-free! > Download using promo code Free_Logger_4_Dev2Dev. Offer expires > February 28th, so secure your free ArcSight Logger TODAY! > http://p.sf.net/sfu/arcsight-sfd2d > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 tomsommer.dk Thu Jan 27 11:43:30 2011 From: mail at tomsommer.dk (Tom Sommer) Date: Thu, 27 Jan 2011 11:43:30 +0100 Subject: check_openmanage: "Amperage probe 0 [System Board System Level] reads 0 W" Message-ID: Hi, After upgrading OpenManage to version 6.4.0 on a DELL R410, check_openmanage 3.6.4 returns CRITICAL: Amperage probe 0 [System Board System Level] reads 0 W Is this due to OpenManage changing behavior (bug), or is the hardware really faulty? (doubtful) :) I know I could just disable amperage checks, but I'd like not to. Anyone else seen this? Thanks // Tom ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jhilton at conservonline.com Thu Jan 27 15:12:53 2011 From: jhilton at conservonline.com (Josh R. Hilton) Date: Thu, 27 Jan 2011 09:12:53 -0500 Subject: Monitoring a Windows server In-Reply-To: References: <0ED4BE7F32447547B5ED2346377C7DD5764FA87C97@conservexchange.conservlargo.bch.com> Message-ID: <0ED4BE7F32447547B5ED2346377C7DD5764FB33484@conservexchange.conservlargo.bch.com> Sorry, but isn't that what the "use windows-server" line from the "define host" is doing (for putting the host into the group)? Also, I cannot see the host in the Nagios webpage when I click on "Hosts" or "Services" under the "Current Status" tab. From: Kevin Keane [mailto:subscription at kkeane.com] Sent: Wednesday, January 26, 2011 6:51 PM To: Nagios Users List Subject: Re: [Nagios-users] Monitoring a Windows server When you can't see the machine at all, you can rule out NSCient++ as the cause; it is within Nagios itself. The Windows Servers group is empty because you didn't tell the windows-servers group that it contained a host named DFS. Or alternatively, you can also tell DFS that it is part of the hostgroup. To do that (double-check the syntax; I'm writing this from memory), you either have to add a hostgroups statement to the host declaration, or you can add a hosts statement to the hostgroup. Before you get started, you can also try to find the host directly without the hostgroup. You should see it when you click on "Hosts" or on "Services" in the Nagios GUI. Once you have found the Windows machine, the next step is to see whether Nagios talks to NSClient++. That's related to services, not to hosts, though. From: Josh R. Hilton [mailto:jhilton at conservonline.com] Sent: Wednesday, January 26, 2011 1:58 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Monitoring a Windows server Hello all, first timer to Nagios here. I've been able to get Nagios installed and running on a Ubuntu server and can access the control page either locally or remotely. I also have the windows agent running (NSClient++) on a different server. However I can't get the monitored server to show up in Nagios. I followed the Quickstart guide on Ubuntu (http://nagios.sourceforge.net/docs/3_0/quickstart-ubuntu.html) and the guide to monitoring Windows servers (http://nagios.sourceforge.net/docs/3_0/monitoring-windows.html). I can verify my configuration without returning errors. After looking through the forums and archives of the mailing list, I wasn't able to find anything relating to this (though I know it's a rather generalized kind of problem). When looking at the Nagios webpage, I can see the "Windows Servers" group, but there are no hosts underneath it. NSClient is using the local system as a user and does have access to the desktop. I am inexperienced with Ubuntu (Linux/Unix systems in general) so any and all help is greatly appreciated. However I was able to confirm that the firewall for Ubuntu was disabled. ** My windows.cfg file is: ############################################################################### # WINDOWS.CFG - SAMPLE CONFIG FILE FOR MONITORING A WINDOWS MACHINE # # Last Modified: 06-13-2007 # # NOTES: This config file assumes that you are using the sample configuration # files that get installed with the Nagios quickstart guide. # ############################################################################### ############################################################################### ############################################################################### # # HOST DEFINITIONS # ############################################################################### ############################################################################### # Define a host for the Windows machine we'll be monitoring # Change the host_name, alias, and address to fit your situation define host{ use windows-server ; Inherit default values from a template host_name DFS ; The name we're giving to this host alias DFS-Windows ; A longer name associated with the host address 10.70.15.9 ; IP address of the host } ############################################################################### ############################################################################### # # HOST GROUP DEFINITIONS # ############################################################################### ############################################################################### # Define a hostgroup for Windows machines # All hosts that use the windows-server template will automatically be a member of this group define hostgroup{ hostgroup_name windows-servers ; The name of the hostgroup alias Windows Servers ; Long name of the group } ############################################################################### ############################################################################### # # SERVICE DEFINITIONS # ############################################################################### ############################################################################### # Create a service for monitoring the version of NSCLient++ that is installed # Change the host_name to match the name of the host you defined above define service{ use generic-service host_name DFS service_description 0.3.8 check_command check_nt!CLIENTVERSION } # Create a service for monitoring the uptime of the server # Change the host_name to match the name of the host you defined above define service{ use generic-service host_name DFS service_description Uptime check_command check_nt!UPTIME } # Create a service for monitoring CPU load # Change the host_name to match the name of the host you defined above define service{ use generic-service host_name DFS service_description CPU Load check_command check_nt!CPULOAD!-l 5,80,90 } # Create a service for monitoring memory usage # Change the host_name to match the name of the host you defined above define service{ use generic-service host_name DFS service_description Memory Usage check_command check_nt!MEMUSE!-w 80 -c 90 } # Create a service for monitoring C:\ disk usage # Change the host_name to match the name of the host you defined above define service{ use generic-service host_name DFS service_description C:\ Drive Space check_command check_nt!USEDDISKSPACE!-l c -w 80 -c 90 } # Create a service for monitoring the W3SVC service # Change the host_name to match the name of the host you defined above define service{ use generic-service host_name DFS service_description W3SVC check_command check_nt!SERVICESTATE!-d SHOWALL -l W3SVC } # Create a service for monitoring the Explorer.exe process # Change the host_name to match the name of the host you defined above define service{ use generic-service host_name DFS service_description Explorer check_command check_nt!PROCSTATE!-d SHOWALL -l Explorer.exe } ** The NSC.ini file from the DFS machine (the server to be monitored): [modules] NRPEListener.dll NSClientListener.dll FileLogger.dll CheckSystem.dll CheckDisk.dll CheckEventLog.dll CheckHelpers.dll ;# NSCLIENT++ MODULES ;# A list with DLLs to load at startup. ; You will need to enable some of these for NSClient++ to work. ; ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ; * * ; * N O T I C E ! ! ! - Y O U H A V E T O E D I T T H I S * ; * * ; ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! FileLogger.dll CheckSystem.dll CheckDisk.dll NSClientListener.dll NRPEListener.dll SysTray.dll CheckEventLog.dll CheckHelpers.dll ;CheckWMI.dll ; ; Script to check external scripts and/or internal aliases. CheckExternalScripts.dll ; ; NSCA Agent if you enable this NSClient++ will talk to NSCA hosts repeatedly (so dont enable unless you want to use NSCA) ;NSCAAgent.dll ; ; LUA script module used to write your own "check deamon". ;LUAScript.dll ; ; RemoteConfiguration IS AN EXTREM EARLY IDEA SO DONT USE FOR PRODUCTION ENVIROMNEMTS! ;RemoteConfiguration.dll ; Check other hosts through NRPE extreme beta and probably a bit dangerous! :) ;NRPEClient.dll ; Extreamly early beta of a task-schedule checker ;CheckTaskSched.dll [Settings] ;# OBFUSCATED PASSWORD ; This is the same as the password option but here you can store the password in an obfuscated manner. ; *NOTICE* obfuscation is *NOT* the same as encryption, someone with access to this file can still figure out the ; password. Its just a bit harder to do it at first glance. ;obfuscated_password=Jw0KAUUdXlAAUwASDAAB ; ;# PASSWORD ; This is the password (-s) that is required to access NSClient remotely. If you leave this blank everyone will be able to access the daemon remotly. password= ; ;# ALLOWED HOST ADDRESSES ; This is a comma-delimited list of IP address of hosts that are allowed to talk to the all daemons. ; If leave this blank anyone can access the deamon remotly (NSClient still requires a valid password). ; The syntax is host or ip/mask so 192.168.0.0/24 will allow anyone on that subnet access allowed_hosts=10.70.15.53 ; ;# USE THIS FILE ; Use the INI file as opposed to the registry if this is 0 and the use_reg in the registry is set to 1 ; the registry will be used instead. use_file=0 allowed_hosts=10.70.15.53 ; ; # USE SHARED MEMORY CHANNELS ; This is the "new" way for using the system tray based on an IPC framework on top shared memmory channels and events. ; It is brand new and (probably has bugs) so dont enable this unless for testing! ; If set to 1 shared channels will be created and system tray icons created and such and such... ;shared_session=0 [log] ;# LOG DEBUG ; Set to 1 if you want debug message printed in the log file (debug messages are always printed to stdout when run with -test) ;debug=1 ; ;# LOG FILE ; The file to print log statements to ;file=nsclient.log ; ;# LOG DATE MASK ; The format to for the date/time part of the log entry written to file. ;date_mask=%Y-%m-%d %H:%M:%S ; ;# LOG ROOT FOLDER ; The root folder to use for logging. ; exe = the folder where the executable is located ; local-app-data = local application data (probably a better choice then the old default) ;root_folder=exe [NSClient] ;# ALLOWED HOST ADDRESSES ; This is a comma-delimited list of IP address of hosts that are allowed to talk to NSClient deamon. ; If you leave this blank the global version will be used instead. allowed_hosts= ; ;# NSCLIENT PORT NUMBER ; This is the port the NSClientListener.dll will listen to. port=12489 ; ;# BIND TO ADDRESS ; Allows you to bind server to a specific local address. This has to be a dotted ip adress not a hostname. ; Leaving this blank will bind to all avalible IP adresses. bind_to_address= ; ;# SOCKET TIMEOUT ; Timeout when reading packets on incoming sockets. If the data has not arrived withint this time we will bail out. ;socket_timeout=30 [NRPE] ;# NRPE PORT NUMBER ; This is the port the NRPEListener.dll will listen to. ;port=5666 ; ;# COMMAND TIMEOUT ; This specifies the maximum number of seconds that the NRPE daemon will allow plug-ins to finish executing before killing them off. ;command_timeout=60 ; ;# COMMAND ARGUMENT PROCESSING ; This option determines whether or not the NRPE daemon will allow clients to specify arguments to commands that are executed. ;allow_arguments=0 ; ;# COMMAND ALLOW NASTY META CHARS ; This option determines whether or not the NRPE daemon will allow clients to specify nasty (as in |`&><'"\[]{}) characters in arguments. ;allow_nasty_meta_chars=0 ; ;# USE SSL SOCKET ; This option controls if SSL should be used on the socket. ;use_ssl=1 ; ;# BIND TO ADDRESS ; Allows you to bind server to a specific local address. This has to be a dotted ip adress not a hostname. ; Leaving this blank will bind to all avalible IP adresses. ; bind_to_address= ; ;# ALLOWED HOST ADDRESSES ; This is a comma-delimited list of IP address of hosts that are allowed to talk to NRPE deamon. ; If you leave this blank the global version will be used instead. ;allowed_hosts= ; ;# SCRIPT DIRECTORY ; All files in this directory will become check commands. ; *WARNING* This is undoubtedly dangerous so use with care! ;script_dir=scripts\ ; ;# SOCKET TIMEOUT ; Timeout when reading packets on incoming sockets. If the data has not arrived withint this time we will bail out. ;socket_timeout=30 [Check System] ;# CPU BUFFER SIZE ; Can be anything ranging from 1s (for 1 second) to 10w for 10 weeks. Notice that a larger buffer will waste memory ; so don't use a larger buffer then you need (ie. the longest check you do +1). CPUBufferSize=1h ; ;# CHECK RESOLUTION ; The resolution to check values (currently only CPU). ; The value is entered in 1/10:th of a second and the default is 10 (which means ones every second) CheckResolution=10 ; ;# CHECK ALL SERVICES ; Configure how to check services when a CheckAll is performed. ; ...=started means services in that class *has* to be running. ; ...=stopped means services in that class has to be stopped. ; ...=ignored means services in this class will be ignored. check_all_services[SERVICE_BOOT_START]=ignored check_all_services[SERVICE_SYSTEM_START]=ignored check_all_services[SERVICE_AUTO_START]=started check_all_services[SERVICE_DEMAND_START]=ignored check_all_services[SERVICE_DISABLED]=stopped [External Script] ;# COMMAND TIMEOUT ; This specifies the maximum number of seconds that the NRPE daemon will allow plug-ins to finish executing before killing them off. ;command_timeout=60 ; ;# COMMAND ARGUMENT PROCESSING ; This option determines whether or not the NRPE daemon will allow clients to specify arguments to commands that are executed. ;allow_arguments=0 ; ;# COMMAND ALLOW NASTY META CHARS ; This option determines whether or not the NRPE daemon will allow clients to specify nasty (as in |`&><'"\[]{}) characters in arguments. ;allow_nasty_meta_chars=0 ; ;# SCRIPT DIRECTORY ; All files in this directory will become check commands. ; *WARNING* This is undoubtedly dangerous so use with care! ;script_dir=c:\my\script\dir [Script Wrappings] vbs=cscript.exe //T:30 //NoLogo scripts\lib\wrapper.vbs %SCRIPT% %ARGS% ps1=cmd /c echo scripts\%SCRIPT% %ARGS%; exit($lastexitcode) | powershell.exe -command - bat=scripts\%SCRIPT% %ARGS% [External Scripts] ;check_es_long=scripts\long.bat ;check_es_ok=scripts\ok.bat ;check_es_nok=scripts\nok.bat ;check_vbs_sample=cscript.exe //T:30 //NoLogo scripts\check_vb.vbs ;check_powershell_warn=cmd /c echo scripts\powershell.ps1 | powershell.exe -command - [External Alias] alias_cpu=checkCPU warn=80 crit=90 time=5m time=1m time=30s alias_cpu_ex=checkCPU warn=$ARG1$ crit=$ARG2$ time=5m time=1m time=30s alias_disk=CheckDriveSize MinWarn=10% MinCrit=5% CheckAll FilterType=FIXED alias_service=checkServiceState CheckAll alias_process=checkProcState $ARG1$=started alias_mem=checkMem MaxWarn=80% MaxCrit=90% ShowAll type=physical alias_up=checkUpTime MinWarn=1d MinWarn=1h alias_file_age=checkFile2 filter=out "file=$ARG1$" filter-written=>1d MaxWarn=1 MaxCrit=1 "syntax=%filename% %write%" alias_file_size=checkFile2 filter=out "file=$ARG1$" filter-size=>$ARG2$ MaxWarn=1 MaxCrit=1 "syntax=%filename% %size%" alias_file_size_in_dir=checkFile2 filter=out pattern=*.txt "file=$ARG1$" filter-size=>$ARG2$ MaxWarn=1 MaxCrit=1 "syntax=%filename% %size%" alias_event_log_old=CheckEventLog file=application file=system filter=new filter=out MaxWarn=1 MaxCrit=1 filter-generated=>2d filter-severity==success filter-severity==informational truncate=800 unique descriptions "syntax=%severity%: %source%: %message% (%count%)" alias_event_log_new=CheckEventLog file=application file=system MaxWarn=1 MaxCrit=1 "filter=generated gt -2d AND severity NOT IN ('success', 'informational')" truncate=800 unique descriptions "syntax=%severity%: %source%: %message% (%count%)" alias_event_log=alias_event_log_new check_ok=CheckOK Everything is fine! [Wrapped Scripts] ;check_test_vbs=check_test.vbs /arg1:1 /arg2:1 /variable:1 ;check_test_ps1=check_test.ps1 arg1 arg2 ;check_test_bat=check_test.bat arg1 arg2 ;check_battery=check_battery.vbs ;check_printer=check_printer.vbs ; [includes] ;# The order when used is "reversed" thus the last included file will be "first" ;# Included files can include other files (be carefull only do basic recursive checking) ; ; myotherfile.ini ; real.ini [NSCA Agent] ;# CHECK INTERVALL (in seconds) ; How often we should run the checks and submit the results. ;interval=5 ; ;# ENCRYPTION METHOD ; This option determines the method by which the send_nsca client will encrypt the packets it sends ; to the nsca daemon. The encryption method you choose will be a balance between security and ; performance, as strong encryption methods consume more processor resources. ; You should evaluate your security needs when choosing an encryption method. ; ; Note: The encryption method you specify here must match the decryption method the nsca daemon uses ; (as specified in the nsca.cfg file)!! ; Values: ; 0 = None (Do NOT use this option) ; 1 = Simple XOR (No security, just obfuscation, but very fast) ; 2 = DES ; 3 = 3DES (Triple DES) ; 4 = CAST-128 ; 6 = xTEA ; 8 = BLOWFISH ; 9 = TWOFISH ; 11 = RC2 ; 14 = RIJNDAEL-128 (AES) ; 20 = SERPENT ;encryption_method=14 ; ;# ENCRYPTION PASSWORD ; This is the password/passphrase that should be used to encrypt the sent packets. ;password= ; ;# BIND TO ADDRESS ; Allows you to bind server to a specific local address. This has to be a dotted ip adress not a hostname. ; Leaving this blank will bind to "one" local interface. ; -- not supported as of now -- ;bind_to_address= ; ;# LOCAL HOST NAME ; The name of this host (if empty "computername" will be used. ;hostname= ; ;# NAGIOS SERVER ADDRESS ; The address to the nagios server to submit results to. ;nsca_host=192.168.0.1 ; ;# NAGIOS SERVER PORT ; The port to the nagios server to submit results to. ;nsca_port=5667 ; ;# CHECK COMMAND LIST ; The checks to run everytime we submit results back to nagios ; Any command(alias/key) starting with a host_ is sent as HOST_COMMAND others are sent as SERVICE_COMMANDS ; where the alias/key is used as service name. ; [NSCA Commands] ;my_cpu_check=checkCPU warn=80 crit=90 time=20m time=10s time=4 ;my_mem_check=checkMem MaxWarn=80% MaxCrit=90% ShowAll type=page ;my_svc_check=checkServiceState CheckAll exclude=wampmysqld exclude=MpfService ;host_check=check_ok ;# REMOTE NRPE PROXY COMMANDS ; A list of commands that check other hosts. ; Used by the NRPECLient module [NRPE Client Handlers] check_other=-H 192.168.0.1 -p 5666 -c remote_command -a arguments ;# LUA SCRIPT SECTION ; A list of all Lua scripts to load. ;[LUA Scripts] ;scripts\test.lua -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeffrey.w.watts at gmail.com Thu Jan 27 15:35:26 2011 From: jeffrey.w.watts at gmail.com (Jeffrey Watts) Date: Thu, 27 Jan 2011 08:35:26 -0600 Subject: Monitoring temperatures on Cisco equipment In-Reply-To: References: Message-ID: I think you misunderstand. Those two plugins return WARNING or CRITICAL if one of the two things occur: 1) If the ciscoEnvMonTemperatureState is not "normal". 2) If the passed -w and -c values are less than ciscoEnvMonTemperatureStatusValue. What I'm asking is why #2 is _required_. I can understand it as an optional check if you want to override the device's defaults, but not as mandatory behavior. Cisco devices are smart and know when they're warm or hot. That's the purpose of the ciscoEnvMonTemperatureState. I'm just trying to find out why folks feel that overriding Cisco's defaults is necessary behavior. Thanks, Jeffrey. On Thu, Jan 27, 2011 at 3:05 AM, wrote: > > I maybe misunderstanding you here but isn?t the whole point of running > Nagios checks to return Normal, Warning or Critical, so you can alert > agents them? > What would be the point in just returning the value and doing nothing with > it? > > Regards, > Rithcie > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeffrey.w.watts at gmail.com Thu Jan 27 15:48:05 2011 From: jeffrey.w.watts at gmail.com (Jeffrey Watts) Date: Thu, 27 Jan 2011 08:48:05 -0600 Subject: Monitoring temperatures on Cisco equipment In-Reply-To: <13579FFE8B208F4DBA327EE25F804AABDC5B25F9@swvbpheaglxmb02.health.local> References: <13579FFE8B208F4DBA327EE25F804AABDC5B25F9@swvbpheaglxmb02.health.local> Message-ID: Thanks Gerald, that's exactly what I was looking for! Jeffrey. On Thu, Jan 27, 2011 at 3:51 AM, Ortner, Gerald wrote: > Hi, > > > > We use check_cisco_envmonto monitor our Cisco equipment. It?s using the ciscoEnvMonxxxxState value > only. > > I don?t know if the thresholds are available through snmp, but you can > view them by entering ?show environment alarm thresholds? on the device. > > > > gerald > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jan 27 16:26:05 2011 From: benny at bennyvision.com (C. Bensend) Date: Thu, 27 Jan 2011 09:26:05 -0600 Subject: Monitoring temperatures on Cisco equipment In-Reply-To: References: Message-ID: <4211d84c847158f0d5db909085f73fe1.squirrel@webmail.stinkweasel.net> > I think you misunderstand. Those two plugins return WARNING or CRITICAL > if > one of the two things occur: > > 1) If the ciscoEnvMonTemperatureState is not "normal". > 2) If the passed -w and -c values are less > than ciscoEnvMonTemperatureStatusValue. > > What I'm asking is why #2 is _required_. I can understand it as an > optional > check if you want to override the device's defaults, but not as mandatory > behavior. Cisco devices are smart and know when they're warm or hot. > That's the purpose of the ciscoEnvMonTemperatureState. I'm just trying > to > find out why folks feel that overriding Cisco's defaults is necessary > behavior. While I don't have any insider knowledge into *why* it is the way it is, I'll take a guess - most third-party plugins come into existence because they satisfied someone's specific needs. Perhaps the original author needed to further narrow the range of good-vs-bad, who knows? I'd say modify it to your needs. :) Benny (yes, *that* Benny, hi Jeffrey) -- "Hairy ape nads." -- Colleen, playing Neverwinter Nights ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From joern.gaertner at wirecard.com Thu Jan 27 16:26:43 2011 From: joern.gaertner at wirecard.com (Gaertner, Joern) Date: Thu, 27 Jan 2011 15:26:43 +0000 Subject: servicedependency problem Message-ID: Hi, I have a problem with servicedendencies. My config looks like this: define servicedependency { host_name s.test.com execution_failure_criteria w,c,u service_description functionality_LB dependent_service_description functionality_cl1 notification_failure_criteria w,c,u dependent_hostgroup_name hg_test } If I am not wrong this should translate to: Do always functionality_LB on s.test.com. If functionality_LB is in state w,c,u do functionality_cl1 on hg_test but not if functionality_LB is in state OK. But it doesn't work. functionality_LB is in state OK. If I go in the web frontend on the details for check functionality_cl1 I can see the last check is always less than 3 min ago and new cheks are always scheduled. Does anyone know what is going wrong here? Thanks J?rn ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jan 27 17:05:49 2011 From: Deborah.Martin at Kognitio.com (Deborah Martin) Date: Thu, 27 Jan 2011 16:05:49 -0000 Subject: servicedependency problem Message-ID: <84836290D5AD43418C40DCF0C4A54ED3038B7DF5@kogex02.pmpl.co.uk> Jorn, You haven't mentioned which version of Nagios is running so I'll assume it's 3.2.0 which is the same as mine... I think I'd translate your servicedependency definition differently :- "If functionality_LB is in w,c,u state don't do functionality_cl1 because funcationality_cl1 relies on functionality_LB to be in a non warning,critical or unknown state for functionality_cl1 to work ? define servicedependency { host_name s.test.com service_description functionality_LB <--- Parent dependent_service_description functionality_cl1 <--- Child execution_failure_criteria w,c,u notification_failure_criteria w,c,u dependent_hostgroup_name hg_test } Think of a parent-child relationship where a "child" check should only run if the "parent" is running ok. And if the "parent" is in a specific state (w,c,u) surpress the "child" check and also notifications. So functionality_LB is the parent and functionality_cl1 is the child in your case. Hope that helps / makes sense. Regards, Deborah -----Original Message----- From: Gaertner, Joern [mailto:joern.gaertner at wirecard.com] Sent: 27 January 2011 15:27 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] servicedependency problem Hi, I have a problem with servicedendencies. My config looks like this: define servicedependency { host_name s.test.com execution_failure_criteria w,c,u service_description functionality_LB dependent_service_description functionality_cl1 notification_failure_criteria w,c,u dependent_hostgroup_name hg_test } If I am not wrong this should translate to: Do always functionality_LB on s.test.com. If functionality_LB is in state w,c,u do functionality_cl1 on hg_test but not if functionality_LB is in state OK. But it doesn't work. functionality_LB is in state OK. If I go in the web frontend on the details for check functionality_cl1 I can see the last check is always less than 3 min ago and new cheks are always scheduled. Does anyone know what is going wrong here? Thanks J?rn ---------------------------------------------------------------------------- -- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null *************************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. Any unauthorised distribution or copying is strictly prohibited. Whilst Kognitio Limited takes steps to prevent the transmission of viruses via e-mail, we can not guarantee that any email or attachment is free from computer viruses and you are strongly advised to undertake your own anti-virus precautions. Kognitio grants no warranties regarding performance, use or quality of any e-mail or attachment and undertakes no liability for loss or damage, howsoever caused. Kognitio Limited, a company registered in England and Wales. Registered number 0212 7833. Registered Office: 3a Waterside Park, Cookham Road, Bracknell, Berks, RG12 1RB. VAT number 864 4378 92. Kognitio Inc, a company incorporated in Delaware, principal office 180 North Stetson, Suite 3500, Chicago, IL 60601, USA *************************************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jan 27 17:26:17 2011 From: Deborah.Martin at Kognitio.com (Deborah Martin) Date: Thu, 27 Jan 2011 16:26:17 -0000 Subject: servicedependency problem Message-ID: <84836290D5AD43418C40DCF0C4A54ED3038B7DF6@kogex02.pmpl.co.uk> Jorn, You haven't mentioned which version of Nagios is running so I'll assume it's 3.2.0 which is the same as mine... I think I'd translate your servicedependency definition differently :- "If functionality_LB is in w,c,u state don't do functionality_cl1 because funcationality_cl1 relies on functionality_LB to be in a non warning,critical or unknown state for functionality_cl1 to work ? define servicedependency { host_name s.test.com service_description functionality_LB <--- Parent dependent_service_description functionality_cl1 <--- Child execution_failure_criteria w,c,u notification_failure_criteria w,c,u dependent_hostgroup_name hg_test } Think of a parent-child relationship where a "child" check should only run if the "parent" is running ok. And if the "parent" is in a specific state (w,c,u) surpress the "child" check and also notifications. So functionality_LB is the parent and functionality_cl1 is the child in your case. Hope that helps / makes sense. Regards, Deborah -----Original Message----- From: Gaertner, Joern [mailto:joern.gaertner at wirecard.com] Sent: 27 January 2011 15:27 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] servicedependency problem Hi, I have a problem with servicedendencies. My config looks like this: define servicedependency { host_name s.test.com execution_failure_criteria w,c,u service_description functionality_LB dependent_service_description functionality_cl1 notification_failure_criteria w,c,u dependent_hostgroup_name hg_test } If I am not wrong this should translate to: Do always functionality_LB on s.test.com. If functionality_LB is in state w,c,u do functionality_cl1 on hg_test but not if functionality_LB is in state OK. But it doesn't work. functionality_LB is in state OK. If I go in the web frontend on the details for check functionality_cl1 I can see the last check is always less than 3 min ago and new cheks are always scheduled. Does anyone know what is going wrong here? Thanks J?rn ---------------------------------------------------------------------------- -- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null *************************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. Any unauthorised distribution or copying is strictly prohibited. Whilst Kognitio Limited takes steps to prevent the transmission of viruses via e-mail, we can not guarantee that any email or attachment is free from computer viruses and you are strongly advised to undertake your own anti-virus precautions. Kognitio grants no warranties regarding performance, use or quality of any e-mail or attachment and undertakes no liability for loss or damage, howsoever caused. Kognitio Limited, a company registered in England and Wales. Registered number 0212 7833. Registered Office: 3a Waterside Park, Cookham Road, Bracknell, Berks, RG12 1RB. VAT number 864 4378 92. Kognitio Inc, a company incorporated in Delaware, principal office 180 North Stetson, Suite 3500, Chicago, IL 60601, USA *************************************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Jan 27 17:43:16 2011 From: t.h.amundsen at usit.uio.no (Trond Hasle Amundsen) Date: Thu, 27 Jan 2011 17:43:16 +0100 Subject: check_openmanage: "Amperage probe 0 [System Board System Level] reads 0 W" In-Reply-To: (Tom Sommer's message of "Thu, 27 Jan 2011 11:43:30 +0100") References: Message-ID: <15t39oeuwkb.fsf@tux.uio.no> "Tom Sommer" writes: > After upgrading OpenManage to version 6.4.0 on a DELL R410, > check_openmanage 3.6.4 returns > > CRITICAL: Amperage probe 0 [System Board System Level] reads 0 W > > Is this due to OpenManage changing behavior (bug), or is the hardware > really faulty? (doubtful) :) Hi Tom, Most likely this is some sort of bug in OpenManage, or something went wrong during upgrade. You should confirm the fault by running omreport chassis pwrmonitoring Investigate the "Status" field. The only accepted value is "Ok". > I know I could just disable amperage checks, but I'd like not to. > > Anyone else seen this? Sorry, no. Very often these problems are resolved simply by restarting OpenManage on the monitored server, or a reboot. The next step is to re-install OpenManage in case something was missed during install/upgrade. If all else fails, contact Dell support. Cheers, -- Trond H. Amundsen Center for Information Technology Services, University of Oslo ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 tomsommer.dk Thu Jan 27 21:50:18 2011 From: mail at tomsommer.dk (Tom Sommer) Date: Thu, 27 Jan 2011 21:50:18 +0100 Subject: check_openmanage: 'Amperage probe 0 [System Board System Level] reads 0 W' In-Reply-To: <15t39oeuwkb.fsf@tux.uio.no> References: <15t39oeuwkb.fsf@tux.uio.no> Message-ID: On Thu, January 27, 2011 17:43, Trond Hasle Amundsen wrote: > "Tom Sommer" writes: > > >> After upgrading OpenManage to version 6.4.0 on a DELL R410, >> check_openmanage 3.6.4 returns >> >> CRITICAL: Amperage probe 0 [System Board System Level] reads 0 W >> >> >> Is this due to OpenManage changing behavior (bug), or is the hardware >> really faulty? (doubtful) :) > Most likely this is some sort of bug in OpenManage, or something went > wrong during upgrade. You should confirm the fault by running > > omreport chassis pwrmonitoring # omreport chassis pwrmonitoring Power Consumption Information is not available on this system because all the Power Supply units on your system do not support PMBus or the firmware on your system does not support power monitoring. (Running CentOS) >> I know I could just disable amperage checks, but I'd like not to. >> >> Anyone else seen this? >> > > Sorry, no. Very often these problems are resolved simply by restarting > OpenManage on the monitored server, or a reboot. The next step is to > re-install OpenManage in case something was missed during install/upgrade. > If all else fails, contact Dell support. Tried all but the latter - guess it's a DELL bug. Thanks // Tom ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Jan 27 23:05:59 2011 From: t.h.amundsen at usit.uio.no (Trond Hasle Amundsen) Date: Thu, 27 Jan 2011 23:05:59 +0100 Subject: check_openmanage: 'Amperage probe 0 [System Board System Level] reads 0 W' In-Reply-To: (Tom Sommer's message of "Thu, 27 Jan 2011 21:50:18 +0100") References: <15t39oeuwkb.fsf@tux.uio.no> Message-ID: <15ty666t320.fsf@tux.uio.no> "Tom Sommer" writes: >>> After upgrading OpenManage to version 6.4.0 on a DELL R410, >>> check_openmanage 3.6.4 returns >>> >>> CRITICAL: Amperage probe 0 [System Board System Level] reads 0 W >>> >>> >>> Is this due to OpenManage changing behavior (bug), or is the hardware >>> really faulty? (doubtful) :) > >> Most likely this is some sort of bug in OpenManage, or something went >> wrong during upgrade. You should confirm the fault by running >> >> omreport chassis pwrmonitoring > > # omreport chassis pwrmonitoring > > Power Consumption Information is not available on this system because all > the Power Supply units on your system do not support PMBus or the firmware > on your system does not support power monitoring. Strange.. if the system doesn't support power monitoring, the plugin shouldn't complain about it. Are you using check_openmanage via SNMP or locally? (I'm guessing SNMP, and if so there are obvious inconsistencies between what OMSA displays through omreport and what is available via SNMP.) Did power monitoring work at all before upgrading OMSA? >>> Anyone else seen this? >> >> Sorry, no. Very often these problems are resolved simply by restarting >> OpenManage on the monitored server, or a reboot. The next step is to >> re-install OpenManage in case something was missed during install/upgrade. >> If all else fails, contact Dell support. > > Tried all but the latter - guess it's a DELL bug. I forgot one other possible cause: old BIOS and/or firmware. Newer versions of OMSA often need relatively up-to-date BIOS and firmware versions to function normally. You should upgrade all BIOS and firmware on the server. Cheers, -- Trond H. Amundsen Center for Information Technology Services, University of Oslo ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From toni.serrano.rubio at gmail.com Fri Jan 28 08:45:24 2011 From: toni.serrano.rubio at gmail.com (Toni Serrano) Date: Fri, 28 Jan 2011 08:45:24 +0100 Subject: how to monitor windows NTFS volumes Message-ID: <032101cbbebf$5426a1c0$fc73e540$@gmail.com> Hello, I have the need to monitor the space on mounted volumes on NTFS directories on a Windows 2008 server. If it can be via SNMP perfect. If not, accept ideas. Thank you very much for your help Greetings -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From joern.gaertner at wirecard.com Fri Jan 28 08:52:29 2011 From: joern.gaertner at wirecard.com (Gaertner, Joern) Date: Fri, 28 Jan 2011 07:52:29 +0000 Subject: servicedependency problem In-Reply-To: <84836290D5AD43418C40DCF0C4A54ED3038B7DF5@kogex02.pmpl.co.uk> References: <84836290D5AD43418C40DCF0C4A54ED3038B7DF5@kogex02.pmpl.co.uk> Message-ID: Good Morning, the nagios version is 3.0.6. Thanks a lot for the hint! Now it works with: execution_failure_criteria o notification_failure_criteria n Quite tricky in my case was the fact that there have been other dependencies for the same service checks trickering its execution. I think the service depencies can really be a nightmare. Is there any better way to view them apart from the config dependency view in the webfrontend? Thanks J?rn ________________________________ Von: Deborah Martin [Deborah.Martin at Kognitio.com] Gesendet: Donnerstag, 27. Januar 2011 17:05 Bis: 'Nagios Users List' Betreff: Re: [Nagios-users] servicedependency problem Jorn, You haven't mentioned which version of Nagios is running so I'll assume it's 3.2.0 which is the same as mine... I think I'd translate your servicedependency definition differently :- "If functionality_LB is in w,c,u state don't do functionality_cl1 because funcationality_cl1 relies on functionality_LB to be in a non warning,critical or unknown state for functionality_cl1 to work ? define servicedependency { host_name s.test.com service_description functionality_LB <--- Parent dependent_service_description functionality_cl1 <--- Child execution_failure_criteria w,c,u notification_failure_criteria w,c,u dependent_hostgroup_name hg_test } Think of a parent-child relationship where a "child" check should only run if the "parent" is running ok. And if the "parent" is in a specific state (w,c,u) surpress the "child" check and also notifications. So functionality_LB is the parent and functionality_cl1 is the child in your case. Hope that helps / makes sense. Regards, Deborah -----Original Message----- From: Gaertner, Joern [mailto:joern.gaertner at wirecard.com] Sent: 27 January 2011 15:27 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] servicedependency problem Hi, I have a problem with servicedendencies. My config looks like this: define servicedependency { host_name s.test.com execution_failure_criteria w,c,u service_description functionality_LB dependent_service_description functionality_cl1 notification_failure_criteria w,c,u dependent_hostgroup_name hg_test } If I am not wrong this should translate to: Do always functionality_LB on s.test.com. If functionality_LB is in state w,c,u do functionality_cl1 on hg_test but not if functionality_LB is in state OK. But it doesn't work. functionality_LB is in state OK. If I go in the web frontend on the details for check functionality_cl1 I can see the last check is always less than 3 min ago and new cheks are always scheduled. Does anyone know what is going wrong here? Thanks J?rn ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null *************************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. Any unauthorised distribution or copying is strictly prohibited. Whilst Kognitio Limited takes steps to prevent the transmission of viruses via e-mail, we can not guarantee that any email or attachment is free from computer viruses and you are strongly advised to undertake your own anti-virus precautions. Kognitio grants no warranties regarding performance, use or quality of any e-mail or attachment and undertakes no liability for loss or damage, howsoever caused. Kognitio Limited, a company registered in England and Wales. Registered number 0212 7833. Registered Office: 3a Waterside Park, Cookham Road, Bracknell, Berks, RG12 1RB. VAT number 864 4378 92. Kognitio Inc, a company incorporated in Delaware, principal office 180 North Stetson, Suite 3500, Chicago, IL 60601, USA *************************************************************************** ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From grover1711 at gmail.com Fri Jan 28 10:11:04 2011 From: grover1711 at gmail.com (ankush grover) Date: Fri, 28 Jan 2011 14:41:04 +0530 Subject: Unable to send passive check results through NRDP Message-ID: Hi Friends, I have installed Nagios3 and nrdp server on Centos 5 machine. The issue I am facing is that I am able to submit passive results through the Nagios Interface but through NRDP client script that is send_nrdp.php I am not able to send the passive check results. Passive checks configuration in Nagios.cfg file log_passive_checks=1 accept_passive_service_checks=1 accept_passive_host_checks=1 check_service_freshness=1 service_freshness_check_interval=60 check_host_freshness=0 host_freshness_check_interval=60 additional_freshness_latency=15 define service{ use generic-service host_name test2-1.test.com service_description MoLog Checks check_command check_dummy!3 "No Data from passive check" max_check_attempts 1 active_checks_enabled 0 check_freshness 1 freshness_threshold 300 flap_detection_options n contact_groups ankush.grover stalking_options n } generic-service template define service{ name generic-service ; The 'name' of this service template, referenced in other service definitions 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 1 ; 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 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 register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL SERVICE, JUST A TEMPLATE! is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 notification_interval 120 notification_period 24x7 notification_options c,r } NRDP server/config.inc.php nrdp client script send_nrdp.php /usr/bin/php -e send_nrdp.php --url="http://172.18.40.69/nrdp/" --token=testingoftoken --host=test2-1.test.com --service=MoLog Checks --state=1 --output="testing" ls -ld /var/nagios/rw drwxr-sr-x 2 nagios nagios 4096 Jan 28 13:01 /var/nagios/rw ls -l /var/nagios/rw prw-rw---- 1 nagios nagios 0 Jan 27 17:13 nagios.cmd Nagios Group Information and Apache user is part of Nagios group nagios:x:105:apache nrdp.conf file for Apache Options None AllowOverride None Order allow,deny Allow from all Alias /nrdp "/usr/local/nrdp/server" Nagios.conf file for Apache ScriptAlias /nagios/cgi-bin "/usr/lib/nagios/cgi" Options ExecCGI AllowOverride None Order allow,deny Allow from all AuthName "Nagios Access" AuthType Basic AuthUserFile /etc/nagios/htpasswd.users Require valid-user Alias /nagios "/usr/share/nagios" Options None AllowOverride None Order allow,deny Allow from all AuthName "Nagios Access" AuthType Basic AuthUserFile /etc/nagios/htpasswd.users Require valid-user I am not able to understand what exactly is wrong with the above settings that nrdp is not able to send the information to the Nagios server. Thanks & Regards Ankush Grover ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jms1 at jms1.net Fri Jan 28 16:44:30 2011 From: jms1 at jms1.net (jms1 at jms1.net) Date: Fri, 28 Jan 2011 10:44:30 -0500 (EST) Subject: Configuration error with no explanation Message-ID: <16375.205.185.202.10.1296229470.squirrel@secure.jms1.net> Greetings. I'm working on a distributed nagios system, with two "master" servers running the web interface to view status, and several dozen "slave" servers running the actual tests. So far it's working pretty well, but I've run into a very strange situation with one of the slave servers, where the syntax check is failing, but not telling me what the problem is. # /usr/sbin/nagios -v /etc/nagios/nagios.cfg Nagios Core 3.2.1 Copyright (c) 2009-2010 Nagios Core Development Team and Community Contributors Copyright (c) 1999-2009 Ethan Galstad Last Modified: 03-09-2010 License: GPL Website: http://www.nagios.org Reading configuration data... Read main config file okay... Processing object config directory '/etc/nagios/shared'... Processing object config file '/etc/nagios/shared/service-templates.cfg'... Processing object config file '/etc/nagios/shared/ping.cfg'... Processing object config file '/etc/nagios/shared/contacts.cfg'... Processing object config file '/etc/nagios/shared/host-templates.cfg'... Processing object config file '/etc/nagios/shared/timeperiods.cfg'... Processing object config file '/etc/nagios/shared/commands.cfg'... Processing object config directory '/etc/nagios/pop'... Processing object config file '/etc/nagios/pop/hosts.cfg'... Processing object config file '/etc/nagios/pop/hostgroups.cfg'... Processing object config file '/etc/nagios/pop/services.cfg'... Error processing object config files! The config files themselves are, as near as I can tell, correct. They are generated by a self-written script, whose output is working flawlessly for both master servers and all but one of the slave servers. I've examined the files as well as I can (short of spending several hours going through them line-by-line, this particular slave is monitoring about 200 hosts) and haven't found anything wrong. Has anybody seen anything like this before? Is there any way to get more detailed information about what is causing the problem? -- John Simpson, KG4ZOW Programmer at Large http://www.jms1.net/ ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Jan 28 17:27:29 2011 From: mark.elsen at gmail.com (Mark Elsen) Date: Fri, 28 Jan 2011 17:27:29 +0100 Subject: Configuration error with no explanation In-Reply-To: <16375.205.185.202.10.1296229470.squirrel@secure.jms1.net> References: <16375.205.185.202.10.1296229470.squirrel@secure.jms1.net> Message-ID: On Fri, Jan 28, 2011 at 4:44 PM, wrote: > Greetings. > > I'm working on a distributed nagios system, with two "master" servers > running the web interface to view status, and several dozen "slave" > servers running the actual tests. So far it's working pretty well, but > I've run into a very strange situation with one of the slave servers, > where the syntax check is failing, but not telling me what the problem is. > > > # /usr/sbin/nagios -v /etc/nagios/nagios.cfg > >... - You did not provide OS details; check for file protection issue(s) , disk quota and those low level issues. Check your system logs too, for nagios process error(s). More advanced ; using strace on the nagios command to track system calls, will probably give more info. M. ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From JBeck at urbn.com Fri Jan 28 19:57:50 2011 From: JBeck at urbn.com (Joe Beck) Date: Fri, 28 Jan 2011 13:57:50 -0500 Subject: Authentication using AD In-Reply-To: References: Message-ID: The recent thread on this topic was timely. After looking thru some of the details of these options, its not clear to me which would be best & which I should try to implement first: Mod_auth_ldap Mod_cas Mod_krb We?re on suse 11, apache 2.2.10 (more details below) The goal is to allow users to authenticate with their active directory credentials to the nagios web interface. The #1 requirement is quick setup at this point?most of our users, esp. mgt are using windows & IE. We?re pretty far down the path of getting buy-in from mgt to use Nagios. If I can get them to click on our nagios email notification links (we?re using frank4dd?s send perl plugin) and get right to the page without having to enter their username/password, that would be great. The mapping of AD groups to nagios contactgroups would be awesome down the road but right now I?m looking for quickest implementation of AD auth integration into nagios. Some of my concerns: when I first looked I saw the need of a user w/out a password but after looking again I see that its just for a ?principal? user tied to communications between apache & an AD user. I have little kerberos experience, lots of ldap experience, and a decent amount of apache & php background. Any observations or comments are appreciated. Thanks, Joe (more details on env) /usr/sbin/httpd2-prefork -V Server version: Apache/2.2.10 (Linux/SUSE) Server built: Dec 3 2008 10:04:51 Server's Module Magic Number: 20051115:18 Server loaded: APR 1.3.3, APR-Util 1.3.4 Compiled using: APR 1.3.3, APR-Util 1.3.4 Architecture: 32-bit Server MPM: Prefork threaded: no forked: yes (variable process count) Server compiled with.... -D APACHE_MPM_DIR="server/mpm/prefork" -D APR_HAS_SENDFILE -D APR_HAS_MMAP -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled) -D APR_USE_SYSVSEM_SERIALIZE -D APR_USE_PTHREAD_SERIALIZE -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT -D APR_HAS_OTHER_CHILD -D AP_HAVE_RELIABLE_PIPED_LOGS -D DYNAMIC_MODULE_LIMIT=128 -D HTTPD_ROOT="/srv/www" -D SUEXEC_BIN="/usr/sbin/suexec2" -D DEFAULT_PIDLOG="/var/run/httpd2.pid" -D DEFAULT_SCOREBOARD="logs/apache_runtime_status" -D DEFAULT_LOCKFILE="/var/run/accept.lock" -D DEFAULT_ERRORLOG="/var/log/apache2/error_log" -D AP_TYPES_CONFIG_FILE="/etc/apache2/mime.types" -D SERVER_CONFIG_FILE="/etc/apache2/httpd.conf" (Active Directory) to authenticate Nagios web interface users On 1/27/11 5:18 AM, "Tevfik Karagulle" wrote: I ran an AD-query script periodically. The script could map Nagios contact groups to AD-groups, getting AD-users of those groups and create corresponding Nagios contacts. On Thu, Jan 27, 2011 at 7:55 AM, Bryan Berry wrote: thanks Jan and Tevfik. I will have to experiment w/ your solutions How does Nagios application know about the individual accounts? Do you have to create them separately and then mod_cas or mod_krb passes thru the credentials to Active Directory for verification? On Wed, Jan 26, 2011 at 10:43 AM, Tevfik Karagulle wrote: The link below can be helpful if If you look for single sign-on integration with Active Directory: http://www.itefix.no/i2/node/11683 (Nagios single sign-on authentication with Active Directory) That recipe is successfully implemented on a Nagios implementation two years ago. Tev On Wed, Jan 26, 2011 at 10:17 AM, wrote: On Wed, 26 Jan 2011, Bryan Berry wrote: > Anybody using CAS for SSO authentication ( > https://wiki.jasig.org/display/CASC/phpCAS) into Nagios? I would love to > know if there is an existing solutions for this. haven't managed to find > anything regarding this on google yet We just slapped it behind mod_cas (or whatever it's called); seems to work, although you'll need an alternative route if you want unauthenticated access too, since there's no "opt-out" with that, unless you construct a cunning config that lets the front page through unauthenticated. -- jan grant, ISYS, University of Bristol. http://www.bris.ac.uk/ Tel +44 (0)117 3317661 http://ioctl.org/jan/ They modified their trousers secretly. ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null Joe -- Joe Beck | IT-Open Systems Engineer | urban outfitters inc. 5000 South Broad Street | Phila., PA 19112 | 215.454.7737 | jbeck at urbn.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jms1 at jms1.net Sat Jan 29 02:13:23 2011 From: jms1 at jms1.net (John Simpson) Date: Fri, 28 Jan 2011 20:13:23 -0500 Subject: Configuration error with no explanation In-Reply-To: References: <16375.205.185.202.10.1296229470.squirrel@secure.jms1.net> Message-ID: (Sorry for top-posting, the iPad knows no better...) After some more detailed debugging, including using strace, and then re-compiling nagios with "-ggdb" and stepping through the code in gdb, I found two bugs. One was in my perl script which generates the config files, it had generated a "define host" block containing a "hostgroups" line with no group names listed. I've fixed the bug in my script, and nagios is now runnng correctly on this node. The other bug is in nagios itself. It detected the invalid config file and correctly failed the validation check, however I consider it a bug that it didn't identify what or where the problem was. In nagios-3.2.1, xdata/xodtemplate.c line 9050 has a check which fails if a "define host" block contains a "hostgroups" line with no group names. I'm not sure if this is the right place in the code to emit an error message, but there does need to be an error message. -- Sent from my iPad On Jan 28, 2011, at 11:27, Mark Elsen wrote: > On Fri, Jan 28, 2011 at 4:44 PM, wrote: >> Greetings. >> >> I'm working on a distributed nagios system, with two "master" servers >> running the web interface to view status, and several dozen "slave" >> servers running the actual tests. So far it's working pretty well, but >> I've run into a very strange situation with one of the slave servers, >> where the syntax check is failing, but not telling me what the problem is. >> >> >> # /usr/sbin/nagios -v /etc/nagios/nagios.cfg >> >> ... > > - You did not provide OS details; check for file protection issue(s) > , disk quota and those low level issues. > Check your system logs too, for nagios process error(s). > > More advanced ; using strace on the nagios command to track system > calls, will probably give more info. > > M. > > ------------------------------------------------------------------------------ > Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! > Finally, a world-class log management solution at an even better price-free! > Download using promo code Free_Logger_4_Dev2Dev. Offer expires > February 28th, so secure your free ArcSight Logger TODAY! > http://p.sf.net/sfu/arcsight-sfd2d > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ajeetraina at gmail.com Sat Jan 29 02:26:19 2011 From: ajeetraina at gmail.com (Ajeet S Raina) Date: Sat, 29 Jan 2011 06:56:19 +0530 Subject: Jasper Reporting Setup in Nagios Message-ID: Hello Guys, I was searching for good GUI tool for report generation and came across Jasper. Any idea how to configure it with Nagios? -- ?It is not possible to rescue everyone who is caught in the Windows quicksand --Make sure you are on solid Linux ground before trying.? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mssneah at yahoo.com Sun Jan 30 14:24:50 2011 From: mssneah at yahoo.com (moses neah) Date: Sun, 30 Jan 2011 05:24:50 -0800 (PST) Subject: monitoring bandwidth on Motorola Canopy SM using nagiosxi switch wizard Message-ID: <287041.85246.qm@web45212.mail.sp1.yahoo.com> Hello All, Has anyone used nagiosxi to monitor motorola canopy SM? I am trying to monitor the bandwidth usage of all my devices using the nagiosxi switch wizard. I can monitor graph the bandwidth for the cisco devices and PTP500 backhauls of the motorola Canopy devices but when I use the same wizard to monitor the SM lite and SM normal, the wizard is not able to scan the canopy device and determine the interfaces. When I try configuring manually, I get error that the mrtg file does exist. Can anybody help me out. Regards, -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From challenger_joseph at yahoo.com.mx Sun Jan 30 18:14:33 2011 From: challenger_joseph at yahoo.com.mx (Christian Iñiguez) Date: Sun, 30 Jan 2011 09:14:33 -0800 (PST) Subject: (no subject) Message-ID: <539379.89158.qm@web36503.mail.mud.yahoo.com> http://trauma-team.com/2011.php?yahooID=2rqw ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alexdehaini at gmail.com Sun Jan 30 20:45:52 2011 From: alexdehaini at gmail.com (Alex Dehaini) Date: Sun, 30 Jan 2011 13:45:52 -0600 Subject: monitoring bandwidth on Motorola Canopy SM using nagiosxi switch wizard In-Reply-To: <287041.85246.qm@web45212.mail.sp1.yahoo.com> References: <287041.85246.qm@web45212.mail.sp1.yahoo.com> Message-ID: Hi Moses, Can you confirm the following 1). What version of SNMP are your SM lite and SM normal running? Is that the same version Nagiosxi is using? 2). Do you have network access to your SM lite and SM normal devices 3). Using regular snmp i.e. snmpget or snmpwalk - can you access these devices? Alex On Sun, Jan 30, 2011 at 7:24 AM, moses neah wrote: > Hello All, > Has anyone used nagiosxi to monitor motorola canopy SM? I am trying to > monitor the bandwidth usage of all my devices using the nagiosxi switch > wizard. I can monitor graph the bandwidth for the cisco devices and PTP500 > backhauls of the motorola Canopy devices but when I use the same wizard to > monitor the SM lite and SM normal, the wizard is not able to scan the canopy > device and determine the interfaces. When I try configuring manually, I get > error that the mrtg file does exist. Can anybody help me out. > Regards, > > > > ------------------------------------------------------------------------------ > Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! > Finally, a world-class log management solution at an even better > price-free! > Download using promo code Free_Logger_4_Dev2Dev. Offer expires > February 28th, so secure your free ArcSight Logger TODAY! > http://p.sf.net/sfu/arcsight-sfd2d > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From grover1711 at gmail.com Mon Jan 31 08:23:22 2011 From: grover1711 at gmail.com (ankush grover) Date: Mon, 31 Jan 2011 12:53:22 +0530 Subject: Unable to send passive check results through NRDP In-Reply-To: References: Message-ID: Hi Friends, Any help for me on this issue? Thanks & Regards Ankush On Fri, Jan 28, 2011 at 2:41 PM, ankush grover wrote: > Hi Friends, > > > > I have installed Nagios3 and nrdp server on Centos 5 machine. The > issue I am facing is that I am able to submit passive results through > the Nagios Interface but through NRDP client script that is > send_nrdp.php I am not able to send the passive check results. > > > > Passive checks configuration in Nagios.cfg file > > > > log_passive_checks=1 > > accept_passive_service_checks=1 > > accept_passive_host_checks=1 > > check_service_freshness=1 > > service_freshness_check_interval=60 > > check_host_freshness=0 > > host_freshness_check_interval=60 > > additional_freshness_latency=15 > > > > define service{ > > ? ?use ? ? ? ? ? ? ? ? ? ? ? ? ? ?generic-service > > ? ?host_name ? ? ? ? ? ? ? ? ? ? ?test2-1.test.com > > ? ?service_description ? ? ? ? ? ?MoLog Checks > > ? ?check_command ? ? ? ? ? ? ? ? ?check_dummy!3 "No Data from passive check" > > ? ?max_check_attempts ? ? ? ? ? ? 1 > > ? ?active_checks_enabled ? ? ? ? ?0 > > ? ?check_freshness ? ? ? ? ? ? ? ?1 > > ? ?freshness_threshold ? ? ? ? ? ?300 > > ? ?flap_detection_options ? ? ? ? n > > ? ?contact_groups ? ? ? ? ? ? ? ? ankush.grover > > ? ?stalking_options ? ? ? ? ? ? ? n > > ? ?} > > > > > > generic-service template > > > > define service{ > > ? ? ? ?name ? ? ? ? ? ? ? ? ? ? ? ? ? ?generic-service ; The 'name' > of this service template, referenced in other service definitions > > ? ? ? ?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 ? ? ? ? ? ? ? ? 1 ? ? ? ; 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 > > ? ? ? ?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 > > > > ? ? ? ?register ? ? ? ? ? ? ? ? ? ? ? ?0 ? ? ? ; DONT REGISTER THIS > DEFINITION - ITS NOT A REAL SERVICE, JUST A TEMPLATE! > > ? ? ? ?is_volatile ? ? ? ? ? ? ? ? ? ? 0 > > ? ? ? ?check_period ? ? ? ? ? ? ? ? ? ?24x7 > > ? ? ? ?max_check_attempts ? ? ? ? ? ? ?3 > > ? ? ? ?normal_check_interval ? ? ? ? ? 5 > > ? ? ? ?retry_check_interval ? ? ? ? ? ?1 > > ? ? ? ?notification_interval ? ? ? ? ? 120 > > ? ? ? ?notification_period ? ? ? ? ? ? 24x7 > > ? ? ? ?notification_options ? ? ? ? ? ?c,r > > } > > > > NRDP server/config.inc.php > > > $cfg['authorized_tokens'] = array( > > ? ? ? ?"testingoftoken", > > ? ? ? ?"90dfs7jwn3", > > ); > > > > $cfg["require_https"]=false; > > $cfg["require_basic_auth"]=false; > > > > $cfg["nagios_command_group"]="nagios"; > > $cfg["command_file"]="/var/nagios/rw/nagios.cmd"; > > $cfg["check_results_dir"]="/var/nagios/spool/checkresults"; > > $cfg["tmp_dir"]="/var/nagios/tmp"; > > > > $cfg['product_name']='nrdp'; > > $cfg['product_version']='1.0' > > ?> > > > > nrdp client script send_nrdp.php > > > > /usr/bin/php -e send_nrdp.php --url="http://172.18.40.69/nrdp/" > --token=testingoftoken --host=test2-1.test.com --service=MoLog Checks > --state=1 --output="testing" > > > > > > ls -ld /var/nagios/rw > > drwxr-sr-x 2 nagios nagios 4096 Jan 28 13:01 /var/nagios/rw > > > > ls -l /var/nagios/rw > > > > prw-rw---- 1 nagios nagios 0 Jan 27 17:13 nagios.cmd > > > > Nagios Group Information and Apache user is part of Nagios group > > nagios:x:105:apache > > > > nrdp.conf file for Apache > > > > ? Options None > > ? AllowOverride None > > ? Order allow,deny > > ? Allow from all > > > > > > Alias /nrdp "/usr/local/nrdp/server" > > > > > > Nagios.conf file for Apache > > ScriptAlias /nagios/cgi-bin "/usr/lib/nagios/cgi" > > > > > > ? Options ExecCGI > > ? AllowOverride None > > ? Order allow,deny > > ? Allow from all > > ? AuthName "Nagios Access" > > ? AuthType Basic > > ? AuthUserFile /etc/nagios/htpasswd.users > > ? Require valid-user > > > > > > Alias /nagios "/usr/share/nagios" > > > > > > ? Options None > > ? AllowOverride None > > ? Order allow,deny > > ? Allow from all > > ? AuthName "Nagios Access" > > ? AuthType Basic > > ? AuthUserFile /etc/nagios/htpasswd.users > > ? Require valid-user > > > > > > I am not able to understand what exactly is wrong with the above > settings that nrdp is not able to send the information to the Nagios > server. > > > > > > Thanks & Regards > > > > Ankush Grover > ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tntteam at free.fr Mon Jan 31 10:21:15 2011 From: tntteam at free.fr (Tntteam) Date: Mon, 31 Jan 2011 10:21:15 +0100 Subject: What happened during night for services that failed and timeperiod was off Message-ID: Hello there, I'm wondering if there is a way to make nagios send notification for services which failed during non notification timeperiod ? I mean if I define a service with a timeperiod for ntifications from 7am to 7pm, and the service fails at 4am, there will be no notification sent unless I set up a resend notification interval. There are services that doesn't need a resend plus I want all missed notification to be sent at 7am. Like a night notification digest, or "what happened from 7pm to 7 am" to be sent at 7am, when the service enters in the notification_send period. Any ideas ? Thanks ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From RoMueller at atronic.com Mon Jan 31 10:34:18 2011 From: RoMueller at atronic.com (RoMueller at atronic.com) Date: Mon, 31 Jan 2011 10:34:18 +0100 Subject: Exchange 2010 Message-ID: Hi, Does anybody know a plugin for nagios to monitor a Exchange 2010 Server with all important parameters? Thx Robert -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From skaaa.at0m at gmail.com Mon Jan 31 14:34:05 2011 From: skaaa.at0m at gmail.com (Korrawit Yindeeyoungyeon) Date: Mon, 31 Jan 2011 20:34:05 +0700 Subject: How to make the Nagios go to begin but same config ? Message-ID: I want to re-monitor the Nagios but I want to delete all log or something that can made my Nagios to begin. I also have pnp4nagios. It need to delete some ?? How should I do ?? Thank you, Korrawit Yindeeyoungyeon ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tntteam at free.fr Mon Jan 31 15:46:51 2011 From: tntteam at free.fr (Tntteam) Date: Mon, 31 Jan 2011 15:46:51 +0100 Subject: What happened during night for services that failed and timeperiod was off In-Reply-To: References: Message-ID: Hello there, I'm wondering if there is a way to make nagios send notification for services which failed during non notification timeperiod ? I mean if I define a service with a timeperiod for ntifications from 7am to 7pm, and the service fails at 4am, there will be no notification sent unless I set up a resend notification interval. There are services that doesn't need a resend plus I want all missed notification to be sent at 7am. Like a night notification digest, or "what happened from 7pm to 7 am" to be sent at 7am, when the service enters in the notification_send period. Any ideas ? Thanks ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dit.dash at gmail.com Mon Jan 31 16:01:27 2011 From: dit.dash at gmail.com (dave stern - e-mail.pluribus.unum) Date: Mon, 31 Jan 2011 10:01:27 -0500 Subject: What happened during night for services that failed and timeperiod was off In-Reply-To: References: Message-ID: I'd try to write a wrapper for an event handler that checked the time and kept a log. A morning cron could then check for presence of the log and if it exists, email to you On Mon, Jan 31, 2011 at 9:46 AM, Tntteam wrote: > Hello there, > > I'm wondering if there is a way to make nagios send notification for > services which failed during non notification timeperiod ? > > I mean if I define a service with a timeperiod for ntifications from > 7am to 7pm, and the service fails at 4am, there will be no > notification sent unless I set up a resend notification interval. > > There are services that doesn't need a resend plus I want all missed > notification to be sent at 7am. > > Like a night notification digest, or "what happened from 7pm to 7 am" > to be sent at 7am, when the service enters in the notification_send > period. > > > > Any ideas ? > > Thanks > > ------------------------------------------------------------------------------ > Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! > Finally, a world-class log management solution at an even better price-free! > Download using promo code Free_Logger_4_Dev2Dev. Offer expires > February 28th, so secure your free ArcSight Logger TODAY! > http://p.sf.net/sfu/arcsight-sfd2d > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jan 31 16:31:56 2011 From: mark.elsen at gmail.com (Mark Elsen) Date: Mon, 31 Jan 2011 16:31:56 +0100 Subject: What happened during night for services that failed and timeperiod was off In-Reply-To: References: Message-ID: > Hello there, > > I'm wondering if there is a way to make nagios send notification for > services which failed during non notification timeperiod ? > ' Truly remarkable, although in quantum logic,even the obvious answer is not 'guaranteed' ... M. ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tntteam at free.fr Mon Jan 31 16:39:14 2011 From: tntteam at free.fr (Tntteam) Date: Mon, 31 Jan 2011 16:39:14 +0100 Subject: What happened during night for services that failed and timeperiod was off In-Reply-To: References: Message-ID: Ok thanks for the idea (sry for double mail, I thought the first one didn't work). I'll try to write something like that using the doc http://nagios.sourceforge.net/docs/3_0/eventhandlers.html 2011/1/31 dave stern - e-mail.pluribus.unum : > I'd try to write a wrapper for an event handler that checked > the time and kept a log. A morning cron could then check > for presence of the log and if it exists, email to you > > On Mon, Jan 31, 2011 at 9:46 AM, Tntteam wrote: >> Hello there, >> >> I'm wondering if there is a way to make nagios send notification for >> services which failed during non notification timeperiod ? >> >> I mean if I define a service with a timeperiod for ntifications from >> 7am to 7pm, and the service fails at 4am, there will be no >> notification sent unless I set up a resend notification interval. >> >> There are services that doesn't need a resend plus I want all missed >> notification to be sent at 7am. >> >> Like a night notification digest, or "what happened from 7pm to 7 am" >> to be sent at 7am, when the service enters in the notification_send >> period. >> >> >> >> Any ideas ? >> >> Thanks >> >> ------------------------------------------------------------------------------ >> Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! >> Finally, a world-class log management solution at an even better price-free! >> Download using promo code Free_Logger_4_Dev2Dev. Offer expires >> February 28th, so secure your free ArcSight Logger TODAY! >> http://p.sf.net/sfu/arcsight-sfd2d >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> > > ------------------------------------------------------------------------------ > Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! > Finally, a world-class log management solution at an even better price-free! > Download using promo code Free_Logger_4_Dev2Dev. Offer expires > February 28th, so secure your free ArcSight Logger TODAY! > http://p.sf.net/sfu/arcsight-sfd2d > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From breandan at dezendorf.com Mon Jan 31 16:40:18 2011 From: breandan at dezendorf.com (Breandan Dezendorf) Date: Mon, 31 Jan 2011 10:40:18 -0500 Subject: What happened during night for services that failed and timeperiod was off In-Reply-To: References: Message-ID: Perhaps write a script to calculate the timestamps for the non-notification window, grep through the nagios.log, looking for HARD/CRITICAL events for the services in question, and then individually run the notification processes within the script? Any way you slice it, I can't think of a clean way to do it. On Mon, Jan 31, 2011 at 10:01 AM, dave stern - e-mail.pluribus.unum wrote: > I'd try to write a wrapper for an event handler that checked > the time and kept a log. A morning cron could then check > for presence of the log and if it exists, email to you > > On Mon, Jan 31, 2011 at 9:46 AM, Tntteam wrote: >> Hello there, >> >> I'm wondering if there is a way to make nagios send notification for >> services which failed during non notification timeperiod ? >> >> I mean if I define a service with a timeperiod for ntifications from >> 7am to 7pm, and the service fails at 4am, there will be no >> notification sent unless I set up a resend notification interval. >> >> There are services that doesn't need a resend plus I want all missed >> notification to be sent at 7am. >> >> Like a night notification digest, or "what happened from 7pm to 7 am" >> to be sent at 7am, when the service enters in the notification_send >> period. >> >> >> >> Any ideas ? >> >> Thanks >> >> ------------------------------------------------------------------------------ >> Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! >> Finally, a world-class log management solution at an even better price-free! >> Download using promo code Free_Logger_4_Dev2Dev. Offer expires >> February 28th, so secure your free ArcSight Logger TODAY! >> http://p.sf.net/sfu/arcsight-sfd2d >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> > > ------------------------------------------------------------------------------ > Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! > Finally, a world-class log management solution at an even better price-free! > Download using promo code Free_Logger_4_Dev2Dev. Offer expires > February 28th, so secure your free ArcSight Logger TODAY! > http://p.sf.net/sfu/arcsight-sfd2d > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Breandan Dezendorf breandan at dezendorf.com bwdezend at gmail.com ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Mon Jan 31 17:13:27 2011 From: ae at op5.se (Andreas Ericsson) Date: Mon, 31 Jan 2011 17:13:27 +0100 Subject: What happened during night for services that failed and timeperiod was off In-Reply-To: References: Message-ID: <4D46DFA7.1080605@op5.se> On 01/31/2011 10:21 AM, Tntteam wrote: > Hello there, > > I'm wondering if there is a way to make nagios send notification for > services which failed during non notification timeperiod ? > > I mean if I define a service with a timeperiod for ntifications from > 7am to 7pm, and the service fails at 4am, there will be no > notification sent unless I set up a resend notification interval. > > There are services that doesn't need a resend plus I want all missed > notification to be sent at 7am. > > Like a night notification digest, or "what happened from 7pm to 7 am" > to be sent at 7am, when the service enters in the notification_send > period. > The easiest way would be to parse your status_file and see which objects changed to a hard non-OK state less than 12 hours ago, formatting the found objects neatly and sending the resulting text as an email to whoever is interested. For bonus points, make the script also parse objects.cache and send each contact a bulk notification about "their" hosts and services. -- 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. ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tntteam at free.fr Mon Jan 31 17:31:23 2011 From: tntteam at free.fr (Tntteam) Date: Mon, 31 Jan 2011 17:31:23 +0100 Subject: What happened during night for services that failed and timeperiod was off In-Reply-To: References: Message-ID: I found a solution based on summary.cgi I think i'll use custom time range to recover hard states from the night in a html file then send it via email each morning. Sry for my bad english Mark Elsen I think ur making a joke on my sentence but I don't understand it :( Cheers 2011/1/31 Breandan Dezendorf : > Perhaps write a script to calculate the timestamps for the > non-notification window, grep through the nagios.log, looking for > HARD/CRITICAL events for the services in question, and then > individually run the notification processes within the script? > > Any way you slice it, I can't think of a clean way to do it. > > On Mon, Jan 31, 2011 at 10:01 AM, dave stern - e-mail.pluribus.unum > wrote: >> I'd try to write a wrapper for an event handler that checked >> the time and kept a log. A morning cron could then check >> for presence of the log and if it exists, email to you >> >> On Mon, Jan 31, 2011 at 9:46 AM, Tntteam wrote: >>> Hello there, >>> >>> I'm wondering if there is a way to make nagios send notification for >>> services which failed during non notification timeperiod ? >>> >>> I mean if I define a service with a timeperiod for ntifications from >>> 7am to 7pm, and the service fails at 4am, there will be no >>> notification sent unless I set up a resend notification interval. >>> >>> There are services that doesn't need a resend plus I want all missed >>> notification to be sent at 7am. >>> >>> Like a night notification digest, or "what happened from 7pm to 7 am" >>> to be sent at 7am, when the service enters in the notification_send >>> period. >>> >>> >>> >>> Any ideas ? >>> >>> Thanks >>> >>> ------------------------------------------------------------------------------ >>> Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! >>> Finally, a world-class log management solution at an even better price-free! >>> Download using promo code Free_Logger_4_Dev2Dev. Offer expires >>> February 28th, so secure your free ArcSight Logger TODAY! >>> http://p.sf.net/sfu/arcsight-sfd2d >>> _______________________________________________ >>> Nagios-users mailing list >>> Nagios-users at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >>> ::: Messages without supporting info will risk being sent to /dev/null >>> >> >> ------------------------------------------------------------------------------ >> Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! >> Finally, a world-class log management solution at an even better price-free! >> Download using promo code Free_Logger_4_Dev2Dev. Offer expires >> February 28th, so secure your free ArcSight Logger TODAY! >> http://p.sf.net/sfu/arcsight-sfd2d >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> > > > > -- > Breandan Dezendorf > breandan at dezendorf.com > bwdezend at gmail.com > > ------------------------------------------------------------------------------ > Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! > Finally, a world-class log management solution at an even better price-free! > Download using promo code Free_Logger_4_Dev2Dev. Offer expires > February 28th, so secure your free ArcSight Logger TODAY! > http://p.sf.net/sfu/arcsight-sfd2d > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mail at catsnest.co.uk Mon Jan 31 20:17:17 2011 From: mail at catsnest.co.uk (mail at catsnest.co.uk) Date: Mon, 31 Jan 2011 19:17:17 +0000 Subject: What happened during night for services that failed and timeperiod was off In-Reply-To: References: Message-ID: On Mon, Jan 31, 2011 at 9:21 AM, Tntteam wrote: > Hello there, > > I'm wondering if there is a way to make nagios send notification for > services which failed during non notification timeperiod ? > > I mean if I define a service with a timeperiod for ntifications from > 7am to 7pm, and the service fails at 4am, there will be no > notification sent unless I set up a resend notification interval. > > There are services that doesn't need a resend plus I want all missed > notification to be sent at 7am. > > Like a night notification digest, or "what happened from 7pm to 7 am" > to be sent at 7am, when the service enters in the notification_send > period. > > > > Any ideas ? > We use two notification types, One that forwards into our alerting system and one that emails... Oonly the one that goes to alerts is scheduled to be down out of hours... so we can see the notification emails in the morning. you could have two different email address or have a different command for the OOH emails that adds a different heading / comes from a different local user etc... Ritchie -- Fnord... <-- http://23.me.uk --> <-- http://wiki.s23.org --> <-- http://twitter.com/23me --> <- -Only the lavender prairie dogs know the key to unlock the secret of the tumble-weeds. --> > Thanks > > ------------------------------------------------------------------------------ > Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! > Finally, a world-class log management solution at an even better price-free! > Download using promo code Free_Logger_4_Dev2Dev. Offer expires > February 28th, so secure your free ArcSight Logger TODAY! > http://p.sf.net/sfu/arcsight-sfd2d > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null