check_logfiles: 3.7.5.1
[omd.git] / packages / mk-livestatus / lq
blob6e940409d3a4af4583ef397825bd7bfe0abd22c6
1 #!/bin/bash
2 # Send a Livestatusquery and output the result on stdout. Either
3 # specify the query on the command line or send it via standard input.
5 if [ $# -ge 1 ]
6 then
7 echo -e "$@"
8 else
9 cat
10 fi | unixcat ~/tmp/run/live