Page 2 of 2
Re: monitor switch device temperature and fan speed by OID
Posted: Fri Mar 16, 2018 2:15 pm
by npolovenko
@ inas.labib, Not sure if i'm looking at the right plugin but it doesn't look like you're passing the right argument:
--protocol=3
-L, --protocols=<authproto>,<privproto>
<authproto> : Authentication protocol (md5|sha : default md5)
<privproto> : Priv protocole (des|aes : default des)
For example,
--protocols=md5,des.
Looks like we do have a few other plugins on the Exchange you could try:
https://exchange.nagios.org/index.php?o ... sco%20temp
Also, which one of these plugins are you actually running, 0.35 or 0.41?
https://exchange.nagios.org/directory/P ... re/details
Re: monitor switch device temperature and fan speed by OID
Posted: Tue Mar 20, 2018 5:44 am
by inas.labib
Hi,
Thanks for suggesting plugin check_env_stats.py (
https://exchange.nagios.org/directory/P ... cs/details)
I want to know whether this plugin only supports snmp version 1 when tried it keeps timing out. As we are using v3 we need to authenticate to progress
SNMP is already configured here in the switch end.
Also for the plugin check_snmp_tempertature its works for temperature
Alarm at 10
SNMPv3 login
SNMPv3 AuthNoPriv login : wdpauth, md5
Retrieving SNMP table 1.3.6.1.4.1.9.9.13.1.3.1.2 to find sensor attribute names
got 1.3.6.1.4.1.9.9.13.1.3.1.2.1 : Chassis Temperature Sensor
match found for ., now set to retrieve 1.3.6.1.4.1.9.9.13.1.3.1.3.1
Getting SNMP data for oids1.3.6.1.4.1.9.9.13.1.3.1.3.1
got 1.3.6.1.4.1.9.9.13.1.3.1.3.1 : . = 46
OK - . Temperature is 46C
Is it possible to check fan speed with this same plugin.
Re: monitor switch device temperature and fan speed by OID
Posted: Tue Mar 20, 2018 3:04 pm
by npolovenko
@inas.labib, Yes, looks like that plugin only supports SNMP v1.
To check the fan speed you can try to find another plugin on the Exchange:
https://exchange.nagios.org/directory/P ... ironmental
If you know the fan oid number you may try running a simple check_snmp command:
Code: Select all
./check_snmp -H xxxxx -C community -P 3 -o xxxxx.xxxxxx
Re: monitor switch device temperature and fan speed by OID
Posted: Fri Mar 23, 2018 2:59 am
by inas.labib
Thanks for the support team, We got the results as expected
Re: monitor switch device temperature and fan speed by OID
Posted: Fri Mar 23, 2018 9:28 am
by tmcdonald
Glad to hear it! Are we alright to close this up then?
Re: monitor switch device temperature and fan speed by OID
Posted: Tue Apr 03, 2018 8:27 am
by inas.labib
Yes you can mark this closed