Compare commits
2 Commits
b4f564cade
...
0f1fbf4fea
Author | SHA1 | Date | |
---|---|---|---|
0f1fbf4fea | |||
ac702380b1 |
@ -8,7 +8,7 @@
|
|||||||
git_repos:
|
git_repos:
|
||||||
- repo: https://git.desu.ltd/salt/monitoring-scripts
|
- repo: https://git.desu.ltd/salt/monitoring-scripts
|
||||||
dest: /usr/local/bin/monitoring-scripts
|
dest: /usr/local/bin/monitoring-scripts
|
||||||
tags: [ nagios ]
|
tags: [ nagios, git ]
|
||||||
tasks:
|
tasks:
|
||||||
- name: assure nagios plugin packages
|
- name: assure nagios plugin packages
|
||||||
apt: name=monitoring-plugins,nagios-plugins-contrib
|
apt: name=monitoring-plugins,nagios-plugins-contrib
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
- name: check_nrpe
|
- name: check_nrpe
|
||||||
command: "$USER1$/check_nrpe -H $HOSTADDRESS$ -c $ARG1$"
|
command: "$USER1$/check_nrpe -H $HOSTADDRESS$ -c $ARG1$"
|
||||||
- name: check_by_ssh
|
- name: check_by_ssh
|
||||||
command: "$USER1$/check_by_ssh -H $HOSTADDRESS$ -F /opt/nagios/etc/ssh_config -q -i /opt/nagios/etc/id_ed25519 -l nagios-checker -C \"$ARG1$\""
|
command: "$USER1$/check_by_ssh -H $HOSTADDRESS$ -F /opt/nagios/etc/ssh_config -t 30 -q -i /opt/nagios/etc/id_ed25519 -l nagios-checker -C \"$ARG1$\""
|
||||||
nagios_services:
|
nagios_services:
|
||||||
# Agentless checks
|
# Agentless checks
|
||||||
- name: HTTP
|
- name: HTTP
|
||||||
|
Loading…
Reference in New Issue
Block a user