[mrtg] Re: threshold problem

Eswar eswar at mantraonline.com
Tue Jan 20 06:35:31 MET 2004

> Suggestions --
> 1) try running the script from the command line.  Does it create a
> If not, problem is with script.

Tried and yes the script is creating file.

> 2) Check perl path is correct in script, and script has execute permission
> (rwxr-xr-x)

It is correct as tested from the command line. Execute permission given to
all (chmod +x script.pl)

> 3) Check permissions are correct for the MRTG user, ie, the user the
> will run as, not necessarily your own user.

Both are same user (root). Owner and the MRTG user(I know its not
recommended but i am going crazy with this problem)

> 4) Usually it is recommended to put the Target[] line as the first
> definition line for a given targetname




New CFG File
WorkDir: /root/etm/thar/data
ThreshDir: /root/etm/thar/test

Target[del-btnl-dsl]: -\GigabitEthernet0/3:qh$\@kl at
Directory[del-btnl-dsl]: del-btnl-dsl
SetEnv[del-btnl-dsl]: MRTG_INT_IP=""
MaxBytes[del-btnl-dsl]: 8500000
ThreshMaxI[del-btnl-dsl]: 30%
ThreshProgI[del-btnl-dsl]: /root/etm/thar/testeri.pl
Title[del-btnl-dsl]: Traffic Analysis for DEL-BTNL-DSL ON FIBER
PageTop[del-btnl-dsl]: <H1>Traffic Analysis for BTNL-DEL ON FIBER FROM 234
   <TR><TD>Description:</TD><TD>GigabitEthernet0/3; used; BTNL-DELHI DSL ON
   <TR><TD>Max Speed:</TD>  <TD>68 Mbits/s</TD></TR>
   <TR><TD>Ip:</TD>         <TD> ()</TD></TR>

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