Pages:
Author

Topic: AntGuardian - 100% LIBRE Free Software Watchdog for all Bitmain AntMiners (Read 1511 times)

legendary
Activity: 2394
Merit: 6581
be constructive or S.T.F.U
Anyone still using this? unfortunately I just found it and have a couple of antminers that are unstable and I can't get it to run...

This is a Watchdog software for Antmines, it isn't the software or the operating system you use to actually run your Antminers, you need to post your issue in the Mining Support section.

Make sure you post the important information needed for troubleshooting like

1- Miner Model
2- Kernel Log
3- Image from the status page (optional).

Please avoid trying generic sentences like "Miner isn't working" because nobody will be able to help you then.
newbie
Activity: 1
Merit: 0
Anyone still using this? unfortunately I just found it and have a couple of antminers that are unstable and I can't get it to run...
legendary
Activity: 2394
Merit: 6581
be constructive or S.T.F.U
I don't fee comfortable clicking on random links, and I am sure many other members are probably the same, the forum is feature-rich, you can post images, kernel logs and many other content where the viewer can easily and safely view them, if your account doesn't let you post images you can just put URLs to them.

Use this website https://www.talkimg.com/ to upload images, paste the image URL.

And to post any logs you can use the code tag "dash icon above the smileys"

Example:

Code:
Kernel/Miner/System log goes here

You can quote my post to learn how to use the code tag, it's pretty straightforward.
newbie
Activity: 1
Merit: 0
Hello!

Thank you for your app. I'm on S19j Pro. First, I found that nmap fails to identify my AntMiner, so on line 104 I changed args to nm.scan(hosts=ipRange, arguments='-v -p0- ANTMINERAPIhere').
Second, my miner after that started to reboot every 3-5 minutes, which is insane. Maybe there is something with shares and SECONDS_4_CHECKS = 95.

Hope you'll mark my mistakes, 'cause I do not understand why it keeps rebooting so frequently.

UPD. Actually, AntGuardian always show 0 shares, while Antminer dashbord shows 300+ shares before rebooting: https://drive.google.com/file/d/1R178PRb1yWrjdtf4UVF_pYa2JIBLbaMa/view?usp=sharing
newbie
Activity: 11
Merit: 16
Looks interesting. I'd give it a try but I stopped using Bitmain miners several years ago in favor of far more reliable gear from Canaan.
Can it work with any miner that uses Kano's cgminer API?

Finally got my first Canaan miners. Porting AntGuardian to Canaan will only take a few lines of code.

Update comming soon.  Cool
newbie
Activity: 11
Merit: 16
Great Spirit Cheesy  Wander, any unicorn mining farm's CTOs are professional enough to say, I did not code this but lets use this. Wander how many techs from the unicorn farms kiss the boss' butt and making them believe the enterprise is not so successful without the self written buggy tools. Wander if boss sees value in open source code.

Did you find a bug?
newbie
Activity: 11
Merit: 16
Hi, I found your software and I want to try it but I have a question.... How can I get it to scan devices from an IP range or list of IP addresses which is not my normal LAN. I want to have a computer run the program and connect to a VPN with miners on the VPN to monitor/scan? 

Thanks,
Mark

Hi Mark,
Just connect to the VPN in which your miners are connected, and run AntGuardian and it will work.
No need to do anything additional.
newbie
Activity: 14
Merit: 5
Great Spirit Cheesy  Wander, any unicorn mining farm's CTOs are professional enough to say, I did not code this but lets use this. Wander how many techs from the unicorn farms kiss the boss' butt and making them believe the enterprise is not so successful without the self written buggy tools. Wander if boss sees value in open source code.


FREE Open Source Antminer monitor and restart tool
For all of us reluctant to run proprietary software anywhare near our miners, let alone controlling them. Now we have an alternative!

Happy mining!
newbie
Activity: 3
Merit: 0
Hi, I found your software and I want to try it but I have a question.... How can I get it to scan devices from an IP range or list of IP addresses which is not my normal LAN. I want to have a computer run the program and connect to a VPN with miners on the VPN to monitor/scan? 

Thanks,
Mark
copper member
Activity: 76
Merit: 52
newbie
Activity: 11
Merit: 16
All my miners are actually running, but I will DM you the phone number of a friend which would be maybe able to help you.

Please do  Smiley

Help is very welcome in the areas of:
-Graphic design
-Python developers
-Miners
-Anyone who has benefited from monitoring your miners with AntGuardian, even if you have no skills you can contact me if you wish to help.
copper member
Activity: 76
Merit: 52

I'm always happy to meet others that think the same way!
Thank you for your feedback

I know there are many Antminer monitors out there, but one could argue none as simple and easy to audit as this one.

I Would love to bring support to other miner brands as they develop. Any developers would be appreciated

If anyone has an old unprofitable miner (not bitmain) that they can donate and send it to me to Miami, I could develop support for that brand. You can send me a PM or post it here and I will give you my address

All my miners are actually running, but I will DM you the phone number of a friend which would be maybe able to help you.
newbie
Activity: 11
Merit: 16
Hey there

It looks very interesting, thank you for this work !


I will test it on my  two Antminer R4.


