Package: nagios-plugins
Version: 1.4-6
Severity: important
Tags: patch

Hello

The MySQL plugin's configuration file, /etc/nagios-plugins/config/mysql.cfg,
isn't set to allow a username/password to be provided.

A workaround is:

  /usr/lib/nagios/plugins/check_mysql -H $HOSTADDRESS$ -u $ARG1$ -p $ARG2$

However, this probably won't work if check_mysql is set not to need a
password.  How about two commands - check_mysql_anon and check_mysql - the
first not needing a password?


Peter.


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: sparc (sparc64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.4.26-sparc64
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages nagios-plugins depends on:
ii  bind9-host [host]      1:9.3.1-2         Version of 'host' bundled with BIN
ii  dnsutils               1:9.3.1-2         Clients provided with BIND
ii  fping                  2.4b2-to-ipv6-11  sends ICMP ECHO_REQUEST packets to
ii  iputils-ping           3:20020927-2      Tools to test the reachability of 
ii  libc6                  2.3.2.ds1-22      GNU C Library: Shared libraries an
ii  libldap2               2.1.30-10         OpenLDAP libraries
ii  libmysqlclient12       4.0.24-10         mysql database client library
ii  libnet-snmp-perl       5.0.1-1           Script SNMP connections
ii  libpq3                 1:7.4.8-9         PostgreSQL C client library
ii  libssl0.9.7            0.9.7g-1          SSL shared libraries
ii  ntp                    1:4.2.0a+stable-8 Network Time Protocol: network uti
ii  ntp-simple             1:4.2.0a+stable-8 Network Time Protocol: daemon for 
ii  ntpdate                1:4.2.0a+stable-8 The ntpdate client for setting sys
ii  procps                 1:3.2.5-1         /proc file system utilities
ii  qstat                  2.8-1             Command-line tool for querying qua
ii  radiusclient1          0.3.2-8           /bin/login replacement which uses 
ii  smbclient              3.0.14a-5         a LanManager-like simple client fo
ii  snmp                   5.1.2-6.1         NET SNMP (Simple Network Managemen

Versions of packages nagios-plugins recommends:
ii  nagios-text 2:1.3-cvs.20050402-2.sarge.1 A host/service/network monitoring 

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to