­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ # Salt running check textfile collector (replaces Icinga check_salt_running) # Every 5 minutes, plus 0-299s jitter from /dev/urandom so NTP-synced hosts don't share a clock-seeded delay */5 * * * * root sleep $(od -An -N2 -tu2 /dev/urandom | awk '{print int($1 * 300 / 65536)}'); /usr/bin/flock -n /run/salt-running-textfile.lock sh -c '/etc/node_exporter/textfile_collector_scripts/salt_running_collector.sh > /dev/null 2>&1'