Home » Categories » Multiple Categories

NCPA - Passive Checks Not Being Submitted To NRDP

Problem Description

The NCPA client is not sending passive check results to your Nagios server. When looking at the /usr/local/ncpa/var/log/ncpa_passive.log you observe the following:

2018-01-10 06:21:19,356 2904 INFO Running check: services?service=ncpa_passive&status=running
2018-01-10 06:21:19,413 2904 ERROR no element found: line 1, column 0
Traceback (most recent call last):
  File "/root/ncpa/agent/passive/nrdp.py", line 198, in submit_to_nagios
  File "/root/ncpa/agent/passive/nrdp.py", line 145, in log_result
  File "/usr/local/lib/python2.7/xml/dom/minidom.py", line 1928, in parseString
  File "/usr/local/lib/python2.7/xml/dom/expatbuilder.py", line 940, in parseString
  File "/usr/local/lib/python2.7/xml/dom/expatbuilder.py", line 223, in parseString
ExpatError: no element found: line 1, column 0

 

Resolution

This problem can occur when the php-xml package is not installed on the Nagios server running NRDP.

For example, to install the package on Ubuntu execute the following command:

sudo apt-get install php-xml

 

 

Final Thoughts

For any support related questions please visit the Nagios Support Forums at:

http://support.nagios.com/forum/

0 (0)
Article Rating (No Votes)
Rate this article
  • Icon PDFExport to PDF
  • Icon MS-WordExport to MS Word
Attachments Attachments
There are no attachments for this article.
Related Articles RSS Feed
Nagios XI - Problems with $ Signs in the Check Command
Viewed 4204 times since Tue, Jan 26, 2016
NRDP - Passive Check Results Not Being Submitted To Nagios
Viewed 2154 times since Mon, Feb 29, 2016
NCPA - Agent Installation Issue
Viewed 1955 times since Thu, Jan 21, 2016
NCPA - Service And Process Changes To API Endpoint
Viewed 459 times since Thu, May 3, 2018
Nagios XI - Problems With Scheduled Backups At Midnight
Viewed 1743 times since Mon, Oct 10, 2016
NRDP - Check Results Not Being Processed
Viewed 2076 times since Thu, Feb 4, 2016