Multiple NSCA daemons
Posted: Thu Sep 19, 2013 7:29 am
Hi all,
I'm sitting here with a little problem :
I'm using multiple Nagios Core instances running besides each other on the same virtual machine.
Now I wanted some of the external checks of a server (which I configured on one Nagios instance) also on the other Nagios instance.
But in the /etc/nsca.conf there's only one command_file line (which in this case points to the nagios.cmd of the first Nagios instance).
If I change the command_file directive in my nagios.cfg of my secondary Nagios instance to the nagios.cmd of the first instance, nsca sends one result to my first instance, than the second result to the second and so on.
Now I was wondering if it could be possible to compile a second nsca daemon with a different nsca.cfg that handles passive checks for my secondary Nagios instance.
This would be great since I can't find any possible documentation on this.
Cheers!
I'm sitting here with a little problem :
I'm using multiple Nagios Core instances running besides each other on the same virtual machine.
Now I wanted some of the external checks of a server (which I configured on one Nagios instance) also on the other Nagios instance.
But in the /etc/nsca.conf there's only one command_file line (which in this case points to the nagios.cmd of the first Nagios instance).
If I change the command_file directive in my nagios.cfg of my secondary Nagios instance to the nagios.cmd of the first instance, nsca sends one result to my first instance, than the second result to the second and so on.
Now I was wondering if it could be possible to compile a second nsca daemon with a different nsca.cfg that handles passive checks for my secondary Nagios instance.
This would be great since I can't find any possible documentation on this.
Cheers!