Have been trying to get the SAP CCMS Plugin up and running and failing miserably. following the limited directions in the documentation.pdf is gives me the following error when trying to Make the executable:
gcc -DSAP_RFC_TIME -o check_sap agnt_util.o check_sap.o sap_moni.so librfccm.so -ldl -lm
/usr/bin/ld: warning: libstdc++.so.5, needed by librfccm.so, not found (try using -rpath or -rpath-link)
librfccm.so: undefined reference to `__cxa_pure_virtual@CXXABI_1.2'
librfccm.so: undefined reference to `__gxx_personality_v0@CXXABI_1.2'
librfccm.so: undefined reference to `vtable for __cxxabiv1::__class_type_info@GLIBCPP_3.2'
librfccm.so: undefined reference to `operator new[](unsigned int)@GLIBCPP_3.2'
librfccm.so: undefined reference to `vtable for __cxxabiv1::__si_class_type_info@GLIBCPP_3.2'
librfccm.so: undefined reference to `operator new(unsigned int)@GLIBCPP_3.2'
librfccm.so: undefined reference to `vtable for __cxxabiv1::__vmi_class_type_info@GLIBCPP_3.2'
librfccm.so: undefined reference to `operator delete(void*)@GLIBCPP_3.2'
librfccm.so: undefined reference to `operator delete[](void*)@GLIBCPP_3.2'
collect2: ld returned 1 exit status
make: *** [check_sap] Error 1
The documentation is unfortunately in German which I can't read in a reasonable amount of time
The plugin doesn't appear to include any sort of verbose options at run time, but in agnt_mon.c there is a function sapmon_init with the int trace_me being set to 0. You could try changing that to a 1, recompiling, and see if it provides you with more verbose output than what you're currently getting.