[mrtg] Re: portmasters

Daniel R . Kilbourne drk at voyager.net
Fri Jul 20 06:05:41 MEST 2001


why use a script? If all you want is modems  in use, you can directly query it with an OID.


Here is my config for a portmaster:


Title[portmaster]: Portmaster Modem Usage
Pagetop[portmaster]: Portmaster Modem Usage [30]     
Target[portmaster]: 1.3.6.1.2.1.2.1.0&1.3.6.1.2.1.2.1.0:string at portmaster.domain.com - 1
Maxbytes[portmaster]: 30
ShortLegend[portmaster]: Modems
YLegend[portmaster]: Total Modems
Legend1[portmaster]: Modems in Use
Legend2[portmaster]: Modems in Use
Options[portmaster]: absolute, gauge, integer
Unscaled[portmaster]: dwmy



Give it a whirl.....



Ken extolled:
> 
> I have set up and configured mrtg to monitor the router from a redhat7.1 box. 
>  I would like to use it to monitor the portmasters.  A friend and I are just 
> in the process of aquiring a buisness and we are trying to get a handle on 
> what is going on.  I modified the portmasters script in the portmasters 
> subdirectory of the contrib section.  Doesn't seem to like the perl I'm 
> using.  I have fixed all of the semi colon errors.  That is about as far as 
> my programming experience will get me.  
> 
> Any one have a script that is perhaps updated I could modify?
> 
> Ken
> 
> --
> 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
> 

-- 
--------------------------------
Daniel R. Kilbourne
daniel.kilbourne at corecomm.com
CoreComm Systems Engineering
________________________________

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