Open p3cb opened 7 years ago
I've try your template and item does net show in zabbix so I try to run zabbix_agentd -p to debug and got this error:
collectd-libvirt.cpu [t|Invalid id "undef". ERROR: Command failed!] collectd-libvirt.disk-ops-read [t|Invalid id "OPS-READ". ERROR: Command failed!] collectd-libvirt.disk-ops-write [t|Invalid id "OPS-WRITE". ERROR: Command failed!] collectd-libvirt.disk-oct-read [t|Invalid id "OCT-READ". ERROR: Command failed!] collectd-libvirt.disk-oct-write [t|Invalid id "OCT-WRITE". ERROR: Command failed!] collectd-libvirt.net-packets-rx [t|Invalid id "NET-PACKETS-RX". ERROR: Command failed!] collectd-libvirt.net-packets-tx [t|Invalid id "NET-PACKETS-TX". ERROR: Command failed!] collectd-libvirt.net-octets-rx [t|Invalid id "NET-OCTETS-RX". ERROR: Command failed!] collectd-libvirt.net-octets-tx [t|Invalid id "NET-OCTETS-TX". ERROR: Command failed!]
collectd-libvirt.cpu [t|Invalid id "undef". ERROR: Command failed!]
collectd-libvirt.disk-ops-read [t|Invalid id "OPS-READ". ERROR: Command failed!] collectd-libvirt.disk-ops-write [t|Invalid id "OPS-WRITE". ERROR: Command failed!] collectd-libvirt.disk-oct-read [t|Invalid id "OCT-READ". ERROR: Command failed!] collectd-libvirt.disk-oct-write [t|Invalid id "OCT-WRITE". ERROR: Command failed!]
collectd-libvirt.net-packets-rx [t|Invalid id "NET-PACKETS-RX". ERROR: Command failed!] collectd-libvirt.net-packets-tx [t|Invalid id "NET-PACKETS-TX". ERROR: Command failed!] collectd-libvirt.net-octets-rx [t|Invalid id "NET-OCTETS-RX". ERROR: Command failed!] collectd-libvirt.net-octets-tx [t|Invalid id "NET-OCTETS-TX". ERROR: Command failed!]
But the discovery run okay,
collectd-libvirt.cpu.discovery [t|{ "data":[ { "{#NAME}":"instance-00000726-virt_cpu_total" } , { "{#NAME}":"instance-00000731-virt_cpu_total" } , { "{#NAME}":"instance-00000737-virt_cpu_total" } , { "{#NAME}":"instance-00000739-virt_cpu_total" } , { "{#NAME}":"instance-0000073b-virt_cpu_total" } , { "{#NAME}":"instance-0000073d-virt_cpu_total" } , { "{#NAME}":"instance-00000743-virt_cpu_total" } , { "{#NAME}":"instance-00000747-virt_cpu_total" } , { "{#NAME}":"instance-00000749-virt_cpu_total" } , { "{#NAME}":"instance-0000074b-virt_cpu_total" } , { "{#NAME}":"instance-0000074d-virt_cpu_total" } , { "{#NAME}":"instance-00000751-virt_cpu_total" } , { "{#NAME}":"instance-00000754-virt_cpu_total" } , { "{#NAME}":"instance-00000755-virt_cpu_total" } , { "{#NAME}":"instance-00000756-virt_cpu_total" } , { "{#NAME}":"instance-00000759-virt_cpu_total" } , { "{#NAME}":"instance-0000075a-virt_cpu_total" } , { "{#NAME}":"instance-0000075d-virt_cpu_total" } , { "{#NAME}":"instance-00000760-virt_cpu_total" } , { "{#NAME}":"instance-00000766-virt_cpu_total" } , { "{#NAME}":"instance-00000769-virt_cpu_total" } , { "{#NAME}":"instance-0000076b-virt_cpu_total" } , { "{#NAME}":"instance-0000076e-virt_cpu_total" } , { "{#NAME}":"instance-000008f1-virt_cpu_total" } , { "{#NAME}":"instance-000008f7-virt_cpu_total" } , { "{#NAME}":"instance-00000903-virt_cpu_total" } , { "{#NAME}":"instance-0000091c-virt_cpu_total" } , { "{#NAME}":"instance-00000924-virt_cpu_total" } , { "{#NAME}":"instance-0000094d-virt_cpu_total" } , { "{#NAME}":"instance-00000956-virt_cpu_total" } , { "{#NAME}":"instance-000009c5-virt_cpu_total" } , { "{#NAME}":"instance-00000a27-virt_cpu_total" } , { "{#NAME}":"instance-00000a46-virt_cpu_total" } , { "{#NAME}":"instance-00000a67-virt_cpu_total" } , { "{#NAME}":"instance-00000aa7-virt_cpu_total" } , { "{#NAME}":"instance-00000abd-virt_cpu_total" } , { "{#NAME}":"instance-00000b50-virt_cpu_total" } , { "{#NAME}":"instance-00000b56-virt_cpu_total" } , { "{#NAME}":"instance-00000bdf-virt_cpu_total" } , { "{#NAME}":"instance-00000bff-virt_cpu_total" } ] }]
collectd-libvirt.cpu.discovery [t|{ "data":[
{ "{#NAME}":"instance-00000726-virt_cpu_total" } , { "{#NAME}":"instance-00000731-virt_cpu_total" } , { "{#NAME}":"instance-00000737-virt_cpu_total" } , { "{#NAME}":"instance-00000739-virt_cpu_total" } , { "{#NAME}":"instance-0000073b-virt_cpu_total" } , { "{#NAME}":"instance-0000073d-virt_cpu_total" } , { "{#NAME}":"instance-00000743-virt_cpu_total" } , { "{#NAME}":"instance-00000747-virt_cpu_total" } , { "{#NAME}":"instance-00000749-virt_cpu_total" } , { "{#NAME}":"instance-0000074b-virt_cpu_total" } , { "{#NAME}":"instance-0000074d-virt_cpu_total" } , { "{#NAME}":"instance-00000751-virt_cpu_total" } , { "{#NAME}":"instance-00000754-virt_cpu_total" } , { "{#NAME}":"instance-00000755-virt_cpu_total" } , { "{#NAME}":"instance-00000756-virt_cpu_total" } , { "{#NAME}":"instance-00000759-virt_cpu_total" } , { "{#NAME}":"instance-0000075a-virt_cpu_total" } , { "{#NAME}":"instance-0000075d-virt_cpu_total" } , { "{#NAME}":"instance-00000760-virt_cpu_total" } , { "{#NAME}":"instance-00000766-virt_cpu_total" } , { "{#NAME}":"instance-00000769-virt_cpu_total" } , { "{#NAME}":"instance-0000076b-virt_cpu_total" } , { "{#NAME}":"instance-0000076e-virt_cpu_total" } , { "{#NAME}":"instance-000008f1-virt_cpu_total" } , { "{#NAME}":"instance-000008f7-virt_cpu_total" } , { "{#NAME}":"instance-00000903-virt_cpu_total" } , { "{#NAME}":"instance-0000091c-virt_cpu_total" } , { "{#NAME}":"instance-00000924-virt_cpu_total" } , { "{#NAME}":"instance-0000094d-virt_cpu_total" } , { "{#NAME}":"instance-00000956-virt_cpu_total" } , { "{#NAME}":"instance-000009c5-virt_cpu_total" } , { "{#NAME}":"instance-00000a27-virt_cpu_total" } , { "{#NAME}":"instance-00000a46-virt_cpu_total" } , { "{#NAME}":"instance-00000a67-virt_cpu_total" } , { "{#NAME}":"instance-00000aa7-virt_cpu_total" } , { "{#NAME}":"instance-00000abd-virt_cpu_total" } , { "{#NAME}":"instance-00000b50-virt_cpu_total" } , { "{#NAME}":"instance-00000b56-virt_cpu_total" } , { "{#NAME}":"instance-00000bdf-virt_cpu_total" } , { "{#NAME}":"instance-00000bff-virt_cpu_total" } ]
}]
Having the same issue. Has someine solved it by now? Seems to be a Perl syntax mistake or smth. Maybe it is obsolete? GETVAL returns nothing
some has solved it yet? i am facing same issue
I've try your template and item does net show in zabbix so I try to run zabbix_agentd -p to debug and got this error:
But the discovery run okay,