-
-
Notifications
You must be signed in to change notification settings - Fork 346
Description
Is there an existing issue for this?
- I have searched the existing open and closed issues and I checked the docs https://jokob-sk.github.io/NetAlertX/
The issue occurs in the following browsers. Select at least 2.
- Firefox
- Chrome
- Edge
- Safari (unsupported) - PRs welcome
- N/A - This is an issue with the backend
Current Behavior
It seems that MTSCAN plugin does not pull correctly all my devices from DHCP leases list.
Expected Behavior
All devices from DHCP leases are imported.
Steps To Reproduce
- Enable MTSCAN plugin.
- Do a manual scan.
- Check the detected devices.
app.conf
# MTSCAN
#---------------------------
MTSCAN_RUN='schedule'
MTSCAN_RUN__metadata="{\"function\": \"RUN\", \"events\": [\"run\"], \"type\": {\"dataType\": \"string\", \"elements\": [{\"elementType\": \"select\", \"elementOptions\": [], \"transformers\": []}]}, \"default_value\": \"disabled\", \"options\": [\"disabled\", \"before_name_updates\", \"on_new_device\", \"once\", \"schedule\", \"always_after_scan\"], \"localized\": [\"name\", \"description\"], \"name\": [{\"language_code\": \"en_us\", \"string\": \"When to run\"}], \"description\": [{\"language_code\": \"en_us\", \"string\": \"When the plugin should be executed. If enabled this will execute the scan until there are no <code>(unknown)</code> or <code>(name not found)</code> devices. Setting this to <code>on_new_device</code> or a daily <code>schedule</code> is recommended.\"}]}"
MTSCAN_CMD='python3 /app/front/plugins/mikrotik_scan/mikrotik.py'
MTSCAN_CMD__metadata="{\"function\": \"CMD\", \"type\": {\"dataType\": \"string\", \"elements\": [{\"elementType\": \"input\", \"elementOptions\": [{\"readonly\": \"true\"}], \"transformers\": []}]}, \"default_value\": \"python3 /app/front/plugins/mikrotik_scan/mikrotik.py\", \"options\": [], \"localized\": [\"name\", \"description\"], \"name\": [{\"language_code\": \"en_us\", \"string\": \"Command\"}], \"description\": [{\"language_code\": \"en_us\", \"string\": \"Command to run. This can not be changed\"}]}"
MTSCAN_RUN_SCHD='*/5 * * * *'
MTSCAN_RUN_SCHD__metadata="{\"function\": \"RUN_SCHD\", \"type\": {\"dataType\": \"string\", \"elements\": [{\"elementType\": \"span\", \"elementOptions\": [{\"cssClasses\": \"input-group-addon validityCheck\"}, {\"getStringKey\": \"Gen_ValidIcon\"}], \"transformers\": []}, {\"elementType\": \"input\", \"elementOptions\": [{\"onChange\": \"validateRegex(this)\"}, {\"base64Regex\": \"Xig/OlwqfCg/OlswLTldfFsxLTVdWzAtOV18WzAtOV0rLVswLTldK3xcKi9bMC05XSspKVxzKyg/OlwqfCg/OlswLTldfDFbMC05XXwyWzAtM118WzAtOV0rLVswLTldK3xcKi9bMC05XSspKVxzKyg/OlwqfCg/OlsxLTldfFsxMl1bMC05XXwzWzAxXXxbMC05XSstWzAtOV0rfFwqL1swLTldKykpXHMrKD86XCp8KD86WzEtOV18MVswLTJdfFswLTldKy1bMC05XSt8XCovWzAtOV0rKSlccysoPzpcKnwoPzpbMC02XXxbMC02XS1bMC02XXxcKi9bMC05XSspKSQ=\"}], \"transformers\": []}]}, \"default_value\": \"*/30 * * * *\", \"options\": [], \"localized\": [\"name\", \"description\"], \"name\": [{\"language_code\": \"en_us\", \"string\": \"Schedule\"}], \"description\": [{\"language_code\": \"en_us\", \"string\": \"Only enabled if you select <code>schedule</code> in the <a href=\\\"#MKTSCAN_RUN\\\"><code>MKTSCAN_RUN</code> setting</a>. Make sure you enter the schedule in the correct cron-like format (e.g. validate at <a href=\\\"https://crontab.guru/\\\" target=\\\"_blank\\\">crontab.guru</a>). For example entering <code>0 4 * * *</code> will run the scan after 4 am in the <a onclick=\\\"toggleAllSettings()\\\" href=\\\"#TIMEZONE\\\"><code>TIMEZONE</code> you set above</a>. Will be run NEXT time the time passes.\"}]}"
MTSCAN_MT_HOST='192.168.1.1'
MTSCAN_MT_HOST__metadata="{\"function\": \"MT_HOST\", \"type\": {\"dataType\": \"string\", \"elements\": [{\"elementType\": \"input\", \"elementOptions\": [], \"transformers\": []}]}, \"default_value\": \"192.168.88.1\", \"options\": [], \"localized\": [\"name\", \"description\"], \"name\": [{\"language_code\": \"en_us\", \"string\": \"Mikrotik Host IP\"}], \"description\": [{\"language_code\": \"en_us\", \"string\": \"IP for Mikrotik Router\"}]}"
MTSCAN_MT_PORT=8728
MTSCAN_MT_PORT__metadata="{\"function\": \"MT_PORT\", \"type\": {\"dataType\": \"integer\", \"elements\": [{\"elementType\": \"input\", \"elementOptions\": [{\"type\": \"number\"}], \"transformers\": []}]}, \"default_value\": 8728, \"options\": [], \"localized\": [\"name\", \"description\"], \"name\": [{\"language_code\": \"en_us\", \"string\": \"Mikrotik API Port\"}], \"description\": [{\"language_code\": \"en_us\", \"string\": \"API Port for Mikrotik Router\"}]}"
MTSCAN_MT_USER='xxxxx'
MTSCAN_MT_USER__metadata="{\"function\": \"MT_USER\", \"type\": {\"dataType\": \"string\", \"elements\": [{\"elementType\": \"input\", \"elementOptions\": [], \"transformers\": []}]}, \"default_value\": \"admin\", \"options\": [], \"localized\": [\"name\", \"description\"], \"name\": [{\"language_code\": \"en_us\", \"string\": \"Mikrotik User\"}], \"description\": [{\"language_code\": \"en_us\", \"string\": \"User for Mikrotik Router\"}]}"
MTSCAN_MT_PASS='xxxxx'
MTSCAN_MT_PASS__metadata="{\"function\": \"MT_PASS\", \"type\": {\"dataType\": \"string\", \"elements\": [{\"elementType\": \"input\", \"elementOptions\": [{\"type\": \"password\"}], \"transformers\": []}]}, \"default_value\": \"\", \"options\": [], \"localized\": [\"name\", \"description\"], \"name\": [{\"language_code\": \"en_us\", \"string\": \"Mikrotik Password\"}], \"description\": [{\"language_code\": \"en_us\", \"string\": \"Password for Mikrotik Router\"}]}"docker-compose.yml
N/AWhat installation are you running?
Production (netalertx)
app.log
18:55:42 ['[MTSCAN] In script']
<--- '/login'
<--- '=name=xxxxx'
<--- '=password=xxxxx'
<--- EOS
---> '!done'
---> EOS
<--- '/ip/dhcp-server/lease/print'
<--- EOS
---> '!re'
---> '=.id=*2'
---> '=address=192.168.1.3'
---> '=mac-address=xx:xx:xx:xx:xx:xx'
---> '=client-id='
---> '=address-lists='
---> '=server=defconf'
---> '=dhcp-option='
---> '=status=bound'
---> '=expires-after=13h16m3s'
---> '=last-seen=10h43m57s'
---> '=active-address=192.168.1.3'
---> '=active-mac-address='
---> '=active-client-id='
---> '=active-server=defconf'
---> '=class-id='
---> '=radius=false'
---> '=dynamic=false'
---> '=blocked=false'
---> '=disabled=false'
---> '=comment='
---> EOS
---> '!re'
---> '=.id=*8'
---> '=address=192.168.2.5'
---> '=mac-address=xx:xx:xx:xx:xx:xx'
---> '=address-lists='
---> '=server=vlan2'
---> '=dhcp-option='
---> '=status=bound'
---> '=expires-after=1h30m51s'
---> '=last-seen=1h29m9s'
---> '=active-address=192.168.2.5'
---> '=active-mac-address='
---> '=active-server=vlan2'
---> '=host-name='
---> '=radius=false'
---> '=dynamic=false'
---> '=blocked=false'
---> '=disabled=false'
---> EOS
---> '!re'
---> '=.id=*C'
---> '=address=192.168.2.4'
---> '=mac-address=xx:xx:xx:xx:xx:xx'
---> '=address-lists='
---> '=server=vlan2'
---> '=dhcp-option='
---> '=status=bound'
---> '=expires-after=1h30m51s'
---> '=last-seen=1h29m9s'
---> '=active-address=192.168.2.4'
---> '=active-mac-address='
---> '=active-server=vlan2'
---> '=host-name='
---> '=radius=false'
---> '=dynamic=false'
---> '=blocked=false'
---> '=disabled=false'
---> EOS
---> '!re'
---> '=.id=*E'
---> '=address=192.168.2.23'
---> '=mac-address=xx:xx:xx:xx:xx:xx'
---> '=address-lists='
---> '=server=vlan2'
---> '=dhcp-option='
---> '=status=bound'
---> '=expires-after=1h30m51s'
---> '=last-seen=1h29m9s'
---> '=active-address=192.168.2.23'
---> '=active-mac-address='
---> '=active-server=vlan2'
---> '=host-name='
---> '=radius=false'
---> '=dynamic=false'
---> '=blocked=false'
---> '=disabled=false'
---> EOS
---> '!re'
---> '=.id=*F'
---> '=address=192.168.2.24'
---> '=mac-address=xx:xx:xx:xx:xx:xx'
---> '=address-lists='
---> '=server=vlan2'
---> '=dhcp-option='
---> '=status=bound'
---> '=expires-after=2h5m23s'
---> '=last-seen=54m37s'
---> '=active-address=192.168.2.24'
---> '=active-mac-address='
---> '=active-server=vlan2'
---> '=host-name='
---> '=radius=false'
---> '=dynamic=false'
---> '=blocked=false'
---> '=disabled=false'
---> EOS
---> '!re'
---> '=.id=*10'
---> '=address=192.168.2.10'
---> '=mac-address=xx:xx:xx:xx:xx:xx'
---> '=address-lists='
---> '=server=vlan2'
---> '=dhcp-option='
---> '=status=bound'
---> '=expires-after=1h30m51s'
---> '=last-seen=1h29m9s'
---> '=active-address=192.168.2.10'
---> '=active-mac-address='
---> '=active-server=vlan2'
---> '=host-name='
---> '=radius=false'
---> '=dynamic=false'
---> '=blocked=false'
---> '=disabled=false'
---> EOS
---> '!re'
---> '=.id=*11'
---> '=address=192.168.1.2'
---> '=mac-address=xx:xx:xx:xx:xx:xx'
---> '=client-id='
---> '=address-lists='
---> '=server=defconf'
---> '=dhcp-option='
---> '=status=bound'
---> '=expires-after=23h1m31s'
---> '=last-seen=58m29s'
---> '=active-address=192.168.1.2'
---> '=active-mac-address='
---> '=active-client-id='
---> '=active-server=defconf'
---> '=host-name='
---> '=radius=false'
---> '=dynamic=false'
---> '=blocked=false'
---> '=disabled=false'
---> EOS
---> '!re'
---> '=.id=*14'
---> '=address=192.168.1.5'
---> '=address-lists='
---> '=server=defconf'
---> '=dhcp-option='
---> '=status=waiting'
---> '=last-seen=never'
---> '=radius=false'
---> '=dynamic=false'
---> '=blocked=false'
---> '=disabled=true'
---> '=comment='
---> EOS
---> '!re'
---> '=.id=*15'
---> '=address=192.168.1.8'
---> '=mac-address=xx:xx:xx:xx:xx:xx'
---> '=address-lists='
---> '=server=defconf'
---> '=dhcp-option='
---> '=status=bound'
---> '=expires-after=16h31m47s'
---> '=last-seen=7h28m13s'
---> '=active-address=192.168.1.8'
---> '=active-mac-address='
---> '=active-server=defconf'
---> '=host-name='
---> '=radius=false'
---> '=dynamic=false'
---> '=blocked=false'
---> '=disabled=false'
---> EOS
---> '!re'
---> '=.id=*16'
---> '=address=192.168.1.9'
---> '=mac-address=xx:xx:xx:xx:xx:xx'
---> '=address-lists='
---> '=server=defconf'
---> '=dhcp-option='
---> '=status=bound'
---> '=expires-after=21h4m48s'
---> '=last-seen=2h55m12s'
---> '=active-address=192.168.1.9'
---> '=active-mac-address='
---> '=active-server=defconf'
---> '=host-name='
---> '=radius=false'
---> '=dynamic=false'
---> '=blocked=false'
---> '=disabled=false'
---> EOS
---> '!re'
---> '=.id=*17'
---> '=address=192.168.1.7'
---> '=mac-address=xx:xx:xx:xx:xx:xx'
---> '=address-lists='
---> '=server=defconf'
---> '=dhcp-option='
---> '=status=bound'
---> '=expires-after=19h46m'
---> '=last-seen=4h14m'
---> '=active-address=192.168.1.7'
---> '=active-mac-address='
---> '=active-server=defconf'
---> '=host-name='
---> '=radius=false'
---> '=dynamic=false'
---> '=blocked=false'
---> '=disabled=false'
---> EOS
---> '!re'
---> '=.id=*18'
---> '=address=192.168.1.10'
---> '=mac-address=xx:xx:xx:xx:xx:xx'
---> '=address-lists='
---> '=server=defconf'
---> '=dhcp-option='
---> '=status=bound'
---> '=expires-after=16h34m5s'
---> '=last-seen=7h25m55s'
---> '=active-address=192.168.1.10'
---> '=active-mac-address='
---> '=active-client-id='
---> '=active-server=defconf'
---> '=host-name='
---> '=radius=false'
---> '=dynamic=false'
---> '=blocked=false'
---> '=disabled=false'
---> EOS
---> '!re'
---> '=.id=*19'
---> '=address=192.168.1.11'
---> '=mac-address=xx:xx:xx:xx:xx:xx'
---> '=address-lists='
---> '=server=defconf'
---> '=dhcp-option='
---> '=status=bound'
---> '=expires-after=13h21m57s'
---> '=last-seen=10h38m3s'
---> '=active-address=192.168.1.11'
---> '=active-mac-address='
---> '=active-client-id='
---> '=active-server=defconf'
---> '=host-name='
---> '=radius=false'
---> '=dynamic=false'
---> '=blocked=false'
---> '=disabled=false'
---> EOS
---> '!re'
---> '=.id=*1A'
---> '=address=192.168.1.12'
---> '=mac-address=xx:xx:xx:xx:xx:xx'
---> '=address-lists='
---> '=server=defconf'
---> '=dhcp-option='
---> '=status=bound'
---> '=expires-after=13h21m58s'
---> '=last-seen=10h38m2s'
---> '=active-address=192.168.1.12'
---> '=active-mac-address='
---> '=active-client-id='
---> '=active-server=defconf'
---> '=host-name='
---> '=radius=false'
---> '=dynamic=false'
---> '=blocked=false'
---> '=disabled=false'
---> EOS
---> '!re'
---> '=.id=*1B'
---> '=address=192.168.1.19'
---> '=mac-address=xx:xx:xx:xx:xx:xx'
---> '=address-lists='
---> '=server=defconf'
---> '=dhcp-option='
---> '=status=bound'
---> '=expires-after=13h21m56s'
---> '=last-seen=10h38m4s'
---> '=active-address=192.168.1.19'
---> '=active-mac-address='
---> '=active-client-id='
---> '=active-server=defconf'
---> '=host-name='
---> '=radius=false'
---> '=dynamic=false'
---> '=blocked=false'
---> '=disabled=false'
---> EOS
---> '!re'
---> '=.id=*1C'
---> '=address=192.168.1.18'
---> '=mac-address=xx:xx:xx:xx:xx:xx'
---> '=address-lists='
---> '=server=defconf'
---> '=dhcp-option='
---> '=status=bound'
---> '=expires-after=13h29m1s'
---> '=last-seen=10h30m59s'
---> '=active-address=192.168.1.18'
---> '=active-mac-address='
---> '=active-client-id='
---> '=active-server=defconf'
---> '=host-name='
---> '=radius=false'
---> '=dynamic=false'
---> '=blocked=false'
---> '=disabled=false'
---> EOS
---> '!re'
---> '=.id=*1E'
---> '=address=192.168.5.49'
---> '=mac-address=xx:xx:xx:xx:xx:xx'
---> '=address-lists='
---> '=server=vlan5'
---> '=dhcp-option='
---> '=status=bound'
---> '=expires-after=6d18h38m35s'
---> '=last-seen=5h21m25s'
---> '=active-address=192.168.5.49'
---> '=active-mac-address='
---> '=active-server=vlan5'
---> '=host-name='
---> '=radius=false'
---> '=dynamic=false'
---> '=blocked=false'
---> '=disabled=false'
---> EOS
---> '!re'
---> '=.id=*1F'
---> '=address=192.168.5.55'
---> '=mac-address=xx:xx:xx:xx:xx:xx'
---> '=address-lists='
---> '=server=vlan5'
---> '=dhcp-option='
---> '=status=bound'
---> '=expires-after=5d1h15m57s'
---> '=last-seen=1d22h44m3s'
---> '=active-address=192.168.5.55'
---> '=active-mac-address='
---> '=active-client-id='
---> '=active-server=vlan5'
---> '=host-name='
---> '=radius=false'
---> '=dynamic=false'
---> '=blocked=false'
---> '=disabled=false'
---> EOS
---> '!re'
---> '=.id=*20'
---> '=address=192.168.5.50'
---> '=mac-address=xx:xx:xx:xx:xx:xx'
---> '=address-lists='
---> '=server=vlan5'
---> '=dhcp-option='
---> '=status=bound'
---> '=expires-after=5d1h29m'
---> '=last-seen=1d22h31m'
---> '=active-address=192.168.5.50'
---> '=active-mac-address='
---> '=active-client-id='
---> '=active-server=vlan5'
---> '=host-name='
---> '=radius=false'
---> '=dynamic=false'
---> '=blocked=false'
---> '=disabled=false'
---> EOS
---> '!re'
---> '=.id=*21'
---> '=address=192.168.6.9'
---> '=mac-address=xx:xx:xx:xx:xx:xx'
---> '=address-lists='
---> '=server=vlan6'
---> '=dhcp-option='
---> '=status=bound'
---> '=expires-after=5h37m39s'
---> '=last-seen=22m21s'
---> '=active-address=192.168.6.9'
---> '=active-mac-address='
---> '=active-client-id='
---> '=active-server=vlan6'
---> '=host-name='
---> '=radius=false'
---> '=dynamic=false'
---> '=blocked=false'
---> '=disabled=false'
---> EOS
---> '!re'
---> '=.id=*22'
---> '=address=192.168.2.21'
---> '=mac-address=xx:xx:xx:xx:xx:xx'
---> '=address-lists='
---> '=server=vlan2'
---> '=dhcp-option='
---> '=status=bound'
---> '=expires-after=1h30m53s'
---> '=last-seen=1h29m7s'
---> '=active-address=192.168.2.21'
---> '=active-mac-address='
---> '=active-server=vlan2'
---> '=host-name='
---> '=radius=false'
---> '=dynamic=false'
---> '=blocked=false'
---> '=disabled=false'
---> EOS
---> '!re'
---> '=.id=*23'
---> '=address=192.168.2.22'
---> '=mac-address=xx:xx:xx:xx:xx:xx'
---> '=address-lists='
---> '=server=vlan2'
---> '=dhcp-option='
---> '=status=bound'
---> '=expires-after=1h30m53s'
---> '=last-seen=1h29m7s'
---> '=active-address=192.168.2.22'
---> '=active-mac-address='
---> '=active-server=vlan2'
---> '=host-name='
---> '=radius=false'
---> '=dynamic=false'
---> '=blocked=false'
---> '=disabled=false'
---> EOS
---> '!re'
---> '=.id=*32'
---> '=address=192.168.5.40'
---> '=mac-address=xx:xx:xx:xx:xx:xx'
---> '=client-id='
---> '=address-lists='
---> '=server=vlan5'
---> '=dhcp-option='
---> '=status=bound'
---> '=expires-after=5d1h15m57s'
---> '=last-seen=1d22h44m3s'
---> '=active-address=192.168.5.40'
---> '=active-mac-address='
---> '=active-client-id='
---> '=active-server=vlan5'
---> '=host-name='
---> '=radius=false'
---> '=dynamic=false'
---> '=blocked=false'
---> '=disabled=false'
---> EOS
---> '!re'
---> '=.id=*35'
---> '=address=192.168.5.45'
---> '=mac-address=xx:xx:xx:xx:xx:xx'
---> '=client-id='
---> '=address-lists='
---> '=server=vlan5'
---> '=dhcp-option='
---> '=status=waiting'
---> '=last-seen=1d22h32m37s'
---> '=host-name='
---> '=radius=false'
---> '=dynamic=false'
---> '=blocked=false'
---> '=disabled=false'
---> EOS
---> '!re'
---> '=.id=*31A'
---> '=address=192.168.1.25'
---> '=mac-address=xx:xx:xx:xx:xx:xx'
---> '=address-lists='
---> '=server=defconf'
---> '=always-broadcast=true'
---> '=dhcp-option='
---> '=status=bound'
---> '=expires-after=18h30m24s'
---> '=last-seen=5h29m36s'
---> '=active-address=192.168.1.25'
---> '=active-mac-address='
---> '=active-server=defconf'
---> '=host-name='
---> '=radius=false'
---> '=dynamic=false'
---> '=blocked=false'
---> '=disabled=false'
---> EOS
---> '!re'
---> '=.id=*398'
---> '=address=192.168.5.39'
---> '=mac-address=xx:xx:xx:xx:xx:xx'
---> '=client-id='
---> '=address-lists='
---> '=server=vlan5'
---> '=dhcp-option='
---> '=status=waiting'
---> '=last-seen=2d8h48m31s'
---> '=host-name='
---> '=radius=false'
---> '=dynamic=false'
---> '=blocked=false'
---> '=disabled=false'
---> EOS
---> '!re'
---> '=.id=*3B9'
---> '=address=192.168.2.30'
---> '=mac-address=xx:xx:xx:xx:xx:xx'
---> '=address-lists='
---> '=server=vlan2'
---> '=dhcp-option='
---> '=status=bound'
---> '=expires-after=1h30m51s'
---> '=last-seen=1h29m9s'
---> '=active-address=192.168.2.30'
---> '=active-mac-address='
---> '=active-server=vlan2'
---> '=radius=false'
---> '=dynamic=true'
---> '=blocked=false'
---> '=disabled=false'
---> EOS
---> '!re'
---> '=.id=*3BA'
---> '=address=192.168.1.22'
---> '=mac-address=xx:xx:xx:xx:xx:xx'
---> '=client-id='
---> '=address-lists='
---> '=server=defconf'
---> '=dhcp-option='
---> '=status=bound'
---> '=expires-after=20h4m16s'
---> '=last-seen=3h55m44s'
---> '=active-address=192.168.1.22'
---> '=active-mac-address='
---> '=active-client-id='
---> '=active-server=defconf'
---> '=host-name='
---> '=class-id='
---> '=radius=false'
---> '=dynamic=true'
---> '=blocked=false'
---> '=disabled=false'
---> EOS
---> '!re'
---> '=.id=*3BB'
---> '=address=192.168.1.21'
---> '=mac-address=xx:xx:xx:xx:xx:xx'
---> '=client-id='
---> '=address-lists='
---> '=server=defconf'
---> '=dhcp-option='
---> '=status=bound'
---> '=expires-after=20h6m3s'
---> '=last-seen=3h53m57s'
---> '=active-address=192.168.1.21'
---> '=active-mac-address='
---> '=active-client-id='
---> '=active-server=defconf'
---> '=class-id='
---> '=radius=false'
---> '=dynamic=true'
---> '=blocked=false'
---> '=disabled=false'
---> EOS
---> '!re'
---> '=.id=*3BD'
---> '=address=192.168.1.31'
---> '=mac-address=xx:xx:xx:xx:xx:xx'
---> '=client-id='
---> '=address-lists='
---> '=server=defconf'
---> '=dhcp-option='
---> '=status=bound'
---> '=expires-after=23h37m24s'
---> '=last-seen=22m36s'
---> '=active-address=192.168.1.31'
---> '=active-mac-address='
---> '=active-client-id='
---> '=active-server=defconf'
---> '=host-name='
---> '=class-id='
---> '=radius=false'
---> '=dynamic=true'
---> '=blocked=false'
---> '=disabled=false'
---> EOS
---> '!re'
---> '=.id=*3FA'
---> '=address=192.168.2.28'
---> '=mac-address=xx:xx:xx:xx:xx:xx'
---> '=address-lists='
---> '=server=vlan2'
---> '=dhcp-option='
---> '=status=bound'
---> '=expires-after=1h31m9s'
---> '=last-seen=1h28m51s'
---> '=active-address=192.168.2.28'
---> '=active-mac-address='
---> '=active-server=vlan2'
---> '=host-name='
---> '=class-id='
---> '=radius=false'
---> '=dynamic=true'
---> '=blocked=false'
---> '=disabled=false'
---> EOS
---> '!re'
---> '=.id=*405'
---> '=address=192.168.2.6'
---> '=mac-address=xx:xx:xx:xx:xx:xx'
---> '=client-id='
---> '=address-lists='
---> '=server=vlan2'
---> '=dhcp-option='
---> '=status=bound'
---> '=expires-after=2h17m36s'
---> '=last-seen=42m24s'
---> '=active-address=192.168.2.6'
---> '=active-mac-address='
---> '=active-client-id='
---> '=active-server=vlan2'
---> '=class-id='
---> '=radius=false'
---> '=dynamic=true'
---> '=blocked=false'
---> '=disabled=false'
---> EOS
---> '!re'
---> '=.id=*41E'
---> '=address=192.168.1.28'
---> '=mac-address=xx:xx:xx:xx:xx:xx'
---> '=client-id='
---> '=address-lists='
---> '=server=defconf'
---> '=dhcp-option='
---> '=status=bound'
---> '=expires-after=17h10m56s'
---> '=last-seen=6h49m4s'
---> '=active-address=192.168.1.28'
---> '=active-mac-address='
---> '=active-client-id='
---> '=active-server=defconf'
---> '=host-name='
---> '=radius=false'
---> '=dynamic=true'
---> '=blocked=false'
---> '=disabled=false'
---> EOS
---> '!re'
---> '=.id=*42F'
---> '=address=192.168.1.45'
---> '=mac-address=xx:xx:xx:xx:xx:xx'
---> '=client-id='
---> '=address-lists='
---> '=server=defconf'
---> '=dhcp-option='
---> '=status=bound'
---> '=expires-after=13h44m5s'
---> '=last-seen=10h15m55s'
---> '=active-address=192.168.1.45'
---> '=active-mac-address='
---> '=active-client-id='
---> '=active-server=defconf'
---> '=host-name='
---> '=radius=false'
---> '=dynamic=true'
---> '=blocked=false'
---> '=disabled=false'
---> EOS
---> '!re'
---> '=.id=*435'
---> '=address=192.168.1.24'
---> '=mac-address=xx:xx:xx:xx:xx:xx'
---> '=client-id='
---> '=address-lists='
---> '=server=defconf'
---> '=dhcp-option='
---> '=status=bound'
---> '=expires-after=20h8m51s'
---> '=last-seen=3h51m9s'
---> '=age=2d9h44m37s'
---> '=active-address=192.168.1.24'
---> '=active-mac-address='
---> '=active-client-id='
---> '=active-server=defconf'
---> '=host-name='
---> '=class-id='
---> '=radius=false'
---> '=dynamic=true'
---> '=blocked=false'
---> '=disabled=false'
---> EOS
---> '!re'
---> '=.id=*437'
---> '=address=192.168.1.20'
---> '=mac-address=xx:xx:xx:xx:xx:xx'
---> '=client-id='
---> '=address-lists='
---> '=server=defconf'
---> '=dhcp-option='
---> '=status=bound'
---> '=expires-after=23h10m'
---> '=last-seen=50m'
---> '=age=1d23h16m58s'
---> '=active-address=192.168.1.20'
---> '=active-mac-address='
---> '=active-client-id='
---> '=active-server=defconf'
---> '=host-name='
---> '=class-id='
---> '=radius=false'
---> '=dynamic=true'
---> '=blocked=false'
---> '=disabled=false'
---> EOS
---> '!re'
---> '=.id=*438'
---> '=address=192.168.6.8'
---> '=mac-address=xx:xx:xx:xx:xx:xx'
---> '=client-id='
---> '=address-lists='
---> '=server=vlan6'
---> '=dhcp-option='
---> '=status=bound'
---> '=expires-after=4h32m5s'
---> '=last-seen=1h27m55s'
---> '=age=1d22h31m3s'
---> '=active-address=192.168.6.8'
---> '=active-mac-address='
---> '=active-client-id='
---> '=active-server=vlan6'
---> '=host-name='
---> '=radius=false'
---> '=dynamic=true'
---> '=blocked=false'
---> '=disabled=false'
---> EOS
---> '!re'
---> '=.id=*43D'
---> '=address=192.168.1.23'
---> '=mac-address=xx:xx:xx:xx:xx:xx'
---> '=client-id='
---> '=address-lists='
---> '=server=defconf'
---> '=dhcp-option='
---> '=status=bound'
---> '=expires-after=23h46s'
---> '=last-seen=59m14s'
---> '=age=59m14s'
---> '=active-address=192.168.1.23'
---> '=active-mac-address='
---> '=active-client-id='
---> '=active-server=defconf'
---> '=host-name='
---> '=class-id='
---> '=radius=false'
---> '=dynamic=true'
---> '=blocked=false'
---> '=disabled=false'
---> EOS
---> '!done'
---> EOS
18:55:42 ['ID: *2, Address: 192.168.1.3, MAC Address: xx:xx:xx:xx:xx:xx, Host Name: , Comment: , Last Seen: 10h43m57s, Status: bound']
18:55:42 ['ID: *8, Address: 192.168.2.5, MAC Address: xx:xx:xx:xx:xx:xx, Host Name: , Comment: , Last Seen: 1h29m9s, Status: bound']
18:55:42 ['ID: *C, Address: 192.168.2.4, MAC Address: xx:xx:xx:xx:xx:xx, Host Name: , Comment: , Last Seen: 1h29m9s, Status: bound']
18:55:42 ['[', datetime.datetime(2025, 10, 15, 18, 55, 42, tzinfo=<DstTzInfo 'Europe/Warsaw' CEST+2:00:00 DST>), '] START Run: ', 'MTSCAN']
18:55:42 ['[Plugins] Executing: ', 'python3 /app/front/plugins/mikrotik_scan/mikrotik.py']
18:55:42 ["[Plugins] Output: [plugin_helper] reading config file\n18:55:42 ['[MTSCAN] In script']\n18:55:42 ['ID: *2, Address: 192.168.1.3, MAC Address: xx:xx:xx:xx:xx:xx, Host Name: , Comment: , Last Seen: 10h43m57s, Status: bound']\n18:55:42 ['ID: *8, Address: 192.168.2.5, MAC Address: xx:xx:xx:xx:xx:xx, Host Name: , Comment: None, Last Seen: 1h29m9s, Status: bound']\n18:55:42 ['ID: *C, Address: 192.168.2.4, MAC Address: xx:xx:xx:xx:xx:xx, Host Name: , Comment: None, Last Seen: 1h29m9s, Status: bound']\n18:55:42 ['ID: *E, Address: 192.168.2.23, MAC Address: xx:xx:xx:xx:xx:xx, Host Name:, Comment: None, Last Seen: 1h29m9s, Status: bound']\n18:55:42 ['ID: *F, Address: 192.168.2.24, MAC Address: xx:xx:xx:xx:xx:xx, Host Name: , Comment: None, Last Seen: 54m37s, Status: bound']\n18:55:42 ['ID: *10, Address: 192.168.2.10, MAC Address: xx:xx:xx:xx:xx:xx, Host Name: , Comment: None, Last Seen: 1h29m9s, Status: bound']\n18:55:42 ['ID: *11, Address: 192.168.1.2, MAC Address: xx:xx:xx:xx:xx:xx, Host Name: , Comment: None, Last Seen: 58m29s, Status: bound']\n18:55:42 ['[MTSCAN] Script finished']\n18:55:42 ['[MTSCAN] Scan finished, found 7 devices']\n"]
18:55:42 ['[Plugins] Processed and deleted file: /app/log/plugins/last_result.MTSCAN.log ']
18:55:42 ['[Plugins] SUCCESS for MTSCAN received 7 entries']
18:55:42 ['[Plugins] Processing : ', 'MTSCAN']
18:55:42 ['[Plugins] Should I update API (userUpdatedDevices): False']
18:55:42 ['[', datetime.datetime(2025, 10, 15, 18, 55, 42, tzinfo=<DstTzInfo 'Europe/Warsaw' CEST+2:00:00 DST>), '] END Run: ', 'MTSCAN']
18:55:42 ['[UserEventsQueueInstance] Processed event: ', 'run']
18:55:42 ['[check_and_run_user_event] INFO: Executed events: ', 'run with param MTSCAN']
18:55:42 ['[WF] get_new_app_events - new events count: 0']
18:55:47 ['[WF] get_new_app_events - new events count: 0']
18:55:52 ['[WF] get_new_app_events - new events count: 0']
18:55:57 ['[WF] get_new_app_events - new events count: 0']
18:56:02 ['[WF] get_new_app_events - new events count: 0']
18:56:07 ['[WF] get_new_app_events - new events count: 0']
18:56:12 ['[WF] get_new_app_events - new events count: 0']
18:56:17 ['[WF] get_new_app_events - new events count: 0']
18:56:22 ['[WF] get_new_app_events - new events count: 0']
18:56:27 [Scheduler] run for MTSCAN: NO
18:56:27 [Scheduler] run for ARPSCAN: NO
18:56:27 [Scheduler] run for INTRNT: NO
18:56:27 [Scheduler] run for CSVBCKP: NO
18:56:27 [Scheduler] run for DBCLNP: NO
18:56:27 [Scheduler] run for MAINT: NO
18:56:27 [Scheduler] run for VNDRPDT: NO
18:56:27 [Process Scan] Exclude ignored devices
18:56:27 [Process Scan] Processing scan results
18:56:27 [Process Scan] Print Stats
18:56:27 [Scan Stats] Devices Detected.......: 8
18:56:27 [Scan Stats] New Devices............: 0
18:56:27 [Scan Stats] Down Alerts............: 0
18:56:27 [Scan Stats] New Down Alerts........: 0
18:56:27 [Scan Stats] New Connections........: 2
18:56:27 [Scan Stats] Disconnections.........: 3
18:56:27 [Scan Stats] IP Changes.............: 0
18:56:27 [Scan Stats] Scan Method Statistics:
18:56:27 MTSCAN: 7
18:56:27 local_MAC: 1
18:56:27 [Process Scan] Stats end
Debug enabled
- I have read and followed the steps in the wiki link above and provided the required debug logs and the log section covers the time when the issue occurs.