Good morning everyone,
I have a question that has been keeping me busy for some time. Do the configurations of both the server and the proxy
have to be the same? By equal I mean the value of the options, for example a, Timeout. I have this configuration on my
Zabbix server:
and this configuration in the Zabbix proxy:
I'm asking because I already have a headache looking for solutions for the "Timeout while executing a shell script"
problem. I already increased the execution time in the Zabbix agent configuration to 30, but the problem still persists.
I don't know what else I can do. The problem is not in the script because I just execute two commands:
I measured the run time directly on the node in question and these are the results:
When i tried to get the values over the proxy i get this:
Does anyone have any idea what might be missing here? Thank you.
I have a question that has been keeping me busy for some time. Do the configurations of both the server and the proxy
have to be the same? By equal I mean the value of the options, for example a, Timeout. I have this configuration on my
Zabbix server:
Code:
StartPollers=20 StartIPMIPollers=2 StartPollersUnreachable=20 Timeout=5
Code:
StartPollers=80 StartIPMIPollers=5 StartPollerUnreachable=20 Timeout=30
problem. I already increased the execution time in the Zabbix agent configuration to 30, but the problem still persists.
I don't know what else I can do. The problem is not in the script because I just execute two commands:
Code:
UserParameter=yum.security,/usr/bin/yum list updates --security 2> /dev/null | awk '{print $1;}' | grep "`uname -p`\|noarch" | grep -v "forced skip_if_unavailable=True" | wc -l
UserParameter=yum.updates,/usr/bin/yum list updates 2> /dev/null | awk '{print $1;}' | grep "`uname -p`\|noarch"| grep -v "forced skip_if_unavailable=True" | wc -l
Code:
[root]# time zabbix_agentd -t yum.updates yum.updates [t|257] real 0m2.982s user 0m2.554s sys 0m0.338s [root]# time yum list updates .... real 0m2.950s user 0m2.605s sys 0m0.292s
Code:
[zbx] $ zabbix_get -s <FQDN> -k "yum.updates" ZBX_NOTSUPPORTED: Timeout while executing a shell script.
I am not a linux admin..
Comment