From 575f3e227e8294a6c98ad98471ba06ebd7486cb8 Mon Sep 17 00:00:00 2001 From: Paul Rock Date: Thu, 24 Oct 2019 14:38:23 +0300 Subject: [PATCH] typo fix --- examples/system_script.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/examples/system_script.php b/examples/system_script.php index c69c9c5..dce99c6 100644 --- a/examples/system_script.php +++ b/examples/system_script.php @@ -26,7 +26,6 @@ $client = new Client([ $query = (new Query('/system/script/add')) ->equal('name', 'test_by_system1') - ->equal('source', 'monitoring') ->equal('source', ':local monitor [/interface monitor-traffic ether2 as-value once] \r\n :local speedRX ($monitor->"rx-bits-per-second")\r\n :local speedTX($monitor->"tx-bits-per-second")\r\n @@ -39,7 +38,6 @@ print_r($response); $query = (new Query('/system/script/add')) ->equal('name', 'test_by_system2') - ->equal('source', 'monitoring') ->equal('source', ':local monitor [/interface monitor-traffic ether2 as-value once] \r\n:local speedRX ($monitor->"rx-bits-per-second")\r\n:local speedTX($monitor->"tx-bits-per-second")\r\n/tool fetch mode=http url=("http://192.168.254.72/micro-nms/storebw/1/$speedTX/$speedRX") keep-result=no'); @@ -50,7 +48,6 @@ print_r($response); $query = (new Query('/system/script/add')) ->equal('name', 'test_by_system3') - ->equal('source', 'monitoring') ->equal('source', ':local monitor [/interface monitor-traffic ether2 as-value once] \r\n' . ':local speedRX ($monitor->"rx-bits-per-second")\r\n' . ':local speedTX ($monitor->"tx-bits-per-second")\r\n'