Open main menu
Home
Random
Log in
Settings
COMMUNITY
ABOUT
Disclaimers
Teltonika Networks Wiki
Search
Changes
← Older edit
Newer edit →
Draft:Monitoring via JSON-RPC
(view source)
Revision as of 11:08, 7 November 2017
188 bytes added
,
11:08, 7 November 2017
→Getting router parameters
Line 90:
Line 90:
{"jsonrpc": "2.0", "id": 1, "method": "call", "params": [ "a74c8e07646f0da2bfddce35bf3de1f3", "file", "exec", { "command": "<span style="color:orange">cat</span>", "params":["<span style="color:orange">/etc/config/network</span>"] } ] }"
{"jsonrpc": "2.0", "id": 1, "method": "call", "params": [ "a74c8e07646f0da2bfddce35bf3de1f3", "file", "exec", { "command": "<span style="color:orange">cat</span>", "params":["<span style="color:orange">/etc/config/network</span>"] } ] }"
−
</font>
+
The command and the parameter are highlighted in orange. In this case the Linux '''cat'''(short for “concatenate“) is used to view the contents of the
'''/etc/config/network''' file.
+
+
</font>
Dziugas
Bureaucrats
,
Interface administrators
,
Administrators
31,703
edits