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

your MIB may out of dated! #33

Open
F2N opened this issue Feb 2, 2017 · 15 comments
Open

your MIB may out of dated! #33

F2N opened this issue Feb 2, 2017 · 15 comments

Comments

@F2N
Copy link

F2N commented Feb 2, 2017

Hello,

Thank you for your wonderful plugin, with the latest version I keep getting this error :

your MIB may out of dated!

I downloaded the lastest MIBs from Dell, I'm running a Dell R730 but I get the same error no matter what I try :

./idrac_2.2rc4 -H 192.168.1.24 -v2c -c public -m /root/tools/check_idrac-master/mymibs/mibs/iDRAC-SMIv2.mib

Here are my specs :

FreeBSD nagios 11.0-RELEASE-p2 FreeBSD 11.0-RELEASE-p2 #0: Mon Oct 24 06:55:27 UTC 2016 [email protected]:/usr/obj/usr/src/sys/GENERIC amd64

root@nagios:~/tools/check_idrac-master # python --version
Python 2.7.13

Can you please help me out with this.

@dangmocrang
Copy link
Owner

dangmocrang commented Feb 3, 2017 via email

@F2N
Copy link
Author

F2N commented Feb 3, 2017

Hello,

Sorry for the delay here is my iDrac version :

iDrac 8 (but I've tried it on version 7 with not much success)

And here is my MIBs version downloaded from Dell official website :

Dell-OM-MIBS-840_A00.zip

@dangmocrang
Copy link
Owner

dangmocrang commented Feb 3, 2017 via email

@F2N
Copy link
Author

F2N commented Feb 3, 2017

I did, I already tried the default MIB, that when I had the message.

@dangmocrang
Copy link
Owner

dangmocrang commented Feb 3, 2017 via email

@NeverUsedID
Copy link

NeverUsedID commented Mar 23, 2017

HI, had the same problem. Fixed it by using the mibs from here: iDrac Mibs. Looks like they are a lot newer.

its the DCMIB72.zip - Maybe there are even newer version (dcmibVERSION.zip)

@F2N
Copy link
Author

F2N commented Mar 24, 2017

@NeverUsedID Ok, I'll try this out and make you updated, thank you.

@jeroenvermeulen
Copy link

jeroenvermeulen commented May 30, 2017

Newest version I could find: http://www.dell.com/support/home/us/en/19/Drivers/DriversDetails?driverId=YKG8D
Dell-OM-MIBS-850_A00.zip worked for our iDRAC 8 on R430.
We unzipped it and moved the MIB files to /usr/share/mibs/site/.
Now we can do:

./idrac_2.2rc4 -v 2c -c secret -H 10.10.10.11 -m /usr/share/mibs/site/iDRAC-SMIv1.mib

Probably indeed the MIB file included with this repo should be updated.

@andrewkew-aft
Copy link

Hi, I am having the same issue here, but maybe I am running this incorrectly.

I have taken the latest plugin python script from your github repo, downloaded the latest MIB from the Dell website as said above and am running the script on my Nagios server this is my result

 ~]$ /usr/local/nagios/libexec/idrac_2.2rc4 -v2c -c secret -H 89.30.*.* -m iDRAC-SMIv1.mib
your MIB may out of dated!
error - No log handling enabled - turning on stderr logging. Cannot find module (iDRAC-SMIv1.mib): At line 1 in (none). powerSupplyTable: Unknown Object Identifier (Sub-id not found: (top) -> powerSupplyTable)

I am running
iDrac 8
Dell PowerEdge R630
Nagios XI 5.4.0

Any ideas what the issue could be? I can defo reach that host from my Nagios server

~]$ ping 89.30..
PING 89.30.. (89.30..) 56(84) bytes of data.
64 bytes from 89.30..: icmp_seq=1 ttl=46 time=12.2 ms
64 bytes from 89.30..: icmp_seq=2 ttl=46 time=12.4 ms

@NeverUsedID
Copy link

Specify the path to the mib if its not working without:
/usr/local/nagios/libexec/idrac_2.2rc4 -v2c -c secret -H 89.30.*.* -m /path/to/iDRAC-SMIv1.mib

@ghost
Copy link

ghost commented Apr 27, 2018

Im having the same issue.

