It's very partially being supported right now via imdiag. That module enables
to query the main message queue length (and only for the main message queue).
There is also a very, very rudamentary Java app in the v5. This was created
as part of the debugging/performance testing effort earlier this year, but
unfortunately more important things got into the way. An interace needs to be
designed (and implemented) for performance counters. IT's on the agenda, but
unfortunately not on the top spot. In concur that it would be very useful in
many cases.

Rainer 

> -----Original Message-----
> From: [email protected] 
> [mailto:[email protected]] On Behalf Of [email protected]
> Sent: Saturday, October 24, 2009 9:11 PM
> To: rsyslog-users
> Subject: [rsyslog] is there a way to find currnt queue status?
> 
> thinking back to the testing of the v5 code that I have been 
> doing this 
> last week, one thing that would be very useful is if there is 
> a way to 
> find out what the current queue lengths are.
> 
> one possible way to do this would be to have rsyslog watch 
> for a signal 
> and when it receives it, spit out the queue stats.
> 
> for the stats definantly the length of each queue, possibly 
> timestamps of 
> oldest and newest message in each queue
> 
> when spitting them out, some possible approaches are
> 
> to stderr
>    pro: simple
>    con: stderr may not appear if rsyslog is running as a 
> daemon from startup
> 
> add a log message to the main queue containing the data
>    pro: still fairly simple
>    con: if there is a long queue, or it is blocked the data 
> may not be 
> visable for a while
> 
> have each queue walker thread generate a message internally 
> and process it
>    pro: the data will show up fast, through the normal log mechanism
>    con: this is probably the most work to imeplement
> 
> this is not a critical issue, but it could be something that 
> would speed 
> up development in the long run by making it easier to figure 
> out the state 
> of the system.
> 
> or I could have just missed how something like this is 
> already supported 
> ;-)
> 
> David Lang
> _______________________________________________
> rsyslog mailing list
> http://lists.adiscon.net/mailman/listinfo/rsyslog
> http://www.rsyslog.com
> 
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com

Reply via email to