Community discussions

MikroTik App

Search found 49 matches

by adamd292
Wed Sep 16, 2009 4:56 am
Forum: The Dude
Topic: Custom web interface
Replies: 9
Views: 5027

Re: Custom web interface

I ended up doing what many people suggested:

I export each map to a file (jpg), then I created a web site that allows my users to login and view just their maps.
by adamd292
Mon Aug 31, 2009 4:17 am
Forum: The Dude
Topic: version 3.3 so far
Replies: 22
Views: 5419

Re: version 3.3 so far

I've worked it out. Some of my devices for their own fiendish reasons take more than 10 seconds to respond to SNMP. I found this out using the ipMonitor tool from Solarwinds. The worst are taking almost 60 seconds on some occasions. Maybe the way to fix this is to increase Try Timeout? It seems to b...
by adamd292
Tue Jun 02, 2009 8:01 am
Forum: The Dude
Topic: Dude 3.4: Image Load Bug
Replies: 20
Views: 5681

Re: Dude 3.4: Image Load Bug

To fix the ntp.svg problem, I was bad and converted it to png as: "n t p.png" I started a Dude client, uploaded "n t p.png", and the went to change the appearance of my Time Server. But I found that "ntp.svg" displayed perfectly, I selected "n t p.png" and it just said "Loading..." I shut down Dude,...
by adamd292
Tue Jun 02, 2009 7:44 am
Forum: The Dude
Topic: Dude 3.4: Image Load Bug
Replies: 20
Views: 5681

Re: Dude 3.4: Image Load Bug

I converted all my png files to jpg and they new display. This does mean that I lost all of the transparency information, but at least they display. After altering the maps and devices to use the new images, I noticed another problem: ntp_gone_bad.jpg All of the images now work except for ntp.svg (t...
by adamd292
Fri May 29, 2009 4:01 am
Forum: The Dude
Topic: Dude 3.4: Image Load Bug
Replies: 20
Views: 5681

Dude 3.4: Image Load Bug

There is an intermittent problem in Dude 3.4 (but I've noticed it in previous versions back to 3.0). Sometimes an image will not display on a map. All places where the same image would appear just have nothing. Example: image is loaded images_loaded_ok.jpg But exit the Dude client and start it again...
by adamd292
Thu May 28, 2009 5:53 am
Forum: The Dude
Topic: Custom web interface
Replies: 9
Views: 5027

Re: Custom web interface

I found that if I log in to the Dude via the web using Firefox, then right clicking on a map image and looking at the properties, then map is loaded using: http://dudeserver:8080/dude/mymap.png?page=map_picture&download=yes&id=2587331 If I navigate to this page, then only the map is displayed. :) If...
by adamd292
Tue May 26, 2009 10:38 am
Forum: The Dude
Topic: Beginner Tutorial -- Cpu, Memory, HD, SNMP Config
Replies: 6
Views: 14417

Re: Beginner Tutorial -- Cpu, Memory, HD, SNMP Config

Does SNMP have to be installed on a remote windows 2003 server in order to poll data such as cpu and HDD free space? If so, does the dude also need to be installed? If they both do, what is the relationship? Dude talks to the snmp agents installed on Windows, Unix, routers, etc. On Windows, the snm...
by adamd292
Mon May 25, 2009 5:09 am
Forum: The Dude
Topic: version 3.4 so far
Replies: 13
Views: 2792

Re: version 3.4 so far

My outage problem is mostly resolved now. Some of my devices take a long time to respond to SNMP messages (but not all the time). This is usually due to the CPU load on the device, although some devices just seem to have a "bad attitude". On the Bad Attitude devices - I have reduced the number of SN...
by adamd292
Fri May 22, 2009 5:30 am
Forum: The Dude
Topic: Memory Leakage in all versions from 3.1 onwards...
Replies: 9
Views: 2739

Re: Memory Leakage in all versions from 3.1 onwards...

My guess is that somehow the dude has been screwed up. It happened to me twice during the many dude 3.0rcX upgrades that I went through. How it is caused, I do not know - maybe I left an old dude running, maybe Windows just broke the dude, maybe something went wrong when I made Dude a service by tic...
by adamd292
Fri May 08, 2009 3:14 am
Forum: The Dude
Topic: Vote for new DUDE features!
Replies: 117
Views: 49133

Re: Vote for new DUDE features!

SNMP or SMTP :D
by adamd292
Wed May 06, 2009 3:47 pm
Forum: The Dude
Topic: version 3.4 so far
Replies: 13
Views: 2792

Re: version 3.4 so far

My posts about the remaining few small issues I have with the Dude should in no way put anyone off from upgrading or switching to the Dude.

The Dude really is a fantastic program and is way better than many other applications.
by adamd292
Wed May 06, 2009 10:11 am
Forum: The Dude
Topic: version 3.3 so far
Replies: 22
Views: 5419

Re: version 3.3 so far

I have only 75 devices, but most devices have 10-12 probes. I have automatic discovery turned off. I'm running Win2k3 with latest patches. The Dude servers run at about 10% CPU (as measured by Dude); and average at 350kbps on a 1GB card. I did have a Dude 3.0RC running on WindowsXP with the same pro...
by adamd292
Wed May 06, 2009 9:55 am
Forum: The Dude
Topic: version 3.4 so far
Replies: 13
Views: 2792

Re: version 3.4 so far

False outages are much the same as before (Dude 3.3 + Set Affinity)
I've had a one false 28 second outage this afternoon.
by adamd292
Wed May 06, 2009 5:44 am
Forum: The Dude
Topic: version 3.4 so far
Replies: 13
Views: 2792

version 3.4 so far

1) The find bugs are fixed :)
I can find by string; by case sensitive string; and by regex correctly.
I can also "not find" something without crashing.
This is excellent.

