diff options
Diffstat (limited to 'README')
-rw-r--r-- | README | 39 |
1 files changed, 24 insertions, 15 deletions
@@ -14,20 +14,20 @@ the section GIT SOURCES, below. * Overview -Varnish-mib is a dynamically loadable object module for net-snmp -snmpd, that provides access to Varnish Cache statistics. It uses -MIBs from varnishsnmp project (http://varnishsnmp.sourceforge.net). +Varnish-mib is an agent for net-snmp snmpd daemon, that provides +access to Varnish Cache statistics. It uses MIBs from varnishsnmp +project (http://varnishsnmp.sourceforge.net). This and other versions of Varnish-mib is available for download from <http://download.gnu.org.ua/release/varnish-mib>. The following table describes the relation between the release number and the version of Varnish API version it is written for: - 1.0, 1.1 Varnish 4.0 and 4.1 - 1.2 Varnish 4.0, 4.1, 5.1 - 2.0 Varnish 5.2.0 - 3.0 Varnish 5.2.1 - 3.1 (this release) Varnish 5.2.1 to 6.0.2 + 1.0, 1.1 Varnish 4.0 and 4.1 + 1.2 Varnish 4.0, 4.1, 5.1 + 2.0 Varnish 5.2.0 + 3.0 Varnish 5.2.1 + 3.1, 4.0 (this release) Varnish 5.2.1 to 6.0.2 * Installation @@ -38,20 +38,29 @@ installed. The installation sequence is as usual: make make install -(the last step normally requires root privileges). For generic -options to configure, please see the file INSTALL. Package-specific -options are: +(the last step normally requires root privileges). +Read the init/README file to select the initialization script for your +distribution and install it following the instructions from this file. -** --with-dlmoddir=DIR - -Install varnish_mod.so in DIR. By default it is installed in -$PREFIX/lib/snmp, where $PREFIX stands for the installation prefix. +For generic options to configure, please see the file INSTALL. +Package-specific options are: ** --with-mibdir=DIR Install MIBs (the file VARNISH-MIB.txt in DIR. By default it is installed in $prefix/share/snmp. +To start the daemon, add the following line to your snmpd.conf file: + + master agentx + +Then start the agent: + + varnish-mib + +See the varnish-mib(8) manual page for detailed discussion of command +line options and configuration directives available. + * GIT SOURCES If you cloned the sources from GIT, you will need the following |