Ticket #1456 (closed defect: worksforme)
MONITOR BUG UPDATE 1.2.2
| Reported by: | cmideros | Owned by: | juruen@… |
|---|---|---|---|
| Milestone: | 1.2.10-maint | Component: | base |
| Severity: | normal | Keywords: | |
| Cc: |
Description
A really nasty bug has occurred Exception rrdtool fetch /var/lib/collectd/rrd/ftserver/cpu-0/cpu-user.rrd AVERAGE -s end-1h -e 1252452940 failed. Error output: ERROR: '/var/lib/collectd/rrd/ftserver/cpu-0/cpu-user.rrd' is not an RRD file Command output: . Exit value: 1 Trace rrdtool fetch /var/lib/collectd/rrd/ftserver/cpu-0/cpu-user.rrd AVERAGE -s end-1h -e 1252452940 failed. Error output: ERROR: '/var/lib/collectd/rrd/ftserver/cpu-0/cpu-user.rrd' is not an RRD file
Command output: . Exit value: 1 at /usr/share/perl5/EBox/Sudo.pm line 110 EBox::Sudo::_commandError('rrdtool fetch /var/lib/collectd/rrd/ftserver/cpu-0/cpu-user.r...', 256, 'ARRAY(0xae92008)', 'ARRAY(0xaec7710)') called at /usr/share/perl5/EBox/Sudo.pm line 90 EBox::Sudo::command('rrdtool fetch /var/lib/collectd/rrd/ftserver/cpu-0/cpu-user.r...') called at /usr/share/perl5/EBox/Monitor/Measure/Base.pm line 210 EBox::Monitor::Measure::Base::fetchData('EBox::Monitor::Measure::CPU=HASH(0x9f7bd74)', 'instance', 0, 'resolution', 10, 'start', 'end-1h') called at /usr/share/perl5/EBox/Monitor.pm line 262 EBox::Monitor::allMeasuredData('EBox::Monitor=HASH(0x9f4175c)') called at /usr/share/perl5/EBox/CGI/Monitor/Index.pm line 74 EBox::CGI::Monitor::Index::masonParameters('EBox::CGI::Monitor::Index=HASH(0xaf49ff8)') called at /usr/share/perl5/EBox/CGI/Base.pm line 516 EBox::CGI::Base::_process('EBox::CGI::Monitor::Index=HASH(0xaf49ff8)') called at /usr/share/perl5/EBox/CGI/Base.pm line 261 EBox::CGI::Base::run('EBox::CGI::Monitor::Index=HASH(0xaf49ff8)') called at /usr/share/perl5/EBox/CGI/Run.pm line 120 EBox::CGI::Run::run('EBox::CGI::Run', 'Monitor/Index?', 'EBox') called at /usr/share/ebox/cgi/ebox.cgi line 19 ModPerl::ROOT::ModPerl::Registry::usr_share_ebox_cgi_ebox_2ecgi::handler('Apache2::RequestRec?=SCALAR(0xaf4d518)') called at /usr/lib/perl5/ModPerl/RegistryCooker.pm line 204 eval {...} called at /usr/lib/perl5/ModPerl/RegistryCooker.pm line 204 ModPerl::RegistryCooker::run('ModPerl::Registry=HASH(0xaef7340)') called at /usr/lib/perl5/ModPerl/RegistryCooker.pm line 170 ModPerl::RegistryCooker::default_handler('ModPerl::Registry=HASH(0xaef7340)') called at /usr/lib/perl5/ModPerl/Registry.pm line 31 ModPerl::Registry::handler('ModPerl::Registry', 'Apache2::RequestRec?=SCALAR(0xaf4d518)') called at -e line 0 eval {...} called at -e line 0
are you using a custom kernel ? the problem appears to be that the ebox code does not handle nicely when it cannot get the cpu temp data. this happens if you build a custom kernel, because in the latest kernels, this info is on another path.