Skip to content
Permalink
Browse files

Add perfdata_cutoff to NEMS SST.

  • Loading branch information...
NEMS Linux
NEMS Linux committed Sep 10, 2019
1 parent 3592214 commit 06c479ea68ac25d26cbcff8e69f8eb2438bee061
Showing with 3 additions and 0 deletions.
  1. +3 −0 perfdata-purge
@@ -20,6 +20,9 @@
$output .= $line;
}
file_put_contents($file,$output);
echo 'Purged all perfdata that is older than ' . $cutoff . ' days.';
} else {
echo 'There was no perfdata older than ' . $cutoff . ' days. Nothing purged.';
}
}
} else {

0 comments on commit 06c479e

Please sign in to comment.
You can’t perform that action at this time.