[Check_mk (english)] Check parameters configurable via WATO for plugins in RAW editiion

Sweta swetashah10 at gmail.com
Thu Feb 21 20:20:15 CET 2019


Hello,

I have RAW  Check_MK 1.5.0p5  installed and am writing a plugin in it.

I need to pass check parameters from server to agent and back to check
function, and wanted to do this via WATO configuration.

Is this possible? Have edited main.mk file to include the following:

*checks += [*
* ( "<hostname>", "<check_script>", "<service_name>", (comma-separated
check parameter values) )*
*]*

On doing discovery of services, I see below error in my check_mk GUI:

Traceback (most recent call last):
File "/omd/sites/mva/share/check_mk/web/htdocs/wato.py", line 374, in
page_handler
modefunc("content")
File "/omd/sites/mva/share/check_mk/web/htdocs/wato.py", line 446, in
mode_function
return mode_object.handle_page()
File "/omd/sites/mva/share/check_mk/web/htdocs/wato.py", line 467, in
handle_page
return self.page()
File "/omd/sites/mva/share/check_mk/web/htdocs/wato.py", line 3142, in page
self._check_row(check, show_bulk_actions)
File "/omd/sites/mva/share/check_mk/web/htdocs/wato.py", line 3368, in
_check_row
self._show_actions(check)
File "/omd/sites/mva/share/check_mk/web/htdocs/wato.py", line 3510, in
_show_actions
buttons.append(check_parameters_button())
File "/omd/sites/mva/share/check_mk/web/htdocs/wato.py", line 3443, in
check_parameters_button
[('mode', 'edit_ruleset'), ('varname', "static_checks:" + checkgroup),
TypeError: cannot concatenate 'str' and 'NoneType' objects


I have checked that my service names, parameters in check script are not
typecasted.

Could someone please help out in this regard?
-- 
Thanks & Regards,
Sweta
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.mathias-kettner.de/pipermail/checkmk-en/attachments/20190221/7f521d7a/attachment.html>


More information about the checkmk-en mailing list