Skip to content

liushilongbuaa/sonic-snmpagent

 
 

Repository files navigation

Total alerts Language grade: Python

SNMP Subagent

AgentX implementation for SONiC Switch State Service. See the SONiC website for more information on the SONiC project.

MIB implementations included:

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.

About

A net-snmpd agentx subagent for SONiC

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%