[Pkg-nagios-devel] Bug#294983: wishlist: not require alias and host_name in hosts.cfg
txemi
txemi <txemi2@euskalnet.net>, 294983@bugs.debian.org
Sat, 12 Feb 2005 21:24:29 +0100
Package: nagios
Severity: wishlist
wishlist: not require alias and host_name in hosts.cfg
Most boring thing of setting up nagios is writting big configuration files.
But some little changes could in my opinion short and increase readability of this files.
In my hosts.cfg I have a lot of sections like this:
define host{
use my-generic-host
host_name myhost.com
alias myhost.com
address myhost.com
check_command check_ssh
}
In most of my hosts host_name is equal to alias and address, so it could be written like this:
define host{
use my-generic-host
address myhost.com
check_command check_ssh
}
But it cannot be done as host_name, alias and address are necessary.
I would like that in host_name and alias absence they would take address value. So I could say the same with less text making it easier to write, read, change, mantain, understand...
that is all...
txemi <txemi2@euskalnet.net>
http://txemi.webhop.org
-- System Information:
Debian Release: 3.1
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.10-1-686
Locale: LANG=es_ES@euro, LC_CTYPE=es_ES@euro (charmap=ISO-8859-15)