天天看點

zabbix自動發現腳本實作規則

腳本輸入格式如下,其中每組變量可以一個或者多個,并且都可以在監控項和觸發器中引用。

{

“data”: [

{

“{#FILE}”: “file1”,

“{#COUNT}”: “1”,

“{#COUNT2}”: “11”,

“{#COUNT3}”: “111”

},

{

“{#FILE}”: “file2”,

“{#COUNT}”: “2”,

“{#COUNT2}”: “5567”,

“{#COUNT3}”: “55567”

},

{

“{#FILE}”: “file3”,

“{#COUNT}”: “3”,

“{#COUNT2}”: “5578”,

“{#COUNT3}”: “55578”

}

]

}

繼續閱讀