By default the agent runs the plugin as icinga user. I want to run the plugin with specific user. For example check_disk should run as root. On the same server I want to run check_db2_health with db2inst1 user.
Root for disk : because I can read some readonly disk which icinga user cannot read
db2inst1: because I do not need password locally to login on the same server
Is there anyway we can achieve this?
What changes I can make