Ad Widget

Collapse

1.3.4 web application monitoring problem and feature request

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • smiley76
    Junior Member
    • Mar 2007
    • 4

    #1

    1.3.4 web application monitoring problem and feature request

    Hi,

    I have just installed the latest beta version of zabbix.

    Lot of features I have missed from 1.1 has been added and this looks really nice :-)


    I did try out the webapplication monitoring and did stumble at some problems.

    1. I added a new Scenario with no variable specfied and 60 seconds update interval.
    2. I added a new step with name and URL and no post or Required variables.
    3. When I click the Save button zabbix_server and mysqld goes crazy (both takes 50% CPU each)
    4. checking the mysql.log I see a loop of these SELECTs:

    692867 Query select count(*),min(nextcheck) from httptest t where t.status=0 and mod(t.httptestid,5)=3 and t.httptestid>=100000000000000*0 and t.httptestid<=(100000000000000*0+99999999999999)

    and it seems like the application never tries to contact the URL I have added.

    If I run the above query I get this back:

    +----------+----------------+
    | count(*) | min(nextcheck) |
    +----------+----------------+
    | 0 | NULL |
    +----------+----------------+
    1 row in set (0.00 sec)

    and output from zabbix_server.log:

    19272:20070330:115643 Nextcheck:0 Time:1175248603
    19272:20070330:115643 No sleeping
    19272:20070330:115643 Spent 0 seconds while processing HTTP tests
    19272:20070330:115643 Query [select count(*),min(nextcheck) from httptest t where t.status=0 and mod(t.httptestid,5)=3 and t.httptestid>=100000000000000*0 and t.httptestid<=(100000000000000*0+99999999999999) ]
    19272:20070330:115643 Nextcheck:0 Time:1175248603
    19272:20070330:115643 No sleeping
    19272:20070330:115643 Spent 0 seconds while processing HTTP tests
    19272:20070330:115643 Query [select count(*),min(nextcheck) from httptest t where t.status=0 and mod(t.httptestid,5)=3 and t.httptestid>=100000000000000*0 and t.httptestid<=(100000000000000*0+99999999999999) ]
    19272:20070330:115643 Nextcheck:0 Time:1175248603
    19272:20070330:115643 No sleeping
    19272:20070330:115643 Spent 0 seconds while processing HTTP tests
    19272:20070330:115643 Query [select count(*),min(nextcheck) from httptest t where t.status=0 and mod(t.httptestid,5)=3 and t.httptestid>=100000000000000*0 and t.httptestid<=(100000000000000*0+99999999999999) ]






    ---------

    and then the feature request.

    the application I'm going to monitor has a bunch of <input type="hidden"> values that I would need to use in step 2. I couldn't find a way to grab this data from step 1 and post it to step 2. So maybe an "include all input hidden" feature is needed.

    //Nicklas Löf - System Administrator @ Artificial Solutions
    Last edited by smiley76; 30-03-2007, 11:58.
  • Alexei
    Founder, CEO
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Sep 2004
    • 5654

    #2
    Thanks for reporting your problem!

    As for the feature request, this will be implemented at some point.
    Alexei Vladishev
    Creator of Zabbix, Product manager
    New York | Tokyo | Riga
    My Twitter

    Comment

    • smiley76
      Junior Member
      • Mar 2007
      • 4

      #3
      Originally posted by Alexei
      Thanks for reporting your problem!

      As for the feature request, this will be implemented at some point.

      Actually.. I have solved the problem.

      Curl and Libcurl was installed but not Libcurl-dev so the zabbix_server didn't get compiled with libcurl. (Configure script didn't complain about it)

      And for anyone else that gets this problem:

      make sure libcurl is installed with development headers + that zabbix_server is built with --with-libcurl




      Thanks.

      /Nicklas
      Last edited by smiley76; 30-03-2007, 12:29.

      Comment

      • Alexei
        Founder, CEO
        Zabbix Certified Trainer
        Zabbix Certified SpecialistZabbix Certified Professional
        • Sep 2004
        • 5654

        #4
        I believe it is fixed in 1.3.5.
        Alexei Vladishev
        Creator of Zabbix, Product manager
        New York | Tokyo | Riga
        My Twitter

        Comment

        Working...