Skip to content
Snippets Groups Projects
Commit a474e8f4 authored by Hahn Axel (hahn)'s avatar Hahn Axel (hahn)
Browse files

check fqdn

parent 4f5d78db
Branches
No related tags found
1 merge request!25850 check hostname
...@@ -104,6 +104,13 @@ class cronlogrenderer extends cronlog{ ...@@ -104,6 +104,13 @@ class cronlogrenderer extends cronlog{
]; ];
} }
if(!strstr($sServerFromLogfile, ".")){
$aErrors[]=[
'No FQDN',
'Der Hostname im Log ['.$sServerFromLogfile.'] ist kein KFQDN.',
];
}
if($iNextRunErr < date("U")){ if($iNextRunErr < date("U")){
$aErrors[]=[ $aErrors[]=[
'Abgelaufen', 'Abgelaufen',
...@@ -183,7 +190,6 @@ class cronlogrenderer extends cronlog{ ...@@ -183,7 +190,6 @@ class cronlogrenderer extends cronlog{
$sIdTable='datatable1'; $sIdTable='datatable1';
$sHtml=' $sHtml='
<!-- START '.__METHOD__.' --> <!-- START '.__METHOD__.' -->
<pre>'.print_r($aData, 1).'</pre>
' '
. '<h3>Letztes Logfile pro Job</h3>' . '<h3>Letztes Logfile pro Job</h3>'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment