Enable gpio pin on Raspberry Pi at boot in the config.txt file. Different pins can be selected based on requirement.
Sensu setup on Raspberry Pi 3
How to install & configure Sensu on a Raspberry Pi 3 – Sensu will be installed via Ruby Gems & configured to run as a service using systemd