Installing the CCMS plugin

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
dLans
Posts: 40
Joined: Tue May 27, 2014 1:54 am

Installing the CCMS plugin

Post by dLans »

Hello! This is not so much a Nagios question but I'm hoping someone here would still be able to say "Hey I know that! Its ... " :)


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).

Image

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
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Installing the CCMS plugin

Post by tmcdonald »

Can you point us to where you found this? We can generally help out with installing or using plugins, but if there are programming issues they need to be fixed by the developer (or us, if it was ours to begin with).
Former Nagios employee
dLans
Posts: 40
Joined: Tue May 27, 2014 1:54 am

Re: Installing the CCMS plugin

Post by dLans »

Hi! Thank you for your reply. I've found the plugin and documentation here:
https://exchange.nagios.org/directory/P ... ns/details

After extracting the .tar file you also get a 8 pages short documentation which I'll attach here.
You do not have the required permissions to view the files attached to this post.
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Installing the CCMS plugin

Post by tgriep »

I had the same error as you but I copied the shared library sap_moni.so in to the /usr/lib64 directory and ran the following to load it.

Code: Select all

ldconfig -v
Try that and see if it works for you.
Be sure to check out our Knowledgebase for helpful articles and solutions!
dLans
Posts: 40
Joined: Tue May 27, 2014 1:54 am

Re: Installing the CCMS plugin

Post by dLans »

That's it! I can't believe I failed to check if there was a x64 library as well. Thank you so much, this has really helped us save time & set up better monitoring!
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Installing the CCMS plugin

Post by tmcdonald »

Are we all good to close up this thread?
Former Nagios employee
dLans
Posts: 40
Joined: Tue May 27, 2014 1:54 am

Re: Installing the CCMS plugin

Post by dLans »

Yes, thank you <3
Locked