Ticket #3774 (closed defect: fixed)
Error fetching data from /var/lib/collectd/rrd/retiarius/df/df-proc-fs-nfsd.rrd (NFS drive)
| Reported by: | fausto@… | Owned by: | jamor@… |
|---|---|---|---|
| Milestone: | nice to have someday | Component: | monitor |
| Severity: | normal | Keywords: | |
| Cc: |
Description (last modified by jamor@…) (diff)
Error
Error fetching data from /var/lib/collectd/rrd/retiarius/df/df-proc-fs-nfsd.rrd: opening '/var/lib/collectd/rrd/retiarius/df/df-proc-fs-nfsd.rrd': Arquivo ou diretório não encontrado
Trace
Error fetching data from /var/lib/collectd/rrd/retiarius/df/df-proc-fs-nfsd.rrd: opening '/var/lib/collectd/rrd/retiarius/df/df-proc-fs-nfsd.rrd': Arquivo ou diretório não encontrado at /usr/share/perl5/EBox/Monitor/Measure/Base.pm line 220
EBox::Monitor::Measure::Base::fetchData('EBox::Monitor::Measure::Df=HASH(0x7fa001f337e0)', 'resolution', 10, 'start', 'end-1h') called at /usr/share/perl5/EBox/Monitor.pm line 315
EBox::Monitor::allMeasuredData('EBox::Monitor=HASH(0x7fa001e138a0)') called at /usr/share/perl5/EBox/CGI/Monitor/Index.pm line 82
EBox::CGI::Monitor::Index::masonParameters('EBox::CGI::Monitor::Index=HASH(0x7fa003d75328)') called at /usr/share/perl5/EBox/CGI/Base.pm line 522
EBox::CGI::Base::_process('EBox::CGI::Monitor::Index=HASH(0x7fa003d75328)') called at /usr/share/perl5/EBox/CGI/Base.pm line 275
EBox::CGI::Base::run('EBox::CGI::Monitor::Index=HASH(0x7fa003d75328)') called at /usr/share/perl5/EBox/CGI/Run.pm line 129
EBox::CGI::Run::run('EBox::CGI::Run', 'Maintenance/Monitor', 'EBox') called at /usr/share/zentyal/cgi/ebox.cgi line 34
ModPerl::ROOT::ModPerl::Registry::usr_share_zentyal_cgi_ebox_2ecgi::handler('Apache2::RequestRec=SCALAR(0x7fa003eea128)') 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(0x7fa003d86c50)') called at /usr/lib/perl5/ModPerl/RegistryCooker.pm line 170
ModPerl::RegistryCooker::default_handler('ModPerl::Registry=HASH(0x7fa003d86c50)') called at /usr/lib/perl5/ModPerl/Registry.pm line 31
ModPerl::Registry::handler('ModPerl::Registry', 'Apache2::RequestRec=SCALAR(0x7fa003eea128)') called at -e line 0
eval {...} called at -e line 0
Attachments
Change History
Changed 16 months ago by anonymous
-
attachment
zentyal.log
added
comment:1 Changed 16 months ago by jamor@…
- Component changed from base to monitor
- Description modified (diff)
- Summary changed from Bug report from Zentyal Server to Error fetching data from /var/lib/collectd/rrd/retiarius/df/df-proc-fs-nfsd.rrd
comment:2 Changed 16 months ago by jamor@…
- Status changed from new to accepted
- Summary changed from Error fetching data from /var/lib/collectd/rrd/retiarius/df/df-proc-fs-nfsd.rrd to Error fetching data from /var/lib/collectd/rrd/retiarius/df/df-proc-fs-nfsd.rrd (NFS drive)
Hello Fausto,
to diagnose this I need to see the files /etc/fstab and /etc/collectd/collectd.conf from your system. Could you attach it to the ticket?.
Regards,
Javier
comment:3 Changed 16 months ago by jamor@…
I also have created a NFS mount in my test system and it works correctly.
My zentyal-monitor version is 2.2.1, if you have a lesser version please upgrade.
If it continues to fail with a new version, remember to attach the files /etc/fstab and /etc/collectd/collectd.conf
comment:4 Changed 16 months ago by jamor@…
- Status changed from accepted to closed
- Resolution set to fixed
Hello, after some testing I have removed NFS mounts from free disk space monitorization. Through I cannot reproduce your error if it was some NFS communication error none of the filesystems were correctly monitorized. So it is better to drop it from monitorization, the NFS server should monitor it itself.
This change is done in [c6a407038b692]
As side-effect this should fix your error too. If you want to hotfix:
1) Download the new version of Df.pm from http://git.zentyal.org/zentyal.git/blob/c6a407038b692e4abfef5517a069d1d36d7a16ee:/main/monitor/src/EBox/Monitor/Measure/Df.pm
2) Use it to replace /usr/share/perl5/EBox/Monitor/Measure/Df.pm
3) Execute the following commands:
sudo /etc/init.d/zentyal monitor restart sudo /etc/init.d/zentyal apache restart
Regards,
Javier
zentyal.log