Skip to content
Snippets Groups Projects
Commit c1c7d1e3 authored by Sergios Aftsidis's avatar Sergios Aftsidis
Browse files

Add cases for exception prevention

parent 97881c08
Branches master
No related tags found
No related merge requests found
......@@ -31,7 +31,7 @@ def graph_ifce(ifce):
rrdtool.update(
str(rrdpath),
str('--template'), str('ds0:ds1'),
str("%s"%int(time.time())+":" +values[0]+":"+values[1]))
str("%s"%int(time.time())+":" +(values[0] or '')+":"+(values[1] or '')))
def graphall():
for ifce in MONITORED_IFCES:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment