aboutsummaryrefslogtreecommitdiff
path: root/src/varnish_mib.mib2c
AgeCommit message (Collapse)AuthorFiles
2016-04-27Support for Varnish 4.1Sergey Poznyakoff1
* NEWS: Update. * bootstrap: Rewrite as a Perl script; create m4/varnish_mib.m4 from src/varnish_mib.mib2c * configure.ac: Version 1.1.90 Use AC_CHECK_VSC_C_MAIN_MEMBERS Define VARNISHAPI_MAJOR, VARNISHAPI_MINOR and VARNISHAPI_PATCH for use in preprocessor directives. * src/betab.c [VARNISHAPI_MINOR] (VSC_POINT_FMT): Define depending on Varnish API minor version. * src/varnish_mib.mib2c (varnish_translate_table): New variable. It is used both by varnish_translate in this module, and by bootstrap to produce a list of macros checking for members of struct VSC_C_main. Output preprocessor conditionals in right places. * src/vcli.c (vcli_connect): Fix cc warnings. * src/varnish-mib.8: Update.
2015-02-02Don't exit if unable to open Varnish memory fileSergey Poznyakoff1
* NEWS: Update. * configure.ac: Version 1.0.90 * src/ban.c (banTable_load): Check if vd is available. * src/betab.c: Likewise. * src/varnish_mib.mib2c (varnish_snmp_init): Don't open vd right now. * Makefile.am: Update copyright year. * README: Update copyright year. * git2chg.awk: Update copyright year. * src/Makefile.am: Update copyright year. * src/auth.c: Update copyright year. * src/varnish-mib.8: Update copyright year. * src/vcli.c: Update copyright year.
2014-11-28Clean up debugging output, document debugging tokens.Sergey Poznyakoff1
2014-11-28Include local.h from varnish_mib.hSergey Poznyakoff1
2014-11-28Remove banTableTimeout oid.Sergey Poznyakoff1
2014-11-28Implement backend statistics table.Sergey Poznyakoff1
* src/betab.c: New file. * src/Makefile.am (varnish_mib_la_SOURCES): Add betab.c * src/VARNISH-MIB.txt: Add backendTable oids * src/varnish_mib.mib2c: Implement totalPipeHeaderBytes, totalPipeIn, totalPipeOut, backendRequests and backendTable. * src/varnish-mib.8: Document changes.
2014-11-27Make varnish CLI timeout configurable.Sergey Poznyakoff1
* src/ban.c (varnish_mib_timeout_parser): New function. * src/varnish_mib.mib2c (varnish_mib_timeout_parser): New proto. (init_$modulename): Register config handler for varnishCLIPortTimeout. * src/vcli.c (vcli_timeout): Change type to unsigned. (varnish_vcli_timeout_parser): New function. * src/varnish-mib.8: Update.
2014-11-26Implement control over the banTable update interval (timeout)Sergey Poznyakoff1
* configure.ac: Version 0.90.90 * NEWS: Likewise. * src/VARNISH-MIB.txt: New oid "agent.banTableTimeout" * src/ban.c: Implement setting the banTable timeout. * src/varnish_mib.mib2c: Register new configuration statement varnishBanTableTimeout; handle agent.banTableTimeout OID. * src/varnish-mib.8: Update.
2014-11-26Implement table of bansSergey Poznyakoff1
* src/varnish_mib.h: Removed; from now on it is generated from varnish_mib.mib2c in pair with varnish_mib.c * src/.gitignore: Add varnish_mib.h * src/Makefile.am: Change rules accordingly. * src/VARNISH-MIB.txt: Define table of bans. * src/ban.c: Implement table of bans. * src/varnish_mib.mib2c: Implement table support.
2014-11-24Add MIB subtree for bansSergey Poznyakoff1
2014-11-24Add more objects to the MIBSergey Poznyakoff1
2014-11-19Use 64-bit countersSergey Poznyakoff1
* src/Makefile.am (varnish_mib.c): Depend on VARNISH-MIB.txt * src/VARNISH-MIB.txt: Change all counters to 64 bit Fix time-stamp-format variable. * src/varnish_mib.mib2c: Handle ASN_COUNTER64
2014-11-19Fix comments in src/varnish_mib.mib2cSergey Poznyakoff1
2014-11-19New rw snmp variable clientBan allows to set bans via snmpSergey Poznyakoff1
* src/varnish_mib.mib2c: Add support for rw variables. * src/Makefile.am (varnish_mib_la_SOURCES): Add new files. * src/VARNISH-MIB.txt (clientBan): New OID. * src/auth.c: New file. * src/ban.c: New file. * src/sha256.c: New file. * src/sha256.h: New file. * src/varnish_mib.h: New file. * src/vcli.c: New file.
2014-11-17Check if vsm is abandoned, reopen if so.Sergey Poznyakoff1
2014-11-17Minor changesSergey Poznyakoff1
* src/Makefile.am (.mib2c.c): Fix MIBDIRS * src/varnish_mib.mib2c: Don't check for $i.settable - all OIDs are read-only.
2014-11-16Minor changesSergey Poznyakoff1
2014-11-15Initial commitSergey Poznyakoff1

Return to:

Send suggestions and report system problems to the System administrator.