Re: issues with pmlogger_daily via cron
"Ken McDonell" <[email protected]> Tue, 14 Feb 2017 20:58:01 +1100
| Newsgroups | gmane.comp.sysutils.pcp |
|---|---|
| Message-ID | <[email protected]> |
> -----Original Message----- > From: [email protected] [mailto:[email protected]] On Behalf Of Sharif Islam > Sent: Tuesday, February 14, 2017 7:01 PM > To: [email protected] > Subject: [pcp] issues with pmlogger_daily via cron > > > I am trying to debug an issue with pmlogger (we are using version 3.9.10-1 in > SLES 11) while running via cron. Not sure if anyone else has ran into this. > It seems to be an issue with char width limit in cron. I cannot reproduce this > while running via command line. Any suggestion on how to debug this? I added > set -x in pmlogger_daily and in pmnewlog. > > > Here's a snippet of the set -x output where my hostname turns into "loca" from > "local" G'day Sharif, I'm not altogether sure of the problem here ... let me guess ... > ... > + args='-r -U root -m pmlogger_daily -l /var/log/pcp-storage/pmlogger.log -h > loca -c /var/lib/pcp/config/pmlogger/logger.config ' the -c here is wrong? To debug this we'll need ... 1. output from $ grep PS /etc/pcp.conf 2. your pmlogger control file 3. can you rerun this with pmlogger_daily being run from cron with -V -V (very verbose)? 4. output from $ . /etc/pcp.conf $ $PCP_PS_PROG $PCP_PS_ALL_FLAGS | grep '[p]mlogger' -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#15155): https://groups.io/g/pcp/message/15155 View All Messages In Topic (2): https://groups.io/g/pcp/topic/4365667 Mute This Topic: https://groups.io/mt/4365667?uid=174580 New Topic: https://groups.io/g/pcp/post -=-=- pcp mailing list [email protected] https://groups.io/g/pcp/messages -=-=- 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 -=-=-=-=-=-=-=-=-=-=-=-