git://git.onelab.eu
/
mom.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
3d1a0ab
)
Send bw cap mail to slices
author
Andy Bavier
<acb@cs.princeton.edu>
Thu, 10 Feb 2005 16:13:24 +0000
(16:13 +0000)
committer
Andy Bavier
<acb@cs.princeton.edu>
Thu, 10 Feb 2005 16:13:24 +0000
(16:13 +0000)
pl_mom.pl
patch
|
blob
|
history
pl_mom.spec
patch
|
blob
|
history
diff --git
a/pl_mom.pl
b/pl_mom.pl
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.");
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. ".
"$proc capped bandwidth of slice $slicename on $hostname",
"Slice $slicename has transmitted more than ${sent}GB today".
" on $hostname. ".
diff --git
a/pl_mom.spec
b/pl_mom.spec
index
eaf3818
..
c0ae78f
100644
(file)
--- a/
pl_mom.spec
+++ b/
pl_mom.spec
@@
-1,6
+1,6
@@
%define name pl_mom
%define version 0.3
%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}
Summary: PlanetLab mom -- Cleans up your mess
Name: %{name}