Skip to content
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

Fix SYSINFO_RET_FAIL and quotes ?! #255

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open

Conversation

rockaut
Copy link
Contributor

@rockaut rockaut commented Sep 1, 2018

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
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