![Stanislaw Bogatkin](/assets/img/avatar_default.png)
Current implementation of memcached and RabbitMQ monitoring in Zabbix is wrong. It doesn't work if we trying to check stats not from separate script. So, that script was created. Change-Id: I2cc11c39c91f485164872c8c8b11ef9d61ce9ae0 Closes-Bug: 1394252
2 lines
158 B
Plaintext
2 lines
158 B
Plaintext
#!/bin/bash
|
|
echo -e "stats\nquit" | nc <%= scope.lookupvar('zabbix::monitoring::memcached_mon::internal_address') %> 11211 | grep "STAT $1" | awk '{print $3}' |