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

Make Netdata scraping more pemanent #1912

Open
rafaribe opened this issue Jun 28, 2024 · 0 comments
Open

Make Netdata scraping more pemanent #1912

rafaribe opened this issue Jun 28, 2024 · 0 comments

Comments

@rafaribe
Copy link
Owner

rafaribe commented Jun 28, 2024

/etc/netdata/netdata.conf gets overwritten every time that truenas boots, also exporting.conf

We need to make a script to copy this after reboot.

exporting.conf:

[exporting:global]
    enabled = yes
    # send configured labels = yes
    # send automatic labels = no
    # update every = 10

[prometheus:exporter]
     data source = average
     send names instead of ids = yes
     send configured labels = yes
    # send automatic labels = no
     send charts matching = *
    # send hosts matching = localhost *
     prefix = netdata
[global]
        run as user = netdata
        web files owner = root
        web files group = root
        # Netdata is not designed to be exposed to potentially hostile
        # networks. See https://github.com/netdata/netdata/issues/164
        bind socket to IP = 0.0.0.0:6999
        update_every = 2
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