Extract firmware version to a email

Hi all,

I have a perfectly good script that backs up and emails the current config every day,

However I would like to add the current version of firmare in the emaiil header to track which backup is with with a particular firmware.

Current header “Mikrotik, XXXXXXX XXXXX XXX, Mikrotik System Backup, CCR2004-1G-12S+2XS @ 08:00”

I cant find how to insert just the firmware-version into the string subject=“$[/system identity get name], Mikrotik System Backup, CCR2004-1G-12S+2XS @ 08:00” \

Regards

User serial number (that should be unique fore each box)

subject="$[/system identity get name] $[/system routerboard get serial-number], Mikrotik System Backup, CCR2004-1G-12S+2XS @ 08:00"

Firmware

[/system routerboard get current-firmware]

Excellent, worls a treat,

Regards

Send yourself an export… That has the firmware at the top of the text.

The user has already solved.
Using your method, everytime must open the attach for see the version, instead to read directly on subject.

I find it he export more useful as I can read the configuration on the router without logging in.

Read all before post:

I have a perfectly good script that backs up and emails the current config every day,

He want to add the firmware version on subject to do not open everytime the file to see inside,
He do not want exactly what you suggest.

I also wonder…

What changes in your router config that needs to be emailed?

I have the router back itself up every week and the file sits on the router. This is because the other techs often forget to take a backup after making changes.

I do my best to hit leaving script.
Which make a backup and export. I then download that to the customer file.

I asked Sara about what changes on the router that would require the daily backup. She didn’t answer.

Also… I never have scripts or schedules that auto update firmware. That master/slave to bridge then some changed to how ? Worked really messed up some running systems.