Hopefully, it is ported (thanks Joerg) so I just had to set it up. When I started reading about SNMP I developed a headache. Many things can be said about it, but Simple is not one of them Then I stumbled upon a solution which does not require SNMP. Here goes:
It's just a buch of scripts that pull data from various places, and format it accordingly:
Load average is pulled from uptime:
Disk usage from df:
and Swap from top:
Network traffic from netstat:
Last one, pulls a file with syslog line (pppd connect time) from router via ftp:
And finally the cron entry:
Code: Select all
0,5,10,15,20,25,30,35,40,45,50,55 * * * * /usr/nekoware/bin/mrtg --logging=/var/adm/mrtg.log /etc/mrtg/mrtg.conf > /dev/null 2>&1
Looks like this.
What do you think?
p.s. The reason I posted all the scripts, is that maybe someone would like to make a use of this.