]> git.pld-linux.org Git - packages/cacti-template-nagiostats.git/commitdiff
- add host template
authorElan Ruusamäe <glen@pld-linux.org>
Mon, 13 Dec 2010 08:42:33 +0000 (08:42 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    cacti-template-nagiostats.spec -> 1.2
    cacti_host_template_nagios_statistics.xml -> 1.1

cacti-template-nagiostats.spec
cacti_host_template_nagios_statistics.xml [new file with mode: 0644]

index a180dff6a5182b5c49164efca12d345dcc66d111..1b13e78a20db0a93a5f6c149ad3fa55991f258e3 100644 (file)
@@ -9,6 +9,7 @@ License:        GPL v2
 Group:         Applications/WWW
 Source0:       http://forums.cacti.net/download/file.php?id=18185#/nacti.tar.gz
 # Source0-md5: 758d07f15a58c845169b3359bce837c5
+Source1:       cacti_host_template_nagios_statistics.xml
 URL:           http://forums.cacti.net/about33806.html
 BuildRequires: rpmbuild(macros) >= 1.554
 BuildRequires: sed >= 4.0
@@ -29,6 +30,8 @@ Template for Cacti - Nagios statistics.
 
 %prep
 %setup -qc
+%patch0 -p1
+cp -a %{SOURCE1} .
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -45,6 +48,7 @@ cp -a *.xml $RPM_BUILD_ROOT%{resourcedir}
 %cacti_import_template %{resourcedir}/cacti_graph_template_nagios_statistics_-_latency.xml
 %cacti_import_template %{resourcedir}/cacti_graph_template_nagios_statistics_-_service_checks.xml
 %cacti_import_template %{resourcedir}/cacti_graph_template_nagios_statistics_-_service_problems.xml
+%cacti_import_template %{resourcedir}/cacti_host_template_nagios_statistics.xml
 
 %clean
 rm -rf $RPM_BUILD_ROOT
diff --git a/cacti_host_template_nagios_statistics.xml b/cacti_host_template_nagios_statistics.xml
new file mode 100644 (file)
index 0000000..ee4dc9a
--- /dev/null
@@ -0,0 +1,7 @@
+<cacti>        
+       <hash_020021927b6d945bb9d7bf65ad49eae23408b6>
+               <name>Nagios Statistics</name>
+               <graph_templates>hash_000021b21467573ffcaf541082c68ae3621a3e|hash_00002128de4bf6501270035c961da975a3354c|hash_000021f5caa82c8cc6971cf390c70cfdca5d7b|hash_0000211650a4e09bad948de266e6aaa716a093|hash_0000212757aadda13a70673244dfdebd167c5c|hash_00002116d6dd87812b4c1f47fffe97f511deeb</graph_templates>
+               <data_queries></data_queries>
+       </hash_020021927b6d945bb9d7bf65ad49eae23408b6>
+</cacti>
This page took 0.104637 seconds and 4 git commands to generate.