Page 1 of 1

API in The dude server

Posted: Tue Dec 12, 2017 6:00 pm
by LEA
My question is the current stage of development of the library API to develop dude server (6.x.x) running RouterOS?

Part of the missing basic functions when accessing the dude server:
- data retrieval charts with control of the requested period of time, taking into account registration of real time;
- the implementation of the class functions to work with probes the dude;

Re: API in The dude server

Posted: Tue Oct 09, 2018 11:45 pm
by meetriks2
I'm also looking for an API for the Dude. There is seems to be no way you can bulk add a lot of devices (without discovery)
Tried backuping the database,Opened it in a sqlite browser but the BLOB type seems to be a serialzed object or something, not the way to go it seems.

Any body any luck?

Cheers,
Harry

Re: API in The dude server

Posted: Wed Oct 10, 2018 12:11 am
by noyo
I sent a message to support:
Hello
Will there be more parameters for adding devices to the dude? by SSH or API ?
When?
reply:
Hello,
We had such idea, but now The Dude development is paused because of other priorities.
It is sad that they are abandoning dude again. :(

Re: API in The dude server

Posted: Thu Oct 11, 2018 10:05 am
by meetriks2
It's a pity that I can't really use the dude to update all routers. With the current bug finding, it seems necessary to have a very good check / update system.
The lack of an API/CLI to added devices really prevents us of adding all the devices. I can't use discovery since the routers are not in a single subnet.

@Mikrotik when will the dude get some attention again?
Adding API and IPv6 support would be great.

I believe the dude to be the only way to mass update Mikrotik devices.
The dude show all the current versions/platforms and gives the feeling to be in control.

Of course I have SSH keys etcetera but that's a lot of hassle to make it.

I hope the Dude stays a life.

Cheers,
Harry

Re: API in The dude server

Posted: Thu Oct 11, 2018 6:35 pm
by noyo
I believe the dude to be the only way to mass update Mikrotik devices.
The dude show all the current versions/platforms and gives the feeling to be in control.
I have a very extensive perl script for updating.
https://www.youtube.com/watch?v=fY8FZ5nEHk8

Re: API in The dude server

Posted: Thu Oct 11, 2018 8:09 pm
by meetriks2
Looks great. It's commercial product. Did you make it or bought it?
Does it also have a English interface? :-)

And i understand the currency is less then 50 euro right?

Cheers,
Harry

Re: API in The dude server

Posted: Thu Oct 11, 2018 8:26 pm
by noyo
Looks great. It's commercial product. Did you make it or bought it?
Does it also have a English interface? :-)
Unfortunately, only in Polish.
I'm working on the English version.
And i understand the currency is less then 50 euro right?
~40 euro

follow http://kazuko.pl

Re: API in The dude server

Posted: Mon Dec 24, 2018 11:24 pm
by vchrizz
an api for thedude would be great!
i am looking for a possibility to get all devices with their mac address for my inventory google-sheet (ubiquiti got an api for aircontrol and unms to get all devices)
Looks great. It's commercial product. Did you make it or bought it?
Does it also have a English interface? :-)
Unfortunately, only in Polish.
do you need help in translating to english? i could help if you want.
(basically its not too hard to automate updating devices, for ubiquiti devices its easy with aircontrol/unms, but we did this with bash scripts to also update mikrotik devices.)

Re: API in The dude server

Posted: Thu Dec 19, 2019 10:23 am
by meetriks2
I'm still struggling with updating Mikrotiks. The last years exploits became very common. Whether or not the firewall prevents the Mikrotik from being exploited, as a commercial company you do not want any risk. When a customer’s sees an old version the have there doubts… And I don’t blame them.

The DUDE still lacks of API support and also I cannot update devices using IPv6. The API is needed to add IP’s with the corresponding passwords from our backend database.
I would like to stress the importance of getting a large scale update system in place. The labor cost of doing all kinds of workarounds is huge. There are third party script to do so with SSH, but the Dude really adds value to make groups, sort on device type, quickly looking at some setting before throwing updates.

If Mikrotik would do more with the “cloud” option let’s say update / backup configuration in some portal @miktotik.com that would also work okay for us.

I guess it will all be there in the Dude V7…

Cheers,
Harry