Snmp


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Snmp
# 1  
Old 01-06-2003
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  
Old 01-07-2003
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  
Old 01-08-2003
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).
Login or Register to Ask a Question

Previous Thread | Next Thread

7 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

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

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

6. Infrastructure Monitoring

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... (5 Replies)
Discussion started by: msarro
5 Replies

7. 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
Login or Register to Ask a Question