configuring hq server for smtp server hyperic 4.2.0.7
This post is about configuring SMTP Server [ For sending email - alerts ] in Hyperic 4.2.0.7.
Let us assume hyperic server is installed at /home/hyperic/server-4.2.0.7
This is our base directory.
We need to do the following:
Part 1 :
File 1: jboss-service-events.xml
Inside base directory , an XML file (jboss-service-events.xml) is located
at /home/hyperic/server-4.2.0.7/conf/templates
Now edit the jboss-service-events.xml
File 2: hq-server.conf
This File is located at
/home/hyperic/server-4.2.0.7/conf/
Edit this file hq-server.conf
Goto to Line No.: 75 and specify
server.mail.host=smtp.server.in
Part 2:
Configure URL Correctly in Hyperic Server Portal :
Login to Hyperic Portal and click
Administration -> HQ Server Settings
Set the following fields correctly
Now Restart Hyperic Server and try to
This post is about configuring SMTP Server [ For sending email - alerts ] in Hyperic 4.2.0.7.
Let us assume hyperic server is installed at /home/hyperic/server-4.2.0.7
This is our base directory.
We need to do the following:
- Two files are required to be updated.
- Configure URL Correctly in Hyperic Server Portal
Part 1 :
File 1: jboss-service-events.xml
Inside base directory , an XML file (jboss-service-events.xml) is located
at /home/hyperic/server-4.2.0.7/conf/templates
Now edit the jboss-service-events.xml
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE server> <!-- $Id: jboss-service.xml,v 1.5 2006/03/08 23:27:28 clee Exp $ --> <server> <!-- ==================================================================== --> <!-- Mail Connection Factory --> <!-- ==================================================================== --> <mbean code="org.jboss.mail.MailService" name="jboss:service=SpiderMail"> <attribute name="JNDIName">java:/SpiderMail</attribute> <attribute name="User">some@smtp.server.in</attribute> <attribute name="Password">Password</attribute> <attribute name="Configuration"> <!-- SMTP --> <configuration> <property name="mail.smtp.host" value="smtp.server.in"/> <property name="mail.smtp.auth" value="true"/> <property name="mail.smtp.port" value="25"/> <property name="mail.debug" value="true"/> </configuration> </attribute> </mbean> </server>
File 2: hq-server.conf
This File is located at
/home/hyperic/server-4.2.0.7/conf/
Edit this file hq-server.conf
Goto to Line No.: 75 and specify
server.mail.host=smtp.server.in
Part 2:
Configure URL Correctly in Hyperic Server Portal :
Login to Hyperic Portal and click
Administration -> HQ Server Settings
Set the following fields correctly
- Base URL
- From Email Address
Now Restart Hyperic Server and try to
- Configure alert [Ex: Availability Alert]
- Stop Agent in a machine
- Check whether Alert is triggered and you get intimation via E-mail.
https://lists.springsource.com/archives/hq-users/2009-October/011398.html http://communities.vmware.com/message/1935537#1935537 https://support.hyperic.com/display/DOC/Configuring+HQ+Server+for+SMTP+Server
No comments:
Post a Comment