Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use of uninitialized value within @oid_perf_inoct in hash element at ./check_netint.pl line 2023. #1

Open
oliversalzburg opened this issue Mar 31, 2014 · 4 comments

Comments

@oliversalzburg
Copy link

I'm currently trying to implement a check based on your check_netint.pl script.

I'm still experimenting and am just trying to list interfaces right now, using ./check_netint.pl -C public -H SRV-PDC. This produces the following warning:

Use of uninitialized value within @oid_perf_inoct in hash element at ./check_netint.pl line 2023.

Someone seemed to get the same message on Nagios Exchange, where you said you wanted the full output of the command with the -v parameter. Here is that output:

Use of uninitialized value within @oid_perf_inoct in hash element at ./check_netint.pl line 2023.
Use of uninitialized value within @oid_perf_inoct in hash element at ./check_netint.pl line 2023.
Use of uninitialized value within @oid_perf_inoct in hash element at ./check_netint.pl line 2023.
Use of uninitialized value within @oid_perf_inoct in hash element at ./check_netint.pl line 2023.
Use of uninitialized value within @oid_perf_inoct in hash element at ./check_netint.pl line 2023.
Use of uninitialized value within @oid_perf_inoct in hash element at ./check_netint.pl line 2023.
Use of uninitialized value within @oid_perf_inoct in hash element at ./check_netint.pl line 2023.
Use of uninitialized value within @oid_perf_inoct in hash element at ./check_netint.pl line 2023.
Use of uninitialized value within @oid_perf_inoct in hash element at ./check_netint.pl line 2023.
Use of uninitialized value within @oid_perf_inoct in hash element at ./check_netint.pl line 2023.
Use of uninitialized value within @oid_perf_inoct in hash element at ./check_netint.pl line 2023.
Use of uninitialized value within @oid_perf_inoct in hash element at ./check_netint.pl line 2023.
Use of uninitialized value within @oid_perf_inoct in hash element at ./check_netint.pl line 2023.
Use of uninitialized value within @oid_perf_inoct in hash element at ./check_netint.pl line 2023.
Use of uninitialized value within @oid_perf_inoct in hash element at ./check_netint.pl line 2023.
Use of uninitialized value within @oid_perf_inoct in hash element at ./check_netint.pl line 2023.
Use of uninitialized value within @oid_perf_inoct in hash element at ./check_netint.pl line 2023.
Use of uninitialized value within @oid_perf_inoct in hash element at ./check_netint.pl line 2023.
Alarm at 15 + 5
SNMP v1 login
Getting Interfaces Description Table (1.3.6.1.2.1.2.2.1.2):
 OID : 1.3.6.1.2.1.2.2.1.2.1, Clean Desc : Software Loopback Interface 1, Raw Desc: Software Loopback Interface 1
 OID : 1.3.6.1.2.1.2.2.1.2.14, Clean Desc : 0x4e65747a7765726b6b6172746520668172204d6963726f736f6674205669727475616c204d616368696e652d4275732d516f53205061636b6574205363686564756c65722d3030303000, Raw Desc: 0x4e65747a7765726b6b6172746520668172204d6963726f736f6674205669727475616c204d616368696e652d4275732d516f53205061636b6574205363686564756c65722d3030303000
 OID : 1.3.6.1.2.1.2.2.1.2.16, Clean Desc : WAN Miniport (Network Monitor)-QoS Packet Scheduler-0000, Raw Desc: WAN Miniport (Network Monitor)-QoS Packet Scheduler-0000
 OID : 1.3.6.1.2.1.2.2.1.2.18, Clean Desc : WAN Miniport (IPv6)-QoS Packet Scheduler-0000, Raw Desc: WAN Miniport (IPv6)-QoS Packet Scheduler-0000
 OID : 1.3.6.1.2.1.2.2.1.2.12, Clean Desc : Microsoft-ISATAP-Adapter, Raw Desc: Microsoft-ISATAP-Adapter
 OID : 1.3.6.1.2.1.2.2.1.2.17, Clean Desc : WAN Miniport (IP)-QoS Packet Scheduler-0000, Raw Desc: WAN Miniport (IP)-QoS Packet Scheduler-0000
 OID : 1.3.6.1.2.1.2.2.1.2.3, Clean Desc : WAN Miniport (L2TP), Raw Desc: WAN Miniport (L2TP)
 OID : 1.3.6.1.2.1.2.2.1.2.2, Clean Desc : WAN Miniport (SSTP), Raw Desc: WAN Miniport (SSTP)
 OID : 1.3.6.1.2.1.2.2.1.2.7, Clean Desc : WAN Miniport (Network Monitor), Raw Desc: WAN Miniport (Network Monitor)
 OID : 1.3.6.1.2.1.2.2.1.2.9, Clean Desc : RAS Async Adapter, Raw Desc: RAS Async Adapter
 OID : 1.3.6.1.2.1.2.2.1.2.13, Clean Desc : Teredo Tunneling Pseudo-Interface, Raw Desc: Teredo Tunneling Pseudo-Interface
 OID : 1.3.6.1.2.1.2.2.1.2.6, Clean Desc : WAN Miniport (IPv6), Raw Desc: WAN Miniport (IPv6)
 OID : 1.3.6.1.2.1.2.2.1.2.4, Clean Desc : WAN Miniport (PPTP), Raw Desc: WAN Miniport (PPTP)
 OID : 1.3.6.1.2.1.2.2.1.2.10, Clean Desc : WAN Miniport (IKEv2), Raw Desc: WAN Miniport (IKEv2)
 OID : 1.3.6.1.2.1.2.2.1.2.15, Clean Desc : 0x4e65747a7765726b6b6172746520668172204d6963726f736f6674205669727475616c204d616368696e652d4275732d574650204c696768745765696768742046696c7465722d3030303000, Raw Desc: 0x4e65747a7765726b6b6172746520668172204d6963726f736f6674205669727475616c204d616368696e652d4275732d574650204c696768745765696768742046696c7465722d3030303000
 OID : 1.3.6.1.2.1.2.2.1.2.8, Clean Desc : WAN Miniport (IP), Raw Desc: WAN Miniport (IP)
 OID : 1.3.6.1.2.1.2.2.1.2.5, Clean Desc : WAN Miniport (PPPOE), Raw Desc: WAN Miniport (PPPOE)
 OID : 1.3.6.1.2.1.2.2.1.2.11, Clean Desc : 0x4e65747a7765726b6b6172746520668172204d6963726f736f6674205669727475616c204d616368696e652d42757300, Raw Desc: 0x4e65747a7765726b6b6172746520668172204d6963726f736f6674205669727475616c204d616368696e652d42757300
