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
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
Comment