SNMP Subagent
AgentX implementation for SONiC Switch State Service. See the SONiC website for more information on the SONiC project.
MIB implementations included:
- RFC 1213 MIB-II
- RFC 2737 Physical Table MIB
- RFC 2863 Interfaces MIB
- RFC 3433 Sensor Table MIB
- RFC 4292 ipCidrRouteDest table in IP Forwarding Table MIB
- RFC 4363 dot1qTpFdbPort in Q-BRIDGE-MIB
- IEEE 802.1 AB LLDP-MIB
To install:
$ python3.5 setup.py install
To run the daemon:
$ python3.5 -m sonic_ax_impl [-d 10]
To switch log level of already running snmp-subagent process
1.) Find PID of the process.
root 42 1 12 06:37 ? 01:23:46 python3.6 -m sonic_ax_impl
2.) Send SIGUSR1 signal to Process
root@lnos-x1-a-csw04:/# kill -SIGUSR1 42
Sending SIGUSR1 signal to process again will reset the log level.