Difference between revisions of "Nagios Information"
Jump to navigation
Jump to search
Line 3: | Line 3: | ||
But please note that you have to care about configuration by yourself. The appliance does not offer automatic configuration or any user interface. The company environments are very different and mostly unique, so some predefined configuration makes no sense. Please configure nrpe and NAGIOS modules the common way. | But please note that you have to care about configuration by yourself. The appliance does not offer automatic configuration or any user interface. The company environments are very different and mostly unique, so some predefined configuration makes no sense. Please configure nrpe and NAGIOS modules the common way. | ||
− | == Allow NRPE in firewall == | + | == Allow NRPE in appliance firewall == |
In order to add a firewall rule for allowing NRPE module to become accessed, please edit '''/etc/sysconfig/iptables''' (diff notation below): | In order to add a firewall rule for allowing NRPE module to become accessed, please edit '''/etc/sysconfig/iptables''' (diff notation below): | ||
Latest revision as of 11:06, 31 January 2019
Both the regify provider appliance and the regigate appliance containing the most common NAGIOS modules. Nrpe packet is also available.
But please note that you have to care about configuration by yourself. The appliance does not offer automatic configuration or any user interface. The company environments are very different and mostly unique, so some predefined configuration makes no sense. Please configure nrpe and NAGIOS modules the common way.
Allow NRPE in appliance firewall
In order to add a firewall rule for allowing NRPE module to become accessed, please edit /etc/sysconfig/iptables (diff notation below):
-A INPUT -i lo -j ACCEPT +-A INPUT -m state --state NEW -s <NAGIOS SRC IP> -m tcp -p tcp --dport 5666 -j ACCEPT
To take over the changes, run
systemctl restart iptables
Edit NRPE configuration
Edit /etc/nagios/nrpe.cfg to your hearts content.
Permanently enable NRPE service
systemctl enable nrpe systemctl start nrpe