Search
j0ke.net Open Build Service
>
Projects
>
ha
>
nagios-plugins-varnish
> nagios-plugins-varnish_MAC_STAT.patch
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File nagios-plugins-varnish_MAC_STAT.patch of Package nagios-plugins-varnish (Revision 5)
Currently displaying revision
5
,
show latest
--- 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);