So I'm assuming that you're picking a grammar that is correctly parsing your output to a Name/Value pair.
If so, your compliance check result should give you a left/right value if they didn't match. Can you attach screenshots of what you're seeing?
Would agentinfo as an extended object do what you need? or Agent version property perhaps?
Yes agentinfo <hostname> will provide this info
For Auto-remediation, you can use a NSH Script job for checking values of the agent info. Create a FOR loop. In case the value is 8.1, then update, else, compliant.
Later, you can run a compliance.
The values of the extended objects can also be seen creating a BDSSA Report.
Can't you use the Server properties directly to make this check?
??TARGET.AGENT_MAJOR_VERSION*?? = 8 AND
??TARGET.AGENT_MINOR_VERSION*?? = 5 AND
??TARGET.AGENT_PATCH_VERSION*?? = 0 AND
??TARGET.AGENT_BUILD_VERSION*?? = 469
We have multiple teams updating BladeLogic. If someone performs an update, they don't always update the server properties. So I have seen the server property values for agentinfo be wrong.
Figured interrogating each server would be more accurate.
Unfortunately we don't have BDSSA functional yet.
What you are looking for may be showing in the name instead of value 1. To be sure, live browse the server in the content editor and select the extended object to see how it looks after parsing. Post a pic if you are able.
Thanks for the suggestion of the live browse.
I added my Extended Object BSAAgentVersion to my component template. After I live browsed, I added the Extended Object BSAAgentVersion//AGENT and that did the trick.