Help to make check_snmp_temperature work
Posted: Thu Apr 01, 2021 11:11 am
Hi, I recently installed Nagios-Core 4.4.6 in order to monitor a lots of virtual servers on my network, all works flawlessly, I'm able to check pretty most of the stats/services I wanna check. But I would like to, also, check the temperature of a physical server (wich is a Dell server running Proxmox on top of Debian10) and of course show the temperature on the Nagios's local web page.
I found this amazing plugin check_snmp_temperature https://exchange.nagios.org/directory/P ... re/details but, altought it seems very easy to use, I can't make it work, I keep getting this error message:
(I also tried with changing the -H option and setting the local IP 127.0.0.1, but I get the same answer)
I know I need to check this part:
Could you help me?
I found this amazing plugin check_snmp_temperature https://exchange.nagios.org/directory/P ... re/details but, altought it seems very easy to use, I can't make it work, I keep getting this error message:
Code: Select all
server:/usr/local/nagios/etc# /usr/lib/nagios/plugins/./check_snmp_temperature.pl -H 192.168.50.230 -C public -T dell -d .1.3.6.1.4.1.28402.3.3.3.1.5.1 -a'.' -o C -w 30 -c 35
Please either specify specify system type (-T) OR base SNMP OIDs for name (-N) and data (-D) tables OR exact list of sensor names (-n) and data OIDs (-d) !
Usage: /usr/lib/nagios/plugins/./check_snmp_temperature.pl [-v] -H <host> -C <snmp_community> [-2] | (-l login -x passwd [-X pass -L <authp>,<privp>]) [-p <port>] [-t <timeout>] -T dell|hp|cisco1|juniper|alteon|lmsensors | [-N <oid_attribnames> -D <oid_attribdata>] | [-n <list of sensor names> -d <list of sensor oids>] [-a <attributes to check> -w <warn levels> -c <crit levels> [-f]] [-A <attributes for perfdata>] [-o <out_temp_unit: C|F|K>] [-i <in_temp_unit>] [-u <unknown_default>] [-V]
I know I need to check this part:
But I dig into the Git page https://github.com/willixix/WL-NagiosPl ... erature.pl and apparently I'm tooo way dumb to find what I'm doing wrong.Please either specify specify system type (-T) OR base SNMP OIDs for name (-N) and data (-D) tables OR exact list of sensor names (-n) and data OIDs (-d) !
Could you help me?