librenms/includes/polling/device-windows.inc.php
Tom Laermans b86a6447b8 set version for Windows XP
git-svn-id: http://www.observium.org/svn/observer/trunk@726 61d68cd4-352d-0410-923a-c4978735b2b8
2010-01-25 23:34:18 +00:00

15 lines
583 B
PHP
Executable File

<?php
if(strstr($sysDescr, "x86")) { $hardware = "Generic x86"; }
if(strstr($sysDescr, "AMD64")) { $hardware = "Generic x64"; }
if(strstr($sysDescr, "Windows 2000 Version 5.1")) { $version = "XP"; }
if(strstr($sysDescr, "Windows Version 5.2")) { $version = "2003 Server"; }
if(strstr($sysDescr, "Windows Version 6.1")) { $version = "Windows 7"; }
if(strstr($sysDescr, "Uniprocessor Free")) { $features = "Uniprocessor"; }
if(strstr($sysDescr, "Multiprocessor Free")) { $features = "Multiprocessor"; }
include("ucd-mib.inc.php");
include("hr-mib.inc.php");
?>