]> git.pld-linux.org Git - packages/cacti-template-mailgraph.git/commitdiff
- create readme
authorElan Ruusamäe <glen@pld-linux.org>
Mon, 12 Jul 2010 14:13:42 +0000 (14:13 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    README -> 1.1
    cacti-template-mailgraph.spec -> 1.2

README [new file with mode: 0644]
cacti-template-mailgraph.spec

diff --git a/README b/README
new file mode 100644 (file)
index 0000000..d92550e
--- /dev/null
+++ b/README
@@ -0,0 +1,31 @@
+Setup
+~~~~~
+
+To install this template:
+
+1. Start mailgraph, be sure that .rrd files are created in /var/lib/mailgraph,
+verify permissions if they do not get created.
+
+2. adjust permissions that webserver is able to read the mailgraph .rrd files.
+
+3. Create graph via "New Graphs":
+select "Postfix Processing (Mailgraph)" for host and hit "Create"
+
+3. Change data templates point to .rrd files:
+for "Postfix Processing (Mailgraph)" choose /var/lib/mailgraph/mailgraph.rrd
+for "Postfix Processing Virus (Mailgraph)" choose /var/lib/mailgraph/mailgraph_virus.rrd
+
+Enjoy!
+
+Multiple graphs
+~~~~~~~~~~~~~~~
+
+To collect multiple graphs from different hosts, use syslog to route the mail
+logs to your cacti host.
+
+Use --host=HOST and --logfile and --daemon-rrd=DIR options to combine results
+for your needs.
+
+You could even merge results from mailhost1 and mailhost2 if you write their
+logs to single file with syslog and do not specify --host argument to
+mailgraph.pl daemon.
index 5330a72874474f109b330e2a0effbd58744c4e0d..034c2aed86999e2cecc8ef28d2ad09b512bb9486 100644 (file)
@@ -2,12 +2,13 @@
 Summary:       Mailgraph statistics template for Cacti
 Name:          cacti-template-%{template}
 Version:       0.1
-Release:       0.2
+Release:       0.3
 License:       GPL v2
 Group:         Applications/WWW
 Source0:       cacti_data_template_postfix_processing_mailgraph.xml
 Source1:       cacti_data_template_postfix_processing_virus_mailgraph.xml
 Source2:       cacti_graph_template_postfix_processing_mailgraph.xml
+Source3:       README
 URL:           http://forums.cacti.net/about1571.html
 BuildRequires: rpmbuild(macros) >= 1.554
 Requires:      cacti
@@ -26,6 +27,7 @@ Template for Cacti - Mail statistics via mailgraph rrd files.
 cp -a %{SOURCE0} .
 cp -a %{SOURCE1} .
 cp -a %{SOURCE2} .
+cp -a %{SOURCE3} .
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -42,4 +44,5 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
+%doc README
 %{resourcedir}/*.xml
This page took 0.09879 seconds and 4 git commands to generate.