Ad Widget

Collapse

Remote Web Monitoring

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • anrstone
    Member
    • Oct 2009
    • 61

    #16
    I'm sorry I've not posted much lately but where I've got to is as follows:

    1) I can now capture all the data about a page and additionally an array of data about the page assets e.g.:

    Content Type: e.g: text/html; charset=utf-8
    Response Code: e.g: 200
    Namelookup Time: e.g: 0.0097
    Connect Time: e.g: 0.0166
    Pretransfer Time: e.g: 0.0175
    Starttransfer Time: e.g: 0.0800
    Total Time: e.g: 1.2406
    Redirect Time: e.g: 0.0000
    Size Download: e.g: 274335
    Actual Speed of Download: e.g: 221133
    Total Number Assets: e.g: 276

    This data is available for every asset along with a fair few other bits as well

    2) That data is now all posted up to Zabbix. I have created a pseduo array type to pass details of the assets that make up a page

    3) I have the PHP to create the graph as per my previous post though the styling in PHP needs some work to match the graph I posted up

    What I've got left to do is:

    - work out how to bolt the new graph in to the Zabbix interface
    - allow an array data type in the items form
    - recognize the array data type and link the graph to it etc.
    - test post and web journey finctionality in the web sender

    I'm more than happy to post code at somewhere if people are interested and if I get a moment I'll do that on my own site in absence of anything better

    Nick

    Comment

    • unknown_man
      Junior Member
      • Jan 2010
      • 10

      #17
      Originally posted by anrstone
      I'm sorry I've not posted much lately but where I've got to is as follows:

      1) I can now capture all the data about a page and additionally an array of data about the page assets e.g.:

      Content Type: e.g: text/html; charset=utf-8
      Response Code: e.g: 200
      Namelookup Time: e.g: 0.0097
      Connect Time: e.g: 0.0166
      Pretransfer Time: e.g: 0.0175
      Starttransfer Time: e.g: 0.0800
      Total Time: e.g: 1.2406
      Redirect Time: e.g: 0.0000
      Size Download: e.g: 274335
      Actual Speed of Download: e.g: 221133
      Total Number Assets: e.g: 276

      This data is available for every asset along with a fair few other bits as well

      2) That data is now all posted up to Zabbix. I have created a pseduo array type to pass details of the assets that make up a page

      3) I have the PHP to create the graph as per my previous post though the styling in PHP needs some work to match the graph I posted up

      What I've got left to do is:

      - work out how to bolt the new graph in to the Zabbix interface
      - allow an array data type in the items form
      - recognize the array data type and link the graph to it etc.
      - test post and web journey finctionality in the web sender

      I'm more than happy to post code at somewhere if people are interested and if I get a moment I'll do that on my own site in absence of anything better

      Nick
      oh, please, Anrstone. I need those codes so badly! Could you upload them to somewhere and give me the link, or if possible, mail them to me at [email protected]?
      thanks in advance

      Comment

      • anrstone
        Member
        • Oct 2009
        • 61

        #18
        I'll try and get them all posted up somewhere tonight or tomorrow.

        Comment

        • unknown_man
          Junior Member
          • Jan 2010
          • 10

          #19
          Originally posted by anrstone
          I'll try and get them all posted up somewhere tonight or tomorrow.
          I've been waiting 4 a long time, please upload your code as soon as possible T_T

          Comment

          • anrstone
            Member
            • Oct 2009
            • 61

            #20
            I haven't posted to this forum for a bit as to be honest I can't make Zabbix do exactly what I want out of the box. I have got the code working well enough to get all the data required / handle scheduling / handle regex matching of page html etc etc.

            However, with the additional data (i.e. the information about the additional page assets which can be substantial) it seems that getting the data into zabbix in the current model is easy but there is no way of either displaying that data as a gantt style chart or linking the additional data to the original record about the specific page test.

            I am currently working on a patch to provide this as functionality outside of zabbix by adding array style functionality to zabbix. Though making this work seemlessly with each patch release of zabbix itself has proved very difficult.

            Ideas would be welcome...!

            Comment

            • mattsmith
              Member
              Zabbix Certified Specialist
              • Aug 2010
              • 33

              #21
              Hi anrstone,

              Very interested in this post, this is something that we are also looking to achieve. From the looks of things you have made excellent progress.

              Earlier in the thread you mentioned publishing your code. Do you have a site that this can be downloaded from?

              richlv, do you know if similar functionality is planned for 2.0?

              Cheers
              Matt

              Comment

              • richlv
                Senior Member
                Zabbix Certified Trainer
                Zabbix Certified SpecialistZabbix Certified Professional
                • Oct 2005
                • 3112

                #22
                i'm not aware of short term plans in this area. you can see a rough roadmap for 2.0 at https://zabbix.org/wiki/Docs/specs/2.0_roadmap
                Zabbix 3.0 Network Monitoring book

                Comment

                • anrstone
                  Member
                  • Oct 2009
                  • 61

                  #23
                  Hi mattsmith

                  I probably could put the code somewhere. It's not very beautiful I'm afraid but it does work. The bit that doesn't do much is the gantt chart view - I have some code that can render the data as a gantt chart but I simply haven't had time to extend zabbix to display it. What we currently do is cature all the other data and ignore the additional page data (i.e. the bit that has the individual asset information - though it is captured...)

                  I will tar the code up and shove it online somewhere and post a link.

                  Nick

                  Comment

                  Working...