AnsweredAssumed Answered

Has anyone used the agentConnectionStatus as regular expression to call status of different nodes within application?

Question asked by Danaddo on Feb 8, 2016
Latest reply on Feb 8, 2016 by Hallett_German

I need the syntax for calling regular expression for different nodes within JVM application to check connection status. See the example below on how to set the regular expression:

 

// Tell the EM what agents we should match against

function getAgentRegex()

{

    return "servernames*.*node1*.*| node2*.* |node3.* " ;

}

 

or I need to use this syntax

 

// Tell the EM what agents we should match against

function getAgentRegex()

{

    return "servernames*.*(node1.*|node2.*|node3.*)";

}

 

Please help

 

 

 

Daniel

Outcomes