Ad Widget

Collapse

Custom Variable Macros

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mattsmith
    Member
    Zabbix Certified Specialist
    • Aug 2010
    • 33

    #1

    Custom Variable Macros

    It would be great if you could use Variables when working with Web Scenarios. An example of this would be being able to POST something like {TODAYSDATE+10} making your Web Check dynamic. This would obviously also require the ability to change the formatting of the date etc so that on some web requests it could be dd-mm-yyyy ... other checks might be dd-mm-yy ... also this might include the time etc etc. I think the web check could be far more utilised for us if we were able to implement macro's such as these, at the same time perhaps having files with data on new lines randomly selectable for other areas of macro's. This would enable the ability to of course, dynamically create different POST/GET requests for sites on the fly. This is not hugely important to us as we're doing this via externally scripting bash 'curl' commands and getting Zabbix to interrogate the script etc. But I do believe it would be a great feature.

    Benefit: Good thing with Bash's curl is we're getting graphing stat's out which enables us to graph things such as... connect time, download speed, total response time and various other are available, some of which Zabbix does cover as well. Currently its not something used much within the Nagios deployment so it would be good if we could say something like, we've moved to Zabbix and look at this web site monitoring excellence :-)
    Downfall: It's a bit more set-up work involved and we're having to re-invent the wheel to get what we need.
  • mattsmith
    Member
    Zabbix Certified Specialist
    • Aug 2010
    • 33

    #2
    (ZBXNEXT-568) if anyone else would find this useful :-)

    Comment

    Working...