[mrtg] Passing arguments to host template
Dunc
dunc.lockwood at thebunker.net
Tue Aug 25 12:28:35 CEST 2009
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi everyone,
I've been getting into host templates quite a lot and it's working well,
but I've just come across a problem where I really need to pass an
argument into the host template script which is a path to a config file.
I was hoping I could just put it after the script name as part of the
"--host-template=" option but this doesn't work.
Is there an easy way to pass arguments in?
Cheers,
Dunc
- --
Duncan Lockwood
Network Team Leader
The Bunker Secure Hosting Limited
Ash Radar Station
Marshborough Road
Sandwich
Kent CT13 0PL
UNITED KINGDOM
t: 01304 814 800
f: 01304 814 899
e: dunc at thebunker.net
w: www.thebunker.net
PGP on Key Servers
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAkqTvNMACgkQOZKi9YO9TB6yAwCggolZ5IOnni/SdQMIbaIpw/Fs
jFoAn3UHfUjcBPThlJeQbldUdac0mZAG
=qogK
-----END PGP SIGNATURE-----
More information about the mrtg
mailing list