check_snmp string output regex to integer ?
Posted: Mon Feb 27, 2017 5:14 pm
I am trying to monitor an LTE modem signal strength
through snmp I can retrieve the signal
however as you see its a string and not really useful for graphing etc..
is there an easy way with check_snmp to strip out the crap using regex? or should I write my own plugin?
through snmp I can retrieve the signal
Code: Select all
SNMPv2-SMI::enterprises.39699.1.1.5.6.0 = STRING: "(19,-75dBm)"is there an easy way with check_snmp to strip out the crap using regex? or should I write my own plugin?