Name : Software Loopback Interface 1, Index : 1
Name : 0x4e65747a7765726b6b6172746520668172204d6963726f736f6674205669727475616c204d616368696e652d4275732d516f53205061636b6574205363686564756c65722d3030303000, Index : 14
Name : WAN Miniport (Network Monitor)-QoS Packet Scheduler-0000, Index : 16
Name : WAN Miniport (IPv6)-QoS Packet Scheduler-0000, Index : 18
Name : Microsoft-ISATAP-Adapter, Index : 12
Name : WAN Miniport (IP)-QoS Packet Scheduler-0000, Index : 17
Name : WAN Miniport (L2TP), Index : 3
Name : WAN Miniport (SSTP), Index : 2
Name : WAN Miniport (Network Monitor), Index : 7
Name : RAS Async Adapter, Index : 9
Name : Teredo Tunneling Pseudo-Interface, Index : 13
Name : WAN Miniport (IPv6), Index : 6
Name : WAN Miniport (PPTP), Index : 4
Name : WAN Miniport (IKEv2), Index : 10
Name : 0x4e65747a7765726b6b6172746520668172204d6963726f736f6674205669727475616c204d616368696e652d4275732d574650204c696768745765696768742046696c7465722d3030303000, Index : 15
Name : WAN Miniport (IP), Index : 8
Name : WAN Miniport (PPPOE), Index : 5
Name : 0x4e65747a7765726b6b6172746520668172204d6963726f736f6674205669727475616c204d616368696e652d42757300, Index : 11
Doing snmp request on status table OIDs: 1.3.6.1.2.1.2.2.1.8.1 1.3.6.1.2.1.2.2.1.8.14 1.3.6.1.2.1.2.2.1.8.16 1.3.6.1.2.1.2.2.1.8.18 1.3.6.1.2.1.2.2.1.8.12 1.3.6.1.2.1.2.2.1.8.17 1.3.6.1.2.1.2.2.1.8.3 1.3.6.1.2.1.2.2.1.8.2 1.3.6.1.2.1.2.2.1.8.7 1.3.6.1.2.1.2.2.1.8.9 1.3.6.1.2.1.2.2.1.8.13 1.3.6.1.2.1.2.2.1.8.6 1.3.6.1.2.1.2.2.1.8.4 1.3.6.1.2.1.2.2.1.8.10 1.3.6.1.2.1.2.2.1.8.15 1.3.6.1.2.1.2.2.1.8.8 1.3.6.1.2.1.2.2.1.8.5 1.3.6.1.2.1.2.2.1.8.11
Finished SNMP request. Result contains 18 entries:
 1.3.6.1.2.1.2.2.1.8.5 = 1
 1.3.6.1.2.1.2.2.1.8.11 = 1
 1.3.6.1.2.1.2.2.1.8.17 = 1
 1.3.6.1.2.1.2.2.1.8.7 = 1
 1.3.6.1.2.1.2.2.1.8.15 = 1
 1.3.6.1.2.1.2.2.1.8.10 = 2
 1.3.6.1.2.1.2.2.1.8.6 = 1
 1.3.6.1.2.1.2.2.1.8.4 = 1
 1.3.6.1.2.1.2.2.1.8.16 = 1
 1.3.6.1.2.1.2.2.1.8.12 = 2
 1.3.6.1.2.1.2.2.1.8.9 = 1
 1.3.6.1.2.1.2.2.1.8.14 = 1
 1.3.6.1.2.1.2.2.1.8.18 = 1
 1.3.6.1.2.1.2.2.1.8.1 = 1
 1.3.6.1.2.1.2.2.1.8.13 = 2
 1.3.6.1.2.1.2.2.1.8.3 = 1
 1.3.6.1.2.1.2.2.1.8.2 = 1
 1.3.6.1.2.1.2.2.1.8.8 = 1
