2011/2/2 Hartmut Goebel <h.goe...@goebel-consult.de>

> Hi,
>
> I wrote a design study for Python based plugins, see
> <https://bitbucket.org/htgoebel/shinken-plugins/src>. This is only a
> design study for the interface, I do not intent to develop plugins there
> :-)
>
> It differs from what Alberic published, as I use classes (instead of
> decorated functions) and a Result()  object for returning the data.
>
> The major benefit for such a result object is that it can be processed
> quite easily, ads the dummy example for check_multi shows: Results are
> more or less simply added, no need to parse a string.
>
> Comments are welcome.
>
>

very simple and clear interface (one of the most even).

so very good to me.

the only (not including the questions that I can't imagine ;)) question that
would remain :  where to put the shinken_plugins
<https://bitbucket.org/htgoebel/shinken-plugins/src/8f5290c7ef77/shinken_plugins/>/
__init__.py   file and what name to give it.

in  shinken/core/plugin.py   ?

and we would put the plugins you already wrote in shinken/plugins/  thus ?

greg.















> --
> Schönen Gruß - Regards
> Hartmut Goebel
> Dipl.-Informatiker (univ.), CISSP, CSSLP
>
> Goebel Consult
> Spezialist für IT-Sicherheit in komplexen Umgebungen
> http://www.goebel-consult.de
>
> Monatliche Kolumne: http://www.cissp-gefluester.de/
> Goebel Consult mit Mitglied bei http://www.7-it.de
>
------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
Shinken-devel mailing list
Shinken-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/shinken-devel

Reply via email to