I’ve been reading up on passive checks and writing to the command file via NSCA. I’ve setup the daemon on the Nagios host just fine and also installed the check_nsca program plus the plugins on the remote hosts. Am I right in thinking that I don’t need to install Nagios itself on each remote host to do this? - I’ll set up a cron job for each type of service that will write back to the command file of the Nagios host every few minutes or so.
However, the distributed monitoring section implies that Nagios itself must be installed on each remote machine via the diagram. True?
What I’m confused about is how/what I have to define in my hosts/services config file in order for this to work. The docs make no mention of having to set up anything else either in the NSCA readme or the official Nagios docs. Are the entries in the command file automatically associated with a host in the hosts.cfg file and is the whole thing automatic?
Anything else to set up?