version 1.22, 2011/01/07 11:26:05
|
version 1.22.2.2, 2013/10/17 19:38:43
|
|
|
handlerInstance.addProperty (CIMProperty ( | handlerInstance.addProperty (CIMProperty ( |
CIMName ("SNMPSecurityAuthProtocol"),snmpSecAuthProto)); | CIMName ("SNMPSecurityAuthProtocol"),snmpSecAuthProto)); |
| |
oid *snmpSecAuthProtoOid; |
|
size_t snmpSecAuthProtoLen=0; | size_t snmpSecAuthProtoLen=0; |
| |
|
oid *snmpSecAuthProtoOid = NULL; |
if(snmpSecAuthKey.size() > 0) | if(snmpSecAuthKey.size() > 0) |
{ | { |
if(snmpSecAuthProto == 1) | if(snmpSecAuthProto == 1) |
|
|
| |
Uint32 receivedTrap1Count = 0; | Uint32 receivedTrap1Count = 0; |
Uint32 receivedTrap2Count = 0; | Uint32 receivedTrap2Count = 0; |
|
#ifdef PEGASUS_ENABLE_NET_SNMPV3 |
Uint32 receivedTrap3Count = 0; | Uint32 receivedTrap3Count = 0; |
|
#endif |
| |
ifstream ifs(logFile.getCString()); | ifstream ifs(logFile.getCString()); |
if (!ifs) | if (!ifs) |