[Nagios-users] monitoring fans

2009-02-10 Thread Chris
I am using check_snmp_fans plugin to monitor fans on some of my ESX hosts on blades. But I can't seem to monitor fans on my actual physical servers and workstations. I get error Error: walkoid() returned nothing. Does anyone know why I am getting this error? Thanks. --

[Nagios-users] Problem executing plugins under nagios 3.0.6

2009-02-10 Thread Matthew Melvin
I've recently tried upgrading from nagios 2.9 to nagios 3.0.6 but now it seems like nagios is having trouble executing plugins. The execve calls are failing with E2BIG. An example from an strace... 23545 execve("/bin/sh", ["sh", "-c", "/usr/lib/nagios/plugins/check_dummy 3 \"Stale results\""],

Re: [Nagios-users] checking for results of external commands

2009-02-10 Thread shadih rahman
Dirk, I am struggling with the same issue. However there is few solutions. One thing you have to parse the status.dat file. There is a cpan module which creates the perl object for nagios configs and status http://search.cpan.org/~duncs/Nagios-Object/ . However this module have some problem

[Nagios-users] vrml_image parameter apparently not working

2009-02-10 Thread Bruce Thayre
Hello, So i'm trying to beautify my nagios system a bit, and my host, and serviceextinfo.cfg files seem to be working for the most part, the relavent portions being: define hostextinfo{ host_name * icon_image rack4.gif # icon_image_alt rack4.gif vrml_im

Re: [Nagios-users] Alternate check interval when state become CRITICAL

2009-02-10 Thread Justin Pasher
Thomas Guyot-Sionnest wrote: >> Alrighty. I took the script above as the base and tweaked it to my >> setup. The theory behind the code is working, but there is still one >> caveat. When the service goes into a HARD CRITICAL state, the event >> handler is called and it correctly sends the command t

Re: [Nagios-users] Alternate check interval when state become CRITICAL

2009-02-10 Thread Thomas Guyot-Sionnest
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/02/09 04:23 PM, Justin Pasher wrote: > Thomas Guyot-Sionnest wrote: >>> What I would like to do is have the check interval change to every >>> one minute when the state become CRITICAL, but keep the notifications >>> at 5 minute intervals. >>>

Re: [Nagios-users] Alternate check interval when state become CRITICAL

2009-02-10 Thread Justin Pasher
Thomas Guyot-Sionnest wrote: >> What I would like to do is have the check interval change to every one >> minute when the state become CRITICAL, but keep the notifications at 5 >> minute intervals. >> > > It's simple: use an eventhandler. > > You can look at this for inspiration, although yo

Re: [Nagios-users] check_lm_sensors and the correct sensor names for checking cpu temperatures

2009-02-10 Thread Rahul Nabar
On Tue, Feb 10, 2009 at 3:03 PM, Rahul Nabar wrote: > > > On Tue, Feb 10, 2009 at 2:57 PM, Matteo Corti wrote: > >> Dear Rahul, >> Please post the output of "/usr/local/nagios/libexec/check_lm_sensors >> --list" >> Maybe, the --list option should tell us what "check_lm_sensors" sees but >> since

Re: [Nagios-users] check_lm_sensors and the correct sensor names for checking cpu temperatures

2009-02-10 Thread Rahul Nabar
On Tue, Feb 10, 2009 at 2:57 PM, Matteo Corti wrote: > Dear Rahul, > Please post the output of "/usr/local/nagios/libexec/check_lm_sensors > --list" > Maybe, the --list option should tell us what "check_lm_sensors" sees but > since it parses the output of sensors it should work. > > Thanks again M

Re: [Nagios-users] checking for results of external commands

2009-02-10 Thread Dirk H. Schulz
HTH, thanks for your fast reply. I was referring to nagios service checks, not to operating system or application services. My question is if there is a CHECK... equivalent to ENABLE_HOST_SVC_CHECKS, e.g. Dirk Am 10.02.2009 um 20:12 schrieb rjustinwilli...@gmail.com: > Dirk > > This is lar

[Nagios-users] Fwd: Re: checking for results of external commands

2009-02-10 Thread rjustinwilliams
forgot to reply all... -- Forwarded message -- From: rjustinwilli...@gmail.com Date: Feb 10, 2009 2:12pm Subject: Re: [Nagios-users] checking for results of external commands To: "Dirk H. Schulz" Dirk This is largely going to depend upon the setup of the service. In RedHat,

Re: [Nagios-users] Alternate check interval when state become CRITICAL

2009-02-10 Thread Justin Pasher
Thomas Guyot-Sionnest wrote: >> What I would like to do is have the check interval change to every one >> minute when the state become CRITICAL, but keep the notifications at 5 >> minute intervals. >> > > It's simple: use an eventhandler. > > You can look at this for inspiration, although yo

[Nagios-users] checking for results of external commands

2009-02-10 Thread Dirk H. Schulz
Hello all, I know I can use external commands to enable/disable service checks and host checks - I already use that in scripts. But is there an external command I can use to check for the result of the enable/disable command - in other words, can I check the current state (enabled/disabled)

[Nagios-users] check_lm_sensors and the correct sensor names for checking cpu temperatures

2009-02-10 Thread Rahul Nabar
I finally got to the stage where all my components for temperature checks are finally working! [r...@star255 check_lm_sensors-3.1.1]# sensors k8temp-pci-00c3 Adapter: PCI adapter Core0 Temp: +26°C Core1 Temp: +21°C How exactly do I get check_lm_sensors to work with this

Re: [Nagios-users] Antwort: Re: Nagvis

2009-02-10 Thread Martyn
All working now, I went through the install stage again, not sure what I missed but I must of missed something Thanks all for your time again Martyn -Original Message- From: sascha.runsc...@gfkl.com [mailto:sascha.runsc...@gfkl.com] Sent: 10 February 2009 10:45 To: nagios-users@lists.s

[Nagios-users] Antwort: Re: Nagvis

2009-02-10 Thread Sascha . Runschke
"Martyn" schrieb am 10.02.2009 09:36:42: > I do not have that entry in there, also I have just cheeked my db > and there are not entries added, they are all still at Zero > > What do you think could be the problem? Your Nagios doesn't have a working DB connection at all. Please do a "tail -f /

Re: [Nagios-users] FW: Monitoring Windows Host's clock

2009-02-10 Thread Livio Zanol Puppim
Or, you can take the easy way and monitor the time with SNMP compared with the NTP server time, also available via SNMP. The only sad thing abaout this, is getting time from some routers, witch in some cases are not available via SNMP 2009/2/9 Anthony Montibello > Hi Robby, > > If you want just

Re: [Nagios-users] Nagvis

2009-02-10 Thread Martyn
I do not have that entry in there, also I have just cheeked my db and there are not entries added, they are all still at Zero What do you think could be the problem? Thanks _ From: Simon Finch [mailto:fin...@stgeorge.com.au] Sent: 10 February 2009 02:18 To: nagios-users@lists.sourcef