Ad Widget

Collapse

Активные агенты не понимают запросы от сервера.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Nikk
    Junior Member
    • Dec 2021
    • 5

    #1

    Активные агенты не понимают запросы от сервера.

    Стоят два агента, один на Ubuntu, второй на Винде10, делаю запросы с сервера zabbix. В логи агентов падает инфа о запросах, но не возвращается данными на сервер заббикс. в ВИНДУЗОВОМ логе пишет следующее:
    2021/12/23 13:52:08.504793 check 'vfs.fs.size[“c:”,free]' is not supported: The system cannot find the path specified.
    2021/12/23 13:52:09.503413 check 'vfs.fs.size[“c:”,pfree]' is not supported: The system cannot find the path specified.
    2021/12/23 13:52:10.501721 check 'vfs.fs.size[“c:”,total]' is not supported: The system cannot find the path specified.
    2021/12/23 13:52:11.501188 check 'vfs.fs.size[“c:”,used]' is not supported: The system cannot find the path specified.
    2021/12/23 13:52:17.501008 check 'vfs.fs.size[“С:\”,free]' is not supported: The filename, directory name, or volume label syntax is incorrect.
    2021/12/23 13:52:19.500997 check 'vfs.fs.size[fs,<mode>]' is not supported: Invalid second parameter.
    2021/12/23 13:52:21.530542 check 'vfs.fs.size[“c:\”,free]' is not supported: The filename, directory name, or volume label syntax is incorrect.
    2021/12/23 13:52:22.502140 check 'vfs.fs.size[“%PATH%”,free]' is not supported: The system cannot find the path specified.
    2021/12/23 13:52:23.501491 check 'vfs.fs.size[“d:”,pfree]' is not supported: The system cannot find the path specified.
    В линуксоиде:
    763:20211221:115114.073 no active checks on server [ip-servera:10051]: host [user-VirtualBox] not found
    763:20211221:115314.141 no active checks on server [ip-servera:10051]: host [user-VirtualBox] not found
    763:20211221:115514.202 no active checks on server [ip-servera:10051]: host [user-VirtualBox] not found
    763:20211221:115714.261 no active checks on server [ip-servera:10051]: host [user-VirtualBox] not found
    763:20211221:115914.337 no active checks on server [ip-servera:10051]: host [user-VirtualBox] not found
    763:20211221:120114.409 no active checks on server [ip-servera:10051]: host [user-VirtualBox] not found
    763:20211221:120314.477 no active checks on server [ip-servera:10051]: host [user-VirtualBox] not found
    763:20211221:120514.537 no active checks on server [ip-servera:10051]: host [user-VirtualBox] not found
    763:20211221:120714.592 no active checks on server [ip-servera:10051]: host [user-VirtualBox] not found
    763:20211221:120914.650 no active checks on server [ip-servera:10051]: host [user-VirtualBox] not found
    763:20211221:121114.710 no active checks on server [ip-servera:10051]: host [user-VirtualBox] not found
    763:20211221:121314.769 no active checks on server [ip-servera:10051]: host [user-VirtualBox] not found
    763:20211221:121514.833 no active checks on server [ip-servera:10051]: host [user-VirtualBox] not found
    763:20211221:121714.895 no active checks on server [ip-servera:10051]: host [user-VirtualBox] not found
  • Nikk
    Junior Member
    • Dec 2021
    • 5

    #2
    Неужели ни кто не сталкивался с подобным? Что совсем не осталось специалистов по zabbeks?

    Comment

    • Nikk
      Junior Member
      • Dec 2021
      • 5

      #3
      И тишина)))! Хороший форум, информативный.

      Comment

      • Hamardaban
        Senior Member
        Zabbix Certified SpecialistZabbix Certified Professional
        • May 2019
        • 2713

        #4
        так люди в большинстве работу работают а не на "школьные" вопросы отвечают.
        1) правильный синтаксис - vfs.fs.size[C:,free] (см на кавычки)
        2) проверяйте как у вас назван ност user-VirtualBox на сервере и что в конфиге агента. "имя узла сети" на сервере должно совпадать с Hostname в конфиге агента.
        3) RTFM !!!

        Comment

        • Nikk
          Junior Member
          • Dec 2021
          • 5

          #5
          Спасибо огромное! В винде заработало. В лине новая ошибка, я имя хоста поменял....
          771:20211224:174626.023 active check "vfs.dir.size[dir,/dev/sda1<regex incl><mode><max dpth>]" is not supported: Cannot obtain directory information: [2] No such file or di>
          771:20211224:174626.030 active check "vfs.fs.size[<free>]" is not supported: Cannot obtain filesystem information: [2] No such file or directory
          771:20211224:174626.033 active check "vfs.fs.size[dir, /dev/+sda1 <free>]" is not supported: Cannot obtain filesystem information: [2] No such file or directory
          771:20211224:174626.035 active check "vfs.fs.size[dir,<free>]" is not supported: Cannot obtain filesystem information: [2] No such file or directory
          771:20211224:174626.038 active check "vfs.fs.size[fs, /dev/sda1,<free>]" is not supported: Too many parameters.
          Здесь, видимо, тоже проблема в синтаксисе... Подскажите как правильно ввести запрос?

          Comment

        • Nikk
          Junior Member
          • Dec 2021
          • 5

          #6
          Прочитал несколько раз документацию. Там настолько иезуитский язык, что возникает ощущение, это масса непонятных буковок переведена с другого языка, а затем еще раз переведена и еще раз... Без форумов понять чего-то из документации нельзя. Видимо, это сделано, чтобы админы покупали платное обучение.... Для тех кто озадачится похожими запросами привожу пример для Линукса ключ: vfs.fs.size[/,used] это для мониторинга размера диска, для мониторинга свободного места соответственно ключ: vfs.fs.size[/,free]

          Comment

          Working...