On Wed, 4 Nov 2009, Rainer Gerhards wrote:

>>> The GUI front-end I (barely) started to write talks to imdiag, but
>> this is
>>> not really anything decent so far. In the long term, I'd like to be
>> able to
>>> pull things like queue status, modules loaded, action status and the
>> like
>>> from a running instance as well as inject not only messages but
>> change some
>>> settings on the fly. My initial need was to provide a consistent
>> rsyslog/UDP
>>> monitoring solution (for performance testing) as well as problem
>> analysis.
>>
>> in a production environement you may not be able to use a GUI, and a
>> network socket (on anything other than localhost) is definantly a
>> problem.
>>
>> if you have it create a network listener on localhost that can be
>> connected to via telnet it's not nearly as big of a security problem.
>> then
>> it can be scripted or a user can cut-n-paste to it while still allowing
>> a
>> nice GUI (or text based equivalent) to be created as time permits. but
>> for
>> now just use a simple line-based interface and it would be usable.
>>
>> if the listening address and port are configurable you can have the
>> address default to 127.0.0.1 (relativly safe), but be configurable to
>> 0.0.0.0 so that you can hit it over the network with other machines as
>> needed.
>
> That's along the lines after which the current imdiag is designed. However, I
> was thinking to exchange some data via XML streams as it can be very lengthy
> (think of a complete queue stats dump for all queues in a system). XML would
> probably not work very well with the frontend, something readable would
> probably not work very well with the GUI - maybe the request should just
> specify the output format ;)

that can work, however XML output may not be too bad, people entering 
commands manually are probably not going to be asking for that much data.

the biggest problem I see with XML is the need to send requests and 
responses via e-mail for debugging. if one end uses a HTML enabled e-mail 
client it may not work well to paste XML text into it.


David Lang
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com

Reply via email to