Sponsored Content
Full Discussion: What is Engine ID?
Operating Systems Solaris What is Engine ID? Post 302208856 by incredible on Wednesday 25th of June 2008 06:38:39 AM
Old 06-25-2008
Sun Management Center agent logs often have log entries that contain SNMP Engine IDs. The engine ID would look like

0:0:4:da:40:81:9e:e5:df:0:a1:0

The way to determine the target's IP address from engine id is as follows. Take the 6th, 7th, 8th and 9th fields of the engine id. From the above example, take 0:0:4:da:40:81:9e:e5:df:0:a1:0. This string 81:9e:e5:df represents the IPv4 address of the SNMP entity, e.g. 129.158.229.223. Take each field as a Hex number and compute the corresponding number for the IPv4 address.

The next two fields represent the port number of the SNMP entity. Take 0:a1 from 0:0:4:da:40:81:9e:e5:df:0:a1:0 and compute the numeric port number, treating the entire number as a (max) 4 digit Hex number. In this case, this amouts to 161, the standard SNMP agent port number.
 

6 More Discussions You Might Find Interesting

1. HP-UX

Where can i get Zend Engine from HP-UX ?

Where can i get Zend Engine for HP-UX ? anyone konws? help! (0 Replies)
Discussion started by: longware
0 Replies

2. UNIX and Linux Applications

What Database engine would you recommend?

Thank you for choosing this thread to read. I am about to develop a heavy set financial system. My client wants to build his own in-house. Due to my LAMP/BSD mind set, I know MySQL, but no other database (never got the chance to see others). I do not know if MySQL can handle 2000 to 5000 records... (3 Replies)
Discussion started by: sad_angle
3 Replies

3. Shell Programming and Scripting

Search Engine

How do you write a search engline to search offline scripts? (3 Replies)
Discussion started by: hawaiifiver
3 Replies

4. Programming

Search Engine in C

Hello everybody, I need help with this, I need to design a CGI search engine in C but i have no idea on what or how to do it. Do i have to open all the html files one by one and search for the given strings? i think this process will be slow, and will take too much of the server processing... (11 Replies)
Discussion started by: semash!
11 Replies

5. Web Development

Search Engine

Hey guys. I have a quick question. My friends and I are working on a search engine project that will hopefully be up and running by December of 2011. Here's my concern. What programs should I use to create the search engine. Thanks guys! :b: (9 Replies)
Discussion started by: OussenkoSearch
9 Replies

6. Shell Programming and Scripting

About search engine in unix

Hello, How to create a search engine in unix using commands?...Atleast guidelines to craete this search engine...Thank you in advance. (10 Replies)
Discussion started by: Sindhu R
10 Replies
snmpstatus(1)							   User Commands						     snmpstatus(1)

NAME
snmpstatus - retrieve important information from a network entity SYNOPSIS
/usr/sfw/bin/snmpstatus [common options] [-Cf] agent DESCRIPTION
The snmpstatus command is an SNMP application that retrieves several important statistics from a network entity. The agent operand identifies a target SNMP agent, which is instrumented to monitor specified objects. At its simplest, the agent specifica- tion consists of a host name or an IPv4 address. In this situation, the command attempts communication with the agent using UDP/IPv4 to port 161 of the target host. See the snmpcmd(1M) manual page for a full list of the possible formats for agent. snmpstatus returns the following information: o the IP address of the entity o a textual description of the entity (sysDescr.0) o the uptime of the entity's SNMP agent (sysUpTime.0) o the sum of received packets on all interfaces (ifInUCastPkts.* + ifInNUCastPkts.*) o the sum of transmitted packets on all interfaces (ifOutUCastPkts.* + ifOutNUCastPkts.*) o the number of IP input packets (ipInReceives.0) o the number of IP output packets (ipOutRequests.0) For example, the command: % snmpstatus -c public -v 1 netdev-kbox.cc.cmu.edu produces output similar to the following: [128.2.56.220]=>[Kinetics FastPath2] Up: 1 day, 4:43:31 Interfaces: 1, Recv/Trans packets: 262874/39867 | IP: 31603/15805 snmpstatus also checks the operational status of all interfaces (ifOperStatus.*). If it finds any that are not running, it reports themin a manner similar to this: 2 interfaces are down! If the network entity has an error processing the request packet, an error packet is returned and a message is displayed, helping to pin- point the way in which the request was malformed. snmpstatus will attempt to reform its request to eliminate the malformed variable (unless the -Cf option is given, see below), but this variable will then be missing from the displayed data. OPTIONS
The following options are supported: common options See snmpcmd(1M) for a list of possible values for common options, as well as their descriptions. -Cf By default, snmpstatus will try to fix errors returned by the agent and retry a request. With this option, the command will display the data that it can. snmpstatus will not try to fix errors and an error will cause the command to terminate. EXIT STATUS
0 Successful completion. 1 A usage syntax error. A usage message is displayed. Also used for timeout errors. 2 An error occurred while executing the command. An error message is displayed. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWsmcmd | +-----------------------------+-----------------------------+ |Interface Stability |External | +-----------------------------+-----------------------------+ SEE ALSO
snmpcmd(1M), snmpget(1M), attributes(5) SunOS 5.10 20 Jan 2004 snmpstatus(1)
All times are GMT -4. The time now is 11:45 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy