packages: cacti-template-mailgraph/cacti-template-mailgraph.spec, cacti-tem...

glen glen at pld-linux.org
Mon Jul 12 16:13:47 CEST 2010


Author: glen                         Date: Mon Jul 12 14:13:47 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- create readme

---- Files affected:
packages/cacti-template-mailgraph:
   cacti-template-mailgraph.spec (1.1 -> 1.2) , README (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/cacti-template-mailgraph/cacti-template-mailgraph.spec
diff -u packages/cacti-template-mailgraph/cacti-template-mailgraph.spec:1.1 packages/cacti-template-mailgraph/cacti-template-mailgraph.spec:1.2
--- packages/cacti-template-mailgraph/cacti-template-mailgraph.spec:1.1	Mon Jul 12 15:53:40 2010
+++ packages/cacti-template-mailgraph/cacti-template-mailgraph.spec	Mon Jul 12 16:13:42 2010
@@ -3,12 +3,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
@@ -27,6 +28,7 @@
 cp -a %{SOURCE0} .
 cp -a %{SOURCE1} .
 cp -a %{SOURCE2} .
+cp -a %{SOURCE3} .
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -43,6 +45,7 @@
 
 %files
 %defattr(644,root,root,755)
+%doc README
 %{resourcedir}/*.xml
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -51,6 +54,8 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2010/07/12 14:13:42  glen
+- create readme
+
 Revision 1.1  2010/07/12 13:53:40  glen
 - new, modified by Algirdas Stabingis
-

================================================================
Index: packages/cacti-template-mailgraph/README
diff -u /dev/null packages/cacti-template-mailgraph/README:1.1
--- /dev/null	Mon Jul 12 16:13:47 2010
+++ packages/cacti-template-mailgraph/README	Mon Jul 12 16:13:42 2010
@@ -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.
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/cacti-template-mailgraph/cacti-template-mailgraph.spec?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list