[mrtg] Monitoring With MRTG + Linux

Jimmy Stewpot xtc at elsker.com
Mon Jun 5 04:05:32 MEST 2000


Hello,
is it possible with MRTG to monitor a command that is has an output in numerical characters, eg
counting the number of lines that a specific item occurs?
eg cat logfilename.log | grep -c error
would give say
10, then 25 then 8
and monitor it every hour as the logs purged/rotated hourly.
Does anyone have any ideas if that is possible and what the command / config file would look like
thankyou
Jimmy Stewpot


--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org



More information about the mrtg mailing list