Page 2 of 2

Re: How to monitor host's connections?!

Posted: Mon Aug 26, 2013 9:34 am
by xpertech
slansing wrote:It is a local plugin, however it would be called by NRPE through NSClient++ to run the plugin and return the total connections to the XI server. Is that the logic you are looking for?
Yes, that's the logic, if connections over a number, then warning.
We had tried check_connections using check_by_SSH but without success (actually there's an authentication issue when working with Windows Server).

Re: How to monitor host's connections?!

Posted: Mon Aug 26, 2013 10:17 am
by sreinhardt
Windows servers do not have SSH. This is not an option when connecting to any windows machine. You will need to use nsclient with check_nt or nrpe for active checks, or nrds\nsca if you wish to do passive checking. However, that plugin provided likely should do what you are looking for.

Re: How to monitor host's connections?!

Posted: Mon Aug 26, 2013 12:16 pm
by xpertech
sreinhardt wrote:Windows servers do not have SSH. This is not an option when connecting to any windows machine. You will need to use nsclient with check_nt or nrpe for active checks, or nrds\nsca if you wish to do passive checking. However, that plugin provided likely should do what you are looking for.
We just setup NSClient++ on Windows and test from NagiosXI, (./check_nrpe -H x.x.x.x and got "seem to be doing fine"),
what's the next step on NagiosXI using check_connections plugin to monitor Windows Server's established connections? and warn if connections over a number?
Could you describe more details, thanks a lot!

Re: How to monitor host's connections?!

Posted: Mon Aug 26, 2013 12:32 pm
by slansing
Next, you must add an external command handler to the nsclient's nsc.ini file as the External Scripts section shows here:

http://www.nsclient.org/nscp/wiki/Check ... figuration

What version of NSclient++ did you install?

Re: How to monitor host's connections?!

Posted: Tue Sep 03, 2013 11:58 am
by xpertech
Now it works, thanks!!