Page 1 of 1

Mrtg issue

Posted: Tue Aug 01, 2017 6:17 am
by gtsoukatou
Hello,

I have installed mrtg on Nagios Core, but i get the message: MRTG data has expired (x minutes old). What can be done for this?
I also can not fix Nagios::Config... ***FAIL*** in the following.

[root@nagioscore nagiosgraph-1.5.2]# ./install.pl --check-prereq
checking required PERL modules
Carp...1.11
CGI...3.51
Data::Dumper...2.124
Digest::MD5...2.39
File::Basename...2.77
File::Find...1.14
MIME::Base64...3.08
POSIX...1.17
RRDs...1.3008
Time::HiRes...1.9721
checking optional PERL modules
GD...2.44
Nagios::Config... ***FAIL***
checking nagios installation
found nagios exectuable at /usr/local/nagios/bin/nagios
found nagios init script at /etc/init.d/nagios
checking web server installation
found apache executable at /usr/sbin/httpd
found apache init script at /etc/init.d/httpd
[root@nagioscore nagiosgraph-1.5.2]#

Re: Mrtg issue

Posted: Tue Aug 01, 2017 4:30 pm
by tgriep
The MRTG data has expired message could be caused by the crontab entry is missing or not running.
Take a look at this link for installing MRTG on your system and verify that cron is setup and running for MRTG.
http://oss.oetiker.ch/mrtg/doc/mrtg-unix-guide.en.html

The other issue for installing Nagiosgraph, you may want to search their forums for that error.
https://sourceforge.net/p/nagiosgraph/discussion/394748