| ESTABLISHED |
| SYN_SENT |
| SYN_RECV |
| FIN_WAIT1 |
| FIN_WAIT2 |
| TIME_WAIT |
| CLOSE |
| CLOSE_WAIT |
| LAST_ACK |
| LISTEN |
| CLOSING |
| [root@web01 ~] |
| 1 |
| |
| [root@web01 ~] |
| 0 |
| .... |
| [root@zabbix ~] |
| ESTABLISHED |
| SYN_SENT |
| SYN_RECV |
| FIN_WAIT1 |
| FIN_WAIT2 |
| TIME_WAIT |
| CLOSE |
| CLOSE_WAIT |
| LAST_ACK |
| LISTEN |
| CLOSING |
| [root@zabbix ~] |
| [root@zabbix ~] |
| 1 UserParameter=ESTABLISHED,netstat -ant |grep -c ESTABLISHED |
| 2 UserParameter=SYN_SENT,netstat -ant |grep -c SYN_SENT |
| 3 UserParameter=SYN_RECV,netstat -ant |grep -c SYN_RECV |
| 4 UserParameter=FIN_WAIT1,netstat -ant |grep -c FIN_WAIT1 |
| 5 UserParameter=FIN_WAIT2,netstat -ant |grep -c FIN_WAIT2 |
| 6 UserParameter=TIME_WAIT,netstat -ant |grep -c TIME_WAIT |
| 7 UserParameter=CLOSE,netstat -ant |grep -c CLOSE |
| 8 UserParameter=CLOSE_WAIT,netstat -ant |grep -c CLOSE_WAIT |
| 9 UserParameter=LAST_ACK,netstat -ant |grep -c LAST_ACK |
| 10 UserParameter=LISTEN,netstat -ant |grep -c LISTEN |
| 11 UserParameter=CLOSING,netstat -ant |grep -c CLOSING |
| |
| 格式:UserParameter=名,值 |
| [root@zabbix ~] |
| [root@zabbix ~] |
| 42 |
剩下十个同上