LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   LM-Sensors (https://www.linuxquestions.org/questions/linux-newbie-8/lm-sensors-655797/)

patoy 07-15-2008 12:09 AM

LM-Sensors
 
I can't get it to work properly in nagios, it displays WARNING - sensors returned state 1

I have checked on the server that is being monitored and the service is smoothly running by this command.

ps -ef | grep sensors

aus9 07-15-2008 01:14 AM

does this help?
http://www.nagios.org/faqs/viewfaq.p...showdesc=false

btw i do not use nagios myself

2) otherwise make sure the target pc has had the relevant detectors set up correctly..eg has sensors-detect with root powers been done and the relevant changes to the init scripts?

patoy 07-15-2008 02:23 AM

thanks for the reply. in order for nagios to read data sensors for the remote host, i installed lm-sensorswhich basically gives output to the user screen. There's an nrpe plugin who handles the values and sends to the nagios server if ever it requests for something. I'm thinking that it outputs the wrong values.

aus9 07-15-2008 03:21 AM

hmmm not sure if you understood so forgive me for being more blunt.

its not enough to install lm-sensors....its just a package.

Its needs to get the correct information from the correct kernel modules or signals which is done only when the system has the correct modules loading etc and the various config files are tweaked relevant to the hardware.

2) What hardware are you trying to monitor please?

patoy 07-16-2008 01:49 AM

it's a dual-core processor. lm-sensors outputs the correct values however nrpe still recognize it as alarm and send it sends info over to the nagios server.

aus9 07-16-2008 03:43 AM

I have a single core amd64 but running a 32 bit system.

Have you checked folder /.gkrellm2/ for your users configs to see if alarm setting is enabled there?

or

/etc/sensors.conf?

patoy 07-17-2008 03:55 AM

i have checked on the corners of the sensors.conf file. but still to no avail.

aus9 07-18-2008 12:38 AM

Can you provide details to the alarm details then?

we may be able to work backwards using your /var/log/syslog or using 'find" or grep


All times are GMT -5. The time now is 07:01 AM.