Page 2 of 2

Re: mrtg for Nagios XI - .rrd files are not being created

Posted: Thu Feb 20, 2020 11:35 am
by aastaguy
I updated to the latest, deleted the host, and re-monitored the host and port bandwidth and I still get the exact same messages...

Re: mrtg for Nagios XI - .rrd files are not being created

Posted: Thu Feb 20, 2020 12:47 pm
by scottwilkerson
Please show the output of the following

Code: Select all

chage -l nagios
grep nag /etc/group
LANG=C /usr/bin/mrtg
scottwilkerson wrote:Also, what version of Nagios XI are you running?

Re: mrtg for Nagios XI - .rrd files are not being created

Posted: Thu Feb 20, 2020 12:54 pm
by aastaguy
chage -l nagios
Last password change : Jun 06, 2012
Password expires : never
Password inactive : never
Account expires : never
Minimum number of days between password change : 0
Maximum number of days between password change : 99999
Number of days of warning before password expires : 7

grep nag /etc/group
nagios:x:500:nagios,apache,devel,snmptt
nagcmd:x:501:nagios,apache,devel,snmptt

LANG=C /usr/bin/mrtg
Usage: mrtg <config-file>

mrtg-2.16.2 - Multi Router Traffic Grapher

Copyright 1995-2006 by Tobias Oetiker
Licensed under the Gnu GPL.

If you want to know more about this tool, you might want
to read the docs. You can find everything on the
mrtg website:

http://oss.oetiker.ch/mrtg/

/usr/local/nagios/bin/nagios –help

Nagios Core 4.4.5
Copyright (c) 2009-present Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 2019-08-20
License: GPL

Thanks!

Re: mrtg for Nagios XI - .rrd files are not being created

Posted: Thu Feb 20, 2020 1:00 pm
by scottwilkerson
aastaguy wrote: /usr/local/nagios/bin/nagios –help

Nagios Core 4.4.5
Copyright (c) 2009-present Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 2019-08-20
License: GPL
this isn't a Nagios XI release version this is Nagios Core's version

Additionally, I believe because you are not on the latest version of XI, you may be experiencing a bug in previous versions of MRTG as the current version XI used is mrtg-2.17.4

Here are upgrade instructions
https://assets.nagios.com/downloads/nag ... ctions.pdf