Passive Check - OK: No data received yet

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
prashant.v01
Posts: 15
Joined: Tue Jun 23, 2020 7:12 am

Passive Check - OK: No data received yet

Post by prashant.v01 »

Hi Team,

I am quite unsure how to get status information of a host services over passive checking. My remotes (linux machines) are passively sending information to Nagios XI Server passively using NCPA passive service. When I clicked on my Host service status, I can see the status information to be showing "OK: No data received yet". Could you please advise if it is possible to show more information probably the agent status, version, etc ?
We have already enabled below setting :
accept_passive_host_checks=1
accept_passive_service_checks=1
check_host_freshness=1
You do not have the required permissions to view the files attached to this post.
Last edited by prashant.v01 on Wed Oct 06, 2021 12:08 pm, edited 1 time in total.
User avatar
pbroste
Posts: 1288
Joined: Tue Jun 01, 2021 1:27 pm

Re: Passive Check - OK: No data received yet

Post by pbroste »

Hello @prashant.v01

Thanks for reaching out about passive checks issue with NCPA.

To check on the NCPA version you can get that from the command line by:

Code: Select all

/usr/local/nagios/libexec/check_ncpa.py -V
Several things to check:
  • Check to see if Selinux or other security applications are blocking NCPA.
  • Verify the NCPA services are running:
  • [list]
  • systemctl status ncpa_listener
[*]Run the NCPA check via command line for results:[/*]
  • /usr/local/nagios/libexec/check_ncpa.py.....'with args'
[*]check to see if able to bring up NCPA web console[/*] [/list]

What do you see in the following logs on these checks that are receiving the message "No data received yet".

Code: Select all

/usr/local/nagios/var/nagios.log

Code: Select all

/usr/local/nagiosxi/var/cmdsubsys.log

Code: Select all

/usr/local/nagiosxi/var/eventman.log

Code: Select all

/usr/local/ncpa/var/log/
To send logs via Private Message [PM]:

Code: Select all

tar -czvf /tmp/logs.tar.gz /usr/local/nagios/var/nagios.log /usr/local/nagiosxi/var/ /usr/local/ncpa/var/log/
Thanks,
Perry
prashant.v01
Posts: 15
Joined: Tue Jun 23, 2020 7:12 am

Re: Passive Check - OK: No data received yet

Post by prashant.v01 »

Hi Perry,

Thanks for response.

I was missed to remove comment for "#[passive check] " in nrdp.cfg file. After removing the comment passive checks are worked.
User avatar
pbroste
Posts: 1288
Joined: Tue Jun 01, 2021 1:27 pm

Re: Passive Check - OK: No data received yet

Post by pbroste »

Hello @prashant.v01

Excellent, and thanks for letting us know what resolved the issue. I will go ahead and lock.
Perry
Locked