Linux lower port and service is corresponding, the Java process starts by default listening on 8080 port, if the service is hung up, 8080 port is not.
The lsof-i:8080 port, if there is no output, indicates that the port is not working.
Want to monitor the Java process 8080 port on the Zabbix platform, if the port hangs up can send an email or send a text message!
Implementation method:
1. Create a template first: Configuration-->templates then click the Create Templates button in the upper right corner.
Click Add to complete the template creation
2. Then create the application in the template, point application
Click Add to complete applications creation.
3. Create item, click the item item in the Attachment-->create item
Click the Add button below to save.
4. Then you need to create a trigger, see the attachment
Click Add below to complete.
5. Create a graph for the image display:
6. Image viewing.
Zabbix Port Related:
Net.tcp.listen[port] #指定监听的端口net. tcp.port[<ip>,port] #ip + Port Net.tcp.service[service, <ip>,<port>] #指明监听tcp服务, IP, Port net.udp.listen[port] #监听的udp地址
Reference Documentation:
http://blog.chinaunix.net/xmlrpc.php?r=blog/article&uid=20776139&id=4297607
Http://www.mamicode.com/info-detail-899100.html
Zabbix Monitoring Java 8080 ports