Ad Widget

Collapse

Troubleshoot depending item in low level discovery

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rflowers
    Junior Member
    • Sep 2022
    • 4

    #1

    Troubleshoot depending item in low level discovery

    Hi all,
    i have an issue with getting values on a depending item. I can not find any errors in logs or results within latest data.
    I hope you could help me!

    But first things first:
    Created an empty template and assigned in to a host
    Created a lld rule via http agent (pulling a domain list from plesk rest api)
    -pushing into lld macro {#DOMAINLIST}
    -filtering results (excluding domains)
    Created an Item prototype called get cert
    -zabbix agent
    -key -> custom script. Returns:
    {"expire_days": 38, "valid": 1, "return_code": 0, "return_text": "ok"}
    ​Created a second item prototype depending to get cert.
    -preprocessing json path „$.expire_days“ enabled custom on fail


    Primary I am wondering what I could do to find any logging for depending items. Or any kind of troubleshooting tipps in general. Secondarily, maybe you can see an mistake in my Procedere shown above?

    looking forward for any advice!
    thanks
    flowers
    Last edited by rflowers; 19-09-2022, 20:04.
  • rflowers
    Junior Member
    • Sep 2022
    • 4

    #2
    Hi!
    i have found this in my log files. Not quite sure it is something weired?

    HTML Code:
    End of substitute_lld_macros():SUCCEED data:''
    3872161:20220919:075417.932 In substitute_lld_macros() data:''
    3872161:20220919:075417.932 End of substitute_lld_macros():SUCCEED data:''
    3872161:20220919:075417.932 In substitute_lld_macros() data:''
    3872161:20220919:075417.932 End of substitute_lld_macros():SUCCEED data:''
    3872161:20220919:075417.932 In substitute_lld_macros() data:''
    3872161:20220919:075417.932 End of substitute_lld_macros():SUCCEED data:''
    3872161:20220919:075417.932 In substitute_lld_macros() data:''
    3872161:20220919:075417.932 End of substitute_lld_macros():SUCCEED data:''
    ​
    thanks
    Flowers

    Comment

    Working...