[mrtg] Re: Sendmail Monitoring

Yannis Nikolopoulos yanodd at otenet.gr
Thu Jul 25 17:54:13 MEST 2002

the simplest way is to write a small shell (or perl) script that runs
as a cron job every 5 minutes and does a pgrep sendmail | wc -l
and stores that into a text file.

the mrtg conf file is trivial also. Make sure you have a target
definition like :
Target[host]: `cat text_file`
and you probably need the gauge and nopercent options.

hope it helps

On Thu, Jul 25, 2002 at 08:24:31PM +0530, shrinivas Patankar wrote:
> Hi,
> Thanks for every one who has helped me in monitoring the win2k servers.
> Now i need to monitor the sendmail mail Traffic. How do i do this?
> I am using sendmail 8.12 on redhat linux 7.3.
> Regards,
> shrinivas
Yannis Nikolopoulos             OTEnet S.A. Internet Service Provider
yanodd at otenet.gr                Tel: +30 10 3826199 

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