Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /usr/sbin/mariadbd, Version: 10.5.8-MariaDB-log (MariaDB Server). started with:
- Tcp port: 0 Unix socket: (null)
- Time Id Command Argument
- # Time: 201208 12:35:38
- # User@Host: librenms[librenms] @ [HIDDEN_IP_ADDRESS]
- # Thread_id: 1670 Schema: librenms QC_hit: No
- # Query_time: 1.372032 Lock_time: 0.000054 Rows_sent: 1 Rows_examined: 347702
- # Rows_affected: 0 Bytes_sent: 96
- use librenms;
- SET timestamp=1607452538;
- SELECT COUNT(DISTINCT D.sysname, R.name) FROM `alert_log` AS E LEFT JOIN devices AS D ON E.device_id=D.device_id RIGHT JOIN alert_rules AS R ON E.rule_id=R.id WHERE 1 AND `E`.`state` = 1 AND E.`time_logged` > DATE_SUB(NOW(),INTERVAL '7' DAY) AND `R`.`severity` >= 2;
- # User@Host: librenms[librenms] @ [HIDDEN_IP_ADDRESS]
- # Thread_id: 1671 Schema: librenms QC_hit: No
- # Query_time: 1.502697 Lock_time: 0.000036 Rows_sent: 1 Rows_examined: 347702
- # Rows_affected: 0 Bytes_sent: 96
- SET timestamp=1607452538;
- SELECT COUNT(DISTINCT D.sysname, R.name) FROM `alert_log` AS E LEFT JOIN devices AS D ON E.device_id=D.device_id RIGHT JOIN alert_rules AS R ON E.rule_id=R.id WHERE 1 AND `E`.`state` = 1 AND E.`time_logged` > DATE_SUB(NOW(),INTERVAL '7' DAY) AND `R`.`severity` >= 2;
- # Time: 201208 12:35:39
- # User@Host: librenms[librenms] @ [HIDDEN_IP_ADDRESS]
- # Thread_id: 1422 Schema: librenms QC_hit: No
- # Query_time: 10.732554 Lock_time: 0.000019 Rows_sent: 50 Rows_examined: 973066
- # Rows_affected: 0 Bytes_sent: 28595
- SET timestamp=1607452539;
- SELECT R.severity, D.device_id,name AS alert,rule_id, state,time_logged,DATE_FORMAT(time_logged, '%Y-%m-%d %H:%i:%s') as humandate,details FROM `alert_log` AS E LEFT JOIN devices AS D ON E.device_id=D.device_id RIGHT JOIN alert_rules AS R ON E.rule_id=R.id WHERE 1 ORDER BY time_logged DESC LIMIT 0,50;
- # User@Host: librenms[librenms] @ [HIDDEN_IP_ADDRESS]
- # Thread_id: 1423 Schema: librenms QC_hit: No
- # Query_time: 10.869310 Lock_time: 0.000022 Rows_sent: 50 Rows_examined: 973066
- # Rows_affected: 0 Bytes_sent: 28595
- SET timestamp=1607452539;
- SELECT R.severity, D.device_id,name AS alert,rule_id, state,time_logged,DATE_FORMAT(time_logged, '%Y-%m-%d %H:%i:%s') as humandate,details FROM `alert_log` AS E LEFT JOIN devices AS D ON E.device_id=D.device_id RIGHT JOIN alert_rules AS R ON E.rule_id=R.id WHERE 1 ORDER BY time_logged DESC LIMIT 0,50;
- # Time: 201208 12:35:40
- # User@Host: librenms[librenms] @ [HIDDEN_IP_ADDRESS]
- # Thread_id: 1671 Schema: librenms QC_hit: No
- # Query_time: 1.589250 Lock_time: 0.000031 Rows_sent: 50 Rows_examined: 350450
- # Rows_affected: 0 Bytes_sent: 2513
- SET timestamp=1607452540;
- SELECT COUNT(*), D.device_id, R.name FROM `alert_log` AS E LEFT JOIN devices AS D ON E.device_id=D.device_id RIGHT JOIN alert_rules AS R ON E.rule_id=R.id WHERE 1 AND `E`.`state` = 1 AND E.`time_logged` > DATE_SUB(NOW(),INTERVAL '7' DAY) AND `R`.`severity` >= 2 GROUP BY D.device_id, R.name ORDER BY COUNT(*) DESC LIMIT 0,50;
- # Time: 201208 12:36:34
- # User@Host: librenms[librenms] @ [HIDDEN_IP_ADDRESS]
- # Thread_id: 2741 Schema: librenms QC_hit: No
- # Query_time: 4.480392 Lock_time: 0.000021 Rows_sent: 50 Rows_examined: 973081
- # Rows_affected: 0 Bytes_sent: 29313
- SET timestamp=1607452594;
- SELECT R.severity, D.device_id,name AS alert,rule_id, state,time_logged,DATE_FORMAT(time_logged, '%Y-%m-%d %H:%i:%s') as humandate,details FROM `alert_log` AS E LEFT JOIN devices AS D ON E.device_id=D.device_id RIGHT JOIN alert_rules AS R ON E.rule_id=R.id WHERE 1 ORDER BY time_logged DESC LIMIT 0,50;
- # User@Host: librenms[librenms] @ [HIDDEN_IP_ADDRESS]
- # Thread_id: 2742 Schema: librenms QC_hit: No
- # Query_time: 4.561109 Lock_time: 0.000019 Rows_sent: 50 Rows_examined: 973081
- # Rows_affected: 0 Bytes_sent: 29313
- SET timestamp=1607452594;
- SELECT R.severity, D.device_id,name AS alert,rule_id, state,time_logged,DATE_FORMAT(time_logged, '%Y-%m-%d %H:%i:%s') as humandate,details FROM `alert_log` AS E LEFT JOIN devices AS D ON E.device_id=D.device_id RIGHT JOIN alert_rules AS R ON E.rule_id=R.id WHERE 1 ORDER BY time_logged DESC LIMIT 0,50;
- # Time: 201208 12:36:39
- # User@Host: librenms[librenms] @ [HIDDEN_IP_ADDRESS]
- # Thread_id: 2918 Schema: librenms QC_hit: No
- # Query_time: 1.201351 Lock_time: 0.000052 Rows_sent: 1 Rows_examined: 347707
- # Rows_affected: 0 Bytes_sent: 96
- SET timestamp=1607452599;
- SELECT COUNT(DISTINCT D.sysname, R.name) FROM `alert_log` AS E LEFT JOIN devices AS D ON E.device_id=D.device_id RIGHT JOIN alert_rules AS R ON E.rule_id=R.id WHERE 1 AND `E`.`state` = 1 AND E.`time_logged` > DATE_SUB(NOW(),INTERVAL '7' DAY) AND `R`.`severity` >= 2;
- # User@Host: librenms[librenms] @ [HIDDEN_IP_ADDRESS]
- # Thread_id: 2917 Schema: librenms QC_hit: No
- # Query_time: 1.303842 Lock_time: 0.000032 Rows_sent: 1 Rows_examined: 347707
- # Rows_affected: 0 Bytes_sent: 96
- SET timestamp=1607452599;
- SELECT COUNT(DISTINCT D.sysname, R.name) FROM `alert_log` AS E LEFT JOIN devices AS D ON E.device_id=D.device_id RIGHT JOIN alert_rules AS R ON E.rule_id=R.id WHERE 1 AND `E`.`state` = 1 AND E.`time_logged` > DATE_SUB(NOW(),INTERVAL '7' DAY) AND `R`.`severity` >= 2;
- # Time: 201208 12:36:40
- # User@Host: librenms[librenms] @ [HIDDEN_IP_ADDRESS]
- # Thread_id: 2917 Schema: librenms QC_hit: No
- # Query_time: 1.292119 Lock_time: 0.000028 Rows_sent: 50 Rows_examined: 350453
- # Rows_affected: 0 Bytes_sent: 2513
- SET timestamp=1607452600;
- SELECT COUNT(*), D.device_id, R.name FROM `alert_log` AS E LEFT JOIN devices AS D ON E.device_id=D.device_id RIGHT JOIN alert_rules AS R ON E.rule_id=R.id WHERE 1 AND `E`.`state` = 1 AND E.`time_logged` > DATE_SUB(NOW(),INTERVAL '7' DAY) AND `R`.`severity` >= 2 GROUP BY D.device_id, R.name ORDER BY COUNT(*) DESC LIMIT 0,50;
- # User@Host: librenms[librenms] @ [HIDDEN_IP_ADDRESS]
- # Thread_id: 2918 Schema: librenms QC_hit: No
- # Query_time: 1.529899 Lock_time: 0.000041 Rows_sent: 50 Rows_examined: 350453
- # Rows_affected: 0 Bytes_sent: 2513
- SET timestamp=1607452600;
- SELECT COUNT(*), D.device_id, R.name FROM `alert_log` AS E LEFT JOIN devices AS D ON E.device_id=D.device_id RIGHT JOIN alert_rules AS R ON E.rule_id=R.id WHERE 1 AND `E`.`state` = 1 AND E.`time_logged` > DATE_SUB(NOW(),INTERVAL '7' DAY) AND `R`.`severity` >= 2 GROUP BY D.device_id, R.name ORDER BY COUNT(*) DESC LIMIT 0,50;
- # Time: 201208 12:37:35
- # User@Host: librenms[librenms] @ [HIDDEN_IP_ADDRESS]
- # Thread_id: 3793 Schema: librenms QC_hit: No
- # Query_time: 4.813961 Lock_time: 0.000029 Rows_sent: 50 Rows_examined: 973090
- # Rows_affected: 0 Bytes_sent: 27738
- SET timestamp=1607452655;
- SELECT R.severity, D.device_id,name AS alert,rule_id, state,time_logged,DATE_FORMAT(time_logged, '%Y-%m-%d %H:%i:%s') as humandate,details FROM `alert_log` AS E LEFT JOIN devices AS D ON E.device_id=D.device_id RIGHT JOIN alert_rules AS R ON E.rule_id=R.id WHERE 1 ORDER BY time_logged DESC LIMIT 0,50;
- # User@Host: librenms[librenms] @ [HIDDEN_IP_ADDRESS]
- # Thread_id: 3792 Schema: librenms QC_hit: No
- # Query_time: 4.837699 Lock_time: 0.000035 Rows_sent: 50 Rows_examined: 973090
- # Rows_affected: 0 Bytes_sent: 27738
- SET timestamp=1607452655;
- SELECT R.severity, D.device_id,name AS alert,rule_id, state,time_logged,DATE_FORMAT(time_logged, '%Y-%m-%d %H:%i:%s') as humandate,details FROM `alert_log` AS E LEFT JOIN devices AS D ON E.device_id=D.device_id RIGHT JOIN alert_rules AS R ON E.rule_id=R.id WHERE 1 ORDER BY time_logged DESC LIMIT 0,50;
- # Time: 201208 12:37:40
- # User@Host: librenms[librenms] @ [HIDDEN_IP_ADDRESS]
- # Thread_id: 3936 Schema: librenms QC_hit: No
- # Query_time: 1.484519 Lock_time: 0.000033 Rows_sent: 1 Rows_examined: 347698
- # Rows_affected: 0 Bytes_sent: 96
- SET timestamp=1607452660;
- SELECT COUNT(DISTINCT D.sysname, R.name) FROM `alert_log` AS E LEFT JOIN devices AS D ON E.device_id=D.device_id RIGHT JOIN alert_rules AS R ON E.rule_id=R.id WHERE 1 AND `E`.`state` = 1 AND E.`time_logged` > DATE_SUB(NOW(),INTERVAL '7' DAY) AND `R`.`severity` >= 2;
- # User@Host: librenms[librenms] @ [HIDDEN_IP_ADDRESS]
- # Thread_id: 3934 Schema: librenms QC_hit: No
- # Query_time: 1.690046 Lock_time: 0.000055 Rows_sent: 1 Rows_examined: 347698
- # Rows_affected: 0 Bytes_sent: 96
- SET timestamp=1607452660;
- SELECT COUNT(DISTINCT D.sysname, R.name) FROM `alert_log` AS E LEFT JOIN devices AS D ON E.device_id=D.device_id RIGHT JOIN alert_rules AS R ON E.rule_id=R.id WHERE 1 AND `E`.`state` = 1 AND E.`time_logged` > DATE_SUB(NOW(),INTERVAL '7' DAY) AND `R`.`severity` >= 2;
- # Time: 201208 12:37:41
- # User@Host: librenms[librenms] @ [HIDDEN_IP_ADDRESS]
- # Thread_id: 3936 Schema: librenms QC_hit: No
- # Query_time: 1.009650 Lock_time: 0.000029 Rows_sent: 50 Rows_examined: 350443
- # Rows_affected: 0 Bytes_sent: 2513
- SET timestamp=1607452661;
- SELECT COUNT(*), D.device_id, R.name FROM `alert_log` AS E LEFT JOIN devices AS D ON E.device_id=D.device_id RIGHT JOIN alert_rules AS R ON E.rule_id=R.id WHERE 1 AND `E`.`state` = 1 AND E.`time_logged` > DATE_SUB(NOW(),INTERVAL '7' DAY) AND `R`.`severity` >= 2 GROUP BY D.device_id, R.name ORDER BY COUNT(*) DESC LIMIT 0,50;
- # User@Host: librenms[librenms] @ [HIDDEN_IP_ADDRESS]
- # Thread_id: 3934 Schema: librenms QC_hit: No
- # Query_time: 1.080006 Lock_time: 0.000028 Rows_sent: 50 Rows_examined: 350443
- # Rows_affected: 0 Bytes_sent: 2513
- SET timestamp=1607452661;
- SELECT COUNT(*), D.device_id, R.name FROM `alert_log` AS E LEFT JOIN devices AS D ON E.device_id=D.device_id RIGHT JOIN alert_rules AS R ON E.rule_id=R.id WHERE 1 AND `E`.`state` = 1 AND E.`time_logged` > DATE_SUB(NOW(),INTERVAL '7' DAY) AND `R`.`severity` >= 2 GROUP BY D.device_id, R.name ORDER BY COUNT(*) DESC LIMIT 0,50;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement