Shell Scripts
Make smokeping target file from DNS host file:
awk '{print "++ "$1 "\n" "menu = "$1 "\n" "title = "$1 "\n" "host = "$4 "\n"}' < hosts
Make smokeping target file from DNS host file:
awk '{print "++ "$1 "\n" "menu = "$1 "\n" "title = "$1 "\n" "host = "$4 "\n"}' < hosts