Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I cant get lm-sensors to work with nagios. I need the lm-sensors package to be able to monitor hardware on computers and to do that with nagios i use the check_sensors plugin. This plugin requires lm-sensors set up properly which doesnt seem to be do-able(?).
I first compiled the lastest version of lm-sensors with the necessary packages required for an lm-sensors installation (i have 2.6 kernel, so i2c should not be necessary but the libraries were installed=.
When i ran "sensors-detect" it started the config wizard, but couldnt detect anything.
So i thought, i might as well just apt the package in since im using debian. So i did, but i got the same problem when issuing "sensors-detect" this time, it doesnt detect anything and i also ran the command "apt-get build-dep lm-sensors" so all dependencies should be resolved. Still nothing is detected.
Is there any way to get lm-sensors to work with the "check_sensors" plugin in nagios? Help is appericiated since i would really like to be able to monitor all hardware.
Distribution: Distribution: RHEL 5 with Pieces of this and that.
Kernel 18.104.22.168, KDE 3.5.8 and KDE 4.0 beta, Plu
lmsensors will only work with certain chipsets. Is the shipset on the motherboard workable with lmsensors? Not all boards have the ability under linux. Posting info about the board and chipset might help to figure it out.
Since "unknown device" appears after everything you have in your list, I'd say chances are your board is not yet supported by lm-sensors. Get on the archive of and join their mailing list. Sometimes the reason a board won't work is just because nobody had their hands on one to test out. It also is possible the board won't "play nice" with linux, in which case lm-sensors won't work. It won't work with about half of the devices on my IBM thinkpad T42, and that is fairly common, and made by a very linux friendly company. It more or less is a crapshoot, unless you know ahead that you want lm-sensors to work, so you make sure the board you buy is supported by it.
Hmm, ok. Thanks for the answers. So i guess my board just isnt supported yet. I wanted to do this to make sure that i can set up lm-sensors with the check_sensors plugin so it works in nagios.
When i was one of the tech staff during an event we had some rack servers that, out of what i can remember, worked without any problems with showing the status of the hardware in nagios. So i didnt anticipate any problems with this on my machine, but i now know a little more about this. Maybe ill get onto that mailing list and let them know about the board on my machine.
Nagios is a great tool. I use it at work all the time, more for network monitoring than individual system monitoring. If lm_sensors works, it follows that nagios can grab that data with the plugin and use it. I hope you're able to get some info from the lm_sensors team and see how close you can get things. If it is just that they need info from users, you may be able to get your board included.
So in short, all hope is not lost, but getting it to work will require some form of work.
JimBass: Ok, we used nagios to monitor core switches and routers as well as hosts on the event. When im monitoring hosts and services in nagios its no problem, but i also monitor a router which always is in the "PENDING" state, i have checked the IP-address, but it doesnt seem like there is anything wrong in the config of the router. I use check-host-alive to just check that the router is up and running internally, but it somehow never seems to check this. Do you know what this can be?