Dude notification type - Execute on server missing

Hi!

I have a X86 computer with 5.11 and dude 4.0beta3 installed. I like a notification type where I can execute a script on the dude server computer (I like to send SMS /tool sms send usb2 dst=12345678 message=“error” ) when a host down, but the type execute on server is missing from the types, and I don’t know how to add.
Any other way to run script on the host machine?

I found this one:
http://wiki.mikrotik.com/wiki/Manual:The_Dude/Notifications


Thanks!

It is there on w2k server…
notifiactiontype.png
Click on settings, polling, … (notifications list pops up) click + for new notification, select type from drop down.

It’s ok but I have no execute on server…
dude.png

Well damn, I logged into my server and ran the dude there and execute on server was there as well. Maybe just log into your server and create that object as execute locally?

If the “execute on server” object is part of the xml inside of the database and it is corrupt then you will never get it back without some very crafty restore, restarting from scratch or direct modification of the xml inside of the database.

I would install the dude on a new server make sure execute on server is in the list, import a backup and see if that just fixes it. Then copy the entire dude folder from the new server to the old server. I would imagine that your going to have execute on server disappear when you import your backup which will prove your database is corrupt. Which would go back to we need a database repair tool.

Let us know what you decide and what you figure out please!

Thanks,
Lebowski

Hello!

I also try a few minutes ago on my RB433, put he dude 4.0beta3 and connect to it from my windows 7 laptop ad there is no execute on server type also. - clean install

So Any idea? Maybe i try from another client computer…

I don’t know, just try first suggestion… Log directly onto the server and build the probe as execute locally.

If I install dude on my local computer and I connect to it the execute on server is on the list, but when I am connect to the X86 dude server (mikrotik 5.11 on SSD) there is missing. So how can I run script on the mikrotik dude host server?

Hi,

I have also tested the problem regarding “execute on server”. If the dude server is installed on the Routerboard or directly to X86 RouterOS the “execute on server” option disappear from the drop-down list. If I tried, whether the Dude server was installed on windows machine, I could choose the execute on server option.

Does somebody know why can not choose with RouterOS the execute on server option ?

Thanks,
Tony

Somebody? Normis? How to execute script on the server MT with dude?

@santajosh

I have a X86 computer with 5.11 and dude 4.0beta3 installed.

Is not possible to run Windows application/batch file on Dude server installed on RouterOS,
because Windows apps needs Windows kernel to run.
If Dude server is running on Windows box, ‘execute on server’ is enabled.

HTH,

The Dude server running on Mikrotik OS (5.11), I like to run script (not windows script) on the RouterOS (/tool send sms…)

(/tool send sms…)

It was at 2 o’clock AM and I missed this :frowning:
It looks that is impossible to execute ROS script on Dude server :frowning:

Regards,

Execute on Server is meant for running Windows applications on Windows server. This will not work on RouterOS.