[mrtg] SetEnv problem w/ ext. scripts?

Cagle, John John.Cagle at COMPAQ.com
Mon Dec 24 04:26:57 MET 2001


I'm running MRTG 2.9.17, and trying to use the SetEnv feature to pass a
couple of environment variables to an external script target.

The problem is that (if RunAsDaemon:No) the environment variables never
get set before the external script is called.

If using "RunAsDaemon:Yes", the environment variables don't work the
first time the script is called, but they do work for the second and
subsequent script invocations.

Has anyone used the SetEnv feature with any success?

Thanks,
John


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