Quantcast
Channel: THWACK: Popular Discussions - Network Configuration Manager
Viewing all articles
Browse latest Browse all 4266

How to get software version?

$
0
0

How do I populare the Software Version or Software Image fields in node details?

Is it related to the 'Version' command in the config template?

We use a lot of MikroTik devices and these are what we're currently using to test NCM. This is the modified template i've written

 

<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="/export terse${CRLF}" />

    <Command Name="UploadConfig" Value="/import${CRLF}" />

    <Command Name="DownloadConfigIndirect" Value="" />

    <Command Name="UploadConfigIndirect" Value="" />

    <Command Name="EraseConfig" Value="" />

    <Command Name="SaveConfig" Value="" />

    <Command Name="Version" Value=":put ([/system package update get installed-version].([/system package update get channel]))" />

    <Command Name="Running" Value="" />

    <Command Name="Startup" Value="" />

    <Command Name="Test Firewall Config" Value="" />

  </Commands>

</Configuration-Management>

 

The command i've entered in Version should spit out a text value of the firmware version as well as the channel, i.e. "6.44 stable" or "6.27.3 bugfix"

I presume this would populate the Software Version field in NCM but it doesn't, it remains blank and Software Image always says unknown

 

I need to be able to see firmware version for auditing and then pushing firmware upgrade commands


Viewing all articles
Browse latest Browse all 4266

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>