X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=gnt-i;h=6b1dade6aae7a9182664f0efd66b914aed83ff35;hb=e0d5442de4fbb98d3f2a890faab150ab00b8e0da;hp=2f4c86bc9236af6f565fd1a643e26bd1bdf8ea2f;hpb=7d9deebf92c33d0790f6ec5703d617be69d3e745;p=gnt-info diff --git a/gnt-i b/gnt-i index 2f4c86b..6b1dade 100755 --- a/gnt-i +++ b/gnt-i @@ -220,7 +220,7 @@ foreach my $i ( 0 .. $#{ $lines->{line} } ) { next unless $last_lines; my $last_line = $last_lines->[$i]; - my @c = ( 'host', ps_cols_visible ); + my @c = ( 'instance', ps_cols_visible ); my @influx; foreach my $j ( 0 .. $#$line ) { #push @influx, $c[$j] . '=' . $line->[$j]; @@ -236,4 +236,4 @@ foreach my $i ( 0 .. $#{ $lines->{line} } ) { store $lines->{line}, '/dev/shm/ganeti.last.storable'; -system "curl -i -XPOST 'http://127.0.0.1:8186/write?db=ganeti' --data-binary '@/dev/shm/ganeti.influx'"; +#system "curl -i -XPOST 'http://127.0.0.1:8186/write?db=ganeti' --data-binary '@/dev/shm/ganeti.influx'";