vi /etc/nagios-plugins/config/http.cfg
Там добавляем:
define command {
command_name check_https_vdsmanager
command_line /usr/lib/nagios/plugins/check_http --ssl -H '$HOSTNAME$' -I '$HOSTADDRESS$' -u manager/vdsmgr
}
Теперь корректируем наш сервис:
define service {
hostgroup_name vznodes
service_description HTTPS ISPManager
check_command check_https_vdsmanager
use generic-service
notification_interval 0 ; set > 0 if you want to be renotified
}
Ну вот как-то так :)
No comments :
Post a Comment
Note: only a member of this blog may post a comment.