[mrtg] Re: OID for ftp sessions

Leif Neland leifn at neland.dk
Sun Jul 30 01:32:54 MEST 2000




On Fri, 28 Jul 2000, Dan Spray wrote:

> 
> Hello all,
> 
> I found this site that had current ftp sessions:
> 
> http://csociety.ecn.purdue.edu/stats/csociety-ftp.users/csociety-ftp.users.h
> tml
> 
> I noticed that they were running WU-FTP on linux.  I was curious if anyone
> knew the OID for this?
> 
Not everything is OID's
It could be a shellscript:

ps ax|grep -c ftpd

This returns the number of ftpd's running.
Wrap this in the proper script, either if mrtg is on the same server, or
attach it to a port and query it by telnet.
Look in the contributed examples.


Leif


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