Published on 2003/10/01 10:45:35
1 min read
I've been messing with it..--------------
http://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. **
Note the use of the backticks (`), not apostrophes (') around the command.