2) The SNMP sample bug is still there
reprobe.png
3) False outages
None yet, will check at end of day.
by adamd292
Tue May 05, 2009 11:15 am
Forum: The Dude
Topic: version 3.3 so far
Replies: 22
Views: 5419

Re: version 3.3 so far

Hi Sweetdude, I agree, since going affinity=cpu0 my dude is much better behaved. Whether this is a threading problem, or just a problem that gets fixed when the dude runs slower, I do not know. I did some quick stats on SNMP Test Probe vs Function Probe with direct OID vs Function Probe that calls f...
by adamd292
Mon May 04, 2009 3:24 am
Forum: The Dude
Topic: ssh "command" execute - expected closing brace ... why?
Replies: 4
Views: 3412

Re: ssh "command" execute - expected closing brace ... why?

The character at 110 is ";" I think your problem is that the remote shell is trying to run the command in 3 pieces (seperated by ";"): foreach adres in=[/ip dhcp-server lease find] do={:global leases [/ip dhcp-server lease get \$adres address]; :put \$leases; } I'm not too good at resolving this sor...
by adamd292
Fri May 01, 2009 3:09 am
Forum: The Dude
Topic: strange behaveour
Replies: 7
Views: 1569

Re: strange behaveour

A new feature in Service Pack 2 of Windows XP was Windows Firewall...

Service Pack 2 also added new security enhancements, which included a major revision to the included firewall that was renamed to Windows Firewall and is enabled by default
by adamd292
Thu Apr 30, 2009 9:22 am
Forum: The Dude
Topic: Probe problem in Dude 3.3 (and 3.1)
Replies: 2
Views: 915

How to make it happen...

To demonstrate this issue can be tiresome :? , so to make it happen fast :o , use Reprobe :shock: : Step 1: Create a probe that only ever returns 1. probe_definition.png Step 2: Attach it to a device, and wait for some history to accumulate. one_test.png Step 3: Hit reprobe lots. one_test_reprobe_12...
by adamd292
Thu Apr 30, 2009 9:15 am
Forum: The Dude
Topic: Probe problem in Dude 3.3 (and 3.1)
Replies: 2
Views: 915

Probe problem in Dude 3.3 (and 3.1)

There is a problem with graphing values in the Dude. If more than 1 sample value is returned between polls, then they will be summed. For example (with sampling at 30s intervals) Input samples: Time(s) CPU(%) 0 35 30 35 60 35 91 35 120 35 150 35 Graph shows: Time(s) CPU(%) 0 35 30 35 60 35 90 0 120 ...
by adamd292
Thu Apr 30, 2009 3:27 am
Forum: The Dude
Topic: version 3.3 so far
Replies: 22
Views: 5419

Re: version 3.3 so far

