Ad Widget

Collapse

Problem with Web Monitoring

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Bill Wang
    Member
    • Jul 2010
    • 66

    #1

    Problem with Web Monitoring

    Hey guys,

    I'm using zabbix 1.8.3 to monitor my streaming servers. I want to monitor the live video stream, zabbix reported "Error doing curl_easy_perform [a timeout was reached]", but I used wget command to request the live url, I got HTTP/200. So I have a question: Does zabbix support static page only? Like a HTML page.

    And sorry for my poor English.
  • alisson
    Member
    Zabbix Certified Specialist
    • Nov 2009
    • 70

    #2
    The test that you could do is execute the following command in shell:
    curl -L http://<YOURPAGE>/

    where <YOURPAGE> is the URL that you want to monitor.

    The problem isn't the code, but the time out.
    __________________
    --
    Alisson Oliveira
    [url]www.zabbix.com.br[/url]
    [url]www.unirede.net[/url]
    Porto Alegre - RS - Brasil

    Comment

    • Bill Wang
      Member
      • Jul 2010
      • 66

      #3
      Originally posted by alisson
      The test that you could do is execute the following command in shell:
      curl -L http://<YOURPAGE>/

      where <YOURPAGE> is the URL that you want to monitor.

      The problem isn't the code, but the time out.

      Thanks, Alisson

      But I'm not monitoring a web page, I'm monitoring a live video stream to see if it is alive, I think that because the stream is a persistent connection, so the curl will be running until the stream is close.

      Is there any other ways to do it?


      BR/Bill

      Comment

      • alisson
        Member
        Zabbix Certified Specialist
        • Nov 2009
        • 70

        #4
        we monitor a streaming in two ways:
        A screen in Zabbix (the spectrum is showing that the streaming is in the air, using media player plugin for firefox and the screen in Zabbix with URL for streaming);
        the streaming is Windows Media Encoder, then, we monitoring the state of media encoder too.

        if you want I can pass the UserParameter for monitoring Media Encoder.

        I Dont remember another way of monitoring streaming.
        __________________
        --
        Alisson Oliveira
        [url]www.zabbix.com.br[/url]
        [url]www.unirede.net[/url]
        Porto Alegre - RS - Brasil

        Comment

        • Bill Wang
          Member
          • Jul 2010
          • 66

          #5
          Originally posted by alisson
          we monitor a streaming in two ways:
          A screen in Zabbix (the spectrum is showing that the streaming is in the air, using media player plugin for firefox and the screen in Zabbix with URL for streaming);
          the streaming is Windows Media Encoder, then, we monitoring the state of media encoder too.

          if you want I can pass the UserParameter for monitoring Media Encoder.

          I Dont remember another way of monitoring streaming.
          Thanks again, Alisson,

          We don't use WME, we have Hamonic ProStream 4000 Video Encoder (it's a hardware) and our own streaming servers, The live stream encoded by Harmonic, and ingested into our streaming server, what I want to do is to monitor the live stream from the streaming server. But Zabbix always report "time out", the stream is transported on normal HTTP protocol, I can play it on web browser or some player like VLC.

          Comment

          • untergeek
            Senior Member
            Zabbix Certified Specialist
            • Jun 2009
            • 512

            #6
            One possible way would be to have an app of some kind monitoring the stream and either sending a heartbeat via zabbix_sender, or periodically touching a log file (which zabbix could monitor).

            Comment

            • sue
              Member
              • Mar 2011
              • 41

              #7
              can anyone help me to set basic authentication in wb scenario? Because i want to monitor webpage which is need to enter username and password. But i dont know the right way to write the script. I saw the documentation but it explain only for none authentication

              Comment

              • Rudd
                Member
                • Mar 2011
                • 69

                #8
                Hi sue,

                You'll probably find more help by posting new questions in a new thread, instead of an existing but not really related

                Zabbix will handle basic, and NTLM, HTTP authentication via the drop down "Authentication" option in the scenario.

                How to log in to a web site using forms is definitely covered in the manual: http://www.zabbix.com/documentation/...web_monitoring

                Comment

                • Gunsthall
                  Junior Member
                  Zabbix Certified Specialist
                  • Jul 2011
                  • 15

                  #9
                  Originally posted by alisson
                  we monitor a streaming in two ways:
                  A screen in Zabbix (the spectrum is showing that the streaming is in the air, using media player plugin for firefox and the screen in Zabbix with URL for streaming);
                  the streaming is Windows Media Encoder, then, we monitoring the state of media encoder too.

                  if you want I can pass the UserParameter for monitoring Media Encoder.

                  I Dont remember another way of monitoring streaming.
                  Hi.
                  Almost 2 years late to the discussion but... I would appreciate a deeper explanation on the way you didi this.
                  I need to monitor around 2000 IP cameras, most of them wiht no SNMP. There are like 6 differente models and all of them have a http link for webstreamming with user and password access control.
                  I do NOT want to see the videos, but I need to know that they are actually showing something (just to trigger an alarm in case it seems camera is not recording)

                  Any help would be much appreciated.

                  Cheers

                  Comment

                  Working...