Adobe RUM Version Tracking

sanbornc
New Contributor III

Hello all! Im trying to figure out a script to track down the version of Adobe RUM on our Macs to determine if they need to be upgraded. I think the current version is 2.4.0.3. Any idea's? Since it's a Unix Executable its been problematic. Any help would be appreciated!

2 REPLIES 2

mvu
Valued Contributor

I run an EA script below.

!/bin/bash

if [ -f /usr/local/bin/RemoteUpdateManager ]; then chmod +x /usr/local/bin/RemoteUpdateManager S_VERSION=$(/usr/local/bin/RemoteUpdateManager --help 2>&1 | awk ' NR==1{ print $5 } ') EA_RESULT="${S_VERSION}"
elif [ -a /usr/sbin/RemoteUpdateManager ]; then S_VERSION="Pre 2015.5 Release" EA_RESULT="${S_VERSION}"
else EA_RESULT="Not installed"
fi

echo "<result>${EA_RESULT}</result>"

Baravis
New Contributor III

We're getting many results that one would expect with this script, but does anyone know why some of endpoints are returning the following?

 

/usr/local/bin/RemoteUpdateManager:

 

Screenshot example of the Jamf output: 

Baravis_0-1660258800251.png

Looking at the elif loop I can only imagine this must be an output from line 5 in the script? 

 

 

#!/bin/bash

if [ -f /usr/local/bin/RemoteUpdateManager  ]; then
    chmod +x /usr/local/bin/RemoteUpdateManager
    S_VERSION=$(/usr/local/bin/RemoteUpdateManager --help 2>&1 | awk ' NR==1{ print $5 } ')
    EA_RESULT="${S_VERSION}"
elif [ -a /usr/sbin/RemoteUpdateManager ]; then
    S_VERSION="Pre 2015.5 Release"
    EA_RESULT="${S_VERSION}"
else
    EA_RESULT="Not installed"
fi

echo "<result>${EA_RESULT}</result>"