When I ran that with the threshold change I got the below error. And no there 
are no modified local checks. Is this a bug I might need to notify Check_MK 
about?

Error:
OMD[prod]:~$ cmk --debug -vvR
Waiting for exclusive lock on /omd/sites/prod/etc/check_mk/main.mk.
Renaming /omd/sites/prod/etc/nagios/conf.d/check_mk_objects.cfg to 
/omd/sites/prod/etc/nagios/conf.d/check_mk_objects.cfg.save
Generating configuration for core (type nagios)...Error creating configuration: 
Invalid entry '({'levels': ('perc_used', (85.0, 90.0))}, 
['/wato/World_Food_Processing/+'], ['wfp-pbx'], [u'$'])' in host configuration 
list: must have 2 or 3 entries (on host lam-blm-sw2, checktype hp_procurve_mem)
Invalid entry '({'levels': ('perc_used', (85.0, 90.0))}, 
['/wato/World_Food_Processing/+'], ['wfp-pbx'], [u'$'])' in host configuration 
list: must have 2 or 3 entries (on host lam-blm-sw2, checktype hp_procurve_mem)
Traceback (most recent call last):
  File "/omd/sites/prod/share/check_mk/modules/check_mk.py", line 4722, in 
<module>
    do_restart()
  File "/omd/sites/prod/share/check_mk/modules/check_mk.py", line 3861, in 
do_restart
    do_create_config(with_agents=True)
  File "/omd/sites/prod/share/check_mk/modules/check_mk.py", line 3745, in 
do_create_config
    create_core_config()
  File "/omd/sites/prod/share/check_mk/modules/check_mk.py", line 2874, in 
create_core_config
    create_nagios_config(out)
  File "/omd/sites/prod/share/check_mk/modules/nagios.py", line 101, in 
create_nagios_config
    create_nagios_config_host(outfile, hostname)
  File "/omd/sites/prod/share/check_mk/modules/nagios.py", line 122, in 
create_nagios_config_host
    create_nagios_servicedefs(outfile, hostname, host_attrs)
  File "/omd/sites/prod/share/check_mk/modules/nagios.py", line 273, in 
create_nagios_servicedefs
    host_checks = get_check_table(hostname, remove_duplicates=True).items()
  File "/omd/sites/prod/share/check_mk/modules/check_mk.py", line 1997, in 
get_check_table
    for entry in read_autochecks_of(hostname, world):
  File "/omd/sites/prod/share/check_mk/modules/discovery.py", line 1279, in 
read_autochecks_of
    autochecks.append((check_type, item, compute_check_parameters(hostname, 
check_type, item, parameters)))
  File "/omd/sites/prod/share/check_mk/modules/check_mk.py", line 4512, in 
compute_check_parameters
    entries = get_checkgroup_parameters(host, checktype, item)
  File "/omd/sites/prod/share/check_mk/modules/check_mk.py", line 4548, in 
get_checkgroup_parameters
    raise MKGeneralException(str(e) + " (on host %s, checktype %s)" % (host, 
checktype))
cmk.exceptions.MKGeneralException: Invalid entry '({'levels': ('perc_used', 
(85.0, 90.0))}, ['/wato/World_Food_Processing/+'], ['wfp-pbx'], [u'$'])' in 
host configuration list: must have 2 or 3 entries (on host lam-blm-sw2, 
checktype hp_procurve_mem)



[cid:image002.png@01D27D56.7156D060]

Lincoln Hach Yellick
Managed Service Technician
--------------------------------------------
Blue Net, Inc.
1301 Corporate Center Drive, Suite 112
Eagan, MN  55121
P: 651-203-8817  S: 651-203-8850
lyell...@bluenetinc.com<mailto:lyell...@bluenetinc.com>



From: Andreas Döhler <andreas.doeh...@gmail.com>
Sent: Wednesday, July 11, 2018 12:26 PM
To: Lincoln Yellick <lyell...@bluenetinc.com>
Cc: checkmk-en@lists.mathias-kettner.de
Subject: Re: [Check_mk (english)] Memory Thresholding Error

The important question is, after you created the rule, don't activate inside 
WATO only do the command on the shell.
Is there only the error message from your first post?
And you are sure that there are no modified checks or rules inside your locale 
structure?

best regards
Andreas
Lincoln Yellick <lyell...@bluenetinc.com<mailto:lyell...@bluenetinc.com>> 
schrieb am Mi., 11. Juli 2018 um 19:20 Uhr:
This looks like it recompiled checks and then rebooted the core. I tried to 
make a memory rule again, but we got the same error.

Thank you,




Lincoln Hach Yellick
Managed Service Technician
--------------------------------------------
Blue Net, Inc.
1301 Corporate Center Drive, Suite 
112<https://maps.google.com/?q=1301+Corporate+Center+Drive,+Suite+112+%0D%0AEagan,+MN+55121&entry=gmail&source=g>
Eagan, 
MN<https://maps.google.com/?q=1301+Corporate+Center+Drive,+Suite+112+%0D%0AEagan,+MN+55121&entry=gmail&source=g>
  
55121<https://maps.google.com/?q=1301+Corporate+Center+Drive,+Suite+112+%0D%0AEagan,+MN+55121&entry=gmail&source=g>
P: 651-203-8817  S: 651-203-8850
lyell...@bluenetinc.com<mailto:lyell...@bluenetinc.com>




_______________________________________________
checkmk-en mailing list
checkmk-en@lists.mathias-kettner.de
Manage your subscription or unsubscribe
http://lists.mathias-kettner.de/mailman/listinfo/checkmk-en

Reply via email to