Il 18/11/2010 11:03, Duncan Ferguson ha scritto:
opsview_web _server serves all HTTP requests - the majority of which are status
updates which get passed to the database.
Have you any additional checks set up for monitoring port 80 or port 3000 on
the master server? Anything to indicate what is happening in the apache logs
or in /var/log/opsview/opsview-web.log?
Duncs
No other checks to 80/tcp or 3000/tcp expect the defaults monitored by opsview
itself.
Into log, only one connection lost on db:
[2010/11/17 16:54:37] [Catalyst] [WARN] Used regexp fallback for $c->model('OpsviewSchema::Servicegroup'), which found
'Opsview::Web::Model::OpsviewSchema::S
ervicegroups'. Relying on regexp fallback behavior for component resolution is unreliable and unsafe. You probably meant
$c->model('OpsviewSchema::Servicegro
ups') instead of $c->model('OpsviewSchema::Servicegroup'), but if you really wanted to search, pass in a regexp as the argument
like so: $c->model(qr/Opsview
Schema::Servicegroup/) at /data/opsview-web/root/admin/servicegroup_field line 1
[2010/11/17 16:58:59] [Opsview.Web.Controller.Root] [ERROR] Errors encountered: Caught exception in
Opsview::Web::Controller::Admin::Servicecheck->edit "Can'
t call method "can" on an undefined value at
/data/opsview-web/script/../lib/Opsview/Web/ControllerBase/Admin.pm line 312."
[2010/11/17 16:59:25] [Opsview.Web.Controller.Root] [ERROR] Errors encountered: Caught exception in
Opsview::Web::Controller::Admin::Servicecheck->edit "Can'
t call method "can" on an undefined value at
/data/opsview-web/script/../lib/Opsview/Web/ControllerBase/Admin.pm line 312."
[2010/11/17 17:04:29] [Opsview.Web.Controller.Admin.Reload] [INFO] Running
asynchronous reload
[2010/11/17 17:21:00] [Opsview.Web.Controller.Admin.Reload] [INFO] Running
asynchronous reload
[2010/11/17 21:42:15] [Catalyst] [ERROR] Caught exception in engine "Unable to get a handle from DBIx::Class Schema model
'OpsviewSchema': DBIx::Class::Stora
ge::DBI::dbh(): DBI Connection failed: DBI connect('database=opsview;host=<DATABASEHOST>','opsview',...) failed: Lost connection
to MySQL server at 'reading ini
tial communication packet', system error: 104 at
/usr/local/nagios/perl/lib/DBIx/Class/Storage/DBI.pm line 1176"
[2010/11/18 11:26:44] [Opsview.Web.Controller.Admin.Reload] [INFO] Running
asynchronous reload
Nothing else.
Simon
_______________________________________________
Opsview-users mailing list
[email protected]
http://lists.opsview.org/lists/listinfo/opsview-users