Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Zagstamon #74

Merged
merged 14 commits into from Apr 22, 2014

Conversation

Projects
None yet
2 participants

nono-gdv commented Apr 8, 2014

There are a couple forks with Zabbix support out there. This one seems to work for me, with a small patch to map "info" status to "unknown" instead of "warning" (Zabbix statuses don't really map to the Nagios model).

Owner

HenriWahl commented Apr 9, 2014

Hi,
do actions like acknowledge and recheck work there too or is it merely a passive viewer for Zabbix problems?

nono-gdv commented Apr 9, 2014

Acknowledge works, recheck does not (it doesn't appear in the menu).

Owner

HenriWahl commented Apr 9, 2014

In general sounds interesting - I just do have no chance to test it. Do you know any public Zabbix demo server?

There is one on http://www.zabbix.org/zabbix/ where you can log in as guest. I have not tried nagstamon with a guest access, though, only on my production server.

Owner

HenriWahl commented Apr 11, 2014

I build a windows binary from your fork for testing. But when I want to add a Zabbix server the server type "Zabbix" does not appear in the dropdown menu for server type. How did you manage to run against a Zabbix server?

Owner

HenriWahl commented Apr 11, 2014

Sorry... I missed your branch zagstamon and used master. Now I found your Zabbix in servers.

I have had some issues with a flaky internet connection, the Zabbix module tends to raise exceptions when the connection times out. I will look into it.

Zabbix backend: return an error cleanly in case the server is unreach…
…able instead of raising an uncaught exception. Code borrowed from the Thruk backend.

The last commit on my branch zagstamon should fix this (lightly tested).

HenriWahl added a commit that referenced this pull request Apr 22, 2014

@HenriWahl HenriWahl merged commit d16ef67 into HenriWahl:master Apr 22, 2014

Owner

HenriWahl commented May 7, 2014

yesterday I was able to check Nagstamon with a real life Zabbix server.
I think these changes are necessary:

  • convert attempts shown as 0/0 to something sensible, like 1/1. I do not know much about Zabbix internals - are there some kind of attempts at all? Is it just the wrong value or would it be enough to claim it is a 1/1?
  • duration should contain a calculated value, consisting of "now" - the value which is now in "Last Check" as this would resemble the duration
  • I do not know where to get the real last check time
  • all services are shown as flapping and passive - this is nonsense and if there is no Zabbix equivalent this should at least be omitted.
Owner

HenriWahl commented May 16, 2014

Can you please test in your environmrnt if my latest commit 6cb5e6a still works in your setup?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment