Currently I am having problems with nagios gaining access to be able to retrieve service updates from workstations. Currently I have a workstation setup so that it will send CPU Usage, Disk Usage, Memory Usage, ect. The problem is is that nagios says "Connection Refused", When I attempt to reconfigure a particular workstation I receive the message "Configuration Verification failed". For some reason nagios cannot connect to any workstations. This is all in an internal network so no ports needs to be opened, NSClient++ is installed and windows firewall is turned off. I'm not sure what I might be missing.
Any help would be appreciated.
Thanks!
Configuration Help
Re: Configuration Help
Lets start by checking the ports from the XI server. On the XI server:
If it is closed, check to make sure that the service is running on the windows box.
If it is filtered, a network device is firewalling access to port 12489.
If it is open, move on to checking your password. On the XI server:
If you get the version back, then everything is working and the problem lies in your NSClient configuration file or the check configuration on the XI server.
Code: Select all
nmap <ip of remote windows host> -p 12489If it is filtered, a network device is firewalling access to port 12489.
If it is open, move on to checking your password. On the XI server:
Code: Select all
/usr/local/nagios/libexec/check_nt -H <ip of windows server> -s "<password>" -p 12489 -v CLIENTVERSIONFormer Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Re: Configuration Help
I've attempted opening ports on both the windows machine and the nagios server, but It keeps saying that port 12489 is closed, I also did it on my sonicwall/firewall just incase and no go.
/usr/local/nagios/libexec/check_nt -H <ip of windows server> -s "<password>" -p 12489 -v CLIENTVERSION #This command returns back "Could not fetch information from server"
Is there something else I should be doing? NSClient++ is a running service.
/usr/local/nagios/libexec/check_nt -H <ip of windows server> -s "<password>" -p 12489 -v CLIENTVERSION #This command returns back "Could not fetch information from server"
Is there something else I should be doing? NSClient++ is a running service.
Re: Configuration Help
Make sure that the NSClient++ service is running first. Next, run the following command on your nagios server and show the output (hide sensitive info):
Code: Select all
nmap <ip of remote windows host> -p 12489Be sure to check out our Knowledgebase for helpful articles and solutions!