after reading about MRTG is kasia's blog, I had to start figuring out how to use it more and more..

I've been messing with it..--------------

https://people.ee.ethz.ch/~oetiker/webtools/mrtg/reference.html had all the extra information i needed...

External Monitoring Scripts

If you want to monitor something which does not provide data via snmp you can use some external program to do the data gathering.

The external command must return 4 lines of output:

Line 1: **current state of the first variable, normally 'incoming bytes count' **

Line 2: **current state of the second variable, normally 'outgoing bytes count' **

Line 3: **string (in any human readable format), telling the uptime of the target. **

Line 4: **string, telling the name of the target. **

Target[ezwf]: /usr/local/bin/df2mrtg /dev/dsk/c0t2d0s0

Note the use of the backticks (`), not apostrophes (') around the command.




Trying to post more things :)


Time Travel & Crushes
Gavin December 1989

Gavin Mogan

Hi. I'm Gavin. I'm a coder at Sauce Labs. At home I code, game, hang out, all the cool non robot things to do. #notarobot

Friends Sites