how are you polling this data in your interface/device labels? Just created a function "oid(1.2.3.4.5.6.7.....)" or did you create a function with conditions for each? How often do you refresh the labels?
It depends..... Any network and server group should be monitored depending on what you need to see.
My label for TxPPS/RxPPS code is:
Fe0/22
Rx: [Interface.InBitRate]
Tx: [Interface.OutBitRate]
RxPPS:[Interface.InUnicastPacketsRate]
TxPPS:[Interface.OutUnicastPacketsRate]
Stats on: [oid(concatenate("1.3.6.1.2.1.2.2.1.2.",link_index()))]
OK, this is basically the way I do it, too
I am monitoring about 300 devices (200 switches/routers, ~50 servers and some other devices that are monitored just because we can monitor them and I exercised writing probes for them (like firewalls, laser output levels or the paper level in a xerox printer) ;)
You can count your devices, maps, and probes. Just install python 2.7, run my script and provide to it your last The Dude backup :).
Follow the link
http://forum.mikrotik.com/viewtopic.php?f=8&t=43761
More black magic.. and just what I needed! Thanks! :)
I also need to monitor the interface status and interface description (needed for automatic alarms/notifications to our NOC for customer connections)
This is easy to do.
Well, reading the interface description is, but not getting the interface description dynamically into a notification email, I had to create a lot of probes for that because I could not come up with a better solution than this:
Example ifindex: 10001 (interface FastEthernet1/0/1)
<sys-name>if_10001_status</sys-name>
<code>if(array_size(oid_column("1.3.6.1.2.1.2.2.1.8",10,29)), oid_raw("1.3.6.1.2.1.2.2.1.8.10001", 10, 29),"False")</code>
<descr>polls the status of ifindex 10001 (1 means 'up', 2 means 'down')</descr>
<functionAvailable>if_10001_status() = 1</functionAvailable>
<functionError>if(if_10001_status()<>"False", if(if_10001_status() = 1, "", concatenate(oid("1.3.6.1.4.1.9.2.2.1.1.28.10001")," connected to interface: ", oid("1.3.6.1.2.1.2.2.1.2.10001") ) ) , "SNMP polling fault - most likely false alarm")</functionError>
I had to use a script to create probes for all interfaces that I want autodiscovered and when an alarm is sent instead of "down" the error status is the interface number, description, the location and name of the device - and the NOC knows what is connected there and can look at it (instead of calling me on my mobile at night) - which was the whole purpose of this exercise ;)
There are probably easier/smarter ways to get the interface description into an email (filling an array, using a database, modifying the xml file, etc...) but I wanted to use as little external tools (none so far) as possibe.
Andreas