Skip to content

Commit

Permalink
Fix naming in error message
Browse files Browse the repository at this point in the history
  • Loading branch information
bill-buchan committed May 14, 2024
1 parent e8db18d commit 281093d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<IntervalSchedule INTERVAL="1" TIME_UNIT="Hr"/>
</Schedule>
<MetricColl NAME="ME$FAILED_PDT_THREAD">
<Condition COLUMN_NAME="Status" CRITICAL="2" OPERATOR="EQ" OCCURRENCES="1" MESSAGE="Failed PRF thread for %keyValue%" CLEAR_MESSAGE="No failed PRF threads"/>
<Condition COLUMN_NAME="Status" CRITICAL="2" OPERATOR="EQ" OCCURRENCES="1" MESSAGE="Failed PDT thread for %keyValue%" CLEAR_MESSAGE="No failed PRF threads"/>
</MetricColl>
</CollectionItem>
</TargetCollectionExt>
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash
#
# Get status code for PRF threads (2=failed)
# Get status code for PDT threads (2=failed)
#

. ~/.bash_profile
Expand All @@ -15,7 +15,7 @@ SET HEAD OFF
SET PAGES 0
SELECT component_id||'|'||thread_id||'|'||status
FROM delius_app_schema.pdt_thread
WHERE component_id BETWEEN 500 AND 505 -- Performance Monitoring Threads
WHERE component_id BETWEEN 500 AND 505 -- Performance Monitoring Threads (PRF)
OR component_id BETWEEN 100 AND 107 -- Alfresco Message Queue Threads
ORDER BY component_id, thread_id;
EXIT
Expand Down

0 comments on commit 281093d

Please sign in to comment.