ZenPacks, JSON API, and Integrations

Create multiple events from single event.

  • 1.  Create multiple events from single event.

    Posted 25 days ago
    Edited by Morgan Timney 24 days ago
    I have a single 'parent' event that contains encoded data that indicates the state of over 50 components. What I am trying to do is to create one or more events from in the 'parent' events transform.

    I am thinking that I will need to use the EventsRouter? But to use it from within Zenoss (instead of an external API call)? Something like this - but perhaps with imports first?

    zenoss_api.evconsole_router.EventsRouter.add_event('{"summary":"Component x is down","device":evt.device,"component":"x","severity":"Error","evclasskey":"$evkey","evclass":"$evclass"}')
    This will be an interim solution until I create a zenpack around these components.

    ------------------------------
    Morgan Timney
    The Southern Company
    Birmingham AL
    ------------------------------