Discussion:
Problem with event views for device groups
Jim Croft
2012-01-12 14:42:43 UTC
Permalink
Jim Croft [http://community.zenoss.org/people/jimcrofty] created the discussion

"Problem with event views for device groups"

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

--------------------------------------------------------------
Hi all

We are a managed service provider and have Zenoss (3.2.1) up and running monitoring our clients servers. We've created groups to add devices to. Our group structure is:

- Customers
     - Customer A
     - Customer B
     - etc...
- Support Levels
     - Gold
     - Silver
     - etc

Devices are added to two groups based on the customer they belong to and the level of support they're on.

When I use the infrastructure view and drill down to the specific customer group I see the list of devices. If I view the group details and then events I would expect to see the event view for that group. Instead I get no results. The events (and event history) are visible through the regular events view but not when I drill down to the customer group.

Any have any ideas about this? Is this not possible, is this a bug? Is there a way to organise devices using Groups, Systems or Locations that would enable me to view events and event history for a specific customers devices?

Many thanks

Jim
--------------------------------------------------------------

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

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]
dhopp
2012-01-12 21:10:42 UTC
Permalink
dhopp [http://community.zenoss.org/people/dhopp] created the discussion

"Re: Problem with event views for device groups"

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

--------------------------------------------------------------
Jim -

This should work and I have verified that it works on my Zenoss install (I'm using 3.2.0 with some patches applied).  Can you see all events for a certain Device class (i.e say Server/Linux)?

--Dennis
--------------------------------------------------------------

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

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]
Jim Croft
2012-02-01 14:47:20 UTC
Permalink
Jim Croft [http://community.zenoss.org/people/jimcrofty] created the discussion

"Re: Problem with event views for device groups"

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

--------------------------------------------------------------
Hi Dennis

Thanks for the reply. No I can't see all the events under a specific class (eg. Server/Remote). I can see the events when I look under Server but not any subclasses, which is the same behaviour as we're seeing with groups.

I've attached a couple of screenshots below highlighting what I think might be related to the lack of events/history.

I'm kinda stumped here. The only thing I can think may be causing issues (though have no idea why) is that we are using the API to create devices and events from external sources (eg. Splunk, AWS, etc).

Any thoughts on this appreciated.

Cheers

Jim


Loading Image... Loading Image...
+1. Event count shown at the top level /Customers group. When clicking through to Details then Events I can see the events and history correctly.+


+Loading Image... Loading Image...+
+2. When drilling down to specific customer group the event counts are missing and greyed out. Clicking through to Devices and Events shows no events or history.
+
--------------------------------------------------------------

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

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]
Jim Croft
2012-02-01 19:25:35 UTC
Permalink
Jim Croft [http://community.zenoss.org/people/jimcrofty] created the discussion

"Re: Problem with event views for device groups"

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

--------------------------------------------------------------
Ok, think I've found the issue.

This problem only manifests when a device is in multiple groups (eg. /Customers/CustA and /Service Levels/Gold). If the device only exists in a single group the events/history view for the group behaves as expected.

Does this sound like a bug or is this a known limitation?
--------------------------------------------------------------

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

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]
luizzmizz
2012-02-02 11:27:19 UTC
Permalink
luizzmizz [http://community.zenoss.org/people/luizzmizz] created the discussion

"Re: Problem with event views for device groups"

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

--------------------------------------------------------------
i would like to add my experience here...

we are reordering our organization, and when we move/copy a device that already has some events to a group A, group A doesn't get those events already existing.

Once the device is on that group, if we clear the event and it happens again, i mean, the event is generated again, it gets shown on every group the device belongs!

I believe when moving or copying a device to a group (and i believe to a system), the present events are not associated to the new configuration.

Clear the events for a device and let them happen again, you'll see.
--------------------------------------------------------------

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

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]
Jim Croft
2012-02-02 11:36:02 UTC
Permalink
Jim Croft [http://community.zenoss.org/people/jimcrofty] created the discussion

"Re: Problem with event views for device groups"

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

--------------------------------------------------------------
Yes you're right.

After I reorganised my device groupings I had to run some SQL to change the existing event data to match. After I did this we had all historical events back.

Queries like this (run in the MySQL events database)...

UPDATE history SET DeviceGroups='|/New Group Name' WHERE DeviceGroups='|/Old Group Name';
UPDATE status SET DeviceGroups='|/New Group Name' WHERE DeviceGroups='|/Old Group Name';

will get your events and event history back into the correct groups. I did this last night and all's well.

PS. I like our SLA groups too... shame we can't use them. :(
--------------------------------------------------------------

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

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