4 Replies Latest reply on Sep 27, 2013 7:08 AM by torte

    Problem with Alert Definition Templates

    torte Newbie

      Hello,

       

      i have a problem with "Alert Definition Templates" in RHQ Version 4.5.1 . I don't know if anybody had this problem in the past or if it is well known.

      I can't find anything in the wiki or forum and i would be very thankful for every kind of help.

       

      I have created 2 Alerts in the "Alert Definition Template" for the Availibility of the RHQ Agent. Ok some time later i have recognized that this alert is not

      working correct means not working every time for every platform. The status of the resource if its avaiable or not is ALWAYS correct.I switch off an agent

      and on some Platforms there is an alert and on some not. I took a look into the Alert Definitions in reports and i was seeing that there were some alerts disabled.

      I can't remeber doing that. I go direct on the platform go to rhq agent and to the alerting and the alert is not disabled. Means there is a diference between

      "report -> Alert Definitions" and direct on the platform under Alerts.  Now i want to destroy this alert definition and therefore i have to go in Alert Definition Templates

      but when i gon on the coresponding Alert Definition i error message is apperaing: "server returnded FAILURE with no error message"

       

      Please let me know if i have done something compeletely wrong or if you need more information. If something is not clear described please ask. Thanks for your attention.

       

      On top there is another error message with this for "Root Cause"


       

      java.lang.IllegalArgumentException:PageList was passed an empty collection but 'totalSize' was 3, PageControl[firstRow=25, size=50

       

      And show details shows this:

       

       

      Root Cause :

      java.lang.IllegalArgumentException:PageList was passed an empty collection but 'totalSize' was 3, PageControl[firstRow=25, size=50]

      Detail :
      java.lang.RuntimeException:[1380034343580] javax.ejb.EJBException:java.lang.IllegalArgumentException: PageList was passed an empty collection but 'totalSize' was 3, PageControl[firstRow=25, size=50] -> java.lang.IllegalArgumentException:PageList was passed an empty collection but 'totalSize' was 3, PageControl[firstRow=25, size=50]
      --- STACK TRACE FOLLOWS ---
      [1380034343580] javax.ejb.EJBException:java.lang.IllegalArgumentException: PageList was passed an empty collection but 'totalSize' was 3, PageControl[firstRow=25, size=50] -> java.lang.IllegalArgumentException:PageList was passed an empty collection but 'totalSize' was 3, PageControl[firstRow=25, size=50]
         at Unknown.anonymous(Unknown Source)
         at Unknown.anonymous(Unknown Source)
         at Unknown.anonymous(Unknown Source)
         at Unknown.anonymous(Unknown Source)
         at Unknown.anonymous(Unknown Source)
         at Unknown.anonymous(Unknown Source)
         at Unknown.anonymous(Unknown Source)
         at Unknown.anonymous(Unknown Source)
         at Unknown.anonymous(Unknown Source)
         at Unknown.anonymous(Unknown Source)
         at Unknown.anonymous(Unknown Source)
         at Unknown.anonymous(Unknown Source)
         at Unknown.anonymous(Unknown Source)
         at Unknown.anonymous(Unknown Source)

       

      Let me give you a resume of the problem:

       

      - Alerts created over Alert Definition Template

      - Alerting is not working correct sometime there are no alerts (but ressourvce is always marked right with available or unavailable)

      - Difference in Disabled alert option for the sdame alert in "Alert Definitions and direct on the platform

      - Cant reach the alerts over Alert definition Templates anymore and so cant delete them