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:
- Customer A
- Customer B
- Support Levels
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.
Anyone 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?
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)?
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.
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.
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.
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?
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.
PS: Ah! And i likeed your Suport Level Agreement groups
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.
Follow Us On Twitter »
||Latest from the Zenoss Blog »||Community||Products||Services||Customers||About Us|
Copyright © 2005-2011 Zenoss, Inc.