mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-12 16:06:25 +02:00
fix newlines in 2 polling files
git-svn-id: http://www.observium.org/svn/observer/trunk@628 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -38,7 +38,7 @@ while($temperature = mysql_fetch_array($temp_data)) {
|
||||
$msg = "Temp Alarm: " . $device['hostname'] . " " . $temperature['temp_descr'] . " is " . $temp . " (Limit " . $temperature['temp_limit'];
|
||||
$msg .= ") at " . date('l dS F Y h:i:s A');
|
||||
mail($email, "Temp Alarm: " . $device['hostname'] . " " . $temperature['temp_descr'], $msg, $config['email_headers']);
|
||||
echo("Alerting for " . $device['hostname'] . " " . $temperature['temp_descr'] . "/n");
|
||||
echo("Alerting for " . $device['hostname'] . " " . $temperature['temp_descr'] . "\n");
|
||||
}
|
||||
|
||||
mysql_query("UPDATE temperature SET temp_current = '$temp' WHERE temp_id = '$temperature[temp_id]'");
|
||||
|
||||
Reference in New Issue
Block a user