Hi
I post my problem here. I post this problem in mailing list of Sven and
we have released test but the problem is always here.
If you have a Debian Lenny, you have the same problem or not ?
Test released in :
Environment : Virtualbox
OS Debian Lenny
Shinken 0.4
Thruk 0.72 -> 0.76 (with .deb or source)
Install in /opt/shinken/Thruk
I have a problem beetween Shinken Broker Backend and Thruk. Thruk
don't see Shinken Backend in the thruk_local.conf
<Component Thruk::Backend>
# <peer>
# name = Local Nagios
# type = livestatus
# hidden = 1 # make this backend hidden by default
# groups = admins # make this backend only visible to
the admin group
# <options>
# peer = /tmp/livestatus.socket
# verbose = 0
# resource_file = path_to_your/resource.cfg
# </options>
# </peer>
# <peer>
# name = External Nagios
# type = livestatus
# <options>
# peer = 172.16.0.1:9999
# </options>
# </peer>
<peer>
name = Shinken
type = livestatus
<options>
peer = 127.0.0.1:50000
</options>
</peer>
</Component>
I try to send a LQL request with telnet 50000 and Shinken Broker
feeling good
When a start ./script/thruk_server.pl and I access at data in Thruk, I
have in the GUI this error :
"No Backend available
None of the configured Backends could be reached, please have a look
at the logfile for more information."
Thruk errors appears in log
deb-shinken:~# /opt/shinken/Thruk/script/thruk_server.pl
You can connect to your server at http://deb-shinken:3000
<http://www.google.com/url?sa=D&q=http://deb-shinken:3000&usg=AFQjCNE427QigptAIEM2I8AkiIehbENeuA>
[error] data source error: version_compare() needs two params at /opt/
shinken/Thruk/script/../lib/Thruk/Utils.pm line 942
Thruk::Utils::version_compare(1.1.3, undef) called at
/opt/shinken/
Thruk/script/../lib/Thruk/Backend/Provider/Livestatus.pm line 119
Thruk::Backend::Provider::Livestatus::get_processinfo('Thruk::Backend::Provider::Livestatus=HASH(0xa96e398)',
'Thruk=HASH(0xac03df8)',
'Catalyst::Plugin::Cache::Curried=HASH(0xa4e0d58)') called at /opt/
shinken/Thruk/script/../lib/Thruk/Backend/Manager.pm line 405
eval {...} called at
/opt/shinken/Thruk/script/../lib/Thruk/Backend/
Manager.pm line 404
Thruk::Backend::Manager::_do_on_peers('Thruk::Backend::Manager=HASH(0xa90e988)',
'get_processinfo', 'ARRAY(0x9724de0)') called at /opt/shinken/Thruk/
script/../lib/Thruk/Backend/Manager.pm line 703
Thruk::Backend::Manager::AUTOLOAD(undef, 'Thruk=HASH(0xac03df8)',
'Catalyst::Plugin::Cache::Curried=HASH(0xa4e0d58)') called at /opt/
shinken/Thruk/script/../lib/Thruk/Action/AddDefaults.pm line 112
eval {...} called at
/opt/shinken/Thruk/script/../lib/Thruk/Action/
AddDefaults.pm line 111
Class::MOP::Class:::before('Thruk::Action::AddDefaults=HASH(0xab9b348)',
'Thruk::Controller::status=HASH(0xaab1dd8)', 'Thruk=HASH(0xac03df8)')
called at /usr/local/lib/perl/5.10.1/Class/MOP/Method/Wrapped.pm line
31
Class::MOP::Method::Wrapped::__ANON__('Thruk::Action::AddDefaults=HASH(0xab9b348)',
'Thruk::Controller::status=HASH(0xaab1dd8)', 'Thruk=HASH(0xac03df8)')
called at /usr/local/lib/perl/5.10.1/Class/MOP/Method/Wrapped.pm line
89
Thruk::Action::AddDefaults::execute('Thruk::Action::AddDefaults=HASH(0xab9b348)',
'Thruk::Controller::status=HASH(0xaab1dd8)', 'Thruk=HASH(0xac03df8)')
called at /usr/local/share/perl/5.10.1/Catalyst.pm line 1655
eval {...} called at /usr/local/share/perl/5.10.1/Catalyst.pm line
1655
Catalyst::execute('Thruk=HASH(0xac03df8)',
'Thruk::Controller::status',
'Thruk::Action::AddDefaults=HASH(0xab9b348)') called at /usr/local/
share/perl/5.10.1/Catalyst/Plugin/StackTrace.pm line 22
Catalyst::Plugin::StackTrace::execute('Thruk=HASH(0xac03df8)',
'Thruk::Controller::status',
'Thruk::Action::AddDefaults=HASH(0xab9b348)') called at /usr/local/
share/perl/5.10.1/Catalyst/Action.pm line 60
Catalyst::Action::dispatch('Thruk::Action::AddDefaults=HASH(0xab9b348)',
'Thruk=HASH(0xac03df8)') called at /usr/local/share/perl/5.10.1/
Catalyst/Dispatcher.pm line 257
Catalyst::Dispatcher::_do_forward('Catalyst::Dispatcher=HASH(0xa029e20)',
'detach', 'Thruk=HASH(0xac03df8)', '/status/index') called at /usr/
local/share/perl/5.10.1/Catalyst/Dispatcher.pm line 270
Catalyst::Dispatcher::detach('Catalyst::Dispatcher=HASH(0xa029e20)',
'Thruk=HASH(0xac03df8)', '/status/index') called at /usr/local/share/
perl/5.10.1/Catalyst.pm line 390
Catalyst::detach('Thruk=HASH(0xac03df8)', '/status/index')
called at /
opt/shinken/Thruk/script/../lib/Thruk/Controller/Root.pm line 466
Thruk::Controller::Root::status_cgi('Thruk::Controller::Root=HASH(0xaa18a28)',
'Thruk=HASH(0xac03df8)') called at /usr/local/share/perl/5.10.1/
Catalyst/Action.pm line 65
Catalyst::Action::execute('Catalyst::Action=HASH(0xab81350)',
'Thruk::Controller::Root=HASH(0xaa18a28)', 'Thruk=HASH(0xac03df8)')
called at /usr/local/share/perl/5.10.1/Catalyst.pm line 1655
eval {...} called at /usr/local/share/perl/5.10.1/Catalyst.pm line
1655
Catalyst::execute('Thruk=HASH(0xac03df8)',
'Thruk::Controller::Root',
'Catalyst::Action=HASH(0xab81350)') called at /usr/local/share/perl/
5.10.1/Catalyst/Plugin/StackTrace.pm line 22
Catalyst::Plugin::StackTrace::execute('Thruk=HASH(0xac03df8)',
'Thruk::Controller::Root', 'Catalyst::Action=HASH(0xab81350)') called
at /usr/local/share/perl/5.10.1/Catalyst/Action.pm line 60
Catalyst::Action::dispatch('Catalyst::Action=HASH(0xab81350)',
'Thruk=HASH(0xac03df8)') called at /usr/local/share/perl/5.10.1/
Catalyst/Controller.pm line 110
Catalyst::Controller::_ACTION('Thruk::Controller::Root=HASH(0xaa18a28)',
'Thruk=HASH(0xac03df8)') called at /usr/local/share/perl/5.10.1/
Catalyst/Action.pm line 65
Catalyst::Action::execute('Catalyst::Action=HASH(0xab7fa48)',
'Thruk::Controller::Root=HASH(0xaa18a28)', 'Thruk=HASH(0xac03df8)')
called at /usr/local/share/perl/5.10.1/Catalyst.pm line 1655
eval {...} called at /usr/local/share/perl/5.10.1/Catalyst.pm line
1655
Catalyst::execute('Thruk=HASH(0xac03df8)',
'Thruk::Controller::Root',
'Catalyst::Action=HASH(0xab7fa48)') called at /usr/local/share/perl/
5.10.1/Catalyst/Plugin/StackTrace.pm line 22
Catalyst::Plugin::StackTrace::execute('Thruk=HASH(0xac03df8)',
'Thruk::Controller::Root', 'Catalyst::Action=HASH(0xab7fa48)') called
at /usr/local/share/perl/5.10.1/Catalyst/Action.pm line 60
Catalyst::Action::dispatch('Catalyst::Action=HASH(0xab7fa48)',
'Thruk=HASH(0xac03df8)') called at /usr/local/share/perl/5.10.1/
Catalyst/Dispatcher.pm line 257
Catalyst::Dispatcher::_do_forward('Catalyst::Dispatcher=HASH(0xa029e20)',
'forward', 'Thruk=HASH(0xac03df8)', '_ACTION') called at /usr/local/
share/perl/5.10.1/Catalyst/Dispatcher.pm line 237
Catalyst::Dispatcher::forward('Catalyst::Dispatcher=HASH(0xa029e20)',
'Thruk=HASH(0xac03df8)', '_ACTION') called at /usr/local/share/perl/
5.10.1/Catalyst.pm line 375
Catalyst::forward('Thruk=HASH(0xac03df8)', '_ACTION') called at
/usr/
local/share/perl/5.10.1/Catalyst/Controller.pm line 84
Catalyst::Controller::_DISPATCH('Thruk::Controller::Root=HASH(0xaa18a28)',
'Thruk=HASH(0xac03df8)') called at /usr/local/share/perl/5.10.1/
Catalyst/Action.pm line 65
Catalyst::Action::execute('Catalyst::Action=HASH(0xab7f858)',
'Thruk::Controller::Root=HASH(0xaa18a28)', 'Thruk=HASH(0xac03df8)')
called at /usr/local/share/perl/5.10.1/Catalyst.pm line 1655
eval {...} called at /usr/local/share/perl/5.10.1/Catalyst.pm line
1655
Catalyst::execute('Thruk=HASH(0xac03df8)',
'Thruk::Controller::Root',
'Catalyst::Action=HASH(0xab7f858)') called at /usr/local/share/perl/
5.10.1/Catalyst/Plugin/StackTrace.pm line 22
Catalyst::Plugin::StackTrace::execute('Thruk=HASH(0xac03df8)',
'Thruk::Controller::Root', 'Catalyst::Action=HASH(0xab7f858)') called
at /usr/local/share/perl/5.10.1/Catalyst/Action.pm line 60
Catalyst::Action::dispatch('Catalyst::Action=HASH(0xab7f858)',
'Thruk=HASH(0xac03df8)') called at /usr/local/share/perl/5.10.1/
Catalyst/Dispatcher.pm line 257
Catalyst::Dispatcher::_do_forward('Catalyst::Dispatcher=HASH(0xa029e20)',
'forward', 'Thruk=HASH(0xac03df8)', '//_DISPATCH') called at /usr/
local/share/perl/5.10.1/Catalyst/Dispatcher.pm line 237
Catalyst::Dispatcher::forward('Catalyst::Dispatcher=HASH(0xa029e20)',
'Thruk=HASH(0xac03df8)', '//_DISPATCH') called at /usr/local/share/
perl/5.10.1/Catalyst.pm line 375
Catalyst::forward('Thruk=HASH(0xac03df8)', '//_DISPATCH')
called at /
usr/local/share/perl/5.10.1/Catalyst/Dispatcher.pm line 105
Catalyst::Dispatcher::dispatch('Catalyst::Dispatcher=HASH(0xa029e20)',
'Thruk=HASH(0xac03df8)') called at /usr/local/share/perl/5.10.1/
Catalyst.pm line 1603
Catalyst::dispatch('Thruk=HASH(0xac03df8)') called at /usr/local/
share/perl/5.10.1/Catalyst/Plugin/Static/Simple.pm line 76
Class::MOP::Class:::around('CODE(0xa05a128)',
'Thruk=HASH(0xac03df8)') called at /usr/local/lib/perl/5.10.1/Class/
MOP/Method/Wrapped.pm line 159
Class::MOP::Method::Wrapped::__ANON__('Thruk=HASH(0xac03df8)')
called
at /usr/local/lib/perl/5.10.1/Class/MOP/Method/Wrapped.pm line 89
Thruk::dispatch('Thruk=HASH(0xac03df8)') called at
/usr/local/share/
perl/5.10.1/Catalyst.pm line 1942
eval {...} called at /usr/local/share/perl/5.10.1/Catalyst.pm line
1933
Catalyst::handle_request('Thruk', 'env', 'HASH(0xa9ace58)') called
at /usr/local/share/perl/5.10.1/Catalyst/Engine/HTTP.pm line 395
Catalyst::Engine::HTTP::_handler('Catalyst::Engine::HTTP=HASH(0xa010c80)',
'Thruk', 3000, 'GET', '/thruk/cgi-bin/status.cgi?
hostgroup=all&style=overview', 'HTTP/1.1') called at /usr/local/share/
perl/5.10.1/Catalyst/Engine/HTTP.pm line 292
Catalyst::Engine::HTTP::run('Catalyst::Engine::HTTP=HASH(0xa010c80)',
'Thruk', 3000, undef, 'HASH(0x952e3e8)') called at /usr/local/share/
perl/5.10.1/Catalyst.pm line 2386
Catalyst::run('Thruk', 3000, undef, 'HASH(0x952e3e8)') called
at /usr/
local/share/perl/5.10.1/Catalyst/ScriptRole.pm ...
--
Librement,
Fronteau Romuald
Communauté Francophone de la Supervision Libre
rfront...@monitoring-fr.org
http://www.monitoring-fr.org
------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and,
should the need arise, upgrade to a full multi-node Oracle RAC database
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Shinken-devel mailing list
Shinken-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/shinken-devel