Bug 614165 - The alert operation like executing script is giving null pointer argument exception
Summary: The alert operation like executing script is giving null pointer argument exc...
Status: CLOSED CURRENTRELEASE
Alias: None
Product: RHQ Project
Classification: Other
Component: Alerts
Version: 3.0.0
Hardware: x86_64
OS: Linux
urgent
high vote
Target Milestone: ---
: ---
Assignee: Joseph Marques
QA Contact: Sudhir D
URL:
Whiteboard:
Keywords:
Depends On:
Blocks: jon24-alert-scripts
TreeView+ depends on / blocked
 
Reported: 2010-07-13 19:07 UTC by ktk
Modified: 2010-08-12 16:59 UTC (History)
1 user (show)

(edit)
Clone Of:
(edit)
Last Closed: 2010-08-12 16:59:26 UTC


Attachments (Terms of Use)

Description ktk 2010-07-13 19:07:47 UTC
Description of problem:
The operation on alert notification is giving failure of executing bash script with below error:
Operations   FAILURE   Executed 'Execute' on the ( localhost > myscript) resource
 parameterized argument replacement failed with null.


Version-Release number of selected component (if applicable):
jopr-3.0

How reproducible:
1.Add a script in inventory of OS managed server
2.create a alert on os say 80% cpu utilization and then select notification action set  > Add new resource operation > select specific resource model >pick the added custom script of first step.
3.Then click save.
4.Now generate a load on managed server to genrate a alert then it should call the added custom script.

Actual results:
The bash script should execute without error.

Expected results:
It should execute.

Additional info:

Comment 1 Joseph Marques 2010-07-13 19:28:51 UTC
commit 729deb1e260cd73f7e6bcfcd5d63e1f57ae4a7da
Author: Joseph Marques <joseph@redhat.com>
Date:   Tue Jul 13 15:10:54 2010 -0400

    BZ-614165: do not try to parameter-replace UNSET configuration properties

Comment 2 Sudhir D 2010-07-14 14:19:04 UTC
I have verified this on jon-server-2.4.0.GA_QA.zip build# 62. 

Marking this bug as verified.

Comment 3 Corey Welton 2010-08-12 16:59:26 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.