Skip to content

Commit 27443c4

Browse files
author
jokob-sk
committed
docs,MQTT alert_down #1057
1 parent 46cbf85 commit 27443c4

5 files changed

Lines changed: 8 additions & 5 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ build your own scanners with the [Plugin system](https://github.com/jokob-sk/Net
4343

4444
### Workflows
4545

46-
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.
46+
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.
4747

4848

4949
## 📚 Documentation

docs/DEVICES_BULK_EDITING.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ You can select devices in the _Devices_ view by selecting devices to edit and th
1414

1515
## CSV bulk edit
1616

17+
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.
18+
1719
> [!NOTE]
1820
> As always, backup everything, just in case.
1921

docs/WORKFLOWS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Workflows Overview
22

3-
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.
3+
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.
44

55
![Workflows diagram](./img/WORKFLOWS/workflows_diagram.png)
66

front/plugins/_publisher_mqtt/mqtt.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -467,6 +467,7 @@ def mqtt_start(db):
467467
devJson = {
468468
"last_ip": device["devLastIP"],
469469
"is_new": str(device["devIsNew"]),
470+
"alert_down": str(device["devAlertDown"]),
470471
"vendor": sanitize_string(device["devVendor"]),
471472
"mac_address": str(device["devMac"]),
472473
"model": devDisplayName,

server/plugin.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -713,9 +713,9 @@ def process_plugin_events(db, plugin, plugEventsArr):
713713
mylog('debug', ['[Plugins] objects_to_insert count: ', len(objects_to_insert)])
714714
mylog('debug', ['[Plugins] objects_to_update count: ', len(objects_to_update)])
715715

716-
# mylog('debug', ['[Plugins] objects_to_update: ', objects_to_update])
717-
# mylog('debug', ['[Plugins] events_to_insert: ', events_to_insert])
718-
# mylog('debug', ['[Plugins] history_to_insert: ', history_to_insert])
716+
mylog('trace', ['[Plugins] objects_to_update: ', objects_to_update])
717+
mylog('trace', ['[Plugins] events_to_insert: ', events_to_insert])
718+
mylog('trace', ['[Plugins] history_to_insert: ', history_to_insert])
719719

720720
logEventStatusCounts('pluginEvents', pluginEvents)
721721
logEventStatusCounts('pluginObjects', pluginObjects)

0 commit comments

Comments
 (0)