NRPE agent firewall error during installion on RHEL 6.6

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
hanson14
Posts: 1
Joined: Wed Feb 28, 2018 1:57 pm

NRPE agent firewall error during installion on RHEL 6.6

Post by hanson14 »

During NRPE agent (linux-nrpe-agent.tar.gz) installation on a linux client (running RHEL 6.6), the installation failed with the error:

.
.
.
Running './4-firewall'...
iptables: No chain/target/match by that name.
RESULT=1

I looked in the install log, and it did not provide any additional information.

Install steps included below...

tar xzf linux-nrpe-agent.tar.gz
cd linux-nrpe-agent
./fullinstall

The linux machine is on a closed network, with no access to open internet. It does have access to a valid Linux 6 EPEL.

Any help is appreciated.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: NRPE agent firewall error during installion on RHEL 6.6

Post by scottwilkerson »

Can you attach the full install.log from the installation directory
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: NRPE agent firewall error during installion on RHEL 6.6

Post by scottwilkerson »

Actually if you do not need to configure firewall or iptables you can probably just run this in the installation directory

Code: Select all

touch installed.firewall
./fullinstall
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: NRPE agent firewall error during installion on RHEL 6.6

Post by cdienger »

The commands it runs are:

iptables -L | awk '/^Chain.*INPUT/ {print $2; exit(0)}
iptables -L $CHAIN | wc -l
iptables -I "$CHAIN" "$RULENUM" -m state --state NEW -m tcp -p tcp --dport "5666" -j ACCEPT


Where $CHAIN is the result of the first command and $RULENUM is the output of the second command minus 2. What is the output of these commands if you run them manually? Also, does "iptables -L" show an INPUT table?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked