X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=pl_mom.spec;h=5ea1e724a145304f25546fb6dd61a3bdc48276ad;hb=285c8e68bd119b577ea04ed4dd25ff9b415a9bc7;hp=2af45ec4717dc5f12c37d9f424f5b950b064d349;hpb=ef0ed35626f844461d8e443e7a0cbe1dc7a22c94;p=mom.git diff --git a/pl_mom.spec b/pl_mom.spec index 2af45ec..5ea1e72 100644 --- a/pl_mom.spec +++ b/pl_mom.spec @@ -1,6 +1,6 @@ %define name pl_mom %define version 0.4 -%define release 1%{?pldistro:.%{pldistro}}%{?date:.%{date}} +%define release 7%{?pldistro:.%{pldistro}}%{?date:.%{date}} Summary: PlanetLab node monitoring tools Name: %{name} @@ -61,6 +61,13 @@ install -D -m 644 pl_mom.cron $RPM_BUILD_ROOT/%{_sysconfdir}/cron.d/pl_mom %clean rm -rf $RPM_BUILD_ROOT +%pre +if [ "$PL_BOOTCD" != "1" ] ; then + service pl_mom stop +fi + +exit 0 + %post chkconfig --add swapmon chkconfig swapmon on @@ -95,3 +102,21 @@ exit 0 %{_initrddir}/swapmon /usr/local/planetlab/bin/pl_mop.sh %{_sysconfdir}/cron.d/pl_mom + +%changelog +* Wed Jul 19 2006 Faiyaz Ahmed 0.4-7.planetlab +- swapmon: Added state info so same reset email does not keep getting + sent. If slice is already being killed, will wait for a timeout + before trying to kill again. + +* Mon Jul 17 2006 Faiyaz Ahmed 0.4-6.planetlab +- swapmon: Added state information per slice. Slices are now killed + after consuming more memory than the threshold more than twice. + Also fixed the slice restart issue where slices would be restarted + and repeated restart emails would be sent. + +* Mon Jul 10 2006 Faiyaz Ahmed 0.4-5.planetlab +- bwmon: Initialize default limits + +* Mon Jul 10 2006 Faiyaz Ahmed 0.4-4.planetlab +- bwmon: Use cached values if NM stops responding