Passive checks
In this case, Nagios does not trigger anything but waits to be contacted by some means by the service, which must be monitored. It seems quite confusing, but let's make a real-life example. How would you monitor if a disk backup has been completed successfully? One quick answer would be: knowing when the backup task starts and how long it lasts, we can define a time and invoke a script to check the task at that given hour.
Nice, but when we plan something, we must have a full understanding of how real life goes, and a backup is not our little pet in the living room, it's rather a beast, which does what it wants. A backup can last a variable amount of time depending on an unpredictable factor.
For instance, your typical backup ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access