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

implementation of Zabbix API 3.x #13

Closed
osnet opened this issue Jun 8, 2016 · 13 comments
Closed

implementation of Zabbix API 3.x #13

osnet opened this issue Jun 8, 2016 · 13 comments
Assignees

Comments

@osnet
Copy link

osnet commented Jun 8, 2016

zabbix 3.x is able to be viewed with api 2.4.
thats ok so far.
but the dashboard does not take the informationlevels of zabbix
desaster/high/average/high/normal/info bla bla

is there a chance to implement this ?

@nuxsmin nuxsmin self-assigned this Jun 8, 2016
@osnet
Copy link
Author

osnet commented Jun 11, 2016

as you can see at dash.power-server.at
there is a "Warning" for nas telling me there are updates
in fact zabbix displays this as information ( blue )

@nuxsmin
Copy link
Owner

nuxsmin commented Jun 11, 2016

Ok, I think this is not a zabbix 3 related issue, you can take a look to the actual category mappings:

switch ($state) {
case 0:
return SERVICE_UNKNOWN;
case 1:
case 2:
case 3:
return SERVICE_WARNING;
case 4:
case 5:
return SERVICE_CRITICAL;
default:
return SERVICE_UNKNOWN;
}

There is no associated color to show informational events, because it would become a rainbow like display :) and I would think if those kind of events should be shown at the main display.

@osnet
Copy link
Author

osnet commented Jun 11, 2016

: ) ya i got your point,
to be clear i am more or less "missusing" your app since i want to display all my events from my manages zabbix servers on one standalone monitor in our office ...
aim : we always are informed whats going on w/o having zabbix opened on pc : )
the common zabbix dashboard does not look that good on 46" : )

but thanks for the snip maybe i am going to adopt it on my own ^^
fact : great work til now

@nuxsmin
Copy link
Owner

nuxsmin commented Jun 11, 2016

Fine...any feedback would be appreciated and the project goal is to be a monitoring central point where you can take look in few seconds what's going on your systems health and keep focused on medium/critical or recent events.

This project was born to catch Nagios like events, so there is a few categories like ok, warning, critical, flapping and unknown, but zabbix does implement a few ones more which would be intermediate states.

BTW, let me know if there's any interesting feature that it lacks on.

@osnet
Copy link
Author

osnet commented Jun 11, 2016

thats right , since we monitor several wsus servers ( and the respective clients ) we want to know how much of the m are patched, are some clients bugging araound etc .
here it CAN be possible to view a warning serveral days.
this lead to different cases >80% >50% >40% >20% the smaller the % the lower the info level ...

guess this is a individual thing not to be bothered with dozen of mails from zabbix : ))

@osnet
Copy link
Author

osnet commented Jun 11, 2016

aah hey mate,
your dashboard is listing up "only" unack'ed events ... : )
nice one, how to list ack'ed ones ? just to fool a lil around for testing

@nuxsmin
Copy link
Owner

nuxsmin commented Jun 11, 2016

Jajaja... don't worry...

You can view it by clicking at the link on the bottom right corner (show more events)

@nuxsmin
Copy link
Owner

nuxsmin commented Jun 11, 2016

Show hidden events...that is the secondary display which is intended to use from a PC because it shows too much info (even filtered events)

@osnet
Copy link
Author

osnet commented Jun 11, 2016

ja right, i did not see this, bloody contrast ^^
i'm almoste done, just messing up with .css than it'll be fine for us , at the moment : )

@nuxsmin
Copy link
Owner

nuxsmin commented Jun 11, 2016

Great!...so late too for your eyes ;)

@osnet
Copy link
Author

osnet commented Jun 11, 2016

if you'd like to add this to a optional setting, or s/th like that, i'll send the "rework"

@nuxsmin
Copy link
Owner

nuxsmin commented Jun 11, 2016

Sure, let me know how you did it. If you're familiar with git, you can send a pull request. Otherwise you can send it to nuxsmin at cygnux.org

@osnet osnet closed this as completed Jun 12, 2016
nuxsmin pushed a commit that referenced this issue Jun 13, 2016
nuxsmin pushed a commit that referenced this issue Jun 13, 2016
@nuxsmin
Copy link
Owner

nuxsmin commented Jun 13, 2016

Thanks so much...

I've done some code improvements in order to allow per backend states.

Event's colours have been adapted to MDL color scheme.

nuxsmin pushed a commit that referenced this issue Jun 16, 2016
…. Related #13 #17

* [MOD] Moved highlighting events to CSS.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants