[prev in list] [next in list] [prev in thread] [next in thread] 

List:       opennms-discuss
Subject:    [opennms-discuss] Graph definition help
From:       "Tom Powers" <tomp () sound-solutions ! biz>
Date:       2010-05-27 21:28:07
Message-ID: 211CB997E93BC049A65C1FA815B90D3401143014 () DEFIANT ! ssi ! private
[Download RAW message or body]

--===============2012723755024747822==
Content-Class: urn:content-classes:message
Content-Type: multipart/related;
	boundary="----=_NextPart_000_0812_01CAFDB9.96FE0F50"

This is a multi-part message in MIME format.

[Attachment #2 (.)]


Sound Solutions, Inc.
8400 Highland Dr.
Wausau, WI 54401
Tel: 715-842-7665
Fax: 715-842-7620
Hello All,

We are writing a new graph and would like some clarification on the
fields in this APC temperature graph that we are using as a template:
 
The report part makes sense for naming, etc.
 
The DEF part makes sense as it tells us what RRD1 counter to use (based
on the alias from datacollection-config.xml) and it looks like the DEF's
are also finding the min and max temeratures.
 
My question is in the CDEF.... ftemp makes sense as it is converting the
celcius to Farenheit (take the counter, X9, divide by 5, add 32), and
the same for the minFtemp and maxFtemp
 
The Line2 command I assume is drawing the line on the graph, as the
0000ff is thickness and color of the line? As well as the name of it.
 
Its the GPRINT I'm not getting.  It calls ftemp for each of the average,
min and max....shouldn't it call the ftemp for the average (as defined
in the first cdef), but then the last 2 GPRINT entries also use ftemp
for min and max....shouldn't they use the minFtemp and maxFtemp that are
calculated in the 2nd and 3rd CDEF entries?
 
If so...how does this actually work?  If not...why have the 2nd and 3rd
CDEF entries.?
I'm sure it's simple...but I be missing it.
 
All help is appreciated.

Tom P
 
 
report.apc.temp.name=Temperature

report.apc.temp.columns=apctemp

report.apc.temp.type=nodeSnmp

report.apc.temp.command=--title="Temp. in Fahrenheit" \

--units-exponent 0 \

DEF:temp={rrd1}:apctemp:AVERAGE \

DEF:minTemp={rrd1}:apctemp:MIN \

DEF:maxTemp={rrd1}:apctemp:MAX \

CDEF:ftemp=temp,9,*,5,/,32,+ \

CDEF:minFtemp=minTemp,9,*,5,/,32,+ \

CDEF:maxFtemp=maxTemp,9,*,5,/,32,+ \

LINE2:ftemp#0000ff:"Temp. in Fahrenheit" \

GPRINT:ftemp:AVERAGE:" Avg \\: %8.2lf %s" \

GPRINT:ftemp:MIN:"Min \\: %8.2lf %s" \

GPRINT:ftemp:MAX:"Max \\: %8.2lf %s\\n"


--------------------------------------------------------------------------
 
Sound Solutions, Inc. - Since 1995
We Appreciate Your Business and Referrals

This message (and any associated files) is intended only for the use of the \
individual or entity to which it is addressed and may contain information that is \
confidential, subject to copyright or constitutes a trade secret. If you are not the \
intended recipient you are hereby notified that any dissemination, copying or \
distribution of this message, or files associated with this message, is strictly \
prohibited. If you have received this message in error, please notify us immediately \
by replying to the message and deleting it from your computer. Messages sent to and \
from us may be monitored. 

Internet communications cannot be guaranteed to be secure or error-free as \
information could be intercepted, corrupted, lost, destroyed, arrive late or \
incomplete, or contain viruses. Therefore, we do not accept responsibility for any \
errors or omissions that are present in this message, or any attachment, that have \
arisen as a result of e-mail transmission. If verification is required, please \
request a hard-copy version. Any views or opinions presented are solely those of the \
author and do not necessarily represent those of the company. 


