NagiosXI - Checking specific ports.

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
epx998
Posts: 31
Joined: Mon Nov 21, 2011 3:51 pm

NagiosXI - Checking specific ports.

Post by epx998 »

I am running a proof of concept instance for NagiosXI before we decide to purchase the licenses and I have a couple questions;

1. In the NRPE linux host wizard, I see a limited number of additional process fields that can be entered, is there a way to add more than just what has an open field?

2. Can process options be specifics, if one process is running multiple instances and has a different option defined for each instance?

Thanks for any information.

Cheers!
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: NagiosXI - Checking specific ports.

Post by lmiltchev »

1.You can run the Linux Monitoring Wizard, fill in all of the available fields under "Processes" and then rerun the wizard (and add more processes). The key is NOT to change the name of the host. The wizard will keep the old services and will add the new ones.

2. You can monitor multiple instances of a process if you can somehow ID this instance (in theory anyways). You can search the Nagios Exchange for plugins that can provide you with this functionality. I was able to find only some plugins for Windows, but not for Linux:

http://exchange.nagios.org/directory/Pl ... /Processes

Can you give us a specific example of what you would like to accomplish?
Be sure to check out our Knowledgebase for helpful articles and solutions!
epx998
Posts: 31
Joined: Mon Nov 21, 2011 3:51 pm

Re: NagiosXI - Checking specific ports.

Post by epx998 »

Thanks for the quick response.

Here is an example of what I am trying to do;

myprocess /usr/local/myapp/blah/conf
myprocess /usr/local/myapp/blah2/conf

Basically, we will have multiple instances of the same binary specifying paths to different conf files. We want to monitor each process seperately, but will Nagios just see it as one process?
User avatar
nscott
Posts: 1040
Joined: Wed May 11, 2011 8:54 am

Re: NagiosXI - Checking specific ports.

Post by nscott »

epx,

Unfortunately the wizard will not behave the way you describe. However, that doesn't mean Nagios can't do it. What you can do is use some plugin found on the exchange (a quick search for check_proc yielded http://exchange.nagios.org/directory/Pl ... ep/details ) and use that to monitor your process. Its supposed to be a drop in replacement for the older check_proc.

So, to sum it up, that's not available in the wizard, but is definitely doable by using a plugin, it will take a little configuration. Consult the following docs for help on setting up additional plugins:

http://assets.nagios.com/downloads/nagi ... lugins.pdf

And if you're using NRPE consult page 13 of this doc:

http://nagios.sourceforge.net/docs/nrpe/NRPE.pdf
Nicholas Scott
Former Nagios employee
epx998
Posts: 31
Joined: Mon Nov 21, 2011 3:51 pm

Re: NagiosXI - Checking specific ports.

Post by epx998 »

Found out the guys who configured NRPE previously customized nrpe.cfg quite a bit. The wizards dn't even work. I am having to manually change all the arguments myself. I found that chec_procs will do what I need it too. Not sure I will be able to add any third party plugins. I will look at the ones you linked, thanks for the help.
Locked