Hi All
I have a request from a client to monitor specific RabbitMQ Queues on Linux and alert if these queues breach a certain threshold. I managed to find the query on here to do this on Linux but I am unable to parse this through Orion with the correct format.
My query looks as follow:
sudo rabbitmqctl list_queues | grep -w '.*trackmatic.*' | tr "\t" "," | sed "s/\./_/g" | sed '1d;$d' | awk -F, '{printf "Statistic.%s: %s\n", $1, $2 }'
How would I go about to parse this with a script in Orion using the Linux / Unix Script Monitor
Thank You