1 %include /usr/lib/rpm/macros.perl
2 Summary: Monitors CPU and memory usage on Cisco routers
3 Summary(pl): Monitorowanie zu¿ycia procesora i pamiêci w routerach Cisco
8 Group: Applications/System
9 Source0: http://rousse.pm.org/cimon/%{name}-%{version}.tar.gz
10 URL: http://rousse.pm.org/cimon/
11 BuildRequires: rpm-perlprov
13 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16 Cimon is Perl program wich monitors the load (memory and CPU) on Cisco
17 routers using SNMP, and generates graphics with statistics using
18 rrdtool. It's a good source for information about your router's
19 health. It also has the abillity to make IP accounting via Cisco IP
20 accounting features. It creates rrd graphics with the bandwith usage
21 and traffic logfiles. The logfiles are the same as these produced by
22 sasacct so you can use it for date-to-date statistics and on-the-fly
29 rm -rf $RPM_BUILD_ROOT
30 install -d $RPM_BUILD_ROOT{%{_bindir},%{_sysconfdir}}
32 install %{name}.plx $RPM_BUILD_ROOT%{_bindir}
33 install %{name}.conf $RPM_BUILD_ROOT%{_sysconfdir}
36 rm -rf $RPM_BUILD_ROOT
39 %defattr(644,root,root,755)
40 %doc CHANGES INSTALL README
41 %attr(644,root,root) %config(noreplace) %{_sysconfdir}/%{name}.conf
42 %attr(755,root,root) %{_bindir}/*