tech-sketch / zabbix_aws_template

This is AWS monitoring integration Zabbix templates.
49 stars 29 forks source link

tzname PDT identified but not understood in Dashboard script #22

Closed dragan1979 closed 6 years ago

dragan1979 commented 6 years ago
/usr/lib/python2.7/site-packages/dateutil/parser/_parser.py:1204: UnknownTimezoneWarning: tzname PDT identified but not understood.  Pass `tzinfos` argument in order to correctly return a timezone-aware datetime.  In a future version, this will raise an exception.
  category=UnknownTimezoneWarning)
response":"success","info":"processed: 0; failed: 0; total: 0; seconds spent: 0.000002"}
_parser.py 

 elif res.tzname:
            # tz-like string was parsed but we don't know what to do
            # with it
            warnings.warn("tzname {tzname} identified but not understood.  "
                          "Pass `tzinfos` argument in order to correctly "
                          "return a timezone-aware datetime.  In a future "
                          "version, this will raise an "
                          "exception.".format(tzname=res.tzname),
                          category=UnknownTimezoneWarning)
            aware = naive
dragan1979 commented 6 years ago

turned out i had CET time zone, switching it to PDT solved issue, but although i set discovery to True, still

response":"success","info":"processed: 0; failed: 0; total: 0; seconds spent: 0.000002"}