Skip to content

Commit

Permalink
Trim down syslog message from new fsmon plugin
Browse files Browse the repository at this point in the history
Signed-off-by: Joachim Wiberg <[email protected]>
  • Loading branch information
troglobit committed Dec 20, 2023
1 parent 44ba5da commit 2a3579d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/fsmon.c
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ static void cb(uev_t *w, void *arg, int events)
fused = f.f_files - f.f_ffree;
flevel = (double)(fused) / (double)(f.f_files);

LOG("Fsmon %s: blocks %.0f%%, inodes %.0f%%, warning: %.0f%%, critical: %.0f%%",
fsname, blevel * 100, flevel * 100, warning * 100, critical * 100);
// LOG("Fsmon %s: blocks %.0f%%, inodes %.0f%%, warning: %.0f%%, critical: %.0f%%",
// fsname, blevel * 100, flevel * 100, warning * 100, critical * 100);
if (logmark) {
const char *ro = "(read-only";

Expand Down

0 comments on commit 2a3579d

Please sign in to comment.