Bug 604172 - Manipulating triggers in the Trigger Service
Summary: Manipulating triggers in the Trigger Service
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise MRG
Classification: Red Hat
Component: Grid_User_Guide
Version: Development
Hardware: All
OS: Linux
medium
medium
Target Milestone: 1.3
: ---
Assignee: Lana Brindley
QA Contact: ecs-bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-06-15 14:41 UTC by Robert Rati
Modified: 2013-10-23 23:16 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-10-14 20:05:57 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Robert Rati 2010-06-15 14:41:33 UTC
Description of problem:
This is the additional information from BZ510139 regarding manipulating event triggers in the Condor Trigger Service.

Adding triggers:
To add a trigger to the Trigger Service, the name, query, and trigger text must be provided to the condor_trigger_config command:

condor_trigger_config -a -n <name> -q <query> -t <text> broker

Where:
<name> is the name of the trigger
<query> is the classad query that must evaluate to true for the trigger to fire
<text> is the string that should be raised in the event
broker is the broker communicating with the Trigger Service


Removing triggers:
To remove a trigger from the Trigger Service, the ID number must be known (0 deletes all triggers):

condor_trigger_config -d <id> broker

Where:
<id> is the triggers unique ID number
broker is the broker communicating with the Trigger Service


Listing triggers:
To list triggers configured in the Trigger Service:

condor_trigger_config -l broker

Where:
broker is the broker communicating with the Trigger Service


Updates to BZ510139:
The condor_trigger_config is located in /usr/sbin not /sbin

Remove the following triggers from the list of default triggers:
Logs with Errors
Logs with Permission Errors
Logs with Warnings

And Add:
Trigger Name:                ClassAd Query:
Logs with ERROR entries     (TriggerdCondorLogCapitalError != \"\")
Logs with error entries     (TriggerdCondorLogLowerError != \"\")
Logs with DENIED entries    (TriggerdCondorLogCapitalDenied != \"\")
Logs with denied entries    (TriggerdCondorLogLowerDenied != \"\")
Logs with WARNING entries   (TriggerdCondorLogCapitalWarning != \"\")
Logs with warning entries   (TriggerdCondorLogLowerWarning != \"\")
Logs with stack dumps       (TriggerdCondorLogStackDump != \"\")


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


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Robert Rati 2010-06-15 15:13:49 UTC
Additional update to BZ510139:
Change:

condor_trigger_config -i

to:

condor_trigger_config -i broker

Where:
broker is the broker communicating with the Trigger Service

Comment 2 Lana Brindley 2010-06-21 00:31:26 UTC
All done. Will be available on the stage for review shortly.

LKB


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