Plugin template?

Hi Andreas,
thank you for your help.

I managed to create mkp package for my plugin and run it and configure through wato, but unfortunately my script does not function in the same way as if I run it manually from CLI.

The script parses the webpage of OXE PBX and print on its output Status of desired SIP Trunk:

#./check_oxesiptrunkstatus -u user -p secret -H 192.168.2.100 -P voiceconnect.domain.de
0 SIP-TRUNK - OK: Public Registration Domain - voiceconnect.domain.de, Public DDI - f106353ecompany, Status - REGISTRATION SUCCESSFUL

But when check_mk runs the script with the same parameters, then in the script output I cannot see given “Public Registration Domain” but I always see the first PRD from the list.

Out of some reason the script does not work the same way as when I run it manually from CLI.