Need plugin information
Re: Need plugin information
He means for you to post your NSC.ini but to obfuscate any information you might deem sensitive.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Need plugin information
thx CGraham
Re: Need plugin information
attached
You do not have the required permissions to view the files attached to this post.
Re: Need plugin information
ravish78,
uncomment NRPEListener.dll
also enable ssl under the [nrpe] section
next restart service and see if nrpe can connect
-Yancy
uncomment NRPEListener.dll
Code: Select all
[modules]
NSClientListener.dll
FileLogger.dll
CheckSystem.dll
CheckDisk.dll
NRPEListener.dll
Code: Select all
use_ssl=1 Code: Select all
./check_nrpe -H 13.129.109.69 Re: Need plugin information
Done below steps as suggested.
Executed below commands on nagios server.
tmproot@usa0300lv846>./check_nrpe -H 13.129.109.69
CHECK_NRPE: Error - Could not complete SSL handshake.
tmproot@usa0300lv846>./check_nrpe -H 13.118.27.40
CHECK_NRPE: Socket timeout after 10 seconds.
Note:
13.129.109.69-nagios server(linux)
13.118.27.40-nagios client (windows)
Executed below commands on nagios server.
tmproot@usa0300lv846>./check_nrpe -H 13.129.109.69
CHECK_NRPE: Error - Could not complete SSL handshake.
tmproot@usa0300lv846>./check_nrpe -H 13.118.27.40
CHECK_NRPE: Socket timeout after 10 seconds.
Note:
13.129.109.69-nagios server(linux)
13.118.27.40-nagios client (windows)
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Need plugin information
I just want to verify you are using a "NSC.INI" file and not trying to use a "NSC.TXT" file.
Re: Need plugin information
I did a diff of your ini file to mine. Here's the differences.
NSClientListener.dll <-- this needs to be uncommented
[NSClient]
;# ALLOWED HOST ADDRESSES
; This is a comma-delimited list of IP address of hosts that are allowed to talk to NSClient deamon.
; If you leave this blank the global version will be used instead.
allowed_hosts=13.129.109.69
;
;# NSCLIENT PORT NUMBER
; This is the port the NSClientListener.dll will listen to.
port=5666 <---- This should be 12489
I think the issue is you have NSClient and NRPE trying to listen on the same port. Uncomment NSClientListener.dll, change the NSClient port to 12489, restart the service and try again.
NSClientListener.dll <-- this needs to be uncommented
[NSClient]
;# ALLOWED HOST ADDRESSES
; This is a comma-delimited list of IP address of hosts that are allowed to talk to NSClient deamon.
; If you leave this blank the global version will be used instead.
allowed_hosts=13.129.109.69
;
;# NSCLIENT PORT NUMBER
; This is the port the NSClientListener.dll will listen to.
port=5666 <---- This should be 12489
I think the issue is you have NSClient and NRPE trying to listen on the same port. Uncomment NSClientListener.dll, change the NSClient port to 12489, restart the service and try again.
Re: Need plugin information
To CGraham:
To ravish78:
Let us know if CGraham's suggestion fixed your issue.
Nice catch!;# NSCLIENT PORT NUMBER
; This is the port the NSClientListener.dll will listen to.
port=5666 <---- This should be 12489
To ravish78:
Let us know if CGraham's suggestion fixed your issue.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Need plugin information
I've verified this on one of my servers. They bind in order, NSClient (check_nt agent) then the NRPE (check_nrpe agent). So your NRPE won't bind if you set them both to the same port.
You do not have the required permissions to view the files attached to this post.
Re: Need plugin information
Eureka! Let us know if changing the port number for nsclient resolves your issues.
Former 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.