Adding 3rd Party MIB to NET-SNMP

"Saha, Madhuparna via Net-snmp-users" <[email protected]> Fri, 28 May 2021 19:06:07 +0000
Newsgroups gmane.network.net-snmp.user
Message-ID <PAXP193MB140599CF1EAAA0A9AB31A55FDC229@PAXP193MB1405.EURP193.PROD.OUTLOOK.COM>
Hello,

I am trying to add a 3rd party MIB file to my SNMP agent.

These are the below steps taken:

1) I have copied the file ZSCALER-PROCESSHEALTH-MIB.txt under path /usr/share/snmp/mibs/
2) I ran the command:
sudo snmptranslate -m +ZSCALER-PROCESSHEALTH-MIB -IR -On processhealthInstance
.1.3.6.1.4.1.46262.5.2.1.4
processhealthInstance is an OBJECT-TYPE on the MIB file.
3) The have the below entry in /etc/snmp/snmp.conf file: mibs +ZSCALER-PROCESSHEALTH-MIB and restarted the snmpd service on CentOS 7.
4) Now to verify I have run the below command and i get this error:
sudo sudo snmpwalk -v2c -c arlsnmp localhost ZSCALER-PROCESSHEALTH-MIB
ZSCALER-PROCESSHEALTH-MIB: Unknown Object Identifier (Sub-id not found: (top) -> ZSCALER-PROCESSHEALTH-MIB)

On SNMP Tester I get below error:

----------------------- New Test -----------------------
27/05/2021 08:29:09 (5 ms) : SNMP v2c
27/05/2021 08:29:09 (7 ms) : Custom OID 1.3.6.1.4.1.46262.5.1.0
27/05/2021 08:29:09 (15 ms) : SNMP Datatype: SNMP_EXCEPTION_NOSUCHOBJECT
27/05/2021 08:29:09 (18 ms) : -------
27/05/2021 08:29:09 (20 ms) : Value: #N SNMP_EXCEPTION_NOSUCHOBJECT222
27/05/2021 08:29:09 (22 ms) : Done

----------------------- New Test -----------------------
27/05/2021 08:29:48 (5 ms) : SNMP v2c
27/05/2021 08:29:48 (7 ms) : Walk 1.3.6.1.4.1.46262.5.2


I have gone through various articles over the Internet but I did not find any solution to this issue.

Could you please point out , what am I doing wrong here?

Regards,
Madhuparna

_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users