Nagios 監控MSQL 服務是否正常啟動,設定如下(藍色字體部分)
define service{
host_name XXXXX
max_check_attempts 5
notification_interval 30
notification_period 24×7
service_description Sql State
check_command check_nt!SERVICESTATE!-d SHOWALL -l MSSQLSERVER
}
本篇瀏覽人數: 2323