Skip to content

Commit 2ca28cc

Browse files
committed
refactoring: fixed spelling
1 parent fedf8f8 commit 2ca28cc

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

documentation/metrics.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1304,7 +1304,7 @@ Default config:
13041304

13051305
### Triggers
13061306

1307-
1. **Process fork-rate to frequently on {HOSTNAME}**
1307+
1. **Process fork-rate too frequently on {HOSTNAME}**
13081308
Triggers if *Processes: forkrate* greater than 500.
13091309

13101310
2. **System was restarted on {HOSTNAME} (up_time={ITEM.LASTVALUE})**
@@ -2240,7 +2240,7 @@ Default config:
22402240

22412241
### Triggers
22422242

2243-
1. **PostgreSQL required checkpoints occurs to frequently on {HOSTNAME}**
2243+
1. **PostgreSQL required checkpoints occurs too frequently on {HOSTNAME}**
22442244
Triggers if *PostgreSQL checkpoints: by wal (in hour)* exceeds `max_checkpoint_by_wal_in_hour`.
22452245

22462246
### Connections

mamonsu/plugins/pgsql/checkpoint.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ def graphs(self, template, dashboard=False):
121121

122122
def triggers(self, template, dashboard=False):
123123
return template.trigger({
124-
"name": "PostgreSQL Checkpoints: required checkpoints occurs to frequently on {HOSTNAME}",
124+
"name": "PostgreSQL Checkpoints: required checkpoints occurs too frequently on {HOSTNAME}",
125125
"expression": "{#TEMPLATE:" + self.right_type(self.key,
126126
self.Items[1][1]) + ".last()}>" + self.plugin_config(
127127
"max_checkpoint_by_wal_in_hour")

mamonsu/plugins/system/linux/proc_stat.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ def graphs(self, template, dashboard=False):
142142
def triggers(self, template, dashboard=False):
143143
return template.trigger(
144144
{
145-
"name": "Process fork-rate to frequently on {HOSTNAME}",
145+
"name": "Process fork-rate too frequently on {HOSTNAME}",
146146
"expression": "{#TEMPLATE:" + self.right_type("system.processes{0}", "forkrate") +
147147
".min(5m)}>" + str(self.ForkRate)
148148
}

0 commit comments

Comments
 (0)