check_sap CCMS questions

Maurer, Michael Michael.Maurer at mosolf.de
Fri Jan 14 14:31:46 CET 2011


Hi Folks,

i have 2 questions about the check_sap plugin... 

1st: Is it possible to configure different warning- and critical-values
in SAP CCMS rz20 for each SAP Server separately?

Example:
We have 4 SAP Servers
SAP\Server0_SAP_00
SAP\Server1_SAP_00
SAP\Server2_SAP_00
SAP\Server3_SAP_00
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 :(


2nd: No information gathered! System up? - WHY?!?

When i check a value for all servers (wildcards in Pattern) i get the
correct result:

Agent.cfg Template:
[TEMPLATE_09]
DESCRIPTION="DialogResponseTime"
MONI_SET_NAME=SAP CCMS Monitors for Optional Components
MONI_NAME="Logon Load Balancing"
MAX_TREE_DEPTH=0
PATTERN_0="*\*\Dialog\ResponseTime"

RESULT:
nagios32-kir:/usr/lib/nagios/plugins # ./check_sap 09 HOST
ResponseTime=51msec | ResponseTime=51msec;3000.000000;5000.000000;0;
ResponseTime=209msec | ResponseTime=209msec;3000.000000;5000.000000;0;
ResponseTime=197msec | ResponseTime=197msec;3000.000000;5000.000000;0;
ResponseTime=58msec | ResponseTime=58msec;3000.000000;5000.000000;0;

But when i try to check it without wildcards explicitely for one server
i get message "No information gathered! System up?".

[TEMPLATE_007]
DESCRIPTION="TEST"
MONI_SET_NAME=SAP CCMS Monitors for Optional Components
MONI_NAME="Logon Load Balancing"
MAX_TREE_DEPTH=0
PATTERN_0="SAP\Server3_SAP_00\R3Services\Dialog\ResponseTime"

This pattern value is copy&pasted from properties of the CCMS Monitor...
I dont understand why... :(

Thanks in advance!

kind regards
Michael

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20110114/56a99b99/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
-------------- 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