LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-15-2008, 12:09 AM   #1
patoy
LQ Newbie
 
Registered: Jul 2008
Posts: 28

Rep: Reputation: 15
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
 
Old 07-15-2008, 01:14 AM   #2
aus9
LQ Addict
 
Registered: Oct 2003
Location: Australia
Distribution: MX 16
Posts: 5,283

Rep: Reputation: Disabled
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?
 
Old 07-15-2008, 02:23 AM   #3
patoy
LQ Newbie
 
Registered: Jul 2008
Posts: 28

Original Poster
Rep: Reputation: 15
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.
 
Old 07-15-2008, 03:21 AM   #4
aus9
LQ Addict
 
Registered: Oct 2003
Location: Australia
Distribution: MX 16
Posts: 5,283

Rep: Reputation: Disabled
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?
 
Old 07-16-2008, 01:49 AM   #5
patoy
LQ Newbie
 
Registered: Jul 2008
Posts: 28

Original Poster
Rep: Reputation: 15
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.
 
Old 07-16-2008, 03:43 AM   #6
aus9
LQ Addict
 
Registered: Oct 2003
Location: Australia
Distribution: MX 16
Posts: 5,283

Rep: Reputation: Disabled
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?

Last edited by aus9; 07-16-2008 at 03:45 AM.
 
Old 07-17-2008, 03:55 AM   #7
patoy
LQ Newbie
 
Registered: Jul 2008
Posts: 28

Original Poster
Rep: Reputation: 15
i have checked on the corners of the sensors.conf file. but still to no avail.
 
Old 07-18-2008, 12:38 AM   #8
aus9
LQ Addict
 
Registered: Oct 2003
Location: Australia
Distribution: MX 16
Posts: 5,283

Rep: Reputation: Disabled
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
need help with lm-sensors and sensors-applet in gnome fakie_flip Linux - Hardware 5 07-15-2007 02:00 PM
GNOME Sensors Applet says NO SENSORS FOUND! badgerbox76 Linux - Newbie 2 12-24-2005 11:58 AM
Sensors marco_f Linux - Software 6 11-18-2004 06:41 PM
lm sensors Pauli Fedora 0 03-23-2004 05:33 PM
lm sensors, no sensors found N_A_J_M Linux - General 3 01-22-2003 05:09 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:24 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration