From nagiosusers at edcint.co.nz Fri Jul 1 00:00:56 2011 From: nagiosusers at edcint.co.nz (Matthew Jurgens) Date: Fri, 01 Jul 2011 08:00:56 +1000 Subject: Nagios monitor Windows diskspace In-Reply-To: References: Message-ID: <4E0CF218.8020903@edcint.co.nz> You might like to try monitoring your Windows servers without installing anything on any Windows server (or introducing a point of failure) by checking them directly from your Nagios server. http://exchange.nagios.org/directory/Plugins/Operating-Systems/Windows/WMI/Check-WMI-Plus/details On 30/06/2011 9:40 PM, Marc Haber wrote: > Hi all. > I am currently deploying a Nagios installation to monitor several hundreds > of nodes within our company. I installed NSClient++ on the WXP machines > and configured Nagios to query it. > -- Smartmon System Monitoring www.smartmon.com.au -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fabrice at laborie.eu Fri Jul 1 06:43:21 2011 From: fabrice at laborie.eu (Fabrice Laborie) Date: Fri, 1 Jul 2011 08:43:21 +0400 Subject: getting warnings/critical alerts from check_snmp / extend Message-ID: Hi! I am struggling to get check_snmp to return critical/warning info for a simple "extend" in snmpd.conf (extend minutecheck /bin/sh /usr/local/bin/minutecheck.sh ), while it is working for ifInUcastPkts I suspect that the comparison with the range may not be happening if the returned value is not a Counter32. the extend seems to be returning a STRING by default. Is this the case ? Can I force a cast from STRING to Counter32 by check_snmp ? Or is there a way to get snmpd to return a Counter32 directly?? snmpget -v2c -c public 192.168.25.11 iso.3.6.1.4.1.8072.1.3.2.4.1.2.11.109.105.110.117.116.101.99.104.101.99.107.1 iso.3.6.1.2.1.2.2.1.11.1 iso.3.6.1.4.1.8072.1.3.2.4.1.2.11.109.105.110.117.116.101.99.104.101.99.107.1 = STRING: "19" iso.3.6.1.2.1.2.2.1.11.1 = Counter32: 39514 /usr/local/nagios/libexec/check_snmp -H 192.168.25.11 -o iso.3.6.1.2.1.2.2.1.11.1 -C public -w @38000:38900 -c @38901: SNMP CRITICAL - *39458* | IF-MIB::ifInUcastPkts.1=39458c /usr/local/nagios/libexec/check_snmp -H 192.168.25.11 -o iso.3.6.1.4.1.8072.1.3.2.4.1.2.11.109.105.110.117.116.101.99.104.101.99.107.1 -C public -w @10:15 -c @16: SNMP OK - 18 | NET-SNMP-EXTEND-MIB::nsExtendOutLine."minutecheck".1=18 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Fri Jul 1 08:46:34 2011 From: ae at op5.se (Andreas Ericsson) Date: Fri, 01 Jul 2011 08:46:34 +0200 Subject: [Nagios-users] RFC/RFP Nagios command workers In-Reply-To: References: <4DD3DB27.2010903@op5.se> <4DDA390C.50403@op5.se> <4E0AE768.9030708@op5.se> Message-ID: <4E0D6D4A.4070402@op5.se> On 06/30/2011 11:58 PM, Adam Augustine wrote: > > There seem to be two issues, I think, that are getting mixed here. I think > the accusation of Mozilla Firefox/Nagios Core feature stagnation is a > separate issue from > putting things in core as opposed to making them a NEB module. > > The Linux kernel is a good example of tons of features existing in modules > and > not being included in the core, yet not having the feature stagnation > problem. > The difference between those and FF/Nagios is that the modules are included > in > the /distribution/ of the code and many are active by default. > The kernel has far more compelling reasons to turn things into modules though, since very far from every system is directly connected to a token ring network, or hooked up to an atomic clock via the parallell port or similar weird things that Linux supports but that is pretty unusual. > This has the major advantage that if someone doesn't like/need a particular > module, > it can be trivially removed. This helps performance tuning. etc. At the same > time, > it allows feature progression, by default. > > I think if this approach were taken, more modularization rather than hard > coding things into the core, but including more widely accepted modules > in the default Nagios Core distribution, that would keep everyone happy. > Possibly, but then we'd have collaboration issues between core coders and module hackers instead, and new modules would need some way of getting included that doesn't interfere with other modules. > That being said, I think placing the networking socket code into the core is > completely reasonable, since it is such an essential part of the > architecture. Since worker processes is intended to be the new default way of running checks, everything that that functionality relies on must ofcourse also be in the core. The fact that it makes life easier for a ton of modules is just a happy accident, really. -- 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. ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 From nagiostool at gmail.com Fri Jul 1 08:47:20 2011 From: nagiostool at gmail.com (nag ios) Date: Fri, 1 Jul 2011 12:17:20 +0530 Subject: Windows monitoring error In-Reply-To: References: <4E0C5600.3090406@flatto.net> <4E0C610E.4070800@flatto.net> Message-ID: what does the unauthorised access means???? > > the ip and password's are same in both the commands.cfg and ns.ini file > > Whats the exact problem can u figure it out???? > I have tried to reinstall it also but same problem can you help me?????? > > On Thu, Jun 30, 2011 at 5:12 PM, Assaf Flatto wrote: > >> And you can't see what the problem from the log ? >> >> >> nag ios wrote: >> > >> > >> > 2011-06-30 15:45:42: message:modules\FileLogger\FileLogger.cpp:86: >> > Starting to log for: NSClient++ - 0.3.9.306 2011-05-01 >> > 2011-06-30 15:45:57: debug:CACHENSClient++.cpp:557: Attempting to >> > start NSCLient++ - 0.3.9.306 2011-05-01 >> > 2011-06-30 15:45:57: message:CACHENSClient++.cpp:607: Enabling shared >> > session... >> > 2011-06-30 15:45:57: message:CACHENSClient++.cpp:609: Starting shared >> > session... >> > 2011-06-30 15:45:57: >> > >> message:CACHED:\source\nscp\branches\stable\include\nsclient_session.hpp:459: >> > Created new master session: channel-server= >> > {Global\NSClientPP_channel_server_write, >> > Global\NSClientPP_channel_server_signal, >> > Global\NSClientPP_channel_server_memory} >> > 2011-06-30 15:45:57: >> > >> error:CACHED:\source\nscp\branches\stable\include\nsclient_session.hpp:265: >> > Starting session responder for: server >> > 2011-06-30 15:45:57: error:CACHENSClient++.cpp:739: Failed to >> > enumerate sessions:1702: The binding handle is invalid. >> > 2011-06-30 15:45:57: >> > message:CACHEmodules\FileLogger\FileLogger.cpp:87: Log path is: >> > C:\Program Files\NSClient++\\nsclient.log >> > 2011-06-30 15:45:57: error:modules\CheckSystem\PDHCollector.cpp:215: >> > Failed to query performance counters: \Processor(_total)\% Processor >> > Time: PdhGetFormattedCounterValue failed: A counter with a negative >> > denominator value was detected. (800007D6) >> > 2011-06-30 15:46:25: error:modules\CheckSystem\PDHCollector.cpp:215: >> > Failed to query performance counters: \Processor(_total)\% Processor >> > Time: PdhGetFormattedCounterValue failed: A counter with a negative >> > denominator value was detected. (800007D6) >> > 2011-06-30 15:46:33: error:modules\CheckSystem\PDHCollector.cpp:215: >> > Failed to query performance counters: \Processor(_total)\% Processor >> > Time: PdhGetFormattedCounterValue failed: A counter with a negative >> > denominator value was detected. (800007D6) >> > 2011-06-30 15:47:34: error:modules\CheckSystem\PDHCollector.cpp:215: >> > Failed to query performance counters: \Processor(_total)\% Processor >> > Time: PdhGetFormattedCounterValue failed: A counter with a negative >> > denominator value was detected. (800007D6) >> > 2011-06-30 15:47:38: message:NSClient++.cpp:93: Running: C:\Program >> > Files\NSClient++\\nstray.exe >> > 2011-06-30 15:47:38: message:NSClient++.cpp:94: Running: "C:\Program >> > Files\NSClient++\\nstray.exe" -channel __0__ >> > 2011-06-30 15:47:39: message:NSClient++.cpp:161: Started tray in other >> > user session: 0 >> > 2011-06-30 15:47:41: >> > message:D:\source\nscp\branches\stable\include\nsclient_session.hpp:776: >> > __0__ says hello! >> > 2011-06-30 16:00:23: message:NSClient++.cpp:93: Running: C:\Program >> > Files\NSClient++\\nstray.exe >> > 2011-06-30 16:00:28: >> > error:D:\source\nscp\branches\stable\include\nsclient_session.hpp:532: >> > Client channel is down (removing it): Failed to get mutex when >> > attempting to post message: timed out >> > 2011-06-30 16:00:28: message:NSClient++.cpp:94: Running: "C:\Program >> > Files\NSClient++\\nstray.exe" -channel __0__ >> > 2011-06-30 16:00:29: message:NSClient++.cpp:161: Started tray in other >> > user session: 0 >> > 2011-06-30 16:00:29: >> > message:D:\source\nscp\branches\stable\include\nsclient_session.hpp:776: >> > __0__ says hello! >> > 2011-06-30 16:06:08: >> > error:modules\NSClientListener\NSClientListener.cpp:314: Unauthorized >> > access from: 172.x.x.x >> > 2011-06-30 16:06:26: >> > error:modules\NSClientListener\NSClientListener.cpp:314: Unauthorized >> > access from: 172.x.x.x >> > 2011-06-30 16:08:16: >> > error:modules\NSClientListener\NSClientListener.cpp:314: Unauthorized >> > access from: 172.x.x.x >> > 2011-06-30 16:10:25: >> > error:modules\NSClientListener\NSClientListener.cpp:314: Unauthorized >> > access from: 172.x.x.x >> > 2011-06-30 16:10:43: >> > error:modules\NSClientListener\NSClientListener.cpp:314: Unauthorized >> > access from: 172.x.x.x >> > 2011-06-30 16:12:34: >> > error:modules\NSClientListener\NSClientListener.cpp:314: Unauthorized >> > access from: 172.x.x.x >> > 2011-06-30 16:12:52: >> > error:modules\NSClientListener\NSClientListener.cpp:314: Unauthorized >> > access from: 172.x.x.x >> > 2011-06-30 16:16:08: >> > error:modules\NSClientListener\NSClientListener.cpp:314: Unauthorized >> > access from: 172.x.x.x >> > 2011-06-30 16:16:26: >> > error:modules\NSClientListener\NSClientListener.cpp:314: Unauthorized >> > access from: 172.x.x.x >> > 2011-06-30 16:18:16: >> > error:modules\NSClientListener\NSClientListener.cpp:314: Unauthorized >> > access from: 172.x.x.x >> > 2011-06-30 16:20:25: >> > error:modules\NSClientListener\NSClientListener.cpp:314: Unauthorized >> > access from: 172.x.x.x >> > 2011-06-30 16:20:43: >> > error:modules\NSClientListener\NSClientListener.cpp:314: Unauthorized >> > access from: 172.x.x.x >> > 2011-06-30 16:22:34: >> > error:modules\NSClientListener\NSClientListener.cpp:314: Unauthorized >> > access from: 172.x.x.x >> > 2011-06-30 16:22:52: >> > error:modules\NSClientListener\NSClientListener.cpp:314: Unauthorized >> > access from: 172.x.x.x >> > 2011-06-30 16:26:08: >> > error:modules\NSClientListener\NSClientListener.cpp:314: Unauthorized >> > access from: 172.x.x.x >> > 2011-06-30 16:26:26: >> > error:modules\NSClientListener\NSClientListener.cpp:314: Unauthorized >> > access from: 172.x.x.x >> > 2011-06-30 16:28:16: >> > error:modules\NSClientListener\NSClientListener.cpp:314: Unauthorized >> > access from: 172.x.x.x >> > >> > >> > This is the error message im getting in log file of nsclient >> > >> > >> > >> >> >> >> ------------------------------------------------------------------------------ >> All of the data generated in your IT infrastructure is seriously valuable. >> Why? It contains a definitive record of application performance, security >> threats, fraudulent activity, and more. Splunk takes this data and makes >> sense of it. IT sense. And common sense. >> http://p.sf.net/sfu/splunk-d2d-c2 >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: 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 -------------- ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From m.borsani at it.net Fri Jul 1 08:53:06 2011 From: m.borsani at it.net (Marco Borsani) Date: Fri, 1 Jul 2011 08:53:06 +0200 Subject: R: how to manage a distributed configuration In-Reply-To: <033901cc34c2$d74e1460$85ea3d20$@it.net> References: <033901cc34c2$d74e1460$85ea3d20$@it.net> Message-ID: <000001cc37bb$8b1ff080$a15fd180$@it.net> None use a distributed Nagios environment with a mysql db ? Marco Da: Marco Borsani [mailto:m.borsani at it.net] Inviato: luned? 27 giugno 2011 14:08 A: NAGIOS Oggetto: [Nagios-users] how to manage a distributed configuration Hi all Here it is what I?d like to develop. - In three different sites, I will install three Nagios server - Every server will control his local computers (about 150 clients each Nagios server) like active hosts/services - Two of those Nagios server have to report information to the other (central Nagios server), using NSCA/send_nsca , like passive hosts/services I?d like to use mysql database, but how can I manage this configuration ? May I use only one mysql DB on central Nagios server , then extract and distribute the configuration or what ? Regards Marco -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rlemerlus at merethis.com Fri Jul 1 09:05:33 2011 From: rlemerlus at merethis.com (Romain Le Merlus) Date: Fri, 1 Jul 2011 09:05:33 +0200 Subject: R: how to manage a distributed configuration In-Reply-To: <000001cc37bb$8b1ff080$a15fd180$@it.net> References: <033901cc34c2$d74e1460$85ea3d20$@it.net> <000001cc37bb$8b1ff080$a15fd180$@it.net> Message-ID: Hi Marco, On Fri, Jul 1, 2011 at 8:53 AM, Marco Borsani wrote: > None use a distributed Nagios environment with a mysql db ? > You can try Centreon (http://www.centreon.com), a powerful GPL monitoring software based on Nagios core with MySQL DB. Here is a web demo: http://demo.centreon.com With Centreon, you can manage several Nagios pollers from a central web server. If you would like to test it easily, you might download the Centreon Enterprise Server ISO: http://www.centreon.com/Centreon-Enterprise-Server/ces-downloads.html Best regards. -- Romain LE MERLUS | Directeur des projets rlemerlus at merethis.com Tel. +33 (0)1 49 69 97 12 Mob. +33(0)6 85 05 02 82 MERETHIS est ?diteur du logiciel Centreon. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at flatto.net Fri Jul 1 09:50:24 2011 From: nagios at flatto.net (Assaf Flatto) Date: Fri, 01 Jul 2011 07:50:24 +0000 Subject: Windows monitoring error In-Reply-To: References: <4E0C5600.3090406@flatto.net> <4E0C610E.4070800@flatto.net> Message-ID: <4E0D7C40.5030207@flatto.net> nag ios wrote: > > > what does the unauthorised access means???? > > the ip and password's are same in both the commands.cfg and ns.ini > file > > Whats the exact problem can u figure it out???? > > > I have tried to reinstall it also but same problem can you help me?????? > > > On Thu, Jun 30, 2011 at 5:12 PM, Assaf Flatto > wrote: > > And you can't see what the problem from the log ? > > > nag ios wrote: > > > > > > 2011-06-30 15:45:42: > message:modules\FileLogger\FileLogger.cpp:86: > > Starting to log for: NSClient++ - 0.3.9.306 2011-05-01 > > 2011-06-30 15:45:57: debug:CACHENSClient++.cpp:557: > Attempting to > > start NSCLient++ - 0.3.9.306 2011-05-01 > > 2011-06-30 15:45:57: message:CACHENSClient++.cpp:607: > Enabling shared > > session... > > 2011-06-30 15:45:57: message:CACHENSClient++.cpp:609: > Starting shared > > session... > > 2011-06-30 15:45:57: > > > message:CACHED:\source\nscp\branches\stable\include\nsclient_session.hpp:459: > > Created new master session: channel-server= > > {Global\NSClientPP_channel_server_write, > > Global\NSClientPP_channel_server_signal, > > Global\NSClientPP_channel_server_memory} > > 2011-06-30 15:45:57: > > > error:CACHED:\source\nscp\branches\stable\include\nsclient_session.hpp:265: > > Starting session responder for: server > > 2011-06-30 15:45:57: error:CACHENSClient++.cpp:739: Failed to > > enumerate sessions:1702: The binding handle is invalid. > > 2011-06-30 15:45:57: > > message:CACHEmodules\FileLogger\FileLogger.cpp:87: Log path is: > > C:\Program Files\NSClient++\\nsclient.log > > 2011-06-30 15:45:57: > error:modules\CheckSystem\PDHCollector.cpp:215: > > Failed to query performance counters: \Processor(_total)\% > Processor > > Time: PdhGetFormattedCounterValue failed: A counter with a > negative > > denominator value was detected. (800007D6) > > 2011-06-30 15:46:25: > error:modules\CheckSystem\PDHCollector.cpp:215: > > Failed to query performance counters: \Processor(_total)\% > Processor > > Time: PdhGetFormattedCounterValue failed: A counter with a > negative > > denominator value was detected. (800007D6) > > 2011-06-30 15:46:33: > error:modules\CheckSystem\PDHCollector.cpp:215: > > Failed to query performance counters: \Processor(_total)\% > Processor > > Time: PdhGetFormattedCounterValue failed: A counter with a > negative > > denominator value was detected. (800007D6) > > 2011-06-30 15:47:34: > error:modules\CheckSystem\PDHCollector.cpp:215: > > Failed to query performance counters: \Processor(_total)\% > Processor > > Time: PdhGetFormattedCounterValue failed: A counter with a > negative > > denominator value was detected. (800007D6) > > 2011-06-30 15:47:38: message:NSClient++.cpp:93: Running: > C:\Program > > Files\NSClient++\\nstray.exe > > 2011-06-30 15:47:38: message:NSClient++.cpp:94: Running: > "C:\Program > > Files\NSClient++\\nstray.exe" -channel __0__ > > 2011-06-30 15:47:39: message:NSClient++.cpp:161: Started > tray in other > > user session: 0 > > 2011-06-30 15:47:41: > > > message:D:\source\nscp\branches\stable\include\nsclient_session.hpp:776: > > __0__ says hello! > > 2011-06-30 16:00:23: message:NSClient++.cpp:93: Running: > C:\Program > > Files\NSClient++\\nstray.exe > > 2011-06-30 16:00:28: > > > error:D:\source\nscp\branches\stable\include\nsclient_session.hpp:532: > > Client channel is down (removing it): Failed to get mutex when > > attempting to post message: timed out > > 2011-06-30 16:00:28: message:NSClient++.cpp:94: Running: > "C:\Program > > Files\NSClient++\\nstray.exe" -channel __0__ > > 2011-06-30 16:00:29: message:NSClient++.cpp:161: Started > tray in other > > user session: 0 > > 2011-06-30 16:00:29: > > > message:D:\source\nscp\branches\stable\include\nsclient_session.hpp:776: > > __0__ says hello! > > 2011-06-30 16:06:08: > > error:modules\NSClientListener\NSClientListener.cpp:314: > Unauthorized > > access from: 172.x.x.x > > 2011-06-30 16:06:26: > > error:modules\NSClientListener\NSClientListener.cpp:314: > Unauthorized > > access from: 172.x.x.x > > 2011-06-30 16:08:16: > > error:modules\NSClientListener\NSClientListener.cpp:314: > Unauthorized > > access from: 172.x.x.x > > 2011-06-30 16:10:25: > > error:modules\NSClientListener\NSClientListener.cpp:314: > Unauthorized > > access from: 172.x.x.x > > 2011-06-30 16:10:43: > > error:modules\NSClientListener\NSClientListener.cpp:314: > Unauthorized > > access from: 172.x.x.x > > 2011-06-30 16:12:34: > > error:modules\NSClientListener\NSClientListener.cpp:314: > Unauthorized > > access from: 172.x.x.x > > 2011-06-30 16:12:52: > > error:modules\NSClientListener\NSClientListener.cpp:314: > Unauthorized > > access from: 172.x.x.x > > 2011-06-30 16:16:08: > > error:modules\NSClientListener\NSClientListener.cpp:314: > Unauthorized > > access from: 172.x.x.x > > 2011-06-30 16:16:26: > > error:modules\NSClientListener\NSClientListener.cpp:314: > Unauthorized > > access from: 172.x.x.x > > 2011-06-30 16:18:16: > > error:modules\NSClientListener\NSClientListener.cpp:314: > Unauthorized > > access from: 172.x.x.x > > 2011-06-30 16:20:25: > > error:modules\NSClientListener\NSClientListener.cpp:314: > Unauthorized > > access from: 172.x.x.x > > 2011-06-30 16:20:43: > > error:modules\NSClientListener\NSClientListener.cpp:314: > Unauthorized > > access from: 172.x.x.x > > 2011-06-30 16:22:34: > > error:modules\NSClientListener\NSClientListener.cpp:314: > Unauthorized > > access from: 172.x.x.x > > 2011-06-30 16:22:52: > > error:modules\NSClientListener\NSClientListener.cpp:314: > Unauthorized > > access from: 172.x.x.x > > 2011-06-30 16:26:08: > > error:modules\NSClientListener\NSClientListener.cpp:314: > Unauthorized > > access from: 172.x.x.x > > 2011-06-30 16:26:26: > > error:modules\NSClientListener\NSClientListener.cpp:314: > Unauthorized > > access from: 172.x.x.x > > 2011-06-30 16:28:16: > > error:modules\NSClientListener\NSClientListener.cpp:314: > Unauthorized > > access from: 172.x.x.x > > > Your problem is that your nagios server is not authorized to talk to the nsclient read the nsclient documentation to see what needs tio be done. ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Jul 1 09:52:30 2011 From: timp at rndgroup.co.nz (Tim Philips) Date: Fri, 01 Jul 2011 19:52:30 +1200 Subject: Clearing previous flapping states? In-Reply-To: References: Message-ID: <8E99088A-8C4F-4700-9DDC-7E7D3A756F2C@rndgroup.co.nz> Thanks very much! I thought and suspected as much but didn't know if I was missing something with regards to being able to clear flapping. On 1/07/2011, at 1:39 AM, mail at catsnest.co.uk wrote: > On Thu, Jun 30, 2011 at 12:19 PM, Jim Avery wrote: >> On 30 June 2011 11:42, Tim Philips wrote: >>> Hi All, >>> >>> Tell me, is it possible to pass a command to the Nagios command file to clear (previous) flapping? I'm picking no - based on my understanding of the documentation but thought I would ask. >>> >>> The scenario is we have a number of "check software updates" that run and as such we schedule these daily. There is a scenario within the flapping "period" where there are and aren't updates some of the future "warning or critical" warnings get suppressed. >>> >>> The simple answer that springs to mind for me is to disable flapping for things that are scheduled over x number of hours. How are other people dealing with such things? >> >> You're right - there is no command you can pass to Nagios to clear the >> previous flapping state. You could try disabling flap detection and >> then enabling it again, but my guess is that Nagios will immediately >> re-assess the flapping state based on the last 21 checks as soon as >> you re-enable flap detection and you'll be back where you started. >> >> If your checks are only run daily, then I would say almost certainly >> flap detection is of no benefit to you and should be disabled for >> those services. If Nagios is basing it's assessment of whether the >> service is flapping on the last 21 checks as described in the >> documentation ( >> http://nagios.sourceforge.net/docs/nagioscore/3/en/flapping.html ), >> then since your checks are daily, it could be a couple of weeks >> sometimes before Nagios decides that flapping has stopped! >> >> IMHO, flap detection is only usually useful for those services which >> are checked quite frequently. >> > > Yup we do the same thing, eg have flap detection disabled in the > service template for long interval checks. > The only way I know to clear the flapping status, is to cheat and > manually schedule the check a load of times (or submit passive checks > ;) > > -- > Ritchie > >> ------------------------------------------------------------------------------ >> All of the data generated in your IT infrastructure is seriously valuable. >> Why? It contains a definitive record of application performance, security >> threats, fraudulent activity, and more. Splunk takes this data and makes >> sense of it. IT sense. And common sense. >> http://p.sf.net/sfu/splunk-d2d-c2 >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> > > ------------------------------------------------------------------------------ > All of the data generated in your IT infrastructure is seriously valuable. > Why? It contains a definitive record of application performance, security > threats, fraudulent activity, and more. Splunk takes this data and makes > sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-d2d-c2 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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, Tim Philips (RHCE) RND GROUP LIMITED ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rahul.sed at gmail.com Fri Jul 1 10:24:05 2011 From: rahul.sed at gmail.com (rahul kumar) Date: Fri, 1 Jul 2011 13:54:05 +0530 Subject: (no subject) Message-ID: -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From emilio.bruna at heliman.it Fri Jul 1 09:58:16 2011 From: emilio.bruna at heliman.it (Emilio Bruna) Date: Fri, 1 Jul 2011 09:58:16 +0200 Subject: omreport and check_openmanage Message-ID: Hello all, i'm monitoring several Dell windows servers with nagios and NSClient++ and OMSA + check_openmanage. On one of these, i'm getting a problem monitoring the redundant power supplies. Running the command below LOCALLY on the machine being monitored i got the right data from omreport.exe: c:\Program Files (x86)\Dell\SysMgt\oma\bin>omreport.exe chassis pwrsupplies Power Supplies Information --------------------------------------- Main System Chassis Power Supplies : Ok --------------------------------------- Power Supply Redundancy : Ok Attribute : Redundancy Status Value : Full Individual Power Supply Elements Index : 0 Status : Ok Location : PS 1 Status Type : AC Rated Input Wattage : 680 W Maximum Output Wattage : 500 W Online Status : Presence Detected Power Monitoring Capable : Yes Index : 1 Status : Ok Location : PS 2 Status Type : AC Rated Input Wattage : 680 W Maximum Output Wattage : 500 W Online Status : Presence Detected Power Monitoring Capable : Yes running the below command (the ones needed to check_openmanage): c:\Program Files (x86)\Dell\SysMgt\oma\bin>c:\Users\administrator.CMVC\Desktop\check_openmanage.exe --omreport "c:\Program Files (x86)\Dell\SysMg mreport.exe" Problem running 'omreport chassis pwrmonitoring': Error: Current probes not found i've noticed that the switches coming from check_openmanage are slightly different from the ones passed from omreport.exe ("omreport chassis pwrmonitoring" instead of "omreport chassis pwrsupplies") so it seems that check_openmanage has the wrong switches regard to the powermonitoring check status; or maybe the omsa version i'm using is not at the correct version to work in the right way with check_openmanage. versions: check_openmanage: latest available (3.6.8 - windows executable) omsa: 6.2.0.1 so: windows 2008 storage server SP2 any lights on this? Many thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagiostool at gmail.com Fri Jul 1 10:41:10 2011 From: nagiostool at gmail.com (nag ios) Date: Fri, 1 Jul 2011 14:11:10 +0530 Subject: Windows monitoring error In-Reply-To: <4E0D7C40.5030207@flatto.net> References: <4E0C5600.3090406@flatto.net> <4E0C610E.4070800@flatto.net> <4E0D7C40.5030207@flatto.net> Message-ID: i understood that but the server ip which was given during nsclient was same as my nagios server...... On Fri, Jul 1, 2011 at 1:20 PM, Assaf Flatto wrote: > nag ios wrote: > > > > > > what does the unauthorised access means???? > > > > the ip and password's are same in both the commands.cfg and ns.ini > > file > > > > Whats the exact problem can u figure it out???? > > > > > > I have tried to reinstall it also but same problem can you help me?????? > > > > > > On Thu, Jun 30, 2011 at 5:12 PM, Assaf Flatto > > wrote: > > > > And you can't see what the problem from the log ? > > > > > > nag ios wrote: > > > > > > > > > 2011-06-30 15:45:42: > > message:modules\FileLogger\FileLogger.cpp:86: > > > Starting to log for: NSClient++ - 0.3.9.306 2011-05-01 > > > 2011-06-30 15:45:57: debug:CACHENSClient++.cpp:557: > > Attempting to > > > start NSCLient++ - 0.3.9.306 2011-05-01 > > > 2011-06-30 15:45:57: message:CACHENSClient++.cpp:607: > > Enabling shared > > > session... > > > 2011-06-30 15:45:57: message:CACHENSClient++.cpp:609: > > Starting shared > > > session... > > > 2011-06-30 15:45:57: > > > > > > message:CACHED:\source\nscp\branches\stable\include\nsclient_session.hpp:459: > > > Created new master session: channel-server= > > > {Global\NSClientPP_channel_server_write, > > > Global\NSClientPP_channel_server_signal, > > > Global\NSClientPP_channel_server_memory} > > > 2011-06-30 15:45:57: > > > > > > error:CACHED:\source\nscp\branches\stable\include\nsclient_session.hpp:265: > > > Starting session responder for: server > > > 2011-06-30 15:45:57: error:CACHENSClient++.cpp:739: Failed to > > > enumerate sessions:1702: The binding handle is invalid. > > > 2011-06-30 15:45:57: > > > message:CACHEmodules\FileLogger\FileLogger.cpp:87: Log path is: > > > C:\Program Files\NSClient++\\nsclient.log > > > 2011-06-30 15:45:57: > > error:modules\CheckSystem\PDHCollector.cpp:215: > > > Failed to query performance counters: \Processor(_total)\% > > Processor > > > Time: PdhGetFormattedCounterValue failed: A counter with a > > negative > > > denominator value was detected. (800007D6) > > > 2011-06-30 15:46:25: > > error:modules\CheckSystem\PDHCollector.cpp:215: > > > Failed to query performance counters: \Processor(_total)\% > > Processor > > > Time: PdhGetFormattedCounterValue failed: A counter with a > > negative > > > denominator value was detected. (800007D6) > > > 2011-06-30 15:46:33: > > error:modules\CheckSystem\PDHCollector.cpp:215: > > > Failed to query performance counters: \Processor(_total)\% > > Processor > > > Time: PdhGetFormattedCounterValue failed: A counter with a > > negative > > > denominator value was detected. (800007D6) > > > 2011-06-30 15:47:34: > > error:modules\CheckSystem\PDHCollector.cpp:215: > > > Failed to query performance counters: \Processor(_total)\% > > Processor > > > Time: PdhGetFormattedCounterValue failed: A counter with a > > negative > > > denominator value was detected. (800007D6) > > > 2011-06-30 15:47:38: message:NSClient++.cpp:93: Running: > > C:\Program > > > Files\NSClient++\\nstray.exe > > > 2011-06-30 15:47:38: message:NSClient++.cpp:94: Running: > > "C:\Program > > > Files\NSClient++\\nstray.exe" -channel __0__ > > > 2011-06-30 15:47:39: message:NSClient++.cpp:161: Started > > tray in other > > > user session: 0 > > > 2011-06-30 15:47:41: > > > > > > message:D:\source\nscp\branches\stable\include\nsclient_session.hpp:776: > > > __0__ says hello! > > > 2011-06-30 16:00:23: message:NSClient++.cpp:93: Running: > > C:\Program > > > Files\NSClient++\\nstray.exe > > > 2011-06-30 16:00:28: > > > > > > error:D:\source\nscp\branches\stable\include\nsclient_session.hpp:532: > > > Client channel is down (removing it): Failed to get mutex when > > > attempting to post message: timed out > > > 2011-06-30 16:00:28: message:NSClient++.cpp:94: Running: > > "C:\Program > > > Files\NSClient++\\nstray.exe" -channel __0__ > > > 2011-06-30 16:00:29: message:NSClient++.cpp:161: Started > > tray in other > > > user session: 0 > > > 2011-06-30 16:00:29: > > > > > > message:D:\source\nscp\branches\stable\include\nsclient_session.hpp:776: > > > __0__ says hello! > > > 2011-06-30 16:06:08: > > > error:modules\NSClientListener\NSClientListener.cpp:314: > > Unauthorized > > > access from: 172.x.x.x > > > 2011-06-30 16:06:26: > > > error:modules\NSClientListener\NSClientListener.cpp:314: > > Unauthorized > > > access from: 172.x.x.x > > > 2011-06-30 16:08:16: > > > error:modules\NSClientListener\NSClientListener.cpp:314: > > Unauthorized > > > access from: 172.x.x.x > > > 2011-06-30 16:10:25: > > > error:modules\NSClientListener\NSClientListener.cpp:314: > > Unauthorized > > > access from: 172.x.x.x > > > 2011-06-30 16:10:43: > > > error:modules\NSClientListener\NSClientListener.cpp:314: > > Unauthorized > > > access from: 172.x.x.x > > > 2011-06-30 16:12:34: > > > error:modules\NSClientListener\NSClientListener.cpp:314: > > Unauthorized > > > access from: 172.x.x.x > > > 2011-06-30 16:12:52: > > > error:modules\NSClientListener\NSClientListener.cpp:314: > > Unauthorized > > > access from: 172.x.x.x > > > 2011-06-30 16:16:08: > > > error:modules\NSClientListener\NSClientListener.cpp:314: > > Unauthorized > > > access from: 172.x.x.x > > > 2011-06-30 16:16:26: > > > error:modules\NSClientListener\NSClientListener.cpp:314: > > Unauthorized > > > access from: 172.x.x.x > > > 2011-06-30 16:18:16: > > > error:modules\NSClientListener\NSClientListener.cpp:314: > > Unauthorized > > > access from: 172.x.x.x > > > 2011-06-30 16:20:25: > > > error:modules\NSClientListener\NSClientListener.cpp:314: > > Unauthorized > > > access from: 172.x.x.x > > > 2011-06-30 16:20:43: > > > error:modules\NSClientListener\NSClientListener.cpp:314: > > Unauthorized > > > access from: 172.x.x.x > > > 2011-06-30 16:22:34: > > > error:modules\NSClientListener\NSClientListener.cpp:314: > > Unauthorized > > > access from: 172.x.x.x > > > 2011-06-30 16:22:52: > > > error:modules\NSClientListener\NSClientListener.cpp:314: > > Unauthorized > > > access from: 172.x.x.x > > > 2011-06-30 16:26:08: > > > error:modules\NSClientListener\NSClientListener.cpp:314: > > Unauthorized > > > access from: 172.x.x.x > > > 2011-06-30 16:26:26: > > > error:modules\NSClientListener\NSClientListener.cpp:314: > > Unauthorized > > > access from: 172.x.x.x > > > 2011-06-30 16:28:16: > > > error:modules\NSClientListener\NSClientListener.cpp:314: > > Unauthorized > > > access from: 172.x.x.x > > > > > > > Your problem is that your nagios server is not authorized to talk to the > nsclient > > read the nsclient documentation to see what needs tio be done. > > > ------------------------------------------------------------------------------ > All of the data generated in your IT infrastructure is seriously valuable. > Why? It contains a definitive record of application performance, security > threats, fraudulent activity, and more. Splunk takes this data and makes > sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-d2d-c2 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Fri Jul 1 10:47:55 2011 From: ae at op5.se (Andreas Ericsson) Date: Fri, 01 Jul 2011 10:47:55 +0200 Subject: R: how to manage a distributed configuration In-Reply-To: <000001cc37bb$8b1ff080$a15fd180$@it.net> References: <033901cc34c2$d74e1460$85ea3d20$@it.net> <000001cc37bb$8b1ff080$a15fd180$@it.net> Message-ID: <4E0D89BB.90404@op5.se> On 07/01/2011 08:53 AM, Marco Borsani wrote: > None use a distributed Nagios environment with a mysql db ? > Merlin does exactly that, with redundancy and loadbalancing thrown in for good measure. Ninja is the presentation layer. You'll find more info at http://www.op5.org Enjoy :) -- 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. ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From m.borsani at it.net Fri Jul 1 12:12:08 2011 From: m.borsani at it.net (Marco Borsani) Date: Fri, 1 Jul 2011 12:12:08 +0200 Subject: Segmentation fault due a plugin 1.4.15 Message-ID: <009001cc37d7$5918b6f0$0b4a24d0$@it.net> Hi all Using Nagios 1.4.5 , plugin 1.4.5, Centos 5.3 32 bit on an hold Dell PE 6450, we had not any problem. Now I change my HW (Dell PE 2950) and SO (Centos 5.6 - 64bit) , re-compile Nagios (3.2.3 version) and plugins 1.4.15, everything is working fine, but often I read the message: check_nt[19273]: segfault at 0000000000000000 rip 0000003aa1837a04 rsp 00007fff57edf7d0 error 4 check_nt[6613]: segfault at 0000000000000000 rip 0000003aa1837a04 rsp 00007fff8ad5ad40 error 4 check_nt[341]: segfault at 0000000000000000 rip 0000003aa1837a04 rsp 00007fff90219000 error 4 Any idea ? Marco Borsani Unix and Monitoring Sysadmin Technical Operations Dpt. tel: +39 010 4310115 fax: +39 02 30130311 cell: +39 329 5953944 ITnet Srl Societ? con socio unico Direzione e Coordinamento di -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mad at b-care.net Fri Jul 1 11:48:56 2011 From: mad at b-care.net (=?ISO-8859-1?Q?Marc-Andr=E9?= Doll) Date: Fri, 01 Jul 2011 11:48:56 +0200 Subject: Reloading configuration on-the-fly Message-ID: <1309513736.1558.5.camel@MADness> Hi list, I'm starting to have some big perimeter (well, probably not as big as some of yours) on a Nagios and it's starting to be quite delicate to restart/reload it as it takes between 6 and 10 minutes to start scheduling checks again. Is there a way/module/tool to reload the configuration without those dead windows in my monitoring? Thanks, Marc-Andr? ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Fri Jul 1 12:28:54 2011 From: ae at op5.se (Andreas Ericsson) Date: Fri, 01 Jul 2011 12:28:54 +0200 Subject: Reloading configuration on-the-fly In-Reply-To: <1309513736.1558.5.camel@MADness> References: <1309513736.1558.5.camel@MADness> Message-ID: <4E0DA166.7010006@op5.se> On 07/01/2011 11:48 AM, Marc-Andr? Doll wrote: > Hi list, > > I'm starting to have some big perimeter (well, probably not as big as > some of yours) on a Nagios and it's starting to be quite delicate to > restart/reload it as it takes between 6 and 10 minutes to start > scheduling checks again. > > Is there a way/module/tool to reload the configuration without those > dead windows in my monitoring? > First of all, make sure you're running a recent enough version of Nagios to have Jean Gab?s' patch for speeding up circular host/parent paths. Secondly, precache the configuration before reloading and use the precached version of the object config when doing the actual restart. This will bring your downtime down from 6-10 minutes to perhaps 1-5 seconds. You'll still lose the full 6-10 minutes for recently added objects, but the previously existing ones will keep being monitored. -- 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. ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Fri Jul 1 12:29:33 2011 From: ae at op5.se (Andreas Ericsson) Date: Fri, 01 Jul 2011 12:29:33 +0200 Subject: Segmentation fault due a plugin 1.4.15 In-Reply-To: <009001cc37d7$5918b6f0$0b4a24d0$@it.net> References: <009001cc37d7$5918b6f0$0b4a24d0$@it.net> Message-ID: <4E0DA18D.1060900@op5.se> On 07/01/2011 12:12 PM, Marco Borsani wrote: > Hi all > > > > Using Nagios 1.4.5 , plugin 1.4.5, Centos 5.3 32 bit on an hold Dell PE > 6450, we had not any problem. > > > > Now I change my HW (Dell PE 2950) and SO (Centos 5.6 - 64bit) , re-compile > Nagios (3.2.3 version) and plugins 1.4.15, everything is working fine, but > often I read the message: > > check_nt[19273]: segfault at 0000000000000000 rip 0000003aa1837a04 rsp > 00007fff57edf7d0 error 4 > > check_nt[6613]: segfault at 0000000000000000 rip 0000003aa1837a04 rsp > 00007fff8ad5ad40 error 4 > > check_nt[341]: segfault at 0000000000000000 rip 0000003aa1837a04 rsp > 00007fff90219000 error 4 > There are several bugs in check_nt that nobody has bothered to fix. -- 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. ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Christian.Mies at it-novum.com Fri Jul 1 12:52:40 2011 From: Christian.Mies at it-novum.com (Mies, Christian) Date: Fri, 1 Jul 2011 12:52:40 +0200 Subject: Segmentation fault due a plugin 1.4.15 In-Reply-To: <4E0DA18D.1060900@op5.se> References: <009001cc37d7$5918b6f0$0b4a24d0$@it.net> <4E0DA18D.1060900@op5.se> Message-ID: If you are using nsclient++ on your Windows System, use NRPE instead of check_nt. So you can ignore this Messages. Regards Christian i.A. Christian Mies Senior Consultant Tel: +49 (661) 103-874 (-333) Fax: +49 (661) 103-17874 (-334) mailto:Christian.Mies at it-novum.com it-novum GmbH . Edelzeller Strasse 44 . 36043 Fulda . http://www.it-novum.com Handelsregister Amtsgericht Fulda, HRB 1934 . Gesch?ftsf?hrer: Michael Kienle . Sitz der Gesellschaft: Fulda Der Inhalt dieser E-Mail ist vertraulich. Wenn Sie nicht der eigentliche Empfaenger sein sollten, informieren Sie bitte sofort den Absender oder vernichten umgehend diese Mail. Jegliche unerlaubte Vervielfaeltigung oder Weiterleitung dieser Mail ist strengstens verboten. This e-mail may contain confidential and/or priviledged information. If you are not the intended recepient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorised copying, disclosure or distribution of material in this e-mail is strictly forbidden. -----Urspr?ngliche Nachricht----- Von: Andreas Ericsson [mailto:ae at op5.se] Gesendet: Freitag, 1. Juli 2011 12:30 An: Nagios Users List Betreff: Re: [Nagios-users] Segmentation fault due a plugin 1.4.15 On 07/01/2011 12:12 PM, Marco Borsani wrote: > Hi all > > > > Using Nagios 1.4.5 , plugin 1.4.5, Centos 5.3 32 bit on an hold Dell > PE 6450, we had not any problem. > > > > Now I change my HW (Dell PE 2950) and SO (Centos 5.6 - 64bit) , > re-compile Nagios (3.2.3 version) and plugins 1.4.15, everything is > working fine, but often I read the message: > > check_nt[19273]: segfault at 0000000000000000 rip 0000003aa1837a04 rsp > 00007fff57edf7d0 error 4 > > check_nt[6613]: segfault at 0000000000000000 rip 0000003aa1837a04 rsp > 00007fff8ad5ad40 error 4 > > check_nt[341]: segfault at 0000000000000000 rip 0000003aa1837a04 rsp > 00007fff90219000 error 4 > There are several bugs in check_nt that nobody has bothered to fix. -- 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. ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rahul.sed at gmail.com Fri Jul 1 13:12:38 2011 From: rahul.sed at gmail.com (rahul kumar) Date: Fri, 1 Jul 2011 16:42:38 +0530 Subject: nagios-nrpe socket timeout error Message-ID: Hi, I have installed nagios on server and i am monitoring client from this machine. Sometimes it shows socket timeout error and next cycle error disappear. there is no firewall . All the firewall services are disabled on the machine. Can anyone help on this rahul -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Jul 1 12:38:55 2011 From: Edwin.Zoeller at ama-assn.org (Edwin Zoeller) Date: Fri, 1 Jul 2011 05:38:55 -0500 Subject: Windows monitoring error In-Reply-To: References: Message-ID: Did you try using port 12849 to connect to your windows client? From: nag ios [mailto:nagiostool at gmail.com] Sent: Friday, July 01, 2011 03:41 AM To: Nagios Users List Subject: Re: [Nagios-users] Windows monitoring error i understood that but the server ip which was given during nsclient was same as my nagios server...... On Fri, Jul 1, 2011 at 1:20 PM, Assaf Flatto wrote: nag ios wrote: > > > what does the unauthorised access means???? > > the ip and password's are same in both the commands.cfg and ns.ini > file > > Whats the exact problem can u figure it out???? > > > I have tried to reinstall it also but same problem can you help me?????? > > > On Thu, Jun 30, 2011 at 5:12 PM, Assaf Flatto > wrote: > > And you can't see what the problem from the log ? > > > nag ios wrote: > > > > > > 2011-06-30 15:45:42: > message:modules\FileLogger\FileLogger.cpp:86: > > Starting to log for: NSClient++ - 0.3.9.306 2011-05-01 > > 2011-06-30 15:45:57: debug:CACHENSClient++.cpp:557: > Attempting to > > start NSCLient++ - 0.3.9.306 2011-05-01 > > 2011-06-30 15:45:57: message:CACHENSClient++.cpp:607: > Enabling shared > > session... > > 2011-06-30 15:45:57: message:CACHENSClient++.cpp:609: > Starting shared > > session... > > 2011-06-30 15:45:57: > > > message:CACHED:\source\nscp\branches\stable\include\nsclient_session.hpp:459: > > Created new master session: channel-server= > > {Global\NSClientPP_channel_server_write, > > Global\NSClientPP_channel_server_signal, > > Global\NSClientPP_channel_server_memory} > > 2011-06-30 15:45:57: > > > error:CACHED:\source\nscp\branches\stable\include\nsclient_session.hpp:265: > > Starting session responder for: server > > 2011-06-30 15:45:57: error:CACHENSClient++.cpp:739: Failed to > > enumerate sessions:1702: The binding handle is invalid. > > 2011-06-30 15:45:57: > > message:CACHEmodules\FileLogger\FileLogger.cpp:87: Log path is: > > C:\Program Files\NSClient++\\nsclient.log > > 2011-06-30 15:45:57: > error:modules\CheckSystem\PDHCollector.cpp:215: > > Failed to query performance counters: \Processor(_total)\% > Processor > > Time: PdhGetFormattedCounterValue failed: A counter with a > negative > > denominator value was detected. (800007D6) > > 2011-06-30 15:46:25: > error:modules\CheckSystem\PDHCollector.cpp:215: > > Failed to query performance counters: \Processor(_total)\% > Processor > > Time: PdhGetFormattedCounterValue failed: A counter with a > negative > > denominator value was detected. (800007D6) > > 2011-06-30 15:46:33: > error:modules\CheckSystem\PDHCollector.cpp:215: > > Failed to query performance counters: \Processor(_total)\% > Processor > > Time: PdhGetFormattedCounterValue failed: A counter with a > negative > > denominator value was detected. (800007D6) > > 2011-06-30 15:47:34: > error:modules\CheckSystem\PDHCollector.cpp:215: > > Failed to query performance counters: \Processor(_total)\% > Processor > > Time: PdhGetFormattedCounterValue failed: A counter with a > negative > > denominator value was detected. (800007D6) > > 2011-06-30 15:47:38: message:NSClient++.cpp:93: Running: > C:\Program > > Files\NSClient++\\nstray.exe > > 2011-06-30 15:47:38: message:NSClient++.cpp:94: Running: > "C:\Program > > Files\NSClient++\\nstray.exe" -channel __0__ > > 2011-06-30 15:47:39: message:NSClient++.cpp:161: Started > tray in other > > user session: 0 > > 2011-06-30 15:47:41: > > > message:D:\source\nscp\branches\stable\include\nsclient_session.hpp:776: > > __0__ says hello! > > 2011-06-30 16:00:23: message:NSClient++.cpp:93: Running: > C:\Program > > Files\NSClient++\\nstray.exe > > 2011-06-30 16:00:28: > > > error:D:\source\nscp\branches\stable\include\nsclient_session.hpp:532: > > Client channel is down (removing it): Failed to get mutex when > > attempting to post message: timed out > > 2011-06-30 16:00:28: message:NSClient++.cpp:94: Running: > "C:\Program > > Files\NSClient++\\nstray.exe" -channel __0__ > > 2011-06-30 16:00:29: message:NSClient++.cpp:161: Started > tray in other > > user session: 0 > > 2011-06-30 16:00:29: > > > message:D:\source\nscp\branches\stable\include\nsclient_session.hpp:776: > > __0__ says hello! > > 2011-06-30 16:06:08: > > error:modules\NSClientListener\NSClientListener.cpp:314: > Unauthorized > > access from: 172.x.x.x > > 2011-06-30 16:06:26: > > error:modules\NSClientListener\NSClientListener.cpp:314: > Unauthorized > > access from: 172.x.x.x > > 2011-06-30 16:08:16: > > error:modules\NSClientListener\NSClientListener.cpp:314: > Unauthorized > > access from: 172.x.x.x > > 2011-06-30 16:10:25: > > error:modules\NSClientListener\NSClientListener.cpp:314: > Unauthorized > > access from: 172.x.x.x > > 2011-06-30 16:10:43: > > error:modules\NSClientListener\NSClientListener.cpp:314: > Unauthorized > > access from: 172.x.x.x > > 2011-06-30 16:12:34: > > error:modules\NSClientListener\NSClientListener.cpp:314: > Unauthorized > > access from: 172.x.x.x > > 2011-06-30 16:12:52: > > error:modules\NSClientListener\NSClientListener.cpp:314: > Unauthorized > > access from: 172.x.x.x > > 2011-06-30 16:16:08: > > error:modules\NSClientListener\NSClientListener.cpp:314: > Unauthorized > > access from: 172.x.x.x > > 2011-06-30 16:16:26: > > error:modules\NSClientListener\NSClientListener.cpp:314: > Unauthorized > > access from: 172.x.x.x > > 2011-06-30 16:18:16: > > error:modules\NSClientListener\NSClientListener.cpp:314: > Unauthorized > > access from: 172.x.x.x > > 2011-06-30 16:20:25: > > error:modules\NSClientListener\NSClientListener.cpp:314: > Unauthorized > > access from: 172.x.x.x > > 2011-06-30 16:20:43: > > error:modules\NSClientListener\NSClientListener.cpp:314: > Unauthorized > > access from: 172.x.x.x > > 2011-06-30 16:22:34: > > error:modules\NSClientListener\NSClientListener.cpp:314: > Unauthorized > > access from: 172.x.x.x > > 2011-06-30 16:22:52: > > error:modules\NSClientListener\NSClientListener.cpp:314: > Unauthorized > > access from: 172.x.x.x > > 2011-06-30 16:26:08: > > error:modules\NSClientListener\NSClientListener.cpp:314: > Unauthorized > > access from: 172.x.x.x > > 2011-06-30 16:26:26: > > error:modules\NSClientListener\NSClientListener.cpp:314: > Unauthorized > > access from: 172.x.x.x > > 2011-06-30 16:28:16: > > error:modules\NSClientListener\NSClientListener.cpp:314: > Unauthorized > > access from: 172.x.x.x > > > Your problem is that your nagios server is not authorized to talk to the nsclient read the nsclient documentation to see what needs tio be done. ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios-users at noroutetohost.net Fri Jul 1 12:57:50 2011 From: nagios-users at noroutetohost.net (David Wilkinson) Date: Fri, 01 Jul 2011 11:57:50 +0100 Subject: Statically Linked NRPE Message-ID: <4E0DA82E.1040204@noroutetohost.net> Hi All I am trying to get a statically linked version of NRPE to put on our servers. I tried the Statically Linked Nagios Linux Agent from the Nagios website http://exchange.nagios.org/directory/Addons/Monitoring-Agents/Statically-Linked-Nagios-Linux-Agent It fails to extract to the files when I try to use it, I get the following. ./Linux_Static_Agent.tar.gz.sh Created by: $Id: Makefile 63 2010-07-19 18:32:09Z mmestnik $. Mon Jul 19 18:32:18 UTC 2010 Hostname: colinux User: mmestnik Path: Linux_Static_Agent URL: https://devhub.nagios.com/svn/xiagents/trunk/Development/Linux_Static_Agent Repository Root: https://devhub.nagios.com/svn/xiagents Repository UUID: 775aac8c-84a2-4f69-ad47-ca51e7846425 Revision: 57 Node Kind: directory Schedule: normal Last Changed Author: mmestnik Last Changed Rev: 57 Last Changed Date: 2010-07-15 21:00:37 +0000 (Thu, 15 Jul 2010) Removed ci commands and the alias, mmestnik. Aug 03 2010 gzip: stdin: unexpected end of file tar: Child returned status 1 tar: Error is not recoverable: exiting now ./Linux_Static_Agent.tar.gz.sh: 67: How: not found ./Linux_Static_Agent.tar.gz.sh: 67: EOF: not found ./Linux_Static_Agent.tar.gz.sh: 67: Provided: not found ./Linux_Static_Agent.tar.gz.sh: 67: EOF: not found ./Linux_Static_Agent.tar.gz.sh: 67: How: not found ./Linux_Static_Agent.tar.gz.sh: 67: EOF: not found ./Linux_Static_Agent.tar.gz.sh: 67: Provided: not found ###### Repeats the ./Linux_Static_Agent.tar.gz.sh: 67 line loads of times ###### Starting nrpe: I tried to email the owner and I got a bounce back so I have tried compile a static linked version from source In the Makefile and src/Makefile I have added CC=gcc -static and from searching around I have also tried adding LDFLAGS= -L/usr/lib64 /usr/lib64/libssl.a /usr/lib64/libcrypto.a -ldl to the make files and the compile fails every time I get the following error every time I try to compile NRPE statically linked. Any idea's or pointers on how I can get this to work? Could be an OS problem? I am using Debain Squeeze x64 # make cd ./src/; make ; cd .. make[1]: Entering directory `/root/nagios/nrpe-2.12/src' gcc -static -g -O2 -I/usr/include/openssl -I/usr/include -DHAVE_CONFIG_H -o nrpe nrpe.c utils.c -L/usr/lib64 /usr/lib64/libssl.a /usr/lib64/libcrypto.a -ldl -lssl -lcrypto -lnsl nrpe.c: In function ?main?: nrpe.c:179: warning: ignoring return value of ?getcwd?, declared with attribute warn_unused_result nrpe.c:286: warning: ignoring return value of ?chdir?, declared with attribute warn_unused_result nrpe.c: In function ?my_system?: nrpe.c:1340: warning: ignoring return value of ?pipe?, declared with attribute warn_unused_result nrpe.c:1393: warning: ignoring return value of ?write?, declared with attribute warn_unused_result nrpe.c:1403: warning: ignoring return value of ?write?, declared with attribute warn_unused_result nrpe.c: In function ?write_pid_file?: nrpe.c:1615: warning: ignoring return value of ?write?, declared with attribute warn_unused_result /usr/lib64/libcrypto.a(dso_dlfcn.o): In function `dlfcn_load': (.text+0x5b4): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking /tmp/ccJFpUJ7.o: In function `drop_privileges': /root/nagios/nrpe-2.12/src/nrpe.c:1558: warning: Using 'initgroups' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking /root/nagios/nrpe-2.12/src/nrpe.c:1515: warning: Using 'getgrnam' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking /root/nagios/nrpe-2.12/src/nrpe.c:1520: warning: Using 'endgrent' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking /root/nagios/nrpe-2.12/src/nrpe.c:1541: warning: Using 'getpwnam' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking /root/nagios/nrpe-2.12/src/nrpe.c:1546: warning: Using 'endpwent' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking /tmp/ccJFpUJ7.o: In function `is_an_allowed_host': /root/nagios/nrpe-2.12/src/nrpe.c:990: warning: Using 'gethostbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking /tmp/ccWaGZas.o: In function `my_connect': /root/nagios/nrpe-2.12/src/utils.c:147: warning: Using 'getprotobyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking /usr/lib64/libcrypto.a(c_zlib.o): In function `bio_zlib_free': (.text+0x6f): undefined reference to `inflateEnd' /usr/lib64/libcrypto.a(c_zlib.o): In function `bio_zlib_free': (.text+0x8d): undefined reference to `deflateEnd' /usr/lib64/libcrypto.a(c_zlib.o): In function `bio_zlib_ctrl': (.text+0x3b4): undefined reference to `deflate' /usr/lib64/libcrypto.a(c_zlib.o): In function `bio_zlib_ctrl': (.text+0x46a): undefined reference to `zError' /usr/lib64/libcrypto.a(c_zlib.o): In function `bio_zlib_read': (.text+0x54b): undefined reference to `inflate' /usr/lib64/libcrypto.a(c_zlib.o): In function `bio_zlib_read': (.text+0x5cd): undefined reference to `zError' /usr/lib64/libcrypto.a(c_zlib.o): In function `bio_zlib_read': (.text+0x63c): undefined reference to `inflateInit_' /usr/lib64/libcrypto.a(c_zlib.o): In function `bio_zlib_write': (.text+0x737): undefined reference to `deflate' /usr/lib64/libcrypto.a(c_zlib.o): In function `bio_zlib_write': (.text+0x7bd): undefined reference to `zError' /usr/lib64/libcrypto.a(c_zlib.o): In function `bio_zlib_write': (.text+0x851): undefined reference to `deflateInit_' /usr/lib64/libcrypto.a(c_zlib.o): In function `zlib_stateful_expand_block': (.text+0x9ae): undefined reference to `inflate' /usr/lib64/libcrypto.a(c_zlib.o): In function `zlib_stateful_compress_block': (.text+0xa5e): undefined reference to `deflate' /usr/lib64/libcrypto.a(c_zlib.o): In function `zlib_stateful_finish': (.text+0xaaf): undefined reference to `inflateEnd' /usr/lib64/libcrypto.a(c_zlib.o): In function `zlib_stateful_finish': (.text+0xab9): undefined reference to `deflateEnd' /usr/lib64/libcrypto.a(c_zlib.o): In function `zlib_stateful_init': (.text+0xb67): undefined reference to `inflateInit_' /usr/lib64/libcrypto.a(c_zlib.o): In function `zlib_stateful_init': (.text+0xbe9): undefined reference to `deflateInit_' collect2: ld returned 1 exit status make[1]: *** [nrpe] Error 1 make[1]: Leaving directory `/root/nagios/nrpe-2.12/src' *** Compile finished *** Thanks David ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jul 1 14:05:42 2011 From: jim at jimavery.me.uk (Jim Avery) Date: Fri, 1 Jul 2011 13:05:42 +0100 Subject: nagios-nrpe socket timeout error In-Reply-To: References: Message-ID: On 1 July 2011 12:12, rahul kumar wrote: > Hi, > > I have installed nagios on server and i am monitoring client from this > machine. Sometimes it shows socket timeout error and next cycle error > disappear. there is no firewall . All the firewall services are disabled on > the machine. Some things to look for .. - high CPU on the target system - a mis-match between speed/duplex on the lan interface and speed/duplex on the switch interface - a problem with link aggregation (if the system is connected to the network with more than one interface) - other network or performance issues Also look at what the check at the remote end is actually doing. If the plugin you are running is particularly slow or inefficient you will get timeouts. I have found this particularly with the check_esx3 plugin but also with some other plugins. Try running your check_nrpe command from the command line using 'time' a few times to see how it's normally behaving. You might find that it's usually taking 8 seconds or so to run and occasionally taking 10 or more seconds. hth ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jul 1 15:35:23 2011 From: t.h.amundsen at usit.uio.no (Trond Hasle Amundsen) Date: Fri, 01 Jul 2011 15:35:23 +0200 Subject: omreport and check_openmanage In-Reply-To: (Emilio Bruna's message of "Fri, 1 Jul 2011 09:58:16 +0200") References: Message-ID: <15taacyceec.fsf@tux.uio.no> Emilio Bruna writes: > Hello all, > i'm monitoring several Dell windows servers with nagios and NSClient++ > and OMSA + check_openmanage. On one of these, i'm getting a problem > monitoring the redundant power supplies. > > Running the command below LOCALLY on the machine being monitored i got > the right data from omreport.exe: > > c:\Program Files (x86)\Dell\SysMgt\oma\bin>omreport.exe chassis pwrsupplies > Power Supplies Information > > --------------------------------------- > Main System Chassis Power Supplies : Ok > --------------------------------------- > > Power Supply Redundancy : Ok > Attribute : Redundancy Status > Value???? : Full > Individual Power Supply Elements > Index??????????????????? : 0 > Status?????????????????? : Ok > Location???????????????? : PS 1 Status > Type???????????????????? : AC > Rated Input Wattage????? : 680 W > Maximum Output Wattage?? : 500 W > Online Status??????????? : Presence Detected > Power Monitoring Capable : Yes > > Index??????????????????? : 1 > Status?????????????????? : Ok > Location???????????????? : PS 2 Status > Type???????????????????? : AC > Rated Input Wattage????? : 680 W > Maximum Output Wattage?? : 500 W > Online Status??????????? : Presence Detected > Power Monitoring Capable : Yes > > running the below command (the ones needed to check_openmanage): > > c:\Program Files (x86)\Dell\SysMgt\oma\bin>c:\Users\administrator.CMVC\Desktop\ > check_openmanage.exe --omreport "c:\Program Files (x86)\Dell\SysMg > mreport.exe" > Problem running 'omreport chassis pwrmonitoring': Error: Current probes not > found > > i've noticed that the switches coming from check_openmanage are > slightly different from the ones passed from omreport.exe ("omreport > chassis pwrmonitoring" instead of "omreport chassis pwrsupplies") > > so it seems that check_openmanage has the wrong switches regard to the > powermonitoring check status; or maybe the omsa version i'm using is > not at the correct version to work in the right way with > check_openmanage. Hi Emilio, Don't confuse the two arguments 'pwrsupplies' and 'pwrmonitoring'. They do different things, and check_openmanage uses both of them. It runs 'omreport chassis pwrsupplies' to get the status of the power supplies, and it runs 'omreport chassis pwrmonitoring' to get the status and value of the amperage probes. The latter includes the overall power consumption of the server. In your case, it's the 'pwrmonitoring' command that fails. This is a known problem with some older versions of OMSA. Which version of OMSA are you running, and on what kind of PowerEdge server? Regards, -- Trond H. Amundsen Center for Information Technology Services, University of Oslo ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios-users at noroutetohost.net Fri Jul 1 17:03:05 2011 From: nagios-users at noroutetohost.net (David Wilkinson) Date: Fri, 01 Jul 2011 16:03:05 +0100 Subject: Statically Linked NRPE In-Reply-To: <4E0DA82E.1040204@noroutetohost.net> References: <4E0DA82E.1040204@noroutetohost.net> Message-ID: <4E0DE1A9.50904@noroutetohost.net> Hi I have managed to get it to work. I had to change the LDFLAGS option to include -lz -ldl LDFLAGS= -L/usr/lib64 -lssl -lcrypto -lz -ldl # file nrpe nrpe: ELF 64-bit LSB executable, x86-64, version 1 (GNU/Linux), statically linked, for GNU/Linux 2.6.15, not stripped Regards David On 01/07/11 11:57, David Wilkinson wrote: > Hi All > > I am trying to get a statically linked version of NRPE to put on our > servers. > > I tried the Statically Linked Nagios Linux Agent from the Nagios website > http://exchange.nagios.org/directory/Addons/Monitoring-Agents/Statically-Linked-Nagios-Linux-Agent > > It fails to extract to the files when I try to use it, I get the following. > > ./Linux_Static_Agent.tar.gz.sh > Created by: $Id: Makefile 63 2010-07-19 18:32:09Z mmestnik $. > Mon Jul 19 18:32:18 UTC 2010 > Hostname: colinux > User: mmestnik > Path: Linux_Static_Agent > URL: > https://devhub.nagios.com/svn/xiagents/trunk/Development/Linux_Static_Agent > Repository Root: https://devhub.nagios.com/svn/xiagents > Repository UUID: 775aac8c-84a2-4f69-ad47-ca51e7846425 > Revision: 57 > Node Kind: directory > Schedule: normal > Last Changed Author: mmestnik > Last Changed Rev: 57 > Last Changed Date: 2010-07-15 21:00:37 +0000 (Thu, 15 Jul 2010) > Removed ci commands and the alias, mmestnik. Aug 03 2010 > > gzip: stdin: unexpected end of file > tar: Child returned status 1 > tar: Error is not recoverable: exiting now > ./Linux_Static_Agent.tar.gz.sh: 67: How: not found > ./Linux_Static_Agent.tar.gz.sh: 67: EOF: not found > ./Linux_Static_Agent.tar.gz.sh: 67: Provided: not found > ./Linux_Static_Agent.tar.gz.sh: 67: EOF: not found > ./Linux_Static_Agent.tar.gz.sh: 67: How: not found > ./Linux_Static_Agent.tar.gz.sh: 67: EOF: not found > ./Linux_Static_Agent.tar.gz.sh: 67: Provided: not found > ###### Repeats the ./Linux_Static_Agent.tar.gz.sh: 67 line loads of > times ###### > Starting nrpe: > > > I tried to email the owner and I got a bounce back so I have tried > compile a static linked version from source > > In the Makefile and src/Makefile I have added > CC=gcc -static > and from searching around I have also tried adding > LDFLAGS= -L/usr/lib64 /usr/lib64/libssl.a /usr/lib64/libcrypto.a -ldl > to the make files and the compile fails every time > > > I get the following error every time I try to compile NRPE statically > linked. > Any idea's or pointers on how I can get this to work? > Could be an OS problem? I am using Debain Squeeze x64 > > > # make > cd ./src/; make ; cd .. > make[1]: Entering directory `/root/nagios/nrpe-2.12/src' > gcc -static -g -O2 -I/usr/include/openssl -I/usr/include -DHAVE_CONFIG_H > -o nrpe nrpe.c utils.c -L/usr/lib64 /usr/lib64/libssl.a > /usr/lib64/libcrypto.a -ldl -lssl -lcrypto -lnsl > nrpe.c: In function ?main?: > nrpe.c:179: warning: ignoring return value of ?getcwd?, declared with > attribute warn_unused_result > nrpe.c:286: warning: ignoring return value of ?chdir?, declared with > attribute warn_unused_result > nrpe.c: In function ?my_system?: > nrpe.c:1340: warning: ignoring return value of ?pipe?, declared with > attribute warn_unused_result > nrpe.c:1393: warning: ignoring return value of ?write?, declared with > attribute warn_unused_result > nrpe.c:1403: warning: ignoring return value of ?write?, declared with > attribute warn_unused_result > nrpe.c: In function ?write_pid_file?: > nrpe.c:1615: warning: ignoring return value of ?write?, declared with > attribute warn_unused_result > /usr/lib64/libcrypto.a(dso_dlfcn.o): In function `dlfcn_load': > (.text+0x5b4): warning: Using 'dlopen' in statically linked applications > requires at runtime the shared libraries from the glibc version used for > linking > /tmp/ccJFpUJ7.o: In function `drop_privileges': > /root/nagios/nrpe-2.12/src/nrpe.c:1558: warning: Using 'initgroups' in > statically linked applications requires at runtime the shared libraries > from the glibc version used for linking > /root/nagios/nrpe-2.12/src/nrpe.c:1515: warning: Using 'getgrnam' in > statically linked applications requires at runtime the shared libraries > from the glibc version used for linking > /root/nagios/nrpe-2.12/src/nrpe.c:1520: warning: Using 'endgrent' in > statically linked applications requires at runtime the shared libraries > from the glibc version used for linking > /root/nagios/nrpe-2.12/src/nrpe.c:1541: warning: Using 'getpwnam' in > statically linked applications requires at runtime the shared libraries > from the glibc version used for linking > /root/nagios/nrpe-2.12/src/nrpe.c:1546: warning: Using 'endpwent' in > statically linked applications requires at runtime the shared libraries > from the glibc version used for linking > /tmp/ccJFpUJ7.o: In function `is_an_allowed_host': > /root/nagios/nrpe-2.12/src/nrpe.c:990: warning: Using 'gethostbyname' in > statically linked applications requires at runtime the shared libraries > from the glibc version used for linking > /tmp/ccWaGZas.o: In function `my_connect': > /root/nagios/nrpe-2.12/src/utils.c:147: warning: Using 'getprotobyname' > in statically linked applications requires at runtime the shared > libraries from the glibc version used for linking > /usr/lib64/libcrypto.a(c_zlib.o): In function `bio_zlib_free': > (.text+0x6f): undefined reference to `inflateEnd' > /usr/lib64/libcrypto.a(c_zlib.o): In function `bio_zlib_free': > (.text+0x8d): undefined reference to `deflateEnd' > /usr/lib64/libcrypto.a(c_zlib.o): In function `bio_zlib_ctrl': > (.text+0x3b4): undefined reference to `deflate' > /usr/lib64/libcrypto.a(c_zlib.o): In function `bio_zlib_ctrl': > (.text+0x46a): undefined reference to `zError' > /usr/lib64/libcrypto.a(c_zlib.o): In function `bio_zlib_read': > (.text+0x54b): undefined reference to `inflate' > /usr/lib64/libcrypto.a(c_zlib.o): In function `bio_zlib_read': > (.text+0x5cd): undefined reference to `zError' > /usr/lib64/libcrypto.a(c_zlib.o): In function `bio_zlib_read': > (.text+0x63c): undefined reference to `inflateInit_' > /usr/lib64/libcrypto.a(c_zlib.o): In function `bio_zlib_write': > (.text+0x737): undefined reference to `deflate' > /usr/lib64/libcrypto.a(c_zlib.o): In function `bio_zlib_write': > (.text+0x7bd): undefined reference to `zError' > /usr/lib64/libcrypto.a(c_zlib.o): In function `bio_zlib_write': > (.text+0x851): undefined reference to `deflateInit_' > /usr/lib64/libcrypto.a(c_zlib.o): In function `zlib_stateful_expand_block': > (.text+0x9ae): undefined reference to `inflate' > /usr/lib64/libcrypto.a(c_zlib.o): In function > `zlib_stateful_compress_block': > (.text+0xa5e): undefined reference to `deflate' > /usr/lib64/libcrypto.a(c_zlib.o): In function `zlib_stateful_finish': > (.text+0xaaf): undefined reference to `inflateEnd' > /usr/lib64/libcrypto.a(c_zlib.o): In function `zlib_stateful_finish': > (.text+0xab9): undefined reference to `deflateEnd' > /usr/lib64/libcrypto.a(c_zlib.o): In function `zlib_stateful_init': > (.text+0xb67): undefined reference to `inflateInit_' > /usr/lib64/libcrypto.a(c_zlib.o): In function `zlib_stateful_init': > (.text+0xbe9): undefined reference to `deflateInit_' > collect2: ld returned 1 exit status > make[1]: *** [nrpe] Error 1 > make[1]: Leaving directory `/root/nagios/nrpe-2.12/src' > > *** Compile finished *** > > > > Thanks > > David > > > > > ------------------------------------------------------------------------------ > All of the data generated in your IT infrastructure is seriously valuable. > Why? It contains a definitive record of application performance, security > threats, fraudulent activity, and more. Splunk takes this data and makes > sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-d2d-c2 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagiostool at gmail.com Fri Jul 1 17:17:39 2011 From: nagiostool at gmail.com (nag ios) Date: Fri, 1 Jul 2011 20:47:39 +0530 Subject: Windows monitoring error In-Reply-To: References: Message-ID: Default one is 12489 right.....? i haven't tried with 12849.... will try and update the status ok..... On Fri, Jul 1, 2011 at 4:08 PM, Edwin Zoeller wrote: > Did you try using port 12849 to connect to your windows client? > > *From*: nag ios [mailto:nagiostool at gmail.com] > *Sent*: Friday, July 01, 2011 03:41 AM > *To*: Nagios Users List > *Subject*: Re: [Nagios-users] Windows monitoring error > > i understood that but the server ip which was given during nsclient was > same as my nagios server...... > > > > On Fri, Jul 1, 2011 at 1:20 PM, Assaf Flatto wrote: > >> nag ios wrote: >> > >> > >> > what does the unauthorised access means???? >> > >> > the ip and password's are same in both the commands.cfg and ns.ini >> > file >> > >> > Whats the exact problem can u figure it out???? >> > >> > >> > I have tried to reinstall it also but same problem can you help me?????? >> > >> > >> > On Thu, Jun 30, 2011 at 5:12 PM, Assaf Flatto > > > wrote: >> > >> > And you can't see what the problem from the log ? >> > >> > >> > nag ios wrote: >> > > >> > > >> > > 2011-06-30 15:45:42: >> > message:modules\FileLogger\FileLogger.cpp:86: >> > > Starting to log for: NSClient++ - 0.3.9.306 2011-05-01 >> > > 2011-06-30 15:45:57: debug:CACHENSClient++.cpp:557: >> > Attempting to >> > > start NSCLient++ - 0.3.9.306 2011-05-01 >> > > 2011-06-30 15:45:57: message:CACHENSClient++.cpp:607: >> > Enabling shared >> > > session... >> > > 2011-06-30 15:45:57: message:CACHENSClient++.cpp:609: >> > Starting shared >> > > session... >> > > 2011-06-30 15:45:57: >> > > >> > >> message:CACHED:\source\nscp\branches\stable\include\nsclient_session.hpp:459: >> > > Created new master session: channel-server= >> > > {Global\NSClientPP_channel_server_write, >> > > Global\NSClientPP_channel_server_signal, >> > > Global\NSClientPP_channel_server_memory} >> > > 2011-06-30 15:45:57: >> > > >> > >> error:CACHED:\source\nscp\branches\stable\include\nsclient_session.hpp:265: >> > > Starting session responder for: server >> > > 2011-06-30 15:45:57: error:CACHENSClient++.cpp:739: Failed to >> > > enumerate sessions:1702: The binding handle is invalid. >> > > 2011-06-30 15:45:57: >> > > message:CACHEmodules\FileLogger\FileLogger.cpp:87: Log path >> is: >> > > C:\Program Files\NSClient++\\nsclient.log >> > > 2011-06-30 15:45:57: >> > error:modules\CheckSystem\PDHCollector.cpp:215: >> > > Failed to query performance counters: \Processor(_total)\% >> > Processor >> > > Time: PdhGetFormattedCounterValue failed: A counter with a >> > negative >> > > denominator value was detected. (800007D6) >> > > 2011-06-30 15:46:25: >> > error:modules\CheckSystem\PDHCollector.cpp:215: >> > > Failed to query performance counters: \Processor(_total)\% >> > Processor >> > > Time: PdhGetFormattedCounterValue failed: A counter with a >> > negative >> > > denominator value was detected. (800007D6) >> > > 2011-06-30 15:46:33: >> > error:modules\CheckSystem\PDHCollector.cpp:215: >> > > Failed to query performance counters: \Processor(_total)\% >> > Processor >> > > Time: PdhGetFormattedCounterValue failed: A counter with a >> > negative >> > > denominator value was detected. (800007D6) >> > > 2011-06-30 15:47:34: >> > error:modules\CheckSystem\PDHCollector.cpp:215: >> > > Failed to query performance counters: \Processor(_total)\% >> > Processor >> > > Time: PdhGetFormattedCounterValue failed: A counter with a >> > negative >> > > denominator value was detected. (800007D6) >> > > 2011-06-30 15:47:38: message:NSClient++.cpp:93: Running: >> > C:\Program >> > > Files\NSClient++\\nstray.exe >> > > 2011-06-30 15:47:38: message:NSClient++.cpp:94: Running: >> > "C:\Program >> > > Files\NSClient++\\nstray.exe" -channel __0__ >> > > 2011-06-30 15:47:39: message:NSClient++.cpp:161: Started >> > tray in other >> > > user session: 0 >> > > 2011-06-30 15:47:41: >> > > >> > >> message:D:\source\nscp\branches\stable\include\nsclient_session.hpp:776: >> > > __0__ says hello! >> > > 2011-06-30 16:00:23: message:NSClient++.cpp:93: Running: >> > C:\Program >> > > Files\NSClient++\\nstray.exe >> > > 2011-06-30 16:00:28: >> > > >> > >> error:D:\source\nscp\branches\stable\include\nsclient_session.hpp:532: >> > > Client channel is down (removing it): Failed to get mutex when >> > > attempting to post message: timed out >> > > 2011-06-30 16:00:28: message:NSClient++.cpp:94: Running: >> > "C:\Program >> > > Files\NSClient++\\nstray.exe" -channel __0__ >> > > 2011-06-30 16:00:29: message:NSClient++.cpp:161: Started >> > tray in other >> > > user session: 0 >> > > 2011-06-30 16:00:29: >> > > >> > >> message:D:\source\nscp\branches\stable\include\nsclient_session.hpp:776: >> > > __0__ says hello! >> > > 2011-06-30 16:06:08: >> > > error:modules\NSClientListener\NSClientListener.cpp:314: >> > Unauthorized >> > > access from: 172.x.x.x >> > > 2011-06-30 16:06:26: >> > > error:modules\NSClientListener\NSClientListener.cpp:314: >> > Unauthorized >> > > access from: 172.x.x.x >> > > 2011-06-30 16:08:16: >> > > error:modules\NSClientListener\NSClientListener.cpp:314: >> > Unauthorized >> > > access from: 172.x.x.x >> > > 2011-06-30 16:10:25: >> > > error:modules\NSClientListener\NSClientListener.cpp:314: >> > Unauthorized >> > > access from: 172.x.x.x >> > > 2011-06-30 16:10:43: >> > > error:modules\NSClientListener\NSClientListener.cpp:314: >> > Unauthorized >> > > access from: 172.x.x.x >> > > 2011-06-30 16:12:34: >> > > error:modules\NSClientListener\NSClientListener.cpp:314: >> > Unauthorized >> > > access from: 172.x.x.x >> > > 2011-06-30 16:12:52: >> > > error:modules\NSClientListener\NSClientListener.cpp:314: >> > Unauthorized >> > > access from: 172.x.x.x >> > > 2011-06-30 16:16:08: >> > > error:modules\NSClientListener\NSClientListener.cpp:314: >> > Unauthorized >> > > access from: 172.x.x.x >> > > 2011-06-30 16:16:26: >> > > error:modules\NSClientListener\NSClientListener.cpp:314: >> > Unauthorized >> > > access from: 172.x.x.x >> > > 2011-06-30 16:18:16: >> > > error:modules\NSClientListener\NSClientListener.cpp:314: >> > Unauthorized >> > > access from: 172.x.x.x >> > > 2011-06-30 16:20:25: >> > > error:modules\NSClientListener\NSClientListener.cpp:314: >> > Unauthorized >> > > access from: 172.x.x.x >> > > 2011-06-30 16:20:43: >> > > error:modules\NSClientListener\NSClientListener.cpp:314: >> > Unauthorized >> > > access from: 172.x.x.x >> > > 2011-06-30 16:22:34: >> > > error:modules\NSClientListener\NSClientListener.cpp:314: >> > Unauthorized >> > > access from: 172.x.x.x >> > > 2011-06-30 16:22:52: >> > > error:modules\NSClientListener\NSClientListener.cpp:314: >> > Unauthorized >> > > access from: 172.x.x.x >> > > 2011-06-30 16:26:08: >> > > error:modules\NSClientListener\NSClientListener.cpp:314: >> > Unauthorized >> > > access from: 172.x.x.x >> > > 2011-06-30 16:26:26: >> > > error:modules\NSClientListener\NSClientListener.cpp:314: >> > Unauthorized >> > > access from: 172.x.x.x >> > > 2011-06-30 16:28:16: >> > > error:modules\NSClientListener\NSClientListener.cpp:314: >> > Unauthorized >> > > access from: 172.x.x.x >> > > >> > >> >> Your problem is that your nagios server is not authorized to talk to the >> nsclient >> >> read the nsclient documentation to see what needs tio be done. >> >> >> ------------------------------------------------------------------------------ >> All of the data generated in your IT infrastructure is seriously valuable. >> Why? It contains a definitive record of application performance, security >> threats, fraudulent activity, and more. Splunk takes this data and makes >> sense of it. IT sense. And common sense. >> http://p.sf.net/sfu/splunk-d2d-c2 >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> > > > > ------------------------------------------------------------------------------ > All of the data generated in your IT infrastructure is seriously valuable. > Why? It contains a definitive record of application performance, security > threats, fraudulent activity, and more. Splunk takes this data and makes > sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-d2d-c2 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagiostool at gmail.com Fri Jul 1 17:22:05 2011 From: nagiostool at gmail.com (nag ios) Date: Fri, 1 Jul 2011 20:52:05 +0530 Subject: Reloading configuration on-the-fly In-Reply-To: <4E0DA166.7010006@op5.se> References: <1309513736.1558.5.camel@MADness> <4E0DA166.7010006@op5.se> Message-ID: can u let me know the on-fly process in detail.....???? On Fri, Jul 1, 2011 at 3:58 PM, Andreas Ericsson wrote: > On 07/01/2011 11:48 AM, Marc-Andr? Doll wrote: > > Hi list, > > > > I'm starting to have some big perimeter (well, probably not as big as > > some of yours) on a Nagios and it's starting to be quite delicate to > > restart/reload it as it takes between 6 and 10 minutes to start > > scheduling checks again. > > > > Is there a way/module/tool to reload the configuration without those > > dead windows in my monitoring? > > > > First of all, make sure you're running a recent enough version of Nagios > to have Jean Gab?s' patch for speeding up circular host/parent paths. > > Secondly, precache the configuration before reloading and use the precached > version of the object config when doing the actual restart. This will bring > your downtime down from 6-10 minutes to perhaps 1-5 seconds. You'll still > lose the full 6-10 minutes for recently added objects, but the previously > existing ones will keep being monitored. > > -- > 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. > > > ------------------------------------------------------------------------------ > All of the data generated in your IT infrastructure is seriously valuable. > Why? It contains a definitive record of application performance, security > threats, fraudulent activity, and more. Splunk takes this data and makes > sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-d2d-c2 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jul 1 17:49:19 2011 From: jim at jimavery.me.uk (Jim Avery) Date: Fri, 1 Jul 2011 16:49:19 +0100 Subject: Reloading configuration on-the-fly In-Reply-To: References: <1309513736.1558.5.camel@MADness> <4E0DA166.7010006@op5.se> Message-ID: On 1 July 2011 16:22, nag ios wrote: > can u let me know the on-fly process in detail.....???? You can send a HUP signal to the Nagios daemon to tell it to re-read the configuration. Make sure you verify the configs first though: /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg Then: kill -1 `cat /usr/local/nagios/var/nagios.lock` ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Jul 1 17:54:27 2011 From: dit.dash at gmail.com (dave stern - e-mail.pluribus.unum) Date: Fri, 1 Jul 2011 11:54:27 -0400 Subject: Reloading configuration on-the-fly In-Reply-To: References: <1309513736.1558.5.camel@MADness> <4E0DA166.7010006@op5.se> Message-ID: To get all checks to run in a shorter amount of time, take a look at reducing max_service_check_spread and max_host_check_spread. You might also be interested in the "fast startup options" in the documentation. This will also point you to such parameters as use_large_installation_tweaks On Fri, Jul 1, 2011 at 11:22 AM, nag ios wrote: > can u let me know the on-fly process in detail.....???? > > On Fri, Jul 1, 2011 at 3:58 PM, Andreas Ericsson wrote: >> >> On 07/01/2011 11:48 AM, Marc-Andr? Doll wrote: >> > Hi list, >> > >> > I'm starting to have some big perimeter (well, probably not as big as >> > some of yours) on a Nagios and it's starting to be quite delicate to >> > restart/reload it as it takes between 6 and 10 minutes to start >> > scheduling checks again. >> > >> > Is there a way/module/tool to reload the configuration without those >> > dead windows in my monitoring? >> > >> >> First of all, make sure you're running a recent enough version of Nagios >> to have Jean Gab?s' patch for speeding up circular host/parent paths. >> >> Secondly, precache the configuration before reloading and use the >> precached >> version of the object config when doing the actual restart. This will >> bring >> your downtime down from 6-10 minutes to perhaps 1-5 seconds. You'll still >> lose the full 6-10 minutes for recently added objects, but the previously >> existing ones will keep being monitored. >> >> -- >> 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. >> >> >> ------------------------------------------------------------------------------ >> All of the data generated in your IT infrastructure is seriously valuable. >> Why? It contains a definitive record of application performance, security >> threats, fraudulent activity, and more. Splunk takes this data and makes >> sense of it. IT sense. And common sense. >> http://p.sf.net/sfu/splunk-d2d-c2 >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null > > > ------------------------------------------------------------------------------ > All of the data generated in your IT infrastructure is seriously valuable. > Why? It contains a definitive record of application performance, security > threats, fraudulent activity, and more. Splunk takes this data and makes > sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-d2d-c2 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jay at firewahl.com Fri Jul 1 19:45:51 2011 From: jay at firewahl.com (Jay Wahl) Date: Fri, 1 Jul 2011 10:45:51 -0700 (PDT) Subject: check_openmanage error on W2k8r2 Dell R900 Message-ID: <1309542351.60572.YahooMailRC@web1103.biz.mail.sk1.yahoo.com> Love check_openmanage plugin for Nagios! It has been a great help for monitoring our Dell hardware. I recently built 3 Dell 900s with W2K8r2 with check_openmanage (v 3.6.8) and Dell OMSA (v 6.5.0). I am getting the following errors: C:\Program Files\NSClient++\scripts>check_openmanage Problem running 'omreport chassis memory': Error Correction;Multibit ECC INTERNAL ERROR: Use of uninitialized value in concatenation (.) or string at script/check_openmanage line 1650. INTERNAL ERROR: Use of uninitialized value in concatenation (.) or string at script/check_openmanage line 1650. Here is my omreport chassis memory output from the system: Memory Information Health : Ok Memory Redundancy Fail Over State : Inactive Redundancy Configuration : Disabled Attributes of Memory Array(s) Attributes of Memory Array(s) Location : Proprietary Add-on Card Use : System Memory Installed Capacity : 32768 MB Maximum Capacity : 262144 MB Slots Available : 32 Slots Used : 16 Error Correction : Multibit ECC Total of Memory Array(s) Total Installed Capacity : 32768 MB Total Installed Capacity Available to the OS : 32768 MB Total Maximum Capacity : 262144 MB Details of Memory Array 1 Index : 0 Status : Ok Connector Name : DIMM A1 Type : DDR2 FB-DIMM - Synchronous Size : 2048 MB Index : 1 Status : Ok Connector Name : DIMM B1 Type : DDR2 FB-DIMM - Synchronous Size : 2048 MB Index : 2 Status : Ok Connector Name : DIMM C1 Type : DDR2 FB-DIMM - Synchronous Size : 2048 MB Index : 3 Status : Ok Connector Name : DIMM D1 Type : DDR2 FB-DIMM - Synchronous Size : 2048 MB Index : 4 Status : Ok Connector Name : DIMM A2 Type : DDR2 FB-DIMM - Synchronous Size : 2048 MB Index : 5 Status : Ok Connector Name : DIMM B2 Type : DDR2 FB-DIMM - Synchronous Size : 2048 MB Index : 6 Status : Ok Connector Name : DIMM C2 Type : DDR2 FB-DIMM - Synchronous Size : 2048 MB Index : 7 Status : Ok Connector Name : DIMM D2 Type : DDR2 FB-DIMM - Synchronous Size : 2048 MB Index : 8 Status : Ok Connector Name : DIMM A3 Type : DDR2 FB-DIMM - Synchronous Size : 2048 MB Index : 9 Status : Ok Connector Name : DIMM B3 Type : DDR2 FB-DIMM - Synchronous Size : 2048 MB Index : 10 Status : Ok Connector Name : DIMM C3 Type : DDR2 FB-DIMM - Synchronous Size : 2048 MB Index : 11 Status : Ok Connector Name : DIMM D3 Type : DDR2 FB-DIMM - Synchronous Size : 2048 MB Index : 12 Status : Ok Connector Name : DIMM A4 Type : DDR2 FB-DIMM - Synchronous Size : 2048 MB Index : 13 Status : Ok Connector Name : DIMM B4 Type : DDR2 FB-DIMM - Synchronous Size : 2048 MB Index : 14 Status : Ok Connector Name : DIMM C4 Type : DDR2 FB-DIMM - Synchronous Size : 2048 MB Index : 15 Status : Ok Connector Name : DIMM D4 Type : DDR2 FB-DIMM - Synchronous Size : 2048 MB Index : Status : Unknown Connector Name : DIMM A5 Type : [Not Occupied] Size : Index : Status : Unknown Connector Name : DIMM B5 Type : [Not Occupied] Size : Index : Status : Unknown Connector Name : DIMM C5 Type : [Not Occupied] Size : Index : Status : Unknown Connector Name : DIMM D5 Type : [Not Occupied] Size : Index : Status : Unknown Connector Name : DIMM A6 Type : [Not Occupied] Size : Index : Status : Unknown Connector Name : DIMM B6 Type : [Not Occupied] Size : Index : Status : Unknown Connector Name : DIMM C6 Type : [Not Occupied] Size : Index : Status : Unknown Connector Name : DIMM D6 Type : [Not Occupied] Size : Index : Status : Unknown Connector Name : DIMM A7 Type : [Not Occupied] Size : Index : Status : Unknown Connector Name : DIMM B7 Type : [Not Occupied] Size : Index : Status : Unknown Connector Name : DIMM C7 Type : [Not Occupied] Size : Index : Status : Unknown Connector Name : DIMM D7 Type : [Not Occupied] Size : Index : Status : Unknown Connector Name : DIMM A8 Type : [Not Occupied] Size : Index : Status : Unknown Connector Name : DIMM B8 Type : [Not Occupied] Size : Index : Status : Unknown Connector Name : DIMM C8 Type : [Not Occupied] Size : Index : Status : Unknown Connector Name : DIMM D8 Type : [Not Occupied] Size : Does anybody have any ideas on what could be causing the errors? Thanks, Jay -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Jul 1 20:08:19 2011 From: Edwin.Zoeller at ama-assn.org (Edwin Zoeller) Date: Fri, 1 Jul 2011 13:08:19 -0500 Subject: Reloading configuration on-the-fly In-Reply-To: References: <1309513736.1558.5.camel@MADness> <4E0DA166.7010006@op5.se> Message-ID: Also, if on Linux OS, make it a service and all you have to do is issue: service Nagios reload -----Original Message----- From: Jim Avery [mailto:jim at jimavery.me.uk] Sent: Friday, July 01, 2011 10:49 AM To: Nagios Users List Subject: Re: [Nagios-users] Reloading configuration on-the-fly On 1 July 2011 16:22, nag ios wrote: > can u let me know the on-fly process in detail.....???? You can send a HUP signal to the Nagios daemon to tell it to re-read the configuration. Make sure you verify the configs first though: /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg Then: kill -1 `cat /usr/local/nagios/var/nagios.lock` ------------------------------------------------------------------------ ------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gevery at gmail.com Fri Jul 1 20:33:20 2011 From: gevery at gmail.com (Gary Every) Date: Fri, 1 Jul 2011 11:33:20 -0700 Subject: Reloading configuration on-the-fly In-Reply-To: References: <1309513736.1558.5.camel@MADness> <4E0DA166.7010006@op5.se> Message-ID: I wrote a script for checking first, then reloading nagios. It's pretty simple: #!/bin/bash cd /etc/nagios /usr/bin/nagios -v nagios.cfg RETVAL=$? if [ "$RETVAL" = "0" ] then service nagios reload exit 0 else echo "######### ERROR IN CONFIG ##############" echo "# Please fix the above issue and try again #" echo "############################################" exit 1 fi On Fri, Jul 1, 2011 at 11:08 AM, Edwin Zoeller wrote: > Also, if on Linux OS, make it a service and all you have to do is issue: > service Nagios reload > > > -----Original Message----- > From: Jim Avery [mailto:jim at jimavery.me.uk] > Sent: Friday, July 01, 2011 10:49 AM > To: Nagios Users List > Subject: Re: [Nagios-users] Reloading configuration on-the-fly > > On 1 July 2011 16:22, nag ios wrote: > > can u let me know the on-fly process in detail.....???? > > > You can send a HUP signal to the Nagios daemon to tell it to re-read the > configuration. > > Make sure you verify the configs first though: > > /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg > > Then: > > kill -1 `cat /usr/local/nagios/var/nagios.lock` > > ------------------------------------------------------------------------ > ------ > All of the data generated in your IT infrastructure is seriously > valuable. > Why? It contains a definitive record of application performance, > security threats, fraudulent activity, and more. Splunk takes this data > and makes sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-d2d-c2 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > ------------------------------------------------------------------------------ > All of the data generated in your IT infrastructure is seriously valuable. > Why? It contains a definitive record of application performance, security > threats, fraudulent activity, and more. Splunk takes this data and makes > sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-d2d-c2 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Gary Every "Pay it Forward!" -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From daniel.wittenberg.r0ko at statefarm.com Fri Jul 1 21:19:49 2011 From: daniel.wittenberg.r0ko at statefarm.com (Daniel Wittenberg) Date: Fri, 1 Jul 2011 19:19:49 +0000 Subject: Reloading configuration on-the-fly In-Reply-To: References: <1309513736.1558.5.camel@MADness> <4E0DA166.7010006@op5.se> Message-ID: <43EB55D703EFCD4880834FDFE47811D2038DBC@WPSDGQGP.OPR.STATEFARM.ORG> If I remember right though this will only re-read what is there, so if you add/remove files it won't pick those up so we just always use a restart. Dan -----Original Message----- From: Edwin Zoeller [mailto:Edwin.Zoeller at ama-assn.org] Sent: Friday, July 01, 2011 1:08 PM To: Nagios Users List Subject: Re: [Nagios-users] Reloading configuration on-the-fly Also, if on Linux OS, make it a service and all you have to do is issue: service Nagios reload -----Original Message----- From: Jim Avery [mailto:jim at jimavery.me.uk] Sent: Friday, July 01, 2011 10:49 AM To: Nagios Users List Subject: Re: [Nagios-users] Reloading configuration on-the-fly On 1 July 2011 16:22, nag ios wrote: > can u let me know the on-fly process in detail.....???? You can send a HUP signal to the Nagios daemon to tell it to re-read the configuration. Make sure you verify the configs first though: /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg Then: kill -1 `cat /usr/local/nagios/var/nagios.lock` ------------------------------------------------------------------------ ------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jul 1 21:37:06 2011 From: jim at jimavery.me.uk (Jim Avery) Date: Fri, 1 Jul 2011 20:37:06 +0100 Subject: Reloading configuration on-the-fly In-Reply-To: <43EB55D703EFCD4880834FDFE47811D2038DBC@WPSDGQGP.OPR.STATEFARM.ORG> References: <1309513736.1558.5.camel@MADness> <4E0DA166.7010006@op5.se> <43EB55D703EFCD4880834FDFE47811D2038DBC@WPSDGQGP.OPR.STATEFARM.ORG> Message-ID: On 1 July 2011 20:19, Daniel Wittenberg wrote: > If I remember right though this will only re-read what is there, so if you add/remove files it won't pick those up so we just always use a restart. I sometimes add/remove a directive cfg_dir=/usr/local/nagios/etc/objects/test without any problem so I guess it's behaving better now than it used to. I do find it's best to do a full stop / start once a week or so regardless though, as Nagios seems to use increasing amounts of CPU otherwise. Mine is quite a busy system though - I need to find some more beefy hardware to host it! ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From daniel.wittenberg.r0ko at statefarm.com Fri Jul 1 22:08:41 2011 From: daniel.wittenberg.r0ko at statefarm.com (Daniel Wittenberg) Date: Fri, 1 Jul 2011 20:08:41 +0000 Subject: Reloading configuration on-the-fly In-Reply-To: References: <1309513736.1558.5.camel@MADness> <4E0DA166.7010006@op5.se> <43EB55D703EFCD4880834FDFE47811D2038DBC@WPSDGQGP.OPR.STATEFARM.ORG> Message-ID: <43EB55D703EFCD4880834FDFE47811D2038E13@WPSDGQGP.OPR.STATEFARM.ORG> We also use some of the pre-caching and config checking before we shutdown so if there are issues we don't take down the install, this reduces the actual downtime to about 20 seconds or so, even loading 600ish hosts and few thousand service checks. Dan -----Original Message----- From: Jim Avery [mailto:jim at jimavery.me.uk] Sent: Friday, July 01, 2011 2:37 PM To: Nagios Users List Subject: Re: [Nagios-users] Reloading configuration on-the-fly On 1 July 2011 20:19, Daniel Wittenberg wrote: > If I remember right though this will only re-read what is there, so if you add/remove files it won't pick those up so we just always use a restart. I sometimes add/remove a directive cfg_dir=/usr/local/nagios/etc/objects/test without any problem so I guess it's behaving better now than it used to. I do find it's best to do a full stop / start once a week or so regardless though, as Nagios seems to use increasing amounts of CPU otherwise. Mine is quite a busy system though - I need to find some more beefy hardware to host it! ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Radu.Popa at technomatic.de Sat Jul 2 08:36:29 2011 From: Radu.Popa at technomatic.de (Radu.Popa at technomatic.de) Date: Sat, 2 Jul 2011 09:36:29 +0300 Subject: Antwort: RE: MRTG graphs problem - measurement units not taken into consideration In-Reply-To: References: Message-ID: Hello again, Can you please give some guidelines how to customize the PNP4Nagios background page? I have tried using the $conf['graph_opt'] = "--watermark 'Test'" option, but it does not take it. Also modifications done on the background.pdf file are not updated. Already restarted apache and nagios services. In general I would like to add some logos and/or text. Thank you! On 29 June 2011 13:23, wrote: > After adding the -r option it works like a charm! > > Now in pnp4nagios I can see both values on the same graph: bytes in and > bytes out. I see them as two thin lines. Any way to make the lines thicker > and change their colour? Well done. Yes, you can create a custom template. Take a look under /usr/local/pnp4nagios/share/templates.dist and find the file named check_snmp_int.php . Copy it to the directory /usr/local/pnp4nagios/share/templates and then edit it to get the wider line. For example the line which reads: $def[1] .= "LINE1:var1#003300:\"in \" " ; Change it to read: $def[1] .= "LINE3:var1#003300:\"in \" " ; You will find documentation on how the LINE instruction works at: http://oss.oetiker.ch/rrdtool/doc/rrdgraph_graph.en.html and some general help on PNP templates at: http://docs.pnp4nagios.org/pnp-0.6/tpl Von: Radu Popa/Technomatic An: nagios-users at lists.sourceforge.net Datum: 06/29/2011 03:23 PM Betreff: Antwort: RE: MRTG graphs problem - measurement units not taken into consideration After adding the -r option it works like a charm! Now in pnp4nagios I can see both values on the same graph: bytes in and bytes out. I see them as two thin lines. Any way to make the lines thicker and change their colour? Von: Radu Popa/Technomatic An: nagios-users at lists.sourceforge.net Datum: 06/29/2011 01:45 PM Betreff: Antwort: RE: MRTG graphs problem - measurement units not taken into consideration Was a typo error of the community string, after putting "public" instead of "Public" everything looks cool. Still 1 question: If I try to query interface GigabitEthernet0/2 I get the response: GigabitEthernet0/21:DOWN, GigabitEthernet0/23:DOWN, GigabitEthernet0/24:UP No usable data on file (40 rows) , GigabitEthernet0/2:UP No usable data on file (1 rows) , GigabitEthernet0/22:DOWN, GigabitEthernet0/20:UP No usable data on file (1 rows) : 3 int NOK : CRITICAL So ti seems that it takes all interfaces starting with "0/2" string. Any way to limit this? Do I have to enter any escape character? Thank you! Von: Radu Popa/Technomatic An: nagios-users at lists.sourceforge.net Datum: 06/29/2011 01:29 PM Betreff: Antwort: RE: MRTG graphs problem - measurement units not taken into consideration Ok, Here is what I got so far: 1. If I run the command: ./check_snmp_int.pl -H 192.168.2.1 -C public -2 -n GigabitEthernet0/24 -fY -kqB -g -w 600000,600000,100,100,100000,10 -c 800000,800000,200,200,200000,20 -d 5 , I get the following output: GigabitEthernet0/24:UP (16.9Kbps/26.2Kbps/0.0/0.0/0.0/0.0):1 UP: OK | 'GigabitEthernet0/24_in_bps'=16899;600000000;800000000;0;1000000000 'GigabitEthernet0/24_out_bps'=26237;600000000;800000000;0;1000000000 Before getting a correct output I run the command several times. The initial output is GigabitEthernet0/24:UP No usable data on file (102 rows) :(1 UP): UNKNOWN 2. Defined the following command in nagios: define command{ command_name check_snmp_int command_line $USER1$/check_snmp_int.pl -H $HOSTADDRESS$ -C $USER5$ -2 -n $ARG1$ -fY -kqB -g -w $ARG2$ -c $ARG3$ -d $ARG4$ } Where And the corresponding service check: define service{ use generic-service,pnpgraphed-service ; Inherit values from a template host_name test_sw service_description Port 24 Bandwidth Usage check_command check_snmp_int!"GigabitEthernet0/24"!600000,600000,100,100,100000,10!800000,800000,200,200,200000,20!10 normal_check_interval 2 ; Check the service every 2 units under normal conditions retry_check_interval 1 ; Re-check the service every 1 unit until its final/hard state is determined } In nagios service status I get now: ERROR: Description table : No response from remote host "192.168.2.1". In resources I have defined $USER5$=Public Ideas, please? Thank you! Von: Radu Popa/Technomatic An: nagios-users at lists.sourceforge.net Datum: 06/28/2011 05:14 PM Betreff: RE: MRTG graphs problem - measurement units not taken into consideration I have tried the SNMP plugin a few minutes ago and here is what I get when running it from the command line: ./check_snmp_int.pl -H 192.168.2.1 -C public -n GigabitEthernet0/24 -k -w 200,400 -c 0,600 GigabitEthernet0/24:UP No usable data on file (1 rows) :(1 UP): UNKNOWN The interface name I took it from listing all available interfaces on the switch. Any ideas, please? Thanks! Von: Radu Popa/Technomatic An: nagios-users at lists.sourceforge.net Datum: 06/28/2011 03:31 PM Betreff: MRTG graphs problem - measurement units not taken into consideration Hello, I am using Nagios to monitor the bandwidth usage of a couple of switches/routers via the check_local_mrtgtraf command. The graphs I handle via pnp4nagios. The problem I encounter is the following: if the monitored bandwidth is at one point expressed in KB/s and then I bring a lot of traffic through the router the, unit is changed into MB/s. The graphed values seem not to take into consideration the change of the measurement unit meaning that the 50KB/s seems to be at the same height as the 50MB/s value in the graph. Can anyone please help? Thank you! -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagiosusers at edcint.co.nz Sat Jul 2 09:15:55 2011 From: nagiosusers at edcint.co.nz (Matthew Jurgens) Date: Sat, 02 Jul 2011 17:15:55 +1000 Subject: Windows monitoring error In-Reply-To: References: Message-ID: <4E0EC5AB.6090903@edcint.co.nz> The easiest way is to forget about NSClient++ and simplify your monitoring by using http://exchange.nagios.org/directory/Plugins/Operating-Systems/Windows/WMI/Check-WMI-Plus/details Unless there is some check that only NSClient++ can do On 2/07/2011 1:17 AM, nag ios wrote: > Default one is 12489 right.....? i haven't tried with 12849.... will > try and update the status ok.....Version: 10.0.1388 / Virus Database: > 1516/3736 - Release Date: 06/30/11 -- Smartmon System Monitoring www.smartmon.com.au -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jul 2 10:57:34 2011 From: jim at jimavery.me.uk (Jim Avery) Date: Sat, 2 Jul 2011 09:57:34 +0100 Subject: Antwort: RE: MRTG graphs problem - measurement units not taken into consideration In-Reply-To: References: Message-ID: On 2 July 2011 07:36, wrote: > Hello again, > > Can you please give some guidelines how to customize the PNP4Nagios > background page? I have tried using the $conf['graph_opt'] = "--watermark > 'Test'" option, but it does not take it. Also modifications done on the > background.pdf file are not updated. Already restarted apache and nagios > services. In general I would like to add some logos and/or text. I can't say I've ever tried that. I would think you need to append to rather than replace the graph options though, so wouldn't it be .. $conf['graph_opt'] .= " --watermark 'Test'" (note the ".=" rather than just "=" and the space added before --watermark ) I don't have my Nagios system to hand at the moment so can't take a look myself. Remind me on Monday if you're still stuck and I'll have a play with that myself. Another option is to create some graphs outside of PNP altogether (but using the .rrd databases created by PNP). See: http://oss.oetiker.ch/rrdtool/doc/rrdcgi.en.html Again, I can dig out some examples for you if you remind me during the week (or do a search - I'm sure we've covered this topic before either here or on the PNP email list some time in the last few months). ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pitchfork at ederdrom.de Sat Jul 2 11:18:00 2011 From: pitchfork at ederdrom.de (Joerg Linge) Date: Sat, 02 Jul 2011 11:18:00 +0200 Subject: Antwort: RE: MRTG graphs problem - measurement units not taken into consideration In-Reply-To: References: Message-ID: <4E0EE248.3010808@ederdrom.de> Radu.Popa at technomatic.de schrieb: > Hello again, > > Can you please give some guidelines how to customize the PNP4Nagios > background page? I have tried using the $conf['graph_opt'] = "--watermark > 'Test'" option, but it does not take it. Also modifications done on the > background.pdf file are not updated. Already restarted apache and nagios > services. In general I would like to add some logos and/or text. Which pnp4nagios version do you use? I assume its 0.6.13 PNP web interface reads config files in the following order. pnp4nagios/etc/config_local.php pnp4nagios/etc/config.php config_local.php is used to store your own changes and will not be overwritten on updates. config.php is the default config file. http://docs.pnp4nagios.org/pnp-0.6/webfe_cfg Joerg ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Radu.Popa at technomatic.de Sat Jul 2 11:24:21 2011 From: Radu.Popa at technomatic.de (Radu.Popa at technomatic.de) Date: Sat, 2 Jul 2011 12:24:21 +0300 Subject: Antwort: RE: MRTG graphs problem - measurement units not taken into consideration In-Reply-To: References: Message-ID: I have managed to put the text into the graphs ( watermark) by adding the option directly into the respective php file ( e.g. check_snmp_int.php). All the php files seem to have already an $opt[1] line which overrides the general options. I am still stucked with the PDF background file however. Thanks once again! ---------------------------------------------------------------------------- I can't say I've ever tried that. I would think you need to append to rather than replace the graph options though, so wouldn't it be .. $conf['graph_opt'] .= " --watermark 'Test'" (note the ".=" rather than just "=" and the space added before --watermark ) I don't have my Nagios system to hand at the moment so can't take a look myself. Remind me on Monday if you're still stuck and I'll have a play with that myself. Another option is to create some graphs outside of PNP altogether (but using the .rrd databases created by PNP). See: http://oss.oetiker.ch/rrdtool/doc/rrdcgi.en.html Again, I can dig out some examples for you if you remind me during the week (or do a search - I'm sure we've covered this topic before either here or on the PNP email list some time in the last few months). Von: Radu Popa/Technomatic An: nagios-users at lists.sourceforge.net Datum: 07/02/2011 09:36 AM Betreff: Antwort: RE: MRTG graphs problem - measurement units not taken into consideration Hello again, Can you please give some guidelines how to customize the PNP4Nagios background page? I have tried using the $conf['graph_opt'] = "--watermark 'Test'" option, but it does not take it. Also modifications done on the background.pdf file are not updated. Already restarted apache and nagios services. In general I would like to add some logos and/or text. Thank you! On 29 June 2011 13:23, wrote: > After adding the -r option it works like a charm! > > Now in pnp4nagios I can see both values on the same graph: bytes in and > bytes out. I see them as two thin lines. Any way to make the lines thicker > and change their colour? Well done. Yes, you can create a custom template. Take a look under /usr/local/pnp4nagios/share/templates.dist and find the file named check_snmp_int.php . Copy it to the directory /usr/local/pnp4nagios/share/templates and then edit it to get the wider line. For example the line which reads: $def[1] .= "LINE1:var1#003300:\"in \" " ; Change it to read: $def[1] .= "LINE3:var1#003300:\"in \" " ; You will find documentation on how the LINE instruction works at: http://oss.oetiker.ch/rrdtool/doc/rrdgraph_graph.en.html and some general help on PNP templates at: http://docs.pnp4nagios.org/pnp-0.6/tpl Von: Radu Popa/Technomatic An: nagios-users at lists.sourceforge.net Datum: 06/29/2011 03:23 PM Betreff: Antwort: RE: MRTG graphs problem - measurement units not taken into consideration After adding the -r option it works like a charm! Now in pnp4nagios I can see both values on the same graph: bytes in and bytes out. I see them as two thin lines. Any way to make the lines thicker and change their colour? Von: Radu Popa/Technomatic An: nagios-users at lists.sourceforge.net Datum: 06/29/2011 01:45 PM Betreff: Antwort: RE: MRTG graphs problem - measurement units not taken into consideration Was a typo error of the community string, after putting "public" instead of "Public" everything looks cool. Still 1 question: If I try to query interface GigabitEthernet0/2 I get the response: GigabitEthernet0/21:DOWN, GigabitEthernet0/23:DOWN, GigabitEthernet0/24:UP No usable data on file (40 rows) , GigabitEthernet0/2:UP No usable data on file (1 rows) , GigabitEthernet0/22:DOWN, GigabitEthernet0/20:UP No usable data on file (1 rows) : 3 int NOK : CRITICAL So ti seems that it takes all interfaces starting with "0/2" string. Any way to limit this? Do I have to enter any escape character? Thank you! Von: Radu Popa/Technomatic An: nagios-users at lists.sourceforge.net Datum: 06/29/2011 01:29 PM Betreff: Antwort: RE: MRTG graphs problem - measurement units not taken into consideration Ok, Here is what I got so far: 1. If I run the command: ./check_snmp_int.pl -H 192.168.2.1 -C public -2 -n GigabitEthernet0/24 -fY -kqB -g -w 600000,600000,100,100,100000,10 -c 800000,800000,200,200,200000,20 -d 5 , I get the following output: GigabitEthernet0/24:UP (16.9Kbps/26.2Kbps/0.0/0.0/0.0/0.0):1 UP: OK | 'GigabitEthernet0/24_in_bps'=16899;600000000;800000000;0;1000000000 'GigabitEthernet0/24_out_bps'=26237;600000000;800000000;0;1000000000 Before getting a correct output I run the command several times. The initial output is GigabitEthernet0/24:UP No usable data on file (102 rows) :(1 UP): UNKNOWN 2. Defined the following command in nagios: define command{ command_name check_snmp_int command_line $USER1$/check_snmp_int.pl -H $HOSTADDRESS$ -C $USER5$ -2 -n $ARG1$ -fY -kqB -g -w $ARG2$ -c $ARG3$ -d $ARG4$ } Where And the corresponding service check: define service{ use generic-service,pnpgraphed-service ; Inherit values from a template host_name test_sw service_description Port 24 Bandwidth Usage check_command check_snmp_int!"GigabitEthernet0/24"!600000,600000,100,100,100000,10!800000,800000,200,200,200000,20!10 normal_check_interval 2 ; Check the service every 2 units under normal conditions retry_check_interval 1 ; Re-check the service every 1 unit until its final/hard state is determined } In nagios service status I get now: ERROR: Description table : No response from remote host "192.168.2.1". In resources I have defined $USER5$=Public Ideas, please? Thank you! Von: Radu Popa/Technomatic An: nagios-users at lists.sourceforge.net Datum: 06/28/2011 05:14 PM Betreff: RE: MRTG graphs problem - measurement units not taken into consideration I have tried the SNMP plugin a few minutes ago and here is what I get when running it from the command line: ./check_snmp_int.pl -H 192.168.2.1 -C public -n GigabitEthernet0/24 -k -w 200,400 -c 0,600 GigabitEthernet0/24:UP No usable data on file (1 rows) :(1 UP): UNKNOWN The interface name I took it from listing all available interfaces on the switch. Any ideas, please? Thanks! Von: Radu Popa/Technomatic An: nagios-users at lists.sourceforge.net Datum: 06/28/2011 03:31 PM Betreff: MRTG graphs problem - measurement units not taken into consideration Hello, I am using Nagios to monitor the bandwidth usage of a couple of switches/routers via the check_local_mrtgtraf command. The graphs I handle via pnp4nagios. The problem I encounter is the following: if the monitored bandwidth is at one point expressed in KB/s and then I bring a lot of traffic through the router the, unit is changed into MB/s. The graphed values seem not to take into consideration the change of the measurement unit meaning that the 50KB/s seems to be at the same height as the 50MB/s value in the graph. Can anyone please help? Thank you! -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Radu.Popa at technomatic.de Sat Jul 2 11:38:30 2011 From: Radu.Popa at technomatic.de (Radu.Popa at technomatic.de) Date: Sat, 2 Jul 2011 12:38:30 +0300 Subject: Antwort: RE: MRTG graphs problem - measurement units not taken into consideration In-Reply-To: References: Message-ID: PNP version is 0.6.13 and you are totally right about the config_local.php file. Modified in that one and I see it in all graphs. The only opened issue for now is the pdf background file. Thanks a lot! ------------------------------------------------------------ Which pnp4nagios version do you use? I assume its 0.6.13 PNP web interface reads config files in the following order. pnp4nagios/etc/config_local.php pnp4nagios/etc/config.php config_local.php is used to store your own changes and will not be overwritten on updates. config.php is the default config file. http://docs.pnp4nagios.org/pnp-0.6/webfe_cfg Joerg Von: Radu Popa/Technomatic An: Radu Popa/Technomatic at Maxdorf Kopie: nagios-users at lists.sourceforge.net Datum: 07/02/2011 12:24 PM Betreff: Antwort: RE: MRTG graphs problem - measurement units not taken into consideration I have managed to put the text into the graphs ( watermark) by adding the option directly into the respective php file ( e.g. check_snmp_int.php). All the php files seem to have already an $opt[1] line which overrides the general options. I am still stucked with the PDF background file however. Thanks once again! ---------------------------------------------------------------------------- I can't say I've ever tried that. I would think you need to append to rather than replace the graph options though, so wouldn't it be .. $conf['graph_opt'] .= " --watermark 'Test'" (note the ".=" rather than just "=" and the space added before --watermark ) I don't have my Nagios system to hand at the moment so can't take a look myself. Remind me on Monday if you're still stuck and I'll have a play with that myself. Another option is to create some graphs outside of PNP altogether (but using the .rrd databases created by PNP). See: http://oss.oetiker.ch/rrdtool/doc/rrdcgi.en.html Again, I can dig out some examples for you if you remind me during the week (or do a search - I'm sure we've covered this topic before either here or on the PNP email list some time in the last few months). Von: Radu Popa/Technomatic An: nagios-users at lists.sourceforge.net Datum: 07/02/2011 09:36 AM Betreff: Antwort: RE: MRTG graphs problem - measurement units not taken into consideration Hello again, Can you please give some guidelines how to customize the PNP4Nagios background page? I have tried using the $conf['graph_opt'] = "--watermark 'Test'" option, but it does not take it. Also modifications done on the background.pdf file are not updated. Already restarted apache and nagios services. In general I would like to add some logos and/or text. Thank you! On 29 June 2011 13:23, wrote: > After adding the -r option it works like a charm! > > Now in pnp4nagios I can see both values on the same graph: bytes in and > bytes out. I see them as two thin lines. Any way to make the lines thicker > and change their colour? Well done. Yes, you can create a custom template. Take a look under /usr/local/pnp4nagios/share/templates.dist and find the file named check_snmp_int.php . Copy it to the directory /usr/local/pnp4nagios/share/templates and then edit it to get the wider line. For example the line which reads: $def[1] .= "LINE1:var1#003300:\"in \" " ; Change it to read: $def[1] .= "LINE3:var1#003300:\"in \" " ; You will find documentation on how the LINE instruction works at: http://oss.oetiker.ch/rrdtool/doc/rrdgraph_graph.en.html and some general help on PNP templates at: http://docs.pnp4nagios.org/pnp-0.6/tpl Von: Radu Popa/Technomatic An: nagios-users at lists.sourceforge.net Datum: 06/29/2011 03:23 PM Betreff: Antwort: RE: MRTG graphs problem - measurement units not taken into consideration After adding the -r option it works like a charm! Now in pnp4nagios I can see both values on the same graph: bytes in and bytes out. I see them as two thin lines. Any way to make the lines thicker and change their colour? Von: Radu Popa/Technomatic An: nagios-users at lists.sourceforge.net Datum: 06/29/2011 01:45 PM Betreff: Antwort: RE: MRTG graphs problem - measurement units not taken into consideration Was a typo error of the community string, after putting "public" instead of "Public" everything looks cool. Still 1 question: If I try to query interface GigabitEthernet0/2 I get the response: GigabitEthernet0/21:DOWN, GigabitEthernet0/23:DOWN, GigabitEthernet0/24:UP No usable data on file (40 rows) , GigabitEthernet0/2:UP No usable data on file (1 rows) , GigabitEthernet0/22:DOWN, GigabitEthernet0/20:UP No usable data on file (1 rows) : 3 int NOK : CRITICAL So ti seems that it takes all interfaces starting with "0/2" string. Any way to limit this? Do I have to enter any escape character? Thank you! Von: Radu Popa/Technomatic An: nagios-users at lists.sourceforge.net Datum: 06/29/2011 01:29 PM Betreff: Antwort: RE: MRTG graphs problem - measurement units not taken into consideration Ok, Here is what I got so far: 1. If I run the command: ./check_snmp_int.pl -H 192.168.2.1 -C public -2 -n GigabitEthernet0/24 -fY -kqB -g -w 600000,600000,100,100,100000,10 -c 800000,800000,200,200,200000,20 -d 5 , I get the following output: GigabitEthernet0/24:UP (16.9Kbps/26.2Kbps/0.0/0.0/0.0/0.0):1 UP: OK | 'GigabitEthernet0/24_in_bps'=16899;600000000;800000000;0;1000000000 'GigabitEthernet0/24_out_bps'=26237;600000000;800000000;0;1000000000 Before getting a correct output I run the command several times. The initial output is GigabitEthernet0/24:UP No usable data on file (102 rows) :(1 UP): UNKNOWN 2. Defined the following command in nagios: define command{ command_name check_snmp_int command_line $USER1$/check_snmp_int.pl -H $HOSTADDRESS$ -C $USER5$ -2 -n $ARG1$ -fY -kqB -g -w $ARG2$ -c $ARG3$ -d $ARG4$ } Where And the corresponding service check: define service{ use generic-service,pnpgraphed-service ; Inherit values from a template host_name test_sw service_description Port 24 Bandwidth Usage check_command check_snmp_int!"GigabitEthernet0/24"!600000,600000,100,100,100000,10!800000,800000,200,200,200000,20!10 normal_check_interval 2 ; Check the service every 2 units under normal conditions retry_check_interval 1 ; Re-check the service every 1 unit until its final/hard state is determined } In nagios service status I get now: ERROR: Description table : No response from remote host "192.168.2.1". In resources I have defined $USER5$=Public Ideas, please? Thank you! Von: Radu Popa/Technomatic An: nagios-users at lists.sourceforge.net Datum: 06/28/2011 05:14 PM Betreff: RE: MRTG graphs problem - measurement units not taken into consideration I have tried the SNMP plugin a few minutes ago and here is what I get when running it from the command line: ./check_snmp_int.pl -H 192.168.2.1 -C public -n GigabitEthernet0/24 -k -w 200,400 -c 0,600 GigabitEthernet0/24:UP No usable data on file (1 rows) :(1 UP): UNKNOWN The interface name I took it from listing all available interfaces on the switch. Any ideas, please? Thanks! Von: Radu Popa/Technomatic An: nagios-users at lists.sourceforge.net Datum: 06/28/2011 03:31 PM Betreff: MRTG graphs problem - measurement units not taken into consideration Hello, I am using Nagios to monitor the bandwidth usage of a couple of switches/routers via the check_local_mrtgtraf command. The graphs I handle via pnp4nagios. The problem I encounter is the following: if the monitored bandwidth is at one point expressed in KB/s and then I bring a lot of traffic through the router the, unit is changed into MB/s. The graphed values seem not to take into consideration the change of the measurement unit meaning that the 50KB/s seems to be at the same height as the 50MB/s value in the graph. Can anyone please help? Thank you! ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pitchfork at ederdrom.de Sat Jul 2 11:40:03 2011 From: pitchfork at ederdrom.de (Joerg Linge) Date: Sat, 02 Jul 2011 11:40:03 +0200 Subject: Antwort: RE: MRTG graphs problem - measurement units not taken into consideration In-Reply-To: References: Message-ID: <4E0EE773.1010807@ederdrom.de> Radu.Popa at technomatic.de schrieb: > I have managed to put the text into the graphs ( watermark) by adding the > option directly into the respective php file ( e.g. check_snmp_int.php). > All the php files seem to have already an $opt[1] line which overrides the > general options. > > I am still stucked with the PDF background file however. Please tell us in detail what you are doing. Which version of pnp4nagios do you use and which config file do you change. Please provide exact informations. Joerg ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Radu.Popa at technomatic.de Sat Jul 2 13:19:06 2011 From: Radu.Popa at technomatic.de (Radu.Popa at technomatic.de) Date: Sat, 2 Jul 2011 14:19:06 +0300 Subject: Antwort: RE: MRTG graphs problem - measurement units not taken into consideration In-Reply-To: References: Message-ID: What I am trying to achieve is now modifying a bit the pdf generated page ( add an additional logo, put some text, aso). Saw that the background page is called background.pdf, so I have modified that, but when generating PDF I still see the original background page, not the modified one. Thanks! Von: Radu Popa/Technomatic An: nagios-users at lists.sourceforge.net Datum: 07/02/2011 12:38 PM Betreff: Antwort: RE: MRTG graphs problem - measurement units not taken into consideration PNP version is 0.6.13 and you are totally right about the config_local.php file. Modified in that one and I see it in all graphs. The only opened issue for now is the pdf background file. Thanks a lot! ------------------------------------------------------------ Which pnp4nagios version do you use? I assume its 0.6.13 PNP web interface reads config files in the following order. pnp4nagios/etc/config_local.php pnp4nagios/etc/config.php config_local.php is used to store your own changes and will not be overwritten on updates. config.php is the default config file. http://docs.pnp4nagios.org/pnp-0.6/webfe_cfg Joerg Von: Radu Popa/Technomatic An: Radu Popa/Technomatic at Maxdorf Kopie: nagios-users at lists.sourceforge.net Datum: 07/02/2011 12:24 PM Betreff: Antwort: RE: MRTG graphs problem - measurement units not taken into consideration I have managed to put the text into the graphs ( watermark) by adding the option directly into the respective php file ( e.g. check_snmp_int.php). All the php files seem to have already an $opt[1] line which overrides the general options. I am still stucked with the PDF background file however. Thanks once again! ---------------------------------------------------------------------------- I can't say I've ever tried that. I would think you need to append to rather than replace the graph options though, so wouldn't it be .. $conf['graph_opt'] .= " --watermark 'Test'" (note the ".=" rather than just "=" and the space added before --watermark ) I don't have my Nagios system to hand at the moment so can't take a look myself. Remind me on Monday if you're still stuck and I'll have a play with that myself. Another option is to create some graphs outside of PNP altogether (but using the .rrd databases created by PNP). See: http://oss.oetiker.ch/rrdtool/doc/rrdcgi.en.html Again, I can dig out some examples for you if you remind me during the week (or do a search - I'm sure we've covered this topic before either here or on the PNP email list some time in the last few months). Von: Radu Popa/Technomatic An: nagios-users at lists.sourceforge.net Datum: 07/02/2011 09:36 AM Betreff: Antwort: RE: MRTG graphs problem - measurement units not taken into consideration Hello again, Can you please give some guidelines how to customize the PNP4Nagios background page? I have tried using the $conf['graph_opt'] = "--watermark 'Test'" option, but it does not take it. Also modifications done on the background.pdf file are not updated. Already restarted apache and nagios services. In general I would like to add some logos and/or text. Thank you! On 29 June 2011 13:23, wrote: > After adding the -r option it works like a charm! > > Now in pnp4nagios I can see both values on the same graph: bytes in and > bytes out. I see them as two thin lines. Any way to make the lines thicker > and change their colour? Well done. Yes, you can create a custom template. Take a look under /usr/local/pnp4nagios/share/templates.dist and find the file named check_snmp_int.php . Copy it to the directory /usr/local/pnp4nagios/share/templates and then edit it to get the wider line. For example the line which reads: $def[1] .= "LINE1:var1#003300:\"in \" " ; Change it to read: $def[1] .= "LINE3:var1#003300:\"in \" " ; You will find documentation on how the LINE instruction works at: http://oss.oetiker.ch/rrdtool/doc/rrdgraph_graph.en.html and some general help on PNP templates at: http://docs.pnp4nagios.org/pnp-0.6/tpl Von: Radu Popa/Technomatic An: nagios-users at lists.sourceforge.net Datum: 06/29/2011 03:23 PM Betreff: Antwort: RE: MRTG graphs problem - measurement units not taken into consideration After adding the -r option it works like a charm! Now in pnp4nagios I can see both values on the same graph: bytes in and bytes out. I see them as two thin lines. Any way to make the lines thicker and change their colour? Von: Radu Popa/Technomatic An: nagios-users at lists.sourceforge.net Datum: 06/29/2011 01:45 PM Betreff: Antwort: RE: MRTG graphs problem - measurement units not taken into consideration Was a typo error of the community string, after putting "public" instead of "Public" everything looks cool. Still 1 question: If I try to query interface GigabitEthernet0/2 I get the response: GigabitEthernet0/21:DOWN, GigabitEthernet0/23:DOWN, GigabitEthernet0/24:UP No usable data on file (40 rows) , GigabitEthernet0/2:UP No usable data on file (1 rows) , GigabitEthernet0/22:DOWN, GigabitEthernet0/20:UP No usable data on file (1 rows) : 3 int NOK : CRITICAL So ti seems that it takes all interfaces starting with "0/2" string. Any way to limit this? Do I have to enter any escape character? Thank you! Von: Radu Popa/Technomatic An: nagios-users at lists.sourceforge.net Datum: 06/29/2011 01:29 PM Betreff: Antwort: RE: MRTG graphs problem - measurement units not taken into consideration Ok, Here is what I got so far: 1. If I run the command: ./check_snmp_int.pl -H 192.168.2.1 -C public -2 -n GigabitEthernet0/24 -fY -kqB -g -w 600000,600000,100,100,100000,10 -c 800000,800000,200,200,200000,20 -d 5 , I get the following output: GigabitEthernet0/24:UP (16.9Kbps/26.2Kbps/0.0/0.0/0.0/0.0):1 UP: OK | 'GigabitEthernet0/24_in_bps'=16899;600000000;800000000;0;1000000000 'GigabitEthernet0/24_out_bps'=26237;600000000;800000000;0;1000000000 Before getting a correct output I run the command several times. The initial output is GigabitEthernet0/24:UP No usable data on file (102 rows) :(1 UP): UNKNOWN 2. Defined the following command in nagios: define command{ command_name check_snmp_int command_line $USER1$/check_snmp_int.pl -H $HOSTADDRESS$ -C $USER5$ -2 -n $ARG1$ -fY -kqB -g -w $ARG2$ -c $ARG3$ -d $ARG4$ } Where And the corresponding service check: define service{ use generic-service,pnpgraphed-service ; Inherit values from a template host_name test_sw service_description Port 24 Bandwidth Usage check_command check_snmp_int!"GigabitEthernet0/24"!600000,600000,100,100,100000,10!800000,800000,200,200,200000,20!10 normal_check_interval 2 ; Check the service every 2 units under normal conditions retry_check_interval 1 ; Re-check the service every 1 unit until its final/hard state is determined } In nagios service status I get now: ERROR: Description table : No response from remote host "192.168.2.1". In resources I have defined $USER5$=Public Ideas, please? Thank you! Von: Radu Popa/Technomatic An: nagios-users at lists.sourceforge.net Datum: 06/28/2011 05:14 PM Betreff: RE: MRTG graphs problem - measurement units not taken into consideration I have tried the SNMP plugin a few minutes ago and here is what I get when running it from the command line: ./check_snmp_int.pl -H 192.168.2.1 -C public -n GigabitEthernet0/24 -k -w 200,400 -c 0,600 GigabitEthernet0/24:UP No usable data on file (1 rows) :(1 UP): UNKNOWN The interface name I took it from listing all available interfaces on the switch. Any ideas, please? Thanks! Von: Radu Popa/Technomatic An: nagios-users at lists.sourceforge.net Datum: 06/28/2011 03:31 PM Betreff: MRTG graphs problem - measurement units not taken into consideration Hello, I am using Nagios to monitor the bandwidth usage of a couple of switches/routers via the check_local_mrtgtraf command. The graphs I handle via pnp4nagios. The problem I encounter is the following: if the monitored bandwidth is at one point expressed in KB/s and then I bring a lot of traffic through the router the, unit is changed into MB/s. The graphed values seem not to take into consideration the change of the measurement unit meaning that the 50KB/s seems to be at the same height as the 50MB/s value in the graph. Can anyone please help? Thank you! ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pitchfork at ederdrom.de Sat Jul 2 13:55:36 2011 From: pitchfork at ederdrom.de (Joerg Linge) Date: Sat, 02 Jul 2011 13:55:36 +0200 Subject: Antwort: RE: MRTG graphs problem - measurement units not taken into consideration In-Reply-To: References: Message-ID: <4E0F0738.3080708@ederdrom.de> Radu.Popa at technomatic.de schrieb: > > What I am trying to achieve is now modifying a bit the pdf generated page ( > add an additional logo, put some text, aso). Saw that the background page > is called background.pdf, so I have modified that, but when generating PDF > I still see the original background page, not the modified one. Please be more precise! which pdf file did you modify? pnp4nagios/etc/background.pdf? Is this the one? Is this file also registered in your pnp4nagios/etc/config_local.php # # Use this file as PDF background. # $conf['background_pdf'] = '/usr/local/pnp4nagios/etc/background.pdf' ; ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Radu.Popa at technomatic.de Sat Jul 2 14:26:56 2011 From: Radu.Popa at technomatic.de (Radu.Popa at technomatic.de) Date: Sat, 2 Jul 2011 15:26:56 +0300 Subject: Antwort: RE: MRTG graphs problem - measurement units not taken into consideration In-Reply-To: References: Message-ID: Yes, that's the one. Inside my config_local.php I have the line already put: # # Use this file as PDF background. # $conf['background_pdf'] = '/usr/local/pnp4nagios/etc/background.pdf' ; I downloaded the pdf file via scp and double checked to confirm it's the modified one. The rights on the file are: -rw-r--r-- 1 nagios nagios 41924 Jul 2 08:39 background.pdf Thanks! > > What I am trying to achieve is now modifying a bit the pdf generated page ( > add an additional logo, put some text, aso). Saw that the background page > is called background.pdf, so I have modified that, but when generating PDF > I still see the original background page, not the modified one. Please be more precise! which pdf file did you modify? pnp4nagios/etc/background.pdf? Is this the one? Is this file also registered in your pnp4nagios/etc/config_local.php # # Use this file as PDF background. # $conf['background_pdf'] = '/usr/local/pnp4nagios/etc/background.pdf' ; Von: Radu Popa/Technomatic An: nagios-users at lists.sourceforge.net Datum: 07/02/2011 02:19 PM Betreff: Antwort: RE: MRTG graphs problem - measurement units not taken into consideration What I am trying to achieve is now modifying a bit the pdf generated page ( add an additional logo, put some text, aso). Saw that the background page is called background.pdf, so I have modified that, but when generating PDF I still see the original background page, not the modified one. Thanks! Von: Radu Popa/Technomatic An: nagios-users at lists.sourceforge.net Datum: 07/02/2011 12:38 PM Betreff: Antwort: RE: MRTG graphs problem - measurement units not taken into consideration PNP version is 0.6.13 and you are totally right about the config_local.php file. Modified in that one and I see it in all graphs. The only opened issue for now is the pdf background file. Thanks a lot! ------------------------------------------------------------ Which pnp4nagios version do you use? I assume its 0.6.13 PNP web interface reads config files in the following order. pnp4nagios/etc/config_local.php pnp4nagios/etc/config.php config_local.php is used to store your own changes and will not be overwritten on updates. config.php is the default config file. http://docs.pnp4nagios.org/pnp-0.6/webfe_cfg Joerg Von: Radu Popa/Technomatic An: Radu Popa/Technomatic at Maxdorf Kopie: nagios-users at lists.sourceforge.net Datum: 07/02/2011 12:24 PM Betreff: Antwort: RE: MRTG graphs problem - measurement units not taken into consideration I have managed to put the text into the graphs ( watermark) by adding the option directly into the respective php file ( e.g. check_snmp_int.php). All the php files seem to have already an $opt[1] line which overrides the general options. I am still stucked with the PDF background file however. Thanks once again! ---------------------------------------------------------------------------- I can't say I've ever tried that. I would think you need to append to rather than replace the graph options though, so wouldn't it be .. $conf['graph_opt'] .= " --watermark 'Test'" (note the ".=" rather than just "=" and the space added before --watermark ) I don't have my Nagios system to hand at the moment so can't take a look myself. Remind me on Monday if you're still stuck and I'll have a play with that myself. Another option is to create some graphs outside of PNP altogether (but using the .rrd databases created by PNP). See: http://oss.oetiker.ch/rrdtool/doc/rrdcgi.en.html Again, I can dig out some examples for you if you remind me during the week (or do a search - I'm sure we've covered this topic before either here or on the PNP email list some time in the last few months). Von: Radu Popa/Technomatic An: nagios-users at lists.sourceforge.net Datum: 07/02/2011 09:36 AM Betreff: Antwort: RE: MRTG graphs problem - measurement units not taken into consideration Hello again, Can you please give some guidelines how to customize the PNP4Nagios background page? I have tried using the $conf['graph_opt'] = "--watermark 'Test'" option, but it does not take it. Also modifications done on the background.pdf file are not updated. Already restarted apache and nagios services. In general I would like to add some logos and/or text. Thank you! On 29 June 2011 13:23, wrote: > After adding the -r option it works like a charm! > > Now in pnp4nagios I can see both values on the same graph: bytes in and > bytes out. I see them as two thin lines. Any way to make the lines thicker > and change their colour? Well done. Yes, you can create a custom template. Take a look under /usr/local/pnp4nagios/share/templates.dist and find the file named check_snmp_int.php . Copy it to the directory /usr/local/pnp4nagios/share/templates and then edit it to get the wider line. For example the line which reads: $def[1] .= "LINE1:var1#003300:\"in \" " ; Change it to read: $def[1] .= "LINE3:var1#003300:\"in \" " ; You will find documentation on how the LINE instruction works at: http://oss.oetiker.ch/rrdtool/doc/rrdgraph_graph.en.html and some general help on PNP templates at: http://docs.pnp4nagios.org/pnp-0.6/tpl Von: Radu Popa/Technomatic An: nagios-users at lists.sourceforge.net Datum: 06/29/2011 03:23 PM Betreff: Antwort: RE: MRTG graphs problem - measurement units not taken into consideration After adding the -r option it works like a charm! Now in pnp4nagios I can see both values on the same graph: bytes in and bytes out. I see them as two thin lines. Any way to make the lines thicker and change their colour? Von: Radu Popa/Technomatic An: nagios-users at lists.sourceforge.net Datum: 06/29/2011 01:45 PM Betreff: Antwort: RE: MRTG graphs problem - measurement units not taken into consideration Was a typo error of the community string, after putting "public" instead of "Public" everything looks cool. Still 1 question: If I try to query interface GigabitEthernet0/2 I get the response: GigabitEthernet0/21:DOWN, GigabitEthernet0/23:DOWN, GigabitEthernet0/24:UP No usable data on file (40 rows) , GigabitEthernet0/2:UP No usable data on file (1 rows) , GigabitEthernet0/22:DOWN, GigabitEthernet0/20:UP No usable data on file (1 rows) : 3 int NOK : CRITICAL So ti seems that it takes all interfaces starting with "0/2" string. Any way to limit this? Do I have to enter any escape character? Thank you! Von: Radu Popa/Technomatic An: nagios-users at lists.sourceforge.net Datum: 06/29/2011 01:29 PM Betreff: Antwort: RE: MRTG graphs problem - measurement units not taken into consideration Ok, Here is what I got so far: 1. If I run the command: ./check_snmp_int.pl -H 192.168.2.1 -C public -2 -n GigabitEthernet0/24 -fY -kqB -g -w 600000,600000,100,100,100000,10 -c 800000,800000,200,200,200000,20 -d 5 , I get the following output: GigabitEthernet0/24:UP (16.9Kbps/26.2Kbps/0.0/0.0/0.0/0.0):1 UP: OK | 'GigabitEthernet0/24_in_bps'=16899;600000000;800000000;0;1000000000 'GigabitEthernet0/24_out_bps'=26237;600000000;800000000;0;1000000000 Before getting a correct output I run the command several times. The initial output is GigabitEthernet0/24:UP No usable data on file (102 rows) :(1 UP): UNKNOWN 2. Defined the following command in nagios: define command{ command_name check_snmp_int command_line $USER1$/check_snmp_int.pl -H $HOSTADDRESS$ -C $USER5$ -2 -n $ARG1$ -fY -kqB -g -w $ARG2$ -c $ARG3$ -d $ARG4$ } Where And the corresponding service check: define service{ use generic-service,pnpgraphed-service ; Inherit values from a template host_name test_sw service_description Port 24 Bandwidth Usage check_command check_snmp_int!"GigabitEthernet0/24"!600000,600000,100,100,100000,10!800000,800000,200,200,200000,20!10 normal_check_interval 2 ; Check the service every 2 units under normal conditions retry_check_interval 1 ; Re-check the service every 1 unit until its final/hard state is determined } In nagios service status I get now: ERROR: Description table : No response from remote host "192.168.2.1". In resources I have defined $USER5$=Public Ideas, please? Thank you! Von: Radu Popa/Technomatic An: nagios-users at lists.sourceforge.net Datum: 06/28/2011 05:14 PM Betreff: RE: MRTG graphs problem - measurement units not taken into consideration I have tried the SNMP plugin a few minutes ago and here is what I get when running it from the command line: ./check_snmp_int.pl -H 192.168.2.1 -C public -n GigabitEthernet0/24 -k -w 200,400 -c 0,600 GigabitEthernet0/24:UP No usable data on file (1 rows) :(1 UP): UNKNOWN The interface name I took it from listing all available interfaces on the switch. Any ideas, please? Thanks! Von: Radu Popa/Technomatic An: nagios-users at lists.sourceforge.net Datum: 06/28/2011 03:31 PM Betreff: MRTG graphs problem - measurement units not taken into consideration Hello, I am using Nagios to monitor the bandwidth usage of a couple of switches/routers via the check_local_mrtgtraf command. The graphs I handle via pnp4nagios. The problem I encounter is the following: if the monitored bandwidth is at one point expressed in KB/s and then I bring a lot of traffic through the router the, unit is changed into MB/s. The graphed values seem not to take into consideration the change of the measurement unit meaning that the 50KB/s seems to be at the same height as the 50MB/s value in the graph. Can anyone please help? Thank you! ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pitchfork at ederdrom.de Sat Jul 2 14:59:20 2011 From: pitchfork at ederdrom.de (Joerg Linge) Date: Sat, 02 Jul 2011 14:59:20 +0200 Subject: Antwort: RE: MRTG graphs problem - measurement units not taken into consideration In-Reply-To: References: Message-ID: <4E0F1628.10804@ederdrom.de> Radu.Popa at technomatic.de schrieb: > > Yes, that's the one. Inside my config_local.php I have the line already > put: > > # > # Use this file as PDF background. > # > $conf['background_pdf'] = '/usr/local/pnp4nagios/etc/background.pdf' ; > > I downloaded the pdf file via scp and double checked to confirm it's the > modified one. > > The rights on the file are: > > -rw-r--r-- 1 nagios nagios 41924 Jul 2 08:39 background.pdf > > Thanks! Sorry i can?t reproduce this issue here. someone else? Joerg ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Radu.Popa at technomatic.de Sat Jul 2 15:02:01 2011 From: Radu.Popa at technomatic.de (Radu.Popa at technomatic.de) Date: Sat, 2 Jul 2011 16:02:01 +0300 Subject: Antwort: RE: MRTG graphs problem - measurement units not taken into consideration In-Reply-To: References: Message-ID: Damn, was all the time in front of me: the picture inserted was a stamp, so obviously that the PNP would not use it. Added as a normal picture and appeared immediately. Sorry for keeping you busy :( Von: Radu Popa/Technomatic An: nagios-users at lists.sourceforge.net Datum: 07/02/2011 03:26 PM Betreff: Antwort: RE: MRTG graphs problem - measurement units not taken into consideration Yes, that's the one. Inside my config_local.php I have the line already put: # # Use this file as PDF background. # $conf['background_pdf'] = '/usr/local/pnp4nagios/etc/background.pdf' ; I downloaded the pdf file via scp and double checked to confirm it's the modified one. The rights on the file are: -rw-r--r-- 1 nagios nagios 41924 Jul 2 08:39 background.pdf Thanks! > > What I am trying to achieve is now modifying a bit the pdf generated page ( > add an additional logo, put some text, aso). Saw that the background page > is called background.pdf, so I have modified that, but when generating PDF > I still see the original background page, not the modified one. Please be more precise! which pdf file did you modify? pnp4nagios/etc/background.pdf? Is this the one? Is this file also registered in your pnp4nagios/etc/config_local.php # # Use this file as PDF background. # $conf['background_pdf'] = '/usr/local/pnp4nagios/etc/background.pdf' ; Von: Radu Popa/Technomatic An: nagios-users at lists.sourceforge.net Datum: 07/02/2011 02:19 PM Betreff: Antwort: RE: MRTG graphs problem - measurement units not taken into consideration What I am trying to achieve is now modifying a bit the pdf generated page ( add an additional logo, put some text, aso). Saw that the background page is called background.pdf, so I have modified that, but when generating PDF I still see the original background page, not the modified one. Thanks! Von: Radu Popa/Technomatic An: nagios-users at lists.sourceforge.net Datum: 07/02/2011 12:38 PM Betreff: Antwort: RE: MRTG graphs problem - measurement units not taken into consideration PNP version is 0.6.13 and you are totally right about the config_local.php file. Modified in that one and I see it in all graphs. The only opened issue for now is the pdf background file. Thanks a lot! ------------------------------------------------------------ Which pnp4nagios version do you use? I assume its 0.6.13 PNP web interface reads config files in the following order. pnp4nagios/etc/config_local.php pnp4nagios/etc/config.php config_local.php is used to store your own changes and will not be overwritten on updates. config.php is the default config file. http://docs.pnp4nagios.org/pnp-0.6/webfe_cfg Joerg Von: Radu Popa/Technomatic An: Radu Popa/Technomatic at Maxdorf Kopie: nagios-users at lists.sourceforge.net Datum: 07/02/2011 12:24 PM Betreff: Antwort: RE: MRTG graphs problem - measurement units not taken into consideration I have managed to put the text into the graphs ( watermark) by adding the option directly into the respective php file ( e.g. check_snmp_int.php). All the php files seem to have already an $opt[1] line which overrides the general options. I am still stucked with the PDF background file however. Thanks once again! ---------------------------------------------------------------------------- I can't say I've ever tried that. I would think you need to append to rather than replace the graph options though, so wouldn't it be .. $conf['graph_opt'] .= " --watermark 'Test'" (note the ".=" rather than just "=" and the space added before --watermark ) I don't have my Nagios system to hand at the moment so can't take a look myself. Remind me on Monday if you're still stuck and I'll have a play with that myself. Another option is to create some graphs outside of PNP altogether (but using the .rrd databases created by PNP). See: http://oss.oetiker.ch/rrdtool/doc/rrdcgi.en.html Again, I can dig out some examples for you if you remind me during the week (or do a search - I'm sure we've covered this topic before either here or on the PNP email list some time in the last few months). Von: Radu Popa/Technomatic An: nagios-users at lists.sourceforge.net Datum: 07/02/2011 09:36 AM Betreff: Antwort: RE: MRTG graphs problem - measurement units not taken into consideration Hello again, Can you please give some guidelines how to customize the PNP4Nagios background page? I have tried using the $conf['graph_opt'] = "--watermark 'Test'" option, but it does not take it. Also modifications done on the background.pdf file are not updated. Already restarted apache and nagios services. In general I would like to add some logos and/or text. Thank you! On 29 June 2011 13:23, wrote: > After adding the -r option it works like a charm! > > Now in pnp4nagios I can see both values on the same graph: bytes in and > bytes out. I see them as two thin lines. Any way to make the lines thicker > and change their colour? Well done. Yes, you can create a custom template. Take a look under /usr/local/pnp4nagios/share/templates.dist and find the file named check_snmp_int.php . Copy it to the directory /usr/local/pnp4nagios/share/templates and then edit it to get the wider line. For example the line which reads: $def[1] .= "LINE1:var1#003300:\"in \" " ; Change it to read: $def[1] .= "LINE3:var1#003300:\"in \" " ; You will find documentation on how the LINE instruction works at: http://oss.oetiker.ch/rrdtool/doc/rrdgraph_graph.en.html and some general help on PNP templates at: http://docs.pnp4nagios.org/pnp-0.6/tpl Von: Radu Popa/Technomatic An: nagios-users at lists.sourceforge.net Datum: 06/29/2011 03:23 PM Betreff: Antwort: RE: MRTG graphs problem - measurement units not taken into consideration After adding the -r option it works like a charm! Now in pnp4nagios I can see both values on the same graph: bytes in and bytes out. I see them as two thin lines. Any way to make the lines thicker and change their colour? Von: Radu Popa/Technomatic An: nagios-users at lists.sourceforge.net Datum: 06/29/2011 01:45 PM Betreff: Antwort: RE: MRTG graphs problem - measurement units not taken into consideration Was a typo error of the community string, after putting "public" instead of "Public" everything looks cool. Still 1 question: If I try to query interface GigabitEthernet0/2 I get the response: GigabitEthernet0/21:DOWN, GigabitEthernet0/23:DOWN, GigabitEthernet0/24:UP No usable data on file (40 rows) , GigabitEthernet0/2:UP No usable data on file (1 rows) , GigabitEthernet0/22:DOWN, GigabitEthernet0/20:UP No usable data on file (1 rows) : 3 int NOK : CRITICAL So ti seems that it takes all interfaces starting with "0/2" string. Any way to limit this? Do I have to enter any escape character? Thank you! Von: Radu Popa/Technomatic An: nagios-users at lists.sourceforge.net Datum: 06/29/2011 01:29 PM Betreff: Antwort: RE: MRTG graphs problem - measurement units not taken into consideration Ok, Here is what I got so far: 1. If I run the command: ./check_snmp_int.pl -H 192.168.2.1 -C public -2 -n GigabitEthernet0/24 -fY -kqB -g -w 600000,600000,100,100,100000,10 -c 800000,800000,200,200,200000,20 -d 5 , I get the following output: GigabitEthernet0/24:UP (16.9Kbps/26.2Kbps/0.0/0.0/0.0/0.0):1 UP: OK | 'GigabitEthernet0/24_in_bps'=16899;600000000;800000000;0;1000000000 'GigabitEthernet0/24_out_bps'=26237;600000000;800000000;0;1000000000 Before getting a correct output I run the command several times. The initial output is GigabitEthernet0/24:UP No usable data on file (102 rows) :(1 UP): UNKNOWN 2. Defined the following command in nagios: define command{ command_name check_snmp_int command_line $USER1$/check_snmp_int.pl -H $HOSTADDRESS$ -C $USER5$ -2 -n $ARG1$ -fY -kqB -g -w $ARG2$ -c $ARG3$ -d $ARG4$ } Where And the corresponding service check: define service{ use generic-service,pnpgraphed-service ; Inherit values from a template host_name test_sw service_description Port 24 Bandwidth Usage check_command check_snmp_int!"GigabitEthernet0/24"!600000,600000,100,100,100000,10!800000,800000,200,200,200000,20!10 normal_check_interval 2 ; Check the service every 2 units under normal conditions retry_check_interval 1 ; Re-check the service every 1 unit until its final/hard state is determined } In nagios service status I get now: ERROR: Description table : No response from remote host "192.168.2.1". In resources I have defined $USER5$=Public Ideas, please? Thank you! Von: Radu Popa/Technomatic An: nagios-users at lists.sourceforge.net Datum: 06/28/2011 05:14 PM Betreff: RE: MRTG graphs problem - measurement units not taken into consideration I have tried the SNMP plugin a few minutes ago and here is what I get when running it from the command line: ./check_snmp_int.pl -H 192.168.2.1 -C public -n GigabitEthernet0/24 -k -w 200,400 -c 0,600 GigabitEthernet0/24:UP No usable data on file (1 rows) :(1 UP): UNKNOWN The interface name I took it from listing all available interfaces on the switch. Any ideas, please? Thanks! Von: Radu Popa/Technomatic An: nagios-users at lists.sourceforge.net Datum: 06/28/2011 03:31 PM Betreff: MRTG graphs problem - measurement units not taken into consideration Hello, I am using Nagios to monitor the bandwidth usage of a couple of switches/routers via the check_local_mrtgtraf command. The graphs I handle via pnp4nagios. The problem I encounter is the following: if the monitored bandwidth is at one point expressed in KB/s and then I bring a lot of traffic through the router the, unit is changed into MB/s. The graphed values seem not to take into consideration the change of the measurement unit meaning that the 50KB/s seems to be at the same height as the 50MB/s value in the graph. Can anyone please help? Thank you! ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From crishna at videotron.ca Sat Jul 2 22:57:00 2011 From: crishna at videotron.ca (crishna at videotron.ca) Date: Sat, 02 Jul 2011 16:57:00 -0400 Subject: Whoops! Could not read object configuration data! Message-ID: <7390c9d772896.4e0f4ddc@videotron.ca> Hi Community! i have a little problem here with Nagios (web interface). i have the following message from all menu items from the left pannel : Whoops! Error: Could not read object configuration data! Here are some things you should check in order to resolve this error: Verify configuration options using the -v command-line option to check for errors. Check the Nagios log file for messages relating to startup or status data errors. Make sure you read the documentation on installing, configuring and running Nagios thoroughly before continuing. If all else fails, try sending a message to one of the mailing lists. More information can be found at http://www.nagios.org. i did struggled the past 2 days with this issue. going over all config files i could think off, and even installed a VM with a linux to compare configs. but still the same issue... i am running fedora 15 64 bits, 2.6.38.8-32.fc15.x86_64 nagios 3.2.3 october 03, 2010 i think nagios is working fine, because i get the email warnings of my failed servers/services. the nagios -v command returns no error at all. my guess is that httpd (apache) is in cause here. i tried the default config from the RPM packages, no luck. when i installed it on the VM, it worked like a charm, so i tried the nagios.cfg, httpd.conf, cgi.conf, well all config frommy VM to my server, same issue. next step, i looked the file ownerships, properties and applied the same ownership settings from the VM to my server, still the same problem. i tried also to put debug message very verbose on nagios and apache, nothing showed up. my login is working fine as well from the nagios web page, username password are valids. anyone came accros this issue ? if requested, i can provide all my configs. it used to work few weeks ago, but my raid array broke so i had to reinstall rfom scratch... since then, something seems deffective. any help would be appreciated! best regards, Francois -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jul 2 23:54:37 2011 From: jim at jimavery.me.uk (Jim Avery) Date: Sat, 2 Jul 2011 22:54:37 +0100 Subject: Whoops! Could not read object configuration data! In-Reply-To: <7390c9d772896.4e0f4ddc@videotron.ca> References: <7390c9d772896.4e0f4ddc@videotron.ca> Message-ID: On 2 July 2011 21:57, wrote: > Hi Community! > > i have a little problem here with Nagios (web interface). It's not that old chestnut selinux stopping it from working is it? ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From crishna at videotron.ca Sun Jul 3 00:08:10 2011 From: crishna at videotron.ca (crishna at videotron.ca) Date: Sat, 02 Jul 2011 18:08:10 -0400 Subject: Whoops! Could not read object configuration data! In-Reply-To: References: <7390c9d772896.4e0f4ddc@videotron.ca> Message-ID: <75b0f18c72b93.4e0f5e8a@videotron.ca> No, not that i know off, selinux and iptables are disabled since i installed linux... first thing i do, i'd wish could be that simple tho ! ----- Message d'origine ----- De: Jim Avery Date: Samedi, 2 Juillet 2011, 5:56 pm Objet: Re: [Nagios-users] Whoops! Could not read object configuration data! ?: Nagios Users List > On 2 July 2011 21:57, wrote: > > Hi Community! > > > > i have a little problem here with Nagios (web interface). > > It's not that old chestnut selinux stopping it from working is it? > > ----------------------------------------------------------------- > ------------- > All of the data generated in your IT infrastructure is seriously > valuable.Why? It contains a definitive record of application > performance, security > threats, fraudulent activity, and more. Splunk takes this data > and makes > sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-d2d-c2 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jul 3 03:03:30 2011 From: yuehung.liu at gmail.com (Yueh-Hung Liu) Date: Sun, 3 Jul 2011 09:03:30 +0800 Subject: Whoops! Could not read object configuration data! In-Reply-To: <75b0f18c72b93.4e0f5e8a@videotron.ca> References: <7390c9d772896.4e0f4ddc@videotron.ca> <75b0f18c72b93.4e0f5e8a@videotron.ca> Message-ID: did you check your 'cgi.cfg' config file? On Sun, Jul 3, 2011 at 6:08 AM, wrote: > No, not that i know off, selinux and iptables are disabled since i installed > linux... first thing i do, i'd wish could be that simple tho ! > > ----- Message d'origine ----- > De: Jim Avery > Date: Samedi, 2 Juillet 2011, 5:56 pm > Objet: Re: [Nagios-users] Whoops! Could not read object configuration data! > ?: Nagios Users List > >> On 2 July 2011 21:57,? wrote: >> > Hi Community! >> > >> > i have a little problem here with Nagios (web interface). >> >> It's not that old chestnut selinux stopping it from working is it? >> >> ----------------------------------------------------------------- >> ------------- >> All of the data generated in your IT infrastructure is seriously >> valuable.Why? It contains a definitive record of application >> performance, security >> threats, fraudulent activity, and more. Splunk takes this data >> and makes >> sense of it. IT sense. And common sense. >> http://p.sf.net/sfu/splunk-d2d-c2 >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS >> when reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ > All of the data generated in your IT infrastructure is seriously valuable. > Why? It contains a definitive record of application performance, security > threats, fraudulent activity, and more. Splunk takes this data and makes > sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-d2d-c2 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From crishna at videotron.ca Sun Jul 3 04:06:43 2011 From: crishna at videotron.ca (crishna at videotron.ca) Date: Sat, 02 Jul 2011 22:06:43 -0400 Subject: Whoops! Could not read object configuration data! In-Reply-To: References: <7390c9d772896.4e0f4ddc@videotron.ca> <75b0f18c72b93.4e0f5e8a@videotron.ca> Message-ID: <76d0c9687493c.4e0f9673@videotron.ca> Yes, i tried the default, from my VM installation as well... i thought it was that at one point... because i changed the default nagiosadmin user to another use id, and i had changed my htpasswd too to match them... and then i tested with original htpasswd and original cgi files... things havnt got any better... to my little comprehension... CGI is worlking fine, as well as php... but it some point, seems like a process not able to read a file config of nagios... a process from apache... which i tried to restore all the known config files of both products... apache and nagios to match a new installation... i know or guess that i could easlily probably just remove and reinstall or force a re-install of both products... but i am also the usual type of guy that want to know what brakes... i hate the microsoft solution of ctrl + alt + del ... i'dlove to find what is deffective, im sure its a config... because it works elsewhere... so it related to my machine. config, etc... ----- Message d'origine ----- De: Yueh-Hung Liu Date: Samedi, 2 Juillet 2011, 9:06 pm Objet: Re: [Nagios-users] Re : Re: Whoops! Could not read object configuration data! ?: Nagios Users List > did you check your 'cgi.cfg' config file? > > > On Sun, Jul 3, 2011 at 6:08 AM, wrote: > > No, not that i know off, selinux and iptables are disabled > since i installed > > linux... first thing i do, i'd wish could be that simple tho ! > > > > ----- Message d'origine ----- > > De: Jim Avery > > Date: Samedi, 2 Juillet 2011, 5:56 pm > > Objet: Re: [Nagios-users] Whoops! Could not read object > configuration data! > > ?: Nagios Users List > > > >> On 2 July 2011 21:57, wrote: > >> > Hi Community! > >> > > >> > i have a little problem here with Nagios (web interface). > >> > >> It's not that old chestnut selinux stopping it from working > is it? > >> > >> -------------------------------------------------------------- > --- > >> ------------- > >> All of the data generated in your IT infrastructure is seriously > >> valuable.Why? It contains a definitive record of application > >> performance, security > >> threats, fraudulent activity, and more. Splunk takes this data > >> and makes > >> sense of it. IT sense. And common sense. > >> http://p.sf.net/sfu/splunk-d2d-c2 > >> _______________________________________________ > >> Nagios-users mailing list > >> Nagios-users at lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/nagios-users > >> ::: Please include Nagios version, plugin version (-v) and OS > >> when reporting any issue. > >> ::: Messages without supporting info will risk being sent to > /dev/null> ------------------------------------------------------ > ------------------------ > > All of the data generated in your IT infrastructure is > seriously valuable. > > Why? It contains a definitive record of application > performance, security > > threats, fraudulent activity, and more. Splunk takes this data > and makes > > sense of it. IT sense. And common sense. > > http://p.sf.net/sfu/splunk-d2d-c2 > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS > when reporting > > any issue. > > ::: Messages without supporting info will risk being sent to > /dev/null> > > ----------------------------------------------------------------- > ------------- > All of the data generated in your IT infrastructure is seriously > valuable.Why? It contains a definitive record of application > performance, security > threats, fraudulent activity, and more. Splunk takes this data > and makes > sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-d2d-c2 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jul 3 08:06:25 2011 From: yuehung.liu at gmail.com (Yueh-Hung Liu) Date: Sun, 3 Jul 2011 14:06:25 +0800 Subject: Whoops! Could not read object configuration data! In-Reply-To: <76d0c9687493c.4e0f9673@videotron.ca> References: <7390c9d772896.4e0f4ddc@videotron.ca> <75b0f18c72b93.4e0f5e8a@videotron.ca> <76d0c9687493c.4e0f9673@videotron.ca> Message-ID: what are the permissions and ownerships of nagios' config files? what user is the http server (apache) running on? On Sun, Jul 3, 2011 at 10:06 AM, wrote: > Yes, i tried the default, from my VM installation as well... i thought it > was that at one point... because i changed the default nagiosadmin user to > another use id, and i had changed my htpasswd too to match them... and then > i tested with original htpasswd and original cgi files... things havnt got > any better... to my little comprehension... CGI is worlking fine, as well as > php... but it some point, seems like a process not able to read a file > config of nagios... a process from apache... which i tried to restore all > the known config files of both products... apache and nagios to match a new > installation... > > i know or guess that i could easlily probably just remove and reinstall or > force a re-install of both products... but i am also the usual type of guy > that want to know what brakes... i hate the microsoft solution of ctrl + alt > + del ... i'dlove to find what is deffective, im sure its a config... > because it works elsewhere... so it related to my machine. config, etc... > > ----- Message d'origine ----- > De: Yueh-Hung Liu > Date: Samedi, 2 Juillet 2011, 9:06 pm > Objet: Re: [Nagios-users] Re : Re: Whoops! Could not read object > configuration data! > ?: Nagios Users List > >> did you check your 'cgi.cfg' config file? >> >> >> On Sun, Jul 3, 2011 at 6:08 AM,? wrote: >> > No, not that i know off, selinux and iptables are disabled >> since i installed >> > linux... first thing i do, i'd wish could be that simple tho ! >> > >> > ----- Message d'origine ----- >> > De: Jim Avery >> > Date: Samedi, 2 Juillet 2011, 5:56 pm >> > Objet: Re: [Nagios-users] Whoops! Could not read object >> configuration data! >> > ?: Nagios Users List >> > >> >> On 2 July 2011 21:57,? wrote: >> >> > Hi Community! >> >> > >> >> > i have a little problem here with Nagios (web interface). >> >> >> >> It's not that old chestnut selinux stopping it from working >> is it? >> >> >> >> -------------------------------------------------------------- >> --- >> >> ------------- >> >> All of the data generated in your IT infrastructure is seriously >> >> valuable.Why? It contains a definitive record of application >> >> performance, security >> >> threats, fraudulent activity, and more. Splunk takes this data >> >> and makes >> >> sense of it. IT sense. And common sense. >> >> http://p.sf.net/sfu/splunk-d2d-c2 >> >> _______________________________________________ >> >> Nagios-users mailing list >> >> Nagios-users at lists.sourceforge.net >> >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> >> ::: Please include Nagios version, plugin version (-v) and OS >> >> when reporting any issue. >> >> ::: Messages without supporting info will risk being sent to >> /dev/null> ------------------------------------------------------ >> ------------------------ >> > All of the data generated in your IT infrastructure is >> seriously valuable. >> > Why? It contains a definitive record of application >> performance, security >> > threats, fraudulent activity, and more. Splunk takes this data >> and makes >> > sense of it. IT sense. And common sense. >> > http://p.sf.net/sfu/splunk-d2d-c2 >> > _______________________________________________ >> > Nagios-users mailing list >> > Nagios-users at lists.sourceforge.net >> > https://lists.sourceforge.net/lists/listinfo/nagios-users >> > ::: Please include Nagios version, plugin version (-v) and OS >> when reporting >> > any issue. >> > ::: Messages without supporting info will risk being sent to >> /dev/null> >> >> ----------------------------------------------------------------- >> ------------- >> All of the data generated in your IT infrastructure is seriously >> valuable.Why? It contains a definitive record of application >> performance, security >> threats, fraudulent activity, and more. Splunk takes this data >> and makes >> sense of it. IT sense. And common sense. >> http://p.sf.net/sfu/splunk-d2d-c2 >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS >> when reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ > All of the data generated in your IT infrastructure is seriously valuable. > Why? It contains a definitive record of application performance, security > threats, fraudulent activity, and more. Splunk takes this data and makes > sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-d2d-c2 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sun Jul 3 11:34:42 2011 From: t.h.amundsen at usit.uio.no (Trond Hasle Amundsen) Date: Sun, 03 Jul 2011 11:34:42 +0200 Subject: check_openmanage error on W2k8r2 Dell R900 In-Reply-To: <1309542351.60572.YahooMailRC@web1103.biz.mail.sk1.yahoo.com> (Jay Wahl's message of "Fri, 1 Jul 2011 10:45:51 -0700 (PDT)") References: <1309542351.60572.YahooMailRC@web1103.biz.mail.sk1.yahoo.com> Message-ID: <15t62njd7wt.fsf@tux.uio.no> Jay Wahl writes: > Love check_openmanage plugin for Nagios! It has been a great help for > monitoring our Dell hardware. I recently built 3 Dell 900s with W2K8r2 with > check_openmanage (v 3.6.8) and Dell OMSA (v 6.5.0). Hi Jay, Are you completely sure that you're using version 3.6.8? My reason for asking is that the errors you get don't make sense (details below). > I am getting the following errors: > C:\Program Files\NSClient++\scripts>check_openmanage > Problem running 'omreport chassis memory': Error Correction;Multibit ECC This was fixed a while back (version 3.6.3 IIRC). The "Error Correction" field appeared in OMSA 6.4.0 and check_openmanage triggers on strings containing "Error". The particular string above obviously does not indicate an actual error and was put in the whitelist for errors shortly after OMSA 6.4.0 was released. > INTERNAL ERROR: Use of uninitialized value in concatenation (.) or string at > script/check_openmanage line 1650. > INTERNAL ERROR: Use of uninitialized value in concatenation (.) or string at > script/check_openmanage line 1650. These two don't make any sense, since line 1650 only contains a comment. They are also probably not related to the memory check. Please verify the version of check_openmanage. The plugin will output its version number with either of these options: check_openmanage -V check_openmanage -d Regards, -- Trond H. Amundsen Center for Information Technology Services, University of Oslo ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rob at hillis.dyndns.org Sun Jul 3 12:17:16 2011 From: rob at hillis.dyndns.org (Rob Hillis) Date: Sun, 03 Jul 2011 20:17:16 +1000 Subject: Problem with check_disk_smb Message-ID: <4E1041AC.70006@hillis.dyndns.org> I'm having a problem getting check_disk_smb going on my Nagios setup. When I run check_disk_smb from the command line on my Nagios server, I get the following:- #./check_disk_smb -H 10.10.1.8 -s shared -u -p -W -w 90% -c 95% Disk ok - 13.19G (26%) free on \\10.10.1.8\ However, when I configure check_disk_smb as a monitor, I get the following status:- **ePN /usr/lib/nagios/plugins/check_disk_smb: "Invalid conversion in sprintf: "%A" at /usr/lib/nagios3/p1.pl line 81,". The service is configured as followed in services.cfg:- define service { service_description check_disk_smb check_command check_disk_smb!!!!!90!95 host_name HSVFIL001S check_period 24x7 notification_period 24x7 contact_groups admins notification_interval 15 notification_options w,u,c,r max_check_attempts 3 check_interval 5 retry_interval 1 active_checks_enabled 1 passive_checks_enabled 0 notifications_enabled 1 check_freshness 0 freshness_threshold 86400 use Default_collector_server,Default_monitor_server,Default_timeperiod_interval_10 } check_disk_smb is defined in checkcommands.cfg as follows:- define command { command_name check_disk_smb command_line $USER1$/check_disk_smb -H $HOSTADDRESS$ -s %ARG1% -W $ARG2$ -u $ARG3$ -p $ARG4$ -w $ARG5$ -c $ARG6$ } I'm running Nagios 3.2.0 on Ubuntu 10.04 LTS installed via apt-get. The config files are generated by NConf 1.2.6-1. I've defined several other services with arguments (admittedly not six of them) without problems. I've tried defining the command with all the arguments hard-coded and it hasn't made a difference. Googling has only revealed someone asking a very similar question to me (http://osdir.com/ml/network.nagios.devel/2006-11/msg00007.html) but no-one appears to have answered this question. Can anyone point me in the direction of a solution to this issue? I do have check_smb running fine, which is a start, however I'm trying to be sure that network authentication is working properly since I'm running a Samba 4 DC (the target for this check is running Samba 3) and occasionally Samba 4 stops authenticating properly - it's this situation I'm trying to catch. ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Radu.Popa at technomatic.de Sun Jul 3 13:08:57 2011 From: Radu.Popa at technomatic.de (Radu.Popa at technomatic.de) Date: Sun, 3 Jul 2011 14:08:57 +0300 Subject: Problem with check_disk_smb Message-ID: Please check the typo error in the command definition: Maybe you should replace %ARG1% with $ARG1$ Regards! -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rob at hillis.dyndns.org Sun Jul 3 13:48:39 2011 From: rob at hillis.dyndns.org (Rob Hillis) Date: Sun, 03 Jul 2011 21:48:39 +1000 Subject: Problem with check_disk_smb In-Reply-To: References: Message-ID: <4E105717.7030206@hillis.dyndns.org> On 03/07/11 21:08, Radu.Popa at technomatic.de wrote: > Please check the typo error in the command definition: > > Maybe you should replace %ARG1%with $ARG1$ Thanks greatly - that was it. I guess I'm not familiar enough with Nagios yet that the wrong wrapper around the argument failed to trigger recognition of the problem. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kevin.kenny at zygonia.net Sun Jul 3 14:58:33 2011 From: kevin.kenny at zygonia.net (Kevin Kenny) Date: Sun, 3 Jul 2011 13:58:33 +0100 Subject: Service escalations without contacts or groups defined on the services themselves Message-ID: All of my service checks are based on templates where notifications are enabled, the notification period set to 24x7, notification type is set to U,C etc. But there are no contacts or contact groups associated in the service check templates. When I add a new service check, the check is always based on one of these templates. However I *still don't* add any contacts or groups to the actual checks themselves. The service checks all get added to to a service group called "Critical-Services". I also have a number of users who are members of a contact group called Duty-Admin-Pagers. I have a service escalation configured with a linked contact group of Duty-Admin-Pagers (above) and with a servicegroup_name of Critical-Services, it looks like this: define serviceescalation{ servicegroup_name Critical-Services contact_groups Duty-Admin contacts first_notification 1 last_notification 999 notification_interval 1 escalation_period 24x7 escalation_options u,c } Whenever a service goes CRITICAL HARD and exceeds the number of retries I get pager alerts fired off just as I expect. However when I load this configuration into Nagios I get warnings such as: Warning Service 'APC-Power-Output' on host 'APC-PDU-0299' has no default contacts or contactgroups defined! The escalation and notifications still work and still send notifications to the contact_group Duty-Admin defined in the service escalation. I find this a convenient configuration because it means I don't have to explicitly define contacts or contact groups at either the service template or service check itself and makes management somewhat simpler. Despite the warnings, and even though this configuration works just fine, is it recommended? Thanks Kevin -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From crishna at videotron.ca Sun Jul 3 18:03:15 2011 From: crishna at videotron.ca (crishna at videotron.ca) Date: Sun, 03 Jul 2011 12:03:15 -0400 Subject: Whoops! Could not read object configuration data! In-Reply-To: References: <7390c9d772896.4e0f4ddc@videotron.ca> <75b0f18c72b93.4e0f5e8a@videotron.ca> <76d0c9687493c.4e0f9673@videotron.ca> Message-ID: <73b0c81770447.4e105a83@videotron.ca> original ownership from installation, apache run as apache... i did tried to read the files as user apache, i dud sudo su - apache then i browsed the folders of the config files and was correct... nagios configs are 664, root:root nagios objects directoru is 751 root:nagios ----- Message d'origine ----- De: Yueh-Hung Liu Date: Dimanche, 3 Juillet 2011, 2:09 am Objet: Re: [Nagios-users] Re : Re: Re : Re: Whoops! Could not read object configuration data! ?: Nagios Users List > what are the permissions and ownerships of nagios' config files? > what user is the http server (apache) running on? > > > On Sun, Jul 3, 2011 at 10:06 AM, > wrote:> Yes, i tried the default, from my VM installation as > well... i thought it > > was that at one point... because i changed the default > nagiosadmin user to > > another use id, and i had changed my htpasswd too to match > them... and then > > i tested with original htpasswd and original cgi files... > things havnt got > > any better... to my little comprehension... CGI is worlking > fine, as well as > > php... but it some point, seems like a process not able to > read a file > > config of nagios... a process from apache... which i tried to > restore all > > the known config files of both products... apache and nagios > to match a new > > installation... > > > > i know or guess that i could easlily probably just remove and > reinstall or > > force a re-install of both products... but i am also the usual > type of guy > > that want to know what brakes... i hate the microsoft solution > of ctrl + alt > > + del ... i'dlove to find what is deffective, im sure its a > config...> because it works elsewhere... so it related to my > machine. config, etc... > > > > ----- Message d'origine ----- > > De: Yueh-Hung Liu > > Date: Samedi, 2 Juillet 2011, 9:06 pm > > Objet: Re: [Nagios-users] Re : Re: Whoops! Could not read object > > configuration data! > > ?: Nagios Users List > > > >> did you check your 'cgi.cfg' config file? > >> > >> > >> On Sun, Jul 3, 2011 at 6:08 AM, wrote: > >> > No, not that i know off, selinux and iptables are disabled > >> since i installed > >> > linux... first thing i do, i'd wish could be that simple > tho ! > >> > > >> > ----- Message d'origine ----- > >> > De: Jim Avery > >> > Date: Samedi, 2 Juillet 2011, 5:56 pm > >> > Objet: Re: [Nagios-users] Whoops! Could not read object > >> configuration data! > >> > ?: Nagios Users List > >> > > >> >> On 2 July 2011 21:57, wrote: > >> >> > Hi Community! > >> >> > > >> >> > i have a little problem here with Nagios (web interface). > >> >> > >> >> It's not that old chestnut selinux stopping it from working > >> is it? > >> >> > >> >> ----------------------------------------------------------- > --- > >> --- > >> >> ------------- > >> >> All of the data generated in your IT infrastructure is seriously > >> >> valuable.Why? It contains a definitive record of application > >> >> performance, security > >> >> threats, fraudulent activity, and more. Splunk takes this data > >> >> and makes > >> >> sense of it. IT sense. And common sense. > >> >> http://p.sf.net/sfu/splunk-d2d-c2 > >> >> _______________________________________________ > >> >> Nagios-users mailing list > >> >> Nagios-users at lists.sourceforge.net > >> >> https://lists.sourceforge.net/lists/listinfo/nagios-users > >> >> ::: Please include Nagios version, plugin version (-v) and OS > >> >> when reporting any issue. > >> >> ::: Messages without supporting info will risk being sent to > >> /dev/null> --------------------------------------------------- > --- > >> ------------------------ > >> > All of the data generated in your IT infrastructure is > >> seriously valuable. > >> > Why? It contains a definitive record of application > >> performance, security > >> > threats, fraudulent activity, and more. Splunk takes this data > >> and makes > >> > sense of it. IT sense. And common sense. > >> > http://p.sf.net/sfu/splunk-d2d-c2 > >> > _______________________________________________ > >> > Nagios-users mailing list > >> > Nagios-users at lists.sourceforge.net > >> > https://lists.sourceforge.net/lists/listinfo/nagios-users > >> > ::: Please include Nagios version, plugin version (-v) and OS > >> when reporting > >> > any issue. > >> > ::: Messages without supporting info will risk being sent to > >> /dev/null> > >> > >> -------------------------------------------------------------- > --- > >> ------------- > >> All of the data generated in your IT infrastructure is seriously > >> valuable.Why? It contains a definitive record of application > >> performance, security > >> threats, fraudulent activity, and more. Splunk takes this data > >> and makes > >> sense of it. IT sense. And common sense. > >> http://p.sf.net/sfu/splunk-d2d-c2 > >> _______________________________________________ > >> Nagios-users mailing list > >> Nagios-users at lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/nagios-users > >> ::: Please include Nagios version, plugin version (-v) and OS > >> when reporting any issue. > >> ::: Messages without supporting info will risk being sent to > /dev/null> ------------------------------------------------------ > ------------------------ > > All of the data generated in your IT infrastructure is > seriously valuable. > > Why? It contains a definitive record of application > performance, security > > threats, fraudulent activity, and more. Splunk takes this data > and makes > > sense of it. IT sense. And common sense. > > http://p.sf.net/sfu/splunk-d2d-c2 > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS > when reporting > > any issue. > > ::: Messages without supporting info will risk being sent to > /dev/null> > > ----------------------------------------------------------------- > ------------- > All of the data generated in your IT infrastructure is seriously > valuable.Why? It contains a definitive record of application > performance, security > threats, fraudulent activity, and more. Splunk takes this data > and makes > sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-d2d-c2 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sun Jul 3 20:21:55 2011 From: member at linkedin.com (Sergio Belkin via LinkedIn) Date: Sun, 3 Jul 2011 18:21:55 +0000 (UTC) Subject: Invitation to connect on LinkedIn Message-ID: <1257929361.7193779.1309717315438.JavaMail.app@ela4-bed34.prod> LinkedIn ------------ Sergio Belkin requested to add you as a connection on LinkedIn: ------------------------------------------ Lei, I'd like to add you to my professional network on LinkedIn. - Sergio Accept invitation from Sergio Belkin http://www.linkedin.com/e/y49s6u-gpobvgbu-9/Vg1FBpStI6_M-eFLExlo-pjnfalPIPkLyx3rkqjZdRi1FOrPNoT/blk/I1484935738_3/1BpC5vrmRLoRZcjkkZt5YCpnlOt3RApnhMpmdzgmhxrSNBszYPnPwPdPkPejgUd359bPdms5hfemcSbPsTd3oQejoNd3cLrCBxbOYWrSlI/EML_comm_afe/ View invitation from Sergio Belkin http://www.linkedin.com/e/y49s6u-gpobvgbu-9/Vg1FBpStI6_M-eFLExlo-pjnfalPIPkLyx3rkqjZdRi1FOrPNoT/blk/I1484935738_3/3dve3cTdjcVd3wQckALqnpPbOYWrSlI/svi/ ------------------------------------------ Why might connecting with Sergio Belkin be a good idea? Sergio Belkin's connections could be useful to you: After accepting Sergio Belkin's invitation, check Sergio Belkin's connections to see who else you may know and who you might want an introduction to. Building these connections can create opportunities in the future. -- (c) 2011, LinkedIn Corporation -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jarenas at lt.csags.com.mx Sun Jul 3 21:48:34 2011 From: jarenas at lt.csags.com.mx (jarenas at lt.csags.com.mx) Date: Sun, 3 Jul 2011 14:48:34 -0500 Subject: Checking Status of Exchange 2010 Mailbox Store without check_nt In-Reply-To: <4E0C5005.1000908@edcint.co.nz> References: <4E02A10A.7010607@edcint.co.nz>, <4E0C5005.1000908@edcint.co.nz> Message-ID: An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From emilio.bruna at heliman.it Mon Jul 4 09:51:00 2011 From: emilio.bruna at heliman.it (Emilio Bruna) Date: Mon, 4 Jul 2011 09:51:00 +0200 Subject: omreport and check_openmanage In-Reply-To: <15taacyceec.fsf@tux.uio.no> References: <15taacyceec.fsf@tux.uio.no> Message-ID: Hello Trond and thks for your reply. Omsa version is 6.2.0.1 so: windows 2008 storage server SP2 Hardware is Dell NX 300 Storage server (a derivate of R410 or R310 i think) See you soon Emilio 2011/7/1 Trond Hasle Amundsen > Emilio Bruna writes: > > > Hello all, > > i'm monitoring several Dell windows servers with nagios and NSClient++ > > and OMSA + check_openmanage. On one of these, i'm getting a problem > > monitoring the redundant power supplies. > > > > Running the command below LOCALLY on the machine being monitored i got > > the right data from omreport.exe: > > > > c:\Program Files (x86)\Dell\SysMgt\oma\bin>omreport.exe chassis > pwrsupplies > > Power Supplies Information > > > > --------------------------------------- > > Main System Chassis Power Supplies : Ok > > --------------------------------------- > > > > Power Supply Redundancy : Ok > > Attribute : Redundancy Status > > Value : Full > > Individual Power Supply Elements > > Index : 0 > > Status : Ok > > Location : PS 1 Status > > Type : AC > > Rated Input Wattage : 680 W > > Maximum Output Wattage : 500 W > > Online Status : Presence Detected > > Power Monitoring Capable : Yes > > > > Index : 1 > > Status : Ok > > Location : PS 2 Status > > Type : AC > > Rated Input Wattage : 680 W > > Maximum Output Wattage : 500 W > > Online Status : Presence Detected > > Power Monitoring Capable : Yes > > > > running the below command (the ones needed to check_openmanage): > > > > c:\Program Files > (x86)\Dell\SysMgt\oma\bin>c:\Users\administrator.CMVC\Desktop\ > > check_openmanage.exe --omreport "c:\Program Files (x86)\Dell\SysMg > > mreport.exe" > > Problem running 'omreport chassis pwrmonitoring': Error: Current probes > not > > found > > > > i've noticed that the switches coming from check_openmanage are > > slightly different from the ones passed from omreport.exe ("omreport > > chassis pwrmonitoring" instead of "omreport chassis pwrsupplies") > > > > so it seems that check_openmanage has the wrong switches regard to the > > powermonitoring check status; or maybe the omsa version i'm using is > > not at the correct version to work in the right way with > > check_openmanage. > > Hi Emilio, > > Don't confuse the two arguments 'pwrsupplies' and 'pwrmonitoring'. They > do different things, and check_openmanage uses both of them. It runs > 'omreport chassis pwrsupplies' to get the status of the power supplies, > and it runs 'omreport chassis pwrmonitoring' to get the status and value > of the amperage probes. The latter includes the overall power > consumption of the server. > > In your case, it's the 'pwrmonitoring' command that fails. This is a > known problem with some older versions of OMSA. Which version of OMSA > are you running, and on what kind of PowerEdge server? > > Regards, > -- > Trond H. Amundsen > Center for Information Technology Services, University of Oslo > > ------------------------------------------------------------------------------ > All of the data generated in your IT infrastructure is seriously valuable. > Why? It contains a definitive record of application performance, security > threats, fraudulent activity, and more. Splunk takes this data and makes > sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-d2d-c2 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- *Heliman Srl* Emilio Bruna 13, v. Oiolo - 25052 Piancogno BS Tel 0364 1955207 Fax 0364 1955208 Mobile 347 2529377 *Riservatezza (ai sensi del D.Lgs. 196/2003)* Il presente documento ? ad uso esclusivo del destinatario. Tutte le informazioni ivi contenute sono soggette a riservatezza a termini di legge sulla Privacy e quindi ne ? proibita la loro utilizzazione e diffusione. Se avete ricevuto questo messaggio per errore, nello scusarci per l'accaduto, Vi preghiamo di avvertirci immediatamente e cancellare ogni evidenza dai vostri supporti. Grazie. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jul 4 10:14:57 2011 From: t.h.amundsen at usit.uio.no (Trond Hasle Amundsen) Date: Mon, 04 Jul 2011 10:14:57 +0200 Subject: omreport and check_openmanage In-Reply-To: (Emilio Bruna's message of "Mon, 4 Jul 2011 09:51:00 +0200") References: <15taacyceec.fsf@tux.uio.no> Message-ID: <15toc1abgxq.fsf@tux.uio.no> Emilio Bruna writes: > Omsa version is 6.2.0.1 > so: windows 2008 storage server SP2 > Hardware is Dell NX 300 Storage server (a derivate of R410 or R310 i think) This combination should be ok. I don't know the NX300, but if it's based on the R310 or R410 it shouldn't be a problem. There was a bug in check_openmanage related to power monitoring on the R410, but this was fixed in version 3.6.5 of the plugin. Are you using the latest version of check_openmanage, which is 3.6.8? Also, would it be possible for you to upgrade OMSA to the latest version, 6.5.0? This really is an OMSA issue. If the power supplies don't support power monitoring, omreport should just that say that and check_openmanage is happy. But in your case, OMSA is responding with an error. One last tip. In some cases I've seen that certain capabilities in OMSA depends on BIOS and/or firmware versions. You should verify that the BIOS and firmware is relatively up-to-date. Regards, -- Trond H. Amundsen Center for Information Technology Services, University of Oslo ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Radu.Popa at technomatic.de Mon Jul 4 14:25:09 2011 From: Radu.Popa at technomatic.de (Radu.Popa at technomatic.de) Date: Mon, 4 Jul 2011 15:25:09 +0300 Subject: PNP4Nagios watermark font colour Message-ID: Hello, Can this color of the font be changed? Even more if possible: can half of the watermark word be written in a color and the other half in another color? Thank you! -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pitchfork at ederdrom.de Mon Jul 4 14:44:56 2011 From: pitchfork at ederdrom.de (Joerg Linge) Date: Mon, 04 Jul 2011 14:44:56 +0200 Subject: PNP4Nagios watermark font colour In-Reply-To: References: Message-ID: <4E11B5C8.20106@ederdrom.de> Radu.Popa at technomatic.de schrieb: > Hello, > > Can this color of the font be changed? Even more if possible: can half of > the watermark word be written in a color and the other half in another > color? this is IMHO not a nagios or pnp4nagios question http://oss.oetiker.ch/rrdtool/doc/rrdgraph.en.html Option --font and --color (untested(tm)) Joerg ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Radu.Popa at technomatic.de Mon Jul 4 14:48:01 2011 From: Radu.Popa at technomatic.de (Radu.Popa at technomatic.de) Date: Mon, 4 Jul 2011 15:48:01 +0300 Subject: Antwort: Re: PNP4Nagios watermark font colour In-Reply-To: <4E11B5C8.20106@ederdrom.de> References: <4E11B5C8.20106@ederdrom.de> Message-ID: This modifies the entire color font, not only watermark. Von: Joerg Linge An: Nagios Users List Datum: 07/04/2011 03:46 PM Betreff: Re: [Nagios-users] PNP4Nagios watermark font colour Radu.Popa at technomatic.de schrieb: > Hello, > > Can this color of the font be changed? Even more if possible: can half of > the watermark word be written in a color and the other half in another > color? this is IMHO not a nagios or pnp4nagios question http://oss.oetiker.ch/rrdtool/doc/rrdgraph.en.html Option --font and --color (untested(tm)) Joerg ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stanislas.leveau at ac-caen.fr Mon Jul 4 17:13:20 2011 From: stanislas.leveau at ac-caen.fr (LEVEAU Stanislas) Date: Mon, 04 Jul 2011 17:13:20 +0200 Subject: problem state with check_multi In-Reply-To: References: <4E11B5C8.20106@ederdrom.de> Message-ID: <4E11D890.5010809@ac-caen.fr> Hi, I created a file with command and state : pix.cmd command [ pix1 ] = check_icmp -H 1.2.3.4 -w 3000.0,80% -c 5000.0,100% -p 1 command [ pix2 ] = check_icmp -H 1.2.3.5 -w 3000.0,80% -c 5000.0,100% -p 1 command [ pix3 ] = check_icmp -H 1.2.3.6 -w 3000.0,80% -c 5000.0,100% -p 1 state [ OK ] = pix1 == OK && pix2 == OK && pix3 == OK state [ CRITICAL ] = pix1 == CRITICAL || pix2 == CRITICAL || pix3 == CRITICAL When i run a command with the plugin check_multi the result is UNKNOWN, instead of CRITICAL. # /usr/lib/nagios/plugins/check_multi -f pix.cmd -r 5 UNKNOWN - 3 plugins checked, 2 unknown (pix1, pix2), 1 ok [please don't run plugins as root!] [ 1] pix1 OK - 10.50.184.245: rta 74,980ms, lost 0% [ 2] pix2 CRITICAL - 217.108.39.122: rta nan, lost 100% [timeout encountered after 10s] [ 3] pix3 CRITICAL - 217.108.39.122: rta nan, lost 100% [timeout encountered after 10s] Have you any idea? regards Stan -- *Stanislas LEVEAU** *Rectorat de Caen 168, rue Caponi?re B.P. 6184 14061 CAEN Cedex Service Informatique de l'Acad?mie de Caen D?partement Syst?mes & R?seaux stanislas.leveau at ac-caen.fr Tel : 02.31.30.17.86 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Mon Jul 4 18:54:41 2011 From: jim at jimavery.me.uk (Jim Avery) Date: Mon, 4 Jul 2011 17:54:41 +0100 Subject: Antwort: Re: PNP4Nagios watermark font colour In-Reply-To: References: <4E11B5C8.20106@ederdrom.de> Message-ID: On 4 July 2011 13:48, wrote: > This modifies the entire color font, not only watermark. Reading the page Joerg mentioned ( http://oss.oetiker.ch/rrdtool/doc/rrdgraph.en.html ) I would guess you could try the --pango-markup option and format the text in the watermark using pango markup tags. The link to the relevant page describing the pango syntax is broken - I assume it's this one now: http://developer.gnome.org/pango/stable/PangoMarkupFormat.html I'll leave it to you to find out whether you have a version of Pango which supports the required tags (and whether it works at all on the watermark text or not). Cheers, Jim ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From matthias.flacke at gmx.de Mon Jul 4 21:19:34 2011 From: matthias.flacke at gmx.de (Matthias Flacke) Date: Mon, 04 Jul 2011 21:19:34 +0200 Subject: problem state with check_multi In-Reply-To: <4E11D890.5010809@ac-caen.fr> References: <4E11B5C8.20106@ederdrom.de> <4E11D890.5010809@ac-caen.fr> Message-ID: <4E121246.60104@gmx.de> Hi Stanislas, the RC UNKNOWN and the message '[timeout encountered after 10s]' is not from check_icmp, but from the check_multi child check timeout, which also encountered after 10s. :) To get sure which timeout actually is working, either specify another timeout for check_icmp, or for check_multi child child checks. Cheers, -Matthias On 7/4/11 5:13 PM, LEVEAU Stanislas wrote: > Hi, > > I created a file with command and state : pix.cmd > > command [ pix1 ] = check_icmp -H 1.2.3.4 -w 3000.0,80% -c 5000.0,100% -p 1 > command [ pix2 ] = check_icmp -H 1.2.3.5 -w 3000.0,80% -c 5000.0,100% -p 1 > command [ pix3 ] = check_icmp -H 1.2.3.6 -w 3000.0,80% -c 5000.0,100% -p 1 > > state [ OK ] = pix1 == OK && pix2 == OK && pix3 == OK > state [ CRITICAL ] = pix1 == CRITICAL || pix2 == CRITICAL || pix3 == > CRITICAL > > > When i run a command with the plugin check_multi the result is UNKNOWN, > instead of CRITICAL. > > # /usr/lib/nagios/plugins/check_multi -f pix.cmd -r 5 > > UNKNOWN - 3 plugins checked, 2 unknown (pix1, pix2), 1 ok [please don't > run plugins as root!] > [ 1] pix1 OK - 10.50.184.245: rta 74,980ms, lost 0% > [ 2] pix2 CRITICAL - 217.108.39.122: rta nan, lost 100% [timeout > encountered after 10s] > [ 3] pix3 CRITICAL - 217.108.39.122: rta nan, lost 100% [timeout > encountered after 10s] > > > Have you any idea? > regards > Stan > > -- > *Stanislas LEVEAU** > > *Rectorat de Caen > 168, rue Caponi?re > B.P. 6184 > 14061 CAEN Cedex > Service Informatique de l'Acad?mie de Caen > D?partement Syst?mes & R?seaux > > stanislas.leveau at ac-caen.fr > Tel : 02.31.30.17.86 > > > > > > ------------------------------------------------------------------------------ > All of the data generated in your IT infrastructure is seriously valuable. > Why? It contains a definitive record of application performance, security > threats, fraudulent activity, and more. Splunk takes this data and makes > sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-d2d-c2 > > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagiostool at gmail.com Tue Jul 5 06:08:12 2011 From: nagiostool at gmail.com (nag ios) Date: Tue, 5 Jul 2011 09:38:12 +0530 Subject: check the HTTP server authentication error Message-ID: hi this is krishna, I have a problem while viewing the status of hosts or any link in the browser i get the following error as it appears as though you do not have permission to view information for any of the hosts you requested... If you believe this is an error,check the HTTP server authentication requirements for accessing this CGI and check the authorization options in your CGI configuration file. I have changed the authorization value to 0 and checked it worked but when i'm enabling any nofitications its giving error as the sorry dave i can't let you do that...... It seems you have choosen to not use the authentication functionality of the CGIs. Please help me. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From subflux at gmail.com Tue Jul 5 10:58:35 2011 From: subflux at gmail.com (Kenny Gillen) Date: Tue, 5 Jul 2011 09:58:35 +0100 Subject: Dates are in future after power outage.. Message-ID: Hi, After a power outage, my (Nagios? 3.0.6) install (part of Fully Automated Nagios distro) has somehow become corrupt. It was working great before the outage, now all host checks have dates in the future. (server time is normal) "Next Scheduled Active Check: 18-08-2017 23:09:56 Last State Change: 07-04-2017 08:51:56" Is it possible to recover my install without having to create all the configs from scratch again? Thanks ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stanislas.leveau at ac-caen.fr Tue Jul 5 12:10:04 2011 From: stanislas.leveau at ac-caen.fr (LEVEAU Stanislas) Date: Tue, 05 Jul 2011 12:10:04 +0200 Subject: problem state with check_multi In-Reply-To: <4E121246.60104@gmx.de> References: <4E11B5C8.20106@ederdrom.de> <4E11D890.5010809@ac-caen.fr> <4E121246.60104@gmx.de> Message-ID: <4E12E2FC.2060100@ac-caen.fr> Hi Matthias, Thanks a lot, so good ;)) /usr/lib/nagios/plugins/check_multi -f pix.cmd -r 5 -t 20 CRITICAL - 3 plugins checked, 1 critical (pix2), 2 ok [please don't run plugins as root!] [ 1] pix1 OK - 1.2.3.4: rta 75,127ms, lost 0% [ 2] pix2 CRITICAL - 1.2.3.5: rta nan, lost 100% [ 3] pix3 OK - 1.2.3.6: rta 70,627ms, lost 0% Regards Stan Le 04/07/2011 21:19, Matthias Flacke a ?crit : > Hi Stanislas, > > the RC UNKNOWN and the message '[timeout encountered after 10s]' is not > from check_icmp, but from the check_multi child check timeout, which > also encountered after 10s. :) > > To get sure which timeout actually is working, either specify another > timeout for check_icmp, or for check_multi child child checks. > > Cheers, > -Matthias > > On 7/4/11 5:13 PM, LEVEAU Stanislas wrote: >> Hi, >> >> I created a file with command and state : pix.cmd >> >> command [ pix1 ] = check_icmp -H 1.2.3.4 -w 3000.0,80% -c 5000.0,100% -p 1 >> command [ pix2 ] = check_icmp -H 1.2.3.5 -w 3000.0,80% -c 5000.0,100% -p 1 >> command [ pix3 ] = check_icmp -H 1.2.3.6 -w 3000.0,80% -c 5000.0,100% -p 1 >> >> state [ OK ] = pix1 == OK&& pix2 == OK&& pix3 == OK >> state [ CRITICAL ] = pix1 == CRITICAL || pix2 == CRITICAL || pix3 == >> CRITICAL >> >> >> When i run a command with the plugin check_multi the result is UNKNOWN, >> instead of CRITICAL. >> >> >> >> Have you any idea? >> regards >> Stan >> >> -- >> *Stanislas LEVEAU** >> >> *Rectorat de Caen >> 168, rue Caponi?re >> B.P. 6184 >> 14061 CAEN Cedex >> Service Informatique de l'Acad?mie de Caen >> D?partement Syst?mes& R?seaux >> >> stanislas.leveau at ac-caen.fr >> Tel : 02.31.30.17.86 >> >> >> >> >> >> ------------------------------------------------------------------------------ >> All of the data generated in your IT infrastructure is seriously valuable. >> Why? It contains a definitive record of application performance, security >> threats, fraudulent activity, and more. Splunk takes this data and makes >> sense of it. IT sense. And common sense. >> http://p.sf.net/sfu/splunk-d2d-c2 >> >> >> >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------------------------------ > All of the data generated in your IT infrastructure is seriously valuable. > Why? It contains a definitive record of application performance, security > threats, fraudulent activity, and more. Splunk takes this data and makes > sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-d2d-c2 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- *Stanislas LEVEAU** *Rectorat de Caen 168, rue Caponi?re B.P. 6184 14061 CAEN Cedex Service Informatique de l'Acad?mie de Caen D?partement Syst?mes & R?seaux stanislas.leveau at ac-caen.fr Tel : 02.31.30.17.86 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From miksa872003 at yahoo.co.uk Tue Jul 5 12:18:01 2011 From: miksa872003 at yahoo.co.uk (Rhian Mikisa) Date: Tue, 5 Jul 2011 11:18:01 +0100 (BST) Subject: (no subject) Message-ID: <1309861081.31068.YahooMailClassic@web29514.mail.ird.yahoo.com> my kannel is working and sending messages, i would like to use kannel to send sms notifications from nagios how would i do that -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From miksa872003 at yahoo.co.uk Tue Jul 5 12:29:14 2011 From: miksa872003 at yahoo.co.uk (Rhian Mikisa) Date: Tue, 5 Jul 2011 11:29:14 +0100 (BST) Subject: notification files Message-ID: <1309861754.23555.YahooMailClassic@web29517.mail.ird.yahoo.com> where can i find the notification files in the source code that trigger the error reports -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From carlos at dsag.jazztel.es Tue Jul 5 12:44:57 2011 From: carlos at dsag.jazztel.es (Carlos de Santa-Ana Garcia) Date: Tue, 05 Jul 2011 12:44:57 +0200 Subject: check the HTTP server authentication error In-Reply-To: References: Message-ID: <4E12EB29.40407@dsag.jazztel.es> Hi Looks like the user you are using "DAVE"? don?t have the necesary permission in the cgi.cfg file look for it at nagios/etc folder. Greets. El 05/07/2011 6:08, nag ios escribi?: > hi this is krishna, > I have a problem while viewing the status of hosts or any link in > the browser i get the following error as > it appears as though you do not have permission to view information > for any of the hosts you requested... > If you believe this is an error,check the HTTP server authentication > requirements for accessing this CGI > and check the authorization options in > your CGI configuration file. > I have changed the authorization value to 0 and checked it worked but > when i'm enabling any nofitications its giving error as the > sorry dave i can't let you do that...... > It seems you have choosen to not use the authentication functionality > of the CGIs. > Please help me. > > > ------------------------------------------------------------------------------ > All of the data generated in your IT infrastructure is seriously valuable. > Why? It contains a definitive record of application performance, security > threats, fraudulent activity, and more. Splunk takes this data and makes > sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-d2d-c2 > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From carlos at dsag.jazztel.es Tue Jul 5 12:48:49 2011 From: carlos at dsag.jazztel.es (Carlos de Santa-Ana Garcia) Date: Tue, 05 Jul 2011 12:48:49 +0200 Subject: Dates are in future after power outage.. In-Reply-To: References: Message-ID: <4E12EC11.20905@dsag.jazztel.es> Hi That info is on a "retain state" file, so you can: set retain to off on nagios config, restart, and set retain on again, and restart nagios. or stop nagios rename the retain file and start nagios, the file must recreate correctly. Greets. El 05/07/2011 10:58, Kenny Gillen escribi?: > Hi, > > After a power outage, my (Nagios? 3.0.6) install (part of Fully > Automated Nagios distro) has somehow become corrupt. > > It was working great before the outage, now all host checks have dates > in the future. (server time is normal) > > "Next Scheduled Active Check: 18-08-2017 23:09:56 > Last State Change: 07-04-2017 08:51:56" > > Is it possible to recover my install without having to create all the > configs from scratch again? > > Thanks > > ------------------------------------------------------------------------------ > All of the data generated in your IT infrastructure is seriously valuable. > Why? It contains a definitive record of application performance, security > threats, fraudulent activity, and more. Splunk takes this data and makes > sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-d2d-c2 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From baileyds at lcps.k12.va.us Tue Jul 5 15:39:12 2011 From: baileyds at lcps.k12.va.us (Bailey, Damian S.) Date: Tue, 5 Jul 2011 09:39:12 -0400 Subject: Better way to check Cisco switches? Message-ID: Good morning! After posting a bit ago, I found that other Nagios users experienced the same issue I did in relying on the check_ping routine when monitoring Cisco switches - they would occasionally return false critical; however, the switches were actually still online and would immediately recover. So this leads me to the obvious question - how do you all use Nagios to effectively monitor Cisco switches? Is there a better way to check these with snmp? Something else? Thanks! Damian Bailey Lead Technician | LCPS Technology From: Bailey, Damian S. Sent: Monday, June 27, 2011 11:55 AM To: 'nagios-users at lists.sourceforge.net' Subject: new to Nagios - known issue w/ Cisco switch host checks? We're new to using Nagios but I've grown to love it! In using the product to perform host checks on our Cisco switches, I find that they "randomly" will fail, then recover almost immediately. I think the host checks use ping to verify that the switches are active. Is there something I am likely doing wrong, or should I look at our network as a possible cause? Our network itself isn't perfect...but I don't want to go looking for problems if it's a nagios issue. Thanks for any help. I'll be glad to provide more info if needed. Damian Bailey Lead Technician | LCPS Technology -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Jul 5 16:31:48 2011 From: dit.dash at gmail.com (dave stern - e-mail.pluribus.unum) Date: Tue, 5 Jul 2011 10:31:48 -0400 Subject: Better way to check Cisco switches? In-Reply-To: References: Message-ID: Nagios is a phenomenal tool but isn't necessarily a silver bullet. Nagios does try a certain number of times before a soft failure becomes a hard failure. This can be adjusted. Also, many people have replaced a very tight check_ping with check_icmp and looser return times. But in general, you might wish to monitor a manageable switch with something else. Indeed snmp is an excellent way to go. You'll then need to figure out some way to manage the snmp messages though. One way might be to search for interface down messages where it doesn't come back within a period of time. This can be done with logsurfer, splunk and probably a number of other tools On Tue, Jul 5, 2011 at 9:39 AM, Bailey, Damian S. wrote: > Good morning! > > > > After posting a bit ago, I found that other Nagios users experienced the > same issue I did in relying on the check_ping routine when monitoring Cisco > switches ? they would occasionally return false critical; however, the > switches were actually still online and would immediately recover. > > > > So this leads me to the obvious question ? how do you all use Nagios to > effectively monitor Cisco switches?? Is there a better way to check these > with snmp?? Something else? > > > > Thanks! > > > > Damian Bailey > > Lead Technician | LCPS Technology > > > > From: Bailey, Damian S. > Sent: Monday, June 27, 2011 11:55 AM > To: 'nagios-users at lists.sourceforge.net' > Subject: new to Nagios - known issue w/ Cisco switch host checks? > > > > We?re new to using Nagios but I?ve grown to love it!? In using the product > to perform host checks on our Cisco switches, I find that they ?randomly? > will fail, then recover almost immediately. > > > > I think the host checks use ping to verify that the switches are active. > > > > Is there something I am likely doing wrong, or should I look at our network > as a possible cause?? Our network itself isn?t perfect?but I don?t want to > go looking for problems if it?s a nagios issue. > > > > Thanks for any help.? I?ll be glad to provide more info if needed. > > > > Damian Bailey > > Lead Technician | LCPS Technology > > ------------------------------------------------------------------------------ > All of the data generated in your IT infrastructure is seriously valuable. > Why? It contains a definitive record of application performance, security > threats, fraudulent activity, and more. Splunk takes this data and makes > sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-d2d-c2 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jul 5 18:34:03 2011 From: nibin.vm at piserve.com (Nibin V M) Date: Tue, 5 Jul 2011 22:04:03 +0530 Subject: pnp4nagios custom icon Message-ID: Hi guys, Do anybody know a way to change/add the logo in pnp4nagios graph report that we download as pdf, xml, etc? Regards, Nibin. --------------------------------- Nibin.V.M Systems Integrator PiServe.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From crhyner at box.net Tue Jul 5 18:23:38 2011 From: crhyner at box.net (Chad Rhyner) Date: Tue, 5 Jul 2011 09:23:38 -0700 Subject: Better way to check Cisco switches? In-Reply-To: References: Message-ID: Regarding check_ping critical issues... For this particular issue, the high pings that you are seeing could be indicative of a problem, and not necessarily false positives. High ping times could be indicative of a saturated link, or other problems. If you have time, look into the problem by checking the health of the switch or router. Playing around with the *check_interval, retry_interval, max_check_attempts * values can help you avoid the pitfalls of the false positives happening while still making the check_ping checks still provide valuable alerts indicative of an issue within the network. Tweaking these values sometimes seem to be more of an art than a science, but it is doable. Regarding SNMP checks helping... We use some SNMP checks which can help. Of particular interest for routers and switches, it is beneficial to know when either receive or transmit queues are seeing any kind of errors, such as a transmit error, CRC error, etc. To do this, you need to turn SNMP on the router, and utilize the * snmpwalk* command in Linux to determine the MIBs you have available (check *snmpwalk --help* for usage). Once you have found a stat you want you can use the * check_snmp* plugin to get alerts on your SNMP data that you are interested in. In addition, the new *check_snmp* plugin from the nagios_plugins package (version 1.4.15) can provide information so that you can check the rate on the stat, which can be beneficial for some stats, such as the amount of packets or bytes of traffic that is going through the interface. Hope this helps! It is not perfect, but this another useful way that we have found problems with our routers/switches. On Jul 5, 2011 6:42 AM, "Bailey, Damian S." wrote: > Good morning! > > > > After posting a bit ago, I found that other Nagios users experienced the > same issue I did in relying on the check_ping routine when monitoring > Cisco switches - they would occasionally return false critical; however, > the switches were actually still online and would immediately recover. > > > > So this leads me to the obvious question - how do you all use Nagios to > effectively monitor Cisco switches? Is there a better way to check > these with snmp? Something else? > > > > Thanks! > > > > Damian Bailey > > Lead Technician | LCPS Technology > > > > From: Bailey, Damian S. > Sent: Monday, June 27, 2011 11:55 AM > To: 'nagios-users at lists.sourceforge.net' > Subject: new to Nagios - known issue w/ Cisco switch host checks? > > > > We're new to using Nagios but I've grown to love it! In using the > product to perform host checks on our Cisco switches, I find that they > "randomly" will fail, then recover almost immediately. > > > > I think the host checks use ping to verify that the switches are active. > > > > > Is there something I am likely doing wrong, or should I look at our > network as a possible cause? Our network itself isn't perfect...but I > don't want to go looking for problems if it's a nagios issue. > > > > Thanks for any help. I'll be glad to provide more info if needed. > > > > Damian Bailey > > Lead Technician | LCPS Technology > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mohit.chawla.binary at gmail.com Tue Jul 5 18:48:22 2011 From: mohit.chawla.binary at gmail.com (Mohit Chawla) Date: Tue, 5 Jul 2011 22:18:22 +0530 Subject: Wildcards in service escalations query Message-ID: Hi, If we have: define serviceescalation { host_name * service_description * ... } , then, if there is no service associated with a host, this definition will be regarded invalid. But what about if a particular service is not associated with any host ? Will it fail in that case as well ? I was able to find hosts which don't have any services defined, and I used: define serviceescalation { host_name *, !foo.com, !bar.com service_description * .... } , where foo and bar are the hosts with no services defined. But I still get 'could not expand services ....' error on this escalation definition. Any clues ? ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Jul 5 20:25:17 2011 From: work at paul.dubuc.org (Paul M. Dubuc) Date: Tue, 05 Jul 2011 14:25:17 -0400 Subject: Wildcards in service escalations query In-Reply-To: References: Message-ID: <4E13570D.9060305@paul.dubuc.org> Mohit Chawla wrote: > Hi, > > If we have: > > define serviceescalation { > host_name * > service_description * > ... > } > > , then, if there is no service associated with a host, this definition > will be regarded invalid. But what about if a particular service is > not associated with any host ? Will it fail in that case as well ? I > was able to find hosts which don't have any services defined, and I > used: > define serviceescalation { > host_name *, !foo.com, !bar.com > service_description * > .... > } > , where foo and bar are the hosts with no services defined. But I > still get 'could not expand services ....' error on this escalation > definition. > > Any clues ? As long as any hosts that match the host_name directive have no services defined, you will get this error. The escalation apparently wants to have host/service pairs. It's a service escalation and all services must be assigned to a host. It doesn't automatically discard hosts that have no services. To get around this you can use a hostgroup that contains only hosts with services assigned. I've given an example here: http://sourceforge.net/mailarchive/message.php?msg_id=27615125 ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mohit.chawla.binary at gmail.com Tue Jul 5 21:28:06 2011 From: mohit.chawla.binary at gmail.com (Mohit Chawla) Date: Wed, 6 Jul 2011 00:58:06 +0530 Subject: Wildcards in service escalations query In-Reply-To: <4E13570D.9060305@paul.dubuc.org> References: <4E13570D.9060305@paul.dubuc.org> Message-ID: Hi, On Tue, Jul 5, 2011 at 11:55 PM, Paul M. Dubuc wrote: > As long as any hosts that match the host_name directive have no services > defined, you will get this error. ?The escalation apparently wants to have > host/service pairs. ?It's a service escalation and all services must be > assigned to a host. ?It doesn't automatically discard hosts that have no > services. But as you can see in the above config I posted, I am explicitly excluding those hosts which do not have any services associated with them ( foo.com and bar.com ). Hence, the config should be valid. Unless ofcourse: host_name *. !host1, !host2 is not the right way to include all hosts except host1 and host2 or some other bad logic. ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Jul 5 22:38:17 2011 From: work at paul.dubuc.org (Paul M. Dubuc) Date: Tue, 05 Jul 2011 16:38:17 -0400 Subject: Wildcards in service escalations query In-Reply-To: References: <4E13570D.9060305@paul.dubuc.org> Message-ID: <4E137639.7040909@paul.dubuc.org> Mohit Chawla wrote: > Hi, > > On Tue, Jul 5, 2011 at 11:55 PM, Paul M. Dubuc wrote: >> As long as any hosts that match the host_name directive have no services >> defined, you will get this error. The escalation apparently wants to have >> host/service pairs. It's a service escalation and all services must be >> assigned to a host. It doesn't automatically discard hosts that have no >> services. > > But as you can see in the above config I posted, I am explicitly > excluding those hosts which do not have any services associated with > them ( foo.com and bar.com ). Hence, the config should be valid. > Unless ofcourse: host_name *. !host1, !host2 is not the right way to > include all hosts except host1 and host2 or some other bad logic. It could be that the exclusion (!) doesn't work when combined with the * wildcard in that way. It's equivalent to "host1, host2, ... hostN, !host1, !host2". Try putting the wildcard at the end of the list and see if that works. Also, make sure that the hosts you exclude are really the only ones that have no services. Nagios will put warnings in the log file about hosts with no services assigned after it is restarted. You can look there for any you might have missed. Paul Dubuc ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagiostool at gmail.com Wed Jul 6 07:09:32 2011 From: nagiostool at gmail.com (nag ios) Date: Wed, 6 Jul 2011 10:39:32 +0530 Subject: Plugin may be missing error only for PING service Message-ID: Hi this is krishna, I have problem with PING service only its giving error as Plugin may be missing and other service are running fine. Can you tell me what should be done with it -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pitchfork at ederdrom.de Wed Jul 6 07:28:56 2011 From: pitchfork at ederdrom.de (Joerg Linge) Date: Wed, 06 Jul 2011 07:28:56 +0200 Subject: pnp4nagios custom icon In-Reply-To: References: Message-ID: <4E13F298.3080802@ederdrom.de> Nibin V M schrieb: > Hi guys, > > Do anybody know a way to change/add the logo in pnp4nagios graph report that > we download as pdf, xml, etc? change pnp4nagios/etc/backgrund.pdf to fit your needs. Joerg ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Radu.Popa at technomatic.de Wed Jul 6 07:44:37 2011 From: Radu.Popa at technomatic.de (Radu.Popa at technomatic.de) Date: Wed, 6 Jul 2011 08:44:37 +0300 Subject: Antwort: Re: pnp4nagios custom icon In-Reply-To: <4E13F298.3080802@ederdrom.de> References: <4E13F298.3080802@ederdrom.de> Message-ID: Please be aware that if you change it you have to save it in a PDF 5.0 compatible format ( did not try if higher versions work, but 9.0 sure not working) , otherwise PNP will complain about bad encryption of the file. Radu Von: Joerg Linge An: Nagios Users List Datum: 07/06/2011 08:31 AM Betreff: Re: [Nagios-users] pnp4nagios custom icon Nibin V M schrieb: > Hi guys, > > Do anybody know a way to change/add the logo in pnp4nagios graph report that > we download as pdf, xml, etc? change pnp4nagios/etc/backgrund.pdf to fit your needs. Joerg ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Radu.Popa at technomatic.de Wed Jul 6 07:46:45 2011 From: Radu.Popa at technomatic.de (Radu.Popa at technomatic.de) Date: Wed, 6 Jul 2011 08:46:45 +0300 Subject: Antwort: Plugin may be missing error only for PING service In-Reply-To: References: Message-ID: Hi Krishna, Please detail a bit the configuration on your side: the definition of the command would be helpful and the usage of it on the host as well. Regards! Von: nag ios An: Nagios Users List Datum: 07/06/2011 08:12 AM Betreff: [Nagios-users] Plugin may be missing error only for PING service Hi this is krishna, I have problem with PING service only its giving error as Plugin may be missing and other service are running fine. Can you tell me what should be done with it ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mohit.chawla.binary at gmail.com Wed Jul 6 07:57:32 2011 From: mohit.chawla.binary at gmail.com (Mohit Chawla) Date: Wed, 6 Jul 2011 11:27:32 +0530 Subject: Wildcards in service escalations query In-Reply-To: <4E137639.7040909@paul.dubuc.org> References: <4E13570D.9060305@paul.dubuc.org> <4E137639.7040909@paul.dubuc.org> Message-ID: Hi, On Wed, Jul 6, 2011 at 2:08 AM, Paul M. Dubuc wrote: > It could be that the exclusion (!) doesn't work when combined with the * > wildcard in that way. ?It's equivalent to "host1, host2, ... hostN, !host1, > !host2". ?Try putting the wildcard at the end of the list and see if that > works. Nope, that doesn't change the behavior. > Also, make sure that the hosts you exclude are really the only ones > that have no services. ?Nagios will put warnings in the log file about hosts > with no services assigned after it is restarted. ?You can look there for any > you might have missed. I expected this, but it isn't happening either. It doesn't log warnings for these hosts, not even the ones I have _confirmed_ that have no services associated. ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Jul 6 08:12:34 2011 From: nibin.vm at piserve.com (Nibin V M) Date: Wed, 6 Jul 2011 11:42:34 +0530 Subject: pnp4nagios custom icon In-Reply-To: <4E13F298.3080802@ederdrom.de> References: <4E13F298.3080802@ederdrom.de> Message-ID: thank you geeks! :) On Wed, Jul 6, 2011 at 10:58 AM, Joerg Linge wrote: > Nibin V M schrieb: > > Hi guys, > > > > Do anybody know a way to change/add the logo in pnp4nagios graph report > that > > we download as pdf, xml, etc? > > change pnp4nagios/etc/backgrund.pdf to fit your needs. > > Joerg > > > ------------------------------------------------------------------------------ > All of the data generated in your IT infrastructure is seriously valuable. > Why? It contains a definitive record of application performance, security > threats, fraudulent activity, and more. Splunk takes this data and makes > sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-d2d-c2 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 Systems Integrator PiServe.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Radu.Popa at technomatic.de Wed Jul 6 09:12:26 2011 From: Radu.Popa at technomatic.de (Radu.Popa at technomatic.de) Date: Wed, 6 Jul 2011 10:12:26 +0300 Subject: Service dependency Message-ID: Hello, I have tried o play a bit with the service dependencies list and defined the following: define servicedependency{ dependent_host_name WS1 dependent_service_description CPU usage,Disk I/O usage,Individual CPU core usage,Memory usage host_name WS1 service_description PING execution_failure_criteria w,u,c notification_failure_criteria w,u,c } So when the host WS1 is not reachable via PING, other services should not be checked or notified. Works fine. Now I did the following using hostgroups define servicedependency{ dependent_hostgroup_name workstations dependent_service_description CPU usage,Disk I/O usage,Individual CPU core usage,Memory usage host_name workstations service_description PING execution_failure_criteria w,u,c notification_failure_criteria w,u,c } And it does what I expect it to do, but not what's needed: make each service on any of the workstations group dependent by any PING service on any host in the group. My question is: is there any way to use variables in such a way that the other services on a host are dependent only on the PING on the same host?: In a large environment, using the first example and copy paste is really time consuming. Thanks! -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From wfournier at comscore.com Wed Jul 6 09:18:47 2011 From: wfournier at comscore.com (Fournier, Wim) Date: Wed, 6 Jul 2011 03:18:47 -0400 Subject: Sending notifications from the US to NL Message-ID: Hi all, How would one go about sending notifications from a datacenter in the US to the engineers on call in the Netherlands? I'd like to avoid using the Internet, as the location may be having networking issues when it tries to notify the engineers. I was thinking about SMS using the GSM network, like we do in NL, but isn't there a huge delay in delivering those messages overseas? And how is the coverage of GSM in the US? Also, if GSM is indeed the way to go, does anyone have some hints on hardware that works well in the US? Kind regards, Wim Fournier ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mohit.chawla.binary at gmail.com Wed Jul 6 10:10:31 2011 From: mohit.chawla.binary at gmail.com (Mohit Chawla) Date: Wed, 6 Jul 2011 13:40:31 +0530 Subject: Wildcards in service escalations query In-Reply-To: References: <4E13570D.9060305@paul.dubuc.org> <4E137639.7040909@paul.dubuc.org> Message-ID: Just tried this: added all hosts to the host_name field, except the ones which don't have any services associated, and it works. So yeah, using the * wildcard with !hostx doesn't work. But clearly, this is not ideal, since I have had to add around 350 hosts in the host_name directive. ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From m.borsani at it.net Wed Jul 6 11:09:10 2011 From: m.borsani at it.net (Marco Borsani) Date: Wed, 6 Jul 2011 11:09:10 +0200 Subject: monitor Joyent platform Message-ID: <006f01cc3bbc$61523650$23f6a2f0$@it.net> Hi Have you ever monitor Joyent platforms ? Regards Marco Borsani Unix and Monitoring Sysadmin Technical Operations Dpt. tel: +39 010 4310115 fax: +39 02 30130311 cell: +39 329 5953944 ITnet Srl Societ? con socio unico Direzione e Coordinamento di -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagiostool at gmail.com Wed Jul 6 11:25:44 2011 From: nagiostool at gmail.com (nag ios) Date: Wed, 6 Jul 2011 14:55:44 +0530 Subject: Antwort: Plugin may be missing error only for PING service In-Reply-To: References: Message-ID: the service which wa defined was define service{ use local-service host_name localhost service_description PING check_command check_ping!100.0,20%!500.0,60% } On Wed, Jul 6, 2011 at 11:16 AM, wrote: > Hi Krishna, > > Please detail a bit the configuration on your side: the definition of the > command would be helpful and the usage of it on the host as well. > > Regards! > > > > Von: nag ios > An: Nagios Users List > Datum: 07/06/2011 08:12 AM > Betreff: [Nagios-users] Plugin may be missing error only for PING > service > ------------------------------ > > > > Hi this is krishna, > I have problem with PING service only its > giving error as Plugin may be missing and other service are running fine. > Can you tell me what should be done with it > ------------------------------------------------------------------------------ > All of the data generated in your IT infrastructure is seriously valuable. > Why? It contains a definitive record of application performance, security > threats, fraudulent activity, and more. Splunk takes this data and makes > sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-d2d-c2 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > ------------------------------------------------------------------------------ > All of the data generated in your IT infrastructure is seriously valuable. > Why? It contains a definitive record of application performance, security > threats, fraudulent activity, and more. Splunk takes this data and makes > sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-d2d-c2 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Radu.Popa at technomatic.de Wed Jul 6 11:34:21 2011 From: Radu.Popa at technomatic.de (Radu.Popa at technomatic.de) Date: Wed, 6 Jul 2011 12:34:21 +0300 Subject: Antwort: Re: Antwort: Plugin may be missing error only for PING service In-Reply-To: References: Message-ID: And the command definition please! Von: nag ios An: Nagios Users List Datum: 07/06/2011 12:28 PM Betreff: Re: [Nagios-users] Antwort: Plugin may be missing error only for PING service the service which wa defined was define service{ use local-service host_name localhost service_description PING check_command check_ping!100.0,20%!500.0,60% } On Wed, Jul 6, 2011 at 11:16 AM, wrote: Hi Krishna, Please detail a bit the configuration on your side: the definition of the command would be helpful and the usage of it on the host as well. Regards! Von: nag ios An: Nagios Users List Datum: 07/06/2011 08:12 AM Betreff: [Nagios-users] Plugin may be missing error only for PING service Hi this is krishna, I have problem with PING service only its giving error as Plugin may be missing and other service are running fine. Can you tell me what should be done with it ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagiostool at gmail.com Wed Jul 6 13:07:42 2011 From: nagiostool at gmail.com (nag ios) Date: Wed, 6 Jul 2011 16:37:42 +0530 Subject: Antwort: Re: Antwort: Plugin may be missing error only for PING service In-Reply-To: References: Message-ID: command definition is as follows #'check_ping' command defifnition define command{ command_name check_ping command_line $USER1$/check_ping -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ -p 5 } On Wed, Jul 6, 2011 at 3:04 PM, wrote: > And the command definition please! > > > > Von: nag ios > An: Nagios Users List > Datum: 07/06/2011 12:28 PM > Betreff: Re: [Nagios-users] Antwort: Plugin may be missing error > only for PING service > ------------------------------ > > > > the service which wa defined was > > define service{ > use local-service > host_name localhost > service_description PING > check_command check_ping!100.0,20%!500.0,60% > } > > On Wed, Jul 6, 2011 at 11:16 AM, <*Radu.Popa at technomatic.de*> > wrote: > Hi Krishna, > > Please detail a bit the configuration on your side: the definition of the > command would be helpful and the usage of it on the host as well. > > Regards! > > > > Von: nag ios <*nagiostool at gmail.com* > > An: Nagios Users List <*nagios-users at lists.sourceforge.net* > > > Datum: 07/06/2011 08:12 AM > Betreff: [Nagios-users] Plugin may be missing error only for PING > service > ------------------------------ > > > > > Hi this is krishna, > I have problem with PING service only its > giving error as Plugin may be missing and other service are running fine. > Can you tell me what should be done with it > ------------------------------------------------------------------------------ > All of the data generated in your IT infrastructure is seriously valuable. > Why? It contains a definitive record of application performance, security > threats, fraudulent activity, and more. Splunk takes this data and makes > sense of it. IT sense. And common sense.* > **http://p.sf.net/sfu/splunk-d2d-c2* > _______________________________________________ > Nagios-users mailing list* > **Nagios-users at lists.sourceforge.net* > * > **https://lists.sourceforge.net/lists/listinfo/nagios-users* > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > ------------------------------------------------------------------------------ > All of the data generated in your IT infrastructure is seriously valuable. > Why? It contains a definitive record of application performance, security > threats, fraudulent activity, and more. Splunk takes this data and makes > sense of it. IT sense. And common sense.* > **http://p.sf.net/sfu/splunk-d2d-c2* > _______________________________________________ > Nagios-users mailing list* > **Nagios-users at lists.sourceforge.net* > * > **https://lists.sourceforge.net/lists/listinfo/nagios-users* > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------------------------------ > All of the data generated in your IT infrastructure is seriously valuable. > Why? It contains a definitive record of application performance, security > threats, fraudulent activity, and more. Splunk takes this data and makes > sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-d2d-c2 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > ------------------------------------------------------------------------------ > All of the data generated in your IT infrastructure is seriously valuable. > Why? It contains a definitive record of application performance, security > threats, fraudulent activity, and more. Splunk takes this data and makes > sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-d2d-c2 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From emilio.bruna at heliman.it Wed Jul 6 13:19:16 2011 From: emilio.bruna at heliman.it (Emilio Bruna) Date: Wed, 6 Jul 2011 13:19:16 +0200 Subject: omreport and check_openmanage In-Reply-To: <15toc1abgxq.fsf@tux.uio.no> References: <15taacyceec.fsf@tux.uio.no> <15toc1abgxq.fsf@tux.uio.no> Message-ID: Thanks a lot for your hints Trond, check_openmanage is already at latest version. We will try with an OMSA update first and then (if the issue persist) we will update BIOS too. Regards Emilio 2011/7/4 Trond Hasle Amundsen > Emilio Bruna writes: > > > Omsa version is 6.2.0.1 > > so: windows 2008 storage server SP2 > > Hardware is Dell NX 300 Storage server (a derivate of R410 or R310 i > think) > > This combination should be ok. I don't know the NX300, but if it's based > on the R310 or R410 it shouldn't be a problem. There was a bug in > check_openmanage related to power monitoring on the R410, but this was > fixed in version 3.6.5 of the plugin. Are you using the latest version > of check_openmanage, which is 3.6.8? > > Also, would it be possible for you to upgrade OMSA to the latest > version, 6.5.0? > > This really is an OMSA issue. If the power supplies don't support power > monitoring, omreport should just that say that and check_openmanage is > happy. But in your case, OMSA is responding with an error. > > One last tip. In some cases I've seen that certain capabilities in OMSA > depends on BIOS and/or firmware versions. You should verify that the > BIOS and firmware is relatively up-to-date. > > Regards, > -- > Trond H. Amundsen > Center for Information Technology Services, University of Oslo > > > > ------------------------------------------------------------------------------ > All of the data generated in your IT infrastructure is seriously valuable. > Why? It contains a definitive record of application performance, security > threats, fraudulent activity, and more. Splunk takes this data and makes > sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-d2d-c2 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- *Heliman Srl* Emilio Bruna 13, v. Oiolo - 25052 Piancogno BS Tel 0364 1955207 Fax 0364 1955208 Mobile 347 2529377 *Riservatezza (ai sensi del D.Lgs. 196/2003)* Il presente documento ? ad uso esclusivo del destinatario. Tutte le informazioni ivi contenute sono soggette a riservatezza a termini di legge sulla Privacy e quindi ne ? proibita la loro utilizzazione e diffusione. Se avete ricevuto questo messaggio per errore, nello scusarci per l'accaduto, Vi preghiamo di avvertirci immediatamente e cancellare ogni evidenza dai vostri supporti. Grazie. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Radu.Popa at technomatic.de Wed Jul 6 13:24:54 2011 From: Radu.Popa at technomatic.de (Radu.Popa at technomatic.de) Date: Wed, 6 Jul 2011 14:24:54 +0300 Subject: Antwort: Re: Antwort: Re: Antwort: Plugin may be missing error only for PING service In-Reply-To: References: Message-ID: Please check the value of the variable $USER1$ in /etc/nagios/resource.cfg and see if the check_ping is present there. You can also mail me back the content of the resource.cfg file as well as the output of the command: ls -al check_ping run into the path in which $USER1$ is pointing to. More, you can try running the command by yourself from that path by issuing ./check_ping -H localhost -w 100.0,20% -c 500.0,60% -p 5 Regards! Von: nag ios An: Nagios Users List Datum: 07/06/2011 02:10 PM Betreff: Re: [Nagios-users] Antwort: Re: Antwort: Plugin may be missing error only for PING service command definition is as follows #'check_ping' command defifnition define command{ command_name check_ping command_line $USER1$/check_ping -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ -p 5 } On Wed, Jul 6, 2011 at 3:04 PM, wrote: And the command definition please! Von: nag ios An: Nagios Users List Datum: 07/06/2011 12:28 PM Betreff: Re: [Nagios-users] Antwort: Plugin may be missing error only for PING service the service which wa defined was define service{ use local-service host_name localhost service_description PING check_command check_ping!100.0,20%!500.0,60% } On Wed, Jul 6, 2011 at 11:16 AM, wrote: Hi Krishna, Please detail a bit the configuration on your side: the definition of the command would be helpful and the usage of it on the host as well. Regards! Von: nag ios An: Nagios Users List Datum: 07/06/2011 08:12 AM Betreff: [Nagios-users] Plugin may be missing error only for PING service Hi this is krishna, I have problem with PING service only its giving error as Plugin may be missing and other service are running fine. Can you tell me what should be done with it ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagiostool at gmail.com Wed Jul 6 14:31:18 2011 From: nagiostool at gmail.com (nag ios) Date: Wed, 6 Jul 2011 18:01:18 +0530 Subject: Check-wmi-plus usage Message-ID: Can you please provide me the procedure to configure through check_wmi_plus plugin , i mean writing the command and service definitions and how to make changes in configuration file to reflect in the browser. On Sat, Jul 2, 2011 at 12:45 PM, Matthew Jurgens wrote: > ** > The easiest way is to forget about NSClient++ and simplify your monitoring > by using > > > http://exchange.nagios.org/directory/Plugins/Operating-Systems/Windows/WMI/Check-WMI-Plus/details > > Unless there is some check that only NSClient++ can do > > On 2/07/2011 1:17 AM, nag ios wrote: > > Default one is 12489 right.....? i haven't tried with 12849.... will try > and update the status ok.....Version: 10.0.1388 / Virus Database: 1516/3736 > - Release Date: 06/30/11 > > > -- > Smartmon System Monitoring > www.smartmon.com.au > > > ------------------------------------------------------------------------------ > All of the data generated in your IT infrastructure is seriously valuable. > Why? It contains a definitive record of application performance, security > threats, fraudulent activity, and more. Splunk takes this data and makes > sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-d2d-c2 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Radu.Popa at technomatic.de Wed Jul 6 14:37:23 2011 From: Radu.Popa at technomatic.de (Radu.Popa at technomatic.de) Date: Wed, 6 Jul 2011 15:37:23 +0300 Subject: Antwort: Check-wmi-plus usage In-Reply-To: References: Message-ID: What have you tried till now and what errors do you get? Or want one of us to provide you the config so you can copy/paste? For even advanced usage, the builtin documentation should be enough. Implemented by myself in about 2-3 days after reading. Regards! Von: nag ios An: nagiosusers at edcint.co.nz, Nagios Users List Datum: 07/06/2011 03:33 PM Betreff: [Nagios-users] Check-wmi-plus usage Can you please provide me the procedure to configure through check_wmi_plus plugin , i mean writing the command and service definitions and how to make changes in configuration file to reflect in the browser. On Sat, Jul 2, 2011 at 12:45 PM, Matthew Jurgens wrote: The easiest way is to forget about NSClient++ and simplify your monitoring by using http://exchange.nagios.org/directory/Plugins/Operating-Systems/Windows/WMI/Check-WMI-Plus/details Unless there is some check that only NSClient++ can do On 2/07/2011 1:17 AM, nag ios wrote: Default one is 12489 right.....? i haven't tried with 12849.... will try and update the status ok.....Version: 10.0.1388 / Virus Database: 1516/3736 - Release Date: 06/30/11 -- Smartmon System Monitoring www.smartmon.com.au ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagiostool at gmail.com Wed Jul 6 14:52:21 2011 From: nagiostool at gmail.com (nag ios) Date: Wed, 6 Jul 2011 18:22:21 +0530 Subject: Antwort: Check-wmi-plus usage In-Reply-To: References: Message-ID: can you provide me the builtin documentation so that i can work on it...... I will provide you the details and errors which are configured by me shortly On Wed, Jul 6, 2011 at 6:07 PM, wrote: > What have you tried till now and what errors do you get? Or want one of us > to provide you the config so you can copy/paste? For even advanced usage, > the builtin documentation should be enough. Implemented by myself in about > 2-3 days after reading. > > Regards! > > > > Von: nag ios > An: nagiosusers at edcint.co.nz, Nagios Users List < > nagios-users at lists.sourceforge.net> > Datum: 07/06/2011 03:33 PM > Betreff: [Nagios-users] Check-wmi-plus usage > ------------------------------ > > > > Can you please provide me the procedure to configure through check_wmi_plus > plugin , i mean writing the command and service definitions and how to make > changes in configuration file to reflect in the browser. > > > > On Sat, Jul 2, 2011 at 12:45 PM, Matthew Jurgens <* > nagiosusers at edcint.co.nz* > wrote: > The easiest way is to forget about NSClient++ and simplify your monitoring > by using > * > ** > http://exchange.nagios.org/directory/Plugins/Operating-Systems/Windows/WMI/Check-WMI-Plus/details > * > > Unless there is some check that only NSClient++ can do > > On 2/07/2011 1:17 AM, nag ios wrote: > Default one is 12489 right.....? i haven't tried with 12849.... will try > and update the status ok.....Version: 10.0.1388 / Virus Database: 1516/3736 > - Release Date: 06/30/11 > > -- * > **Smartmon System Monitoring* * > **www.smartmon.com.au* > > > ------------------------------------------------------------------------------ > All of the data generated in your IT infrastructure is seriously valuable. > Why? It contains a definitive record of application performance, security > threats, fraudulent activity, and more. Splunk takes this data and makes > sense of it. IT sense. And common sense.* > **http://p.sf.net/sfu/splunk-d2d-c2* > _______________________________________________ > Nagios-users mailing list* > **Nagios-users at lists.sourceforge.net* > * > **https://lists.sourceforge.net/lists/listinfo/nagios-users* > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------------------------------ > All of the data generated in your IT infrastructure is seriously valuable. > Why? It contains a definitive record of application performance, security > threats, fraudulent activity, and more. Splunk takes this data and makes > sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-d2d-c2 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > ------------------------------------------------------------------------------ > All of the data generated in your IT infrastructure is seriously valuable. > Why? It contains a definitive record of application performance, security > threats, fraudulent activity, and more. Splunk takes this data and makes > sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-d2d-c2 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Jul 6 15:06:47 2011 From: work at paul.dubuc.org (Paul M. Dubuc) Date: Wed, 06 Jul 2011 09:06:47 -0400 Subject: Wildcards in service escalations query In-Reply-To: References: <4E13570D.9060305@paul.dubuc.org> <4E137639.7040909@paul.dubuc.org> Message-ID: <4E145DE7.3020004@paul.dubuc.org> Mohit Chawla wrote: > Just tried this: added all hosts to the host_name field, except the > ones which don't have any services associated, and it works. So yeah, > using the * wildcard with !hostx doesn't work. But clearly, this is > not ideal, since I have had to add around 350 hosts in the host_name > directive. I agree. It would be nice if the serviceescalation definition would automatically exclude hosts which don't have services specified by its service_description. Instead of adding all those host names there, you could use a host group as I described here: http://sourceforge.net/mailarchive/message.php?msg_id=27615125 It's a little more work initially, but it's easier to maintain, I think. You won't have to remember to change the escalation every time you add a host. It's easier to include a host in the hostgroup you use for the escalation when you define the host. ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Traiano.Welcome at mtnbusiness.co.za Wed Jul 6 14:40:38 2011 From: Traiano.Welcome at mtnbusiness.co.za (Traiano Welcome) Date: Wed, 6 Jul 2011 12:40:38 +0000 Subject: check_http plugin times out with urls using self-signed certs Message-ID: Hi List I use the standard check_http plugin to check a number of websites, testing for a string returned by a cgi script hosted on the site. Similar to the following example: --- /usr/local/libexec/nagios/check_http -I 196.666.666.666 -a x:y -u http://monkey.donkey.net/cgi-bin/nagios.cgi -s Operational --- One of these sites uses as self-signed cert, which causes check_http to timeout. I assume this behavour is identical to what happens when you browse to such a url using a browser, i.e you get a prompt saying something like: --- SSL error:self signed certificate-Continue? (y) --- At which point the check_http plugin would wait for timeout, not being able to answer with a "y". Is there any way I can get the plugin to somehow bypass this (maybe passing a "y" in response to the prompt), or some way of importing the self-signed cert so the prompt does not appear in the first place? We're stuck with the self signed cert for some time until we can get a 'proper' one. Thanks in Advance, Traiano Welcome ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Jul 6 15:12:47 2011 From: t.h.amundsen at usit.uio.no (Trond Hasle Amundsen) Date: Wed, 06 Jul 2011 15:12:47 +0200 Subject: omreport and check_openmanage In-Reply-To: (Emilio Bruna's message of "Wed, 6 Jul 2011 13:19:16 +0200") References: <15taacyceec.fsf@tux.uio.no> <15toc1abgxq.fsf@tux.uio.no> Message-ID: <15tvcvf7dtc.fsf@tux.uio.no> Emilio Bruna writes: > Thanks a lot for your hints Trond, > check_openmanage is already at latest version. > > We will try with an OMSA update first and then (if the issue persist) > we will update BIOS too. If all else fails, you have the option of disabling the power management check completely, by using '--check amperage=0': check_openmanage --check amperage=0 By using this option you're telling the plugin that it shouldn't even attempt to run 'omreport chassis pwrmonitoring'. Regards, -- Trond H. Amundsen Center for Information Technology Services, University of Oslo ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Radu.Popa at technomatic.de Wed Jul 6 15:33:49 2011 From: Radu.Popa at technomatic.de (Radu.Popa at technomatic.de) Date: Wed, 6 Jul 2011 16:33:49 +0300 Subject: Antwort: Re: Antwort: Check-wmi-plus usage In-Reply-To: References: Message-ID: Have a look here: http://www.edcint.co.nz/checkwmiplus/?q=samples Von: nag ios An: Nagios Users List Datum: 07/06/2011 03:54 PM Betreff: Re: [Nagios-users] Antwort: Check-wmi-plus usage can you provide me the builtin documentation so that i can work on it...... I will provide you the details and errors which are configured by me shortly On Wed, Jul 6, 2011 at 6:07 PM, wrote: What have you tried till now and what errors do you get? Or want one of us to provide you the config so you can copy/paste? For even advanced usage, the builtin documentation should be enough. Implemented by myself in about 2-3 days after reading. Regards! Von: nag ios An: nagiosusers at edcint.co.nz, Nagios Users List < nagios-users at lists.sourceforge.net> Datum: 07/06/2011 03:33 PM Betreff: [Nagios-users] Check-wmi-plus usage Can you please provide me the procedure to configure through check_wmi_plus plugin , i mean writing the command and service definitions and how to make changes in configuration file to reflect in the browser. On Sat, Jul 2, 2011 at 12:45 PM, Matthew Jurgens wrote: The easiest way is to forget about NSClient++ and simplify your monitoring by using http://exchange.nagios.org/directory/Plugins/Operating-Systems/Windows/WMI/Check-WMI-Plus/details Unless there is some check that only NSClient++ can do On 2/07/2011 1:17 AM, nag ios wrote: Default one is 12489 right.....? i haven't tried with 12849.... will try and update the status ok.....Version: 10.0.1388 / Virus Database: 1516/3736 - Release Date: 06/30/11 -- Smartmon System Monitoring www.smartmon.com.au ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From frnkblk at iname.com Wed Jul 6 15:51:22 2011 From: frnkblk at iname.com (Frank Bulk) Date: Wed, 6 Jul 2011 08:51:22 -0500 Subject: Sending notifications from the US to NL In-Reply-To: References: Message-ID: <000e01cc3be3$ca7c4ae0$5f74e0a0$@iname.com> I use SIM that has unlimited texting for $10 or $15 a month. I used MultiTech's iSMS (http://www.multitech.com/en_US/PRODUCTS/Families/MultiModemiSMS/) with a Perl script I found online. Frank -----Original Message----- From: Fournier, Wim [mailto:wfournier at comscore.com] Sent: Wednesday, July 06, 2011 2:19 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Sending notifications from the US to NL Hi all, How would one go about sending notifications from a datacenter in the US to the engineers on call in the Netherlands? I'd like to avoid using the Internet, as the location may be having networking issues when it tries to notify the engineers. I was thinking about SMS using the GSM network, like we do in NL, but isn't there a huge delay in delivering those messages overseas? And how is the coverage of GSM in the US? Also, if GSM is indeed the way to go, does anyone have some hints on hardware that works well in the US? Kind regards, Wim Fournier ---------------------------------------------------------------------------- -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mohit.chawla.binary at gmail.com Wed Jul 6 18:18:35 2011 From: mohit.chawla.binary at gmail.com (Mohit Chawla) Date: Wed, 6 Jul 2011 21:48:35 +0530 Subject: Wildcards in service escalations query In-Reply-To: <4E145DE7.3020004@paul.dubuc.org> References: <4E13570D.9060305@paul.dubuc.org> <4E137639.7040909@paul.dubuc.org> <4E145DE7.3020004@paul.dubuc.org> Message-ID: Hi, On Wed, Jul 6, 2011 at 6:36 PM, Paul M. Dubuc wrote: > I agree. ?It would be nice if the serviceescalation definition would > automatically exclude hosts which don't have services specified by its > service_description. ?Instead of adding all those host names there, you > could use a host group as I described here: > > http://sourceforge.net/mailarchive/message.php?msg_id=27615125 > > It's a little more work initially, but it's easier to maintain, I think. > ?You won't have to remember to change the escalation every time you add a > host. It's easier to include a host in the hostgroup you use for the > escalation when you define the host. > Even then maintaining entries in that hostgroup would be cumbersome/error-prone. Anyway, I was fortunate enough to only have two problematic hosts, for which I added simple ping checks, and now using the * wildcard. :) ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Jul 6 22:31:22 2011 From: cbeattie at geninfo.com (Chris Beattie) Date: Wed, 6 Jul 2011 16:31:22 -0400 Subject: Service escalations without contacts or groups defined on the services themselves In-Reply-To: References: Message-ID: <4E14C61A.2080406@geninfo.com> Kevin Kenny wrote: > I find this a convenient configuration because it means I don't have to > explicitly define contacts or contact groups at either the service > template or service check itself and makes management somewhat simpler. Well, that's one way to do it, but... > Despite the warnings, and even though this configuration works just > fine, is it recommended? ...I can't recommend it, personally. It may work for you now, but it won't scale up. I have over a thousand hosts and ten thousand services. My preflight check has to be clean, or I would miss one new configuration warning as ten thousand preventable warnings scrolled past. -- -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. ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From p6411 at hotmail.com Thu Jul 7 06:21:54 2011 From: p6411 at hotmail.com (Paul Paul) Date: Thu, 7 Jul 2011 06:21:54 +0200 Subject: (no subject) Message-ID: http://globalshoe.ca/html/googlelink.php -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From W.Miah at uea.ac.uk Thu Jul 7 18:13:36 2011 From: W.Miah at uea.ac.uk (Miah Wadud Dr (ITCS)) Date: Thu, 7 Jul 2011 17:13:36 +0100 Subject: Nagios force host/service check Message-ID: Hello Nagios users, Does anyone know the HTTP(S)-GET command to force check a host/service? I would like a host to execute the HTTP(S)-GET command to force Nagios to check the status as it is booting up. Any help will be greatly appreciated. Thanks in advance. ---------- Wadud Miah, High Performance Computing Systems Developer Research Computing Services, University of East Anglia Web: http://www.uea.ac.uk/~xca10fju/ Telephone: 01603 593856 Information Services ---------- ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jul 7 18:19:21 2011 From: benny at bennyvision.com (C. Bensend) Date: Thu, 7 Jul 2011 11:19:21 -0500 Subject: Nagios force host/service check In-Reply-To: References: Message-ID: <5d7a519e13512b05c751cd1a08277c94.squirrel@webmail.stinkweasel.net> > Does anyone know the HTTP(S)-GET command to force check a host/service? I > would like a host to execute the HTTP(S)-GET command to force Nagios to > check the status as it is booting up. > > Any help will be greatly appreciated. Thanks in advance. Watch your http access log, and execute the same command with a web browser. Take that URL and use wget with the --http-user and --http-password options. Voila! Benny -- "You were doing well until everyone died." -- "God", Futurama ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Jul 8 05:39:14 2011 From: mike-nagios at 5dninja.net (Mike Lindsey) Date: Thu, 07 Jul 2011 20:39:14 -0700 Subject: Attempting to execute bash script stored in Service Meta variable, referenced in command_line In-Reply-To: <5d7a519e13512b05c751cd1a08277c94.squirrel@webmail.stinkweasel.net> References: <5d7a519e13512b05c751cd1a08277c94.squirrel@webmail.stinkweasel.net> Message-ID: <4E167BE2.80106@5dninja.net> I know there are reasons why you might not want to do this (code injection, etc) but I'm more concerned at the moment with what I can solve with it, than what could be broken with it. What I'm trying to do, is have certain services which have variable time-based thresholds. So, during business hours some check might have a critical threshold of 200, and 50 otherwise; in a manner flexible enough for a different threshold for each hour of the week - if needed. I want to be able to do this, without having to write the dozen or two different scripts, in four or five different languages, in my env, that this would be useful for. In my service definition I have: define service { service_description ip_corpus_mailflow_rate__test check_command mailflow_rate!1200!db!table!$$NAGIOS__SERVICEWARN!$$NAGIOS__SERVICECRIT _CRIT $((/path/_slice_threshold.sh CRIT)) _CRITTHRESH 50 50 50 50 50 50 200 200 200 200 200 200 200 200 200 200 200 200 200 50 50 50 50 50 50 50 50 50 50 50 200 200 200 200 200 200 200 200 200 200 200 200 200 50 50 50 50 50 50 50 50 50 50 50 200 200 200 200 200 200 200 200 200 200 200 200 200 50 50 50 50 50 50 50 50 50 50 50 200 200 200 200 200 200 200 200 200 200 200 200 200 50 50 50 50 50 50 50 50 50 50 50 200 200 200 200 200 200 200 200 200 200 200 200 200 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 _WARN $((/path/_slice_threshold.sh WARN)) _WARNTHRESH 200 200 200 200 200 200 600 600 600 600 600 600 600 600 600 600 600 600 600 200 200 200 200 200 200 200 200 200 200 200 600 600 600 600 600 600 600 600 600 600 600 600 600 200 200 200 200 200 200 200 200 200 200 200 600 600 600 600 600 600 600 600 600 600 600 600 600 200 200 200 200 200 200 200 200 200 200 200 600 600 600 600 600 600 600 600 600 600 600 600 600 200 200 200 200 200 200 200 200 200 200 200 600 600 600 600 600 600 600 600 600 600 600 600 600 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 } My command definition is: define command { command_name ip_check_corpus_mailflow_rate command_line bash -c '$USER5$/mailflow_rate.py -H $HOSTADDRESS$ -u $USER17$ -p $USER10$ -s "$ARG1$" -d "$ARG2$" -t "$ARG3$" -w "$ARG4$" -c "$ARG5$" 2>&1' } The command gets expanded, pretty much as I expect, but bash doesn't expand the inner variable. I've tried both $(()) and ``... Debug log output: Processing part: '/mailflow_rate.py -H ' Not currently in macro. Running output (98): 'bash -c 'mailflow_rate.py -H ' Uncleaned macro. Running output (133): 'bash -c 'mailflow_rate.py -H xxhostxx' Not currently in macro. Running output (137): 'bash -c 'mailflow_rate.py -H xxhostxx -u ' Uncleaned macro. Running output (143): 'bash -c 'mailflow_rate.py -H xxhostxx -u user' Not currently in macro. Running output (147): 'bash -c 'mailflow_rate.py -H xxhostxx -u user -p ' Uncleaned macro. Running output (154): 'bash -c 'mailflow_rate.py -H xxhostxx -u user -p xxxx' Not currently in macro. Running output (159): 'bash -c 'mailflow_rate.py -H xxhostxx -u user -p xxxx -s "' Uncleaned macro. Running output (163): 'bash -c 'mailflow_rate.py -H xxhostxx -u user -p xxxx -s "1200' Not currently in macro. Running output (169): 'bash -c 'mailflow_rate.py -H xxhostxx -u user -p xxxx -s "1200" -d "' Uncleaned macro. Running output (175): 'bash -c 'mailflow_rate.py -H xxhostxx -u user -p xxxx -s "1200" -d "db' Not currently in macro. Running output (181): 'bash -c 'mailflow_rate.py -H xxhostxx -u user -p xxxx -s "1200" -d "db" -t "' Uncleaned macro. Running output (185): 'bash -c 'mailflow_rate.py -H xxhostxx -u user -p xxxx -s "1200" -d "db" -t "table' Not currently in macro. Running output (191): 'bash -c 'mailflow_rate.py -H xxhostxx -u user -p xxxx -s "1200" -d "db" -t "table" -w "' Uncleaned macro. Running output (211): 'bash -c 'mailflow_rate.py -H xxhostxx -u user -p xxxx -s "1200" -d "db" -t "table" -w "$NAGIOS__SERVICEWARN' Not currently in macro. Running output (217): 'bash -c 'mailflow_rate.py -H xxhostxx -u user -p xxxx -s "1200" -d "db" -t "table" -w "$NAGIOS__SERVICEWARN" -c "' Uncleaned macro. Running output (237): 'bash -c 'mailflow_rate.py -H xxhostxx -u user -p xxxx -s "1200" -d "db" -t "table" -w "$NAGIOS__SERVICEWARN" -c "$NAGIOS__SERVICECRIT' Not currently in macro. Running output (244): 'bash -c 'mailflow_rate.py -H xxhostxx -u user -p xxxx -s "1200" -d "db" -t "table" -w "$NAGIOS__SERVICEWARN" -c "$NAGIOS__SERVICECRIT" 2>&1'' Done. Final output: 'bash -c 'mailflow_rate.py -H xxhostxx -u user -p xxxx -s "1200" -d "db" -t "table" -w "$NAGIOS__SERVICEWARN" -c "$NAGIOS__SERVICECRIT" 2>&1'' Short Output: Usage: mailflow_rate.py [options] Long Output: \nmailflow_rate.py: error: option -w: invalid integer value: '$((/path/_slice_threshold.sh WARN))'\n So, the final command has the right environment macros, and it does pull the string I expect out of the first service meta variable, but bash doesn't do the command substitution, just hands the unsubstituted string off to the poller script. Any ideas on how I can get this working right? -- Mike Lindsey ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lucas.da_vila at alcatel-lucent.com Fri Jul 8 23:45:43 2011 From: lucas.da_vila at alcatel-lucent.com (DA VILA, LUCAS (LUCAS)) Date: Fri, 8 Jul 2011 16:45:43 -0500 Subject: compiling for solaris 10 Message-ID: <1E28A1093117114BB6E6066F66BAFCD5058EC6D13E@USNAVSXCHMBSB3.ndc.alcatel-lucent.com> Hi users, I'm trying to compile NPRE and de nagios plugins on a Sun/SPARC Solaris 10 server. I've managed to compile and install NPRE modifying a little de source, and disabling SSL. But when I want to compile de nagios plugins an error occurs with the linker. I'm compiling nrpe-2.12.tar.gz nagios-plugins-1.4.11.tar.gz with cc the default compiler on our system (no GCC) This is the output running a make in 'plugins' folder root at ALUSPARC02$ make /bin/bash ../libtool --tag=CC --mode=link cc -g -L. -o check_apt check_apt.o utils.o ../lib/libnagiosplug.a ../gl/libgnu.a runcmd.o -lnsl -lsocket cc -g -o check_apt check_apt.o utils.o runcmd.o -L/users/adsl/nagios-plugins-1.4.11/plugins ../lib/libnagiosplug.a ../gl/libgnu.a -lnsl -lsocket Undefined first referenced symbol in file floor check_apt.o ld: fatal: Symbol referencing errors. No output written to check_apt *** Error code 1 make: Fatal error: Command failed for target `check_apt' I've tried to remove check_apt from the make file, but the error repeats with another check_* (check_cluster, check_disk) Also run the isolated command root at ALUSPARC02$ cc -g -o check_apt check_apt.o utils.o runcmd.o Undefined first referenced symbol in file die check_apt.o floor check_apt.o rpl_getopt_long check_apt.o rpl_optarg check_apt.o rpl_regfree check_apt.o rpl_regexec check_apt.o rpl_regcomp check_apt.o asprintf utils.o rpl_regerror check_apt.o ld: fatal: Symbol referencing errors. No output written to check_apt I've search on google about this and found some pages, but didn't get errors with the compilation of the plugins. Anyone have an idea with this error? Thanks in advance, Best regards Lucas ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jul 9 02:45:30 2011 From: yuehung.liu at gmail.com (Yueh-Hung Liu) Date: Sat, 9 Jul 2011 08:45:30 +0800 Subject: compiling for solaris 10 In-Reply-To: <1E28A1093117114BB6E6066F66BAFCD5058EC6D13E@USNAVSXCHMBSB3.ndc.alcatel-lucent.com> References: <1E28A1093117114BB6E6066F66BAFCD5058EC6D13E@USNAVSXCHMBSB3.ndc.alcatel-lucent.com> Message-ID: solaris 10 has some utilities from www.sunfreeware.com, include gnu cc (gcc) and gnu make (gmake). check the /usr/sfw/bin folder and try with these gnu stuff again. On Sat, Jul 9, 2011 at 5:45 AM, DA VILA, LUCAS (LUCAS) wrote: > Hi users, > > I'm trying to compile NPRE and de nagios plugins on a Sun/SPARC Solaris 10 server. > > I've managed to compile and install NPRE modifying a little de source, and disabling SSL. > But when I want to compile de nagios plugins an error occurs with the linker. > > I'm compiling nrpe-2.12.tar.gz nagios-plugins-1.4.11.tar.gz with cc the default compiler on our system (no GCC) > > This is the output running a make in 'plugins' folder > > root at ALUSPARC02$ make > /bin/bash ../libtool --tag=CC --mode=link cc ?-g ? -L. -o check_apt ?check_apt.o utils.o ../lib/libnagiosplug.a ../gl/libgnu.a runcmd.o -lnsl -lsocket > cc -g -o check_apt check_apt.o utils.o runcmd.o ?-L/users/adsl/nagios-plugins-1.4.11/plugins ../lib/libnagiosplug.a ../gl/libgnu.a -lnsl -lsocket > Undefined ? ? ? ? ? ? ? ? ? ? ? first referenced > ?symbol ? ? ? ? ? ? ? ? ? ? ? ? ? ? in file > floor ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? check_apt.o > ld: fatal: Symbol referencing errors. No output written to check_apt > *** Error code 1 > make: Fatal error: Command failed for target `check_apt' > > I've tried to remove check_apt from the make file, but the error repeats with another check_* (check_cluster, check_disk) > > Also run the isolated command > root at ALUSPARC02$ cc -g -o check_apt check_apt.o utils.o runcmd.o > Undefined ? ? ? ? ? ? ? ? ? ? ? first referenced > ?symbol ? ? ? ? ? ? ? ? ? ? ? ? ? ? in file > die ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? check_apt.o > floor ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? check_apt.o > rpl_getopt_long ? ? ? ? ? ? ? ? ? ? check_apt.o > rpl_optarg ? ? ? ? ? ? ? ? ? ? ? ? ?check_apt.o > rpl_regfree ? ? ? ? ? ? ? ? ? ? ? ? check_apt.o > rpl_regexec ? ? ? ? ? ? ? ? ? ? ? ? check_apt.o > rpl_regcomp ? ? ? ? ? ? ? ? ? ? ? ? check_apt.o > asprintf ? ? ? ? ? ? ? ? ? ? ? ? ? ?utils.o > rpl_regerror ? ? ? ? ? ? ? ? ? ? ? ?check_apt.o > ld: fatal: Symbol referencing errors. No output written to check_apt > > I've search on google about this and found some pages, but didn't get errors with the compilation of the plugins. > Anyone have an idea with this error? > > Thanks in advance, > Best regards > > Lucas > > > ------------------------------------------------------------------------------ > All of the data generated in your IT infrastructure is seriously valuable. > Why? It contains a definitive record of application performance, security > threats, fraudulent activity, and more. Splunk takes this data and makes > sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-d2d-c2 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagiostool at gmail.com Sat Jul 9 08:13:20 2011 From: nagiostool at gmail.com (nag ios) Date: Sat, 9 Jul 2011 11:43:20 +0530 Subject: Error as do not have permission to view information for any of the hosts you requested... Message-ID: This is the error im facing when i'm accessing nagios through web browser It appears as though you do not have permission to view information for any of the hosts you requested... If you believe this is an error, check the HTTP server authentication requirements for accessing this CGI and check the authorization options in your CGI configuration file. Can anyone help me out.....??? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From openlinuxsource at gmail.com Sat Jul 9 16:02:56 2011 From: openlinuxsource at gmail.com (Lee Eric) Date: Sat, 9 Jul 2011 22:02:56 +0800 Subject: Help: How to use check_snmp plugin to get the monitor APC PDU? Message-ID: Hi, Does anyone ever use check_snmp plugin to get the monitor APC PDU? I know there are some plugins can do this but I'd like to use this one to do more standard. I have downloaded the Powernet MIB file. Thanks. Eric Lee ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From phillip.kennedy at yankeeairmuseum.org Sun Jul 10 06:52:42 2011 From: phillip.kennedy at yankeeairmuseum.org (Phil K.) Date: Sun, 10 Jul 2011 00:52:42 -0400 Subject: =?utf-8?q?Help=3A_How_to_use_check=5Fsnmp_plugin_t?= =?utf-8?q?o_get_the=09monitor_APC_PDU=3F?= In-Reply-To: References: Message-ID: <84c3a0a9-a9d9-4aef-b0ac-a958049af49b@email.android.com> Some google-fu should get you a sample of check_snmp tests that will work. IIRC check_apc has them listed as well. (I'll email my configs to you in the morning Eric. They're pretty straightforward. ~Phil) -- Sent from my Android phone with K-9. Lee Eric wrote: Hi, Does anyone ever use check_snmp plugin to get the monitor APC PDU? I know there are some plugins can do this but I'd like to use this one to do more standard. I have downloaded the Powernet MIB file. Thanks. Eric Lee _____________________________________________ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _____________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From td3201 at gmail.com Mon Jul 11 01:25:21 2011 From: td3201 at gmail.com (Terry) Date: Sun, 10 Jul 2011 18:25:21 -0500 Subject: search box returning no results Message-ID: The quick search on my 3.2.3 installation has stopped working. I search for any host and it says "Service Status Details For Host 'host'" and then "0 Matching Service Entries Displayed". It appears to be broken for all hosts. Any ideas? ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From malkolm at gmail.com Mon Jul 11 06:03:44 2011 From: malkolm at gmail.com (Malcolm Cowe) Date: Mon, 11 Jul 2011 14:03:44 +1000 Subject: check_interval or normal_check_interval ? Message-ID: <4E1A7620.6000700@gmail.com> Hello All, I have a quick question arising from a discrepancy between the Nagios 3 documentation and the service templates supplied with the distribution. When defining services, should one use "check_interval" or "normal_check_interval"? I'm currently using Nagios 3.1.0 but will likely be upgrading to the latest release in the near future. Regards, Malcolm. ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Radu.Popa at technomatic.de Mon Jul 11 08:36:36 2011 From: Radu.Popa at technomatic.de (Radu.Popa at technomatic.de) Date: Mon, 11 Jul 2011 09:36:36 +0300 Subject: Redundant network monitoring Message-ID: Hello, I have the following setup: Nagios server monitoring a few servers on a redundant network. Each system has two NICs, so two IP addresses. I would like to setup Nagios in such a way that when I want to see if a host is up for example, it should ping first on ti's first IP and if failed, try the second IP. Only if the second attempt is failing it should declare the host unreachable. Same should apply for other services monitored as well: CPU usage, memory usage aso. Can this be achieved in order not to have duplicate states for each machine? Thank you! -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagiostool at gmail.com Mon Jul 11 08:44:56 2011 From: nagiostool at gmail.com (nag ios) Date: Mon, 11 Jul 2011 12:14:56 +0530 Subject: Check_WMI Message-ID: Hi this is krishna, I am trying to use check_wmi.pl script to get the data from windows PC and to display the information through nagios in web browser.I have added the following lines in localhost.cfg define service{ use local-service host_name localhost service_description checkcpu check_command check_wmi!checkcpu!c!70!80 } In the command.cfg file i have added the following lines define command{ command_name check_wmi command_line $USER1$/check_wmi.pl -H hostname -u domainname/user -p password -w $ARG1$ -c $ARG2$ } In the web i got the information as check_wmi -H HOSTNAME -u DOMAIN/USER -p PASSWORD -m [-a "arguments, see below"] [-w value for warning] [-c value for critical] When i added the above two definition's(service and command) i didn't get any error when checked through /usr/local/nagios/bin nagios -v /usr/local/nagios/etc/nagios.cfg But the required information is not reflecting in the web browser Can anyone help me....??? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios-users at noroutetohost.net Mon Jul 11 09:01:48 2011 From: nagios-users at noroutetohost.net (David Wilkinson) Date: Mon, 11 Jul 2011 08:01:48 +0100 Subject: Check_WMI In-Reply-To: References: Message-ID: <4E1A9FDC.5080907@noroutetohost.net> On 11/07/11 07:44, nag ios wrote: > > In the command.cfg file i have added the following lines > define command{ > command_name check_wmi > command_line $USER1$/check_wmi.pl > -H hostname -u domainname/user -p password -w $ARG1$ -c $ARG2$ > } Hi Try changing the command to the following command_line $USER1$/check_wmi.pl -H hostname -u domainname/user -p password -w $ARG1$ -c $ARG2$ -m $ARG0$ as checkcpu is not passedto the check -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rosenski at wave-computer.de Mon Jul 11 09:04:23 2011 From: rosenski at wave-computer.de (Axel Rosenski) Date: Mon, 11 Jul 2011 09:04:23 +0200 Subject: Check_WMI In-Reply-To: References: Message-ID: <201107110904.23970.rosenski@wave-computer.de> On Montag, 11. Jul. 11 08:44:56 nag ios wrote: > define service{ > use local-service > host_name localhost > service_description checkcpu > check_command check_wmi!checkcpu!c!70!80 > } > > define command{ > command_name check_wmi > command_line $USER1$/check_wmi.pl -H hostname -u > domainname/user -p password -w $ARG1$ -c $ARG2$ > } Re-check your command and service definition. You are passing "checkcpu" as first, and "c" as second argument. Kind Regards, Axel -- Axel Rosenski - Administration - ______________________________ Wave Computersysteme GmbH Philipp-Reis-Str. 1-3 / 9 35440 Linden Gesch?ftsf?hrer: Carsten Kellmann Registergericht Gie?en HRB 1823 Tel.: +49 (0)6403 / 9050 8317 Fax: +49 (0)6403 / 9050 5089 mailto:rosenski at wave-computer.de http://www.wave-computer.de ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Radu.Popa at technomatic.de Mon Jul 11 09:13:40 2011 From: Radu.Popa at technomatic.de (Radu.Popa at technomatic.de) Date: Mon, 11 Jul 2011 10:13:40 +0300 Subject: Antwort: Check_WMI In-Reply-To: References: Message-ID: Please post your localhost and local-service definitions. If localhost is the linux host then you have no chance getting the wmi info. Von: nag ios An: Nagios Users List Datum: 07/11/2011 09:46 AM Betreff: [Nagios-users] Check_WMI Hi this is krishna, I am trying to use check_wmi.pl script to get the data from windows PC and to display the information through nagios in web browser.I have added the following lines in localhost.cfg define service{ use local-service host_name localhost service_description checkcpu check_command check_wmi!checkcpu!c!70!80 } In the command.cfg file i have added the following lines define command{ command_name check_wmi command_line $USER1$/check_wmi.pl -H hostname -u domainname/user -p password -w $ARG1$ -c $ARG2$ } In the web i got the information as check_wmi -H HOSTNAME -u DOMAIN/USER -p PASSWORD -m [-a "arguments, see below"] [-w value for warning] [-c value for critical] When i added the above two definition's(service and command) i didn't get any error when checked through /usr/local/nagios/bin nagios -v /usr/local/nagios/etc/nagios.cfg But the required information is not reflecting in the web browser Can anyone help me....??? ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagiostool at gmail.com Mon Jul 11 09:19:22 2011 From: nagiostool at gmail.com (nag ios) Date: Mon, 11 Jul 2011 12:49:22 +0530 Subject: Antwort: Check_WMI In-Reply-To: References: Message-ID: This is the service in localhost.cfg file define service{ use local-service host_name localhost service_description checkcpu check_command check_wmi!checkcpu!c!70!80 } And i'm checking the windows host details do i need to add this is windows.cfg file????? On Mon, Jul 11, 2011 at 12:43 PM, wrote: > Please post your localhost and local-service definitions. If localhost is > the linux host then you have no chance getting the wmi info. > > > > Von: nag ios > An: Nagios Users List > Datum: 07/11/2011 09:46 AM > Betreff: [Nagios-users] Check_WMI > ------------------------------ > > > > Hi this is krishna, > I am trying to use *check_wmi.pl*script to get the data from windows PC and to display the information > through nagios in web browser.I have added the following lines in > localhost.cfg > > define service{ > use local-service > host_name localhost > service_description checkcpu > check_command check_wmi!checkcpu!c!70!80 > } > > > In the command.cfg file i have added the following lines > > define command{ > command_name check_wmi > command_line $USER1$/*check_wmi.pl* -H > hostname -u domainname/user -p password -w $ARG1$ -c $ARG2$ > } > > > In the web i got the information as > > check_wmi -H HOSTNAME -u DOMAIN/USER -p PASSWORD -m > [-a > "arguments, see below"] [-w value for warning] [-c value for critical] > > When i added the above two definition's(service and command) i didn't get > any error when checked through > > /usr/local/nagios/bin nagios -v /usr/local/nagios/etc/nagios.cfg > > But the required information is not reflecting in the web browser > > Can anyone help me....???------------------------------------------------------------------------------ > > > All of the data generated in your IT infrastructure is seriously valuable. > Why? It contains a definitive record of application performance, security > threats, fraudulent activity, and more. Splunk takes this data and makes > sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-d2d-c2 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > ------------------------------------------------------------------------------ > All of the data generated in your IT infrastructure is seriously valuable. > Why? It contains a definitive record of application performance, security > threats, fraudulent activity, and more. Splunk takes this data and makes > sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-d2d-c2 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Radu.Popa at technomatic.de Mon Jul 11 09:24:01 2011 From: Radu.Popa at technomatic.de (Radu.Popa at technomatic.de) Date: Mon, 11 Jul 2011 10:24:01 +0300 Subject: Antwort: Re: Antwort: Check_WMI In-Reply-To: References: Message-ID: Please list your local-service template, Probably in templates.cfg... And the definition of your localhost ( I need to see the IP of it). Von: nag ios An: Nagios Users List Datum: 07/11/2011 10:21 AM Betreff: Re: [Nagios-users] Antwort: Check_WMI This is the service in localhost.cfg file define service{ use local-service host_name localhost service_description checkcpu check_command check_wmi!checkcpu!c!70!80 } And i'm checking the windows host details do i need to add this is windows.cfg file????? On Mon, Jul 11, 2011 at 12:43 PM, wrote: Please post your localhost and local-service definitions. If localhost is the linux host then you have no chance getting the wmi info. Von: nag ios An: Nagios Users List Datum: 07/11/2011 09:46 AM Betreff: [Nagios-users] Check_WMI Hi this is krishna, I am trying to use check_wmi.pl script to get the data from windows PC and to display the information through nagios in web browser.I have added the following lines in localhost.cfg define service{ use local-service host_name localhost service_description checkcpu check_command check_wmi!checkcpu!c!70!80 } In the command.cfg file i have added the following lines define command{ command_name check_wmi command_line $USER1$/check_wmi.pl -H hostname -u domainname/user -p password -w $ARG1$ -c $ARG2$ } In the web i got the information as check_wmi -H HOSTNAME -u DOMAIN/USER -p PASSWORD -m [-a "arguments, see below"] [-w value for warning] [-c value for critical] When i added the above two definition's(service and command) i didn't get any error when checked through /usr/local/nagios/bin nagios -v /usr/local/nagios/etc/nagios.cfg But the required information is not reflecting in the web browser Can anyone help me....??? ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagiostool at gmail.com Mon Jul 11 11:56:20 2011 From: nagiostool at gmail.com (nag ios) Date: Mon, 11 Jul 2011 15:26:20 +0530 Subject: Check_WMI In-Reply-To: <4E1A9FDC.5080907@noroutetohost.net> References: <4E1A9FDC.5080907@noroutetohost.net> Message-ID: It worked when i changed it and in the service definition i have added check_command check_wmi!checkcpu!70!80! and when i'm checking the service its showing the error as Error:Service Status Not Found! but On Mon, Jul 11, 2011 at 12:31 PM, David Wilkinson < nagios-users at noroutetohost.net> wrote: > ** > On 11/07/11 07:44, nag ios wrote: > > > In the command.cfg file i have added the following lines > > define command{ > command_name check_wmi > command_line $USER1$/check_wmi.pl -H hostname -u > domainname/user -p password -w $ARG1$ -c $ARG2$ > } > > > > Hi > > Try changing the command to the following > > > command_line $USER1$/check_wmi.pl -H hostname -u domainname/user -p > password -w $ARG1$ -c $ARG2$ -m $ARG0$ > > > as checkcpu is not passed to the check > > > ------------------------------------------------------------------------------ > All of the data generated in your IT infrastructure is seriously valuable. > Why? It contains a definitive record of application performance, security > threats, fraudulent activity, and more. Splunk takes this data and makes > sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-d2d-c2 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From carlos at dsag.jazztel.es Mon Jul 11 12:13:12 2011 From: carlos at dsag.jazztel.es (Carlos de Santa-Ana Garcia) Date: Mon, 11 Jul 2011 12:13:12 +0200 Subject: Redundant network monitoring In-Reply-To: References: Message-ID: <4E1ACCB8.90601@dsag.jazztel.es> http://www.nagios.org/news/77-news-announcements/272-nagios-business-process-intelligence-addon Greets. El 11/07/2011 8:36, Radu.Popa at technomatic.de escribi?: > Hello, > > I have the following setup: Nagios server monitoring a few servers on > a redundant network. Each system has two NICs, so two IP addresses. I > would like to setup Nagios in such a way that when I want to see if a > host is up for example, it should ping first on ti's first IP and if > failed, try the second IP. Only if the second attempt is failing it > should declare the host unreachable. Same should apply for other > services monitored as well: CPU usage, memory usage aso. > > Can this be achieved in order not to have duplicate states for each > machine? > > Thank you! > > > ------------------------------------------------------------------------------ > All of the data generated in your IT infrastructure is seriously valuable. > Why? It contains a definitive record of application performance, security > threats, fraudulent activity, and more. Splunk takes this data and makes > sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-d2d-c2 > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Radu.Popa at technomatic.de Mon Jul 11 15:27:38 2011 From: Radu.Popa at technomatic.de (Radu.Popa at technomatic.de) Date: Mon, 11 Jul 2011 16:27:38 +0300 Subject: Antwort: Re: Redundant network monitoring In-Reply-To: <4E1ACCB8.90601@dsag.jazztel.es> References: <4E1ACCB8.90601@dsag.jazztel.es> Message-ID: Hello and thank your for your answer! The plugin should be really good for any service, but what about graphing the perf data? Let's take the following example: 1 server has two IPs: 192.168.1.1 and 192.168.2.1 I would like to monitor the CPU load via wmi queries on the machine. I would like to be able to get it first over the 192.168.1.1 and if it fails, it should be queried the next interface, 192.168.2.1. If that one fails, it should be put in the critical state. As as result I should obtain performance data from any interface which is available or a critical status. The perf data can be used later to be graphed in PNP4 Nagios for example. Ideas? Thank you! Von: Carlos de Santa-Ana Garcia An: nagios-users at lists.sourceforge.net Datum: 07/11/2011 01:17 PM Betreff: Re: [Nagios-users] Redundant network monitoring http://www.nagios.org/news/77-news-announcements/272-nagios-business-process-intelligence-addon Greets. El 11/07/2011 8:36, Radu.Popa at technomatic.de escribi?: Hello, I have the following setup: Nagios server monitoring a few servers on a redundant network. Each system has two NICs, so two IP addresses. I would like to setup Nagios in such a way that when I want to see if a host is up for example, it should ping first on ti's first IP and if failed, try the second IP. Only if the second attempt is failing it should declare the host unreachable. Same should apply for other services monitored as well: CPU usage, memory usage aso. Can this be achieved in order not to have duplicate states for each machine? Thank you! ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dey.ranjib at gmail.com Mon Jul 11 16:09:34 2011 From: dey.ranjib at gmail.com (ranjib dey) Date: Mon, 11 Jul 2011 07:09:34 -0700 Subject: Antwort: Re: Redundant network monitoring In-Reply-To: References: <4E1ACCB8.90601@dsag.jazztel.es> Message-ID: you can use adaptive monitoring too, where state change in one of the check (the first ip check) will trigger further checks (second ip check); You can chart the performance data by enabled process_performance_data and related configuration and then using nagiosgraph or pnpgraph . Optionally if you have a splunk installation you can use splunk also to graph the performance data regards ranjib On Mon, Jul 11, 2011 at 6:27 AM, wrote: > Hello and thank your for your answer! > > The plugin should be really good for any service, but what about graphing > the perf data? > > Let's take the following example: > > 1 server has two IPs: 192.168.1.1 and 192.168.2.1 > > I would like to monitor the CPU load via wmi queries on the machine. I > would like to be able to get it first over the 192.168.1.1 and if it fails, > it should be queried the next interface, 192.168.2.1. If that one fails, it > should be put in the critical state. As as result I should obtain > performance data from any interface which is available or a critical status. > The perf data can be used later to be graphed in PNP4 Nagios for example. > > Ideas? > > Thank you! > > > > Von: Carlos de Santa-Ana Garcia > An: nagios-users at lists.sourceforge.net > Datum: 07/11/2011 01:17 PM > Betreff: Re: [Nagios-users] Redundant network monitoring > ------------------------------ > > > > * > http://www.nagios.org/news/77-news-announcements/272-nagios-business-process-intelligence-addon > * > > Greets. > > > > El 11/07/2011 8:36, *Radu.Popa at technomatic.de* escribi?: > Hello, > > I have the following setup: Nagios server monitoring a few servers on a > redundant network. Each system has two NICs, so two IP addresses. I would > like to setup Nagios in such a way that when I want to see if a host is up > for example, it should ping first on ti's first IP and if failed, try the > second IP. Only if the second attempt is failing it should declare the host > unreachable. Same should apply for other services monitored as well: CPU > usage, memory usage aso. > > Can this be achieved in order not to have duplicate states for each > machine? > > Thank you! > > > ------------------------------------------------------------------------------ > All of the data generated in your IT infrastructure is seriously valuable. > Why? It contains a definitive record of application performance, security > threats, fraudulent activity, and more. Splunk takes this data and makes > sense of it. IT sense. And common sense. > *http://p.sf.net/sfu/splunk-d2d-c2* > > > _______________________________________________ > Nagios-users mailing list > *Nagios-users at lists.sourceforge.net* > *https://lists.sourceforge.net/lists/listinfo/nagios-users* > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------------------------------ > All of the data generated in your IT infrastructure is seriously valuable. > Why? It contains a definitive record of application performance, security > threats, fraudulent activity, and more. Splunk takes this data and makes > sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-d2d-c2 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > ------------------------------------------------------------------------------ > All of the data generated in your IT infrastructure is seriously valuable. > Why? It contains a definitive record of application performance, security > threats, fraudulent activity, and more. Splunk takes this data and makes > sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-d2d-c2 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jul 11 16:22:47 2011 From: work at paul.dubuc.org (Paul M. Dubuc) Date: Mon, 11 Jul 2011 10:22:47 -0400 Subject: check_interval or normal_check_interval ? In-Reply-To: <4E1A7620.6000700@gmail.com> References: <4E1A7620.6000700@gmail.com> Message-ID: <4E1B0737.3090208@paul.dubuc.org> Malcolm Cowe wrote: > Hello All, > > I have a quick question arising from a discrepancy between the Nagios 3 > documentation and the service templates supplied with the distribution. > When defining services, should one use "check_interval" or > "normal_check_interval"? I'm currently using Nagios 3.1.0 but will > likely be upgrading to the latest release in the near future. They are equivalent. According to Barth, check_interval was introduced in 3.0 as an alternative to normal_check_interval. They mean the same thing. ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ck at claudiokuenzler.com Mon Jul 11 16:42:13 2011 From: ck at claudiokuenzler.com (Claudio Kuenzler) Date: Mon, 11 Jul 2011 16:42:13 +0200 Subject: Macro values don't seem to be consistent In-Reply-To: <1307556978.1873.433.camel@jimsworktop> References: <1307556978.1873.433.camel@jimsworktop> Message-ID: Hello, Since today I have almost the same problem as Jim. The $HOSTALIAS$ macro works fine for all the checks, except one host alias is wrong. I got aware of it today. Same version as Jim's, 3.2.3, compiled from source as well. Host config: define host{ use linux-platform-demo ; Name of host template to use ; This host definition will inherit all variables that are defined ; in (or inherited by) the linux-server host template definition. host_name server14 alias SERVER14-RANDOMDEMO address 192.168.0.14 } However in the notification e-mail the alias appears like this: *Subject: ** PROBLEM Service Alert: SERVER17-RANDPROD/Service Check is CRITICAL *** * ***** Nagios ****** * Notification Type: PROBLEM Service: Service Check Host: SERVER17-RANPROD Address: 192.168.0.14 State: CRITICAL Date/Time: Mon Jul 11 11:12:20 CEST 2011 Additional Info: * *CRITICAL No connection to 192.168.0.20!* Note that the IP address is correct. Only the Host (which uses $HOSTALIAS$ if I'm not mistaken) is wrong. As this is also used in the subject of the mail, a great confusion happened here at work today ;-). I checked all host definitions for wrong alias values, but did not find so. Anyone got an idea? Maybe this is related to the problem Jim found, too. thx ck On Wed, Jun 8, 2011 at 8:16 PM, Jim McNamara wrote: > ** > Hello all. I'm seeing an unexpected behavior in my nagios installs, and I'd > appreciate some insight as to what I did incorrectly. > > This is nagios version 3.2.3 compiled from source. > > I added the $HOSTALIAS$ macro to the emails nagios generates, as often > information in the alias makes it clearer which device has the problem. The > host email looks like this: > > # 'notify-host-by-email' command definition > define command{ > command_name notify-host-by-email > command_line /usr/bin/printf "%b" "***** Nagios > *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nAbout: > $HOSTALIAS$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: > $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n" | /usr/bin/mail -s "** > $NOTIFICATIONTYPE$ $HOSTNAME$ is $HOSTSTATE$ **" $CONTACTEMAIL$ > } > > The same modifications were made to the notify-service-by-email as well. > > This works somewhat as intended, it does add an "About:" line, but the > value for $HOSTALIAS$ is not consistent. > > In the /usr/local/nagios/etc/objects/localhost.cfg file the host is defined > as: > > define host{ > use linux-server > host_name localhost > alias old gray box on the metal stand > address 127.0.0.1 > hostgroups linux-servers > } > > When I click on Host followed by localhost in the web interface for nagios, > I get a page with this data at the top: > > Host old gray box on the metal stand (localhost) > In addition, the line "old gray box on the metal stand" is listed as the > alias for localhost in /usr/local/nagios/var/objects.cache: > > define host { > host_name localhost > alias old gray box on the metal stand > address 127.0.0.1 > check_period 24x7 > check_command check-host-alive > > When I receive a host email about localhost, the About: line in the email > which should to my understanding contain the value of $HOSTALIAS$, instead > has "localhost" listed where the $HOSTALIAS$ (old grey box on the metal > stand) is expected. > > Here is the text of a recent email: > > ***** Nagios ***** > > Notification Type: RECOVERY > > Service: current load > Host: localhost > About: localhost > Address: 127.0.0.1 > State: OK > > Date/Time: Wed Jun 8 13:41:01 EDT 2011 > > Additional Info: > > OK - load average: 1.18, 2.55, 2.34 > > > > I checked and multiple copies of nagios aren't running, so I'm guessing I > did something incorrect with the macro? > > Interestingly, this is happening to about half of the hosts I'm receiving > emails for. Sometimes the $HOSTALIAS$ is correct, and other times it seems > $HOSTALIAS$ is incorrect. > > > > > ------------------------------------------------------------------------------ > EditLive Enterprise is the world's most technically advanced content > authoring tool. Experience the power of Track Changes, Inline Image > Editing and ensure content is compliant with Accessibility Checking. > http://p.sf.net/sfu/ephox-dev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From terry at cnysupport.com Mon Jul 11 16:50:21 2011 From: terry at cnysupport.com (Terry Carmen) Date: Mon, 11 Jul 2011 10:50:21 -0400 Subject: Macro values don't seem to be consistent In-Reply-To: References: <1307556978.1873.433.camel@jimsworktop> Message-ID: <20110711105021.21345aavu5in20fk@www.cnysupport.com> Quoting Claudio Kuenzler : > Hello, > > Since today I have almost the same problem as Jim. > The $HOSTALIAS$ macro works fine for all the checks, except one host alias > is wrong. I got aware of it today. > > Same version as Jim's, 3.2.3, compiled from source as well. > > Host config: > > define host{ > use linux-platform-demo ; Name of host > template to use > ; This host > definition will inherit all variables that are defined > ; in (or inherited > by) the linux-server host template definition. > host_name server14 > alias SERVER14-RANDOMDEMO > address 192.168.0.14 > } > What does your service definition look like? Terry ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ck at claudiokuenzler.com Mon Jul 11 17:14:03 2011 From: ck at claudiokuenzler.com (Claudio Kuenzler) Date: Mon, 11 Jul 2011 17:14:03 +0200 Subject: Macro values don't seem to be consistent In-Reply-To: <20110711105021.21345aavu5in20fk@www.cnysupport.com> References: <1307556978.1873.433.camel@jimsworktop> <20110711105021.21345aavu5in20fk@www.cnysupport.com> Message-ID: This particular one: define service{ use normal-service-trading host_name server14 service_description Service Check check_command check_nrpe!proxy_bs_connections } So there's no alias entry either. It's the very first time that this happens, and it continues. The service is still down (in maintenance) but Nagios continues to send the notification with a wrong HOSTALIAS. On Mon, Jul 11, 2011 at 4:50 PM, Terry Carmen wrote: > Quoting Claudio Kuenzler : > > > Hello, > > > > Since today I have almost the same problem as Jim. > > The $HOSTALIAS$ macro works fine for all the checks, except one host > alias > > is wrong. I got aware of it today. > > > > Same version as Jim's, 3.2.3, compiled from source as well. > > > > Host config: > > > > define host{ > > use linux-platform-demo ; Name of host > > template to use > > ; This host > > definition will inherit all variables that are defined > > ; in (or > inherited > > by) the linux-server host template definition. > > host_name server14 > > alias SERVER14-RANDOMDEMO > > address 192.168.0.14 > > } > > > > What does your service definition look like? > > Terry > > > > ------------------------------------------------------------------------------ > All of the data generated in your IT infrastructure is seriously valuable. > Why? It contains a definitive record of application performance, security > threats, fraudulent activity, and more. Splunk takes this data and makes > sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-d2d-c2 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ck at claudiokuenzler.com Mon Jul 11 17:34:05 2011 From: ck at claudiokuenzler.com (Claudio Kuenzler) Date: Mon, 11 Jul 2011 17:34:05 +0200 Subject: search box returning no results In-Reply-To: References: Message-ID: What happens if you type just an asterisk (*) ? Then check in your apache access logs. in my case the following entry appeared (status.cgi was used): 10.0.0.1 - nagiosadmin [11/Jul/2011:17:27:45 +0200] "GET /nagios/cgi-bin/status.cgi?navbarsearch=1&host=* HTTP/1.1" 200 1549007 " https://nagios.local/side.php" "Mozilla/5.0 (Windows NT 5.1; rv:5.0) Gecko/20100101 Firefox/5.0" On Mon, Jul 11, 2011 at 1:25 AM, Terry wrote: > The quick search on my 3.2.3 installation has stopped working. I > search for any host and it says "Service Status Details For Host > 'host'" and then "0 Matching Service Entries Displayed". It appears > to be broken for all hosts. Any ideas? > > > ------------------------------------------------------------------------------ > All of the data generated in your IT infrastructure is seriously valuable. > Why? It contains a definitive record of application performance, security > threats, fraudulent activity, and more. Splunk takes this data and makes > sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-d2d-c2 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagiostool at gmail.com Tue Jul 12 09:41:30 2011 From: nagiostool at gmail.com (nag ios) Date: Tue, 12 Jul 2011 13:11:30 +0530 Subject: Using WMI Message-ID: Hi , To check my windows machine i have tried to edit the windows.cfg file and created the window.cfg with few changes the content of the files are define host{ use windows-server ; Inherit default values from a Windows server template (make sure you keep this line!) host_name winserver alias My Windows Server address 192.168.1.2 } define service{ use generic-service host_name winserver service_description checkcpu check_command check_wmi!CHECKCPU! -m checkcpu } and in the command.cfg file i have included as==================================== define command{ command_name check_wmi command_line $USER1$/check_wmi.pl -H hostname -u domainname/user -p password -w $ARG1$ -c $ARG2$ -m $ARG0$ } and when i'm checking the inforamtion abt the windows machine in browser i'm getting the error as Error:Host Status Information Not Found! Can anyone help me....??? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Tue Jul 12 11:32:34 2011 From: jim at jimavery.me.uk (Jim Avery) Date: Tue, 12 Jul 2011 10:32:34 +0100 Subject: Help: How to use check_snmp plugin to get the monitor APC PDU? In-Reply-To: References: Message-ID: On 9 July 2011 15:02, Lee Eric wrote: > Hi, > > Does anyone ever use check_snmp plugin to get the monitor APC PDU? I > know there are some plugins can do this but I'd like to use this one > to do more standard. I have downloaded the Powernet MIB file. An example of how I monitor output percent load is: check_command check_snmp!-C -o "UPS-MIB::upsOutputPercentLoad.1" -l \'Output Load\' -u \'%\' -w 10:80 -c 5:90 This is a 3-phase UPS, so I also have checks for the other phases: check_command check_snmp!-C -o "UPS-MIB::upsOutputPercentLoad.2" -l \'Output Load\' -u \'%\' -w 10:80 -c 5:90 and check_command check_snmp!-C -o "UPS-MIB::upsOutputPercentLoad.3" -l \'Output Load\' -u \'%\' -w 10:80 -c 5:90 The command definition looks like: define command{ command_name check_snmp_ups command_line $USER1$/check_snmp -H $HOSTADDRESS$ $ARG1$ } I'd be interested to see what other people do though, particularly as some of the metrics are *10 the expected value (presumably so they can be presented as integer rather than floating-point). I've not been able to work out the best way of handling those myself yet. Cheers, Jim ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From openlinuxsource at gmail.com Tue Jul 12 11:59:32 2011 From: openlinuxsource at gmail.com (Lee Eric) Date: Tue, 12 Jul 2011 17:59:32 +0800 Subject: Help: How to use check_snmp plugin to get the monitor APC PDU? In-Reply-To: References: Message-ID: Thanks mate, actually I have made it work several days ago. It works well. Example: ========== define service { use local-service hostgroup_name pdu-16 service_description Load check_command check_snmp!.1.3.6.1.4.1.318.1.1.12.2.3.1.1.2.1!120!140 } define service { use local-service hostgroup_name pdu-32 service_description Load check_command check_snmp!.1.3.6.1.4.1.318.1.1.12.2.3.1.1.2.1!260!300 } ========== # 'check_snmp' command definition define command{ command_name check_snmp command_line $USER1$/check_snmp -H $HOSTADDRESS$ -o $ARG1$ -w $ARG2$ -c $ARG3$ } ========== I found out the specific OID by using tkmib to view Powenet MIB file. Regards, Eric On Tue, Jul 12, 2011 at 5:32 PM, Jim Avery wrote: > On 9 July 2011 15:02, Lee Eric wrote: >> Hi, >> >> Does anyone ever use check_snmp plugin to get the monitor APC PDU? I >> know there are some plugins can do this but I'd like to use this one >> to do more standard. I have downloaded the Powernet MIB file. > > > An example of how I monitor output percent load is: > > check_command ? ?check_snmp!-C -o > "UPS-MIB::upsOutputPercentLoad.1" -l \'Output Load\' -u \'%\' -w 10:80 > -c 5:90 > > This is a 3-phase UPS, so I also have checks for the other phases: > > check_command ? ?check_snmp!-C -o > "UPS-MIB::upsOutputPercentLoad.2" -l \'Output Load\' -u \'%\' -w 10:80 > -c 5:90 > and > check_command ? ?check_snmp!-C -o > "UPS-MIB::upsOutputPercentLoad.3" -l \'Output Load\' -u \'%\' -w 10:80 > -c 5:90 > > > The command definition looks like: > > define command{ > ? ? ? ?command_name ? ?check_snmp_ups > ? ? ? ?command_line ? ?$USER1$/check_snmp -H $HOSTADDRESS$ $ARG1$ > ? ? ? ?} > > > > I'd be interested to see what other people do though, particularly as > some of the metrics are *10 the expected value (presumably so they can > be presented as integer rather than floating-point). ?I've not been > able to work out the best way of handling those myself yet. > > Cheers, > > Jim > > ------------------------------------------------------------------------------ > All of the data generated in your IT infrastructure is seriously valuable. > Why? It contains a definitive record of application performance, security > threats, fraudulent activity, and more. Splunk takes this data and makes > sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-d2d-c2 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From W.Miah at uea.ac.uk Tue Jul 12 12:13:27 2011 From: W.Miah at uea.ac.uk (Miah Wadud Dr (ITCS)) Date: Tue, 12 Jul 2011 11:13:27 +0100 Subject: Nagios force host/service check In-Reply-To: <5d7a519e13512b05c751cd1a08277c94.squirrel@webmail.stinkweasel.net> References: <5d7a519e13512b05c751cd1a08277c94.squirrel@webmail.stinkweasel.net> Message-ID: Hello, Thanks for the response. Below are entries that are made in ssl_access_log: When I click on "Re-schedule the next check of this service", it creates the following entry: 139.222.121.213 - xca10fju at UEA.AC.UK [12/Jul/2011:11:03:10 +0100] "GET /nagios/cgi-bin/cmd.cgi?cmd_typ=7&host=cn001&service=cpu HTTP/1.1" 200 3143 When I click on the "commit" button after clicking the "force check" tick box, it then creates the following two entries: 139.222.121.213 - - [12/Jul/2011:11:03:14 +0100] "POST /nagios/cgi-bin/cmd.cgi HTTP/1.1" 401 490 139.222.121.213 - xca10fju at UEA.AC.UK [12/Jul/2011:11:03:14 +0100] "POST /nagios/cgi-bin/cmd.cgi HTTP/1.1" 200 1314 It's not clear what the URL is. Regards, Wadud. >-----Original Message----- >From: C. Bensend [mailto:benny at bennyvision.com] >Sent: Thursday, July 07, 2011 5:19 PM >To: nagios-users at lists.sourceforge.net >Subject: Re: [Nagios-users] Nagios force host/service check > > >> Does anyone know the HTTP(S)-GET command to force check a host/service? I >> would like a host to execute the HTTP(S)-GET command to force Nagios to >> check the status as it is booting up. >> >> Any help will be greatly appreciated. Thanks in advance. > >Watch your http access log, and execute the same command with a web >browser. > >Take that URL and use wget with the --http-user and --http-password >options. > >Voila! > >Benny > > >-- >"You were doing well until everyone died." > -- "God", Futurama > > > >------------------------------------------------------------------------------ >All of the data generated in your IT infrastructure is seriously valuable. >Why? It contains a definitive record of application performance, security >threats, fraudulent activity, and more. Splunk takes this data and makes >sense of it. IT sense. And common sense. >http://p.sf.net/sfu/splunk-d2d-c2 >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting >any issue. >::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From benny at bennyvision.com Tue Jul 12 14:37:22 2011 From: benny at bennyvision.com (C. Bensend) Date: Tue, 12 Jul 2011 07:37:22 -0500 Subject: Nagios force host/service check In-Reply-To: References: <5d7a519e13512b05c751cd1a08277c94.squirrel@webmail.stinkweasel.net> Message-ID: <0781f40caf758cabdc1f4c3f0b862ac8.squirrel@webmail.stinkweasel.net> > Thanks for the response. Below are entries that are made in > ssl_access_log: > > When I click on "Re-schedule the next check of this service", it creates > the following entry: > > 139.222.121.213 - xca10fju at UEA.AC.UK [12/Jul/2011:11:03:10 +0100] "GET > /nagios/cgi-bin/cmd.cgi?cmd_typ=7&host=cn001&service=cpu HTTP/1.1" 200 > 3143 > > When I click on the "commit" button after clicking the "force check" tick > box, it then creates the following two entries: > > 139.222.121.213 - - [12/Jul/2011:11:03:14 +0100] "POST > /nagios/cgi-bin/cmd.cgi HTTP/1.1" 401 490 > 139.222.121.213 - xca10fju at UEA.AC.UK [12/Jul/2011:11:03:14 +0100] "POST > /nagios/cgi-bin/cmd.cgi HTTP/1.1" 200 1314 > > It's not clear what the URL is. OK, so, it's not a GET, it's a POST. I'll let someone more familiar with that comment... Doing this via the web interface seems cumbersome, but it might be possible to do it via the command file somehow. Not like that's much better... http://old.nagios.org/developerinfo/externalcommands/commandlist.php http://nagios.sourceforge.net/docs/nagioscore/3/en/extcommands.html Good luck! Benny -- "You were doing well until everyone died." -- "God", Futurama ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From doepain at gmail.com Tue Jul 12 16:03:41 2011 From: doepain at gmail.com (dOE) Date: Tue, 12 Jul 2011 10:03:41 -0400 Subject: ./check_tcp: No such file or directory Message-ID: Hi, I inadvertently deleted/overwrote the "check_tcp" file in ../libexec. I tried copying the file back from another Nagios instance (same build 3.0.3), but when I execute it it I get a "No such file or directory". My permissions for the file are no different than other "checks_" in the directory. Is there something else I need to do other than copy a file from another Nagios instance? rwxrwxr-x 1 nagios root 76K 2011-07-01 13:47 check_tcp Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jul 12 16:21:51 2011 From: nagios at flatto.net (Assaf Flatto) Date: Tue, 12 Jul 2011 14:21:51 +0000 Subject: ./check_tcp: No such file or directory In-Reply-To: References: Message-ID: <4E1C587F.5010105@flatto.net> dOE wrote: > Hi, > > I inadvertently deleted/overwrote the "check_tcp" file in ../libexec. > I tried copying the file back from another Nagios instance (same build > 3.0.3), but when I execute it it I get a "No such file or directory". > My permissions for the file are no different than other "checks_" in > the directory. Is there something else I need to do other than copy a > file from another Nagios instance? > > > rwxrwxr-x 1 nagios root 76K 2011-07-01 13:47 check_tcp > > > Thanks > ------------------------------------------------------------------------ from what your title say you are getting the error when trying to execute the file locally and fail . Are you sure the file was copied successfully ? If you installed the plugins from source you can go the the source code directory and do "make install" and it place the plugins in the directory again . ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From doepain at gmail.com Tue Jul 12 16:35:09 2011 From: doepain at gmail.com (dOE) Date: Tue, 12 Jul 2011 10:35:09 -0400 Subject: ./check_tcp: No such file or directory In-Reply-To: References: Message-ID: Ok, I think I may have figured out the issue. It seems the check_tcp I copied was 32-bit, and all of the other "checks" are 64-bit (the server itself is 64-bit OS as well. *check_tcp: ELF 32-bit *LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.15, not stripped *check_ntp: ELF 64-bit* LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.15, not stripped Seeing that I do not have any other 64-bit Nagios instances running I may need to run another install on a 64-bit OS just to harvest the "check_tcp" from it. On Tue, Jul 12, 2011 at 10:03 AM, dOE wrote: > Hi, > > I inadvertently deleted/overwrote the "check_tcp" file in ../libexec. I > tried copying the file back from another Nagios instance (same build 3.0.3), > but when I execute it it I get a "No such file or directory". My > permissions for the file are no different than other "checks_" in the > directory. Is there something else I need to do other than copy a file from > another Nagios instance? > > > rwxrwxr-x 1 nagios root 76K 2011-07-01 13:47 check_tcp > > > Thanks > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From doepain at gmail.com Tue Jul 12 16:39:41 2011 From: doepain at gmail.com (dOE) Date: Tue, 12 Jul 2011 10:39:41 -0400 Subject: ./check_tcp: No such file or directory In-Reply-To: <4E1C587F.5010105@flatto.net> References: <4E1C587F.5010105@flatto.net> Message-ID: Assaf, Could you explain with a little more detail how I could recover the "check_tcp" from the source exactly? thanks On Tue, Jul 12, 2011 at 10:21 AM, Assaf Flatto wrote: > dOE wrote: > > Hi, > > > > I inadvertently deleted/overwrote the "check_tcp" file in ../libexec. > > I tried copying the file back from another Nagios instance (same build > > 3.0.3), but when I execute it it I get a "No such file or directory". > > My permissions for the file are no different than other "checks_" in > > the directory. Is there something else I need to do other than copy a > > file from another Nagios instance? > > > > > > rwxrwxr-x 1 nagios root 76K 2011-07-01 13:47 check_tcp > > > > > > Thanks > > ------------------------------------------------------------------------ > from what your title say you are getting the error when trying to > execute the file locally and fail . > Are you sure the file was copied successfully ? > If you installed the plugins from source you can go the the source code > directory and do "make install" and it place the plugins in the > directory again . > > > ------------------------------------------------------------------------------ > All of the data generated in your IT infrastructure is seriously valuable. > Why? It contains a definitive record of application performance, security > threats, fraudulent activity, and more. Splunk takes this data and makes > sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-d2d-c2 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jul 12 16:45:35 2011 From: nagios at flatto.net (Assaf Flatto) Date: Tue, 12 Jul 2011 14:45:35 +0000 Subject: ./check_tcp: No such file or directory In-Reply-To: References: <4E1C587F.5010105@flatto.net> Message-ID: <4E1C5E0F.7060501@flatto.net> If you installed the plugins from a source , one of the stages was "make install" That stage (usually the last one) places the plugins in the target directory ( if you did not change anything during the "configure" state , it will be in /usr/local/nagios/libexec ) So the steps are easy , IF you used source , go to the directory where the source package was extracted to , and in the directory type "make install" - that's it . however if you installed from RPM , then you'll need to reinstall the nagios-plugins rpm ( see the yjm /rpm man pages for that . dOE wrote: > Assaf, > > Could you explain with a little more detail how I could recover the > "check_tcp" from the source exactly? > > thanks > > On Tue, Jul 12, 2011 at 10:21 AM, Assaf Flatto > wrote: > > dOE wrote: > > Hi, > > > > I inadvertently deleted/overwrote the "check_tcp" file in > ../libexec. > > I tried copying the file back from another Nagios instance (same > build > > 3.0.3), but when I execute it it I get a "No such file or > directory". > > My permissions for the file are no different than other "checks_" in > > the directory. Is there something else I need to do other than > copy a > > file from another Nagios instance? > > > > > > rwxrwxr-x 1 nagios root 76K 2011-07-01 13:47 check_tcp > > > > > > Thanks > > > ------------------------------------------------------------------------ > ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From doepain at gmail.com Tue Jul 12 17:57:17 2011 From: doepain at gmail.com (dOE) Date: Tue, 12 Jul 2011 11:57:17 -0400 Subject: ./check_tcp: No such file or directory In-Reply-To: <4E1C5E0F.7060501@flatto.net> References: <4E1C587F.5010105@flatto.net> <4E1C5E0F.7060501@flatto.net> Message-ID: Thanks, that did the trick. Appreciate the help. On Tue, Jul 12, 2011 at 10:45 AM, Assaf Flatto wrote: > If you installed the plugins from a source , one of the stages was "make > install" > That stage (usually the last one) places the plugins in the target > directory ( if you did not change anything during the "configure" state , it > will be in /usr/local/nagios/libexec ) > > So the steps are easy , IF you used source , go to the directory where the > source package was extracted to , and in the directory type "make install" > - that's it . > > however if you installed from RPM , then you'll need to reinstall the > nagios-plugins rpm ( see the yjm /rpm man pages for that . > > > > dOE wrote: > >> Assaf, >> >> Could you explain with a little more detail how I could recover the >> "check_tcp" from the source exactly? >> >> thanks >> >> On Tue, Jul 12, 2011 at 10:21 AM, Assaf Flatto > nagios at flatto.net>> wrote: >> >> dOE wrote: >> > Hi, >> > >> > I inadvertently deleted/overwrote the "check_tcp" file in >> ../libexec. >> > I tried copying the file back from another Nagios instance (same >> build >> > 3.0.3), but when I execute it it I get a "No such file or >> directory". >> > My permissions for the file are no different than other "checks_" in >> > the directory. Is there something else I need to do other than >> copy a >> > file from another Nagios instance? >> > >> > >> > rwxrwxr-x 1 nagios root 76K 2011-07-01 13:47 check_tcp >> > >> > >> > Thanks >> > >> ------------------------------**------------------------------** >> ------------ >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From doepain at gmail.com Tue Jul 12 23:07:10 2011 From: doepain at gmail.com (dOE) Date: Tue, 12 Jul 2011 17:07:10 -0400 Subject: Users unable to authenticate, and access the ../nagios site. Message-ID: Distributor ID: Ubuntu Description: Ubuntu 10.10 Release: 10.10 Codename: maverick Nagios: 3.0.3 I executed the following commands htpasswd -c /usr/local/nagios/etc/htpasswd.users users_name service apache2 reload I have a local user named "user_name" as well And my cgi.cfg has the usernames as follows: use_authentication=1 authorized_for_system_information=nagiosadmin,users_name authorized_for_system_commands=nagiosadmin,users_name authorized_for_configuration_information=nagiosadmin,users_name authorized_for_all_hosts=nagiosadmin,users_name authorized_for_all_host_commands=nagiosadmin,users_name authorized_for_all_services=nagiosadmin,users_name authorized_for_all_service_commands=nagiosadmin,users_name However the "user_name" can not authenticate with Apache to access the site. Does the user need to belong to any particular group other than their own? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ AppSumo Presents a FREE Video for the SourceForge Community by Eric Ries, the creator of the Lean Startup Methodology on "Lean Startup Secrets Revealed." This video shows you how to validate your ideas, optimize your ideas and identify your business strategy. http://p.sf.net/sfu/appsumosfdev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Tue Jul 12 23:48:37 2011 From: jim at jimavery.me.uk (Jim Avery) Date: Tue, 12 Jul 2011 22:48:37 +0100 Subject: Users unable to authenticate, and access the ../nagios site. In-Reply-To: References: Message-ID: On 12 July 2011 22:07, dOE wrote: > Distributor ID: Ubuntu > Description: Ubuntu 10.10 > Release: 10.10 > Codename: maverick > Nagios: 3.0.3 > > I executed the following commands > > htpasswd -c /usr/local/nagios/etc/htpasswd.users users_name > service apache2 reload > > I have a local user named "user_name" as well > > And my cgi.cfg has the usernames as follows: > > use_authentication=1 > authorized_for_system_information=nagiosadmin,users_name > authorized_for_system_commands=nagiosadmin,users_name > authorized_for_configuration_information=nagiosadmin,users_name > authorized_for_all_hosts=nagiosadmin,users_name > authorized_for_all_host_commands=nagiosadmin,users_name > authorized_for_all_services=nagiosadmin,users_name > authorized_for_all_service_commands=nagiosadmin,users_name > > However the "user_name" can not authenticate with Apache to access the site. > > Does the user need to belong to any particular group other than their own? Note that "users_name" is not the same as "user_name". I appreciate your example name might not be the actual name you are thinking of, but you might need to check you have the spelling spot on. You can cat the htpasswd.users file to make sure you have the name spelled right in there too (it's just a text file). It might be worth setting the password again using "htpasswd /usr/local/nagios/etc/htpasswd.users users_name" just in case the password was spelled incorrectly the first time you entered it. Also, check the file /etc/apache2/conf.d/nagios.conf to make sure that apache is looking for htpasswd.users in the right location. ------------------------------------------------------------------------------ AppSumo Presents a FREE Video for the SourceForge Community by Eric Ries, the creator of the Lean Startup Methodology on "Lean Startup Secrets Revealed." This video shows you how to validate your ideas, optimize your ideas and identify your business strategy. http://p.sf.net/sfu/appsumosfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From w.muriithi at syncapse.com Wed Jul 13 00:51:22 2011 From: w.muriithi at syncapse.com (William Muriithi) Date: Tue, 12 Jul 2011 17:51:22 -0500 Subject: Users unable to authenticate, and access the ../nagios site. Message-ID: I second Jim here. Its not a nagios problem. Nagios only prevent access to CGI files - but apache should be able to authenticate you irrespective on of nagios config state. ----- Original Message ----- From: Jim Avery To: doepain at gmail.com ; Nagios Users List Sent: Tue Jul 12 16:48:37 2011 Subject: Re: [Nagios-users] Users unable to authenticate, and access the ../nagios site. On 12 July 2011 22:07, dOE wrote: > Distributor ID: Ubuntu > Description: Ubuntu 10.10 > Release: 10.10 > Codename: maverick > Nagios: 3.0.3 > > I executed the following commands > > htpasswd -c /usr/local/nagios/etc/htpasswd.users users_name > service apache2 reload > > I have a local user named "user_name" as well > > And my cgi.cfg has the usernames as follows: > > use_authentication=1 > authorized_for_system_information=nagiosadmin,users_name > authorized_for_system_commands=nagiosadmin,users_name > authorized_for_configuration_information=nagiosadmin,users_name > authorized_for_all_hosts=nagiosadmin,users_name > authorized_for_all_host_commands=nagiosadmin,users_name > authorized_for_all_services=nagiosadmin,users_name > authorized_for_all_service_commands=nagiosadmin,users_name > > However the "user_name" can not authenticate with Apache to access the site. > > Does the user need to belong to any particular group other than their own? Note that "users_name" is not the same as "user_name". I appreciate your example name might not be the actual name you are thinking of, but you might need to check you have the spelling spot on. You can cat the htpasswd.users file to make sure you have the name spelled right in there too (it's just a text file). It might be worth setting the password again using "htpasswd /usr/local/nagios/etc/htpasswd.users users_name" just in case the password was spelled incorrectly the first time you entered it. Also, check the file /etc/apache2/conf.d/nagios.conf to make sure that apache is looking for htpasswd.users in the right location. ------------------------------------------------------------------------------ AppSumo Presents a FREE Video for the SourceForge Community by Eric Ries, the creator of the Lean Startup Methodology on "Lean Startup Secrets Revealed." This video shows you how to validate your ideas, optimize your ideas and identify your business strategy. http://p.sf.net/sfu/appsumosfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ AppSumo Presents a FREE Video for the SourceForge Community by Eric Ries, the creator of the Lean Startup Methodology on "Lean Startup Secrets Revealed." This video shows you how to validate your ideas, optimize your ideas and identify your business strategy. http://p.sf.net/sfu/appsumosfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ghoulsblade at schattenkind.net Wed Jul 13 10:16:40 2011 From: ghoulsblade at schattenkind.net (ghoulsblade) Date: Wed, 13 Jul 2011 10:16:40 +0200 Subject: services for hostgroups : disable notifications for hosts that are shutdown during the night ? Message-ID: <4E1D5468.7000008@schattenkind.net> hi all ! i have services linked to hostgroups like http/mail/linuxbasechecks/... but some servers are shutdown over night, and others continue to run 24hours i don't want to get notifications for the servers that are shutdown during the night. do i really have to dublicate all services and make a 24h variant and a workhours only variant or is there a more elegant solution like make service checks dependent on host up/down status or use host-notification period as macro in service notification period or what would be the best/normal/standard way to solve this ? (nagios3 version 3.0.6-4~lenny2 on debian lenny) example service : define service{ use generic-service ; Name of service template to use hostgroup_name g_linux_base service_description disk1 check_command check_nrpe_1arg!check_disk1 } example host with nightly shutdown define host { use linux server host_name somehost alias some_descriptive_text address 11.4.121.215 check_period workhours-not-nightoff notification_period workhours hostgroups all,g_svn,g_git,g_linux_base } regards, ghoulsblade ------------------------------------------------------------------------------ AppSumo Presents a FREE Video for the SourceForge Community by Eric Ries, the creator of the Lean Startup Methodology on "Lean Startup Secrets Revealed." This video shows you how to validate your ideas, optimize your ideas and identify your business strategy. http://p.sf.net/sfu/appsumosfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Jul 13 10:45:45 2011 From: ae at op5.se (Andreas Ericsson) Date: Wed, 13 Jul 2011 10:45:45 +0200 Subject: services for hostgroups : disable notifications for hosts that are shutdown during the night ? In-Reply-To: <4E1D5468.7000008@schattenkind.net> References: <4E1D5468.7000008@schattenkind.net> Message-ID: <4E1D5B39.1000205@op5.se> On 07/13/2011 10:16 AM, ghoulsblade wrote: > hi all ! > > i have services linked to hostgroups like http/mail/linuxbasechecks/... > but some servers are shutdown over night, and others continue to run 24hours > i don't want to get notifications for the servers that are shutdown > during the night. > > do i really have to dublicate all services and make a 24h variant and a > workhours only variant or is there a more elegant solution like > Services will inherit their check and notification periods from the host if none is specified for the service, so if you just remove those variables from the services and set it properly for the hosts, everything should work the way you want it to. -- 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. ------------------------------------------------------------------------------ AppSumo Presents a FREE Video for the SourceForge Community by Eric Ries, the creator of the Lean Startup Methodology on "Lean Startup Secrets Revealed." This video shows you how to validate your ideas, optimize your ideas and identify your business strategy. http://p.sf.net/sfu/appsumosfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From subflux at gmail.com Wed Jul 13 12:18:38 2011 From: subflux at gmail.com (Kenny Gillen) Date: Wed, 13 Jul 2011 11:18:38 +0100 Subject: Dates are in future after power outage.. In-Reply-To: <4E12EC11.20905@dsag.jazztel.es> References: <4E12EC11.20905@dsag.jazztel.es> Message-ID: The following worked: "stop nagios rename the retain file and start nagios, the file must recreate correctly." --- For info, the retention file in "Fully Automated Nagios" install is located in /var/log/nagios and is named: retention.dat --- Many thanks Carlos! On 5 July 2011 11:48, Carlos de Santa-Ana Garcia wrote: > Hi > > > > That info is on a "retain state" file, so you can: > > > set retain to off on nagios config, restart, and set retain on again, > and restart nagios. > > > or > > > stop nagios rename the retain file and start nagios, the file must > recreate correctly. > > > > Greets. > > > > > El 05/07/2011 10:58, Kenny Gillen escribi?: >> Hi, >> >> After a power outage, my ?(Nagios? 3.0.6) install (part of Fully >> Automated Nagios distro) has somehow become corrupt. >> >> It was working great before the outage, now all host checks have dates >> in the future. (server time is normal) >> >> "Next Scheduled Active Check: ? ? ? ? 18-08-2017 23:09:56 >> ? Last State Change: ?07-04-2017 08:51:56" >> >> Is it possible to recover my install without having to create all the >> configs from scratch again? >> >> Thanks >> >> ------------------------------------------------------------------------------ >> All of the data generated in your IT infrastructure is seriously valuable. >> Why? It contains a definitive record of application performance, security >> threats, fraudulent activity, and more. Splunk takes this data and makes >> sense of it. IT sense. And common sense. >> http://p.sf.net/sfu/splunk-d2d-c2 >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> > > > ------------------------------------------------------------------------------ > All of the data generated in your IT infrastructure is seriously valuable. > Why? It contains a definitive record of application performance, security > threats, fraudulent activity, and more. Splunk takes this data and makes > sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-d2d-c2 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ AppSumo Presents a FREE Video for the SourceForge Community by Eric Ries, the creator of the Lean Startup Methodology on "Lean Startup Secrets Revealed." This video shows you how to validate your ideas, optimize your ideas and identify your business strategy. http://p.sf.net/sfu/appsumosfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From queszama at yahoo.in Wed Jul 13 13:24:26 2011 From: queszama at yahoo.in (Zama Ques) Date: Wed, 13 Jul 2011 16:54:26 +0530 (IST) Subject: Clarification need on configuring nagios to monitor multiple hosts Message-ID: <1310556266.4254.YahooMailClassic@web137510.mail.in.yahoo.com> Hi All , I am new to nagios configuration . I? successfully installed nagios on one of my linux server? and now monitoring two hosts . For monitoring of remote hosts , I created a new config file by renaming localhost.cfg file under objects directory. I renamed the entries "hostname" and "address"? and other entries under "DEFINE HOST" directive to point to the new server which I am planning to monitor . The settings looks like this define host{ ??????? use???????????????????? linux-server??????????? ; Name of host template to use ??? ??? ??? ??? ??? ??? ??? ; This host definition will inherit all variables that are defined ??? ??? ??? ??? ??? ??? ??? ; in (or inherited by) the linux-server host template definition. ??????? host_name?????????????? node1 ??????? alias???????????????????????? node1 ??????? address??????????????? ?? 192.168.122.167 ??????? } define host{ ??????? use???????????????????? linux-server??????????? ; Name of host template to use ??? ??? ??? ??? ??? ??? ? ? ? ? ?? ; This host definition will inherit all variables that are defined ??? ??? ??? ??? ??? ??? ?? ? ? ? ? ; in (or inherited by) the linux-server host template definition. ??????? host_name ???????? node2 ??????? alias????????? ? ??????? node2 ??????? address????????????? 192.168.122.218 ??????? } Also modified "DEFINE SERVICE"? directive to monitor few services on both the remote hosts . Few of the settings looks like this define service{ ??????? use???????????????????????????? local-service???????? ; Name of service template to use ??????? host_name?????????????????????? node1 ??????? service_description???????????? Current Users ??? check_command??? ??? ??? check_nrpe!check_users ??????? } define service{ ??????? use???????????????????????????? local-service???????? ; Name of service template to use ??????? host_name?????????????????????? node2 ??????? service_description???????????? Current Users ??? check_command??? ??? ??? check_nrpe!check_users ??????? } The checks are working fine . But my confusion here is in terms of scalabilty . What if I want to monitor 100 servers and 5 services in each of the servers. Does that mean I need to create 100 "define host"? directives for each of these servers . Also , monitoring 5 services means i have to create 5 "define service" for each host , that means 500 "define service" directives.? If this is the case , then it will be really painful to configure and manage if there are many servers to monitor. Can't I use comma separated ip address and hosts like this define host{ ??????? use???????????????????? linux-server??????????? ; Name of host template to use ??? ??? ??? ??? ??? ??? ??? ; This host definition will inherit all variables that are defined ??? ??? ??? ??? ??? ??? ??? ; in (or inherited by) the linux-server host template definition. ??????? host_name?????????????? node1,node2 ??????? alias???????????????????????? node1 ??????? address??????????????? ?? 192.168.122.167,192.168.122.218 ??????? } define service{ ??????? use???????????????????????????? local-service???????? ; Name of service template to use ??????? host_name?????????????????????? node1,node2 ??????? service_description???????????? Current Users ??? check_command??? ??? ??? check_nrpe!check_users ??????? } . Will it work . Have not tried yet. What you people suggest should be the approach? if somebody is planning to monitor more than 50 servers. Any help will be highly appreciated Thanks in Advance Zaman -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ AppSumo Presents a FREE Video for the SourceForge Community by Eric Ries, the creator of the Lean Startup Methodology on "Lean Startup Secrets Revealed." This video shows you how to validate your ideas, optimize your ideas and identify your business strategy. http://p.sf.net/sfu/appsumosfdev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jul 13 13:50:21 2011 From: jim at jimavery.me.uk (Jim Avery) Date: Wed, 13 Jul 2011 12:50:21 +0100 Subject: Clarification need on configuring nagios to monitor multiple hosts In-Reply-To: <1310556266.4254.YahooMailClassic@web137510.mail.in.yahoo.com> References: <1310556266.4254.YahooMailClassic@web137510.mail.in.yahoo.com> Message-ID: On 13 July 2011 12:24, Zama Ques wrote: > > Hi All , > > I am new to nagios configuration . I? successfully installed nagios on one of my linux server? and now monitoring two hosts . Welcome! You've made a good start there. > For monitoring of remote hosts , I created a new config file by renaming localhost.cfg file under objects directory. > > I renamed the entries "hostname" and "address"? and other entries under "DEFINE HOST" directive to point to the new server which I am planning to monitor . The settings looks like this > > define host{ > ??????? use???????????????????? linux-server??????????? ; Name of host template to use > ??? ??? ??? ??? ??? ??? ??? ; This host definition will inherit all variables that are defined > ??? ??? ??? ??? ??? ??? ??? ; in (or inherited by) the linux-server host template definition. > ??????? host_name?????????????? node1 > ??????? alias???????????????????????? node1 > ??????? address??????????????? ?? 192.168.122.167 > ??????? } > > > define host{ > ??????? use???????????????????? linux-server??????????? ; Name of host template to use > ??? ??? ??? ??? ??? ??? ? ? ? ? ?? ; This host definition will inherit all variables that are defined > ??? ??? ??? ??? ??? ??? ?? ? ? ? ? ; in (or inherited by) the linux-server host template definition. > ??????? host_name ???????? node2 > ??????? alias????????? ? ??????? node2 > ??????? address????????????? 192.168.122.218 > ??????? } > Those look fine. > Also modified "DEFINE SERVICE"? directive to monitor few services on both the remote hosts . Few of the settings looks like this > > define service{ > ??????? use???????????????????????????? local-service???????? ; Name of service template to use > ??????? host_name?????????????????????? node1 > ??????? service_description???????????? Current Users > ??? check_command??? ??? ??? check_nrpe!check_users > ??????? } > > > define service{ > ??????? use???????????????????????????? local-service???????? ; Name of service template to use > ??????? host_name?????????????????????? node2 > ??????? service_description???????????? Current Users > ??? check_command??? ??? ??? check_nrpe!check_users > ??????? } > > The checks are working fine . But my confusion here is in terms of scalabilty . > What if I want to monitor 100 servers and 5 services in each of the servers. Does that mean I need to create 100 "define host"? directives for each of these servers . Also , monitoring 5 services means i have to create 5 "define service" for each host , that means 500 "define service" directives. > If this is the case , then it will be really painful to configure and manage if there are many servers to monitor. You'll find useful help on that here: http://nagios.sourceforge.net/docs/nagioscore/3/en/objecttricks.html > Can't I use comma separated ip address and hosts like this > > define host{ > ??????? use???????????????????? linux-server??????????? ; Name of host template to use > ??? ??? ??? ??? ??? ??? ??? ; This host definition will inherit all variables that are defined > ??? ??? ??? ??? ??? ??? ??? ; in (or inherited by) the linux-server host template definition. > ??????? host_name?????????????? node1,node2 > ??????? alias???????????????????????? node1 > ??????? address??????????????? ?? 192.168.122.167,192.168.122.218 > ??????? } No. You do need separate host definitions, but you can add each host to the same hostgroup for example by adding a directive like this to the host definition: hostgroup_name linux-group (in fact you can add that to the host template instead if you like). You will need to define this new hostgroup: define hostgroup{ hostgroup_name linux-group alias linux-group hostgroup containing all monitored linux servers } > > define service{ > ??????? use???????????????????????????? local-service???????? ; Name of service template to use > ??????? host_name?????????????????????? node1,node2 > ??????? service_description???????????? Current Users > ??? check_command??? ??? ??? check_nrpe!check_users > ??????? } In that example, you can now use the hostgroup like so: define service{ use local-service ; Name of service template to use hostgroup_name linux-group service_description Current Users check_command check_nrpe!check_users } I hope that helps a little. ------------------------------------------------------------------------------ AppSumo Presents a FREE Video for the SourceForge Community by Eric Ries, the creator of the Lean Startup Methodology on "Lean Startup Secrets Revealed." This video shows you how to validate your ideas, optimize your ideas and identify your business strategy. http://p.sf.net/sfu/appsumosfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pitchfork at ederdrom.de Wed Jul 13 13:50:21 2011 From: pitchfork at ederdrom.de (Joerg Linge) Date: Wed, 13 Jul 2011 13:50:21 +0200 Subject: Clarification need on configuring nagios to monitor multiple hosts In-Reply-To: <1310556266.4254.YahooMailClassic@web137510.mail.in.yahoo.com> References: <1310556266.4254.YahooMailClassic@web137510.mail.in.yahoo.com> Message-ID: <4E1D867D.6030201@ederdrom.de> Zama Ques schrieb: > Hi All , > > I am new to nagios configuration . I successfully installed nagios on one of my linux server and now monitoring two hosts . > > For monitoring of remote hosts , I created a new config file by renaming localhost.cfg file under objects directory. > > I renamed the entries "hostname" and "address" and other entries under "DEFINE HOST" directive to point to the new server which I am planning to monitor . The settings looks like this > > define host{ > use linux-server ; Name of host template to use > ; This host definition will inherit all variables that are defined > ; in (or inherited by) the linux-server host template definition. > host_name node1 > alias node1 > address 192.168.122.167 > } > > > define host{ > use linux-server ; Name of host template to use > ; This host definition will inherit all variables that are defined > ; in (or inherited by) the linux-server host template definition. > host_name node2 > alias node2 > address 192.168.122.218 > } > > > Also modified "DEFINE SERVICE" directive to monitor few services on both the remote hosts . Few of the settings looks like this > > define service{ > use local-service ; Name of service template to use > host_name node1 > service_description Current Users > check_command check_nrpe!check_users > } > > > define service{ > use local-service ; Name of service template to use > host_name node2 > service_description Current Users > check_command check_nrpe!check_users > } > > The checks are working fine . But my confusion here is in terms of scalabilty . > What if I want to monitor 100 servers and 5 services in each of the servers. Does that mean I need to create 100 "define host" directives for each of these servers . Also , monitoring 5 services means i have to create 5 "define service" for each host , that means 500 "define service" directives. > If this is the case , then it will be really painful to configure and manage if there are many servers to monitor. > > > Can't I use comma separated ip address and hosts like this > > define host{ > > use linux-server ; Name of host template to use > > ; This host definition will inherit all variables that are defined > > ; in (or inherited by) the linux-server host template definition. > > host_name node1,node2 > > alias node1 > > address 192.168.122.167,192.168.122.218 > > } > > > define service{ > > use local-service ; Name of service template to use > > host_name node1,node2 > > service_description Current Users > > check_command check_nrpe!check_users > > } > > . Will it work . Have not tried yet. What you people suggest should be the approach if somebody is planning to monitor more than 50 servers. > > Any help will be highly appreciated http://nagios.sourceforge.net/docs/3_0/objecttricks.html This is a good starting point i think Joerg ------------------------------------------------------------------------------ AppSumo Presents a FREE Video for the SourceForge Community by Eric Ries, the creator of the Lean Startup Methodology on "Lean Startup Secrets Revealed." This video shows you how to validate your ideas, optimize your ideas and identify your business strategy. http://p.sf.net/sfu/appsumosfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From doepain at gmail.com Wed Jul 13 15:25:22 2011 From: doepain at gmail.com (dOE) Date: Wed, 13 Jul 2011 09:25:22 -0400 Subject: Users unable to authenticate, and access the ../nagios site. In-Reply-To: References: Message-ID: I figured it out.... I was using "*htpasswd -c* /usr/local/nagios/etc/htpasswd.users users_name" The -c switch was creating a NEW htpasswd file overwriting the existing one. I should've ran the command without the -c switvh. Thanks guys for your help. On Tue, Jul 12, 2011 at 5:48 PM, Jim Avery wrote: > On 12 July 2011 22:07, dOE wrote: > > Distributor ID: Ubuntu > > Description: Ubuntu 10.10 > > Release: 10.10 > > Codename: maverick > > Nagios: 3.0.3 > > > > I executed the following commands > > > > htpasswd -c /usr/local/nagios/etc/htpasswd.users users_name > > service apache2 reload > > > > I have a local user named "user_name" as well > > > > And my cgi.cfg has the usernames as follows: > > > > use_authentication=1 > > authorized_for_system_information=nagiosadmin,users_name > > authorized_for_system_commands=nagiosadmin,users_name > > authorized_for_configuration_information=nagiosadmin,users_name > > authorized_for_all_hosts=nagiosadmin,users_name > > authorized_for_all_host_commands=nagiosadmin,users_name > > authorized_for_all_services=nagiosadmin,users_name > > authorized_for_all_service_commands=nagiosadmin,users_name > > > > However the "user_name" can not authenticate with Apache to access the > site. > > > > Does the user need to belong to any particular group other than their > own? > > Note that "users_name" is not the same as "user_name". > > I appreciate your example name might not be the actual name you are > thinking of, but you might need to check you have the spelling spot > on. You can cat the htpasswd.users file to make sure you have the > name spelled right in there too (it's just a text file). > > It might be worth setting the password again using "htpasswd > /usr/local/nagios/etc/htpasswd.users users_name" just in case the > password was spelled incorrectly the first time you entered it. > > Also, check the file /etc/apache2/conf.d/nagios.conf to make sure that > apache is looking for htpasswd.users in the right location. > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ AppSumo Presents a FREE Video for the SourceForge Community by Eric Ries, the creator of the Lean Startup Methodology on "Lean Startup Secrets Revealed." This video shows you how to validate your ideas, optimize your ideas and identify your business strategy. http://p.sf.net/sfu/appsumosfdev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jlin at livescribe.com Wed Jul 13 20:12:47 2011 From: jlin at livescribe.com (Julie S. Lin) Date: Wed, 13 Jul 2011 11:12:47 -0700 Subject: NRPE issues In-Reply-To: References: <1E28A1093117114BB6E6066F66BAFCD5058EC6D13E@USNAVSXCHMBSB3.ndc.alcatel-lucent.com> Message-ID: <0028630C-6046-4D01-ACDF-09D1812C106E@livescribe.com> Hi All please excuse the newbie question, but I'm having issues with NRPE returning inconsistent results on the local machine : #./check_mycheck result ? 1 <--- critical on the nagios server : ./check_nrpe -H myhost -c check_mycheck result? 0 <--- OK how can this happen ? Julie S. Lin System Administrator jlin at livescribe.com (510) 553 4912 (o) (510) 367 5772 (c) ------------------------------------------------------------------------------ AppSumo Presents a FREE Video for the SourceForge Community by Eric Ries, the creator of the Lean Startup Methodology on "Lean Startup Secrets Revealed." This video shows you how to validate your ideas, optimize your ideas and identify your business strategy. http://p.sf.net/sfu/appsumosfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at flatto.net Thu Jul 14 10:47:04 2011 From: nagios at flatto.net (Assaf Flatto) Date: Thu, 14 Jul 2011 08:47:04 +0000 Subject: NRPE issues In-Reply-To: <0028630C-6046-4D01-ACDF-09D1812C106E@livescribe.com> References: <1E28A1093117114BB6E6066F66BAFCD5058EC6D13E@USNAVSXCHMBSB3.ndc.alcatel-lucent.com> <0028630C-6046-4D01-ACDF-09D1812C106E@livescribe.com> Message-ID: <4E1EAD08.7080506@flatto.net> Julie S. Lin wrote: > Hi All > > please excuse the newbie question, but I'm having issues with NRPE > returning inconsistent results > > on the local machine : > #./check_mycheck > result ? 1 <--- critical > > on the nagios server : > ./check_nrpe -H myhost -c check_mycheck > result? 0 <--- OK > > how can this happen ? > > Julie S. Lin > System Administrator > jlin at livescribe.com > (510) 553 4912 (o) > (510) 367 5772 (c) > Are you sure the NRPE is referencing the same command you are using manually ? check the path in the nrpe.cfg file. ------------------------------------------------------------------------------ AppSumo Presents a FREE Video for the SourceForge Community by Eric Ries, the creator of the Lean Startup Methodology on "Lean Startup Secrets Revealed." This video shows you how to validate your ideas, optimize your ideas and identify your business strategy. http://p.sf.net/sfu/appsumosfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Jul 14 18:03:13 2011 From: Timothy.Boyer at opm.gov (Boyer, Timothy A.) Date: Thu, 14 Jul 2011 12:03:13 -0400 Subject: NRPE issues In-Reply-To: <0028630C-6046-4D01-ACDF-09D1812C106E@livescribe.com> References: <1E28A1093117114BB6E6066F66BAFCD5058EC6D13E@USNAVSXCHMBSB3.ndc.alcatel-lucent.com> <0028630C-6046-4D01-ACDF-09D1812C106E@livescribe.com> Message-ID: <0F3D91EA70124C468301FF70A8ED16D402A8189D17@BOYV7EXVS1.opm.gov> I see you're testing locally as root. That has bitten me more than once. -----Original Message----- From: Julie S. Lin [mailto:jlin at livescribe.com] Sent: Wednesday, July 13, 2011 2:13 PM To: Nagios Users List Subject: [Nagios-users] NRPE issues Hi All please excuse the newbie question, but I'm having issues with NRPE returning inconsistent results on the local machine : #./check_mycheck result ? 1 <--- critical on the nagios server : ./check_nrpe -H myhost -c check_mycheck result? 0 <--- OK how can this happen ? Julie S. Lin System Administrator jlin at livescribe.com (510) 553 4912 (o) (510) 367 5772 (c) ------------------------------------------------------------------------------ AppSumo Presents a FREE Video for the SourceForge Community by Eric Ries, the creator of the Lean Startup Methodology on "Lean Startup Secrets Revealed." This video shows you how to validate your ideas, optimize your ideas and identify your business strategy. http://p.sf.net/sfu/appsumosfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ AppSumo Presents a FREE Video for the SourceForge Community by Eric Ries, the creator of the Lean Startup Methodology on "Lean Startup Secrets Revealed." This video shows you how to validate your ideas, optimize your ideas and identify your business strategy. http://p.sf.net/sfu/appsumosfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jlin at livescribe.com Thu Jul 14 19:46:34 2011 From: jlin at livescribe.com (Julie S. Lin) Date: Thu, 14 Jul 2011 10:46:34 -0700 Subject: NRPE issues In-Reply-To: <4E1EAD08.7080506@flatto.net> References: <1E28A1093117114BB6E6066F66BAFCD5058EC6D13E@USNAVSXCHMBSB3.ndc.alcatel-lucent.com> <0028630C-6046-4D01-ACDF-09D1812C106E@livescribe.com> <4E1EAD08.7080506@flatto.net> Message-ID: Hi thanks so much for hte reply. I'm sure they are referncing same commang. wha'ts weird is when I restart nrpe client, the checks become consistent. Anyone encounter this issue? Julie S. Lin System Administrator jlin at livescribe.com (510) 553 4912 (o) (510) 367 5772 (c) On Jul 14, 2011, at 1:47 AM, Assaf Flatto wrote: > Julie S. Lin wrote: >> Hi All >> >> please excuse the newbie question, but I'm having issues with NRPE >> returning inconsistent results >> >> on the local machine : >> #./check_mycheck >> result ? 1 <--- critical >> >> on the nagios server : >> ./check_nrpe -H myhost -c check_mycheck >> result? 0 <--- OK >> >> how can this happen ? >> >> Julie S. Lin >> System Administrator >> jlin at livescribe.com >> (510) 553 4912 (o) >> (510) 367 5772 (c) >> > Are you sure the NRPE is referencing the same command you are using > manually ? > > check the path in the nrpe.cfg file. > > ------------------------------------------------------------------------------ > AppSumo Presents a FREE Video for the SourceForge Community by Eric > Ries, the creator of the Lean Startup Methodology on "Lean Startup > Secrets Revealed." This video shows you how to validate your ideas, > optimize your ideas and identify your business strategy. > http://p.sf.net/sfu/appsumosfdev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ AppSumo Presents a FREE Video for the SourceForge Community by Eric Ries, the creator of the Lean Startup Methodology on "Lean Startup Secrets Revealed." This video shows you how to validate your ideas, optimize your ideas and identify your business strategy. http://p.sf.net/sfu/appsumosfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lmw94002 at hotmail.com Thu Jul 14 20:03:06 2011 From: lmw94002 at hotmail.com (Mathew Walker) Date: Thu, 14 Jul 2011 14:03:06 -0400 Subject: NRPE issues In-Reply-To: References: <1E28A1093117114BB6E6066F66BAFCD5058EC6D13E@USNAVSXCHMBSB3.ndc.alcatel-lucent.com>, , <0028630C-6046-4D01-ACDF-09D1812C106E@livescribe.com>, <4E1EAD08.7080506@flatto.net>, Message-ID: Perhaps you made a change to the nrpe.cfg and had not restarted NRPE service previously? I periodically forget to do this myself when updating commands. -- Mat W. > From: jlin at livescribe.com > To: nagios-users at lists.sourceforge.net > Date: Thu, 14 Jul 2011 10:46:34 -0700 > Subject: Re: [Nagios-users] NRPE issues > > Hi > > thanks so much for hte reply. I'm sure they are referncing same > commang. > wha'ts weird is when I restart nrpe client, the checks become > consistent. > Anyone encounter this issue? > > Julie S. Lin > System Administrator > jlin at livescribe.com > (510) 553 4912 (o) > (510) 367 5772 (c) > > > > On Jul 14, 2011, at 1:47 AM, Assaf Flatto wrote: > > > Julie S. Lin wrote: > >> Hi All > >> > >> please excuse the newbie question, but I'm having issues with NRPE > >> returning inconsistent results > >> > >> on the local machine : > >> #./check_mycheck > >> result ? 1 <--- critical > >> > >> on the nagios server : > >> ./check_nrpe -H myhost -c check_mycheck > >> result? 0 <--- OK > >> > >> how can this happen ? > >> > >> Julie S. Lin > >> System Administrator > >> jlin at livescribe.com > >> (510) 553 4912 (o) > >> (510) 367 5772 (c) > >> > > Are you sure the NRPE is referencing the same command you are using > > manually ? > > > > check the path in the nrpe.cfg file. > > > > ------------------------------------------------------------------------------ > > AppSumo Presents a FREE Video for the SourceForge Community by Eric > > Ries, the creator of the Lean Startup Methodology on "Lean Startup > > Secrets Revealed." This video shows you how to validate your ideas, > > optimize your ideas and identify your business strategy. > > http://p.sf.net/sfu/appsumosfdev2dev > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > > reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > ------------------------------------------------------------------------------ > AppSumo Presents a FREE Video for the SourceForge Community by Eric > Ries, the creator of the Lean Startup Methodology on "Lean Startup > Secrets Revealed." This video shows you how to validate your ideas, > optimize your ideas and identify your business strategy. > http://p.sf.net/sfu/appsumosfdev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ AppSumo Presents a FREE Video for the SourceForge Community by Eric Ries, the creator of the Lean Startup Methodology on "Lean Startup Secrets Revealed." This video shows you how to validate your ideas, optimize your ideas and identify your business strategy. http://p.sf.net/sfu/appsumosfdev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nipsy at bitgnome.net Thu Jul 14 22:33:59 2011 From: nipsy at bitgnome.net (Mark Nipper) Date: Thu, 14 Jul 2011 15:33:59 -0500 Subject: check_snmp output unit conversion In-Reply-To: References: Message-ID: <20110714203359.GF22016@king.bitgnome.net> On 31 Mar 2011, casale at activenetwerx.com wrote: > Well, I'm using 1.4.15 from rpmforge on rhel and it works, what can I say:) I'm using the EPEL version of the same packages and it's not working in any way that I can divine. I ran across this post: --- http://permalink.gmane.org/gmane.network.nagios.plugins/4971 basically indicating that some of the 1.4.15 packages are definitely broken. I've installed the latest version listed in that thread which is from 29 Apr 2011, which seems to partially work, but maybe not in any useful way. Some examples: --- $ check_snmp -H 172.16.74.130 -P 1 -C public -o .1.3.6.1.4.1.318.1.1.1.2.2.3.0 SNMP OK - Timeticks: (204000) 0:34:00.00 | $ check_snmp -H 172.16.74.130 -P 1 -C public -o .1.3.6.1.4.1.318.1.1.1.2.2.3.0 -w 203999 SNMP WARNING - *204000* | iso.3.6.1.4.1.318.1.1.1.2.2.3.0=204000 $ check_snmp -H 172.16.74.130 -P 1 -C public -o .1.3.6.1.4.1.318.1.1.1.2.2.3.0 -w 204001 SNMP OK - 204000 | iso.3.6.1.4.1.318.1.1.1.2.2.3.0=204000 $ check_snmp -H 172.16.74.130 -P 1 -C public -o .1.3.6.1.4.1.318.1.1.1.2.2.3.0 -w 200000 -c 205000 SNMP WARNING - *204000* | iso.3.6.1.4.1.318.1.1.1.2.2.3.0=204000 --- So, am I to conclude that things haven't entirely been fixed even in this latest release of 1.4.15? And why does specifying thresholds stop the unit conversion in the output? My primary concern is that the threshold values seem to be inverted and that there is no logical way to specify your own thresholds based on this. -- Mark Nipper nipsy at bitgnome.net (XMPP) +1 979 575 3193 - "Objective journalism is one of the main reasons American politics has been allowed to be so corrupt for so long. You can't be objective about Nixon." -- Hunter S. Thompson in an interview for The Atlantic ------------------------------------------------------------------------------ AppSumo Presents a FREE Video for the SourceForge Community by Eric Ries, the creator of the Lean Startup Methodology on "Lean Startup Secrets Revealed." This video shows you how to validate your ideas, optimize your ideas and identify your business strategy. http://p.sf.net/sfu/appsumosfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From queszama at yahoo.in Thu Jul 14 13:14:35 2011 From: queszama at yahoo.in (Zaman) Date: Thu, 14 Jul 2011 11:14:35 +0000 (UTC) Subject: Clarification need on configuring nagios to monitor multiple hosts References: <1310556266.4254.YahooMailClassic@web137510.mail.in.yahoo.com> Message-ID: Jim Avery jimavery.me.uk> writes: > > > You'll find useful help on that here: > > http://nagios.sourceforge.net/docs/nagioscore/3/en/objecttricks.html > > > Can't I use comma separated ip address and hosts like this > > > > define host{ > > ??????? use???????????????????? > linux-server??????????? ; Name of host template to use > > ??? ??? ??? ??? ??? ??? ??? ; This host definition will inherit all variables that > are defined > > ??? ??? ??? ??? ??? ??? ??? ; in (or inherited by) the linux-server host template definition. > > ??????? host_name?????????????? node1,node2 > > ??????? alias???????????????????????? node1 > > ??????? address??????????????? ?? 192.168.122.167,192.168.122.218 > > ??????? } > > No. You do need separate host definitions, but you can add each host > to the same hostgroup for example by adding a directive like this to > the host definition: > > hostgroup_name linux-group > > (in fact you can add that to the host template instead if you like). > > You will need to define this new hostgroup: > > define hostgroup{ > hostgroup_name linux-group > alias linux-group hostgroup containing all > monitored linux servers > } > > > > > define service{ > > ??????? use???????????????????????????? > local-service???????? ; Name of service template to use > > ??????? host_name?????????????????????? node1,node2 > > ??????? service_description???????????? Current Users > > ??? check_command??? ??? ??? check_nrpe!check_users > > ??????? } > > In that example, you can now use the hostgroup like so: > > define service{ > use local-service ; Name > of service template to use > hostgroup_name linux-group > service_description Current Users > check_command check_nrpe!check_users > } > > I hope that helps a little. Thanks Jim . That really helped . I am now able to remove the duplicate entries for each services by having a single entry for every hosts for a single service. The following entry I created as per your suggestion ==== define hostgroup{ hostgroup_name linuxservers ; The name of the hostgroup alias linux Servers ; Long name of the group members node1,node2 ; Comma separated list of hosts that ; belong to this group } define service{ use local-service ; Name of service template to use hostgroup_name linuxservers service_description Current Users check_command check_nrpe!check_users } But I am still confused with the host definition. I am having a single host entry for each of the hosts like this define host{ use linux-server host_name node1 alias node1 address 192.168.122.167 } define host{ use linux-server host_name node2 alias node2 address 192.168.122.218 } Is it possible any way to maintain a single entry for all the servers like we did for the service object . Any suggestions.. Thanks Zman ------------------------------------------------------------------------------ AppSumo Presents a FREE Video for the SourceForge Community by Eric Ries, the creator of the Lean Startup Methodology on "Lean Startup Secrets Revealed." This video shows you how to validate your ideas, optimize your ideas and identify your business strategy. http://p.sf.net/sfu/appsumosfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jul 15 08:56:45 2011 From: jim at jimavery.me.uk (Jim Avery) Date: Fri, 15 Jul 2011 07:56:45 +0100 Subject: Clarification need on configuring nagios to monitor multiple hosts In-Reply-To: References: <1310556266.4254.YahooMailClassic@web137510.mail.in.yahoo.com> Message-ID: On 14 July 2011 12:14, Zaman wrote: > Is it possible any way to maintain a single entry for all the servers like we > did for the service object . You could write a script to create your host definitions based on the contents of your CMDB (if you have one), or you could configure an auto-discovery tool to generate the information needed to populate your host definitions. I don't think there is anything like that in Nagios Core itself though, no. ------------------------------------------------------------------------------ AppSumo Presents a FREE Video for the SourceForge Community by Eric Ries, the creator of the Lean Startup Methodology on "Lean Startup Secrets Revealed." This video shows you how to validate your ideas, optimize your ideas and identify your business strategy. http://p.sf.net/sfu/appsumosfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nipsy at bitgnome.net Fri Jul 15 18:10:29 2011 From: nipsy at bitgnome.net (Mark Nipper) Date: Fri, 15 Jul 2011 11:10:29 -0500 Subject: check_snmp output unit conversion In-Reply-To: <20110714203359.GF22016@king.bitgnome.net> References: <20110714203359.GF22016@king.bitgnome.net> Message-ID: <20110715161029.GD18762@king.bitgnome.net> On 14 Jul 2011, Mark Nipper wrote: > $ check_snmp -H 172.16.74.130 -P 1 -C public -o .1.3.6.1.4.1.318.1.1.1.2.2.3.0 -w 200000 -c 205000 > SNMP WARNING - *204000* | iso.3.6.1.4.1.318.1.1.1.2.2.3.0=204000 To answer my own stupid question, the obvious form should look something like: --- $ check_snmp -H 172.16.74.130 -P 1 -C public -o .1.3.6.1.4.1.318.1.1.1.2.2.3.0 -w 205000: -c 203000: SNMP WARNING - *204000* | iso.3.6.1.4.1.318.1.1.1.2.2.3.0=204000 Having said that, there's definitely an issue with thresholds on at least some of the 1.4.15 packages available out there as RPM's (like the current EPEL one), so make sure you're not affected or you might be missing alerts. And I'm still curious why the timetick to minute conversion gets dropped in that output. Anyone have a suggestion for that? -- Mark Nipper nipsy at bitgnome.net (XMPP) +1 979 575 3193 - I love deadlines. I like the whooshing sound they make as they fly by. -- Douglas Adams ------------------------------------------------------------------------------ AppSumo Presents a FREE Video for the SourceForge Community by Eric Ries, the creator of the Lean Startup Methodology on "Lean Startup Secrets Revealed." This video shows you how to validate your ideas, optimize your ideas and identify your business strategy. http://p.sf.net/sfu/appsumosfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From loki77 at gmail.com Sat Jul 16 08:43:20 2011 From: loki77 at gmail.com (Michael Barrett) Date: Fri, 15 Jul 2011 23:43:20 -0700 Subject: different escalation intervals possible? Message-ID: Hi - I am trying to get alerts for my services to work like this: - all alerts (warning, critical, unknown, and recovery) go to the 'email-ops' contact every 2 hours - on some services (the ones deemed critical) in addition I want them to send an email to the 'primary-pager' contact every 15 minutes I thought I had the configuration setup appropriately for this, but now I'm not sure it's possible without a better understanding of how escalations work (and it may not even be possible then) since I read this about overlapping escalations: "Since it is possible to have overlapping escalation definitions for a particular hostgroup or service, and the fact that a host can be a member of multiple hostgroups, Nagios has to make a decision on what to do as far as the notification interval is concerned when escalation definitions overlap. In any case where there are multiple valid escalation definitions for a particular notification, Nagios will choose the smallest notification interval." Anyway, is there anyway to make that work? The way its working now is that it seems to email the email-ops list every 15 minutes on critical services, and for email we'd like to get less alerts. Thanks in advance! -- Michael Barrett loki77 at gmail.com ------------------------------------------------------------------------------ AppSumo Presents a FREE Video for the SourceForge Community by Eric Ries, the creator of the Lean Startup Methodology on "Lean Startup Secrets Revealed." This video shows you how to validate your ideas, optimize your ideas and identify your business strategy. http://p.sf.net/sfu/appsumosfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ibrahim.ercan at engineer.com Sat Jul 16 10:50:04 2011 From: ibrahim.ercan at engineer.com (=?UTF-8?Q?=C4=B0brahim_Ercan?=) Date: Sat, 16 Jul 2011 11:50:04 +0300 Subject: Installing nagios Message-ID: Hi, I just meet with naigos and I need to install it by rpm packages. I made a search and found a way from that page http://docs.cslabs.clarkson.edu/wiki/Install_Nagios_on_CentOS_5 I did everything he says and I didn't get any error but when I go http://myip/nagios I see that messages on the screen Not Found The requested URL /nagios was not found on this server. ------------------------------ Apache/2.2.3 (CentOS) Server at 91.93.128.197 Port 80 This is "uname -a" command output *Linux nms 2.6.18-238.el5 #1 SMP Thu Jan 13 15:51:15 EST 2011 x86_64 x86_64 x86_64 GNU/Linux* Thank you for any help... -- *?brahim Ercan * -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ AppSumo Presents a FREE Video for the SourceForge Community by Eric Ries, the creator of the Lean Startup Methodology on "Lean Startup Secrets Revealed." This video shows you how to validate your ideas, optimize your ideas and identify your business strategy. http://p.sf.net/sfu/appsumosfdev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From frank.vandamme at gmail.com Mon Jul 18 10:00:14 2011 From: frank.vandamme at gmail.com (Frank Van Damme) Date: Mon, 18 Jul 2011 10:00:14 +0200 Subject: Fwd: parameter starting with dollar sign Message-ID: <4E23E80E.2060400@gmail.com> (Sorry for possible reposts. I'll stop reposting the day Gmane actually works). Does anybody know how to use a parameter to a check command that starts with a dollar sign? Nagios interprets the dollar as if I want to substitute the variable with a macro. I tried escaping, but then I get a literal \ backslash. -- No part of this copyright message may be reproduced, read or seen, dead or alive or by any means, including but not limited to telepathy without the benevolence of the author. ------------------------------------------------------------------------------ AppSumo Presents a FREE Video for the SourceForge Community by Eric Ries, the creator of the Lean Startup Methodology on "Lean Startup Secrets Revealed." This video shows you how to validate your ideas, optimize your ideas and identify your business strategy. http://p.sf.net/sfu/appsumosfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jul 18 10:12:15 2011 From: member at linkedin.com (Hui Li via LinkedIn) Date: Mon, 18 Jul 2011 08:12:15 +0000 (UTC) Subject: Invitation to connect on LinkedIn Message-ID: <2020999633.5922661.1310976735607.JavaMail.app@ela4-bed32.prod> LinkedIn ------------ Hui Li requested to add you as a connection on LinkedIn: ------------------------------------------ Lei, I'd like to add you to my professional network on LinkedIn. - Hui Accept invitation from Hui Li http://www.linkedin.com/e/y49s6u-gq95p75e-6x/Vg1FBpStI6_M-eFLExlo-pjnfalPIPkLyx3rkqjZdRi1FOrPNoT/blk/I1526333492_3/1BpC5vrmRLoRZcjkkZt5YCpnlOt3RApnhMpmdzgmhxrSNBszYPnP8Vd3cPcPoOdj59bSJguBhRtkYSbPAScj8TdjoSdjcLrCBxbOYWrSlI/EML_comm_afe/ View invitation from Hui Li http://www.linkedin.com/e/y49s6u-gq95p75e-6x/Vg1FBpStI6_M-eFLExlo-pjnfalPIPkLyx3rkqjZdRi1FOrPNoT/blk/I1526333492_3/3dvczAQcPcPdz8RckALqnpPbOYWrSlI/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-gq95p75e-6x/ask/inv-23/ -- (c) 2011, LinkedIn Corporation -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ AppSumo Presents a FREE Video for the SourceForge Community by Eric Ries, the creator of the Lean Startup Methodology on "Lean Startup Secrets Revealed." This video shows you how to validate your ideas, optimize your ideas and identify your business strategy. http://p.sf.net/sfu/appsumosfdev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From michael.friedrich at univie.ac.at Mon Jul 18 10:16:34 2011 From: michael.friedrich at univie.ac.at (Michael Friedrich) Date: Mon, 18 Jul 2011 10:16:34 +0200 Subject: Fwd: parameter starting with dollar sign In-Reply-To: <4E23E80E.2060400@gmail.com> References: <4E23E80E.2060400@gmail.com> Message-ID: <4E23EBE2.2030001@univie.ac.at> Frank Van Damme wrote: > (Sorry for possible reposts. I'll stop reposting the day Gmane actually > works). > > Does anybody know how to use a parameter to a check command that starts > with a dollar sign? Nagios interprets the dollar as if I want to > substitute the variable with a macro. I tried escaping, but then I get a > literal \ backslash. try $$ for an escaped dollar char, like described in the docs. -- DI (FH) Michael Friedrich Vienna University Computer Center Universitaetsstrasse 7 A-1010 Vienna, Austria email: michael.friedrich at univie.ac.at phone: +43 1 4277 14359 mobile: +43 664 60277 14359 fax: +43 1 4277 14338 web: http://www.univie.ac.at/zid http://www.aco.net Icinga Core& IDOUtils Developer http://www.icinga.org ------------------------------------------------------------------------------ AppSumo Presents a FREE Video for the SourceForge Community by Eric Ries, the creator of the Lean Startup Methodology on "Lean Startup Secrets Revealed." This video shows you how to validate your ideas, optimize your ideas and identify your business strategy. http://p.sf.net/sfu/appsumosfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jul 18 11:56:58 2011 From: nagios at flatto.net (Assaf Flatto) Date: Mon, 18 Jul 2011 09:56:58 +0000 Subject: different escalation intervals possible? In-Reply-To: References: Message-ID: <4E24036A.5080005@flatto.net> Michael Barrett wrote: > Hi - I am trying to get alerts for my services to work like this: > > - all alerts (warning, critical, unknown, and recovery) go to the 'email-ops' contact every 2 hours > - on some services (the ones deemed critical) in addition I want them to send an email to the 'primary-pager' contact every 15 minutes > > I thought I had the configuration setup appropriately for this, but now I'm not sure it's possible without a better understanding of how escalations work (and it may not even be possible then) since I read this about overlapping escalations: > > "Since it is possible to have overlapping escalation definitions for a particular hostgroup or service, and the fact that a host can be a member of multiple hostgroups, Nagios has to make a decision on what to do as far as the notification interval is concerned when escalation definitions overlap. In any case where there are multiple valid escalation definitions for a particular notification, Nagios will choose the smallest notification interval." > > Anyway, is there anyway to make that work? The way its working now is that it seems to email the email-ops list every 15 minutes on critical services, and for email we'd like to get less alerts. > > Thanks in advance! > > -- > Michael Barrett > loki77 at gmail.com > The short answer is , Yes . if you share your configuration we might also be able to give tips and pointers on what needs to be modified. ------------------------------------------------------------------------------ AppSumo Presents a FREE Video for the SourceForge Community by Eric Ries, the creator of the Lean Startup Methodology on "Lean Startup Secrets Revealed." This video shows you how to validate your ideas, optimize your ideas and identify your business strategy. http://p.sf.net/sfu/appsumosfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From frank.vandamme at gmail.com Mon Jul 18 14:42:04 2011 From: frank.vandamme at gmail.com (Frank Van Damme) Date: Mon, 18 Jul 2011 14:42:04 +0200 Subject: Fwd: parameter starting with dollar sign In-Reply-To: <4E23EBE2.2030001@univie.ac.at> References: <4E23E80E.2060400@gmail.com> <4E23EBE2.2030001@univie.ac.at> Message-ID: <4E242A1C.4050007@gmail.com> Op 18-07-11 10:16, Michael Friedrich schreef: > Frank Van Damme wrote: >> (Sorry for possible reposts. I'll stop reposting the day Gmane actually >> works). >> >> Does anybody know how to use a parameter to a check command that starts >> with a dollar sign? Nagios interprets the dollar as if I want to >> substitute the variable with a macro. I tried escaping, but then I get a >> literal \ backslash. > > try $$ for an escaped dollar char, like described in the docs. It gets difficult when your value is from a macro and starts with a couple dollar signs though. -- No part of this copyright message may be reproduced, read or seen, dead or alive or by any means, including but not limited to telepathy without the benevolence of the author. ------------------------------------------------------------------------------ AppSumo Presents a FREE Video for the SourceForge Community by Eric Ries, the creator of the Lean Startup Methodology on "Lean Startup Secrets Revealed." This video shows you how to validate your ideas, optimize your ideas and identify your business strategy. http://p.sf.net/sfu/appsumosfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From michael.friedrich at univie.ac.at Mon Jul 18 15:12:46 2011 From: michael.friedrich at univie.ac.at (Michael Friedrich) Date: Mon, 18 Jul 2011 15:12:46 +0200 Subject: Fwd: parameter starting with dollar sign In-Reply-To: <4E242A1C.4050007@gmail.com> References: <4E23E80E.2060400@gmail.com> <4E23EBE2.2030001@univie.ac.at> <4E242A1C.4050007@gmail.com> Message-ID: <4E24314E.1010309@univie.ac.at> Frank Van Damme wrote: > Op 18-07-11 10:16, Michael Friedrich schreef: >> Frank Van Damme wrote: >>> (Sorry for possible reposts. I'll stop reposting the day Gmane actually >>> works). >>> >>> Does anybody know how to use a parameter to a check command that starts >>> with a dollar sign? Nagios interprets the dollar as if I want to >>> substitute the variable with a macro. I tried escaping, but then I get a >>> literal \ backslash. >> try $$ for an escaped dollar char, like described in the docs. > It gets difficult when your value is from a macro and starts with a > couple dollar signs though. you didn't mention that in the first place. w/o any examples it will be hard to guess. -- DI (FH) Michael Friedrich Vienna University Computer Center Universitaetsstrasse 7 A-1010 Vienna, Austria email: michael.friedrich at univie.ac.at phone: +43 1 4277 14359 mobile: +43 664 60277 14359 fax: +43 1 4277 14338 web: http://www.univie.ac.at/zid http://www.aco.net Icinga Core& IDOUtils Developer http://www.icinga.org ------------------------------------------------------------------------------ AppSumo Presents a FREE Video for the SourceForge Community by Eric Ries, the creator of the Lean Startup Methodology on "Lean Startup Secrets Revealed." This video shows you how to validate your ideas, optimize your ideas and identify your business strategy. http://p.sf.net/sfu/appsumosfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From frank.vandamme at gmail.com Mon Jul 18 15:37:24 2011 From: frank.vandamme at gmail.com (Frank Van Damme) Date: Mon, 18 Jul 2011 15:37:24 +0200 Subject: Fwd: parameter starting with dollar sign In-Reply-To: <4E24314E.1010309@univie.ac.at> References: <4E23E80E.2060400@gmail.com> <4E23EBE2.2030001@univie.ac.at> <4E242A1C.4050007@gmail.com> <4E24314E.1010309@univie.ac.at> Message-ID: 2011/7/18 Michael Friedrich : > you didn't mention that in the first place. w/o any examples it will be > hard to guess. true. I was hoping for some generic escaping rules :) dollars at the start have a meaning. -- Frank Van Damme No part of this copyright message may be reproduced, read or seen, dead or alive or by any means, including but not limited to telepathy without the benevolence of the author. ------------------------------------------------------------------------------ AppSumo Presents a FREE Video for the SourceForge Community by Eric Ries, the creator of the Lean Startup Methodology on "Lean Startup Secrets Revealed." This video shows you how to validate your ideas, optimize your ideas and identify your business strategy. http://p.sf.net/sfu/appsumosfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Mon Jul 18 16:01:43 2011 From: jim at jimavery.me.uk (Jim Avery) Date: Mon, 18 Jul 2011 15:01:43 +0100 Subject: Fwd: parameter starting with dollar sign In-Reply-To: References: <4E23E80E.2060400@gmail.com> <4E23EBE2.2030001@univie.ac.at> <4E242A1C.4050007@gmail.com> <4E24314E.1010309@univie.ac.at> Message-ID: On 18 July 2011 14:37, Frank Van Damme wrote: > I was hoping for some generic escaping rules :) If only! I usually end up using a generous portion of trial-and-error to find something that works. Sometimes you have to escape the escape characters that will be used further down the chain. The most egregious example of multiple escapgin in my configs at the moment looks like this: check_nrpe!-c CheckFile -a MinWarn=0 filter-written=\\<8d file=D:\\\\directory\\\\subdirectory\\\\\\*.\\* In another example, I set the $USER10$ macro in resource.cfg to contain a single semi-colon like so: # Set this macro to contain a semi-colon so we can use it as a command separator. $USER10$=; And that's just so that it can then be used in an action_url directive pointing to a DRRAW graph like so: action_url http://nagios/drraw-pnp/index.cgi?Mode=view;$USER10$Graph=1281540323.16309 Of course the ; also translates to a semi-colon. I can't remember why I have both in there, but it works! ------------------------------------------------------------------------------ AppSumo Presents a FREE Video for the SourceForge Community by Eric Ries, the creator of the Lean Startup Methodology on "Lean Startup Secrets Revealed." This video shows you how to validate your ideas, optimize your ideas and identify your business strategy. http://p.sf.net/sfu/appsumosfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jul 18 16:54:49 2011 From: nibin.vm at piserve.com (Nibin V M) Date: Mon, 18 Jul 2011 20:24:49 +0530 Subject: DNS check - please help Message-ID: Hello, I am a bit lost to find how the check_dns works. Please see the results below. # ./check_dns -H google.com --server=myserver. DNS OK: 0.011 seconds response time. google.com returns 74.125.93.103,74.125.93.104,74.125.93.105,74.125.93.106,74.125.93.147,74.125.93.99|time=0.011378s;;;0.000000 # dig +short google.com @myserver # I am sure that recursion isn't enabled on "myserver". Do the plugin try to resolve google.com using the name servers specified resolv.conf, if the -s server doesn't provide any answer? Thanks in advance. Regards, Nibin. --------------------------------- Nibin.V.M Systems Integrator PiServe.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ AppSumo Presents a FREE Video for the SourceForge Community by Eric Ries, the creator of the Lean Startup Methodology on "Lean Startup Secrets Revealed." This video shows you how to validate your ideas, optimize your ideas and identify your business strategy. http://p.sf.net/sfu/appsumosfdev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jpratt at norwich.edu Mon Jul 18 17:37:51 2011 From: jpratt at norwich.edu (James Pratt) Date: Mon, 18 Jul 2011 15:37:51 +0000 Subject: DNS check - please help In-Reply-To: References: Message-ID: <838D552D6FE6A942A53134195C53C2DE04745C@NUEXCH2.norwich.edu> The help for the plugin says - ./check_dns --help check_dns v1.4.15 (nagios-plugins 1.4.15) Copyright (c) 1999 Ethan Galstad Copyright (c) 2000-2008 Nagios Plugin Development Team This plugin uses the nslookup program to obtain the IP address for the given host/domain query. An optional DNS server to use may be specified. If no DNS server is specified, the default server(s) specified in /etc/resolv.conf will be used. (Based on your stated result(s), I must assume that if the "specified server" fails, it probably defaults to /etc/resolv.conf, but I'd probably have to fire up wireshark/tshark to find out for sure)... Cheers, James From: Nibin V M [mailto:nibin.vm at piserve.com] Sent: Monday, July 18, 2011 10:55 AM To: Nagios Users List Subject: [Nagios-users] DNS check - please help Hello, I am a bit lost to find how the check_dns works. Please see the results below. # ./check_dns -H google.com --server=myserver. DNS OK: 0.011 seconds response time. google.com returns 74.125.93.103,74.125.93.104,74.125.93.105,74.125.93.106,74.125.93.147,74.125.93.99|time=0.011378s;;;0.000000 # dig +short google.com @myserver # I am sure that recursion isn't enabled on "myserver". Do the plugin try to resolve google.com using the name servers specified resolv.conf, if the -s server doesn't provide any answer? Thanks in advance. Regards, Nibin. --------------------------------- Nibin.V.M Systems Integrator PiServe.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ AppSumo Presents a FREE Video for the SourceForge Community by Eric Ries, the creator of the Lean Startup Methodology on "Lean Startup Secrets Revealed." This video shows you how to validate your ideas, optimize your ideas and identify your business strategy. http://p.sf.net/sfu/appsumosfdev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From loki77 at gmail.com Mon Jul 18 18:14:18 2011 From: loki77 at gmail.com (Michael Barrett) Date: Mon, 18 Jul 2011 09:14:18 -0700 Subject: different escalation intervals possible? In-Reply-To: <4E24036A.5080005@flatto.net> References: <4E24036A.5080005@flatto.net> Message-ID: <4FC5FF33-A798-4069-B8E0-88C26A8270B8@gmail.com> Thanks Assaf. It's a little complicated, but here's my config for a 'critical service': ### First my escalation definitions: define serviceescalation { name page-primary first_notification 1 last_notification 0 notification_interval 15 contact_groups primarypager servicegroup_name critical-services } define serviceescalation { name page-secondary first_notification 3 last_notification 0 notification_interval 15 contact_groups secondarypager servicegroup_name critical-services } define serviceescalation { name email-ops first_notification 1 last_notification 0 notification_interval 120 contact_groups ops-group servicegroup_name critical-services } #### Now my contact groups define contactgroup { contactgroup_name ops-group alias Operations People } define contactgroup { contactgroup_name primarypager alias Primary Pager } define contactgroup { contactgroup_name secondarypager alias Secondary Pager } #### Now a pair of example contacts (and templates) that tie into those groups define contact { name generic-contact host_notification_period 24x7 service_notification_period 24x7 host_notifications_enabled 0 host_notification_options d,u,r service_notification_options u,c,w,r host_notification_commands host-notify-by-email service_notification_commands service-notify-by-email register 0 can_submit_commands 1 } # pager template define contact { name pager-template use generic-contact host_notification_options d,u service_notification_options u,c host_notification_commands host-notify-by-epager service_notification_commands service-notify-by-epager register 0 } define contact { name ops-contact contactgroups ops-group use generic-contact register 0 } define contact { contact_name mb alias Michael Barrett use ops-contact email loki77 at gmail.com } define contact { contact_name mb-phone alias Mike Phone contactgroups primarypager use pager-template email ########@mms.att.net } #### Now the servicegroup for critical-services define servicegroup { servicegroup_name critical-services alias Services that should page } #### And finally a service that is in critical services (and its template) define service { name generic-service is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 active_checks_enabled 1 passive_checks_enabled 1 parallelize_check 0 obsess_over_service 1 check_freshness 0 notifications_enabled 1 notification_interval 120 notification_period 24x7 notification_options u,c,w,r event_handler_enabled 1 flap_detection_enabled 1 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 contact_groups ops-group register 0 } define service { use generic-service service_description puppet last run check_command check_puppet hostgroup_name all_hosts,!virtual-hosts servicegroups critical-services } ###################################### Let me know if you have any questions, and thanks again! On Jul 18, 2011, at 2:56 AM, Assaf Flatto wrote: > Michael Barrett wrote: >> Hi - I am trying to get alerts for my services to work like this: >> >> - all alerts (warning, critical, unknown, and recovery) go to the 'email-ops' contact every 2 hours >> - on some services (the ones deemed critical) in addition I want them to send an email to the 'primary-pager' contact every 15 minutes >> >> I thought I had the configuration setup appropriately for this, but now I'm not sure it's possible without a better understanding of how escalations work (and it may not even be possible then) since I read this about overlapping escalations: >> >> "Since it is possible to have overlapping escalation definitions for a particular hostgroup or service, and the fact that a host can be a member of multiple hostgroups, Nagios has to make a decision on what to do as far as the notification interval is concerned when escalation definitions overlap. In any case where there are multiple valid escalation definitions for a particular notification, Nagios will choose the smallest notification interval." >> >> Anyway, is there anyway to make that work? The way its working now is that it seems to email the email-ops list every 15 minutes on critical services, and for email we'd like to get less alerts. >> >> Thanks in advance! >> >> -- >> Michael Barrett >> loki77 at gmail.com >> > The short answer is , Yes . > > if you share your configuration we might also be able to give tips and > pointers on what needs to be modified. > > ------------------------------------------------------------------------------ > AppSumo Presents a FREE Video for the SourceForge Community by Eric > Ries, the creator of the Lean Startup Methodology on "Lean Startup > Secrets Revealed." This video shows you how to validate your ideas, > optimize your ideas and identify your business strategy. > http://p.sf.net/sfu/appsumosfdev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- Michael Barrett loki77 at gmail.com ------------------------------------------------------------------------------ AppSumo Presents a FREE Video for the SourceForge Community by Eric Ries, the creator of the Lean Startup Methodology on "Lean Startup Secrets Revealed." This video shows you how to validate your ideas, optimize your ideas and identify your business strategy. http://p.sf.net/sfu/appsumosfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From matt at conundrum.com Mon Jul 18 18:00:28 2011 From: matt at conundrum.com (Matthew Pounsett) Date: Mon, 18 Jul 2011 12:00:28 -0400 Subject: DNS check - please help In-Reply-To: <838D552D6FE6A942A53134195C53C2DE04745C@NUEXCH2.norwich.edu> References: <838D552D6FE6A942A53134195C53C2DE04745C@NUEXCH2.norwich.edu> Message-ID: <573B99D7-0AED-427E-9095-4329B2C1E253@conundrum.com> On 2011/07/18, at 11:37, James Pratt wrote: > This plugin uses the nslookup program to obtain the IP address for the given host/domain query. > An optional DNS server to use may be specified. > If no DNS server is specified, the default server(s) specified in /etc/resolv.conf will be used. The behaviour of nslookup is pretty terrible... it's not really advisable to use it for any DNS diagnostics. I'm working on a replacement for check_dns which does its own DNS work rather than relying on shelling out to something else... unfortunately, I'm not much of a C coder, so it's in Perl. If I can get permission from my boss I'll share it back to the community as a replacement for what's there now. ------------------------------------------------------------------------------ AppSumo Presents a FREE Video for the SourceForge Community by Eric Ries, the creator of the Lean Startup Methodology on "Lean Startup Secrets Revealed." This video shows you how to validate your ideas, optimize your ideas and identify your business strategy. http://p.sf.net/sfu/appsumosfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From BChan at Shawcor.com Mon Jul 18 18:17:39 2011 From: BChan at Shawcor.com (Brian Chan) Date: Mon, 18 Jul 2011 12:17:39 -0400 Subject: AUTO: Chan, Brian is out of the office. (returning 19/07/2011) Message-ID: I am out of the office until 19/07/2011. I will respond to your message when I return. Note: This is an automated response to your message "Nagios-users Digest, Vol 62, Issue 13" sent on 7/18/2011 12:14:29. This is the only notification you will receive while this person is away. ------------------------------------------------------------------------------ AppSumo Presents a FREE Video for the SourceForge Community by Eric Ries, the creator of the Lean Startup Methodology on "Lean Startup Secrets Revealed." This video shows you how to validate your ideas, optimize your ideas and identify your business strategy. http://p.sf.net/sfu/appsumosfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pitchfork at ederdrom.de Mon Jul 18 19:45:36 2011 From: pitchfork at ederdrom.de (Joerg Linge) Date: Mon, 18 Jul 2011 19:45:36 +0200 Subject: DNS check - please help In-Reply-To: <573B99D7-0AED-427E-9095-4329B2C1E253@conundrum.com> References: <838D552D6FE6A942A53134195C53C2DE04745C@NUEXCH2.norwich.edu> <573B99D7-0AED-427E-9095-4329B2C1E253@conundrum.com> Message-ID: <4E247140.1060705@ederdrom.de> Matthew Pounsett schrieb: > On 2011/07/18, at 11:37, James Pratt wrote: > >> This plugin uses the nslookup program to obtain the IP address for the given host/domain query. >> An optional DNS server to use may be specified. >> If no DNS server is specified, the default server(s) specified in /etc/resolv.conf will be used. > > The behaviour of nslookup is pretty terrible... it's not really advisable to use it for any DNS diagnostics. I'm working on a replacement for check_dns which does its own DNS work rather than relying on shelling out to something else... unfortunately, I'm not much of a C coder, so it's in Perl. If I can get permission from my boss I'll share it back to the community as a replacement for what's there now. i use check_dig for years now. Joerg ------------------------------------------------------------------------------ AppSumo Presents a FREE Video for the SourceForge Community by Eric Ries, the creator of the Lean Startup Methodology on "Lean Startup Secrets Revealed." This video shows you how to validate your ideas, optimize your ideas and identify your business strategy. http://p.sf.net/sfu/appsumosfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jul 18 19:49:05 2011 From: work at paul.dubuc.org (Paul M. Dubuc) Date: Mon, 18 Jul 2011 13:49:05 -0400 Subject: different escalation intervals possible? In-Reply-To: References: Message-ID: <4E247211.5070305@paul.dubuc.org> Michael Barrett wrote: > Hi - I am trying to get alerts for my services to work like this: > > - all alerts (warning, critical, unknown, and recovery) go to the > 'email-ops' contact every 2 hours - on some services (the ones deemed > critical) in addition I want them to send an email to the 'primary-pager' > contact every 15 minutes > > I thought I had the configuration setup appropriately for this, but now I'm > not sure it's possible without a better understanding of how escalations > work (and it may not even be possible then) since I read this about > overlapping escalations: > > "Since it is possible to have overlapping escalation definitions for a > particular hostgroup or service, and the fact that a host can be a member > of multiple hostgroups, Nagios has to make a decision on what to do as far > as the notification interval is concerned when escalation definitions > overlap. In any case where there are multiple valid escalation definitions > for a particular notification, Nagios will choose the smallest notification > interval." > > Anyway, is there anyway to make that work? The way its working now is that > it seems to email the email-ops list every 15 minutes on critical services, > and for email we'd like to get less alerts. > > Thanks in advance! > I don't think this can be done with escalations. If Assaf has a way to do it, I'd be very interested. Like the documentation says, any notification that matches multiple escalations can only have one notification interval and it chooses the smallest. The way we get around the problem is to put a wrapper around the email notification command so that it only sends the first notification of a state change. This is what it looks like: define command{ command_name notify-host-by-email command_line \ if [ $HOSTNOTIFICATIONNUMBER$ -le 1 -o $HOSTSTATEID$ -ne $LASTHOSTSTATEID$ ]$USER9$ then \ /usr/bin/printf "%b\n\n--" \ "***** Nagios *****\n\n\ Notification Type: $NOTIFICATIONTYPE$ Number: $HOSTNOTIFICATIONNUMBER$\n\n\ host=$HOSTNAME$\n\n\ Host: $HOSTNAME$\n\ Address: $HOSTADDRESS$\n\ State: $HOSTSTATE$\n\ Last State: $LASTHOSTSTATE$\n\ Info: $HOSTOUTPUT$\n\n\ $LONGHOSTOUTPUT$\n\n\ Date/Time: $LONGDATETIME$\n\n\ Comment: $NOTIFICATIONCOMMENT$" \ | /usr/bin/mail -r nagios -s \ "** Nagios $NOTIFICATIONTYPE$ Host Alert: $HOSTNAME$ is $HOSTSTATE$ **" $CONTACTEMAIL$ \ $USER9$\ fi } The $USER9$ macro is defined as a semicolon ';' to keep it from being interpreted as the start of a comment. The command for service e-mail notifications looks similar. So, for e-mail notifications, it doesn't matter what the interval is. Only one e-mail will actually be sent per state change. ------------------------------------------------------------------------------ AppSumo Presents a FREE Video for the SourceForge Community by Eric Ries, the creator of the Lean Startup Methodology on "Lean Startup Secrets Revealed." This video shows you how to validate your ideas, optimize your ideas and identify your business strategy. http://p.sf.net/sfu/appsumosfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From matt at conundrum.com Mon Jul 18 19:57:31 2011 From: matt at conundrum.com (Matthew Pounsett) Date: Mon, 18 Jul 2011 13:57:31 -0400 Subject: DNS check - please help In-Reply-To: <4E247140.1060705@ederdrom.de> References: <838D552D6FE6A942A53134195C53C2DE04745C@NUEXCH2.norwich.edu> <573B99D7-0AED-427E-9095-4329B2C1E253@conundrum.com> <4E247140.1060705@ederdrom.de> Message-ID: <280B2406-C705-40C1-966D-0F85725A1A05@conundrum.com> On 2011/07/18, at 13:45, Joerg Linge wrote: >> The behaviour of nslookup is pretty terrible... it's not really advisable to use it for any DNS diagnostics. I'm working on a replacement for check_dns which does its own DNS work rather than relying on shelling out to something else... unfortunately, I'm not much of a C coder, so it's in Perl. If I can get permission from my boss I'll share it back to the community as a replacement for what's there now. > > i use check_dig for years now. Yep, check_dig is much, MUCH better, but having to fork() out again to call dig bugs me on a philosophical level, and is death to a nagios server that's mostly monitoring DNS services. Plus, there are some additional things I'd like to do in my checks that don't seem possible using check_dig. ------------------------------------------------------------------------------ AppSumo Presents a FREE Video for the SourceForge Community by Eric Ries, the creator of the Lean Startup Methodology on "Lean Startup Secrets Revealed." This video shows you how to validate your ideas, optimize your ideas and identify your business strategy. http://p.sf.net/sfu/appsumosfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lucas.da_vila at alcatel-lucent.com Mon Jul 18 20:10:43 2011 From: lucas.da_vila at alcatel-lucent.com (DA VILA, LUCAS (LUCAS)) Date: Mon, 18 Jul 2011 13:10:43 -0500 Subject: compiling for solaris 10 In-Reply-To: References: <1E28A1093117114BB6E6066F66BAFCD5058EC6D13E@USNAVSXCHMBSB3.ndc.alcatel-lucent.com> Message-ID: <1E28A1093117114BB6E6066F66BAFCD5058EC6D7B5@USNAVSXCHMBSB3.ndc.alcatel-lucent.com> Thanks! Gonna try. Regards Lucas -----Mensaje original----- De: Yueh-Hung Liu [mailto:yuehung.liu at gmail.com] Enviado el: Viernes, 08 de Julio de 2011 21:46 Para: Nagios Users List Asunto: Re: [Nagios-users] compiling for solaris 10 solaris 10 has some utilities from www.sunfreeware.com, include gnu cc (gcc) and gnu make (gmake). check the /usr/sfw/bin folder and try with these gnu stuff again. On Sat, Jul 9, 2011 at 5:45 AM, DA VILA, LUCAS (LUCAS) wrote: > Hi users, > > I'm trying to compile NPRE and de nagios plugins on a Sun/SPARC Solaris 10 server. > > I've managed to compile and install NPRE modifying a little de source, and disabling SSL. > But when I want to compile de nagios plugins an error occurs with the linker. > > I'm compiling nrpe-2.12.tar.gz nagios-plugins-1.4.11.tar.gz with cc the default compiler on our system (no GCC) > > This is the output running a make in 'plugins' folder > > root at ALUSPARC02$ make > /bin/bash ../libtool --tag=CC --mode=link cc ?-g ? -L. -o check_apt ?check_apt.o utils.o ../lib/libnagiosplug.a ../gl/libgnu.a runcmd.o -lnsl -lsocket > cc -g -o check_apt check_apt.o utils.o runcmd.o ?-L/users/adsl/nagios-plugins-1.4.11/plugins ../lib/libnagiosplug.a ../gl/libgnu.a -lnsl -lsocket > Undefined ? ? ? ? ? ? ? ? ? ? ? first referenced > ?symbol ? ? ? ? ? ? ? ? ? ? ? ? ? ? in file > floor ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? check_apt.o > ld: fatal: Symbol referencing errors. No output written to check_apt > *** Error code 1 > make: Fatal error: Command failed for target `check_apt' > > I've tried to remove check_apt from the make file, but the error repeats with another check_* (check_cluster, check_disk) > > Also run the isolated command > root at ALUSPARC02$ cc -g -o check_apt check_apt.o utils.o runcmd.o > Undefined ? ? ? ? ? ? ? ? ? ? ? first referenced > ?symbol ? ? ? ? ? ? ? ? ? ? ? ? ? ? in file > die ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? check_apt.o > floor ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? check_apt.o > rpl_getopt_long ? ? ? ? ? ? ? ? ? ? check_apt.o > rpl_optarg ? ? ? ? ? ? ? ? ? ? ? ? ?check_apt.o > rpl_regfree ? ? ? ? ? ? ? ? ? ? ? ? check_apt.o > rpl_regexec ? ? ? ? ? ? ? ? ? ? ? ? check_apt.o > rpl_regcomp ? ? ? ? ? ? ? ? ? ? ? ? check_apt.o > asprintf ? ? ? ? ? ? ? ? ? ? ? ? ? ?utils.o > rpl_regerror ? ? ? ? ? ? ? ? ? ? ? ?check_apt.o > ld: fatal: Symbol referencing errors. No output written to check_apt > > I've search on google about this and found some pages, but didn't get errors with the compilation of the plugins. > Anyone have an idea with this error? > > Thanks in advance, > Best regards > > Lucas > > > ------------------------------------------------------------------------------ > All of the data generated in your IT infrastructure is seriously valuable. > Why? It contains a definitive record of application performance, security > threats, fraudulent activity, and more. Splunk takes this data and makes > sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-d2d-c2 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Storage Efficiency Calculator This modeling tool is based on patent-pending intellectual property that has been used successfully in hundreds of IBM storage optimization engage- ments, worldwide. Store less, Store more with what you own, Move data to the right place. Try It Now! http://www.accelacomm.com/jaw/sfnl/114/51427378/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jul 19 04:30:08 2011 From: nibin.vm at piserve.com (Nibin V M) Date: Tue, 19 Jul 2011 08:00:08 +0530 Subject: DNS check - please help In-Reply-To: <280B2406-C705-40C1-966D-0F85725A1A05@conundrum.com> References: <838D552D6FE6A942A53134195C53C2DE04745C@NUEXCH2.norwich.edu> <573B99D7-0AED-427E-9095-4329B2C1E253@conundrum.com> <4E247140.1060705@ederdrom.de> <280B2406-C705-40C1-966D-0F85725A1A05@conundrum.com> Message-ID: Hello, Thanks to all. After a tcpdump, I can confirm that it query the name servers in resolv.conf after the -s server. @Mathew, hope you will share it with us soon :) On Mon, Jul 18, 2011 at 11:27 PM, Matthew Pounsett wrote: > > On 2011/07/18, at 13:45, Joerg Linge wrote: > > >> The behaviour of nslookup is pretty terrible... it's not really > advisable to use it for any DNS diagnostics. I'm working on a replacement > for check_dns which does its own DNS work rather than relying on shelling > out to something else... unfortunately, I'm not much of a C coder, so it's > in Perl. If I can get permission from my boss I'll share it back to the > community as a replacement for what's there now. > > > > i use check_dig for years now. > > Yep, check_dig is much, MUCH better, but having to fork() out again to call > dig bugs me on a philosophical level, and is death to a nagios server that's > mostly monitoring DNS services. Plus, there are some additional things I'd > like to do in my checks that don't seem possible using check_dig. > > > > > ------------------------------------------------------------------------------ > AppSumo Presents a FREE Video for the SourceForge Community by Eric > Ries, the creator of the Lean Startup Methodology on "Lean Startup > Secrets Revealed." This video shows you how to validate your ideas, > optimize your ideas and identify your business strategy. > http://p.sf.net/sfu/appsumosfdev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 Systems Integrator PiServe.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Magic Quadrant for Content-Aware Data Loss Prevention Research study explores the data loss prevention market. Includes in-depth analysis on the changes within the DLP market, and the criteria used to evaluate the strengths and weaknesses of these DLP solutions. http://www.accelacomm.com/jaw/sfnl/114/51385063/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From eagles051387 at gmail.com Tue Jul 19 09:23:16 2011 From: eagles051387 at gmail.com (Jonathan Aquilina) Date: Tue, 19 Jul 2011 09:23:16 +0200 Subject: few questions that I cant find any info on Message-ID: <4E2530E4.6000209@gmail.com> Hey guys first time poster to the list, but I have been using this great program for a few weeks now, I have a few questions 1) I have been requested to work with some scripts and the first one im workign with is for the CISCO ACE 4700 Load balancer. i have the command defined in nagios ql command definitions. the command i am passing is as follows $USER1$/cisco_ace_failover -H PRIMARY IP -P SECONDARY IP -C $ARG1$ where $ARG1$ i am passing the variable i created for each hosts snmp community that its a part of. When i set this command to active I get the following. Service check command COMMAND NAME specified in service SERVICE NAME for host HOST NAME not defined anywhere. Where should I define the command. 2) I noticed there is a check called check_local_mrtgtraf can that check be adapted for remote hosts to check and monitor bandwidth on a CISCO ASA and ACE device. Also is it feasible to do hourly daily weekly monthly and yearly checks on bandwidth usage. Last question 3) i have a check which monitors ram usage, how do I specify a range that will trigger a warning then once it goes above that range it goes critical. Currently I am doing this using an snmp check. ------------------------------------------------------------------------------ Magic Quadrant for Content-Aware Data Loss Prevention Research study explores the data loss prevention market. Includes in-depth analysis on the changes within the DLP market, and the criteria used to evaluate the strengths and weaknesses of these DLP solutions. http://www.accelacomm.com/jaw/sfnl/114/51385063/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jagonzalaz at gmail.com Tue Jul 19 13:21:28 2011 From: jagonzalaz at gmail.com (=?ISO-8859-1?Q?Javier_Gonz=E1lez?=) Date: Tue, 19 Jul 2011 13:21:28 +0200 Subject: CPU performance with Nagios 3.2.3 Message-ID: Hello, I have seen a lot peaks on the CPU LOAD of my nagios machine (See pnp4nagios graphs on pdf document attached). I don?t know which process/processes are the ones that use too much CPU on that periods because the PC is only used for Nagios (And plugins used with it) and all the plugins defined have a check_period of 1 minute and there is a lot of periods where the load is near to 0 (so what happens every 2 hours more or less that use so much CPU???) I have tried to find the process that causes this behavior with the "top" command but %Cpu idle is always (also on the peaks of the CPU LOAD) more han 70% and no process uses more than 4% of CPU (See three examples of TOP command where %CPU idle is always high but Load vary a lot on each case) ****************************************************************** top - 11:52:27 up 9:51, 1 user, *load average: 0.09, 0.56, 0.62* Tasks: 102 total, 1 running, 101 sleeping, 0 stopped, 0 zombie *Cpu(s):* 7.9%us, 1.5%sy, 0.0%ni, *88.4%id*, 1.0%wa, 0.3%hi, 0.8%si, 0.0%st Mem: 2050176k total, 675704k used, 1374472k free, 132628k buffers Swap: 2096472k total, 0k used, 2096472k free, 333384k cached top - 13:30:05 up 11:29, 2 users, *load average: 1.53, 1.27, 0.83* Tasks: 110 total, 3 running, 107 sleeping, 0 stopped, 0 zombie *Cpu(s):* 9.2%us, 1.5%sy, 0.0%ni,* 88.6%id*, 0.0%wa, 0.0%hi, 0.7%si, 0.0%st Mem: 2050176k total, 708540k used, 1341636k free, 139020k buffers Swap: 2096472k total, 0k used, 2096472k free, 334668k cached top - 13:16:39 up 1 day, 11:15, 2 users, *load average: 2.45, 2.03, 1.96* Tasks: 106 total, 1 running, 105 sleeping, 0 stopped, 0 zombie *Cpu(s)*: 7.8%us, 1.4%sy, 0.0%ni, *89.1%id*, 1.0%wa, 0.2%hi, 0.5%si, 0.0%st Mem: 2050176k total, 845668k used, 1204508k free, 167244k buffers Swap: 2096472k total, 0k used, 2096472k free, 351224k cached ******************************************************************** Is there some way to find wich process cause this high CPU LOAD ? (Which proccess use sometimes a lot of the CPU time so queuing other processes). Why sometimes the CPU Load is near to 0 and other times Load_1_min is near to 4 (On the example 2,45 but there are higher values) if the processes are always the same ??? Thank you very much ***************************************************************************** Environment Description. Intel Core 2 DUO E7500 / 2,93GHz DDR2 2GB / 667MHz Centos 5.5 Nagios 3.2.3 nagios-plugins-1.4.11 net-snmp-5.6 snmptt-1.3 mklivestatus-1.1.8 nagvis-1.5.6 pnp4nagios-0.6.10 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: CPU_LOAD_NAGIOS.pdf Type: application/pdf Size: 136097 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ Magic Quadrant for Content-Aware Data Loss Prevention Research study explores the data loss prevention market. Includes in-depth analysis on the changes within the DLP market, and the criteria used to evaluate the strengths and weaknesses of these DLP solutions. http://www.accelacomm.com/jaw/sfnl/114/51385063/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ck at claudiokuenzler.com Tue Jul 19 14:07:35 2011 From: ck at claudiokuenzler.com (Claudio Kuenzler) Date: Tue, 19 Jul 2011 14:07:35 +0200 Subject: Macro values don't seem to be consistent In-Reply-To: References: <1307556978.1873.433.camel@jimsworktop> <20110711105021.21345aavu5in20fk@www.cnysupport.com> Message-ID: To follow up on this, I have once more this problem (this time with another server though) and I activated debugging and started to do some deeper research. This time the service 'Disk Space /' on *SERVER21* is in state warning. The host alias for SERVER21 is SERVER21-DEVL. The notification looks like this though: *Service: Disk Space /* * * *Host: SERVER31-UAT* * * *Address: 10.x.x.x* * * *State: WARNING* As you see, the alias for SERVER31 was taken, instead of SERVER21. Now if I take a look at *var/objects.cache* the correct alias is used: define host { host_name SERVER21 alias SERVER21-DEVL If I take a look at *var/retention.dat* I see something strange: host { host_name=SERVER21 alias=SERVER31-UAT display_name=SERVER21 Taking a further look at retention.dat reveils, that another host took the alias for SERVER31-UAT: host { host_name=SERVER33 alias=SERVER31-UAT display_name=SERVER33 I am sure the problem comes from here (retention.dat). But can somebody explain, how such wrong entries are created in retention.dat ? On Mon, Jul 11, 2011 at 5:14 PM, Claudio Kuenzler wrote: > This particular one: > > define service{ > use normal-service-trading > host_name server14 > service_description Service Check > check_command check_nrpe!proxy_bs_connections > } > > So there's no alias entry either. > > It's the very first time that this happens, and it continues. The service > is still down (in maintenance) but Nagios continues to send the notification > with a wrong HOSTALIAS. > > On Mon, Jul 11, 2011 at 4:50 PM, Terry Carmen wrote: > >> Quoting Claudio Kuenzler : >> >> > Hello, >> > >> > Since today I have almost the same problem as Jim. >> > The $HOSTALIAS$ macro works fine for all the checks, except one host >> alias >> > is wrong. I got aware of it today. >> > >> > Same version as Jim's, 3.2.3, compiled from source as well. >> > >> > Host config: >> > >> > define host{ >> > use linux-platform-demo ; Name of host >> > template to use >> > ; This host >> > definition will inherit all variables that are defined >> > ; in (or >> inherited >> > by) the linux-server host template definition. >> > host_name server14 >> > alias SERVER14-RANDOMDEMO >> > address 192.168.0.14 >> > } >> > >> >> What does your service definition look like? >> >> Terry >> >> >> >> ------------------------------------------------------------------------------ >> All of the data generated in your IT infrastructure is seriously valuable. >> Why? It contains a definitive record of application performance, security >> threats, fraudulent activity, and more. Splunk takes this data and makes >> sense of it. IT sense. And common sense. >> http://p.sf.net/sfu/splunk-d2d-c2 >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: 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 -------------- ------------------------------------------------------------------------------ Magic Quadrant for Content-Aware Data Loss Prevention Research study explores the data loss prevention market. Includes in-depth analysis on the changes within the DLP market, and the criteria used to evaluate the strengths and weaknesses of these DLP solutions. http://www.accelacomm.com/jaw/sfnl/114/51385063/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Marcel.Galke at trans4mation.de Tue Jul 19 15:23:59 2011 From: Marcel.Galke at trans4mation.de (Marcel Galke - Trans4mation IT GmbH) Date: Tue, 19 Jul 2011 15:23:59 +0200 Subject: few questions that I cant find any info on In-Reply-To: <4E2530E4.6000209@gmail.com> References: <4E2530E4.6000209@gmail.com> Message-ID: -----Urspr?ngliche Nachricht----- >Von: Jonathan Aquilina [mailto:eagles051387 at gmail.com] >Gesendet: Dienstag, 19. Juli 2011 09:23 >An: nagios-users at lists.sourceforge.net >Betreff: [Nagios-users] few questions that I cant find any info on >Hey guys first time poster to the list, but I have been using this great >program for a few weeks now, I have a few questions >1) I have been requested to work with some scripts and the first one im >workign with is for the CISCO ACE 4700 Load balancer. > >i have the command defined in nagios ql command definitions. the command >i am passing is as follows > >$USER1$/cisco_ace_failover -H PRIMARY IP -P SECONDARY IP -C $ARG1$ > >where $ARG1$ i am passing the variable i created for each hosts snmp >community that its a part of. > >When i set this command to active I get the following. > >Service check command COMMAND NAME specified in service SERVICE NAME for >host HOST NAME not defined anywhere. > >Where should I define the command. > >2) I noticed there is a check called check_local_mrtgtraf can that check >be adapted for remote hosts to check and monitor bandwidth on a CISCO >ASA and ACE device. Also is it feasible to do hourly daily weekly >monthly and yearly checks on bandwidth usage. >Last question >3) i have a check which monitors ram usage, how do I specify a range >that will trigger a warning then once it goes above that range it goes >critical. Currently I am doing this using an snmp check. Hello, I will try to answer questions 1 and 3: 1) What's your complete command definition? Make sure you don't mix up command_name and command_line in your configuration. Use the value defined for command_name in your service definition. 3) What tells you the "--help" switch of the plugin? Usually "-w" (warning) and "-c" (critical) switches are used. Marcel ------------------------------------------------------------------------------ Magic Quadrant for Content-Aware Data Loss Prevention Research study explores the data loss prevention market. Includes in-depth analysis on the changes within the DLP market, and the criteria used to evaluate the strengths and weaknesses of these DLP solutions. http://www.accelacomm.com/jaw/sfnl/114/51385063/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bmunger at edison.edu Tue Jul 19 15:46:04 2011 From: bmunger at edison.edu (Brandon Munger) Date: Tue, 19 Jul 2011 09:46:04 -0400 Subject: Problem with contact groups Message-ID: <4E258A9C.9060600@edison.edu> Nagios-Users, I'm having some difficulty figuring out where this problem is occurring. I have hosts defined that inherit various templates but for some reason, I cannot define a contact group to the hosts. It appears that it pulls the admins contact group from the template, and when notifications are sent, it doesn't look at what the host contact group value is. I had thought that any host options would override the template defaults, but it seems to not be the case. I would like to have the admins defined in the templates for when I do not define a contact group on a specific host. Is there anything else I should look at? Thank you. -- Brandon Munger Unix Administrator Edison State College (239)985-8362 x1862 Please note: Due to Florida's broad open records law, most written communication to or from College employees is public record, available to the public and the media upon request. Therefore, this e-mail communication may be subject to public disclosure. You are the Key to Information Security: http://www.edison.edu/technology/security/ ------------------------------------------------------------------------------ Magic Quadrant for Content-Aware Data Loss Prevention Research study explores the data loss prevention market. Includes in-depth analysis on the changes within the DLP market, and the criteria used to evaluate the strengths and weaknesses of these DLP solutions. http://www.accelacomm.com/jaw/sfnl/114/51385063/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From w.muriithi at syncapse.com Tue Jul 19 16:55:34 2011 From: w.muriithi at syncapse.com (William Muriithi) Date: Tue, 19 Jul 2011 09:55:34 -0500 Subject: Installing nagios In-Reply-To: References: Message-ID: Ibrahim, Try http://myip/nagios3 Regards, William Muriithi Syncapse System Administrator Direct Line: +1.416.593.3773 ext 1999 Mobile: +1.416.912.9579 Toronto ? New York ? London ? Portland syncapse.com Syncapse Raises $25 Million in Series A Round. Read the story on Mashable: http://tlk.tc/1Fz Download Syncapse?s latest white paper ?Increasing Campaign Effectiveness with Social Media?: http://tlk.tc/HL0 Syncapse is hiring! Contact me for a referral: http://tlk.tc/c90 This email may contain confidential information. It is intended only for the use of the person(s) named above. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or duplication of this communication is strictly prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message. From: ?brahim Ercan > Reply-To: Nagios Users List > Date: Sat, 16 Jul 2011 03:50:04 -0500 To: "nagios-users at lists.sourceforge.net" > Subject: [Nagios-users] Installing nagios Hi, I just meet with naigos and I need to install it by rpm packages. I made a search and found a way from that page http://docs.cslabs.clarkson.edu/wiki/Install_Nagios_on_CentOS_5 I did everything he says and I didn't get any error but when I go http://myip/nagios I see that messages on the screen Not Found The requested URL /nagios was not found on this server. ________________________________ Apache/2.2.3 (CentOS) Server at 91.93.128.197 Port 80 This is "uname -a" command output Linux nms 2.6.18-238.el5 #1 SMP Thu Jan 13 15:51:15 EST 2011 x86_64 x86_64 x86_64 GNU/Linux Thank you for any help... -- ?brahim Ercan -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Magic Quadrant for Content-Aware Data Loss Prevention Research study explores the data loss prevention market. Includes in-depth analysis on the changes within the DLP market, and the criteria used to evaluate the strengths and weaknesses of these DLP solutions. http://www.accelacomm.com/jaw/sfnl/114/51385063/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ck at claudiokuenzler.com Tue Jul 19 17:05:40 2011 From: ck at claudiokuenzler.com (Claudio Kuenzler) Date: Tue, 19 Jul 2011 17:05:40 +0200 Subject: Macro values don't seem to be consistent In-Reply-To: References: <1307556978.1873.433.camel@jimsworktop> <20110711105021.21345aavu5in20fk@www.cnysupport.com> Message-ID: A manual correction in retention.dat didn't work - from somewhere the wrong alias entries came back. I still don't know from where though. After deleting the retention.dat file and restarting Nagios, the correct alias values were shown and now the notifications of the affected servers are correct again. This is a dirty workaround though, as Nagios needs to recheck every server and services and looses scheduled host downtimes, acknowledged states, etc. It would be great if someone knew from where exactly the alias values came back into the retention.dat file. It can't be the host definition and neither objects.cache (as you can see in previous mails). On Tue, Jul 19, 2011 at 2:07 PM, Claudio Kuenzler wrote: > To follow up on this, I have once more this problem (this time with another > server though) and I activated debugging and started to do some deeper > research. > > This time the service 'Disk Space /' on *SERVER21* is in state warning. > The host alias for SERVER21 is SERVER21-DEVL. > The notification looks like this though: > > *Service: Disk Space /* > * * > > *Host: SERVER31-UAT* > * * > > *Address: 10.x.x.x* > * * > > *State: WARNING* > > As you see, the alias for SERVER31 was taken, instead of SERVER21. > > > Now if I take a look at *var/objects.cache* the correct alias is used: > > define host { > host_name SERVER21 > alias SERVER21-DEVL > > > If I take a look at *var/retention.dat* I see something strange: > > host { > host_name=SERVER21 > alias=SERVER31-UAT > display_name=SERVER21 > Taking a further look at retention.dat reveils, that another host took the > alias for SERVER31-UAT: > > host { > host_name=SERVER33 > alias=SERVER31-UAT > display_name=SERVER33 > > > I am sure the problem comes from here (retention.dat). But can somebody > explain, how such wrong entries are created in retention.dat ? > > > > On Mon, Jul 11, 2011 at 5:14 PM, Claudio Kuenzler wrote: > >> This particular one: >> >> define service{ >> use normal-service-trading >> host_name server14 >> service_description Service Check >> check_command check_nrpe!proxy_bs_connections >> } >> >> So there's no alias entry either. >> >> It's the very first time that this happens, and it continues. The service >> is still down (in maintenance) but Nagios continues to send the notification >> with a wrong HOSTALIAS. >> >> On Mon, Jul 11, 2011 at 4:50 PM, Terry Carmen wrote: >> >>> Quoting Claudio Kuenzler : >>> >>> > Hello, >>> > >>> > Since today I have almost the same problem as Jim. >>> > The $HOSTALIAS$ macro works fine for all the checks, except one host >>> alias >>> > is wrong. I got aware of it today. >>> > >>> > Same version as Jim's, 3.2.3, compiled from source as well. >>> > >>> > Host config: >>> > >>> > define host{ >>> > use linux-platform-demo ; Name of host >>> > template to use >>> > ; This host >>> > definition will inherit all variables that are defined >>> > ; in (or >>> inherited >>> > by) the linux-server host template definition. >>> > host_name server14 >>> > alias SERVER14-RANDOMDEMO >>> > address 192.168.0.14 >>> > } >>> > >>> >>> What does your service definition look like? >>> >>> Terry >>> >>> >>> >>> ------------------------------------------------------------------------------ >>> All of the data generated in your IT infrastructure is seriously >>> valuable. >>> Why? It contains a definitive record of application performance, security >>> threats, fraudulent activity, and more. Splunk takes this data and makes >>> sense of it. IT sense. And common sense. >>> http://p.sf.net/sfu/splunk-d2d-c2 >>> _______________________________________________ >>> Nagios-users mailing list >>> Nagios-users at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>> ::: 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 -------------- ------------------------------------------------------------------------------ Magic Quadrant for Content-Aware Data Loss Prevention Research study explores the data loss prevention market. Includes in-depth analysis on the changes within the DLP market, and the criteria used to evaluate the strengths and weaknesses of these DLP solutions. http://www.accelacomm.com/jaw/sfnl/114/51385063/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jul 19 19:05:35 2011 From: yuehung.liu at gmail.com (Yueh-Hung Liu) Date: Wed, 20 Jul 2011 01:05:35 +0800 Subject: CPU performance with Nagios 3.2.3 In-Reply-To: References: Message-ID: load is not the same as cpu usage, load is the number of queued processes in a period. maybe there are processes waiting for some events, such as I/O. 2011/7/19 Javier Gonz?lez : > Hello, > I have seen a lot peaks on the CPU LOAD of my nagios machine (See pnp4nagios > graphs on pdf document attached). > I don?t know which process/processes are the ones that use too much CPU on > that periods because the PC is only used for Nagios (And plugins used with > it) and all the plugins defined have a check_period of 1 minute and there is > a lot of periods where the load is near to 0 (so what happens every 2 hours > more or less that use so much CPU???) > I have tried to find the process that causes this behavior with the "top" > command but %Cpu idle is always (also on the peaks of the CPU LOAD) more han > 70% and no process uses more than 4% of CPU (See three examples of TOP > command where %CPU idle is always high but Load vary a lot on each case) > ****************************************************************** > top - 11:52:27 up ?9:51, ?1 user, ?load average: 0.09, 0.56, 0.62 > Tasks: 102 total, ? 1 running, 101 sleeping, ? 0 stopped, ? 0 zombie > Cpu(s): ?7.9%us, ?1.5%sy, ?0.0%ni, 88.4%id, ?1.0%wa, ?0.3%hi, ?0.8%si, > ?0.0%st > Mem: ? 2050176k total, ? 675704k used, ?1374472k free, ? 132628k buffers > Swap: ?2096472k total, ? ? ? ?0k used, ?2096472k free, ? 333384k cached > top - 13:30:05 up 11:29, ?2 users, ?load average: 1.53, 1.27, 0.83 > Tasks: 110 total, ? 3 running, 107 sleeping, ? 0 stopped, ? 0 zombie > Cpu(s): ?9.2%us, ?1.5%sy, ?0.0%ni, 88.6%id, ?0.0%wa, ?0.0%hi, ?0.7%si, > ?0.0%st > Mem: ? 2050176k total, ? 708540k used, ?1341636k free, ? 139020k buffers > Swap: ?2096472k total, ? ? ? ?0k used, ?2096472k free, ? 334668k cached > top - 13:16:39 up 1 day, 11:15, ?2 users, ?load average: 2.45, 2.03, 1.96 > Tasks: 106 total, ? 1 running, 105 sleeping, ? 0 stopped, ? 0 zombie > Cpu(s): ?7.8%us, ?1.4%sy, ?0.0%ni, 89.1%id, ?1.0%wa, ?0.2%hi, ?0.5%si, > ?0.0%st > Mem: ? 2050176k total, ? 845668k used, ?1204508k free, ? 167244k buffers > Swap: ?2096472k total, ? ? ? ?0k used, ?2096472k free, ? 351224k cached > > > > ******************************************************************** > > Is there some way to find wich process cause this high CPU LOAD ? (Which > proccess use sometimes a lot of the CPU time so queuing other processes). > Why sometimes the CPU Load is near to 0 and other times Load_1_min is near > to 4 (On the example 2,45 but there are higher values) if the processes are > always the same ??? > Thank you very much > ***************************************************************************** > Environment Description. > Intel Core 2 DUO E7500 / 2,93GHz > DDR2 2GB / 667MHz > Centos 5.5 > Nagios 3.2.3 > nagios-plugins-1.4.11 > net-snmp-5.6 > snmptt-1.3 > mklivestatus-1.1.8 > nagvis-1.5.6 > pnp4nagios-0.6.10 > ------------------------------------------------------------------------------ > Magic Quadrant for Content-Aware Data Loss Prevention > Research study explores the data loss prevention market. Includes in-depth > analysis on the changes within the DLP market, and the criteria used to > evaluate the strengths and weaknesses of these DLP solutions. > http://www.accelacomm.com/jaw/sfnl/114/51385063/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Magic Quadrant for Content-Aware Data Loss Prevention Research study explores the data loss prevention market. Includes in-depth analysis on the changes within the DLP market, and the criteria used to evaluate the strengths and weaknesses of these DLP solutions. http://www.accelacomm.com/jaw/sfnl/114/51385063/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From up at 3.am Tue Jul 19 21:35:01 2011 From: up at 3.am (up at 3.am) Date: Tue, 19 Jul 2011 15:35:01 -0400 Subject: Allowing unauthenticated access to Nagios from select hosts Message-ID: We use Nagios with normal authentication (the nagios apache config file, much like .htaccess combined with Nagios's cgi.cfg) and want to allow a few internal hosts (with RFC1918 addresses) to access nagios withOUT user authentication. These are basically large displays with no keyboard input. Doing the apache config for this was pretty straightforward: AuthType Basic Require valid-user Allow from 192.168.199.99 Satisfy any However, although the main Nagios page come up fine, one cannot access any of the Monitoring links. You get: It appears as though you do not have permission to view information for any of the services you requested Googling for docs on this, I figured the cgi.cfg was the culprit, but there does not seem to be any way in there to define hosts or IP addresses to give them unauthenticated access. We already have this: authorized_for_all_services=* authorized_for_all_hosts=* We obviously need to leave authentication/authorization enabled for all other hosts. Is there a way around this? Thanks in advance! ------------------------------------------------------------------------------ Magic Quadrant for Content-Aware Data Loss Prevention Research study explores the data loss prevention market. Includes in-depth analysis on the changes within the DLP market, and the criteria used to evaluate the strengths and weaknesses of these DLP solutions. http://www.accelacomm.com/jaw/sfnl/114/51385063/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jul 20 05:02:53 2011 From: yuehung.liu at gmail.com (Yueh-Hung Liu) Date: Wed, 20 Jul 2011 11:02:53 +0800 Subject: Allowing unauthenticated access to Nagios from select hosts In-Reply-To: References: Message-ID: try "default_user_name" in cgi.cfg On Wed, Jul 20, 2011 at 3:35 AM, wrote: > We use Nagios with normal authentication (the nagios apache config file, much like > .htaccess combined with Nagios's cgi.cfg) and want to allow a few internal hosts > (with RFC1918 addresses) to access nagios withOUT user authentication. ?These are > basically large displays with no keyboard input. > > Doing the apache config for this was pretty straightforward: > > ? AuthType Basic > ? Require valid-user > ? Allow from 192.168.199.99 > ? Satisfy any > > However, although the main Nagios page come up fine, one cannot access any of the > Monitoring links. ?You get: > > ?It appears as though you do not have permission to view information for any of > ?the services you requested > > Googling for docs on this, I figured the cgi.cfg was the culprit, but there does > not seem to be any way in there to define hosts or IP addresses to give them > unauthenticated access. ?We already have this: > > ?authorized_for_all_services=* > ?authorized_for_all_hosts=* > > We obviously need to leave authentication/authorization enabled for all other > hosts. ?Is there a way around this? > > Thanks in advance! > > ------------------------------------------------------------------------------ > Magic Quadrant for Content-Aware Data Loss Prevention > Research study explores the data loss prevention market. Includes in-depth > analysis on the changes within the DLP market, and the criteria used to > evaluate the strengths and weaknesses of these DLP solutions. > http://www.accelacomm.com/jaw/sfnl/114/51385063/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ 10 Tips for Better Web Security Learn 10 ways to better secure your business today. Topics covered include: Web security, SSL, hacker attacks & Denial of Service (DoS), private keys, security Microsoft Exchange, secure Instant Messaging, and much more. http://www.accelacomm.com/jaw/sfnl/114/51426210/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jagonzalaz at gmail.com Wed Jul 20 08:31:58 2011 From: jagonzalaz at gmail.com (=?ISO-8859-1?Q?Javier_Gonz=E1lez?=) Date: Wed, 20 Jul 2011 08:31:58 +0200 Subject: CPU performance with Nagios 3.2.3 In-Reply-To: References: Message-ID: Thank you Yueh-Hung Liu, Is it possible to discover what?s the problem with the Load, which processes take all the CPU time periodically ??? Could i do something to improve the CPU usage ? 2011/7/19 Yueh-Hung Liu > load is not the same as cpu usage, load is the number of queued > processes in a period. > maybe there are processes waiting for some events, such as I/O. > > > 2011/7/19 Javier Gonz?lez : > > Hello, > > I have seen a lot peaks on the CPU LOAD of my nagios machine (See > pnp4nagios > > graphs on pdf document attached). > > I don?t know which process/processes are the ones that use too much CPU > on > > that periods because the PC is only used for Nagios (And plugins used > with > > it) and all the plugins defined have a check_period of 1 minute and there > is > > a lot of periods where the load is near to 0 (so what happens every 2 > hours > > more or less that use so much CPU???) > > I have tried to find the process that causes this behavior with the "top" > > command but %Cpu idle is always (also on the peaks of the CPU LOAD) more > han > > 70% and no process uses more than 4% of CPU (See three examples of TOP > > command where %CPU idle is always high but Load vary a lot on each case) > > ****************************************************************** > > top - 11:52:27 up 9:51, 1 user, load average: 0.09, 0.56, 0.62 > > Tasks: 102 total, 1 running, 101 sleeping, 0 stopped, 0 zombie > > Cpu(s): 7.9%us, 1.5%sy, 0.0%ni, 88.4%id, 1.0%wa, 0.3%hi, 0.8%si, > > 0.0%st > > Mem: 2050176k total, 675704k used, 1374472k free, 132628k buffers > > Swap: 2096472k total, 0k used, 2096472k free, 333384k cached > > top - 13:30:05 up 11:29, 2 users, load average: 1.53, 1.27, 0.83 > > Tasks: 110 total, 3 running, 107 sleeping, 0 stopped, 0 zombie > > Cpu(s): 9.2%us, 1.5%sy, 0.0%ni, 88.6%id, 0.0%wa, 0.0%hi, 0.7%si, > > 0.0%st > > Mem: 2050176k total, 708540k used, 1341636k free, 139020k buffers > > Swap: 2096472k total, 0k used, 2096472k free, 334668k cached > > top - 13:16:39 up 1 day, 11:15, 2 users, load average: 2.45, 2.03, 1.96 > > Tasks: 106 total, 1 running, 105 sleeping, 0 stopped, 0 zombie > > Cpu(s): 7.8%us, 1.4%sy, 0.0%ni, 89.1%id, 1.0%wa, 0.2%hi, 0.5%si, > > 0.0%st > > Mem: 2050176k total, 845668k used, 1204508k free, 167244k buffers > > Swap: 2096472k total, 0k used, 2096472k free, 351224k cached > > > > > > > > ******************************************************************** > > > > Is there some way to find wich process cause this high CPU LOAD ? (Which > > proccess use sometimes a lot of the CPU time so queuing other processes). > > Why sometimes the CPU Load is near to 0 and other times Load_1_min is > near > > to 4 (On the example 2,45 but there are higher values) if the processes > are > > always the same ??? > > Thank you very much > > > ***************************************************************************** > > Environment Description. > > Intel Core 2 DUO E7500 / 2,93GHz > > DDR2 2GB / 667MHz > > Centos 5.5 > > Nagios 3.2.3 > > nagios-plugins-1.4.11 > > net-snmp-5.6 > > snmptt-1.3 > > mklivestatus-1.1.8 > > nagvis-1.5.6 > > pnp4nagios-0.6.10 > > > ------------------------------------------------------------------------------ > > Magic Quadrant for Content-Aware Data Loss Prevention > > Research study explores the data loss prevention market. Includes > in-depth > > analysis on the changes within the DLP market, and the criteria used to > > evaluate the strengths and weaknesses of these DLP solutions. > > http://www.accelacomm.com/jaw/sfnl/114/51385063/ > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > reporting > > any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > > ------------------------------------------------------------------------------ > Magic Quadrant for Content-Aware Data Loss Prevention > Research study explores the data loss prevention market. Includes in-depth > analysis on the changes within the DLP market, and the criteria used to > evaluate the strengths and weaknesses of these DLP solutions. > http://www.accelacomm.com/jaw/sfnl/114/51385063/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ 10 Tips for Better Web Security Learn 10 ways to better secure your business today. Topics covered include: Web security, SSL, hacker attacks & Denial of Service (DoS), private keys, security Microsoft Exchange, secure Instant Messaging, and much more. http://www.accelacomm.com/jaw/sfnl/114/51426210/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jul 20 09:46:51 2011 From: yuehung.liu at gmail.com (Yueh-Hung Liu) Date: Wed, 20 Jul 2011 15:46:51 +0800 Subject: CPU performance with Nagios 3.2.3 In-Reply-To: References: Message-ID: maybe you can check out the cron table to see what are running periodically. but i think the load is no problem, unless the value remains very high for a long time. 2011/7/20 Javier Gonz?lez : > Thank you?Yueh-Hung Liu, > Is it possible to discover what?s the problem with the Load, which processes > take all the CPU time periodically ??? > Could i do something to improve the CPU usage ? > > 2011/7/19 Yueh-Hung Liu >> >> load is not the same as cpu usage, load is the number of queued >> processes in a period. >> maybe there are processes waiting for some events, such as I/O. >> >> >> 2011/7/19 Javier Gonz?lez : >> > Hello, >> > I have seen a lot peaks on the CPU LOAD of my nagios machine (See >> > pnp4nagios >> > graphs on pdf document attached). >> > I don?t know which process/processes are the ones that use too much CPU >> > on >> > that periods because the PC is only used for Nagios (And plugins used >> > with >> > it) and all the plugins defined have a check_period of 1 minute and >> > there is >> > a lot of periods where the load is near to 0 (so what happens every 2 >> > hours >> > more or less that use so much CPU???) >> > I have tried to find the process that causes this behavior with the >> > "top" >> > command but %Cpu idle is always (also on the peaks of the CPU LOAD) more >> > han >> > 70% and no process uses more than 4% of CPU (See three examples of TOP >> > command where %CPU idle is always high but Load vary a lot on each case) >> > ****************************************************************** >> > top - 11:52:27 up ?9:51, ?1 user, ?load average: 0.09, 0.56, 0.62 >> > Tasks: 102 total, ? 1 running, 101 sleeping, ? 0 stopped, ? 0 zombie >> > Cpu(s): ?7.9%us, ?1.5%sy, ?0.0%ni, 88.4%id, ?1.0%wa, ?0.3%hi, ?0.8%si, >> > ?0.0%st >> > Mem: ? 2050176k total, ? 675704k used, ?1374472k free, ? 132628k buffers >> > Swap: ?2096472k total, ? ? ? ?0k used, ?2096472k free, ? 333384k cached >> > top - 13:30:05 up 11:29, ?2 users, ?load average: 1.53, 1.27, 0.83 >> > Tasks: 110 total, ? 3 running, 107 sleeping, ? 0 stopped, ? 0 zombie >> > Cpu(s): ?9.2%us, ?1.5%sy, ?0.0%ni, 88.6%id, ?0.0%wa, ?0.0%hi, ?0.7%si, >> > ?0.0%st >> > Mem: ? 2050176k total, ? 708540k used, ?1341636k free, ? 139020k buffers >> > Swap: ?2096472k total, ? ? ? ?0k used, ?2096472k free, ? 334668k cached >> > top - 13:16:39 up 1 day, 11:15, ?2 users, ?load average: 2.45, 2.03, >> > 1.96 >> > Tasks: 106 total, ? 1 running, 105 sleeping, ? 0 stopped, ? 0 zombie >> > Cpu(s): ?7.8%us, ?1.4%sy, ?0.0%ni, 89.1%id, ?1.0%wa, ?0.2%hi, ?0.5%si, >> > ?0.0%st >> > Mem: ? 2050176k total, ? 845668k used, ?1204508k free, ? 167244k buffers >> > Swap: ?2096472k total, ? ? ? ?0k used, ?2096472k free, ? 351224k cached >> > >> > >> > >> > ******************************************************************** >> > >> > Is there some way to find wich process cause this high CPU LOAD ? (Which >> > proccess use sometimes a lot of the CPU time so queuing other >> > processes). >> > Why sometimes the CPU Load is near to 0 and other times Load_1_min is >> > near >> > to 4 (On the example 2,45 but there are higher values) if the processes >> > are >> > always the same ??? >> > Thank you very much >> > >> > ***************************************************************************** >> > Environment Description. >> > Intel Core 2 DUO E7500 / 2,93GHz >> > DDR2 2GB / 667MHz >> > Centos 5.5 >> > Nagios 3.2.3 >> > nagios-plugins-1.4.11 >> > net-snmp-5.6 >> > snmptt-1.3 >> > mklivestatus-1.1.8 >> > nagvis-1.5.6 >> > pnp4nagios-0.6.10 >> > >> > ------------------------------------------------------------------------------ >> > Magic Quadrant for Content-Aware Data Loss Prevention >> > Research study explores the data loss prevention market. Includes >> > in-depth >> > analysis on the changes within the DLP market, and the criteria used to >> > evaluate the strengths and weaknesses of these DLP solutions. >> > http://www.accelacomm.com/jaw/sfnl/114/51385063/ >> > _______________________________________________ >> > Nagios-users mailing list >> > Nagios-users at lists.sourceforge.net >> > https://lists.sourceforge.net/lists/listinfo/nagios-users >> > ::: Please include Nagios version, plugin version (-v) and OS when >> > reporting >> > any issue. >> > ::: Messages without supporting info will risk being sent to /dev/null >> > >> >> >> ------------------------------------------------------------------------------ >> Magic Quadrant for Content-Aware Data Loss Prevention >> Research study explores the data loss prevention market. Includes in-depth >> analysis on the changes within the DLP market, and the criteria used to >> evaluate the strengths and weaknesses of these DLP solutions. >> http://www.accelacomm.com/jaw/sfnl/114/51385063/ >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null > > > ------------------------------------------------------------------------------ > 10 Tips for Better Web Security > Learn 10 ways to better secure your business today. Topics covered include: > Web security, SSL, hacker attacks & Denial of Service (DoS), private keys, > security Microsoft Exchange, secure Instant Messaging, and much more. > http://www.accelacomm.com/jaw/sfnl/114/51426210/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ 10 Tips for Better Web Security Learn 10 ways to better secure your business today. Topics covered include: Web security, SSL, hacker attacks & Denial of Service (DoS), private keys, security Microsoft Exchange, secure Instant Messaging, and much more. http://www.accelacomm.com/jaw/sfnl/114/51426210/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jagonzalaz at gmail.com Wed Jul 20 09:58:18 2011 From: jagonzalaz at gmail.com (=?ISO-8859-1?Q?Javier_Gonz=E1lez?=) Date: Wed, 20 Jul 2011 09:58:18 +0200 Subject: CPU performance with Nagios 3.2.3 In-Reply-To: References: Message-ID: Thanks 2011/7/20 Yueh-Hung Liu > maybe you can check out the cron table to see what are running > periodically. > but i think the load is no problem, unless the value remains very high > for a long time. > > > 2011/7/20 Javier Gonz?lez : > > Thank you Yueh-Hung Liu, > > Is it possible to discover what?s the problem with the Load, which > processes > > take all the CPU time periodically ??? > > Could i do something to improve the CPU usage ? > > > > 2011/7/19 Yueh-Hung Liu > >> > >> load is not the same as cpu usage, load is the number of queued > >> processes in a period. > >> maybe there are processes waiting for some events, such as I/O. > >> > >> > >> 2011/7/19 Javier Gonz?lez : > >> > Hello, > >> > I have seen a lot peaks on the CPU LOAD of my nagios machine (See > >> > pnp4nagios > >> > graphs on pdf document attached). > >> > I don?t know which process/processes are the ones that use too much > CPU > >> > on > >> > that periods because the PC is only used for Nagios (And plugins used > >> > with > >> > it) and all the plugins defined have a check_period of 1 minute and > >> > there is > >> > a lot of periods where the load is near to 0 (so what happens every 2 > >> > hours > >> > more or less that use so much CPU???) > >> > I have tried to find the process that causes this behavior with the > >> > "top" > >> > command but %Cpu idle is always (also on the peaks of the CPU LOAD) > more > >> > han > >> > 70% and no process uses more than 4% of CPU (See three examples of TOP > >> > command where %CPU idle is always high but Load vary a lot on each > case) > >> > ****************************************************************** > >> > top - 11:52:27 up 9:51, 1 user, load average: 0.09, 0.56, 0.62 > >> > Tasks: 102 total, 1 running, 101 sleeping, 0 stopped, 0 zombie > >> > Cpu(s): 7.9%us, 1.5%sy, 0.0%ni, 88.4%id, 1.0%wa, 0.3%hi, 0.8%si, > >> > 0.0%st > >> > Mem: 2050176k total, 675704k used, 1374472k free, 132628k > buffers > >> > Swap: 2096472k total, 0k used, 2096472k free, 333384k > cached > >> > top - 13:30:05 up 11:29, 2 users, load average: 1.53, 1.27, 0.83 > >> > Tasks: 110 total, 3 running, 107 sleeping, 0 stopped, 0 zombie > >> > Cpu(s): 9.2%us, 1.5%sy, 0.0%ni, 88.6%id, 0.0%wa, 0.0%hi, 0.7%si, > >> > 0.0%st > >> > Mem: 2050176k total, 708540k used, 1341636k free, 139020k > buffers > >> > Swap: 2096472k total, 0k used, 2096472k free, 334668k > cached > >> > top - 13:16:39 up 1 day, 11:15, 2 users, load average: 2.45, 2.03, > >> > 1.96 > >> > Tasks: 106 total, 1 running, 105 sleeping, 0 stopped, 0 zombie > >> > Cpu(s): 7.8%us, 1.4%sy, 0.0%ni, 89.1%id, 1.0%wa, 0.2%hi, 0.5%si, > >> > 0.0%st > >> > Mem: 2050176k total, 845668k used, 1204508k free, 167244k > buffers > >> > Swap: 2096472k total, 0k used, 2096472k free, 351224k > cached > >> > > >> > > >> > > >> > ******************************************************************** > >> > > >> > Is there some way to find wich process cause this high CPU LOAD ? > (Which > >> > proccess use sometimes a lot of the CPU time so queuing other > >> > processes). > >> > Why sometimes the CPU Load is near to 0 and other times Load_1_min is > >> > near > >> > to 4 (On the example 2,45 but there are higher values) if the > processes > >> > are > >> > always the same ??? > >> > Thank you very much > >> > > >> > > ***************************************************************************** > >> > Environment Description. > >> > Intel Core 2 DUO E7500 / 2,93GHz > >> > DDR2 2GB / 667MHz > >> > Centos 5.5 > >> > Nagios 3.2.3 > >> > nagios-plugins-1.4.11 > >> > net-snmp-5.6 > >> > snmptt-1.3 > >> > mklivestatus-1.1.8 > >> > nagvis-1.5.6 > >> > pnp4nagios-0.6.10 > >> > > >> > > ------------------------------------------------------------------------------ > >> > Magic Quadrant for Content-Aware Data Loss Prevention > >> > Research study explores the data loss prevention market. Includes > >> > in-depth > >> > analysis on the changes within the DLP market, and the criteria used > to > >> > evaluate the strengths and weaknesses of these DLP solutions. > >> > http://www.accelacomm.com/jaw/sfnl/114/51385063/ > >> > _______________________________________________ > >> > Nagios-users mailing list > >> > Nagios-users at lists.sourceforge.net > >> > https://lists.sourceforge.net/lists/listinfo/nagios-users > >> > ::: Please include Nagios version, plugin version (-v) and OS when > >> > reporting > >> > any issue. > >> > ::: Messages without supporting info will risk being sent to /dev/null > >> > > >> > >> > >> > ------------------------------------------------------------------------------ > >> Magic Quadrant for Content-Aware Data Loss Prevention > >> Research study explores the data loss prevention market. Includes > in-depth > >> analysis on the changes within the DLP market, and the criteria used to > >> evaluate the strengths and weaknesses of these DLP solutions. > >> http://www.accelacomm.com/jaw/sfnl/114/51385063/ > >> _______________________________________________ > >> Nagios-users mailing list > >> Nagios-users at lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/nagios-users > >> ::: Please include Nagios version, plugin version (-v) and OS when > >> reporting any issue. > >> ::: Messages without supporting info will risk being sent to /dev/null > > > > > > > ------------------------------------------------------------------------------ > > 10 Tips for Better Web Security > > Learn 10 ways to better secure your business today. Topics covered > include: > > Web security, SSL, hacker attacks & Denial of Service (DoS), private > keys, > > security Microsoft Exchange, secure Instant Messaging, and much more. > > http://www.accelacomm.com/jaw/sfnl/114/51426210/ > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > reporting > > any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > > ------------------------------------------------------------------------------ > 10 Tips for Better Web Security > Learn 10 ways to better secure your business today. Topics covered include: > Web security, SSL, hacker attacks & Denial of Service (DoS), private keys, > security Microsoft Exchange, secure Instant Messaging, and much more. > http://www.accelacomm.com/jaw/sfnl/114/51426210/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ 10 Tips for Better Web Security Learn 10 ways to better secure your business today. Topics covered include: Web security, SSL, hacker attacks & Denial of Service (DoS), private keys, security Microsoft Exchange, secure Instant Messaging, and much more. http://www.accelacomm.com/jaw/sfnl/114/51426210/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From eagles051387 at gmail.com Wed Jul 20 10:32:44 2011 From: eagles051387 at gmail.com (Jonathan Aquilina) Date: Wed, 20 Jul 2011 10:32:44 +0200 Subject: few questions that I cant find any info on In-Reply-To: References: <4E2530E4.6000209@gmail.com> Message-ID: <4E2692AC.7060303@gmail.com> Marcel I am defining the command with the -H switch using the primary load balancer ip and the -P with the 2ndary one. The man page on the nagios exchange is extremely vague. http://exchange.nagios.org/directory/Plugins/Uncategorized/software/SNMP/Cisco-ACE-4700-Loadbalancer-failover-state-Check/details On 19/07/2011 15:23, Marcel Galke - Trans4mation IT GmbH wrote: > -----Urspr?ngliche Nachricht----- >> Von: Jonathan Aquilina [mailto:eagles051387 at gmail.com] >> Gesendet: Dienstag, 19. Juli 2011 09:23 >> An: nagios-users at lists.sourceforge.net >> Betreff: [Nagios-users] few questions that I cant find any info on >> Hey guys first time poster to the list, but I have been using this great >> program for a few weeks now, I have a few questions >> 1) I have been requested to work with some scripts and the first one im >> workign with is for the CISCO ACE 4700 Load balancer. >> >> i have the command defined in nagios ql command definitions. the command >> i am passing is as follows >> >> $USER1$/cisco_ace_failover -H PRIMARY IP -P SECONDARY IP -C $ARG1$ >> >> where $ARG1$ i am passing the variable i created for each hosts snmp >> community that its a part of. >> >> When i set this command to active I get the following. >> >> Service check command COMMAND NAME specified in service SERVICE NAME for >> host HOST NAME not defined anywhere. >> >> Where should I define the command. >> >> 2) I noticed there is a check called check_local_mrtgtraf can that check >> be adapted for remote hosts to check and monitor bandwidth on a CISCO >> ASA and ACE device. Also is it feasible to do hourly daily weekly >> monthly and yearly checks on bandwidth usage. >> Last question >> 3) i have a check which monitors ram usage, how do I specify a range >> that will trigger a warning then once it goes above that range it goes >> critical. Currently I am doing this using an snmp check. > > Hello, > > I will try to answer questions 1 and 3: > > 1) What's your complete command definition? Make sure you don't mix up command_name and command_line in your configuration. Use the value defined for command_name in your service definition. > 3) What tells you the "--help" switch of the plugin? Usually "-w" (warning) and "-c" (critical) switches are used. > > > Marcel > > ------------------------------------------------------------------------------ > Magic Quadrant for Content-Aware Data Loss Prevention > Research study explores the data loss prevention market. Includes in-depth > analysis on the changes within the DLP market, and the criteria used to > evaluate the strengths and weaknesses of these DLP solutions. > http://www.accelacomm.com/jaw/sfnl/114/51385063/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ 10 Tips for Better Web Security Learn 10 ways to better secure your business today. Topics covered include: Web security, SSL, hacker attacks & Denial of Service (DoS), private keys, security Microsoft Exchange, secure Instant Messaging, and much more. http://www.accelacomm.com/jaw/sfnl/114/51426210/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From serajddin.mahmoud at gmail.com Wed Jul 20 11:47:34 2011 From: serajddin.mahmoud at gmail.com (=?UTF-8?B?2LnYqNivINin2YTYrdmF2YrYryA=?=) Date: Wed, 20 Jul 2011 09:47:34 +0000 Subject: scanning network Message-ID: Hi, is there possibility to act on database to add new hosts and services to monitor them without adding their configurations ? other question: i use netdiscover to scan network whitch i want to monitor so i have to extract ip adresses to store them in a database and by then to file system nagios any help? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ 10 Tips for Better Web Security Learn 10 ways to better secure your business today. Topics covered include: Web security, SSL, hacker attacks & Denial of Service (DoS), private keys, security Microsoft Exchange, secure Instant Messaging, and much more. http://www.accelacomm.com/jaw/sfnl/114/51426210/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Marcel.Galke at trans4mation.de Wed Jul 20 11:46:56 2011 From: Marcel.Galke at trans4mation.de (Marcel Galke - Trans4mation IT GmbH) Date: Wed, 20 Jul 2011 11:46:56 +0200 Subject: few questions that I can't find any info on Message-ID: Have you tried running the plugin from the command line? $user1/check_ace_failover -H -P -C Can you post the service definition and the corresponding command definition please. -----Urspr?ngliche Nachricht----- Von: Jonathan Aquilina [mailto:eagles051387 at gmail.com] Gesendet: Mittwoch, 20. Juli 2011 10:33 An: nagios-users at lists.sourceforge.net Betreff: Re: [Nagios-users] few questions that I cant find any info on Marcel I am defining the command with the -H switch using the primary load balancer ip and the -P with the 2ndary one. The man page on the nagios exchange is extremely vague. http://exchange.nagios.org/directory/Plugins/Uncategorized/software/SNMP/Cisco-ACE-4700-Loadbalancer-failover-state-Check/details On 19/07/2011 15:23, Marcel Galke - Trans4mation IT GmbH wrote: > -----Urspr?ngliche Nachricht----- >> Von: Jonathan Aquilina [mailto:eagles051387 at gmail.com] >> Gesendet: Dienstag, 19. Juli 2011 09:23 >> An: nagios-users at lists.sourceforge.net >> Betreff: [Nagios-users] few questions that I cant find any info on >> Hey guys first time poster to the list, but I have been using this great >> program for a few weeks now, I have a few questions >> 1) I have been requested to work with some scripts and the first one im >> workign with is for the CISCO ACE 4700 Load balancer. >> >> i have the command defined in nagios ql command definitions. the command >> i am passing is as follows >> >> $USER1$/cisco_ace_failover -H PRIMARY IP -P SECONDARY IP -C $ARG1$ >> >> where $ARG1$ i am passing the variable i created for each hosts snmp >> community that its a part of. >> >> When i set this command to active I get the following. >> >> Service check command COMMAND NAME specified in service SERVICE NAME for >> host HOST NAME not defined anywhere. >> >> Where should I define the command. >> >> 2) I noticed there is a check called check_local_mrtgtraf can that check >> be adapted for remote hosts to check and monitor bandwidth on a CISCO >> ASA and ACE device. Also is it feasible to do hourly daily weekly >> monthly and yearly checks on bandwidth usage. >> Last question >> 3) i have a check which monitors ram usage, how do I specify a range >> that will trigger a warning then once it goes above that range it goes >> critical. Currently I am doing this using an snmp check. > > Hello, > > I will try to answer questions 1 and 3: > > 1) What's your complete command definition? Make sure you don't mix up command_name and command_line in your configuration. Use the value defined for command_name in your service definition. > 3) What tells you the "--help" switch of the plugin? Usually "-w" (warning) and "-c" (critical) switches are used. > > > Marcel > > ------------------------------------------------------------------------------ > Magic Quadrant for Content-Aware Data Loss Prevention > Research study explores the data loss prevention market. Includes in-depth > analysis on the changes within the DLP market, and the criteria used to > evaluate the strengths and weaknesses of these DLP solutions. > http://www.accelacomm.com/jaw/sfnl/114/51385063/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ 10 Tips for Better Web Security Learn 10 ways to better secure your business today. Topics covered include: Web security, SSL, hacker attacks & Denial of Service (DoS), private keys, security Microsoft Exchange, secure Instant Messaging, and much more. http://www.accelacomm.com/jaw/sfnl/114/51426210/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ 10 Tips for Better Web Security Learn 10 ways to better secure your business today. Topics covered include: Web security, SSL, hacker attacks & Denial of Service (DoS), private keys, security Microsoft Exchange, secure Instant Messaging, and much more. http://www.accelacomm.com/jaw/sfnl/114/51426210/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From eagles051387 at gmail.com Wed Jul 20 11:55:01 2011 From: eagles051387 at gmail.com (Jonathan Aquilina) Date: Wed, 20 Jul 2011 11:55:01 +0200 Subject: few questions that I can't find any info on In-Reply-To: References: Message-ID: <4E26A5F5.3000400@gmail.com> I tried from commandline and it failed as well. :( My question is more along the line this hostname = Primary loadbalancer ip? or ip of client peer = ip of 2ndary balancer? $USER1$/cisco_ace_failover -H 192.168.2.224 -P 192.168.2.225 -C $ARG1$ -t 30 Where arg1 = variable i created for the clients various snmp communities. On 20/07/2011 11:46, Marcel Galke - Trans4mation IT GmbH wrote: > Have you tried running the plugin from the command line? $user1/check_ace_failover -H -P -C > > Can you post the service definition and the corresponding command definition please. > > > -----Urspr?ngliche Nachricht----- > Von: Jonathan Aquilina [mailto:eagles051387 at gmail.com] > Gesendet: Mittwoch, 20. Juli 2011 10:33 > An: nagios-users at lists.sourceforge.net > Betreff: Re: [Nagios-users] few questions that I cant find any info on > > Marcel I am defining the command with the -H switch using the primary > load balancer ip and the -P with the 2ndary one. The man page on the > nagios exchange is extremely vague. > > http://exchange.nagios.org/directory/Plugins/Uncategorized/software/SNMP/Cisco-ACE-4700-Loadbalancer-failover-state-Check/details > > On 19/07/2011 15:23, Marcel Galke - Trans4mation IT GmbH wrote: >> -----Urspr?ngliche Nachricht----- >>> Von: Jonathan Aquilina [mailto:eagles051387 at gmail.com] >>> Gesendet: Dienstag, 19. Juli 2011 09:23 >>> An: nagios-users at lists.sourceforge.net >>> Betreff: [Nagios-users] few questions that I cant find any info on >>> Hey guys first time poster to the list, but I have been using this great >>> program for a few weeks now, I have a few questions >>> 1) I have been requested to work with some scripts and the first one im >>> workign with is for the CISCO ACE 4700 Load balancer. >>> >>> i have the command defined in nagios ql command definitions. the command >>> i am passing is as follows >>> >>> $USER1$/cisco_ace_failover -H PRIMARY IP -P SECONDARY IP -C $ARG1$ >>> >>> where $ARG1$ i am passing the variable i created for each hosts snmp >>> community that its a part of. >>> >>> When i set this command to active I get the following. >>> >>> Service check command COMMAND NAME specified in service SERVICE NAME for >>> host HOST NAME not defined anywhere. >>> >>> Where should I define the command. >>> >>> 2) I noticed there is a check called check_local_mrtgtraf can that check >>> be adapted for remote hosts to check and monitor bandwidth on a CISCO >>> ASA and ACE device. Also is it feasible to do hourly daily weekly >>> monthly and yearly checks on bandwidth usage. >>> Last question >>> 3) i have a check which monitors ram usage, how do I specify a range >>> that will trigger a warning then once it goes above that range it goes >>> critical. Currently I am doing this using an snmp check. >> Hello, >> >> I will try to answer questions 1 and 3: >> >> 1) What's your complete command definition? Make sure you don't mix up command_name and command_line in your configuration. Use the value defined for command_name in your service definition. >> 3) What tells you the "--help" switch of the plugin? Usually "-w" (warning) and "-c" (critical) switches are used. >> >> >> Marcel >> >> ------------------------------------------------------------------------------ >> Magic Quadrant for Content-Aware Data Loss Prevention >> Research study explores the data loss prevention market. Includes in-depth >> analysis on the changes within the DLP market, and the criteria used to >> evaluate the strengths and weaknesses of these DLP solutions. >> http://www.accelacomm.com/jaw/sfnl/114/51385063/ >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------------------------------ > 10 Tips for Better Web Security > Learn 10 ways to better secure your business today. Topics covered include: > Web security, SSL, hacker attacks& Denial of Service (DoS), private keys, > security Microsoft Exchange, secure Instant Messaging, and much more. > http://www.accelacomm.com/jaw/sfnl/114/51426210/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------------------------------ > 10 Tips for Better Web Security > Learn 10 ways to better secure your business today. Topics covered include: > Web security, SSL, hacker attacks& Denial of Service (DoS), private keys, > security Microsoft Exchange, secure Instant Messaging, and much more. > http://www.accelacomm.com/jaw/sfnl/114/51426210/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ 10 Tips for Better Web Security Learn 10 ways to better secure your business today. Topics covered include: Web security, SSL, hacker attacks & Denial of Service (DoS), private keys, security Microsoft Exchange, secure Instant Messaging, and much more. http://www.accelacomm.com/jaw/sfnl/114/51426210/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Marcel.Galke at trans4mation.de Wed Jul 20 13:59:26 2011 From: Marcel.Galke at trans4mation.de (Marcel Galke - Trans4mation IT GmbH) Date: Wed, 20 Jul 2011 13:59:26 +0200 Subject: few questions that I can't find any info on In-Reply-To: <4E26A5F5.3000400@gmail.com> References: <4E26A5F5.3000400@gmail.com> Message-ID: I've never seen a CISCO ACE yet. If you're sure file permissions and config files are set up correct, try out different values for the -H and -P switches. On the command line you can't use the Nagios macros like $ARG1$ and $USER1$ off course. >-----Original Message----- >From: Jonathan Aquilina [mailto:eagles051387 at gmail.com] >Sent: Wednesday, July 20, 2011 11:55 AM >To: nagios-users at lists.sourceforge.net >Subject: Re: [Nagios-users] few questions that I can't find any info on > >I tried from commandline and it failed as well. :( > >My question is more along the line this > >hostname = Primary loadbalancer ip? or ip of client >peer = ip of 2ndary balancer? > >$USER1$/cisco_ace_failover -H 192.168.2.224 -P 192.168.2.225 -C $ARG1$ -t 30 > >Where arg1 = variable i created for the clients various snmp communities. > >On 20/07/2011 11:46, Marcel Galke - Trans4mation IT GmbH wrote: > Have you tried running the plugin from the command line? $user1/check_ace_failover -H -P -C > > Can you post the service definition and the corresponding command definition please. ------------------------------------------------------------------------------ 10 Tips for Better Web Security Learn 10 ways to better secure your business today. Topics covered include: Web security, SSL, hacker attacks & Denial of Service (DoS), private keys, security Microsoft Exchange, secure Instant Messaging, and much more. http://www.accelacomm.com/jaw/sfnl/114/51426210/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stanislas.leveau at ac-caen.fr Wed Jul 20 14:02:42 2011 From: stanislas.leveau at ac-caen.fr (LEVEAU Stanislas) Date: Wed, 20 Jul 2011 14:02:42 +0200 Subject: scanning network In-Reply-To: References: Message-ID: <4E26C3E2.7040507@ac-caen.fr> Hi Netdiscover : It is possible with this script and nmap. The french documentation : http://blog.nicolargo.com/2010/11/utiliser-nmap-pour-generer-vos-fichiers-de-configuration-nagios.html Regards Stan Le 20/07/2011 11:47, ??? ?????? a ?crit : > Hi, > > is there possibility to act on database to add new hosts and services > to monitor them without adding their configurations ? > > other question: i use netdiscover to scan network whitch i want to > monitor so i have to extract ip adresses to store them in a database > and by then to file system nagios > > any help? > > > ------------------------------------------------------------------------------ > 10 Tips for Better Web Security > Learn 10 ways to better secure your business today. Topics covered include: > Web security, SSL, hacker attacks& Denial of Service (DoS), private keys, > security Microsoft Exchange, secure Instant Messaging, and much more. > http://www.accelacomm.com/jaw/sfnl/114/51426210/ > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- *Stanislas LEVEAU** *Rectorat de Caen 168, rue Caponi?re B.P. 6184 14061 CAEN Cedex Service Informatique de l'Acad?mie de Caen D?partement Syst?mes & R?seaux stanislas.leveau at ac-caen.fr Tel : 02.31.30.17.86 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ 10 Tips for Better Web Security Learn 10 ways to better secure your business today. Topics covered include: Web security, SSL, hacker attacks & Denial of Service (DoS), private keys, security Microsoft Exchange, secure Instant Messaging, and much more. http://www.accelacomm.com/jaw/sfnl/114/51426210/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From eagles051387 at gmail.com Wed Jul 20 14:06:54 2011 From: eagles051387 at gmail.com (Jonathan Aquilina) Date: Wed, 20 Jul 2011 14:06:54 +0200 Subject: few questions that I can't find any info on In-Reply-To: References: <4E26A5F5.3000400@gmail.com> Message-ID: I have been trying on command line but it times out for me with various values On Jul 20, 2011 2:04 PM, "Marcel Galke - Trans4mation IT GmbH" < Marcel.Galke at trans4mation.de> wrote: > I've never seen a CISCO ACE yet. If you're sure file permissions and config files are set up correct, try out different values for the -H and -P switches. On the command line you can't use the Nagios macros like $ARG1$ and $USER1$ off course. > >>-----Original Message----- >>From: Jonathan Aquilina [mailto:eagles051387 at gmail.com] >>Sent: Wednesday, July 20, 2011 11:55 AM >>To: nagios-users at lists.sourceforge.net >>Subject: Re: [Nagios-users] few questions that I can't find any info on >> >>I tried from commandline and it failed as well. :( >> >>My question is more along the line this >> >>hostname = Primary loadbalancer ip? or ip of client >>peer = ip of 2ndary balancer? >> >>$USER1$/cisco_ace_failover -H 192.168.2.224 -P 192.168.2.225 -C $ARG1$ -t 30 >> >>Where arg1 = variable i created for the clients various snmp communities. >> >>On 20/07/2011 11:46, Marcel Galke - Trans4mation IT GmbH wrote: >> Have you tried running the plugin from the command line? $user1/check_ace_failover -H -P -C >> >> Can you post the service definition and the corresponding command definition please. > > > ------------------------------------------------------------------------------ > 10 Tips for Better Web Security > Learn 10 ways to better secure your business today. Topics covered include: > Web security, SSL, hacker attacks & Denial of Service (DoS), private keys, > security Microsoft Exchange, secure Instant Messaging, and much more. > http://www.accelacomm.com/jaw/sfnl/114/51426210/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ 10 Tips for Better Web Security Learn 10 ways to better secure your business today. Topics covered include: Web security, SSL, hacker attacks & Denial of Service (DoS), private keys, security Microsoft Exchange, secure Instant Messaging, and much more. http://www.accelacomm.com/jaw/sfnl/114/51426210/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From up at 3.am Wed Jul 20 15:39:38 2011 From: up at 3.am (up at 3.am) Date: Wed, 20 Jul 2011 09:39:38 -0400 Subject: Allowing unauthenticated access to Nagios from select hosts In-Reply-To: References: Message-ID: <063dd9e5f706b6f05101bf295b57e0ab.squirrel@ssl.pil.net> Thanks for your response. I looked at the docs for that and I'm not sure what it does. After experimenting with it, it appears to just disable authentication for the cgi, leaving just the apache config to protect you. Is this the same as disabling authentication in cgi.cfg? Would we still be vulnerable to attacks directly at the cgi (bypassing basic apache authentication)? Or would the attacker have to somehow know the default_user_name? Thanks again! > try "default_user_name" in cgi.cfg > > > On Wed, Jul 20, 2011 at 3:35 AM, wrote: >> We use Nagios with normal authentication (the nagios apache config file, much >> like >> .htaccess combined with Nagios's cgi.cfg) and want to allow a few internal hosts >> (with RFC1918 addresses) to access nagios withOUT user authentication. ?These >> are >> basically large displays with no keyboard input. >> >> Doing the apache config for this was pretty straightforward: >> >> ? AuthType Basic >> ? Require valid-user >> ? Allow from 192.168.199.99 >> ? Satisfy any >> >> However, although the main Nagios page come up fine, one cannot access any of >> the >> Monitoring links. ?You get: >> >> ?It appears as though you do not have permission to view information for any of >> ?the services you requested >> >> Googling for docs on this, I figured the cgi.cfg was the culprit, but there does >> not seem to be any way in there to define hosts or IP addresses to give them >> unauthenticated access. ?We already have this: >> >> ?authorized_for_all_services=* >> ?authorized_for_all_hosts=* >> >> We obviously need to leave authentication/authorization enabled for all other >> hosts. ?Is there a way around this? >> >> Thanks in advance! >> >> ------------------------------------------------------------------------------ >> Magic Quadrant for Content-Aware Data Loss Prevention >> Research study explores the data loss prevention market. Includes in-depth >> analysis on the changes within the DLP market, and the criteria used to >> evaluate the strengths and weaknesses of these DLP solutions. >> http://www.accelacomm.com/jaw/sfnl/114/51385063/ >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when reporting any >> issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> > > ------------------------------------------------------------------------------ > 10 Tips for Better Web Security > Learn 10 ways to better secure your business today. Topics covered include: > Web security, SSL, hacker attacks & Denial of Service (DoS), private keys, > security Microsoft Exchange, secure Instant Messaging, and much more. > http://www.accelacomm.com/jaw/sfnl/114/51426210/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any > issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ 10 Tips for Better Web Security Learn 10 ways to better secure your business today. Topics covered include: Web security, SSL, hacker attacks & Denial of Service (DoS), private keys, security Microsoft Exchange, secure Instant Messaging, and much more. http://www.accelacomm.com/jaw/sfnl/114/51426210/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Marcel.Galke at trans4mation.de Wed Jul 20 16:36:41 2011 From: Marcel.Galke at trans4mation.de (Marcel Galke - Trans4mation IT GmbH) Date: Wed, 20 Jul 2011 16:36:41 +0200 Subject: few questions that I can't find any info on In-Reply-To: References: <4E26A5F5.3000400@gmail.com> Message-ID: Have you tried -d switch for debugging? From: Jonathan Aquilina [mailto:eagles051387 at gmail.com] Sent: Wednesday, July 20, 2011 2:07 PM To: Nagios Users List Subject: Re: [Nagios-users] few questions that I can't find any info on I have been trying on command line but it times out for me with various values On Jul 20, 2011 2:04 PM, "Marcel Galke - Trans4mation IT GmbH" > wrote: > I've never seen a CISCO ACE yet. If you're sure file permissions and config files are set up correct, try out different values for the -H and -P switches. On the command line you can't use the Nagios macros like $ARG1$ and $USER1$ off course. > >>-----Original Message----- >>From: Jonathan Aquilina [mailto:eagles051387 at gmail.com] >>Sent: Wednesday, July 20, 2011 11:55 AM >>To: nagios-users at lists.sourceforge.net >>Subject: Re: [Nagios-users] few questions that I can't find any info on >> >>I tried from commandline and it failed as well. :( >> >>My question is more along the line this >> >>hostname = Primary loadbalancer ip? or ip of client >>peer = ip of 2ndary balancer? >> >>$USER1$/cisco_ace_failover -H 192.168.2.224 -P 192.168.2.225 -C $ARG1$ -t 30 >> >>Where arg1 = variable i created for the clients various snmp communities. >> >>On 20/07/2011 11:46, Marcel Galke - Trans4mation IT GmbH wrote: >> Have you tried running the plugin from the command line? $user1/check_ace_failover -H -P -C >> >> Can you post the service definition and the corresponding command definition please. > > > ------------------------------------------------------------------------------ > 10 Tips for Better Web Security > Learn 10 ways to better secure your business today. Topics covered include: > Web security, SSL, hacker attacks & Denial of Service (DoS), private keys, > security Microsoft Exchange, secure Instant Messaging, and much more. > http://www.accelacomm.com/jaw/sfnl/114/51426210/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ 10 Tips for Better Web Security Learn 10 ways to better secure your business today. Topics covered include: Web security, SSL, hacker attacks & Denial of Service (DoS), private keys, security Microsoft Exchange, secure Instant Messaging, and much more. http://www.accelacomm.com/jaw/sfnl/114/51426210/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jlin at livescribe.com Wed Jul 20 18:29:03 2011 From: jlin at livescribe.com (Julie S. Lin) Date: Wed, 20 Jul 2011 09:29:03 -0700 Subject: NRPE client issues In-Reply-To: References: <1310556266.4254.YahooMailClassic@web137510.mail.in.yahoo.com> Message-ID: Hi I am monitoring a windows box with very basic out of the box plugins using nsclient However, whenever we start using this box there is great load on this box (which is a server class machine) and causes the nagios checks to time out and falsely page. Has any one run into this issue and how to resolve? Julie S. Lin System Administrator jlin at livescribe.com (510) 553 4912 (o) (510) 367 5772 (c) ------------------------------------------------------------------------------ 10 Tips for Better Web Security Learn 10 ways to better secure your business today. Topics covered include: Web security, SSL, hacker attacks & Denial of Service (DoS), private keys, security Microsoft Exchange, secure Instant Messaging, and much more. http://www.accelacomm.com/jaw/sfnl/114/51426210/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jul 20 19:00:35 2011 From: jim at jimavery.me.uk (Jim Avery) Date: Wed, 20 Jul 2011 18:00:35 +0100 Subject: NRPE client issues In-Reply-To: References: <1310556266.4254.YahooMailClassic@web137510.mail.in.yahoo.com> Message-ID: On 20 July 2011 17:29, Julie S. Lin wrote: > Hi > > I am monitoring a windows box with very basic out of the box plugins > using nsclient > > However, whenever we start using this box there is great load on this > box > (which is a server class machine) ?and causes the nagios checks to time > out and falsely page. > > Has any one run into this issue and how to resolve? I come across this sort of thing more so with Unix test servers than Windows. I expect the easiest way to resolve this would be to configure NSClient++ to run the checks and send the results to Nagios using nsca. That way the agent will run them in its own sweet time and if they are rather slow it shouldn't matter too much. Alternatively you might be able to reduce the number of notifications you get by setting up a servicedependency so all of the checks are dependent on just one of them. If the alerts are "Unknown" rather than "Warning" or "Critical" then you can probably filter out the notifications using the notification_options directive either on the service definition or even on the contact definition. As ever, there are lots of different ways to approach the same problem! I hope that helps a little. ------------------------------------------------------------------------------ 10 Tips for Better Web Security Learn 10 ways to better secure your business today. Topics covered include: Web security, SSL, hacker attacks & Denial of Service (DoS), private keys, security Microsoft Exchange, secure Instant Messaging, and much more. http://www.accelacomm.com/jaw/sfnl/114/51426210/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mysqlstudent at gmail.com Thu Jul 21 01:20:16 2011 From: mysqlstudent at gmail.com (Alex) Date: Wed, 20 Jul 2011 19:20:16 -0400 Subject: Using NagiosStatusLog, or obtaining status info Message-ID: Hi all, I'm relatively new at using perl, but would like to write a script that prints the status of all services on all hosts. I thought the StatusLog module would be good, but it doesn't seem to work with the latest v3 nagios? It's probably more likely I'm doing something wrong, but are there any existing examples of how to use it properly with the latest versions of nagios? The documentation says "Nagios::Service::Status has the following accessor methods (For V1):", then lists those methods. However, many return null, such as host_up. Are these methods only available in nagios v1? If so, how do I get a status of each service for all hosts and services? I've tried something as simple as this: use Nagios::StatusLog; my $log = Nagios::StatusLog->new( Filename => "/var/log/nagios/status.dat", Version => 3.0 ); my @host_info = qw(host_name status modified_attributes check_command check_period notification_period check_interval retry_interval event_handler has_been_checked should_be_scheduled check_execution_time check_latency check_type current_state last_hard_state last_event_id current_event_id current_problem_id last_problem_id plugin_output); foreach my $host ($log->list_hosts) { my $obj = $log->host($host); foreach my $hostinfo (@host_info) { print "host: $host valname: $hostinfo value: ",$obj->$hostinfo,"\n"; } } I'm not sure this is the correct way to do it, and I don't think the host_info array is complete. Some values also return null. Can someone supply a more complete example of how to parse the status.dat file or otherwise obtain real-time information about the status of every nagios variable for every host? Thanks, Alex ------------------------------------------------------------------------------ 10 Tips for Better Web Security Learn 10 ways to better secure your business today. Topics covered include: Web security, SSL, hacker attacks & Denial of Service (DoS), private keys, security Microsoft Exchange, secure Instant Messaging, and much more. http://www.accelacomm.com/jaw/sfnl/114/51426210/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Rick.Garland at quantum.com Thu Jul 21 01:05:15 2011 From: Rick.Garland at quantum.com (Rick Garland) Date: Wed, 20 Jul 2011 17:05:15 -0600 Subject: garbage characters being returned in scripts Message-ID: <8324365F3DDCFE4EA4CBB01F275CDD65070D69F6@DENMSGV1.QUANTUM.COM> Hi all: Got a Nagios 3.2.3 server running on RHEL 5.5. Installed plugins include pnp4nagios 0.6.13 & rrdtools 1.4.5 I made some custom scripts that include the use of sar. A snippet; WAITIO=`sar -u 1 3 | grep Average | awk '{print $4}'` CRIT=50 echo "%waitio = $WAITIO | /=$WAITIO%;;$CRIT;0;100\r" exit 0 When executing this script via nrpe to a Linux client, all is OK. When the same check is performed against HPUX 11v2 or HPUX 11v3, there is garbage in the output and it gets placed into the XML file in the , this results in the parsing error when trying to display the graph. Edit the XML file and take out the garbage then the graph displays fine, until next update. Here is the output after piped to cat -etv. [nagios at nagserver ~]$ check_nrpe -H hostname -c 'check_HPwait' | cat -etv %waitio = 2 | /=2%;;50;0;100^M$ $ M-(wM-}M-3M-^XwM-}M-3M-^X@^AM-_M-l@$ [nagios at nagserver ~]$ Anybody know where that garbage is coming from on HPUX? Anybody know how to fix it? Many thanks ---------------------------------------------------------------------- The information contained in this transmission may be confidential. Any disclosure, copying, or further distribution of confidential information is not permitted unless such privilege is explicitly granted in writing by Quantum. Quantum reserves the right to have electronic communications, including email and attachments, sent across its networks filtered through anti virus and spam software programs and retain such messages in order to comply with applicable data security and retention requirements. Quantum is not responsible for the proper and complete transmission of the substance of this communication or for any delay in its receipt. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ 10 Tips for Better Web Security Learn 10 ways to better secure your business today. Topics covered include: Web security, SSL, hacker attacks & Denial of Service (DoS), private keys, security Microsoft Exchange, secure Instant Messaging, and much more. http://www.accelacomm.com/jaw/sfnl/114/51426210/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mysqlstudent at gmail.com Thu Jul 21 01:42:35 2011 From: mysqlstudent at gmail.com (Alex) Date: Wed, 20 Jul 2011 19:42:35 -0400 Subject: Using NagiosStatusLog, or obtaining status info In-Reply-To: References: Message-ID: Hi, I wanted to add to my previous mail that I just found the list_tags() function (from StatusLog.pm) which returns the list of all the status variables from the status.dat file. However, it returns some others that don't appear in the status.dat file, such as time_up and time_down. Where do these variables come from? I'm trying to upgrade a legacy application that used nagios v1, and I'd like to recreate the status.log file. This log file contained those variables time_up and time_down, so I'd like to report the value of those variables in my new version. I hope someone can help me to clarify the discrepancies between the v1 log and the v3 log, and how to obtain all the variables and their values from the v3 log using perl. > The documentation says "Nagios::Service::Status has the following > accessor methods (For V1):", then lists those methods. However, many > return null, such as host_up. Are these methods only available in > nagios v1? If so, how do I get a status of each service for all hosts > and services? Thanks, Alex ------------------------------------------------------------------------------ 10 Tips for Better Web Security Learn 10 ways to better secure your business today. Topics covered include: Web security, SSL, hacker attacks & Denial of Service (DoS), private keys, security Microsoft Exchange, secure Instant Messaging, and much more. http://www.accelacomm.com/jaw/sfnl/114/51426210/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Jul 21 03:09:31 2011 From: yuehung.liu at gmail.com (Yueh-Hung Liu) Date: Thu, 21 Jul 2011 09:09:31 +0800 Subject: garbage characters being returned in scripts In-Reply-To: <8324365F3DDCFE4EA4CBB01F275CDD65070D69F6@DENMSGV1.QUANTUM.COM> References: <8324365F3DDCFE4EA4CBB01F275CDD65070D69F6@DENMSGV1.QUANTUM.COM> Message-ID: run this script on the HP machine manually as the user as nrpe will be. check what will happen. On Thu, Jul 21, 2011 at 7:05 AM, Rick Garland wrote: > Hi all: > > > > Got a Nagios 3.2.3 server running on RHEL 5.5. > > Installed plugins include pnp4nagios 0.6.13 & rrdtools 1.4.5 > > > > I ?made some custom scripts that include the use of sar. A snippet; > > > > WAITIO=`sar -u 1 3 | grep Average | awk '{print $4}'` > > CRIT=50 > > > > echo "%waitio = $WAITIO | /=$WAITIO%;;$CRIT;0;100\r" > > exit 0 > > > > When executing this script via nrpe to a Linux client, all is OK. When the > same check is performed against HPUX 11v2 or HPUX 11v3, > > there is garbage in the output and it gets placed into the XML file in the > , this results in the parsing error > > when trying to display the graph. Edit the XML file and take out the garbage > then the graph displays fine, until next update. > > > > Here is the output after piped to cat ?etv. > > [nagios at nagserver ~]$ check_nrpe -H hostname -c 'check_HPwait' | cat -etv > > %waitio = 2 | /=2%;;50;0;100^M$ > > $ > > M-(wM-}M-3M-^XwM-}M-3M-^X@^AM-_M-l@$ > > [nagios at nagserver ~]$ > > > > Anybody know where that garbage is coming from on HPUX? Anybody know how to > fix it? > > > > Many thanks > > > > ________________________________ > The information contained in this transmission may be confidential. Any > disclosure, copying, or further distribution of confidential information is > not permitted unless such privilege is explicitly granted in writing by > Quantum. Quantum reserves the right to have electronic communications, > including email and attachments, sent across its networks filtered through > anti virus and spam software programs and retain such messages in order to > comply with applicable data security and retention requirements. Quantum is > not responsible for the proper and complete transmission of the substance of > this communication or for any delay in its receipt. > > ------------------------------------------------------------------------------ > 10 Tips for Better Web Security > Learn 10 ways to better secure your business today. Topics covered include: > Web security, SSL, hacker attacks & Denial of Service (DoS), private keys, > security Microsoft Exchange, secure Instant Messaging, and much more. > http://www.accelacomm.com/jaw/sfnl/114/51426210/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ 5 Ways to Improve & Secure Unified Communications Unified Communications promises greater efficiencies for business. UC can improve internal communications as well as offer faster, more efficient ways to interact with customers and streamline customer service. Learn more! http://www.accelacomm.com/jaw/sfnl/114/51426253/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gevery at gmail.com Thu Jul 21 16:26:31 2011 From: gevery at gmail.com (Gary Every) Date: Thu, 21 Jul 2011 07:26:31 -0700 Subject: Single host, multiple HTTP services In-Reply-To: References: Message-ID: Service: define service { use generic-check-store hostgroup_name Storefront service_description storename check_command check_store!storename.com!/index.php?product_id=12345!"String to find" contact_groups Unix,ProductionSupport notification_interval 1440 } Check command: define command{ command_name check_store command_line /usr/lib/nagios/plugins/check_http -I $HOSTADDRESS$ -H $ARG1$ -s $ARG3$ -u $ARG2$ } That will check the ip with the specific hostname, direct it to the appropriate page (/index.php?product_id=12345 and find whatever string you expect to see on that particular page ("String to find") This allows the same ip with different virtualhosts to be checked g.; On Thu, Jul 21, 2011 at 6:59 AM, dave stern - e-mail.pluribus.unum < dit.dash at gmail.com> wrote: > One way might be to use the check_http plug-in but > have it look for a specific string in each web-page being hosted > and use the warn/critical-time returns for empirical threshold > > On Thu, Jul 21, 2011 at 9:02 AM, wrote: > > Hey gang, I am having some difficulty getting a single host setup that > > would have multiple HTTP services attached to it. The scenario is a > > load balanced group of web servers and I am looking to monitor > > numerous public facing web sites that would be bound to a single load > > balanced IP address. Any help would be most appreciated! > > > > > ------------------------------------------------------------------------------ > > 5 Ways to Improve & Secure Unified Communications > > Unified Communications promises greater efficiencies for business. UC can > > improve internal communications as well as offer faster, more efficient > ways > > to interact with customers and streamline customer service. Learn more! > > http://www.accelacomm.com/jaw/sfnl/114/51426253/ > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > > ------------------------------------------------------------------------------ > 5 Ways to Improve & Secure Unified Communications > Unified Communications promises greater efficiencies for business. UC can > improve internal communications as well as offer faster, more efficient > ways > to interact with customers and streamline customer service. Learn more! > http://www.accelacomm.com/jaw/sfnl/114/51426253/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Gary Every "Pay it Forward!" -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ 5 Ways to Improve & Secure Unified Communications Unified Communications promises greater efficiencies for business. UC can improve internal communications as well as offer faster, more efficient ways to interact with customers and streamline customer service. Learn more! http://www.accelacomm.com/jaw/sfnl/114/51426253/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rick.garland at quantum.com Thu Jul 21 16:45:26 2011 From: rick.garland at quantum.com (Rick Garland) Date: Thu, 21 Jul 2011 14:45:26 +0000 (UTC) Subject: garbage characters being returned in scripts References: <8324365F3DDCFE4EA4CBB01F275CDD65070D69F6@DENMSGV1.QUANTUM.COM> Message-ID: Yueh-Hung Liu gmail.com> writes: > > run this script on the HP machine manually as the user as nrpe will be. > check what will happen. > Confirmed, the garbage is there when running manually as nagios on the local HPUX system. Seems the command puts the character there when executed, you don't normally see it. How to get rid of? I've been looking at 'tr'. Any other suggestions? Thanks ------------------------------------------------------------------------------ 5 Ways to Improve & Secure Unified Communications Unified Communications promises greater efficiencies for business. UC can improve internal communications as well as offer faster, more efficient ways to interact with customers and streamline customer service. Learn more! http://www.accelacomm.com/jaw/sfnl/114/51426253/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From af.at.work at gmail.com Thu Jul 21 18:20:31 2011 From: af.at.work at gmail.com (af.at.work at gmail.com) Date: Thu, 21 Jul 2011 12:20:31 -0400 Subject: Single host, multiple HTTP services In-Reply-To: References: Message-ID: Thanks for the tip on that - any way to take it a step further and monitor a web transaction whilst logged in? On Thu, Jul 21, 2011 at 10:26 AM, Gary Every wrote: > Service: > define service { > ? use ? ? ? ? ? ? ? ? ? generic-check-store > ? hostgroup_name ? ? ? ?Storefront > ? service_description ? storename > ? check_command > check_store!storename.com!/index.php?product_id=12345!"String to find" > ? contact_groups ? ? ? ?Unix,ProductionSupport > ? notification_interval 1440 > } > Check command: > define command{ > ? ? ? ? command_name ? ?check_store > ? ? ? ? command_line ? ?/usr/lib/nagios/plugins/check_http -I $HOSTADDRESS$ > -H $ARG1$ -s $ARG3$ -u $ARG2$ > ? ? ? ? } > > That will check the ip with the specific hostname, ?direct it to the > appropriate page (/index.php?product_id=12345 and find whatever string you > expect to see on that particular page ("String to find") > This allows the same ip with different virtualhosts to be checked > g.; > > On Thu, Jul 21, 2011 at 6:59 AM, dave stern - e-mail.pluribus.unum > wrote: >> >> One way might be to use the check_http plug-in but >> have it look for a specific string in each web-page being hosted >> and use the warn/critical-time returns for empirical threshold >> >> On Thu, Jul 21, 2011 at 9:02 AM, ? wrote: >> > Hey gang, I am having some difficulty getting a single host setup that >> > would have multiple HTTP services attached to it. The scenario is a >> > load balanced group of web servers and I am looking to monitor >> > numerous public facing web sites that would be bound to a single load >> > balanced IP address. Any help would be most appreciated! >> > >> > >> > ------------------------------------------------------------------------------ >> > 5 Ways to Improve & Secure Unified Communications >> > Unified Communications promises greater efficiencies for business. UC >> > can >> > improve internal communications as well as offer faster, more efficient >> > ways >> > to interact with customers and streamline customer service. Learn more! >> > http://www.accelacomm.com/jaw/sfnl/114/51426253/ >> > _______________________________________________ >> > Nagios-users mailing list >> > Nagios-users at lists.sourceforge.net >> > https://lists.sourceforge.net/lists/listinfo/nagios-users >> > ::: Please include Nagios version, plugin version (-v) and OS when >> > reporting any issue. >> > ::: Messages without supporting info will risk being sent to /dev/null >> > >> >> >> ------------------------------------------------------------------------------ >> 5 Ways to Improve & Secure Unified Communications >> Unified Communications promises greater efficiencies for business. UC can >> improve internal communications as well as offer faster, more efficient >> ways >> to interact with customers and streamline customer service. Learn more! >> http://www.accelacomm.com/jaw/sfnl/114/51426253/ >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null > > > > -- > Gary Every > "Pay it Forward!" > > > ------------------------------------------------------------------------------ > 5 Ways to Improve & Secure Unified Communications > Unified Communications promises greater efficiencies for business. UC can > improve internal communications as well as offer faster, more efficient ways > to interact with customers and streamline customer service. Learn more! > http://www.accelacomm.com/jaw/sfnl/114/51426253/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ 5 Ways to Improve & Secure Unified Communications Unified Communications promises greater efficiencies for business. UC can improve internal communications as well as offer faster, more efficient ways to interact with customers and streamline customer service. Learn more! http://www.accelacomm.com/jaw/sfnl/114/51426253/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From af.at.work at gmail.com Thu Jul 21 15:02:34 2011 From: af.at.work at gmail.com (af.at.work at gmail.com) Date: Thu, 21 Jul 2011 09:02:34 -0400 Subject: Single host, multiple HTTP services Message-ID: Hey gang, I am having some difficulty getting a single host setup that would have multiple HTTP services attached to it. The scenario is a load balanced group of web servers and I am looking to monitor numerous public facing web sites that would be bound to a single load balanced IP address. Any help would be most appreciated! ------------------------------------------------------------------------------ 5 Ways to Improve & Secure Unified Communications Unified Communications promises greater efficiencies for business. UC can improve internal communications as well as offer faster, more efficient ways to interact with customers and streamline customer service. Learn more! http://www.accelacomm.com/jaw/sfnl/114/51426253/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From af.at.work at gmail.com Thu Jul 21 18:19:45 2011 From: af.at.work at gmail.com (af.at.work at gmail.com) Date: Thu, 21 Jul 2011 12:19:45 -0400 Subject: Single host, multiple HTTP services In-Reply-To: References: Message-ID: Thanks Dave, that seems to have done the trick perfectly. On Thu, Jul 21, 2011 at 9:59 AM, dave stern - e-mail.pluribus.unum wrote: > One way might be to use the check_http plug-in but > have it look for a specific string in each web-page being hosted > and use the warn/critical-time returns for empirical threshold > > On Thu, Jul 21, 2011 at 9:02 AM, ? wrote: >> Hey gang, I am having some difficulty getting a single host setup that >> would have multiple HTTP services attached to it. The scenario is a >> load balanced group of web servers and I am looking to monitor >> numerous public facing web sites that would be bound to a single load >> balanced IP address. Any help would be most appreciated! >> >> ------------------------------------------------------------------------------ >> 5 Ways to Improve & Secure Unified Communications >> Unified Communications promises greater efficiencies for business. UC can >> improve internal communications as well as offer faster, more efficient ways >> to interact with customers and streamline customer service. Learn more! >> http://www.accelacomm.com/jaw/sfnl/114/51426253/ >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> > > ------------------------------------------------------------------------------ > 5 Ways to Improve & Secure Unified Communications > Unified Communications promises greater efficiencies for business. UC can > improve internal communications as well as offer faster, more efficient ways > to interact with customers and streamline customer service. Learn more! > http://www.accelacomm.com/jaw/sfnl/114/51426253/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ 5 Ways to Improve & Secure Unified Communications Unified Communications promises greater efficiencies for business. UC can improve internal communications as well as offer faster, more efficient ways to interact with customers and streamline customer service. Learn more! http://www.accelacomm.com/jaw/sfnl/114/51426253/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dit.dash at gmail.com Thu Jul 21 15:59:32 2011 From: dit.dash at gmail.com (dave stern - e-mail.pluribus.unum) Date: Thu, 21 Jul 2011 09:59:32 -0400 Subject: Single host, multiple HTTP services In-Reply-To: References: Message-ID: One way might be to use the check_http plug-in but have it look for a specific string in each web-page being hosted and use the warn/critical-time returns for empirical threshold On Thu, Jul 21, 2011 at 9:02 AM, wrote: > Hey gang, I am having some difficulty getting a single host setup that > would have multiple HTTP services attached to it. The scenario is a > load balanced group of web servers and I am looking to monitor > numerous public facing web sites that would be bound to a single load > balanced IP address. Any help would be most appreciated! > > ------------------------------------------------------------------------------ > 5 Ways to Improve & Secure Unified Communications > Unified Communications promises greater efficiencies for business. UC can > improve internal communications as well as offer faster, more efficient ways > to interact with customers and streamline customer service. Learn more! > http://www.accelacomm.com/jaw/sfnl/114/51426253/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ 5 Ways to Improve & Secure Unified Communications Unified Communications promises greater efficiencies for business. UC can improve internal communications as well as offer faster, more efficient ways to interact with customers and streamline customer service. Learn more! http://www.accelacomm.com/jaw/sfnl/114/51426253/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From miksa872003 at yahoo.co.uk Fri Jul 22 09:24:14 2011 From: miksa872003 at yahoo.co.uk (Rhian Mikisa) Date: Fri, 22 Jul 2011 08:24:14 +0100 (BST) Subject: nagios and kannel Message-ID: <1311319454.7297.YahooMailClassic@web29514.mail.ird.yahoo.com> how do i integrate nagios with kannel sms gateway so i can implement sms notification in nagios.i have both nagios and kannel up and running -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ 10 Tips for Better Web Security Learn 10 ways to better secure your business today. Topics covered include: Web security, SSL, hacker attacks & Denial of Service (DoS), private keys, security Microsoft Exchange, secure Instant Messaging, and much more. http://www.accelacomm.com/jaw/sfnl/114/51426210/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chr.pinedo at gmail.com Fri Jul 22 11:13:24 2011 From: chr.pinedo at gmail.com (Christian Pinedo Zamalloa) Date: Fri, 22 Jul 2011 11:13:24 +0200 Subject: undetermined times in trends when Nagios has been down Message-ID: Hi all, I have a question about undetermined times in trend graphics. I have had down Nagios server for a week and trend graphics show the last state of service/host for all the week instead of show this time as undetermined (because nagios server has been down). Is this normal behaivour? From my point of view this could be considered a bug or a deficiency. Thanks, -- Christian Pinedo Zamalloa (zako) PGP keyID: 0x828D0C80 Fingerprint: 7BFF 4105 F46B 7977 BD96? 348C 1007 4FF8 828D 0C80 ------------------------------------------------------------------------------ 10 Tips for Better Web Security Learn 10 ways to better secure your business today. Topics covered include: Web security, SSL, hacker attacks & Denial of Service (DoS), private keys, security Microsoft Exchange, secure Instant Messaging, and much more. http://www.accelacomm.com/jaw/sfnl/114/51426210/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From w.muriithi at syncapse.com Fri Jul 22 16:50:11 2011 From: w.muriithi at syncapse.com (William Muriithi) Date: Fri, 22 Jul 2011 09:50:11 -0500 Subject: Single host, multiple HTTP services In-Reply-To: References: Message-ID: Hi Just curious, why don't you bypass the load balancer and monitor the individual systems? That may be more reliable and less complicated. Actually, may easy the process of figuring what has gone wrong when things break William On 11-07-21 12:20 PM, "af.at.work at gmail.com" wrote: >Thanks for the tip on that - any way to take it a step further and >monitor a web transaction whilst logged in? > >On Thu, Jul 21, 2011 at 10:26 AM, Gary Every wrote: >> Service: >> define service { >> use generic-check-store >> hostgroup_name Storefront >> service_description storename >> check_command >> check_store!storename.com!/index.php?product_id=12345!"String to find" >> contact_groups Unix,ProductionSupport >> notification_interval 1440 >> } >> Check command: >> define command{ >> command_name check_store >> command_line /usr/lib/nagios/plugins/check_http -I >>$HOSTADDRESS$ >> -H $ARG1$ -s $ARG3$ -u $ARG2$ >> } >> >> That will check the ip with the specific hostname, direct it to the >> appropriate page (/index.php?product_id=12345 and find whatever string >>you >> expect to see on that particular page ("String to find") >> This allows the same ip with different virtualhosts to be checked >> g.; >> >> On Thu, Jul 21, 2011 at 6:59 AM, dave stern - e-mail.pluribus.unum >> wrote: >>> >>> One way might be to use the check_http plug-in but >>> have it look for a specific string in each web-page being hosted >>> and use the warn/critical-time returns for empirical threshold >>> >>> On Thu, Jul 21, 2011 at 9:02 AM, wrote: >>> > Hey gang, I am having some difficulty getting a single host setup >>>that >>> > would have multiple HTTP services attached to it. The scenario is a >>> > load balanced group of web servers and I am looking to monitor >>> > numerous public facing web sites that would be bound to a single load >>> > balanced IP address. Any help would be most appreciated! >>> > >>> > >>> > >>>------------------------------------------------------------------------ >>>------ >>> > 5 Ways to Improve & Secure Unified Communications >>> > Unified Communications promises greater efficiencies for business. UC >>> > can >>> > improve internal communications as well as offer faster, more >>>efficient >>> > ways >>> > to interact with customers and streamline customer service. Learn >>>more! >>> > http://www.accelacomm.com/jaw/sfnl/114/51426253/ >>> > _______________________________________________ >>> > Nagios-users mailing list >>> > Nagios-users at lists.sourceforge.net >>> > https://lists.sourceforge.net/lists/listinfo/nagios-users >>> > ::: Please include Nagios version, plugin version (-v) and OS when >>> > reporting any issue. >>> > ::: Messages without supporting info will risk being sent to >>>/dev/null >>> > >>> >>> >>> >>>------------------------------------------------------------------------ >>>------ >>> 5 Ways to Improve & Secure Unified Communications >>> Unified Communications promises greater efficiencies for business. UC >>>can >>> improve internal communications as well as offer faster, more efficient >>> ways >>> to interact with customers and streamline customer service. Learn more! >>> http://www.accelacomm.com/jaw/sfnl/114/51426253/ >>> _______________________________________________ >>> Nagios-users mailing list >>> Nagios-users at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>> ::: Please include Nagios version, plugin version (-v) and OS when >>> reporting any issue. >>> ::: Messages without supporting info will risk being sent to /dev/null >> >> >> >> -- >> Gary Every >> "Pay it Forward!" >> >> >> >>------------------------------------------------------------------------- >>----- >> 5 Ways to Improve & Secure Unified Communications >> Unified Communications promises greater efficiencies for business. UC >>can >> improve internal communications as well as offer faster, more efficient >>ways >> to interact with customers and streamline customer service. Learn more! >> http://www.accelacomm.com/jaw/sfnl/114/51426253/ >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >>reporting >> any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> > >-------------------------------------------------------------------------- >---- >5 Ways to Improve & Secure Unified Communications >Unified Communications promises greater efficiencies for business. UC can >improve internal communications as well as offer faster, more efficient >ways >to interact with customers and streamline customer service. Learn more! >http://www.accelacomm.com/jaw/sfnl/114/51426253/ >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when >reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ 10 Tips for Better Web Security Learn 10 ways to better secure your business today. Topics covered include: Web security, SSL, hacker attacks & Denial of Service (DoS), private keys, security Microsoft Exchange, secure Instant Messaging, and much more. http://www.accelacomm.com/jaw/sfnl/114/51426210/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From af.at.work at gmail.com Fri Jul 22 20:55:34 2011 From: af.at.work at gmail.com (af.at.work at gmail.com) Date: Fri, 22 Jul 2011 14:55:34 -0400 Subject: Single host, multiple HTTP services In-Reply-To: References: Message-ID: The individual systems are remote, not publically available, and monitored by the ISP. I am looking to see what the end user is "seeing" for TTFB. On Fri, Jul 22, 2011 at 10:50 AM, William Muriithi wrote: > Hi > > Just curious, why don't you bypass the load balancer and monitor the > individual systems? ?That may be more reliable and less complicated. > > Actually, may easy the process of figuring what has gone wrong when things > break > > William > > > > > > On 11-07-21 12:20 PM, "af.at.work at gmail.com" wrote: > >>Thanks for the tip on that - any way to take it a step further and >>monitor a web transaction whilst logged in? >> >>On Thu, Jul 21, 2011 at 10:26 AM, Gary Every wrote: >>> Service: >>> define service { >>> ? use ? ? ? ? ? ? ? ? ? generic-check-store >>> ? hostgroup_name ? ? ? ?Storefront >>> ? service_description ? storename >>> ? check_command >>> check_store!storename.com!/index.php?product_id=12345!"String to find" >>> ? contact_groups ? ? ? ?Unix,ProductionSupport >>> ? notification_interval 1440 >>> } >>> Check command: >>> define command{ >>> ? ? ? ? command_name ? ?check_store >>> ? ? ? ? command_line ? ?/usr/lib/nagios/plugins/check_http -I >>>$HOSTADDRESS$ >>> -H $ARG1$ -s $ARG3$ -u $ARG2$ >>> ? ? ? ? } >>> >>> That will check the ip with the specific hostname, ?direct it to the >>> appropriate page (/index.php?product_id=12345 and find whatever string >>>you >>> expect to see on that particular page ("String to find") >>> This allows the same ip with different virtualhosts to be checked >>> g.; >>> >>> On Thu, Jul 21, 2011 at 6:59 AM, dave stern - e-mail.pluribus.unum >>> wrote: >>>> >>>> One way might be to use the check_http plug-in but >>>> have it look for a specific string in each web-page being hosted >>>> and use the warn/critical-time returns for empirical threshold >>>> >>>> On Thu, Jul 21, 2011 at 9:02 AM, ? wrote: >>>> > Hey gang, I am having some difficulty getting a single host setup >>>>that >>>> > would have multiple HTTP services attached to it. The scenario is a >>>> > load balanced group of web servers and I am looking to monitor >>>> > numerous public facing web sites that would be bound to a single load >>>> > balanced IP address. Any help would be most appreciated! >>>> > >>>> > >>>> > >>>>------------------------------------------------------------------------ >>>>------ >>>> > 5 Ways to Improve & Secure Unified Communications >>>> > Unified Communications promises greater efficiencies for business. UC >>>> > can >>>> > improve internal communications as well as offer faster, more >>>>efficient >>>> > ways >>>> > to interact with customers and streamline customer service. Learn >>>>more! >>>> > http://www.accelacomm.com/jaw/sfnl/114/51426253/ >>>> > _______________________________________________ >>>> > Nagios-users mailing list >>>> > Nagios-users at lists.sourceforge.net >>>> > https://lists.sourceforge.net/lists/listinfo/nagios-users >>>> > ::: Please include Nagios version, plugin version (-v) and OS when >>>> > reporting any issue. >>>> > ::: Messages without supporting info will risk being sent to >>>>/dev/null >>>> > >>>> >>>> >>>> >>>>------------------------------------------------------------------------ >>>>------ >>>> 5 Ways to Improve & Secure Unified Communications >>>> Unified Communications promises greater efficiencies for business. UC >>>>can >>>> improve internal communications as well as offer faster, more efficient >>>> ways >>>> to interact with customers and streamline customer service. Learn more! >>>> http://www.accelacomm.com/jaw/sfnl/114/51426253/ >>>> _______________________________________________ >>>> Nagios-users mailing list >>>> Nagios-users at lists.sourceforge.net >>>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>>> ::: Please include Nagios version, plugin version (-v) and OS when >>>> reporting any issue. >>>> ::: Messages without supporting info will risk being sent to /dev/null >>> >>> >>> >>> -- >>> Gary Every >>> "Pay it Forward!" >>> >>> >>> >>>------------------------------------------------------------------------- >>>----- >>> 5 Ways to Improve & Secure Unified Communications >>> Unified Communications promises greater efficiencies for business. UC >>>can >>> improve internal communications as well as offer faster, more efficient >>>ways >>> to interact with customers and streamline customer service. Learn more! >>> http://www.accelacomm.com/jaw/sfnl/114/51426253/ >>> _______________________________________________ >>> Nagios-users mailing list >>> Nagios-users at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>> ::: Please include Nagios version, plugin version (-v) and OS when >>>reporting >>> any issue. >>> ::: Messages without supporting info will risk being sent to /dev/null >>> >> >>-------------------------------------------------------------------------- >>---- >>5 Ways to Improve & Secure Unified Communications >>Unified Communications promises greater efficiencies for business. UC can >>improve internal communications as well as offer faster, more efficient >>ways >>to interact with customers and streamline customer service. Learn more! >>http://www.accelacomm.com/jaw/sfnl/114/51426253/ >>_______________________________________________ >>Nagios-users mailing list >>Nagios-users at lists.sourceforge.net >>https://lists.sourceforge.net/lists/listinfo/nagios-users >>::: Please include Nagios version, plugin version (-v) and OS when >>reporting any issue. >>::: Messages without supporting info will risk being sent to /dev/null > > > ------------------------------------------------------------------------------ > 10 Tips for Better Web Security > Learn 10 ways to better secure your business today. Topics covered include: > Web security, SSL, hacker attacks & Denial of Service (DoS), private keys, > security Microsoft Exchange, secure Instant Messaging, and much more. > http://www.accelacomm.com/jaw/sfnl/114/51426210/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ 10 Tips for Better Web Security Learn 10 ways to better secure your business today. Topics covered include: Web security, SSL, hacker attacks & Denial of Service (DoS), private keys, security Microsoft Exchange, secure Instant Messaging, and much more. http://www.accelacomm.com/jaw/sfnl/114/51426210/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From af.at.work at gmail.com Fri Jul 22 21:00:54 2011 From: af.at.work at gmail.com (af.at.work at gmail.com) Date: Fri, 22 Jul 2011 15:00:54 -0400 Subject: Plugin help Message-ID: I extended the check_curl plugin from Nagios Exchange to allow the inclusion of cookies. While it works like a charm from the CLI, I am having trouble getting the check command to work within the configs. I added the following to commands.cfg: # 'check CURL' command definition define command{ command_name check_curl command_line $USER1$/php check_curl.php -H $HOSTADDRESS$ } And setup a new hostgroup, host and service however whenever I validate the config the following error is returned: Error: Service check command 'check_curl -U http://domain.name/home.aspx -F -G Welcome' specified in service 'Home' for host 'HomeTest' not defined anywhere! ------------------------------------------------------------------------------ 10 Tips for Better Web Security Learn 10 ways to better secure your business today. Topics covered include: Web security, SSL, hacker attacks & Denial of Service (DoS), private keys, security Microsoft Exchange, secure Instant Messaging, and much more. http://www.accelacomm.com/jaw/sfnl/114/51426210/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jon at netdork.net Sat Jul 23 15:39:13 2011 From: jon at netdork.net (Jonathan Angliss) Date: Sat, 23 Jul 2011 08:39:13 -0500 Subject: Plugin help In-Reply-To: References: Message-ID: On 07/22/11 14:00, af.at.work at gmail.com wrote: > I extended the check_curl plugin from Nagios Exchange to allow the > inclusion of cookies. While it works like a charm from the CLI, I am > having trouble getting the check command to work within the configs. > > I added the following to commands.cfg: > > # 'check CURL' command definition > > define command{ > command_name check_curl > command_line $USER1$/php check_curl.php -H $HOSTADDRESS$ > } > > And setup a new hostgroup, host and service however whenever I > validate the config the following error is returned: > > Error: Service check command 'check_curl -U > http://domain.name/home.aspx -F -G Welcome' specified in service > 'Home' for host 'HomeTest' not defined anywhere! I'm guessing you've not defined your service check properly. I'm guessing it probably looks something like this: define service { host_name HomeTest service Home check_command check_curl -U http://domain.name/home.aspx.... } This makes nagios look for a command which has command_name defined like the check_command line. You probably want something like this instead: define command { command_name check_curl command_line $USER1$/check_curl.php -H $HOSTADDRESS$ -U $ARG1$ \ -F -G '$ARG2$' } define service { host_name HomeTest service Home check_command check_curl!http://domain.name/home.aspx!Welcome } There are a couple of things you'll want to check. First, I'm relatively sure PHP isn't in the path for $USER1$, if it is, ignore this. Second, with my example, it assumes the check_curl.php script is executable, and has the necessary script headers, so it looks like this: !#/usr/bin/php References: <8324365F3DDCFE4EA4CBB01F275CDD65070D69F6@DENMSGV1.QUANTUM.COM> Message-ID: On 07/20/11 18:05, Rick Garland wrote: > Hi all: > > Got a Nagios 3.2.3 server running on RHEL 5.5. > > Installed plugins include pnp4nagios 0.6.13 & rrdtools 1.4.5 > > I made some custom scripts that include the use of sar. A snippet; > > WAITIO=`sar -u 1 3 | grep Average | awk '{print $4}'` > > CRIT=50 > > echo "%waitio = $WAITIO | /=$WAITIO%;;$CRIT;0;100\r" > > exit 0 This may be a silly question, and completely unrelated, but is there any reason you're using \r instead of \n? Is there any reason you're putting a carriage return? in here at all? -- Jonathan Angliss ------------------------------------------------------------------------------ Storage Efficiency Calculator This modeling tool is based on patent-pending intellectual property that has been used successfully in hundreds of IBM storage optimization engage- ments, worldwide. Store less, Store more with what you own, Move data to the right place. Try It Now! http://www.accelacomm.com/jaw/sfnl/114/51427378/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagiosusers at edcint.co.nz Sun Jul 24 06:38:23 2011 From: nagiosusers at edcint.co.nz (Matthew Jurgens) Date: Sun, 24 Jul 2011 14:38:23 +1000 Subject: Using NagiosStatusLog, or obtaining status info In-Reply-To: References: Message-ID: <4E2BA1BF.5000003@edcint.co.nz> I did a similar thing a while back and from memory I think I found that there were no pre-coded modules that worked properly. Parsing the nagios status file yourself is quite easy (its a nice format), so I just wrote my own code. I use it to generate an html page with a high level graphical status which is shown on the following page (along with some info about doing it) http://www.smartmon.com.au/docs/tiki-index.php?page=Programmatically+Read+Nagios+Status&structure=How-to+Guide The following is a sub that reads the file and puts it into a hash. Call the sub like this: # location of nagios status.dat file - this is the default location our $nagios_status_dat_file='/var/log/nagios/status.dat'; my $nagios_status_file_error=load_nagios_status_file(\%status_data,$nagios_status_file); sub load_nagios_status_file { # loads the nagios status file into a nice hash structure # reads the file and returns the hash # pass in a hash reference where you want the status loaded to # pass an optional status data file name (if we want to use the non-default one) - full path my ($status_hashref,$custom_status_data_file)=@_; my $reason=''; # blank unless a fault my $status_read_ok=0; my $status_read_attempt=0; my $max_status_read_attempts=3; my $status_dat_file=$custom_status_data_file || $nagios_status_dat_file; my @status_data=(); while (!$status_read_ok && $status_read_attempt<=$max_status_read_attempts) { $status_read_attempt++; if (open(STATUS,"$status_dat_file")) { # now see how much data we get out of it @status_data=; # we expect a certain number of lines if ($#status_data>5) { # assume file is ok $status_read_ok=1; } else { $reason="File did not contain enough data - Nagios might not be running."; } close(STATUS); } else { $reason="Could not access Nagios Status.data file - Nagios might not be running."; } } if ($status_read_ok) { # now process the data in the array and load to the hash my $service=0; my $host=0; my $info=0; my $hostname=''; my $service_description=''; my $host_count=0; my $service_count=0; foreach my $line (@status_data) { # as of Nagios v3 # we are looking for 2 types of lines - one for Services and Hosts # servicestatus { # host_name=host12 # service_description=sample_PING # ..... other attributes ...... # } # AND one for hosts # hoststatus { # host_name=host12 # ..... other attributes ...... # } # if ($line=~/^servicestatus {/) { # start of a service entry $service=1; } elsif ($line=~/^hoststatus {/) { # start of a host entry $host=1; } elsif ($line=~/^info {/) { # this is the info section $info=1; } elsif ($line=~/^\s*}\s*\n/) { # end of a section # so close of this part of the hash if ($service) { $debug && print "Service $service_description on Host: $hostname\n"; $service_count++; } elsif ($host) { $debug && print "Host: $hostname\n"; $host_count++; } $host=0; $service=0; $info=0; $service_description=''; $hostname=''; } elsif ($info) { # we are in the middle of processing an info record # format of lines is attribute=value # store in the hash $line=~/\s*(.+)=(.+)\n/; $$status_hashref{'info'}{$1}=$2; } elsif ($service) { # we are in the middle of processing a service record $line=~/\s*(.+)=(.+)\n/; # we need the hostname and the service descriptions to store data if ($hostname && $service_description) { # just store the data $$status_hashref{'service'}{$hostname}{$service_description}{$1}=$2; } elsif ($1 eq 'host_name') { $hostname=$2 } elsif ($1 eq 'service_description') { $service_description=$2 } } elsif ($host) { # we are in the middle of processing a host record $line=~/\s*(.+)=(.+)\n/; # we need the hostname to store data if ($hostname) { # just store the data $$status_hashref{'host'}{$hostname}{$1}=$2; } elsif ($1 eq 'host_name') { $hostname=$2 } } } # store the counts $$status_hashref{'count'}{'host'}=$host_count; $$status_hashref{'count'}{'service'}=$service_count; } return $reason; } On 21/07/2011 9:20 AM, Alex wrote: > Hi all, > > I'm relatively new at using perl, but would like to write a script > that prints the status of all services on all hosts. I thought the > StatusLog module would be good, but it doesn't seem to work with the > latest v3 nagios? It's probably more likely I'm doing something wrong, > but are there any existing examples of how to use it properly with the > latest versions of nagios? > -- Smartmon System Monitoring www.smartmon.com.au -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Magic Quadrant for Content-Aware Data Loss Prevention Research study explores the data loss prevention market. Includes in-depth analysis on the changes within the DLP market, and the criteria used to evaluate the strengths and weaknesses of these DLP solutions. http://www.accelacomm.com/jaw/sfnl/114/51385063/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagiostool at gmail.com Sun Jul 24 10:34:54 2011 From: nagiostool at gmail.com (nag ios) Date: Sun, 24 Jul 2011 14:04:54 +0530 Subject: Defining command and service manually in Nagios XI Message-ID: Hi, I am thinking to define a new command and new service in Nagios XI, I have manually edited the configuration file in /usr/local/etc/nagios.cfg but *its not showing any that command and service in the run Monitoring Wizard* * * *Please help me out in this issue.* -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Magic Quadrant for Content-Aware Data Loss Prevention Research study explores the data loss prevention market. Includes in-depth analysis on the changes within the DLP market, and the criteria used to evaluate the strengths and weaknesses of these DLP solutions. http://www.accelacomm.com/jaw/sfnl/114/51385063/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From xml.devel at gmail.com Mon Jul 25 10:15:14 2011 From: xml.devel at gmail.com (Kumar, Ashish) Date: Mon, 25 Jul 2011 13:45:14 +0530 Subject: Defining command and service manually in Nagios XI In-Reply-To: References: Message-ID: > > I am thinking to define a new command and new service in Nagios > XI , I have manually edited the configuration file in > /usr/local/etc/nagios.cfg but *its not showing any that command and > service in the run Monitoring Wizard* > The commands are usually defined in /usr/local/nagios/etc/commands.cfg and not nagios.cfg -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Storage Efficiency Calculator This modeling tool is based on patent-pending intellectual property that has been used successfully in hundreds of IBM storage optimization engage- ments, worldwide. Store less, Store more with what you own, Move data to the right place. Try It Now! http://www.accelacomm.com/jaw/sfnl/114/51427378/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From michael.friedrich at univie.ac.at Mon Jul 25 10:26:37 2011 From: michael.friedrich at univie.ac.at (Michael Friedrich) Date: Mon, 25 Jul 2011 10:26:37 +0200 Subject: Defining command and service manually in Nagios XI In-Reply-To: References: Message-ID: <4E2D28BD.5060205@univie.ac.at> Kumar, Ashish wrote: > > I amthinking to define a new command and new service in > Nagios XI , I have manually edited the configuration file in > /usr/local/etc/nagios.cfg but *its not showing any that command > and service in the run Monitoring Wizard* > > > > The commands are usually defined in /usr/local/nagios/etc/commands.cfg > and not nagios.cfg does not matter where you define it, just make sure to include those files. since this is a nagiosix question, you might refer to support.nagios.com instead ... > > ------------------------------------------------------------------------------ > Storage Efficiency Calculator > This modeling tool is based on patent-pending intellectual property that > has been used successfully in hundreds of IBM storage optimization engage- > ments, worldwide. Store less, Store more with what you own, Move data to > the right place. Try It Now! http://www.accelacomm.com/jaw/sfnl/114/51427378/ > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- DI (FH) Michael Friedrich Vienna University Computer Center Universitaetsstrasse 7 A-1010 Vienna, Austria email: michael.friedrich at univie.ac.at phone: +43 1 4277 14359 mobile: +43 664 60277 14359 fax: +43 1 4277 14338 web: http://www.univie.ac.at/zid http://www.aco.net Icinga Core& IDOUtils Developer http://www.icinga.org -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Storage Efficiency Calculator This modeling tool is based on patent-pending intellectual property that has been used successfully in hundreds of IBM storage optimization engage- ments, worldwide. Store less, Store more with what you own, Move data to the right place. Try It Now! http://www.accelacomm.com/jaw/sfnl/114/51427378/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From serajddin.mahmoud at gmail.com Mon Jul 25 11:16:39 2011 From: serajddin.mahmoud at gmail.com (=?UTF-8?B?2LnYqNivINin2YTYrdmF2YrYryA=?=) Date: Mon, 25 Jul 2011 09:16:39 +0000 Subject: error: (Return code of 127 is out of bounds - plugin may be missing) Message-ID: Hi , i've configured a windows machine and a router to monitor with SNPM and localhost But i've this error : (Return code of 127 is out of bounds - plugin may be missing) when i open the Web Interface Monitoring in my browser any help? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Storage Efficiency Calculator This modeling tool is based on patent-pending intellectual property that has been used successfully in hundreds of IBM storage optimization engage- ments, worldwide. Store less, Store more with what you own, Move data to the right place. Try It Now! http://www.accelacomm.com/jaw/sfnl/114/51427378/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From eagles051387 at gmail.com Mon Jul 25 11:34:34 2011 From: eagles051387 at gmail.com (Jonathan Aquilina) Date: Mon, 25 Jul 2011 11:34:34 +0200 Subject: check_procs Message-ID: <4E2D38AA.4000608@gmail.com> is it possible to specify an ip with this check? ------------------------------------------------------------------------------ Storage Efficiency Calculator This modeling tool is based on patent-pending intellectual property that has been used successfully in hundreds of IBM storage optimization engage- ments, worldwide. Store less, Store more with what you own, Move data to the right place. Try It Now! http://www.accelacomm.com/jaw/sfnl/114/51427378/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Martin_Hugo at hboe.org Mon Jul 25 12:18:36 2011 From: Martin_Hugo at hboe.org (Martin Hugo) Date: Mon, 25 Jul 2011 10:18:36 +0000 Subject: error: (Return code of 127 is out of bounds - plugin may be missing) In-Reply-To: References: Message-ID: <70D7A4219FE365439DA53582BA6D8F2E4DE51E3A@HCSD-MAIL2> What plugin (check) are you attempting to use? What distro (Linux ver) are you using? Did you install from RPM or source? These answers will help people point you in the right direction. Martin T. Hugo Network Administrator Hilliard City Schools Tel: 614-921-7102 ________________________________ From: ??? ?????? [serajddin.mahmoud at gmail.com] Sent: Monday, July 25, 2011 5:16 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] error: (Return code of 127 is out of bounds - plugin may be missing) Hi , i've configured a windows machine and a router to monitor with SNPM and localhost But i've this error : (Return code of 127 is out of bounds - plugin may be missing) when i open the Web Interface Monitoring in my browser any help? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Storage Efficiency Calculator This modeling tool is based on patent-pending intellectual property that has been used successfully in hundreds of IBM storage optimization engage- ments, worldwide. Store less, Store more with what you own, Move data to the right place. Try It Now! http://www.accelacomm.com/jaw/sfnl/114/51427378/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From serajddin.mahmoud at gmail.com Mon Jul 25 12:49:22 2011 From: serajddin.mahmoud at gmail.com (=?ISO-8859-6?B?2cjPIMfkzeXqzyA=?=) Date: Mon, 25 Jul 2011 10:49:22 +0000 Subject: error: (Return code of 127 is out of bounds - plugin may be missing) In-Reply-To: <70D7A4219FE365439DA53582BA6D8F2E4DE51E3A@HCSD-MAIL2> References: <70D7A4219FE365439DA53582BA6D8F2E4DE51E3A@HCSD-MAIL2> Message-ID: i'm using this plugins for SNMP :{ check_snmp_boostedge.pl ; check_snmp_cpfw.pl ; check_snmp_css.pl ; check_snmp_env.pl check_snmp_int.pl ; check_snmp_linkproof_nhr.pl ; check_snmp_load.pl ; check_snmp_mem.pl ; check_snmp_nsbox.plcheck_snmp_process.pl ; check_snmp_storage.pl ; check_snmp_vrrp.pl ; check_snmp_win.pl} for distridution i'm using : FAN- 2.1 (Centos) NB: before using SNMP i'd configurated machines and it worked -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Storage Efficiency Calculator This modeling tool is based on patent-pending intellectual property that has been used successfully in hundreds of IBM storage optimization engage- ments, worldwide. Store less, Store more with what you own, Move data to the right place. Try It Now! http://www.accelacomm.com/jaw/sfnl/114/51427378/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From serajddin.mahmoud at gmail.com Mon Jul 25 13:00:01 2011 From: serajddin.mahmoud at gmail.com (=?UTF-8?B?2LnYqNivINin2YTYrdmF2YrYryA=?=) Date: Mon, 25 Jul 2011 11:00:01 +0000 Subject: error: (Return code of 127 is out of bounds - plugin may be missing) In-Reply-To: References: <70D7A4219FE365439DA53582BA6D8F2E4DE51E3A@HCSD-MAIL2> Message-ID: i've used this guid to monitor with snmp : http://wiki.monitoring-fr.org/nagios/mise-en-place-complete-nagios-sur-rhel-5.4/supervision-nagios-snmp : -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Storage Efficiency Calculator This modeling tool is based on patent-pending intellectual property that has been used successfully in hundreds of IBM storage optimization engage- ments, worldwide. Store less, Store more with what you own, Move data to the right place. Try It Now! http://www.accelacomm.com/jaw/sfnl/114/51427378/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stanislas.leveau at ac-caen.fr Mon Jul 25 13:37:52 2011 From: stanislas.leveau at ac-caen.fr (LEVEAU Stan IMAP) Date: Mon, 25 Jul 2011 13:37:52 +0200 Subject: error: (Return code of 127 is out of bounds - plugin may be missing) In-Reply-To: References: <70D7A4219FE365439DA53582BA6D8F2E4DE51E3A@HCSD-MAIL2> Message-ID: <4E2D5590.3000400@ac-caen.fr> Hi Have you installed the plugins? Have you created the commands? Regards Le 25/07/2011 12:49, ??? ?????? a ?crit : > i'm using this plugins for SNMP :{ check_snmp_boostedge.pl > ; check_snmp_cpfw.pl > ; check_snmp_css.pl > ; check_snmp_env.pl > check_snmp_int.pl ;check_snmp_linkproof_nhr.pl ;check_snmp_load.pl ;check_snmp_mem.pl ;check_snmp_nsbox.pl > check_snmp_process.pl ;check_snmp_storage.pl ;check_snmp_vrrp.pl ;check_snmp_win.pl } > for distridution i'm using : FAN- 2.1 (Centos) > NB: before using SNMP i'd configurated machines and it worked > > > > ------------------------------------------------------------------------------ > Storage Efficiency Calculator > This modeling tool is based on patent-pending intellectual property that > has been used successfully in hundreds of IBM storage optimization engage- > ments, worldwide. Store less, Store more with what you own, Move data to > the right place. Try It Now! http://www.accelacomm.com/jaw/sfnl/114/51427378/ > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Storage Efficiency Calculator This modeling tool is based on patent-pending intellectual property that has been used successfully in hundreds of IBM storage optimization engage- ments, worldwide. Store less, Store more with what you own, Move data to the right place. Try It Now! http://www.accelacomm.com/jaw/sfnl/114/51427378/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Martin_Hugo at hboe.org Mon Jul 25 13:28:53 2011 From: Martin_Hugo at hboe.org (Martin Hugo) Date: Mon, 25 Jul 2011 11:28:53 +0000 Subject: error: (Return code of 127 is out of bounds - plugin may be missing) In-Reply-To: References: <70D7A4219FE365439DA53582BA6D8F2E4DE51E3A@HCSD-MAIL2> , Message-ID: <70D7A4219FE365439DA53582BA6D8F2E4DE51E7C@HCSD-MAIL2> Typically, one can see that error if the actual plugin is missing from your plugins folder (path will vary depending on distro and source). Check that the actual plugins are there. Also, check that the command functions from the command line. Be sure to test it as the nagios user, if it works as root but not nagios then it's likely permissions. If it doesn't work from command line and the plugins are there, check your syntax and, if neccessary recompile your plugins. Martin T. Hugo Network Administrator Hilliard City Schools Tel: 614-921-7102 ________________________________ From: ??? ?????? [serajddin.mahmoud at gmail.com] Sent: Monday, July 25, 2011 7:00 AM To: Nagios Users List Subject: Re: [Nagios-users] error: (Return code of 127 is out of bounds - plugin may be missing) i've used this guid to monitor with snmp : http://wiki.monitoring-fr.org/nagios/mise-en-place-complete-nagios-sur-rhel-5.4/supervision-nagios-snmp: -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Storage Efficiency Calculator This modeling tool is based on patent-pending intellectual property that has been used successfully in hundreds of IBM storage optimization engage- ments, worldwide. Store less, Store more with what you own, Move data to the right place. Try It Now! http://www.accelacomm.com/jaw/sfnl/114/51427378/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Mon Jul 25 14:02:34 2011 From: jim at jimavery.me.uk (Jim Avery) Date: Mon, 25 Jul 2011 13:02:34 +0100 Subject: check_procs In-Reply-To: <4E2D38AA.4000608@gmail.com> References: <4E2D38AA.4000608@gmail.com> Message-ID: On 25 July 2011 10:34, Jonathan Aquilina wrote: > is it possible to specify an ip with this check? No, that plugin is only designed to run locally. You should be able to run it on the remote machine if you have nrpe installed though. See the NRPE manual which you will find here: http://library.nagios.com/library/products/nagioscore/manuals/ Also/instead, take a look at check_snmp_process which you will find at http://nagios.manubulon.com/ . This obviously requires that you have the monitored system configured to allow SNMP. If it's a Windows server you want to monitor then take a look at NSClient++ http://www.nsclient.org/nscp/ I hope that helps! ------------------------------------------------------------------------------ Storage Efficiency Calculator This modeling tool is based on patent-pending intellectual property that has been used successfully in hundreds of IBM storage optimization engage- ments, worldwide. Store less, Store more with what you own, Move data to the right place. Try It Now! http://www.accelacomm.com/jaw/sfnl/114/51427378/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From eagles051387 at gmail.com Mon Jul 25 14:10:26 2011 From: eagles051387 at gmail.com (Jonathan Aquilina) Date: Mon, 25 Jul 2011 14:10:26 +0200 Subject: check_procs In-Reply-To: References: <4E2D38AA.4000608@gmail.com> Message-ID: <4E2D5D32.4080403@gmail.com> Thanks Jim, ended up finding what i needed and managed with check_snmp. Very hard to find the various types of ranges you can specify wiht nagios but i ended up finding them. On 25/07/2011 14:02, Jim Avery wrote: > On 25 July 2011 10:34, Jonathan Aquilina wrote: >> is it possible to specify an ip with this check? > > No, that plugin is only designed to run locally. > > > You should be able to run it on the remote machine if you have nrpe > installed though. > > See the NRPE manual which you will find here: > > http://library.nagios.com/library/products/nagioscore/manuals/ > > > Also/instead, take a look at check_snmp_process which you will find at > http://nagios.manubulon.com/ . This obviously requires that you have > the monitored system configured to allow SNMP. > > If it's a Windows server you want to monitor then take a look at > NSClient++ http://www.nsclient.org/nscp/ > > I hope that helps! > > ------------------------------------------------------------------------------ > Storage Efficiency Calculator > This modeling tool is based on patent-pending intellectual property that > has been used successfully in hundreds of IBM storage optimization engage- > ments, worldwide. Store less, Store more with what you own, Move data to > the right place. Try It Now! http://www.accelacomm.com/jaw/sfnl/114/51427378/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Storage Efficiency Calculator This modeling tool is based on patent-pending intellectual property that has been used successfully in hundreds of IBM storage optimization engage- ments, worldwide. Store less, Store more with what you own, Move data to the right place. Try It Now! http://www.accelacomm.com/jaw/sfnl/114/51427378/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From eagles051387 at gmail.com Mon Jul 25 14:18:22 2011 From: eagles051387 at gmail.com (Jonathan Aquilina) Date: Mon, 25 Jul 2011 14:18:22 +0200 Subject: check http port 80 warning on a site that actually exists. Message-ID: <4E2D5F0E.1040405@gmail.com> I am workign with a site which i have being monitored by nagios, and for some reason when check_http runs it gets a 404, but if you go to the domain the page exists and the site exists. Would this be a false positive, and if so how can i fix it. Also another interesting matter is that when i try and run the script to check http from command line it times out even after increasing the time out timefrom the default 10 seconds to 20 for instance. Any ideas would be greatly appreciated. ------------------------------------------------------------------------------ Storage Efficiency Calculator This modeling tool is based on patent-pending intellectual property that has been used successfully in hundreds of IBM storage optimization engage- ments, worldwide. Store less, Store more with what you own, Move data to the right place. Try It Now! http://www.accelacomm.com/jaw/sfnl/114/51427378/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From serajddin.mahmoud at gmail.com Mon Jul 25 14:19:45 2011 From: serajddin.mahmoud at gmail.com (=?ISO-8859-6?B?2cjPIMfkzeXqzyA=?=) Date: Mon, 25 Jul 2011 12:19:45 +0000 Subject: error: (Return code of 127 is out of bounds - plugin may be missing) In-Reply-To: <70D7A4219FE365439DA53582BA6D8F2E4DE51E7C@HCSD-MAIL2> References: <70D7A4219FE365439DA53582BA6D8F2E4DE51E3A@HCSD-MAIL2> <70D7A4219FE365439DA53582BA6D8F2E4DE51E7C@HCSD-MAIL2> Message-ID: i'v installed snpm_plugins and move them to the directory : /usr/lib/nagios/plugins i've also created commands -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Storage Efficiency Calculator This modeling tool is based on patent-pending intellectual property that has been used successfully in hundreds of IBM storage optimization engage- ments, worldwide. Store less, Store more with what you own, Move data to the right place. Try It Now! http://www.accelacomm.com/jaw/sfnl/114/51427378/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stanislas.leveau at ac-caen.fr Mon Jul 25 14:30:37 2011 From: stanislas.leveau at ac-caen.fr (LEVEAU Stan IMAP) Date: Mon, 25 Jul 2011 14:30:37 +0200 Subject: error: (Return code of 127 is out of bounds - plugin may be missing) In-Reply-To: References: <70D7A4219FE365439DA53582BA6D8F2E4DE51E3A@HCSD-MAIL2> <70D7A4219FE365439DA53582BA6D8F2E4DE51E7C@HCSD-MAIL2> Message-ID: <4E2D61ED.6030108@ac-caen.fr> you have an example of your commnds please Le 25/07/2011 14:19, ??? ?????? a ?crit : > i'v installed snpm_plugins and move them to the directory : > /usr/lib/nagios/plugins > > > > i've also created commands > > > ------------------------------------------------------------------------------ > Storage Efficiency Calculator > This modeling tool is based on patent-pending intellectual property that > has been used successfully in hundreds of IBM storage optimization engage- > ments, worldwide. Store less, Store more with what you own, Move data to > the right place. Try It Now! http://www.accelacomm.com/jaw/sfnl/114/51427378/ > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Storage Efficiency Calculator This modeling tool is based on patent-pending intellectual property that has been used successfully in hundreds of IBM storage optimization engage- ments, worldwide. Store less, Store more with what you own, Move data to the right place. Try It Now! http://www.accelacomm.com/jaw/sfnl/114/51427378/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Martin_Hugo at hboe.org Mon Jul 25 14:33:58 2011 From: Martin_Hugo at hboe.org (Martin Hugo) Date: Mon, 25 Jul 2011 12:33:58 +0000 Subject: error: (Return code of 127 is out of bounds - plugin may be missing) In-Reply-To: References: <70D7A4219FE365439DA53582BA6D8F2E4DE51E3A@HCSD-MAIL2> <70D7A4219FE365439DA53582BA6D8F2E4DE51E7C@HCSD-MAIL2> Message-ID: <70D7A4219FE365439DA53582BA6D8F2E4DE51F13@HCSD-MAIL2> Is that path correct for your installation? I installed on CentOS 5.x from source and my path is different > /usr/local/Nagios/libexec. The path will vary depending on your OS and how you installed the app and configured the plugins. Martin T. Hugo Network Administrator Hilliard City Schools 614-921-7102 (Ph) 614-771-7243 (Fax) [Think before you print.]Think before you print From: ??? ?????? [mailto:serajddin.mahmoud at gmail.com] Sent: Monday, July 25, 2011 8:20 AM To: Nagios Users List Subject: Re: [Nagios-users] error: (Return code of 127 is out of bounds - plugin may be missing) i'v installed snpm_plugins and move them to the directory : /usr/lib/nagios/plugins i've also created commands -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.gif Type: image/gif Size: 87 bytes Desc: image001.gif URL: -------------- next part -------------- ------------------------------------------------------------------------------ Storage Efficiency Calculator This modeling tool is based on patent-pending intellectual property that has been used successfully in hundreds of IBM storage optimization engage- ments, worldwide. Store less, Store more with what you own, Move data to the right place. Try It Now! http://www.accelacomm.com/jaw/sfnl/114/51427378/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From eagles051387 at gmail.com Mon Jul 25 14:41:10 2011 From: eagles051387 at gmail.com (Jonathan Aquilina) Date: Mon, 25 Jul 2011 14:41:10 +0200 Subject: error: (Return code of 127 is out of bounds - plugin may be missing) In-Reply-To: <70D7A4219FE365439DA53582BA6D8F2E4DE51F13@HCSD-MAIL2> References: <70D7A4219FE365439DA53582BA6D8F2E4DE51E3A@HCSD-MAIL2> <70D7A4219FE365439DA53582BA6D8F2E4DE51E7C@HCSD-MAIL2> <70D7A4219FE365439DA53582BA6D8F2E4DE51F13@HCSD-MAIL2> Message-ID: <4E2D6466.3020005@gmail.com> my plugins are in /usr/lib64/nagios/plugins On 25/07/2011 14:33, Martin Hugo wrote: > > Is that path correct for your installation? I installed on CentOS 5.x > from source and my path is different > /usr/local/Nagios/libexec. > > The path will vary depending on your OS and how you installed the app > and configured the plugins. > > Martin T. Hugo > > Network Administrator > > Hilliard City Schools > > 614-921-7102 (Ph) > > 614-771-7243 (Fax) > > Think before you print.Think before you print > > *From:*??? ?????? [mailto:serajddin.mahmoud at gmail.com] > *Sent:* Monday, July 25, 2011 8:20 AM > *To:* Nagios Users List > *Subject:* Re: [Nagios-users] error: (Return code of 127 is out of > bounds - plugin may be missing) > > i'v installed snpm_plugins and move them to the directory : > /usr/lib/nagios/plugins > > > > i've also created commands > > > > ------------------------------------------------------------------------------ > Storage Efficiency Calculator > This modeling tool is based on patent-pending intellectual property that > has been used successfully in hundreds of IBM storage optimization engage- > ments, worldwide. Store less, Store more with what you own, Move data to > the right place. Try It Now! http://www.accelacomm.com/jaw/sfnl/114/51427378/ > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/gif Size: 87 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ Storage Efficiency Calculator This modeling tool is based on patent-pending intellectual property that has been used successfully in hundreds of IBM storage optimization engage- ments, worldwide. Store less, Store more with what you own, Move data to the right place. Try It Now! http://www.accelacomm.com/jaw/sfnl/114/51427378/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stanislas.leveau at ac-caen.fr Mon Jul 25 14:45:04 2011 From: stanislas.leveau at ac-caen.fr (LEVEAU Stan IMAP) Date: Mon, 25 Jul 2011 14:45:04 +0200 Subject: error: (Return code of 127 is out of bounds - plugin may be missing) In-Reply-To: References: <70D7A4219FE365439DA53582BA6D8F2E4DE51E3A@HCSD-MAIL2> <70D7A4219FE365439DA53582BA6D8F2E4DE51E7C@HCSD-MAIL2> <4E2D61ED.6030108@ac-caen.fr> Message-ID: <4E2D6550.1000308@ac-caen.fr> what is the path of this variable? : $USER1$ regards Le 25/07/2011 14:42, ??? ?????? a ?crit : > **commandes.cfg**** > define command{ > command_name check_win_load > command_line $USER1$/check_snmp_load.pl -H $HOSTADDRESS$ -C $ARG1$ $ARG2$ -T $ARG3$ -w $ARG4$ -c $ARG5$ > } > ***server-wind.cfg*** > # Create a service for monitoring Windows CPU load with SNMP > define service{ > use generic-service ;Use generic-service template > service_description chk-win-load > check_command check_win_load!public!--v2c!stand!85!95 > > } -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Storage Efficiency Calculator This modeling tool is based on patent-pending intellectual property that has been used successfully in hundreds of IBM storage optimization engage- ments, worldwide. Store less, Store more with what you own, Move data to the right place. Try It Now! http://www.accelacomm.com/jaw/sfnl/114/51427378/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From serajddin.mahmoud at gmail.com Mon Jul 25 14:49:42 2011 From: serajddin.mahmoud at gmail.com (=?UTF-8?B?2LnYqNivINin2YTYrdmF2YrYryA=?=) Date: Mon, 25 Jul 2011 12:49:42 +0000 Subject: error: (Return code of 127 is out of bounds - plugin may be missing) In-Reply-To: <4E2D6550.1000308@ac-caen.fr> References: <70D7A4219FE365439DA53582BA6D8F2E4DE51E3A@HCSD-MAIL2> <70D7A4219FE365439DA53582BA6D8F2E4DE51E7C@HCSD-MAIL2> <4E2D61ED.6030108@ac-caen.fr> <4E2D6550.1000308@ac-caen.fr> Message-ID: $user1$ : /usr/lib/nagios/plugins 2011/7/25 LEVEAU Stan IMAP > ** > what is the path of this variable? : $USER1$ > > regards > > Le 25/07/2011 14:42, ??? ?????? a ?crit : > > **commandes.cfg**** > > define command{ > command_name check_win_load > command_line $USER1$/check_snmp_load.pl -H $HOSTADDRESS$ -C $ARG1$ $ARG2$ -T $ARG3$ -w $ARG4$ -c $ARG5$ > } > > ***server-wind.cfg*** > > # Create a service for monitoring Windows CPU load with SNMP > define service{ > use generic-service ;Use generic-service template > service_description chk-win-load > check_command check_win_load!public!--v2c!stand!85!95 > > } > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Storage Efficiency Calculator This modeling tool is based on patent-pending intellectual property that has been used successfully in hundreds of IBM storage optimization engage- ments, worldwide. Store less, Store more with what you own, Move data to the right place. Try It Now! http://www.accelacomm.com/jaw/sfnl/114/51427378/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mazzystr at gmail.com Mon Jul 25 15:37:51 2011 From: mazzystr at gmail.com (Chris C) Date: Mon, 25 Jul 2011 09:37:51 -0400 Subject: [CHECK_DIG] PTR record check not working Message-ID: Hi guys, I am having trouble getting a PTR record check working with check_dig check_dig fails.... check_dig -H "8.8.8.8" -l "74.203.101.150" -T "PTR" -v /usr/bin/dig @8.8.8.8 -p 53 74.203.101.150 -t PTR Looking for: '74.203.101.150' DNS CRITICAL - 0.169 seconds response time (No ANSWER SECTION found)|time=0.169224s;;;0.000000 dig works correctly.... dig @8.8.8.8 -x 74.203.101.150 ; <<>> DiG 9.3.6-P1-RedHat-9.3.6-16.P1.el5 <<>> @8.8.8.8 -x 74.203.101.150 ; (1 server found) ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 27441 ;; flags: qr rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;150.101.203.74.in-addr.arpa. IN PTR ;; ANSWER SECTION: 150.101.203.74.in-addr.arpa. 83707 IN CNAME 150.128-255.101.203.74.in-addr.arpa. 150.128-255.101.203.74.in-addr.arpa. 907 IN PTR akc.org. 150.128-255.101.203.74.in-addr.arpa. 907 IN PTR www.akc.org. ;; Query time: 15 msec ;; SERVER: 8.8.8.8#53(8.8.8.8) ;; WHEN: Mon Jul 25 09:07:21 2011 ;; MSG SIZE rcvd: 110 I can't get check_dig to work with any PTR record using any nameserver. Anyone have any idea what I'm doing wrong? Thanks, /Chris C ------------------------------------------------------------------------------ Storage Efficiency Calculator This modeling tool is based on patent-pending intellectual property that has been used successfully in hundreds of IBM storage optimization engage- ments, worldwide. Store less, Store more with what you own, Move data to the right place. Try It Now! http://www.accelacomm.com/jaw/sfnl/114/51427378/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jon at netdork.net Tue Jul 26 03:07:29 2011 From: jon at netdork.net (Jonathan Angliss) Date: Mon, 25 Jul 2011 20:07:29 -0500 Subject: [CHECK_DIG] PTR record check not working In-Reply-To: References: Message-ID: On 07/25/11 08:37, Chris C wrote: > Hi guys, > I am having trouble getting a PTR record check working with check_dig > > check_dig fails.... > check_dig -H "8.8.8.8" -l "74.203.101.150" -T "PTR" -v > /usr/bin/dig @8.8.8.8 -p 53 74.203.101.150 -t PTR > Looking for: '74.203.101.150' > DNS CRITICAL - 0.169 seconds response time (No ANSWER SECTION > found)|time=0.169224s;;;0.000000 > > > dig works correctly.... > dig @8.8.8.8 -x 74.203.101.150 > These are 2 different requests. The -x command sent to dig does an automatic reversal for the PTR record. Notice in your answer section below the actual question. > ;<<>> DiG 9.3.6-P1-RedHat-9.3.6-16.P1.el5<<>> @8.8.8.8 -x 74.203.101.150 > ; (1 server found) > ;; global options: printcmd > ;; Got answer: > ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 27441 > ;; flags: qr rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 0, ADDITIONAL: 0 > > ;; QUESTION SECTION: > ;150.101.203.74.in-addr.arpa. IN PTR This question here, see the IP reversed, and the syntax is different. To make check_dig do the same, you have to do some work... ./check_dig -H 8.8.8.8 -l 150.101.203.74.in-addr.arpa. -T PTR -v /usr/bin/dig @8.8.8.8 -p 53 150.101.203.74.in-addr.arpa. -t PTR Looking for: '150.101.203.74.in-addr.arpa.' ;; ANSWER SECTION: 150.101.203.74.in-addr.arpa. 62035 IN CNAME 150.128-255.101.203.74.in-addr.arpa. DNS OK - 0.044 seconds response time (150.101.203.74.in-addr.arpa. 62035 IN CNAME 150.128-255.101.203.74.in-addr.arpa.)|time=0.043945s;;;0.000000 Works just fine, if you have the syntax correct. According to the docs, you're supposed to be able to pass arguments straight to dig using the -A arg on check_dig, however because check_dig executes "-t A" it doesn't allow you to pass certain syntax, so: ./check_dig -H 8.8.8.8 -l 74.203.101.150 -A "-x" doesn't work, because the real syntax is: /usr/bin/dig @8.8.8.8 -p 53 74.203.101.150 -t A -x Long story short, do proper PTR queries, which isn't what you were doing. -- Jonathan Angliss ------------------------------------------------------------------------------ Magic Quadrant for Content-Aware Data Loss Prevention Research study explores the data loss prevention market. Includes in-depth analysis on the changes within the DLP market, and the criteria used to evaluate the strengths and weaknesses of these DLP solutions. http://www.accelacomm.com/jaw/sfnl/114/51385063/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jul 26 03:19:37 2011 From: yuehung.liu at gmail.com (Yueh-Hung Liu) Date: Tue, 26 Jul 2011 09:19:37 +0800 Subject: [CHECK_DIG] PTR record check not working In-Reply-To: References: Message-ID: try this: check_dig -H "8.8.8.8" -l "-x 74.203.101.150" -T "PTR" -v you have to pass the "-x" option to the dig utility. On Mon, Jul 25, 2011 at 9:37 PM, Chris C wrote: > Hi guys, > I am having trouble getting a PTR record check working with check_dig > > check_dig fails.... > check_dig -H "8.8.8.8" -l "74.203.101.150" -T "PTR" -v > /usr/bin/dig @8.8.8.8 -p 53 74.203.101.150 -t PTR > Looking for: '74.203.101.150' > DNS CRITICAL - 0.169 seconds response time (No ANSWER SECTION > found)|time=0.169224s;;;0.000000 > > > dig works correctly.... > dig @8.8.8.8 -x 74.203.101.150 > > ; <<>> DiG 9.3.6-P1-RedHat-9.3.6-16.P1.el5 <<>> @8.8.8.8 -x 74.203.101.150 > ; (1 server found) > ;; global options: ?printcmd > ;; Got answer: > ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 27441 > ;; flags: qr rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 0, ADDITIONAL: 0 > > ;; QUESTION SECTION: > ;150.101.203.74.in-addr.arpa. ? IN ? ? ?PTR > > ;; ANSWER SECTION: > 150.101.203.74.in-addr.arpa. 83707 IN ? CNAME ? 150.128-255.101.203.74.in-addr.arpa. > 150.128-255.101.203.74.in-addr.arpa. 907 IN PTR akc.org. > 150.128-255.101.203.74.in-addr.arpa. 907 IN PTR www.akc.org. > > ;; Query time: 15 msec > ;; SERVER: 8.8.8.8#53(8.8.8.8) > ;; WHEN: Mon Jul 25 09:07:21 2011 > ;; MSG SIZE ?rcvd: 110 > > > I can't get check_dig to work with any PTR record using any nameserver. > > Anyone have any idea what I'm doing wrong? > > Thanks, > /Chris C > > ------------------------------------------------------------------------------ > Storage Efficiency Calculator > This modeling tool is based on patent-pending intellectual property that > has been used successfully in hundreds of IBM storage optimization engage- > ments, worldwide. ?Store less, Store more with what you own, Move data to > the right place. Try It Now! http://www.accelacomm.com/jaw/sfnl/114/51427378/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Magic Quadrant for Content-Aware Data Loss Prevention Research study explores the data loss prevention market. Includes in-depth analysis on the changes within the DLP market, and the criteria used to evaluate the strengths and weaknesses of these DLP solutions. http://www.accelacomm.com/jaw/sfnl/114/51385063/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jon at netdork.net Tue Jul 26 04:11:36 2011 From: jon at netdork.net (Jonathan Angliss) Date: Mon, 25 Jul 2011 21:11:36 -0500 Subject: [CHECK_DIG] PTR record check not working In-Reply-To: References: Message-ID: On 07/25/11 20:19, Yueh-Hung Liu wrote: > try this: > > check_dig -H "8.8.8.8" -l "-x 74.203.101.150" -T "PTR" -v > > you have to pass the "-x" option to the dig utility. Interesting, I hadn't considered stringing together this, however check_dig returns a warning, which is because it's looking for: "-x 74.203.101.150" as the response. I guess if you tied it together with -a "somestring" you can make this setup work for you. For example: ./check_dig -H 8.8.8.8 -l "-x 74.203.101.150" -T PTR \ -a "akc.org" -v That returns OK, but without the -a, it returns a warning. -- Jonathan Angliss > > > > > > On Mon, Jul 25, 2011 at 9:37 PM, Chris C wrote: >> Hi guys, >> I am having trouble getting a PTR record check working with check_dig >> >> check_dig fails.... >> check_dig -H "8.8.8.8" -l "74.203.101.150" -T "PTR" -v >> /usr/bin/dig @8.8.8.8 -p 53 74.203.101.150 -t PTR >> Looking for: '74.203.101.150' >> DNS CRITICAL - 0.169 seconds response time (No ANSWER SECTION >> found)|time=0.169224s;;;0.000000 >> >> >> dig works correctly.... >> dig @8.8.8.8 -x 74.203.101.150 >> >> ;<<>> DiG 9.3.6-P1-RedHat-9.3.6-16.P1.el5<<>> @8.8.8.8 -x 74.203.101.150 >> ; (1 server found) >> ;; global options: printcmd >> ;; Got answer: >> ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 27441 >> ;; flags: qr rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 0, ADDITIONAL: 0 >> >> ;; QUESTION SECTION: >> ;150.101.203.74.in-addr.arpa. IN PTR >> >> ;; ANSWER SECTION: >> 150.101.203.74.in-addr.arpa. 83707 IN CNAME 150.128-255.101.203.74.in-addr.arpa. >> 150.128-255.101.203.74.in-addr.arpa. 907 IN PTR akc.org. >> 150.128-255.101.203.74.in-addr.arpa. 907 IN PTR www.akc.org. >> >> ;; Query time: 15 msec >> ;; SERVER: 8.8.8.8#53(8.8.8.8) >> ;; WHEN: Mon Jul 25 09:07:21 2011 >> ;; MSG SIZE rcvd: 110 >> >> >> I can't get check_dig to work with any PTR record using any nameserver. >> >> Anyone have any idea what I'm doing wrong? >> >> Thanks, >> /Chris C >> >> ------------------------------------------------------------------------------ >> Storage Efficiency Calculator >> This modeling tool is based on patent-pending intellectual property that >> has been used successfully in hundreds of IBM storage optimization engage- >> ments, worldwide. Store less, Store more with what you own, Move data to >> the right place. Try It Now! http://www.accelacomm.com/jaw/sfnl/114/51427378/ >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> > > ------------------------------------------------------------------------------ > Magic Quadrant for Content-Aware Data Loss Prevention > Research study explores the data loss prevention market. Includes in-depth > analysis on the changes within the DLP market, and the criteria used to > evaluate the strengths and weaknesses of these DLP solutions. > http://www.accelacomm.com/jaw/sfnl/114/51385063/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Magic Quadrant for Content-Aware Data Loss Prevention Research study explores the data loss prevention market. Includes in-depth analysis on the changes within the DLP market, and the criteria used to evaluate the strengths and weaknesses of these DLP solutions. http://www.accelacomm.com/jaw/sfnl/114/51385063/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From amorum at brendata.co.uk Tue Jul 26 10:41:03 2011 From: amorum at brendata.co.uk (Andrew Morum) Date: Tue, 26 Jul 2011 09:41:03 +0100 Subject: Make Install error on 3.3.1 Message-ID: <6B8895CA39846F4DB78FAE7979D9D77E7BE0F8@prodntsc2.brendata> We're seeing an error during make install of 3.3.1. I have checked the install & upgrade docs for 3.3.1, all prerequisites are already installed. 3.2.3 still installs with no errors. OS: Ubuntu 8.04.4 LTS (fully up-to-date from apt-get repo) Config line: ./configure --with-command-group=nagcmd Output from make install: root at ubuntu-nagios:~/Nagios/nagios-3.3.1/nagios# make install cd ./base && make install make[1]: Entering directory `/root/Nagios/nagios-3.3.1/nagios/base' make install-basic make[2]: Entering directory `/root/Nagios/nagios-3.3.1/nagios/base' /usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/bin /usr/bin/install -c -m 774 -o nagios -g nagios nagios /usr/local/nagios/bin /usr/bin/install -c -m 774 -o nagios -g nagios nagiostats /usr/local/nagios/bin make[2]: Leaving directory `/root/Nagios/nagios-3.3.1/nagios/base' make strip-post-install make[2]: Entering directory `/root/Nagios/nagios-3.3.1/nagios/base' /usr/bin/strip /usr/local/nagios/bin/nagios /usr/bin/strip /usr/local/nagios/bin/nagiostats make[2]: Leaving directory `/root/Nagios/nagios-3.3.1/nagios/base' make[1]: Leaving directory `/root/Nagios/nagios-3.3.1/nagios/base' cd ./cgi && make install make[1]: Entering directory `/root/Nagios/nagios-3.3.1/nagios/cgi' make install-basic make[2]: Entering directory `/root/Nagios/nagios-3.3.1/nagios/cgi' /usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/sbin for file in *.cgi; do /usr/bin/install -c -m 775 -o nagios -g nagios $file /usr/local/nagios/sbin; done make[2]: Leaving directory `/root/Nagios/nagios-3.3.1/nagios/cgi' make strip-post-install make[2]: Entering directory `/root/Nagios/nagios-3.3.1/nagios/cgi' for file in *.cgi; do /usr/bin/strip /usr/local/nagios/sbin/$file; done make[2]: Leaving directory `/root/Nagios/nagios-3.3.1/nagios/cgi' make[1]: Leaving directory `/root/Nagios/nagios-3.3.1/nagios/cgi' cd ./html && make install make[1]: Entering directory `/root/Nagios/nagios-3.3.1/nagios/html' /usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/share /usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/share/media /usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/share/stylesheets /usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/share/contexthelp /usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/share/docs /usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/share/docs/images /usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/share/images /usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/share/images/logos /usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/share/includes /usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/share/includes/rss /usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/share/includes/rss/extlib /usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/share/ssi /usr/bin/install -c -m 664 -o nagios -g nagios robots.txt /usr/local/nagios/share rm -f /usr/local/nagios/share/index.html rm -f /usr/local/nagios/share/main.html rm -f /usr/local/nagios/share/side.html for file in *.php; do /usr/bin/install -c -m 664 -o nagios -g nagios $file /usr/local/nagios/share; done for file in stylesheets/*.css; do /usr/bin/install -c -m 664 -o nagios -g nagios $file /usr/local/nagios/share/stylesheets; done for file in contexthelp/*.html; do /usr/bin/install -c -m 664 -o nagios -g nagios $file /usr/local/nagios/share/contexthelp; done for file in images/*.gif; do /usr/bin/install -c -m 664 -o nagios -g nagios $file /usr/local/nagios/share/images; done for file in images/*.jpg; do /usr/bin/install -c -m 664 -o nagios -g nagios $file /usr/local/nagios/share/images; done for file in images/*.png; do /usr/bin/install -c -m 664 -o nagios -g nagios $file /usr/local/nagios/share/images; done for file in images/*.ico; do /usr/bin/install -c -m 664 -o nagios -g nagios $file /usr/local/nagios/share/images; done for file in images/logos/*.*; do /usr/bin/install -c -m 664 -o nagios -g nagios $file /usr/local/nagios/share/images/logos; done for file in includes/*.*; do /usr/bin/install -c -m 664 -o nagios -g nagios $file /usr/local/nagios/share/includes; done for file in includes/rss/*; do /usr/bin/install -c -m 664 -o nagios -g nagios $file /usr/local/nagios/share/includes/rss; done /usr/bin/install: omitting directory `includes/rss/extlib' /usr/bin/install: omitting directory `includes/rss/htdocs' /usr/bin/install: omitting directory `includes/rss/scripts' make[1]: *** [install] Error 1 make[1]: Leaving directory `/root/Nagios/nagios-3.3.1/nagios/html' make: *** [install] Error 2 Thanks & regards, Andy. The information contained in this email is intended for the personal and confidential use of the addressee only. It may also be privileged information. If you are not the intended recipient then you are hereby notified that you have received this document in error and that any review, distribution or copying of this document is strictly prohibited. If you have received this communication in error, please notify Brendata immediately on: +44 (0)1268 466100, or email 'technical at brendata.co.uk' Brendata (UK) Ltd Nevendon Hall, Nevendon Road, Basildon, Essex. SS13 1BX UK Registered Office as above. Registered in England No. 2764339 See our current vacancies at www.brendata.co.uk ------------------------------------------------------------------------------ Magic Quadrant for Content-Aware Data Loss Prevention Research study explores the data loss prevention market. Includes in-depth analysis on the changes within the DLP market, and the criteria used to evaluate the strengths and weaknesses of these DLP solutions. http://www.accelacomm.com/jaw/sfnl/114/51385063/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From serajddin.mahmoud at gmail.com Tue Jul 26 11:44:07 2011 From: serajddin.mahmoud at gmail.com (=?UTF-8?B?2LnYqNivINin2YTYrdmF2YrYryA=?=) Date: Tue, 26 Jul 2011 11:44:07 +0200 Subject: error: (Return code of 127 is out of bounds - plugin may be missing) In-Reply-To: References: <70D7A4219FE365439DA53582BA6D8F2E4DE51E3A@HCSD-MAIL2> <70D7A4219FE365439DA53582BA6D8F2E4DE51E7C@HCSD-MAIL2> <4E2D61ED.6030108@ac-caen.fr> <4E2D6550.1000308@ac-caen.fr> Message-ID: i've try to monitor just localhost which the configuration is already written in /etc/nagios/objects i've the localhost "down" and the error (Return code of 127 is out of bounds - plugin may be missing) for services any help!! with regards -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Magic Quadrant for Content-Aware Data Loss Prevention Research study explores the data loss prevention market. Includes in-depth analysis on the changes within the DLP market, and the criteria used to evaluate the strengths and weaknesses of these DLP solutions. http://www.accelacomm.com/jaw/sfnl/114/51385063/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From werner.flamme at ufz.de Tue Jul 26 12:13:02 2011 From: werner.flamme at ufz.de (Werner Flamme) Date: Tue, 26 Jul 2011 12:13:02 +0200 Subject: error: (Return code of 127 is out of bounds - plugin may be missing) In-Reply-To: References: <70D7A4219FE365439DA53582BA6D8F2E4DE51E3A@HCSD-MAIL2> <70D7A4219FE365439DA53582BA6D8F2E4DE51E7C@HCSD-MAIL2> <4E2D61ED.6030108@ac-caen.fr> <4E2D6550.1000308@ac-caen.fr> Message-ID: <4E2E932E.3080601@ufz.de> ??? ?????? [26.07.2011 11:44]: > i've try to monitor just localhost which the configuration is already > written in /etc/nagios/objects > i've the localhost "down" and the error (Return code of 127 is out of bounds > - plugin may be missing) for services > any help!! > > > > > with regards You still did not show how the results of the checks look like when you execute them manually from command line as user nagios. From what you wrote, this should be the command (replace "host" with the name of the host you want to monitor) /usr/lib/nagios/plugins/check_snmp_load.pl -H host -C public --v2c -T stand -w 85 -c 85 BTW, you wrote "$user1$ : /usr/lib/nagios/plugins". For me, it is "$USER1$" in capital letters... How does your nagios detect that localhost is down? check_icmp? check_ping? Try "chmod 4755 /usr/lib/nagios/plugins/check_icmp" and/or "chmod 4755 /usr/lib/nagios/plugins/check_ping". Regards, Werner ------------------------------------------------------------------------------ Magic Quadrant for Content-Aware Data Loss Prevention Research study explores the data loss prevention market. Includes in-depth analysis on the changes within the DLP market, and the criteria used to evaluate the strengths and weaknesses of these DLP solutions. http://www.accelacomm.com/jaw/sfnl/114/51385063/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stanislas.leveau at ac-caen.fr Tue Jul 26 12:20:17 2011 From: stanislas.leveau at ac-caen.fr (LEVEAU Stanislas) Date: Tue, 26 Jul 2011 12:20:17 +0200 Subject: error: (Return code of 127 is out of bounds - plugin may be missing) In-Reply-To: References: <70D7A4219FE365439DA53582BA6D8F2E4DE51E3A@HCSD-MAIL2> <70D7A4219FE365439DA53582BA6D8F2E4DE51E7C@HCSD-MAIL2> <4E2D61ED.6030108@ac-caen.fr> <4E2D6550.1000308@ac-caen.fr> Message-ID: <4E2E94E1.3020009@ac-caen.fr> execute this command : ls -l /usr/lib/nagios/plugins/check_snmp_load.pl and give me the result regards Le 26/07/2011 11:44, ??? ?????? a ?crit : > i've try to monitor just localhost which the configuration is already > written in /etc/nagios/objects > i've the localhost "down" and the error (Return code of 127 is out of > bounds - plugin may be missing) for services > any help!! > > > > > with regards -- *Stanislas LEVEAU** *Rectorat de Caen 168, rue Caponi?re B.P. 6184 14061 CAEN Cedex Service Informatique de l'Acad?mie de Caen D?partement Syst?mes & R?seaux stanislas.leveau at ac-caen.fr Tel : 02.31.30.17.86 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Magic Quadrant for Content-Aware Data Loss Prevention Research study explores the data loss prevention market. Includes in-depth analysis on the changes within the DLP market, and the criteria used to evaluate the strengths and weaknesses of these DLP solutions. http://www.accelacomm.com/jaw/sfnl/114/51385063/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jindrich.nemec at fsit.cz Tue Jul 26 12:54:48 2011 From: jindrich.nemec at fsit.cz (Jindrich Nemec) Date: Tue, 26 Jul 2011 12:54:48 +0200 (CEST) Subject: Service Checks scheduled to next year. Service State Information mangled? In-Reply-To: <746480303.173.1311676024627.JavaMail.root@linux.fsit.cz> References: <746480303.173.1311676024627.JavaMail.root@linux.fsit.cz> Message-ID: <610012139.183.1311677688500.JavaMail.root@linux.fsit.cz> Hi all, I'm running Nagios Core Version 3.2.3 on CentOS 5.5. rpm install (RPMforge repo). The problem: some service checks wont execute, they are scheduled to next year...?! I'm running also Version 3.2.1 of Nagios Core installations and I've not encourtered this problem. I've the same service check template (retries, inerval, etc) for all the service checks. Some of the checks abruptly stop to execute waiting for 2012... (no spoilers) -----------------------------------Host State Information--------------------------------- Current Status: OK (for 6d 16h 54m 31s) Status Information: USERS OK - 0 users currently logged in Performance Data: users=0;5;10;0 Current Attempt: 1/7 (HARD state) Last Check Time: 07-19-2011 20:15:39 <---------------------- last Check Type: ACTIVE Check Latency / Duration: 0.234 / 0.064 seconds Next Scheduled Check: 07-07-2012 20:19:39 <--------------- next scheduled to 2012? :-/ Last State Change: 07-19-2011 19:35:39 Last Notification: N/A (notification 0) Is This Service Flapping? NO (8.68% state change) In Scheduled Downtime? NO Last Update: 07-26-2011 12:30:07 ( 0d 0h 0m 3s ago) the next execution is not visible in the Check Scheduling Queue for the example above, below is other checks which is in the queue, but also scheduled to 2012 ----------------------------------Check Scheduling Queue--------------------------------- Host Service Last Check Next Check Type Active Checks Actions c-wifi04 07-19-2011 20:18:41 07-07-2012 20:19:33 Forced ENABLED -----------------------------------Host State Information--------------------------------- Host Status: UP (for 6d 17h 9m 56s) Status Information: PING OK - Packet loss = 0%, RTA = 1.90 ms Performance Data: rta=1.905000ms;3000.000000;5000.000000;0.000000 pl=0%;80;100;0 Current Attempt: 1/5 (HARD state) Last Check Time: 07-19-2011 20:18:41 <---------------------- last Check Type: ACTIVE Check Latency / Duration: 0.083 / 4.167 seconds Next Scheduled Active Check: 07-07-2012 20:19:33 <--------- next scheduled to 2012? Last State Change: 07-19-2011 19:27:11 Last Notification: N/A (notification 0) Is This Host Flapping? NO (9.74% state change) In Scheduled Downtime? NO Last Update: 07-26-2011 12:37:07 ( 0d 0h 0m 0s ago) as I was looking at the various checks it seems it has no conjunction if the service was flapping or not previously. thanks for any suggestion jindrich ------------------------------------------------------------------------------ Magic Quadrant for Content-Aware Data Loss Prevention Research study explores the data loss prevention market. Includes in-depth analysis on the changes within the DLP market, and the criteria used to evaluate the strengths and weaknesses of these DLP solutions. http://www.accelacomm.com/jaw/sfnl/114/51385063/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jindrich.nemec at fsit.cz Tue Jul 26 14:33:01 2011 From: jindrich.nemec at fsit.cz (Jindrich Nemec) Date: Tue, 26 Jul 2011 14:33:01 +0200 (CEST) Subject: Service Checks scheduled to next year. Service State Information mangled? In-Reply-To: <1821226510.213.1311683375158.JavaMail.root@linux.fsit.cz> References: <1821226510.213.1311683375158.JavaMail.root@linux.fsit.cz> Message-ID: <154778867.217.1311683581961.JavaMail.root@linux.fsit.cz> I've found a similar thread, linked below. It seems the problem it is still unsolved. ----- http://www.mail-archive.com/nagios-users at lists.sourceforge.net/msg24816.html For example a check that runs today will have a next scheduled check date of 05/03/2010 instead of 05/03/2009. There is no real connection between the checks, it's like a random problem. Some checks have it, others don't. a manual reschedule of the check does solve the problem but sometimes only temporary. http://article.gmane.org/gmane.network.nagios.devel/5554/match=next+year ------------------------------------------------------------------------------ Magic Quadrant for Content-Aware Data Loss Prevention Research study explores the data loss prevention market. Includes in-depth analysis on the changes within the DLP market, and the criteria used to evaluate the strengths and weaknesses of these DLP solutions. http://www.accelacomm.com/jaw/sfnl/114/51385063/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jul 26 15:45:09 2011 From: yuehung.liu at gmail.com (Yueh-Hung Liu) Date: Tue, 26 Jul 2011 21:45:09 +0800 Subject: Make Install error on 3.3.1 In-Reply-To: <6B8895CA39846F4DB78FAE7979D9D77E7BE0F8@prodntsc2.brendata> References: <6B8895CA39846F4DB78FAE7979D9D77E7BE0F8@prodntsc2.brendata> Message-ID: also got this error message.... i think it is because the installation of the new interface theme 'Exfoliation'. there are directories that match 'includes/rss/*' and cause the install utility stoped on error, while it expected all to be installed are files. On Tue, Jul 26, 2011 at 4:41 PM, Andrew Morum wrote: > We're seeing an error during make install of 3.3.1. > I have checked the install & upgrade docs for 3.3.1, all prerequisites > are already installed. 3.2.3 still installs with no errors. > > OS: Ubuntu 8.04.4 LTS (fully up-to-date from apt-get repo) > > Config line: > ./configure --with-command-group=nagcmd > > Output from make install: > > root at ubuntu-nagios:~/Nagios/nagios-3.3.1/nagios# make install > cd ./base && make install > make[1]: Entering directory `/root/Nagios/nagios-3.3.1/nagios/base' > make install-basic > make[2]: Entering directory `/root/Nagios/nagios-3.3.1/nagios/base' > /usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/bin > /usr/bin/install -c -m 774 -o nagios -g nagios nagios > /usr/local/nagios/bin > /usr/bin/install -c -m 774 -o nagios -g nagios nagiostats > /usr/local/nagios/bin > make[2]: Leaving directory `/root/Nagios/nagios-3.3.1/nagios/base' > make strip-post-install > make[2]: Entering directory `/root/Nagios/nagios-3.3.1/nagios/base' > /usr/bin/strip /usr/local/nagios/bin/nagios > /usr/bin/strip /usr/local/nagios/bin/nagiostats > make[2]: Leaving directory `/root/Nagios/nagios-3.3.1/nagios/base' > make[1]: Leaving directory `/root/Nagios/nagios-3.3.1/nagios/base' > cd ./cgi && make install > make[1]: Entering directory `/root/Nagios/nagios-3.3.1/nagios/cgi' > make install-basic > make[2]: Entering directory `/root/Nagios/nagios-3.3.1/nagios/cgi' > /usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/sbin > for file in *.cgi; do /usr/bin/install -c -m 775 -o nagios -g nagios > $file /usr/local/nagios/sbin; done > make[2]: Leaving directory `/root/Nagios/nagios-3.3.1/nagios/cgi' > make strip-post-install > make[2]: Entering directory `/root/Nagios/nagios-3.3.1/nagios/cgi' > for file in *.cgi; do /usr/bin/strip /usr/local/nagios/sbin/$file; done > make[2]: Leaving directory `/root/Nagios/nagios-3.3.1/nagios/cgi' > make[1]: Leaving directory `/root/Nagios/nagios-3.3.1/nagios/cgi' > cd ./html && make install > make[1]: Entering directory `/root/Nagios/nagios-3.3.1/nagios/html' > /usr/bin/install -c -m 775 -o nagios -g nagios -d > /usr/local/nagios/share > /usr/bin/install -c -m 775 -o nagios -g nagios -d > /usr/local/nagios/share/media > /usr/bin/install -c -m 775 -o nagios -g nagios -d > /usr/local/nagios/share/stylesheets > /usr/bin/install -c -m 775 -o nagios -g nagios -d > /usr/local/nagios/share/contexthelp > /usr/bin/install -c -m 775 -o nagios -g nagios -d > /usr/local/nagios/share/docs > /usr/bin/install -c -m 775 -o nagios -g nagios -d > /usr/local/nagios/share/docs/images > /usr/bin/install -c -m 775 -o nagios -g nagios -d > /usr/local/nagios/share/images > /usr/bin/install -c -m 775 -o nagios -g nagios -d > /usr/local/nagios/share/images/logos > /usr/bin/install -c -m 775 -o nagios -g nagios -d > /usr/local/nagios/share/includes > /usr/bin/install -c -m 775 -o nagios -g nagios -d > /usr/local/nagios/share/includes/rss > /usr/bin/install -c -m 775 -o nagios -g nagios -d > /usr/local/nagios/share/includes/rss/extlib > /usr/bin/install -c -m 775 -o nagios -g nagios -d > /usr/local/nagios/share/ssi > /usr/bin/install -c -m 664 -o nagios -g nagios robots.txt > /usr/local/nagios/share > rm -f /usr/local/nagios/share/index.html > rm -f /usr/local/nagios/share/main.html > rm -f /usr/local/nagios/share/side.html > for file in *.php; do /usr/bin/install -c -m 664 -o nagios -g nagios > $file /usr/local/nagios/share; done > for file in stylesheets/*.css; do /usr/bin/install -c -m 664 -o nagios > -g nagios $file /usr/local/nagios/share/stylesheets; done > for file in contexthelp/*.html; do /usr/bin/install -c -m 664 -o nagios > -g nagios $file /usr/local/nagios/share/contexthelp; done > for file in images/*.gif; do /usr/bin/install -c -m 664 -o nagios -g > nagios $file /usr/local/nagios/share/images; done > for file in images/*.jpg; do /usr/bin/install -c -m 664 -o nagios -g > nagios $file /usr/local/nagios/share/images; done > for file in images/*.png; do /usr/bin/install -c -m 664 -o nagios -g > nagios $file /usr/local/nagios/share/images; done > for file in images/*.ico; do /usr/bin/install -c -m 664 -o nagios -g > nagios $file /usr/local/nagios/share/images; done > for file in images/logos/*.*; do /usr/bin/install -c -m 664 -o nagios -g > nagios $file /usr/local/nagios/share/images/logos; done > for file in includes/*.*; do /usr/bin/install -c -m 664 -o nagios -g > nagios $file /usr/local/nagios/share/includes; done > for file in includes/rss/*; do /usr/bin/install -c -m 664 -o nagios -g > nagios $file /usr/local/nagios/share/includes/rss; done > /usr/bin/install: omitting directory `includes/rss/extlib' > /usr/bin/install: omitting directory `includes/rss/htdocs' > /usr/bin/install: omitting directory `includes/rss/scripts' > make[1]: *** [install] Error 1 > make[1]: Leaving directory `/root/Nagios/nagios-3.3.1/nagios/html' > make: *** [install] Error 2 > > > Thanks & regards, > Andy. > > > The information contained in this email is intended for the personal and confidential use > of the addressee only. It may also be privileged information. If you are not the intended > recipient then you are hereby notified that you have received this document in error and > that any review, distribution or copying of this document is strictly prohibited. If you have > received ?this communication in error, please notify Brendata immediately on: > > +44 (0)1268 466100, or email 'technical at brendata.co.uk' > > Brendata (UK) Ltd > Nevendon Hall, Nevendon Road, Basildon, Essex. SS13 1BX ?UK > Registered Office as above. Registered in England No. 2764339 > > See our current vacancies at www.brendata.co.uk > > ------------------------------------------------------------------------------ > Magic Quadrant for Content-Aware Data Loss Prevention > Research study explores the data loss prevention market. Includes in-depth > analysis on the changes within the DLP market, and the criteria used to > evaluate the strengths and weaknesses of these DLP solutions. > http://www.accelacomm.com/jaw/sfnl/114/51385063/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Magic Quadrant for Content-Aware Data Loss Prevention Research study explores the data loss prevention market. Includes in-depth analysis on the changes within the DLP market, and the criteria used to evaluate the strengths and weaknesses of these DLP solutions. http://www.accelacomm.com/jaw/sfnl/114/51385063/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jul 26 15:48:28 2011 From: yuehung.liu at gmail.com (Yueh-Hung Liu) Date: Tue, 26 Jul 2011 21:48:28 +0800 Subject: Service Checks scheduled to next year. Service State Information mangled? In-Reply-To: <154778867.217.1311683581961.JavaMail.root@linux.fsit.cz> References: <1821226510.213.1311683375158.JavaMail.root@linux.fsit.cz> <154778867.217.1311683581961.JavaMail.root@linux.fsit.cz> Message-ID: do you enable retention? On Tue, Jul 26, 2011 at 8:33 PM, Jindrich Nemec wrote: > I've found a similar thread, linked below. It seems the problem it is still unsolved. > > ----- > > http://www.mail-archive.com/nagios-users at lists.sourceforge.net/msg24816.html > > > For example a check that runs today will have a next scheduled check date of > 05/03/2010 instead of 05/03/2009. There is no real connection between the > checks, it's like a random problem. Some checks have it, others don't. a manual > reschedule of the check does solve the problem but sometimes only temporary. > > > http://article.gmane.org/gmane.network.nagios.devel/5554/match=next+year > > ------------------------------------------------------------------------------ > Magic Quadrant for Content-Aware Data Loss Prevention > Research study explores the data loss prevention market. Includes in-depth > analysis on the changes within the DLP market, and the criteria used to > evaluate the strengths and weaknesses of these DLP solutions. > http://www.accelacomm.com/jaw/sfnl/114/51385063/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Magic Quadrant for Content-Aware Data Loss Prevention Research study explores the data loss prevention market. Includes in-depth analysis on the changes within the DLP market, and the criteria used to evaluate the strengths and weaknesses of these DLP solutions. http://www.accelacomm.com/jaw/sfnl/114/51385063/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From michael.friedrich at univie.ac.at Tue Jul 26 16:34:25 2011 From: michael.friedrich at univie.ac.at (Michael Friedrich) Date: Tue, 26 Jul 2011 16:34:25 +0200 Subject: empty perfdata not put on perfdata channels anymore in 3.3.1 Message-ID: <4E2ED071.7000101@univie.ac.at> hi, this is one of those patches i did not yet get an idea on how to make it portable from icinga to nagios. since there was a release rushed into today, i decided to throw this just "as is" onto the list as it seems that no-one else tested/encountered this yet. most likely users will ask about that soon - so get to know that prior to installing and debugging this release. feel free to create your own working patch out of it. https://dev.icinga.org/issues/1413 main issue will be with 3.3.1 that nagiosgrapher and ohcp/oscp won't work anymore with not sent perfdata if the plugin output does not provide any (because it's empty and not processed in the macro calculation in xdata/xpddefault.c). a possible workaround is to make sure each plugin provides perfdata output (like it should be). i decided to make it a config option in icinga 1.4.0 to allow those users not needing it, to explicitely disable that. for the others, icinga 1.4.0 got that fixed thanks to various icinga users out there. it's not the cleanest patch, but i'll leave it here for porting it into nagios upstream. https://git.icinga.org/?p=icinga-core.git;a=commit;h=465f5aa1710f60e41db012ba7915e66fdfdce06e kind regards, michael ps: some tests on the released source to proof it right away. define command{ command_name process-service-perfdata-file command_line /bin/mv /usr/local/nagios/var/service-perfdata /usr/local/nagios/var/perfdata/service-perfdata.$TIMET$ } define command{ command_name process-host-perfdata-file command_line /bin/mv /usr/local/nagios/var/host-perfdata /usr/local/nagios/var/perfdata/host-perfdata.$TIMET$ } process_performance_data=1 host_perfdata_process_empty_results=1 service_perfdata_process_empty_results=1 service_perfdata_file=/usr/local/nagios/var/service-perfdata service_perfdata_file_template=DATATYPE::SERVICEPERFDATA\tTIMET::$TIMET$\tHOSTNAME::$HOSTNAME$\tSERVICEDESC::$SERVICEDESC$\tSERVICEPERFDATA::$SERVICEPERFDATA$\tSERVICECHECKCOMMAND::$SERVICECHECKCOMMAND$\tHOSTSTATE::$HOSTSTATE$\tHOSTSTATETYPE::$HOSTSTATETYPE$\tSERVICESTATE::$SERVICESTATE$\tSERVICESTATETYPE::$SERVICESTATETYPE$ service_perfdata_file_mode=a service_perfdata_file_processing_interval=15 service_perfdata_file_processing_command=process-service-perfdata-file host_perfdata_file=/usr/local/nagios/var/host-perfdata host_perfdata_file_template=DATATYPE::HOSTPERFDATA\tTIMET::$TIMET$\tHOSTNAME::$HOSTNAME$\tHOSTPERFDATA::$HOSTPERFDATA$\tHOSTCHECKCOMMAND::$HOSTCHECKCOMMAND$\tHOSTSTATE::$HOSTSTATE$\tHOSTSTATETYPE::$HOSTSTATETYPE$ host_perfdata_file_mode=a host_perfdata_file_processing_interval=15 host_perfdata_file_processing_command=process-host-perfdata-file nagios 3.3.1 ~/nagios/nagios $ tail -f /usr/local/nagios/var/service-perfdata DATATYPE::SERVICEPERFDATA TIMET::1311688921 HOSTNAME::localhost SERVICEDESC::HTTP SERVICEPERFDATA::time=0.064582s;;;0.000000 size=508B;;;0 SERVICECHECKCOMMAND::check_http HOSTSTATE::UP HOSTSTATETYPE::SOFT SERVICESTATE::OK SERVICESTATETYPE::HARD DATATYPE::SERVICEPERFDATA TIMET::1311688961 HOSTNAME::localhost SERVICEDESC::PING SERVICEPERFDATA::rta=0.035000ms;100.000000;500.000000;0.000000 pl=0%;20;60;0SERVICECHECKCOMMAND::check_ping!100.0,20%!500.0,60% HOSTSTATE::UP HOSTSTATETYPE::HARD SERVICESTATE::OK SERVICESTATETYPE::HARD DATATYPE::SERVICEPERFDATA TIMET::1311689001 HOSTNAME::localhost SERVICEDESC::Root Partition SERVICEPERFDATA::/=636MB;3172;3569;0;3966 SERVICECHECKCOMMAND::check_local_disk!20%!10%!/ HOSTSTATE::UP HOSTSTATETYPE::HARD SERVICESTATE::OK SERVICESTATETYPE::HARD DATATYPE::SERVICEPERFDATA TIMET::1311689071 HOSTNAME::localhost SERVICEDESC::Swap Usage SERVICEPERFDATA::swap=975MB;0;0;0;1027 SERVICECHECKCOMMAND::check_local_swap!20!10 HOSTSTATE::UP HOSTSTATETYPE::HARD SERVICESTATE::OK SERVICESTATETYPE::HARD DATATYPE::SERVICEPERFDATA TIMET::1311689151 HOSTNAME::localhost SERVICEDESC::Current Load SERVICEPERFDATA::load1=0.080;5.000;10.000;0; load5=0.030;4.000;6.000;0; load15=0.010;3.000;4.000;0; SERVICECHECKCOMMAND::check_local_load!5.0,4.0,3.0!10.0,6.0,4.0 HOSTSTATE::UP HOSTSTATETYPE::HARD SERVICESTATE::OK SERVICESTATETYPE::HARD removed empty perfdata checks ~/nagios/nagios $ tail -f /usr/local/nagios/var/service-perfdata DATATYPE::SERVICEPERFDATA TIMET::1311690425 HOSTNAME::localhost SERVICEDESC::HTTP SERVICEPERFDATA::time=0.000690s;;;0.000000 size=508B;;;0 SERVICECHECKCOMMAND::check_http HOSTSTATE::UP HOSTSTATETYPE::HARD SERVICESTATE::OK SERVICESTATETYPE::HARD DATATYPE::SERVICEPERFDATA TIMET::1311690465 HOSTNAME::localhost SERVICEDESC::PING SERVICEPERFDATA::rta=0.035000ms;100.000000;500.000000;0.000000 pl=0%;20;60;0SERVICECHECKCOMMAND::check_ping!100.0,20%!500.0,60% HOSTSTATE::UP HOSTSTATETYPE::HARD SERVICESTATE::OK SERVICESTATETYPE::HARD DATATYPE::SERVICEPERFDATA TIMET::1311690495 HOSTNAME::localhost SERVICEDESC::Root Partition SERVICEPERFDATA::/=636MB;3172;3569;0;3966 SERVICECHECKCOMMAND::check_local_disk!20%!10%!/ HOSTSTATE::UP HOSTSTATETYPE::HARD SERVICESTATE::OK SERVICESTATETYPE::HARD DATATYPE::SERVICEPERFDATA TIMET::1311690535 HOSTNAME::localhost SERVICEDESC::SSH *SERVICEPERFDATA:: *SERVICECHECKCOMMAND::check_ssh HOSTSTATE::UP HOSTSTATETYPE::HARD SERVICESTATE::OK SERVICESTATETYPE::HARD DATATYPE::SERVICEPERFDATA TIMET::1311690575 HOSTNAME::localhost SERVICEDESC::Swap Usage SERVICEPERFDATA::swap=975MB;0;0;0;1027 SERVICECHECKCOMMAND::check_local_swap!20!10 HOSTSTATE::UP HOSTSTATETYPE::HARD SERVICESTATE::OK SERVICESTATETYPE::HARD DATATYPE::SERVICEPERFDATA TIMET::1311690615 HOSTNAME::localhost SERVICEDESC::Total Processes *SERVICEPERFDATA:: *SERVICECHECKCOMMAND::check_local_procs!250!400!RSZDT HOSTSTATE::UP HOSTSTATETYPE::HARD SERVICESTATE::OK SERVICESTATETYPE::HARD DATATYPE::SERVICEPERFDATA TIMET::1311690645 HOSTNAME::localhost SERVICEDESC::Current Load SERVICEPERFDATA::load1=0.000;5.000;10.000;0; load5=0.020;4.000;6.000;0; load15=0.000;3.000;4.000;0; SERVICECHECKCOMMAND::check_local_load!5.0,4.0,3.0!10.0,6.0,4.0 HOSTSTATE::UP HOSTSTATETYPE::HARD SERVICESTATE::OK SERVICESTATETYPE::HARD -- DI (FH) Michael Friedrich Vienna University Computer Center Universitaetsstrasse 7 A-1010 Vienna, Austria email: michael.friedrich at univie.ac.at phone: +43 1 4277 14359 mobile: +43 664 60277 14359 fax: +43 1 4277 14338 web: http://www.univie.ac.at/zid http://www.aco.net Icinga Core& IDOUtils Developer http://www.icinga.org -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Magic Quadrant for Content-Aware Data Loss Prevention Research study explores the data loss prevention market. Includes in-depth analysis on the changes within the DLP market, and the criteria used to evaluate the strengths and weaknesses of these DLP solutions. http://www.accelacomm.com/jaw/sfnl/114/51385063/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Jul 26 16:33:52 2011 From: mark.elsen at gmail.com (Mark Elsen) Date: Tue, 26 Jul 2011 16:33:52 +0200 Subject: Make Install error on 3.3.1 In-Reply-To: <6B8895CA39846F4DB78FAE7979D9D77E7BE0F8@prodntsc2.brendata> References: <6B8895CA39846F4DB78FAE7979D9D77E7BE0F8@prodntsc2.brendata> Message-ID: On Tue, Jul 26, 2011 at 10:41 AM, Andrew Morum wrote: > We're seeing an error during make install of 3.3.1. > I have checked the install & upgrade docs for 3.3.1, all prerequisites > are already installed. 3.2.3 still installs with no errors. > > OS: Ubuntu 8.04.4 LTS (fully up-to-date from apt-get repo) > > Config line: > ./configure --with-command-group=nagcmd > > Output from make install: > > root at ubuntu-nagios:~/Nagios/nagios-3.3.1/nagios# make install > cd ./base && make install > make[1]: Entering directory `/root/Nagios/nagios-3.3.1/nagios/base' >... >... > /usr/bin/install: omitting directory `includes/rss/htdocs' > /usr/bin/install: omitting directory `includes/rss/scripts' > make[1]: *** [install] Error 1 > make[1]: Leaving directory `/root/Nagios/nagios-3.3.1/nagios/html' > make: *** [install] Error 2 > > Try : % gmake install M. ------------------------------------------------------------------------------ Magic Quadrant for Content-Aware Data Loss Prevention Research study explores the data loss prevention market. Includes in-depth analysis on the changes within the DLP market, and the criteria used to evaluate the strengths and weaknesses of these DLP solutions. http://www.accelacomm.com/jaw/sfnl/114/51385063/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jindrich.nemec at fsit.cz Tue Jul 26 18:50:18 2011 From: jindrich.nemec at fsit.cz (Jindrich Nemec) Date: Tue, 26 Jul 2011 18:50:18 +0200 (CEST) Subject: Service Checks scheduled to next year. Service State Information mangled? In-Reply-To: <1033371832.240.1311698512165.JavaMail.root@linux.fsit.cz> References: <1033371832.240.1311698512165.JavaMail.root@linux.fsit.cz> Message-ID: <1812235980.246.1311699018437.JavaMail.root@linux.fsit.cz> # grep -r retain_state_information * nagios.cfg:retain_state_information=1 if i got it... if the retain_state_information will be set to 0 then nagios process will not keep the states and reschedule checks on restart, but i've to schedule nagios service restarts every several hours then > Yueh-Hung Liu > Tue, 26 Jul 2011 06:51:00 -0700 > do you enable retention? >> On Tue, Jul 26, 2011 at 8:33 PM, Jindrich Nemec wrote: >> I've found a similar thread, linked below. It seems the problem it is still >> unsolved. >> ------------------------------------------------------------------------------ Magic Quadrant for Content-Aware Data Loss Prevention Research study explores the data loss prevention market. Includes in-depth analysis on the changes within the DLP market, and the criteria used to evaluate the strengths and weaknesses of these DLP solutions. http://www.accelacomm.com/jaw/sfnl/114/51385063/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jindrich.nemec at fsit.cz Tue Jul 26 18:58:18 2011 From: jindrich.nemec at fsit.cz (Jindrich Nemec) Date: Tue, 26 Jul 2011 18:58:18 +0200 (CEST) Subject: Service Checks scheduled to next year. Service State Information mangled? In-Reply-To: <1812235980.246.1311699018437.JavaMail.root@linux.fsit.cz> References: <1812235980.246.1311699018437.JavaMail.root@linux.fsit.cz> Message-ID: <1161490649.250.1311699498360.JavaMail.root@linux.fsit.cz> i'm not sure if my problem is related only to service restarts, when some ntp drift i.e. can occur, but if it is related, then this could be an acceptable workaround. thanks ----- Original Message ----- From: "Jindrich Nemec" To: nagios-users at lists.sourceforge.net Sent: Tuesday, July 26, 2011 6:50:18 PM Subject: Re: [Nagios-users] Service Checks scheduled to next year. Service State Information mangled? # grep -r retain_state_information * nagios.cfg:retain_state_information=1 if i got it... if the retain_state_information will be set to 0 then nagios process will not keep the states and reschedule checks on restart, but i've to schedule nagios service restarts every several hours then > Yueh-Hung Liu > Tue, 26 Jul 2011 06:51:00 -0700 > do you enable retention? >> On Tue, Jul 26, 2011 at 8:33 PM, Jindrich Nemec wrote: >> I've found a similar thread, linked below. It seems the problem it is still >> unsolved. >> ------------------------------------------------------------------------------ Magic Quadrant for Content-Aware Data Loss Prevention Research study explores the data loss prevention market. Includes in-depth analysis on the changes within the DLP market, and the criteria used to evaluate the strengths and weaknesses of these DLP solutions. http://www.accelacomm.com/jaw/sfnl/114/51385063/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From czimmer at wczimmerman.dyndns.org Wed Jul 27 00:26:31 2011 From: czimmer at wczimmerman.dyndns.org (Chris Zimmerman) Date: Tue, 26 Jul 2011 15:26:31 -0700 Subject: Event Handler Question Message-ID: I am having an issue with a very basic event handler on Nagios 3.2.3. I have the event handler defined with 3 macros: $HOSTSTATE$ $HOSTSTATETYPE$ $HOSTADDRESS$ all passed to a wrapper shell script that takes each macro as $1, $2, and $3. In the wrapper script I added some echo statements as part of my troubleshooting to figure out why my script wasn't working. If I run the script manually and pass the arguments as I expect, the script runs fine. When Nagios executes it, as verified in the log, nothing is happening and it is because the first 2 arguments are not being passed to the script. Interestingly, the third one is passed to the script. So, what could be the issue with the command definition not passing the first 2 arguments? Thanks, Chris -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Got Input? Slashdot Needs You. Take our quick survey online. Come on, we don't ask for help often. Plus, you'll get a chance to win $100 to spend on ThinkGeek. http://p.sf.net/sfu/slashdot-survey -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Jul 27 09:52:54 2011 From: mark.elsen at gmail.com (Mark Elsen) Date: Wed, 27 Jul 2011 09:52:54 +0200 Subject: Nagios 'check for updates' not (yet) advising 3.3.1 Message-ID: - My Nagios Home -> Check for updates still says I am 'current' no need to update, despite 3.3.1 being available and running 3.2.3 ! M. ------------------------------------------------------------------------------ Got Input? Slashdot Needs You. Take our quick survey online. Come on, we don't ask for help often. Plus, you'll get a chance to win $100 to spend on ThinkGeek. http://p.sf.net/sfu/slashdot-survey _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From schneemann at b1-systems.de Wed Jul 27 10:37:50 2011 From: schneemann at b1-systems.de (Christian Schneemann) Date: Wed, 27 Jul 2011 10:37:50 +0200 Subject: Nagios 'check for updates' not (yet) advising 3.3.1 In-Reply-To: References: Message-ID: <201107271037.50387.schneemann@b1-systems.de> Hi, what distri are you running? And is Nagios installed by distripackage or from source? Some distris removes this homecalling function. Regards, Christian On Wednesday, July 27, 2011 09:52:54 Mark Elsen wrote: > - My Nagios Home -> Check for updates > still says I am 'current' no need to update, despite 3.3.1 being > available and running > 3.2.3 ! > > M. > > --------------------------------------------------------------------------- > --- Got Input? Slashdot Needs You. > Take our quick survey online. Come on, we don't ask for help often. > Plus, you'll get a chance to win $100 to spend on ThinkGeek. > http://p.sf.net/sfu/slashdot-survey > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > ::: reporting any issue. Messages without supporting info will risk being > ::: sent to /dev/null -- Christian Schneemann Linux Consultant & Developer Tel.: +49-175-7250665 Mail: schneemann at b1-systems.de B1 Systems GmbH Osterfeldstra?e 7 / 85088 Vohburg / http://www.b1-systems.de GF: Ralph Dehner / Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537 ------------------------------------------------------------------------------ Got Input? Slashdot Needs You. Take our quick survey online. Come on, we don't ask for help often. Plus, you'll get a chance to win $100 to spend on ThinkGeek. http://p.sf.net/sfu/slashdot-survey _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From J.Roberson at tees.ac.uk Wed Jul 27 10:42:03 2011 From: J.Roberson at tees.ac.uk (Roberson, John) Date: Wed, 27 Jul 2011 09:42:03 +0100 Subject: Help required please for custom OWA monitor Message-ID: <1A1E94F0C6E8BC4A8EC276A6E723E037FDBECF779F@HOLLYCLUSTER.windows.tees.ac.uk> Hello, I have a problem that I am trying to monitor and would be grateful for any help. What want to do is check individual emails via outlook web access (OWA) for a specific error. The error occurs when the email is opened and is related to an archiving tool we are using. For information, the achieving tool is EAS. The error manifests itself in two ways. Firstly when the email is opened via OWA a HTTP 5000 Internal Server error appears. Is it possible to create a monitor to log on to account, open the first email and capture the resulting error? The second way the error can be detected is by examining the size of the email in OWA if the email is 25k it is likely that the problem exists. So my second question is, is it possible to monitor a OWA account and check for emails of a particular size. If you have any ideas of how to resolve this issue please contact me. Regards, John Roberson ICT Senior Technical Officer Room CL2.51a Clarendon Building Teesside University Middlesbrough TS1 3BA Internal Extension:2848 Direct line: (01642) 34 2848 Fax: (01642) 34 2925 Mail to:j.roberson at tees.ac.uk [cid:image001.png at 01CC4C3F.2435D4A0] This email (and any attachments) is intended for the above named only and may contain private and confidential information. If this has come to you in error you must take no action based on it, nor must you copy or show it to anyone. Please notify the originator immediately. P Please consider your environmental responsibility: Before printing this e-mail, ask yourself whether you need a hard copy! -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 4070 bytes Desc: image001.png URL: -------------- next part -------------- ------------------------------------------------------------------------------ Got Input? Slashdot Needs You. Take our quick survey online. Come on, we don't ask for help often. Plus, you'll get a chance to win $100 to spend on ThinkGeek. http://p.sf.net/sfu/slashdot-survey -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From J.Roberson at tees.ac.uk Wed Jul 27 11:31:37 2011 From: J.Roberson at tees.ac.uk (Roberson, John) Date: Wed, 27 Jul 2011 10:31:37 +0100 Subject: FW: Help required please for custom OWA monitor In-Reply-To: <1A1E94F0C6E8BC4A8EC276A6E723E037FDBECF77A2@HOLLYCLUSTER.windows.tees.ac.uk> References: <1A1E94F0C6E8BC4A8EC276A6E723E037FDBECF779F@HOLLYCLUSTER.windows.tees.ac.uk> <1A1E94F0C6E8BC4A8EC276A6E723E037FDBECF77A2@HOLLYCLUSTER.windows.tees.ac.uk> Message-ID: <1A1E94F0C6E8BC4A8EC276A6E723E037FDBECF77A3@HOLLYCLUSTER.windows.tees.ac.uk> Hello, I have a problem that I am trying to monitor and would be grateful for any help. What I want to do is check individual emails via outlook web access (OWA) for a specific error. The error occurs when the email is opened and is related to an archiving tool we are using. For information, the achieving tool is EAS. The error manifests itself in two ways. Firstly when the email is opened via OWA a HTTP 5000 Internal Server error appears. Is it possible to create a monitor to log on to account, open the first email and capture the resulting error? The second way the error can be detected is by examining the size of the email in OWA if the email is 25k it is likely that the problem exists. So my second question is, is it possible to monitor a OWA account and check for emails of a particular size. If you have any ideas of how to resolve this issue please contact me. Regards, John Roberson ICT Senior Technical Officer Room CL2.51a Clarendon Building Teesside University Middlesbrough TS1 3BA Internal Extension:2848 Direct line: (01642) 34 2848 Fax: (01642) 34 2925 Mail to:j.roberson at tees.ac.uk This email (and any attachments) is intended for the above named only and may contain private and confidential information.? If this has come to you in error you must take no action based on it, nor must you copy or show it to anyone.? Please notify the originator immediately. ------------------------------------------------------------------------------ Got Input? Slashdot Needs You. Take our quick survey online. Come on, we don't ask for help often. Plus, you'll get a chance to win $100 to spend on ThinkGeek. http://p.sf.net/sfu/slashdot-survey _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Marcel.Galke at trans4mation.de Wed Jul 27 11:46:18 2011 From: Marcel.Galke at trans4mation.de (Marcel Galke - Trans4mation IT GmbH) Date: Wed, 27 Jul 2011 11:46:18 +0200 Subject: Event Handler Question In-Reply-To: References: Message-ID: Hey Chris, have you taken a look into the Docu and verified that the used macros are available in your context? Have you tried the debug option? Marcel >From: Chris Zimmerman [mailto:czimmer at wczimmerman.dyndns.org] >Sent: Wednesday, July 27, 2011 12:27 AM >To: nagios-users at lists.sourceforge.net >Subject: [Nagios-users] Event Handler Question > >I am having an issue with a very basic event handler on Nagios 3.2.3. I have the event handler defined with 3 macros: $HOSTSTATE$ $HOSTSTATETYPE$ $HOSTADDRESS$ all passed to a wrapper shell script that takes each macro as $1, $2, and $3. In the >wrapper script I added some echo statements as part of my troubleshooting to figure out why my script wasn't working. If I run the script manually and pass the arguments as I expect, the script runs fine. When Nagios executes it, as verified in the log, >nothing is happening and it is because the first 2 arguments are not being passed to the script. Interestingly, the third one is passed to the script. > >So, what could be the issue with the command definition not passing the first 2 arguments? > >Thanks, >Chris ------------------------------------------------------------------------------ Got Input? Slashdot Needs You. Take our quick survey online. Come on, we don't ask for help often. Plus, you'll get a chance to win $100 to spend on ThinkGeek. http://p.sf.net/sfu/slashdot-survey _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Martin_Hugo at hboe.org Wed Jul 27 12:51:28 2011 From: Martin_Hugo at hboe.org (Martin Hugo) Date: Wed, 27 Jul 2011 10:51:28 +0000 Subject: Help required please for custom OWA monitor In-Reply-To: <1A1E94F0C6E8BC4A8EC276A6E723E037FDBECF77A3@HOLLYCLUSTER.windows.tees.ac.uk> References: <1A1E94F0C6E8BC4A8EC276A6E723E037FDBECF779F@HOLLYCLUSTER.windows.tees.ac.uk> <1A1E94F0C6E8BC4A8EC276A6E723E037FDBECF77A2@HOLLYCLUSTER.windows.tees.ac.uk>, <1A1E94F0C6E8BC4A8EC276A6E723E037FDBECF77A3@HOLLYCLUSTER.windows.tees.ac.uk> Message-ID: <70D7A4219FE365439DA53582BA6D8F2E4DE529C0@HCSD-MAIL2> Hi John, Wow, that's a tall order. The account used for the monitor would need full access to all mailboxes, an admin nightmare in any Exchange environment. I am intrigued by the problem though. Do the suspect emails open correctly in a desktop client? If you examine the messages, what is bloating the size? Do you have message size limits in place, if so, does removing them make the error go away? What, if any, log entries are created on the Exchange server when this occurs? Could you simply monitor the event logs for that error? Not really an answer I'm afraid but it is an interesting problem (albeit frustrating for you I'm sure). Martin T. Hugo Network Administrator Hilliard City Schools Tel: 614-921-7102 ________________________________________ From: Roberson, John [J.Roberson at tees.ac.uk] Sent: Wednesday, July 27, 2011 5:31 AM To: 'nagios-users at lists.sourceforge.net' Subject: [Nagios-users] FW: Help required please for custom OWA monitor Hello, I have a problem that I am trying to monitor and would be grateful for any help. What I want to do is check individual emails via outlook web access (OWA) for a specific error. The error occurs when the email is opened and is related to an archiving tool we are using. For information, the achieving tool is EAS. The error manifests itself in two ways. Firstly when the email is opened via OWA a HTTP 5000 Internal Server error appears. Is it possible to create a monitor to log on to account, open the first email and capture the resulting error? The second way the error can be detected is by examining the size of the email in OWA if the email is 25k it is likely that the problem exists. So my second question is, is it possible to monitor a OWA account and check for emails of a particular size. If you have any ideas of how to resolve this issue please contact me. Regards, John Roberson ICT Senior Technical Officer Room CL2.51a Clarendon Building Teesside University Middlesbrough TS1 3BA Internal Extension:2848 Direct line: (01642) 34 2848 Fax: (01642) 34 2925 Mail to:j.roberson at tees.ac.uk This email (and any attachments) is intended for the above named only and may contain private and confidential information. If this has come to you in error you must take no action based on it, nor must you copy or show it to anyone. Please notify the originator immediately. ------------------------------------------------------------------------------ Got Input? Slashdot Needs You. Take our quick survey online. Come on, we don't ask for help often. Plus, you'll get a chance to win $100 to spend on ThinkGeek. http://p.sf.net/sfu/slashdot-survey _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Got Input? Slashdot Needs You. Take our quick survey online. Come on, we don't ask for help often. Plus, you'll get a chance to win $100 to spend on ThinkGeek. http://p.sf.net/sfu/slashdot-survey _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From amorum at brendata.co.uk Wed Jul 27 13:19:04 2011 From: amorum at brendata.co.uk (Andrew Morum) Date: Wed, 27 Jul 2011 12:19:04 +0100 Subject: nagios Make Install error on 3.3.1 Message-ID: <6B8895CA39846F4DB78FAE7979D9D77E7BE0FE@prodntsc2.brendata> >We're seeing an error during make install of 3.3.1. >I have checked the install & upgrade docs for 3.3.1, all prerequisites >are already installed. 3.2.3 still installs with no errors. For others with this issue, please see patch below which comes courtesy of Craig Genner. It provides a work-around for the bug in the html directory Makefile. >Hi Andy, >Happy for you to post it as a work around. Glad I could help you get it working. >Thanks diff -u nagios/html/Makefile.in nagios-3.3.1/html/Makefile --- nagios/html/Makefile.in 2011-07-24 18:53:52.000000000 +0100 +++ nagios-3.3.1/html/Makefile 2011-07-26 22:23:35.000000000 +0100 @@ -75,8 +75,7 @@ do $(INSTALL) -m 664 $(INSTALL_OPTS) $$file $(DESTDIR)$(HTMLDIR)/images/logos; done for file in includes/*.*; \ do $(INSTALL) -m 664 $(INSTALL_OPTS) $$file $(DESTDIR)$(HTMLDIR)/includes; done - for file in includes/rss/*; \ - do $(INSTALL) -m 664 $(INSTALL_OPTS) $$file $(DESTDIR)$(HTMLDIR)/includes/rss; done + find includes/rss/ -maxdepth 1 -type f -exec $(INSTALL) -m 664 $(INSTALL_OPTS) {} $(DESTDIR)$(HTMLDIR)/includes/rss \; for file in includes/rss/extlib/*; \ do $(INSTALL) -m 664 $(INSTALL_OPTS) $$file $(DESTDIR)$(HTMLDIR)/includes/rss/extlib; done Regards Andy. The information contained in this email is intended for the personal and confidential use of the addressee only. It may also be privileged information. If you are not the intended recipient then you are hereby notified that you have received this document in error and that any review, distribution or copying of this document is strictly prohibited. If you have received this communication in error, please notify Brendata immediately on: +44 (0)1268 466100, or email 'technical at brendata.co.uk' Brendata (UK) Ltd Nevendon Hall, Nevendon Road, Basildon, Essex. SS13 1BX UK Registered Office as above. Registered in England No. 2764339 See our current vacancies at www.brendata.co.uk -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Got Input? Slashdot Needs You. Take our quick survey online. Come on, we don't ask for help often. Plus, you'll get a chance to win $100 to spend on ThinkGeek. http://p.sf.net/sfu/slashdot-survey -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mazzystr at gmail.com Wed Jul 27 18:07:18 2011 From: mazzystr at gmail.com (Chris C) Date: Wed, 27 Jul 2011 12:07:18 -0400 Subject: [CHECK_DIG] PTR record check not working In-Reply-To: References: Message-ID: Thanks everyone! I'll try out these suggestions. /Chris C On Mon, Jul 25, 2011 at 10:11 PM, Jonathan Angliss wrote: > On 07/25/11 20:19, Yueh-Hung Liu wrote: >> try this: >> >> check_dig -H "8.8.8.8" -l "-x 74.203.101.150" -T "PTR" -v >> >> you have to pass the "-x" option to the dig utility. > > Interesting, I hadn't considered stringing together this, however > check_dig returns a warning, which is because it's looking for: > > ? "-x 74.203.101.150" > > as the response. ?I guess if you tied it together with -a "somestring" > you can make this setup work for you. ?For example: > > ./check_dig -H 8.8.8.8 -l "-x 74.203.101.150" -T PTR \ > ? -a "akc.org" -v > > That returns OK, but without the -a, it returns a warning. > > -- > Jonathan Angliss > >> >> >> >> >> >> On Mon, Jul 25, 2011 at 9:37 PM, Chris C ?wrote: >>> Hi guys, >>> I am having trouble getting a PTR record check working with check_dig >>> >>> check_dig fails.... >>> check_dig -H "8.8.8.8" -l "74.203.101.150" -T "PTR" -v >>> /usr/bin/dig @8.8.8.8 -p 53 74.203.101.150 -t PTR >>> Looking for: '74.203.101.150' >>> DNS CRITICAL - 0.169 seconds response time (No ANSWER SECTION >>> found)|time=0.169224s;;;0.000000 >>> >>> >>> dig works correctly.... >>> dig @8.8.8.8 -x 74.203.101.150 >>> >>> ;<<>> ?DiG 9.3.6-P1-RedHat-9.3.6-16.P1.el5<<>> ?@8.8.8.8 -x 74.203.101.150 >>> ; (1 server found) >>> ;; global options: ?printcmd >>> ;; Got answer: >>> ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 27441 >>> ;; flags: qr rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 0, ADDITIONAL: 0 >>> >>> ;; QUESTION SECTION: >>> ;150.101.203.74.in-addr.arpa. ? IN ? ? ?PTR >>> >>> ;; ANSWER SECTION: >>> 150.101.203.74.in-addr.arpa. 83707 IN ? CNAME ? 150.128-255.101.203.74.in-addr.arpa. >>> 150.128-255.101.203.74.in-addr.arpa. 907 IN PTR akc.org. >>> 150.128-255.101.203.74.in-addr.arpa. 907 IN PTR www.akc.org. >>> >>> ;; Query time: 15 msec >>> ;; SERVER: 8.8.8.8#53(8.8.8.8) >>> ;; WHEN: Mon Jul 25 09:07:21 2011 >>> ;; MSG SIZE ?rcvd: 110 >>> >>> >>> I can't get check_dig to work with any PTR record using any nameserver. >>> >>> Anyone have any idea what I'm doing wrong? >>> >>> Thanks, >>> /Chris C >>> >>> ------------------------------------------------------------------------------ >>> Storage Efficiency Calculator >>> This modeling tool is based on patent-pending intellectual property that >>> has been used successfully in hundreds of IBM storage optimization engage- >>> ments, worldwide. ?Store less, Store more with what you own, Move data to >>> the right place. Try It Now! http://www.accelacomm.com/jaw/sfnl/114/51427378/ >>> _______________________________________________ >>> Nagios-users mailing list >>> Nagios-users at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >>> ::: Messages without supporting info will risk being sent to /dev/null >>> >> >> ------------------------------------------------------------------------------ >> Magic Quadrant for Content-Aware Data Loss Prevention >> Research study explores the data loss prevention market. Includes in-depth >> analysis on the changes within the DLP market, and the criteria used to >> evaluate the strengths and weaknesses of these DLP solutions. >> http://www.accelacomm.com/jaw/sfnl/114/51385063/ >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> > > > > ------------------------------------------------------------------------------ > Magic Quadrant for Content-Aware Data Loss Prevention > Research study explores the data loss prevention market. Includes in-depth > analysis on the changes within the DLP market, and the criteria used to > evaluate the strengths and weaknesses of these DLP solutions. > http://www.accelacomm.com/jaw/sfnl/114/51385063/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Got Input? Slashdot Needs You. Take our quick survey online. Come on, we don't ask for help often. Plus, you'll get a chance to win $100 to spend on ThinkGeek. http://p.sf.net/sfu/slashdot-survey _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Jul 27 23:00:31 2011 From: work at paul.dubuc.org (Paul M. Dubuc) Date: Wed, 27 Jul 2011 17:00:31 -0400 Subject: Bug?: Custom notifications ignore contact notification options Message-ID: <4E307C6F.3030806@paul.dubuc.org> I just discovered what looks like a possible bug in the "Send custom host/service notification" command in Nagios 3.2.3. When I use this command to send an OK status notification, it goes to all contacts, even ones that are only supposed to receive CRITICAL notifications. The command description says that "Custom notifications normally follow the regular notification logic in Nagios. Selecting the Forced option will force the notification to be sent out, regardless of the time restrictions, whether or not notifications are enabled, etc. Selecting the Broadcast option causes the notification to be sent out to all normal (non-escalated) and escalated contacts. These options allow you to override the normal notification logic if you need to get an important message out." I didn't use either the Forced or Broadcast option and the OK status notification goes to contacts that have only 'c' (critical) or 'd' (down) for their service/host_notification_options and escalation_options. Is this a bug? Seems like this should only happen if the Broadcast option is checked. ------------------------------------------------------------------------------ Got Input? Slashdot Needs You. Take our quick survey online. Come on, we don't ask for help often. Plus, you'll get a chance to win $100 to spend on ThinkGeek. http://p.sf.net/sfu/slashdot-survey From bereketze3 at yahoo.com Thu Jul 28 09:02:43 2011 From: bereketze3 at yahoo.com (Bereket Zeselassie) Date: Thu, 28 Jul 2011 00:02:43 -0700 (PDT) Subject: nagios 3.3.1 ./configure error Message-ID: <1311836563.25515.YahooMailNeo@web38602.mail.mud.yahoo.com> I was installing nagios3.3.1 and got this message i have shown the lines ending in 'no' please help root at ubuntu11:~/software/open_source/nagios/nagios# ./configure --enable-embedded-perl --with-perlcache --with-command-group=nagcmd checking whether we are cross compiling... no checking for gcc option to accept ANSI C... none needed hecking pthreads.h usability... no checking pthreads.h presence... no checking for pthreads.h... no checking socket.h usability... no checking socket.h presence... no checking for socket.h... no checking uio.h usability... no checking uio.h presence... no checking for uio.h... no checking for library containing getservbyname... none required checking for library containing connect... none required checking for pthread_create in -lcma... no checking for library containing nanosleep... none required checking for mail... no checking for main in -liconv... no checking for gdImagePng in -lgd (order 1)... no checking ltdl.h usability... no checking ltdl.h presence... no checking for ltdl.h... no checking for traceroute... no root at ubuntu11:~/software/open_source/nagios/nagios# ------------------------------------------------------------------------------ Got Input? Slashdot Needs You. Take our quick survey online. Come on, we don't ask for help often. Plus, you'll get a chance to win $100 to spend on ThinkGeek. http://p.sf.net/sfu/slashdot-survey _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Jul 28 09:28:13 2011 From: mark.elsen at gmail.com (Mark Elsen) Date: Thu, 28 Jul 2011 09:28:13 +0200 Subject: nagios 3.3.1 ./configure error In-Reply-To: <1311836563.25515.YahooMailNeo@web38602.mail.mud.yahoo.com> References: <1311836563.25515.YahooMailNeo@web38602.mail.mud.yahoo.com> Message-ID: > I was installing nagios3.3.1 and got this message > i have shown the lines ending in 'no' > > please help > root at ubuntu11:~/software/open_source/nagios/nagios# ./configure --enable-embedded-perl --with-perlcache --with-command-group=nagcmd > > checking whether we are cross compiling... no > checking for gcc option to accept ANSI C... none needed >... Please post the full configure output. M. ------------------------------------------------------------------------------ Got Input? Slashdot Needs You. Take our quick survey online. Come on, we don't ask for help often. Plus, you'll get a chance to win $100 to spend on ThinkGeek. http://p.sf.net/sfu/slashdot-survey _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From michael.friedrich at univie.ac.at Thu Jul 28 09:49:03 2011 From: michael.friedrich at univie.ac.at (Michael Friedrich) Date: Thu, 28 Jul 2011 09:49:03 +0200 Subject: nagios 3.3.1 ./configure error In-Reply-To: References: <1311836563.25515.YahooMailNeo@web38602.mail.mud.yahoo.com> Message-ID: <4E31146F.5080709@univie.ac.at> Mark Elsen wrote: >> I was installing nagios3.3.1 and got this message >> i have shown the lines ending in 'no' >> >> please help >> root at ubuntu11:~/software/open_source/nagios/nagios# ./configure --enable-embedded-perl --with-perlcache --with-command-group=nagcmd offtopic: disable embedded perl by compile time. it can cause memory leaks and unknown behaviour on the embedded execution of perl based plugins. >> checking whether we are cross compiling... no >> checking for gcc option to accept ANSI C... none needed >> ... > Please post the full configure output. > > M. > > ------------------------------------------------------------------------------ > Got Input? Slashdot Needs You. > Take our quick survey online. Come on, we don't ask for help often. > Plus, you'll get a chance to win $100 to spend on ThinkGeek. > http://p.sf.net/sfu/slashdot-survey > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- DI (FH) Michael Friedrich Vienna University Computer Center Universitaetsstrasse 7 A-1010 Vienna, Austria email: michael.friedrich at univie.ac.at phone: +43 1 4277 14359 mobile: +43 664 60277 14359 fax: +43 1 4277 14338 web: http://www.univie.ac.at/zid http://www.aco.net Icinga Core& IDOUtils Developer http://www.icinga.org ------------------------------------------------------------------------------ Got Input? Slashdot Needs You. Take our quick survey online. Come on, we don't ask for help often. Plus, you'll get a chance to win $100 to spend on ThinkGeek. http://p.sf.net/sfu/slashdot-survey _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Navdeep.Sidhu at tatatel.co.in Thu Jul 28 13:48:58 2011 From: Navdeep.Sidhu at tatatel.co.in (Navdeep Sidhu) Date: Thu, 28 Jul 2011 17:18:58 +0530 Subject: RRDTool exits with errors -> ERROR: can't make a graph without contents Message-ID: <9169798C154CD846B738065B6A75DABF01544858@PB-CHD-MBX02> Hi I'm using Nagios 2.8 with RRD tool version 1.0.50 & PNP version 0.3 installed. Nagios is running on RHEL-4. I'm facing an issue in RRD Tool. Recently I have configured this tool for Cisco devices (under serviceextinfo.cfg file) so that memory & CPU utilization should be available in graphs however I'm getting following error when trying to view the graphs. RRDTool exits with errors -> ERROR: can't make a graph without contents. This tool is working fine with Intel platform servers & displaying the graphs however not working in Cisco devices. I'm pasting excerpt of my host configuration & serviceextinfo file to provide clear picture. In fact, in Nagios web console, I'm able to see Memory & CPU utilization of Cisco devices however unable to view the graphs. I'm using check_snmp_mem.pl plugin to capture Memory utilization of Cisco devices. Let me know if any other info required from me. Excerpts of host Configuration File define command{ command_name process-service-perfdata command_line /usr/bin/perl /usr/local/nagios/libexec/process_perfdata.pl } Excerpts of Serviceextinfo File define serviceextinfo{ host_name L3-Switch service_description MEM action_url /nagios/pnp/index.php?host=$HOSTNAME$&srv=$SERVICEDESC$ } I would really appreciate your help in this regard. Regards Navdeep ====================================== i-choose online store at www.tataindicom.com Your Comfort.Your Convenience.YourChoice. ====================================== DISCLAIMER: The information contained in this message (including any attachments) is confidential and may be privileged. If you have received it by mistake please notify the sender by return e-mail and permanently delete this message and any attachments from your system. Any dissemination, use, review, distribution, printing or copying of this message in whole or in part is strictly prohibited. Please note that e-mails are susceptible to change.TATATELESERVICES LTD. (including its group companies) shall not be liable for the improper or incomplete transmission of the information contained in this communication nor for any delay in its receipt or damage to your system. TATA TELESERVICES LTD. (or its group companies) does not guarantee that the integrity of this communication has been maintained nor that this communication is free of viruses, interceptions or interference. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Got Input? Slashdot Needs You. Take our quick survey online. Come on, we don't ask for help often. Plus, you'll get a chance to win $100 to spend on ThinkGeek. http://p.sf.net/sfu/slashdot-survey -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lmw94002 at hotmail.com Thu Jul 28 14:40:42 2011 From: lmw94002 at hotmail.com (Mathew Walker) Date: Thu, 28 Jul 2011 08:40:42 -0400 Subject: RRDTool exits with errors -> ERROR: can't make a graph without contents In-Reply-To: <9169798C154CD846B738065B6A75DABF01544858@PB-CHD-MBX02> References: <9169798C154CD846B738065B6A75DABF01544858@PB-CHD-MBX02> Message-ID: I recently ran into a similar testing Nagios/NagVis/PnP4Nagios. To throw it out there... you are using an older version of PNP as they're beyond 0.6 now. I was trying to add a new service and testing. I had been tweaking the check's command line options to find the write output I wanted. Once the check worked how I wanted, I noticed I was getting an error on the graph. Since this was a new check, I deleted the existing RRD files that had been created and let new ones get created. That corrected the issue. I assume the RRD file was initially created with incorrect parameters as I was changing the check during my initial testing. -- Mat W. Date: Thu, 28 Jul 2011 17:18:58 +0530 From: Navdeep.Sidhu at tatatel.co.in To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] RRDTool exits with errors -> ERROR: can't make a graph without contents Hi I'm using Nagios 2.8 with RRD tool version 1.0.50 & PNP version 0.3installed. Nagios is running on RHEL-4. I'm facing an issue in RRD Tool. Recently I have configured this toolfor Cisco devices (under serviceextinfo.cfg file) so that memory & CPUutilization should be available in graphs however I'm getting followingerror when trying to view the graphs. RRDTool exits with errors -> ERROR: can't make a graph without contents. This tool is working fine with Intel platform servers & displaying thegraphs however not working in Cisco devices. I?m pasting excerpt of my host configuration & serviceextinfo file to provide clear picture. In fact, in Nagios web console, I?m able to see Memory & CPU utilization of Cisco devices however unable to view the graphs. I?m using check_snmp_mem.pl plugin to capture Memory utilization of Cisco devices. Let me know if any other info required from me. Excerpts of host Configuration File define command{ command_name process-service-perfdata command_line /usr/bin/perl /usr/local/nagios/libexec/process_perfdata.pl } Excerpts of Serviceextinfo File define serviceextinfo{ host_name L3-Switch service_description MEM action_url /nagios/pnp/index.php?host=$HOSTNAME$&srv=$SERVICEDESC$ } I would really appreciate your help in this regard. RegardsNavdeep ====================================== i-choose online store at www.tataindicom.com Your Comfort. Your Convenience. Your Choice. ====================================== DISCLAIMER: The information contained in this message (including any attachments) is confidential and may be privileged. If you have received it by mistake please notify the sender by return e-mail and permanently delete this message and any attachments from your system. Any dissemination, use, review, distribution, printing or copying of this message in whole or in part is strictly prohibited. Please note that e-mails are susceptible to change. TATA TELESERVICES LTD. (including its group companies) shall not be liable for the improper or incomplete transmission of the information contained in this communication nor for any delay in its receipt or damage to your system. TATA TELESERVICES LTD. (or its group companies) does not guarantee that the integrity of this communication has been maintained or that this communication is free of viruses, interceptions or interferences. ------------------------------------------------------------------------------ Got Input? Slashdot Needs You. Take our quick survey online. Come on, we don't ask for help often. Plus, you'll get a chance to win $100 to spend on ThinkGeek. http://p.sf.net/sfu/slashdot-survey _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------------ Got Input? Slashdot Needs You. Take our quick survey online. Come on, we don't ask for help often. Plus, you'll get a chance to win $100 to spend on ThinkGeek. http://p.sf.net/sfu/slashdot-survey -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lmw94002 at hotmail.com Thu Jul 28 14:51:15 2011 From: lmw94002 at hotmail.com (Mathew Walker) Date: Thu, 28 Jul 2011 08:51:15 -0400 Subject: Event Handler Question In-Reply-To: References: , Message-ID: May or may not be related... When testing new plugins and scripts, make sure you're testing them as the "nagios" user the scripts will be running as when integrated w/ Nagios. I documented what I did for a previous employer awhile back here: http://www.techadre.com/content/nagios-event-handler-restarting-service Perhaps something in there may be useful. -- Mat W. > From: Marcel.Galke at trans4mation.de > To: nagios-users at lists.sourceforge.net > Date: Wed, 27 Jul 2011 11:46:18 +0200 > Subject: Re: [Nagios-users] Event Handler Question > > Hey Chris, > > have you taken a look into the Docu and verified that the used macros are available in your context? Have you tried the debug option? > > Marcel > > > >From: Chris Zimmerman [mailto:czimmer at wczimmerman.dyndns.org] > >Sent: Wednesday, July 27, 2011 12:27 AM > >To: nagios-users at lists.sourceforge.net > >Subject: [Nagios-users] Event Handler Question > > > >I am having an issue with a very basic event handler on Nagios 3.2.3. I have the event handler defined with 3 macros: $HOSTSTATE$ $HOSTSTATETYPE$ $HOSTADDRESS$ all passed to a wrapper shell script that takes each macro as $1, $2, and $3. In the >wrapper script I added some echo statements as part of my troubleshooting to figure out why my script wasn't working. If I run the script manually and pass the arguments as I expect, the script runs fine. When Nagios executes it, as verified in the log, >nothing is happening and it is because the first 2 arguments are not being passed to the script. Interestingly, the third one is passed to the script. > > > >So, what could be the issue with the command definition not passing the first 2 arguments? > > > >Thanks, > >Chris > > ------------------------------------------------------------------------------ > Got Input? Slashdot Needs You. > Take our quick survey online. Come on, we don't ask for help often. > Plus, you'll get a chance to win $100 to spend on ThinkGeek. > http://p.sf.net/sfu/slashdot-survey > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Got Input? Slashdot Needs You. Take our quick survey online. Come on, we don't ask for help often. Plus, you'll get a chance to win $100 to spend on ThinkGeek. http://p.sf.net/sfu/slashdot-survey -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From craig at milwaukeenet.net Fri Jul 29 01:22:19 2011 From: craig at milwaukeenet.net (Craig Niedringhaus) Date: Thu, 28 Jul 2011 18:22:19 -0500 Subject: windows.cfg Message-ID: <029101cc4d7d$32d36fb0$987a4f10$@milwaukeenet.net> Hi I think I have a corrupt windows.cfg When I enable the windows.cfg in nagios.cfg Nagios will kick back an error when I try to restart it. Any suggestions or is there a clean windows.cfg I could try? Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Got Input? Slashdot Needs You. Take our quick survey online. Come on, we don't ask for help often. Plus, you'll get a chance to win $100 to spend on ThinkGeek. http://p.sf.net/sfu/slashdot-survey -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jon at netdork.net Fri Jul 29 01:40:03 2011 From: jon at netdork.net (Jonathan Angliss) Date: Thu, 28 Jul 2011 18:40:03 -0500 Subject: windows.cfg In-Reply-To: <029101cc4d7d$32d36fb0$987a4f10$@milwaukeenet.net> References: <029101cc4d7d$32d36fb0$987a4f10$@milwaukeenet.net> Message-ID: On 07/28/11 18:22, Craig Niedringhaus wrote: > Hi > > I think I have a corrupt windows.cfg When I enable the windows.cfg in > nagios.cfg Nagios will kick back an error when I try to restart it. > > Any suggestions or is there a clean windows.cfg I could try? What is the error you're getting? What happens when you tell nagios to validate the config? nagios -v /path/to/nagios.cfg The file windows.cfg is a conventional name to hint there might be windows based computers in there. However that's for you, not Nagios. Nagios reads them all, and processes them afterwards. There is likely an error, maybe a missing reference, so full details on the error is important. -- Jonathan Angliss ------------------------------------------------------------------------------ Got Input? Slashdot Needs You. Take our quick survey online. Come on, we don't ask for help often. Plus, you'll get a chance to win $100 to spend on ThinkGeek. http://p.sf.net/sfu/slashdot-survey _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Eliot.Picken at wenaas.co.uk Fri Jul 29 01:39:46 2011 From: Eliot.Picken at wenaas.co.uk (Eliot.Picken at wenaas.co.uk) Date: Fri, 29 Jul 2011 00:39:46 +0100 Subject: AUTO: Eliot Picken is out of the office (returning 01/08/2011) Message-ID: I am out of the office until 01/08/2011. I am currently out of the office, and your email has not been forwarded. Note: This is an automated response to your message "[Nagios-users] windows.cfg" sent on 7/29/2011 12:22:19 AM. This is the only notification you will receive while this person is away. ------------------------------------------------------------------------------ Got Input? Slashdot Needs You. Take our quick survey online. Come on, we don't ask for help often. Plus, you'll get a chance to win $100 to spend on ThinkGeek. http://p.sf.net/sfu/slashdot-survey _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From craig at milwaukeenet.net Fri Jul 29 04:41:47 2011 From: craig at milwaukeenet.net (Craig Niedringhaus) Date: Thu, 28 Jul 2011 21:41:47 -0500 Subject: windows.cfg In-Reply-To: References: <029101cc4d7d$32d36fb0$987a4f10$@milwaukeenet.net> Message-ID: <02a801cc4d99$10a49ba0$31edd2e0$@milwaukeenet.net> It did find an error, could not expand host group on line 139. Checking that now Thanks! -----Original Message----- From: Jonathan Angliss [mailto:jon at netdork.net] Sent: Thursday, July 28, 2011 6:40 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] windows.cfg On 07/28/11 18:22, Craig Niedringhaus wrote: > Hi > > I think I have a corrupt windows.cfg When I enable the windows.cfg in > nagios.cfg Nagios will kick back an error when I try to restart it. > > Any suggestions or is there a clean windows.cfg I could try? What is the error you're getting? What happens when you tell nagios to validate the config? nagios -v /path/to/nagios.cfg The file windows.cfg is a conventional name to hint there might be windows based computers in there. However that's for you, not Nagios. Nagios reads them all, and processes them afterwards. There is likely an error, maybe a missing reference, so full details on the error is important. -- Jonathan Angliss ---------------------------------------------------------------------------- -- Got Input? Slashdot Needs You. Take our quick survey online. Come on, we don't ask for help often. Plus, you'll get a chance to win $100 to spend on ThinkGeek. http://p.sf.net/sfu/slashdot-survey _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Got Input? Slashdot Needs You. Take our quick survey online. Come on, we don't ask for help often. Plus, you'll get a chance to win $100 to spend on ThinkGeek. http://p.sf.net/sfu/slashdot-survey _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dylanklc at gmail.com Fri Jul 29 11:31:32 2011 From: dylanklc at gmail.com (k Dylan') Date: Fri, 29 Jul 2011 17:31:32 +0800 Subject: about:nagios.cmd get multi external command Message-ID: I have a problem about file: nagios.cmd.I wanna write mutil external command to nagios.cmd at the same time.But nagios will report problem to me.And then i put sleep(1) within write every externl command to nagios.cmd;That will be OK.But i think here will be better idea to slove this problem. Does anybody has better idea to solve this problem? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Got Input? Slashdot Needs You. Take our quick survey online. Come on, we don't ask for help often. Plus, you'll get a chance to win $100 to spend on ThinkGeek. http://p.sf.net/sfu/slashdot-survey -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From af.at.work at gmail.com Fri Jul 29 15:35:32 2011 From: af.at.work at gmail.com (af.at.work at gmail.com) Date: Fri, 29 Jul 2011 09:35:32 -0400 Subject: check_http + headers Message-ID: With cURL, I can successfully log into the website I ultimately want have Nagios test by passing --cookies. Something like this: curl --cookie "user=4reqrerqwr;userlogin=123adsfjlk324" http://mysite.com/home/index.aspx -v | grep Welcome I know it is successful because, 1, I can visually see the rendered code and 2, the grep search for Welcome would only be seen if the authentication was successful. I am trying to mimic this in Nagios with check_http like so: ./check_http -H mysite.com -u http://mysite.com/home/index.aspx -f follow -s Welcome -k 'Cookie: user=4reqrerqwr;userlogin=123adsfjlk324' -v One big difference I see is that in cURL the cookie is set on 1 line but the verbose response from check_http shows the cookie on two lines. Cookie: user=4reqrerqwr;userlogin=123adsfjlk324 vs Cookie: user=4reqrerqwr userlogin=123adsfjlk324 I am open to suggestions and of course alternatives. I have checked out WebInject but this seems to be SO close I hate to drop it. Lastly, I have tried check_curl, and extended it to support cookies. This DOES work but I am getting (null) on the responses and the grep never causes Nagios to fail regardless of a valid result being returned. ------------------------------------------------------------------------------ Got Input? Slashdot Needs You. Take our quick survey online. Come on, we don't ask for help often. Plus, you'll get a chance to win $100 to spend on ThinkGeek. http://p.sf.net/sfu/slashdot-survey _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gevery at gmail.com Fri Jul 29 16:03:45 2011 From: gevery at gmail.com (Gary Every) Date: Fri, 29 Jul 2011 07:03:45 -0700 Subject: check_http + headers In-Reply-To: References: Message-ID: Try using something besides a ; to separate the user and userlogin or better yet encapsulate them in quotes??? 'Cookie: "user=4reqrerqwr;userlogin=123adsfjlk324"' On Fri, Jul 29, 2011 at 6:35 AM, wrote: > With cURL, I can successfully log into the website I ultimately want > have Nagios test by passing --cookies. > > Something like this: curl --cookie > "user=4reqrerqwr;userlogin=123adsfjlk324" > http://mysite.com/home/index.aspx -v | grep Welcome > > I know it is successful because, 1, I can visually see the rendered > code and 2, the grep search for Welcome would only be seen if the > authentication was successful. > > I am trying to mimic this in Nagios with check_http like so: > > ./check_http -H mysite.com -u http://mysite.com/home/index.aspx -f > follow -s Welcome -k 'Cookie: user=4reqrerqwr;userlogin=123adsfjlk324' > -v > > One big difference I see is that in cURL the cookie is set on 1 line > but the verbose response from check_http shows the cookie on two > lines. > > Cookie: user=4reqrerqwr;userlogin=123adsfjlk324 vs > > Cookie: user=4reqrerqwr > userlogin=123adsfjlk324 > > I am open to suggestions and of course alternatives. I have checked > out WebInject but this seems to be SO close I hate to drop it. > > Lastly, I have tried check_curl, and extended it to support cookies. > This DOES work but I am getting (null) on the responses and the grep > never causes Nagios to fail regardless of a valid result being > returned. > > > ------------------------------------------------------------------------------ > Got Input? Slashdot Needs You. > Take our quick survey online. Come on, we don't ask for help often. > Plus, you'll get a chance to win $100 to spend on ThinkGeek. > http://p.sf.net/sfu/slashdot-survey > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Gary Every "Pay it Forward!" -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Got Input? Slashdot Needs You. Take our quick survey online. Come on, we don't ask for help often. Plus, you'll get a chance to win $100 to spend on ThinkGeek. http://p.sf.net/sfu/slashdot-survey -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From af.at.work at gmail.com Fri Jul 29 16:14:50 2011 From: af.at.work at gmail.com (af.at.work at gmail.com) Date: Fri, 29 Jul 2011 10:14:50 -0400 Subject: check_http + headers In-Reply-To: References: Message-ID: Wrapping in quotes still made pushed the second value to another line. Cookie: "AwarenessNETUserLogin_8800=04dDHmcJjn2vfcvP97i+z9yBGic0y4BIhNfDo8wN1fE= username=admin" Can the ; be escaped? I can't pass anything else. On Fri, Jul 29, 2011 at 10:03 AM, Gary Every wrote: > Try using something besides ?a ; to separate the user and userlogin or > better yet encapsulate them in quotes??? > ?'Cookie: "user=4reqrerqwr;userlogin=123adsfjlk324"' > > On Fri, Jul 29, 2011 at 6:35 AM, wrote: >> >> With cURL, I can successfully log into the website I ultimately want >> have Nagios test by passing --cookies. >> >> Something like this: curl --cookie >> "user=4reqrerqwr;userlogin=123adsfjlk324" >> http://mysite.com/home/index.aspx -v | grep Welcome >> >> I know it is successful because, 1, I can visually see the rendered >> code and 2, the grep search for Welcome would only be seen if the >> authentication was successful. >> >> I am trying to mimic this in Nagios with check_http like so: >> >> ./check_http -H mysite.com -u http://mysite.com/home/index.aspx -f >> follow -s Welcome -k 'Cookie: user=4reqrerqwr;userlogin=123adsfjlk324' >> -v >> >> One big difference I see is that in cURL the cookie is set on 1 line >> but the verbose response from check_http shows the cookie on two >> lines. >> >> Cookie: user=4reqrerqwr;userlogin=123adsfjlk324 vs >> >> Cookie: user=4reqrerqwr >> userlogin=123adsfjlk324 >> >> I am open to suggestions and of course alternatives. I have checked >> out WebInject but this seems to be SO close I hate to drop it. >> >> Lastly, I have tried check_curl, and extended it to support cookies. >> This DOES work but I am getting (null) on the responses and the grep >> never causes Nagios to fail regardless of a valid result being >> returned. >> >> >> ------------------------------------------------------------------------------ >> Got Input? ? Slashdot Needs You. >> Take our quick survey online. ?Come on, we don't ask for help often. >> Plus, you'll get a chance to win $100 to spend on ThinkGeek. >> http://p.sf.net/sfu/slashdot-survey >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null > > > > -- > Gary Every > "Pay it Forward!" > > > ------------------------------------------------------------------------------ > Got Input? ? Slashdot Needs You. > Take our quick survey online. ?Come on, we don't ask for help often. > Plus, you'll get a chance to win $100 to spend on ThinkGeek. > http://p.sf.net/sfu/slashdot-survey > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Got Input? Slashdot Needs You. Take our quick survey online. Come on, we don't ask for help often. Plus, you'll get a chance to win $100 to spend on ThinkGeek. http://p.sf.net/sfu/slashdot-survey _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Jul 29 16:49:20 2011 From: tonvoon at gmail.com (Ton Voon) Date: Fri, 29 Jul 2011 15:49:20 +0100 Subject: check_http + headers In-Reply-To: References: Message-ID: <76369EA1-6D5E-41BA-BBCD-A151497A9AFE@gmail.com> On 29 Jul 2011, at 14:35, af.at.work at gmail.com wrote: > I am trying to mimic this in Nagios with check_http like so: > > ./check_http -H mysite.com -u http://mysite.com/home/index.aspx -f > follow -s Welcome -k 'Cookie: user=4reqrerqwr;userlogin=123adsfjlk324' > -v You should use multiple -k to add more headers. Ton ------------------------------------------------------------------------------ Got Input? Slashdot Needs You. Take our quick survey online. Come on, we don't ask for help often. Plus, you'll get a chance to win $100 to spend on ThinkGeek. http://p.sf.net/sfu/slashdot-survey _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From af.at.work at gmail.com Fri Jul 29 16:53:00 2011 From: af.at.work at gmail.com (af.at.work at gmail.com) Date: Fri, 29 Jul 2011 10:53:00 -0400 Subject: check_http + headers In-Reply-To: References: Message-ID: Per the Nagios doc, I also tried putting the ; in a $USERn$ variable & passed that in my check but it still drops the second cookie value to another line. On Fri, Jul 29, 2011 at 10:14 AM, wrote: > Wrapping in quotes still made pushed the second value to another line. > Cookie: "AwarenessNETUserLogin_8800=04dDHmcJjn2vfcvP97i+z9yBGic0y4BIhNfDo8wN1fE= > username=admin" > > Can the ; be escaped? I can't pass anything else. > > On Fri, Jul 29, 2011 at 10:03 AM, Gary Every wrote: >> Try using something besides ?a ; to separate the user and userlogin or >> better yet encapsulate them in quotes??? >> ?'Cookie: "user=4reqrerqwr;userlogin=123adsfjlk324"' >> >> On Fri, Jul 29, 2011 at 6:35 AM, wrote: >>> >>> With cURL, I can successfully log into the website I ultimately want >>> have Nagios test by passing --cookies. >>> >>> Something like this: curl --cookie >>> "user=4reqrerqwr;userlogin=123adsfjlk324" >>> http://mysite.com/home/index.aspx -v | grep Welcome >>> >>> I know it is successful because, 1, I can visually see the rendered >>> code and 2, the grep search for Welcome would only be seen if the >>> authentication was successful. >>> >>> I am trying to mimic this in Nagios with check_http like so: >>> >>> ./check_http -H mysite.com -u http://mysite.com/home/index.aspx -f >>> follow -s Welcome -k 'Cookie: user=4reqrerqwr;userlogin=123adsfjlk324' >>> -v >>> >>> One big difference I see is that in cURL the cookie is set on 1 line >>> but the verbose response from check_http shows the cookie on two >>> lines. >>> >>> Cookie: user=4reqrerqwr;userlogin=123adsfjlk324 vs >>> >>> Cookie: user=4reqrerqwr >>> userlogin=123adsfjlk324 >>> >>> I am open to suggestions and of course alternatives. I have checked >>> out WebInject but this seems to be SO close I hate to drop it. >>> >>> Lastly, I have tried check_curl, and extended it to support cookies. >>> This DOES work but I am getting (null) on the responses and the grep >>> never causes Nagios to fail regardless of a valid result being >>> returned. >>> >>> >>> ------------------------------------------------------------------------------ >>> Got Input? ? Slashdot Needs You. >>> Take our quick survey online. ?Come on, we don't ask for help often. >>> Plus, you'll get a chance to win $100 to spend on ThinkGeek. >>> http://p.sf.net/sfu/slashdot-survey >>> _______________________________________________ >>> Nagios-users mailing list >>> Nagios-users at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>> ::: Please include Nagios version, plugin version (-v) and OS when >>> reporting any issue. >>> ::: Messages without supporting info will risk being sent to /dev/null >> >> >> >> -- >> Gary Every >> "Pay it Forward!" >> >> >> ------------------------------------------------------------------------------ >> Got Input? ? Slashdot Needs You. >> Take our quick survey online. ?Come on, we don't ask for help often. >> Plus, you'll get a chance to win $100 to spend on ThinkGeek. >> http://p.sf.net/sfu/slashdot-survey >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when reporting >> any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> > ------------------------------------------------------------------------------ Got Input? Slashdot Needs You. Take our quick survey online. Come on, we don't ask for help often. Plus, you'll get a chance to win $100 to spend on ThinkGeek. http://p.sf.net/sfu/slashdot-survey _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From af.at.work at gmail.com Fri Jul 29 17:35:18 2011 From: af.at.work at gmail.com (af.at.work at gmail.com) Date: Fri, 29 Jul 2011 11:35:18 -0400 Subject: check_http + headers In-Reply-To: <76369EA1-6D5E-41BA-BBCD-A151497A9AFE@gmail.com> References: <76369EA1-6D5E-41BA-BBCD-A151497A9AFE@gmail.com> Message-ID: I tried multiple -k parameters to add more headers with the same result. This is the output from Nagios with a 400 Bad Request status. I assume that is because the cookie is effectively broken. GET http://mywebsite.com/home.aspx HTTP/1.1 User-Agent: check_http/v1.4.15 (nagios-plugins 1.4.15) Connection: close Host: mywebsite.com Cookie: user=4reqrerqwr userlogin=123adsfjlk324 cURL via the CLI is almost identical, but the Cookie: is kept on one line. GET http://mywebsite.com/home.aspx HTTP/1.1 Connection: close Host: mywebsite.com Cookie: user=4reqrerqwr;userlogin=123adsfjlk324 On Fri, Jul 29, 2011 at 10:49 AM, Ton Voon wrote: > > On 29 Jul 2011, at 14:35, af.at.work at gmail.com wrote: > >> I am trying to mimic this in Nagios with check_http like so: >> >> ./check_http -H mysite.com -u http://mysite.com/home/index.aspx -f >> follow -s Welcome -k 'Cookie: user=4reqrerqwr;userlogin=123adsfjlk324' >> -v > > You should use multiple -k to add more headers. > > Ton > > > ------------------------------------------------------------------------------ > Got Input? ? Slashdot Needs You. > Take our quick survey online. ?Come on, we don't ask for help often. > Plus, you'll get a chance to win $100 to spend on ThinkGeek. > http://p.sf.net/sfu/slashdot-survey > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Got Input? Slashdot Needs You. Take our quick survey online. Come on, we don't ask for help often. Plus, you'll get a chance to win $100 to spend on ThinkGeek. http://p.sf.net/sfu/slashdot-survey _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From frnkblk at iname.com Sun Jul 31 03:19:17 2011 From: frnkblk at iname.com (Frank Bulk) Date: Sat, 30 Jul 2011 20:19:17 -0500 Subject: check http port 80 warning on a site that actually exists. In-Reply-To: <4E2D5F0E.1040405@gmail.com> References: <4E2D5F0E.1040405@gmail.com> Message-ID: <005c01cc4f1f$ddfd5790$99f806b0$@iname.com> Can you share the URL? Frank -----Original Message----- From: Jonathan Aquilina [mailto:eagles051387 at gmail.com] Sent: Monday, July 25, 2011 7:18 AM To: Nagios Users List Subject: [Nagios-users] check http port 80 warning on a site that actually exists. I am workign with a site which i have being monitored by nagios, and for some reason when check_http runs it gets a 404, but if you go to the domain the page exists and the site exists. Would this be a false positive, and if so how can i fix it. Also another interesting matter is that when i try and run the script to check http from command line it times out even after increasing the time out timefrom the default 10 seconds to 20 for instance. Any ideas would be greatly appreciated. ---------------------------------------------------------------------------- -- Storage Efficiency Calculator This modeling tool is based on patent-pending intellectual property that has been used successfully in hundreds of IBM storage optimization engage- ments, worldwide. Store less, Store more with what you own, Move data to the right place. Try It Now! http://www.accelacomm.com/jaw/sfnl/114/51427378/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Got Input? Slashdot Needs You. Take our quick survey online. Come on, we don't ask for help often. Plus, you'll get a chance to win $100 to spend on ThinkGeek. http://p.sf.net/sfu/slashdot-survey _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jochen.Bern at LINworks.de Sun Jul 31 04:51:39 2011 From: Jochen.Bern at LINworks.de (Jochen Bern) Date: Sun, 31 Jul 2011 04:51:39 +0200 Subject: Bug?: Custom notifications ignore contact notification options In-Reply-To: <4E307C6F.3030806@paul.dubuc.org> References: <4E307C6F.3030806@paul.dubuc.org> Message-ID: <4E34C33B.4010105@LINworks.de> On 07/27/2011 11:00 PM, Paul M. Dubuc wrote: > I just discovered what looks like a possible bug in the "Send custom > host/service notification" command in Nagios 3.2.3. [...] The command > description says that "Custom notifications normally follow the regular > notification logic in Nagios. [...]" > I didn't use either the Forced or Broadcast option and the OK status > notification goes to contacts that have only 'c' (critical) or 'd' (down) for > their service/host_notification_options and escalation_options. Is this a > bug? Seems like this should only happen if the Broadcast option is checked. FWIW: Nagios suppresses regular OK/RECOVERY notifications unless the contact in question did get a notification for the preceding non-OK state. In your case, there *was no* preceding non-OK state, so if the analogy were taken *that* far, CUSTOM notifications for services in an OK state would *never* get sent. I don't think you'd want that. ;-) CUSTOM notifications carry the current state as additional information, not as their raison d'?tre - pretty much like FLAPPINGSTART and -STOP notifications. The reach of FLAPPING* notifications is controlled by their own notification_option, 'f'. It would certainly be possible to define a new notification_option for CUSTOM notifications, but unless you can restrict the semantics of such notifications to something narrower than "whatever the guy was thinking when he typed the gobbledygook into the comment field", I fail to see how a contact could be really sure that such notifications will never be relevant to him. Regards, J. Bern -- Jochen Bern, Systemingenieur --- LINworks GmbH Postfach 100121, 64201 Darmstadt | Robert-Koch-Str. 9, 64331 Weiterstadt PGP (1024D/4096g) FP = D18B 41B1 16C0 11BA 7F8C DCF7 E1D5 FAF4 444E 1C27 Tel. +49 6151 9067-231, Zentr. -0, Fax -299 - Amtsg. Darmstadt HRB 85202 Unternehmenssitz Weiterstadt, Gesch?ftsf?hrer Metin Dogan, Oliver Michel ------------------------------------------------------------------------------ Got Input? Slashdot Needs You. Take our quick survey online. Come on, we don't ask for help often. Plus, you'll get a chance to win $100 to spend on ThinkGeek. http://p.sf.net/sfu/slashdot-survey