Edit file File name : check_a2_dnsdist_proc.sh Content :#!/bin/bash pid=$(pidof dnsdist) if [ -z "$pid" ]; then echo "dnsdist_proc - CRIT - Unable to find the PID of dnsdist" exit 2 else echo "dnsdist_proc - OK - dnsdist is running via pid $pid" exit 0 fi Save