Bug 571908 - If a user assigns a misconfigured Mobicents Alert Sender Plugin to an Alert, the Alert will not fire
Summary: If a user assigns a misconfigured Mobicents Alert Sender Plugin to an Alert, ...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: RHQ Project
Classification: Other
Component: Alerts
Version: unspecified
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
: ---
Assignee: Heiko W. Rupp
QA Contact: Sudhir D
URL:
Whiteboard:
Depends On:
Blocks: rhq_spearhead
TreeView+ depends on / blocked
 
Reported: 2010-03-09 20:03 UTC by Steve Salevan
Modified: 2010-08-12 16:55 UTC (History)
2 users (show)

Fixed In Version: 2.4
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-08-12 16:55:15 UTC
Embargoed:


Attachments (Terms of Use)
resulting traceback taken from rhq-server-log4j.log (17.71 KB, text/plain)
2010-03-09 20:09 UTC, Steve Salevan
no flags Details

Description Steve Salevan 2010-03-09 20:03:00 UTC
Description of problem:
If a user assigns a misconfigured Mobicents Alert Sender Plugin to an Alert, the Alert itself will not fire.

Version-Release number of selected component (if applicable):
RHQ, 5/9 git pull, master branch

How reproducible:
Always

Steps to Reproduce:
1. Incorrectly configure the Alert:Mobicents server-side plugin
2. Add the Mobicents Alert Sender Plugin to an alert which is currently firing
  
Actual results:
Alert stops firing

Expected results:
Alert continues to fire, including any related errors in alert fire report

Additional info:

Comment 1 Steve Salevan 2010-03-09 20:09:07 UTC
Created attachment 398915 [details]
resulting traceback taken from rhq-server-log4j.log

Comment 2 Heiko W. Rupp 2010-03-22 14:32:33 UTC
Steve,

do you have any more details on how to reproduce - what was the misconfiguration you mention?
I did configure mobicents with a non-available server and get the following in the log (which is expected):

15:31:29,780 INFO  [MobicentsSender] Mobicents alert [VOICE] to baseUrl [http://localhost:8080/mobicentscall?alertId=11203&tel=sip:1345%40localhost] with message:
alertText=Alert on resource snert-e. Cause is 
  - Condition 1: Free Memory value changed
  - Date/Time: 2010/03/22 15:31:15 CET
  - Details: 160.8MB

15:31:29,780 WARN  [MobicentsSender] Notification via VoIP failed: java.net.ConnectException: Connection refused
15:31:29,780 INFO  [AlertManagerBean] SenderResult{message='Sending failed Connection refused', state=FAILURE, emails=[]}

But no stack trace.

Comment 3 Heiko W. Rupp 2010-04-22 09:43:07 UTC
I see this as "won't fix" - users that misconfigure a plugin can not expect it to work.

Comment 4 Steve Salevan 2010-04-22 13:35:21 UTC
I agree...  however, the Alert itself should fire.  I'll retest this today and see if the original issue still reproduces.

Comment 5 Sudhir D 2010-06-13 14:20:20 UTC
I verified that with _correct_ configuration, alerts are firing as expected. Also, considering comments#3 and #4, I'm marking this bug as verified.

Comment 9 Corey Welton 2010-08-12 16:55:15 UTC
Mass-closure of verified bugs against JON.


Note You need to log in before you can comment on or make changes to this bug.