Community discussions

MikroTik App
 
sadmanhuq
just joined
Topic Author
Posts: 10
Joined: Fri Jun 15, 2018 1:39 pm

Tracking and Visualizing Device Uptime and Downtime in MikroTik Dude

Mon Sep 02, 2024 9:48 pm

Hello everyone,

I'm currently utilizing MikroTik Dude to monitor our office network, which comprises a variety of devices including desktops, laptops, IP phones, network printers, and other network equipment. I'm aiming to set up a comprehensive monitoring system that effectively tracks and displays both uptime and downtime for all these devices.

My specific goals are:

Real-Time Monitoring with Detailed Status:
I want the Dude map to display each device's status in real-time, showing:
"Uptime since:" timestamp indicating when the device last came online.
"Downtime since:" timestamp indicating when the device went offline.

Logging Historical Data:
Maintain logs that record the uptime and downtime history of each device for performance analysis and auditing purposes.

Generating Detailed Reports:
Create periodic reports summarizing the uptime/downtime statistics for all devices over specified time frames.

Setting Up Notifications:
Configure alerts (via email or other methods) to notify the IT team immediately when any device experiences downtime.


Request for Assistance:

If anyone has experience setting up a similar monitoring system with MikroTik Dude, I would greatly appreciate your insights and recommendations.
Any guidance on scripts, plugins, or additional tools that enhance Dude's capabilities for these purposes would be very helpful.
Examples of configurations or templates that effectively display uptime/downtime information on the map would be particularly useful.

Thank you in advance for your support and suggestions!
 
User avatar
stmx38
Long time Member
Long time Member
Posts: 644
Joined: Thu Feb 14, 2008 4:03 pm
Location: Moldova, Chisinau

Re: Tracking and Visualizing Device Uptime and Downtime in MikroTik Dude

Sat Sep 07, 2024 12:38 pm

Just a point to the Feature request - Sending Reports.
In that topic you can also find some (existing) variables which can be used to show device uptime.

Not sure if we can generate reports in any way using Dude or via ROS API.
 
User avatar
Amm0
Forum Guru
Forum Guru
Posts: 3892
Joined: Sun May 01, 2016 7:12 pm
Location: California

Re: Tracking and Visualizing Device Uptime and Downtime in MikroTik Dude

Sat Sep 07, 2024 9:10 pm

Not sure if we can generate reports in any way using Dude or via ROS API.
You struck one of the biggest limitation in Dude. While the Dude excels at being able to track things, esp RouterOS devices since it can use the binary winbox protocol (which likely more efficient than SNMP). Getting data out of it is very limited...

For example, there no RouterOS CLI for Dude Server to get a SVG or CSV data available from the Dude client UI. Those require using the client, manually, to download. Since there isn't CLI, there are REST/native API either, at least to get any of the historic/current data from probes/etc. And while the Dude's data is stored in SQLite database as a file, the schema is pretty obtuse so it's not really directly usable either. Although there OSS PHP and Python code that can extract some data from Dude's SQLite, see viewtopic.php?t=174470

So basically for "reporting" you can manually download CSVs and use a tool like Excel/Number/GSheets (or BI tool) to create a report from the Dude's CSV exports. But it be a manual process each time.

Who is online

Users browsing this forum: No registered users and 6 guests