[mrtg] Re: ATM Cell to bytes conversion.

Jay Hennigan jay at west.net
Thu Jul 4 20:45:29 MEST 2002


On Thu, 4 Jul 2002, Cian O'Sullivan wrote:

> I have seen this asked in the archive many times, but I could not find an answer,
>
> Stratacom IGX, atmTrkStatsTotalCellsTxtoLns   etc.
>
> Counter is in ATM cells, I need to convert to Bytes  (53 or 48 bytes per cell.  We have not decided how picky we will be).
>
> Is there a better way for me to achieve this other then the following.
>
>
>
> Script does...
> ==================
> IGX  <--- snmpget atmtrk....
>
> Formats data  (*48 or *53)
>
> snmpset ----> free counter on *nix box
>
> run mrtg with cfg.
>
>
> I would put that script in as cron instead of the mrtg in cron as it is now.
>
> Any advice to this?

How about in your cfg file,

Target[whatever]: whatever:community at switch * 53

(for total bytes)

Target[whatever]: whatever:community at switch * 48

(for payload only)


-- 
Jay Hennigan - CCIE #7880 - Network Administration - jay at west.net
NetLojix Communications, Inc.  -  http://www.netlojix.com/
WestNet:  Connecting you to the planet.  805 884-6323

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