X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=pl_mom.spec;h=eb1f2b1bbf9aa57d71c5c1c1c30b5b4bbddb7a62;hb=0a19fefd9432cddeb2540ed2b2378d84a99cfb92;hp=905dda0c1b38f68e99d73f88bf7f7e6733422075;hpb=fd61248f1e92e4e1a406f114fd74e90b9ed3f4f7;p=mom.git diff --git a/pl_mom.spec b/pl_mom.spec index 905dda0..eb1f2b1 100644 --- a/pl_mom.spec +++ b/pl_mom.spec @@ -1,6 +1,6 @@ %define name pl_mom -%define version 0.4 -%define release 8%{?pldistro:.%{pldistro}}%{?date:.%{date}} +%define version 1.0 +%define release 01%{?pldistro:.%{pldistro}}%{?date:.%{date}} Summary: PlanetLab node monitoring tools Name: %{name} @@ -28,9 +28,6 @@ process memory usage. At 90% utilization, resets the slice that is consuming the most physical memory. At 95% utilization, it reboots the machine to avoid a crash. -bwmon is a cron job that monitors the average bandwidth usage of each -slice and enforces a daily byte limit for each slice. - pl_mop is a cron job that "fixes" various common problems with nodes (dead services, ext3 corruption, zombie SSH sessions, etc.). @@ -46,7 +43,7 @@ rm -rf $RPM_BUILD_ROOT install -D -m 644 pl_mom.py $RPM_BUILD_ROOT/%{_datadir}/%{name}/pl_mom.py # Bandwidth monitor (bwmon), run periodically -install -D -m 755 bwmon.py $RPM_BUILD_ROOT/%{_datadir}/%{name}/bwmon.py +#install -D -m 755 bwmon.py $RPM_BUILD_ROOT/%{_datadir}/%{name}/bwmon.py # Swap monitoring daemon (swapmon) install -D -m 755 swapmon.py $RPM_BUILD_ROOT/%{_datadir}/%{name}/swapmon.py @@ -96,9 +93,8 @@ exit 0 %files %defattr(-, root, root, -) -%{_datadir}/%{name}/pl_mom.py -%{_datadir}/%{name}/bwmon.py -%{_datadir}/%{name}/swapmon.py +%{_datadir}/%{name}/pl_mom.py* +%{_datadir}/%{name}/swapmon.py* %{_initrddir}/swapmon /usr/local/planetlab/bin/pl_mop.sh %{_sysconfdir}/cron.d/pl_mom