Age | Commit message (Collapse) | Author | Files |
|
* Makefile.am: Add init.
* NEWS: Update.
* README: Mention initialization files from init.
* configure.ac: Version 4.0
* init/README: New file.
* init/debian: New file.
* init/rh: New file.
* init/slackware: New file.
* init/slackware.genrc: New file.
* init/varnish-mib.service: New file.
* src/main.c: Minor fixes.
|
|
|
|
* NEWS: Document new features.
* configure.ac: Raise version number.
* src/.gitignore: Update.
* src/Makefile.am: Build as an agent.
* src/main.c: New file.
* src/modconf.c: Remove "varnish" prefix from the configuration
directives.
(varnish_mib_config_init): Use program name as the base for the
configuration file name.
(varnish_mib_config_help): New function.
* src/modconf.h (progname, pid_file, pid_file_immutable): New externs.
* src/varnish-mib.8: Rewrite.
* src/varnish_mib.mib2c (varnish_snmp_init)
(varnish_snmp_deinit): Remove.
(post_config): Extern. Called from main().
|
|
|
|
* configure.ac: Raise version number.
* NEWS: Update.
* README: Update.
* src/varnish-mib.8: Update.
|
|
* src/betab.c (backend_dfn): Change type of the vpt
array. All uses updated.
(backend_clear): No need to release vpt entries now.
* src/varnish_mib.mib2c (VarnishMib::MIBTable): Change data table
to keep entries of const volatile uint64_t *.
(varnish_var_lookup, varnish_get_oid, dict_install): Reflect that change.
(vd): Rename to vsm.
(dict_load): Change arguments to VSC_Iter
(post_config): VSC_New takes no arguments.
|
|
|
|
|
|
* .gitignore: Update.
* Makefile.am (EXTRA_DIST): Add perl modules from lib/VarnishMib
* lib/VarnishMib/HashTable.pm: New file.
* lib/VarnishMib/MIBTable.pm: New file.
* src/Makefile.am (varnish_mib_la_SOURCES): Remove statdict.
(.mib2c.c): Set PERL5LIB
* src/betab.c (backend_dfn.vpt): Remove const qualifier.
(backend_register): Store in vpt cloned points.
(backend_clear): Destroy points in vpt.
* src/statdict.c: Remove.
* src/varnish_mib.mib2c: Use VarnishMib::MIBTable.
Set mib2c variable $varnish_hash_table to an instance of VarnishMib::MIBTable.
Use it to generate lookup table code section.
(varnish_var_lookup, varnish_get_oid)
(dict_clear, dict_install, dict_load): New functions.
(handle_$i): Use direct addressing to obtain a vpt.
Fix handling of ASN_TIMETICKS.
|
|
|
|
|
|
Use consistend debug token names. Make sure configuration settings are
honored by opening VSM and doing initial loading after the configuration
has been read and processed. Avoid inifinite recursion in dict_load.
* src/modconf.c: New file.
* src/modconf.h: New file.
* src/vclient.h: New file.
* src/Makefile.am: Add new files.
* src/VARNISH-MIB.txt: Minor changes in descriptions.
* src/backend.h (backend_collect_addr): Change prototype.
* src/ban.c: Remove configuration management functions.
* src/betab.c: Likewise.
* src/statdict.c (dict_lookup): Remove debugging kludge.
(dict_load): Don't call backend_collect_addr. It is responsibility
of the caller.
* src/varnish_mib.mib2c: Rearrange includes. Open VSM after
parsing configuration.
(init_$modulename): Allow loading of one instance only.
* src/vcli.c: Rewrite socket support.
|
|
* bootstrap: Remove generation of m4/varnish_mib.m4
* src/varnish_mib.mib2c: Remove stray comment.
|
|
* src/Makefile.am: Make sure VARNISH-MIB.txt is read from the src
directory.
* src/VARNISH-MIB.txt: Add new mibs.
* src/varnish_mib.mib2c: Add new objects. Make sure objects
marked with varnish_type NULL will never be returned.
|
|
* configure.ac (AC_CHECK_VSC_C_MAIN_MEMBERS): Remove.
* src/.gitignore: Update.
* src/Makefile.am (varnish_mib_la_SOURCES): Add new sources.
* src/backend.h: New file.
* src/belex.l: New file.
* src/statdict.c: New file.
* src/ban.c: Rewrite.
* src/betab.c: Rewrite.
* src/varnish_mib.mib2c: Rewrite.
* src/vcli.c: Rewrite.
|
|
* 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.
|
|
|
|
* configure.ac (MIBDIR): Change default value
* src/Makefile.am (mib_DATA): Set to VARNISH-MIB.txt
* src/VARNISH-MIB.txt
|
|
* 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.
|
|
|
|
|
|
|
|
* 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.
|
|
* 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.
|
|
* 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.
|
|
* 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.
|
|
|
|
|
|
* 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
|
|
|
|
|
|
|
|
|
|
* 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.
|
|
|
|
* src/Makefile.am (.mib2c.c): Fix MIBDIRS
* src/varnish_mib.mib2c: Don't check for $i.settable - all OIDs
are read-only.
|
|
|
|
|
|
|