Sponsored Content
Full Discussion: SNMP - what am I seeing?
Special Forums UNIX and Linux Applications Infrastructure Monitoring SNMP - what am I seeing? Post 302465500 by msarro on Friday 22nd of October 2010 03:23:55 PM
Old 10-22-2010
SNMP - what am I seeing?

Hey everyone!
First, thank you in advance for any help you can provide. I'm a fairly experienced linux user, and just getting my feet wet in solaris for a project here at the office. I am trying to use snmpget on a linux box to get information from a Solaris 10 system. The solaris 10 system has snmpdx running (solstice, used for SNMP by a vendor solution that is installed). However it also appears to have snmpd running. Here are the commands and output that I get:

Code:
bash-3.00# ps -ef |grep snm
    root   775     1   0   Mar 10 ?         345:35 /usr/lib/snmp/brdsftMIB2 -r -c /usr/local/broadworks/bw_base/conf -p 10161
    root   726     1   0   Mar 10 ?           0:00 /usr/lib/dmi/snmpXdmid -s as1
    root   755     1   0   Mar 10 ?           9:16 /usr/sfw/sbin/snmpd
    root   717     1   0   Mar 10 ?           0:12 /usr/lib/snmp/snmpdx -y -c /etc/snmp/conf
    root  2061 27184   0 19:23:21 pts/3       0:00 grep snm
  bworks  8672  8663   0   Oct 06 ?          31:42 /usr/local/java/java_base/bin/java -Dp=openclientserver -server -Docs.snmp.comp
  bworks  8421  8412   0   Oct 06 ?         154:45 /usr/local/java/java_base/bin/java -Dp=snmp -XX:ParallelGCThreads=2 -classpath 
  bworks  8410     1   0   Oct 06 ?           0:00 /usr/bin/perl ./bwpmd -snmp -d /var/broadworks/logs/snmp

Code:
bash-3.00# lsof -i -nP |grep snm
snmpdx      717   root    3u  IPv4 0x60000942040      0t0  UDP *:17
snmpdx      717   root    4u  IPv4 0x60000942240      0t0  UDP *:17
snmpdx      717   root    5u  IPv4 0x6000249fa80      0t0  UDP *:17
snmpXdmid   726   root    0u  IPv4 0x6000249f680      0t0  UDP *:17
snmpXdmid   726   root    1u  IPv4                         TCP no TCP/UDP/IP information available
snmpXdmid   726   root    5u  IPv4 0x6000249f880      0t0  UDP *:17
snmpXdmid   726   root    6u  IPv4 0x6000249f280      0t0  UDP *:17
snmpd       755   root   13u  IPv4 0x6000249ec80      0t0  UDP *:17
snmpd       755   root   14u  IPv4 0x6000249f080      0t0  UDP *:17
snmpd       755   root   15u  IPv4 0x6000249ee80      0t0  UDP *:17
snmpd       755   root   16u  IPv4 0x600015040c0      0t0  UDP *:17
snmpd       755   root   17u  IPv4 0x60002b65b00      0t0  UDP *:17
snmpd       755   root   18u  IPv4 0x60002b65900      0t0  UDP *:17

This shows the services running on UDP port 17. The problem is if I try and query remotely on port 17, everything fails. Why does lsof show port 17 and not 161? In fact typing
Code:
lsof -i |grep 161

doesn't return a single thing.

Any help would be appreciated. Both daemons show as running, and I'd like to figure out what ports they're running, and then figure out what information is attainable from each daemon. I'm assuming snmpdx is just vendor related stuff, because from my research snmpd should be for OS stuff. Any thoughts?
Thanks!
-Matthew
 

7 More Discussions You Might Find Interesting

1. Solaris

snmp

Hi, I want to configure snmp on solaris 10,What are steps (1 Reply)
Discussion started by: manoj.solaris
1 Replies

2. Infrastructure Monitoring

snmp

hello, I am looking for Overall CPU usage info in net-snmp 5.1.2 on solaris 5.8. I didn't see hrProcessorLoad info from host-resource-mib. Is there any other MIB I could look into? Thanks (0 Replies)
Discussion started by: lamou23
0 Replies

3. IP Networking

Sending data from DELL OMSA SNMP and Custom SNMP MIB to same UDP port 161

Hi , Currently DELL OMSA SNMP sends data through default udp port 161.I want my custom SNMP MIB also to send data in the same udp port 161.Whether its possible.If yes where to configure .I tried starting my custom MIB in udp port 161,but it throws port already in use.Kindly guide. (0 Replies)
Discussion started by: prabakar4all
0 Replies

4. Red Hat

Sending data from DELL OMSA SNMP and Custom SNMP MIB to same UDP port 161

Hi , Currently DELL OMSA SNMP sends data through default udp port 161.I want my custom SNMP MIB also to send data in the same udp port 161.Whether its possible.If yes where to configure .I tried starting my custom MIB in udp port 161,but it throws port already in use.Kindly guide. (1 Reply)
Discussion started by: prabakar4all
1 Replies

