Skip to content

Commit

Permalink
[improve]Centos network card information monitoring optimization (apa…
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangshenghang authored Aug 28, 2024
1 parent 6117396 commit 1dd08b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manager/src/main/resources/define/app-centos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ metrics:
privateKey: ^_^privateKey^_^
timeout: ^_^timeout^_^
reuseConnection: ^_^reuseConnection^_^
script: cat /proc/net/dev | tail -n +3 | awk 'BEGIN{ print "interface_name receive_bytes transmit_bytes"} {print $1,$2,$10}'
script: cat /proc/net/dev | tail -n +3 | awk 'BEGIN{ print "interface_name receive_bytes transmit_bytes"} {gsub(":", "", $1); print $1,$2,$10}'
parseType: multiRow

- name: disk_free
Expand Down

0 comments on commit 1dd08b8

Please sign in to comment.