Page 1 of 2

[SOLVED] SNMP or Agents? NRPE problem

Posted: Wed May 22, 2013 2:03 am
by keane1981
Good morning eveyone,

I am new in the forum and also in the nagios world. I installed nagios core in a ubuntu 12.04 and now is running and working with esxi and windows servers.
But I have a lot of problem installing the agent in aix and linux server... Anybody can help me?

During my problem, I thought to work with snmp, but I dont know how to do it, is it easyer?
Any nice howto?

Thanks a lot for your help.
Regards
JL

Re: SNMP or Agents?

Posted: Wed May 22, 2013 11:47 am
by slansing
SNMP will be more difficult by nature, than installing a Agent which does the majority of the work for you. What issues are you running into with the agent? Any specific errors? We can also help guide you with SNMP if that is your choice.

Re: SNMP or Agents?

Posted: Wed May 22, 2013 12:37 pm
by keane1981
Hi slansing,

I am very thankful with your answer, because I was alone against the wind :P
Ok, perfect then, I will forget the snmp, and will try again the agents.

I have a windows monitored correctly and also a esxi, but I tryied with an Ubuntu and I install the nrpe-2.12 but now I dont know the next steps.
I have a folder /etc/nagios with some files, but how to configure that files?

And what perl script I need to check a linux with the nagios?

Thanks for your help!

Re: SNMP or Agents?

Posted: Wed May 22, 2013 12:42 pm
by slansing
What did you follow to download and install NRPE? The steps should be similar to that of these:

http://www.omegaprojex.com/index.php/20 ... on-ubuntu/

Re: SNMP or Agents?

Posted: Wed May 22, 2013 1:00 pm
by keane1981
Done, but I dont have the nrpe plugin in the nagios server, it is also an ubuntu server 12.04

I have the nagios-plugins-1.4.15 and 1.4.16 and did:

./configure
make
make install

but I can not find the chech_nrpe in the /usr/local/nagios/libexec folder...

Thanks!!!

Re: SNMP or Agents?

Posted: Wed May 22, 2013 1:38 pm
by abrist
Try:

Code: Select all

find / -name check_nrpe

Re: SNMP or Agents?

Posted: Wed May 22, 2013 1:41 pm
by slansing
after you have located the check_nrpe plugin itself, read into the following guide, even through you are installing this on Ubuntu the configuration files follow the same syntax:

http://nagios.sourceforge.net/docs/nrpe/NRPE.pdf

I would take a look at the remote host section and verify that you have correctly set the remote server up to be contacted by NRPE.

Re: SNMP or Agents?

Posted: Wed May 22, 2013 2:21 pm
by keane1981
not located..
find / -name check_nrpe
no results

it is very strange... I installed 4.15 and 4.16

any ideas guys?

Thanks!

Re: SNMP or Agents?

Posted: Wed May 22, 2013 3:42 pm
by abrist
Download nrpe and build it for check_nrpe:
http://exchange.nagios.org/directory/Ad ... or/details

Re: SNMP or Agents?

Posted: Thu May 23, 2013 1:55 am
by keane1981
Hi guys!!!

Solved!!!

apt-get install nagios-nrpe-plugin

installed the plugin in /usr/lib/nagios/plugins

Thanks a lot abrist and slansing!!!!

:D