diff --git a/.env.omada.ffsb42 b/.env.omada.ffsb42
deleted file mode 120000
index 81e55650..00000000
--- a/.env.omada.ffsb42
+++ /dev/null
@@ -1 +0,0 @@
-../.env.omada.ffsb42
\ No newline at end of file
diff --git a/docker-compose.yml.ffsb42 b/docker-compose.yml.ffsb42
deleted file mode 120000
index 115af5fa..00000000
--- a/docker-compose.yml.ffsb42
+++ /dev/null
@@ -1 +0,0 @@
-../docker-compose.yml.ffsb42
\ No newline at end of file
diff --git a/docs/DEBUG_TIPS.md b/docs/DEBUG_TIPS.md
index 7c180037..dbb345ea 100755
--- a/docs/DEBUG_TIPS.md
+++ b/docs/DEBUG_TIPS.md
@@ -6,7 +6,7 @@ Please follow tips 1 - 4 to get a more detailed error.
When debugging an issue always set the highest log level:
-`LOG_LEVEL='debug'`
+`LOG_LEVEL='trace'`
## 2. Surfacing errors when container restarts 🔁
diff --git a/front/maintenance.php b/front/maintenance.php
index 813802d9..bc34f42e 100755
--- a/front/maintenance.php
+++ b/front/maintenance.php
@@ -706,9 +706,9 @@ function ImportPastedCSV()
var csv = $('#modal-input-textarea').val();
csvBase64 = btoa(csv)
// Execute
- $.get('php/server/devices.php?action=ImportCSV&content=', function(msg) {
- showMessage (msg);
- write_notification(`[Maintenance] Devices imported from pasted content`, 'info')
+ $.post('php/server/devices.php?action=ImportCSV', { content: csvBase64 }, function(msg) {
+ showMessage(msg);
+ write_notification(`[Maintenance] Devices imported from pasted content`, 'info');
});
}
diff --git a/front/php/server/devices.php b/front/php/server/devices.php
index 2219bc9b..64a6efd8 100755
--- a/front/php/server/devices.php
+++ b/front/php/server/devices.php
@@ -464,20 +464,19 @@ function ExportCSV() {
//------------------------------------------------------------------------------
function ImportCSV() {
+ global $db;
$file = '../../../config/devices.csv';
$data = "";
+ $skipped = "";
+ $error = "";
// check if content passed in query string
- if(isset ($_REQUEST['content']) && !empty ($_REQUEST['content']))
+ if(isset ($_POST['content']) && !empty ($_POST['content']))
{
-
// Decode the Base64 string
- $data = base64_decode($_REQUEST['content']);
+ $data = base64_decode($_POST['content']);
} else if (file_exists($file)) { // try to get the data form the file
- global $db;
- $skipped = "";
- $error = "";
// Read the CSV file
$data = file_get_contents($file);
diff --git a/front/php/templates/language/de_de.json b/front/php/templates/language/de_de.json
old mode 100755
new mode 100644
index 3090a8e6..29a0ae7d
--- a/front/php/templates/language/de_de.json
+++ b/front/php/templates/language/de_de.json
@@ -13,7 +13,7 @@
"APPRISE_URL_name": "Apprise notification URL",
"About_Design": "Designed for:",
"About_Exit": "Abmelden",
- "About_Title": "Open Source Network Guard",
+ "About_Title": "Netzwerksicherheitsscanner und Benachrichtigungsframework",
"AppEvents_DateTimeCreated": "protokolliert",
"AppEvents_Extra": "Extra",
"AppEvents_GUID": "Anwendungsereignis-GUID",
@@ -93,17 +93,17 @@
"DevDetail_MainInfo_Group": "Gruppe",
"DevDetail_MainInfo_Location": "Standort",
"DevDetail_MainInfo_Name": "Name",
- "DevDetail_MainInfo_Network": "Netzwerk Knoten",
- "DevDetail_MainInfo_Network_Port": "Netzwerk Knoten Port",
+ "DevDetail_MainInfo_Network": " Knoten (MAC)",
+ "DevDetail_MainInfo_Network_Port": " Port",
"DevDetail_MainInfo_Network_Site": "",
"DevDetail_MainInfo_Network_Title": " Network",
"DevDetail_MainInfo_Owner": "Eigentümer",
"DevDetail_MainInfo_SSID": "",
- "DevDetail_MainInfo_Title": "Haupt Infos",
+ "DevDetail_MainInfo_Title": " Hauptinformation",
"DevDetail_MainInfo_Type": "Typ",
"DevDetail_MainInfo_Vendor": "Hersteller",
"DevDetail_MainInfo_mac": "MAC",
- "DevDetail_Network_Node_hover": "Select the parent network device the current device is connected to to populate the Network tree.",
+ "DevDetail_Network_Node_hover": "Wählen Sie das Elternnetzgerät aus, an das das aktuelle Gerät angeschlossen ist, um den Netzwerkbaum zu erstellen.",
"DevDetail_Network_Port_hover": "The port this device is connected to on the parent network device. If left empty a wifi icon is displayed in the Network tree.",
"DevDetail_Nmap_Scans": "Nmap Scans",
"DevDetail_Nmap_Scans_desc": "Hier kannst du manuelle NMAP Scans starten. Reguläre automatische NMAP Scans können mit dem Services & Ports (NMAP) Plugin geplant werden. Gehe zu den Einstellungen um mehr herauszufinden.",
@@ -129,7 +129,7 @@
"DevDetail_SessionInfo_LastSession": "Letzte Sitzung",
"DevDetail_SessionInfo_StaticIP": "Statische IP",
"DevDetail_SessionInfo_Status": "Status",
- "DevDetail_SessionInfo_Title": "Sitzungsinfos",
+ "DevDetail_SessionInfo_Title": " Sitzungsinformation",
"DevDetail_SessionTable_Additionalinfo": "Zusätzliche Info",
"DevDetail_SessionTable_Connection": "Verbindung",
"DevDetail_SessionTable_Disconnection": "Trennung",
@@ -140,13 +140,13 @@
"DevDetail_Shortcut_DownAlerts": "Down Meldungen",
"DevDetail_Shortcut_Presence": "Anwesenheit",
"DevDetail_Shortcut_Sessions": "Sitzungen",
- "DevDetail_Tab_Details": "Details",
- "DevDetail_Tab_Events": "Ereignisse",
+ "DevDetail_Tab_Details": " Details",
+ "DevDetail_Tab_Events": " Ereignisse",
"DevDetail_Tab_EventsTableDate": "Datum",
"DevDetail_Tab_EventsTableEvent": "Ereignistype",
"DevDetail_Tab_EventsTableIP": "IP",
"DevDetail_Tab_EventsTableInfo": "Zusätzliche Informationen",
- "DevDetail_Tab_Nmap": "Nmap",
+ "DevDetail_Tab_Nmap": " Nmap",
"DevDetail_Tab_NmapEmpty": "An diesem Gerät wurden keine offenen Ports mit Nmap gefunden.",
"DevDetail_Tab_NmapTableExtra": "Extra",
"DevDetail_Tab_NmapTableHeader": "Ergebnisse geplanter Scans",
@@ -157,8 +157,8 @@
"DevDetail_Tab_NmapTableText": "Erstelle einen Plan über dieEinstellungen",
"DevDetail_Tab_NmapTableTime": "Zeit",
"DevDetail_Tab_Plugins": " Plugins",
- "DevDetail_Tab_Presence": "Anwesenheit",
- "DevDetail_Tab_Sessions": "Sitzungen",
+ "DevDetail_Tab_Presence": " Anwesenheit",
+ "DevDetail_Tab_Sessions": " Sitzungen",
"DevDetail_Tab_Tools": " Tools",
"DevDetail_Tab_Tools_Internet_Info_Description": "Das Internet-Info-Tool zeigt Informationen über die Internetverbindung an, wie z. B. IP-Adresse, Stadt, Land, Ortsvorwahl und Zeitzone.",
"DevDetail_Tab_Tools_Internet_Info_Error": "Es ist ein Fehler aufgetreten",
@@ -314,17 +314,17 @@
"Gen_Work_In_Progress": "Keine Finalversion, feedback bitte unter: https://github.com/jokob-sk/NetAlertX/issues",
"General_display_name": "Allgemein",
"General_icon": "",
- "HRS_TO_KEEP_NEWDEV_description": "Dies ist eine Wartungseinstellung. Geräte markiert als Neues Gerät werden gelöscht, wenn ihre Erste Sitzung länger her ist als die angegebenen Stunden in dieser Einstellung. 0 deaktiviert diese Funktion. Nutzen Sie diese Einstellung, um Neue Geräte automatisch nach X Stunden zu löschen.",
+ "HRS_TO_KEEP_NEWDEV_description": "Dies ist eine Wartungseinstellung. Wenn aktiviert (0 bedeutet deaktiviert), werden als \"Neues Gerät\" markierte Geräte gelöscht, wenn ihre erste Sitzung länger her ist als in dieser Einstellung angegeben. Verwenden Sie diese Einstellung, wenn Sie Neue Geräte nach X Stunden automatisch löschen wollen.",
"HRS_TO_KEEP_NEWDEV_name": "Neue Geräte speichern für",
"HelpFAQ_Cat_Detail": "Detailansicht",
"HelpFAQ_Cat_Detail_300_head": "Was bedeutet ",
- "HelpFAQ_Cat_Detail_300_text_a": "meint ein Netzwerkgerät (welches den typ AP, Gateway, Firewall, Hypervisor, Powerline, Switch, WLAN, PLC, Router,USB LAN Adapter, USB WIFI Adapter, or Internet eingestellt hat)",
+ "HelpFAQ_Cat_Detail_300_text_a": "meint ein Netzwerkgerät (ein Gerät vom Typ AP, Gateway, Firewall, Hypervisor, Powerline, Switch, WLAN, PLC, Router, USB-LAN-Adapter oder Internet). Benutzerdefinierte Typen können über die NETWORK_DEVICE_TYPES Einstellung hinzugefügt werden.",
"HelpFAQ_Cat_Detail_300_text_b": "bezeichnet die Anschlussnummer/Portnummer, an der das gerade bearbeitete Gerät mit diesem Netzwerkgerät verbunden ist. Siehe diese Dokumentation für mehr informationen.",
"HelpFAQ_Cat_Detail_301_head_a": "Wann wird nun gescannt? Bei ",
"HelpFAQ_Cat_Detail_301_head_b": " steht 1min aber der Graph zeigt 5min - Abstände an.",
"HelpFAQ_Cat_Detail_301_text": "Den zeitlichen Abstand zwischen den Scans legt der \"Cronjob\" fest, welcher standardmäßig auf 5min eingestellt ist. Die Benennung \"1min\" bezieht sich auf die zu erwartende Dauer des Scans. Abhängig vor der Netzwerkkonfiguration kann diese Zeitangabe variieren. Um den Cronjob zu bearbeiten, kannst du im Terminal/der Konsole crontab -e eingeben und den Intervall ändern.",
"HelpFAQ_Cat_Detail_302_head_a": "Was bedeutet ",
- "HelpFAQ_Cat_Detail_302_head_b": " und warum kann ich das nicht auswählen?",
+ "HelpFAQ_Cat_Detail_302_head_b": "und warum kann ich das nicht auswählen?",
"HelpFAQ_Cat_Detail_302_text": "Einige moderne Geräte generieren aus Datenschutzgründen zufällige MAC-Adressen, die keinem Hersteller mehr zugeordnet werden können und welche sich mit jeder neuen Verbindung ändern. NetAlertX erkennt, ob es sich um eine solche zufällige MAC-Adresse handelt und aktiviert dieses \"Feld\" automatisch. Um das Verhalten abzustellen, musst du in deinem Endgerät schauen, wie du die MAC-Adressen-Generierung deaktivierst.",
"HelpFAQ_Cat_Detail_303_head": "Was ist Nmap und wozu dient es?",
"HelpFAQ_Cat_Detail_303_text": "Nmap ist ein Netzwerkscanner mit vielfältigen Möglichkeiten.
Wenn ein neues Gerät in deiner Liste auftaucht, hast du die Möglichkeit über den Nmap-Scan genauere Informationen über das Gerät zu erhalten.",
@@ -393,10 +393,10 @@
"Maintenance_Tool_ExportCSV": "CSV Export",
"Maintenance_Tool_ExportCSV_noti": "CSV Export",
"Maintenance_Tool_ExportCSV_noti_text": "Sind Sie sich sicher, dass Sie die CSV-Datei erstellen wollen?",
- "Maintenance_Tool_ExportCSV_text": "Generiere eine CSV-Datei (comma separated values) mit einer Liste aller Geräte und deren Beziehungen zwischen Netzwerkknoten und verbundenen Geräten. Dies kann auch durch das Besuchen dieser URL your NetAlertX url/php/server/devices.php?action=ExportCSV ausgelöst werden.",
+ "Maintenance_Tool_ExportCSV_text": "Generiere eine CSV-Datei (comma separated values) mit einer Liste aller Geräte und deren Beziehungen zwischen Netzwerkknoten und verbundenen Geräten. Dies kann auch durch das Besuchen der URL your NetAlertX url/php/server/devices.php?action=ExportCSV oder durch Aktivieren des CSV-Backups ausgelöst werden.",
"Maintenance_Tool_ImportCSV": "CSV Import",
"Maintenance_Tool_ImportCSV_noti": "CSV Import",
- "Maintenance_Tool_ImportCSV_noti_text": "Sind Sie sich sicher, dass Sie die CSV-Datei importieren wollen? Dies wird alle Geräte in der Datenbank überschreiben.",
+ "Maintenance_Tool_ImportCSV_noti_text": "Sind Sie sich sicher, dass Sie die CSV-Datei importieren wollen? Dies wird alle Geräte in der Datenbank überschreiben.",
"Maintenance_Tool_ImportCSV_text": "Machen Sie ein Backup, bevor Sie diese Funktion nutzen. Importiere eine CSV-Datei (comma separated values) mit einer Liste aller Geräte und deren Beziehungen zwischen Netzwerkknoten und verbundenen Geräten. Um dies zu tun platziere die devices.csv benannte CSV-Datei in deinen /config Ordner.",
"Maintenance_Tool_ImportPastedCSV": "",
"Maintenance_Tool_ImportPastedCSV_noti_text": "",
@@ -736,7 +736,7 @@
"Webhooks_display_name": "Webhooks",
"Webhooks_icon": "",
"devices_old": "Aktualisiert...",
- "general_event_description": " The event you have triggered might take a while until background processes finish. The execution ended once you see finished below. Check the error log if you didn not get the expected result.
Status: ",
+ "general_event_description": "Das Ereignis, das Sie ausgelöst haben, könnte eine Weile dauern, bis Hintergrundprozesse abgeschlossen sind. Die Ausführung endet, wenn die unten ausgeführte Warteschlangen abgearbeitet ist. (Siehe error log, wenn Probleme auftreten.)
Ausführungsschlange:",
"general_event_title": "Executing an ad-hoc event",
"report_guid": "",
"report_guid_missing": "",
@@ -771,4 +771,4 @@
"settings_update_item_warning": "",
"test_event_icon": "fa-vial-circle-check",
"test_event_tooltip": "Save your changes at first before you test your settings."
-}
\ No newline at end of file
+}
diff --git a/front/php/templates/language/en_us.json b/front/php/templates/language/en_us.json
old mode 100755
new mode 100644
index cd1a3db7..5388cc14
--- a/front/php/templates/language/en_us.json
+++ b/front/php/templates/language/en_us.json
@@ -655,7 +655,7 @@
"UI_REFRESH_description": "Enter number of seconds after which the UI reloads. Set to 0 to disable.",
"UI_REFRESH_name": "Auto-refresh UI",
"devices_old": "Refreshing...",
- "general_event_description": "The event you have triggered might take a while until background processes finish. The execution ended once the below execution queue empties (Check the error log if you encounter issues).
Execution queue:",
+ "general_event_description": "The event you have triggered might take a while until background processes finish. The execution ended once the below execution queue empties (Check the error log if you encounter issues).
Execution queue:",
"general_event_title": "Executing an ad-hoc event",
"report_guid": "Notification guid:",
"report_guid_missing": "Linked notification not found. There is a small delay between recently sent notifications and them being available. Referesh your page and cache after a few seconds. It's also possible the selected notification have been deleted during maintenance as specified in the DBCLNP_NOTIFI_HIST setting.
The latest notification is displayed instead. The missing notification has the following GUID:",
@@ -690,4 +690,4 @@
"settings_update_item_warning": "Update the value below. Be careful to follow the previous format. Validation is not performed.",
"test_event_icon": "fa-vial-circle-check",
"test_event_tooltip": "Save your changes at first before you test your settings."
-}
\ No newline at end of file
+}
diff --git a/front/php/templates/language/es_es.json b/front/php/templates/language/es_es.json
old mode 100755
new mode 100644
index 41a9c8b9..4ddf3a3c
--- a/front/php/templates/language/es_es.json
+++ b/front/php/templates/language/es_es.json
@@ -394,11 +394,11 @@
"Maintenance_Tool_ExportCSV_text": "Genere un archivo CSV (valor separado por comas) que contenga la lista de Dispositivos incluyendo las relaciones de red entre los Nodos de red y los dispositivos conectados. También puedes activarlo accediendo a esta URL your NetAlertX url/php/server/devices.php?action=ExportCSV o activando el plugin Copia de seguridad CSV.",
"Maintenance_Tool_ImportCSV": "Importación CSV",
"Maintenance_Tool_ImportCSV_noti": "Importación CSV",
- "Maintenance_Tool_ImportCSV_noti_text": "¿Está seguro de que quiere importar el archivo CSV? Esto sobrescribirá completamente los dispositivos de su base de datos.",
+ "Maintenance_Tool_ImportCSV_noti_text": "¿Estás seguro de que quieres importar el archivo CSV? Esto sobrescribirá completamente los dispositivos en su base de datos.",
"Maintenance_Tool_ImportCSV_text": "Antes de usar esta función, haga una copia de seguridad. Importe un archivo CSV (valor separado por comas) que contiene la lista de dispositivos, incluidas las relaciones de red entre nodos de red y dispositivos conectados. Para hacer eso, coloque el archivo CSV llamado devices.csv en su carpeta /config .",
- "Maintenance_Tool_ImportPastedCSV": "",
- "Maintenance_Tool_ImportPastedCSV_noti_text": "",
- "Maintenance_Tool_ImportPastedCSV_text": "",
+ "Maintenance_Tool_ImportPastedCSV": "Importar CSV (Pegar)",
+ "Maintenance_Tool_ImportPastedCSV_noti_text": "¿Seguro que desea importar el CSV pegado? Esto sobrescribirá completamente los dispositivos en su base de datos.",
+ "Maintenance_Tool_ImportPastedCSV_text": "Antes de usar esta función, por favor haga una copia de seguridad. Importar un archivo CSV (valor separado por comas) que contiene la lista de Dispositivos incluyendo las relaciones de red entre los Nodos de red y los dispositivos conectados.",
"Maintenance_Tool_arpscansw": "Activar arp-scan (on/off)",
"Maintenance_Tool_arpscansw_noti": "Activar arp-scan on or off",
"Maintenance_Tool_arpscansw_noti_text": "Cuando el escaneo se ha apagado, permanece apagado hasta que se active nuevamente.",
@@ -735,7 +735,7 @@
"Webhooks_icon": "",
"Webhooks_settings_group": " Webhooks",
"devices_old": "Volviendo a actualizar....",
- "general_event_description": "El evento que has activado puede tardar un poco hasta que finalicen los procesos en segundo plano. La ejecución finalizó una vez que se vació la cola de ejecución de abajo (Compruebe el registro de errores si encuentra problemas).
Cola de ejecución:",
+ "general_event_description": "El evento que ha desencadenado puede tardar un tiempo hasta que finalicen los procesos en segundo plano. La ejecución finalizó una vez que se vació la siguiente cola de ejecución (compruebe el registro de errores si tiene problemas).
Cola de ejecución:",
"general_event_title": "Ejecutar un evento ad-hoc",
"report_guid": "Guía de las notificaciones:",
"report_guid_missing": "No se ha encontrado la notificación vinculada. Hay un pequeño retraso entre las notificaciones enviadas recientemente y su disponibilidad. Actualiza tu página y la caché después de unos segundos. También es posible que la notificación seleccionada se haya eliminado durante el mantenimiento, tal y como se especifica en la configuración de DBCLNP_NOTIFI_HIST.
En su lugar, se muestra la notificación más reciente. La notificación que falta tiene el siguiente GUID:",
@@ -770,4 +770,4 @@
"settings_update_item_warning": "Actualice el valor a continuación. Tenga cuidado de seguir el formato anterior. O la validación no se realiza.",
"test_event_icon": "fa-vial-circle-check",
"test_event_tooltip": "Guarda tus cambios antes de probar nuevos ajustes."
-}
\ No newline at end of file
+}
diff --git a/front/php/templates/language/fr_fr.json b/front/php/templates/language/fr_fr.json
index 1f05914d..58480fb5 100755
--- a/front/php/templates/language/fr_fr.json
+++ b/front/php/templates/language/fr_fr.json
@@ -1,40 +1,40 @@
{
- "API_CUSTOM_SQL_description": "",
+ "API_CUSTOM_SQL_description": "Vous pouvez specifier votre propre requête SQL qui retournera un fichier JSON et l'exposer via table_custom_endpoint.json file endpoint.",
"API_CUSTOM_SQL_name": "Point de terminaison personnalisé",
"API_display_name": "API",
- "API_icon": "",
+ "API_icon": "",
"About_Design": "Conçu pour :",
"About_Exit": "Quitter",
"About_Title": "Analyse de la sécurité du réseau et cadre de notification",
"AppEvents_DateTimeCreated": "Journalisé",
"AppEvents_Extra": "Extra",
"AppEvents_GUID": "",
- "AppEvents_Helper1": "",
- "AppEvents_Helper2": "",
- "AppEvents_Helper3": "",
+ "AppEvents_Helper1": "Helper 1",
+ "AppEvents_Helper2": "Helper 2",
+ "AppEvents_Helper3": "Helper 3",
"AppEvents_ObjectForeignKey": "Clé étrangère",
"AppEvents_ObjectIndex": "Index",
"AppEvents_ObjectIsArchived": "Est archivé (au moment de l'enregistrement)",
- "AppEvents_ObjectIsNew": "",
+ "AppEvents_ObjectIsNew": "nouveau (au moment de l'enregistrement dans le journal)",
"AppEvents_ObjectPlugin": "Greffon lié",
- "AppEvents_ObjectPrimaryID": "",
- "AppEvents_ObjectSecondaryID": "",
- "AppEvents_ObjectStatus": "Statut (au moment de l'enregistrement)",
+ "AppEvents_ObjectPrimaryID": "Identité primaire",
+ "AppEvents_ObjectSecondaryID": "Indentité secondaire",
+ "AppEvents_ObjectStatus": "Status (au moment de l'enregistrement)",
"AppEvents_ObjectStatusColumn": "Colonne d'état",
"AppEvents_ObjectType": "Type d'objet",
"AppEvents_Plugin": "Greffon",
"AppEvents_Type": "Type",
- "BackDevDetail_Actions_Ask_Run": "",
- "BackDevDetail_Actions_Not_Registered": "",
- "BackDevDetail_Actions_Title_Run": "",
- "BackDevDetail_Copy_Ask": "",
+ "BackDevDetail_Actions_Ask_Run": "Voulez vous executer cette commande ?",
+ "BackDevDetail_Actions_Not_Registered": "Action non enregistrée ",
+ "BackDevDetail_Actions_Title_Run": "Execute Action",
+ "BackDevDetail_Copy_Ask": "Copie les details des objets selectioné dans la liste (tout ce qui est sur cette page sura remplacé)?",
"BackDevDetail_Copy_Title": "Copier les détails",
- "BackDevDetail_Tools_WOL_error": "",
- "BackDevDetail_Tools_WOL_okay": "",
- "BackDevices_Arpscan_disabled": "",
- "BackDevices_Arpscan_enabled": "",
- "BackDevices_Backup_CopError": "",
- "BackDevices_Backup_Failed": "",
+ "BackDevDetail_Tools_WOL_error": "Cette commande N'A PAS été exécutée.",
+ "BackDevDetail_Tools_WOL_okay": "Commande Exécutée.",
+ "BackDevices_Arpscan_disabled": "Arp-Scan Suspendu",
+ "BackDevices_Arpscan_enabled": "Apr-Scan Activé",
+ "BackDevices_Backup_CopError": "La base de donnée initiale n'a pas pu être sauvegardée.",
+ "BackDevices_Backup_Failed": "La sauvegarde a été partiellement complétée. L'archive n'a pas pu être crée ou est vide.",
"BackDevices_Backup_okay": "",
"BackDevices_DBTools_DelDevError_a": "Erreur lors de la suppression de l'appareil",
"BackDevices_DBTools_DelDevError_b": "Erreur lors de la suppression des appareils",
@@ -690,4 +690,4 @@
"settings_update_item_warning": "",
"test_event_icon": "",
"test_event_tooltip": ""
-}
\ No newline at end of file
+}
diff --git a/front/php/templates/language/it_it.json b/front/php/templates/language/it_it.json
old mode 100755
new mode 100644
index a3eab9f5..5dec73e6
--- a/front/php/templates/language/it_it.json
+++ b/front/php/templates/language/it_it.json
@@ -370,11 +370,11 @@
"Maintenance_Tool_ExportCSV_text": "Genera un file CSV (comma separated value) contenente la lista dei dispositivi incluse le relazioni di rete tra i nodi di rete e i dispositivi connessi. Puoi anche eseguire questa azione accedendo all'URL il_tuo_NetAlertX/php/server/devices.php?action=ExportCSV o abilitando il plugin Backup CSV.",
"Maintenance_Tool_ImportCSV": "Importa CSV",
"Maintenance_Tool_ImportCSV_noti": "Importa CSV",
- "Maintenance_Tool_ImportCSV_noti_text": "Sei sicuro di voler importare il file CSV? Questa operazione sovrascriverà tutti i dispositivi presenti nel database.",
+ "Maintenance_Tool_ImportCSV_noti_text": "Sei sicuro di voler importare il file CSV? Questa operazione sovrascriverà tutti i dispositivi presenti nel database.",
"Maintenance_Tool_ImportCSV_text": "Prima di utilizzare questa funzione, esegui un backup. Importa un file CSV (comma separated value) contenente la lista dei dispositivi incluse le relazioni di rete tra i nodi di rete e i dispositivi connessi. Per far ciò posiziona il file CSV denominato devices.csv nella cartella /config.",
- "Maintenance_Tool_ImportPastedCSV": "",
- "Maintenance_Tool_ImportPastedCSV_noti_text": "",
- "Maintenance_Tool_ImportPastedCSV_text": "",
+ "Maintenance_Tool_ImportPastedCSV": "Importazione CSV (incolla)",
+ "Maintenance_Tool_ImportPastedCSV_noti_text": "Sei sicuro di voler importare il CSV incollato? Questo sovrascriverà completamente i dispositivi nel tuo database.",
+ "Maintenance_Tool_ImportPastedCSV_text": "Prima di utilizzare questa funzione, esegui un backup. Importa un file CSV (valori separati da virgole) contenente l'elenco dei dispositivi, comprese le relazioni di rete tra i nodi di rete e i dispositivi collegati.",
"Maintenance_Tool_arpscansw": "Attiva/disattiva arp-Scan",
"Maintenance_Tool_arpscansw_noti": "Attiva o disattiva arp-Scan",
"Maintenance_Tool_arpscansw_noti_text": "Una volta disattivata la scansione rimane disattivata finché non viene nuovamente attivata.",
@@ -655,7 +655,7 @@
"UI_REFRESH_description": "Inserisci il numero di secondi dopo il quale la UI si ricarica. Imposta a 0 per disabilitare.",
"UI_REFRESH_name": "Aggiorna automaticamente la UI",
"devices_old": "Aggiornamento...",
- "general_event_description": "L'evento che hai attivato potrebbe richiedere del tempo prima che i processi in background vengano completati. L'esecuzione è terminata una volta che la coda di esecuzione sottostante si è svuotata (controlla il log degli errori se riscontri problemi).
Coda di esecuzione:",
+ "general_event_description": "L'evento che hai attivato potrebbe richiedere del tempo prima che i processi in background vengano completati. L'esecuzione è terminata una volta che la coda di esecuzione sottostante si è svuotata (controlla il log degli errori se riscontri problemi).
Coda di esecuzione:",
"general_event_title": "Esecuzione di un evento ad-hoc",
"report_guid": "GUID notifica:",
"report_guid_missing": "Notifica collegata non trovata. C'è un piccolo ritardo tra la disponibilità delle notifiche inviate di recente e la loro disponibilità. Aggiorna la pagina e la cache dopo alcuni secondi. È anche possibile che la notifica selezionata sia stata eliminata durante la manutenzione come specificato nell'impostazione DBCLNP_NOTIFI_HIST.
Viene invece visualizzata l'ultima notifica. La notifica mancante ha il seguente GUID:",
@@ -690,4 +690,4 @@
"settings_update_item_warning": "Aggiorna il valore qui sotto. Fai attenzione a seguire il formato precedente. La convalida non viene eseguita.",
"test_event_icon": "fa-vial-circle-check",
"test_event_tooltip": "Salva le modifiche prima di provare le nuove impostazioni."
-}
\ No newline at end of file
+}
diff --git a/front/php/templates/language/nb_no.json b/front/php/templates/language/nb_no.json
old mode 100755
new mode 100644
index c84b2aec..97f45c25
--- a/front/php/templates/language/nb_no.json
+++ b/front/php/templates/language/nb_no.json
@@ -690,4 +690,4 @@
"settings_update_item_warning": "Oppdater verdien nedenfor. Pass på å følge forrige format. Validering etterpå utføres ikke.",
"test_event_icon": "fa-vial-circle-check",
"test_event_tooltip": "Lagre endringene først, før du tester innstillingene dine."
-}
\ No newline at end of file
+}
diff --git a/front/php/templates/language/pl_pl.json b/front/php/templates/language/pl_pl.json
old mode 100755
new mode 100644
index 3f6a2e1e..cadca2fa
--- a/front/php/templates/language/pl_pl.json
+++ b/front/php/templates/language/pl_pl.json
@@ -690,4 +690,4 @@
"settings_update_item_warning": "Zaktualizuj poniższą wartość. Zachowaj ostrożność i postępuj zgodnie z poprzednim formatem. Walidacja nie jest wykonywana.",
"test_event_icon": "fa-vial-circle-check",
"test_event_tooltip": "Zapisz zmiany zanim będziesz testować swoje ustawienia."
-}
\ No newline at end of file
+}
diff --git a/front/php/templates/language/ru_ru.json b/front/php/templates/language/ru_ru.json
old mode 100755
new mode 100644
index 48287060..cf6d7d14
--- a/front/php/templates/language/ru_ru.json
+++ b/front/php/templates/language/ru_ru.json
@@ -690,4 +690,4 @@
"settings_update_item_warning": "Обновить значение ниже. Будьте осторожны, следуя предыдущему формату. Проверка не выполняется.",
"test_event_icon": "fa-vial-circle-check",
"test_event_tooltip": "Сначала сохраните изменения, прежде чем проверять настройки."
-}
\ No newline at end of file
+}
diff --git a/front/plugins/README.md b/front/plugins/README.md
index 17a0f58b..b58eeb01 100755
--- a/front/plugins/README.md
+++ b/front/plugins/README.md
@@ -24,40 +24,41 @@ NetAlertX supports additional plugins to extend its functionality, each with its
Device-detecting plugins insert values into the `CurrentScan` database table. The plugins that are not required are safe to ignore, however, it makes sense to have at least some device-detecting plugins enabled, such as `ARPSCAN` or `NMAPDEV`.
-| ID | Type | Description | Required | Data source | Detailed docs |
-|---------------|---------|---------------------------------------------|----------|--------------------|---------------------------------------------------------------|
-| `APPRISE` | ▶️ | Apprise notification proxy | | Script | [_publisher_apprise](/front/plugins/_publisher_apprise/) |
-| `ARPSCAN` | 🔍 | ARP-scan on current network | | Script | [arp_scan](/front/plugins/arp_scan/) |
-| `CSVBCKP` | ⚙ | CSV devices backup | | Script | [csv_backup](/front/plugins/csv_backup/) |
-| `DBCLNP` | ⚙ | Database cleanup | Yes* | Script | [db_cleanup](/front/plugins/db_cleanup/) |
-| `DDNS` | ⚙ | DDNS update | | Script | [ddns_update](/front/plugins/ddns_update/) |
-| `DHCPLSS` | 🔍/📥 | Import devices from DHCP leases | | Script | [dhcp_leases](/front/plugins/dhcp_leases/) |
-| `DHCPSRVS` | ♻ | DHCP servers | | Script | [dhcp_servers](/front/plugins/dhcp_servers/) |
-| `INTRNT` | 🔍 | Internet IP scanner | | Script | [internet_ip](/front/plugins/internet_ip/) |
-| `INTRSPD` | ♻ | Internet speed test | | Script | [internet_speedtest](/front/plugins/internet_speedtest/) |
-| `MAINT` | ⚙ | Maintenance of logs, etc. | | Script | [maintenance](/front/plugins/maintenance/) |
-| `MQTT` | ▶️ | MQTT for synching to Home Assistant | | Script | [_publisher_mqtt](/front/plugins/_publisher_mqtt/) |
-| `NBTSCAN` | ♻ | Nbtscan (NetBIOS-based) name resolution | | Script | [nbtscan_scan](/front/plugins/nbtscan_scan/) |
-| `NEWDEV` | ⚙ | New device template | Yes | Template | [newdev_template](/front/plugins/newdev_template/) |
-| `NMAP` | ♻ | Nmap port scanning & discovery | | Script | [nmap_scan](/front/plugins/nmap_scan/) |
-| `NMAPDEV` | 🔍 | Nmap dev scan on current network | | Script | [nmap_dev_scan](/front/plugins/nmap_dev_scan/) |
-| `NSLOOKUP` | ♻ | NSLookup (DNS-based) name resolution | | Script | [nslookup_scan](/front/plugins/nslookup_scan/) |
-| `NTFPRCS` | ⚙ | Notification processing | Yes | Template | [notification_processing](/front/plugins/notification_processing/)|
-| `NTFY` | ▶️ | NTFY notifications | | Script | [_publisher_ntfy](/front/plugins/_publisher_ntfy/) |
-| `PHOLUS` | ♻ | Pholus name resolution | | Script | [pholus_scan](/front/plugins/pholus_scan/) |
-| `PIHOLE` | 🔍/📥 | Pi-hole device import & sync | | SQLite DB | [pihole_scan](/front/plugins/pihole_scan/) |
-| `PUSHSAFER` | ▶️ | Pushsafer notifications | | Script | [_publisher_pushsafer](/front/plugins/_publisher_pushsafer/) |
-| `PUSHOVER` | ▶️ | Pushover notifications | | Script | [_publisher_pushover](/front/plugins/_publisher_pushover/) |
-| `SETPWD` | ⚙ | Set password | Yes | Template | [set_password](/front/plugins/set_password/) |
-| `SMTP` | ▶️ | Email notifications | | Script | [_publisher_email](/front/plugins/_publisher_email/) |
-| `SNMPDSC` | 🔍/📥 | SNMP device import & sync | | Script | [snmp_discovery](/front/plugins/snmp_discovery/) |
-| `SYNC` | 🔍/⚙/📥| Sync & import from other NetAlertX instances | | Script | [sync](/front/plugins/sync/) |
-| `UNDIS` | 🔍/📥 | Create dummy devices | | Script | [undiscoverables](/front/plugins/undiscoverables/) |
-| `UNFIMP` | 🔍/📥 | UniFi device import & sync | | Script | [unifi_import](/front/plugins/unifi_import/) |
-| `VNDRPDT` | ⚙ | Vendor database update | | Script | [vendor_update](/front/plugins/vendor_update/) |
-| `WEBHOOK` | ▶️ | Webhook notifications | | Script | [_publisher_webhook](/front/plugins/_publisher_webhook/) |
-| `WEBMON` | ♻ | Website down monitoring | | Script | [website_monitor](/front/plugins/website_monitor/) |
-
+| ID | Type | Description | Features | Required | Data source | Detailed docs |
+|---------------|---------|--------------------------------------------|----------|----------|--------------------|---------------------------------------------------------------|
+| `APPRISE` | ▶️ | Apprise notification proxy | | | Script | [_publisher_apprise](/front/plugins/_publisher_apprise/) |
+| `ARPSCAN` | 🔍 | ARP-scan on current network | | | Script | [arp_scan](/front/plugins/arp_scan/) |
+| `CSVBCKP` | ⚙ | CSV devices backup | | | Script | [csv_backup](/front/plugins/csv_backup/) |
+| `DBCLNP` | ⚙ | Database cleanup | | Yes* | Script | [db_cleanup](/front/plugins/db_cleanup/) |
+| `DDNS` | ⚙ | DDNS update | | | Script | [ddns_update](/front/plugins/ddns_update/) |
+| `DHCPLSS` | 🔍/📥 | Import devices from DHCP leases | | | Script | [dhcp_leases](/front/plugins/dhcp_leases/) |
+| `DHCPSRVS` | ♻ | DHCP servers | | | Script | [dhcp_servers](/front/plugins/dhcp_servers/) |
+| `INTRNT` | 🔍 | Internet IP scanner | | | Script | [internet_ip](/front/plugins/internet_ip/) |
+| `INTRSPD` | ♻ | Internet speed test | | | Script | [internet_speedtest](/front/plugins/internet_speedtest/) |
+| `MAINT` | ⚙ | Maintenance of logs, etc. | | | Script | [maintenance](/front/plugins/maintenance/) |
+| `MQTT` | ▶️ | MQTT for synching to Home Assistant | | | Script | [_publisher_mqtt](/front/plugins/_publisher_mqtt/) |
+| `NBTSCAN` | ♻ | Nbtscan (NetBIOS-based) name resolution | | | Script | [nbtscan_scan](/front/plugins/nbtscan_scan/) |
+| `NEWDEV` | ⚙ | New device template | | Yes | Template | [newdev_template](/front/plugins/newdev_template/) |
+| `NMAP` | ♻ | Nmap port scanning & discovery | | | Script | [nmap_scan](/front/plugins/nmap_scan/) |
+| `NMAPDEV` | 🔍 | Nmap dev scan on current network | | | Script | [nmap_dev_scan](/front/plugins/nmap_dev_scan/) |
+| `NSLOOKUP` | ♻ | NSLookup (DNS-based) name resolution | | | Script | [nslookup_scan](/front/plugins/nslookup_scan/) |
+| `NTFPRCS` | ⚙ | Notification processing | | Yes | Template | [notification_processing](/front/plugins/notification_processing/)|
+| `NTFY` | ▶️ | NTFY notifications | | | Script | [_publisher_ntfy](/front/plugins/_publisher_ntfy/) |
+| `OMDSDN` | 📥 | OMADA TP-Link import | 📊🔄 | | Script | [omada_sdn_imp](/front/plugins/omada_sdn_imp/) |
+| `PHOLUS` | ♻ | Pholus name resolution | | | Script | [pholus_scan](/front/plugins/pholus_scan/) |
+| `PIHOLE` | 🔍/📥 | Pi-hole device import & sync | | | SQLite DB | [pihole_scan](/front/plugins/pihole_scan/) |
+| `PUSHSAFER` | ▶️ | Pushsafer notifications | | | Script | [_publisher_pushsafer](/front/plugins/_publisher_pushsafer/) |
+| `PUSHOVER` | ▶️ | Pushover notifications | | | Script | [_publisher_pushover](/front/plugins/_publisher_pushover/) |
+| `SETPWD` | ⚙ | Set password | | Yes | Template | [set_password](/front/plugins/set_password/) |
+| `SMTP` | ▶️ | Email notifications | | | Script | [_publisher_email](/front/plugins/_publisher_email/) |
+| `SNMPDSC` | 🔍/📥 | SNMP device import & sync | | | Script | [snmp_discovery](/front/plugins/snmp_discovery/) |
+| `SYNC` | 🔍/⚙/📥| Sync & import from NetAlertX instances | 📊🔄 | | Script | [sync](/front/plugins/sync/) |
+| `UNDIS` | 🔍/📥 | Create dummy devices | | | Script | [undiscoverables](/front/plugins/undiscoverables/) |
+| `UNFIMP` | 🔍/📥 | UniFi device import & sync | | | Script | [unifi_import](/front/plugins/unifi_import/) |
+| `VNDRPDT` | ⚙ | Vendor database update | | | Script | [vendor_update](/front/plugins/vendor_update/) |
+| `WEBHOOK` | ▶️ | Webhook notifications | | | Script | [_publisher_webhook](/front/plugins/_publisher_webhook/) |
+| `WEBMON` | ♻ | Website down monitoring | | | Script | [website_monitor](/front/plugins/website_monitor/) |
+
> \* The database cleanup plugin (`DBCLNP`) is not _required_ but the app will become unusable after a while if not executed.
>
@@ -76,6 +77,14 @@ Device-detecting plugins insert values into the `CurrentScan` database table. T
| system | ⚙ | Providing core system functionality. | `schedule` / always on | ✖/✔ | Script / Template |
| other | ♻ | Other scanners, e.g. for name resolution | misc | ✖ | Script / Template |
+## Features
+
+| Icon | Description |
+|------|---------------------------------------------------------------|
+| 📊 | Auto-imports the network topology diagram |
+| 🔄 | Has the option to sync some data back into the plugin source |
+
+
## ✅Enabling plugins
Plugins can be enabled via Settings, and can be disabled as needed.
diff --git a/front/plugins/omada_sdn_imp/config.json b/front/plugins/omada_sdn_imp/config.json
index 531ba07f..3aff59b6 100755
--- a/front/plugins/omada_sdn_imp/config.json
+++ b/front/plugins/omada_sdn_imp/config.json
@@ -254,7 +254,7 @@
"description": [
{
"language_code": "en_us",
- "string": "Omada SDN instance password"
+ "string": "Omada SDN instance password."
}
]
},
@@ -282,7 +282,7 @@
"description": [
{
"language_code": "en_us",
- "string": "The plugin synchronizes names from NetAlertX to OMADA Clietnts. By default NetAlertX will only populate missing names in OMADASDN devices (i.e.: where the name is defaulting to the device MAC address); with this setting toggled, it will overwrite existing values regardless."
+ "string": "The plugin synchronizes names from NetAlertX to OMADA Clients. By default NetAlertX will only populate missing names in OMADASDN devices (i.e.: where the name is defaulting to the device MAC address); with this setting toggled, it will overwrite existing values regardless."
}
]
},
diff --git a/front/plugins/omada_sdn_imp/config.json.v6 b/front/plugins/omada_sdn_imp/config.json.v6
deleted file mode 100755
index f9648365..00000000
--- a/front/plugins/omada_sdn_imp/config.json.v6
+++ /dev/null
@@ -1,690 +0,0 @@
-{
- "code_name": "omada_sdn_imp",
- "unique_prefix": "OMDSDN",
- "plugin_type": "device_scanner",
- "enabled": true,
- "data_source": "script",
- "mapped_to_table": "CurrentScan",
- "data_filters": [
- {
- "compare_column": "Object_PrimaryID",
- "compare_operator": "==",
- "compare_field_id": "txtMacFilter",
- "compare_js_template": "'{value}'.toString()",
- "compare_use_quotes": true
- }
- ],
- "show_ui": true,
- "localized": ["display_name", "description", "icon"],
- "display_name": [
- {
- "language_code": "en_us",
- "string": "OMADA SDN import"
- }
- ],
- "description": [
- {
- "language_code": "en_us",
- "string": "Plugin to import data from OMADA SDN."
- }
- ],
- "icon": [
- {
- "language_code": "en_us",
- "string": ""
- }
- ],
- "params": [],
- "settings": [
- {
- "function": "RUN",
- "events": ["run"],
- "type": {
- "dataType": "string",
- "elements": [
- { "elementType": "select", "elementOptions": [], "transformers": [] }
- ]
- },
-
- "default_value": "disabled",
- "options": ["disabled", "once", "schedule", "always_after_scan"],
- "localized": ["name", "description"],
- "name": [
- {
- "language_code": "en_us",
- "string": "When to run"
- },
- {
- "language_code": "es_es",
- "string": "Cuándo ejecutar"
- },
- {
- "language_code": "de_de",
- "string": "Wann laufen"
- }
- ],
- "description": [
- {
- "language_code": "en_us",
- "string": "When the scan should run. Good options are: schedule"
- }
- ]
- },
- {
- "function": "RUN_SCHD",
- "type": {
- "dataType": "string",
- "elements": [
- { "elementType": "input", "elementOptions": [], "transformers": [] }
- ]
- },
-
- "default_value": "*/5 * * * *",
- "options": [],
- "localized": ["name", "description"],
- "name": [
- {
- "language_code": "en_us",
- "string": "Schedule"
- }
- ],
- "description": [
- {
- "language_code": "en_us",
- "string": "Only enabled if you select schedule in the SYNC_RUN setting. Make sure you enter the schedule in the correct cron-like format (e.g. validate at crontab.guru). For example entering 0 4 * * * will run the scan after 4 am in the TIMEZONE you set above. Will be run NEXT time the time passes."
- },
- {
- "language_code": "es_es",
- "string": "Solo está habilitado si selecciona schedule en la configuración SYNC_RUN. Asegúrese de ingresar la programación en el formato similar a cron correcto (por ejemplo, valide en crontab.guru). Por ejemplo, ingresar 0 4 * * * ejecutará el escaneo después de las 4 a.m. en el TIMEZONE código> que configuró arriba. Se ejecutará la PRÓXIMA vez que pase el tiempo."
- },
- {
- "language_code": "de_de",
- "string": "Nur aktiviert, wenn Sie schedule in der SYNC_RUN-Einstellung auswählen. Stellen Sie sicher, dass Sie den Zeitplan im richtigen Cron-ähnlichen Format eingeben (z. B. validieren unter crontab.guru). Wenn Sie beispielsweise 0 4 * * * eingeben, wird der Scan nach 4 Uhr morgens in der TIMEZONE ausgeführt. Code> den Sie oben festgelegt haben. Wird das NÄCHSTE Mal ausgeführt, wenn die Zeit vergeht."
- }
- ]
- },
- {
- "function": "url",
- "type": {
- "dataType": "string",
- "elements": [
- { "elementType": "input", "elementOptions": [], "transformers": [] }
- ]
- },
- "maxLength": 50,
- "default_value": "",
- "options": [],
- "localized": ["name", "description"],
- "name": [
- {
- "language_code": "en_us",
- "string": "URL"
- }
- ],
- "description": [
- {
- "language_code": "en_us",
- "string": "Enter full URL with protocol https://CHANGEME_omada.mylocaldomain."
- }
- ]
- },
- {
- "function": "sites",
- "type": {
- "dataType": "array",
- "elements": [
- {
- "elementType": "input",
- "elementOptions": [
- { "placeholder": "Enter value" },
- { "suffix": "_in" },
- { "cssClasses": "col-sm-10" },
- { "prefillValue": "null" }
- ],
- "transformers": []
- },
- {
- "elementType": "button",
- "elementOptions": [
- { "sourceSuffixes": ["_in"] },
- { "separator": "" },
- { "cssClasses": "col-xs-12" },
- { "onClick": "addList(this, false)" },
- { "getStringKey": "Gen_Add" }
- ],
- "transformers": []
- },
- {
- "elementType": "button",
- "elementOptions": [
- { "sourceSuffixes": [] },
- { "separator": "" },
- { "cssClasses": "col-xs-6" },
- { "onClick": "removeAllOptions(this)" },
- { "getStringKey": "Gen_Remove_All" }
- ],
- "transformers": []
- },
- {
- "elementType": "button",
- "elementOptions": [
- { "sourceSuffixes": [] },
- { "separator": "" },
- { "cssClasses": "col-xs-6" },
- { "onClick": "removeFromList(this)" },
- { "getStringKey": "Gen_Remove_Last" }
- ],
- "transformers": []
- },
- {
- "elementType": "select",
- "elementOptions": [
- { "multiple": "true" },
- { "readonly": "true" },
- { "editable": "true" }
- ],
- "transformers": []
- }
- ]
- },
- "default_value": [],
- "options": [],
- "localized": ["name", "description"],
- "name": [
- {
- "language_code": "en_us",
- "string": "OMADA sites"
- }
- ],
- "description": [
- {
- "language_code": "en_us",
- "string": "Omada SDN site IDs. You can get it by..."
- }
- ]
- },
- {
- "function": "username",
- "type": {
- "dataType": "string",
- "elements": [
- { "elementType": "input", "elementOptions": [], "transformers": [] }
- ]
- },
- "maxLength": 50,
- "default_value": "",
- "options": [],
- "localized": ["name", "description"],
- "name": [
- {
- "language_code": "en_us",
- "string": "User name"
- }
- ],
- "description": [
- {
- "language_code": "en_us",
- "string": "Omada SDN instance user name."
- }
- ]
- },
- {
- "function": "password",
- "type": {
- "dataType": "string",
- "elements": [
- {
- "elementType": "input",
- "elementOptions": [{ "type": "password" }],
- "transformers": []
- }
- ]
- },
- "maxLength": 50,
- "default_value": "",
- "options": [],
- "localized": ["name", "description"],
- "name": [
- {
- "language_code": "en_us",
- "string": "Password"
- }
- ],
- "description": [
- {
- "language_code": "en_us",
- "string": "Omada SDN instance password"
- }
- ]
- },
- {
- "function": "force_overwrite",
- "type": {
- "dataType": "boolean",
- "elements": [
- {
- "elementType": "input",
- "elementOptions": [{ "type": "checkbox" }],
- "transformers": []
- }
- ]
- },
- "default_value": false,
- "options": [],
- "localized": ["name", "description"],
- "name": [
- {
- "language_code": "en_us",
- "string": "Force overwrite"
- }
- ],
- "description": [
- {
- "language_code": "en_us",
- "string": "The plugin synchronizes names from NetAlertX to OMADA. By default NetAlertX will only populate missing names in OMADASDN devices (i.e.: where the name is defaulting to the device MAC address); with this setting toggled, it will overwrite existing values regardless."
- }
- ]
- },
- {
- "function": "CMD",
- "type": {
- "dataType": "string",
- "elements": [
- {
- "elementType": "input",
- "elementOptions": [{ "readonly": "true" }],
- "transformers": []
- }
- ]
- },
- "default_value": "python3 /app/front/plugins/omada_sdn_imp/omada_sdn.py",
- "options": [],
- "localized": ["name", "description"],
- "name": [
- {
- "language_code": "en_us",
- "string": "Command"
- },
- {
- "language_code": "es_es",
- "string": "Comando"
- },
- {
- "language_code": "de_de",
- "string": "Befehl"
- }
- ],
- "description": [
- {
- "language_code": "en_us",
- "string": "Command to run. This can not be changed"
- },
- {
- "language_code": "es_es",
- "string": "Comando a ejecutar. Esto no se puede cambiar"
- },
- {
- "language_code": "de_de",
- "string": "Befehl zum Ausführen. Dies kann nicht geändert werden"
- }
- ]
- },
- {
- "function": "RUN_TIMEOUT",
- "type": {
- "dataType": "integer",
- "elements": [
- {
- "elementType": "input",
- "elementOptions": [{ "type": "number" }],
- "transformers": []
- }
- ]
- },
- "default_value": 30,
- "options": [],
- "localized": ["name", "description"],
- "name": [
- {
- "language_code": "en_us",
- "string": "Run timeout"
- },
- {
- "language_code": "es_es",
- "string": "Tiempo límite de ejecución"
- },
- {
- "language_code": "de_de",
- "string": "Zeitüberschreitung"
- }
- ],
- "description": [
- {
- "language_code": "en_us",
- "string": "Maximum time in seconds to wait for the script to finish. If this time is exceeded the script is aborted."
- },
- {
- "language_code": "es_es",
- "string": "Tiempo máximo en segundos para esperar a que finalice el script. Si se supera este tiempo, el script se cancela."
- },
- {
- "language_code": "de_de",
- "string": "Maximale Zeit in Sekunden, die auf den Abschluss des Skripts gewartet werden soll. Bei Überschreitung dieser Zeit wird das Skript abgebrochen."
- }
- ]
- },
- {
- "default_value": [],
- "description": [
- {
- "language_code": "en_us",
- "string": "Send a notification if selected values change. Use CTRL + Click to select/deselect.
Watched_Value1 is Hostname Watched_Value2 is Parent Node Watched_Value3 is Port Watched_Value4 is SSID new means a new unique (unique combination of PrimaryId and SecondaryId) object was discovered. watched-changed means that selected Watched_ValueN columns changed."
- }
- ],
- "function": "REPORT_ON",
- "localized": ["name", "description"],
- "name": [
- {
- "language_code": "en_us",
- "string": "Report on"
- }
- ],
- "options": [
- "new",
- "watched-changed",
- "watched-not-changed",
- "missing-in-last-scan"
- ],
- "type": {
- "dataType": "array",
- "elements": [
- {
- "elementType": "select",
- "elementOptions": [{ "multiple": "true" }],
- "transformers": []
- }
- ]
- }
- }
- ],
- "database_column_definitions": [
- {
- "column": "Object_PrimaryID",
- "mapped_to_column": "cur_MAC",
- "css_classes": "col-sm-2",
- "show": true,
- "type": "device_name_mac",
- "default_value": "",
- "options": [],
- "localized": ["name"],
- "name": [
- {
- "language_code": "en_us",
- "string": "MAC"
- },
- {
- "language_code": "es_es",
- "string": "MAC"
- },
- {
- "language_code": "de_de",
- "string": "MAC"
- }
- ]
- },
- {
- "column": "Object_SecondaryID",
- "mapped_to_column": "cur_IP",
- "css_classes": "col-sm-2",
- "show": true,
- "type": "device_ip",
- "default_value": "",
- "options": [],
- "localized": ["name"],
- "name": [
- {
- "language_code": "en_us",
- "string": "IP"
- },
- {
- "language_code": "es_es",
- "string": "IP"
- },
- {
- "language_code": "de_de",
- "string": "IP"
- }
- ]
- },
- {
- "column": "Watched_Value1",
- "mapped_to_column": "cur_Name",
- "css_classes": "col-sm-2",
- "show": true,
- "type": "label",
- "default_value": "",
- "options": [],
- "localized": ["name"],
- "name": [
- {
- "language_code": "en_us",
- "string": "Name"
- }
- ]
- },
- {
- "column": "Watched_Value2",
- "mapped_to_column": "cur_NetworkNodeMAC",
- "css_classes": "col-sm-2",
- "show": true,
- "type": "label",
- "default_value": "",
- "options": [],
- "localized": ["name"],
- "name": [
- {
- "language_code": "en_us",
- "string": "Parent Network MAC"
- }
- ]
- },
- {
- "column": "Watched_Value3",
- "mapped_to_column": "cur_PORT",
- "css_classes": "col-sm-2",
- "show": true,
- "type": "label",
- "default_value": "",
- "options": [],
- "localized": ["name"],
- "name": [
- {
- "language_code": "en_us",
- "string": "Port"
- }
- ]
- },
- {
- "column": "Watched_Value4",
- "mapped_to_column": "cur_SSID",
- "css_classes": "col-sm-2",
- "show": true,
- "type": "label",
- "default_value": "",
- "options": [],
- "localized": ["name"],
- "name": [
- {
- "language_code": "en_us",
- "string": "SSID"
- }
- ]
- },
- {
- "column": "Extra",
- "mapped_to_column": "cur_Type",
- "css_classes": "col-sm-2",
- "show": false,
- "type": "label",
- "default_value": "",
- "options": [],
- "localized": ["name"],
- "name": [
- {
- "language_code": "en_us",
- "string": "Site or Vendor"
- }
- ]
- },
- {
- "column": "Dummy",
- "mapped_to_column": "cur_ScanMethod",
- "mapped_to_column_data": {
- "value": "OMDSDN"
- },
- "css_classes": "col-sm-2",
- "show": true,
- "type": "label",
- "default_value": "",
- "options": [],
- "localized": ["name"],
- "name": [
- {
- "language_code": "en_us",
- "string": "Scan method"
- },
- {
- "language_code": "es_es",
- "string": "Método de escaneo"
- },
- {
- "language_code": "de_de",
- "string": "Scanmethode"
- }
- ]
- },
- {
- "column": "DateTimeCreated",
- "css_classes": "col-sm-2",
- "show": true,
- "type": "label",
- "default_value": "",
- "options": [],
- "localized": ["name"],
- "name": [
- {
- "language_code": "en_us",
- "string": "Created"
- },
- {
- "language_code": "es_es",
- "string": "Creado"
- },
- {
- "language_code": "de_de",
- "string": "Erstellt"
- }
- ]
- },
- {
- "column": "DateTimeChanged",
- "css_classes": "col-sm-2",
- "show": true,
- "type": "label",
- "default_value": "",
- "options": [],
- "localized": ["name"],
- "name": [
- {
- "language_code": "en_us",
- "string": "Changed"
- },
- {
- "language_code": "es_es",
- "string": "Cambiado"
- },
- {
- "language_code": "de_de",
- "string": "Geändert"
- }
- ]
- },
- {
- "column": "Status",
- "css_classes": "col-sm-1",
- "show": true,
- "type": "replace",
- "default_value": "",
- "options": [
- {
- "equals": "watched-not-changed",
- "replacement": "