]> git.pld-linux.org Git - packages/cacti-template-varnish.git/commitdiff
- create README from the rar file
authorElan Ruusamäe <glen@pld-linux.org>
Wed, 14 Apr 2010 21:22:38 +0000 (21:22 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    cacti-template-varnish.spec -> 1.6

cacti-template-varnish.spec

index c4f219a5f0f5f7b7e47ec9514afc566fce5ee033..3bfa4b2f9880b06462082b7a68f04aa3ddcc4b8a 100644 (file)
@@ -2,7 +2,7 @@
 Summary:       Varnish Cache statistics template for Cacti
 Name:          cacti-template-%{template}
 Version:       0.0.3
-Release:       0.5
+Release:       0.6
 License:       GPL v2
 Group:         Applications/WWW
 Source1:       get_varnish_stats.py
@@ -21,14 +21,27 @@ BuildRoot:  %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 %description
 Template for Cacti - Varnish Cache statistics.
 
-Uses advanced template from
+%prep
+%setup -qcT
+
+cat > README <<'EOF'
+Uses advanced template from:
 <http://forums.cacti.net/viewtopic.php?p=182152>
 
-Combines script to pull data via varnish telnet port from
+Combines script to pull data via Varnish admin port from
 <http://forums.cacti.net/viewtopic.php?t=31260>
 
-%prep
-%setup -qcT
+How to install
+==============
+
+1 - Import cacti_host_template_varnish.xml to Cacti (tested with 0.8.7e)
+2 - Copy get_varnish_stats.py to "scripts"
+
+###############################################################################
+IMPORTANT: You need to recompile spine with "./configure --with-results-buffer=2048"
+###############################################################################
+
+EOF
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -44,5 +57,6 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
+%doc README
 %attr(755,root,root) %{scriptsdir}/get_varnish_stats.py
 %{resourcedir}/*.xml
This page took 0.091796 seconds and 4 git commands to generate.