Community discussions

 
catkin
just joined
Topic Author
Posts: 2
Joined: Sun Jan 06, 2019 2:38 pm

bash script to report routers needing upgrade

Sun Jul 07, 2019 1:41 pm

The script, a library function it uses and a sample conffile are at https://pastebin.com/QqZYwTZ0

If it finds any routers needing update it sends a mail like:
Subject: MikroTik routers needing update
Date: Sat,  6 Jul 2019 08:00:12 +0530 (IST)
From: <email address>
To: <email address>

cer02.example.com: update required (patch number has changed)
Current or installed version: 6.43.7
Latest version: 6.43.16

kal03.example.com: update required (version minor number has changed)
Current or installed version: 6.40.4
Latest version: 6.43.16

Who is online

Users browsing this forum: No registered users and 7 guests