Trying to enable SNMP under Solaris 10?
A few important things to know:
Adjust your community strings and manager parameters:
sun9999/admin$ ls -al /etc/sma/snmp/snmpd.conf /etc/snmp/conf/snmpd.conf
-rw------- 1 root bin 3300 Feb 11 03:32 /etc/sma/snmp/snmpd.conf
-rw-rw-r-- 1 root nsm 2221 Mar 17 2009 /etc/snmp/conf/snmpd.conf
Ensure your service is online:
sun9999/admin$ svcs snmpdx
STATE STIME FMRI
online May_21 svc:/application/management/snmpdx:default
Ensure your daemons are running:
sun9999/admin$ ps -elf | grep snmp
0 S root 1330 1 0 40 20 ? 370 ? May 21 ? 0:04 /usr/lib/snmp/snmpdx -y -c /etc/snm
0 S root 1322 1 0 40 20 ? 1290 ? May 21 ? 6:01 /usr/sfw/sbin/snmpd
Making Known the Secrets to Network Management. Raising up a new generation of professionals.
Showing posts with label net-snmp. Show all posts
Showing posts with label net-snmp. Show all posts
Saturday, February 11, 2012
Solaris 10: SNMP Agent Hints
Labels:
agent,
Management,
net-snmp,
sma,
SNMP,
Solaris,
Solaris 10,
Sun
Thursday, November 18, 2010
Simulating OpenView Events With Net-SNMP SNMP Traps

Simulating OpenView Events With via Net-SNMP SNMP Traps
Abstract:
HP OpenView Network Node Manager used to be the industry standard network management tool. Net-SNMP is the standard SNMP stack used on most operating systems, such as Solaris. There is still a need to simulate the platform for migration of infrastructure. One common way to simulate the HP OpenView Network Node Manager environment is through the use of OpenView Events (ovevent) and Net-SNMP SNMP Traps (snmptrap) commands.
OpenView Events
The HP OpenView Node Down Event can be simulated through a guaranteed transport via the "ovevent" command.
ovevent $Severity $NMS \ .1.3.6.1.4.1.11.2.17.1.0.$Event \ .1.3.6.1.4.1.11.2.17.2.1.0 Integer 14 \ .1.3.6.1.4.1.11.2.17.2.2.0 OctetString ${Node}Simulate Using Net-SNMP via SNMP V1 Trap
NMS = IP or Resolvable Name of Network Management Station
Node = IP or Resolvable Name of the Managed Device
Severity = Critical, Major, Minor, Info
Event = 58916865 [OV_Node_Down], 58916864 [OV_Node_Up]
An SNMP V1 trap can be produced to closel simulate this Node Down event. Note, this is not the exact representation, nor is the delivery of the event guaranteed. An SNMP Trap Receiver must receive this.
snmptrap -v 1 -c $Community $NMS \Simulate Using Net-SNMP via SNMP V2c Trap
.1.3.6.1.4.1.11.2.17.1 ${Node} 6 58916865 0
Community= SNMP Community String on used on Network Managment Station
An SNMP V2c trap can be produced to closel simulate this Node Down event. Note, this is not the exact representation, nor is the delivery of the event guaranteed. An SNMP Trap Receiver must receive this.
snmptrap -v 2c -c $Community $NMS \Simulate Using Net-SNMP via SNMP V2c Trap Test Tool
0 .1.3.6.1.4.1.11.2.17.1.0.58916865 \
.1.3.6.1.4.1.11.2.17.2.1.0 i 14 \
.1.3.6.1.4.1.11.2.17.2.2.0 s $Node
An SNMP V2c trap can be produced to closel simulate this Node Down event. Note, this is not the exact representation, nor is the delivery of the event guaranteed. An SNMP Trap Receiver must receive this.
snmptest -v 2c -c $Community $NMS:162 \<\<\!Conclusion:
\$T
.1.3.6.1.2.1.1.3.0
t
0
.1.3.6.1.6.3.1.1.4.1.0
o
.1.3.6.1.4.1.11.2.17.1.0.58916865
i
0
.1.3.6.1.4.1.11.2.17.2.1.0
i
14
.1.3.6.1.4.1.11.2.17.2.2.0
s
$Node
\!
Common events from HP OpenView Network Node Manager, the former "gold standard" in Network Management, can be simulated under stock Solaris 10 and Solaris 11 with simple available OS commands.
Subscribe to:
Posts (Atom)