Luca, et al:

The attached patch, BMS0216-plugindisabled-message.patch, is designed to
push a message back to the user if a plugin can not start up.  There's
specific logic for rrd and lastSeen, which are the two that have potential
fatal errors.

Basically, if there's something in the text, it's displayed and the status
of the plugin is forced to Active=No.

It does solve the problem of people missing the log message when they can't
create the rrd (sub)directories.

I'm not committing it because I want you to look it over first - I should
probably also set activePlugin in the PluginStatus structure, but I can't
find a clean way to get to it from inside the plugin, which only knows about
struct pluginInfo.

Please take a look and let me know...

-----Burton

Attachment: BMS0216-plugindisabled-message.patch
Description: Binary data

Reply via email to