]> git.pld-linux.org Git - packages/cacti-addons.git/commitdiff
- add %post
authorMichał 'Wolvverine' Panasiewicz <wolvverine@pld-linux.org>
Sun, 16 Dec 2007 19:38:28 +0000 (19:38 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    cacti-addons.spec -> 1.6

cacti-addons.spec

index 0d47a79d7b710e411383d843a13f82f98dca2987..92969db0c09f573d4cb46380b7a1bb55be4b6c63 100644 (file)
@@ -52,6 +52,7 @@ Skrypty i templaty dla Cacti.
 Summary:       Statistics for Cacti Poller
 Summary(pl.UTF-8):     Statystyki działania Pollera Cacti
 Group:         Applications/WWW
+Requires:      %{name}-cmd_line_add_template
 
 %description Cacti_Poller_Statistics
 Statistics for Cacti Poller, works with localhost only.
@@ -76,6 +77,7 @@ Dodawanie template dla cacti z lini poleceń. Usage :
 Summary:       Cacti - Measure the response times of multiple internal and external DNS Resolver
 Summary(pl.UTF-8):     Cacti -
 Group:         Applications/WWW
+Requires:      %{name}-cmd_line_add_template
 
 %description DNS_Server_Response_Time
 Measure the response times of multiple internal and external DNS
@@ -88,6 +90,7 @@ times.
 Summary:       Graphs the locked machines, shares and files from a samba server
 Summary(pl.UTF-8):     Samba - wykresy przyłączonych stacji, udziałów i plików w Cacti
 Group:         Applications/WWW
+Requires:      %{name}-cmd_line_add_template
 
 %description Samba_locked_machine
 Add-on for Cacti - graphs the locked machines, shares and files from a
@@ -101,6 +104,7 @@ i plików.
 Summary:       Template to query hddtemp deamon and graph disks temperature
 Summary(pl.UTF-8):     Wykresy temperatury dysków - dane pobierane z hddtemp
 Group:         Applications/WWW
+Requires:      %{name}-cmd_line_add_template
 
 %description hddtemp
 Template to query hddtemp deamon and graph disks temperature.
@@ -135,7 +139,17 @@ install cacti-linux-hddtemp-1.0/cacti_graph_template_linux_hddtemp*.xml $RPM_BUI
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%post
+%post Cacti_Poller_Statistics 
+%{webcactiroot}/cacti/add_template.php  %{webcactiscriptqueriesdir}/cacti_host_template_local_cacti_polling_host.xml
+
+%post DNS_Server_Response_Time
+%{webcactiroot}/cacti/add_template.php %{webcactiscriptqueriesdir}/cacti_graph_template_dnsresponsetime.xml
+
+%post Samba_locked_machine
+%{webcactiroot}/cacti/add_template.php %{webcactiscriptqueriesdir}/cacti_graph_template_snmp_samba.xml
+
+%post hddtemp
+%{webcactiroot}/cacti/add_template.php %{webcactiscriptqueriesdir}/cacti_graph_template_linux_hddtemp_disk_temperature*.xml
 
 %files Cacti_Poller_Statistics
 %defattr(644,root,root,755)
This page took 0.059962 seconds and 4 git commands to generate.