[mrtg] the simplest monitoring

Roman outbound at centrum.cz
Tue Mar 5 11:53:30 MET 2002


Hello,

I am new to the mrtg and would like to know the most simplest pack of lines
written to mrtg.cnf when I want to monitor for example number of mysql
processes using this easy script:

----------------- mysql-pcs.sh -----------------
#!/bin/sh
echo `ps -A | grep mysql | wc -l`
-------------- end of mysql-pcs.sh -------------

I have found hints how to track two variables but how to track one as I
request ?

Sincerely,

Roman



--
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
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the mrtg mailing list