Hi All,
running on zabbix 2.0.5 from the epel archive on centos.
Im trying to create a simple "large screen" boss display based on the current status of things in zabbix. i'm custom coding it cause screens cant quite do what I want, but im stuck with one problem. The most important part is actually the colour the screens going to look (i.e. green/yellow/red). Basically it has to look green when there are no unacknowledged (and current) problems.
Its the last part thats really causing me greif. I can get the status of a bunch of triggers with trigger.get, what i cant seem to do is then tie that trigger to an event that was created when the trigger went to a value of 1. I can also get the status of events no problem, but an event is only a problem when the trigger that caused it is still showing an error, but the event is unacknowledged.
Theres a selectLastEvent in trigger.get (according to the 2.0 api), which sounds perfect but that doesnt appear to return anything for me and i cant really seem to find another way around the problem... ultimately if i use event.get i'll get a lot of unacknowledged events that are no longer be a problem, and using trigger.get may return values of 1 that attach to events that have already been acknowledged. In both cases, the screen needs to be green.
Any suggestions?
running on zabbix 2.0.5 from the epel archive on centos.
Im trying to create a simple "large screen" boss display based on the current status of things in zabbix. i'm custom coding it cause screens cant quite do what I want, but im stuck with one problem. The most important part is actually the colour the screens going to look (i.e. green/yellow/red). Basically it has to look green when there are no unacknowledged (and current) problems.
Its the last part thats really causing me greif. I can get the status of a bunch of triggers with trigger.get, what i cant seem to do is then tie that trigger to an event that was created when the trigger went to a value of 1. I can also get the status of events no problem, but an event is only a problem when the trigger that caused it is still showing an error, but the event is unacknowledged.
Theres a selectLastEvent in trigger.get (according to the 2.0 api), which sounds perfect but that doesnt appear to return anything for me and i cant really seem to find another way around the problem... ultimately if i use event.get i'll get a lot of unacknowledged events that are no longer be a problem, and using trigger.get may return values of 1 that attach to events that have already been acknowledged. In both cases, the screen needs to be green.
Any suggestions?
Comment