프로퍼티 | 타입 | 설명 | |
---|---|---|---|
_sock | Socket |
메소드 | 설명 | |
---|---|---|
SendTrap ( |
Send SNMP Trap notification Helper function to allow for seamless sending of SNMP notifications for all protocol versions. packet parameter should be appropriately formatted SNMP notification in SnmpV1TrapPacket, SnmpV2Packet or SnmpV3Packet class cast as SnmpPacket class. Function will determine which version of the notification is to be used by checking the type of the packet parameter and call appropriate TrapAgent member function to send it. |
|
SendV1Trap ( |
Construct and send SNMP v1 Trap
|
|
SendV1Trap ( |
Send SNMP version 1 Trap notification
|
|
SendV2Trap ( |
Construct and send SNMP v2 Trap
|
|
SendV2Trap ( SnmpV2Packet packet, IpAddress peer, int port ) : void |
Send SNMP version 2 Trap notification
|
|
SendV3Trap ( IpAddress receiver, int receiverPort, byte engineId, Int32 senderEngineBoots, Int32 senderEngineTime, string senderUserName, UInt32 senderUpTime, Oid trapObjectID, VbCollection varList ) : void |
Construct and send SNMP v3 noAuthNoPriv Trap
|
|
SendV3Trap ( IpAddress receiver, int receiverPort, byte engineId, Int32 senderEngineBoots, Int32 senderEngineTime, string senderUserName, UInt32 senderUpTime, Oid trapObjectID, VbCollection varList, AuthenticationDigests authDigest, byte authSecret ) : void |
Construct and send SNMP v3 authNoPriv Trap
|
|
SendV3Trap ( IpAddress receiver, int receiverPort, byte engineId, Int32 senderEngineBoots, Int32 senderEngineTime, string senderUserName, UInt32 senderUpTime, Oid trapObjectID, VbCollection varList, AuthenticationDigests authDigest, byte authSecret, PrivacyProtocols privProtocol, byte privSecret ) : void |
Construct and send SNMP v3 authPriv Trap
|
|
SendV3Trap ( SnmpV3Packet packet, IpAddress peer, int port ) : void |
Send SNMP version 3 Trap notification
|
|
TrapAgent ( ) : System |
Constructor. Constructor initializes an internal Socket used to send traps. Socket is initialized by selecting a random UDP port number. |
public static SendTrap ( |
||
packet | SNMP trap packet | |
peer | Manager (receiver) IP address | |
port | int | Manager (receiver) UDP port number |
리턴 | void |
public SendV1Trap ( |
||
receiver | Receiver IP address | |
receiverPort | int | Receiver UDP port number |
community | string | SNMP community name |
senderSysObjectID | Oid | Senders sysObjectID |
senderIpAdress | Sender IP address | |
genericTrap | Generic trap code | |
specificTrap | Specific trap code | |
senderUpTime | Senders sysUpTime | |
varList | VbCollection | Variable binding list |
리턴 | void |
public SendV1Trap ( |
||
packet | SNMP v1 Trap packet class | |
peer | Manager (receiver) IP address | |
port | int | Manager (receiver) UDP port number |
리턴 | void |
public SendV2Trap ( |
||
receiver | Trap receiver IP address | |
receiverPort | int | Trap receiver UDP port number |
community | string | SNMP community name |
senderUpTime | Sender sysUpTime | |
trapObjectID | Oid | Trap ObjectID |
varList | VbCollection | Variable binding list |
리턴 | void |
public SendV2Trap ( SnmpV2Packet packet, IpAddress peer, int port ) : void | ||
packet | SnmpV2Packet | SNMP v2 Trap packet class |
peer | IpAddress | Manager (receiver) IP address |
port | int | Manager (receiver) UDP port number |
리턴 | void |
public SendV3Trap ( IpAddress receiver, int receiverPort, byte engineId, Int32 senderEngineBoots, Int32 senderEngineTime, string senderUserName, UInt32 senderUpTime, Oid trapObjectID, VbCollection varList ) : void | ||
receiver | IpAddress | Trap receiver IP address |
receiverPort | int | Trap receiver UDP port number |
engineId | byte | Sender SNMP engineId |
senderEngineBoots | Int32 | Sender SNMP engine boots |
senderEngineTime | Int32 | Sender SNMP engine time |
senderUserName | string | Security (user) name |
senderUpTime | UInt32 | Sender upTime |
trapObjectID | Oid | Trap object ID |
varList | VbCollection | Variable binding list |
리턴 | void |
public SendV3Trap ( IpAddress receiver, int receiverPort, byte engineId, Int32 senderEngineBoots, Int32 senderEngineTime, string senderUserName, UInt32 senderUpTime, Oid trapObjectID, VbCollection varList, AuthenticationDigests authDigest, byte authSecret ) : void | ||
receiver | IpAddress | Trap receiver IP address |
receiverPort | int | Trap receiver UDP port number |
engineId | byte | Sender SNMP engineId |
senderEngineBoots | Int32 | Sender SNMP engine boots |
senderEngineTime | Int32 | Sender SNMP engine time |
senderUserName | string | Security (user) name |
senderUpTime | UInt32 | Sender upTime |
trapObjectID | Oid | Trap object ID |
varList | VbCollection | Variable binding list |
authDigest | AuthenticationDigests | Authentication digest. |
authSecret | byte | Authentication secret |
리턴 | void |
public SendV3Trap ( IpAddress receiver, int receiverPort, byte engineId, Int32 senderEngineBoots, Int32 senderEngineTime, string senderUserName, UInt32 senderUpTime, Oid trapObjectID, VbCollection varList, AuthenticationDigests authDigest, byte authSecret, PrivacyProtocols privProtocol, byte privSecret ) : void | ||
receiver | IpAddress | Trap receiver IP address |
receiverPort | int | Trap receiver UDP port number |
engineId | byte | Sender SNMP engineId |
senderEngineBoots | Int32 | Sender SNMP engine boots |
senderEngineTime | Int32 | Sender SNMP engine time |
senderUserName | string | Security (user) name |
senderUpTime | UInt32 | Sender upTime |
trapObjectID | Oid | Trap object ID |
varList | VbCollection | Variable binding list |
authDigest | AuthenticationDigests | Authentication digest. See |
authSecret | byte | Authentication secret |
privProtocol | PrivacyProtocols | Privacy protocol. See |
privSecret | byte | Privacy secret |
리턴 | void |
public SendV3Trap ( SnmpV3Packet packet, IpAddress peer, int port ) : void | ||
packet | SnmpV3Packet | SNMP v3 Trap packet class |
peer | IpAddress | Manager (receiver) IP address |
port | int | Manager (receiver) UDP port number |
리턴 | void |