Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Started GET "/api/fact_values?search=fact%20=%20hostname%20and%20(%20host=shinken01.example.com%20or%20host=shinken11.example.com%20or%20host=shinken51.example.com%20" for 192.168.200.117 at Mon Mar 11 17:34:36 +0100 2013
- Processing by Api::V1::FactValuesController#index as JSON
- Parameters: {"search"=>"fact = hostname and ( host=shinken01.example.com or host=shinken11.example.com or host=shinken51.example.com "}
- User Load (0.8ms) SELECT `users`.* FROM `users` WHERE `users`.`login` = 'remote' LIMIT 1
- AuthSource Load (0.5ms) SELECT `auth_sources`.* FROM `auth_sources` WHERE `auth_sources`.`id` = 1 LIMIT 1
- User Load (0.8ms) SELECT `users`.* FROM `users` WHERE (login='remote') LIMIT 1
- Authenticated user Remote User against INTERNAL authentication source
- User Load (0.5ms) SELECT `users`.* FROM `users` WHERE `users`.`login` = 'admin' ORDER BY firstname LIMIT 1
- Setting current user thread-local variable to admin
- SQL (0.4ms) BEGIN
- AREL (0.8ms) UPDATE `users` SET `last_login_on` = '2013-03-11 16:34:36', `updated_at` = '2013-03-11 16:34:36' WHERE `users`.`id` = 17
- SQL (0.4ms) COMMIT
- Role Load (0.6ms) SELECT `roles`.* FROM `roles` WHERE `roles`.`name` = 'Anonymous' LIMIT 1
- SQL (0.4ms) SELECT 1 FROM `roles` INNER JOIN `user_roles` ON `roles`.id = `user_roles`.role_id WHERE `roles`.`id` = 8 AND ((`user_roles`.user_id = 17)) LIMIT 1
- Setting current user thread-local variable to remote
- Setting current user thread-local variable to nil
- Setting current user thread-local variable to remote
- FactValue Load (3.2ms) SELECT `fact_values`.`id` AS t0_r0, `fact_values`.`value` AS t0_r1, `fact_values`.`fact_name_id` AS t0_r2, `fact_values`.`host_id` AS t0_r3, `fact_values`.`updated_at` AS t0_r4, `fact_values`.`created_at` AS t0_r5, `fact_names`.`id` AS t1_r0, `fact_names`.`name` AS t1_r1, `fact_names`.`updated_at` AS t1_r2, `fact_names`.`created_at` AS t1_r3, `hosts`.`id` AS t2_r0, `hosts`.`name` AS t2_r1, `hosts`.`ip` AS t2_r2, `hosts`.`environment` AS t2_r3, `hosts`.`last_compile` AS t2_r4, `hosts`.`last_freshcheck` AS t2_r5, `hosts`.`last_report` AS t2_r6, `hosts`.`updated_at` AS t2_r7, `hosts`.`source_file_id` AS t2_r8, `hosts`.`created_at` AS t2_r9, `hosts`.`mac` AS t2_r10, `hosts`.`root_pass` AS t2_r11, `hosts`.`serial` AS t2_r12, `hosts`.`puppet_status` AS t2_r13, `hosts`.`domain_id` AS t2_r14, `hosts`.`architecture_id` AS t2_r15, `hosts`.`operatingsystem_id` AS t2_r16, `hosts`.`environment_id` AS t2_r17, `hosts`.`subnet_id` AS t2_r18, `hosts`.`ptable_id` AS t2_r19, `hosts`.`medium_id` AS t2_r20, `hosts`.`build` AS t2_r21, `hosts`.`comment` AS t2_r22, `hosts`.`disk` AS t2_r23, `hosts`.`installed_at` AS t2_r24, `hosts`.`model_id` AS t2_r25, `hosts`.`hostgroup_id` AS t2_r26, `hosts`.`owner_id` AS t2_r27, `hosts`.`owner_type` AS t2_r28, `hosts`.`enabled` AS t2_r29, `hosts`.`puppet_ca_proxy_id` AS t2_r30, `hosts`.`managed` AS t2_r31, `hosts`.`use_image` AS t2_r32, `hosts`.`image_file` AS t2_r33, `hosts`.`uuid` AS t2_r34, `hosts`.`compute_resource_id` AS t2_r35, `hosts`.`puppet_proxy_id` AS t2_r36, `hosts`.`certname` AS t2_r37, `hosts`.`image_id` AS t2_r38, `hosts`.`organization_id` AS t2_r39, `hosts`.`location_id` AS t2_r40 FROM `fact_values` LEFT OUTER JOIN `fact_names` ON `fact_names`.`id` = `fact_values`.`fact_name_id` LEFT OUTER JOIN `hosts` ON `hosts`.`id` = `fact_values`.`host_id` WHERE (fact_names.name <> '_timestamp') AND (((`fact_names`.`name` = BINARY 'hostname') AND ((`hosts`.`name` = BINARY 'shinken01.example.com') OR (`hosts`.`name` = BINARY 'shinken11.example.com') OR (`hosts`.`name` = BINARY 'shinken51.example.com')))) ORDER BY `fact_values`.`value` ASC LIMIT 20 OFFSET 0
- Body: {"shinken51.example.com":{"hostname":"shinken51"},"shinken01.example.com":{"hostname":"shinken01"},"shinken11.example.com":{"hostname":"shinken11"}}
- Completed 200 OK in 29ms (Views: 0.5ms | ActiveRecord: 8.4ms)
- Started GET "/api/fact_values?search=fact%20=%20hostname%20and%20(%20host=shinken01.example.com%20or%20host=shinken11.example.com%20or%20host=shinken51.example.com%20" for 192.168.200.117 at Mon Mar 11 17:34:37 +0100 2013
- Processing by Api::V1::FactValuesController#index as JSON
- Parameters: {"search"=>"fact = hostname and ( host=shinken01.example.com or host=shinken11.example.com or host=shinken51.example.com "}
- User Load (0.9ms) SELECT `users`.* FROM `users` WHERE `users`.`login` = 'remote' LIMIT 1
- AuthSource Load (0.4ms) SELECT `auth_sources`.* FROM `auth_sources` WHERE `auth_sources`.`id` = 1 LIMIT 1
- User Load (0.9ms) SELECT `users`.* FROM `users` WHERE (login='remote') LIMIT 1
- Authenticated user Remote User against INTERNAL authentication source
- User Load (6.7ms) SELECT `users`.* FROM `users` WHERE `users`.`login` = 'admin' ORDER BY firstname LIMIT 1
- Setting current user thread-local variable to admin
- SQL (0.4ms) BEGIN
- AREL (0.9ms) UPDATE `users` SET `last_login_on` = '2013-03-11 16:34:37', `updated_at` = '2013-03-11 16:34:37' WHERE `users`.`id` = 17
- SQL (0.4ms) COMMIT
- Role Load (0.4ms) SELECT `roles`.* FROM `roles` WHERE `roles`.`name` = 'Anonymous' LIMIT 1
- SQL (0.4ms) SELECT 1 FROM `roles` INNER JOIN `user_roles` ON `roles`.id = `user_roles`.role_id WHERE `roles`.`id` = 8 AND ((`user_roles`.user_id = 17)) LIMIT 1
- Setting current user thread-local variable to remote
- Setting current user thread-local variable to nil
- Setting current user thread-local variable to remote
- FactValue Load (3.1ms) SELECT `fact_values`.`id` AS t0_r0, `fact_values`.`value` AS t0_r1, `fact_values`.`fact_name_id` AS t0_r2, `fact_values`.`host_id` AS t0_r3, `fact_values`.`updated_at` AS t0_r4, `fact_values`.`created_at` AS t0_r5, `fact_names`.`id` AS t1_r0, `fact_names`.`name` AS t1_r1, `fact_names`.`updated_at` AS t1_r2, `fact_names`.`created_at` AS t1_r3, `hosts`.`id` AS t2_r0, `hosts`.`name` AS t2_r1, `hosts`.`ip` AS t2_r2, `hosts`.`environment` AS t2_r3, `hosts`.`last_compile` AS t2_r4, `hosts`.`last_freshcheck` AS t2_r5, `hosts`.`last_report` AS t2_r6, `hosts`.`updated_at` AS t2_r7, `hosts`.`source_file_id` AS t2_r8, `hosts`.`created_at` AS t2_r9, `hosts`.`mac` AS t2_r10, `hosts`.`root_pass` AS t2_r11, `hosts`.`serial` AS t2_r12, `hosts`.`puppet_status` AS t2_r13, `hosts`.`domain_id` AS t2_r14, `hosts`.`architecture_id` AS t2_r15, `hosts`.`operatingsystem_id` AS t2_r16, `hosts`.`environment_id` AS t2_r17, `hosts`.`subnet_id` AS t2_r18, `hosts`.`ptable_id` AS t2_r19, `hosts`.`medium_id` AS t2_r20, `hosts`.`build` AS t2_r21, `hosts`.`comment` AS t2_r22, `hosts`.`disk` AS t2_r23, `hosts`.`installed_at` AS t2_r24, `hosts`.`model_id` AS t2_r25, `hosts`.`hostgroup_id` AS t2_r26, `hosts`.`owner_id` AS t2_r27, `hosts`.`owner_type` AS t2_r28, `hosts`.`enabled` AS t2_r29, `hosts`.`puppet_ca_proxy_id` AS t2_r30, `hosts`.`managed` AS t2_r31, `hosts`.`use_image` AS t2_r32, `hosts`.`image_file` AS t2_r33, `hosts`.`uuid` AS t2_r34, `hosts`.`compute_resource_id` AS t2_r35, `hosts`.`puppet_proxy_id` AS t2_r36, `hosts`.`certname` AS t2_r37, `hosts`.`image_id` AS t2_r38, `hosts`.`organization_id` AS t2_r39, `hosts`.`location_id` AS t2_r40 FROM `fact_values` LEFT OUTER JOIN `fact_names` ON `fact_names`.`id` = `fact_values`.`fact_name_id` LEFT OUTER JOIN `hosts` ON `hosts`.`id` = `fact_values`.`host_id` WHERE (fact_names.name <> '_timestamp') AND (((`fact_names`.`name` = BINARY 'hostname') AND ((`hosts`.`name` = BINARY 'shinken01.example.com') OR (`hosts`.`name` = BINARY 'shinken11.example.com') OR (`hosts`.`name` = BINARY 'shinken51.example.com')))) ORDER BY `fact_values`.`value` ASC LIMIT 20 OFFSET 0
- Body: {"shinken01.example.com":{"hostname":"shinken01"},"shinken11.example.com":{"hostname":"shinken11"}}
- Completed 200 OK in 34ms (Views: 0.5ms | ActiveRecord: 14.6ms)
- Started GET "/api/fact_values?search=fact%20=%20hostname%20and%20(%20host=shinken01.example.com%20or%20host=shinken11.example.com%20or%20host=shinken51.example.com%20" for 192.168.200.117 at Mon Mar 11 17:34:38 +0100 2013
- Processing by Api::V1::FactValuesController#index as JSON
- Parameters: {"search"=>"fact = hostname and ( host=shinken01.example.com or host=shinken11.example.com or host=shinken51.example.com "}
- User Load (0.8ms) SELECT `users`.* FROM `users` WHERE `users`.`login` = 'remote' LIMIT 1
- AuthSource Load (0.4ms) SELECT `auth_sources`.* FROM `auth_sources` WHERE `auth_sources`.`id` = 1 LIMIT 1
- User Load (0.8ms) SELECT `users`.* FROM `users` WHERE (login='remote') LIMIT 1
- Authenticated user Remote User against INTERNAL authentication source
- User Load (0.9ms) SELECT `users`.* FROM `users` WHERE `users`.`login` = 'admin' ORDER BY firstname LIMIT 1
- Setting current user thread-local variable to admin
- SQL (0.3ms) BEGIN
- AREL (0.7ms) UPDATE `users` SET `last_login_on` = '2013-03-11 16:34:38', `updated_at` = '2013-03-11 16:34:38' WHERE `users`.`id` = 17
- SQL (0.3ms) COMMIT
- Role Load (0.4ms) SELECT `roles`.* FROM `roles` WHERE `roles`.`name` = 'Anonymous' LIMIT 1
- SQL (0.4ms) SELECT 1 FROM `roles` INNER JOIN `user_roles` ON `roles`.id = `user_roles`.role_id WHERE `roles`.`id` = 8 AND ((`user_roles`.user_id = 17)) LIMIT 1
- Setting current user thread-local variable to remote
- Setting current user thread-local variable to nil
- Setting current user thread-local variable to remote
- FactValue Load (2.8ms) SELECT `fact_values`.`id` AS t0_r0, `fact_values`.`value` AS t0_r1, `fact_values`.`fact_name_id` AS t0_r2, `fact_values`.`host_id` AS t0_r3, `fact_values`.`updated_at` AS t0_r4, `fact_values`.`created_at` AS t0_r5, `fact_names`.`id` AS t1_r0, `fact_names`.`name` AS t1_r1, `fact_names`.`updated_at` AS t1_r2, `fact_names`.`created_at` AS t1_r3, `hosts`.`id` AS t2_r0, `hosts`.`name` AS t2_r1, `hosts`.`ip` AS t2_r2, `hosts`.`environment` AS t2_r3, `hosts`.`last_compile` AS t2_r4, `hosts`.`last_freshcheck` AS t2_r5, `hosts`.`last_report` AS t2_r6, `hosts`.`updated_at` AS t2_r7, `hosts`.`source_file_id` AS t2_r8, `hosts`.`created_at` AS t2_r9, `hosts`.`mac` AS t2_r10, `hosts`.`root_pass` AS t2_r11, `hosts`.`serial` AS t2_r12, `hosts`.`puppet_status` AS t2_r13, `hosts`.`domain_id` AS t2_r14, `hosts`.`architecture_id` AS t2_r15, `hosts`.`operatingsystem_id` AS t2_r16, `hosts`.`environment_id` AS t2_r17, `hosts`.`subnet_id` AS t2_r18, `hosts`.`ptable_id` AS t2_r19, `hosts`.`medium_id` AS t2_r20, `hosts`.`build` AS t2_r21, `hosts`.`comment` AS t2_r22, `hosts`.`disk` AS t2_r23, `hosts`.`installed_at` AS t2_r24, `hosts`.`model_id` AS t2_r25, `hosts`.`hostgroup_id` AS t2_r26, `hosts`.`owner_id` AS t2_r27, `hosts`.`owner_type` AS t2_r28, `hosts`.`enabled` AS t2_r29, `hosts`.`puppet_ca_proxy_id` AS t2_r30, `hosts`.`managed` AS t2_r31, `hosts`.`use_image` AS t2_r32, `hosts`.`image_file` AS t2_r33, `hosts`.`uuid` AS t2_r34, `hosts`.`compute_resource_id` AS t2_r35, `hosts`.`puppet_proxy_id` AS t2_r36, `hosts`.`certname` AS t2_r37, `hosts`.`image_id` AS t2_r38, `hosts`.`organization_id` AS t2_r39, `hosts`.`location_id` AS t2_r40 FROM `fact_values` LEFT OUTER JOIN `fact_names` ON `fact_names`.`id` = `fact_values`.`fact_name_id` LEFT OUTER JOIN `hosts` ON `hosts`.`id` = `fact_values`.`host_id` WHERE (fact_names.name <> '_timestamp') AND (((`fact_names`.`name` = BINARY 'hostname') AND ((`hosts`.`name` = BINARY 'shinken01.example.com') OR (`hosts`.`name` = BINARY 'shinken11.example.com') OR (`hosts`.`name` = BINARY 'shinken51.example.com')))) ORDER BY `fact_values`.`value` ASC LIMIT 20 OFFSET 0
- Body: {"shinken51.example.com":{"hostname":"shinken51"},"shinken01.example.com":{"hostname":"shinken01"},"shinken11.example.com":{"hostname":"shinken11"}}
- Completed 200 OK in 30ms (Views: 0.6ms | ActiveRecord: 7.9ms)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement