I'm setting up Nagios to monitor a bunch of services on approx 750 servers and have run into a small problem I'd like to gracefully fix.
All our servers run a backup tool which backups everything to a third party backup solution and these guys have a few proceses running such as a backup scheduler etc.
Unfortunately, they decided, somewhere along the way to change the process name. So we have the issue that our oldest servers have process
and the newer servers run the updated client
There is essentially nothing different between the clients or their functionality so upgrading the old servers is not necessary and frankly too much of a hassle.
I was wondering if there is a way to define conditional services in Nagios, say something like this:
A service which does nothing, only being dependant on two other services and if tiether of those two services are functioning the master service flags as OK
something like this:
depends_on backup1, backup2
The idea would be that service backup would flag as OK if either backup1 or backup2 return OK.
Now I know services can have dependencies but that would only mean the the depending services won't bother to check if the service they depend on is in critical state, which is not what I want here.
Does anyone know if and how this can be acheived?