summaryrefslogtreecommitdiffabout
path: root/src/varnish_mib.mib2c
Side-by-side diff
Diffstat (limited to 'src/varnish_mib.mib2c') (more/less context) (ignore whitespace changes)
-rw-r--r--src/varnish_mib.mib2c10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/varnish_mib.mib2c b/src/varnish_mib.mib2c
index 798fc53..6df10ec 100644
--- a/src/varnish_mib.mib2c
+++ b/src/varnish_mib.mib2c
@@ -70,7 +70,7 @@ $vars{'varnish_translate'} = sub {
backendConnReuses => 'backend_reuse',
backendConnRecycled => 'backend_recycle',
backendConnUnused => 'backend_toolate',
- totalSessions => 's_sess ',
+ totalSessions => 's_sess',
totalRequests => 's_req ',
totalPipe => 's_pipe',
totalPass => 's_pass',
@@ -146,13 +146,7 @@ init_$modulename(void)
netsnmp_register_scalar(
netsnmp_create_handler_registration("$i", handle_$i,
${i}_oid, OID_LENGTH(${i}_oid),
- @if !$i.settable@
- HANDLER_CAN_RONLY
- @end@
- @if $i.settable@
- HANDLER_CAN_RWRITE
- @end@
- ));
+ HANDLER_CAN_RONLY));
@end@
varnish_snmp_init();
}

Return to:

Send suggestions and report system problems to the System administrator.