passive checks from windows machine not appearing in nagios
Posted: Sun Jun 28, 2020 5:26 am
Hi Guys,
I'm new to Nagios and to Linux in general, so bear with me please.
I'm trying to get passive checks from a windows machine to appear in Nagios. NRDP commands test is working for localhost but when I try to submit check results nothing happens. I installed NCPA on a windows machine and enabled passive checks, I've followed the following articles to install NCPA and NRDP
https://support.nagios.com/kb/article/n ... tml#CentOS
https://support.nagios.com/kb/article.php?id=762 (I wasn't sure where to put these configurations exactly, so I created a ncpa.cfg file into usr/local/nagios/etc and another copy at usr/local/nagios/etc/objects in that file I copied all the mentioned configuration and replaced only "S1601" mentioned in the article with my own hostname "CNA-ITD-855")
My /usr/local/nagios/var/nagios.log is showing the following
[1593337576] Auto-save of retention data completed successfully.
[1593337835] Error: Got host checkresult for 'CNA-ITD855', but no such host can be found
[1593337835] Error: Got check result for service 'CPU Usage' on host 'CNA-ITD855'. Unable to find service
[1593337835] Error: Got check result for service 'Disk Usage' on host 'CNA-ITD855'. Unable to find service
[1593337835] Error: Got check result for service 'Swap Usage' on host 'CNA-ITD855'. Unable to find service
[1593337835] Error: Got check result for service 'Memory Usage' on host 'CNA-ITD855'. Unable to find service
[1593337835] Error: Got check result for service 'Process Count' on host 'CNA-ITD855'. Unable to find service
I'm new to Nagios and to Linux in general, so bear with me please.
I'm trying to get passive checks from a windows machine to appear in Nagios. NRDP commands test is working for localhost but when I try to submit check results nothing happens. I installed NCPA on a windows machine and enabled passive checks, I've followed the following articles to install NCPA and NRDP
https://support.nagios.com/kb/article/n ... tml#CentOS
https://support.nagios.com/kb/article.php?id=762 (I wasn't sure where to put these configurations exactly, so I created a ncpa.cfg file into usr/local/nagios/etc and another copy at usr/local/nagios/etc/objects in that file I copied all the mentioned configuration and replaced only "S1601" mentioned in the article with my own hostname "CNA-ITD-855")
My /usr/local/nagios/var/nagios.log is showing the following
[1593337576] Auto-save of retention data completed successfully.
[1593337835] Error: Got host checkresult for 'CNA-ITD855', but no such host can be found
[1593337835] Error: Got check result for service 'CPU Usage' on host 'CNA-ITD855'. Unable to find service
[1593337835] Error: Got check result for service 'Disk Usage' on host 'CNA-ITD855'. Unable to find service
[1593337835] Error: Got check result for service 'Swap Usage' on host 'CNA-ITD855'. Unable to find service
[1593337835] Error: Got check result for service 'Memory Usage' on host 'CNA-ITD855'. Unable to find service
[1593337835] Error: Got check result for service 'Process Count' on host 'CNA-ITD855'. Unable to find service