monitor switch device temperature and fan speed by OID

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: monitor switch device temperature and fan speed by OID

Post 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
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
inas.labib
Posts: 170
Joined: Tue Sep 11, 2012 3:48 am

Re: monitor switch device temperature and fan speed by OID

Post 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.
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: monitor switch device temperature and fan speed by OID

Post 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
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
inas.labib
Posts: 170
Joined: Tue Sep 11, 2012 3:48 am

Re: monitor switch device temperature and fan speed by OID

Post by inas.labib »

Thanks for the support team, We got the results as expected
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: monitor switch device temperature and fan speed by OID

Post by tmcdonald »

Glad to hear it! Are we alright to close this up then?
Former Nagios employee
inas.labib
Posts: 170
Joined: Tue Sep 11, 2012 3:48 am

Re: monitor switch device temperature and fan speed by OID

Post by inas.labib »

Yes you can mark this closed
Locked