# Weblogic specific checks
# ========================================================
include common.cfg
Use = count_per_minute("bytes received")
Label = Channel $0 : $BASE
Name = bytes_received
Value = *:Name=$0,Type=ServerChannelRuntime,*/BytesReceivedCount
Critical = ${1:104857600}
Warning = ${2:83886080}
Use = count_per_minute("bytes sent")
Label = Channel $0 : $BASE
Name = bytes_sent
Value = *:Name=$0,Type=ServerChannelRuntime,*/BytesSentCount
Critical = ${1:104857600}
Warning = ${2:83886080}
Label = Channel $0 : %4.4v active connections
Name = connections
Value = *:Name=$0,Type=ServerChannelRuntime,*/ConnectionsCount
Critical = ${1:1000}
Warning = ${2:800}
Value = *:Type=WebAppComponentRuntime,ApplicationRuntime=$0,*/DeploymentState
String = 1
Label = $0 is running
Name = running
Critical = !1
Value = *:Type=ServletRuntime,ApplicationRuntime=$0,Name=$1,*/ExecutionTimeAverage
Label = $0 [$1] : Average execution time %d ms
Name = servlet_avg_execution_time
Critical = ${2:20000}
Warning = ${3:10000}
Value = *:Type=WseeOperationRuntime,ApplicationRuntime=$0,Name=$1,*/ExecutionTimeAverage
Label = WS $0 [$1] : Average execution time %d ms
Name = ws_avg_execution_time
Critical = ${2:150000}
Warning = ${3:100000}
Value = *:Type=WseeOperationRuntime,ApplicationRuntime=$0,Name=$1,*/ResponseTimeAverage
Label = WS $0 [$1] : Average response time %d ms
Name = ws_avg_execution_time
Critical = ${2:150000}
Warning = ${3:100000}
Value = *:Type=WseeOperationRuntime,ApplicationRuntime=$0,Name=$1,*/ResponseErrorCount
Label = WS $0 [$1] : Response error count %d
Name = ws_response_errors
Critical = ${2:10}
Warning = ${3:5}
Value = *:Type=WorkManagerRuntime,ApplicationRuntime=$0,Name=$1,*/PendingRequests
Label = WorkManager $0 [$1] : Pending requests %d
Name = ws_wm_pending_requests
Critical = ${2:10}
Warning = ${3:5}
Value = *:Type=WorkManagerRuntime,ApplicationRuntime=$0,Name=$1,*/StuckThreadCount
Label = WorkManager $0 [$1] : Stuck threads %d
Name = ws_wm_stuck_threads
Critical = ${2:10}
Warning = ${3:5}
Value = *:Type=WebAppComponentRuntime,ApplicationRuntime=$0,*/OpenSessionsCurrentCount
Label = Webapp $0 : Open sessions %d
Name = ws_webapp_sessions
Critical = ${1:2000}
Warning = ${2:1500}