Package: cacti Version: 0.8.6c-8 Severity: normal Tags: patch This is kind of a follow up to bug #309194. The fix for that was sufficient for me to get notified about errors that were happening in a cacti installation I've got which monitors a single system. However I just noticed problems with another cacti installation which monitors lots of systems. It's been silently failing for several weeks now and upgrading to 0.8.6c-8 didn't produce any error messages.
So I dug around the PHP code and came up with the enclosed patch which causes the poller to send me an appropriate error in my case. The patch first extends the cacti_log() function to optionally output to stderr rather than stdout, and then makes poller.php use that new feature when it exits due to the maximum runtime being exceeded. Now I've just got to figure out why the run is taking so long! Cheers, Mark. PS. I'll try to sort out the blacklist problem with the mail server for my other email address soon.... -- System Information: Debian Release: 3.1 APT prefers testing APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental') Architecture: i386 (i686) Kernel: Linux 2.4.26-1-686-smp Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Versions of packages cacti depends on: ii apache 1.3.33-6 versatile, high-performance HTTP s ii debconf 1.4.30.13 Debian configuration management sy ii libphp-adodb 4.52-1 The 'adodb' database abstraction l ii logrotate 3.7-3 Log rotation utility ii mysql-client 4.0.24-10 mysql database client binaries ii php4 4:4.3.10-15 server-side, HTML-embedded scripti ii php4-cli 4:4.3.10-15 command-line interpreter for the p ii php4-mysql 4:4.3.10-15 MySQL module for php4 ii php4-snmp 4:4.3.10-15 SNMP module for php4 ii rrdtool 1.0.49-1 Time-series data storage and displ ii snmp 5.1.2-6.1 NET SNMP (Simple Network Managemen ii ucf 1.17 Update Configuration File: preserv -- debconf information excluded
cacti.patch
Description: Binary data