I have customized the Script plugin by adding several metrics. These successfully display on the Monitor tab under Tables but do not display under Graphs.
Shouldn't all metrics enabled on the Monitor tab under Schedules also be graphed? Is this ability determined by the metrics attributes? Below is an example of the metric definition:
<metric property="{-i MB01 -m read}|" dataType="measurement" displayName="MB01 Messages read" description="Number of messages read by MB01 msgreader" defaultOn="true" units="none" defaultInterval="300000" displayType="summary" category="throughput" measurementType="trendsup" />
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.
displayType="summary" should be the attribute that puts the graphs on that main measurement tab ("summary" it more or less a legacy term - the alternative is "detail" which means by default just show the data in the "tables" subtab - "summary" means to also show it in the "graphs" subtab so you can get a "summary" of the main data for that resource (or so that's the theory behind the terms :)
There is actually a way to get a "summary" graph to show up, even if the default displayType is "detail" - right mouse click on the resource in the left-hand tree and there are options that you can add the graph to the "graphs" subtab.
I have never seen a case where displayType="summary" did not work - I have to believe there is something else going on - it doesn't look to be a problem with the descriptor metadata itself.
On 10/20/2010 09:35 AM, Al Amyot wrote:
I have customized the Script plugin by adding several metrics. These successfully display on the Monitor tab under Tables but do not display under Graphs. Shouldn't all metrics enabled on the Monitor tab under Schedules also be graphed? Is this ability determined by the metrics attributes? Below is an example of the metric definition: <metric property="{-i MB01 -m read}|" dataType="measurement" displayName="MB01 Messages read" description="Number of messages read by MB01 msgreader" defaultOn="true" units="none" defaultInterval="300000" displayType="summary" category="throughput" measurementType="trendsup" /> Al Amyot | Consultant Sierra Systems
rhq-users@lists.stg.fedorahosted.org