".__('Alert level')."";
echo "";
echo "
";
// Monitor checks
echo " |
";
echo "".__('Monitor checks')." | ";
echo "
".__('Monitor checks')." | ";
echo "";
echo "";
echo $monitor_checks." | ";
// Monitor OK
echo "
".__('Monitor OK')." | ";
echo "";
echo "";
if ($monitor_ok > 0)
echo $monitor_ok;
else
echo "-";
echo "";
// Monitor BAD
echo " |
".__('Monitor BAD')." | ";
echo "";
echo "";
if ($monitor_bad > 0)
echo $monitor_bad;
else
echo "-";
echo "";
echo " |
";
// Monitor unknown
echo "";
echo "".__('Monitor Unknown')." | ";
echo "";
echo "";
if ($monitor_unknown > 0)
echo $monitor_unknown;
else
echo "-";
echo "";
echo " |
".__('Monitor Not Init')." | ";
echo "";
if ($monitor_not_init> 0)
echo $monitor_not_init;
else
echo "-";
echo " |
".__('Alerts Fired')." | ";
echo "";
echo "";
if ($monitor_alert > 0)
echo $monitor_alert;
else
echo "-";
echo "";
echo " |
".__('Alerts Total')." | ";
echo "".$monitor_alert_total;
// Data checks
// ~~~~~~~~~~~~~~~
echo " |
".__('Data Checks')." | ";
echo "
---|
".__('Data Checks')." | ";
echo "".$data_checks;
echo " |
".__('Data Unknown')." | ";
echo "";
if ($data_unknown > 0)
echo $data_unknown;
else
echo "-";
echo " |
".__('Data Not Init')." | ";
echo "";
if ($data_not_init > 0)
echo $data_not_init;
else
echo "-";
echo " |
".__('Alerts Fired')." | ";
echo "";
echo "";
if ($data_alert > 0)
echo $data_alert;
else
echo "-";
echo "";
echo " |
".__('Alerts Total');
echo " | ".$data_alert_total;
// Summary
// ~~~~~~~~~~~~~~~
echo " |
".__('Summary')." | ";
echo "
---|
".__('Total Agents')." | ";
echo "".$total_agents;
echo " |
".__('Total Checks')." | ";
echo "".$total_checks;
echo " |
".__('Server Sanity')." | ";
echo "";
echo format_numeric($notinit_percentage);
echo "% ".__('Uninitialized modules');
echo " |