3d8ae87368
All checks were successful
Ansible Lint |Total|New|Outstanding|Fixed|Trend
|:-:|:-:|:-:|:-:|:-:
|2778|5|2773|8|:+1:
Reference build: <a href="https://jenkins.evolix.org/job/gitea/job/ansible-roles/job/unstable/250//ansiblelint">Evolix » ansible-roles » unstable #250</a>
gitea/ansible-roles/pipeline/head This commit looks good
13 lines
253 B
Bash
Executable file
13 lines
253 B
Bash
Executable file
#!/usr/bin/bash
|
|
|
|
if ! test -f /usr/lib/nagios/plugins/check_nrpe; then
|
|
echo '/usr/lib/nagios/plugins/check_nrpe is missing, please install nagios-nrpe-plugin package.'
|
|
exit 1
|
|
fi
|
|
|
|
|
|
|
|
/usr/lib/nagios/plugins/check_nrpe -H 127.0.0.1 -c "check_$1"
|
|
|
|
|