/usr/share/check_mk/pnp-templates/check-mk-host-ping.php is in check-mk-server 1.2.6p12-1.
This file is owned by root:root, with mode 0o777.
It is a symlink to /usr/share/check_mk/pnp-templates/check-mk-ping.php
/usr/share/check_mk/pnp-templates/check-mk-ping.php