NagiosQL does not restart Nagios version 4.0.8
edit the file /var/www/nagiosql32/admin/verify.php and change the line:
$strCommandString = "[".mktime()."] RESTART_PROGRAM;".mktime();
to be
$strCommandString = "[".mktime()."] RESTART_PROGRAM;".mktime()."\n";
also edit the file /var/www/nagiosql32/scripts/do_config.php and change the line:
$strCommandString = "[".mktime()."] RESTART_PROGRAM;".mktime();
to be
$strCommandString = "[".mktime()."] RESTART_PROGRAM;".mktime()."\n";
H/T https://support.nagios.com/forum/viewtopic.php?f=7&t=24161