NCPA listener windows

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
paul.jobb
Posts: 167
Joined: Tue Aug 02, 2011 4:37 pm

NCPA listener windows

Post 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.
krobertson71
Posts: 444
Joined: Tue Feb 11, 2014 10:16 pm

Re: NCPA listener windows

Post 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.
paul.jobb
Posts: 167
Joined: Tue Aug 02, 2011 4:37 pm

Re: NCPA listener windows

Post 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
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: NCPA listener windows

Post 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.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked