Hello everybody,
I hope this is the right mailing list for question like mine, if not please let me known so can find the right one instead.
This is my first post and I have a little question about where to install bots. I am trying to install CERT-bund-Contact-Database bots but I run into : ModuleNotFoundError("No module named 'intelmq_certbund_contact'"). Its in the path /usr/local/bin and if I import it fr0m python it works but intelmq fails to load it every the time. Nothing is shown in the logs.
/thomas
Hi Thomas,
I guess that depends a bit on how you installed intelmq:
https://intelmq.readthedocs.io/en/maintenance/user/installation.html
or
https://intelmq.readthedocs.io/en/maintenance/dev/guide.html#installation
So, in other words, the error you mentioned hints that a module could not be found. So, depending on how you installed it, it needs to sit next to the other modules.
Hope this helps you, Aaron.
On 10.06.2022, at 10:12, Thomas Rutström via IntelMQ-users intelmq-users@lists.cert.at wrote:
Hello everybody,
I hope this is the right mailing list for question like mine, if not please let me known so can find the right one instead.
This is my first post and I have a little question about where to install bots. I am trying to install CERT-bund-Contact-Database bots but I run into : ModuleNotFoundError("No module named 'intelmq_certbund_contact'"). Its in the path /usr/local/bin and if I import it fr0m python it works but intelmq fails to load it every the time. Nothing is shown in the logs.
/thomas
-- List settings: https://lists.cert.at/cgi-bin/mailman/listinfo/intelmq-users IntelMQ Documentation: https://intelmq.readthedocs.io/
Dear Thomas,
In addition to what Aaron said I can add more details on this bot in specific.
On 6/10/22 10:12 AM, Thomas Rutström via IntelMQ-users wrote:
I hope this is the right mailing list for question like mine,
It is :)
This is my first post and I have a little question about where to install bots. I am trying to install CERT-bund-Contact-Database bots
If you installed IntelMQ with deb-packages, you can add this to your sources.list: deb http://apt.intevation.de/ focal intelmq-testing and install the package with `apt install intelmq-certbund-contact. (There are no rpm-packages for this component yet)
If you installed manually with pip or from a local repository, check out the branch `intelmq-v3` for intelmq-certbund-contact or pull master in a few minutes (I'll push some fixes and merge the branch afterwards). You can install it with either calling `python3 setup.py install` or `pip3 install $pathtorepo` The module and executable is named 'intelmq.bots.experts.certbund_contact.expert', not intelmq_certbund_contact. Put that in your intelmq configuration.
best regards Sebastian