Closed emper0r closed 4 years ago
Hi, It's very intersting question.
I think this is sheduler error.
I try to set DebugLevel=4
in /etc/zabbix/zabbix_agentd.conf and watch log
tail -f /var/log/zabbix/zabbix_agentd.log |grep -oe '.*EXECUTE_STR() .*DISK=.*; if '
#1 measure
5774:20200721:201309.434 EXECUTE_STR() command:'DISK="sdd"; if [[ ! -b "/dev/$DISK" ]]; then DISK="$(lsblk -l -o Name,KNAME | grep $DISK |awk '{print $2}')"; fi; if
5776:20200721:201349.868 EXECUTE_STR() command:'DISK="HOME_LVM-Cloud"; if [[ ! -b "/dev/$DISK" ]]; then DISK="$(lsblk -l -o Name,KNAME | grep $DISK |awk '{print $2}')"; fi; if
#2 measure
5775:20200721:201409.087 EXECUTE_STR() command:'DISK="sdd"; if [[ ! -b "/dev/$DISK" ]]; then DISK="$(lsblk -l -o Name,KNAME | grep $DISK |awk '{print $2}')"; fi; if
5774:20200721:201449.513 EXECUTE_STR() command:'DISK="HOME_LVM-Cloud"; if [[ ! -b "/dev/$DISK" ]]; then DISK="$(lsblk -l -o Name,KNAME | grep $DISK |awk '{print $2}')"; fi; if
Beetwen measure for 1 block device - 1 min, but
beetwen measure sdd
and HOME_LVM-Cloud
- 40sec.
Template get correct data, but have some different result for different disk. It's not problem for monitoring in long time interval, but it's cause some questions in short time.
Yeah.. you are right.. it's ok... I just need to choose wich watch..because between of them exist some seconds differents to change diskstats ... cool.. thanks for answer... 👍
Hi again.. just to be clear.... if I got this block disk
Why sdb and mysqlvg-mysqllv isn't equal graphic ??
it's possible LVM create this difference when get values from vgroup and statistic from phisical disk when are in the same disk ?