snmp

There are 4 entries for the tag snmp

View WireShark Payload Data as Byte Arrays

A customer was having a problem receiving an SNMP trap with a 64 bit timestamp in it. In order to test, I wanted to send the exact same trap the customer was sending, using the basic UDPPort component of IP*Works! INSTEAD of the SendTrap or SendSecureTrap methods that are included in IPWorks SSNMP's SNMPAgent component. It turns out WireShark gives me an extremely easy way to do this in my code. I opened the Wireshark cap file sent to me by the customer, which only included the SNMP trap (important,...

Posted On Tuesday, June 03, 2008 12:37 PM | Feedback (1)

SNMPv3 Discovery

mgr -> agent: what is your engine Id? "This may be accomplished by generating a Request message with a securityLevel of noAuthNoPriv, a msgUserName of zero-length, a msgAuthoritativeEngineID value of zero length, and the varBindList left empty." agent -> mgr: my name is ____."a Report message containing the snmpEngineID of the authoritative SNMP engine as the value of the msgAuthoritativeEngineID field within the msgSecurityParameters field. It contains a Report PDU with the usmStatsUnknownEngineIDs...

Posted On Tuesday, December 18, 2007 3:04 PM | Feedback (1)

PowerShell cmdlet for SNMP (part 2: sysUpTime)

Brandon updated his get-uptime script to output a custom object. Brandon's script works with the LastBootUpTime property returned from WMI Win32_OperatingSytem. I already talked briefly about the get-snmp, set-snmp, get-trap, and send-trap cmdlets that are included in NetCmdlets. Here's how you can use get-snmp to get the sysUpTime from any SNMP-enabled device. Note: sysUpTime is defined as the time since the last re-initialization (ie, boot) of the device, in 100ths of a second. get-snmp -agent...

Posted On Tuesday, February 27, 2007 3:26 PM | Feedback (4)

NetCmdlets Part 2: PowerShell cmdlet for SNMP (network management)

The SNMP PowerShell cmdlets that come with /n software NetCmdlets support SNMP v1, v2c, and v3, SNMPv3 auth/priv, MIB loading, etc. Here are some examples of using the Get-SNMP, Set-SNMP, Send-Trap, and Get-Trap cmdlets. Find SNMP enabled machines (agents) on your network:PS C:\> get-snmp -agent 255.255.255.255 -oid sysName.0 Find processes running on a remote snmp-enabled machine:PS C:\> get-snmp -agent myagent -oid hrSWRunName -walk $true Send an SNMP trap to a remote manager:PS C:\> send-trap...

Posted On Thursday, November 09, 2006 12:10 PM | Feedback (2)

Copyright © Lance Robinson

Design by Bartosz Brzezinski

Design by Phil Haack Based On A Design By Bartosz Brzezinski