Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
18.1 Legacy Series
»
Retrieve stats remotely (SNMP?)
« previous
next »
Print
Pages: [
1
]
Author
Topic: Retrieve stats remotely (SNMP?) (Read 6044 times)
00DF00
Newbie
Posts: 7
Karma: 1
Retrieve stats remotely (SNMP?)
«
on:
February 23, 2018, 09:00:54 pm »
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 !
Logged
btd
Newbie
Posts: 8
Karma: 0
Re: Retrieve stats remotely (SNMP?)
«
Reply #1 on:
February 23, 2018, 09:41:22 pm »
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.
Logged
btd
Newbie
Posts: 8
Karma: 0
Re: Retrieve stats remotely (SNMP?)
«
Reply #2 on:
February 23, 2018, 11:34:40 pm »
HA, found it!
in /usr/local/etc/telegraf.conf there is:
Code:
[Select]
[[inputs.disk]]
[[inputs.diskio]]
[[inputs.mem]]
[[inputs.processes]]
[[inputs.system]]
[[inputs.net]]
while this part should be:
Code:
[Select]
[[inputs.disk]]
[[inputs.diskio]]
[[inputs.mem]]
[[inputs.processes]]
[[inputs.system]]
[[inputs.net]]
Logged
00DF00
Newbie
Posts: 7
Karma: 1
Re: Retrieve stats remotely (SNMP?)
«
Reply #3 on:
February 23, 2018, 11:48:41 pm »
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?
Logged
btd
Newbie
Posts: 8
Karma: 0
Re: Retrieve stats remotely (SNMP?)
«
Reply #4 on:
February 24, 2018, 09:26:45 am »
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
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
18.1 Legacy Series
»
Retrieve stats remotely (SNMP?)