We have a NagiosXI running on our lower environment, which is unable to send email alerts over to Distribution lists. Email alerts just going fine to the individual/user email addresses.
Could you please advise?
I see the below error on /var/log/messages
Code: Select all
Jun 4 08:10:06 vmlnxnagios01 ndo2db: Error: mysql_query() failed for 'INSERT INTO nagios_statehistory SET instance_id='1', state_time=FROM_UNIXTIME(1591272606), state_time_usec='908801', object_id='9299', state_change='1', state='2', state_type='0', current_check_attempt='3', max_check_attempts='5', last_state='2', last_hard_state='0', output='SWAP CRITICAL - 4% free \(151 MB out of 4095 MB\)', long_output='''
Jun 4 08:10:06 vmlnxnagios01 ndo2db: mysql_error: 'Can't find file: 'nagios_statehistory' (errno: 2)'
Jun 4 08:10:07 vmlnxnagios01 nagios: SERVICE ALERT: vmlnxjenkinsagent01.lowes.com;DTQ_Check Server CPU Status - Linux;WARNING;SOFT;1;WARNING: CPU Idle = 24.37%
Jun 4 08:10:07 vmlnxnagios01 ndo2db: Error: mysql_query() failed for 'INSERT INTO nagios_statehistory SET instance_id='1', state_time=FROM_UNIXTIME(1591272607), state_time_usec='913289', object_id='10128', state_change='1', state='1', state_type='0', current_check_attempt='1', max_check_attempts='5', last_state='0', last_hard_state='0', output='WARNING: CPU Idle = 24\.37%', long_output='''
Jun 4 08:10:07 vmlnxnagios01 ndo2db: mysql_error: 'Can't find file: 'nagios_statehistory' (errno: 2)'
Jun 4 08:10:08 vmlnxnagios01 nagios: Warning: Return code of 255 for check of service 'Linux Filesystem Check' on host 'vmlnxapp101.lowes.com' was out of bounds.
Jun 4 08:10:08 vmlnxnagios01 nagios: Warning: Return code of 255 for check of service 'Check Server Load' on host 'vmlnxdbsandbox04' was out of bounds.
Jun 4 08:10:08 vmlnxnagios01 nagios: Warning: Return code of 255 for check of service 'Check Server Swap' on host 'vmlnxedcda02.lowes.com' was out of bounds.
Jun 4 08:10:09 vmlnxnagios01 nagios: Warning: Return code of 255 for check of service 'Check Server Total Processes' on host 'vmlnxdispcq15' was out of bounds.
Jun 4 08:10:09 vmlnxnagios01 nagios: Warning: Return code of 255 for check of service 'Check Server / Disk Usage' on host 'vmlnxdispcq15' was out of bounds.
Jun 4 08:10:10 vmlnxnagios01 nagios: Warning: Return code of 255 for check of service 'Check Server Open Files' on host 'vmlnxapp101.lowes.com' was out of b