nagios-nrpe: switch to echo (printf problem with % chars)
Ansible Lint |Total|New|Outstanding|Fixed|Trend
|:-:|:-:|:-:|:-:|:-:
|2788|8|2780|5|:-1:
Reference build: <a href="https://jenkins.evolix.org/job/gitea/job/ansible-roles/job/unstable/256//ansiblelint">Evolix » ansible-roles » unstable #256</a>
Details
gitea/ansible-roles/pipeline/head This commit looks good
Details
Ansible Lint |Total|New|Outstanding|Fixed|Trend
|:-:|:-:|:-:|:-:|:-:
|2788|8|2780|5|:-1:
Reference build: <a href="https://jenkins.evolix.org/job/gitea/job/ansible-roles/job/unstable/256//ansiblelint">Evolix » ansible-roles » unstable #256</a>
Details
gitea/ansible-roles/pipeline/head This commit looks good
Details
This commit is contained in:
parent
5563b4f8f2
commit
9ff615f19a
|
@ -7,10 +7,11 @@ fi
|
|||
|
||||
if [ -r /etc/nagios/nrpe.d/evolix.cfg ]; then
|
||||
command=$(grep "check_$1" /etc/nagios/nrpe.d/evolix.cfg | tail -n1 | cut -d'=' -f2-)
|
||||
printf "Command:\n $command\n"
|
||||
echo "Command:"
|
||||
echo " $command"
|
||||
fi
|
||||
|
||||
printf "NRPE daemon output:"
|
||||
echo "NRPE daemon output:"
|
||||
/usr/lib/nagios/plugins/check_nrpe -H 127.0.0.1 -c "check_$1"
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue