notes_url doesn't work with hostgroup but works hostextinfo
Posted: Mon Apr 23, 2012 6:05 pm
We recently upgraded our Nagios 2.x installation to Nagios 3.2.x .
We used to provide `notes` and `notes_url` as part of the hostextinfo, like this:
howextinfo{} has been depreciated, so we want to get rid of it. Also, we would like to simplify the Nagios rules by consolidating the hostextinfo{} info into the hostgroup{} info, like this:
But if I use the hostextinfo{} definition above, the notes_url does work.
However, when we do this the notes_url does not appear in the CGI. Can anyone help me figure out why?
-= Stefan
We used to provide `notes` and `notes_url` as part of the hostextinfo, like this:
Code: Select all
define hostextinfo{
host_name host1, host2, host3
notes These are special hosts
notes_url https://wiki.example.org/problemsolving/SpecialHosts
}
define hostgroup {
hostgroup_name specialhosts
alias Special Hosts
members host1, host2, host3
}
Code: Select all
define hostgroup {
hostgroup_name specialhosts
alias Special Hosts
members host1, host2, host3
notes These are special hosts
notes_url https://wiki.example.org/problemsolving/SpecialHosts
}
However, when we do this the notes_url does not appear in the CGI. Can anyone help me figure out why?
-= Stefan