Allowing and submitting passive checks
In this recipe, you'll learn how to configure Nagios Core to accept passive checks for a service. This allows both users and external applications to directly submit the results of checks to Nagios Core, rather than have the application seek them out itself through polling with active checks, which are performed via plugins such as check_http
or check_ping
.
We'll show you one simple example of a passive check: flagging a service called BACKUP
for an existing host. We'll show you how to do this via a web interface, which is very easy, and via the external commands file, which is slightly more complex but much more flexible and open to automation.
The idea is that when a user or process receives confirmation that the backup process on a host has completed correctly, the user or process is able to supply a check result of OK
directly to the service without Nagios Core needing to poll anything by itself.
Getting ready
You should be running a...