[mrtg] newbie question: how to convert string -> value?

Niall O'Reilly Niall.oReilly at ucd.ie
Fri Feb 27 13:58:51 CET 2009


On Fri, 2009-02-27 at 04:29 -0800, Evert wrote:
> 
> I was hoping to do it all from within mrtg.conf, but I guess that's
> not possible...?

	Possible:

Target[server-loadavg]:
  `amazingly-complex-one-line-shell-script
   with weird arguments and stuff
   | piped through je-ne-sais-quoi`

	but you really don't want to do that instead of

Target[server-loadavg]: `/usr/local/mrtg-helpers/get-loadavg server.example.org`

	/Niall




More information about the mrtg mailing list