Re: doubts SNMP

"Dave Shield" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On 01/05/07, deciokos <[email protected]> wrote:
> I want to develop a system that will use NET-SNMP but I have some doubts:
>
> 1) How could I know is there is an agent in a network node?

  a)  By reading the documentation for that node,
       or talking to the administrator of it.

  b)  By trying to query it, and see if you get anything back.

> 2) NET-SNMP allows me to remotely install an agent in a node?

Depends on the node.
If it's a dedicated hardware box (e.g, a switch or router), then you'd probably
need to talk to the vendor about management capabilities.  It's not something
that you could easily add yourself.

If it's a general purpose computer, then it should be possible to install the
Net-SNMP agent (or some other SNMP agent).  Exactly how to do this
depends on the operating system that it's running.   We provide binaries
for some systems - some vendors include Net-SNMP as part of their
standard distributions anyway.  For other systems, you'd need to build
from source.


> 3) How can I know the names of the objects to be managed. Is there any
>    request transaction?

See the relevant MIB files, under the 'mibs' directory in the source tree.
There would typically be installed to /usr/share/snmp/mibs/ or similar.


> 4) What can I do in order to process the results of the commands
>    (GETSNMP,etc.) by a Java code. NET-SNMP records a file?

The easiest way would be to have the Java program generate the SNMP
requests itself.   There are several Java-based SNMP toolkits available.
See http://www.snmplink.org/Tools.html#Java%20SNMP%20Development
for a reasonably full list.

Dave

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.