Server listServersIn group /group
if that's empty, delete the group.
Seems that that doesn't work when querying about a smart server group...
appserver% blcli_execute Server listServersInGroup "/path/to/smart/group"
Command execution failed. com.bladelogic.om.infra.mfw.util.BlException: java.sql.SQLException: Missing IN or OUT parameter at index:: 1
Works fine on servers directly under a static group .Which is not my case, as I want to see empty smart groups and empty static groups (Static groups not having smart groups inside, which this command doesn't do)
Try another group ? i think you get that error if the group conditions are messed up. what version of bsa is this ?
I'm using BSA 8.3.02.438, and this happens on a couple smart groups which work fine from BSA console, with 5 or so conditions, all of which must be matched.
Strange because there's another smart group totally not related which works fine! However it's not a group I am going to use...
Can you show a screenshot of the conditions for one of the groups ?