You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi folks. This is a new work flow that I put together to monitor my Internet router cellular interface. I wanted to retrieve the current amount of inbound bytes so I can monitor my monthly cellular usage in Grafana. So I have several components used in this flow.
SNMP GET node. (Pulls the OID for inbound octets on router)
Influx query. (Pulls last record so I can get the billing cycle counter)
Influx write. (When everything is compiled writes data to db using JSON format)
Switch Nodes (Checking if current day is start of new billing cycle)
Use of flow variables
Last you may be able to completely skip the HEX->DEX function. There is some weird behaviour in the SNMP node. If I pulled a 32 bit counter it would return the value correctly in the payload. I needed though to pull the counter as a 64 bit value and when I pulled that the SNMP node returned the raw HEX data not a integer value. So this function is just to covert the raw hex data into a base-10 integer.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi folks. This is a new work flow that I put together to monitor my Internet router cellular interface. I wanted to retrieve the current amount of inbound bytes so I can monitor my monthly cellular usage in Grafana. So I have several components used in this flow.
Last you may be able to completely skip the HEX->DEX function. There is some weird behaviour in the SNMP node. If I pulled a 32 bit counter it would return the value correctly in the payload. I needed though to pull the counter as a 64 bit value and when I pulled that the SNMP node returned the raw HEX data not a integer value. So this function is just to covert the raw hex data into a base-10 integer.
Beta Was this translation helpful? Give feedback.
All reactions