projects
/
gnt-info
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
report failures from smart log
[gnt-info]
/
gnt-monitor
diff --git
a/gnt-monitor
b/gnt-monitor
index
db88f06
..
3f1dacc
100755
(executable)
--- a/
gnt-monitor
+++ b/
gnt-monitor
@@
-184,7
+184,7
@@
foreach my $instance ( keys %$stat ) {
close($fh);
close($fh);
-if ( system( 'curl', '-XPOST', $INFLUX, '--data-binary', '@/dev/shm/gnt-monitor.influx' ) == 0 ) {
+if ( system( 'curl', '-
s', '-
XPOST', $INFLUX, '--data-binary', '@/dev/shm/gnt-monitor.influx' ) == 0 ) {
} else {
rename '/dev/shm/gnt-monitor.influx', '/dev/shm/gnt-monitor.influx.bug.' . scalar glob '/dev/shm/gnt-monitor.influx.bug.*';
warn "curl failed: $? $!";
} else {
rename '/dev/shm/gnt-monitor.influx', '/dev/shm/gnt-monitor.influx.bug.' . scalar glob '/dev/shm/gnt-monitor.influx.bug.*';
warn "curl failed: $? $!";