[mrtg] Re: can't get work 'gauge' option

Alex van den Bogaerdt alex at slot.hollandcasino.nl
Sat Dec 8 00:33:27 MET 2001


Alex Antropoff wrote:

> I'm using external script for generation of modem pool load,
> and can't get work gauge option, current/max/min values are zero.

> Target[mpool]: `/usr/local/sbin/getstat.mpool`

Looks OK at first.  Perhaps this script does work from the command
line while it does not from within MRTG when running from cron.
Make sure all programs, scripts, filters and whatever can be found,
the best is to use absolute paths (i.e. /usr/bin/grep, not just grep).

> getstat.mpool is script which out lines like:
> 9
> 9
> 15 days, 11:51
> my.host.com

Looking good again.

The first line of your log file should show you the values you
collected with this script.  If they are not showing proper values
then something's wrong when trying to call this script.

HTH
-- 
   __________________________________________________________________
 / alex at slot.hollandcasino.nl                  alex at ergens.op.het.net \
| work                                                         private |
| My employer is capable of speaking therefore I speak only for myself |
+----------------------------------------------------------------------+
| Technical questions sent directly to me will be nuked. Use the list. | 
+----------------------------------------------------------------------+
| http://faq.mrtg.org/                                                 |
| http://rrdtool.eu.org  --> tutorial                                  |
+----------------------------------------------------------------------+

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