There is often the discussion, if monitoring checks should be run remotely or locally on the server, which has to be monitored.
The decision is sometimes easy, when the ressource to be monitored is not available remotely, e.g. logfiles or disks.
But there are plenty of cases where you can do both, e.g. applications and services, which are accessed via network. Please don't think, that network services have to be monitored remotely, because otherwise there's no proof that it's working over the network. You can give exactly one proof with your nagios check, and that is for the nagios server. Where the servers users normally not reside ![]()
So why not executing all checks on the remote server?
There are indeed some reasons for this approach:
But the disadvantage of this approach lies just here - when the customer comes and asks:
Generally we won't find a generic solution for all cases. I have prepared a small table to help you finding the criteria for your specific solution: