Mrtg issue

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
gtsoukatou
Posts: 9
Joined: Wed May 03, 2017 5:28 am

Mrtg issue

Post 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]#
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Mrtg issue

Post 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
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked