Community discussions

MUM Europe 2020

Search found 29 matches

by fbsdmon
Sat Mar 02, 2019 12:37 pm
Forum: Scripting
Topic: DuckDNS Update Script (free DynDNS alternative)
Replies: 17
Views: 14148

Re: DuckDNS Update Script (free DynDNS alternative)

@rextended The script works only when executed from the MikroTik terminal for me. It does not work if I click on "run" form the script menu or if I run it via the scheduler. It throws: "could not run script DuckDNS: not enough permissions". i tried giving all permissions to the script, but I still g...
by fbsdmon
Fri Mar 23, 2012 9:23 pm
Forum: The Dude
Topic: The Dude on RB750G
Replies: 6
Views: 4562

Re: The Dude on RB750G

It depends on how many devices and services you will monitor. I guess you could use it for a small amount, say 10 devices. Also, from experience I can tall you that the disc/ssd or whatever the mikrotik devices have is not suitable for many writes. Too much devices and dude starts to act up because ...
by fbsdmon
Thu Mar 22, 2012 4:22 pm
Forum: The Dude
Topic: Probe Thread
Replies: 324
Views: 231149

Re: Probe Thread

check the fetch tool, i think it can be used to upload a file to a webpage:

/tool fetch user=<> password=<> upload=yes mode=http address=<> src-path="/something/something/page.php"
by fbsdmon
Thu Mar 22, 2012 1:25 am
Forum: The Dude
Topic: Probe Thread
Replies: 324
Views: 231149

Re: Probe Thread

If your dude is installed on a windows box, the you could configure a 'execute on server' type of notification which can call a windows tool that does the job. You can pass a bunch of variables to that tool/program. Also, please post such questions in a different topic. The probe tread is meant for ...
by fbsdmon
Sun Mar 18, 2012 4:04 pm
Forum: The Dude
Topic: two ideas for dude
Replies: 6
Views: 2718

Re: two ideas for dude

1. No need for 2 dude servers. You can use one of them as a dude agent. You do that by setting up a special user called agent (see groups tab from admins section) on one of the dude servers, then add it as an agent (agent tab under global settings) on the other dude server. Then in device settings, ...
by fbsdmon
Sun Mar 18, 2012 11:03 am
Forum: The Dude
Topic: two ideas for dude
Replies: 6
Views: 2718

Re: two ideas for dude

1: You can solve this by using parents (see device setup). If a parent device goes down, you will not receive notifications for the children devices. 2: I'm not sure if I got this right, but you are complaining that if you Ack a device it doesn't alert you that it came back up? IF so, don't ack it :...
by fbsdmon
Sat Mar 17, 2012 11:49 pm
Forum: The Dude
Topic: Suggestion: Better setting up / overview of notifications
Replies: 3
Views: 1632

Re: Suggestion: Better setting up / overview of notification

Good Idea :idea:

I hope they implement it.
by fbsdmon
Sat Mar 17, 2012 11:47 pm
Forum: The Dude
Topic: Source Address
Replies: 7
Views: 3167

Re: Source Address

Well, I moved to a windows box, so this is resolved :) Btw, I could not do source routing nor nat-ing as my dude was running on a mikrotik device and the problem was that it was using the ip's form my ipip tunnel interfaces to monitor things behind that ipip iface. Changing the route would have disc...
by fbsdmon
Sat Mar 17, 2012 11:31 pm
Forum: The Dude
Topic: Dude 4.0 beta4??
Replies: 39
Views: 24924

Re: Dude 4.0 beta4??

Features: 1. Simple text fields on maps to be used as notes, would do magic for me 2. Ability to use functions in tools 3. Threshold and Baseline monitoring. It would probably be a wrapper probe(s) that can watch over another probe and would be enabled and configured on the service. 4. Ability to re...
by fbsdmon
Sat Mar 17, 2012 11:00 pm
Forum: The Dude
Topic: Device Property/Variable request (Obvious request)
Replies: 4
Views: 3280

Re: Device Property/Variable request (Obvious request)

Challenge accepted! Function Name: Device.SecconAddres: Code: string_substring( string_substring( device_property("AddressesCommaList"), string_find( device_property("AddressesCommaList"), "," )+2 ), 0, string_find( string_substring( device_property("AddressesCommaList"), string_find( device_propert...
by fbsdmon
Mon Feb 13, 2012 1:38 am
Forum: The Dude
Topic: Probe Thread
Replies: 324
Views: 231149

Re: Probe Thread

Asterisk active calls monitoring (probe) & a Asterisk information tooltip (version, uptime, relaod time, current active calls): The Functions: Name: ast_version Description: Text version string of the version of Asterisk that the SNMP Agent was compiled to run against. Code: oid("1.3.6.1.4.1.22736.1...
by fbsdmon
Fri Feb 10, 2012 10:26 pm
Forum: The Dude
Topic: MySQL Probe
Replies: 4
Views: 1992

Re: MySQL Probe

Would be nice if we could do a query, to check if the db is alive.

As for the 4 and 8, I used telnet and tcpdump. It clearly returns one of those numbers. And the probe works :) at least for my mysql versions.
by fbsdmon
Fri Feb 10, 2012 8:27 pm
Forum: The Dude
Topic: MySQL Probe
Replies: 4
Views: 1992

Re: MySQL Probe

No, I needed a probe that checks if the MySQL DB is running. So I made one :) Name: mysql Type: TCP Port: 3306 Connect Only: unchecked First Receive, Then Send: checked Receive: 4|8 Send: close NOTE: Seems that MySQL v.5x sends ether 4 or 8 as a response to a connection. You might need to change the...
by fbsdmon
Wed Feb 01, 2012 5:53 pm
Forum: The Dude
Topic: MySQL Probe
Replies: 4
Views: 1992

MySQL Probe

Has anyone made a MySQL probe for the Dude?
by fbsdmon
Fri Jan 27, 2012 10:36 pm
Forum: The Dude
Topic: Do agents use the same pooling settings as the dude server?
Replies: 3
Views: 1131

Re: Do agents use the same pooling settings as the dude serv

I use the exact same setup, change agent on device and not touch the agents on the services for that device. But if you go to config of one of the services, you will see that it shows the default agent (inherited from global settings i guess) and not the agent which i have chosen for the device. So ...
by fbsdmon
Fri Jan 27, 2012 5:08 pm
Forum: The Dude
Topic: Do agents use the same pooling settings as the dude server?
Replies: 3
Views: 1131

Do agents use the same pooling settings as the dude server?

Say I change the Probe Interval to 1 minute in the master settings of the dude server. Will the distributed poolers (agents) pool every minute or will they continue to pool with the default 30 seconds interval? Also, do services inherit the agent from the device settings? To explain: If I create a n...
by fbsdmon
Wed Jan 25, 2012 11:07 pm
Forum: The Dude
Topic: Text function create a tool
Replies: 8
Views: 2214

Re: Text function create a tool

Not sure if you can. I have no experience with creating tools, but from the examples and my short test to implement your idea, I can say that it is impossible :) Looks like you can only pass device variables/information to the tools. So, no functions available. What you could do is, set the IPMI ip ...
by fbsdmon
Wed Jan 25, 2012 10:07 pm
Forum: The Dude
Topic: Text function create a tool
Replies: 8
Views: 2214

Re: Text function create a tool

Not sure if this is what you are looking for, but this

concatenate("192", string_substring(device_property("FirstAddress"), string_find(device_property("FirstAddress"), "."), 15))

will take the first address of the device and replace the everything before the first "." with "192"
by fbsdmon
Wed Jan 25, 2012 5:04 pm
Forum: The Dude
Topic: Dude refuses login after router reboot
Replies: 12
Views: 4721

Re: Dude refuses login after router reboot

Your example is set to 5 sec negative cache :) I plan to stay on v3.6 as v4 seems to have many many bugs. I also would like to stay on ROS, as it makes more sense to me. But I am willing to move to windows (preferably linux) if needed. If I could export/backup the dude configuration on a daily bases...
by fbsdmon
Wed Jan 25, 2012 2:11 am
Forum: The Dude
Topic: Dude refuses login after router reboot
Replies: 12
Views: 4721

Re: Dude refuses login after router reboot

Thanks for your valuable input. What happened is, the dude marked a lot of services on a lot of devices as down and they said that way for many hours. I tried re-probe, I tried everything and nothing helped. So I decided to reboot. After the RouterOS reboot, the dude would not let me log in. That is...
by fbsdmon
Tue Jan 24, 2012 6:26 pm
Forum: The Dude
Topic: Dude refuses login after router reboot
Replies: 12
Views: 4721

Re: Dude refuses login after router reboot

As I said, I've been using The Dude for approximately one month, so my import file is very small, only 17MB :)

An I haven't changed the settings on what data and how long to keep it. I didn't even know that you can do that with the 3.6 version.

Is there a way to vacuum the db on RouterOS?
by fbsdmon
Mon Jan 23, 2012 4:38 pm
Forum: The Dude
Topic: Dude refuses login after router reboot
Replies: 12
Views: 4721

Re: Dude refuses login after router reboot

The import procedure worked well. I tried several reboots after the import and there were no problems. But I lost a weeks worth data + some nifty tweaks :( I would rather not move the dude on Windows, as I will have to purchase a windows license + I already have good MikroTik hardware and distribute...
by fbsdmon
Mon Jan 23, 2012 1:08 am
Forum: The Dude
Topic: Dude refuses login after router reboot
Replies: 12
Views: 4721

Re: Dude refuses login after router reboot

Wholly s***! I tried logging in with the default admin password, and I got in :( The Dude configuration is blank!!! Why? WTF? Please, anyone, any ideas on how/why this happened? How can I protect myself from experiencing this again? I started importing a week old backup and will let you know if the ...
by fbsdmon
Sun Jan 22, 2012 10:51 pm
Forum: The Dude
Topic: Dude refuses login after router reboot
Replies: 12
Views: 4721

Dude refuses login after router reboot

I have been running The Dude v3.6 on RouterOS 5.11 on NA-820 x86 Architecture for a month now. It happened once before that the dude showed a lot of services on a lot or devices as down for no reason, but that cleared up after 5 minutes or so. Well, this happened again today, but this time they stay...
by fbsdmon
Sat Jan 21, 2012 12:26 am
Forum: The Dude
Topic: High Latency probe shows available when device is down
Replies: 9
Views: 5006

Re: High Latency probe shows available when device is down

It seem that yolodrew was right. I have tested the ping function in a lab environment and it returns -1 for false/down, and it returns 0 or more representing the rtt in ms as the first argument. But thanks for the heads up! This is actually one of the things that really annoys me about The Dude. I h...
by fbsdmon
Fri Jan 20, 2012 2:08 am
Forum: The Dude
Topic: High Latency probe shows available when device is down
Replies: 9
Views: 5006

Re: High Latency probe shows available when device is down

Hey, I used your idea and tweaked it up a bit: Function: Name: ping_rtt Description: Returns the round-trip time of a ping request to the FirstAddres of a device Code: round(array_element(ping(device_property("FirstAddress")), 0)) Probe: Name: latency Type: Function Agent: Default Available: and(dev...
by fbsdmon
Thu Jan 19, 2012 9:51 pm
Forum: The Dude
Topic: Problems with notifications
Replies: 1
Views: 834

Re: Problems with notifications

You can set notifications on per service(probe) basis, by double-clicking on the monitored service in the services tab. Maybe you have selected different notifications on the monitored services for this particular device!?
by fbsdmon
Sun Jan 15, 2012 8:12 pm
Forum: The Dude
Topic: Source Address
Replies: 7
Views: 3167

Re: Source Address

Has anyone found a solution to this? Is there a way to choose the source i-face/ip for the pooler? I am running The Dude on a MikroTik Device which has many ip addresses, one for each ipsec tunnel. This is a nightmare, as dude uses the source ip of each tunnel for pooling from the lan behind that tu...
by fbsdmon
Thu Jan 12, 2012 5:06 pm
Forum: The Dude
Topic: Probe Thread
Replies: 324
Views: 231149

Re: Probe Thread

I thought I share my cpu and disk probe changes. They work exactly like the original probes + they inform you if cpu or diks is over threshold. This way, you don't need to pool them twice if you want threshold notifications as well. cpu Error: if(and(cpu_usage_available(), cpu_usage()<89), "", if(cp...