###################################################################
# MRTG Graphs: Icinga Statistics
#
# You can add the following entries to your MRTG config file to
# begin graphing several Icinga statistics which can be useful for
# debugging and trending purposes.  The icingastats binary (which is
# included as part of the Icinga distribution) is used to generate
# the data.
###################################################################

# Service Latency and Execution Time
Target[icinga-a]: `@bindir@/icingastats --mrtg --data=AVGACTSVCLAT,AVGACTSVCEXT,PROGRUNTIME,ICINGAVERPID`
MaxBytes[icinga-a]: 100000
Title[icinga-a]: Average Service Check Latency and Execution Time
PageTop[icinga-a]: <H1>Average Service Check Latency and Execution Time</H1>
Options[icinga-a]: growright,gauge,nopercent
YLegend[icinga-a]: Milliseconds
ShortLegend[icinga-a]: &nbsp;
LegendI[icinga-a]: &nbsp;Latency:
LegendO[icinga-a]: &nbsp;Execution Time:
Legend1[icinga-a]: Latency
Legend2[icinga-a]: Execution Time
Legend3[icinga-a]: Maximal 5 Minute Latency
Legend4[icinga-a]: Maximal 5 Minute Execution Time


# Service Percent State Change
Target[icinga-b]: `@bindir@/icingastats --mrtg --data=AVGACTSVCPSC,AVGPSVSVCPSC,PROGRUNTIME,ICINGAVERPID`
MaxBytes[icinga-b]: 100
Title[icinga-b]: Average Service State Change
PageTop[icinga-b]: <H1>Average Service State Change</H1>
Options[icinga-b]: growright,gauge,nopercent
YLegend[icinga-b]: Percent
ShortLegend[icinga-b]: &nbsp;
LegendI[icinga-b]: &nbsp;Active Check % Change:
LegendO[icinga-b]: &nbsp;Passive Check % Change:
Legend1[icinga-b]: State Change
Legend2[icinga-b]: State Change
Legend3[icinga-b]: Maximal 5 Minute State Change
Legend4[icinga-b]: Maximal 5 Minute State Change


# Host Latency and Execution Time
Target[icinga-c]: `@bindir@/icingastats --mrtg --data=AVGACTHSTLAT,AVGACTHSTEXT,PROGRUNTIME,ICINGAVERPID`
MaxBytes[icinga-c]: 100000
Title[icinga-c]: Average Host Check Latency and Execution Time
PageTop[icinga-c]: <H1>Average Host Check Latency and Execution Time</H1>
Options[icinga-c]: growright,gauge,nopercent
YLegend[icinga-c]: Milliseconds
ShortLegend[icinga-c]: &nbsp;
LegendI[icinga-c]: &nbsp;Latency:
LegendO[icinga-c]: &nbsp;Execution Time:
Legend1[icinga-c]: Latency
Legend2[icinga-c]: Execution Time
Legend3[icinga-c]: Maximal 5 Minute Latency
Legend4[icinga-c]: Maximal 5 Minute Execution Time


# Host Percent State Change
Target[icinga-d]: `@bindir@/icingastats --mrtg --data=AVGACTHSTPSC,AVGPSVHSTPSC,PROGRUNTIME,ICINGAVERPID`
MaxBytes[icinga-d]: 100
Title[icinga-d]: Average Host State Change
PageTop[icinga-d]: <H1>Average Host State Change</H1>
Options[icinga-d]: growright,gauge,nopercent
YLegend[icinga-d]: Percent
ShortLegend[icinga-d]: &nbsp;
LegendI[icinga-d]: &nbsp;Active Check % Change:
LegendO[icinga-d]: &nbsp;Passive Check % Change:
Legend1[icinga-d]: State Change
Legend2[icinga-d]: State Change
Legend3[icinga-d]: Maximal 5 Minute State Change
Legend4[icinga-d]: Maximal 5 Minute State Change


# Hosts/Services Actively Checked
Target[icinga-e]: `@bindir@/icingastats --mrtg --data=NUMHSTACTCHK5M,NUMSVCACTCHK5M,PROGRUNTIME,ICINGAVERPID`
MaxBytes[icinga-e]: 7000
Title[icinga-e]: Hosts/Services Actively Checked
PageTop[icinga-e]: <H1>Hosts/Services Actively Checked</H1>
Options[icinga-e]: growright,gauge,nopercent
YLegend[icinga-e]: Total
ShortLegend[icinga-e]: &nbsp;
LegendI[icinga-e]: &nbsp;Hosts:
LegendO[icinga-e]: &nbsp;Services:


# Hosts/Services Passively Checked
Target[icinga-f]: `@bindir@/icingastats --mrtg --data=NUMHSTPSVCHK5M,NUMSVCPSVCHK5M,PROGRUNTIME,ICINGAVERPID`
MaxBytes[icinga-f]: 7000
Title[icinga-f]: Hosts/Services Passively Checked
PageTop[icinga-f]: <H1>Hosts/Services Passively Checked</H1>
Options[icinga-f]: growright,gauge,nopercent
YLegend[icinga-f]: Total
ShortLegend[icinga-f]: &nbsp;
LegendI[icinga-f]: &nbsp;Hosts:
LegendO[icinga-f]: &nbsp;Services:


