$RRDEXEC graph $ONEYEAR \ -e $END \ -s $START \ -t "$sysDescr 線路狀態" \ -v "dB" \ -w 450 \ -h 250 \ -a PNG \ -n TITLE:12:/usr/share/fonts/arphicfonts/bsmi00lp.ttf \ DEF:dnm=$RRDFILE:DNM:MAX \ DEF:unm=$RRDFILE:UNM:MAX \ DEF:da=$RRDFILE:DA:MAX \ DEF:ua=$RRDFILE:UA:MAX \ COMMENT:"ITEM Name ----------------- -- MAX -- -- AVEG -- -- MIN -- -- LAST --\n" \ LINE2:dnm#0000ff:"Downstream Noise Margin" \ GPRINT:dnm:MAX:" %2.2lf" \ GPRINT:dnm:AVERAGE:" %2.2lf" \ GPRINT:dnm:MIN:" %2.2lf" \ GPRINT:dnm:LAST:" %2.2lf\n" \ LINE2:unm#00ff00:"Upstream Noise Margin " \ GPRINT:unm:MAX:" %2.2lf" \ GPRINT:unm:AVERAGE:" %2.2lf" \ GPRINT:unm:MIN:" %2.2lf" \ GPRINT:unm:LAST:" %2.2lf\n" \ LINE2:da#ff0000:"Downstream Attenuation " \ GPRINT:da:MAX:" %2.2lf" \ GPRINT:da:AVERAGE:" %2.2lf" \ GPRINT:da:MIN:" %2.2lf" \ GPRINT:da:LAST:" %2.2lf\n" \ LINE2:ua#ff00ff:"Upstream Attenuation " \ GPRINT:ua:MAX:" %2.2lf" \ GPRINT:ua:AVERAGE:" %2.2lf" \ GPRINT:ua:MIN:" %2.2lf" \ GPRINT:ua:LAST:" %2.2lf\n" \ COMMENT:"Uptime $sysUpTime\n" \ COMMENT:"Generated at $SNAP_STR"
沒有留言:
張貼留言