FreeBSD Manual Pages
MYSQL-SNMP(1) General Commands Manual MYSQL-SNMP(1) NAME mysql-snmp - MySQL-Server SNMP agent for Net-SNMP SYNOPSIS mysql-snmp [ options ] DESCRIPTION mysql-snmp is a Net-SNMP (snmpd) agent that can be used to monitor a MySQL server with SNMP. OPTIONS These programs follow the usual GNU command line syntax, with long op- tions 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 MYSQL CONFIGURATION 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 SEE ALSO snmpcmd(1). AUTHOR mysql-snmp was written by Brice Figureau This manual page was written by Brice Figureau <brice@daysofwon- der.com>, for the Debian project (but may be used by others). July 17, 2008 MYSQL-SNMP(1)
NAME | SYNOPSIS | DESCRIPTION | OPTIONS | MYSQL CONFIGURATION | SEE ALSO | AUTHOR
Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=mysql-snmp&sektion=1&manpath=FreeBSD+Ports+14.3.quarterly>
