Send bw cap mail to slices
authorAndy Bavier <acb@cs.princeton.edu>
Thu, 10 Feb 2005 16:13:24 +0000 (16:13 +0000)
committerAndy Bavier <acb@cs.princeton.edu>
Thu, 10 Feb 2005 16:13:24 +0000 (16:13 +0000)
pl_mom.pl
pl_mom.spec

index 946d555..6f286e6 100755 (executable)
--- a/pl_mom.pl
+++ b/pl_mom.pl
@@ -309,7 +309,7 @@ sub bw_cap_mail {
     syslog("warning", "pl_mom: Capping bandwidth of slice ".
           "$slicename at $bwcap until midnight GMT.");
 
-    send_mail($alias_addr,
+    send_mail("$alias_addr, $slicename\@slices.planet-lab.org",
              "$proc capped bandwidth of slice $slicename on $hostname",
              "Slice $slicename has transmitted more than ${sent}GB today".
              " on $hostname.  ".
index eaf3818..c0ae78f 100644 (file)
@@ -1,6 +1,6 @@
 %define name pl_mom
 %define version 0.3
-%define release 4.planetlab%{?date:.%{date}}
+%define release 5.planetlab%{?date:.%{date}}
  
 Summary: PlanetLab mom -- Cleans up your mess
 Name: %{name}