Monitoring of a windows server in DMZ

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
sth_bytelab
Posts: 25
Joined: Thu Aug 25, 2016 1:58 am

Monitoring of a windows server in DMZ

Post by sth_bytelab »

HI

I would like to monitor a windows 2008 server through Nagios. I have installed the NSClient++ on the server and opened up for both port=12489 and 5666 but the only check I can performe is ping.
If a try any other check I get the attached error message.
Do you have any ideas on what to try?

Thank you!
You do not have the required permissions to view the files attached to this post.
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Monitoring of a windows server in DMZ

Post by rkennedy »

From the Windows machine, what is the output of the following?

Code: Select all

netstat -an | findstr 5666
netstat -an | findstr 12489
This will help to see if the server is listening on the ports.

Then, take a look at your nsclient log file, and please post it for us to view.
Former Nagios Employee
sth_bytelab
Posts: 25
Joined: Thu Aug 25, 2016 1:58 am

Re: Monitoring of a windows server in DMZ

Post by sth_bytelab »

Thanks so much for the help!
I have tried to check if the server is listening on the ports using the commands you listed.
Both commands confirmed that the server was listening on both ports.
I have checked the and there appears to be many erros: "Unauthorize access from: 10.0.2.1" - this seems to be the problem.
You do not have the required permissions to view the files attached to this post.
sth_bytelab
Posts: 25
Joined: Thu Aug 25, 2016 1:58 am

Re: Monitoring of a windows server in DMZ

Post by sth_bytelab »

I solved the problem myself - I just had to add an extra allowed host. I seemed that I need to go through an extra host to reach the DMZ server.
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Monitoring of a windows server in DMZ

Post by rkennedy »

Ah! Good to see you got it added and figured out.

Going to close this one out, feel free to make a new thread in the future.
Former Nagios Employee
Locked