Open muffl0n opened 8 years ago
I found that when I run "pmp-check-mysql-replication-delay" with "bash" instead of "sh" (like the shebang defines) everything works just fine:
# /bin/bash /usr/lib64/nagios/plugins/pmp-check-mysql-replication-delay -H mysql-slave -l root -p bar -T heartbeat.heartbeat
Warning: Using a password on the command line interface can be insecure.
CRIT 2371 seconds of replication delay | replication_delay=2371;300;600;0;
Fix pending in #36
With pt-heartbeat I am writing entries to the table "heartbeat" in the database "heartbeat" on our master server:
When trying to use pmp-check-mysql-replication-delay on the slave to check the delay I have trouble reading those values:
The value I get is correct, but the error message confuses me.
Snippet from pmp-check-mysql-replication-delay:
Only specifying the table does not work either:
I'm using the latest version: