Nogios xi linux client

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
jcamillo
Posts: 29
Joined: Wed Jan 04, 2012 8:52 am

Re: Nogios xi linux client

Post by jcamillo »

I am getting this when the installation finishes


################################################################################
### ###
grep: /etc/xinetd.d/nrpe: No such file or directory
### NRPE is currently set to allow connections only from these IP addresses: ###
### ###
### ###
### ###
### If you would like to change this list, enter all IP addresses to allow, ###
### separated by spaces only, and then press Enter. ###
### (Put the address(es) of your Nagios XI servers(s) here.) ###
### ###
################################################################################

Allow from: 10.2.40.4
sed: can't read /etc/xinetd.d/nrpe: No such file or directory

Stopping xinetd: [ OK ]
Starting xinetd: [ OK ]
/tmp/linux-nrpe-agent-el4
A-subcomponents appears to have already completed successfully. Moving on to the next step.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Nogios xi linux client

Post by scottwilkerson »

jcamillo wrote:/tmp/linux-nrpe-agent-el4
Again, like I said before it looks like you are using the wrong install file, this one is for centOS 4:
scottwilkerson wrote:For RHEL/CentOS 5-6 (el5 & el6) the install file should be:

Code: Select all

# wget http://assets.nagios.com/downloads/nagiosxi/agents/linux-nrpe-agent.tar.gz
Detailed install instructions may be found here
Installing_The_XI_Linux_Agent
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
jcamillo
Posts: 29
Joined: Wed Jan 04, 2012 8:52 am

Re: Nogios xi linux client

Post by jcamillo »

So for version (gcc version 4.4.4 20100726 (Red Hat 4.4.4-13) (GCC) I should be using install file

For RHEL 4 & CentOS 4 (el4):
# wget http://assets.nagios.com/downloads/nagi ... el4.tar.gz
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Nogios xi linux client

Post by scottwilkerson »

That's the compiler version.
Your Redhat version, I'm guessing is 6 by the kernel you are running contains el6

run:

Code: Select all

cat /etc/redhat-release
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
jcamillo
Posts: 29
Joined: Wed Jan 04, 2012 8:52 am

Re: Nogios xi linux client

Post by jcamillo »

Im still having trouble with some installs. Is there an error log on the client side I can look at?

I am getting - " bash-4.1# /usr/local/nagios/libexec/check_nrpe -H 50.17.70.222
Connection refused by host
-bash-4.1#


Thanks
Joe
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Nogios xi linux client

Post by scottwilkerson »

First I would check to see if to see if nrpe is running on 50.17.70.222

From the terminal on 50.17.70.222

Code: Select all

netstat -at | grep nrpe

Then I would look for any nrpe related errors with

Code: Select all

tail -f /var/log/messages
If all that looks good, I would look at possible firewall/iptables problems.
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
Locked