I have a single server which is multi homed and receives its default route via a routing protocol. We still use NRPE on the remote end which is listening on both interfaces.
host
ip = x.x.x.x
bip = y.y.y.y
service xxxx
apply to host …
I would like to be able to check host with ip x.x.x.x, if this fails, try with y.y.y.y instead for host and service checks. Can this be done? Reason being is, if the primary link goes down, we are a little blind as to the cause or service impact as all local monitoring stops.
I’d suggest to create to identical host objects with identical service objects. One host with default ip, second with backup ip. And add Dependency objects to disable checks on backup host when original host is available.