I should start by pointing out that I’ve got only basic Linux experience as we’re a 99% Windows based company (we're running it purely for Nagios). I’m trying to learn but sometimes I need some help with being pointed into the right direction ^^.
We want to use Nagios for monitoring our SAP systems. We want to go beyond simply checking whether the server is online or if there is enough space available. We want to be able to monitor important jobs statuses. We can manually see the job status in the transaction SM37 but this requires manual labor and we’re all lazy system administrators =).
I’ve been looking into the Nagios CCMS plugin but I’m having trouble installing it. I’ve downloaded a tar, extracted the files, compiled the libraries but for some reason I cannot seem to get it working (even though the how-to seems fairly easy and straightforward).

I’ve followed the above and copied the two files to /usr/lib. But when trying to execute the command check_sap I get the following error:
./check_sap: error while loading shared libraries: sap_moni.so: cannot open shared object file: No such file or directory
What am I doing wrong? If anyone could guide me into the right direction I’d really appreciate it!
Kind regards,
Dennis Lans