Since i'm yet to find a way to get MikroTik versions to appear in node details, i'm going to make a separate config file to put the version into and use that for comparison
Problem is its refusing to backup, maybe there's some syntax in this command that NCM doesn't like? Here's my config template
<Configuration-Management Device="MIKROTIK" SystemOID="1.3.6.1.4.1.14988.1" AutoDetectType="BySystemOid">
<Commands>
<Command Name="RESET" Value="" />
<Command Name="Reboot" Value="/system reboot${CRLF}y" />
<Command Name="RebootAt" Value="" />
<Command Name="EnterConfigMode" Value="" />
<Command Name="ExitConfigMode" Value="" />
<Command Name="DownloadConfig" Value="${ConfigType}" />
<Command Name="UploadConfig" Value="" />
<Command Name="DownloadConfigIndirect" Value="" />
<Command Name="UploadConfigIndirect" Value="" />
<Command Name="EraseConfig" Value="" />
<Command Name="SaveConfig" Value="" />
<Command Name="Version" Value=":for t from=1 to=11 do={:put Padding} ; :put ([/system package update get installed-version]) ; :put ([/system package update get channel])" />
<Command Name="Running" Value="/export terse" />
<Command Name="Startup" Value="" />
<Command Name="UserAccounts" Value="/user export terse ; /radius export terse" />
</Commands>
</Configuration-Management>
The command is 'Version'. When I run that on the device it spits out exactly as expected, i.e.
#Padding
#Padding
#Padding
#Padding
#Padding
#Padding
#Padding
#Padding
#Padding
#Padding
#Padding
6.44
stable
However solarwinds is complaining when I go to download the config
| Transfer Status: | Connectivity issues, discarding configuration (or configuration is too short) |
If I remove the last parts of the command and just use
<Command Name="Version" Value=":for t from=1 to=11 do={:put #Padding}" />
it works fine, 11 lines of #Padding. When the add either of the other commands it doesn't like it
NCM doesn't seem to mind using the ; symbol as the 'UserAccounts' command works
Maybe : is whats breaking it? Problem is I can't get the output without using it