Hi team,
Looking for some guidance, I have been playing around with making my first plugin, have read till I am seeing cross-eyed…
Building off the hello_bakery mkp I have been able to build it out, and is working great on Linux.
The challenge comes with windows, in the bakery example we have this :
# Just because we can we will also write a Windows configuration. In contrast to
# Unices, Windows configuration is kept in a centralized file, not in
# individual files for each plugin.
Which unless I wrong… ( 3 days of ) writes my cfg to the check_mk.bakery.yml file, which has two issues.
- Powershell does not natively read YAML
- Conflicting other scripts either putting it in check_mk.user.yml or create their own custom ( mk_oracle as example )
So I have managed to make something work, by loading powershell-yaml in my script, this is not great, and in fact slows the plugin down, since I either need to “pre-load” it on all my windows boxes, or I needed a -Force to get around prompts and do not get my started on security…
So some help from the great team here would be appreciated. Or do I need to go down the path of converting my PS1 to VBS
Thanks always,
Sean.