Closed virento closed 7 years ago
What is the Item's status and info on a Host Configuration page?
Are you having a english windows version? If not you must set the localized performance counter names in the script
The status of each of the items is 'Enabled' and no info is shown under the 'info' column which appears normal as the Windows OS template items show the exact same thing on the same hosts.
Also, this is an English language version of Windows Server 2012.
What is the status of the autodiscover?
It should not show any red or errors
I'm seeing a red X with the message 'Value should be a JSON object' for the discovery item 'Template Windows HyperV Host: Hyper-V VM Discovery'. I don't have any other HyperV discovery items listed for the host like you do in your example above which is probably related to the first discovery item not functioning 100% properly. I guess I assumed the VM discovery was working as expected since the VMs were discovered and added to Zabbix for each host but maybe not fully? I do know that the 'Value should be a JSON object' problem was covered in another github issue I opened and was discussed with other folks experiencing the same problem. I'll refer to that github issue and see if I can resolve the problem. Either way, I'll report back to this post to let you know. Thanks!
@virento As always you may check for clues the output of zabbix_get -k <item_name> -s <your_host>
or even further - run the PS script directly on your host machine.
Thanks ameiji, I actually ran that based on the comments of the closed github issue I created awhile back and others discussed. I found out that the script it's trying to run is not found so the path is incorrect. I thought my customer had addressed that but I guess not so I'm waiting on them to take a look and adjust accordingly so I can test. I don't have access to the Windows 2012 server boxes unfortunately, only the Zabbix server, so I have to walk them through the client plus UserParameter configuration.
OK, I resolved the issue with path being wrong and it's now pulling down the VMs properly which has been verified with 'zabbix_get -k
@virento so, what does zabbix_get shows for your items with missing data?
The values returned as expected. I resolved the issue though after I checked with 'zabbix_get' manually and realized that 'Hostname=' values were not set correctly therefore the Zabbix server could not perform the Active checks as needed and the values that were missing were all 'Active' monitoring items. Sorry for wasting your time, I thought my customer had already addressed this as I brought it up in the past and I guess not. Hopefully this can serve as an example to others in the future of what needs to happen to ensure all of the checks function as expected. You can now close this issue, thank you for your time!
Hello, I'm using the HyperV templates you created and while everything appears to be functioning OK (including VM guest discovery now), I'm not getting any data for any of the 21 items listed under the 'HyperV Host' application for the HyperV host itself. They all show up under 'Latest Data' but have no values. Is there anything I need to do on the Windows 2012 server side to have it values show up on the Zabbix server? I'm using Zabbix 3.0 for this customer project.
If not, what information would you like to see in order to troubleshoot this issue?
Any help is appreciated and thanks for your hard work on these templates!