# Per virtual machine MRTG definitions for VMWARE ESX # defaults ( NONE 10% 5% ) # parameters: ESX virtual machine name, warn memleft, crit memleft # check_esx -M -H %LHNAME% -c %COMMUNITY% -v %OPTA% # We can graph the individual memory use, and the percent CPU resources. # memory Target[%SHNAME%-esx-%OPTA%-mem]: `check_esx -M -H %LHNAME% -C '%COMMUNITY%' -v '%OPTA%' -l MEM ` Title[%SHNAME%-esx-%OPTA%-mem]: %SHNAME%: %OPTA% memory remaining Factor[%SHNAME%-esx-%OPTA%-mem]: 1024 MaxBytes[%SHNAME%-esx-%OPTA%-mem]: 10240000000 PageTop[%SHNAME%-esx-%OPTA%-mem]: null LegendI[%SHNAME%-esx-%OPTA%-mem]: free: LegendO[%SHNAME%-esx-%OPTA%-mem]: total: Options[%SHNAME%-esx-%OPTA%-mem]: gauge growright Ylegend[%SHNAME%-esx-%OPTA%-mem]: Bytes ShortLegend[%SHNAME%-esx-%OPTA%-mem]: b Legend1[%SHNAME%-esx-%OPTA%-mem]: Memory free Legend2[%SHNAME%-esx-%OPTA%-mem]: Total memory Legend3[%SHNAME%-esx-%OPTA%-mem]: Peak free memory Legend4[%SHNAME%-esx-%OPTA%-mem]: Peak total memory SetEnv[%SHNAME%-esx-%OPTA%-mem]: MRTG_INT_DESCR="VMware: %OPTA% memory" routers.cgi*Options[%SHNAME%-esx-%OPTA%-mem]: nopercent nomax scaled nototal routers.cgi*UnScaled[%SHNAME%-esx-%OPTA%-mem]: none routers.cgi*ShortName[%SHNAME%-esx-%OPTA%-mem]: VMware: %OPTA% memory routers.cgi*Icon[%SHNAME%-esx-%OPTA%-mem]: chip-sm.gif routers.cgi*Summary[%SHNAME%-esx-%OPTA%-mem]: VMWare nodetails routers.cgi*InSummary[%SHNAME%-esx-%OPTA%-mem]: no routers.cgi*InCompact[%SHNAME%-esx-%OPTA%-mem]: no # CPU usage over last minute. We can place these together on a stacked graph. # Note we DONT USE guage! The check returns seconds used total. This means # we get seconds used/sec, multiply by 100 to get % share! Target[%SHNAME%-esx-%OPTA%-cpu]: `check_esx -M -H %LHNAME% -C '%COMMUNITY%' -v '%OPTA%' -l CPU ` Title[%SHNAME%-esx-%OPTA%-cpu]: %SHNAME%: %OPTA% CPU share Factor[%SHNAME%-esx-%OPTA%-cpu]: 100 MaxBytes[%SHNAME%-esx-%OPTA%-cpu]: 1 PageTop[%SHNAME%-esx-%OPTA%-cpu]: null LegendI[%SHNAME%-esx-%OPTA%-cpu]: share: Options[%SHNAME%-esx-%OPTA%-cpu]: growright noo Ylegend[%SHNAME%-esx-%OPTA%-cpu]: Percent ShortLegend[%SHNAME%-esx-%OPTA%-cpu]: % Legend1[%SHNAME%-esx-%OPTA%-cpu]: %OPTA% share Legend3[%SHNAME%-esx-%OPTA%-cpu]: Peak %OPTA% share SetEnv[%SHNAME%-esx-%OPTA%-cpu]: MRTG_INT_DESCR="VMware: %OPTA% CPU share" routers.cgi*Options[%SHNAME%-esx-%OPTA%-cpu]: nopercent nototal fixunit routers.cgi*ShortName[%SHNAME%-esx-%OPTA%-cpu]: VMware: %OPTA% CPU share routers.cgi*Icon[%SHNAME%-esx-%OPTA%-cpu]: chip-sm.gif routers.cgi*Graph[%SHNAME%-esx-%OPTA%-cpu]: %SHNAME%-vmware-cpu noo noaverage total routers.cgi*InSummary[%SHNAME%-esx-%OPTA%-cpu]: no routers.cgi*InMenu[%SHNAME%-esx-%OPTA%-cpu]: no ### Options for the CPU summary routers.cgi*Summary[%SHNAME%-vmware-cpu]: VMWare nodetails routers.cgi*InMenu[%SHNAME%-vmware-cpu]: yes routers.cgi*ShortName[%SHNAME%-vmware-cpu]: VMware: CPU share routers.cgi*GraphStyle[%SHNAME%-vmware-cpu]: stack routers.cgi*Title[%SHNAME%-vmware-cpu]: %SHNAME% VMware CPU share routers.cgi*Icon[%SHNAME%-vmware-cpu]: chip-sm.gif ## Network usage Target[%SHNAME%-esx-%OPTA%-net]: `check_esx -M -H %LHNAME% -C '%COMMUNITY%' -v '%OPTA%' -l NET ` Title[%SHNAME%-esx-%OPTA%-net]: %SHNAME%: %OPTA% Network I/O MaxBytes[%SHNAME%-esx-%OPTA%-net]: 10240000 PageTop[%SHNAME%-esx-%OPTA%-net]: null LegendI[%SHNAME%-esx-%OPTA%-net]: in: LegendO[%SHNAME%-esx-%OPTA%-net]: out: Options[%SHNAME%-esx-%OPTA%-net]: growright Ylegend[%SHNAME%-esx-%OPTA%-net]: Bytes ShortLegend[%SHNAME%-esx-%OPTA%-net]: b Legend1[%SHNAME%-esx-%OPTA%-net]: Incoming Legend2[%SHNAME%-esx-%OPTA%-net]: Outgoing Legend3[%SHNAME%-esx-%OPTA%-net]: Peak incoming Legend4[%SHNAME%-esx-%OPTA%-net]: Peak outgoing SetEnv[%SHNAME%-esx-%OPTA%-net]: MRTG_INT_DESCR="VMware: %OPTA% network" routers.cgi*Options[%SHNAME%-esx-%OPTA%-net]: nopercent nomax scaled routers.cgi*UnScaled[%SHNAME%-esx-%OPTA%-net]: none routers.cgi*ShortName[%SHNAME%-esx-%OPTA%-net]: VMware: %OPTA% network routers.cgi*Summary[%SHNAME%-esx-%OPTA%-net]: VMWare nodetails routers.cgi*InSummary[%SHNAME%-esx-%OPTA%-net]: no routers.cgi*InCompact[%SHNAME%-esx-%OPTA%-net]: no routers.cgi*Mode[%SHNAME%-esx-%OPTA%-net]: interface