SPECS: cacti-addons.spec - add DNS_Server_Response_Time, adapterized

wolvverine wolvverine at pld-linux.org
Sat Dec 15 23:36:25 CET 2007


Author: wolvverine                   Date: Sat Dec 15 22:36:25 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- add DNS_Server_Response_Time, adapterized

---- Files affected:
SPECS:
   cacti-addons.spec (1.3 -> 1.4) 

---- Diffs:

================================================================
Index: SPECS/cacti-addons.spec
diff -u SPECS/cacti-addons.spec:1.3 SPECS/cacti-addons.spec:1.4
--- SPECS/cacti-addons.spec:1.3	Sat Dec 15 22:44:08 2007
+++ SPECS/cacti-addons.spec	Sat Dec 15 23:36:20 2007
@@ -17,6 +17,12 @@
 # Adding template from command line - http://forums.cacti.net/about8827.html
 Source2:	http://forums.cacti.net/files/add_template.zip
 # Source2-md5:	a38f01091cb4bf1dbd86db29d6c4c966
+# DNS Server Response Time - http://forums.cacti.net/about6332.html
+#TODO - patch path
+Source3:	http://forums.cacti.net/files/cacti_graph_template_dnsresponsetime_204__fixed_timeout_and_interval_161.xml
+# Source3-md5:	abf46930508377099b37d696648ce7de
+Source4:	http://forums.cacti.net/files/dnsresponsetimeloop_115.txt
+# Source4-md5:	0844f7d58ff77904416dee5b120c31cf
 URL:		http://www.debianhelp.co.uk/cactitemplates.htm
 BuildRequires:	rpm-perlprov
 Requires:	cacti
@@ -52,12 +58,24 @@
 Group:		Applications/WWW
 
 %description cmd_line_add_template
-Adding template for Cacti from command line.
-Usage : /usr/share/cacti/cacti/add_template.php your_template.xml 
+Adding template for Cacti from command line. Usage :
+/usr/share/cacti/cacti/add_template.php your_template.xml
 
 %description cmd_line_add_template -l pl.UTF-8
-Dodawanie template dla cacti z lini poleceń.
-Usage : /usr/share/cacti/cacti/add_template.php your_template.xml
+Dodawanie template dla cacti z lini poleceń. Usage :
+/usr/share/cacti/cacti/add_template.php your_template.xml
+
+%package DNS_Server_Response_Time
+Summary:	Cacti - Measure the response times of multiple internal and external DNS Resolver
+Summary(pl.UTF-8):	Cacti -
+Group:		Applications/WWW
+
+%description DNS_Server_Response_Time
+Measure the response times of multiple internal and external DNS
+Resolvers. The Perl script launches queries repeatedly (after holdoff
+delay between queries) during Cacti default sample intervall of 300
+seconds and the returns minimum, median, average and maximum response
+times.
 
 %prep
 
@@ -70,6 +88,9 @@
 
 unzip -x -d $RPM_BUILD_ROOT%{webcactiroot} %{SOURCE2}
 
+install %{SOURCE4} $RPM_BUILD_ROOT%{webcactiscriptqueriesdir}/cacti_graph_template_dnsresponsetime.xml
+install %{SOURCE4} $RPM_BUILD_ROOT%{webcactiscriptdir}/dnsResponseTime.pl
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -77,13 +98,17 @@
 
 %files Cacti_Poller_Statistics
 %defattr(644,root,root,755)
-%{webcactiscriptdir}/ss_poller.php
+%attr(755,root,root) %{webcactiscriptdir}/ss_poller.php
 %{webcactiscriptqueriesdir}/cacti_host_template_local_cacti_polling_host.xml
 
 %files cmd_line_add_template
 %defattr(644,root,root,755)
 %attr(755,root,root) %{webcactiroot}/cacti/add_template.php
 
+%files DNS_Server_Response_Time
+%defattr(644,root,root,755)
+%attr(755,root,root) %{webcactiscriptdir}/dnsResponseTime.pl
+%{webcactiscriptqueriesdir}/cacti_graph_template_dnsresponsetime.xml
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -91,6 +116,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.4  2007-12-15 22:36:20  wolvverine
+- add DNS_Server_Response_Time, adapterized
+
 Revision 1.3  2007-12-15 21:44:08  wolvverine
 - add md5
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/cacti-addons.spec?r1=1.3&r2=1.4&f=u



More information about the pld-cvs-commit mailing list