Skip to content

Fix SYSINFO_RET_FAIL and quotes ?!#255

Open
rockaut wants to merge 8 commits into
dnaeon:masterfrom
rockaut:master
Open

Fix SYSINFO_RET_FAIL and quotes ?!#255
rockaut wants to merge 8 commits into
dnaeon:masterfrom
rockaut:master

Conversation

@rockaut

@rockaut rockaut commented Sep 1, 2018

Copy link
Copy Markdown
Contributor

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?

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

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 if might done it false? It compiled and seamed to work for me.
This should fix dnaeon#246 as zabbix already recognizes the string.
@rockaut rockaut changed the title Send SYSINFO_RET_FAIL on task host.get failed Fix SYSINFO_RET_FAIL and quotes ?! Sep 1, 2018
Comment thread extra/zabbix/vpoller-module/vpoller.c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Zabbix Module Return - Catch vSphere outage

2 participants