Problem with CHECK_SAP_CONS
Novak, Mark
mark.novak at eds.com
Fri May 23 18:35:34 CEST 2008
Hello,
For the sake of anyone that might be curious or runs into a similar
problem-
I posted on nagios-portal.de thinking (rightly) that there would be more
SAP users over there in Germany. One of the posters there came up with
the solution:
The main problem was that for testing I was using my login, which has
SAP_ALL and SAP_NEW. You have to follow the steps outlined in Wolfgang
Barth's book to create the RFC user. Once that part was done, the
initial connection was made. The second problem was that when the
plugin queried the SAP system, it (or the RFC call) converted the
password to upper case. SAP is case sensitive, so I went ahead and gave
the new RFC user an all upper case password.
>From that point on, everything worked great!
Thanks,
Mark Novak
EDS SAP Practice
Office: 972-605-2817
Cell: 214-725-5295
Email: mark.novak at eds.com
________________________________
From: nagios-users-bounces at lists.sourceforge.net
[mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Novak,
Mark
Sent: Sunday, May 18, 2008 4:02 PM
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] Problem with CHECK_SAP_CONS
Hello Everyone,
I am trying to make the SAP CCMS plugins work with my systems.
I have successfully installed and configured ./check_sap.sh, and it
works fine.
When setting up check_sap_cons, I set up an agent.cfg and
login.cfg in /etc/sapmon. For the login.cfg, I used my userid and
password (SAP_ALL and SAP_NEW).
When I execute "./check_sap_cons 00 SM1", I receive the
following error:
<== RfcLastError
FUNCTION: SXMI_LOGON
RFC operation/code SYSTEM_FAILURE
ERROR/EXCEPTION
key :
status :
message : Name or password is incorrect (repeat logon)
internal:
<== RfcClose
I have googled for this error and checked the newsgroups. I
followed Wolfgang Barth's excellent book for the setup.
I am not sure why I would get an incorrect username/password
error. I can log in fine through SAPGUI with the same username/password
combo.
Any and all assistance is much appreciated!
agent.cfg ->
[TEMPLATE_00]
DESCRIPTION=Dialog response time
MONI_SET_NAME=SAP CCMS Monitor Templates
MONI_NAME=DIALOG Overview
PATTERN_0=*
login.cfg ->
[LOGIN_SM1]
LOGIN=-d SM1 -u user -p password -c 001 -h myhostname -s 00
Command that I am running ->
./check_sap_cons 00 SM1
Thanks,
Mark Novak
EDS SAP Practice
Office: 972-605-2817
Cell: 214-725-5295
Email: mark.novak at eds.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20080523/8bc1628a/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
-------------- next part --------------
_______________________________________________
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