Re: Net-snmp 5.7.3 - Issue to communicate with subAgent and Master Agent

2020-02-05 Thread Larry Hayes
I am no expert, but I also run snmpd and a custom sub agent configuration. Your sub agent should be registering with the master what OIDs it will handle: One line for each MIB. REGISTER_SYSOR_TABLE(companyx_oid, companyx_oid_len, "Top level MIB for Company products"); REGISTER_SYSOR_TABLE(

Multiple snmpv2c community strings

2020-02-05 Thread Nagarjun G
Hi All, We have been using net-snmp agent in our embedded device. But we dont use snmpd.conf file. Right now when we configure snmp agent with v2c, we use the below API to set the community string. netsnmp_ds_set_string(NETSNMP_DS_LIBRARY_ID, NETSNMP_DS_LIB_COMMUNITY, "public"); Now we need to