# Used/Avail External Command Buffers
Target[icinga-g]: `@bindir@/icingastats --mrtg --data=TOTCMDBUF,USEDCMDBUF,PROGRUNTIME,ICINGAVERPID`
MaxBytes[icinga-g]: 7000
Title[icinga-g]: External Command Buffers
PageTop[icinga-g]: <H1>External Command Buffers</H1>
Options[icinga-g]: growright,gauge,nopercent
YLegend[icinga-g]: Buffers
ShortLegend[icinga-g]: &nbsp;
LegendI[icinga-g]: &nbsp;Total:
LegendO[icinga-g]: &nbsp;Used:


# Active Host Checks
Target[icinga-i]: `@bindir@/icingastats --mrtg --data=NUMSACTHSTCHECKS5M,NUMOACTHSTCHECKS5M,PROGRUNTIME,ICINGAVERPID`
MaxBytes[icinga-i]: 7000
Title[icinga-i]: Active Host Checks
PageTop[icinga-i]: <H1>Active Host Checks</H1>
Options[icinga-i]: growright,gauge,nopercent
YLegend[icinga-i]: Checks
ShortLegend[icinga-i]: &nbsp;
LegendI[icinga-i]: &nbsp;Scheduled Checks:
LegendO[icinga-i]: &nbsp;On-Demand Checks:


# Active Service Checks
Target[icinga-j]: `@bindir@/icingastats --mrtg --data=NUMSACTSVCCHECKS5M,NUMOACTSVCCHECKS5M,PROGRUNTIME,ICINGAVERPID`
MaxBytes[icinga-j]: 7000
Title[icinga-j]: Active Service Checks
PageTop[icinga-j]: <H1>Active Service Checks</H1>
Options[icinga-j]: growright,gauge,nopercent
YLegend[icinga-j]: Checks
ShortLegend[icinga-j]: &nbsp;
LegendI[icinga-j]: &nbsp;Scheduled Checks:
LegendO[icinga-j]: &nbsp;On-Demand Checks:


# Passive Host/Service Checks
Target[icinga-k]: `@bindir@/icingastats --mrtg --data=NUMPSVHSTCHECKS5M,NUMPSVSVCCHECKS5M,PROGRUNTIME,ICINGAVERPID`
MaxBytes[icinga-k]: 7000
Title[icinga-k]: Passive Host/Service Checks
PageTop[icinga-k]: <H1>Passive Host/Service Checks</H1>
Options[icinga-k]: growright,gauge,nopercent
YLegend[icinga-k]: Checks
ShortLegend[icinga-k]: &nbsp;
LegendI[icinga-k]: &nbsp;Host Checks:
LegendO[icinga-k]: &nbsp;Service Checks:


# Cached Host/Service Checks
Target[icinga-l]: `@bindir@/icingastats --mrtg --data=NUMCACHEDHSTCHECKS5M,NUMCACHEDSVCCHECKS5M,PROGRUNTIME,ICINGAVERPID`
MaxBytes[icinga-l]: 7000
Title[icinga-l]: Cached Host/Service Checks
PageTop[icinga-l]: <H1>Cached Host/Service Checks</H1>
Options[icinga-l]: growright,gauge,nopercent
YLegend[icinga-l]: Checks
ShortLegend[icinga-l]: &nbsp;
LegendI[icinga-l]: &nbsp;Host Checks:
LegendO[icinga-l]: &nbsp;Service Checks:


# External Commands
Target[icinga-m]: `@bindir@/icingastats --mrtg --data=NUMEXTCMDS5M,0,PROGRUNTIME,ICINGAVERPID`
MaxBytes[icinga-m]: 7000
Title[icinga-m]: External Commands
PageTop[icinga-m]: <H1>External Commands</H1>
Options[icinga-m]: growright,gauge,nopercent
YLegend[icinga-m]: Commands
ShortLegend[icinga-m]: &nbsp;
LegendI[icinga-m]: &nbsp;Commands:
LegendO[icinga-m]: &nbsp;


# Parallel/Service Host Checks
Target[icinga-n]: `@bindir@/icingastats --mrtg --data=NUMPARHSTCHECKS5M,NUMSERHSTCHECKS5M,PROGRUNTIME,ICINGAVERPID`
MaxBytes[icinga-n]: 7000
Title[icinga-n]: Parallel/Serial Host Checks
PageTop[icinga-n]: <H1>Parallel/Serial Host Checks</H1>
Options[icinga-n]: growright,gauge,nopercent
YLegend[icinga-n]: Checks
ShortLegend[icinga-n]: &nbsp;
LegendI[icinga-n]: &nbsp;Parallel Checks:
LegendO[icinga-n]: &nbsp;Serial Checks:
