Answer the question
In order to leave comments, you need to log in
Ping with zabbix-agent to remote host?
The question is
: You need to send a ping from a Windows machine through zabbix-agent to a remote host, send the result to the Zabbix server (Centos6).
On the server there is a system behind which users sit, the backlog of users needs to be monitored.
I'm trying to implement through user parameters:
UserParameter=ping[*],echo $1
Answer the question
In order to leave comments, you need to log in
Set the type: Simple check
Edited:
Key: icmpping or icmppingsec (I prefer the second one - sometimes there are pings, but their value goes off scale - this is also bad)
It was configured without changes in UserParameter . "Simple checks" in the form of icmpping[] helped.
The count(120,0) function counts the number of null values for an item in 120 seconds.
Accordingly, if in 120 seconds all 4 checks returned 1, then the trigger fires.
It seems to work. Perhaps I made a mistake somewhere.
A simple icmpping check is still a simple check, ie. check from zabbix server. If you can get away with not pinging, but knocking on the port, before zabbix itself recommends
net.tcp.service.perf[service,,<port>]
Checking the performance of the TCP service.
Response
0 - service unavailable
seconds - the number of seconds spent connecting to the service
is supported by Zabbix since version 2.0
source https://www.zabbix.com/documentation/current/ru/ma...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question