The Event Manager 'System Component Status' is red.
Event Manager is running, per eventman.log, but every run contains another copy of the same notification message, ending with the below PHP error.
No other events get processed.
We've already dealt with the particular service issue. How can I flush this event from the queue to allow the rest of the events to process?
Version: XI 2024R1.1.1
Code: Select all
PHP Fatal error: Uncaught ValueError: mail(): Argument #3 ($message) must not contain any null bytes in /usr/local/nagiosxi/html/includes/components/oauth2/vendor/phpmailer/phpmailer/src/PHPMailer.php:877
Stack trace:
#0 /usr/local/nagiosxi/html/includes/components/oauth2/vendor/phpmailer/phpmailer/src/PHPMailer.php(877): mail()
#1 /usr/local/nagiosxi/html/includes/components/oauth2/vendor/phpmailer/phpmailer/src/PHPMailer.php(1962): PHPMailer\PHPMailer\PHPMailer->mailPassthru()
#2 /usr/local/nagiosxi/html/includes/components/oauth2/vendor/phpmailer/phpmailer/src/PHPMailer.php(1683): PHPMailer\PHPMailer\PHPMailer->mailSend()
#3 /usr/local/nagiosxi/html/includes/components/oauth2/vendor/phpmailer/phpmailer/src/PHPMailer.php(1519): PHPMailer\PHPMailer\PHPMailer->postSend()
#4 /usr/local/nagiosxi/html/includes/utils-email.inc.php(445): PHPMailer\PHPMailer\PHPMailer->send()
#5 /usr/local/nagiosxi/html/includes/components/xicore/xicore.inc.php(325): send_email()
#6 /usr/local/nagiosxi/html/includes/components/xicore/xicore.inc.php(57): xicore_handle_notification_event()
#7 /usr/local/nagiosxi/html/includes/utilsl.inc.php(3610): xicore_eventhandler()
#8 /usr/local/nagiosxi/cron/eventman.php(171): do_callbacks()
#9 /usr/local/nagiosxi/cron/eventman.php(133): process_event()
#10 /usr/local/nagiosxi/cron/eventman.php(110): process_event_record()
#11 /usr/local/nagiosxi/cron/eventman.php(59): process_events()
#12 /usr/local/nagiosxi/cron/eventman.php(22): do_eventman_jobs()
#13 {main}
thrown in /usr/local/nagiosxi/html/includes/components/oauth2/vendor/phpmailer/phpmailer/src/PHPMailer.php on line 877