Discussion:
Move Events to History every hour
sanane enenand
2012-08-18 16:12:50 UTC
Permalink
sanane enenand [http://community.zenoss.org/people/ebeng] created the discussion

"Re: Move Events to History every hour"

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

--------------------------------------------------------------
i'm trying to run the python script that ryan gave in the first page of the post:

it has been run as a zenoss user in the root...

but i can get no result out of it. it is running like now for more than 2 hours and no output..

Also the events is going up... when i ran the script it was 33000 events and now it is 33900.. so it isnt deleting any event.
--------------------------------------------------------------

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

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]
Shane Scott
2012-08-19 04:38:50 UTC
Permalink
Shane Scott [http://community.zenoss.org/people/hackman238] created the discussion

"Re: Move Events to History every hour"

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

--------------------------------------------------------------
sanane:

You might want to try tweaking the event aging parameters if you're using v4.2.

Best,
--Shane Scott (Hackman238)
--------------------------------------------------------------

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

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]
Ryan Matte
2012-08-20 13:54:54 UTC
Permalink
Ryan Matte [http://community.zenoss.org/people/rmatte] created the discussion

"Re: Move Events to History every hour"

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

--------------------------------------------------------------
getEventDetailFromStatusOrHistory is no longer a valid function in Zenoss 4.2.  I'm working on converting a daemon that I wrote which makes heavy use of the events API.  I'll be publishing what I find on wiki when I'm done so that everyone has a proper reference.
--------------------------------------------------------------

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

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...