NRPE startup problems

florian.beese at infoconsult.nu florian.beese at infoconsult.nu
Tue Dec 21 10:34:11 CET 2004


Hello,

I have a problem using lm_sensors with NRPE.

Everything is working fine unless I reboot the computers where lmsensors
should be executed on by NRPE. When I reboot the machine everything seems to
be well - the startup scripts initialize sensors and start NRPE (as daemon),
but when my Nagios retrieves the info, the information becomes always cut at
different sections of the output.
For Example (output of 2 different computers with the same config): 
output (PC1), when I (re-)start NRPE by hand:      SENSORS OK - temp1 +35
°C: temp3 +33.5 °C 
output (PC1), when its started up by init script:  SENSORS OK - 
output (PC2), when I (re-)start NRPE by hand:      SENSORS OK - fan2 4326
RPM: temp2 +19.0 °C 
output (PC2), when its started up by init script:  SENSORS OK - fan2 4326
RPM 

I even tried it at the command line and the output was the same, but the
NRPE process seems to be running normaly. When I restart the NRPE process
everythings working fine again until the next restart of the computer (as
mentioned above).

I am using NRPE 2.0 with Nagios 1.2 and the plugin "check_sensors.pl" (by
Matthew Kent) as I didn't really like the normal "check_sensors" plugin (if
you'd
like to see it watch this link:
http://iramon.ir.funpic.de/nagios/download/check_sensors.pl).

I already thought about writing an init script which restarts the NRPE
process after 10 seconds or so, but haven't tried that yet and in my opinion
thats not a clean solution.

Thanks in advance!

kind regards
   Florian Beese


____________
Virus checked by G DATA AntiVirusKit
Version: AVK 15.0.1655 from 21.12.2004


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list