dnaeon / py-vpoller

Distributed vSphere API Proxy
Other
83 stars 31 forks source link

Fix SYSINFO_RET_FAIL and quotes ?! #255

Open rockaut opened 6 years ago

rockaut commented 6 years ago

Currently as in #254 described if vcenter or host is not available the returned zabbix result is still OK instead of FAIL. This should fix #254

It should be FAIL as then we can define an nodata() trigger on an host status or directly vcenter status and make other triggers dependent. A little bit like with Zabbix Agent Status.

I'm not into C so i might done it wrong? It compiled and seamed to work for me but may please verify anyone?