Skip to content
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

How would one extract the uptime #1

Open
fliiiix opened this issue Nov 15, 2020 · 0 comments
Open

How would one extract the uptime #1

fliiiix opened this issue Nov 15, 2020 · 0 comments

Comments

@fliiiix
Copy link

fliiiix commented Nov 15, 2020

  • RouterOS to Telegraf metrics exporter version: 0.1.13
  • Python version: Python 3.8.6
  • Operating System: Fedora release 32 (Thirty Two)

Description

I'm trying to extract the uptime of the RouterOS.

What I Did

My hosts_config.yaml looks like this:

- default:
      resources:
#          - path: /system/resource
#            interval: 30
#            tags:
#                  - board-name
#                  - disabled
#            values:
#                  - cpu-load
          - path: /system/resource
            interval: 15
            tags:
                  - board-name
                  - disabled
            values:
                  - uptime
- hostname.domain.network:
      resources:

I would expect to get the the uptime with rte --hosts-config-file hosts_config.yaml -i but it returns nothing.

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

1 participant