Skip to content
Snippets Groups Projects
Commit d223d1c3 authored by Edileuton Henrique de Oliveira's avatar Edileuton Henrique de Oliveira
Browse files

agent: Fix collect time on net-usage inventory

parent 43298bcd
No related branches found
No related tags found
No related merge requests found
...@@ -84,6 +84,11 @@ function xml_data_generator() ...@@ -84,6 +84,11 @@ function xml_data_generator()
else else
INTERVALID=$(cut -d" " -f1 <<< $line) INTERVALID=$(cut -d" " -f1 <<< $line)
while test $COUNT -lt $INTERVALID -a $COUNT -lt 288; do
COUNT=$((${COUNT} + 1))
increment_time
done
if test $COUNT -lt 288; then if test $COUNT -lt 288; then
xml_print xml_print
COUNT=$((${COUNT} + 1)) COUNT=$((${COUNT} + 1))
......
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