akpw / mktxp-stack

MKTXP Exporter monitoring stack
Other
138 stars 24 forks source link

Dont connect to router #13

Closed Men1steR closed 11 months ago

Men1steR commented 11 months ago

I can’t connect to the router, nothing is written in the log

``[Sample-Router] enabled = True # turns metrics collection for this RouterOS device on / off

hostname = 10.173.8.1    # RouterOS IP address
port = 8728             # RouterOS IP Port

username = support     # RouterOS user, needs to have 'read' and 'api' permissions
password = test

use_ssl = False                 # enables connection via API-SSL servis
no_ssl_certificate = False      # enables API_SSL connect without router SSL certificate
ssl_certificate_verify = False  # turns SSL certificate verification on / off

installed_packages = True       # Installed packages
dhcp = True                     # DHCP general metrics
dhcp_lease = True               # DHCP lease metrics

connections = True              # IP connections metrics
connection_stats = False        # Open IP connections metrics

pool = True                     # Pool metrics
interface = True                # Interfaces traffic metrics

firewall = True                 # IPv4 Firewall rules traffic metrics
ipv6_firewall = False           # IPv6 Firewall rules traffic metrics
ipv6_neighbor = False           # Reachable IPv6 Neighbors

poe = True                      # POE metrics
monitor = True                  # Interface monitor metrics
netwatch = True                 # Netwatch metrics
public_ip = True                # Public IP metrics
route = True                    # Routes metrics
wireless = True                 # WLAN general metrics
wireless_clients = True         # WLAN clients metrics
capsman = True                  # CAPsMAN general metrics
capsman_clients = True          # CAPsMAN clients metrics

user = True                     # Active Users metrics
queue = True                    # Queues metrics

remote_dhcp_entry = None        # An MKTXP entry for remote DHCP info resolution (capsman/wireless)

use_comments_over_names = True  # when available, forces using comments over the interfaces names

check_for_updates = False       # check for available ROS updates``
Men1steR commented 11 months ago

The problem was that after updating to ROS 7.12, for some reason the API port changed, although on another similar device it did not change after the updates

theaustinayers commented 9 months ago

The problem was that after updating to ROS 7.12, for some reason the API port changed, although on another similar device it did not change after the updates

What did it change to? It still shows 8768 for me but I cannot get a connection either.

akpw commented 9 months ago

@theaustinayers you can change mktxp connection port in the main config as shown above, to match whatever is the current setting of you router