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.
Nogios xi linux client
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
Re: Nogios xi linux client
Again, like I said before it looks like you are using the wrong install file, this one is for centOS 4:jcamillo wrote:/tmp/linux-nrpe-agent-el4
scottwilkerson wrote:For RHEL/CentOS 5-6 (el5 & el6) the install file should be:Detailed install instructions may be found hereCode: Select all
# wget http://assets.nagios.com/downloads/nagiosxi/agents/linux-nrpe-agent.tar.gz
Installing_The_xi_Linux_Agent
-
- Posts: 29
- Joined: Wed Jan 04, 2012 8:52 am
Re: Nogios xi linux client
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
For RHEL 4 & CentOS 4 (el4):
# wget http://assets.nagios.com/downloads/nagi ... el4.tar.gz
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
Re: Nogios xi linux client
That's the compiler version.
Your Redhat version, I'm guessing is 6 by the kernel you are running contains el6
run:
Your Redhat version, I'm guessing is 6 by the kernel you are running contains el6
run:
Code: Select all
cat /etc/redhat-release
-
- Posts: 29
- Joined: Wed Jan 04, 2012 8:52 am
Re: Nogios xi linux client
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
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
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
Re: Nogios xi linux client
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
Then I would look for any nrpe related errors with
If all that looks good, I would look at possible firewall/iptables problems.
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