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
SNMPDF(1)							     Net-SNMP								 SNMPDF(1)

NAME
snmpdf - display disk space usage on a network entity via SNMP SYNOPSIS
snmpdf [COMMON OPTIONS] [-Cu] AGENT DESCRIPTION
snmpdf is simply a networked verison of the typical df command. It checks the disk space on the remote machine by examining the HOST- RESOURCES-MIB's hrStorageTable or the UCD-SNMP-MIB's dskTable. By default, the hrStorageTable is preferred as it typically contains more information. However, the -Cu argument can be passed to snmpdf to force the usage of the dskTable. AGENT identifies a target SNMP agent, which is instrumented to monitor the gievn objects. At its simplest, the AGENT specification will consist of a hostname or an IPv4 address. In this situation, the command will attempt communication with the agent, using UDP/IPv4 to port 161 of the given target host. See the snmpcmd(1) manual page for a full list of the possible formats for AGENT. See the snmpd.conf(5) manual page on setting up the dskTable using the disk directive in the snmpd.conf file. OPTIONS
COMMON OPTIONS Please see snmpcmd(1) for a list of possible values for COMMON OPTIONS as well as their descriptions. -Cu Forces the command to use dskTable in mib UCD-SNMP-MIB instead of the default to determine the storage information. Generally, the default use of hrStorageTable in mib HOST-RESOURCES-MIB is preferred because it typically contains more information. EXAMPLES
% snmpdf -v 2c -c public localhost Description size (kB) Used Available Used% / 7524587 2186910 5337677 29% /proc 0 0 0 0% /etc/mnttab 0 0 0 0% /var/run 1223088 32 1223056 0% /tmp 1289904 66848 1223056 5% /cache 124330 2416 121914 1% /vol 0 0 0 0% Real Memory 524288 447456 76832 85% Swap Space 1420296 195192 1225104 13% SEE ALSO
snmpd.conf(5), snmp.conf(5) V5.6 25 Jul 2003 SNMPDF(1)
All times are GMT -4. The time now is 07:34 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy