Add option to disable overriding the status basing on the largest process memory in pmp-check-unix-memory
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona Monitoring Plugins |
Fix Released
|
Medium
|
Unassigned |
Bug Description
By default, pmp-check-
So in case I have a large process consuming most of the memory I see something like this:
[root@centos6 ~]# /opt/percona-
WARN OK Memory 85% used. Largest process: mysqld (24579) = 15432.75MB (90%)
[root@centos6 ~]# /opt/percona-
CRIT WARN Memory 93% used. Largest process: mysqld (7008) = 16846.75MB (99%)
As you can see the specified thresholds trigger one status first and then the another final status appended according to the comparison with the largest process memory.
I think I should be able to disable this behaviour because on the dedicated boxes I could have MySQL tuned with innodb buffer pool to 80% of total memory and it will end up with status problems on Nagios even there are no ones actually.
I should be able to perform:
[root@centos6 ~]# /opt/percona-
OK Memory 85% used. Largest process: mysqld (24579) = 15432.75MB (90%)
We should be consistent with the specified/default thresholds and do not depend from the largest process memory consumption optionally.
Related branches
- Roman Vynar: Approve
- Ryan Huddleston: Pending requested
-
Diff: 3540 lines (+2337/-516)33 files modifiedChangelog (+14/-0)
VERSION (+1/-1)
build/build.sh (+91/-0)
build/deb/percona-cacti-templates/control (+15/-0)
build/deb/percona-cacti-templates/copyright (+24/-0)
build/deb/percona-cacti-templates/files (+14/-0)
build/deb/percona-cacti-templates/postinst (+4/-0)
build/deb/percona-nagios-plugins/control (+14/-0)
build/deb/percona-nagios-plugins/copyright (+24/-0)
build/deb/percona-nagios-plugins/files (+7/-0)
build/deb/percona-nagios-plugins/postinst (+3/-0)
build/rpm/percona-cacti-templates.spec (+54/-0)
build/rpm/percona-nagios-plugins.spec (+42/-0)
cacti/definitions/gnu_linux.def (+28/-1)
cacti/scripts/ss_get_by_ssh.php (+4/-4)
dev-docs/making-releases.rst (+13/-0)
docs/cacti/creating-graphs.rst (+4/-4)
docs/cacti/developer-documentation.rst (+1/-0)
docs/cacti/installing-templates.rst (+3/-0)
docs/cacti/mysql-templates.rst (+3/-1)
docs/cacti/ssh-based-templates.rst (+1/-0)
docs/cacti/unix-templates.rst (+36/-12)
docs/config/percona-theme/layout.html (+77/-205)
docs/config/percona-theme/static/default.css_t (+6/-42)
docs/config/percona-theme/static/percona.com.css (+1783/-204)
make.sh (+25/-10)
nagios/bin/pmp-check-mysql-file-privs (+1/-1)
nagios/bin/pmp-check-mysql-status (+8/-3)
nagios/bin/pmp-check-pt-table-checksum (+3/-7)
nagios/bin/pmp-check-unix-memory (+20/-15)
t/cacti/get_by_ssh.php (+5/-5)
t/cacti/misc_functions_1.php (+1/-1)
t/nagios/pmp-check-mysql-status/check-functions.sh (+8/-0)
description: | updated |
Changed in percona-monitoring-plugins: | |
status: | New → Confirmed |
Changed in percona-monitoring-plugins: | |
importance: | Undecided → Medium |
Changed in percona-monitoring-plugins: | |
status: | Confirmed → In Progress |
Changed in percona-monitoring-plugins: | |
milestone: | none → 1.0.2 |
Changed in percona-monitoring-plugins: | |
status: | In Progress → Fix Released |