Difference between revisions of "Edit-config"

From wikieduonline
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 7: Line 7:
 
  cd ./brew/etc/netdata/
 
  cd ./brew/etc/netdata/
 
  sudo ./edit-config go.d/ping.conf
 
  sudo ./edit-config go.d/ping.conf
 +
 +
jobs:
 +
  - name: example1
 +
    hosts:
 +
      - 192.0.2.0
 +
      - 192.0.2.1
 +
 +
  - name: example2
 +
    packets: 10
 +
    hosts:
 +
      - 192.0.2.3
 +
      - 192.0.2.4
 +
 +
  
 
{{netdata}}
 
{{netdata}}

Latest revision as of 13:21, 3 March 2024

cd /etc/netdata 2>/dev/null || cd /opt/netdata/etc/netdata
sudo ./edit-config go.d/ping.conf


cd ./brew/etc/netdata/
sudo ./edit-config go.d/ping.conf
jobs:
 - name: example1
   hosts:
     - 192.0.2.0
     - 192.0.2.1

 - name: example2
   packets: 10
   hosts:
     - 192.0.2.3
     - 192.0.2.4


Netdata, /etc/netdata/netdata.conf

Advertising: