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
Cluster host NO-VIP
Re: Cluster host NO-VIP
You will most likely have to script a solution using macros and event handlers. You could look at "check_cluster", it should be included in the nagios plugins package.
http://nagiosplugins.org/man/check_cluster
http://nagiosplugins.org/man/check_cluster
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.