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.
NCPA listener windows
-
krobertson71
- Posts: 444
- Joined: Tue Feb 11, 2014 10:16 pm
Re: NCPA listener windows
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.
If you want to centralize logs, look at Nagios Log Server. If money is an issue, look at logstash.
Re: NCPA listener windows
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
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
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.Is it possible to run multiple instances of NCPA_listener on a windows server?
Be sure to check out our Knowledgebase for helpful articles and solutions!