[Attachment #5 (text/html)]

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><HTML><head><META \
content="text/html; charset=utf-8" http-equiv="Content-Type">

<META content="text/html; charset=utf-8" http-equiv=Content-Type>
<META content="MSHTML 6.00.6000.16915" name=GENERATOR></head><BODY>
<DIV>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0"><!-- Letter Heading -->
<TBODY>
<TR>
<TD ALIGN="right" COLSPAN="3"><IMG ALIGN="baseline" ALT BORDER="0" HSPACE="0" \
SRC="cid:image9de806.gif@f44f20c0.0e4143f4"><BR> <DIV STYLE="FONT-SIZE: 9pt; COLOR: \
navy; FONT-FAMILY: verdana">Sound Solutions, Inc.</DIV> <DIV STYLE="FONT-SIZE: 9pt; \
COLOR: navy; FONT-FAMILY: verdana">8400 Highland Dr.<BR>Wausau, WI&nbsp; \
54401<BR>Tel: 715-842-7665<BR>Fax: 715-842-7620<BR></DIV></TD></TR><!-- Letter Body \
--> <TR>
<TD><!-- Left margin --></TD>
<TD>
<DIV><SPAN class=326052021-27052010><FONT face=Arial size=2>Hello 
All,</FONT></SPAN></DIV><SPAN class=326052021-27052010>
<DIV><BR><FONT face=Arial size=2>We are writing a new graph and would like some 
clarification on the fields in this&nbsp;<SPAN class=326052021-27052010>APC 
temperature </SPAN>graph that we are using as a template:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><SPAN class=326052021-27052010><FONT face=Arial size=2>The report part 
makes sense for naming, etc.</FONT></SPAN></DIV>
<DIV><SPAN class=326052021-27052010><FONT face=Arial \
size=2></FONT></SPAN>&nbsp;</DIV> <DIV><SPAN class=326052021-27052010><FONT \
face=Arial size=2>The DEF part makes  sense as it tells us what RRD1 counter to use \
(based on the alias from  datacollection-config.xml) and it looks like the DEF's are \
also finding the min  and max temeratures.</FONT></SPAN></DIV>
<DIV><SPAN class=326052021-27052010><FONT face=Arial \
size=2></FONT></SPAN>&nbsp;</DIV> <DIV><SPAN class=326052021-27052010><FONT \
face=Arial size=2>My question is in  the CDEF.... ftemp makes sense as it is \
converting the celcius to Farenheit  (take the counter, X9, divide by 5, add 32), and \
the same for the minFtemp and  maxFtemp</FONT></SPAN></DIV>
<DIV><SPAN class=326052021-27052010><FONT face=Arial \
size=2></FONT></SPAN>&nbsp;</DIV> <DIV><SPAN class=326052021-27052010><FONT \
face=Arial size=2>The Line2 command I  assume is drawing the line on the graph, as \
the 0000ff is thickness and color of  the line? As well as the name of \
it.</FONT></SPAN></DIV> <DIV><SPAN class=326052021-27052010><FONT face=Arial \
size=2></FONT></SPAN>&nbsp;</DIV> <DIV><SPAN class=326052021-27052010><FONT \
face=Arial size=2>Its the GPRINT I'm  not getting.&nbsp; It calls ftemp for each of \
the average, min and  max....shouldn't it call the ftemp for the average (as defined \
in the first  cdef), but then the last 2 GPRINT entries also use ftemp for min and 
max....shouldn't they use the minFtemp and maxFtemp that are calculated in the 
2nd and 3rd CDEF entries?</FONT></SPAN></DIV>
<DIV><SPAN class=326052021-27052010><FONT face=Arial \
size=2></FONT></SPAN>&nbsp;</DIV> <DIV><SPAN class=326052021-27052010><FONT \
face=Arial size=2>If so...how does  this actually work?&nbsp; If not...why have the \
2nd and 3rd CDEF  entries.?</FONT></SPAN><SPAN class=326052021-27052010><FONT \
face=Arial size=2></FONT></SPAN></DIV> <DIV><SPAN class=326052021-27052010><FONT \
face=Arial size=2>I'm sure it's  simple...but I be missing it.</FONT></SPAN></DIV>
<DIV><SPAN class=326052021-27052010><FONT face=Arial \
size=2></FONT></SPAN>&nbsp;</DIV> <DIV><SPAN class=326052021-27052010><FONT \
face=Arial size=2>All help is  appreciated.</FONT></SPAN></DIV><SPAN \
class=326052021-27052010><FONT face=Arial size=2> <DIV><BR>Tom P</DIV>
<DIV>&nbsp;</DIV>
<DIV></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN lang=EN>
<P><FONT face=Arial size=2>report.apc.temp.name=Temperature</FONT></P>
<P><FONT face=Arial size=2>report.apc.temp.columns=apctemp</FONT></P>
<P><FONT face=Arial size=2>report.apc.temp.type=nodeSnmp</FONT></P>
<P><FONT face=Arial size=2>report.apc.temp.command=--title="Temp. in Fahrenheit" 
\</FONT></P>
<P><FONT face=Arial size=2>--units-exponent 0 \</FONT></P>
<P><FONT face=Arial size=2>DEF:temp={rrd1}:apctemp:AVERAGE \</FONT></P>
<P><FONT face=Arial size=2>DEF:minTemp={rrd1}:apctemp:MIN \</FONT></P>
<P><FONT face=Arial size=2>DEF:maxTemp={rrd1}:apctemp:MAX \</FONT></P>
<P><FONT face=Arial size=2>CDEF:ftemp=temp,9,*,5,/,32,+ \</FONT></P>
<P><FONT face=Arial size=2>CDEF:minFtemp=minTemp,9,*,5,/,32,+ \</FONT></P>
<P><FONT face=Arial size=2>CDEF:maxFtemp=maxTemp,9,*,5,/,32,+ \</FONT></P>
<P><FONT face=Arial size=2>LINE2:ftemp#0000ff:"Temp. in Fahrenheit" \</FONT></P>
<P><FONT face=Arial size=2>GPRINT:ftemp:AVERAGE:" Avg \\: %8.2lf %s" 
\</FONT></P>
<P><FONT face=Arial size=2>GPRINT:ftemp:MIN:"Min \\: %8.2lf %s" \</FONT></P>
<P><FONT face=Arial size=2>GPRINT:ftemp:MAX:"Max \\: %8.2lf 
%s\\n"</FONT></P></SPAN></SPAN></DIV></TD>
<TD><!-- Right margin --></TD></TR><!-- Footer -->
<TR>
<TD COLSPAN="3">
<CENTER STYLE="MARGIN-LEFT: 18pt; MARGIN-RIGHT: 18pt">
<HR>
</CENTER>
<CENTER STYLE="MARGIN-LEFT: 18pt; MARGIN-RIGHT: 18pt">
<DIV STYLE="FONT-SIZE: 7pt; COLOR: navy; FONT-FAMILY: verdana; align: \
center">&nbsp;</DIV> <DIV STYLE="FONT-SIZE: 7pt; COLOR: navy; FONT-FAMILY: verdana; \
align: center">Sound Solutions, Inc.&nbsp; - Since 1995</DIV> <DIV STYLE="FONT-SIZE: \
7pt; COLOR: navy; FONT-FAMILY: verdana; align: center">We Appreciate Your Business \
and Referrals</DIV></CENTER></TD></TR><!-- Disclaimer --> <TR>
<TD COLSPAN="3"><BR><SPAN STYLE="FONT-SIZE: 7pt; COLOR: gray; FONT-FAMILY: \
verdana">This message (and any associated files) is intended only for the use of the \
individual or entity to which it is addressed and may contain information that is \
confidential, subject to copyright or constitutes a trade secret. If you are not the \
intended recipient you are hereby notified that any dissemination, copying or \
distribution of this message, or files associated with this message, is strictly \
prohibited. If you have received this message in error, please notify us immediately \
by replying to the message and deleting it from your computer. Messages sent to and \
from us may be monitored. <BR><BR>Internet communications cannot be guaranteed to be \
secure or error-free as information could be intercepted, corrupted, lost, destroyed, \
arrive late or incomplete, or contain viruses. Therefore, we do not accept \
responsibility for any errors or omissions that are present in this message, or any \
attachment, that have arisen as a result of e-mail transmission. If verification is \
required, please request a hard-copy version. Any views or opinions presented are \
solely those of the author and do not necessarily represent those of the company. \
<BR><BR></SPAN></TD></TR></TBODY></TABLE></DIV></BODY></HTML>


[Attachment #6 (image/gif)]
[Attachment #7 (--===============2012723755024747822==)]
------------------------------------------------------------------------------

_______________________________________________
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