Hello
I put below all information related to version of Icinga2, Nagvis module, etc.
I use icingadb
Nagvis module is installed. I can create a map (type automap) that display all my hosts if I use as root <<>>. So the Nagvis module seems to read icingadb and can display the hosts.
But Nagvis seems to not see the dependencies I define in icinga2. If I choose an host for root then only this host is diplayed.
I define dependencies with a parent.conf file :
apply Dependency “Parent” for (parent in host.vars.parents) to Host {
parent_host_name = parent
assign where host.address && host.vars.parents
}
and host file are like this. The parent of Mysecure is Server1.
object Host “Mysecure” {
import “linux-server”
address = “Mysecure”
vars.CheckType = “by_ssh”
vars.http_vhosts[“http”] = { http_uri = “/” }
vars.disk_warning = “7%”; vars.disk_critical = “4%”;
vars.parents = [ “Server1” ]
}
any suggestion to help investigating ?
Thank you in advance
Regards
Xavier Jeannin
Icinga Web 2 Version 2.12.4
Module Nagvis 1.2.1 and Nagvis software verios 1.9.44
Any web browser
icinga2 - The Icinga 2 network monitoring daemon (version: r2.14.5-1)
PHP 8.2.28 (cli) (built: Mar 13 2025 18:21:38) (NTS)
Debian 12.11