Examples
java \
-Djava.library.path=/usr/share/pandora_server/util/plugin/PandoraFMS_SAP_Plugin/ \
-jar /usr/share/pandora_server/util/plugin/PandoraFMS_SAP_Plugin/PandoraFMS_SAP_Plugin.jar \
-l "f51a6712-a3fALLp4x0Af3vAfjr9II2f-bas1g74w" \
-h "10.5.6.30" \
-c "001" \
-s "00" \
-u "PANDORA01" \
-p "P45sw0rD." \
-m "SYS_INFO"
System hostname|System IP|System ID|System instance|System version|DB hostname|DBMS|OS
server|10.5.6.30|XYZ|server_XYZ_00|46C|server|MSSQL|Windows NT
- Connection to the SAP system (Text):
java \
-Djava.library.path=/usr/share/pandora_server/util/plugin/PandoraFMS_SAP_Plugin/ \
-jar /usr/share/pandora_server/util/plugin/PandoraFMS_SAP_Plugin/PandoraFMS_SAP_Plugin.jar \
-l "f51a6712-a3fALLp4x0Af3vAfjr9II2f-bas1g74w" \
-h "10.5.6.30" \
-c "001" \
-s "00" \
-u "PANDORA01" \
-p "P45sw0rD." \
-m "LOGIN_TEXT"
Login OK
- Connection to the SAP system (Boolean):
java \
-Djava.library.path=/usr/share/pandora_server/util/plugin/PandoraFMS_SAP_Plugin/ \
-jar /usr/share/pandora_server/util/plugin/PandoraFMS_SAP_Plugin/PandoraFMS_SAP_Plugin.jar \
-l "f51a6712-a3fALLp4x0Af3vAfjr9II2f-bas1g74w" \
-h "10.5.6.30" \
-c "001" \
-s "00" \
-u "PANDORA01" \
-p "P45sw0rD." \
-m "LOGIN_PROC"
1
- Work Process with "Waiting" status using RFC functions (Quantity):
java \
-Djava.library.path=/usr/share/pandora_server/util/plugin/PandoraFMS_SAP_Plugin/ \
-jar /usr/share/pandora_server/util/plugin/PandoraFMS_SAP_Plugin/PandoraFMS_SAP_Plugin.jar \
-l "f51a6712-a3fALLp4x0Af3vAfjr9II2f-bas1g74w" \
-h "10.5.6.30" \
-c "001" \
-s "00" \
-u "PANDORA01" \
-p "P45sw0rD." \
-m "RFC_FUNC_COUNT" \
-R "TH_WPINFO" -T "WPLIST" -F "WP_TYP,WP_ISTATUS" -W "WP_ISTATUS,EQ,2"
8
- Work Process with "Waiting" status using RFC functions (Table):
java \
-Djava.library.path=/usr/share/pandora_server/util/plugin/PandoraFMS_SAP_Plugin/ \
-jar /usr/share/pandora_server/util/plugin/PandoraFMS_SAP_Plugin/PandoraFMS_SAP_Plugin.jar \
-l "f51a6712-a3fALLp4x0Af3vAfjr9II2f-bas1g74w" \
-h "10.5.6.30" \
-c "001" \
-s "00" \
-u "PANDORA01" \
-p "P45sw0rD." \
-m "RFC_FUNC_TABLE" \
-R "TH_WPINFO" -T "WPLIST" -F "WP_TYP,WP_ISTATUS" -W "WP_ISTATUS,EQ,2"
WP_TYP|WP_ISTATUS
DIA|2
DIA|2
DIA|2
UPD|2
UPD|2
ENQ|2
BGD|2
SPO|2
- Work Process with "Waiting" status using RFC functions (Quantity per distinct record):
java \
-Djava.library.path=/usr/share/pandora_server/util/plugin/PandoraFMS_SAP_Plugin/ \
-jar /usr/share/pandora_server/util/plugin/PandoraFMS_SAP_Plugin/PandoraFMS_SAP_Plugin.jar \
-l "f51a6712-a3fALLp4x0Af3vAfjr9II2f-bas1g74w" \
-h "10.5.6.30" \
-c "001" \
-s "00" \
-u "PANDORA01" \
-p "P45sw0rD." \
-m "RFC_FUNC_GROUPTABLE" \
-R "TH_WPINFO" -T "WPLIST" -F "WP_TYP,WP_ISTATUS" -W "WP_ISTATUS,EQ,2"
WP_TYP|WP_ISTATUS|count(WP_TYP|WP_ISTATUS)
DIA|2|3
UPD|2|2
ENQ|2|1
BGD|2|1
SPO|2|1
- Work Process DIA available (Quantity):
java \
-Djava.library.path=/usr/share/pandora_server/util/plugin/PandoraFMS_SAP_Plugin/ \
-jar /usr/share/pandora_server/util/plugin/PandoraFMS_SAP_Plugin/PandoraFMS_SAP_Plugin.jar \
-l "f51a6712-a3fALLp4x0Af3vAfjr9II2f-bas1g74w" \
-h "10.5.6.30" \
-c "001" \
-s "00" \
-u "PANDORA01" \
-p "P45sw0rD." \
-m "WP_DIA_AVAIL_COUNT"
3
- Work Process DIA available (Percentage):
java \
-Djava.library.path=/usr/share/pandora_server/util/plugin/PandoraFMS_SAP_Plugin/ \
-jar /usr/share/pandora_server/util/plugin/PandoraFMS_SAP_Plugin/PandoraFMS_SAP_Plugin.jar \
-l "f51a6712-a3fALLp4x0Af3vAfjr9II2f-bas1g74w" \
-h "10.5.6.30" \
-c "001" \
-s "00" \
-u "PANDORA01" \
-p "P45sw0rD." \
-m "WP_DIA_AVAIL_PERCENT"
75.0
- Correct IDocs since yesterday (Quantity):
java \
-Djava.library.path=/usr/share/pandora_server/util/plugin/PandoraFMS_SAP_Plugin/ \
-jar /usr/share/pandora_server/util/plugin/PandoraFMS_SAP_Plugin/PandoraFMS_SAP_Plugin.jar \
-l "f51a6712-a3fALLp4x0Af3vAfjr9II2f-bas1g74w" \
-h "10.5.6.30" \
-c "001" \
-s "00" \
-u "PANDORA01" \
-p "P45sw0rD." \
-m "IDOC_OK_COUNT"
0
- Jobs in "Finished" status that start with the letter "Z" or in "Released" status using table queries (Quantity):
java \
-Djava.library.path=/usr/share/pandora_server/util/plugin/PandoraFMS_SAP_Plugin/ \
-jar /usr/share/pandora_server/util/plugin/PandoraFMS_SAP_Plugin/PandoraFMS_SAP_Plugin.jar \
-l "f51a6712-a3fALLp4x0Af3vAfjr9II2f-bas1g74w" \
-h "10.5.6.30" \
-c "001" \
-s "00" \
-u "PANDORA01" \
-p "P45sw0rD." \
-m "RFC_READTABLE_COUNT" \
-T "TBTCO" -F "JOBNAME,STATUS,STRTDATE" -W "STATUS EQ 'F' AND JOBNAME LIKE 'Z%'" -W "OR STATUS EQ 'S'"
21
- Jobs in "Finished" status that start with the letter "Z" or in "Released" status using table queries (Table):
java \
-Djava.library.path=/usr/share/pandora_server/util/plugin/PandoraFMS_SAP_Plugin/ \
-jar /usr/share/pandora_server/util/plugin/PandoraFMS_SAP_Plugin/PandoraFMS_SAP_Plugin.jar \
-l "f51a6712-a3fALLp4x0Af3vAfjr9II2f-bas1g74w" \
-h "10.5.6.30" \
-c "001" \
-s "00" \
-u "PANDORA01" \
-p "P45sw0rD." \
-m "RFC_READTABLE_TABLE" \
-T "TBTCO" -F "JOBNAME,STATUS,STRTDATE" -W "STATUS EQ 'F' AND JOBNAME LIKE 'Z%'" -W "OR STATUS EQ 'S'"
JOBNAME|STATUS|STRTDATE
ZADS_SCANPROG1|F|20100305
ZJOB1|F|20130714
ZJOB1|F|20130714
ZJOB1|F|20130714
ZJOB1|F|20130714
ZJOB1|F|20130714
ZJOB1|F|20130714
ZJOB1|F|20130714
RDDIMPDP|S|
RDDIMPDP_CLIENT_001|S|
SAP_APPLICATION_STAT_COLLECTOR|S|
ZJOB1|F|20130714
ZJOB1|F|20130714
ZJOB1|F|20130714
ZJOB1|F|20130714
ZJOB1|F|20130725
ZJOB1|F|20130725
ZJOB1|F|20130725
ZJOB1|F|20130725
ZJOB1|F|20130725
ZJOB1|F|20130725
- Jobs in "Finished" status that start with the letter "Z" or in "Released" status using table queries (Quantity per distinct record):
java \
-Djava.library.path=/usr/share/pandora_server/util/plugin/PandoraFMS_SAP_Plugin/ \
-jar /usr/share/pandora_server/util/plugin/PandoraFMS_SAP_Plugin/PandoraFMS_SAP_Plugin.jar \
-l "f51a6712-a3fALLp4x0Af3vAfjr9II2f-bas1g74w" \
-h "10.5.6.30" \
-c "001" \
-s "00" \
-u "PANDORA01" \
-p "P45sw0rD." \
-m "RFC_READTABLE_GROUPTABLE" \
-T "TBTCO" -F "JOBNAME,STATUS,STRTDATE" -W "STATUS EQ 'F' AND JOBNAME LIKE 'Z%'" -W "OR STATUS EQ 'S'"
JOBNAME|STATUS|STRTDATE|count(JOBNAME|STATUS|STRTDATE)
ZADS_SCANPROG1|F|20100305|1
ZJOB1|F|20130714|11
RDDIMPDP|S||1
RDDIMPDP_CLIENT_001|S||1
SAP_APPLICATION_STAT_COLLECTOR|S||1
ZJOB1|F|20130725|6
- Changes in authorization profiles in the last 24 hours that contain the word "USER":
java \
-Djava.library.path=/usr/share/pandora_server/util/plugin/PandoraFMS_SAP_Plugin/ \
-jar /usr/share/pandora_server/util/plugin/PandoraFMS_SAP_Plugin/PandoraFMS_SAP_Plugin.jar \
-l "f51a6712-a3fALLp4x0Af3vAfjr9II2f-bas1g74w" \
-h "10.5.6.30" \
-c "001" \
-s "00" \
-u "PANDORA01" \
-p "P45sw0rD." \
-m "PROFILES_CHANGES_TABLE" \
-L "86400" -C "USER"
USER|MOD|DATE
USER1|M|2022-05-17 03:56:34
USER2|C|2022-05-17 03:39:02
USER3|M|2022-05-17 10:32:46
USER4|C|2022-05-16 07:57:27
USER5|M|2022-05-16 05:39:24
- Output of the execution of a "Z" transaction:
java \
-Djava.library.path=/usr/share/pandora_server/util/plugin/PandoraFMS_SAP_Plugin/ \
-jar /usr/share/pandora_server/util/plugin/PandoraFMS_SAP_Plugin/PandoraFMS_SAP_Plugin.jar \
-l "f51a6712-a3fALLp4x0Af3vAfjr9II2f-bas1g74w" \
-h "10.5.6.30" \
-c "001" \
-s "00" \
-u "PANDORA01" \
-p "P45sw0rD." \
-m "RFC_Z_TRANS" \
-Z "Z_CHECK_STATUS" -F "OUTPUT,VALUE"
OUTPUT|VALUE
SUCCESS|1