Hi
Is there a way I can easily see the TrafficScript name plus the VirtualServers that are using it?
Thanks
Kerry
Solved! Go to Solution.
Do you need to script it?
If you don't, the Config Summary page might do the trick: /apps/zxtm/index.fcgi?section=Config%20Summary
If you do, I would use zcli and those commands:
[email protected] > VirtualServer.getVirtualServerNames
[ VS1, VS2 ]
[email protected] > VirtualServer.getRules "VS1"
[ { enabled: 1,
name: "SECURITY - Block TRACE+TRACK requests",
run_frequency: only_first },
{ enabled: 1,
name: "VS1 Rule",
run_frequency: only_first } ]
[email protected] > VirtualServer.getRules "VS2"
[ { enabled: 1,
name: "SECURITY - Block TRACE+TRACK requests",
run_frequency: only_first },
{ enabled: 1,
name: "VS2 Rule",
run_frequency: only_first } ]
Do you need to script it?
If you don't, the Config Summary page might do the trick: /apps/zxtm/index.fcgi?section=Config%20Summary
If you do, I would use zcli and those commands:
[email protected] > VirtualServer.getVirtualServerNames
[ VS1, VS2 ]
[email protected] > VirtualServer.getRules "VS1"
[ { enabled: 1,
name: "SECURITY - Block TRACE+TRACK requests",
run_frequency: only_first },
{ enabled: 1,
name: "VS1 Rule",
run_frequency: only_first } ]
[email protected] > VirtualServer.getRules "VS2"
[ { enabled: 1,
name: "SECURITY - Block TRACE+TRACK requests",
run_frequency: only_first },
{ enabled: 1,
name: "VS2 Rule",
run_frequency: only_first } ]
Zcli option was exactly what I required, thank you
Kerry