Changeset ad00dabd881e008eca268126c2b47adb63274e58
- Timestamp:
- 03/21/10 20:23:17
(3 years ago)
- Author:
- Mark Harrison <mark@omniti.com>
- git-committer:
- Mark Harrison <mark@omniti.com> 1269202997 +0000
- git-parent:
[437d7c16a7d447c192d0f5019c91098c416903d6]
- git-author:
- Mark Harrison <mark@omniti.com> 1269202997 +0000
- Message:
Resmon.pm fixes
modstatus was showing bad when it shouldn't
date had a newline
git-svn-id: https://labs.omniti.com/resmon/branches/resmon2@277 8c0face9-b7db-6ec6-c4b3-d5f7145c7d55
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r437d7c1 |
rad00dab |
|
| 44 | 44 | "hostname" => [$hostname, "s"], |
|---|
| 45 | 45 | "configstatus" => [$configstatus ? "BAD" : "OK", "s"], |
|---|
| 46 | | "modstatus" => [$modstatus ? "BAD" : "OK", "s"], |
|---|
| | 46 | "modstatus" => [scalar @$modstatus ? "BAD" : "OK", "s"], |
|---|
| 47 | 47 | "failed_modules" => [join(", ", @$modstatus), "s"] |
|---|
| 48 | 48 | }; |
|---|
| r7cd489f |
rad00dab |
|
| 96 | 96 | # ways to get the current date. |
|---|
| 97 | 97 | my $date = `date +%d`; |
|---|
| | 98 | chomp $date; |
|---|
| 98 | 99 | |
|---|
| 99 | 100 | return { |
|---|