# mrtg mrtg.online.cfg
PHP Warning: mssql_connect(): WARNING! Some character(s) could not be converted into client's character set. Unconverted bytes were changed to question marks ('?'). (severity 16) in /usr/local/etc/mrtg/mrtg.online on line 4
2013-12-07 19:34:54: WARNING: Problem with External get '/usr/local/etc/mrtg/mrtg.online':
Expected a Number for 'in' but got ''
2013-12-07 19:34:54: ERROR: Target[mrtg][_IN_] ' $target->[0]{$mode} ' did not eval into defined data
Use of uninitialized value $inlast in pattern match (m//) at /usr/local/bin/mrtg line 1044.
数据源来自php采集的远端mssql数据库一个数据,附加另外三个0,组成mrtg绘图数据源。
但绘制图形时位置有误。采集的数据显示在运行时间处了。
请大家给出指导意见!
自己凭感觉终于搞定: 都是字体集惹的祸,把php.ini中的default_charset和mssql.charset都设置为“UTF-8”后OK!
阅读(1118) | 评论(1) | 转发(0) |