Page 1 of 1

check_pdu plugin

Posted: Tue Jan 14, 2020 3:19 pm
by OkieUnixDeem
I am having trouble with this plugin has ANYONE seen this:

check_pdu x.x.x.x -C password inputv 105 118
# ./check_pdu x.x.x.x -C password inputv 105 118
Unlinked OID in UPS-MIB: upsMIB ::= { mib-2 33 }
Undefined identifier: mib-2 near line 17 of /usr/share/snmp/mibs/UPS-MIB.mib
CRITICAL: () | #

Any help would be appreciated.

Re: check_pdu plugin

Posted: Wed Jan 15, 2020 12:37 pm
by benjaminsmith
Hello @OkieUnixDeem,

I see this is your first post, so welcome to the Nagios Support Forum! What the exact model of the power distribution unit you are using?

Also, please post the output to ls -al /usr/share/snmp/mibs and upload the /usr/share/snmp/mibs/UPS-MIB.mib to the thread.

Are you able to run a simple snmpwalk command from Nagios to the PDU?

Code: Select all

snmpwalk -v 2c -c public <ipaddress>
Thanks.

Re: check_pdu plugin

Posted: Wed Jan 22, 2020 5:23 pm
by OkieUnixDeem
Thanks, I initially resolved this issue when I went to another site and downloaded the the mibs again. This worked.

Now all I have to do is actually get this show up in Nagios correctly.

Thanks for offering help.

Re: check_pdu plugin

Posted: Wed Jan 22, 2020 5:28 pm
by benjaminsmith
Hi,

No problem. Did you have any other questions or may we close this ticket?