ZenPacks and JSON API

Expand all | Collapse all

Zenoss 6.2.1 Support for Old ZenPacks

  • 1.  Zenoss 6.2.1 Support for Old ZenPacks

    Posted 10 days ago
    Greetings!
         Is there a guide/documentation/website that covers ZenPack changes that are needed to run on Zenoss Core 6.2.1? We have a custom ZP that installs okay, but the Zenoss dashboard is unreachable. Answering and ready status are both 1, and Control Center has the following log message:

    2019/05/08 21:28:23 [error] 10078#0: *507114 upstream prematurely closed connection while reading response header from upstream, client: 172.17.0.1, server: , request: "POST /zport/dmd/Events/jobs_router HTTP/1.1", upstream: "http://127.0.0.1:9080/zport/dmd/Events/jobs_router"...

    Service name is Zenoss.core, type is zproxy

    Thanks in advance,
    Larry


    ------------------------------
    Larry
    Sr. Systems Engineer
    IPC Global
    Alpharetta GA
    470-407-9100 ext 136
    ------------------------------


  • 2.  RE: Zenoss 6.2.1 Support for Old ZenPacks

    Posted 5 days ago
    From what version to 6.2.x?

    Are you using ZenPackLib? What does your ZenPack do? Did you modify the __init__, have custom patches, routers, etc?


    ------------------------------
    jstanley
    ------------------------------



  • 3.  RE: Zenoss 6.2.1 Support for Old ZenPacks

    Posted 5 days ago
    Hi Jay,
        Thanks for your reply. Here are the answers:

    Yes, we are using ZenPacklib. The zenpack was created using ZenPacklib v2.1.1 with no changes on __init__.py.

    The zenpack basically creates a custom notification. Besides the base structure created by ZenPacklib, we added the following files:

    Interfaces.py, info.py, actions/myaction.py, configure.zcml. All the changes were in these files.

    We followed this article to create our custom zenpack: https://aalvarez.me/posts/custom-notification-action-types-in-zenoss/

    Please let me know if you need anything else.

    Thanks,
    Larry

    ------------------------------
    Larry
    Sr. Systems Engineer
    IPC Global
    Alpharetta GA
    470-407-9100 ext 136
    ------------------------------



  • 4.  RE: Zenoss 6.2.1 Support for Old ZenPacks

    Posted 54 minutes ago
    What happens if you uninstall the zenpack?

    ------------------------------
    jstanley
    ------------------------------