diff --git a/bin/nmis.pl b/bin/nmis.pl index 7a25534..5527259 100755 --- a/bin/nmis.pl +++ b/bin/nmis.pl @@ -4681,7 +4681,7 @@ sub runServices { $status{$service}->{description} ||= $ST->{$service}->{Description}; # but that's free-form $status{$service}->{last_run} ||= time; - writeHashtoFile(file => $statusfn, data => $status{$service}); + writeHashtoFile(file => $statusfn, data => $status{$service}, json => 1); setFileProt($statusfn); }