Compare commits

..

2 Commits

Author SHA1 Message Date
0f1fbf4fea Allow 30 second timeouts on check_by_ssh 2021-09-14 17:26:47 -05:00
ac702380b1 Add git to the tags for monitoring-scripts 2021-09-14 17:22:50 -05:00
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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