Toto je starší verze dokumentu!


Nagios in CentOS

NRPE

Add sources containing nagios packages:

yum install epel-release

Install NRPE and the plugins that is required to add the services via the function „Add UNIX client services“ when adding a new host in the configuration UI in op5 Monitor

yum install nrpe nagios-plugins-users nagios-plugins-load nagios-plugins-swap nagios-plugins-disk nagios-plugins-procs

Create custom configuration as .cnf file at /etc/nrpe.d/

allowed_hosts=127.0.0.1,10.0.0.10

Restart the nrpe agent on the host, and make sure that nrpe is started at boot: CentOS/RHEL 6:

service nrpe restart
chkconfig nrpe on

CentOS/RHEL 7:

systemctl restart nrpe
systemctl enable nrpe
If the host is behind a firewall, or you have enabled firewall software on the host, you need to open for incoming traffic on TCP port 5666.

Nagios plugins are located at /usr/lib64/nagios/plugins/ folder.

Source

linux/centos/nagios.1469627917.txt.gz · Poslední úprava: 27.07.2016 15:58 autor: vm

Nástroje pro stránku