- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
06-28-2018 12:17 AM
Hi,
I have an issue where the class of my miner is not found.
I saw lmori posting that you need to add your new class to the nodes.json file, however that file does NOT exist.
Tried both cloud init image and an own ubuntu 14.04 server.
Tried my own miner and the ytexample miner.
Tried to create the file but that did not help at all, even copied it into several directories.
Is there an updated guide somewhere?
06-28-2018 03:34 AM
Hi @Philip_Wiberg,
we should update those instructions. There are 2 ways of solving this:
- change the nodes.json in /opt/minemeld/engine/current and add your new class
- use an external extension (preferred), sample extension here: https://github.com/PaloAltoNetworks/youtube-miner
External Extensions are preserved across upgrades and can be easily installed on brand new MineMeld installations.
06-28-2018 12:51 AM
Hi @Philip_Wiberg,
please, could you add more details about how did you deploy the custom miner?
Thanks,
luigi
06-28-2018 01:26 AM
I followed the same steps as in the ytexample guide.
https://github.com/PaloAltoNetworks/minemeld/wiki/How-To-Write-a-Simple-Miner
Created the miner based on ytexample.py, uploaded to the same folder as google.py and all other miners are located in.
Uploaded config in the gui.
Also the "/opt/minemeld/engine/core/minemeld/ft" does not exist, rather:
/opt/minemeld/engine/0.9.48.post1/lib/python2.7/site-packages/minemeld/ft
(Does not matter if I create it either)
Example from the log while loading ytexample.py config;:
2018-06-28T08:20:03 (2258)config._load_and_validate_config_from_file ERROR: Invalid config /opt/minemeld/local/config/committed-config.yml: Unknown node class minemeld.ft.ytexample.YTExample in testYT
2018-06-28T08:22:21 (2393)config._load_and_validate_config_from_file ERROR: Invalid config /opt/minemeld/local/config/committed-config.yml: Unknown node class minemeld.ft.ytexample.YTExample in testYT
06-28-2018 03:34 AM
Hi @Philip_Wiberg,
we should update those instructions. There are 2 ways of solving this:
- change the nodes.json in /opt/minemeld/engine/current and add your new class
- use an external extension (preferred), sample extension here: https://github.com/PaloAltoNetworks/youtube-miner
External Extensions are preserved across upgrades and can be easily installed on brand new MineMeld installations.
06-28-2018 06:13 AM
Thanks, I created the file there and it seems to have worked.
04-15-2020 09:11 PM
Did you sole this by creating the nodes.json file in /opt/minemeld/engine/current?
Im having the same issue after trying to create a simple custom miner and following:
https://github.com/PaloAltoNetworks/minemeld/wiki/How-To-Write-a-Simple-Miner
There is no /opt/minemeld/engine/current/nodes.json file.
Any help appreciated.
Thanks
Luke
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!