I have upgraded to Dude 3.3 and started using Set Affinity II to limit Dude to my 1st Core. I have *less* obviously false outages, but there still are some. All of the false outages involve SNMP - "ping" and probes based on external commands do not generate false outages. During a false outage, SNMP...
by adamd292
Wed Apr 22, 2009 3:47 am
Forum: The Dude
Topic: version 3.3 so far
Replies: 22
Views: 5419

Re: version 3.3 so far

I have a dual core. I don't have any single core machines :( snmp_gaps.png Every now and then, I have "gaps" in my snmp traces. If I snmpwalk the device during a gap, I can see the data values that are being traced. I have two Dude 3.1 servers. If one Dude has a "gap", the other Dude will be ok. It ...
by adamd292
Wed Mar 11, 2009 1:30 am
Forum: The Dude
Topic: snmp probe works but walk doesnt
Replies: 2
Views: 847

Re: snmp probe works but walk doesnt

It depends on the device. Some dumb devices don't implement the parts of SNMP that allow "walking" (I have a thermometer that can only be probed using an OID). I've also had this trouble with AIX, I get about half of the MIB walked, but then strangely it stops. It could be some sort of bug in IBM's ...
by adamd292
Wed Feb 25, 2009 1:14 am
Forum: The Dude
Topic: SNMP - Format value
Replies: 2
Views: 827

Re: SNMP - Format value

Does this work?

oid("1.3.6.1.4.1.17713.1.12.1.0")/10
by adamd292
Tue Feb 24, 2009 2:33 am
Forum: The Dude
Topic: SNMPD on linux
Replies: 2
Views: 859

Re: SNMPD on linux

Make sure you get the latest net-snmp for ubutu.
net-snmp has some odd bugs in it.

I have a Suse 10 server. snmp refused to report CPU%, but after a bit of searching on googled, this turned out to be a net-snmp issue.
I upgraded net-snmp and the problem went away.
by adamd292
Tue Feb 24, 2009 2:28 am
Forum: The Dude
Topic: Transfer piece map to other map ...
Replies: 8
Views: 1772

Re: Transfer piece map to other map ...

I have tried copy and past in Dude 3.1. Copy and Paste one device Copy and Past seems to be fine if you just do one device. Though it seems to dump any links into the top left corner on top of each other. :? Copy and Paste on a few devices, statics and a network cloud The devices got copied ok; most...
by adamd292
Tue Feb 24, 2009 2:13 am
Forum: The Dude
Topic: SNMP Set Command?
Replies: 3
Views: 2609

Re: SNMP Set Command?

Have a look at the Probe Thread for examples of the execute function: http://forum.mikrotik.com/viewtopic.php?f=8&t=12402 This is just one of the many examples: Function Name: check_sap_as Code: array_element(execute("sapinfo.exe", concatenate("ashost=", device_property("Name"), " sysnr=", device_pr...
by adamd292
Fri Feb 13, 2009 1:46 am
Forum: The Dude
Topic: Are raw SNMP GET's supported
Replies: 6
Views: 1887

Re: Are raw SNMP GET's supported

As you've found SNMP probes can only be graphed as the time taken to retrieve their value. I've found they're useful for: * automatic identification of devices; and * checking whether the SNMP daemon is running; and * checking whether a status is ok. If you want to collect data and graph it, you pro...
by adamd292
Thu Feb 12, 2009 5:45 am
Forum: The Dude
Topic: string_compare problem
Replies: 2
Views: 2901

string_compare problem

If I set this as the label for a device: [string_compare("dude","dude")] [string_compare("notdude","dude")] [string_compare("dude","")] [string_compare("","dude")] The description appears as: 4 7 4 0 This is not correct - string_compare says it returns 0 when the strings are the same/ I think there ...
by adamd292
Thu Feb 12, 2009 3:08 am
Forum: The Dude
Topic: Probe Thread
Replies: 324
Views: 247545

Re: Probe Thread

Thank you Paul. This has saved me heaps and heaps of time. I have used your functions and I'm very happy. I made one improvement to the percent function. Since (total-used)/total is the same as 1 - (used/total) The percentage function can be rewritten as: Name: win_diskc_free_percent Description: Di...
by adamd292
Thu Feb 05, 2009 7:43 am
Forum: The Dude
Topic: The search button don't work...
Replies: 2
Views: 611

Re: The search button don't work...

