drop multiple hosts with wildcard
list Kris Springer
Tue, 22 Jan 2019 10:57:44 -0700
Message-Id: <user-5b6892187bd0@xymon.invalid>
Is there a way to drop all host data for multiple hosts using a wildcard? I know how to drop a single host and erase it's data, but I have a long list of IP Cameras that I changed in my hosts file and instead of dropping each individual hostname I'd like to drop all hosts that start with 'Cam'. I attempted this but it didn't remove anything.
./xymon 127.0.0.1 "drop Cam*"
--
Kris Springer