All MIBs › SMTP-MIB › smtpSendTestMsg
smtpSendTestMsg
Module: SMTP-MIB
OID (symbolic): SMTP-MIB::smtpSendTestMsg
OID (numeric): 1.3.6.1.4.1.171.12.29.1.7
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-write
Description: When check Send(1),it will send mail. smtpSendTestStatus will indicate the test status.
What is smtpSendTestMsg?
A write-triggered enumerated value (send or noAction) that fires off a test email using the previously configured server, sender, recipients, subject, and content. Admins use this to validate the entire SMTP alert pipeline without waiting for a real trap event to occur, then check smtpSendTestStatus for the outcome. For example, setting smtpSendTestMsg to send(1) after configuring smtpSrvAddr and smtpMailReceiverAddr confirms the switch can actually reach the mail server and deliver a message.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.171.12.29.1.7 snmpwalk -v2c -c public <target> SMTP-MIB::smtpSendTestMsg
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.171.12.29.1.7.1 snmpget -v2c -c public <target> SMTP-MIB::smtpSendTestMsg.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.171.12.29.1.7.1 i <value>
Start monitoring SMTP mail relay/server, proprietary enterprise MIB, vendor unspecified (queue depth/delivery status) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the SMTP-MIB::smtpSendTestMsg OID value, configure state conditions and alerts, and monitor any SMTP mail relay/server, proprietary enterprise MIB, vendor unspecified (queue depth/delivery status) from a single console.
OID Breakdown
Upper-level ancestors (8 from the standard OID tree / other modules)
| Numeric OID | Name | Module |
|---|---|---|
| 1 | iso | LANART-AGENT |
| 1.3 | org | AirPair-MIB |
| 1.3.6 | dod | AirPair-MIB |
| 1.3.6.1 | internet | AirPair-MIB |
| 1.3.6.1.4 | private | AirPair-MIB |
| 1.3.6.1.4.1 | enterprises | AirPair-MIB |
| 1.3.6.1.4.1.171 | d_link | DE1500-MIB |
| 1.3.6.1.4.1.171.12 | dlink_common_mgmt | DLINK-ID-REC-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.171.12.29 | swSMTPMIB | SMTP-MIB |
| 1.3.6.1.4.1.171.12.29.1 | swSMTPCtrl | SMTP-MIB |
| 1.3.6.1.4.1.171.12.29.1.7 | smtpSendTestMsg | SMTP-MIB |