******************** Script profiler ********************
Total time: 0.041057
Total SQL time: 0.031593
SQL count: 32 (selects: 29 | executes: 12)
Peak memory usage: 4M
Memory limit: 128M
1. hostgroup.get [CPageFilter.php:371]
Parameters: Array
(
[output] => Array
(
[0] => groupid
[1] => name
)
[preservekeys] => 1
[with_monitored_triggers] => 1
)
| Result: Array
(
)
|
SQL (0.000351): SELECT nextid FROM ids WHERE table_name='auditlog' AND field_name='auditid' FOR UPDATE
overview.php:22 → require_once() → ZBase->run() → ZBase->authenticateUser() → CWebUser::checkAuthentication() → CApiWrapper->__call() → CFrontendApiWrapper->callMethod() → CApiWrapper->callMethod() → CFrontendApiWrapper->callClientMethod() → CLocalApiClient->callMethod() → CUser->login() → CApiService->addAuditDetails() → CAudit::addDetails() → DB::insert() → DB::reserveIds() → DBselect() in include/classes/db/DB.php:107
SQL (0.000442): UPDATE ids SET nextid=2489401 WHERE table_name='auditlog' AND field_name='auditid'
overview.php:22 → require_once() → ZBase->run() → ZBase->authenticateUser() → CWebUser::checkAuthentication() → CApiWrapper->__call() → CFrontendApiWrapper->callMethod() → CApiWrapper->callMethod() → CFrontendApiWrapper->callClientMethod() → CLocalApiClient->callMethod() → CUser->login() → CApiService->addAuditDetails() → CAudit::addDetails() → DB::insert() → DB::reserveIds() → DBexecute() in include/classes/db/DB.php:121
SQL (0.000304): INSERT INTO auditlog (userid,clock,ip,action,resourcetype,details,auditid) VALUES ('2','1786415419','216.73.216.248','3','0','','2489401')
overview.php:22 → require_once() → ZBase->run() → ZBase->authenticateUser() → CWebUser::checkAuthentication() → CApiWrapper->__call() → CFrontendApiWrapper->callMethod() → CApiWrapper->callMethod() → CFrontendApiWrapper->callClientMethod() → CLocalApiClient->callMethod() → CUser->login() → CApiService->addAuditDetails() → CAudit::addDetails() → DB::insert() → DBexecute() in include/classes/db/DB.php:467
SQL (0.008841): COMMIT
overview.php:22 → require_once() → ZBase->run() → ZBase->authenticateUser() → CWebUser::checkAuthentication() → CApiWrapper->__call() → CFrontendApiWrapper->callMethod() → CApiWrapper->callMethod() → CFrontendApiWrapper->callClientMethod() → CLocalApiClient->callMethod() → DBend() → DBcommit() → DBexecute() in include/db.inc.php:291
SQL (0.000166): SELECT type,value_id,value_int,value_str,idx2 FROM profiles WHERE userid=2 AND idx='web.layout.mode'
overview.php:33 → CView::getLayoutMode() → CProfile::get() → DBselect() in include/classes/user/CProfile.php:164
SQL (0.000166): SELECT type,value_id,value_int,value_str,idx2 FROM profiles WHERE userid=2 AND idx='web.menu.view.last'
overview.php:39 → require_once() → zbx_construct_menu() → CProfile::update() → CProfile::get() → DBselect() in include/classes/user/CProfile.php:164
SQL (0.000377): SELECT type,value_id,value_int,value_str,idx2 FROM profiles WHERE userid=2 AND idx='web.login.attempt.failed'
overview.php:39 → require_once() → CProfile::get() → DBselect() in include/classes/user/CProfile.php:164
SQL (0.000519): SELECT type,value_id,value_int,value_str,idx2 FROM profiles WHERE userid=2 AND idx='web.overview.type'
overview.php:120 → CProfile::get() → DBselect() in include/classes/user/CProfile.php:164
SQL (0.000599): SELECT type,value_id,value_int,value_str,idx2 FROM profiles WHERE userid=2 AND idx='web.overview.filter.show_triggers'
overview.php:127 → CProfile::get() → DBselect() in include/classes/user/CProfile.php:164
SQL (0.000387): SELECT type,value_id,value_int,value_str,idx2 FROM profiles WHERE userid=2 AND idx='web.view.groupid'
overview.php:141 → CPageFilter->__construct() → CPageFilter->_getProfiles() → CProfile::get() → DBselect() in include/classes/user/CProfile.php:164
SQL (0.000311): SELECT type,value_id,value_int,value_str,idx2 FROM profiles WHERE userid=2 AND idx='web.view.hostid'
overview.php:141 → CPageFilter->__construct() → CPageFilter->_getProfiles() → CProfile::get() → DBselect() in include/classes/user/CProfile.php:164
SQL (0.000386): SELECT type,value_id,value_int,value_str,idx2 FROM profiles WHERE userid=2 AND idx='web.view.graphid'
overview.php:141 → CPageFilter->__construct() → CPageFilter->_getProfiles() → CProfile::get() → DBselect() in include/classes/user/CProfile.php:164
SQL (0.000137): BEGIN
overview.php:141 → CPageFilter->__construct() → CPageFilter->_initGroups() → CApiWrapper->__call() → CFrontendApiWrapper->callMethod() → CApiWrapper->callMethod() → CFrontendApiWrapper->callClientMethod() → CLocalApiClient->callMethod() → DBstart() → DBexecute() in include/db.inc.php:234
SQL (0.000147): SELECT usrgrpid FROM users_groups WHERE userid='2'
overview.php:141 → CPageFilter->__construct() → CPageFilter->_initGroups() → CApiWrapper->__call() → CFrontendApiWrapper->callMethod() → CApiWrapper->callMethod() → CFrontendApiWrapper->callClientMethod() → CLocalApiClient->callMethod() → CHostGroup->get() → getUserGroupsByUserId() → DBselect() in include/perm.inc.php:283
SQL (0.003427): SELECT g.groupid,g.name FROM hstgrp g WHERE EXISTS (SELECT NULL FROM rights r WHERE g.groupid=r.id AND r.groupid=8 GROUP BY r.id HAVING MIN(r.permission)>0 AND MAX(r.permission)>='2') AND EXISTS (SELECT NULL FROM items i,hosts h,functions f,triggers t,hosts_groups hg WHERE hg.hostid=i.hostid AND hg.hostid=h.hostid AND i.itemid=f.itemid AND f.triggerid=t.triggerid AND h.status=0 AND i.status=0 AND t.status=0 AND t.flags IN (0,4) AND g.groupid=hg.groupid)
overview.php:141 → CPageFilter->__construct() → CPageFilter->_initGroups() → CApiWrapper->__call() → CFrontendApiWrapper->callMethod() → CApiWrapper->callMethod() → CFrontendApiWrapper->callClientMethod() → CLocalApiClient->callMethod() → CHostGroup->get() → DBselect() in include/classes/api/services/CHostGroup.php:315
SQL (0.000124): COMMIT
overview.php:141 → CPageFilter->__construct() → CPageFilter->_initGroups() → CApiWrapper->__call() → CFrontendApiWrapper->callMethod() → CApiWrapper->callMethod() → CFrontendApiWrapper->callClientMethod() → CLocalApiClient->callMethod() → DBend() → DBcommit() → DBexecute() in include/db.inc.php:291
SQL (0.000405): SELECT type,value_id,value_int,value_str,idx2 FROM profiles WHERE userid=2 AND idx='web.latest.groupid'
overview.php:141 → CPageFilter->__construct() → CPageFilter->_initGroups() → CProfile::update() → CProfile::get() → DBselect() in include/classes/user/CProfile.php:164
SQL (0.000743): SELECT type,value_id,value_int,value_str,idx2 FROM profiles WHERE userid=2 AND idx='web.overview.view_style'
overview.php:146 → CProfile::get() → DBselect() in include/classes/user/CProfile.php:164
SQL (0.000463): SELECT type,value_id,value_int,value_str,idx2 FROM profiles WHERE userid=2 AND idx='web.overview.filter.active'
overview.php:152 → CProfile::get() → DBselect() in include/classes/user/CProfile.php:164
SQL (0.000486): SELECT type,value_id,value_int,value_str,idx2 FROM profiles WHERE userid=2 AND idx='web.overview.filter.ack_status'
overview.php:160 → CProfile::get() → DBselect() in include/classes/user/CProfile.php:164
SQL (0.00042): SELECT type,value_id,value_int,value_str,idx2 FROM profiles WHERE userid=2 AND idx='web.overview.filter.show_severity'
overview.php:161 → CProfile::get() → DBselect() in include/classes/user/CProfile.php:164
SQL (0.000433): SELECT type,value_id,value_int,value_str,idx2 FROM profiles WHERE userid=2 AND idx='web.overview.filter.status_change'
overview.php:162 → CProfile::get() → DBselect() in include/classes/user/CProfile.php:164
SQL (0.000503): SELECT type,value_id,value_int,value_str,idx2 FROM profiles WHERE userid=2 AND idx='web.overview.filter.status_change_days'
overview.php:163 → CProfile::get() → DBselect() in include/classes/user/CProfile.php:164
SQL (0.000421): SELECT type,value_id,value_int,value_str,idx2 FROM profiles WHERE userid=2 AND idx='web.overview.filter.txt_select'
overview.php:164 → CProfile::get() → DBselect() in include/classes/user/CProfile.php:164
SQL (0.000443): SELECT type,value_id,value_int,value_str,idx2 FROM profiles WHERE userid=2 AND idx='web.overview.filter.application'
overview.php:165 → CProfile::get() → DBselect() in include/classes/user/CProfile.php:164
SQL (0.000407): SELECT type,value_id,value_int,value_str,idx2 FROM profiles WHERE userid=2 AND idx='web.overview.filter.show_suppressed'
overview.php:166 → CProfile::get() → DBselect() in include/classes/user/CProfile.php:164
SQL (0.000362): SELECT type,value_id,value_int,value_str,idx2 FROM profiles WHERE userid=2 AND idx='web.overview.filter.inventory.field'
overview.php:169 → CProfile::getArray() → CProfile::get() → DBselect() in include/classes/user/CProfile.php:164
SQL (0.000235): SELECT type,value_id,value_int,value_str,idx2 FROM profiles WHERE userid=2 AND idx='web.paging.lastpage'
overview.php:232 → require_once() → CProfile::update() → CProfile::get() → DBselect() in include/classes/user/CProfile.php:164
SQL (0.000137): BEGIN
overview.php:232 → require_once() → DBstart() → DBexecute() in include/db.inc.php:234
SQL (0.001006): UPDATE profiles SET value_str='overview.php', type=3 WHERE userid=2 AND idx='web.menu.view.last' AND idx2='0'
overview.php:232 → require_once() → CProfile::flush() → CProfile::updateDB() → DBexecute() in include/classes/user/CProfile.php:338
SQL (0.000454): UPDATE profiles SET value_str='overview.php', type=3 WHERE userid=2 AND idx='web.paging.lastpage' AND idx2='0'
overview.php:232 → require_once() → CProfile::flush() → CProfile::updateDB() → DBexecute() in include/classes/user/CProfile.php:338
SQL (0.007991): COMMIT
overview.php:232 → require_once() → DBend() → DBcommit() → DBexecute() in include/db.inc.php:291