r4009 - trunk/varnish-tools/nagios
tfheen at projects.linpro.no
tfheen at projects.linpro.no
Mon Mar 30 13:31:06 CEST 2009
Author: tfheen
Date: 2009-03-30 13:31:06 +0200 (Mon, 30 Mar 2009)
New Revision: 4009
Modified:
trunk/varnish-tools/nagios/check_varnish.c
Log:
Fix up for newer MAC_STAT
Modified: trunk/varnish-tools/nagios/check_varnish.c
===================================================================
--- trunk/varnish-tools/nagios/check_varnish.c 2009-03-30 10:47:49 UTC (rev 4008)
+++ trunk/varnish-tools/nagios/check_varnish.c 2009-03-30 11:31:06 UTC (rev 4009)
@@ -180,7 +180,7 @@
value = total ? (100 * VSL_stats->sm_balloc / total) : 0;
info = "Cache file usage";
}
-#define MAC_STAT(n, t, f, d) \
+#define MAC_STAT(n, t, f, i, d) \
else if (strcmp(param, #n) == 0) { \
value = VSL_stats->n; \
info = d; \
More information about the varnish-commit
mailing list