find_pidfile()
{
if get_pidfile_from_conf PidFile ${zabbix_agentd_config}; then
if get_pidfile_from_conf PidFile ${zabbix_server_config}; then
pidfile="$_pidfile_from_conf"
else
pidfile="/tmp/${name}.pid"