diasdmhub / Asus_Merlin_Zabbix_Template

Template for Asus WRT router with Merlin firmware
GNU General Public License v3.0
9 stars 2 forks source link

Cannot find item "vm.memory.size[webui,total]" on "Asus Router by Zabbix Agent" used as the Y axis MAX value for graph "Memory WEBUI". #3

Closed DRN88 closed 3 years ago

DRN88 commented 3 years ago

I get this error when trying to import AsusRouter_template_v9.yaml into Zabbix server 5.4.4

Cannot find item "vm.memory.size[webui,total]" on "Asus Router by Zabbix Agent" used as the Y axis MAX value for graph "Memory WEBUI".

The fix is (please verify): Replace all occurrence of vm.memory.size[webui,total] to vm.memory.size[total]

Thanks for the template.

diasdmhub commented 3 years ago

"Memory WEBUI" graph references "Memory WebUI Total" item in "Y axis MAX value" configuration.

"Memory WebUI Total" item uses key vm.memory.size[webui,total] and is dependent on "Total memory" item (vm.memory.size[total]).

The key "vm.memory.size[total]" comes from "Linux memory by Zabbix agent" template. Therefore, "Linux memory by Zabbix agent" template is required and vm.memory.size[webui,total] key should not be replaced from "Memory WEBUI" graph.

Please, check if your server has "Linux memory by Zabbix agent" and "Linux memory by Zabbix agent active" OOTB templates.

diasdmhub commented 3 years ago

After some testing, I realised the issue is "Memory WebUI Total" item was not added to the .yaml file. I'll be looking into it.

diasdmhub commented 3 years ago

I've uploaded a new file for "revision" branch. Please try to download "AsusRouter_template_v9.1.yaml" file instead and report back if you can.

diasdmhub commented 3 years ago

I haven't found any more issues after changing "Memory WebUI Total" item calculation. Therefore, I merged the revision to the main branch and it is now in production.

If you find any other issue, please, report back. Thank you.

DRN88 commented 3 years ago

Confirmed working. Cheers!