This commit is contained in:
insanity 2018-04-25 20:45:35 +09:00
parent 90233d9d74
commit ff2a7a271f

View File

@ -60,7 +60,7 @@ public class MetaInfraVendor {
MetaInfraVendor vendor = new MetaInfraVendor(); MetaInfraVendor vendor = new MetaInfraVendor();
if(osName == null || osName.length() <= 0) { if(osName == null || osName.length() <= 0) {
vendor.setId(28); // FIXME: Unknown vendor.setId(24); // FIXME: Unknown
return vendor; return vendor;
} }
@ -70,7 +70,7 @@ public class MetaInfraVendor {
else if(osName.equals("Linux")) { else if(osName.equals("Linux")) {
vendor.setId(28); // ubuntu vendor.setId(28); // ubuntu
} else { } else {
vendor.setId(28); // FIXME: Unknown vendor.setId(24); // FIXME: Unknown
} }
return vendor; return vendor;
@ -85,19 +85,19 @@ public class MetaInfraVendor {
MetaInfraVendor vendor = new MetaInfraVendor(); MetaInfraVendor vendor = new MetaInfraVendor();
if(serviceName.equals("mysql")) { if(serviceName.equals("mysql")) {
vendor.setId(39); vendor.setId(11);
} }
else if(serviceName.equals("portgresql")) { else if(serviceName.equals("portgresql")) {
vendor.setId(39); vendor.setId(15);
} }
else if(serviceName.equals("wmi")) { else if(serviceName.equals("wmi")) {
vendor.setId(39); vendor.setId(23);
} }
else if(serviceName.equals("snmpv2")) { else if(serviceName.equals("snmpv2")) {
vendor.setId(39); vendor.setId(20);
} }
else { else {
vendor.setId(43); // unknown vendor.setId(24); // unknown
} }