i have a telegraph agent for pulling API and SNMP data from my network device.
lately, I’ve started monitoring my DHCP clusters.
one of the OIDs is cluster status, but this query gets a string as a value ( “Normal / Normal”).
using telegraf --test --config, returns only the int values.
so I assume telegraf doesn’t accept “string values” but on the other hand, it does accept the sysname and sysdes values that are string as well.
any idea what is wrong here?
how could I solve this? maybe translating it to integer?
for example Normal == 1 , not sync == 2 , down == 3.