Hi,
When using the templates "Template App Zabbix Server" and "Template App Zabbix Proxy" without all the different categories of processes running
(e.g. snmp trappers, java pollers, ipmi pollers, vmware collectors) it will give items and triggers in unsupported/unknown state and log errors.
This is because the keys that gets the average busy percent fails if there is no processes running at all (e.g. the key "zabbix[process,java poller,avg,busy]" ).
I have found a workaround for the triggers in unknown state by adding an extra item that checks the number of processes (e.g. key "zabbix[process,java poller,count]" and
add a conditional to the e.g. "Zabbix java poller processes more than 75% busy" so that it now reads similar to this:
I have not found a workaround for the items "Utilization of..." in unsupported state, as the key itself fails when there is no processes.
Perhaps it is possible that the template uses e.g. LLD to first find the number of processes for each category (vmware, java pollers...) and then create items and triggers if number is higher than zero?
Another solution could be to change the keys (zabbix[process,java poller,avg,busy] etc) so they will not get in unsupported state, perhaps by returning -1 or similar if no processes are running.
Any suggestions for a workaround for this is very welcome. It makes it much better if we can get the "noise" from unsupported/disabled items and triggers down in an installation.
Kind regards,
Eirik
When using the templates "Template App Zabbix Server" and "Template App Zabbix Proxy" without all the different categories of processes running
(e.g. snmp trappers, java pollers, ipmi pollers, vmware collectors) it will give items and triggers in unsupported/unknown state and log errors.
This is because the keys that gets the average busy percent fails if there is no processes running at all (e.g. the key "zabbix[process,java poller,avg,busy]" ).
I have found a workaround for the triggers in unknown state by adding an extra item that checks the number of processes (e.g. key "zabbix[process,java poller,count]" and
add a conditional to the e.g. "Zabbix java poller processes more than 75% busy" so that it now reads similar to this:
Code:
{[URL="https://zabbix.mgmt.intra.norceresearch.no/zabbix/items.php?form=update&itemid=63124"]Template App Zabbix Proxy:zabbix[process,java poller,count][/URL].[B]last([/B][B])[/B]}>0 and {[URL="https://zabbix.mgmt.intra.norceresearch.no/zabbix/items.php?form=update&itemid=63112"]Template App Zabbix Proxy:zabbix[process,java poller,avg,busy][/URL].[B]avg([/B]10m[B])[/B]}>75
Perhaps it is possible that the template uses e.g. LLD to first find the number of processes for each category (vmware, java pollers...) and then create items and triggers if number is higher than zero?
Another solution could be to change the keys (zabbix[process,java poller,avg,busy] etc) so they will not get in unsupported state, perhaps by returning -1 or similar if no processes are running.
Any suggestions for a workaround for this is very welcome. It makes it much better if we can get the "noise" from unsupported/disabled items and triggers down in an installation.
Kind regards,
Eirik