5. IP Networking

SNMP Problem - SNMP not getting to the agent.

I am having a problem with an SNMP event, and I am not sure where I should be looking to solve this problem. Description: There is an SNMP event in our system that for one reason or another is not getting sent out as an email because it is never getting to our SNMP agent. I see where the... (0 Replies)
Discussion started by: broberts
0 Replies

6. Infrastructure Monitoring

SNMP traps to SNMP server

Dear Champs, I am new to unix, and need to configure linux server to send below traps to a SNMP server. Monitoring TRAP Disk Space Low Monitoring TRAP Memory Low Monitoring TRAP CPU high Monitoring TRAP Admin login/Logoff Please help me how to send this information to my SNMP server... (2 Replies)
Discussion started by: stavar
2 Replies

7. UNIX for Dummies Questions & Answers

Need to transfer all kernel logs (var/log/messages) to the snmp listener as snmp trap

i am working with embedded system -Dell DCS management sub system. my question is as below: currently we are using linux kernel 2.6.30 build and we have a kernel logs stored to the /var/log/messages path. now we have to transfer all this logs to the specified SNMP target as a part of SNMP... (4 Replies)
Discussion started by: vipul_prajapati
4 Replies
snmpdx(1M)						  System Administration Commands						snmpdx(1M)

NAME
snmpdx - Sun Solstice Enterprise Master Agent SYNOPSIS
/usr/lib/snmp/snmpdx [-hy] [-a filename] [-c config-dir] [-d debug-level] [-i filename] [ -m GROUP -m SPLIT] [-o filename] [-p port] [-r filename] DESCRIPTION
The Master Agent, snmpdx, is the main component of Solstice Enterprise Agent technology. It runs as a daemon process and listens to User Datagram Protocol (UDP) port 161 for SNMP requests. The Master Agent also opens another port to receive SNMP trap notifications from vari- ous subagents. These traps are forwarded to various managers, as determined by the configuration file. Upon invocation, snmpdx reads its various configuration files and takes appropriate actions by activating subagents, determining the sub- tree Object Identifier (OID) for various subagents, populating its own Management Information Bases (MIBs), and so forth. The Master Agent invokes subagents, registers subagents, sends requests to subagents, receives responses from subagents, and traps notifications from sub- agents. The Master Agent is invoked from a start-up script at boot time only if contents of the resource configuration file /etc/snmp/conf/snm- pdx.rsrc are non-trivial. OPTIONS
The following options are supported: -a filename Specify the full path of the access control file used by the Master Agent. The default access control file is /etc/snmp/conf/snmpdx.acl. -c config-dir Specify the full path of the directory containing the Master Agent configuration files. The default directory is /etc/snmp/conf. -d debug-level Debug. Levels from 0 to 4 are supported, giving various levels of debug information. The default is 0 which means no debug information is given. -h Help. Print the command line usage. -i filename Specify the full path of the enterprise-name OID map. This file contains the PID used by the Master Agent for recovery after a crash. It contains tuples of the UNIX process ID, port number, resource name, and agent name. The default file is /var/snmp/snmpdx.st. -m GROUP | -m SPLIT Specify the mode to use for forwarding of SNMP requests. GROUP Multiple variables can be included in each request from the Master Agent to the subagents. This results in, at mose, one send-request per agent. SPLIT Each variable in the incoming request results in one send-request to each subagent. The default is GROUP. -o filename Specify the full path of the file containing the tuple (enterprise-name, OID). For example, (Sun Microsystems, 1.3.1.6.1.4.32). The Master Agent uses this file as a base for look-up in the trap-filtering and forwarding process. The default file is /etc/snmp/conf/enterprises.oid. -p port Specify the port number. The default port number is 161. -r filename Specify the full path of the resource file to be used by the Master Agent. This file stores information about the subagents that the Master Agent invokes and manages. The default resource file is /etc/snmp/conf/snmpdx.rsrc. -y Set a recovery indicator to invoke the recovery module. The recovery process discovers which subagents in the pre- vious session are still active; those subagents not active are re-spawned by the Master Agent. FILES
/etc/snmp/conf/enterprises.oid Enterprise-name OID map /etc/snmp/conf/snmpdx.acl Access control file /etc/snmp/conf/snmpdx.rsrc Resource configuration file /var/snmp/snmpdx.st Master Agent status file /var/snmp/mib/snmpdx.mib Master Agent MIB file EXIT STATUS
The following error values are returned: 0 Successful completion. non-zero An error occurred. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWsasnm | +-----------------------------+-----------------------------+ SEE ALSO
snmpXdmid(1M), attributes(5) SunOS 5.10 17 Oct 2002 snmpdx(1M)
All times are GMT -4. The time now is 03:54 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy