Advertisement
sweenig

Flow Cloner Enable/Disable

Dec 12th, 2014
2,631
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Batch 0.42 KB | None | 0 0
  1. @echo off
  2. if "%2"=="" goto:skip
  3. echo Building configuration...
  4. echo /use defaults ; > D:\NetQoS\Netflow\bin\flowclonedef.ini
  5. echo /dest ip=%2; send cloned flows >> D:\NetQoS\Netflow\bin\flowclonedef.ini
  6. :skip
  7. echo Setting FlowCloner status to %1...
  8. mysql -P 3308 -D harvester -e "update parameter_descriptions set defaultvalue='%1' where parameter='EnableFlowCloner';
  9. net stop "NetQoS Harvester"
  10. net start "NetQoS Harvester"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement