[mrtg] Re: threshold checking

Amol Sapkal amolsapkal at coolgoose.com
Wed Dec 31 10:09:44 MET 2003


Can you paste the part of config which uses Threshold?

Check for following:
your script's permissions
your script's output. It should be in the following format for mrtg to understand:

box#./script
box#Val1
box#Val2
box#0
box#0box#

(no newline on the last value)


Regds,
Amol





> Hi
> 
> I'm trying to setup threshold checking with MRTG.  I've read the docs,
> checked the archives and the web but haven't found an answer to my problem.
> I'm using MRTG version 2.9.18, RRD log format with routers2.cgi as the
> front-end.  This is running on a RedHat 7.2 system.
> 
> The problem is that the file is never created.  It's as if the Thresh????
> options are ignored.  I have tried using a percentage and just a number for
> the threshold trigger (the input and output rates are exceeding the values)
> however the test file is not created.
> 
> The scripts are simple test scripts that output basic information to a file
> (in the threshold directory) for testing.  Following is the mrtg-threshold
> script.  If I run the script from the prompt (logged in as the user that
> runs the MRTG cron jobs), the file is created correctly.  The script that
> runs MRTG also runs without errors.
> 
> Thanks in advance!
> 
> Avinash
> 
> _________________________________________________________________
> Send DD, pay no commission. 
> http://server1.msn.co.in/msnleads/suvidha/dec03.asp?type=hottag Click here.
> 
> --
> 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