check_pdu plugin

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
OkieUnixDeem
Posts: 4
Joined: Mon Dec 30, 2019 2:37 pm

check_pdu plugin

Post 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.
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: check_pdu plugin

Post 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.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
OkieUnixDeem
Posts: 4
Joined: Mon Dec 30, 2019 2:37 pm

Re: check_pdu plugin

Post 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.
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: check_pdu plugin

Post by benjaminsmith »

Hi,

No problem. Did you have any other questions or may we close this ticket?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked