Host Template kopieren funktioniert nicht

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • Hi Jonny,

      versionen sind aktuell, ja.
      Anbei der Auszug aus dem WebGUI log:


      Source Code

      1. [Nov 10 2016 11:57:50] INFO 11513 0.001687 0 n/a starting request for /templates/hosts/6/clone (/usr/share/perl5/Bloonix/Heaven.pm, line 471)
      2. [Nov 10 2016 11:57:50] INFO 11513 0.000218 0 n/a action path templates/hosts/6/clone (/usr/share/perl5/Bloonix/Heaven.pm, line 483)
      3. [Nov 10 2016 11:57:50] INFO 11513 0.000314 0 n/a --> controller: Bloonix::Controller::Templates (/usr/share/perl5/Bloonix/Heaven.pm, line 490)
      4. [Nov 10 2016 11:57:50] INFO 11513 0.000165 0 n/a --> action: clone (/usr/share/perl5/Bloonix/Heaven.pm, line 491)
      5. [Nov 10 2016 11:57:50] INFO 11513 0.000148 0 n/a --> action path: templates/hosts/6/clone (/usr/share/perl5/Bloonix/Heaven.pm, line 492)
      6. [Nov 10 2016 11:57:50] INFO 11513 0.000160 0 n/a --> auto path: Bloonix::Controller::Root, Bloonix::Controller::Templates (/usr/share/perl5/Bloonix/Heaven.pm, line 493)
      7. [Nov 10 2016 11:57:50] INFO 11513 0.000172 0 n/a execute Bloonix::Controller::Root -> auto() (/usr/share/perl5/Bloonix/Heaven.pm, line 535)
      8. [Nov 10 2016 11:57:50] NOTICE 11513 0.000252 0 n/a start processing templates/hosts/6/clone addr 172.21.3.162 (/srv/bloonix/webgui/lib/Bloonix/Controller/Root.pm, line 16)
      9. [Nov 10 2016 11:57:50] NOTICE 11513 0.005533 1 admin (172.21.3.162) process path templates/hosts/6/clone content length 111 lang en addr 172.21.3.162 (/srv/bloonix/webgui/lib/Blooni x/Controller/Root.pm, line 101)
      10. [Nov 10 2016 11:57:50] INFO 11513 0.000236 1 admin (172.21.3.162) execute Bloonix::Controller::Templates -> auto() (/usr/share/perl5/Bloonix/Heaven.pm, line 535)
      11. [Nov 10 2016 11:57:50] INFO 11513 0.001301 1 admin (172.21.3.162) process action controller Bloonix::Controller::Templates (/usr/share/perl5/Bloonix/Heaven.pm, line 574)
      12. [Nov 10 2016 11:57:50] INFO 11513 0.000213 1 admin (172.21.3.162) execute Bloonix::Controller::Templates -> clone() (/usr/share/perl5/Bloonix/Heaven.pm, line 585)
      13. [Nov 10 2016 11:57:50] NOTICE 11513 0.008239 1 admin (172.21.3.162) BEGIN TRANSACTION (/srv/bloonix/webgui/lib/Bloonix/Plugin/Transaction.pm, line 19)
      14. [Nov 10 2016 11:57:50] ERROR 11513 0.001577 1 admin (172.21.3.162) Died at /srv/bloonix/webgui/lib/Bloonix/Controller/Templates.pm line 400.
      15. (/usr/share/perl5/Bloonix/Heaven.pm, line 44)
      16. CALL(12): package(main) filename(/srv/bloonix/webgui/scripts/bloonix-webgui) line(11) subroutine(Bloonix::Heaven::run) hasargs(1)
      17. CALL(11): package(Bloonix::Heaven) filename(/usr/share/perl5/Bloonix/Heaven.pm) line(78) subroutine((eval)) hasargs(0)
      18. CALL(10): package(Bloonix::Heaven) filename(/usr/share/perl5/Bloonix/Heaven.pm) line(78) subroutine(Bloonix::Heaven::__dispatch_request) hasargs(1)
      19. CALL(9): package(Bloonix::Heaven) filename(/usr/share/perl5/Bloonix/Heaven.pm) line(441) subroutine(Bloonix::Heaven::__process_controller) hasargs(1)
      20. CALL(8): package(Bloonix::Heaven) filename(/usr/share/perl5/Bloonix/Heaven.pm) line(520) subroutine(Bloonix::Heaven::__process_action_controller) hasargs(1)
      21. CALL(7): package(Bloonix::Heaven) filename(/usr/share/perl5/Bloonix/Heaven.pm) line(576) subroutine((eval)) hasargs(0)
      22. CALL(6): package(Bloonix::Heaven) filename(/usr/share/perl5/Bloonix/Heaven.pm) line(586) subroutine(Bloonix::Controller::Templates::clone) hasargs(1)
      23. CALL(5): package(Bloonix::Controller::Templates) filename(/srv/bloonix/webgui/lib/Bloonix/Controller/Templates.pm) line(394) subroutine((eval)) hasargs(0)
      24. CALL(4): package(Bloonix::Controller::Templates) filename(/srv/bloonix/webgui/lib/Bloonix/Controller/Templates.pm) line(400) subroutine(Bloonix::Heaven::__ANON__) hasargs(1) want array()
      25. CALL(3): package(Bloonix::Heaven) filename(/usr/share/perl5/Bloonix/Heaven.pm) line(44) subroutine(Log::Handler::Levels::trace) hasargs(1) wantarray()
      26. CALL(2): package(Log::Handler::Levels) filename(/usr/share/perl5/Log/Handler/Levels.pm) line(271) subroutine(Log::Handler::Levels::__ANON__) hasargs(1) wantarray()
      27. CALL(1): package(Log::Handler::Levels) filename(/usr/share/perl5/Log/Handler/Levels.pm) line(227) subroutine(Log::Handler::Output::log) hasargs(1) wantarray()
      28. CALL(0): package(Log::Handler::Output) filename(/usr/share/perl5/Log/Handler/Output.pm) line(87) subroutine(Log::Handler::Output::_add_trace) hasargs(1)
      29. [Nov 10 2016 11:57:50] NOTICE 11513 0.000854 1 admin (172.21.3.162) ROLLBACK TRANSACTION (/srv/bloonix/webgui/lib/Bloonix/Plugin/Transaction.pm, line 32)
      30. [Nov 10 2016 11:57:50] WARNING 11513 0.000842 1 admin (172.21.3.162) err-420 (/srv/bloonix/webgui/lib/Bloonix/Plugin/Error.pm, line 76)
      31. CALL(12): package(main) filename(/srv/bloonix/webgui/scripts/bloonix-webgui) line(11) subroutine(Bloonix::Heaven::run) hasargs(1)
      32. CALL(11): package(Bloonix::Heaven) filename(/usr/share/perl5/Bloonix/Heaven.pm) line(78) subroutine((eval)) hasargs(0)
      33. CALL(10): package(Bloonix::Heaven) filename(/usr/share/perl5/Bloonix/Heaven.pm) line(78) subroutine(Bloonix::Heaven::__dispatch_request) hasargs(1)
      34. CALL(9): package(Bloonix::Heaven) filename(/usr/share/perl5/Bloonix/Heaven.pm) line(441) subroutine(Bloonix::Heaven::__process_controller) hasargs(1)
      35. CALL(8): package(Bloonix::Heaven) filename(/usr/share/perl5/Bloonix/Heaven.pm) line(520) subroutine(Bloonix::Heaven::__process_action_controller) hasargs(1)
      36. CALL(7): package(Bloonix::Heaven) filename(/usr/share/perl5/Bloonix/Heaven.pm) line(576) subroutine((eval)) hasargs(0)
      37. CALL(6): package(Bloonix::Heaven) filename(/usr/share/perl5/Bloonix/Heaven.pm) line(586) subroutine(Bloonix::Controller::Templates::clone) hasargs(1)
      38. CALL(5): package(Bloonix::Controller::Templates) filename(/srv/bloonix/webgui/lib/Bloonix/Controller/Templates.pm) line(415) subroutine(Bloonix::Plugin::Transaction::rollback) ha sargs(1)
      39. CALL(4): package(Bloonix::Plugin::Transaction) filename(/srv/bloonix/webgui/lib/Bloonix/Plugin/Transaction.pm) line(34) subroutine(Bloonix::Plugin::Error::action_failed) hasargs( 1)
      40. CALL(3): package(Bloonix::Plugin::Error) filename(/srv/bloonix/webgui/lib/Bloonix/Plugin/Error.pm) line(76) subroutine(Log::Handler::Levels::trace) hasargs(1)
      41. CALL(2): package(Log::Handler::Levels) filename(/usr/share/perl5/Log/Handler/Levels.pm) line(271) subroutine(Log::Handler::Levels::__ANON__) hasargs(1)
      42. CALL(1): package(Log::Handler::Levels) filename(/usr/share/perl5/Log/Handler/Levels.pm) line(227) subroutine(Log::Handler::Output::log) hasargs(1) wantarray()
      43. CALL(0): package(Log::Handler::Output) filename(/usr/share/perl5/Log/Handler/Output.pm) line(87) subroutine(Log::Handler::Output::_add_trace) hasargs(1)
      44. [Nov 10 2016 11:57:50] WARNING 11513 0.000810 1 admin (172.21.3.162) $VAR1 = {};
      45. (/srv/bloonix/webgui/lib/Bloonix/Plugin/Error.pm, line 77)
      46. [b][Nov 10 2016 11:57:50] WARNING 11513 0.000232 1 admin (172.21.3.162) The action failed! (/srv/bloonix/webgui/lib/Bloonix/Plugin/Error.pm, line 213)[/b]
      47. [Nov 10 2016 11:57:50] NOTICE 11513 0.000314 1 admin (172.21.3.162) process finished (total 0.020139) (/srv/bloonix/webgui/lib/Bloonix/Controller/Root.pm, line 564)
      48. [Nov 10 2016 11:57:50] INFO 11513 0.000182 1 admin (172.21.3.162) process view (/usr/share/perl5/Bloonix/Heaven.pm, line 622)
      49. [Nov 10 2016 11:57:50] INFO 11513 0.000426 1 admin (172.21.3.162) header>> Content-Type: application/json; charset=utf-8 (/usr/share/perl5/Bloonix/Heaven/Response.pm, line 184)
      50. [Nov 10 2016 11:57:50] INFO 11513 0.000224 1 admin (172.21.3.162) content-length>> 199 (/usr/share/perl5/Bloonix/Heaven/Response.pm, line 195)
      51. [Nov 10 2016 11:57:50] INFO 11513 0.000210 1 admin (172.21.3.162) content written (/usr/share/perl5/Bloonix/Heaven/Response.pm, line 204)
      52. [Nov 10 2016 11:57:50] NOTICE 11513 0.000184 1 admin (172.21.3.162) current process size: 46.5MB (/usr/share/perl5/Bloonix/Heaven.pm, line 642)
      53. [Nov 10 2016 11:57:50] NOTICE 11513 0.000145 1 admin (172.21.3.162) end processing request /templates/hosts/6/clone (/usr/share/perl5/Bloonix/Heaven.pm, line 445)
      Display All

      The post was edited 1 time, last by Hank Moody ().

    • Danke Jonny, hier das zeitlich passende Log:

      Source Code

      1. [Nov 10 11:57:50] INFO 10439 12.587546 %X %Y sql prepare select `maintenance`.* from `maintenance` (/usr/share/perl5/Bloonix/DBI.pm, line 747)
      2. [Nov 10 11:57:50] INFO 10439 0.000149 %X %Y sql execute select `maintenance`.* from `maintenance` (/usr/share/perl5/Bloonix/DBI.pm, line 755)
      3. [Nov 10 11:57:50] INFO 10439 0.001183 %X %Y sql prepare select `session`.`sid`,`session`.`user_id`,`session`.`expire`,`session`.`stash` AS `session_stash`,`user`.*,`company`.`company`,`company`.`sla`,`company`.`max_chart_views_per_user`,`company`.`max_charts_per_user`,`company`.`max_contacts`,`company`.`max_contactgroups`,`company`.`max_dashboards_per_user`,`company`.`max_dashlets_per_dashboard`,`company`.`max_dependencies_per_host`,`company`.`max_downtimes_per_host`,`company`.`max_hosts`,`company`.`max_groups`,`company`.`max_metrics_per_chart`,`company`.`max_services`,`company`.`max_services_per_host`,`company`.`max_templates`,`company`.`max_timeperiods`,`company`.`max_timeslices_per_object`,`company`.`max_users` from `session` inner join `user` on `session`.`user_id` = `user`.`id` inner join `company` on `user`.`company_id` = `company`.`id` where `session`.`sid` = ? and `session`.`expire` >= ? (/usr/share/perl5/Bloonix/DBI.pm, line 747)
      4. [Nov 10 11:57:50] INFO 10439 0.000179 %X %Y sql execute select `session`.`sid`,`session`.`user_id`,`session`.`expire`,`session`.`stash` AS `session_stash`,`user`.*,`company`.`company`,`company`.`sla`,`company`.`max_chart_views_per_user`,`company`.`max_charts_per_user`,`company`.`max_contacts`,`company`.`max_contactgroups`,`company`.`max_dashboards_per_user`,`company`.`max_dashlets_per_dashboard`,`company`.`max_dependencies_per_host`,`company`.`max_downtimes_per_host`,`company`.`max_hosts`,`company`.`max_groups`,`company`.`max_metrics_per_chart`,`company`.`max_services`,`company`.`max_services_per_host`,`company`.`max_templates`,`company`.`max_timeperiods`,`company`.`max_timeslices_per_object`,`company`.`max_users` from `session` inner join `user` on `session`.`user_id` = `user`.`id` inner join `company` on `user`.`company_id` = `company`.`id` where `session`.`sid` = ? and `session`.`expire` >= ? 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx','1478775470' (/usr/share/perl5/Bloonix/DBI.pm, line 755)
      5. [Nov 10 11:57:50] INFO 10439 0.001293 %X %Y sql prepare select `company`.* from `company` where ( `id` = ? ) (/usr/share/perl5/Bloonix/DBI.pm, line 747)
      6. [Nov 10 11:57:50] INFO 10439 0.000149 %X %Y sql execute select `company`.* from `company` where ( `id` = ? ) '1' (/usr/share/perl5/Bloonix/DBI.pm, line 755)
      7. [Nov 10 11:57:50] INFO 10439 0.002372 %X %Y sql execute insert into `token` (`action`,`sid`,`expire`,`tid`) values (?,?,?,?): 'n/a','xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx','1478775500','yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy' (/usr/share/perl5/Bloonix/DBI.pm, line 594)
      8. [Nov 10 11:57:50] INFO 11513 12.542488 %X %Y sql prepare select `maintenance`.* from `maintenance` (/usr/share/perl5/Bloonix/DBI.pm, line 747)
      9. [Nov 10 11:57:50] INFO 11513 0.000137 %X %Y sql execute select `maintenance`.* from `maintenance` (/usr/share/perl5/Bloonix/DBI.pm, line 755)
      10. [Nov 10 11:57:50] INFO 11513 0.001019 %X %Y sql prepare select `session`.`sid`,`session`.`user_id`,`session`.`expire`,`session`.`stash` AS `session_stash`,`user`.*,`company`.`company`,`company`.`sla`,`company`.`max_chart_views_per_user`,`company`.`max_charts_per_user`,`company`.`max_contacts`,`company`.`max_contactgroups`,`company`.`max_dashboards_per_user`,`company`.`max_dashlets_per_dashboard`,`company`.`max_dependencies_per_host`,`company`.`max_downtimes_per_host`,`company`.`max_hosts`,`company`.`max_groups`,`company`.`max_metrics_per_chart`,`company`.`max_services`,`company`.`max_services_per_host`,`company`.`max_templates`,`company`.`max_timeperiods`,`company`.`max_timeslices_per_object`,`company`.`max_users` from `session` inner join `user` on `session`.`user_id` = `user`.`id` inner join `company` on `user`.`company_id` = `company`.`id` where `session`.`sid` = ? and `session`.`expire` >= ? (/usr/share/perl5/Bloonix/DBI.pm, line 747)
      11. [Nov 10 11:57:50] INFO 11513 0.000147 %X %Y sql execute select `session`.`sid`,`session`.`user_id`,`session`.`expire`,`session`.`stash` AS `session_stash`,`user`.*,`company`.`company`,`company`.`sla`,`company`.`max_chart_views_per_user`,`company`.`max_charts_per_user`,`company`.`max_contacts`,`company`.`max_contactgroups`,`company`.`max_dashboards_per_user`,`company`.`max_dashlets_per_dashboard`,`company`.`max_dependencies_per_host`,`company`.`max_downtimes_per_host`,`company`.`max_hosts`,`company`.`max_groups`,`company`.`max_metrics_per_chart`,`company`.`max_services`,`company`.`max_services_per_host`,`company`.`max_templates`,`company`.`max_timeperiods`,`company`.`max_timeslices_per_object`,`company`.`max_users` from `session` inner join `user` on `session`.`user_id` = `user`.`id` inner join `company` on `user`.`company_id` = `company`.`id` where `session`.`sid` = ? and `session`.`expire` >= ? 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx','1478775470' (/usr/share/perl5/Bloonix/DBI.pm, line 755)
      12. [Nov 10 11:57:50] INFO 11513 0.001163 %X %Y sql prepare select `company`.* from `company` where ( `id` = ? ) (/usr/share/perl5/Bloonix/DBI.pm, line 747)
      13. [Nov 10 11:57:50] INFO 11513 0.000152 %X %Y sql execute select `company`.* from `company` where ( `id` = ? ) '1' (/usr/share/perl5/Bloonix/DBI.pm, line 755)
      14. [Nov 10 11:57:50] INFO 11513 0.002934 %X %Y sql prepare select `host_template`.* from `host_template` where ( `id` = ? and `company_id` = ? ) (/usr/share/perl5/Bloonix/DBI.pm, line 747)
      15. [Nov 10 11:57:50] INFO 11513 0.000212 %X %Y sql execute select `host_template`.* from `host_template` where ( `id` = ? and `company_id` = ? ) '6','1' (/usr/share/perl5/Bloonix/DBI.pm, line 755)
      16. [Nov 10 11:57:50] INFO 11513 0.001558 %X %Y sql prepare select `token`.* from `token` where ( `tid` = ? and `sid` = ? and `action` = ? ) (/usr/share/perl5/Bloonix/DBI.pm, line 747)
      17. [Nov 10 11:57:50] INFO 11513 0.000190 %X %Y sql execute select `token`.* from `token` where ( `tid` = ? and `sid` = ? and `action` = ? ) 'yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy','xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx','n/a' (/usr/share/perl5/Bloonix/DBI.pm, line 755)
      18. [Nov 10 11:57:50] INFO 11513 0.000793 %X %Y sql execute delete from `token` where `expire` <= ?: '1478775470' (/usr/share/perl5/Bloonix/DBI.pm, line 594)
      19. [Nov 10 11:57:50] INFO 11513 0.000694 %X %Y sql execute delete from `token` where ( `tid` = ? and `sid` = ? and `action` = ? ): 'yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy','xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx','n/a' (/usr/share/perl5/Bloonix/DBI.pm, line 594)
      20. [Nov 10 11:57:50] INFO 11513 0.006639 %X %Y sql execute insert into `host_template` (`name`,`description`,`variables`,`company_id`) values (?,?,?,?): 'test','test','{}','1' (/usr/share/perl5/Bloonix/DBI.pm, line 594)
      21. [Nov 10 11:57:50] WARNING 11513 0.000559 %X %Y Field 'tags' doesn't have a default value (/usr/share/perl5/Bloonix/DBI.pm, line 608)
      Display All

      The post was edited 1 time, last by Hank Moody ().