Quote:
Originally Posted by Skie
Just out of interest, how are you collecting detailed power stats like that?
|
I modified a python script I found on GitHub and added a load more functionality to it, and then created a Zabbix template which polls the stats using the python script every 30 seconds. I've dumped the script and the zabbix template on GitHub here:
https://github.com/ben-wallis/SuperHub/tree/master Basically the script just scrapes the HTML tables available under "Router Status" on the SH when you aren't logged in and returns the data. For example, to query Downstream Channel 10's Power Level:
Code:
[ben@daedalus zabbix]$ python /usr/sbin/SuperHubStats.py -i 192.168.100.1 -c 10 -g ds -s "Power Level (dBmV)"
4.48
I'll warn you though, if you've never used Zabbix before it's not exactly the most user-friendly of applications, I'm only familiar with it because I set ours up at work. The template also isn't particularly "release ready" as it has hard-coded channels in - I was planning to implement Discovery so that it can auto-find the available downstream and upstream channels but never got round to it.
It'll be a pretty useful diagnosis tool if I do ever have trouble with my connection though