Forum Discussion
The wildvalue you define as you output from your discovery script needs to match the wildvalue output from collection. For example, your AD script outputs this:
CDPAGT##CDPAGT on VOIP-UCCX-002######uccx_server=VOIP-UCCX-002
So, your collection script has to output something like this:
CDPAGT.status: 1
This is a problem because there are more than one CDPAGT's in your instance list. WILDVALUE also needs to be unique.
You modified the discovery script to make sure the lines are unique, which is great. However, you only modified the WILDALIAS, which is only part of what needs to be unique. The WILDVALUE also needs to be unique. You can do this by changing the println in each script:
println(splitLine[1] + "::" + splitLine[2] + "##" + splitLine[2] + " on " + splitLine[1] + "######" + "uccx_server=" + splitLine[1])
println(splitLine[1] + "::" + splitLine[2] + ".status: " + (splitLine[3] == "SUCCESS")? 100 : 0)
See how that creates a unique WILDVALUE and a unique WILDALIAS? Also see that the same WILDVALUE defined in discovery matches the output of collection?
Related Content
- 2 years ago
- 3 months ago