I found a similar problem in snmpwalk: I search for "fan" at the entPhyicalClass level - not found :( fan_1.png I search for "fan" 2 lines before it appears - not found :( fan_2.png I search for "fan" 1 line before it appears, search finds it and moves the cursor down one line :) fan_3.png Similar t...
by adamd292
Fri Jan 30, 2009 1:29 am
Forum: The Dude
Topic: Probe Thread
Replies: 324
Views: 247545

Re: Probe Thread

Probe: tnsping Type: function Monitor database availability using tnsping located on The Dude server, using a database name stored in Custom Field 3. Available: if(string_size(device_property("CustomField3"))>0, 1, 0) Error: if(array_element(execute("tnsping.exe", device_property("CustomField3"), "...
by adamd292
Thu Jan 29, 2009 2:08 am
Forum: The Dude
Topic: Sort/Reorder tools list
Replies: 7
Views: 2430

Re: Sort/Reorder tools list

In terms of tools.... In 3.1 the tools are ordered in the following order: 1) Mikrotik Tools (Locked) Ping Traceroute Snmpwalk Scan Winbox Terminal Remote Connection Torch Bandwidth Test 2) Mikrotik Tools (Changeable - can delete, alter devices) Telnet Web Ftp 3) Custom Tools - in the order that yo...
by adamd292
Wed Dec 10, 2008 2:57 am
Forum: The Dude
Topic: web access impossible
Replies: 9
Views: 1496

Re: web access impossible

I use 8080 and 8443 (because I'm running on a Win2003 server and 80 is already used by IIS)

http://myserver:8080
or
https://myserver:8443
web.JPG
by adamd292
Tue Dec 09, 2008 8:50 am
Forum: The Dude
Topic: Release version 3.0 first impresssions
Replies: 7
Views: 3090

Re: Release version 3.0 first impresssions

This is my syslog config
syslog.JPG
These are the emails I receive when using the config
emails.JPG
All is good :)
by adamd292
Tue Dec 09, 2008 8:14 am
Forum: The Dude
Topic: Release version 3.0 first impresssions
Replies: 7
Views: 3090

Re: Release version 3.0 first impresssions

syslog to email with CC works fine for me
by adamd292
Tue Dec 09, 2008 1:44 am
Forum: The Dude
Topic: Release version 3.0 first impresssions
Replies: 7
Views: 3090

Re: Release version 3.0 first impresssions

These are my first impressions (I've been using the new Dude for 24 hrs) 1) The upgrade was sweeeet (from 3.0RC3). No corruption issues, no problems with graphics not appearing. All good on my Win2k3 server. The installer did well :) 2) Most everything was already cool with The Dude, but as above I ...
by adamd292
Thu Nov 27, 2008 3:48 am
Forum: The Dude
Topic: RC2 crash on when searching mib
Replies: 2
Views: 822

Re: RC2 crash on when searching mib

This problem also occurs in Dude 3RC3

It seems to happen when I search for something that doesn't exist.

To avoid the problem, I wait for the MIB to completely load (may take a while); and then search for something that I know will be there.
by adamd292
Thu Nov 27, 2008 3:38 am
Forum: The Dude
Topic: Dude web interface map not displaying devices
Replies: 3
Views: 1189

Re: Dude web interface map not displaying devices

I use the web interface with map backgrounds and a lot of custom device images. The web interface works well. I have only had one issue with devices not displaying properly. In that case, the images were missing, but the shape (green blob) behind the image appeared. I found that the first user to lo...
by adamd292
Thu Nov 13, 2008 1:35 am
Forum: The Dude
Topic: FEATURE REQUEST: Draw Blocks (Groups)
Replies: 6
Views: 2460

Re: FEATURE REQUEST: Draw Blocks (Groups)

I would love this feature too. It would make The Dude's Map almost as good as Visio ;) There is a workaround I have been using: 1) Use Microsoft Paint (or similar) to draw things like racks on a blank canvas (I use 1450x1050 for my 24" screen - allows for side and bottom Windows Start Bar). 2) Save ...
by adamd292
Wed Nov 12, 2008 3:14 am
Forum: The Dude
Topic: Probe Thread
Replies: 324
Views: 247545

Re: Probe Thread

I have some VMWare ESX Servers and NetApp filers. and wrote the following functions and probes to instrument CPU and Memory for them in The Dude: (also there is a windows service probe) FUNCTIONS cpu_mem_disk_enhanced Same as supllied cpu_mem_disk, but with added support for VMWare and NetApp CPU lo...
by adamd292
Mon Nov 10, 2008 8:31 am
Forum: The Dude
Topic: Probe name in function
Replies: 4
Views: 1343

Re: Probe name in function

I haven't been able to do this either.

I'd love this feature so I can monitor the status of NFS shares on a NetApp filer.

At the moment I have a function for each NFS share, where the name of the share is hard coded within the function.
by adamd292
Mon Nov 03, 2008 1:52 am
Forum: The Dude
Topic: Detecting Windows Workstations
Replies: 2
Views: 1077

Re: Detecting Windows Workstations

Things to check: 1) The Dude Go to Devices -> Types Open Settings of Windows Computer Choose Identification tab Should see that windows is in the required list (as shown in picture below) 2) Windows PC You may need to enable SNMP on the servers involved. If they are Windows servers, try: http://www....
by adamd292
Thu Oct 30, 2008 3:08 am
Forum: The Dude
Topic: CPU, HDD, RAM probes
Replies: 7
Views: 3368

