Hi,
I'm very brand new user of ZABBIX ('seem to be interesting !)
I found by myself all of my knowledge about Zabbix, but I've a problem I don't find any response :
I use a script to collect counters on a host that don't understand SNMP, and no Zabbix_agent.
BUT, I didn't find any tuto for using this kind of script in LLD !
I've read some examples on using scripts with zabbix_agent, but no examples for a stand-alone, agentless script.
My script return a JSON formated result, as below.
Can anyone help me to set on a Discovery Rule (and Item Proto) based on this ?
The result of the script :
{
"data": [
{ "{#FBINDEX}": 1 , "{#FBVAR}": " ATM_IN ", "{#FBVAL}": " 15897 " },
{ "{#FBINDEX}": 2 , "{#FBVAR}": " ATM_OUT ", "{#FBVAL}": " 1332 " },
{ "{#FBINDEX}": 3 , "{#FBVAR}": " MBR_IN ", "{#FBVAL}": " 4.6 " },
{ "{#FBINDEX}": 4 , "{#FBVAR}": " MBR_OUT ", "{#FBVAL}": " 5.7 " },
...
{ "{#FBINDEX}": 18 , "{#FBVAR}": " SWI_OUT ", "{#FBVAL}": " 0 " }
]
}
Thanks for Help.
SYCO
I'm very brand new user of ZABBIX ('seem to be interesting !)
I found by myself all of my knowledge about Zabbix, but I've a problem I don't find any response :
I use a script to collect counters on a host that don't understand SNMP, and no Zabbix_agent.
BUT, I didn't find any tuto for using this kind of script in LLD !
I've read some examples on using scripts with zabbix_agent, but no examples for a stand-alone, agentless script.
My script return a JSON formated result, as below.
Can anyone help me to set on a Discovery Rule (and Item Proto) based on this ?
The result of the script :
{
"data": [
{ "{#FBINDEX}": 1 , "{#FBVAR}": " ATM_IN ", "{#FBVAL}": " 15897 " },
{ "{#FBINDEX}": 2 , "{#FBVAR}": " ATM_OUT ", "{#FBVAL}": " 1332 " },
{ "{#FBINDEX}": 3 , "{#FBVAR}": " MBR_IN ", "{#FBVAL}": " 4.6 " },
{ "{#FBINDEX}": 4 , "{#FBVAR}": " MBR_OUT ", "{#FBVAL}": " 5.7 " },
...
{ "{#FBINDEX}": 18 , "{#FBVAR}": " SWI_OUT ", "{#FBVAL}": " 0 " }
]
}
Thanks for Help.
SYCO