You can check this page http://mrtg.meulie.net/doc/mrtg-reference.en.html it
helped me set it up for my own use.
Check the part
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.
_________________________________________________________________
Hotmail has tools for the New Busy. Search, chat and e-mail from your inbox.
http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_1_______________________________________________
mrtg mailing list
[email protected]
https://lists.oetiker.ch/cgi-bin/listinfo/mrtg