Reporting, Analysis and Analytics

Expand all | Collapse all

Unable to create graph reports in Zenoss 6.2.1 under Reports

  • 1.  Unable to create graph reports in Zenoss 6.2.1 under Reports

    Posted 04-06-2020 05:32 AM
    We are seeing error message as "AttributeError: REQUEST" when we try to create a new graph / custom device report.

    Also below is the error when we tried to created them ( adding device report ) via zope URL


    Type: <class 'zExceptions.BadRequest'>
    Value: <h2>Site Error</h2> <p>An error was encountered while publishing this resource. </p> <p><strong>Invalid request</strong></p> The parameter, <em>id</em>, was omitted from the request.<p>Make sure to specify all required parameters, and try the request again.</p> <hr noshade="noshade"/> <p>Troubleshooting Suggestions</p> <ul> <li>The URL may be incorrect.</li> <li>The parameters passed to this resource may be incorrect.</li> <li>A resource that this resource relies on may be encountering an error.</li> </ul> <p>For more detailed information about the error, please refer to the error log. </p> <p>If the error persists please contact the site maintainer. Thank you for your patience. </p>

    Traceback (most recent call last):
      File "/opt/zenoss/lib/python2.7/site-packages/ZPublisher/Publish.py", line 126, in publish
        request, bind=1)
      File "/opt/zenoss/lib/python2.7/site-packages/ZPublisher/mapply.py", line 72, in mapply
        if index < nrequired: v=missing_name(name, context)
      File "/opt/zenoss/lib/python2.7/site-packages/ZPublisher/Publish.py", line 51, in missing_name
        request.response.badRequestError(name)
      File "/opt/zenoss/lib/python2.7/site-packages/ZPublisher/HTTPResponse.py", line 741, in badRequestError
        "and try the request again.</p>"
    BadRequest:   <h2>Site Error</h2>
      <p>An error was encountered while publishing this resource.
      </p>
      <p><strong>Invalid request</strong></p>
    
      The parameter, <em>id</em>, was omitted from the request.<p>Make sure to specify all required parameters, and try the request again.</p>
      <hr noshade="noshade"/>
    
      <p>Troubleshooting Suggestions</p>
    
      <ul>
      <li>The URL may be incorrect.</li>
      <li>The parameters passed to this resource may be incorrect.</li>
      <li>A resource that this resource relies on may be
          encountering an error.</li>
      </ul>
    
      <p>For more detailed information about the error, please
      refer to the error log.
      </p>
    
      <p>If the error persists please contact the site maintainer.
      Thank you for your patience.
      </p>
    


    ------------------------------
    Gobi K
    ------------------------------


  • 2.  RE: Unable to create graph reports in Zenoss 6.2.1 under Reports

    Posted 04-10-2020 05:57 AM
      |   view attached
    You dont show your report but I suspect your are using "id" as a field?  Try using getId (care with capitalisation).  The following works for me on Zenoss 6.2.1.

    Note that if you are using method calls, you do not put the () brackets in a report.

    Cheers,
    Jane

    ------------------------------
    Jane Curry
    Skills 1st United Kingdom
    jane.curry@skills-1st.co.uk
    ------------------------------



  • 3.  RE: Unable to create graph reports in Zenoss 6.2.1 under Reports

    Posted 04-27-2020 06:26 AM
      |   view attached
    The issue is we cannot get past the "add custom device report" or "add graph report"

    Get a Banner error "AttributeError: REQUEST" and cannot proceed.

    ------------------------------
    Edward Grau
    Infrastructure Eng.
    Bridge2 Solutions
    Alpharetta GA
    6788317849
    ------------------------------



  • 4.  RE: Unable to create graph reports in Zenoss 6.2.1 under Reports

    Posted 05-21-2020 08:11 AM
    Any update on the above ?

    ------------------------------
    Gobi K
    ------------------------------