<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:x="urn:schemas-microsoft-com:office:excel" xmlns:p="urn:schemas-microsoft-com:office:powerpoint" xmlns:a="urn:schemas-microsoft-com:office:access" xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:s="uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" xmlns:rs="urn:schemas-microsoft-com:rowset" xmlns:z="#RowsetSchema" xmlns:b="urn:schemas-microsoft-com:office:publisher" xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet" xmlns:c="urn:schemas-microsoft-com:office:component:spreadsheet" xmlns:odc="urn:schemas-microsoft-com:office:odc" xmlns:oa="urn:schemas-microsoft-com:office:activation" xmlns:html="http://www.w3.org/TR/REC-html40" xmlns:q="http://schemas.xmlsoap.org/soap/envelope/" xmlns:rtc="http://microsoft.com/officenet/conferencing" xmlns:D="DAV:" xmlns:Repl="http://schemas.microsoft.com/repl/" xmlns:mt="http://schemas.microsoft.com/sharepoint/soap/meetings/" xmlns:x2="http://schemas.microsoft.com/office/excel/2003/xml" xmlns:ppda="http://www.passport.com/NameSpace.xsd" xmlns:ois="http://schemas.microsoft.com/sharepoint/soap/ois/" xmlns:dir="http://schemas.microsoft.com/sharepoint/soap/directory/" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:dsp="http://schemas.microsoft.com/sharepoint/dsp" xmlns:udc="http://schemas.microsoft.com/data/udc" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:sub="http://schemas.microsoft.com/sharepoint/soap/2002/1/alerts/" xmlns:ec="http://www.w3.org/2001/04/xmlenc#" xmlns:sp="http://schemas.microsoft.com/sharepoint/" xmlns:sps="http://schemas.microsoft.com/sharepoint/soap/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:udcs="http://schemas.microsoft.com/data/udc/soap" xmlns:udcxf="http://schemas.microsoft.com/data/udc/xmlfile" xmlns:udcp2p="http://schemas.microsoft.com/data/udc/parttopart" xmlns:wf="http://schemas.microsoft.com/sharepoint/soap/workflow/" xmlns:dsss="http://schemas.microsoft.com/office/2006/digsig-setup" xmlns:dssi="http://schemas.microsoft.com/office/2006/digsig" xmlns:mdssi="http://schemas.openxmlformats.org/package/2006/digital-signature" xmlns:mver="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns:mrels="http://schemas.openxmlformats.org/package/2006/relationships" xmlns:spwp="http://microsoft.com/sharepoint/webpartpages" xmlns:ex12t="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:ex12m="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:pptsl="http://schemas.microsoft.com/sharepoint/soap/SlideLibrary/" xmlns:spsl="http://microsoft.com/webservices/SharePointPortalServer/PublishedLinksService" xmlns:Z="urn:schemas-microsoft-com:" xmlns:st="" 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 12 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@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:"Arial Narrow";
        panose-1:2 11 6 6 2 2 2 3 2 4;}