Re: CPU, HDD, RAM probes

You may need to enable SNMP on the servers involved. If they are Windows servers, try: http://www.windowsreference.com/networking/install-snmp-in-windows-2000xp2003/ or http://support.microsoft.com/kb/324263 The best place to look for other systems and devices is the Cacti Forums: http://forums.cact...
by adamd292
Wed Oct 08, 2008 5:02 am
Forum: The Dude
Topic: New added map always "LOADING..."
Replies: 6
Views: 2568

Re: New added map always "LOADING..."

I found the same problem in The Dude 3.0RC3. If I create a map and set the background image to grid.png, I get "Loading.....". I can't get the map to work, so I have to delete it. BUT.... If I create a map with background image set to none, it works. I can then set the background image to grid.png, ...
by adamd292
Wed Oct 08, 2008 4:13 am
Forum: The Dude
Topic: CPU OID data not showing
Replies: 5
Views: 2154

Re: CPU OID data not showing

If you look at how Dude calculates the CPU: In Functions, look at cpu_usage: It is defined as: average( oid_column("iso.org.dod.internet.mgmt.mib-2.host.hrDevice.hrProcessorTable.hrProcessorEntry.hrProcessorLoad") ) Which means: 1) Get all of the values that start with "iso.org.dod.internet.mgmt.mib...
by adamd292
Wed Oct 08, 2008 4:07 am
Forum: The Dude
Topic: Creating Probes for Windows Services
Replies: 5
Views: 2286

Re: Creating Probes for Windows Services

Just copy the most recent lmmib2.mib. So if you have Windows 2008 and Windows 2003 and Windows 2000 servers. Copy the file from the Windows 2008 server. The lmmib2.mib file jusr allows Dude to decode the oid numbers into a description (and if you're lucky, some help). For example, if you use Tools->...
by adamd292
Tue Oct 07, 2008 11:27 am
Forum: The Dude
Topic: Vote for new DUDE features!
Replies: 117
Views: 49133

Re: Vote for new DUDE features!

This is a great tool, and I'm having a lot of fun with it. I'm using Dude 3.0RC3 and I'm currently building some maps for end users. There is one small feature that I'd like: * Wherever the "Shape" option appears, I'd like the an option that says: --> none (draw no shape at all, just show device ico...
by adamd292
Tue Oct 07, 2008 11:01 am
Forum: The Dude
Topic: Creating Probes for Windows Services
Replies: 5
Views: 2286

Re: Creating Probes for Windows Services

The probes thread has a lot of examples. This is something that I adapted for service monitoring: This is the probe I created: Name: Terminal Services checker Type: Function Available: if(array_find(oid_column("1.3.6.1.4.1.77.1.2.3.1.1"),"Terminal Services")>0, 1, 0) Error: if(array_find(oid_column(...
by adamd292
Tue Oct 07, 2008 9:30 am
Forum: The Dude
Topic: Ping Graph/chart error
Replies: 21
Views: 6817

Re: Ping Graph/chart error

I have seen this problem too. In my case it was not with the ping service, but a probe that just used a oid value. The graphs displayed in the "history" tab of the device were incorrect, but if I created a Chart with the same the values it was 100% correct. Could you create a Chart of ping and ping2...