Ad Widget

Collapse

Url для веб-мониторинга

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • andrianov_vlad
    Junior Member
    • Apr 2014
    • 4

    #1

    Url для веб-мониторинга

    Доброго времени суток всем!

    Нужно мониторить 200 сайтов, вбивать вручную муторно, но на всех сайтах поисковое слово одно и то же. Есть ли вариант использования в качестве urlа в веб-сценарии dns имя, прописанное в настройках узла? Хочется сделать шаблоном. Если да - то как?
  • aib
    Senior Member
    • Jan 2014
    • 1615

    #2
    Смотрим документацию : Поддерживаемые макросы

    Находим макрос :
    Code:
    {HOST.CONN<1-9>} 
    IP or host DNS name, depending on host settings.
    Supported in trigger names since 2.0.0.
    Проверяем, может ли использоваться в URL: YES

    Не забываем примечание:
    Code:
    3 Depending on the context, the macro will be expanded differently. In 2.0.1 or earlier versions, in the context of remote command execution, GUI scripts, item key parameters, and interface IP/DNS fields only the main agent interface will be considered as the source of information. Since 2.0.2 and for web scenarios since 2.2.0 the macro will use the main agent interface, however, if it is not present, the main SNMP interface will be used. If SNMP is also not present, the main JMX interface will be used. If JMX is not present either, the main IPMI interface will be used. In item key parameters the interface that is selected for the item will be used, since 2.0.3.
    Попробуйте - авторы утверждают, что все работает, если Zabbix новее версии 2.0.3
    Sincerely yours,
    Aleksey

    Comment

    Working...