Skip to content
This repository has been archived by the owner on Jan 15, 2021. It is now read-only.

pmp-check-mysql-replication-delay shell hangs with syntax error #64

Open
ShahriyarR opened this issue Aug 15, 2017 · 2 comments
Open

pmp-check-mysql-replication-delay shell hangs with syntax error #64

ShahriyarR opened this issue Aug 15, 2017 · 2 comments

Comments

@ShahriyarR
Copy link

Description:

# su -l nagios -c "env -i HOME=/usr/local/nagios /usr/local/nagios/libexec/pmp-check-mysql-replication-delay -u -w 1 -T -s"
ERROR 1064 (42000) at line 1: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '-s WHERE (0 = 0 OR server_id = 0)' at line 2
^C
Session terminated, killing shell... ...killed.
@ShahriyarR
Copy link
Author

Same for this run:

# su -l nagios -c "env -i HOME=/usr/local/nagios /usr/local/nagios/libexec/pmp-check-mysql-replication-delay -u -w 1 -T sdfd"
ERROR 1046 (3D000) at line 1: No database selected
^C
Session terminated, killing shell... ...killed.

@ShahriyarR
Copy link
Author

# su -l nagios -c "env -i HOME=/usr/local/nagios /usr/local/nagios/libexec/pmp-check-mysql-replication-delay -u -w 1 -T sdfd.fdf"
ERROR 1146 (42S02) at line 1: Table 'sdfd.fdf' doesn't exist
^C
Session terminated, killing shell...^C ...killed.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant