Unsure if we are using nrpe

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
itIsMrKevin
Posts: 28
Joined: Tue Oct 23, 2012 1:28 pm

Unsure if we are using nrpe

Post by itIsMrKevin »

Hi,

We are running Nagios Core 3.2.3. I would like to add a new system to be monitored by Nagios. I looked over the NRPE.pdf document.
It said to create a nagios user on the remote system. It also said that after you compile and install the plugins that you would have the following directory: /usr/local/nagios

I went on a remote server that is currently monitored by Nagios. The server did not have a "nagios" user.

I then ran "updatedb" on the server and searched for "nagios" on it. Below are the results:
# locate nagios
/etc/selinux/targeted/modules/active/modules/nagios.pp
/etc/selinux/targeted/modules/previous/modules/nagios.pp
/usr/share/doc/apcupsd-3.14.10/examples/nagios_plugin_check_apcupsd.c
/usr/share/doc/selinux-policy-2.4.6/html/services_nagios.html
/usr/share/selinux/targeted/nagios.pp


It does not appear that nrpe is installed on this server. I then checked another of the servers that is currently monitored by Nagios and again there was no "nagios" user. The locate command showed no results for "nrpe" and similar results for "nagios".


1) Is there a way to tell from the Nagios GUI if we are using nrpe to monitor remote systems with Nagios?

2) If not from the GUI, is there any other way I can find out if we are using nrpe to monitor remote systems with Nagios?


Any assistance would be appreciated. Thanks.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Unsure if we are using nrpe

Post by abrist »

itIsMrKevin wrote: 1) Is there a way to tell from the Nagios GUI if we are using nrpe to monitor remote systems with Nagios?
In vanilla nagios core? Not really.
itIsMrKevin wrote:2) If not from the GUI, is there any other way I can find out if we are using nrpe to monitor remote systems with Nagios?
You will need to check the actual object config files on the nagios core server. They are usually located in /usr/local/nagios/etc/objects, but some people customize the location.
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.
itIsMrKevin
Posts: 28
Joined: Tue Oct 23, 2012 1:28 pm

Re: Unsure if we are using nrpe

Post by itIsMrKevin »

Hi abrist,

Thanks for the reply. It turns out we are only using nrpe for one of the servers that Nagios is monitoring.
Thanks.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Unsure if we are using nrpe

Post by abrist »

No problem.
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