GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
MYSQL-SNMP(1) FreeBSD General Commands Manual MYSQL-SNMP(1)

mysql-snmp - MySQL-Server SNMP agent for Net-SNMP

mysql-snmp [ options ]

mysql-snmp is a Net-SNMP (snmpd) agent that can be used to monitor a MySQL server with SNMP.

These programs follow the usual GNU command line syntax, with long options starting with two dashes (`-'). A summary of options is included below.
-h, --help
display help
-v, --verbose
be verbose about what you do

-V, --version
output version information and exit

--daemon-pid=FILE
write PID to FILE instead of /var/run/mysql-snmp.pid

-u DBUSER
use DBUSER as user to connect to mysql

-p DBPASS
use DBPASS as password to connect to mysql

-h, --host HOST
connect to mysql server HOST

-P, --port PORT
port to connect (default 3306)

-c|--config FILE
read MySQL configuration from FILE

-m,--master
adds SNMP counters for masters

-s,--slave
adds SNMP counters for slaves

-b,--heartbeat DB.TABLE
compute slave lag with the Percona Toolkit pt-heartbeat stamp table. (Note that this option has no effect if --slave is not also specified.)

--oid OID
anchor the MIB to this root OID

-i,--refresh
refresh interval in seconds

You can specify the mysql connection parameters in a config file using my.cnf format, like this:

[client]
host=dbserver
port=3306
user=monitor
password=secret

snmpcmd(1).

mysql-snmp was written by Brice Figureau

This manual page was written by Brice Figureau <brice@daysofwonder.com>, for the Debian project (but may be used by others).

July 17, 2008

Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.