Nagios Plugin Help Please - "check_cap"



I hope some of you will be able to help me out to get the following plugin work on Nagios Core 3.3.1 : … ds/details

The code also can be found here:

Could you please write a step-by-step instructions to implement the above plugin specifically applies to a fully working Nagios Core v3.3.1 instance?
(All configuration file paths are intact and followed the original Nagios installation documentation to install the core and its running flawlessly)

Thanks in advance.