%define name pl_mom
-%define version 0.4
-%define release 2%{?pldistro:.%{pldistro}}%{?date:.%{date}}
+%define version 0.9
+%define release 10%{?pldistro:.%{pldistro}}%{?date:.%{date}}
Summary: PlanetLab node monitoring tools
Name: %{name}
# Cleanup script
install -D -m 755 pl_mop.sh $RPM_BUILD_ROOT/usr/local/planetlab/bin/pl_mop.sh
+# Tests and restarts NM
+install -D -m 755 nm_mom.py $RPM_BUILD_ROOT/%{_datadir}/%{name}/nm_mom.py
+
# Runs pl_mop and bwmon periodically
install -D -m 644 pl_mom.cron $RPM_BUILD_ROOT/%{_sysconfdir}/cron.d/pl_mom
%files
%defattr(-, root, root, -)
%{_datadir}/%{name}/pl_mom.py
+%{_datadir}/%{name}/nm_mom.py
%{_datadir}/%{name}/bwmon.py
%{_datadir}/%{name}/swapmon.py
%{_initrddir}/swapmon
/usr/local/planetlab/bin/pl_mop.sh
%{_sysconfdir}/cron.d/pl_mom
+
+%changelog
+* Wed Jul 19 2006 Faiyaz Ahmed <faiyaza@cs.princeton.edu> 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 <faiyaza@cs.princeton.edu> 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 <faiyaza@cs.princeton.edu> 0.4-5.planetlab
+- bwmon: Initialize default limits
+
+* Mon Jul 10 2006 Faiyaz Ahmed <faiyaza@cs.princeton.edu> 0.4-4.planetlab
+- bwmon: Use cached values if NM stops responding