Page 1 of 1

Nagios - 2 client installs

Posted: Mon Jul 18, 2016 2:25 pm
by matta785
Hello,
I'm needing a little help. We've used Nagios at our company for a long time for standard server health (which is administrated by our unix/windows server team), however my team does not administrate this system. What my team administrates is all Middleware application servers. I have installed Nagios core on a separate stand along RHEL server, and hoping to test the websphere application server plug in for nagios core. My question is, how can I have it report back to my stand alone nagios server and send out specific alerts while our server has a pre-existing NSClientpp (Nagios) app and service already installed for the standard server health? What I hope to accomplish is get my websphere monitoring reported back to me independent of the already installed application health. The purpose of this, is that the server team's alerts get reported to our Operations for late night calls, and I don't want these alerts going there.

Please let me know. It'd be a big help.
Matt

Re: Nagios - 2 client installs

Posted: Mon Jul 18, 2016 2:42 pm
by rkennedy
I'm guessing your NSClient++ application currently installed, and working with your other Nagios instance has either an allowed hosts / password / certificate defined. You'll need to modify the configuration file on the client machine, so that the allowed hosts also has your standalone server. This will allow the NSClient++ application to communicate with both devices. Depending on your setup, you may need the password in this configuration file as well.

You would then just create the same hosts / services that are on the other machine, and set up notifications accordingly. One option, is if the other team gives you their hosts / service definitions, you should be able to copy them into the new system and save quite a bit of time by not having to reinvent the wheel.

Does this answer your question?

Re: Nagios - 2 client installs

Posted: Mon Jul 18, 2016 3:45 pm
by matta785
Absolutely this helps! Now, to get it to work.

Re: Nagios - 2 client installs

Posted: Mon Jul 18, 2016 3:48 pm
by matta785
what is the name of the configuration file on the client machine you reference?

Re: Nagios - 2 client installs

Posted: Mon Jul 18, 2016 4:07 pm
by rkennedy
Usually nsclient.ini (older versions of NSClient++ will be NSC.ini) located in the C:\Program Files\NSClient++\ directory. (possibly C:\Program Files (x86)\NSClient++\ depending on your architecture.)

Re: Nagios - 2 client installs

Posted: Tue Jul 19, 2016 7:50 am
by matta785
Cheers to you sir. Thanks. I'll report back when I get it functional.

Re: Nagios - 2 client installs

Posted: Tue Jul 19, 2016 9:44 am
by rkennedy
Sounds good - I'll leave this open should you have any questions about it.