Ad Widget

Collapse

monitoring web application through web page

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mslemko
    Junior Member
    • Apr 2012
    • 1

    #1

    monitoring web application through web page

    I have a need to monitor a component of an application via results returned from a web page that produces monitoring information, and I haven't seen a way to do this using the built in Item type.

    This is what I've done, which may help other people who need similar functionality.

    I created a small External Check application that takes one parameter and can use it as an Item Key

    Code:
    #!/bin/sh
    # /etc/zabbix/externalscripts/get-web-page.sh
    #
    # Usage:
    # * Type is External Check
    # * Key	is: 
    #   get-web-page.sh[/path/to/website-page.html]
    #
    curl http://$1$2
    and I can then do a regex for the results in the Trigger associated with the Item.

    Is there a built-in way to do exactly this?
  • JiP
    Member
    • Nov 2011
    • 41

    #2
    http://www.zabbix.com/documentation/...l/config/items - here it is the list of zabbix supported items and find out item web.page.regexp[host,<path>,<port>,<regexp>,<length>]

    It could help you.

    Comment

    • jeetusjeet
      Junior Member
      • Oct 2014
      • 13

      #3
      Script for Web App Monitoring

      Hello,

      I am a newbie for zabbix and want a script to monitor availability of a web application.

      Comment

      • JiP
        Member
        • Nov 2011
        • 41

        #4
        Hi,

        you should read this page - https://www.zabbix.com/documentation...web_monitoring

        Web monitoring in zabbix is simply and clear.

        Originally posted by jeetusjeet
        Hello,

        I am a newbie for zabbix and want a script to monitor availability of a web application.

        Comment

        • jeetusjeet
          Junior Member
          • Oct 2014
          • 13

          #5
          Script for Web App Monitoring

          Hey, thanks JiP & mslemko for the quick reply.
          One more question: Is it possible to generate a report in a .pdf file format?

          Comment

          • jeetusjeet
            Junior Member
            • Oct 2014
            • 13

            #6
            Hello,

            I tried to configure zabbix as per zabbix document and it works fine for me but there is an issue. I have specified username and password in the 2nd step for login check and it gives me the OK status but when i put the wrong password in zabbix web scenario configuration it doesn't gives me an error. Is there anything wrong with my configuration. How to check whether the login check is configured correctly or working properly.

            Thanks and Appreciated,
            Jitendra,

            Comment

            Working...