Merge branch 'master' of github.com:ffzg/gnt-info
[gnt-info] / gnt-i
diff --git a/gnt-i b/gnt-i
index 2f4c86b..6b1dade 100755 (executable)
--- 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'";