files in /var/tmp maybe inaccessible since the nrpe unit file since stretch has PrivateTmp=true and the state file actually should be in /var/lib anyway
--- a/send-config.pl Fri May 02 17:16:41 2014 +0200
+++ b/send-config.pl Mon Jul 24 14:24:19 2017 +0200
@@ -96,7 +96,7 @@
my $stamp =
$config->{_}->{stamp}
? $config->{_}->{stamp}
- : '/var/tmp/get-config.stamp';
+ : '/var/lib/get-config.stamp';
debug(
"CONF remote username: $username",
@@ -315,7 +315,7 @@
username = root
path = /root/Configs/Hosts/
- stamp = /var/tmp/get-config.stamp
+ stamp = /var/lib/get-config.stamp
=head1 FILES