#!/bin/bash [[ ! -x `which dsh` ]] && echo install clusterit first && exit 1 ./gen-cluster-conf export CLUSTER=cluster.conf echo todo - enable suricata group generation into cluster.conf #echo checking 2200003 #dsh -e -g suricata "sudo grep -v ^# /var/lib/suricata/rules/suricata.rules | grep 2200003 && echo NOK rule is there || echo ok is absent"