[prev in list] [next in list] [prev in thread] [next in thread]
List: opennms-discuss
Subject: Re: [opennms-discuss] snmp graph labels
From: "Roskens, Ronald" <Ronald.Roskens () biworldwide ! com>
Date: 2012-01-30 17:41:42
Message-ID: C9265D4839934844B7FD633ADAFB733C441A14F4 () BIEXCHMB02 ! biperf ! com
[Download RAW message or body]
\r doesn't seem to work when used as part of a sequence like this:
STACK:ngzNineCpu#A66900:"{ngz_nine}" \
GPRINT:ngzNineCpu:AVERAGE:"Avg \\: %6.2lf" \
GPRINT:ngzNineCpu:MIN:"Min \\: %6.2lf" \
GPRINT:ngzNineCpu:MAX:"Max \\: %6.2lf\\r"
Ron
From: David Hustace [mailto:david@opennms.com]
Sent: Sunday, January 29, 2012 8:08 AM
To: General OpenNMS Discussion
Subject: Re: [opennms-discuss] snmp graph labels
On Jan 11, 2012, at 12:58 PM, Roskens, Ronald wrote:
Any ideas on how to accomplish this?
How about *right* alignment? You can add the \r to the GPRINT string for this. You \
can also add \g to trim white space off the end of a string.
David Hustace
The OpenNMS Group, Inc.
'\ . . |>
\ . ' . |
O>> . 'o |
\ . |
/\ . |
/ / .' |
^^^^^^^`^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
This e-mail message is being sent solely for use by the intended recipient(s) and may \
contain confidential information. Any unauthorized review, use, disclosure or \
distribution is prohibited. If you are not the intended recipient, please contact \
the sender by phone or reply by e-mail, delete the original message and destroy all \
copies. Thank you.
[Attachment #3 (text/html)]
<html xmlns:v="urn:schemas-microsoft-com:vml" \
xmlns:o="urn:schemas-microsoft-com:office:office" \
xmlns:w="urn:schemas-microsoft-com:office:word" \
xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" \
xmlns="http://www.w3.org/TR/REC-html40"> <head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:Verdana;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:"\0027Courier New\0027";
panose-1:0 0 0 0 0 0 0 0 0 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.apple-style-span
{mso-style-name:apple-style-span;}
span.EmailStyle18
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span \
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">\r \
doesn’t seem to work when used as part of a sequence like \
this:<o:p></o:p></span></p> <p class="MsoNormal"><span \
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span \
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">STACK:ngzNineCpu#A66900:"{ngz_nine}" \
\<o:p></o:p></span></p> <p class="MsoNormal"><span \
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">GPRINT:ngzNineCpu:AVERAGE:"Avg \
\\: %6.2lf" \<o:p></o:p></span></p> <p class="MsoNormal"><span \
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">GPRINT:ngzNineCpu:MIN:"Min \
\\: %6.2lf" \<o:p></o:p></span></p> <p class="MsoNormal"><span \
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">GPRINT:ngzNineCpu:MAX:"Max \
\\: %6.2lf\\r"<o:p></o:p></span></p> <p class="MsoNormal"><span \
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span \
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Ron<o:p></o:p></span></p>
<p class="MsoNormal"><span \
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span \
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span \
style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span \
style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> David \
Hustace [mailto:david@opennms.com] <br>
<b>Sent:</b> Sunday, January 29, 2012 8:08 AM<br>
<b>To:</b> General OpenNMS Discussion<br>
<b>Subject:</b> Re: [opennms-discuss] snmp graph labels<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal">On Jan 11, 2012, at 12:58 PM, Roskens, Ronald \
wrote:<o:p></o:p></p> </div>
<p class="MsoNormal"><br>
<br>
<o:p></o:p></p>
<div>
<p class="MsoNormal"><span \
style="font-size:11.0pt;font-family:"Calibri","sans-serif"">Any \
ideas on how to accomplish this?<o:p></o:p></span></p> </div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">How about *right* alignment? You can add the \r to the \
GPRINT string for this. You can also add \g to trim white space off the end of \
a string.<o:p></o:p></p> </div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal"><span \
style="font-size:10.0pt;font-family:"Verdana","sans-serif";color:black">David \
Hustace<o:p></o:p></span></p> </div>
<div>
<p class="MsoNormal"><span \
style="font-size:10.0pt;font-family:"Verdana","sans-serif";color:black">The \
OpenNMS Group, Inc.<o:p></o:p></span></p> </div>
<div>
<p class="MsoNormal"><span \
style="font-size:10.0pt;font-family:"Verdana","sans-serif";color:black"><o:p> </o:p></span></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<p class="MsoNormal"><span class="apple-style-span"><span \
style="font-size:9.0pt;font-family:"Courier New";color:#1F497D"> \
'\ . \
. \
|></span><o:p></o:p></span></p> <div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal"><span class="apple-style-span"><span \
style="font-size:9.0pt;font-family:"" \
CourierNew??,?serif?;color:#1F497D?=""> \ \
. ' . \
|</span></span><span \
style="font-size:11.5pt;color:#1F497D"><o:p></o:p></span></p> </div>
<div>
<p class="MsoNormal"><span class="apple-style-span"><span \
style="font-size:9.0pt;font-family:"" \
CourierNew??,?serif?;color:#1F497D?=""> O>> \
. 'o \
|</span></span><span \
style="font-size:11.5pt;color:#1F497D"><o:p></o:p></span></p> </div>
<div>
<p class="MsoNormal"><span class="apple-style-span"><span \
style="font-size:9.0pt;font-family:"" \
CourierNew??,?serif?;color:#1F497D?=""> \ \
. \
|</span></span><span \
style="font-size:11.5pt;color:#1F497D"><o:p></o:p></span></p> </div>
<div>
<p class="MsoNormal"><span class="apple-style-span"><span \
style="font-size:9.0pt;font-family:"" \
CourierNew??,?serif?;color:#1F497D?=""> /\ \
. \
|</span></span><span \
style="font-size:11.5pt;color:#1F497D"><o:p></o:p></span></p> </div>
<div>
<p class="MsoNormal"><span class="apple-style-span"><span \
style="font-size:9.0pt;font-family:"" \
CourierNew??,?serif?;color:#1F497D?=""> / / .' \
\
|</span></span><span \
style="font-size:11.5pt;color:#1F497D"><o:p></o:p></span></p> </div>
<div>
<p class="MsoNormal"><span class="apple-style-span"><span \
style="font-size:9.0pt;font-family:"" \
CourierNew??,?serif?;color:#1F497D?=""> ^^^^^^^`^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^</span></span><span \
style="font-size:11.5pt;color:#1F497D"><o:p></o:p></span></p> </div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<br clear="both">
This e-mail message is being sent solely for use by the intended recipient(s) and may \
contain confidential information. Any unauthorized review, use, disclosure or \
distribution is prohibited. If you are not the intended recipient, please contact \
the sender by phone or reply by e-mail, delete the original message and destroy all \
copies. Thank you.<BR> </body>
</html>
[Attachment #4 (--===============0247166263983171968==)]
------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ
opennms-discuss mailing list
To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-discuss
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic