Ad Widget

Collapse

Не работает добавление хоста при автообн

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • nik-weter
    Junior Member
    • Aug 2017
    • 2

    #1

    Не работает добавление хоста при автообн

    Осваиваю заббикс. Линукс хосты нормально мониторятся. А вот при автообноружении windows и автоматическом подключении к ним стандартного шаблона Template OS Windows иногда выскакивают странные ошибки:

    Code:
    26263:20170817:092453.944 [Z3005] query failed: [1366] Incorrect string value: '\xD0\xA1\xD0\xBB\xD1\x83...' for column 'description' at row 1 [insert into triggers (triggerid,description,expression,priority,status,comments,url,type,value,state,flags,recovery_mode,recovery_expression,correlation_mode,correlation_tag,manual_close) values (14098,'Service "AeLookupSvc" (Служба проверки совместимости приложений) is not running (startup type automatic)','{13805}<>0',3,0,'','',0,0,0,4,0,'',0,'',0),(14099,'Service "CryptSvc" (Службы криптографии) is not running (startup type automatic)','{13806}<>0',3,0,'','',0,0,0,4,0,'',0,'',0),(14100,'Service "DcomLaunch" (Запуск серверных процессов DCOM) is not running (startup type automatic)','{13807}<>0',3,0,'','',0,0,0,4,0,'',0,'',0),(14101,'Service "Dfs" (Распределенная файловая система DFS) is not running (startup type automatic)','{13808}<>0',3,0,'','',0,0,0,4,0,'',0,'',0),(14102,'Service "Dhcp" (DHCP-клиент) is not running (startup type automatic)','{13809}<>0',3,0,'','',0,0,0,4,0,'',0,'',0),(14103,'Service "dmserver" (Диспетчер логических дисков) is not running (startup type automatic)','{13810}<>0',3,0,'','',0,0,0,4,0,'',0,'',0),(14104,'Service "Dnscache" (DNS-клиент) is not running (startup type automatic)','{13811}<>0',3,0,'','',0,0,0,4,0,'',0,'',0),(14105,'Service "ERSvc" (Служба регистрации ошибок) is not running (startup type automatic)','{13812}<>0',3,0,'','',0,0,0,4,0,'',0,'',0),(14106,'Service "Eventlog" (Журнал событий) is not running (startup type automatic)','{13813}<>0',3,0,'','',0,0,0,4,0,'',0,'',0),(14107,'Service "EventSystem" (Система событий COM+) is not running (startup type automatic)','{13814}<>0',3,0,'','',0,0,0,4,0,'',0,'',0),(14108,'Service "helpsvc" (Справка и поддержка) is not running (startup type automatic)','{13815}<>0',3,0,'','',0,0,0,4,0,'',0,'',0),(14109,'Service "LanmanWorkstation" (Рабочая станция) is not running (startup type automatic)','{13816}<>0',3,0,'','',0,0,0,4,0,'',0,'',0),(14110,'Service "LmHosts" (Модуль поддержки NetBIOS через TCP/IP) is not running (startup type automatic)','{13817}<>0',3,0,'','',0,0,0,4,0,'',0,'',0),(14111,'Service "MSDTC" (Координатор распределенных транзакций) is not running (startup type automatic)','{13818}<>0',3,0,'','',0,0,0,4,0,'',0,'',0),(14112,'Service "MSSQL$SQLEXPRESS" (SQL Server (SQLEXPRESS)) is not running (startup type automatic)','{13819}<>0',3,0,'','',0,0,0,4,0,'',0,'',0),(14113,'Service "PlugPlay" (Plug and Play) is not running (startup type automatic)','{13820}<>0',3,0,'','',0,0,0,4,0,'',0,'',0),(14114,'Service "PolicyAgent" (Службы IPSEC) is not running (startup type automatic)','{13821}<>0',3,0,'','',0,0,0,4,0,'',0,'',0),(14115,'Service "ProtectedStorage" (Защищенное хранилище) is not running (startup type automatic)','{13822}<>0',3,0,'','',0,0,0,4,0,'',0,'',0),(14116,'Service "RemoteRegistry" (Удаленный реестр) is not running (startup type automatic)','{13823}<>0',3,0,'','',0,0,0,4,0,'',0,'',0),(14117,'Service "RpcSs" (Удаленный вызов процедур (RPC)) is not running (startup type automatic)','{13824}<>0',3,0,'','',0,0,0,4,0,'',0,'',0),(14118,'Service "SamSs" (Диспетчер учетных записей безопасности) is not running (startup type automatic)','{13825}<>0',3,0,'','',0,0,0,4,0,'',0,'',0),(14119,'Service "Schedule" (Планировщик заданий) is not running (startup type automatic)','{13826}<>0',3,0,'','',0,0,0,4,0,'',0,'',0),(14120,'Service "seclogon" (Вторичный вход в систему) is not running (startup type automatic)','{13827}<>0',3,0,'','',0,0,0,4,0,'',0,'',0),(14121,'Service "SENS" (Уведомление о системных событиях) is not running (startup type automatic)','{13828}<>0',3,0,'','',0,0,0,4,0,'',0,'',0),(14122,'Service "ShellHWDetection" (Определение оборудования оболочки) is not running (startup type automatic)','{13829}<>0',3,0,'','',0,0,0,4,0,'',0,'',0),(14123,'Service "Spooler" (Диспетчер очереди печати) is not running (startup type automatic)','{13830}<>0',3,0,'','',0,0,0,4,0,'',0,'',0),(14124,'Service "SQLBrowser" (SQL Server Browser) is not running (startup type automatic)','{13831}<>0',3,0,'','',0,0,0,4,0,'',0,'',0),(14125,'Service "SQLWriter" (SQL Server VSS Writer) is not running (startup type automatic)','{13832}<>0',3,0,'','',0,0,0,4,0,'',0,'',0),(14126,'Service "TermServLicensing" (Лицензирование сервера терминалов) is not running (startup type automatic)','{13833}<>0',3,0,'','',0,0,0,4,0,'',0,'',0),(14127,'Service "TrkWks" (Клиент отслеживания изменившихся связей) is not running (startup type automatic)','{13834}<>0',3,0,'','',0,0,0,4,0,'',0,'',0),(14128,'Service "W32Time" (Служба времени Windows) is not running (startup type automatic)','{13835}<>0',3,0,'','',0,0,0,4,0,'',0,'',0),(14129,'Service "winmgmt" (Инструментарий управления Windows) is not running (startup type automatic)','{13836}<>0',3,0,'','',0,0,0,4,0,'',0,'',0),(14130,'Service "wuauserv" (Автоматическое обновление) is not running (startup type automatic)','{13837}<>0',3,0,'','',0,0,0,4,0,'',0,'',0),(14131,'Service "WZCSVC" (Беспроводная настройка) is not running (startup type automatic)','{13838}<>0',3,0,'','',0,0,0,4,0,'',0,'',0),(14132,'Service "Zabbix Agent" (Zabbix Agent) is not running (startup type automatic)','{13839}<>0',3,0,'','',0,0,0,4,0,'',0,'',0);
    Или еще

    Code:
     26278:20170817:094031.030 [Z3005] query failed: [1366] Incorrect string value: '\xD0\x9F\xD1\x80\xD0\xBE...' for column 'value' at row 1 [update dservices set status=0,lastup=1502937630,lastdown=0,value='Windows SRVSBIS 6.1.7601 Microsoft Windows 7 Профессиональная  Service Pack 1 x64' where dserviceid=221]
    Code:
     26278:20170817:094033.050 [Z3005] query failed: [1452] Cannot add or update a child row: a foreign key constraint fails (`zabbix`.`dservices`, CONSTRAINT `c_dservices_1` FOREIGN KEY (`dhostid`) REFERENCES `dhosts` (`dhostid`) ON DELETE CASCADE) [insert into dservices (dserviceid,dhostid,dcheckid,type,key_,ip,dns,port,status) values (222,171,3,12,'','192.168.2.96','srvsbis.fs.lan',0,1)]
    Что бы это могло быть? И как можно исправить?
  • vso
    Zabbix developer
    • Aug 2016
    • 190

    #2
    Originally posted by nik-weter
    Осваиваю заббикс. Линукс хосты нормально мониторятся. А вот при автообноружении windows и автоматическом подключении к ним стандартного шаблона template os windows иногда выскакивают странные ошибки:

    Code:
    26263:20170817:092453.944 [z3005] query failed: [1366] incorrect string value: '\xd0\xa1\xd0\xbb\xd1\x83...' for column 'description' at row 1 [insert into triggers (triggerid,description,expression,priority,status,comments,url,type,value,state,flags,recovery_mode,recovery_expression,correlation_mode,correlation_tag,manual_close) values (14098,'service "aelookupsvc" (Служба проверки совместимости приложений) is not running (startup type automatic)','{13805}<>0',3,0,'','',0,0,0,4,0,'',0,'',0),(14099,'service "cryptsvc" (Службы криптографии) is not running (startup type automatic)','{13806}<>0',3,0,'','',0,0,0,4,0,'',0,'',0),(14100,'service "dcomlaunch" (Запуск серверных процессов dcom) is not running (startup type automatic)','{13807}<>0',3,0,'','',0,0,0,4,0,'',0,'',0),(14101,'service "dfs" (Распределенная файловая система dfs) is not running (startup type automatic)','{13808}<>0',3,0,'','',0,0,0,4,0,'',0,'',0),(14102,'service "dhcp" (dhcp-клиент) is not running (startup type automatic)','{13809}<>0',3,0,'','',0,0,0,4,0,'',0,'',0),(14103,'service "dmserver" (Диспетчер логических дисков) is not running (startup type automatic)','{13810}<>0',3,0,'','',0,0,0,4,0,'',0,'',0),(14104,'service "dnscache" (dns-клиент) is not running (startup type automatic)','{13811}<>0',3,0,'','',0,0,0,4,0,'',0,'',0),(14105,'service "ersvc" (Служба регистрации ошибок) is not running (startup type automatic)','{13812}<>0',3,0,'','',0,0,0,4,0,'',0,'',0),(14106,'service "eventlog" (Журнал событий) is not running (startup type automatic)','{13813}<>0',3,0,'','',0,0,0,4,0,'',0,'',0),(14107,'service "eventsystem" (Система событий com+) is not running (startup type automatic)','{13814}<>0',3,0,'','',0,0,0,4,0,'',0,'',0),(14108,'service "helpsvc" (Справка и поддержка) is not running (startup type automatic)','{13815}<>0',3,0,'','',0,0,0,4,0,'',0,'',0),(14109,'service "lanmanworkstation" (Рабочая станция) is not running (startup type automatic)','{13816}<>0',3,0,'','',0,0,0,4,0,'',0,'',0),(14110,'service "lmhosts" (Модуль поддержки netbios через tcp/ip) is not running (startup type automatic)','{13817}<>0',3,0,'','',0,0,0,4,0,'',0,'',0),(14111,'service "msdtc" (Координатор распределенных транзакций) is not running (startup type automatic)','{13818}<>0',3,0,'','',0,0,0,4,0,'',0,'',0),(14112,'service "mssql$sqlexpress" (sql server (sqlexpress)) is not running (startup type automatic)','{13819}<>0',3,0,'','',0,0,0,4,0,'',0,'',0),(14113,'service "plugplay" (plug and play) is not running (startup type automatic)','{13820}<>0',3,0,'','',0,0,0,4,0,'',0,'',0),(14114,'service "policyagent" (Службы ipsec) is not running (startup type automatic)','{13821}<>0',3,0,'','',0,0,0,4,0,'',0,'',0),(14115,'service "protectedstorage" (Защищенное хранилище) is not running (startup type automatic)','{13822}<>0',3,0,'','',0,0,0,4,0,'',0,'',0),(14116,'service "remoteregistry" (Удаленный реестр) is not running (startup type automatic)','{13823}<>0',3,0,'','',0,0,0,4,0,'',0,'',0),(14117,'service "rpcss" (Удаленный вызов процедур (rpc)) is not running (startup type automatic)','{13824}<>0',3,0,'','',0,0,0,4,0,'',0,'',0),(14118,'service "samss" (Диспетчер учетных записей безопасности) is not running (startup type automatic)','{13825}<>0',3,0,'','',0,0,0,4,0,'',0,'',0),(14119,'service "schedule" (Планировщик заданий) is not running (startup type automatic)','{13826}<>0',3,0,'','',0,0,0,4,0,'',0,'',0),(14120,'service "seclogon" (Вторичный вход в систему) is not running (startup type automatic)','{13827}<>0',3,0,'','',0,0,0,4,0,'',0,'',0),(14121,'service "sens" (Уведомление о системных событиях) is not running (startup type automatic)','{13828}<>0',3,0,'','',0,0,0,4,0,'',0,'',0),(14122,'service "shellhwdetection" (Определение оборудования оболочки) is not running (startup type automatic)','{13829}<>0',3,0,'','',0,0,0,4,0,'',0,'',0),(14123,'service "spooler" (Диспетчер очереди печати) is not running (startup type automatic)','{13830}<>0',3,0,'','',0,0,0,4,0,'',0,'',0),(14124,'service "sqlbrowser" (sql server browser) is not running (startup type automatic)','{13831}<>0',3,0,'','',0,0,0,4,0,'',0,'',0),(14125,'service "sqlwriter" (sql server vss writer) is not running (startup type automatic)','{13832}<>0',3,0,'','',0,0,0,4,0,'',0,'',0),(14126,'service "termservlicensing" (Лицензирование сервера терминалов) is not running (startup type automatic)','{13833}<>0',3,0,'','',0,0,0,4,0,'',0,'',0),(14127,'service "trkwks" (Клиент отслеживания изменившихся связей) is not running (startup type automatic)','{13834}<>0',3,0,'','',0,0,0,4,0,'',0,'',0),(14128,'service "w32time" (Служба времени windows) is not running (startup type automatic)','{13835}<>0',3,0,'','',0,0,0,4,0,'',0,'',0),(14129,'service "winmgmt" (Инструментарий управления windows) is not running (startup type automatic)','{13836}<>0',3,0,'','',0,0,0,4,0,'',0,'',0),(14130,'service "wuauserv" (Автоматическое обновление) is not running (startup type automatic)','{13837}<>0',3,0,'','',0,0,0,4,0,'',0,'',0),(14131,'service "wzcsvc" (Беспроводная настройка) is not running (startup type automatic)','{13838}<>0',3,0,'','',0,0,0,4,0,'',0,'',0),(14132,'service "zabbix agent" (zabbix agent) is not running (startup type automatic)','{13839}<>0',3,0,'','',0,0,0,4,0,'',0,'',0);
    Или еще

    Code:
     26278:20170817:094031.030 [z3005] query failed: [1366] incorrect string value: '\xd0\x9f\xd1\x80\xd0\xbe...' for column 'value' at row 1 [update dservices set status=0,lastup=1502937630,lastdown=0,value='windows srvsbis 6.1.7601 microsoft windows 7 Профессиональная  service pack 1 x64' where dserviceid=221]
    Code:
     26278:20170817:094033.050 [z3005] query failed: [1452] cannot add or update a child row: A foreign key constraint fails (`zabbix`.`dservices`, constraint `c_dservices_1` foreign key (`dhostid`) references `dhosts` (`dhostid`) on delete cascade) [insert into dservices (dserviceid,dhostid,dcheckid,type,key_,ip,dns,port,status) values (222,171,3,12,'','192.168.2.96','srvsbis.fs.lan',0,1)]
    Что бы это могло быть? И как можно исправить?
    пожалуйста обновитесь до последней версии сервера и агента. Какая версия у вас сейчас ?

    Comment

    • nik-weter
      Junior Member
      • Aug 2017
      • 2

      #3
      zabbix-server-mysql 3.2.7-1+xenial
      zabbix_agentd.exe 3.2.06244 на виндовс 7х64

      Comment

      • vso
        Zabbix developer
        • Aug 2016
        • 190

        #4
        Originally posted by nik-weter
        zabbix-server-mysql 3.2.7-1+xenial
        zabbix_agentd.exe 3.2.06244 на виндовс 7х64
        Looks like a bug, please report to https://support.zabbix.com bug and issues section.
        Thanks !

        Comment

        • allexpetrov
          Senior Member
          Zabbix Certified Trainer
          Zabbix Certified SpecialistZabbix Certified Professional
          • May 2017
          • 361

          #5
          Добрый день,

          Я так понимаю, что Вы используете кириллицу ? incorrect string value: '\xd0\x9f\xd1\x80\xd0\xbe... , есть ли возможность протестировать тот-же дискавери и шаблоны, но с полностью англофицированной версией OS?

          Можете приложить лог агента и конфиг файл ??

          Какую базу данных используете ?

          С уважением,
          Алексей!

          Comment

          Working...