Archived community.zenoss.org | full text search
Skip navigation
2765 Views 11 Replies Latest reply: Oct 18, 2012 12:41 PM by Shane Scott RSS
z3r0day Rank: White Belt 22 posts since
Aug 6, 2012
Currently Being Moderated

Oct 9, 2012 5:14 PM

Event Detail - Server Exception

Hi Guys,

 

 

I've got a few events that won't load event details.  When double clicking on the event, the event details pane slides over from the right, but is blank.  After a couple seconds, I get the error:

 

The server reported the following error:

Unable to connect to the server.

The system has encountered an error. Please reload the page

Reload Page | Dismiss

 

This only happens on a select few events.  Other events from the same device appear just fine.

 

Can anyone help to point me in the right direction with this?

 

I'm running Zenoss Core v3.0.3.

 

 

Thanks,

z3r0day

  • jmp242 ZenossMaster 4,060 posts since
    Mar 7, 2007
    Currently Being Moderated
    2. Oct 16, 2012 8:57 AM (in response to z3r0day)
    Re: Event Detail - Server Exception

    While waiting for my e-mail attempt to show up, I'll just give you what I would do which is indeed a transform.

     

    Try using

    evt.summary = evt.summary.replace('Dthingy','Something else')

     

    Rinse and repeat for evt.whatever fields have the problem character.

     

    --

    James Pulver

    ZCA Member

    LEPP Computer Group

    Cornell University

  • Shane Scott ZenossMaster 1,373 posts since
    Jul 6, 2009
    Currently Being Moderated
    3. Oct 16, 2012 9:49 AM (in response to z3r0day)
    Re: Event Detail - Server Exception

    Brian:

     

    Seems like these events are corrupted. Do other events on the same device exhibit the same problem?

     

    Best,

    --Shane Scott (Hackman238)

  • jmp242 ZenossMaster 4,060 posts since
    Mar 7, 2007
    Currently Being Moderated
    5. Oct 17, 2012 8:27 AM (in response to z3r0day)
    Re: Event Detail - Server Exception

    Is the end event getting mapped to your event class? I'm not sure what you mean by in the transform section of the mapping, but in the event class is where the transform should go. However, I'm not sure if you can access all fields or not in a transform, usually I can access any that show up in event details though, so it seems like it should work, assuming it's actually where Zenoss is going to try and apply a transform.

     

    --

    James Pulver

    ZCA Member

    LEPP Computer Group

    Cornell University

  • Shane Scott ZenossMaster 1,373 posts since
    Jul 6, 2009
    Currently Being Moderated
    6. Oct 17, 2012 9:10 AM (in response to jmp242)
    Re: Event Detail - Server Exception

    z3r0day:

     

    What's your 'default-zpublisher-encoding' set to in $ZENHOME/etc/zope.conf? It should be utf-8.

     

    In a worst case scenario you could drop the events db, update the mysql conf with the following parameters then recreate the events db.

     

    [mysqld]

    default-character-set=utf8

    collation_server=utf8_unicode_ci

     

    Best,

    --Shane Scott (Hackman238)

  • jmp242 ZenossMaster 4,060 posts since
    Mar 7, 2007
    Currently Being Moderated
    8. Oct 18, 2012 8:11 AM (in response to z3r0day)
    Re: Event Detail - Server Exception

    Your screenshot shows a subclass of /Unknown. That may be the issue, you need to map events *out* of /unknown. /Unknown treats everything a bit weird in my experiance.

     

    So delete that mapping and class. Create a class outside of /Unknown... Then set the transform for that class (like what your screen shot shows) and lets see if that then works.

     

    --

    James Pulver

    ZCA Member

    LEPP Computer Group

    Cornell University

  • Shane Scott ZenossMaster 1,373 posts since
    Jul 6, 2009
    Currently Being Moderated
    11. Oct 18, 2012 12:41 PM (in response to z3r0day)
    Re: Event Detail - Server Exception

    Brian:

     

    I'm thinking it's too late to do a transform once the event arrives since the character is incompatible with something in the event manager in general. You could dump the db, clear the problem events, drop the db, recreate with those options and then dump it back in. Do a backup first- I dont' know how smooth that will all go. In theory it should work.

     

    Best,
    --Shane Scott (Hackman238)

More Like This

  • Retrieving data ...

Legend

  • Correct Answers - 4 points
  • Helpful Answers - 2 points