Page 1 of 1
NCPA listener windows
Posted: Wed Jan 28, 2015 6:34 pm
by paul.jobb
Is it possible to run multiple instances of NCPA_listener on a windows server?
I tried putting it in its own directory modifying the etc/ncpa.cfg with a unique port but that didn't seem to work.
I'm trying to use a central server to monitor apache log files on some servers in an external windows domain and would like to use different credentials to access those.
Re: NCPA listener windows
Posted: Thu Jan 29, 2015 12:42 am
by krobertson71
I can tell you that NCPA is resiters itself as a service in Windows. Just putting the files in a different directory might not work. You could try to manually start it up from that location but not sure how that would even turn out.
If you want to centralize logs, look at Nagios Log Server. If money is an issue, look at logstash.
Re: NCPA listener windows
Posted: Thu Jan 29, 2015 10:07 am
by paul.jobb
Thanks yes I did register it as a service with nssm, doesn't start(well starts but remains paused)
Thanks for the suggestion on log server I did start looking at that a bit a few months back just haven't had the the time to revisit. In this instance we are just needing to monitor the log files for certain messages and raise alerts so check_logfiles does that perfectly. We do pretty much everything agentless as well as A) no one has an appetite for agents here and B) they can be a hassle to maintain at times
Re: NCPA listener windows
Posted: Thu Jan 29, 2015 11:38 am
by lmiltchev
Is it possible to run multiple instances of NCPA_listener on a windows server?
I don't think this is possible but I may be wrong. In any case, this hasn't been tested or/and documented. I would recommend asking the NCPA developer directly. You can post your question here:
https://github.com/NagiosEnterprises/ncpa/issues.