Cluster host NO-VIP
Posted: Wed May 15, 2013 7:59 am
Hi,
this is my first installation of nagios core and have some questions.
I have 2 cluster host 192.168.4.112-113, but they don’t expose any VIP IP.
I’d like to show in MAP view a “phantom” host (VIP) with green status if host cluster is alive (192.168.4.112 or 113 responds to PING) and red status if ALL cluster host fails.
Please can you help me? These are my test cfg:
define host{
use generic-windows
host_name test-vip
address 0.0.0.0
parents test-master,test-slave
check_command check-host-alive
}
define host{
use generic-windows
host_name test-master
address 192.168.4.112
check_command check-host-alive
}
define host{
use generic-windows
host_name test-slave
address 192.168.4.113
check_command check-host-alive
}
I’m not able to change “phantom” host (VIP) state, according my requirements and it always show green state in the map even if all cluster host was down.
Thanks for your support
this is my first installation of nagios core and have some questions.
I have 2 cluster host 192.168.4.112-113, but they don’t expose any VIP IP.
I’d like to show in MAP view a “phantom” host (VIP) with green status if host cluster is alive (192.168.4.112 or 113 responds to PING) and red status if ALL cluster host fails.
Please can you help me? These are my test cfg:
define host{
use generic-windows
host_name test-vip
address 0.0.0.0
parents test-master,test-slave
check_command check-host-alive
}
define host{
use generic-windows
host_name test-master
address 192.168.4.112
check_command check-host-alive
}
define host{
use generic-windows
host_name test-slave
address 192.168.4.113
check_command check-host-alive
}
I’m not able to change “phantom” host (VIP) state, according my requirements and it always show green state in the map even if all cluster host was down.
Thanks for your support