Skip to content

Commit

Permalink
Fixed previous commit.
Browse files Browse the repository at this point in the history
  • Loading branch information
descilla committed Aug 26, 2016
1 parent 83863de commit f4fed5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion collectd/templates/dhcp.py.j2
Expand Up @@ -102,7 +102,7 @@ def read(data=None):
lfile = open(leasefile, 'r')
all_leases = parse_leases(lfile)
lfile.close()
count_active, count_touch, subnet_counter = count_active_leases(all_leases, datetime.datetime.utcnow(), config)
count_active, count_touch, subnet_counter = count_active_leases(all_leases, datetime.datetime.utcnow().strftime("%Y/%m/%d %H:%M:%S"), config)
vl = collectd.Values(type='dhcp_leases')
vl.plugin='dhcp'
vl.type_instance = 'all_interfaces'
Expand Down

0 comments on commit f4fed5c

Please sign in to comment.