Ad Widget

Collapse

Capture data from web pages

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • randompunteruk
    Junior Member
    • Nov 2015
    • 2

    #1

    Capture data from web pages

    Hi all,

    I am looking at replacing an in-house tool that hits many web pages to check the status of tests and services.

    Using web scenarios, Zabbix can do the monitoring, but a very useful feature of our current tool is storing the body of the responses themselves, rather than just the response code or the success/failure of the check , both for seeing the description of the underlying problem and debugging purposes. We delete responses older than a couple of days to save space on a schedule.

    I can only seem to get the response via debug information in the log files, which is no use in day-to-day use.

    I went through the Zabbix source code and could see that the code that reads the web requests throws the result away without passing it upwards at all, so short of writing my own patch to capture what I need and pass somehow through to the db, I am not sure how I can achieve my goal with Zabbix.

    To summarise, I want to be able to capture some (e.g. with a regex) or all of the body of the response to a web query (over https with basic authentication) in addition to all the Zabbix goodness of response code, regex on the body for success/failure, timing information and obviously the alerting, escalation, acknowledgements and auditing.

    Could anyone offer some suggestions on how to get what I need?

    Thanks for any help,

    AshleyHi all,

    I am looking at replacing an in-house tool that hits many web pages to check the status of tests and services.

    Using web scenarios, Zabbix can do the monitoring, but a very useful feature of our current tool is storing the body of the responses themselves, rather than just the response code or the success/failure of the check , both for seeing the description of the underlying problem and debugging purposes. We delete responses older than a couple of days to save space on a schedule.

    I can only seem to get the response via debug information in the log files, which is no use in day-to-day use.

    I went through the Zabbix source code and could see that the code that reads the web requests throws the result away without passing it upwards at all, so short of writing my own patch to capture what I need and pass somehow through to the db, I am not sure how I can achieve my goal with Zabbix.

    To summarise, I want to be able to capture some (e.g. with a regex) or all of the body of the response to a web query (over https with basic authentication) in addition to all the Zabbix goodness of response code, regex on the body for success/failure, timing information and obviously the alerting, escalation, acknowledgements and auditing.

    Could anyone offer some suggestions on how to get what I need?

    Thanks for any help,

    Ashley
Working...