Random Project

Service definition for multiple IP

cool plugin, started with a minor “Nagios::Plugin” issue, replaced it with Monitoring::Plugin or Nagios::Monitoring::Plugin

and now it’s working when run ./check_ilo2_health.pl -H -u -p

But because I have seperated IP (xxx.xx.xx.xxx), one for server interface and one for ilo interface (xxx.xx.yy.xxx) the check_ilo2_health.pl try to connect the server IP, do I really need to hardcode the ILO IP in the service definition or any surgestion for multiple IP

ex.

define host{
use …
host_name …
address xxx.xx.xx.xxx
_ILOADDRESS xxx.xx.yy.xxx
}

How would the service definition look for this?