Stick to #Day 297~ I'm going, the overtime is actually added to the clock

Waiting for the clock to turn at night, and only when the clock is turned, does Jin Dong allow us to restart the services of the 51 industry, because this way there will be less traffic.

I waited with my colleagues at night. Time passed quickly. They wanted to upgrade the CMPP channel multi-link. I wanted to restart the 51 industry platform for the channel connection.


zabbix monitoring:

UserParameter=boot.used,df| grep "boot" | tr -s " " | cut -d " " -f5 | cut-d "%" -f1

UserParameter=cpu.used,echo$[100-`vmstat | awk 'NR==3{print $15}'`]

UserParameter=mem.free,free-m | grep Mem | awk '{print $4}'

UserParameter=disk.used,df| awk '/\/$/{print $5}' | awk -F "%" '{print $1}'

If an unsupported item is displayed when configuring a monitoring item, you need to delete the monitoring item again. It is useless if you just change and update, because there is a problem with this button, you need to delete and recreate the monitoring item

 

 

Query the company's ip traffic:

awkBEGIN{sum=0}'/^[[:digit:]]/{IP[$1]++}END{for (i in IP){print IP[i]}}'/var/log/httpd/access_log | awk '{print sum+=$1}' | awk 'END{print $0}', um, they don't use httpd, they use tomcat, just use a different path

 

Made a mistake? ! Song Ge said whether I used the root user to read the log. Does the root user look at the log and turn the owner and group zykj into root? 51 platform, the log of the compressed package. This is Songo's problem

 

Wen Shuangshuang (81002921) 11:03:54 @ren
rusong The industry's JDM mobile industry-custom_mobile (268_0) alarm, the test has no record, please take a look, 13867408950 verification code: 1100.

 

Find the corresponding account through channel 268

grep "Login failed" SmsChannel.log | grep "Account", it should be the problem that the channel is not opened or closed


Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325983569&siteId=291194637