Check_MK inject password in custom checks

Hello CheckMK community,

I would like to ask you about Passwords management module. Is there a possibility to add stored password in your custom check.

For instance I’ve got a passwords in Passwords tab provided by CheckMK. Now I would like to call it from check:
python3.6 $USER2$/redfish/check_redfish.py -H $HOSTADDRESS$ --storage

This script supports -u user -p password option, but I have no idea how should I call a Password stored in CheckMK Passwords tab.
pw

Thank you in advance.

Regards,
BesOn

Hi Beson,

there is a module for password store in Checkmk.

You can use this module inside your custom extension. There are also examples for using it.

BR

Anastasios

2 Likes

Hi Anastasios,

Thank you for your reply and provided information. I will try it.

1 Like

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.