We want to monitor web site latency using spectrum SPM test via a custom script, can you please let us know how it works with a custom script?
Custom configuration parameters needed
Release : 10.4.1
Component : Spectrum Core / SpectroSERVER
The script path was designed to be used with the SystemEdge agent. When a SPM test is created, the detail is saved in the svcrsp.cf file in the C:\Users\Public\CA\SystemEDGE\port161\plugins\svcrsp folder. In that file, you must uncomment the #allow_scripts entry so it looks like this:
# Uncomment to allow execution of external scripts
Then create a script to run. For example here is my http_test.bat:
wget -v -S -o c:\wget.log -U "Java/1.6.0_43" --no-check-certificate www.ca.com
(You can change that to java 126.96.36.199 if need be)
In the SPM test, literally just put the path and script. For example:
When the test runs, it will execute the script - in this example, it creates the c:\wget.log file.