On Tue, Jun 23, 2015, at 13:57, Thomas Eckert wrote:
Brothers,
currently I’m building a fronted for the various query-commands that can
be sent to `xymond`. It is still in it’s early stages but I found myself
using it daily already. So others may benefit too.
It’s named `xymonq` (“xymon query”).
Two examples may give a basic idea:
1. Get a list of hosts on page `dc1`:
Traditionally this looks like this:
$ xymon 127.0.0.1 "xymondboard page=dc1 test=info fields=hostname"
With xymonq
$ xymonq -P dc1 -L
2. Get disk information this group of hosts:
$ for my_host in $(xymon 127.0.0.1 "xymondboard page=dc1 test=info fields=hostname"); do
echo “HOST=$my_host"
xymon 127.0.0.1 "xymondlog $my_host.disk"
done
And again the short version with xymonq:
$ xymonq -q clientlog -P dc1 -s df
More information and download here:
http://www.it-eckert.com/software/xymonq/
<http://www.it-eckert.com/software/xymonq/>
Feedback welcome!
This looks really useful. Thanks!!