Search
 
SCRIPT & CODE EXAMPLE
 

SQL

Template MySQL Zabbix agent

UserParameter=mysql.ping[*], mysqladmin -h"$1" -P"$2" ping
UserParameter=mysql.get_status_variables[*], mysql -h"$1" -P"$2" -sNX -e "show global status"
UserParameter=mysql.version[*], mysqladmin -s -h"$1" -P"$2" version
UserParameter=mysql.db.discovery[*], mysql -h"$1" -P"$2" -sN -e "show databases"
UserParameter=mysql.dbsize[*], mysql -h"$1" -P"$2" -sN -e "SELECT COALESCE(SUM(DATA_LENGTH + INDEX_LENGTH),0) FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA='$3'"
UserParameter=mysql.replication.discovery[*], mysql -h"$1" -P"$2" -sNX -e "show slave status"
UserParameter=mysql.slave_status[*], mysql -h"$1" -P"$2" -sNX -e "show slave status"
Comment

PREVIOUS NEXT
Code Example
Sql :: eneratingSchemaError: Some errors occurred while generating GraphQL schema: Type Query must define one or more fields. 
Sql :: how to innjert in other database 
Sql :: creating h2 database in relative directory eclopse 
Sql :: learnxinyminutes sql 
Sql :: sql not null constraint 
Sql :: permisos en mysql 
Sql :: how to create a new shema using query languaage 
Sql :: https://livesql.oracle.com/apex/livesql/s/l8fedwph53gt5gigbacwvu6m0 
Sql :: get db connection detail from sql developer profile 
Sql :: database restoring error 
Sql :: mysql missin expression near on 
Sql :: sql get highest date from 3 tabels 
Sql :: sql trigger to call stored procedure with parameters 
Sql :: não é possível executar uma operação DML dentro de uma consulta 
Sql :: grepper sql workbench download 
Sql :: SQL MAX() and MIN() in Nested SELECT 
Sql :: mysql query to add hours to column in table 
Sql :: como hacer una consulta en sql 
Sql :: expose db in virtualbox 
Sql :: how to connect .sql data set to powerbi 
Sql :: shell script to log mysql cpu usage 
Sql :: sql table intermédiaire 
Sql :: Raw query must include the primary key 
Sql :: sp help text in postgresql 
Sql :: sql anywhere create procedure 
Sql :: mysql table inspector command line 
Sql :: sqlite mode default 
Sql :: oracle calculate statistics on partition 
Sql :: t-sql conditional order by multiple columns 
Sql :: does laravel validate sql 
ADD CONTENT
Topic
Content
Source link
Name
3+7 =