When using cactid, the script output gets truncated to 1024 chars (or, if
reading from script server, it only reads 1024 bytes at a time). The
result set of these templates is > 1024, and the logs produce the following
errors:
...
06/10/2008 01:15:59 PM - CACTID: Poller[0] Host[99] DS[2467] SS[0] WARNING:
Result from SERVER not valid. Partial Result: Key_read_requests:85...
06/10/2008 01:15:59 PM - CACTID: Poller[0] Host[99] DS[2467] SS[0] SERVER:
/usr/local/share/cacti/scripts/ss_get_mysql_stats.php ss_get_mysql_stats
<mysql_server>, output: U
06/10/2008 01:15:59 PM - CACTID: Poller[0] Host[99] DS[2468] SS[0] WARNING:
Result from SERVER not valid. Partial Result: Aborted_connects:51 ...
06/10/2008 01:15:59 PM - CACTID: Poller[0] Host[99] DS[2468] SS[0] SERVER:
/usr/local/share/cacti/scripts/ss_get_mysql_stats.php ss_get_mysql_stats
<mysql_server>, output: U
...
One solution is to recompile cactid with a 2048-char (or higher) limit, but
that is (in my mind) a last resort.
Original issue reported on code.google.com by ryan.a.l...@gmail.com on 10 Jun 2008 at 5:22
Original issue reported on code.google.com by
ryan.a.l...@gmail.com
on 10 Jun 2008 at 5:22