[mrtg] Re: making my own scripts for mrtg.conf
hysteriaweb
hysteriaweb at charter.net
Fri Feb 15 23:29:10 MET 2002
here is the section that is causing me troubles
Target[cmpowerlevels]: `/home/mrtg/scripts/getcmp`
YLegend[cmpowerlevels]: Power
ShortLegend[cmpowerlevels]: Power
MaxBytes[cmpowerlevels]: 100
Options[cmpowerlevels]: gauge, unknaszero
WithPeak[cmpowerlevels]: wmy
Colours[cmpowerlevels]:
GREEN#00eb0c,BLUE#0000ff,GRAY#AAAAAA,VIOLET#ff00ff
Legend1[cmpowerlevels]: TX Power
Legend2[cmpowerlevels]: RX Power
Legend3[cmpowerlevels]: TX
Legend4[cmpowerlevels]: RX
LegendI[cmpowerlevels]: TX Power
LegendO[cmpowerlevels]: RX Power
Title[cmpowerlevels]: Cable Modem Power Levels
PageTop[cmpowerlevels]: <H1>Cable Modem Power Levels</H1>
The getcmp script produces this output
[root at bubba: /home/mrtg/scripts] ./getcmp
470
383
0
SB4100
It does take a second or two to pull the data in, does
that make a difference?
------------------
On Fri, 15 Feb 2002 16:21:07 -0600
Daniel_Casey at jbhunt.com wrote:
>
>Can you send us your mrtg.conf file?
>
>
>
>
>
>
> "hysteriaweb"
>
>
> <hysteriaweb at char To:
> mrtg at list.ee.ethz.ch
>
> ter.net> cc:
>
>
> Sent by: Subject:
> [mrtg] making my own scripts for mrtg.conf
>
> mrtg-bounce at list.
>
>
> ee.ethz.ch
>
>
>
>
>
>
>
>
> 02-15-2002 16:07
>
>
>
>
>
>
>
>
>
>
>
>
>
>How do I make my own scripts to work in the mrtg.conf?
>
>I saw the example with the network traffice, it had a
>script which outputted
>
>inbytes
>outbytes
>time up
>name
>
>so I made one for my power levels which outputs
>
>upstream power
>downstream power
>time up
>name
>
>but it does not pull the data in, why?
>
>is there something I have to do special???
>
>Thanks
>
>
>
>--
>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
>
>
>
>
>
<TEXTAREA NAME="Signature" ROWS="4" COLS="60">
--
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