I’ve created my first plugins… overall I’m happy with the early results, but digging into documentation in order to have a deeper understanding of check_mk plugins writing I’m having troubles with WATO.
My first plugins were (now I know) oldstyle plugins, wereas my last plugins, is a dictionary baesd parameters plugin, whit the new inventory format, because I want it to appear in WATO and being able to set parameters in GUI…
The plugin works nicelly with its perfdata and perfometers…but as my early plugins, it does not appear in WATO groups, and it is stated as “this plugin cannot be managed by WATO” (or something similar)
Having a working plugin, obviously I’m missing something related to WATO plugin awareness… but reading docs is confusing for a noob like me, since docs evolve in time/version non retroactively.
My last clue was dealing with this file:
/usr/share/check_mk/web/plugins/wato/check_parameters.py
in order to get the plugin configurable in WATO…
…but this file is a check_mk “core” file…it seems very strange to me that it has to be altered… and if so…where? doc is very scarce at this point…
So, i give up… time to ask the mail-list gurus…
How can I get my working plugins (dictionary based) being parameterizable in WATO?
You can write your own python file and put it in that directory. As starting point take an mkp from exchange.check-mk.org containing WATO integration. Search the entries, I currently have no example
I’ve created my first plugins… overall I’m happy with the early results, but digging into documentation in order to have a deeper understanding of check_mk plugins writing I’m having troubles with WATO.
My first plugins were (now I know) oldstyle plugins, wereas my last plugins, is a dictionary baesd parameters plugin, whit the new inventory format, because I want it to appear in WATO and being able to set parameters in GUI…
The plugin works nicelly with its perfdata and perfometers…but as my early plugins, it does not appear in WATO groups, and it is stated as “this plugin cannot be managed by WATO” (or something similar)
Having a working plugin, obviously I’m missing something related to WATO plugin awareness… but reading docs is confusing for a noob like me, since docs evolve in time/version non retroactively.
My last clue was dealing with this file:
/usr/share/check_mk/web/plugins/wato/check_parameters.py
in order to get the plugin configurable in WATO…
…but this file is a check_mk “core” file…it seems very strange to me that it has to be altered… and if so…where? doc is very scarce at this point…
So, i give up… time to ask the mail-list gurus…
How can I get my working plugins (dictionary based) being parameterizable in WATO?