On Wed, Feb 2, 2011 at 6:53 PM, Hartmut Goebel
<h.goe...@goebel-consult.de>wrote:

> Hi,
>
> 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.
>
I love the Result += Thing. It's very easy to use.


>
> Comments are welcome.
>
I think there all we need in this lib from now (easy result, perfdata and
output). The only think is the Check class : we already have one in the
core, but after all it will be on different namespace so it's not so
critical.

Let open the plugin namespace so, I think it's a good base and it will help
:)


Jean

>
> --
> 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