Changes of Revision 5
[-] [+] | Changed | nagios-plugins-varnish.spec |
[-] [+] | Added | nagios-plugins-varnish_MAC_STAT.patch ^ |
@@ -0,0 +1,17 @@ +--- check_varnish.c.orig 2010-05-05 22:36:51.015990238 +0200 ++++ check_varnish.c 2010-05-05 22:41:25.366256406 +0200 +@@ -180,13 +180,7 @@ + value = total ? (100 * VSL_stats->sm_balloc / total) : 0; + info = "Cache file usage"; + } +-#define MAC_STAT(n, t, f, d) \ +- else if (strcmp(param, #n) == 0) { \ +- value = VSL_stats->n; \ +- info = d; \ +- } +-#include "stat_field.h" +-#undef MAC_STAT ++#include "stats.h" + else + printf("Unknown parameter '%s'\n", param); + |