same , Script is working for many of the Devices which are getting monitored.
yes … its seems some Value Coversion problem ,
Seems Value of one of the Veriable is reporting Empty that is the reason we are getting this error .
need to investigate why the value is come empty for few of the devices.
On further investigating , i noticied that ; impacted device is not reachable at TCP Port 161 from ICINGA Checker .
Can some one put more light on this issue.
“Simple”: Using SNMP Version 1 or 2/2c, you will only need to configure a SNMP community. Depending on the device you will need to allow IPs/hostnames to query using this community.
“Secure”: Using SNMP Version 3. You need to configure a user and password, authentication methods as well as allowed hosts to query(I think).
My tip: search the web for snmp configuration <my device>
Hi , SNMP_Gauge_Check.txt (1.4 KB)
If i want to locally execute the plugin “/etc/icinga2/scripts/prod_scripts/SNMP_Gauge_Check.py” , could you please help me with the syntax…
I have also upload the Script , for your refrence.
This project has some good basic SNMP scripts, which are well documented and are also part of the Icinga integrated command set: http://nagios.manubulon.com
[root@ServerA ~]# /usr/bin/snmpget -t 2 -v 3 -u surli -a SHA -A RLIG47k0e6hCY -x AES -X RLIE7n60RgWh6 -l authPriv 10.255.192.78 1.3.6.1.4.1.9.9.109.1.1.1.1.8.1
SNMPv2-SMI::enterprises.9.9.109.1.1.1.1.8.1 = No Such Instance currently exists at this OID
[root@ServerB~]# /usr/bin/snmpget -t 2 -v 3 -u surli -a SHA -A RLIG47k0e6hCY -x AES -X RLIE7n60RgWh6 -l authPriv 10.255.192.78 1.3.6.1.4.1.9.9.109.1.1.1.1.8.1
SNMPv2-SMI::enterprises.9.9.109.1.1.1.1.8.1 = No Such Instance currently exists at this OID
Want to understand the meaning of result “Gauge32: 1” and "No Such Instance currently exists at this OID "
Means that behind this OID no data is stored., aka the device does not support this OID. Gauge32
I would suggest that you check what kind of MIBs/OIDs you devices support, and what information they hold.
Sometimes you can download those MIB files from the device itself or from the website of the vendor. Some, like cisco, offer an online MIB browser.