For the S9k restarting problem, I can give an eye on it. I have a S9K running, I will do the test asap.


Have a nice day !



EDIT :

I've done the test. it works 100% perfectly with the Antminer R4! No problem with the 12 S9 my friend has too.

The test is 100% positive for my 2 S9k. 1 is always good and the other very unstable, so your software is like a gift, thank you !!!


Thank you OP, as a really pro open source software and long time debian user guy, I really appreciate your way of thinking


I'm always happy to meet others that think the same way!
Thank you for your feedback

I know there are many Antminer monitors out there, but one could argue none as simple and easy to audit as this one.

I Would love to bring support to other miner brands as they develop. Any developers would be appreciated

If anyone has an old unprofitable miner (not bitmain) that they can donate and send it to me to Miami, I could develop support for that brand. You can send me a PM or post it here and I will give you my address
copper member
Activity: 76
Merit: 52
Hey there

It looks very interesting, thank you for this work !


I will test it on my  two Antminer R4.


For the S9k restarting problem, I can give an eye on it. I have a S9K running, I will do the test asap.


Have a nice day !



EDIT :

I've done the test. it works 100% perfectly with the Antminer R4! No problem with the 12 S9 my friend has too.

The test is 100% positive for my 2 S9k. 1 is always good and the other very unstable, so your software is like a gift, thank you !!!


Thank you OP, as a really pro open source software and long time debian user guy, I really appreciate your way of thinking
newbie
Activity: 11
Merit: 16
Hello, this don't work with s9k, Restart the miner every so often, how do I contact you to pay for one that works?

Hello eeva1990. No need to pay me, you can donate if you wish but I will help you as a user regardless of your donation or not.

Can you send me some Logs? or screenshots? How often does it restart the miner? It will certainly restart the miner if it detects "accepted shares" are not increasing (and there is an internet connection).

You can P.M. me or use this thread.

Just send me screenshots of the program functioning (command line).



Please anyone who posts questions or troubleshooting requests send me the screenshot of the program output (what it prints on the command line). Cool

Hi, i´m trying to get this to work but i get this error: File "AntGuardian.py", line 17, in import request - ImportError: No module named requests but when i install it says module requests-2.25.1 installed successfully. Anybody who can help with this?

i´m running macOScatalina and Python 3.9.

If you have multiple versions of Python, most of the time it has to do with that, you might have the requests package, or every package installed on another version of Python that the one you are running. Try uninstalling Python 3 and using Python 2.

Can you send me the logs or screenshots?
newbie
Activity: 1
Merit: 0
Hi, i´m trying to get this to work but i get this error: File "AntGuardian.py", line 17, in import request - ImportError: No module named requests but when i install it says module requests-2.25.1 installed successfully. Anybody who can help with this?

i´m running macOScatalina and Python 3.9.
newbie
Activity: 4
Merit: 0
Hello, this don't work with s9k, Restart the miner every so often, how do I contact you to pay for one that works?
newbie
Activity: 11
Merit: 16
COOL !!!
Should have read this before I developed my script!
However I think this can´t restart the system OS like the HTTP GUI approach can, can it?
IDK if that is usefull at all
Thank You!!!



Update: Bug fix: AntGuardian.py used to throttle while internet() returned false. A delay fixed it on the new version 0.1.3

Please update or your CPU might throttle when you loose internet connection.

Happy mining! Cheesy



A lot of traffic to GitHub is coming from here so some of you guys must be out here. Im talking about AntGuardian users.

I know it is a simple tool for a very niche sector of people but It has found its way to gain some popularity as I can see from the Github traffic statistics and from generous donations recieved over the past few months. There are other free alternatives but in my opinion none is is as "bare bones" as this one. You can literally analyze the whole python code in an afternoon, which is nice if you are paranoid like me.

Another reason I think it has gained popularity is because you just set it and forget it. Although it would be very very nice if we could release some play store or SNAP store packages or windows executables for ease of use but I think that might just miss the whole point to begin with... About being free and transparent and all... Let me know what you think about this

I would appreciate some feedback from users since I have not been mining for a few months now. Specially I would like some feedback about how it works with the new miners. But any feedback good or bad is appreciated. Let me know what miners are you using it for, adn for how long (if you feel comfortable with it).

Personally I just had 3 S9s, and It just worked Flawlessly. I have heard from some users having 12 and 13 miners working perfectly 24/7. I would like to hear more feedback about how it works with 20+ miners. Happy mining!
legendary
Activity: 4592
Merit: 1851
Linux since 1997 RedHat 4
If you read the API-README and can access the full config file of the miner, you can turn on mcast so the API of every miner, with mcast enabled, will respond to a single mcast message on the network ...

The miner.php can also use that so that the php finds all your miners, with mcast enabled, without you having to tell it their IPs

https://github.com/kanoi/cgminer/blob/master/API-README
newbie
Activity: 11
Merit: 16
OK, maybe you can try version 0.1.1 then,, it is a fairly simple script. The only difference with the current version is you have to enter the list of IPs for your miners (not very convenient when using DHCP).

https://github.com/rsolano60/AntGuardian/blob/master/Old%20Versions/AntGuardian0.1.1.py

Hope this works for you.
Pages:
Jump to: