On this page
4 Stato del Rilevamento
Description
These parameters and the possible property values for the respective dashboard widget field objects allow to configure
the Discovery status widget in dashboard.create and dashboard.update methods.
Parameters
The following parameters are supported for the Discovery status widget.
| Parameter | type | name | value |
|---|---|---|---|
| Refresh interval | 0 | rf_rate | 0 - No refresh; 10 - 10 seconds; 30 - 30 seconds; 60 - (default) 1 minute; 120 - 2 minutes; 600 - 10 minutes; 900 - 15 minutes. |
Esempi
Gli esempi seguenti mirano a descrivere solo la configurazione degli oggetti campo del widget del dashboard per il widget Stato di rilevamento.
Per ulteriori informazioni sulla configurazione di un dashboard, vedere dashboard.create.
Configuring Discovery status widget
Configure a Discovery status widget with the refresh interval set to 15 minutes.
{
"jsonrpc": "2.0",
"method": "dashboard.create",
"params": {
"name": "My dashboard",
"display_period": 30,
"auto_start": 1,
"pages": [
{
"widgets": [
{
"type": "discovery",
"name": "Discovery status",
"x": 0,
"y": 0,
"width": 6,
"height": 3,
"view_mode": 0,
"fields": [
{
"type": 0,
"name": "rf_rate",
"value": 900
}
]
}
]
}
],
"userGroups": [
{
"usrgrpid": 7,
"permission": 2
}
],
"users": [
{
"userid": 1,
"permission": 3
}
]
},
"id": 1
}
Response:
{
"jsonrpc": "2.0",
"result": {
"dashboardids": [
"3"
]
},
"id": 1
}