cancel
Showing results for 
Search instead for 
Did you mean: 

Monitoring double stack systems with nagios

Former Member
0 Kudos

Hi,

by trying what kind of pattern nagios (check_sap_cons) needs for getting ccms j2ee values I wasn't that successfull.

Only from Heartbeat by using Pattern_=* results where shown.

All others like Applications shows "no informations gathered! System up?".

Example:

(this one works)

[Template_900]

DESCRIPTION=Java

MONI_SET_NAME=SAP J2EE Monitor Templates

MONI_NAME=Heartbeat

PATTERN_0=*

(this one shows the named error message)

[Template_901]

DESCRIPTION=Java

MONI_SET_NAME=SAP J2EE Monitor Templates

MONI_NAME=Applications

PATTERN_0=*

Does anyone have experience with that kind of issue ?

Regards

Roland

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hello Guys,

we are having the same problem here. I also have read the post in the nagios portal.

For me it seems that it is possibly a bug or missing feature(?) in nagios/SAP.

SAP shows the right entries in the monitoring tree (RZ20). But nagios gets only answer from

the heartbeat entry.

Does anyone have already a solution for this problem?

Best regards

Alexander

Former Member
0 Kudos

Hi Alexander,

i dont find a solution for this Problem.

I can't trace the Problem because i have no Java Stack Running.

Maybe its possible for you?

@Roland

Have you ever tryed to create a own Monitor and put only a Part of the

Application MTE in?

And then try to reach this Monitor with Nagios?

Or add a part of the Application MTE in a Monitor which is working

with Nagios.

Regards

Manuel

Former Member
0 Kudos

Hi Manuel, Alexander

I've just tried what Manuel suggested - and it works

On the double stack system we've created a new MTE called J2EE Engine Kernel.

The agent.cfg looks like this:

-snap--

[TEMPLATE_870]

DESCRIPTION=Java

MONI_SET_NAME=Test J2EE Monitor Set

MONI_NAME=J2EE Engine Kernel

PATTERN_0=XQ1\XQ1 64 Serv 649148450 mchp7tpa\System Threads Pool\MaximumThreadPoolSize

[TEMPLATE_875]

DESCRIPTION=Java

MONI_SET_NAME=Test J2EE Monitor Set

MONI_NAME=J2EE Engine Kernel

PATTERN_0=XQ1\XQ1 64 Disp 649148400 mchp7tpa\General (MessageContext)\AverageMSProcessTime

-snap--

ccms.cfg

-snap--

define service{

use generic-sap

host_name XQ1_Cent_64

contact_groups admins

service_description XQ1_MaximumThreadPoolSize

check_command check_sap_cons!870!XQ1_Cent_64

}

define service{

use generic-sap

host_name XQ1_Cent_64

contact_groups admins

service_description XQ1_AverageMSProcessTime

check_command check_sap_cons!875!XQ1_Cent_64

-snap--

Regards

Roland

Former Member
0 Kudos

Hi Roland,

if you understand german, i recommend you http://www.nagios-portal.de for this question.

Please check the output of the Plugin in OS aus User Nagios.

nagios@nagios$check_sap_cons <Template> <RFC-Template>

example:

nagios@nagios$check_sap_cons 901 SID
SID sapsid_SID_00 Dialog\tUsersLoggedIn 2

Please Post your login.cfg for the SID:

[LOGIN_SID]
LOGIN=-d SID -u rfc_nagios -p XXXXXXX -c 110 -h FQHOSTNAME -s 00

example from my agent.cfg

[TEMPLATE_06]
DESCRIPTION=Users-Logged-On
MONI_SET_NAME="SAP CCMS Monitor Templates"
MONI_NAME="Dialog Overview"
MAX_TREE_DEPTH=0
PATTERN_0=SID\hostname*\Di*\Us*

I have no J2EE Instance, so i dont know if the Subtree

"Applications" in "SAP J2EE Monitor Templates" exists.

Regards Manuel

Former Member
0 Kudos

Hi Manuel,

thanks for your answer.

I've already post the same message to the named german forum - no answer till today.

Nagios is already running and everything works fine but this J2EE SAP stuff.

Regards

Roland