Can you ping from other machines in the same subnet? Do you have iptables running on the machine and is icmp allowed? Post the output of `iptables-save` if you cannot solve this yourself. [by TrevorH]
How do I install the nagios NRPE plugin on CentOS 5 using yum?
I've tried yum install nagios-plugins but it's only downloading a fraction of a megabyte. Then if I do a search for one of the commands that was supposed to be installed, like check_users nothing comes up.
I have a Nagios machine which monitors many linux\windows servers.
I started working here about a week ago and got a task to make order in the Nagios.
As part of my order i had to add 2 more linux servers to the Nagios.
I've installed nagios-plugins and nrpe on both machines, in addition, i've verified that port 5666 is opened and listening on both servers and i can see nrpe running in ps -aux |gr
Hi Folks,
Could anyone please point me to the right direction as I have spent so much time on this without luck. :wall:
I have installed Bind on my CentOS 5 server for internal network.
Im getting the same old "Unable to read output" message from this NRPE test. I can run other tests on this machine and I can su - nagios -c "<path to check_aacraid>" when running locally and it works.
Looking at /var/log/messages shows that the process is opened and started - it just doesn't seem to give back any message(s) that NRPE can digest.
What else can I use to debug this?
This iptables script:
#!/bin/sh
service iptables stop
iptables -F
iptables -P INPUT DROP
iptables -P OUTPUT ACCEPT
iptables -P FORWARD DROP
iptables -A INPUT -i lo -j ACCEPT
iptables -A INPUT -p tcp -m multiport --dports 22,80,443 -m state --state NEW,ESTABLISHED -j ACCEPT
service iptables save
service iptables restart
works as expected on a Centos 6.3 server (provided by VPSBlocks.com.au) but
Did you open the correct ports in the iptables firewall on the Linux machine? If you changed the host file entry on the Windows machine to point "centos-1" to a different IP address then ... [by TrevorH]
I have a Linux server and the default INPUT actions is DROP.
OUTPUT and FORWARD are both ACCEPT.
Which rule do I have to add to enabled the machine to establish an FTP session as FTP client.
The server is not an FTP-server.
I would like to modify the iptables on my CentOS 5.8 server so that only specific ips can connect to the machine on a specific port.
Currently, I have the following in my iptables file:
-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 5000 -j ACCEPT
How would I modify that line if I wanted to allow access for only ips 1.1.1.1 and 1.1.1.2 for instance?