Re: problem with qa/1068 (pmrep Zabbix export mode)
"Ken McDonell" <[email protected]> Fri, 17 Feb 2017 10:56:05 +1100
| Newsgroups | gmane.comp.sysutils.pcp |
|---|---|
| Message-ID | <[email protected]> |
On 17/02/17 08:27, Nathan Scott wrote:
> Hi Ken,
>
> ----- Original Message -----
>> I'm seeing two classes of failure (across 4 platforms):
>>
>> 1. most output missing, and
>>
>> 2. differences in the timestamp (fractional seconds 0 on some platforms)
>>
>> Example .out.bad files for the two cases are attached.
>>
>
> The latter is fixed now (reproduced it here using PCP_PYTHON_PROG set
> to python2) - but the no-output-at-all case is a total mystery.
Thanks.
The former is probably explained by this from 1068.full, which I suspect
has also been fixed recently ...
--- pmrep stderr --
Traceback (most recent call last):
File "/usr/bin/pmrep", line 1622, in <module>
P.execute()
File "/usr/bin/pmrep", line 1008, in execute
self.report(self.pmfg_ts())
File "/usr/bin/pmrep", line 1029, in report
self.write_zabbix(tstamp)
File "/usr/bin/pmrep", line 1568, in write_zabbix
ts = (self.pmfg_ts() - datetime.fromtimestamp(0)).total_seconds()
AttributeError: 'datetime.timedelta' object has no attribute 'total_seconds'
-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links:
You receive all messages sent to this group.
View/Reply Online (#15204): https://groups.io/g/pcp/message/15204
View All Messages In Topic (3): https://groups.io/g/pcp/topic/4386752
Mute This Topic: https://groups.io/mt/4386752?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
-=-=-=-=-=-=-=-=-=-=-=-