From 2614862fc7c75a222193fcb271441d1be73d8a65 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Pawe=C5=82=20Go=C5=82aszewski?= Date: Mon, 9 Sep 2002 17:35:58 +0000 Subject: [PATCH] - initial release - NFY Changed files: cimon.spec -> 1.1 --- cimon.spec | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 cimon.spec diff --git a/cimon.spec b/cimon.spec new file mode 100644 index 0000000..ffda3ab --- /dev/null +++ b/cimon.spec @@ -0,0 +1,42 @@ +%include /usr/lib/rpm/macros.perl +Summary: Monitors CPU and memory usage on Cisco routers +Summary(pl): Monitorowanie zu¿ycia procesora i pamiêci w routerach Cisco +Name: cimon +Version: 0.3 +Release: 0.1 +License: BSD +Group: Applications/System +Source0: http://rousse.pm.org/cimon/%{name}-%{version}.tar.gz +URL: http://rousse.pm.org/cimon/ +BuildRequires: rpm-perlprov +Requires: rrdtool +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +Cimon is Perl program wich monitors the load (memory and CPU) on Cisco +routers using SNMP, and generates graphics with statistics using +rrdtool. It's a good source for information about your router's +health. It also has the abillity to make IP accounting via Cisco IP +accounting features. It creates rrd graphics with the bandwith usage +and traffic logfiles. The logfiles are the same as these produced by +sasacct so you can use it for date-to-date statistics and on-the-fly +graphic generation. + +%prep +%setup -q + +%install +rm -rf $RPM_BUILD_ROOT +install -d $RPM_BUILD_ROOT{%{_bindir},%{_sysconfdir}} + +install %{name}.plx $RPM_BUILD_ROOT%{_bindir} +install %{name}.conf $RPM_BUILD_ROOT%{_sysconfdir} + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%doc CHANGES INSTALL README +%attr(644,root,root) %config(noreplace) %{_sysconfdir}/%{name}.conf +%attr(755,root,root) %{_bindir}/* -- 2.43.0