
­­­­­­­­­­­­­­­­­­
<!DOCTYPE html>
<html>
#!/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
