The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
.
google unix.com



UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
snmp manoj.solaris SUN Solaris 1 09-20-2007 07:43 AM
Snmp capeme UNIX for Dummies Questions & Answers 2 04-12-2007 09:31 AM
Want to set up SNMP with MIB on SCO OS5 herd5cusa SCO 0 05-19-2006 05:01 PM
Snmp stancwong UNIX for Dummies Questions & Answers 4 05-02-2006 05:55 AM
SNMP in HP-UX. Nguyen Quang Vu HP-UX 1 04-15-2005 11:02 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 01-06-2003
S.Vishwanath S.Vishwanath is offline
Registered User
  
 

Join Date: Jan 2001
Posts: 48
Snmp

Hi I have doubt/confusion on the SNMP Agents.

We know that these days use of SNMP is growing more.
Most of the venders who manufacture computer based accessories provide SNMP support with thier Unique MIB
for Managing/Monitoring their Hardware.
So, through the use of Management software, systems
containing SNMP Agents can be Managed Remotely & easily.

Now, my question is how many SNMP agents can a system has.
Because, lets accept that every hardware vender provides SNMP agent/support for monitoring his hardware.

Viz. Comapaq Storage Array
HP-Printer
Cisco router


So, if we install Unix & configure Network we get SNMP Agent Installed. Simillarly when we install/attach New Hardwares even they provide their SNMP agents for thier hardware support.
So, if a Unix box has n-number of Hardware then there will be n-number agents. If so, then how will the SNMP specific port 602 is used by all the agents.

If the above details info is wrong then how is the SNMP port 602 is utilized & how different MIB will be accessed by a single SNMP agent. I mean, how the SNMP agent will come to know that
there exist a MIB for a specific hardware. What actually will be the configuration(SNMP Settings) on the machine containing SNMP agent with multible MIB being supporting for unique Hardware Vender. I mean, How to say to SNMP agent that there exists some sets of MIBs relevent to some sets of Hardware.
So, if there is some request then it can check the appropriate MIB
for information.

Can, some body clarify my doubts, & if you can provide more info...that would be great.

Thaks in Advance.

Last edited by S.Vishwanath; 01-06-2003 at 11:42 AM..
  #2 (permalink)  
Old 01-07-2003
RTM's Avatar
RTM RTM is offline Forum Advisor  
Hog Hunter
  
 

Join Date: Apr 2002
Location: On my motorcycle
Posts: 3,039
Here is a start...
RFC 1157

For something a little easier to read: SNMP for Dummies - a WinWord Doc or Word Doc...when I went to first look at it I got an exception error but then Word opened up with no problem.
  #3 (permalink)  
Old 01-08-2003
RTM's Avatar
RTM RTM is offline Forum Advisor  
Hog Hunter
  
 

Join Date: Apr 2002
Location: On my motorcycle
Posts: 3,039
Also read your man page for snmpd (if available). From the man page for HP-UX:
Quote:
The Master SNMP Agent (/usr/sbin/snmpdm) and the collection of
subAgents (/usr/sbin/mib2agt, /usr/sbin/hp_unixagt, ...) that would
attach to the Master Agent collectively form a single SNMP Agent. The
SNMP Agent accepts SNMP Get, GetNext and Set requests from an SNMP
Manager which cause it to read or write the Management Information
Base (MIB). The MIB objects are instrumented by the subAgents.

The Master Agent can bind to three kinds of subAgents, namely,

+ Loosely coupled subAgents or separate process subAgents which
open IPC communication channels to communicate with the Master
Agent,

+ Shared library subAgents which are dynamically linkable
libraries,

+ Remotely coupled subagents which could run on a different
processor or operating system and communicate with the Master
Agent using TCP.
And from Solaris:
Quote:
The Master SNMP Agent (snmpdm) and the collection of
subAgents (/usr/lib/libSa...sl and /usr/sbin/*agt) that have
attached to the Master Agent collectively form a single SNMP
Agent. The SNMP Agent accepts SNMP Get, GetNext and Set
requests from an SNMP Manager which cause it to read or
write the Management Information Base (MIB). The MIB
objects are instrumented by the subAgents. The Master Agent
can bind to separate process subAgents and to shared library
subAgents. The subagt_ld command is used to bind a shared
library subAgent to the Master Agent process long after the
Master Agent begins running. The subagt_unld is used to
remove or unload a shared library subAgent from the Master
Agent process.
Also noted that both of these show port 161 is the default port and only one snmpd can run on one port - I would believe you could then start another snmpd on another port, such as the one you mentioned.

So, even if you have only one snmpdm (Master SNMP agent) running, it should coordinate all the sub-agents that have been installed on the system. If the MIBs are installed correctly, it would have no problem 'knowing' about all the different hardware.

If you haven't gotten all the answers to your questions or have more, please post back (and include what OS you are using as that will help in getting more specific answers).
Closed Thread

Bookmarks

Tags
port, snmp, snmp port

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 06:08 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0