I have a question about check_snmp:
I have an UPS from which i want to get the Temperatures from, but i just get the message: Required parameter: secname.
I can get the data with snmpwalk, but i cant use it for alerts.
The commands are:
Code: Select all
/usr/lib/nagios/plugins/check_snmp 192.168.151.195 -u nagios -L 'noAuthNoPriv' -o UPS-MIB::upsBatteryTemperature.0 -w 50 -c 70 -P 3
/usr/lib/nagios/plugins/check_snmp 192.168.151.195 -u nagios -L 'noAuthNoPriv' -o 1.3.6.1.2.1.33.1.2.7 -w 50 -c 70 -P 3
/usr/bin/snmpwalk -v3 192.168.151.195 -u nagios UPS-MIB::upsBatteryTemperature.0
I found the command in the web which worked for them.
The device is a SNMP Module from generex and i aleready asked them, but they told me its not an issue on their side.
Thank you!