Back to Geneos FAQ

Netprobe - How to use RMS commands to upgrade Linux Probes

You can use a sequential set of RMS commands to perform the process of upgrading a Linux Netprobe and execute it all in one go.

Add the following XML as a new command on your gateway:

<command name="Linux NetProbe Upgrade">

<targets>

<target>/geneos/gateway/directory/probe[wild(rparam(&quot;OS&quot;),&quot;Linux*&quot;)]</target>

<target>/geneos/gateway/directory/probe[wild(rparam(&quot;OS&quot;),&quot;Linux*&quot;)]/managedEntity</target>

</targets>

<task>

<commands>

<commandRef>

<internalCommand>

<name>/RMS:putFile</name>

</internalCommand>

<stopOnError>true</stopOnError>

</commandRef>

<commandRef>

<internalCommand>

<name>/RMS:exec</name>

</internalCommand>

<stopOnError>true</stopOnError>

</commandRef>

<commandRef>

<internalCommand>

<name>/RMS:restart</name>

</internalCommand>

<stopOnError>true</stopOnError>

</commandRef>

</commands>

<args>

<arg>

<!--Gateway directory containing latest Netprobe binary-->

<targetArgs>

<targetArg>

<commandNumber>1</commandNumber>

<argNumber>1</argNumber>

</targetArg>

</targetArgs>

<static>/data/Binaries/Netprobe/Linux/netprobe.linux.latest.tar.gz</static>

</arg>

<arg>

<!--location on netprobe host (will default to netprobe working directory)-->

<targetArgs>

<targetArg>

<commandNumber>1</commandNumber>

<argNumber>2</argNumber>

</targetArg>

</targetArgs>

<static>netprobe.linux.latest.tar.gz</static>

</arg>

<arg>

<targetArgs>

<targetArg>

<commandNumber>2</commandNumber>

<argNumber>1</argNumber>

</targetArg>

</targetArgs>

<static>tar xzvf netprobe.linux.latest.tar.gz -C ../</static>

</arg>

</args>

</task> </command>

To explain the RMS commands sequence for this “Upgrade” command: Geneos - Netprobe - How to use RMS commands to upgrade Linux Probes

Once available, you can execute the command by right clicking on the probe or managed entity icon and selecting the command: Geneos - Netprobe - How to use RMS commands to upgrade Linux Probes

["Geneos"] ["Geneos > Gateway"] ["FAQ"]

Was this topic helpful?