Retrieve stats remotely (SNMP?)

Started by 00DF00, February 23, 2018, 09:00:54 PM

Previous topic - Next topic
Hi all, sorry for the noob questions, looking for a way to get the OPNsense router to report CPU Temp, System Temp, maybe HD Temp or other details to a server?

I will be setting up a Nagios box or something for other sensors in the office - but I was wondering how the community would would suggest I get these details out of the OPNsense router...

I also think I might have more than 1 of these routers to isolate some testing lab scenarios...

Thank you !

There is telegraf plugin which writes all those stats to influxdb/graphite/graylog.

And I have one problem with this plugin. I was using it on 18.1.1, worked fine. My router's drive crashed, reinstalled opnsense to new drive, updated to 18.1.2 and now telegraf don't output 'system' section of stats. When I check in influxdb 'show measurements' there is no system.

HA, found it!

in /usr/local/etc/telegraf.conf there is:

[[inputs.disk]]

[[inputs.diskio]]

[[inputs.mem]]

[[inputs.processes]]


[[inputs.system]]

[[inputs.net]]


while this part should be:

[[inputs.disk]]

[[inputs.diskio]]

[[inputs.mem]]

[[inputs.processes]]

[[inputs.system]]

[[inputs.net]]

I really appreciate your comment and follow up...

If I follow this correctly - this places the values into the local database? How could I get the values to another system on the network?

https://lkhill.com/telegraf-influx-grafana-network-stats/

telegraf writes stats to influxdb, grafana takes those stats and plot graphs. i have influxdb and grafana on separate small vm