Hi,
Has the "check_mysql" plugin been removed from the official Nagios Plugins download? I see it was included in v2.0 (there was an enhancement to it): https://nagios-plugins.org/nagios-plugins-2-0-released. But now looking at the docs (http://nagios-plugins.org/doc/man/index.html) it's no longer listed.
Thanks!
check_mysql gone from Nagios Plugins?
-
- Posts: 1597
- Joined: Tue Sep 27, 2016 4:57 pm
Re: check_mysql gone from Nagios Plugins?
Previous Nagios employee
Re: check_mysql gone from Nagios Plugins?
Thanks. What's the difference between the nagios-plugins github page, and the tarball from nagios-plugins.org? They're both v2.14, the github page has check_mysql, but the tarball from nagios-plugins.org doesn't contain check_mysql? What am I missing?
Re: check_mysql gone from Nagios Plugins?
Hmm, the latest tarball appears to include check_mysql when I grab it:
But it's definitely not being included when I do the configure and make:
I'll raise an issue within the appropriate channels to address this (probably just on the github).
Code: Select all
nagios-plugins-2.1.4.tar/nagios-plugins-2.1.4/plugins/check_mysql.c
Code: Select all
[root@test libexec]# ls -al
total 6348
drwxr-xr-x 2 root root 4096 Jan 13 13:59 .
drwxr-xr-x 5 root root 46 Jan 13 13:59 ..
-rwxr-xr-x 1 root root 210475 Jan 13 13:59 check_apt
-rwxr-xr-x 1 root root 2333 Jan 13 13:59 check_breeze
-rwxr-xr-x 1 root root 214512 Jan 13 13:59 check_by_ssh
lrwxrwxrwx 1 root root 9 Jan 13 13:59 check_clamd -> check_tcp
-rwxr-xr-x 1 root root 162841 Jan 13 13:59 check_cluster
-r-sr-xr-x 1 root root 211361 Jan 13 13:59 check_dhcp
-rwxr-xr-x 1 root root 227120 Jan 13 13:59 check_disk
-rwxr-xr-x 1 root root 9456 Jan 13 13:59 check_disk_smb
-rwxr-xr-x 1 root root 126826 Jan 13 13:59 check_dummy
-rwxr-xr-x 1 root root 3830 Jan 13 13:59 check_file_age
-rwxr-xr-x 1 root root 6399 Jan 13 13:59 check_flexlm
lrwxrwxrwx 1 root root 9 Jan 13 13:59 check_ftp -> check_tcp
-rwxr-xr-x 1 root root 310670 Jan 13 13:59 check_http
-r-sr-xr-x 1 root root 226859 Jan 13 13:59 check_icmp
-rwxr-xr-x 1 root root 169719 Jan 13 13:59 check_ide_smart
-rwxr-xr-x 1 root root 15262 Jan 13 13:59 check_ifoperstatus
-rwxr-xr-x 1 root root 13410 Jan 13 13:59 check_ifstatus
lrwxrwxrwx 1 root root 9 Jan 13 13:59 check_imap -> check_tcp
-rwxr-xr-x 1 root root 6971 Jan 13 13:59 check_ircd
-rwxr-xr-x 1 root root 187472 Jan 13 13:59 check_load
-rwxr-xr-x 1 root root 6595 Jan 13 13:59 check_log
-rwxr-xr-x 1 root root 22743 Jan 13 13:59 check_mailq
-rwxr-xr-x 1 root root 173005 Jan 13 13:59 check_mrtg
-rwxr-xr-x 1 root root 170274 Jan 13 13:59 check_mrtgtraf
-rwxr-xr-x 1 root root 186604 Jan 13 13:59 check_nagios
lrwxrwxrwx 1 root root 9 Jan 13 13:59 check_nntp -> check_tcp
-rwxr-xr-x 1 root root 219674 Jan 13 13:59 check_nt
-rwxr-xr-x 1 root root 218578 Jan 13 13:59 check_ntp
-rwxr-xr-x 1 root root 208071 Jan 13 13:59 check_ntp_peer
-rwxr-xr-x 1 root root 203244 Jan 13 13:59 check_ntp_time
-rwxr-xr-x 1 root root 250163 Jan 13 13:59 check_nwstat
-rwxr-xr-x 1 root root 8926 Jan 13 13:59 check_oracle
-rwxr-xr-x 1 root root 192909 Jan 13 13:59 check_overcr
-rwxr-xr-x 1 root root 223130 Jan 13 13:59 check_ping
lrwxrwxrwx 1 root root 9 Jan 13 13:59 check_pop -> check_tcp
-rwxr-xr-x 1 root root 224011 Jan 13 13:59 check_procs
-rwxr-xr-x 1 root root 185539 Jan 13 13:59 check_real
-rwxr-xr-x 1 root root 9666 Jan 13 13:59 check_rpc
-rwxr-xr-x 1 root root 1465 Jan 13 13:59 check_sensors
-rwxr-xr-x 1 root root 216384 Jan 13 13:59 check_smtp
-rwxr-xr-x 1 root root 185070 Jan 13 13:59 check_ssh
-rwxr-xr-x 1 root root 166617 Jan 13 13:59 check_swap
-rwxr-xr-x 1 root root 205398 Jan 13 13:59 check_tcp
-rwxr-xr-x 1 root root 186817 Jan 13 13:59 check_time
lrwxrwxrwx 1 root root 9 Jan 13 13:59 check_udp -> check_tcp
-rwxr-xr-x 1 root root 199309 Jan 13 13:59 check_ups
-rwxr-xr-x 1 root root 163131 Jan 13 13:59 check_uptime
-rwxr-xr-x 1 root root 157482 Jan 13 13:59 check_users
-rwxr-xr-x 1 root root 3019 Jan 13 13:59 check_wave
-rwxr-xr-x 1 root root 157509 Jan 13 13:59 negate
-rwxr-xr-x 1 root root 151030 Jan 13 13:59 urlize
-rwxr-xr-x 1 root root 1914 Jan 13 13:59 utils.pm
-rwxr-xr-x 1 root root 2791 Jan 13 13:59 utils.sh
Former Nagios employee
https://www.mcapra.com/
https://www.mcapra.com/
Re: check_mysql gone from Nagios Plugins?
Ahh, I see now. I was looking at the docs (http://nagios-plugins.org/doc/man/index.html) and didn't see check_mysql mentioned, so I assumed it wasn't included anymore. I installed it from FreeBSD's packages system and that doesn't have the MYSQL option enabled, and so it wasn't included. I'll just build it form ports and include MYSQL support which should build check_mysql as well.
Thanks
Thanks
-
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: check_mysql gone from Nagios Plugins?
It sounds like this issue has been resolved. Is it okay if we lock this thread? Thanks for choosing the Nagios forums!