<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: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=iso-8859-1"><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:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@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;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-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.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Sprechblasentext Zchn";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
span.E-MailFormatvorlage17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.SprechblasentextZchn
        {mso-style-name:"Sprechblasentext Zchn";
        mso-style-priority:99;
        mso-style-link:Sprechblasentext;
        font-family:"Tahoma","sans-serif";}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="2050" />
</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=DE link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span lang=EN-US>Hi I am having several php scripts running. 1 year without any problems. Now I created an adon with thom new rrd. Databases.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>$command ='usr/bin/rrdtool create /var/rrd/data/B6000801CA34E0.rrd '.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US> '--step 60 '. // -s indicates the time between updates in sec. <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US> 'DS:tmp:GAUGE:120:-20:110 '. <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US> 'RRA:AVERAGE:0.5:2:4320 '. </span>// 2 minuten 6 Tage<o:p></o:p></p><p class=MsoNormal> 'RRA:AVERAGE:0.5:6:2016 '. // 6 minuten 8 tage 9 stunden<o:p></o:p></p><p class=MsoNormal> 'RRA:AVERAGE:0.5:60:1900 '. // 1 stunde 2 monate 18 tage<o:p></o:p></p><p class=MsoNormal> 'RRA:AVERAGE:0.5:720:1488 '. // 12 stunden 2 jahre<o:p></o:p></p><p class=MsoNormal> 'RRA:MAX:0.5:2:2016 '. <span lang=EN-US>// MAX<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US> 'RRA:MAX:0.5:6:2016 '. <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US> 'RRA:MAX:0.5:60:1900 '. <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US> 'RRA:MAX:0.5:720:1488 '. <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US> </span>'RRA:MIN:0.5:2:2016 '. // MIN<o:p></o:p></p><p class=MsoNormal> 'RRA:MIN:0.5:6:2016 '. <o:p></o:p></p><p class=MsoNormal> 'RRA:MIN:0.5:60:1900 '. <o:p></o:p></p><p class=MsoNormal> 'RRA:MIN:0.5:720:1488';<o:p></o:p></p><p class=MsoNormal>shell_exec($command);<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><span lang=EN-US>That’s running fine, rrd is created.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Now I am trying to update the database<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>$daten =99<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>shell_exec('/usr/bin/rrdtool update /var/rrd/data/B6000801CA34E0.rrd N:'.$daten);<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>No go !<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>shell_exec('/usr/bin/rrdtool update /var/rrd/data/B6000801CA34E0.rrd N:98');<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>No go!<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>on command promp <o:p></o:p></span></p><p class=MsoNormal>/usr/bin/rrdtool update /var/rrd/data/B6000801CA34E0.rrd N:97'<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><span lang=EN-US>No error or anything.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>I made a dump to see if datas are running into the rrd database, but there are only NaN entry’s.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Can anyone give me a hint why it is not running or what my error is?<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>/usr/bin/rrdtool dump /var/rrd/data/B6000801CA34E0.rrd >test.xlm<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal>"<?xml";"version=""1.0""";"encoding=""utf-8""?>";;;;;;;<o:p></o:p></p><p class=MsoNormal>"<!DOCTYPE";"rrd";"SYSTEM";"http://oss.oetiker.ch/rrdtool/rrdtool.dtd>";;;;;;<o:p></o:p></p><p class=MsoNormal><span lang=EN-US>"<!--";"Round";"Robin";"Database";"Dump";"--><rrd> <version>";3;"</version>";;<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>" <step>";60;"</step>";"<!--";"Seconds";"-->";;;;<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>" <lastupdate>";1295474221;"</lastupdate>";"<!--";"2011-01-19";"22:57:01";"CET";"-->";;<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>;;;;;;;;;<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>" <ds>";;;;;;;;;<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>" <name>";"tmp";"</name>";;;;;;;<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>" <type>";"GAUGE";"</type>";;;;;;;<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>" <minimal_heartbeat>";120;"</minimal_heartbeat>";;;;;;;<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>" <min>";"-2.0000000000e+01";"</min>";;;;;;;<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>" <max>";"1.1000000000e+02";"</max>";;;;;;;<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>;;;;;;;;;<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>" <!--";"PDP";"Status";"-->";;;;;;<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>" <last_ds>";97;"</last_ds>";;;;;;;<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>" <value>";"1.8342063050e+02";"</value>";;;;;;;<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>" <unknown_sec>";0;"</unknown_sec>";;;;;;;<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>" </ds>";;;;;;;;;<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>;;;;;;;;;<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>"<!--";"Round";"Robin";"Archives";"--> <rra>";;;;;<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>" <cf>";"AVERAGE";"</cf>";;;;;;;<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>" <pdp_per_row>";2;"</pdp_per_row>";"<!--";120;"seconds";"-->";;;<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>;;;;;;;;;<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>" <params>";;;;;;;;;<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>" <xff>";"5.0000000000e-01";"</xff>";;;;;;;<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>" </params>";;;;;;;;;<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>" <cdp_prep>";;;;;;;;;<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>" <ds>";;;;;;;;;<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>" <primary_value>";"0.0000000000e+00";"</primary_value>";;;;;;;<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>" <secondary_value>";"0.0000000000e+00";"</secondary_value>";;;;;;;<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>" <value>";"NaN";"</value>";;;;;;;<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>" <unknown_datapoints>";1;"</unknown_datapoints>";;;;;;;<o:p></o:p></span></p><p class=MsoNormal>" </ds>";;;;;;;;;<o:p></o:p></p><p class=MsoNormal>" </cdp_prep>";;;;;;;;;<o:p></o:p></p><p class=MsoNormal>" <database>";;;;;;;;;<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0 width=936 style='width:701.65pt;border-collapse:collapse'><tr style='height:57.25pt'><td width=132 valign=top style='width:99.25pt;padding:0cm 5.75pt 0cm 5.75pt;height:57.25pt'><p class=MsoNormal style='line-height:115%'><span style='color:#1F497D'>Grüße/Regads</span><span style='font-size:10.0pt;line-height:115%;color:#1F497D'><o:p></o:p></span></p><p class=MsoNormal style='line-height:115%'><span style='color:#1F497D'>Marc Tobien<o:p></o:p></span></p><p class=MsoNormal style='line-height:115%'><span style='color:#363FF2'><img width=48 height=71 id="Bild_x0020_1" src="cid:image001.jpg@01CBB82F.4E52BD10" alt=image004> </span><span style='color:#1F497D'><o:p></o:p></span></p></td><td width=803 valign=top style='width:602.4pt;padding:0cm 5.75pt 0cm 5.75pt;height:57.25pt'><p class=MsoNormal style='line-height:115%'><span style='color:#17365D'> <o:p></o:p></span></p><p class=MsoNormal style='line-height:115%'><span style='color:#17365D'><o:p> </o:p></span></p><p class=MsoNormal style='line-height:115%'><span style='font-size:10.0pt;line-height:115%;color:#17365D'>Marc Tobien </span><span style='font-size:10.0pt;line-height:115%;font-family:"Tahoma","sans-serif";color:#17365D'><o:p></o:p></span></p><p class=MsoNormal style='line-height:115%'><span style='font-size:12.0pt;line-height:115%;font-family:Wingdings;color:#1F497D'>(</span><span style='font-size:8.0pt;line-height:115%;color:#1F497D'> Direct: +49 4202 71079 |</span><span style='color:#363FF2'><img width=19 height=19 id="Bild_x0020_2" src="cid:image002.gif@01CBB82F.4E52BD10" alt=image005></span><span lang=FR style='font-size:9.0pt;line-height:115%;color:#1F497D'> </span><span lang=FR style='font-size:8.0pt;line-height:115%;color:#1F497D'>Mobile: +49 17662866919</span><span lang=FR style='font-size:9.0pt;line-height:115%;color:#1F497D'> | </span><span style='color:#363FF2'><img width=16 height=16 id="Bild_x0020_3" src="cid:image003.gif@01CBB82F.4E52BD10" alt=image006></span><span lang=FR style='font-size:9.0pt;line-height:115%;color:#1F497D'> </span><span lang=FR style='font-size:8.0pt;line-height:115%;color:#1F497D'>Email: <a href="mailto:Marc.Tobien@eds.com"><span style='line-height:115%'>Marc@Tobien.net</span></a></span><span lang=FR style='font-size:9.0pt;line-height:115%;color:#1F497D'> </span><span lang=FR style='font-size:9.0pt;line-height:115%;color:#1F497D'><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB style='font-size:8.0pt;font-family:"Arial","sans-serif";color:silver'>Th</span><span lang=FR style='font-size:8.0pt;font-family:"Arial","sans-serif";color:silver'>is e-mail (and any accompanying files or documents) may contain information that is confidential, privileged or otherwise protected from disclosure. If you are not an intended recipient of this e-mail, do not review, duplicate or redistribute it by any means. Please delete it and any attachments and notify the sender that you have received it in error. Unintended recipients are prohibited from taking action on the basis of information in this e-mail.</span><span lang=EN-GB style='font-size:8.0pt;font-family:"Arial","sans-serif";color:silver'><o:p></o:p></span></p></td></tr></table><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p></div></body></html>