![]() While calling this with the tower API be sure to set extra_variables to "prompt on run" otherwise the playbook won't accept variables sent via extra_vars. I'm using this with tower and passing destIP over via extra vars. By setting send_slack: True it will attempt to send slack(other options are send_email or send_snow). This is picked via the "send_xxx" variable. Available CPU, mem, blkio, net container metrics and some containers config details, e.g. If you also specify a source address it will ping/trace to that also and then send the info either via email or slack. Monitoring of Docker container by using Zabbix. Mtk-probe-tshoot-notification-api.yml - Connects to test probes and pings/traceroutes for a destination IP, then displays it to the screen. If you also specify a source address it will ping/trace to that also and add it the screen display. Mtk-probe-tshoot-screen.yml - Connects to test probes and pings/traceroutes for a destination IP, then displays it to the screen. If you also specify a source address it will ping/trace to that also and add it to the file. Mtk-probe-tshoot-file.yml - Connects to test probes and pings/traceroutes for a destination IP, then saves it into a single file. It then loops through each neighbor entry and updates the physical interfaceĭescription so that it's easy to see which device is connected to which switch port. I set the CPEs in the rooms to be named Room101, It also looks for devices that start with "Room" as their identity. It filters the table by type ether for copper Mtk-switch-interface-desc loops through a switch looking at the neighbor table. Mtk-wlan2-tuning enables a whole host of tweaks for the wlan2 radio Mtk-wlan2-power drastically lowers power on wlan2 by setting its dBi on the interface artificially high and setting it to indoor Mtk-wlan2-ani enables adaptive noise immunity on wlan2(usually the 5ghz radio) ![]() Mtk-dude-backup is a role that will backup the database on a router based dude install and FTP it off Mtk-password is a role that when used will update the password for a supplied user Mtk-ssh-keys is a role that when used will create an RSA keypair on the Ansible host, and install the public key on a MTK device Mtk-firmware-upgrade is a role that when used will upgrade the firware on a Mikrotik Therefore if the SNMP OID is found, the function will display the preceding text, the value, then a new line, but only if it is a Netonix Switch, but on all other devices it will display nothing at all.Mtk-ros-upgrade is a role that when used will check that ROS is updated and if not will get the router upgraded The final “” in the equation means display a blank if the SNMP OID is not found. Note that after the W on the end of the first line, it is immediately followed by a new line. If(string_size(Netonix_TotalPower_Collector()),concatenate(“Netonix Total Power = “,Netonix_TotalPower_Collector(),”W Also note that all functions must have a () set of brackets after their name.Īs this function obtains only data values we can also re-use this Function in a probe which allows it to be graphed and alert us if it falls outside set parameters.īy setting “ Netonix Total Power = ” to be displayed on every label, it will also be display “Netonix Total Power = W” on devices that are not a Netonix switch! We can fix this by adding a second function (called Netonix_Total_Power) that takes this data obtaining function and adds text only if the SNMP OID is present. Note how I have also inserted in some extra descriptive text ( “Netonix Total Power = ” and the trailing “W”) onto the label appearance settings. Having defined that function, one can then add that to the label appearance as follows (where ‘Netonix_TotalPower_Collector’ is the name of the Function): ![]() Normally this would be in the form of SNMP data, as in this example which will display the Total Power consumed on a Netonix Switch. will display the name of the device as stored in the device settings by double clicking the device and looking in the Name field.Īdding new Functions allows us to provide more additional data extracted from a device. These values are predefined and are obvious from their names. Download dude-client from the below URL and make sure it’s the same version as the-dude-server version and install it on your windows PC. Note: Dude-client is a windows based software. Connect to the-dude server using dude-client. It will likely only contain the following default data fields which are configured to be displayed on every device icon: To enable the-dude service you need to open New-Terminal and type: adminMikroTik > /dude set enabledyes. The stock information provided on a device’s label is configured under ‘Settings / Map / Label’ field. What I will examine today is Dude labels. Adding devices to the free MikroTik Dude program is straight forward enough and how to configure Dude for a basic setup will not be covered here as that is already well documented elsewhere.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |