Pre requirements
ParaIn poderorder ejecutarto run PandoraFMS_SAP_Plugin esit necesariois cumplirnecessary unato seriemeet dea requisitosseries previos.of Aunqueprerequisites. elAlthough the plugin puedecan serbe lanzadolaunched desdefrom cualquierany sistemasystem quethat cumplameets conthe losrequirements, requisitos,we usaremoswill comouse ejemplo un servidor dea Pandora FMS montadoserver enmounted Linux.on Linux as an example.
- Java 16
ElThe sistemasystem quethat ejecuteruns elthe plugin debemust contar conhave Java JDK instaladoinstalled alin menosat enleast su versiónversion 16. ParaTo ellodo podemosthis, accederwe acan laaccess página de descargas dethe Java JDK ydownload obtenerpage eland paqueteobtain correspondientethe decorresponding "openjdk": package:
UnaOnce vez descargado el paquetethe "openjdk-16.0.2_linux-x64_bin.tar.gz" enpackage elis sistemadownloaded loto descomprimimosthe ysystem, ubicamoswe enunzip lait rutaand deseada.place Esit recomendablein crearthe undesired enlacepath. simbólicoIt parais poderrecommended ejecutarto elcreate comandoa symbolic link to be able to execute the "java" sincommand necesidadwithout dethe indicarneed lato rutaindicate completa:the full path:
tar zxvf openjdk-16.0.2_linux-x64_bin.tar.gz
mv jdk-16.0.2 /opt
ln -s /opt/jdk-16.0.2/bin/java /usr/bin/java
- SAP JCO
ParaTo conectarconnect conwith los sistemasthe SAP asystems monitorizarto ymonitor realizarand llamadasmake RFC,RFC escalls, necesarioit contaris connecessary lato libreríahave the "sapjco3" paralibrary for Java. EstaThis libreríalibrary secan puedebe descargardownloaded desdefrom lathe páginaofficial webSAP oficial de SAP:website:
https://support.sap.com/en/product/connectors/jco.html
SeránWe necesariosare going to need 2 ficheros,files, Lathe libreríacompiled compiladalibrary yand elthe ficheroJAR JAR:file:
-
- libsapjco3.so (Linux) o sapjco3.dll (Windows)
- sapjco3.jar
LaThe libreríacompiled compiladalibrary secan puedebe ubicarplaced enin elany directoriodirectory queyou selike, quiera,for por ejemplo:example:
/usr/share/pandora_server/util/plugin/PandoraFMS_SAP_Plugin/libsapjco3.so
PeroBut el ficherothe JAR sefile debemust ubicarbe enlocated unin directorioa llamadodirectory called "PandoraFMS_SAP_Plugin_lib" ubicadolocated juntonext alto the plugin "PandoraFMS_SAP_Plugin.jar". PorFor ejemplo,example, siif elthe plugin seis encuentralocated en:at:
/usr/share/pandora_server/util/plugin/PandoraFMS_SAP_Plugin/PandoraFMS_SAP_Plugin.jar
La libreríaThe JAR selibrary tendráwill quehave ubicarto en:be located at:
/usr/share/pandora_server/util/plugin/PandoraFMS_SAP_Plugin/PandoraFMS_SAP_Plugin_lib/sapjco3.jar
De manera que los ficheros quedarían como:
/usr/share/pandora_server/util/plugin/PandoraFMS_SAP_Plugin/libsapjco3.so
/usr/share/pandora_server/util/plugin/PandoraFMS_SAP_Plugin/PandoraFMS_SAP_Plugin.jar
/usr/share/pandora_server/util/plugin/PandoraFMS_SAP_Plugin/PandoraFMS_SAP_Plugin_lib/sapjco3.jar
ConectividadConnectivity
DadoSince quethe lamonitoring monitorizaciónis sedone realizafrom desdeoutside fuerathe delSAP sistemasystem, SAP,it esis necesarionecessary asegurarto laensure comunicacióncommunication conwith el mismo.it.
HaciendoMaking usouse deof lasthe funcionesRFC RFC,functions, lathe conectividadconnectivity seis realizacarried desdeout elfrom equipothe quedevice ejecutathat elruns the plugin (porfor ejemplo,example, el servidor dethe Pandora FMS)FMS yserver) eland the SAP system gateway delthrough sistema SAP a través del puertothe 33XX TCP, siendoport, where XX elis numerothe delnumber sistemaof the SAP alsystem queto sewhich conectaconnects (porby defecto eldefault 3300 TCP). PorTherefore, lothe tantorange elof rangopossible deconnection puertosports dewill conexióngo posible irá desde elfrom 3300 alto 3399.
UsuarioUser
ParaIn poderorder ejecutarto lasexecute funcionesthe RFC delfunctions sistemaof the SAP serásystem, necesarioit contarwill conbe unnecessary usuarioto yhave sua contraseña.username and password.
EsteThis usuariouser debemust serbe deof tipotype “B-Sistema”System” (System) en versionesin SAP ECC oor S/4HANA,4HANA oversions, deor tipoof type “C-ComunicaciónCommunication / CPI-C/RFC” enin versiones deprevious SAP anteriores.versions.
SeIt recomiendais querecommended elthat usuariothe seauser debe tipoof type "B-Sistema"System" siemprewhenever quepossible seasince posiblefor yathis quetype paraof esteusers tipotheir depasswords usuariosdo nonot caducanexpire, suswhich contraseñas,in lothe cualevent enof elthis casohappening dewould sucederforce obligaríathem ato cambiarlasalso tambiénbe enchanged lain configuración delthe plugin enconfiguration in Pandora FMS.
ParaFor lathe creacióncreation delof usuariothe enuser elin sistemathe SAP,SAP serásystem, necesarioit quewill tengabe losnecessary siguientesto objetoshave dethe autorización:following authorization objects:
-
ObjetoAuthorizationde Autorizaciónobject "S_RFC":CampoField "ACTVT"conwithvalorvalue "16 Ejecutar".CampoField "RFC_TYPE"conwithvalorvalue "X FUGR".CampoField "RFC_NAME"conwithvaloresvalues "I*", "R*", "S*", "O*", "T*".
ObjetoAuthorizationde Autorizaciónobject "S_TABU_DIS":CampoField "ACTVT":valorwith value "03 Visualizar".CampoField "DICBERCLS"conwithvalorvalue "*".
ObjetoAuthorizationde autorizacionobject "S_XMI_LOG":TodosAllsusitscamposfields withcon valoresvalue "*".
ObjetoAuthorizationde autorizacionobject "S_XMI_PROD":TodosAllsusitscamposfieldsconwithvaloresvalue "*".
ObjetoAuthorizationde Autorizaciónobject "S_TCODE":CampoField "TCD" con valor "SM50".
LicenciaLicense
PandoraFMS_SAP_Plugin esis exclusivoexclusive para clientes defor Pandora FMS Enterprise queclients lowho hayanhave contratado.contracted Porit. elloTherefore esit necesariois contarnecessary conto unahave clavea devalid licencialicense válidakey parato ejecutarrun elthe plugin.
ParaTo obtenerobtain unaa licenciavalid válida,license, contactecontact con el equipo dethe Pandora FMS en:team at: