Priority configuration
by Al Amyot
I have a requirement to send alert notifications to an incident
management system. I see that I can customize the the alert emails but
is there a way to remove the "!" marks from the alert priorities? I just
want to send High/medium/Low
Al Amyot | Consultant
Sierra Systems
(eHealth): 204-926-4257 (T): 204-942-2575 (F): 204-942-2047
444 St. Mary Avenue, Suite 1050
Winnipeg, MB R3C 3T1
Management Consulting | System Integration | Managed Services
website: www.SierraSystems.com <http://www.sierrasystems.com/>
This email and/or any documents in this transmission is intended for the
addressee(s) only and may contain legally privileged or confidential information. Any unauthorized use, disclosure, distribution, copying or dissemination is strictly prohibited. If you receive this transmission in error, please notify the sender immediately and return the original.
Ce courriel et tout document dans cette transmission est destiné à la personne ou aux personnes à qui il est adressé. Il peut contenir des informations privilégiées ou confidentielles. Toute utilisation, divulgation, distribution, copie, ou diffusion non autorisée est strictement défendue. Si vous n'êtes pas le destinataire de ce message, veuillez en informer l'expéditeur immédiatement et lui remettre l'original.
13 years, 3 months
restoring an un-inventoried platform
by Al Amyot
Is there a mechanism to restore a platform that has been removed from
the inventory? What about its manually added resources?
...Al
This email and/or any documents in this transmission is intended for the
addressee(s) only and may contain legally privileged or confidential information. Any unauthorized use, disclosure, distribution, copying or dissemination is strictly prohibited. If you receive this transmission in error, please notify the sender immediately and return the original.
Ce courriel et tout document dans cette transmission est destiné à la personne ou aux personnes à qui il est adressé. Il peut contenir des informations privilégiées ou confidentielles. Toute utilisation, divulgation, distribution, copie, ou diffusion non autorisée est strictement défendue. Si vous n'êtes pas le destinataire de ce message, veuillez en informer l'expéditeur immédiatement et lui remettre l'original.
13 years, 5 months
CLI results: exitcode=[null]
by Al Amyot
What does an exitcode of null from a script imply?
When using the Script plugin, I usually see an exitcode =-999 if the
script cannot be executed (e.g. its not found).
Executing the same Script plugin using the Execute operation and the
same arguments as on the Availability check, returns the expected
output. But those same arguments executed on the Availability scan,
returns the following. Has it timed out?
CLI results: exitcode=[null]; error=[null]; output=<cr><lf>
Al Amyot
This email and/or any documents in this transmission is intended for the
addressee(s) only and may contain legally privileged or confidential information. Any unauthorized use, disclosure, distribution, copying or dissemination is strictly prohibited. If you receive this transmission in error, please notify the sender immediately and return the original.
Ce courriel et tout document dans cette transmission est destiné à la personne ou aux personnes à qui il est adressé. Il peut contenir des informations privilégiées ou confidentielles. Toute utilisation, divulgation, distribution, copie, ou diffusion non autorisée est strictement défendue. Si vous n'êtes pas le destinataire de ce message, veuillez en informer l'expéditeur immédiatement et lui remettre l'original.
13 years, 5 months
initial i18n work is complete
by Joseph Marques
The initial work for internationalizing the web application is now
complete. You can see the tokens with their values in:
...coregui/src/main/resources/org/rhq/enterprise/gui/coregui/client/Messages.properties
If you want to add translations for other languages, all you need to do
is add another file in the same directory suffixed with the locale like so:
...coregui/src/main/resources/org/rhq/enterprise/gui/coregui/client/Messages_de.properties
Once the translation is complete, go to CoreGUI.gwt.xml and enable that
localization in the build:
<extend-property name="locale" values="de" />
Keep in mind that due to the fact that we're using the static string
initialization technique [1], this will lengthen the overall build time
when you do this. If you were previously compiling two versions of the
application - one for FF, one for WebKit - this will now double the
number of compilation permutations - one for FF 'en', one for FF 'de',
one for WebKit 'en', and one for WebKit 'de'.
Once built, you can access the translated web application by going to:
...CoreGUI.html?locale=de
Keep in mind that when you switch locales, it's effectively loading an
entirely different application because the translated strings are
compiled directly into each permutation separately, thus you'll
experience the initial download/startup time again). There are other
ways to invoke the correct localized application, such as <meta> tags
and property providers [2], but we can cross that bridge a bit later.
Note: the Messages*.properties files should use UTF-8 encoding, which
will allow Unicode characters to be used directly in the properties.
I've already added the necessary <meta> tag to CoreGUI.html, to support
rendering correctly:
<meta http-equiv="content-type" content="text/html;charset=utf-8" />
If you have any questions, feel free to ping back.
-joseph
[1] -
http://code.google.com/webtoolkit/doc/latest/DevGuideI18n.html#DevGuideSt...
[2] -
http://code.google.com/webtoolkit/doc/latest/DevGuideI18nLocale.html#Loca...
13 years, 5 months
Custom JMX plugin problems
by Al Amyot
I previously had a simple customized JMX server working which included
an application MBean with %engine% and %port% as dynamic parts of the
name. It successfully discovered the MBean and a couple of metrics.
Today, I tried to refine it so that it would discover all the MBeans and
all by replacing a fixed string with the %interaction% variable to the
objectName pattern and the new simple-property element for it. There are
about 15 MBeans matching this pattern. The XML comment below illustrates
a concrete MBean name.
Now, the resource is not dynamically discovered so I tried manually
adding it and get this error:
There are no connection properties defined for ResourceType[id=10222,
category=Server, name=Initiate JMX server, plugin=Initiate Hub]
(At one point, in error, I changed the plugin name from "Initiate JMX"
to "Initiate Hub". After some work, it nows accepts this new name.)
This is the new plugin descriptor. Can anyone suggest what the problen
night be?
<plugin name="Initiate Hub"
displayName="Initiate Hub JMX Interface"
description="Extends the JMX Plugin to support the Initiate
Mbeans"
version="1.7"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="urn:xmlns:rhq-plugin"
xmlns:c="urn:xmlns:rhq-configuration">
<depends plugin="JMX" useClasses="true"/>
<server name="Initiate JMX server"
supportsManualAdd="true"
createDeletePolicy="both">
<!-- Initiate services (One service per mbean) -->
<service name="Initiate Interaction MBean"
discovery="org.rhq.plugins.jmx.MBeanResourceDiscoveryComponent"
class="org.rhq.plugins.jmx.MBeanResourceComponent"
description="Initiate interaction metrics">
<runs-inside>
<parent-resource-type name="JMX Server" plugin="JMX"/>
</runs-inside>
<plugin-configuration>
<c:simple-property name="objectName" readOnly="true"
default="com.initiatesystems:service=%engine%,category=Listeners,id=%por
t%,type=Interactions,ixn=%interaction%"/>
<!--
default="com.initiatesystems:service=MPINETEMPI_UAT,category=Listeners,i
d=16070,type=Interactions,ixn=MEMSEARCH"/> -->
<c:simple-property name="nameTemplate"
default="{engine}:{port} {interaction}"/>
<c:simple-property name="descriptionTemplate"
default="Initiate Hub {engine} on port {port} Interaction
[interaction}"/>
<c:simple-property name="engine" type="string"
description="Engine instance name"/>
<c:simple-property name="port" type="integer"
description="Listener port number"/>
<c:simple-property name="interaction" type="string"
description="Interaction type"/>
</plugin-configuration>
<metric displayName="Audit level for the specific interaction"
etc...
Al Amyot | Consultant
Sierra Systems
(eHealth): 204-926-4257 (T): 204-942-2575 (F): 204-942-2047
444 St. Mary Avenue, Suite 1050
Winnipeg, MB R3C 3T1
Management Consulting | System Integration | Managed Services
website: www.SierraSystems.com <http://www.sierrasystems.com/>
This email and/or any documents in this transmission is intended for the
addressee(s) only and may contain legally privileged or confidential information. Any unauthorized use, disclosure, distribution, copying or dissemination is strictly prohibited. If you receive this transmission in error, please notify the sender immediately and return the original.
Ce courriel et tout document dans cette transmission est destiné à la personne ou aux personnes à qui il est adressé. Il peut contenir des informations privilégiées ou confidentielles. Toute utilisation, divulgation, distribution, copie, ou diffusion non autorisée est strictement défendue. Si vous n'êtes pas le destinataire de ce message, veuillez en informer l'expéditeur immédiatement et lui remettre l'original.
13 years, 5 months
Sync Repository gives succesfull message but there is no data
by Ezequiel Martin Rodriguez
Hi!
I created my content-source and my repository and associated them. I used
the generatePackageIndex() method from SimpleIndexParser class to generate
my index-content.txt file. Can check it here:
http://svn.rhq-project.org/repos/rhq/branches/HEIKO-EXP/modules/enterpris...
because it is not created by default.
I checked in the content-index file to my svn repository. But when I sync
I get no data. I also tried with a local folder but I've got the same
output:
Wed Nov 17 03:00:00 ARST 2010: Start synchronization of Repository
[repoSVN]
Wed Nov 17 03:00:00 ARST 2010: Getting currently known list of content
source packages...
Wed Nov 17 03:00:01 ARST 2010: Removing...0
Wed Nov 17 03:00:01 ARST 2010: Adding...0
Wed Nov 17 03:00:01 ARST 2010: Updating...0
Wed Nov 17 03:00:01 ARST 2010: MERGE COMPLETE.
Lazy load enabled for source [prueba], skipping package bits sync for repo
[repoSVN]
Wed Nov 17 03:00:01 ARST 2010: Repository [repoSVN] completed syncing with
no errors.
What am I doing wrong?
Thanks in advance,
Ezequiel.
13 years, 5 months
Sync Repository gives succesfull message but there is no data
by Ezequiel Martin Rodriguez
Hi!
I created my content-source and my repository and associated them. I used
the generatePackageIndex() method from SimpleIndexParser class to generate
my index-content.txt file. Can check it here:
http://svn.rhq-project.org/repos/rhq/branches/HEIKO-EXP/modules/enterpris...
because it is not created by default.
I checked in the content-index file to my svn repository. But when I sync
I get no data. I also tried with a local folder but I've got the same
output:
Wed Nov 17 03:00:00 ARST 2010: Start synchronization of Repository
[repoSVN]
Wed Nov 17 03:00:00 ARST 2010: Getting currently known list of content
source packages...
Wed Nov 17 03:00:01 ARST 2010: Removing...0
Wed Nov 17 03:00:01 ARST 2010: Adding...0
Wed Nov 17 03:00:01 ARST 2010: Updating...0
Wed Nov 17 03:00:01 ARST 2010: MERGE COMPLETE.
Lazy load enabled for source [prueba], skipping package bits sync for repo
[repoSVN]
Wed Nov 17 03:00:01 ARST 2010: Repository [repoSVN] completed syncing with
no errors.
What am I doing wrong?
Thanks in advance,
Ezequiel.
13 years, 5 months
Tomcat response times
by Al Amyot
I've just configured a Tomcat server in RHQ and have two questions:
1) It appears you can't graph response times. From some of the past discussion, it appears this feature was removed as being not useful. Is that true?
2) According to the RHQ 3.0 release notes:
It is now possible to do alerting on Call Time data ( Session Bean method stats, Web response times). This has been contributed by Frank Brüseke (Univ. Paderborn).
I don't see call time as an option on the Alert Definition page and HTTP Response Time is not in the Metric drop down list (it IS enabled on the Monitor->Schedules page). Where /how can I configure an alert on HTTP response times?
Al Amyot | Consultant
Sierra Systems
(eHealth): 204-926-4257 (T): 204-942-2575 (F): 204-942-2047
444 St. Mary Avenue, Suite 1050
Winnipeg, MB R3C 3T1
Management Consulting | System Integration | Managed Services
website: www.SierraSystems.com <http://www.sierrasystems.com/>
This email and/or any documents in this transmission is intended for the
addressee(s) only and may contain legally privileged or confidential information. Any unauthorized use, disclosure, distribution, copying or dissemination is strictly prohibited. If you receive this transmission in error, please notify the sender immediately and return the original.
Ce courriel et tout document dans cette transmission est destiné à la personne ou aux personnes à qui il est adressé. Il peut contenir des informations privilégiées ou confidentielles. Toute utilisation, divulgation, distribution, copie, ou diffusion non autorisée est strictement défendue. Si vous n'êtes pas le destinataire de ce message, veuillez en informer l'expéditeur immédiatement et lui remettre l'original.
13 years, 5 months