icinga2/test/jenkins/logfile.test

11 lines
176 B
Bash
Executable File

#!/bin/sh
if sudo test -f /var/log/icinga2/icinga2.log;
then
echo "[OK] Icinga2 log file found"
exit 0
else
echo "[FAIL] Icinga2 log file not found"
exit 1
fi