projects
/
gnt-info
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9795f89
)
include influx and debug info in pid
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Thu, 8 Dec 2016 20:01:43 +0000
(21:01 +0100)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Thu, 8 Dec 2016 20:01:43 +0000
(21:01 +0100)
gnt-monitor
patch
|
blob
|
history
diff --git
a/gnt-monitor
b/gnt-monitor
index
317d4d7
..
b8a85c8
100755
(executable)
--- a/
gnt-monitor
+++ b/
gnt-monitor
@@
-13,6
+13,8
@@
my $RACK = $ENV{RACK};
my $node = `hostname -s`;
chomp $node;
+warn $0 = "gnt-monitor\@$node $DC $RACK $INFLUX $INTERVAL $DEBUG";
+
use Data::Dump;
sub XXX { $DEBUG ? warn "XXX ",Data::Dump::dump( @_ ) : {} };