Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
emulab-devel
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
143
Issues
143
List
Boards
Labels
Service Desk
Milestones
Merge Requests
6
Merge Requests
6
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
emulab
emulab-devel
Commits
7c4ca686
Commit
7c4ca686
authored
Aug 14, 2013
by
Leigh B Stoller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bump timeout, and bug fix for first 24 hour email.
parent
e9fccb12
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
utils/poolmonitor.in
utils/poolmonitor.in
+2
-1
No files found.
utils/poolmonitor.in
View file @
7c4ca686
...
...
@@ -131,6 +131,7 @@ $SIG{HUP} = \&handler
if
(
!
(
$debug
||
$oneshot
));
print
"
Pool Monitor starting... pid $$, at
"
.
`
date
`;
$lastmail
=
time
();
while
(
1
)
{
if
(
NoLogins
())
{
...
...
@@ -153,7 +154,7 @@ while (1) {
while
(
my
(
$node_id
)
=
$query_result
->
fetchrow_array
())
{
print
"
Checking to see if
$node_id
is reactive ...
\n
";
my
$status
=
SSHwithTimeout
(
$node_id
,
"
ls / > /dev/null
",
15
,
$debug
);
my
$status
=
SSHwithTimeout
(
$node_id
,
"
ls / > /dev/null
",
30
,
$debug
);
if
(
$status
)
{
print
"
-->
$node_id
is down for the count!
\n
";
if
(
!
exists
(
$warned
{
$node_id
}))
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment