How to Add MAS Management Signetique Nagios Monitoring
This tutorial only applied for Signetique Nagios Monitoring.
Ex: Hostname: vps2.server.com; IP: 103.53.172.69; Type: VPS Linux
A. Install Nagios Plugin First to the Customer VPS
– If its VPS Linux: https://server-reports.id/install-nagios-plugin-on-linux-server/
– If its VPS Windows: https://server-reports.id/install-nagios-plugin-on-windows-server/
B. Add the server to Nagios Server
1) Login to Nagios Server
2) Open this file
# vi /usr/local/nagios/etc/signetique/103.53.172.cfg
3) In the bottom of file, add following lines
define host {
use linux-server
host_name SIT-LIN-VPS:vps2.server.com
address 103.53.172. 69
}
4) Close file and restart nagios
C. Add the server to monitoring the service
1) Login to Nagios Server
2) Open this file
# vi /usr/local/nagios/etc/hostgroup.cfg
3) Find the following section to add server based on type.
– If its VPS Linux Pro/VIP Management, then you can add under this section
define hostgroup
hostgroup_name exaid-promanagement-linux
alias ExaID Pro Management Linux
members EXAID-LIN-VPS:vps1.server.com
}
– If its VPS Windows Pro/VIP Management, then you can add under this section
define hostgroup
hostgroup_name exaid-promanagement-windows
alias ExaID Pro Management Linux
members EXAID-WIN-VPS:vps1.server.com
}
4) Close file and restart nagios
D. Final Check
Please see the server whether its already shown on Nagios or not http://103.26.40.132/nagios
If the server is used for mail service, then we have to add monitoring queue:
https://server-reports.id/nagios-monitoring-email-queue/
Each VPS will have varios function. For example customer only need the VPS for Webserver only. So there will be no pop,imap,or smtp service. But if we checked on Nagios its showing POP, IMAP, SMTP are Critical, then you have to disable it.
1) Login to Nagios Server
2) Open this file
# vi /usr/local/nagios/etc/hostgroup.cfg
3) Find the unused service. For example customer not used POP service, then you can find this section:
define hostgroup{
hostgroup_name pop
alias POP3 Service
hostgroup_members lin_shared,win_shared,win_msa,exa_id,exaid-
members !EXAID-LIN-VPS:vps1.server.com
}
4) Service Nagios Restart
service nagios restart
