taishin / rbvmoni-zabbix

4 stars 7 forks source link

problem with Prefix Groups #10

Open kilkams opened 10 years ago

kilkams commented 10 years ago

I started testing 7 days ago. used the latest version of files. at this stage, faced with a problem that I can not fix myself. I think part of the log will tell itself.

27725:20131001:095057.914 Starting Zabbix Agent [Zabbix server]. Zabbix 2.0.8 (revision ). 27729:20131001:095057.915 agent #3 started [listener] 27730:20131001:095057.916 agent #4 started [active checks] 27728:20131001:095057.916 agent #2 started [listener] 27727:20131001:095057.917 agent #1 started [listener] 27726:20131001:095057.919 agent #0 started [collector] grep: /tmp/vsphere//stats/v_VMShare-47-: No such file or directory grep: /tmp/vsphere//stats/v_VMShare-47-: No such file or directory grep: /tmp/vsphere//stats/v_VMShare-47-: No such file or directory grep: /tmp/vsphere//stats/v_VMNNovg-44-: No such file or directory grep: /tmp/vsphere//stats/v_VMShare-47-: No such file or directory grep: /tmp/vsphere//stats/v_VMNNovg-44-: No such file or directory grep: /tmp/vsphere//stats/v_VMNNovg-44-: No such file or directory grep: /tmp/vsphere//stats/v_VMShare-47-: No such file or directory

the files are created /tmp/vsphere/test/stats/.... Of course I pointed out a group when adding a node and prescribed in macros. thank you in advance for your help

kilkams commented 10 years ago

the template has not been registered macro. therefore there was a problem. you need to add a macro and change the data elements. After all the changes, I can lay out templates

kilkams commented 10 years ago

noticed another problem. if the virtual machine is turned off, the value of some elements are empty. an example vm-memorySizeMB: 2048 vm-hostMemoryUsage: vm-guestMemoryUsage: how the missing values ​​set to "0"??

kilkams commented 10 years ago

"vm-Uptime" => stat.summary.quickStats.uptimeSeconds || '0' also found the answer