1 Click Install Nagios for Managed Service
DISCLAIMER : This script only supported for Centos Linux.
Table of Contents
1 Click install for Managed Service cPanel
You just need to run :
wget http://s3.seravee.dob.jp/install_managed_cpanel; sh install_managed_cpanel
And wait for installation to be done.
After that, update cpu core on nrpe.cfg.
lscpu | grep -i 'cpu(s):'
Then update file nrpe.cfg under section command[check_load]
vi /usr/local/nagios/etc/nrpe.cfg
See below part how do you fill command[check_load].
1 Click install for Managed Service Plesk
wget http://s3.seravee.dob.jp/install_managed_plesk_centos; sh install_managed_plesk_centos
And wait for installation to be done.
After that, update cpu core on nrpe.cfg.
lscpu | grep -i 'cpu(s):'
Then update file nrpe.cfg under section command[check_load]
vi /usr/local/nagios/etc/nrpe.cfg
See below part how do you fill command[check_load].
How you define warning / critical command[check_load]
-w define warning, and -c define critical on config nagios.
- If processor had 1 vCPU, then set warning 3, 2, 1 and set critical 4,3,2
- If processor had 2 vCPU, then set warning 4, 3, 2 and set critical 5,4,3
- If processor had 3 vCPU, then set warning 5, 4, 3 and set critical 6,5,4
- If processor had 4 vCPU, then set warning 6, 5, 4 and set critical 7,6,5
- If processor had 5 vCPU, then set warning 7, 6, 5 and set critical 8,7,6
- If processor had 6 vCPU, then set warning 8, 7, 6 and set critical 9,8,7
- and so on

