You can also use the PUT
method to trigger actions of the Asset Discovery node.
Initiating a probe
A PUT
request using the endpoint doProbe triggers a probe of all networks that are checked for export.
You can specify if you want to wait for the result using the parameter wait, where the default value is True. You can also specify if you not only want to probe for new devices but also want to refresh the information of the devices already known using the parameter refresh, where the default value is True.
Example:
PUT https://192.168.0.1/doProbe?wait=false&refresh=false
This command will only probe for new devices and will not wait for the completion.
Export asset data to OTbase Asset Center
A PUT
request using the endpoint doSync exports asset data to the OTbase Asset Center that is configured in the global configuration.
You can specify whether you want to wait for the result (wait: default is True). Additionally, you can choose if you want to probe all exported networks and devices before sending the result (refresh: default is False).
Example:
PUT https://192.168.0.1/doSync?wait=false&refresh=true
Comments
0 comments
Please sign in to leave a comment.