Monitoring Windows Event Logs

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
rdedon
Posts: 578
Joined: Sat Nov 20, 2010 4:51 pm

Re: Monitoring Windows Event Logs

Post by rdedon »

could you try retarting xinetd:

Code: Select all

service xinetd restart
and verifying that your daemon is listening on the correct port for nsca

Code: Select all

netstat -aunt
There should be a result similar to:

Code: Select all

tcp             0                 0   0.0.0.0:5667               0.0.0.0:*            LISTEN
please respond with results when possible.

Thanks!
Rene deDon
Technical Team
___
Nagios Enterprises, LLC
Web: http://www.nagios.com
josh.rodriguez
Posts: 6
Joined: Fri Jan 21, 2011 1:50 pm

Re: Monitoring Windows Event Logs

Post by josh.rodriguez »

Here are the results:

tcp 0 0 0.0.0.0:5667 0.0.0.0:* LISTEN

-Josh
rdedon
Posts: 578
Joined: Sat Nov 20, 2010 4:51 pm

Re: Monitoring Windows Event Logs

Post by rdedon »

Could you run this from a command prompt o the client machine (Windows):

Code: Select all

net stop NagiosEventLog
net start NagiosEventLog
Also restart the Host (Nagios XI) service and see if this helps any.
Rene deDon
Technical Team
___
Nagios Enterprises, LLC
Web: http://www.nagios.com
User avatar
WillemDH
Posts: 2320
Joined: Wed Mar 20, 2013 5:49 am
Location: Ghent
Contact:

Re: Monitoring Windows Event Logs

Post by WillemDH »

Hello,

I have the same iisue as Josh. When trying to test the NCSA daemon, I get Error: Could not connect to host (ip address Nagios XI server) on port 5667.

When executing netstat -aunt, on of the results is

tcp 0 0 0.0.0.0:5667 0.0.0.0:* LISTEN

the server from whom I try to connect is in the only_from list...

# default: on
# description: NSCA (Nagios Service Check Acceptor)
service nsca
{
flags = REUSE
socket_type = stream
wait = no
user = nagios
group = nagios
server = /usr/local/nagios/bin/nsca
server_args = -c /usr/local/nagios/etc/nsca.cfg --inetd
log_on_failure += USERID
disable = no
only_from = xx.xx.18.70 xx.xx.17.27
}

I reall need to get NCSA working. I've restarted the Nagios XI server, the Nagios eventlog service on the server.

Any help is welcome.

Willem
Nagios XI 5.8.1
https://outsideit.net
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Monitoring Windows Event Logs

Post by slansing »

Locking this thread, we will continue working on this in your new thread.
Locked