Re: How to get archived/historical metrics for network.tcpconn.* items
"Nathan Scott" <[email protected]>
| Newsgroups | gmane.comp.sysutils.pcp |
|---|---|
| Message-ID | <[email protected]> |
Hi William, ----- Original Message ----- > On 30/11/16 05:32, [email protected] wrote: > > I wanted to know how I could get archived or historical metrics for the > > network.tcpconn.* items. For example, when I do a pminfo -dfmtT > > network.tcpconn.time_wait I get the expected output. > > network.tcpconn.time_wait PMID: 60.19.6 [Number of TIME_WAIT connections] > > Data Type: 32-bit unsigned int InDom: PM_INDOM_NULL 0xffffffff > > Semantics: instant Units: count > > Help: > > Number of TIME_WAIT connections > > value 26 > > > > If I try to get the information from one of the files under pmlogger the > > information ist not in it. Also I don't see the metrics in the > > pmlogger.log file like I see the other metrics. Do I need to add the > > network.tcpconn.* metrics somewhere like /var/lib/pcp/config/pmlogconf? > > [...] > Serious use of PCP archives for retrospective performance analysis will > often require some local customization of the pmlogger configuration to: > [...] Also, specifically about the question - you do not need to edit pmlogconf files to achieve this, you can extend pmlogger configuration files directly. Even if they were generated by pmlogconf, there is an editable section in each file (e.g. /var/lib/pcp/config/pmlogger/config.default) which will be preserved always - there's comments inline in the config files explaining this further. cheers. -- Nathan -=-=-=-=-=-=-=-=-=-=-=- pcp mailing list [email protected] https://groups.io/g/pcp/messages -=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#14845): https://groups.io/g/pcp/message/14845 View All Messages In Topic (4): https://groups.io/g/pcp/topic/3302742 Mute This Topic: https://groups.io/mt/3302742?uid=174580 New Topic: https://groups.io/g/pcp/post Change Your Subscription: https://groups.io/g/pcp/editsub?uid=174580 Group Home: https://groups.io/g/pcp Contact Group Owner: [email protected] Terms of Service: https://groups.io/static/tos Unsubscribe: https://groups.io/g/pcp/leave/354243/563757577/xyzzy -=-=-=-=-=-=-=-=-=-=-=-