Issue with SNMP Trap Interface
Issue with SNMP Trap Interface
Hi,
I am trying to monitor Oncommand Unified Manager traps using SNMP, but getting below errors while adding OCUM-MIB mib file from Nagios server
Unknown object identifier: ONCOMMAND-MANAGER-MIB::arlNetraCaCheckFailed
Expected "(" (um): At line 237 in /tmp/OCUM-MIB.txt
Should be ACCESS ((): At line 237 in /tmp/OCUM-MIB.txt
Bad parse of OBJECT-TYPE: At line 237 in /tmp/OCUM-MIB.txt
Unknown object identifier: ONCOMMAND-MANAGER-MIB::gbNetraCaCheckFailed
Expected "(" (um): At line 237 in /tmp/OCUM-MIB.txt
Should be ACCESS ((): At line 237 in /tmp/OCUM-MIB.txt
Bad parse of OBJECT-TYPE: At line 237 in /tmp/OCUM-MIB.txt
Unknown object identifier: ONCOMMAND-MANAGER-MIB::nvmfGracePeriodStart
Expected "(" (um): At line 237 in /tmp/OCUM-MIB.txt
Should be ACCESS ((): At line 237 in /tmp/OCUM-MIB.txt
Bad parse of OBJECT-TYPE: At line 237 in /tmp/OCUM-MIB.txt
Unknown object identifier: ONCOMMAND-MANAGER-MIB::nvmfGracePeriodActive
Expected "(" (um): At line 237 in /tmp/OCUM-MIB.txt
Should be ACCESS ((): At line 237 in /tmp/OCUM-MIB.txt
Bad parse of OBJECT-TYPE: At line 237 in /tmp/OCUM-MIB.txt
Unknown object identifier: ONCOMMAND-MANAGER-MIB::nvmfGracePeriodExpired
I am using Nagios XI 5.6.7. Kindly advice ?
I am trying to monitor Oncommand Unified Manager traps using SNMP, but getting below errors while adding OCUM-MIB mib file from Nagios server
Unknown object identifier: ONCOMMAND-MANAGER-MIB::arlNetraCaCheckFailed
Expected "(" (um): At line 237 in /tmp/OCUM-MIB.txt
Should be ACCESS ((): At line 237 in /tmp/OCUM-MIB.txt
Bad parse of OBJECT-TYPE: At line 237 in /tmp/OCUM-MIB.txt
Unknown object identifier: ONCOMMAND-MANAGER-MIB::gbNetraCaCheckFailed
Expected "(" (um): At line 237 in /tmp/OCUM-MIB.txt
Should be ACCESS ((): At line 237 in /tmp/OCUM-MIB.txt
Bad parse of OBJECT-TYPE: At line 237 in /tmp/OCUM-MIB.txt
Unknown object identifier: ONCOMMAND-MANAGER-MIB::nvmfGracePeriodStart
Expected "(" (um): At line 237 in /tmp/OCUM-MIB.txt
Should be ACCESS ((): At line 237 in /tmp/OCUM-MIB.txt
Bad parse of OBJECT-TYPE: At line 237 in /tmp/OCUM-MIB.txt
Unknown object identifier: ONCOMMAND-MANAGER-MIB::nvmfGracePeriodActive
Expected "(" (um): At line 237 in /tmp/OCUM-MIB.txt
Should be ACCESS ((): At line 237 in /tmp/OCUM-MIB.txt
Bad parse of OBJECT-TYPE: At line 237 in /tmp/OCUM-MIB.txt
Unknown object identifier: ONCOMMAND-MANAGER-MIB::nvmfGracePeriodExpired
I am using Nagios XI 5.6.7. Kindly advice ?
Re: Issue with SNMP Trap Interface
The error suggests that the MIB file is corrupted or formatted incorrectly, can you upload it here so we can view it?
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Issue with SNMP Trap Interface
Please find OCUM mib file.
You do not have the required permissions to view the files attached to this post.
Re: Issue with SNMP Trap Interface
Thanks for the MIB file.
The OCUM-MIB file requires another MIB file to be loaded on the server which holds the definitions for the objects in the OCUM-MIB and that is causing the errors.
The name of the MIB is called NETAPP-MIB so make sure that MIB is installed on the Nagios server before installing the OCUM-MIB file.
The OCUM-MIB file requires another MIB file to be loaded on the server which holds the definitions for the objects in the OCUM-MIB and that is causing the errors.
The name of the MIB is called NETAPP-MIB so make sure that MIB is installed on the Nagios server before installing the OCUM-MIB file.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Issue with SNMP Trap Interface
I have already installed NETAPP-MIB on Nagios server.
Please find attached NETAPP file which I used.
Please find attached NETAPP file which I used.
You do not have the required permissions to view the files attached to this post.
Re: Issue with SNMP Trap Interface
Could permissions of the NETAPP-MIB.txt file be at play in regard with it not being recognized by the OCUM_MIB.txt file?
Re: Issue with SNMP Trap Interface
I think the file is corrupt and has some sort of non-printable character in it that I cannot remove so see if you can go to NETAPP and download a different copy of the files to see if a different copy works.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Issue with SNMP Trap Interface
Scratch that, I just figured it out.
Open the file on the server and edit this line (Line 237) and change it from
to
Save the change and re-import the file to the Nagios server.
Open the file on the server and edit this line (Line 237) and change it from
Code: Select all
obsolete_um(4)Code: Select all
obsolete(4)Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Issue with SNMP Trap Interface
As suggested I have changed the Line 237 to obsolete(4), but still getting the same error.
Cannot find module (ONCOMMAND-MANAGER-MIB): At line 1 in .1.3.6.1.2.1
Unknown object identifier: ONCOMMAND-MANAGER-MIB::nbladeVscanNoScannerConn
Bad operator (▒): At line 1 in /tmp/OCUM-MIB
MIB search path: /root/.snmp/mibs:/usr/share/snmp/mibs
Cannot find module (ONCOMMAND-MANAGER-MIB): At line 1 in .1.3.6.1.2.1
Unknown object identifier: ONCOMMAND-MANAGER-MIB::nbladeVscanNoRegdScanner
Bad operator (▒): At line 1 in /tmp/OCUM-MIB
MIB search path: /root/.snmp/mibs:/usr/share/snmp/mibs
Cannot find module (ONCOMMAND-MANAGER-MIB): At line 1 in .1.3.6.1.2.1
Unknown object identifier: ONCOMMAND-MANAGER-MIB::nbladeVscanConnInactive
Bad operator (▒): At line 1 in /tmp/OCUM-MIB
MIB search path: /root/.snmp/mibs:/usr/share/snmp/mibs
Cannot find module (ONCOMMAND-MANAGER-MIB): At line 1 in .1.3.6.1.2.1
Unknown object identifier: ONCOMMAND-MANAGER-MIB::nbladeVscanConnBackPressure
Bad operator (▒): At line 1 in /tmp/OCUM-MIB
MIB search path: /root/.snmp/mibs:/usr/share/snmp/mibs
Cannot find module (ONCOMMAND-MANAGER-MIB): At line 1 in .1.3.6.1.2.1
Unknown object identifier: ONCOMMAND-MANAGER-MIB::nbladeVscanBadUserPrivAccess
Bad operator (▒): At line 1 in /tmp/OCUM-MIB
MIB search path: /root/.snmp/mibs:/usr/share/snmp/mibs
Cannot find module (ONCOMMAND-MANAGER-MIB): At line 1 in .1.3.6.1.2.1
Unknown object identifier: ONCOMMAND-MANAGER-MIB::nbladeNfsv4PoolEXhaust
Bad operator (▒): At line 1 in /tmp/OCUM-MIB
MIB search path: /root/.snmp/mibs:/usr/share/snmp/mibs
Cannot find module (ONCOMMAND-MANAGER-MIB): At line 1 in .1.3.6.1.2.1
Unknown object identifier: ONCOMMAND-MANAGER-MIB::cifsShadowCopyFailure
Bad operator (▒): At line 1 in /tmp/OCUM-MIB
MIB search path: /root/.snmp/mibs:/usr/share/snmp/mibs
Cannot find module (ONCOMMAND-MANAGER-MIB): At line 1 in .1.3.6.1.2.1
Unknown object identifier: ONCOMMAND-MANAGER-MIB::clusterFabricPoolNearlyFull
Bad operator (▒): At line 1 in /tmp/OCUM-MIB
Cannot find module (ONCOMMAND-MANAGER-MIB): At line 1 in .1.3.6.1.2.1
Unknown object identifier: ONCOMMAND-MANAGER-MIB::nbladeVscanNoScannerConn
Bad operator (▒): At line 1 in /tmp/OCUM-MIB
MIB search path: /root/.snmp/mibs:/usr/share/snmp/mibs
Cannot find module (ONCOMMAND-MANAGER-MIB): At line 1 in .1.3.6.1.2.1
Unknown object identifier: ONCOMMAND-MANAGER-MIB::nbladeVscanNoRegdScanner
Bad operator (▒): At line 1 in /tmp/OCUM-MIB
MIB search path: /root/.snmp/mibs:/usr/share/snmp/mibs
Cannot find module (ONCOMMAND-MANAGER-MIB): At line 1 in .1.3.6.1.2.1
Unknown object identifier: ONCOMMAND-MANAGER-MIB::nbladeVscanConnInactive
Bad operator (▒): At line 1 in /tmp/OCUM-MIB
MIB search path: /root/.snmp/mibs:/usr/share/snmp/mibs
Cannot find module (ONCOMMAND-MANAGER-MIB): At line 1 in .1.3.6.1.2.1
Unknown object identifier: ONCOMMAND-MANAGER-MIB::nbladeVscanConnBackPressure
Bad operator (▒): At line 1 in /tmp/OCUM-MIB
MIB search path: /root/.snmp/mibs:/usr/share/snmp/mibs
Cannot find module (ONCOMMAND-MANAGER-MIB): At line 1 in .1.3.6.1.2.1
Unknown object identifier: ONCOMMAND-MANAGER-MIB::nbladeVscanBadUserPrivAccess
Bad operator (▒): At line 1 in /tmp/OCUM-MIB
MIB search path: /root/.snmp/mibs:/usr/share/snmp/mibs
Cannot find module (ONCOMMAND-MANAGER-MIB): At line 1 in .1.3.6.1.2.1
Unknown object identifier: ONCOMMAND-MANAGER-MIB::nbladeNfsv4PoolEXhaust
Bad operator (▒): At line 1 in /tmp/OCUM-MIB
MIB search path: /root/.snmp/mibs:/usr/share/snmp/mibs
Cannot find module (ONCOMMAND-MANAGER-MIB): At line 1 in .1.3.6.1.2.1
Unknown object identifier: ONCOMMAND-MANAGER-MIB::cifsShadowCopyFailure
Bad operator (▒): At line 1 in /tmp/OCUM-MIB
MIB search path: /root/.snmp/mibs:/usr/share/snmp/mibs
Cannot find module (ONCOMMAND-MANAGER-MIB): At line 1 in .1.3.6.1.2.1
Unknown object identifier: ONCOMMAND-MANAGER-MIB::clusterFabricPoolNearlyFull
Bad operator (▒): At line 1 in /tmp/OCUM-MIB
Re: Issue with SNMP Trap Interface
Now your file has the non-printable characters.
You can try this to remove them.
Then use the OCUM_MIB-clean.txt file when you import it in to Nagios and delete the other file.
You can try this to remove them.
Code: Select all
tr -cd '\11\12\15\40-\176' < OCUM_MIB.txt > OCUM_MIB-clean.txtBe sure to check out our Knowledgebase for helpful articles and solutions!