Ad Widget

Collapse

host discovery rules with ip range and zabbix-agent Check with web.page.get url ?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • frsauvage
    Junior Member
    • Jun 2019
    • 5

    #1

    host discovery rules with ip range and zabbix-agent Check with web.page.get url ?

    Hi all,
    my goal is to add a host if my host is "redfish" compatible (redfish is a standard).

    I add a "discovery rule":
    IP-range = 192.168.2.1-50
    Checks
    Check type = Zabbix agent
    Key = web.page.get[{DISCOVERY.DEVICE.IPADDRESS},/redfish/v1/$metadata,443)]

    I cannot figure out how the "Check" is really done :
    - every "IPRange" address ?
    - once with a kind of DISCOVERY.IPRANGE variable ?

    So I suspect that my {DISCOVERY.DEVICE.IPADDRESS} is wrong - maybe empty - but I don't know how to fix it ??

    The goal is simply to get one page in that discovery rule for each IP address en the "IP Range" defined.

    If ever someone could explain me how to debug it, it could be helpful (equivalent CLI on agent ? logs somewhere?)

    If ever I should create a custom Key for the Check, could you explain me how ?
    I already created successfully custom python externale scripts ("Key") for items, but I cannot figure out how to do it for Discovery, is it the same ?

    Best Regards,
    Sorry for my poor english I am french,
    Francine



Working...