I am trying to determine through BLCLI commands whether a server group specified is either a Static group or a defined Smart Group. Has anyone come across this? It seems that the implementation of the calls between the different groups types in BladeLogic are not consistent.
There is a StaticServerGroup groupExists function but one does not exist for a SmartGroup (closest I can think to use is groupNameToDBKey).
It would be nice if there was a call to get group type so that I could branch to the appropriate CLI call to continue my processing using a particular type.
There is Group getGroupByQualifiedName $Type $Name
You could pass in the model object type for a static group and then check to see if it returns anything, then pass in the type for a smartgroup and see if that returns anything.