hi,
i am writing a module for my servers which run ipvs service, but i have some problems
the module return values like :
{
"data":[
{
"{#IPVSPTL}":"TCP",
"{#IPVSVIP}":"172.16.20.72",
"{#IPVSVPORT}":"80",
"{#IPVSRS}":"10.20.187.48",
"{#IPVSRSPORT}":"80",
"{#IPVSRS}":"10.20.187.47",
"{#IPVSRSPORT}":"80"},
{
"{#IPVSPTL}":"TCP",
"{#IPVSVIP}":"172.16.20.73",
"{#IPVSVPORT}":"80",
"{#IPVSRS}":"10.20.135.197",
"{#IPVSRSPORT}":"80",
"{#IPVSRS}":"10.20.187.47",
"{#IPVSRSPORT}":"80"}]}
but, in Latest data, i only see the first {#IPVSRS} and {#IPVSRSPORT}
anyone know how to deal with? let zabbix_server handle all the key and value({#IPVSRS} and {#IPVSRSPORT}).
sorry for my bad english. thanks
i am writing a module for my servers which run ipvs service, but i have some problems
the module return values like :
{
"data":[
{
"{#IPVSPTL}":"TCP",
"{#IPVSVIP}":"172.16.20.72",
"{#IPVSVPORT}":"80",
"{#IPVSRS}":"10.20.187.48",
"{#IPVSRSPORT}":"80",
"{#IPVSRS}":"10.20.187.47",
"{#IPVSRSPORT}":"80"},
{
"{#IPVSPTL}":"TCP",
"{#IPVSVIP}":"172.16.20.73",
"{#IPVSVPORT}":"80",
"{#IPVSRS}":"10.20.135.197",
"{#IPVSRSPORT}":"80",
"{#IPVSRS}":"10.20.187.47",
"{#IPVSRSPORT}":"80"}]}
but, in Latest data, i only see the first {#IPVSRS} and {#IPVSRSPORT}
anyone know how to deal with? let zabbix_server handle all the key and value({#IPVSRS} and {#IPVSRSPORT}).
sorry for my bad english. thanks
Comment