@font-face
        {font-family:Webdings;
        panose-1:5 3 1 2 1 5 9 6 7 3;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        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;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
p.emailquote, li.emailquote, div.emailquote
        {mso-style-name:emailquote;
        mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:1.0pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.EmailStyle19
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle20
        {mso-style-type:personal-reply;
        font-family:"Tahoma","sans-serif";
        color:blue;
        font-weight:normal;
        font-style:normal;
        text-decoration:none none;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
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-GB link=blue vlink=purple>
<div class=WordSection1>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:blue'>Hi Steve<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:blue'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:blue'>Thanks for getting back to me. That command doesn’t work for me,
(as I’m a Windows user) even using Windows Powershell.<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:blue'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:blue'>PS F:\apache2\htdocs\cacti\rra> ls pavfr2-s200-*_traffic_*_*.rrd
| xargs -I '{}'<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:blue'> rrdtool tune {} --maximum traffic_in:1000000000 --maximum
traffic_out:100000000<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:blue'>0<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:blue'>The term 'xargs' is not recognized as the name of a cmdlet,
function, script fi<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:blue'>le, or operable program. Check the spelling of the name, or if a
path was inclu<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:blue'>ded, verify that the path is correct and try again.<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:blue'>At line:1 char:41<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:blue'>+ ls pavfr2-s200-*_traffic_*_*.rrd | xargs <<<< -I
'{}' rrdtool tune {} --maxi<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:blue'>mum traffic_in:1000000000 --maximum traffic_out:1000000000<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:blue'> + CategoryInfo : ObjectNotFound: (xargs:String) [],
CommandNotFou<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:blue'> ndException<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:blue'> + FullyQualifiedErrorId : CommandNotFoundException<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:blue'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:blue'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:blue'>It has given me food for thought and I will be working with one of
our server team members to try and do what I want using the FOR command. I’ll
post if I have any success so others can benefit, unless you know a way using
Windows.<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:blue'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:blue'>Cheers<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:blue'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:blue'>Jamie<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:blue'><o:p> </o:p></span></p>
<div>
<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'>
<p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:
"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;
font-family:"Tahoma","sans-serif"'> Steve Shipway
[mailto:s.shipway@auckland.ac.nz] <br>
<b>Sent:</b> 03 November 2010 03:44<br>
<b>To:</b> Jamie Bedford; 'rrd-users@lists.oetiker.ch'<br>
<b>Subject:</b> RE: Update multiple .rrd files<o:p></o:p></span></p>
</div>
</div>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal><span lang=EN-NZ style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>The rrdtool tune command doesn’t take multiple rrd files as
arguments.<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-NZ style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-NZ style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>However, what’s wrong with something like this:<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-NZ style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-NZ style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:blue'>ls pavfr2-s200-*_traffic_*_*.rrd | xargs –I ’{}’ rrdtool tune {}
--maximum traffic_in:1000000000 --maximum traffic_out:1000000000</span><span
lang=EN-NZ style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-NZ style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-NZ style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Steve<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-NZ style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<div>
<div class=MsoNormal align=center style='text-align:center'><span lang=EN-US
style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>
<hr size=2 width="100%" align=center>
</span></div>
<p class=MsoNormal><b><span lang=EN-NZ style='font-size:11.0pt;font-family:
"Calibri","sans-serif";color:#1F497D'>Steve Shipway<o:p></o:p></span></b></p>
<p class=MsoNormal><span lang=EN-NZ style='font-size:10.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>ITS Unix Services Design Lead<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-NZ style='font-size:10.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>University of Auckland, New Zealand<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-NZ style='font-size:10.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Floor 1, 58 Symonds Street, Auckland<o:p></o:p></span></p>
<p class=MsoNormal><i><span lang=EN-NZ style='font-size:10.0pt;font-family:
"Calibri","sans-serif";color:#595959'>Phone: +64 (0)9 3737599 ext 86487<o:p></o:p></span></i></p>
<p class=MsoNormal><i><span lang=EN-NZ style='font-size:10.0pt;font-family:
"Calibri","sans-serif";color:#595959'>DDI: +64 (0)9 924 6487<o:p></o:p></span></i></p>
<p class=MsoNormal><i><span lang=EN-NZ style='font-size:10.0pt;font-family:
"Calibri","sans-serif";color:#595959'>Mobile: +64 (0)21 753 189<o:p></o:p></span></i></p>
<p class=MsoNormal><i><span lang=EN-NZ style='font-size:10.0pt;font-family:
"Calibri","sans-serif";color:#595959'>Email: <a
href="mailto:s.shipway@auckland.ac.nz"><span style='color:#595959'>s.shipway@auckland.ac.nz</span></a><o:p></o:p></span></i></p>
<p class=MsoNormal><span style='font-size:18.0pt;font-family:Webdings;
color:green'>P</span><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:blue'> </span><span style='font-size:10.0pt;font-family:"Arial Narrow","sans-serif";
color:green'>Please consider the environment before printing this e-mail</span><span
style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:blue'> </span><span
style='font-size:7.5pt;font-family:"Verdana","sans-serif";color:navy'><o:p></o:p></span></p>
<p class=MsoNormal><i><span lang=EN-NZ style='font-size:10.0pt;font-family:
"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></i></p>
</div>
<p class=MsoNormal><span lang=EN-NZ style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<div style='border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt'>
<div>
<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'>
<p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:
"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;
font-family:"Tahoma","sans-serif"'>
rrd-users-bounces+s.shipway=auckland.ac.nz@lists.oetiker.ch
[mailto:rrd-users-bounces+s.shipway=auckland.ac.nz@lists.oetiker.ch] <b>On
Behalf Of </b>Jamie Bedford<br>
<b>Sent:</b> Tuesday, 2 November 2010 11:27 p.m.<br>
<b>To:</b> 'rrd-users@lists.oetiker.ch'<br>
<b>Subject:</b> [rrd-users] Update multiple .rrd files<o:p></o:p></span></p>
</div>
</div>
<p class=MsoNormal><span lang=EN-NZ><o:p> </o:p></span></p>
<div>
<p class=MsoNormal><span lang=EN-NZ style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:blue'>Hi</span><span lang=EN-NZ style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal><span lang=EN-NZ style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:blue'> </span><span lang=EN-NZ style='font-size:10.0pt;font-family:
"Tahoma","sans-serif"'><o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal><span lang=EN-NZ style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:blue'>This is my first post to the forum.</span><span lang=EN-NZ
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal><span lang=EN-NZ style='font-size:10.0pt;font-family:"Calibri","sans-serif";
color:blue'> </span><span lang=EN-NZ style='font-size:10.0pt;font-family:
"Tahoma","sans-serif"'><o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal><span lang=EN-NZ style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:blue'>I want to know if its possible to update multiple .rrd files at
once. I want to be able to change the maximum ds value in all traffic rrd files</span><span
lang=EN-NZ style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal><span lang=EN-NZ style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:blue'> </span><span lang=EN-NZ style='font-size:10.0pt;font-family:
"Tahoma","sans-serif"'><o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal><span lang=EN-NZ style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:blue'>I have tried using the following syntax</span><span lang=EN-NZ
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal><span lang=EN-NZ style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:blue'> </span><span lang=EN-NZ style='font-size:10.0pt;font-family:
"Tahoma","sans-serif"'><o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal><span lang=EN-NZ style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:blue'>rrdtool tune pavfr2-s200-*_traffic_*_*.rrd --maximum
traffic_in:1000000000 --maximum traffic_out:1000000000</span><span lang=EN-NZ
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal><span lang=EN-NZ style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:blue'> </span><span lang=EN-NZ style='font-size:10.0pt;font-family:
"Tahoma","sans-serif"'><o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal><span lang=EN-NZ style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:blue'>rrdtool tune pavfr2*_traffic*.rrd --maximum traffic_in:1000000000
--maximum traffic_out:1000000000</span><span lang=EN-NZ style='font-size:10.0pt;
font-family:"Tahoma","sans-serif"'><o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal><span lang=EN-NZ style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:blue'> </span><span lang=EN-NZ style='font-size:10.0pt;font-family:
"Tahoma","sans-serif"'><o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal><span lang=EN-NZ style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:blue'>and combinations of the above.</span><span lang=EN-NZ
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal><span lang=EN-NZ style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:blue'> </span><span lang=EN-NZ style='font-size:10.0pt;font-family:
"Tahoma","sans-serif"'><o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal><span lang=EN-NZ style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:blue'>It just doesn't seem to work.</span><span lang=EN-NZ
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal><span lang=EN-NZ style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:blue'> </span><span lang=EN-NZ style='font-size:10.0pt;font-family:
"Tahoma","sans-serif"'><o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal><span lang=EN-NZ style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:blue'>F:\apache2\htdocs\cacti\rra>rrdtool info
pavfr2-s200-1_traffic_in_765.rrd</span><span lang=EN-NZ style='font-size:10.0pt;
font-family:"Tahoma","sans-serif"'><o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal><span lang=EN-NZ style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:blue'>filename = "pavfr2-s200-1_traffic_in_765.rrd"</span><span
lang=EN-NZ style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal><span lang=EN-NZ style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:blue'>rrd_version = "0003"</span><span lang=EN-NZ
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal><span lang=EN-NZ style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:blue'>step = 60</span><span lang=EN-NZ style='font-size:10.0pt;
font-family:"Tahoma","sans-serif"'><o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal><span lang=EN-NZ style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:blue'>last_update = 1288109947</span><span lang=EN-NZ style='font-size:
10.0pt;font-family:"Tahoma","sans-serif"'><o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal><span lang=EN-NZ style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:blue'>ds[traffic_in].type = "COUNTER"</span><span lang=EN-NZ
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal><span lang=EN-NZ style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:blue'>ds[traffic_in].minimal_heartbeat = 120</span><span lang=EN-NZ
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal><span lang=EN-NZ style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:blue'>ds[traffic_in].min = 0.0000000000e+000</span><span lang=EN-NZ
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal><span lang=EN-NZ style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:blue'>ds[traffic_in].max = NaN</span><span lang=EN-NZ style='font-size:
10.0pt;font-family:"Tahoma","sans-serif"'><o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal><span lang=EN-NZ style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:blue'>ds[traffic_in].last_ds = "590039818712"</span><span
lang=EN-NZ style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal><span lang=EN-NZ style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:blue'>ds[traffic_in].value = 6.6679704918e+004</span><span lang=EN-NZ
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal><span lang=EN-NZ style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:blue'>ds[traffic_in].unknown_sec = 0</span><span lang=EN-NZ
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal><span lang=EN-NZ style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:blue'>ds[traffic_out].type = "COUNTER"</span><span lang=EN-NZ
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal><span lang=EN-NZ style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:blue'>ds[traffic_out].minimal_heartbeat = 120</span><span lang=EN-NZ
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal><span lang=EN-NZ style='font-size:10.0pt;font-family:"Calibri","sans-serif";
color:blue'> </span><span lang=EN-NZ style='font-size:10.0pt;font-family:
"Tahoma","sans-serif"'><o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal><span lang=EN-NZ style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:blue'>I would like to be able to update the files in blocks by using a
portion of the hostname and the word traffic. I’m a bit wary about updating all
rrd files with the word traffic in</span><span lang=EN-NZ style='font-size:
10.0pt;font-family:"Tahoma","sans-serif"'><o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal><span lang=EN-NZ style='font-size:10.0pt;font-family:"Calibri","sans-serif";
color:blue'> </span><span lang=EN-NZ style='font-size:10.0pt;font-family:
"Tahoma","sans-serif"'><o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal><span lang=EN-NZ style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:blue'>The reason I want to do this is because I have just changed the max
ds value in my interface traffic data templates. This is because I have been
seeing some massive spikes in my graphs. I have used spikekill to remove these
spikes. Now I need to update rrd files so I don't get these Petabyte spikes
again.</span><span lang=EN-NZ style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal><span lang=EN-NZ style='font-size:10.0pt;font-family:"Calibri","sans-serif";
color:blue'> </span><span lang=EN-NZ style='font-size:10.0pt;font-family:
"Tahoma","sans-serif"'><o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal><span lang=EN-NZ style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:blue'>I’m using RRDTool 1.2.30 on a Windows server running Cacti. I
posted this issue on the Cacti forums but they directed me here as it’s a more
to do with rrdtool than Cacti. </span><span lang=EN-NZ style='font-size:10.0pt;
font-family:"Tahoma","sans-serif"'><o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal><span lang=EN-NZ style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:blue'> </span><span lang=EN-NZ style='font-size:10.0pt;font-family:
"Tahoma","sans-serif"'><o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal><span lang=EN-NZ style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:blue'>I’m not a script expert :o(</span><span lang=EN-NZ
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal><span lang=EN-NZ style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:blue'> </span><span lang=EN-NZ style='font-size:10.0pt;font-family:
"Tahoma","sans-serif"'><o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal><span lang=EN-NZ style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:blue'>Cheers</span><span lang=EN-NZ style='font-size:10.0pt;font-family:
"Tahoma","sans-serif"'><o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal><span lang=EN-NZ style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:blue'> </span><span lang=EN-NZ style='font-size:10.0pt;font-family:
"Tahoma","sans-serif"'><o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal><span lang=EN-NZ style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:blue'>Jamie</span><span lang=EN-NZ style='font-size:10.0pt;font-family:
"Tahoma","sans-serif"'><o:p></o:p></span></p>
</div>
<div style='margin-top:5.0pt;margin-bottom:5.0pt'>
<p class=MsoNormal><b><span lang=EN-NZ style='font-size:10.0pt;font-family:
"Tahoma","sans-serif";color:#7E0C64'>Jamie Bedford</span></b><span lang=EN-NZ
style='color:blue'> <br>
</span><span lang=EN-NZ style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:blue'>Computershare</span><span lang=EN-NZ style='color:blue'> <br>
</span><span lang=EN-NZ style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:blue'>Data Comminucations Engineer - Technology Services</span><span
lang=EN-NZ style='color:blue'> <br>
</span><span lang=EN-NZ style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:blue'>Jamie.bedford@computershare.co.uk</span><span lang=EN-NZ
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal><span lang=EN-NZ style='font-size:10.0pt;font-family:"Calibri","sans-serif";
color:blue'> </span><span lang=EN-NZ style='font-size:10.0pt;font-family:
"Tahoma","sans-serif"'><o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal><span lang=EN-NZ style='font-size:10.0pt;font-family:"Calibri","sans-serif"'> </span><span
lang=EN-NZ style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal><span lang=EN-NZ style='font-size:10.0pt;font-family:"Calibri","sans-serif"'> </span><span
lang=EN-NZ style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><o:p></o:p></span></p>
</div>
<p><span lang=EN-NZ style='font-size:8.0pt;font-family:"Arial","sans-serif"'>Computershare
Technology Services (UK) Limited is registered in England & Wales Company
No. 3199675. Registered Office: The Pavilions, Bridgwater Road, Bristol BS13
8AE</span><span lang=EN-NZ><o:p></o:p></span></p>
<p><span lang=EN-NZ style='font-size:8.0pt;font-family:"Arial","sans-serif"'> </span><span
lang=EN-NZ><o:p></o:p></span></p>
<p><span lang=EN-NZ style='font-size:8.0pt;font-family:"Arial","sans-serif"'>Please
visit the following website to read the Computershare legal notice:
http://www.computershare.com/disclaimer/emea</span><span lang=EN-NZ><o:p></o:p></span></p>
<p><span lang=EN-NZ style='font-size:8.0pt;font-family:"Arial","sans-serif"'> </span><span
lang=EN-NZ><o:p></o:p></span></p>
</div>
</div>
<p><span style="font-family:'Arial';font-size:8pt;">Computershare Technology Services (UK) Limited is registered in England & Wales Company No. 3199675. Registered Office: The Pavilions, Bridgwater Road, Bristol BS13 8AE</span></p>
<p><span style="font-family:'Arial';font-size:8pt;"></span></p>
<p><span style="font-family:'Arial';font-size:8pt;"> </span></p>
<p><span style="font-family:'Arial';font-size:8pt;">Please visit the following website to read the Computershare legal notice: http://www.computershare.com/disclaimer/emea</span></p>
<p><span style="font-family:'Arial';font-size:8pt;"> </span></p></body>
</html>