Created
February 9, 2016 15:39
-
-
Save burner1024/f5d2a6f306b9f9ca10ad to your computer and use it in GitHub Desktop.
Dell cpu max temperature item for Zabbix using SuperDoctor5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
set "cpu_temp=0" | |
for /f "tokens=2" %%a in ('"C:\Program Files\SuperMicro\SuperDoctor5\sdc.bat" ^| findstr ^CPU ^| findstr /r Temp ^| findstr HIGH') do ( | |
set "cpu_temp=1" | |
goto done | |
) | |
:done | |
echo %cpu_temp% | |
exit /b 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment