Custom Cfg files?

Hugo van der Kooij hvdkooij at vanderkooij.org
Thu Jun 26 10:53:37 CEST 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Shoaibi wrote:
| What if i create my config files and want to use them instead of the
| default files?
|
| Like suppose:
| Default files are:
| contact.cfg
| template.cfg
| commands.cfg
| localhost.cfg
|
| and i want to create files like:
| test_contact.cfg
| test_template.cfg
| test_commands.cfg
| test_localhost.cfg
|
| and want to use these, even if those files exist?
| Or should i change data in those files?

Nagios allows you great flexibility. I define config directories for my
hosts, services, ..... Then adding  host is adding another file in the
hosts subdirectory.

You can do this in dozens of ways with 1 big config file, or dozens of
small ones, or just a hand full.

Hugo.

- --
hvdkooij at vanderkooij.org               http://hugo.vanderkooij.org/
PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc

	A: Yes.
	>Q: Are you sure?
	>>A: Because it reverses the logical flow of conversation.
	>>>Q: Why is top posting frowned upon?

Bored? Click on http://spamornot.org/ and rate those images.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)

iD8DBQFIY1kQBvzDRVjxmYERAn+yAJ4tcNQJkjCD3ihZE9vAC/GWd9DjVACggiQO
nl3egLPM5iWO+VyI3BRgXn0=
=TBfV
-----END PGP SIGNATURE-----

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list