-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild_static.sh
executable file
·32 lines (28 loc) · 1.15 KB
/
build_static.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#!/bin/bash
# metrics
go build -o ./bin/cm_m_filestat ./metrics/filestat
go build -o ./bin/cm_m_cpu ./metrics/cpu
go build -o ./bin/cm_m_ram ./metrics/ram
go build -o ./bin/cm_m_tcp ./metrics/tcp
go build -o ./bin/cm_m_procinfo ./metrics/procinfo
go build -o ./bin/cm_m_netstat ./metrics/netstat
# filters
go build -o ./bin/cm_f_false ./filters/false
go build -o ./bin/cm_f_true ./filters/true
go build -o ./bin/cm_f_regex ./filters/regex
go build -o ./bin/cm_f_enable ./filters/enable
# processors
go build -o ./bin/cm_p_bulk ./processors/bulk
go build -o ./bin/cm_p_message ./processors/message
go build -o ./bin/cm_p_eot2nl ./processors/eot2nl
go build -o ./bin/cm_p_nl2eot ./processors/nl2eot
go build -o ./bin/cm_p_debounce ./processors/debounce
go build -o ./bin/cm_p_truncate ./processors/truncate
go build -o ./bin/cm_p_watchdog ./processors/watchdog
go build -o ./bin/cm_p_bandwidth ./processors/bandwidth
go build -o ./bin/cm_p_average ./processors/average
go build -o ./bin/cm_p_multiline ./processors/multiline
# outputs
go build -o ./bin/cm_o_telegram ./outputs/telegram
go build -o ./bin/cm_o_opsgenie ./outputs/opsgenie
go build -o ./bin/cm_o_smtp ./outputs/smtp