Code: Select all
logfile = /var/nagios/nagiosgraph.log
cgilogfile = /var/nagios/nagiosgraph-cgi.log
perflog = /var/nagios/perfdata.log
rrddir = /var/nagios/rrd
mapfile = /etc/nagiosgraph/map
nagiosgraphcgiurl = /nagios/cgi-bin
#nagioscgiurl = /nagios/cgi-bin
javascript = /nagios/nagiosgraph.js
stylesheet = /nagios/nagiosgraph.css
#labelfile = /etc/nagiosgraph/labels.conf
#hostdb = /etc/nagiosgraph/hostdb.conf
#servdb = /etc/nagiosgraph/servdb.conf
groupdb = /etc/nagiosgraph/groupdb.conf
groupcfgfile = /etc/nagios/nagios.cfg
#datasetdb = /etc/nagiosgraph/datasetdb.conf
#authzmethod = nagios3
#authzfile = /etc/nagios/cgi.cfg
#authzmethod = nagiosgraph
#authzfile = /etc/nagiosgraph/access.conf
debug = 1
# log level for insert.pl
#debug_insert = 5
#debug_insert_host = host1
#debug_insert_service = PLW
#debug_show = 5
#debug_show_host = host1
#debug_show_service = ping
#debug_showhost = 5
#debug_showhost_host = host1
#debug_showhost_service = ping
#debug_showservice = 5
#debug_showservice_host = host1
#debug_showservice_service = ping
#debug_showgroup = 5
#debug_showgroup_host = host1
#debug_showgroup_service = ping
#debug_showgraph = 5
#debug_showgraph_host = host1
#debug_showgraph_service = ping
#debug_testcolor = 5
geometries = 650x50,800x100,900x200,900x400,2000x100
default_geometry = 900x200
colorscheme = 9
#colorsaturation = 0.8
#colorvalue = 0.95
#colors = D05050,D08050,D0D050,50D050,50D0D0,5050D0,D050D0,505050
# light/dark pairs: blue, green, purple, orange
colors = 90d080,30a030,90c0e0,304090,ffc0ff,a050a0,ffc060,c07020
# green from light to dark
#colors = 80d080,50a050,308030
#colormax = 888888
#colormin = BBBBBB
plotas = LINE2
# plotasLINE3 = .*.acme.com,PING,.*,data;
plotasLINE1 = load5,data;load15,data
plotasLINE2 =
plotasLINE3 =
plotasAREA = idle,data;system,data;user,data;nice,data
plotasTICK =
stack = system,data;user,data;nice,data
#negate = byte-received;drop-received;error-received;multi-received;packet-received
#lineformat = crit=LINE1,D05050
#lineformat = system=AREA,FFAAAA;nice=AREA,AAAAFF,STACK;idle,AREA,AAFFAA,STACK
#lineformat = nice,data=AREA,AAAAFF,STACK;idle,data=AREA,AAFFAA,STACK
lineformat = warn=LINE1,D0D050;crit=LINE1,D05050
#fixedscale = .*,PING,loss,.*;
# Graphs to show in host-service page (hour, day, week, month, quarter, year)
timeall = hour,day,week
# Graphs to show in host page
timehost = hour,day,week
# Graphs to show in service page
timeservice = hour,day,week
# Graphs to show in group page
timegroup = hour,day,week
expand_timeall = hour,day,week,month,quarter,year
expand_timehost = week
expand_timeservice = week
expand_timegroup = day
# Formats for time and date.
timeformat_now = %H:%M:%S %d %b %Y %Z
timeformat_hour = %H:%M
timeformat_day = %H:%M %e %b
timeformat_week = %e %b
timeformat_month = Week %U
timeformat_quarter = Week %U
timeformat_year = %b %Y
refresh = 300
#hidengtitle = true
showprocessingtime = true
showtitle = true
# Set this to display a description for each graph in html.
showdesc = true
showgraphtitle = true
#hidelegend = true
#graphonly = true
withmaximums = PING,HTTP
withminimums = PING,HTTP
#altautoscale = service1,service2
#altautoscalemin = service1,min1;service2,min2
#altautoscalemax = service1,max1;service2,max2
#nogridfit = service1,service2
#logarithmic = service1,service2
#rrdopts=--border 0 --color BACK#ffffff
#rrdoptsfile=/etc/nagiosgraph/rrdopts.conf
#perfloop = 30
#heartbeat = 600
#heartbeats = HOST,SERVICE,DATABASE=1200;HOST,SERVICE,.*=1800;.*,.*,.*=600
stepsize = 60
#stepsizes = HOST,SERVICE,DATABASE=600;HOST,SERVICE,.*=1200;.*,.*,.*=300
# RRA:(AVERAGE|MIN|MAX|LAST):xff:step1:row1
# RRA:(AVERAGE|MIN|MAX|LAST):xff:step2:row2
# RRA:(AVERAGE|MIN|MAX|LAST):xff:step3:row3
# RRA:(AVERAGE|MIN|MAX|LAST):xff:step4:row4
#
# Using default values, the RRAs are as follows:
# RRA:AVERAGE:0.5:1:600
# RRA:AVERAGE:0.5:6:700
# RRA:AVERAGE:0.5:24:775
# RRA:AVERAGE:0.5:288:797
#resolution = 600 700 775 797
#resolution = 17280 17520 32850 1095
# Specify resolution for specific hosts and services.
#resolutions = HOST,SERVICE,.*=17280 17520 32850 1095;.*,.*,.*=600 700 775 797
#step = 1 6 24 288
# Specify step for specific hosts and services.
#steps = HOST,SERVICE,.*=1 12 48 596;.*,.*,.*=1 6 24 288
#xff = 0.5
# Specify xff for specific hosts and services.
#xffs = HOST,SERVICE,.*=0.9;.*,.*,.*=0.5
# [host,]service,database;[[host,]service2,database][;...]
# The old-style specification is deprecated:
# service1[,service2[,service3[,...]]]
#maximums = .*.acme.com,service1,.*;
#maximums = host1,service1,database;service2,database2;.*.acme.com,service3,.*
maximums = Current Load,.*;Current Users,.*;Total Processes,.*;PLW,.*
minimums =
lasts =
#hostservvar = server1,service1,val1;server2,service2,val2
#hostservvar = host2,PLW,smtp_error
# flat : all in a single directory (the old way):
# rrddir/HOST_SERVICE_DATABASE.rrd
# subdir : organized by host (the new way):
# rrddir/HOST/SERVICE___DATABASE.rrd
dbseparator = subdir
#language = es
#hidejswarnings = 1
I can access it.
As I said, the whole thing IS actually working - just the error messages are a bit annoying.