[rsyslog] rsyslog configuration graphs
Tom Metro
tmetro+rsyslog at gmail.com
Mon May 11 23:52:19 CEST 2009
Rainer Gerhards wrote:
> ...the ability to generate configuration graphs.
This would be another use case for a DBus interface. Instead of:
http://www.rsyslog.com/doc-rsconf1_generateconfiggraph.html
If [$GenerateConfigGraph] is specified, a graph is created. This
happens both during a regular startup as well a config check run. It
is recommended to include this directive only for documentation
purposes and remove it from a production configuraton.
you'd have another process connect to rsyslog's DBus interface and
request a graph on demand, and eliminate the need to temporarily add a
directive.
In addition:
The drawback, of course, is that you need to run Graphviz once you
have generated the control file...
this would permit having a script that grabbed the graph data and
presented it with Graphviz with just one user command.
Just something to consider, seeing as you were already thinking of maybe
adding a DBus interface some day.
-Tom
More information about the rsyslog
mailing list