Thanks Marcel, I found an old check ( downloaded from the CheckMK Exchange
I think).

Changing nagios_state_names to core_state_names in that script has resolved
the issue.

On 2 March 2018 at 11:08, Marcel Schulte <schulte.mar...@gmail.com> wrote:

> Hi Steven,
>
> do this as siteuser to find checks causing this (they're not compatible to
> 1.4.0 or are missing some include files - who knows):
>
> grep nagios_state_names ~/local/share/check_mk/checks/
>
> BR,
> Marcel
>
> 2018-03-02 11:54 GMT+01:00 Steven Parker <steven.par...@8x8.com>:
>
>> Hi
>> I have upgraded our chkmk 1.2.6p12 CRE to 1.4.0p25 CRE , most things seem
>> fine but I have one issue with a mysql check we have. The check on the
>> server runs fine and produces the output as expected but on the server end
>> it crash dumps (see below). I have run a 'cmk-R' to force a recompile, but
>> the issue still persists.
>>
>> I trawled through the mail articles and found various similar problems
>> but the solution suggested have not helped.
>>
>> Any suggestions??
>>
>> Thanks
>> Steve
>>
>> Crash Type check
>> Time 2018-03-02 10:49:15
>> Operating System el6
>> Check_MK Version 1.4.0p25
>> Python Version 2.7.14 (default, Feb 16 2018, 17:21:57) [GCC 7.2.0]
>> Exception
>>
>> NameError (global name 'nagios_state_names' is not defined)
>>
>> Traceback
>>
>>   File "/omd/sites/dxi_dev/var/check_mk/precompiled/ns-dv-018-dxisql-03", 
>> line 1148, in execute_check
>>
>>
>>   File "/omd/sites/dxi_dev/var/check_mk/precompiled/ns-dv-018-dxisql-03", 
>> line 5814, in check_mysql_status
>>
>> Local Variables
>>
>> {}
>>
>>
>>
>> _______________________________________________
>> checkmk-en mailing list
>> checkmk-en@lists.mathias-kettner.de
>> http://lists.mathias-kettner.de/mailman/listinfo/checkmk-en
>>
>
>
_______________________________________________
checkmk-en mailing list
checkmk-en@lists.mathias-kettner.de
http://lists.mathias-kettner.de/mailman/listinfo/checkmk-en

Reply via email to