domotz_configuration
Manage network device configuration backups, credentials, and SNMP authentication. Use action parameter to trigger backups, retrieve history, set credentials, or configure SNMP.
Instructions
Manage device configuration backups, credentials, and SNMP authentication. Use the "action" parameter to select an operation. Requires agent_id and device_id for all actions.
ACTION REFERENCE:
backup: Trigger a config backup for a device
history: List config backup history for a device
create_config: Upload a configuration (needs body)
get_config: Get a specific config by timestamp (needs configuration_timestamp)
set_credentials: Set device credentials for SSH/Telnet (needs body)
get_snmp_auth: Get SNMP authentication settings
set_snmp_auth: Set SNMP v3 authentication (needs body)
set_snmp_community: Set SNMP community string (needs body)
GOTCHAS:
Backup workflow: first trigger "backup", then use "history" to see available backups, then "get_config" with the timestamp to retrieve one
EXAMPLES:
Trigger backup: {"action": "backup", "agent_id": 5, "device_id": 30}
View backup history: {"action": "history", "agent_id": 5, "device_id": 30}
Get SNMP settings: {"action": "get_snmp_auth", "agent_id": 5, "device_id": 30}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | Request body (JSON object) | |
| action | Yes | The operation to perform | |
| agent_id | No | Agent/Collector ID | |
| device_id | No | Device ID | |
| configuration_timestamp | No | Configuration timestamp (for get_config) |