Page 2 of 2

Re: Xinetd NSCA issue

Posted: Mon Nov 14, 2016 4:08 pm
by ciaranrh
Hey,

Our NagiosXI server is running on SSD's, certainly not quite as fast as memory but disk IO is still pretty good. What about running NSCA as a standalone daemon, wondering if maybe it's an issue with xinetd failing to get the signal to end the nsca process.

Re: Xinetd NSCA issue

Posted: Mon Nov 14, 2016 5:20 pm
by avandemore
Your log file is huge, you should consider rotating it.

It's filled with results like these(sanatized) among other errors:

Code: Select all

Nov  4 13:43:26 nagiosxi nsca[1672]: Time difference in packet: 0 seconds for host xxx
Nov  4 13:43:26 nagiosxi nsca[1672]: SERVICE CHECK -> Host Name: 'xxx', Service Description: 'Edge Services', Return Code: '3', Output: 'Failed to open service yyy: 1060: The specified service does not exist as an installed service.#015#012'
Nov  4 13:43:26 nagiosxi nsca[1672]: Attempting to write to nagios command pipe
Nov  4 13:43:26 nagiosxi nsca[1672]: End of connection...
Failures are expensive in terms of processing time, fixing entries like this will make your system more performant.

Re: Xinetd NSCA issue

Posted: Thu Nov 17, 2016 2:58 pm
by ciaranrh
Hey,

What about NRDP? Reading this link: https://exchange.nagios.org/directory/A ... or/details it seems this user had other issues with NSCA and suggested people use NRDP instead. Current NagiosXI documentation suggests using NSCA for passive checks still so I'm wondering how much testing/use NRDP has had.

Re: Xinetd NSCA issue

Posted: Thu Nov 17, 2016 4:57 pm
by dwhitfield
Could you point us to that documentation? We generally recommended NRDP, but there might be a situation where it isn't the best option.

From https://assets.nagios.com/downloads/nag ... erview.pdf
Benefits Over NSCA
The NSCA (Nagios Service Check Acceptor) addon has historically been the addon of choice for Nagios administrators that need to establish data feeds or passive check transmission between Nagios installations. The NRDP addon allows administrators to migrate from using NSCA to NRDP fairly easily. NRDP has several benefits over NSCA, including:
• NRDP uses standard ports and web protocols, which means that firewall configuration and client development is simplified
• NRDP uses the Apache web server to provide optional SSL encryption and authentication
• NRDP supports multi-line host and service check output
• NRDP write check output directly to the Nagios Core spool directory
– bypassing the external command file for increased performance

Re: Xinetd NSCA issue

Posted: Fri Jan 06, 2017 1:52 pm
by ciaranrh
Hey this thread can be closed, we're going to try using NRDP going forward.

Thanks!

Re: Xinetd NSCA issue

Posted: Fri Jan 06, 2017 2:01 pm
by dwhitfield
Ok, great. Just let us know if you run into issues with NRDP.