Remove SSH from Nagios
This commit is contained in:
parent
4d59231fb0
commit
b6dc8629f9
@ -202,8 +202,6 @@ nagios_commands:
|
|||||||
- name: notify-service-by-matrix
|
- name: notify-service-by-matrix
|
||||||
command: "/usr/bin/printf \"%b\" \"$NOTIFICATIONTYPE$\\nService $HOSTALIAS$ - $SERVICEDESC$ is $SERVICESTATE$\\nInfo: $SERVICEOUTPUT$\\nDate/Time: $LONGDATETIME$\" | /opt/Custom-Nagios-Plugins/notify-by-matrix"
|
command: "/usr/bin/printf \"%b\" \"$NOTIFICATIONTYPE$\\nService $HOSTALIAS$ - $SERVICEDESC$ is $SERVICESTATE$\\nInfo: $SERVICEOUTPUT$\\nDate/Time: $LONGDATETIME$\" | /opt/Custom-Nagios-Plugins/notify-by-matrix"
|
||||||
nagios_services:
|
nagios_services:
|
||||||
- name: SSH
|
|
||||||
command: check_ssh
|
|
||||||
# check_by_ssh checks
|
# check_by_ssh checks
|
||||||
- name: Last Ansible Play
|
- name: Last Ansible Play
|
||||||
command: check_by_ssh!/usr/local/bin/monitoring-scripts/check_file_age /var/lib/ansible-last-run -w 432000 -c 604800
|
command: check_by_ssh!/usr/local/bin/monitoring-scripts/check_file_age /var/lib/ansible-last-run -w 432000 -c 604800
|
||||||
|
Loading…
Reference in New Issue
Block a user