I don't think this report should be closed.
The stderr indeed shouldn't be discarded.
It should be handled like this:
poller.php 2 /var/log/cacti_error.log # better: use logger/syslog
or
poller.php 2 tmp_err.log # Every 5 mins
if ( length(tmp_err.log) 0 ) {# Every day
cat tmp_err.log;
}
At least it shouldn't report every 5 minutes that some hosts are
unreachable. Daily is enough.
Daniel van Eeden
On Tue, 2005-05-17 at 04:03 -0700, Debian Bug Tracking System wrote:
This is an automatic notification regarding your Bug report
#309425: poller.php: timeouts in cron,
which was filed against the cacti package.
It has been closed by one of the developers, namely
sean finney [EMAIL PROTECTED].
Their explanation is attached below. If this explanation is
unsatisfactory and you have not received a better one in a separate
message then please contact the developer, by replying to this email.
Debian bug tracking system administrator
(administrator, Debian Bugs database)
Received: (at 309425-close) by bugs.debian.org; 17 May 2005 10:47:46 +
From [EMAIL PROTECTED] Tue May 17 03:47:46 2005
Return-path: [EMAIL PROTECTED]
Received: from dsl092-235-113.phl1.dsl.speakeasy.net (sativa.seanius.net)
[66.92.235.113]
by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
id 1DXzc2-0001RX-00; Tue, 17 May 2005 03:47:46 -0700
Received: by sativa.seanius.net (Postfix, from userid 1000)
id 0796315834; Tue, 17 May 2005 06:47:06 -0400 (EDT)
Date: Tue, 17 May 2005 06:47:06 -0400
From: sean finney [EMAIL PROTECTED]
To: Daniel van Eeden [EMAIL PROTECTED], [EMAIL PROTECTED]
Subject: Re: Bug#309425: poller.php: timeouts in cron
Message-ID: [EMAIL PROTECTED]
References: [EMAIL PROTECTED]
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
protocol=application/pgp-signature; boundary=LZvS9be/3tNcYl/X
Content-Disposition: inline
In-Reply-To: [EMAIL PROTECTED]
User-Agent: Mutt/1.5.5.1+cvs20040105i
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02
(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER
autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level:
--LZvS9be/3tNcYl/X
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
hi daniel
On Tue, May 17, 2005 at 08:02:51AM +0200, Daniel van Eeden wrote:
After my last upgrade I get spammed by cron. The poller.php output is
reporting that some hosts aren't responding. (the are down).
=20
Every 5 minutes I get emails like these:
=20
Timeout: No Response from pc2:161.
Timeout: No Response from pc3:161.
Timeout: No Response from elite:161.
you can set them to be ignored by changing
*/5 * * * * www-data /usr/share/cacti/site/poller.php /dev/null
to
*/5 * * * * www-data /usr/share/cacti/site/poller.php /dev/null 21
in /etc/cron.d/cacti. the reason why this started now is that someone
requested that i stop discarding stderr because it could silently hide
more serious problems, and i think that makes sense.
so, i'm going to go ahead and close this one.
sean
--=20
--LZvS9be/3tNcYl/X
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: Digital signature
Content-Disposition: inline
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFCicuqynjLPm522B0RAlK5AJ92VFlgi7TpceAdcHSZfplf3HmQfACfXfqj
A7JIEjswcqHgdDLdLQa5pWQ=
=EbPD
-END PGP SIGNATURE-
--LZvS9be/3tNcYl/X--
--
Daniel van Eeden [EMAIL PROTECTED]
signature.asc
Description: This is a digitally signed message part