[mrtg] Re: POP3 Monitoring

Jeff Liebermann jeffl at comix.santa-cruz.ca.us
Fri Oct 26 02:46:51 MEST 2001

On Thu, Oct 25, 2001 at 08:53:20AM -0400, Andre Fortin wrote:
> I've been searching the mailing list archives and resource
> sites, but I cant seem to find anything (other than a working site with
> no examples) for monitoring concurrent and total POP3 connections
> (Qpopper).  Anyone have any leads I could follow?
Using qpopper usually implies Unix.  I'll guess that 
you're running some Linux mutation.  Therefore
a 2 line shell script should work.

------------------------- cut here ----------------
# popper.sh   Number of active popper processes for mrtg.
# by Jeff Liebermann  11/05/00
X=`ps -e | grep popper | wc -l`  # count number of popper processes.
echo "$X/n$X/n0/n0"              # Belch count (on 4 lines)
------------------------- cut here ----------------

# Popper counter part of mrtg.cfg
Target[popper.1]: `popper.sh`
Title[popper.1]: Number of popper processes
PageTop[popper.1]: <H1>Number of popper processes</H1>
Options[popper.1]: growright, gauge, nopercent
Unscaled[popper.1]: dwmy
(do something about the legends...)

# Jeff Liebermann  Liebermann Design  150 Felker St #D  Santa Cruz  CA  95060
# 831.336.2558 voice   831.426.1240 fax   831.421.6491 digital_pager
# jeffl at comix.santa-cruz.ca.us  http://www.cruzio.com/~jeffl

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