Hi Helko, list, would be nice if your example would work (and save several lines of EventDisp-code) but I'd prefer the example given by Erwin with every check on a seperate line.
Anyway, you can check what Spectrum thinks of your Event configuration by configuring it like shown at Spectrum/eHealthWiki here: http://www.dachsug.ch/wiki/index.php/Event_Processing#Events_under_Control Hope this helps. Regards, Marcel On Wed, Mar 18, 2009 at 3:53 PM, Helko Bachmann <[email protected]> wrote: > hello, > > i must create an eventdisp-file for a device within our network. the device > send traps include diffent alarm-id's (Integer32), e.g. 1110, 2110 or other. > now, i must create a major alarm for few alarm-id's and create a critical > alarm for other alarm-id's. > > my problem is the eventdisp-syntax for the alarm-id's: > > 0x00001000 E 50 R Aprisma.EventCondition, "{v 114} == {I > (1110|1111|1112|1113|1114)}", "0x00001001 -:-", "{v 114} == {I > (2110|2111|2112|2113|2114)}", "0x00001002 -:-" > > 0x00001001 = critical event (generate alarm) > 0x00001002 = major event (generate alarm) > > this example is not function, but i dont know why.... :( > (i have try so many different versions..., may be is not possible) > > can anyone help? thanks in advance :) > --- > To unsubscribe from spectrum, send email to [email protected] with the body: > unsubscribe spectrum [email protected] > --- To unsubscribe from spectrum, send email to [email protected] with the body: unsubscribe spectrum [email protected]
