Nagios Plugin Help Please - "check_cap"

Hello

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

exchange.nagios.org/directory/Pl … ds/details

The code also can be found here:

files.tonyyarusso.com/check_cap

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.

Scott