8000 singular dash multiple servers · Issue #191 · akpw/mktxp · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

singular dash multiple servers #191

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
mwarren-6 opened this issue Sep 19, 2024 · 2 comments
Open

singular dash multiple servers #191

mwarren-6 opened this issue Sep 19, 2024 · 2 comments

Comments

@mwarren-6
Copy link

I have been trying to combine this to allow load balancing so the system stops timing out.
We have small servers all over and could use the program to run on them as well.
Example:

  • job_name: 'prometheus'
    static_configs:

    • targets: ['prometheus:9090']
    • targets: ['10.255.255.x:9090']
  • job_name: 'mktxp'
    static_configs:

    • targets: ['mktxp:49090']
    • targets: ['10.255.255.x:49090']
@akpw
Copy link
Owner
akpw commented Sep 22, 2024

@mwarren-6 can you expand a bit on the request? assuming the problem is timeout of network api calls from mktxp to multiple mikrotik devices, have you tried tweaking those _mktxp.conf parameters in to cover what your situation?

    socket_timeout = 2
    fetch_routers_in_parallel = False   # Fetch metrics from multiple routers in parallel / sequentially     
    max_worker_threads = 5              # Max number of worker threads that can fetch routers (parallel fetch only)
    max_scrape_duration = 10            # Max duration of individual routers' metrics collection (parallel fetch only)
    total_max_scrape_duration = 30      # Max overall duration of all metrics collection (parallel fetch only)

@mwarren-6
Copy link
Author

That file has default settings similar to what you posted.
What I am needing is to have multiple servers, throughout the network collecting data and bringing them into one dashboard.
We have hundreds of routers we would like to poll. We have small servers distributed on the network that would make this process faster and handle the polling.
I believe this is more on the Prometheus collecting of data config.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
0