[rsyslog] rsyslog stats - counters

david at lang.hm david at lang.hm
Wed Sep 8 19:03:33 CEST 2010


On Wed, 8 Sep 2010, Rainer Gerhards wrote:

> I have thought once again about which counters I could provide without
> generating most of the plumbing. Probably the only one I can envision is the
> number of message objects inside the system (assuming that number of queues
> itself and such is of really no interest at all), or more precisely number of
> messages generated and number of messages deleted. This does roughly reflect
> the number of messages processed, but only if no async queues are used (they
> require some message duplication). If this is considered useful, I could look
> into that. It probably takes two to three days to get that going with some
> minimal plumbing for the background writer (done in a clean way).
>
> I could also output the main queue size, but once again be reminded that this
> reflects only part of the picture (depending on config only a very small
> part...).
>
> Feedback appreciated.

I think that this would be useful to have. As it is, it's hard to tell if 
rsyslog is queuing messages or not, this would give you a tool to use to 
tell this.

David Lang



More information about the rsyslog mailing list