diff --git a/README.md b/README.md index cb75bf65..85370c8b 100755 --- a/README.md +++ b/README.md @@ -43,7 +43,7 @@ build your own scanners with the [Plugin system](https://github.com/jokob-sk/Net ### Workflows -The [workflows module](https://github.com/jokob-sk/NetAlertX/blob/main/docs/WORKFLOWS.md) in NetAlertX allows to automate repetitive tasks, making network management more efficient. Whether you need to assign newly discovered devices to a specific Network Node, auto-group devices from a given vendor, unarchive a device if detected online, or automatically delete devices, this module provides the flexibility to tailor the automations to your needs. +The [workflows module](https://github.com/jokob-sk/NetAlertX/blob/main/docs/WORKFLOWS.md) allows to automate repetitive tasks, making network management more efficient. Whether you need to assign newly discovered devices to a specific Network Node, auto-group devices from a given vendor, unarchive a device if detected online, or automatically delete devices, this module provides the flexibility to tailor the automations to your needs. ## 📚 Documentation diff --git a/docs/DEVICES_BULK_EDITING.md b/docs/DEVICES_BULK_EDITING.md index 78be7579..d630a479 100755 --- a/docs/DEVICES_BULK_EDITING.md +++ b/docs/DEVICES_BULK_EDITING.md @@ -14,6 +14,8 @@ You can select devices in the _Devices_ view by selecting devices to edit and th ## CSV bulk edit +The database and device structure may change with new releases. When using the CSV import functionality, ensure the format matches what the application expects. To avoid issues, you can first export the devices and review the column formats before importing any custom data. + > [!NOTE] > As always, backup everything, just in case. diff --git a/docs/WORKFLOWS.md b/docs/WORKFLOWS.md index 143dae09..4298294b 100755 --- a/docs/WORKFLOWS.md +++ b/docs/WORKFLOWS.md @@ -1,6 +1,6 @@ # Workflows Overview -The workflows module in NetAlertX allows to automate repetitive tasks, making network management more efficient. Whether you need to assign newly discovered devices to a specific Network Node, auto-group devices from a given vendor, unarchive a device if detected online, or automatically delete devices, this module provides the flexibility to tailor the automations to your needs. +The workflows module in allows to automate repetitive tasks, making network management more efficient. Whether you need to assign newly discovered devices to a specific Network Node, auto-group devices from a given vendor, unarchive a device if detected online, or automatically delete devices, this module provides the flexibility to tailor the automations to your needs. ![Workflows diagram](./img/WORKFLOWS/workflows_diagram.png) diff --git a/front/plugins/_publisher_mqtt/mqtt.py b/front/plugins/_publisher_mqtt/mqtt.py index fb281e05..67c05d75 100755 --- a/front/plugins/_publisher_mqtt/mqtt.py +++ b/front/plugins/_publisher_mqtt/mqtt.py @@ -467,6 +467,7 @@ def mqtt_start(db): devJson = { "last_ip": device["devLastIP"], "is_new": str(device["devIsNew"]), + "alert_down": str(device["devAlertDown"]), "vendor": sanitize_string(device["devVendor"]), "mac_address": str(device["devMac"]), "model": devDisplayName, diff --git a/server/plugin.py b/server/plugin.py index 586f4a4b..85ab4cc9 100755 --- a/server/plugin.py +++ b/server/plugin.py @@ -713,9 +713,9 @@ def process_plugin_events(db, plugin, plugEventsArr): mylog('debug', ['[Plugins] objects_to_insert count: ', len(objects_to_insert)]) mylog('debug', ['[Plugins] objects_to_update count: ', len(objects_to_update)]) - # mylog('debug', ['[Plugins] objects_to_update: ', objects_to_update]) - # mylog('debug', ['[Plugins] events_to_insert: ', events_to_insert]) - # mylog('debug', ['[Plugins] history_to_insert: ', history_to_insert]) + mylog('trace', ['[Plugins] objects_to_update: ', objects_to_update]) + mylog('trace', ['[Plugins] events_to_insert: ', events_to_insert]) + mylog('trace', ['[Plugins] history_to_insert: ', history_to_insert]) logEventStatusCounts('pluginEvents', pluginEvents) logEventStatusCounts('pluginObjects', pluginObjects)