Skip to content

Commit 8bbb607

Browse files
committed
Notification message updates
1 parent cb74d33 commit 8bbb607

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/Notifications/Notifier.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ public function diskUsageHealthy(DiskUsageMonitor $diskUsageMonitor)
3232
{
3333
$this->sendNotification(
3434
'whenDiskUsageHealthy',
35-
"Disk Usage on {$this->serverName} is Healthy at {$diskUsageMonitor->getPercentageUsed()} on {$diskUsageMonitor->getPath()}",
36-
"Disk Usage on {$this->serverName}, filesystem {$diskUsageMonitor->getPath()} is okay: {$diskUsageMonitor->getPercentageUsed()}",
35+
"Disk Usage on {$this->serverName} is Healthy at {$diskUsageMonitor->getPercentageUsed()} Used",
36+
"Disk Usage is healthy on {$this->serverName}. Filesystem {$diskUsageMonitor->getPath()} is okay: {$diskUsageMonitor->getPercentageUsed()}",
3737
BaseSender::TYPE_SUCCESS
3838
);
3939
}
@@ -45,8 +45,8 @@ public function diskUsageAlarm(DiskUsageMonitor $diskUsageMonitor)
4545
{
4646
$this->sendNotification(
4747
'whenDiskUsageAlarm',
48-
"Disk Usage on {$this->serverName} High! {$diskUsageMonitor->getPercentageUsed()} on {$diskUsageMonitor->getPath()}",
49-
"Disk Usage on {$this->serverName}, filesystem {$diskUsageMonitor->getPath()} is above the alarm threshold ({$diskUsageMonitor->getAlarmPercentage()}) at {$diskUsageMonitor->getPercentageUsed()}",
48+
"Disk Usage on {$this->serverName} High! {$diskUsageMonitor->getPercentageUsed()} Used",
49+
"Disk Usage Alarm on {$this->serverName}! Filesystem {$diskUsageMonitor->getPath()} is above the alarm threshold ({$diskUsageMonitor->getAlarmPercentage()}) at {$diskUsageMonitor->getPercentageUsed()}",
5050
BaseSender::TYPE_ERROR
5151
);
5252
}

0 commit comments

Comments
 (0)