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
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to