181 lines
6.8 KiB
INI
181 lines
6.8 KiB
INI
###################################################################
|
|
# MRTG Graphs: Nagios @VERSION@ Statistics
|
|
#
|
|
# You can add the following entries to your MRTG config file to
|
|
# begin graphing several Nagios statistics which can be useful for
|
|
# debugging and trending purposes. The nagiostats binary (which is
|
|
# included as part of the Nagios distribution) is used to generate
|
|
# the data.
|
|
###################################################################
|
|
|
|
# Service Latency and Execution Time
|
|
Target[nagios-a]: `@bindir@/nagiostats --mrtg --data=AVGACTSVCLAT,AVGACTSVCEXT,PROGRUNTIME,NAGIOSVERPID`
|
|
MaxBytes[nagios-a]: 100000
|
|
Title[nagios-a]: Average Service Check Latency and Execution Time
|
|
PageTop[nagios-a]: <H1>Average Service Check Latency and Execution Time</H1>
|
|
Options[nagios-a]: growright,gauge,nopercent
|
|
YLegend[nagios-a]: Milliseconds
|
|
ShortLegend[nagios-a]:
|
|
LegendI[nagios-a]: Latency:
|
|
LegendO[nagios-a]: Execution Time:
|
|
Legend1[nagios-a]: Latency
|
|
Legend2[nagios-a]: Execution Time
|
|
Legend3[nagios-a]: Maximal 5 Minute Latency
|
|
Legend4[nagios-a]: Maximal 5 Minute Execution Time
|
|
|
|
|
|
# Service Percent State Change
|
|
Target[nagios-b]: `@bindir@/nagiostats --mrtg --data=AVGACTSVCPSC,AVGPSVSVCPSC,PROGRUNTIME,NAGIOSVERPID`
|
|
MaxBytes[nagios-b]: 100
|
|
Title[nagios-b]: Average Service State Change
|
|
PageTop[nagios-b]: <H1>Average Service State Change</H1>
|
|
Options[nagios-b]: growright,gauge,nopercent
|
|
YLegend[nagios-b]: Percent
|
|
ShortLegend[nagios-b]:
|
|
LegendI[nagios-b]: Active Check % Change:
|
|
LegendO[nagios-b]: Passive Check % Change:
|
|
Legend1[nagios-b]: State Change
|
|
Legend2[nagios-b]: State Change
|
|
Legend3[nagios-b]: Maximal 5 Minute State Change
|
|
Legend4[nagios-b]: Maximal 5 Minute State Change
|
|
|
|
|
|
# Host Latency and Execution Time
|
|
Target[nagios-c]: `@bindir@/nagiostats --mrtg --data=AVGACTHSTLAT,AVGACTHSTEXT,PROGRUNTIME,NAGIOSVERPID`
|
|
MaxBytes[nagios-c]: 100000
|
|
Title[nagios-c]: Average Host Check Latency and Execution Time
|
|
PageTop[nagios-c]: <H1>Average Host Check Latency and Execution Time</H1>
|
|
Options[nagios-c]: growright,gauge,nopercent
|
|
YLegend[nagios-c]: Milliseconds
|
|
ShortLegend[nagios-c]:
|
|
LegendI[nagios-c]: Latency:
|
|
LegendO[nagios-c]: Execution Time:
|
|
Legend1[nagios-c]: Latency
|
|
Legend2[nagios-c]: Execution Time
|
|
Legend3[nagios-c]: Maximal 5 Minute Latency
|
|
Legend4[nagios-c]: Maximal 5 Minute Execution Time
|
|
|
|
|
|
# Host Percent State Change
|
|
Target[nagios-d]: `@bindir@/nagiostats --mrtg --data=AVGACTHSTPSC,AVGPSVHSTPSC,PROGRUNTIME,NAGIOSVERPID`
|
|
MaxBytes[nagios-d]: 100
|
|
Title[nagios-d]: Average Host State Change
|
|
PageTop[nagios-d]: <H1>Average Host State Change</H1>
|
|
Options[nagios-d]: growright,gauge,nopercent
|
|
YLegend[nagios-d]: Percent
|
|
ShortLegend[nagios-d]:
|
|
LegendI[nagios-d]: Active Check % Change:
|
|
LegendO[nagios-d]: Passive Check % Change:
|
|
Legend1[nagios-d]: State Change
|
|
Legend2[nagios-d]: State Change
|
|
Legend3[nagios-d]: Maximal 5 Minute State Change
|
|
Legend4[nagios-d]: Maximal 5 Minute State Change
|
|
|
|
|
|
# Hosts/Services Actively Checked
|
|
Target[nagios-e]: `@bindir@/nagiostats --mrtg --data=NUMHSTACTCHK5M,NUMSVCACTCHK5M,PROGRUNTIME,NAGIOSVERPID`
|
|
MaxBytes[nagios-e]: 7000
|
|
Title[nagios-e]: Hosts/Services Actively Checked
|
|
PageTop[nagios-e]: <H1>Hosts/Services Actively Checked</H1>
|
|
Options[nagios-e]: growright,gauge,nopercent
|
|
YLegend[nagios-e]: Total
|
|
ShortLegend[nagios-e]:
|
|
LegendI[nagios-e]: Hosts:
|
|
LegendO[nagios-e]: Services:
|
|
|
|
|
|
# Hosts/Services Passively Checked
|
|
Target[nagios-f]: `@bindir@/nagiostats --mrtg --data=NUMHSTPSVCHK5M,NUMSVCPSVCHK5M,PROGRUNTIME,NAGIOSVERPID`
|
|
MaxBytes[nagios-f]: 7000
|
|
Title[nagios-f]: Hosts/Services Passively Checked
|
|
PageTop[nagios-f]: <H1>Hosts/Services Passively Checked</H1>
|
|
Options[nagios-f]: growright,gauge,nopercent
|
|
YLegend[nagios-f]: Total
|
|
ShortLegend[nagios-f]:
|
|
LegendI[nagios-f]: Hosts:
|
|
LegendO[nagios-f]: Services:
|
|
|
|
|
|
# Used/Avail External Command Buffers
|
|
Target[nagios-g]: `@bindir@/nagiostats --mrtg --data=TOTCMDBUF,USEDCMDBUF,PROGRUNTIME,NAGIOSVERPID`
|
|
MaxBytes[nagios-g]: 7000
|
|
Title[nagios-g]: External Command Buffers
|
|
PageTop[nagios-g]: <H1>External Command Buffers</H1>
|
|
Options[nagios-g]: growright,gauge,nopercent
|
|
YLegend[nagios-g]: Buffers
|
|
ShortLegend[nagios-g]:
|
|
LegendI[nagios-g]: Total:
|
|
LegendO[nagios-g]: Used:
|
|
|
|
|
|
# Active Host Checks
|
|
Target[nagios-i]: `@bindir@/nagiostats --mrtg --data=NUMSACTHSTCHECKS5M,NUMOACTHSTCHECKS5M,PROGRUNTIME,NAGIOSVERPID`
|
|
MaxBytes[nagios-i]: 7000
|
|
Title[nagios-i]: Active Host Checks
|
|
PageTop[nagios-i]: <H1>Active Host Checks</H1>
|
|
Options[nagios-i]: growright,gauge,nopercent
|
|
YLegend[nagios-i]: Checks
|
|
ShortLegend[nagios-i]:
|
|
LegendI[nagios-i]: Scheduled Checks:
|
|
LegendO[nagios-i]: On-Demand Checks:
|
|
|
|
|
|
# Active Service Checks
|
|
Target[nagios-j]: `@bindir@/nagiostats --mrtg --data=NUMSACTSVCCHECKS5M,NUMOACTSVCCHECKS5M,PROGRUNTIME,NAGIOSVERPID`
|
|
MaxBytes[nagios-j]: 7000
|
|
Title[nagios-j]: Active Service Checks
|
|
PageTop[nagios-j]: <H1>Active Service Checks</H1>
|
|
Options[nagios-j]: growright,gauge,nopercent
|
|
YLegend[nagios-j]: Checks
|
|
ShortLegend[nagios-j]:
|
|
LegendI[nagios-j]: Scheduled Checks:
|
|
LegendO[nagios-j]: On-Demand Checks:
|
|
|
|
|
|
# Passive Host/Service Checks
|
|
Target[nagios-k]: `@bindir@/nagiostats --mrtg --data=NUMPSVHSTCHECKS5M,NUMPSVSVCCHECKS5M,PROGRUNTIME,NAGIOSVERPID`
|
|
MaxBytes[nagios-k]: 7000
|
|
Title[nagios-k]: Passive Host/Service Checks
|
|
PageTop[nagios-k]: <H1>Passive Host/Service Checks</H1>
|
|
Options[nagios-k]: growright,gauge,nopercent
|
|
YLegend[nagios-k]: Checks
|
|
ShortLegend[nagios-k]:
|
|
LegendI[nagios-k]: Host Checks:
|
|
LegendO[nagios-k]: Service Checks:
|
|
|
|
|
|
# Cached Host/Service Checks
|
|
Target[nagios-l]: `@bindir@/nagiostats --mrtg --data=NUMCACHEDHSTCHECKS5M,NUMCACHEDSVCCHECKS5M,PROGRUNTIME,NAGIOSVERPID`
|
|
MaxBytes[nagios-l]: 7000
|
|
Title[nagios-l]: Cached Host/Service Checks
|
|
PageTop[nagios-l]: <H1>Cached Host/Service Checks</H1>
|
|
Options[nagios-l]: growright,gauge,nopercent
|
|
YLegend[nagios-l]: Checks
|
|
ShortLegend[nagios-l]:
|
|
LegendI[nagios-l]: Host Checks:
|
|
LegendO[nagios-l]: Service Checks:
|
|
|
|
|
|
# External Commands
|
|
Target[nagios-m]: `@bindir@/nagiostats --mrtg --data=NUMEXTCMDS5M,0,PROGRUNTIME,NAGIOSVERPID`
|
|
MaxBytes[nagios-m]: 7000
|
|
Title[nagios-m]: External Commands
|
|
PageTop[nagios-m]: <H1>External Commands</H1>
|
|
Options[nagios-m]: growright,gauge,nopercent
|
|
YLegend[nagios-m]: Commands
|
|
ShortLegend[nagios-m]:
|
|
LegendI[nagios-m]: Commands:
|
|
LegendO[nagios-m]:
|
|
|
|
|
|
# Parallel/Service Host Checks
|
|
Target[nagios-n]: `@bindir@/nagiostats --mrtg --data=NUMPARHSTCHECKS5M,NUMSERHSTCHECKS5M,PROGRUNTIME,NAGIOSVERPID`
|
|
MaxBytes[nagios-n]: 7000
|
|
Title[nagios-n]: Parallel/Serial Host Checks
|
|
PageTop[nagios-n]: <H1>Parallel/Serial Host Checks</H1>
|
|
Options[nagios-n]: growright,gauge,nopercent
|
|
YLegend[nagios-n]: Checks
|
|
ShortLegend[nagios-n]:
|
|
LegendI[nagios-n]: Parallel Checks:
|
|
LegendO[nagios-n]: Serial Checks:
|