Skip to content
Discussion options

You must be logged in to vote

@rdmarsh I think I see what the issue was. I just released a new version 7.7.4 that fixes the issue. I have some pre execution code that runs when using the inline -GroovyCommand that I have to autoPopulate the hostProps and instanceProps when specifying a -CommandHostName and -CommandWildValue:

!groovy
import com.santaba.agent.collector3.CollectorDb;
def hostProps = [:];
def instanceProps = [:];
try {
    hostProps = CollectorDb.getInstance().getHost("$CommandHostName").getProperties();
    instanceProps["wildvalue"] = "$CommandWildValue";
    }
catch(Exception e) {

};

Somehow it was picked up and reformatted by my code linting. I went and fix the bug if you want to try running that v7…

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by rdmarsh
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants