Thanks in advanace and help or tips is highly appreciated!
Connection Refused?
-
Thinkipsys
- Posts: 1
- Joined: Fri Jul 23, 2010 1:38 pm
Connection Refused?
Hello everyone, i m trying out Nagios Xi for the first time and i got everything up and running except that the workstation i m trying to monitor says connection refused for all the services such as cpu and memory usage. i m running Centos os on VM ware and i used the deployment wizard and installed the agent on the workstation. i searched the forums and web but havent found any usefull information.
Thanks in advanace and help or tips is highly appreciated!
Thanks in advanace and help or tips is highly appreciated!
Re: Connection Refused?
You will need to configure the NRPE config file for your host. You need to add the IP address that is being rejected(should be the one for the NagiosXI server).
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: Connection Refused?
This works for me.
Edit
C:\Program Files\NSClient++\NSC.ini
Add this to the very begining of the file:
The scroll down to the [Settings] section.
If the IP address of your Nagios XI server is 192.168.1.1 then add the following line to the Settings section:
allowed_hosts=192.168.1.1
Save and close the NSC.ini file.
Restart the NSClient++ service (sometime can show up as NSClientpp)
All should work OK.
You can copy this NSC.ini file to each new host you install NSClient on.
If this does not work then it may be a Windows firewall issue. Temporarily turn off the Windows firewall and test again.
By default, the following ports are used by NSClient++:
12489 = check_nt command
5666 = check_nrpe command
I hope this helps sort your problem out.
Edit
C:\Program Files\NSClient++\NSC.ini
Add this to the very begining of the file:
Code: Select all
[modules]
NRPEListener.dll
NSClientListener.dll
NSCAAgent.dll
CheckWMI.dll
FileLogger.dll
CheckSystem.dll
CheckDisk.dll
CheckEventLog.dll
CheckHelpers.dllIf the IP address of your Nagios XI server is 192.168.1.1 then add the following line to the Settings section:
allowed_hosts=192.168.1.1
Save and close the NSC.ini file.
Restart the NSClient++ service (sometime can show up as NSClientpp)
All should work OK.
You can copy this NSC.ini file to each new host you install NSClient on.
If this does not work then it may be a Windows firewall issue. Temporarily turn off the Windows firewall and test again.
By default, the following ports are used by NSClient++:
12489 = check_nt command
5666 = check_nrpe command
I hope this helps sort your problem out.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.