I believe that the following custom variable should work, but it does not. Does anybody know why?
Using Nagios 3.2.1
define host{
host_name myhost
alias myhost
_MYHOST 192.168.0.5
address $_HOSTMYHOST$
check_command check-host-alive
use generic-host
}
The variable never gets replaced, and “$_HOSTMYHOST$” is what is displayed in the Web interface. Might this be a bug where the address field is never parsed for a variable?
rabinnh