I have write a shell script to monitor the latest 1 minute's squid log,and count how much http code of 500,501,502,503,504 in the log. I want to return the result to zabbix server at once ,as :
500 120
501 12
502 15
503 4
504 34
What should I do to identify the data and add them into 4 items ? Or is there any other method ?
500 120
501 12
502 15
503 4
504 34
What should I do to identify the data and add them into 4 items ? Or is there any other method ?
Comment