fix: disable optional custom fields by default
This commit is contained in:
@@ -21,7 +21,7 @@ Der Agent löscht keine NetBox-Objekte. Site, Location und Device Role müssen b
|
|||||||
3. Site/Location existieren, falls sie in `config.json` gesetzt sind.
|
3. Site/Location existieren, falls sie in `config.json` gesetzt sind.
|
||||||
4. Der API-Token darf Devices, Manufacturers, Device Types und Inventory Assets lesen, anlegen und ändern.
|
4. Der API-Token darf Devices, Manufacturers, Device Types und Inventory Assets lesen, anlegen und ändern.
|
||||||
|
|
||||||
Optionale Custom Fields müssen für `dcim.Device` existieren. Die linke Seite in `custom_fields` ist der Agent-Schlüssel, die rechte Seite der NetBox-Custom-Field-Name. Nicht benötigte Einträge können entfernt werden.
|
Optionale Custom Fields müssen für `dcim.Device` existieren. Standardmäßig werden keine Custom Fields gesendet. Die linke Seite in `custom_fields` ist der Agent-Schlüssel, die rechte Seite der NetBox-Custom-Field-Name. Unterstützte Agent-Schlüssel sind `agent_version`, `windows_version`, `device_uuid` und `last_sync`.
|
||||||
|
|
||||||
## Konfiguration
|
## Konfiguration
|
||||||
|
|
||||||
|
|||||||
+1
-6
@@ -11,10 +11,5 @@
|
|||||||
"collect_software": true,
|
"collect_software": true,
|
||||||
"max_software_entries": 250,
|
"max_software_entries": 250,
|
||||||
"tags": ["windows-agent"],
|
"tags": ["windows-agent"],
|
||||||
"custom_fields": {
|
"custom_fields": {}
|
||||||
"agent_version": "netbox_agent_version",
|
|
||||||
"windows_version": "windows_version",
|
|
||||||
"device_uuid": "device_uuid",
|
|
||||||
"last_sync": "agent_last_sync"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user