[mrtg] Re: [Fwd: mrtg config file for SUN servers and Linux (Redhat)]

Jessie Bryan jbryan at geto.net
Tue Jun 27 22:58:15 MEST 2000


Just write your own scripts that pull the values you want.
use that script as the target in your config.

you might want to play around with mailstat if you're using sendmail. If
you use qmail, there is a log parser you can use to pull the incoming &
outgoing stats. for TCP connections, you _could_ try using the netstat
command (grep TCP).
for cpu load, you _could_ use

Target[home.cpu]: `/usr/bin/awk '/cpu /{print $2+$3; print $2+$3+$4; print "quite some time"; print "home"}'</proc/stat`


Again, just play around with making some basic shell scripts, and use them
as the target.


HTH,
Regards,

Jessie Bryan

GETO Internet Services
Systems Administrator
Email: jbryan at geto.net
Web: http://www.geto.net

On Tue, 27 Jun 2000, George Dimitriadis wrote:

> 
> 
> I still haven't received any config... Come on people nobody uses it
> for monitoring SUN/SOLARIS or linux systems ?
> 
> Any help would be appreciated ...
> 
> George Dimitriadis wrote:
> > 
> > Has Anyone a mrtg config for these systems in order to monitor
> > CPU load, memory, processor load, incoming TCP connections per
> > protocol, mail usage, etc... that he wants to share,
> > or is a config file available ....
> > 
> > --
> > 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