Host Profile
is extracted from ESXi host which have configured with SNMP settingsHost Profile
and uncheck the below options of SNMP:General System Settings - Management Agent Configuration - SNMP Agent Configuration - Other SNMP configurations
Profile validation failed. Check the profile for errors.
"/var/log/vmware/vpxd.log
may contain below similar messages:Result:
{
fault: {
faultCause: (vim01.MethodFault) null,
faultMessage: <unset>,
failure: (vim.fault.ProfileUpdateFailed.UpdateFailure) [
(vim.fault.ProfileUpdateFailed.UpdateFailure) {
profilePath = "snmp_GenericAgentProfiles.GenericAgentConfigProfile.snmp_GenericAgentProfiles_AgentConfigProfileOthers",
policyId = "snmp.GenericAgentProfiles.AgentConfigProfilePolicy",
parameterId = "target",
policyOptionId = <unset>
},
errMsg = (vim01.LocalizableMessage) {
key = "com.vmware.profile.GenericAgentConfigProfile.ValidateError",
arg = <unset>,
message = "Format: ip-or-hostname[port]/community,..."
}
],
warnings = <unset>
},
msg = "Received SOAP response fault from [<SSI>(ico_obj) p:0x00000003:45668, h:12839, <TCP <VC-IP> : 51342>, <<ESXi-IP> : 443>>, /vpxas]: bookKeep",
}
Profile validation failed. Check the profile for errors.
VMware vSphere ESXi 7.0.x
VMware vSphere ESXi 8.0.x
The targets information are required to configure SNMP in ESXi host. It is not allowed to disable SNMP in Host Profile
when targets configured.
To workaround the issue:
esxcli system snmp set --targets=reset
esxcli system snmp set --communities=reset
Host Profile
again from the ESXi host.Host Profile
again should be successful.