Greetings,
check_sap[.]pl Perl script (check_sap.pl (Nagios)) uses sapinfo (RFCSDK) program to check on a particular SAP instance via an old SuSE server:
/usr/local/sap/rfcsdk/bin # ./sapinfo -v This RFC library belongs to the SAP R/3 Release *** 640,0,395 UNICODE *** Versions of SAP internal libraries: dptr: 2 ni : 37 cpic: 3 rfc : 3 Compiled by compiler version: 3.3.3 (SuSE Linux)
check_sap.pl: $sapinfocmd = '/usr/local/sap/rfcsdk/bin/sapinfo'
According to SAP KB 3210395 - program sapinfo is obsolete - KB 3210395 - so RFCSKD (along with sapinfo) might no longer be available to download (I might be wrong though).
Our goal is to run sapinfo on a newer Linux x86-64 server that will be used for monitoring SAP instances.
1. I could use the installation package to compile (& link) sapinfo provided that the package is still available.
2. I could use NWRFCSDK as an alternative knowing that sapinfo calls the following (Unicode) RFC function:
/* -----------------------------------------------
* Call RFC function
* ---------------------------------------------*/
rfc_rc = RfcCall (handle,
cU("RFC_SYSTEM_INFO"),
exporting,
tables);
if (rfc_rc != RFC_OK)
{
rfc_error (cU("RfcCall"));
}
// ..
The result of this call is then parsed by check_sap[.]pl and returned to Nagios.
Question: Can NWRFCSDK be used as an alternative for RFCSDK and sapinfo? (The result of the call wouldn't have to be identical, I would modify the perl script if necessary).
Regards,