Ad Widget

Collapse

Checks are interrupted

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • GALA
    Junior Member
    • Aug 2022
    • 13

    #1

    Checks are interrupted

    Good afternoon, I can’t understand where to dig, I put a check

    Click image for larger version

Name:	image.png
Views:	107
Size:	26.8 KB
ID:	449689



    zabbbix_agentd2 - UserParameter=icmp[*],fping -t 300 $1 | grep alive | wc -l Timeout=30
    but it doesn't update every 2 seconds


    Click image for larger version

Name:	image.png
Views:	94
Size:	76.8 KB
ID:	449690



    I have this on version 5.4 and on the new version 6.2
    server where 6.2 is new (absolutely empty) on other hardware in a container

    and 5.4 and 6.2 in containers

    If you do it with your hands through zabbix_get and do a cycle every second, then everything works fine
    please tell me why and what to do to solve it?
    Attached Files
  • GALA
    Junior Member
    • Aug 2022
    • 13

    #2
    UserParameter=u.ping.loss[*],/bin/ping -c $2 -s $3 -W 1 -q -n $1 | grep -oP '[0-9]+% packet loss' | cut -d'%' -f1
    I didn't see in the logs that he swears at failed: first network error, wait for 15 seconds

    if you configure like this u.ping.loss[1.1.1.1,3,500] - Work
    if you configure like this u.ping.loss[1.1.1.1,15,500] - doeт't work

    On the server where there is a timeout of 30 on the server and on the client, there is no problem in the log. but the data is interrupted
    Attached Files
    Last edited by GALA; 12-08-2022, 11:35.

    Comment

    Working...