[Nagiosplug-devel] RFC: Nagios 3 and Embedded Perl Plugins

Benoit Mortier benoit.mortier at opensides.be
Fri Dec 22 00:46:14 CET 2006


Le Vendredi 22 Décembre 2006 00:39, Ethan Galstad a écrit :

[..]

> >> So, in all:
> >>
> >> # Nagios: +epn
> >> vs.
> >> # Nagios: -epn
> >>
> >> In the future, one could add more execution hints like this:
> >>
> >> # Nagios: -epn,+foo,-multithreaded,+volatile
> >
> > I don't much mind USE_EPN/NO_EPN (or use_epn/no_epn maybe) or
> > +epn/-epn. I quite like the idea Tobias' general idea though - you end
> > up with something like vim modelines:
> >
> > # vim:et:sw=2:ai:sm
> >
> > I'd quite like some flexibility about location too. Would it be much
> > work to allow the tags to occur anywhere within the first or last 1024
> > bytes of the file, say?
> >
> >
> > Cheers,
> > Gavin
>
> I like Tobias' suggestion as well.
>
> As far as flexible location, that could be arranged.  Limiting its
> location the the beginning X lines of the plugin would be far easier
> that figuring out how many lines the plugin has and working backwards.
> In order to reduce overhead/increase speed of detection the keywords, I
> would suggest we limit the possible location to the first 100 lines or
> less.
>
> Ton, Benoit, others... does this sound okay?

Hello,

For me i like the tobias idea also

Cheers
-- 
Benoit Mortier
CEO
www.opensides.be
Contributor to Gosa Project : http://gosa.gonicus.de/
Contributeur to Nagios Plugins : http://nagiosplug.sourceforge.net/




More information about the Devel mailing list