Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
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 suppose this can be done, but it wouldn't be the easiest thing in the world. Nagios is designed to support generic checks which you define, in both Passive and Active format, you will need to take advantage of this and write your own checks.
Now as far as how to do it you will first need to find a way to check whatever hardware information you want on your hardware and OS. I don't know of any commands to check the physical RAM layout (for example), but have seen it as a point you can check with some OEM software. What you will need to do is look at you hardware manufacturer and see if they have any such native utility. Then see if there is any sort of API or command line interface to query. You can also use generic Linux command line tools such as reading the device files found in /proc. Then you just need to decide what the "normal" values for any physical hardware to be monitored, and what setup matching to alert if anything is off.