[mrtg] Re: Monitoring Linux Server

Corey Goldberg cgoldberg at earthlink.net
Mon Feb 14 20:08:25 MET 2005


>>>I have a perl script that I copied. It works for some of the items - 
>>>traffic and memory/swap usage - but not for others - CPU and disk IO. I
>>>would like to grab uptime as well.

>>How are the scripts connecting to the servers you are mointoring.
>>rstat? telnet? ssh?

>Here's one.
># this is the eth0 traffic graphing section from /proc/net/dev       #


gotcha.. 
that script will get data from the machine it's running on.  I write stuff that attaches to the machines I am monitoring remotely.  That way I can have a monitoring setup with a central server that probes remote machines for stats and returns them to MRTG for graphing.

--
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