I. BACKGROUND
In a realistic environment, we have some services need to monitor, but Zabbix's own monitoring template does not exist, we need to configure ourselves, our main method is to monitor the port status of these services to determine whether the service is working properly.
Today, we mainly monitor the service by judging the port status of Oracle, and its port is 1521.
Second, the configuration
1. Template creation
To simplify the operation, we create templates directly here, without having to create item and trigger on each machine individually.
650) this.width=650; "src=" Https://s4.51cto.com/wyfs02/M00/08/C1/wKiom1nmxqKy5r9CAAC9sw2DlS8681.jpg "title=" Qq20171018111110.jpg "alt=" Wkiom1nmxqky5r9caac9sw2dls8681.jpg "/>
2. Create Item
650) this.width=650; "src=" Https://s2.51cto.com/wyfs02/M00/08/C1/wKiom1nmyTmgyrH7AADaUK4m2XU921.jpg "title=" Qq20171018112310.jpg "alt=" Wkiom1nmytmgyrh7aadauk4m2xu921.jpg "/>
3. Create Trigger
650) this.width=650; "src=" Https://s1.51cto.com/wyfs02/M01/A7/71/wKioL1nmx7XB6hb6AADibCokuiE301.jpg "title=" Qq20171018112727.jpg "alt=" Wkiol1nmx7xb6hb6aadibcokuie301.jpg "/>
4. Icon making
Interested can make a list, because I am not interested, I do not write here.
5. Add a template to the host
This step I also no longer show, add a template everyone will.
Third, verification
Because my action is the default, as long as the problem will be reported to the police, here no longer show, you can view my other posts, we stop or restore the database listening port, to view the alarm information.
I am here to call the police, about the alarm settings can go to see my relevant blog post.
650) this.width=650; "src=" Https://s2.51cto.com/wyfs02/M01/A7/71/wKioL1nmySax4q_HAABp799GIUY346.jpg "title=" Qq20171018113135.jpg "alt=" Wkiol1nmysax4q_haabp799giuy346.jpg "/>
650) this.width=650; "src=" Https://s5.51cto.com/wyfs02/M00/08/C1/wKiom1nmy_bxZIaEAACmb4CVfN4042.jpg "title=" Qrcode_for_gh_891f5ff6ec4e_258.jpg "alt=" Wkiom1nmy_bxziaeaacmb4cvfn4042.jpg "/>
This article is from the "Operation and maintenance bit record" blog, please make sure to keep this source http://wzlinux.blog.51cto.com/8021085/1973690
Zabbix 3.2.6 Custom Port monitoring (Oracle)