Created attachment 379021 [details] FQDN is known to RHQ Description of problem: I properly get an alert message from rhq when I have set up the IRC alert sender. <rhq_alerts_wes> Alert -- test01 (on 10-16-120-153.guest.rhq.lab.eng.bos.redhat.com RHQ Agent): http://localhost:7080/alerts/Alerts.do?mode=viewAlert&id=10002&a=10001 However the URL of the server in the alert is set to localhost. localhost should be the fully qualified domain name of the rhq server. THe configuration in the alert and irc plugin do not have any fields that would effect the hostname of the server. I do not think I can configure the server in any way to fix this, if I can please let me know. The fully qualified domain name of the server is known to the server, I'll post a screenshot for that. Here is the alert I get via email.. ------------------------------ - Resource Name: 10-16-120-153.guest.rhq.lab.eng.bos.redhat.com RHQ Agent - Alert Name: testSNMP - Alert Severity: !! - Medium - Alert Date/Time: Thu Dec 17 10:47:02 EST 2009 - Conditions: - Condition 1: Execute Availability Scan SUCCESS - Date/Time: 2009/12/17 10:47:01 EST - Details: Success ------------------------------------------ Resource Hierarchy was: - 10-16-120-153.guest.rhq.lab.eng.bos.redhat.com | +- 10-16-120-153.guest.rhq.lab.eng.bos.redhat.com RHQ Agent ------------------------------------------ For additional details about this alert, go to http://localhost:7080/alerts/Alerts.do?mode=viewAlert&id=10002&a=10032 This message was delivered to you by RHQ. ------------------------------
rhq-server.properties set to: # ********************************** NOTE ************************************ # If the jboss.bind.address property is set to anything besides 0.0.0.0, # uncomment the java.rmi.server.hostname property below and set it to the same # value - setting it to ${jboss.bind.address} will *not* work. jboss.bind.address=0.0.0.0 #java.rmi.server.hostname=0.0.0.0
setting the correct URI in RHQ General Configuration Properties System -> Configuration fixes the issue