I want to find a way of showing hardware specs for each system in Nagios. How can I do this? I’ve been looking at other scripts such as ocsinventory also.
a check_snmp can get hardware specs, if the host has snmp enabled.
Or if you’re not familiar with SNMP, you could write a small check script yourself.
On Solaris it’s easy, just use “prtdiag”. Although i don’t think there’s an equivalent on Linux
more /proc/cpuinfo
seems to give a good amount of cpu stuff, and there are many other files in proc of interest.
That’s true
But is there anything that lists the server make and model? I never could find that