Friday, June 17, 2011

installing nagios mysql plugin

http://nagiosplugins.org/man/check_mysql

check_mysql_health is a plugin for Nagios that allows you to monitor a MySQL database. Among the list of metrics are time to login, index usage, bufferpool hit rate, query cache hit rate, slow queries, temp tables on disk, table cache hit rate, connected threads, and many more. Requirements are either a DBD::mysql Perl module or a MySQL client package.
http://exchange.nagios.org/directory/Plugins/Databases/MySQL/check_mysql_health/details
http://labs.consol.de/nagios/check_mysql_health/

You can check for the latest plugin at:
  http://www.consol.com/opensource/nagios/check-mysql-health

The documentation in this README covers only the most common features.
To view the full documentation and examples, go to
  http://www.consol.com/opensource/nagios/check-mysql-health or
  http://www.consol.de/opensource/nagios/check-mysql-health

 cd check_mysql_health-2.1.5.1


 ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking how to create a pax tar archive... gnutar
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether make sets $(MAKE)... (cached) yes
variable with_statefiles_dir is /var/tmp/check_mysql_health
variable with_mymodules_dir is /usr/local/nagios/libexec
variable with_mymodules_dyn_dir is /usr/local/nagios/libexec
checking for sh... /bin/sh
checking for perl... /usr/bin/perl
checking for gzip... /bin/gzip
checking for gawk... no
checking for nawk... /usr/bin/nawk
checking for grep... /bin/grep
checking for echo... /bin/echo
checking for sed... /bin/sed
checking for cat... /bin/cat
configure: creating ./config.status
config.status: creating Makefile
config.status: creating plugins-scripts/Makefile
config.status: creating plugins-scripts/subst
config.status: creating t/Makefile
                       --with-perl: /usr/bin/perl
             --with-statefiles-dir: /var/tmp/check_mysql_health
                --with-nagios-user: nagios
               --with-nagios-group: nagios
              --with-mymodules-dir: /usr/local/nagios/libexec
          --with-mymodules-dyn-dir: /usr/local/nagios/libexec

No comments:

Post a Comment