Nagios Information

From regify WIKI
Jump to navigation Jump to search

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