You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Checking if an if is up results in the warning "Use of uninitialized value within @oid_perf_inoct" on a Cisco 3750.
As requested on the check_netint.pl plugin page at exchange.nagios.org in a comment, here's the output from the latest version from the dev branch with the -v option:
$ ./check_netint-2.4b5.pl -H 10.1.1.1 -C public --name=GigabitEthernet1/0/10 -v
Alarm at 15 + 5
Filter : GigabitEthernet1/0/10
SNMP v1 login
Doing snmp get_table request on Interfaces Description Table OID: 1.3.6.1.2.1.2.2.1.2
OID: 1.3.6.1.2.1.2.2.1.2.26 Clean Desc: 'Vlan26' Raw Desc: Vlan26
OID: 1.3.6.1.2.1.2.2.1.2.10123 Clean Desc: 'GigabitEthernet1/0/23' Raw Desc: GigabitEthernet1/0/23
OID: 1.3.6.1.2.1.2.2.1.2.10108 Clean Desc: 'GigabitEthernet1/0/8' Raw Desc: GigabitEthernet1/0/8
OID: 1.3.6.1.2.1.2.2.1.2.28 Clean Desc: 'Vlan28' Raw Desc: Vlan28
OID: 1.3.6.1.2.1.2.2.1.2.10126 Clean Desc: 'GigabitEthernet1/0/26' Raw Desc: GigabitEthernet1/0/26
OID: 1.3.6.1.2.1.2.2.1.2.5003 Clean Desc: 'Port-channel3' Raw Desc: Port-channel3
OID: 1.3.6.1.2.1.2.2.1.2.5179 Clean Desc: 'StackPort1' Raw Desc: StackPort1
OID: 1.3.6.1.2.1.2.2.1.2.5004 Clean Desc: 'Port-channel4' Raw Desc: Port-channel4
OID: 1.3.6.1.2.1.2.2.1.2.5001 Clean Desc: 'Port-channel1' Raw Desc: Port-channel1
OID: 1.3.6.1.2.1.2.2.1.2.10117 Clean Desc: 'GigabitEthernet1/0/17' Raw Desc: GigabitEthernet1/0/17
OID: 1.3.6.1.2.1.2.2.1.2.22 Clean Desc: 'Vlan22' Raw Desc: Vlan22
OID: 1.3.6.1.2.1.2.2.1.2.10127 Clean Desc: 'GigabitEthernet1/0/27' Raw Desc: GigabitEthernet1/0/27
OID: 1.3.6.1.2.1.2.2.1.2.23 Clean Desc: 'Vlan23' Raw Desc: Vlan23
OID: 1.3.6.1.2.1.2.2.1.2.10107 Clean Desc: 'GigabitEthernet1/0/7' Raw Desc: GigabitEthernet1/0/7
OID: 1.3.6.1.2.1.2.2.1.2.10104 Clean Desc: 'GigabitEthernet1/0/4' Raw Desc: GigabitEthernet1/0/4
OID: 1.3.6.1.2.1.2.2.1.2.10119 Clean Desc: 'GigabitEthernet1/0/19' Raw Desc: GigabitEthernet1/0/19
OID: 1.3.6.1.2.1.2.2.1.2.10113 Clean Desc: 'GigabitEthernet1/0/13' Raw Desc: GigabitEthernet1/0/13
OID: 1.3.6.1.2.1.2.2.1.2.30 Clean Desc: 'Vlan30' Raw Desc: Vlan30
OID: 1.3.6.1.2.1.2.2.1.2.10106 Clean Desc: 'GigabitEthernet1/0/6' Raw Desc: GigabitEthernet1/0/6
OID: 1.3.6.1.2.1.2.2.1.2.254 Clean Desc: 'Vlan254' Raw Desc: Vlan254
OID: 1.3.6.1.2.1.2.2.1.2.10120 Clean Desc: 'GigabitEthernet1/0/20' Raw Desc: GigabitEthernet1/0/20
OID: 1.3.6.1.2.1.2.2.1.2.10121 Clean Desc: 'GigabitEthernet1/0/21' Raw Desc: GigabitEthernet1/0/21
OID: 1.3.6.1.2.1.2.2.1.2.10115 Clean Desc: 'GigabitEthernet1/0/15' Raw Desc: GigabitEthernet1/0/15
OID: 1.3.6.1.2.1.2.2.1.2.10111 Clean Desc: 'GigabitEthernet1/0/11' Raw Desc: GigabitEthernet1/0/11
OID: 1.3.6.1.2.1.2.2.1.2.1 Clean Desc: 'Vlan1' Raw Desc: Vlan1
OID: 1.3.6.1.2.1.2.2.1.2.10103 Clean Desc: 'GigabitEthernet1/0/3' Raw Desc: GigabitEthernet1/0/3
OID: 1.3.6.1.2.1.2.2.1.2.5181 Clean Desc: 'StackSub-St1-2' Raw Desc: StackSub-St1-2
OID: 1.3.6.1.2.1.2.2.1.2.14501 Clean Desc: 'Null0' Raw Desc: Null0
OID: 1.3.6.1.2.1.2.2.1.2.20 Clean Desc: 'Vlan20' Raw Desc: Vlan20
OID: 1.3.6.1.2.1.2.2.1.2.5002 Clean Desc: 'Port-channel2' Raw Desc: Port-channel2
OID: 1.3.6.1.2.1.2.2.1.2.10101 Clean Desc: 'GigabitEthernet1/0/1' Raw Desc: GigabitEthernet1/0/1
OID: 1.3.6.1.2.1.2.2.1.2.5005 Clean Desc: 'Port-channel5' Raw Desc: Port-channel5
OID: 1.3.6.1.2.1.2.2.1.2.29 Clean Desc: 'Vlan29' Raw Desc: Vlan29
OID: 1.3.6.1.2.1.2.2.1.2.10128 Clean Desc: 'GigabitEthernet1/0/28' Raw Desc: GigabitEthernet1/0/28
OID: 1.3.6.1.2.1.2.2.1.2.10118 Clean Desc: 'GigabitEthernet1/0/18' Raw Desc: GigabitEthernet1/0/18
OID: 1.3.6.1.2.1.2.2.1.2.223 Clean Desc: 'Vlan223' Raw Desc: Vlan223
OID: 1.3.6.1.2.1.2.2.1.2.25 Clean Desc: 'Vlan25' Raw Desc: Vlan25
OID: 1.3.6.1.2.1.2.2.1.2.10116 Clean Desc: 'GigabitEthernet1/0/16' Raw Desc: GigabitEthernet1/0/16
OID: 1.3.6.1.2.1.2.2.1.2.10109 Clean Desc: 'GigabitEthernet1/0/9' Raw Desc: GigabitEthernet1/0/9
OID: 1.3.6.1.2.1.2.2.1.2.10124 Clean Desc: 'GigabitEthernet1/0/24' Raw Desc: GigabitEthernet1/0/24
OID: 1.3.6.1.2.1.2.2.1.2.10112 Clean Desc: 'GigabitEthernet1/0/12' Raw Desc: GigabitEthernet1/0/12
OID: 1.3.6.1.2.1.2.2.1.2.10102 Clean Desc: 'GigabitEthernet1/0/2' Raw Desc: GigabitEthernet1/0/2
OID: 1.3.6.1.2.1.2.2.1.2.10122 Clean Desc: 'GigabitEthernet1/0/22' Raw Desc: GigabitEthernet1/0/22
OID: 1.3.6.1.2.1.2.2.1.2.27 Clean Desc: 'Vlan27' Raw Desc: Vlan27
OID: 1.3.6.1.2.1.2.2.1.2.21 Clean Desc: 'Vlan21' Raw Desc: Vlan21
OID: 1.3.6.1.2.1.2.2.1.2.24 Clean Desc: 'Vlan24' Raw Desc: Vlan24
OID: 1.3.6.1.2.1.2.2.1.2.5180 Clean Desc: 'StackSub-St1-1' Raw Desc: StackSub-St1-1
OID: 1.3.6.1.2.1.2.2.1.2.10110 Clean Desc: 'GigabitEthernet1/0/10' Raw Desc: GigabitEthernet1/0/10
OID: 1.3.6.1.2.1.2.2.1.2.10125 Clean Desc: 'GigabitEthernet1/0/25' Raw Desc: GigabitEthernet1/0/25
OID: 1.3.6.1.2.1.2.2.1.2.10105 Clean Desc: 'GigabitEthernet1/0/5' Raw Desc: GigabitEthernet1/0/5
OID: 1.3.6.1.2.1.2.2.1.2.10114 Clean Desc: 'GigabitEthernet1/0/14' Raw Desc: GigabitEthernet1/0/14
Name : GigabitEthernet1/0/10, Index : 10110
Doing snmp request on status table OIDs: 1.3.6.1.2.1.2.2.1.8.10110
Finished SNMP request. Result contains 1 entries:
1.3.6.1.2.1.2.2.1.8.10110 = 1
Use of uninitialized value within @oid_perf_inoct in hash element at ./check_netint-2.4b5.pl line 2232.
GigabitEthernet1/0/10:UP (1 UP): OK
$
The text was updated successfully, but these errors were encountered:
Checking if an if is up results in the warning "Use of uninitialized value within @oid_perf_inoct" on a Cisco 3750.
As requested on the check_netint.pl plugin page at exchange.nagios.org in a comment, here's the output from the latest version from the dev branch with the -v option:
The text was updated successfully, but these errors were encountered: