Demo zabbix LLD (Low-Level Discov
Demonstrate how to use zabbix LLD (Low-Level Discovery)
2017-3-3
Objective: to illustrate how zabbix lld works with the need to monitor multiple buckets on couchbase.
There are many articles about lld on the Internet. I hope I can write a simple and clear howto to help beginners.
I. preparatory work
1 、 [zabbix-agent]
1) script example
[root@node33 scripts] # cat monitor_couchbase.sh #! / bin/bash##2017/3/3#v1.0.4#PC#echo "[`date`] $1 $2 $3" > / tmp/test.logcb_opts='-c 127.0.1 cat monitor_couchbase.sh 8091-u Administrator-p xxx'curl_opts='-s-u Administrator:xxx http://127.0.0.1:8091/pools/default/buckets'##usage(){ cat