SNMP support on WebRTC server
it's good to monitor the health of the server via SNMP and also monitor the status of all the services running.
-
once you activated snmpd it is possible to extend snmpd. To request WebRTC GW version using snmp I would do:
sudo sed -e '/\.1\.3\.6\.1\.2\.1\.25\.1/i\view systemonly included .1.3.6.1.4.1.8072' -i /etc/snmp/snmpd.conf
echo "extend gwversion /bin/grep Version /etc/issue" | sudo tee -a /etc/snmp/snmpd.conf
sudo service snmpd restartthe query would look something like this:
snmpwalk -v2c -c public 127.0.0.1 .1.3.6.1.4.1.8072.1.3.2.3.1.1.9.103.119.118.101.114.115.105.111.110
NET-SNMP-EXTEND-MIB::nsExtendOutput1Line."gwversion" = STRING: Version 1.77.16-514replace 127.0.0.1 by your gateways real IP address. Regards David.
Iniciar sesión para dejar un comentario.
Comentarios
3 comentarios