-
-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Delete virtual machine or datastore #108
Comments
the vSphere host from which import objects
Hi, I've just pushed a fix for this in thet latest Now, when you run In order to make
Please test it first without using Let me know if you have any issues. Thanks, |
root@WIZJA2:~/import2# ./zabbix-vsphere-import -f zabbix-vsphere-import.yaml But got crash when use --delete: root@WIZJA2:~/import2# ./zabbix-vsphere-import --delete -f zabbix-vsphere-import.yaml |
Hi, I will provide a fix for this today. Thanks, |
Please get the latest I've just pushed a fix for this issue. Let me know how it goes. Thanks, |
Look OK: ./zabbix-vsphere-import -f zabbix-vsphere-import.yaml root@WIZJA2:~/import2# ./zabbix-vsphere-import --delete -f zabbix-vsphere-import.yaml root@WIZJA2:~/import2# ./zabbix-vsphere-import -f zabbix-vsphere-import.yaml |
Thanks for confirming the fix! :) |
Hello,
I just delete datastore from my VMWare but zabbix-vsphere-import don`t saw this and Zabbix spam me error in logs:
4650:20141203:103525.483 error reason for "SATA_3_EMC:vpoller["datastore.get", "{$VSPHERE.HOST}", "{HOST.NAME}", "freeSpacePercentage", "null"]" changed: Cannot evaluate function "last()": item "SATA_3_EMC:vpoller["datastore.get", "{$VSPHERE.HOST}", "{HOST.NAME}", "info.freeSpace",
4650:20141203:104526.459 error reason for "SATA_3_EMC:vpoller["datastore.get", "{$VSPHERE.HOST}", "{HOST.NAME}", "freeSpacePercentage", "null"]" changed: Cannot evaluate function [last()].
root@XXX2:~# /root/import/import.sh
[2014-12-03 11:02:29,845] - INFO - Connecting to Zabbix server at https://XXX.pl/zabbix/
[2014-12-03 11:02:30,003] - INFO - [vSphere ClusterComputeResource] Importing objects to Zabbix
[2014-12-03 11:02:30,192] - INFO - [vSphere ClusterComputeResource] Objects are in sync with Zabbix
[2014-12-03 11:02:30,192] - INFO - [vSphere HostSystem] Importing objects to Zabbix
[2014-12-03 11:02:30,389] - INFO - [vSphere HostSystem] Objects are in sync with Zabbix
[2014-12-03 11:02:30,390] - INFO - [vSphere VirtualMachine] Importing objects to Zabbix
[2014-12-03 11:02:30,611] - INFO - [vSphere VirtualMachine] Objects are in sync with Zabbix
[2014-12-03 11:02:30,612] - INFO - [vSphere Datastore] Importing objects to Zabbix
[2014-12-03 11:02:30,852] - INFO - [vSphere Datastore] Objects are in sync with Zabbix
This is possible to autodelete objects from Zabbix?
The text was updated successfully, but these errors were encountered: