Code: Select all
[root@nagiosxi5 ~]# time LANG=C LC_ALL=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg
ERROR: could not find RRDs.pm. Use LibAdd: in mrtg.cfg to help mrtg find RRDs.pm
real 0m30.755s
user 0m30.531s
sys 0m0.200s
[root@nagiosxi5 ~]#Code: Select all
[root@nagiosxi5 ~]# locate RRDs.pm
/opt/rrdtool-1.4.4/lib/perl/5.10.1/x86_64-linux-thread-multi/RRDs.pm
[root@nagiosxi5 ~]#When i back everything in prevoius state in mrtg conf
Code: Select all
HtmlDir: /var/www/mrtg
ImageDir: /var/www/mrtg
LogFormat: rrdtool
LogDir: /var/lib/mrtg
ThreshDir: /var/lib/mrtg
WorkDir: /var/lib/mrtg
Forks: 32
EnableSnmpV3: yes
Include: conf.d/*.cfg
EnableSNMPv3: yes
LibAdd: /opt/rrdtool-1.4.4/lib/perl/5.10.1
Code: Select all
real 7m44.053s
user 3m55.069s
sys 0m17.407s
You have mail in /var/spool/mail/root
[root@nagiosxi5 ~]#