<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>check_sap CCMS questions</TITLE>
<META content="text/html; charset=us-ascii" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18999"></HEAD>
<BODY>
<DIV><SPAN class=097075116-14012011><FONT size=2 face=Arial>I solved question
2 myself. In SAP CCMS i</FONT></SPAN><SPAN class=097075116-14012011><FONT
size=2 face=Arial> created a new Monitorset "Nagios" and a new
Monitor each server, so i can select the values separately <U>and</U> use
wildcards.</FONT></SPAN></DIV>
<DIV><SPAN class=097075116-14012011><FONT size=2 face=Arial>Thanks anyways
:)</FONT></SPAN></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><SPAN class=097075116-14012011><FONT size=2 face=Arial>kind
regards</FONT></SPAN></DIV>
<DIV><SPAN class=097075116-14012011><FONT size=2
face=Arial>Michael</FONT></SPAN></DIV>
<DIV><BR></DIV>
<DIV dir=ltr lang=de class=OutlookMessageHeader align=left>
<HR tabIndex=-1>
<FONT size=2 face=Tahoma><B>Von:</B> Maurer, Michael
[mailto:Michael.Maurer@mosolf.de] <BR><B>Gesendet:</B> Freitag, 14. Januar 2011
14:32<BR><B>An:</B> nagios-users@lists.sourceforge.net<BR><B>Betreff:</B> [BULK]
- [Nagios-users] check_sap CCMS questions<BR></FONT><BR></DIV>
<DIV></DIV><!-- Converted from text/rtf format -->
<P><FONT size=2 face=Arial>Hi Folks,</FONT> </P>
<P><FONT size=2 face=Arial>i have 2 questions about the check_sap plugin…
</FONT></P>
<P><B><FONT size=2 face=Arial>1st:</FONT></B><FONT size=2 face=Arial> Is it
possible to configure different warning- and critical-values in SAP CCMS rz20
for each SAP Server separately?</FONT></P>
<P><FONT size=2 face=Arial>Example:</FONT> <BR><FONT size=2 face=Arial>We have 4
SAP Servers</FONT> <BR><FONT size=2 face=Arial>SAP\Server0_SAP_00</FONT>
<BR><FONT size=2 face=Arial>SAP\Server1_SAP_00</FONT> <BR><FONT size=2
face=Arial>SAP\Server2_SAP_00</FONT> <BR><FONT size=2
face=Arial>SAP\Server3_SAP_00</FONT> <BR><FONT size=2 face=Arial>I would like to
set "*\*\Dialog\ResponseTime" critical limit value for SAP\Server0_SAP_00 higher
than for SAP\Server3_SAP_00 but when i edit the limit values they apply for all
servers. That suxx :(</FONT></P><BR>
<P><B><FONT size=2 face=Arial>2nd:</FONT></B> <FONT size=2 face=Arial>No
information gathered! System up? - WHY?!?</FONT> </P>
<P><FONT size=2 face=Arial>When i check a value for all servers (wildcards in
Pattern) i get the correct result:</FONT> </P>
<P><FONT size=2 face=Arial>Agent.cfg Template:</FONT> <BR><FONT size=2
face=Arial>[TEMPLATE_09]</FONT> <BR><FONT size=2
face=Arial>DESCRIPTION="DialogResponseTime"</FONT> <BR><FONT size=2
face=Arial>MONI_SET_NAME=SAP CCMS Monitors for Optional Components</FONT>
<BR><FONT size=2 face=Arial>MONI_NAME="Logon Load Balancing"</FONT> <BR><FONT
size=2 face=Arial>MAX_TREE_DEPTH=0</FONT> <BR><FONT size=2
face=Arial>PATTERN_0="*\*\Dialog\ResponseTime"</FONT> </P>
<P><FONT size=2 face=Arial>RESULT:</FONT> <BR><FONT size=2
face=Arial>nagios32-kir:/usr/lib/nagios/plugins # ./check_sap 09 HOST</FONT>
<BR><FONT size=2 face=Arial>ResponseTime=51msec |
ResponseTime=51msec;3000.000000;5000.000000;0;</FONT> <BR><FONT size=2
face=Arial>ResponseTime=209msec |
ResponseTime=209msec;3000.000000;5000.000000;0;</FONT> <BR><FONT size=2
face=Arial>ResponseTime=197msec |
ResponseTime=197msec;3000.000000;5000.000000;0;</FONT> <BR><FONT size=2
face=Arial>ResponseTime=58msec |
ResponseTime=58msec;3000.000000;5000.000000;0;</FONT> </P>
<P><FONT size=2 face=Arial>But when i try to check it without wildcards
explicitely for one server i get message "No information gathered! System
up?".</FONT></P>
<P><FONT size=2 face=Arial>[TEMPLATE_007]</FONT> <BR><FONT size=2
face=Arial>DESCRIPTION="TEST"</FONT> <BR><FONT size=2
face=Arial>MONI_SET_NAME=SAP CCMS Monitors for Optional Components</FONT>
<BR><FONT size=2 face=Arial>MONI_NAME="Logon Load Balancing"</FONT> <BR><FONT
size=2 face=Arial>MAX_TREE_DEPTH=0</FONT> <BR><FONT size=2
face=Arial>PATTERN_0="SAP\Server3_SAP_00\R3Services\Dialog\ResponseTime"</FONT>
</P>
<P><FONT size=2 face=Arial>This pattern value is copy&pasted from properties
of the CCMS Monitor… I dont understand why… :(</FONT> </P>
<P><FONT size=2 face=Arial>Thanks in advance!</FONT> </P>
<P><FONT size=2 face=Arial>kind regards</FONT> <BR><FONT size=2
face=Arial>Michael</FONT> </P></BODY></HTML>