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



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:


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
NCPA - Agent Installation Issue
Viewed 4623 times since Thu, Jan 21, 2016
NCPA - Service check timed out after n Seconds
Viewed 6301 times since Tue, Sep 1, 2020
Nagios XI - Problems with $ Signs in the Check Command
Viewed 5358 times since Tue, Jan 26, 2016
NCPA - Service And Process Changes To API Endpoint
Viewed 3379 times since Thu, May 3, 2018
NRDP - Check Results Not Being Processed
Viewed 4076 times since Thu, Feb 4, 2016
Nagios XI - Problems With Scheduled Backups At Midnight
Viewed 2772 times since Mon, Oct 10, 2016
NRDP - Passive Check Results Not Being Submitted To Nagios
Viewed 4001 times since Mon, Feb 29, 2016