Monitoring SAP R/3 : Could not read monitoring data with nagios-p lugins-sap-ccms but login works ok
Gick Thomas
Thomas.Gick at wieland-electric.com
Wed Oct 1 20:06:51 CEST 2003
Hi folks,
i have a r/3 system, 46d and tied to read some monitorinformation
direct with check_sap command. I installed the plugin under RedHat 7.3 by
extracting all necessary files out of the rpm package and did all according
to nagios-plugins-sap-ccms.spec. copying files, compiling, settings
user-rights und edit config files.
The login to r/3 works o.k, but there goes something else wrong:
Here is my configuration:
/etc/sapmon/login.cfg
[LOGIN_PRM]
LOGIN=-d PRM -u gick -p xxxx -h sn2500 -s 00 -c 100
/etc/sapmon/agent.cfg
[TEMPLATE_GICK]
DESCRIPTION ="Test"
MONI_SET_NAME="SAP CCMS Monitor Templates"
MONI_NAME="Dialog Overview"
MAX_TREE_DEPTH=0
PATTERN_0="PRM\*"
/etc/sapmon/moni_tr.cfg
DIALOG_RESPONSE_TIME#SAP CCMS Monitor Templates#Dialog Overview#Dialog
Response Time#
CHECK_SAP_SYSTEMS#SAP CCMS Monitor Templates#Availability and Performance
Overview##
CHECK_SAP_SYSTEMS#JAN#TEST##
I tried to call the template gick:
/usr/local/nagios/libexec/check_sap GICK PRM
No line came back. the exit code was 99 and on the R/3 system i found the
following logentries:
in /usr/sap/PRM/DVEBMGS00/work/dev_rfc1
**** Trace file opened at 20031001 194356 MEST, REL 46D,0,1364, VER 3
======> CPIC-CALL: 'ThSAPCMRCV'
CPIC program connection ended (read error)
Error RFCIO_ERROR_SYSERROR in abrfcpic.c : 2890
CPIC-CALL: 'ThSAPCMRCV'
CPIC program connection ended (read error)
Eintrag danach in /usr/sap/PRM/DVEBMGS00/work/dev_rd
Wed Oct 1 19:43:56 2003
***LOG S23=> GwDisconnectClient, client disconnected (296) [gwxxrd.c
9936]
***LOG S74=> GwDisconnectClient, client disconnected ( webnsr1) [gwxxrd.c
99
47]
***LOG S0R=> GwDisconnectClient, client disconnected () [gwxxrd.c 9963]
***LOG S0I=> GwDisconnectClient, client disconnected ( SAPCPIC) [gwxxrd.c
99
84]
****************************************************************************
*
*
* LOCATION SAP-Gateway on host sn2500 / sapgw00
* ERROR connection to client SAPCPIC on host localhost broken (read)
*
* TIME Wed Oct 1 19:43:56 2003
* RELEASE 46D
* COMPONENT SAP-Gateway
* VERSION 2
* RC 223
* MODULE gwxxrd.c
* LINE 9990
* COUNTER 1178294
*
****************************************************************************
*
in /usr/sap/PRM/DVEBMGS00/work/dev_w1
M
****************************************************************************
*
M *
M * LOCATION SAP-Gateway on host sn2500 / sapgw00
M * ERROR connection to partner broken
M *
M * TIME Wed Oct 1 19:43:56 2003
M * RELEASE 46D
M * COMPONENT NI (network interface)
M * VERSION 34
M * RC -6
M * MODULE niuxi.c
M * LINE 1186
M * DETAIL NiPRead
M * SYSTEM CALL recv
M * COUNTER 1178295
M *
M
****************************************************************************
*
M
A RFC 2888 CONVID 30235998
A * CMRC=20 DATA=1 STATUS=1 SAPRC=223 ThSAPCMRCV
A RFC> ABAP Programm: SAPMSSY1 (Transaction: )
A RFC> User: GICK (Client: 100)
A RFC> Destination: PRM (handle: 1, )
A RFC> Called function module: SXMI_LOGOFF
A RFC SERVER> RFC Server Session (handle: 1, )
A RFC SERVER> Caller host: webnsr1
A RFC SERVER> Caller transaction code:
A RFC SERVER> Called function module: SXMI_LOGOFF
A RFC 2779 CONVID 30235998
A * CMRC=20 DATA=1 STATUS=1 SAPRC=223 comread
~
has anybody an idea was happened..
thx,
Thomas
sent to /dev/null
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list