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!
Monitoring of a windows server in DMZ
-
sth_bytelab
- Posts: 25
- Joined: Thu Aug 25, 2016 1:58 am
Monitoring of a windows server in DMZ
You do not have the required permissions to view the files attached to this post.
Re: Monitoring of a windows server in DMZ
From the Windows machine, what is the output of the following?
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.
Code: Select all
netstat -an | findstr 5666
netstat -an | findstr 12489
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
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.
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
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.
Re: Monitoring of a windows server in DMZ
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.
Going to close this one out, feel free to make a new thread in the future.
Former Nagios Employee