Need plugin information

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
User avatar
CGraham
Posts: 115
Joined: Tue Aug 16, 2011 2:43 pm

Re: Need plugin information

Post by CGraham »

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

Post by scottwilkerson »

thx CGraham
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
ravish78
Posts: 269
Joined: Wed Mar 14, 2012 9:50 am

Re: Need plugin information

Post by ravish78 »

attached
You do not have the required permissions to view the files attached to this post.
yancy
Posts: 523
Joined: Thu Oct 06, 2011 10:12 am

Re: Need plugin information

Post by yancy »

ravish78,

uncomment NRPEListener.dll

Code: Select all

[modules]

NSClientListener.dll
FileLogger.dll
CheckSystem.dll
CheckDisk.dll
NRPEListener.dll
also enable ssl under the [nrpe] section

Code: Select all

 use_ssl=1 
next restart service and see if nrpe can connect

Code: Select all

 ./check_nrpe -H 13.129.109.69 
-Yancy
ravish78
Posts: 269
Joined: Wed Mar 14, 2012 9:50 am

Re: Need plugin information

Post by ravish78 »

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)
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Need plugin information

Post by slansing »

I just want to verify you are using a "NSC.INI" file and not trying to use a "NSC.TXT" file.
User avatar
CGraham
Posts: 115
Joined: Tue Aug 16, 2011 2:43 pm

Re: Need plugin information

Post by CGraham »

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.
User avatar
lmiltchev
Former Nagios Staff
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Need plugin information

Post by lmiltchev »

To CGraham:
;# NSCLIENT PORT NUMBER
; This is the port the NSClientListener.dll will listen to.
port=5666 <---- This should be 12489
Nice catch! :)

To ravish78:

Let us know if CGraham's suggestion fixed your issue.
Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
CGraham
Posts: 115
Joined: Tue Aug 16, 2011 2:43 pm

Re: Need plugin information

Post by CGraham »

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.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Need plugin information

Post by abrist »

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.
Locked