File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -42,19 +42,19 @@ if [ ! -f /root/exec-result ]; then
4242 touch /root/exec-result
4343fi
4444
45- curl -s $HEARTBEATURL -X POST \
45+ curl -s $HEARTBEATURL \
4646 -F " file=@/root/exec-result" \
47- -d " mac=$MACADDR " \
48- -d " version=$VERSION " \
49- -d " uptime=$UPTIME " \
50- -d " seats=$SEATS " \
51- -d " os=$OS " \
52- -d " kernel=$KERNEL " \
53- -d " cpu=$CPU " \
54- -d " cpuused=$CPUUSED " \
55- -d " mem=$MEM " \
56- -d " memused=$MEMUSED " \
57- -d " load=$LOAD " \
47+ -F " mac=$MACADDR " \
48+ -F " version=$VERSION " \
49+ -F " uptime=$UPTIME " \
50+ -F " seats=$SEATS " \
51+ -F " os=$OS " \
52+ -F " kernel=$KERNEL " \
53+ -F " cpu=$CPU " \
54+ -F " cpuused=$CPUUSED " \
55+ -F " mem=$MEM " \
56+ -F " memused=$MEMUSED " \
57+ -F " load=$LOAD " \
5858 -o /root/heartbeat-exec.sh
5959
6060if [ -f /root/heartbeat-exec.sh ]; then
You can’t perform that action at this time.
0 commit comments