Add '!=' comparison operator to pmp-check-mysql-status
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona Monitoring Plugins |
Fix Released
|
Low
|
Unassigned | ||
Ubuntu |
Invalid
|
Undecided
|
Unassigned |
Bug Description
pmp-check-
For example, to ensure that PXC node is ok you need to verify that the MySQL variable "wsrep_local_state" equals 4 and no other. BTW, it could equal to from 0 to 6 (http://
When I modify the script slightly I could achieve the necessary result. For example:
[root@centos6 ~]# /opt/percona-
OK wsrep_local_state = 4
[root@centos6 ~]# /opt/percona-
WARN wsrep_local_state = 0
[root@centos6 ~]# /opt/percona-
CRIT wsrep_local_state = 0
Please add '!=' as the comparison operator. It may be useful for other strict-
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)
Changed in percona-monitoring-plugins: | |
status: | New → Confirmed |
Changed in percona-monitoring-plugins: | |
importance: | Undecided → Low |
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 |
close ubuntu tag wiki.ubuntu. com/BugSquad
---
Ubuntu Bug Squad volunteer triager
http://