Wednesday October 18, 2006
Understanding Report PDUs/ SNMP Exceptions in SunMC agent.log
SNMP handles errors by either reporting them as part of error-status and error-index field or can generate SNMP exceptions/ Report PDUs (Protocol Data Unit) with version 2 and 3 of the protocol. Whenever SunMC agent responds back with an exception in response to a client request it also logs the report OID (object identifier) associated with that exception in the agent.log for later viewing/analysis. This post talks about the meaning of various such OIDs returned as part of those thrown SNMP exceptions. [Read More]
Posted at 10:55AM Oct 18, 2006 by adikhit in SNMP | Comments[3]
Friday October 13, 2006
Enabling/ Disabling rows in an SNMP table
SNMP tables that support RowStatus primitive can toggle a row to
enable, disable state. It is also possible to add a new row and delete
an existing row
by manipulating value of this parameter. SunMC agents offer the
RowStatus primitive as one of the primary syntax for a node in a
table. The RowStatus primitive is implemented as part of agent
infrastructure as specified in RFC 2579.
[Read More]
Posted at 02:34PM Oct 13, 2006 by adikhit in SNMP | Comments[0]
Monday October 02, 2006
SNMPv3 in Sun MC agent
Something that came at CEC 2006, this was regarding SNMPv3 support and opening of the agents for a direct access. SNMPv3 support was added to Sun Management Center a while back with the 3.6 release, this was done with the intent of enabling direct access in a secure manner using SNMPv3usm for applications that wanted to bypass the SunMC server layer. In the past the agents supported SNMPv2usec but there are not many SNMP client stacks out there talking SNMPv2usec making the agent not so easily accessible, not so anymore since January 2005
[Read More]Posted at 10:29PM Oct 02, 2006 by adikhit in SNMP | Comments[0]
Tuesday September 26, 2006
Getting the OS version using SNMP
Many a times we need to know which OS is running on a particular
server. One can either maintain a page where the information can be
kept updated by the admins or one can write a script that can query
servers on the network which in turn can update some web-page. An
extension of this can be to convert the script into a Sun Management
Center module which can periodically update the information in a more
structured and predictable manner. A simple script is very easy once we
know which SNMP Object Identifiers to go after and that we will explore in this writeup.
[Read More]
Posted at 02:06PM Sep 26, 2006 by adikhit in SNMP | Comments[0]
Wednesday May 10, 2006
Sun Management Center
Sun Management Center Agent Modules - a better way to manage using Sun's SNMP agents.[Read More]
Posted at 01:50AM May 10, 2006 by adikhit in SNMP |