Collecting / Polling other data from the network

In a blog post recently I suggested that it would be nice to have my hah collect not only data from my CurrentCost enviR (CC128) and WSN but also my LAN (read: Free/Total disk space on the fileserver, Data In/Out from my pfSense box etc). Hopefully with the intention of posting to pachube.

What do you think?

How would I best achieve this? (I imagine the devices I intend to poll support SNMP).

L

Member for

16 years 10 months

brett

14 years 11 months ago

Cacti or Nagios are both good monitoring frameworks - I use cacti for snmp monitoring data rates from my router and various VPN connections, it also monitors diskspace, load and other facets of my server.  Both have native support for snmp and a plugin architecture so you can build your own interfaces to things.  I found it was better to write an xAP plugin for these frameworks then to build a yet another capture/monitor framework just for xAP.

Brett

Member for

15 years

tickett

14 years 11 months ago

Ties in quite nicely with your response to my other question: /content/pushing-data-sql-mysql

Looks like cacti is a good shout then as it will take care of storing the data in mySQL which I can then query from another front-end. My only concern is that stuff will then be a bit all over the place:

WSN collecting data

HAH posting collected data to pachube

Cacti collecting data from HAH and other devices on the network and storing in mySQL

Unknown application querying mySQL db

Although at least I can see that each component has at least 1 important job. I may just need to think about the effects of one or more components failing. On that note- good work on the backup/restore functionality i see you've built into the latest hah firmware :)

Thanks

L

Member for

15 years

tickett

14 years 11 months ago

Damn- i've got cacti up and running but i'm getting the impression it's storing the configuration information in mySQL but not the actual data used for graphing :-/

Member for

16 years 10 months

brett

14 years 11 months ago

No I believe the data is stored in a Round-Robin-Database check our rrdtools.

Brett