Page 1 of 1

Getting Agent Version

Posted: 25 Sep 2013 5:22
by cjdesch
Is there a one line command that can be used to return the Agent version? I know we can get the agent version from the installed-versions.txt but I need to be able to script upgrade packages for different versions of the agent.

Was looking for a one-liner that could give me back "6.4.00.300" indicating that its a 6.4 agent with FixPack 3

The alternative might be a shell script that can parse the installed-versions.txt quickly and retrieve that information.

This would be in the unix environment.

Posted: 26 Sep 2013 4:17
by gglau
This is the best choice and version and platform independent. Even BMC scripts read this file to determine version and fixpack.

Posted: 27 Sep 2013 6:04
by cjdesch
Is there a script out there to do this?

Posted: 08 Oct 2013 3:35
by Manii
Hi ,

You can export the list from CCM also ,
It will give you agent version with fix pack also the OS platform information.
Hope this will help

This usually work on agent version 6.4 onward.

Thanks,
Mani