Re: Adding prelude-correlator plugins
Thierry Herbreteau <[email protected]> Fri, 26 Feb 2010 19:44:07 +0100
| Newsgroups | gmane.comp.security.ids.prelude.user |
|---|---|
| Message-ID | <[email protected]> |
Hi Yoann, Thanks. I never installed any python module, sorry for the newbie question ;-). Starting from your example, I ran : python setup.py install That executes fine. But when launching prelude-correlator, I get : "WARNING: MyPlugin = myplugin:MyPlugin: No module named myplugin" I guess it is waiting for a myplugin.py script somewhere ? What's the next step ? Thx. Thierry. Le 26/02/2010 15:49, Yoann Vandoorselaere a écrit : > Hi Thierry, > > > Le vendredi 26 février 2010 à 14:59 +0100, Thierry Herbreteau a écrit : > >> Hi, >> >> I'm trying to find where I can add new python scripts in prelude correlator. >> I found that directory : /usr/share/pyshared/PreludeCorrelator/plugins >> where the default plugins are stored and links in that directory : >> /usr/lib/pymodules/python2.6/PreludeCorrelator/plugins >> >> It seems not enough to put a new plugin here. >> Is there another conf file to set somewhere ? >> > The plugin need to be installed using the setuptools infrastructure to > be automatically loaded on Prelude-Correlator startup. > > I have just added an example of how to write such a plugin to the > prelude-correlator GIT repository: > > https://dev.prelude-technologies.com/projects/prelude-correlator/repository/revisions/master/show/docs > > > Hope this help! > > _______________________________________________ Prelude-user site list [email protected] http://lists.prelude-technologies.com/mailman/listinfo/prelude-user