From: Dobrica Pavlinusic Date: Thu, 8 Dec 2016 20:01:43 +0000 (+0100) Subject: include influx and debug info in pid X-Git-Url: http://git.rot13.org/?p=gnt-info;a=commitdiff_plain;h=e9018cdd7301c77a56af8d99a18bf4dbcf0f3c4e include influx and debug info in pid --- diff --git a/gnt-monitor b/gnt-monitor index 317d4d7..b8a85c8 100755 --- 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( @_ ) : {} };