Bug 675159
Summary: | RfE: add log4j alert sender | ||
---|---|---|---|
Product: | [Other] RHQ Project | Reporter: | Heiko W. Rupp <hrupp> |
Component: | Alerts | Assignee: | Nobody <nobody> |
Status: | ASSIGNED --- | QA Contact: | |
Severity: | unspecified | Docs Contact: | |
Priority: | medium | ||
Version: | 4.0.0 | CC: | sdharane, smillidge |
Target Milestone: | --- | Keywords: | FutureFeature |
Target Release: | --- | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Enhancement | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | Type: | --- | |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Heiko W. Rupp
2011-02-04 14:01:02 UTC
Contribution from Steve Millidge added in ea44c9b22fcf4 I looked around, but not sure how to test this. Setting this to Need info. The sender is in RHQ 4 b1 ; the server plugin should have a description on how to set up logging so that alerts go into a specific log file: <serverplugin:help> Used to send notifications to a Log4J Category. This enables you to send different alerts to different log files where they can be scraped by different system management tools e.g. OVO. To configure log4j in the RHQServer edit the file ${rhq.server.home}/conf/jboss-log4j.xml and configure an appender for each of your log categories. The format of the log4J message is; ALERT,Priority,AlertName,AlertDescription,ResourceName,ResourcePlatform,AlertDetails,RHQURL </serverplugin:help> We should probably add a page to the RHQ wiki about this. discussed with deon. assigning bug to her for consideration for possible inclusion in the documentation ...possibly at this location: http://documentation-stage.bne.redhat.com/docs/en-US/JBoss_Operations_Network/3.0/html/Basic_Admin_Guide/writing-serverside-plugins.html#example-alert-sender Reassigning to John Ha. |