-%define namesrc configmanager
+%define namesrc configmanager
%include /usr/lib/rpm/macros.perl
-Summary: Plugin for Cacti - for download/upload routers switches configuration
-Summary(pl.UTF-8): Wtyczka do Cacti -
+Summary: Plugin for Cacti - download/upload routers and switches configuration
+Summary(pl.UTF-8): Wtyczka do Cacti - ściąganie/wysyłanie konfiguracji routerów/switchy
Name: cacti-plugin-configmanager
Version: 0.75
Release: 0.1
%define webcactipluginroot /usr/share/cacti/plugins/%{namesrc}
%description
-Plugin for Cacti - configmanager
-With this plugin you can easily schedule the download/upload of the
-configuration of your routers, switches and any devices (or change in
-one click some parameters of hundert of switches ... dangerous but
-possible now). It should function for all type of router or switches.
-There is two method "TFTP" and "multi".
-- "TFTP" (based of "pancho" www.pancho.org) with option "pure PHP" no
- need of pancho installation.
+With Cacti configmanager plugin you can easily schedule the
+download/upload of the configuration of your routers, switches and any
+devices (or change in one click some parameters of a hundred of
+switches... dangerous but possible now). It should function for all
+type of router or switches.
+
+There are two methods:
+- "TFTP" (based of "pancho" <http://www.pancho.org/>); with "pure PHP"
+ option there is no need of pancho installation
- "multi" can use any scripts or SCP, FTP, SFTP or what you want.
-The syslog plugin and traps could active the download of the pancho
-config or script for the host which has received a specific event and
-which the "trap event flag" is active.
%description -l pl.UTF-8
-Wtyczka do Cacti -
+Przy użyciu wtyczki Cacti configmanager można łatwo zaszeregować
+ściąganie lub wysyłanie konfiguracji routerów, switchy i innych
+urządzeń (lub zmieniać jednym kliknięciem pewne parametry w setce
+switchy... co jest niebezpieczne, ale teraz wykonalne). Wtyczka
+powinna działać z dowolnymi routerami i switchami.
+
+Istnieją dwie metody:
+- "TFTP" (oparta na "pancho" <http://www.pancho.org/>); z opcją "pure
+ PHP" nie ma potrzeby instalacji pancho
+- "multi", potrafiąca używać dowolne skrypty lub SCP, FTP, SFTP
%prep
%setup -q -c -a1
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{webcactipluginroot}
-cd %{namesrc}%{version}
-cp -aRf * $RPM_BUILD_ROOT%{webcactipluginroot}
+cd %{namesrc}%{version}
+cp -a * $RPM_BUILD_ROOT%{webcactipluginroot}
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%doc %{namesrc}%{version}/{Manual.txt,template.txt,configmanager_trap_list.txt}
+%doc %{namesrc}%{version}/{Manual.txt,template.txt,configmanager_trap_list.txt}
%{webcactipluginroot}