Community discussions

MikroTik App
 
santajosh
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 69
Joined: Fri Dec 09, 2005 3:20 pm

Dude notification type - Execute on server missing

Wed Jan 11, 2012 10:36 pm

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:Th ... ifications


Thanks!
 
lebowski
Forum Guru
Forum Guru
Posts: 1619
Joined: Wed Aug 27, 2008 5:17 pm

Re: Dude notification type - Execute on server missing

Wed Jan 11, 2012 10:52 pm

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.
You do not have the required permissions to view the files attached to this post.
 
santajosh
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 69
Joined: Fri Dec 09, 2005 3:20 pm

Re: Dude notification type - Execute on server missing

Wed Jan 11, 2012 11:06 pm

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...
You do not have the required permissions to view the files attached to this post.
 
lebowski
Forum Guru
Forum Guru
Posts: 1619
Joined: Wed Aug 27, 2008 5:17 pm

Re: Dude notification type - Execute on server missing

Wed Jan 11, 2012 11:24 pm

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
 
santajosh
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 69
Joined: Fri Dec 09, 2005 3:20 pm

Re: Dude notification type - Execute on server missing

Wed Jan 11, 2012 11:32 pm

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...
 
lebowski
Forum Guru
Forum Guru
Posts: 1619
Joined: Wed Aug 27, 2008 5:17 pm

Re: Dude notification type - Execute on server missing

Wed Jan 11, 2012 11:40 pm

I don't know, just try first suggestion... Log directly onto the server and build the probe as execute locally.
 
santajosh
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 69
Joined: Fri Dec 09, 2005 3:20 pm

Re: Dude notification type - Execute on server missing

Thu Jan 12, 2012 10:17 pm

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?
 
Tony0531
just joined
Posts: 1
Joined: Thu Jan 12, 2012 10:12 pm

Re: Dude notification type - Execute on server missing

Thu Jan 12, 2012 10:21 pm

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
 
santajosh
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 69
Joined: Fri Dec 09, 2005 3:20 pm

Re: Dude notification type - Execute on server missing

Wed Jan 18, 2012 8:22 pm

Somebody? Normis? How to execute script on the server MT with dude?
 
ditonet
Forum Veteran
Forum Veteran
Posts: 835
Joined: Mon Oct 19, 2009 12:52 am
Location: Europe/Poland/Konstancin-Jeziorna
Contact:

Re: Dude notification type - Execute on server missing

Thu Jan 19, 2012 1:37 am

@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,
 
santajosh
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 69
Joined: Fri Dec 09, 2005 3:20 pm

Re: Dude notification type - Execute on server missing

Thu Jan 19, 2012 7:18 am

The Dude server running on Mikrotik OS (5.11), I like to run script (not windows script) on the RouterOS (/tool send sms...)
 
ditonet
Forum Veteran
Forum Veteran
Posts: 835
Joined: Mon Oct 19, 2009 12:52 am
Location: Europe/Poland/Konstancin-Jeziorna
Contact:

Re: Dude notification type - Execute on server missing

Thu Jan 19, 2012 11:05 am

(/tool send sms...)
It was at 2 o'clock AM and I missed this :(
It looks that is impossible to execute ROS script on Dude server :(

Regards,
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 26822
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia
Contact:

Re: Dude notification type - Execute on server missing

Thu Jan 19, 2012 11:10 am

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

Who is online

Users browsing this forum: No registered users and 7 guests