This is a discussion on [rrd-users] Help -how to extract rrd data for script variables within the RRD Users forums, part of the Networking and Network Related category; This is a multi-part message in MIME format. --===============1751541759== Content-Type: multipart/alternative; boundary="----=_NextPart_000_002C_01C7F329.975865B0" This ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
This is a multi-part message in MIME format.
--===============1751541759== Content-Type: multipart/alternative; boundary="----=_NextPart_000_002C_01C7F329.975865B0" This is a multi-part message in MIME format. ------=_NextPart_000_002C_01C7F329.975865B0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I was hoping someone could help me out in a script snippet (hopefully = bash) in how to extract data from an rrd to be used within script = variables. example... I would like to get four variables that represented say max = daily, min daily, avg daily and last value. I do not want to plot a = graph just use the rrd database to extract the four pieces of = information and place them in my script variable so I can biuld a = simple report I already have the rrd's setup for max, min avg cheers. ------=_NextPart_000_002C_01C7F329.975865B0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=3DContent-Type content=3D"text/html; = charset=3Diso-8859-1"> <META content=3D"MSHTML 6.00.6000.16525" name=3DGENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=3D#ffffff> <DIV><FONT face=3DArial size=3D2>I was hoping someone could help me out = in a script=20 snippet (hopefully bash) in how to extract data from an rrd to be used = within=20 script variables.</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>example... I would like to=20 get four variables that represented say max daily, min daily, = avg=20 daily and last value. I do not want to plot a graph just use = the=20 rrd database to extract the four pieces of information and place = them=20 in my script variable so I can biuld a simple report I = already=20 have the rrd's setup for max, min avg</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>cheers.</FONT></DIV></BODY></HTML> ------=_NextPart_000_002C_01C7F329.975865B0-- --===============1751541759== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ rrd-users mailing list rrd-users@lists.oetiker.ch https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users --===============1751541759==-- |