Discussion:
Zenoss Event Commands Time Interval
Jonathan Lyons
2012-04-17 22:54:20 UTC
Permalink
Jonathan Lyons [http://community.zenoss.org/people/jclyons] created the discussion

"Zenoss Event Commands Time Interval"

To view the discussion, visit: http://community.zenoss.org/message/65946#65946

--------------------------------------------------------------
Hello all,

I have set up the Event Manager to run an event command in which makes an HTTP POST to a remote web server on every event. Unfortunately, it appears that even after the event is registered with Zenoss, it takes between 30 seconds and a minute for Zenoss to run the script command. I have the event aging threshold set to zero, so I don't think that's it. Is there a setting to reduce this amount of time? I have poured over all the timeouts and intervals looking for it, but haven't found anything that looks like it does what I need.

Thanks!

Jonathan
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/65946#65946]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
jmp242
2012-04-18 12:20:08 UTC
Permalink
jmp242 [http://community.zenoss.org/people/jmp242] created the discussion

"Re: Zenoss Event Commands Time Interval"

To view the discussion, visit: http://community.zenoss.org/message/65948#65948

--------------------------------------------------------------
In 3.x and earlier, Zenoss  polls for new events every 60 seconds and then zenactions does stuff - in your case it's kicking off the event command. You can't speed this up (practically, I suppose you could re-write a lot of code).

In Core 4 (which is available for testing now as an alpha), the event system has been rewritten and uses triggers for immeditate actions rather than polling. This will then execute an event command "immediately" (within the performance constraints of the Zenoss server etc...)

--
James Pulver
ZCA Member
LEPP Computer Group
Cornell University
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/65948#65948]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Loading...