[mrtg] Re: Monitoring Online cable modems

Zeeshan Ahmed zeeshan at worldcall.net.pk
Sat Mar 8 14:23:28 MET 2003


thanks i like this idea but i have writen any shell script can you help me
out to how to with this?

Regads
Zeeshan Ahmed

----- Original Message -----
From: "Brett Marler" <brett at asroma.homeip.net>
To: "Zeeshan Ahmed" <zeeshan at worldcall.net.pk>
Cc: <mrtg at list.ee.ethz.ch>
Sent: Friday, March 07, 2003 4:43 PM
Subject: [mrtg] Re: Monitoring Online cable modems


> Zeeshan,
>
> > i tried this but got error
> > ERROR: Target[cmonline] eval warning: syntax error at (eval 6) line 1,
near "}
> > grep"
> The error being returned to you is fairly self explanatory. The "Target"
line
> has no idea what grep is, you'll need to put:
>
> --
> snmpwalk 192.168.1.1 public .1.3.6.1.4.1.3493.2.4.1.1.12.1.3 | grep -c "=
9"
> --
>
> Into a script (a simple shell script would suffice) and then adjust your
> Target line to read something like:
>
> --
> Target[cmonline]: `/path/to/your/script`
> --
>
> MRTG should then be able to understand the output and graph the data
passed to
> it accordingly. For information on "External Monitoring Scripts", refer to
the
> user friendly MRTG manual (in the doc/mrtg2/ directory).
>
>
> Regards.
> --
> Brett Marler <brett at asroma.homeip.net>
> WWW: http://asroma.homeip.net/
>
>
>
>
> -- Binary/unsupported file stripped by Ecartis --
> -- Err : No filename to use for decode, file stripped.
> -- Type: application/pgp-signature
>
>
> --
> 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
>
>

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