Quick question re: Adding Service Switch or Router
Posted: Tue Apr 12, 2016 1:34 pm
Following along with these:
https://assets.nagios.com/downloads/nag ... Router.pdf
and this file: /etc/mrtg/mrtg.cfg contains essentially nothing. Is that a problem?
[root@nagiosxi /]# cd /etc/mrtg
[root@nagiosxi mrtg]# more mrtg.cfg
######################################################################
# Multi Router Traffic Grapher -- Example Configuration File
######################################################################
# This file is for use with mrtg-2.0
#
# Note:
#
# * Keywords must start at the begin of a line.
#
# * Lines which follow a keyword line which do start
# with a blank are appended to the keyword line
#
# * Empty Lines are ignored
#
# * Lines starting with a # sign are comments.
# Where should the logfiles, and webpages be created?
# Minimal mrtg.cfg
#--------------------
HtmlDir: /var/www/mrtg
ImageDir: /var/www/mrtg
LogFormat: rrdtool
LogDir: /var/lib/mrtg
ThreshDir: /var/lib/mrtg
WorkDir: /var/lib/mrtg
Include: conf.d/*.cfg
Forks: 4
[root@nagiosxi mrtg]#
https://assets.nagios.com/downloads/nag ... Router.pdf
and this file: /etc/mrtg/mrtg.cfg contains essentially nothing. Is that a problem?
[root@nagiosxi /]# cd /etc/mrtg
[root@nagiosxi mrtg]# more mrtg.cfg
######################################################################
# Multi Router Traffic Grapher -- Example Configuration File
######################################################################
# This file is for use with mrtg-2.0
#
# Note:
#
# * Keywords must start at the begin of a line.
#
# * Lines which follow a keyword line which do start
# with a blank are appended to the keyword line
#
# * Empty Lines are ignored
#
# * Lines starting with a # sign are comments.
# Where should the logfiles, and webpages be created?
# Minimal mrtg.cfg
#--------------------
HtmlDir: /var/www/mrtg
ImageDir: /var/www/mrtg
LogFormat: rrdtool
LogDir: /var/lib/mrtg
ThreshDir: /var/lib/mrtg
WorkDir: /var/lib/mrtg
Include: conf.d/*.cfg
Forks: 4
[root@nagiosxi mrtg]#