Re: Hostgroups for specific users
Posted: Tue Jan 17, 2012 1:29 am
Thanks Scott but this is what I already have:
and then in the real host definition I have
When I login as tsc_windows I can see this host but not when I login as data_team. Now when I reverse the use order in the host definition like this
the data-hosts comes first and then the xiwizard_windowsserver_host. I can see the host when I login as data_team but not when logged in as tsc_windows.
Clearly the additive '+' thing isn't working as expected or something is confusing Nagios.
Is there a plugin/add-on for Nagios XI to expand and view the full configuration for a host in the GUI mode like we see in
Nagios Core UI -> left menu -> Configuration -> Hosts -> Update
Code: Select all
$ get_para '\+' hosttemplates.cfg
define host {
name data-hosts
use xiwizard_generic_host
contacts +data_team
register 0
}
define host {
name xiwizard_windowsserver_host
check_command check_xi_host_ping!3000.0!80%!5000.0!100%
use xiwizard_generic_host
contacts +nagiosadmin,servicedesk,tsc_windows
register 0
}Code: Select all
define host {
host_name us-ham-svv-0245
use xiwizard_windowsserver_host,data-hosts
Code: Select all
define host {
host_name us-ham-svv-0245
use data-hosts,xiwizard_windowsserver_host
Clearly the additive '+' thing isn't working as expected or something is confusing Nagios.
Is there a plugin/add-on for Nagios XI to expand and view the full configuration for a host in the GUI mode like we see in
Nagios Core UI -> left menu -> Configuration -> Hosts -> Update