Found below script was not working as mentioned in sensu go docs page. PFB references:-
Install Sensu agents
Under Downloads, RHEL/Centos, the mentioned script doesn’t work for RHEL.
existing(not working): curl -s https://packagecloud.io/install/repositories/sensu/stable/script.deb.sh | sudo bash
(Working):https://packagecloud.io/install/repositories/sensu/stable/script.rpm.sh | sudo bash
Could you kindly update the correct one?