# VMWARE ESX server # defaults ( 85 95 10 5 ) # CPU used, mem free # Set the server's icon to the ESX logo routers.cgi*Icon: esx-sm.gif routers.cgi*Mode[_]: generic # We can graph the relative CPU usage, but that's on a per-vhost basis. # Most of the other important stuff comes from the snmp-host package. # we can, however, graph defined hosts vs hosts up # vhosts up Target[%SHNAME%-esx-vhosts]: `check_esx -M -H %LHNAME% -C %COMMUNITY% -l LIST ` Title[%SHNAME%-esx-vhosts]: %SHNAME% VMware Virtual Machines MaxBytes[%SHNAME%-esx-vhosts]: 1000 PageTop[%SHNAME%-esx-vhosts]: null LegendI[%SHNAME%-esx-vhosts]: up: LegendO[%SHNAME%-esx-vhosts]: defined: Options[%SHNAME%-esx-vhosts]: gauge growright integer Ylegend[%SHNAME%-esx-vhosts]: VHosts ShortLegend[%SHNAME%-esx-vhosts]:   Legend1[%SHNAME%-esx-vhosts]: VHosts Up Legend2[%SHNAME%-esx-vhosts]: VHosts defined Legend3[%SHNAME%-esx-vhosts]: Peak vhosts up Legend4[%SHNAME%-esx-vhosts]: Peak vhosts defined SetEnv[%SHNAME%-esx-vhosts]: MRTG_INT_DESCR="VMware: vhosts" routers.cgi*Options[%SHNAME%-esx-vhosts]: nopercent nomax scaled fixunit integer nototal nopercentile routers.cgi*UnScaled[%SHNAME%-esx-vhosts]: none routers.cgi*ShortName[%SHNAME%-esx-vhosts]: VMware: vhosts routers.cgi*Icon[%SHNAME%-esx-vhosts]: server-sm.gif routers.cgi*Summary[%SHNAME%-esx-vhosts]: VMWare nodetails routers.cgi*InSummary[%SHNAME%-esx-vhosts]: no routers.cgi*InCompact[%SHNAME%-esx-vhosts]: no # memory Target[%SHNAME%-esx-server-mem]: `check_esx -M -H %LHNAME% -C %COMMUNITY% -l MEM ` Title[%SHNAME%-esx-server-mem]: %SHNAME%: ESX memory remaining Factor[%SHNAME%-esx-server-mem]: 1024 MaxBytes[%SHNAME%-esx-server-mem]: 10240000000 PageTop[%SHNAME%-esx-server-mem]: null LegendI[%SHNAME%-esx-server-mem]: free: LegendO[%SHNAME%-esx-server-mem]: total: Options[%SHNAME%-esx-server-mem]: gauge growright Ylegend[%SHNAME%-esx-server-mem]: Bytes ShortLegend[%SHNAME%-esx-server-mem]: b Legend1[%SHNAME%-esx-server-mem]: Memory free Legend2[%SHNAME%-esx-server-mem]: Total memory Legend3[%SHNAME%-esx-server-mem]: Peak free memory Legend4[%SHNAME%-esx-server-mem]: Peak total memory SetEnv[%SHNAME%-esx-server-mem]: MRTG_INT_DESCR="VMware: Total memory" routers.cgi*Options[%SHNAME%-esx-server-mem]: nopercent nomax scaled nototal routers.cgi*UnScaled[%SHNAME%-esx-server-mem]: none routers.cgi*ShortName[%SHNAME%-esx-server-mem]: VMware: Total memory routers.cgi*Icon[%SHNAME%-esx-server-mem]: chip-sm.gif routers.cgi*Summary[%SHNAME%-esx-server-mem]: VMWare nodetails routers.cgi*InSummary[%SHNAME%-esx-server-mem]: no routers.cgi*InCompact[%SHNAME%-esx-server-mem]: no # CPU usage over last minute. # 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-server-cpu]: `check_esx -M -H %LHNAME% -C %COMMUNITY% -l CPU` #Title[%SHNAME%-esx-server-cpu]: %SHNAME%: ESX CPU usage #Factor[%SHNAME%-esx-server-cpu]: 100 #MaxBytes[%SHNAME%-esx-server-cpu]: 1 #AbsMax[%SHNAME%-esx-server-cpu]: 2 #PageTop[%SHNAME%-esx-server-cpu]: null #LegendI[%SHNAME%-esx-server-cpu]: share: #Options[%SHNAME%-esx-server-cpu]: growright noo #Ylegend[%SHNAME%-esx-server-cpu]: Percent #ShortLegend[%SHNAME%-esx-server-cpu]: % #Legend1[%SHNAME%-esx-server-cpu]: CPU usage #Legend3[%SHNAME%-esx-server-cpu]: Peak CPU usage #SetEnv[%SHNAME%-esx-server-cpu]: MRTG_INT_DESCR="VMware: ESX CPU usage" #routers.cgi*Options[%SHNAME%-esx-server-cpu]: nopercent nototal fixunit #routers.cgi*ShortName[%SHNAME%-esx-server-cpu]: VMware: ESX CPU usage #routers.cgi*Icon[%SHNAME%-esx-server-cpu]: chip-sm.gif #routers.cgi*InSummary[%SHNAME%-esx-server-cpu]: no # This is in the cfgmaker-host output anyway, so not needed here #Target[%SHNAME%-esx-snmp-cpu]: 100 - enterprises.2021.11.11.0&enterprises.2021.11.11.0:%COMMUNITY%@%LHNAME% #PageTop[%SHNAME%-esx-snmp-cpu]: dummy #Title[%SHNAME%-esx-snmp-cpu]: CPU on %SHNAME% #Maxbytes[%SHNAME%-esx-snmp-cpu]: 100 #Options[%SHNAME%-esx-snmp-cpu]: gauge #YLegend[%SHNAME%-esx-snmp-cpu]: percent #ShortLegend[%SHNAME%-esx-snmp-cpu]: % #LegendI[%SHNAME%-esx-snmp-cpu]: cpu: #Legend1[%SHNAME%-esx-snmp-cpu]: CPU usage #Legend3[%SHNAME%-esx-snmp-cpu]: Peak CPU usage #routers.cgi*Options[%SHNAME%-esx-snmp-cpu]: noo, nopercent, nototal #routers.cgi*InOut[%SHNAME%-esx-snmp-cpu]: no #SetEnv[%SHNAME%-esx-snmp-cpu]: MRTG_INT_DESCR="CPU usage" #routers.cgi*ShortName[%SHNAME%-esx-snmp-cpu]: CPU usage #routers.cgi*Icon[%SHNAME%-esx-snmp-cpu]: chip-sm.gif ## Network usage Target[%SHNAME%-esx-net]: `check_esx -M -H %LHNAME% -C '%COMMUNITY%' -l NET ` Title[%SHNAME%-esx-net]: %SHNAME%: VM Total Network I/O MaxBytes[%SHNAME%-esx-net]: 10240000 PageTop[%SHNAME%-esx-net]: null LegendI[%SHNAME%-esx-net]: in: LegendO[%SHNAME%-esx-net]: out: Options[%SHNAME%-esx-net]: growright Ylegend[%SHNAME%-esx-net]: Bytes ShortLegend[%SHNAME%-esx-net]: b Legend1[%SHNAME%-esx-net]: Incoming Legend2[%SHNAME%-esx-net]: Outgoing Legend3[%SHNAME%-esx-net]: Peak incoming Legend4[%SHNAME%-esx-net]: Peak outgoing SetEnv[%SHNAME%-esx-net]: MRTG_INT_DESCR="VMware: Network" routers.cgi*Options[%SHNAME%-esx-net]: nopercent nomax scaled routers.cgi*UnScaled[%SHNAME%-esx-net]: none routers.cgi*ShortName[%SHNAME%-esx-net]: VMware: Network routers.cgi*Summary[%SHNAME%-esx-net]: VMWare nodetails routers.cgi*InSummary[%SHNAME%-esx-net]: no routers.cgi*InCompact[%SHNAME%-esx-net]: no routers.cgi*Mode[%SHNAME%-esx-net]: interface