check_swap

i am trying to access check_swap using check_nrpe but i am getting connection refused by host error what should i do to retify things. /root/Desktop/Screenshot.png

Did you setup npre correctly? You need to edit the config and add the ip address of the machine it’s running on and add the ip of the nagios machine to the allowed_hosts section.