[mrtg] Re: MRTG

Michael Earls Michael.Earls at cchmc.org
Tue Jan 7 15:55:37 MET 2003


Koelstra,
 
I have tried single quotes, ` and ' and I am still getting the same
error message.  I have checked the mailing list and saw the example
being used with quotes.  
 
ThreshProgO[interface_ATM1_0.93-aal5_layer]:
`/root/bin/mrtg/notify/mrtg_thresh.pl`
 
Does anyone know if there is an issue/bug with the ver of MRTG I am
using in regards to threshold checking? 
GNU/Debian 
     mrtg-2.9.17
 
Thanks again for your help,
 
Michael
 
 

PGP Info: KeyID 0x5EB59708 Fingerprint 108B A1D8 76F5 08A8 501A F28C
86F4 4BC5 5EB5 9708 

>>> "Koelstra, J. (Jan)" <JKoelstra at MINSZW.NL> 01/07/03 04:25AM >>>

Michael,

You need single quotes around the program you want to execute. More
information can be found in the archive of this mailinglist.

Hth,

Jan.

-----Original Message-----
From: Michael Earls [mailto:Michael.Earls at cchmc.org] 
Sent: Monday, January 06, 2003 7:36 PM
To: mrtg at list.ee.ethz.ch 
Subject: [mrtg] MRTG


All:

I am in the need of some help in regards to MRTG thresholds. I am
getting an MRTG error trying to run the Perl script from
http://www.cloudnet.com/~tom/mrtg.thresh.html .  Below is the cfg file
and the error message I am getting from MRTG. 

Thanks in advanced for everyone help.

michael

MRTG Ver
MRTG-2.9.17 is the Multi Router Traffic Grapher.

ERROR: CFG Error in "threshprogi[interface_atm1_0.93-aal5_layer]",
line
0: Threshold program /root/bin/mrtg/notify/threshprogi  
(interface_atm1_0.93-aal5_layer)</TD></TR> </TABLE> cannot be executed

#  WorkDir: /var/www/mrtg/traffic/
ThreshDir: /tmp/thresholds/
Options[_]: growright,bits
WithPeak[_]: ymw
IconDir: ../images/

### Interface 12 >> Descr: 'ATM1/0.93-aal5 layer' | Name: '' | Ip:
'0.0.0.0' | Eth: '' ###

Target[interface_ATM1_0.93-aal5_layer]: \ATM1/0.93-aal5\
layer:snmp at interface:
SetEnv[interface_ATM1_0.93-aal5_layer]: MRTG_INT_IP="0.0.0.0"
MRTG_INT_DESCR="ATM1/0.93-aal5 layer"
Directory[interface_ATM1_0.93-aal5_layer]: interface
MaxBytes[interface_ATM1_0.93-aal5_layer]: 18720000
Title[interface_ATM1_0.93-aal5_layer]: Traffic Analysis for
ATM1/0.93-aal5 layer -- chmcc.oar.net
PageTop[interface_ATM1_0.93-aal5_layer]: <H1>Traffic Analysis for
ATM1/0.93-aal5 layer</H1>
ThreshMaxI[interface_ATM1_0.93-aal5_layer]: 16777216   # should be 
incoming
#ThreshMinI[interface_ATM1_0.93-aal5_layer]: 16777216   # should be 
outgoing
#ThreshMaxO[interface_ATM1_0.93-aal5_layer]:  24777216  # should be
incoming
#ThreshMinO[interface_ATM1_0.93-aal5_layer]: 40%   # should be 
outgoing
#ThreshProgO[interface_ATM1_0.93-aal5_layer]:
/root/bin/mrtg/notify/threshprogi
#ThreshProgI[interface_ATM1_0.93-aal5_layer]:
/root/bin/mrtg/notify/threshprogi
<TABLE>
   <TR><TD>System:</TD>     <TD>router</TD></TR>
   <TR><TD>Maintainer:</TD> <TD>phone number</TD></TR>                

   
   <TR><TD>Description:</TD><TD>ATM1/0.93-aal5 layer 2,PVC to CLP3 
</TD></TR>
   <TR><TD>ifType:</TD>     <TD>aal5 (49)</TD></TR>                   

   
   <TR><TD>ifName:</TD>     <TD></TD></TR>          
   <TR><TD>Max Speed:</TD>  <TD>18.7 MBytes/s</TD></TR>
   <TR><TD>Ip:</TD>         <TD>ip address</TD></TR>
</TABLE>


PGP Info: KeyID 0x5EB59708 Fingerprint 108B A1D8 76F5 08A8 501A F28C
86F4 4BC5 5EB5 9708 


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



Het ministerie van Sociale Zaken en Werkgelegenheid sluit elke
aansprakelijkheid uit in verband met het niet juist, onvolledig of niet
tijdig overkomen van de informatie in deze e-mail. 
Aan dit bericht kunnen geen rechten worden ontleend. 

Dit bericht is alleen bestemd voor de geadresseerde. Indien dit bericht
niet voor u bestemd is, verzoeken wij u dit onmiddellijk aan ons te
melden en de inhoud van het bericht te vernietigen. 
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
The ministry of Social Affairs and Employment is not liable for any
incorrect or incomplete transmission of the information in this e-mail
or for any delay in its receipt. 
This message shall not constitute any obligations.

This message is intended solely for the addressee.
If you have received this message in error, please inform us
immediately and delete its content.

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