I solved question 2 myself. In SAP CCMS i created a new Monitorset
"Nagios" and a new Monitor each server, so i can select the values
separately and use wildcards.
Thanks anyways :)
 
kind regards
Michael

________________________________

Von: Maurer, Michael [mailto:[email protected]] 
Gesendet: Freitag, 14. Januar 2011 14:32
An: [email protected]
Betreff: [BULK] - [Nagios-users] check_sap CCMS questions



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 

------------------------------------------------------------------------------
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
_______________________________________________
Nagios-users mailing list
[email protected]
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

Reply via email to