Discussion:
Maintenance Window Events
Sadek M
2012-09-19 11:46:02 UTC
Permalink
Sadek M [http://community.zenoss.org/people/waltari2001] created the discussion

"Maintenance Window Events"

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

--------------------------------------------------------------
Hi,

We are seeing a weird behaviour from the maintenance window scheduler. We have an alerting rule that's set to start at 8:15 for a duration of 10 hours. I do see an event created at the start for the window. You may notice it gets deleted a couple of hours later w/o a clearid.

***********************************************************************************
          dedupid: zenactions|localhost|StageDaytimeAlerting|StageServers
             evid: fbb39445-a4e2-4a65-87ad-9e92a6bcde50
           device: localhost
        component: zenactions
       eventClass: /Status/Update
         eventKey:
          summary: Maintenance window starting StageDaytimeAlerting for StageServers
          message: Maintenance window starting StageDaytimeAlerting for StageServers
         severity: 2
       eventState: 0
    eventClassKey: mw_change
       eventGroup:
      stateChange: 2012-09-18 08:15:00
        firstTime: 1347970500.004
         lastTime: 1347970500.004
            count: 1
        prodState: 1000
           suppid:
          manager:
            agent:
      DeviceClass: /Server/Linux
         Location:
          Systems: |
     DeviceGroups: |
        ipAddress: 127.0.0.1
         facility: unknown
         priority: -1
           ntevid: 0
          ownerid:
      deletedTime: 2012-09-18 10:15:23
          clearid: NULL
   DevicePriority: 3
eventClassMapping:
          monitor:

At the end of the window we see 10000's of start/stop events (see below) that go on for exactly one hour.

<pre>

***********************************************************************************
          dedupid: zenactions|localhost|StageDaytimeAlerting|StageServers
             evid: 7b2de567-870f-46c9-9094-82e9af2536eb
           device: localhost
        component: zenactions
       eventClass: /Status/Update
         eventKey:
          summary: Maintenance window starting StageDaytimeAlerting for StageServers
          message: Maintenance window starting StageDaytimeAlerting for StageServers
         severity: 2
       eventState: 0
    eventClassKey: mw_change
       eventGroup:
      stateChange: 2012-09-18 18:14:59
        firstTime: 1348006499.088
         lastTime: 1348006499.088
            count: 1
        prodState: 1000
           suppid:
          manager:
            agent:
      DeviceClass: /Server/Linux
         Location:
          Systems: |
     DeviceGroups: |
        ipAddress: 127.0.0.1
         facility: unknown
         priority: -1
           ntevid: 0
          ownerid:
      deletedTime: 2012-09-18 18:14:59
          clearid: b84142b8-09ab-493a-98af-71592cbbfb31
   DevicePriority: 3
eventClassMapping:
          monitor:

***********************************************************************************
          dedupid: zenactions|localhost|StageDaytimeAlerting|StageServers
             evid: b84142b8-09ab-493a-98af-71592cbbfb31
           device: localhost
        component: zenactions
       eventClass: /Status/Update
         eventKey:
          summary: Maintenance window stopping StageDaytimeAlerting for StageServers
          message: Maintenance window stopping StageDaytimeAlerting for StageServers
         severity: 0
       eventState: 0
    eventClassKey: mw_change
       eventGroup:
      stateChange: 2012-09-18 18:14:59
        firstTime: 1348006499.149
         lastTime: 1348006499.149
            count: 1
        prodState: 1000
           suppid:
          manager:
            agent:
      DeviceClass: /Server/Linux
         Location:
          Systems: |
     DeviceGroups: |
        ipAddress: 127.0.0.1
         facility: unknown
         priority: -1
           ntevid: 0
          ownerid:
      deletedTime: 2012-09-18 18:14:59
          clearid: NULL
   DevicePriority: 3
eventClassMapping:
          monitor:

...
...
...

*************************** 34126. row ***************************
          dedupid: zenactions|localhost|StageDaytimeAlerting|StageServers
             evid: 24d17b08-c3bf-4b9a-8709-04188e0e17b3
           device: localhost
        component: zenactions
       eventClass: /Status/Update
         eventKey:
          summary: Maintenance window starting StageDaytimeAlerting for StageServers
          message: Maintenance window starting StageDaytimeAlerting for StageServers
         severity: 2
       eventState: 0
    eventClassKey: mw_change
       eventGroup:
      stateChange: 2012-09-18 19:14:58
        firstTime: 1348010098.864
         lastTime: 1348010098.864
            count: 1
        prodState: 1000
           suppid:
          manager:
            agent:
      DeviceClass: /Server/Linux
         Location:
          Systems: |
     DeviceGroups: |
        ipAddress: 127.0.0.1
         facility: unknown
         priority: -1
           ntevid: 0
          ownerid:
      deletedTime: 2012-09-18 19:14:58
          clearid: 115a5943-45d8-427d-95dd-faef9b816799
   DevicePriority: 3
eventClassMapping:
          monitor:

*************************** 34125. row ***************************
          dedupid: zenactions|localhost|StageDaytimeAlerting|StageServers
             evid: 115a5943-45d8-427d-95dd-faef9b816799
           device: localhost
        component: zenactions
       eventClass: /Status/Update
         eventKey:
          summary: Maintenance window stopping StageDaytimeAlerting for StageServers
          message: Maintenance window stopping StageDaytimeAlerting for StageServers
         severity: 0
       eventState: 0
    eventClassKey: mw_change
       eventGroup:
      stateChange: 2012-09-18 19:14:58
        firstTime: 1348010098.917
         lastTime: 1348010098.917
            count: 1
        prodState: 1000
           suppid:
          manager:
            agent:
      DeviceClass: /Server/Linux
         Location:
          Systems: |
     DeviceGroups: |
        ipAddress: 127.0.0.1
         facility: unknown
         priority: -1
           ntevid: 0
          ownerid:
      deletedTime: 2012-09-18 19:14:58
          clearid: NULL
   DevicePriority: 3
eventClassMapping:
          monitor:
</pre>

Is this a bug in the version we are running (2.5.2)?

Thanks,

Sadek
--------------------------------------------------------------

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

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