[Nagios-devel] command-line config directives

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Guest

[Nagios-devel] command-line config directives

Post by Guest »

--oFbHfjnMgUMsrGjO
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Has any thought been given to allowing Nagios to accept
command-line directives at startup? For example, I was thinking
that for some failover conditions it would be handy to be able
to invoke Nagios with 1 or more extra cfg_dir or cfg_file
directives without having to play games with rewriting or
overwriting the nagios.cfg. Would this be hard to do?

I'd imagine the syntax would be something like ./nagios -c
=2E./etc/nagios.cfg -o cfg_dir=3D/some/dir=20

Thanks,
-Jason Martin
--=20
After all is said and done, usually more is said.
This message is PGP/MIME signed.

--oFbHfjnMgUMsrGjO
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: --no-verbose

iD8DBQFBBpQGl2ODWuqVSBMRAmY6AJ4uTK0rEsBwdsCdM1pYzkbMjkccHACeNEEf
8mIkNeyfouK9Dqr9SOsxY1M=
=d9gt
-----END PGP SIGNATURE-----

--oFbHfjnMgUMsrGjO--





This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]
Locked