Software Loopback Interface 1:UP, 0x4e65747a7765726b6b6172746520668172204d6963726f736f6674205669727475616c204d616368696e652d4275732d516f53205061636b6574205363686564756c65722d3030303000:UP, WAN Miniport (Network Monitor)-QoS Packet Scheduler-0000:UP, WAN Miniport (IPv6)-QoS Packet Scheduler-0000:UP, Microsoft-ISATAP-Adapter:DOWN, WAN Miniport (IP)-QoS Packet Scheduler-0000:UP, WAN Miniport (L2TP):UP, WAN Miniport (SSTP):UP, WAN Miniport (Network Monitor):UP, RAS Async Adapter:UP, Teredo Tunneling Pseudo-Interface:DOWN, WAN Miniport (IPv6):UP, WAN Miniport (PPTP):UP, WAN Miniport (IKEv2):DOWN, 0x4e65747a7765726b6b6172746520668172204d6963726f736f6674205669727475616c204d616368696e652d4275732d574650204c696768745765696768742046696c7465722d3030303000:UP, WAN Miniport (IP):UP, WAN Miniport (PPPOE):UP, 0x4e65747a7765726b6b6172746520668172204d6963726f736f6674205669727475616c204d616368696e652d42757300:UP: 3 int NOK : CRITICAL

I'm using the latest revision from your master.

@oliversalzburg
Copy link
Author

Supplying --perfparse apparently causes oid_perf_inoct to be initialized btw

@R0n1n-77
Copy link

I'm having the same issue. Is the anything new about it?
Thanks in advance.

@Slydder
Copy link

Slydder commented Feb 12, 2015

Any info on the bug and/or a fix for it?

@ghost
Copy link

ghost commented Oct 30, 2015

The same issue when running on CentOS Linux release 7.1.1503 (Core).

Use of uninitialized value within @oid_perf_inoct in hash element at ./check_netint.pl line 2023.
Use of uninitialized value within @oid_perf_inoct in hash element at ./check_netint.pl line 2023.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants