# sonic-snmpagent **Repository Path**: build-sde/sonic-snmpagent ## Basic Information - **Project Name**: sonic-snmpagent - **Description**: mirror https://github.com/Azure/sonic-snmpagent - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-03-15 - **Last Updated**: 2024-08-04 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ## SNMP Subagent [AgentX](https://www.ietf.org/rfc/rfc2741.txt) implementation for SONiC Switch State Service. See the [SONiC website](http://azure.github.io/SONiC/) for more information on the SONiC project. MIB implementations included: * [RFC 1213](https://www.ietf.org/rfc/rfc1213.txt) MIB-II * [RFC 2737](https://www.ietf.org/rfc/rfc2737.txt) Physical Table MIB * [RFC 2863](https://www.ietf.org/rfc/rfc2863.txt) Interfaces MIB * [RFC 3433](https://www.ietf.org/rfc/rfc3433.txt) Sensor Table MIB * [RFC 4292](https://tools.ietf.org/html/rfc4292) ipCidrRouteDest table in IP Forwarding Table MIB * [RFC 4363](https://tools.ietf.org/html/rfc4363) dot1qTpFdbPort in Q-BRIDGE-MIB * [IEEE 802.1 AB](http://www.ieee802.org/1/files/public/MIBs/LLDP-MIB-200505060000Z.txt) 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.