- Cacti Beginner's Guide(Second Edition)
- Thomas Urban
- 217字
- 2021-07-02 20:15:31
Have a go hero - create your own TCP connections template
Let's assume that you have a server with performance issues. Maybe users are unable to connect to it at a specific time of the day. Wouldn't it be good to have some data on the server that will provide you with some valuable information for further troubleshooting or even lets you identify a problem before the users are aware of it? In this special case, we want to know the number of currently-established TCP connections on a system to identify a possible build up of connections to a point where no more connections can be created. What does the data template for this look like? A small hint: Look for the TCP-MIB.
Here is the step-by-step solution to creating a TCP connections template:
- Take the data source template example and duplicate it.
- Go to Templates | Data Source and select it.
- From the drop-down box at the bottom, select Duplicate and then Go.
- In the following page, enter TCP-MIB: Established TCP Connections as the title then click Continue.
- Edit the template again and change the name fields to fit the new data.
- Enter tcpCurrEstab as the Internal Data Source Name and use .1.3.6.1.2.1.6.9.0 as the OID.
- Change the Maximum Value to U, click Save, and you're done.