<html><head><style>#x70966b6609a947649b868a768a89f1c2 .plain div.plain_line
{white-space: pre-wrap;}
#x70966b6609a947649b868a768a89f1c2
{font-family: 'Segoe UI'; font-size: 12pt; color: rgb(0, 0, 0); margin-left: 0px; margin-right: 8px; background-color: rgb(255, 255, 255);}
</style>
<style id="css_styles">
blockquote.cite { margin-left: 5px; margin-right: 0px; padding-left: 10px; padding-right:0px; border-left: 1px solid #cccccc }
blockquote.cite2 {margin-left: 5px; margin-right: 0px; padding-left: 10px; padding-right:0px; border-left: 1px solid #cccccc; margin-top: 3px; padding-top: 0px; }
a img { border: 0px; }
li[style='text-align: center;'], li[style='text-align: right;'] { list-style-position: inside;}
body { font-family: Segoe UI; font-size: 12pt; }
</style>
</head>
<body><div id="x70966b6609a947649b868a768a89f1c2"><div class="plain"><div class="plain_line">Hello,</div>
<div class="plain_line"> </div>
<div class="plain_line">I am using this script</div>
<div class="plain_line">...</div>
<div class="plain_line">echo "PUTVAL $HOSTNAME/exec-$disk/gauge-disk_state interval=$INTERVAL N:$VALUE"</div>
<div class="plain_line">...</div>
<div class="plain_line">with $VALUE = 1, 0 or U</div>
<div class="plain_line">[full script below for readability]</div>
<div class="plain_line"> </div>
<div class="plain_line">When running this, I get '-1 Parsing the values string failed' in syslog.</div>
<div class="plain_line">When running the script manually, I get:</div>
<div class="plain_line">PUTVAL homeserver.fritz.box/exec-sda/gauge-disk_state interval=60 N:1</div>
<div class="plain_line">PUTVAL homeserver.fritz.box/exec-sdb/gauge-disk_state interval=60 N:1</div>
<div class="plain_line">PUTVAL homeserver.fritz.box/exec-sdc/gauge-disk_state interval=60 N:1</div>
<div class="plain_line">PUTVAL homeserver.fritz.box/exec-sdd/gauge-disk_state interval=60 N:1</div>
<div class="plain_line">PUTVAL homeserver.fritz.box/exec-sde/gauge-disk_state interval=60 N:1</div>
<div class="plain_line">PUTVAL homeserver.fritz.box/exec-sdf/gauge-disk_state interval=60 N:1</div>
<div class="plain_line">PUTVAL homeserver.fritz.box/exec-sdg/gauge-disk_state interval=60 N:1</div>
<div class="plain_line"> </div>
<div class="plain_line">What am I doing wrong?</div>
<div class="plain_line"> </div>
<div class="plain_line">Greetings,</div>
<div class="plain_line">Hendrik</div></div></div>
</body></html>