Page 1 of 1

Passive Check - OK: No data received yet

Posted: Mon Oct 04, 2021 10:48 am
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

Re: Passive Check - OK: No data received yet

Posted: Tue Oct 05, 2021 2:24 pm
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

Re: Passive Check - OK: No data received yet

Posted: Thu Oct 07, 2021 2:46 am
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.

Re: Passive Check - OK: No data received yet

Posted: Thu Oct 07, 2021 9:07 am
by pbroste
Hello @prashant.v01

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