/tmp/check_idrac/idrac_2.2rc4 -v 2c -c public -H 10.x.x.x -m /usr/share/snmp/mibs/iDRAC-SMIv1.mib your MIB may out of dated! error - MIB search path: /home/jupi/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf:/usr/share/mibs/site:/usr/share/snmp/mibs:/usr/share/mibs/iana:/usr/share/mibs/ietf:/usr/share/mibs/netsnmp. Cannot find module (SNMPv2-SMI): At line 39 in /usr/share/snmp/mibs/iDRAC-SMIv1.mib. Textual convention doesn't map to real type (DisplayString): At line 104 in /usr/share/snmp/mibs/iDRAC-SMIv1.mib. : (is a reserved word): At line 104 in /usr/share/snmp/mibs/iDRAC-SMIv1.mib. SIZE (is a reserved word): At line 104 in /usr/share/snmp/mibs/iDRAC-SMIv1.mib. 0 (is a reserved word): At line 104 in /usr/share/snmp/mibs/iDRAC-SMIv1.mib. 1023 (is a reserved word): At line 104 in /usr/share/snmp/mibs/iDRAC-SMIv1.mib. ) (is a reserved word): At line 105 in /usr/share/snmp/mibs/iDRAC-SMIv1.mib. : (is a reserved word): At line 105 in /usr/share/snmp/mibs/iDRAC-SMIv1.mib. ( (is a reserved word): At line 105 in /usr/share/snmp/mibs/iDRAC-SMIv1.mib. ( (is a reserved word): At line 105 in /usr/share/snmp/mibs/iDRAC-SMIv1.mib. . (is a reserved word): At line 105 in /usr/share/snmp/mibs/iDRAC-SMIv1.mib. ) (is a reserved word): At line 105 in /usr/share/snmp/mibs/iDRAC-SMIv1.mib. Textual convention doesn't map to real type (DisplayString): At line 106 in /usr/share/snmp/mibs/iDRAC-SMIv1.mib. : (is a reserved word): At line 106 in /usr/share/snmp/mibs/iDRAC-SMIv1.mib. SIZE (is a reserved word): At line 106 in /usr/share/snmp/mibs/iDRAC-SMIv1.mib. 0 (is a reserved word): At line 106 in /usr/share/snmp/mibs/iDRAC-SMIv1.mib. 512 (is a reserved word): At line 106 in /usr/share/snmp/mibs/iDRAC-SMIv1.mib. ) (is a reserved word): At line 107 in /usr/share/snmp/mibs/iDRAC-SMIv1.mib. : (is a reserved word): At line 107 in /usr/share/snmp/mibs/iDRAC-SMIv1.mib. ( (is a reserved word): At line 107 in /usr/share/snmp/mibs/iDRAC-SMIv1.mib. ( (is a reserved word): At line 107 in /usr/share/snmp/mibs/iDRAC-SMIv1.mib. ) (is a reserved word): At line 107 in /usr/share/snmp/mibs/iDRAC-SMIv1.mib. Textual convention doesn't map to real type (DisplayString): At line 129 in /usr/share/snmp/mibs/iDRAC-SMIv1.mib. : (is a reserved word): At line 129 in /usr/share/snmp/mibs/iDRAC-SMIv1.mib. SIZE (is a reserved word): At line 129 in /usr/share/snmp/mibs/iDRAC-SMIv1.mib. 25 (is a reserved word): At line 129 in /usr/share/snmp/mibs/iDRAC-SMIv1.mib. ) (is a reserved word): At line 143 in /usr/share/snmp/mibs/iDRAC-SMIv1.mib. : (is a reserved word): At line 143 in /usr/share/snmp/mibs/iDRAC-SMIv1.mib. { (is a reserved word): At line 145 in /usr/share/snmp/mibs/iDRAC-SMIv1.mib. ( (is a reserved word): At line 145 in /usr/share/snmp/mibs/iDRAC-SMIv1.mib. ) (is a reserved word): At line 145 in /usr/share/snmp/mibs/iDRAC-SMIv1.mib. Bad operator ((): At line 147 in /usr/share/snmp/mibs/iDRAC-SMIv1.mib. powerSupplyTable: Unknown Object Identifier (Sub-id not found: (top) -> powerSupplyTable)

with the newer Version i get this

https://pastebin.com/ukffdTfm

PowerEdge R730 + Version 8 & Debian stretch
How to fix that?

@ozid
Copy link

ozid commented Sep 27, 2018

Im having the same issue.

/tmp/check_idrac/idrac_2.2rc4 -v 2c -c public -H 10.x.x.x -m /usr/share/snmp/mibs/iDRAC-SMIv1.mib your MIB may out of dated! error - MIB search path: /home/jupi/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf:/usr/share/mibs/site:/usr/share/snmp/mibs:/usr/share/mibs/iana:/usr/share/mibs/ietf:/usr/share/mibs/netsnmp. Cannot find module (SNMPv2-SMI): At line 39 in /usr/share/snmp/mibs/iDRAC-SMIv1.mib. Textual convention doesn't map to real type (DisplayString): At line 104 in /usr/share/snmp/mibs/iDRAC-SMIv1.mib. : (is a reserved word): At line 104 in /usr/share/snmp/mibs/iDRAC-SMIv1.mib. SIZE (is a reserved word): At line 104 in /usr/share/snmp/mibs/iDRAC-SMIv1.mib. 0 (is a reserved word): At line 104 in /usr/share/snmp/mibs/iDRAC-SMIv1.mib. 1023 (is a reserved word): At line 104 in /usr/share/snmp/mibs/iDRAC-SMIv1.mib. ) (is a reserved word): At line 105 in /usr/share/snmp/mibs/iDRAC-SMIv1.mib. : (is a reserved word): At line 105 in /usr/share/snmp/mibs/iDRAC-SMIv1.mib. ( (is a reserved word): At line 105 in /usr/share/snmp/mibs/iDRAC-SMIv1.mib. ( (is a reserved word): At line 105 in /usr/share/snmp/mibs/iDRAC-SMIv1.mib. . (is a reserved word): At line 105 in /usr/share/snmp/mibs/iDRAC-SMIv1.mib. ) (is a reserved word): At line 105 in /usr/share/snmp/mibs/iDRAC-SMIv1.mib. Textual convention doesn't map to real type (DisplayString): At line 106 in /usr/share/snmp/mibs/iDRAC-SMIv1.mib. : (is a reserved word): At line 106 in /usr/share/snmp/mibs/iDRAC-SMIv1.mib. SIZE (is a reserved word): At line 106 in /usr/share/snmp/mibs/iDRAC-SMIv1.mib. 0 (is a reserved word): At line 106 in /usr/share/snmp/mibs/iDRAC-SMIv1.mib. 512 (is a reserved word): At line 106 in /usr/share/snmp/mibs/iDRAC-SMIv1.mib. ) (is a reserved word): At line 107 in /usr/share/snmp/mibs/iDRAC-SMIv1.mib. : (is a reserved word): At line 107 in /usr/share/snmp/mibs/iDRAC-SMIv1.mib. ( (is a reserved word): At line 107 in /usr/share/snmp/mibs/iDRAC-SMIv1.mib. ( (is a reserved word): At line 107 in /usr/share/snmp/mibs/iDRAC-SMIv1.mib. ) (is a reserved word): At line 107 in /usr/share/snmp/mibs/iDRAC-SMIv1.mib. Textual convention doesn't map to real type (DisplayString): At line 129 in /usr/share/snmp/mibs/iDRAC-SMIv1.mib. : (is a reserved word): At line 129 in /usr/share/snmp/mibs/iDRAC-SMIv1.mib. SIZE (is a reserved word): At line 129 in /usr/share/snmp/mibs/iDRAC-SMIv1.mib. 25 (is a reserved word): At line 129 in /usr/share/snmp/mibs/iDRAC-SMIv1.mib. ) (is a reserved word): At line 143 in /usr/share/snmp/mibs/iDRAC-SMIv1.mib. : (is a reserved word): At line 143 in /usr/share/snmp/mibs/iDRAC-SMIv1.mib. { (is a reserved word): At line 145 in /usr/share/snmp/mibs/iDRAC-SMIv1.mib. ( (is a reserved word): At line 145 in /usr/share/snmp/mibs/iDRAC-SMIv1.mib. ) (is a reserved word): At line 145 in /usr/share/snmp/mibs/iDRAC-SMIv1.mib. Bad operator ((): At line 147 in /usr/share/snmp/mibs/iDRAC-SMIv1.mib. powerSupplyTable: Unknown Object Identifier (Sub-id not found: (top) -> powerSupplyTable)

with the newer Version i get this

https://pastebin.com/ukffdTfm

PowerEdge R730 + Version 8 & Debian stretch
How to fix that?

Hello,
exact same problem for me on iDRAC 9, someone get a solution?

@ozid
Copy link

ozid commented Sep 27, 2018

Problem solved by installing: "snmp-mibs-downloader"

@jeroenvermeulen
Copy link

Thanks @ozid! Installing snmp-mibs-downloader indeed solved this problem for me, in combination with my answer: #33 (comment)

@log1-c
Copy link

log1-c commented Dec 18, 2019

I think it should be mentioned somewhere in the manual that the snmp-mibs-downloader is needed in order to run the script correctly. I'm quite sure it is not the package itself that is needed, but the other MIBs that are installed when installting the snmp-mibs-downloader package.

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

7 participants