The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
Google UNIX.COM


UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert.

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 04:43 AM
Snmp capeme UNIX for Dummies Questions & Answers 2 04-12-2007 06:31 AM
Want to set up SNMP with MIB on SCO OS5 herd5cusa SCO 0 05-19-2006 02:01 PM
Snmp stancwong UNIX for Dummies Questions & Answers 4 05-02-2006 02:55 AM
SNMP in HP-UX. Nguyen Quang Vu HP-UX 1 04-15-2005 08:02 AM

Closed Thread
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-06-2003
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 07:42 AM.
Forum Sponsor
  #2 (permalink)  
Old 01-07-2003
RTM's Avatar
RTM RTM is offline
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
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).
Google UNIX.COM
Closed Thread

Thread Tools
Display Modes




All times are GMT -7. The time now is 01:26 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0