Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <blockquote> <p>Do the agents store its state on the device itself?</p> </blockquote> <p>In the most common scenario the SNMP agent is running on the device which monitors. In this case the agent has no other option and any state information must be stored on the device. SNMP agent just reads or sets these information.</p> <blockquote> <p>If there is a trap set on an agent, can you do a poll on the same OID to get the same information?</p> </blockquote> <p>I think you should be able to do that - for example SNMPv2 trap IF-MIB::linkDown contains three varbinds - IF-MIB::ifIndex, IF-MIB::ifAdminStatus and IF-MIB::ifOperStatus. In this particular case the ifIndex specifies the row in the ifTable and other two can be polled.</p> <blockquote> <p>Without using a mib file, is there a way to query a device for all of its information at once?</p> </blockquote> <p>Yes, use <a href="http://net-snmp.sourceforge.net/wiki/index.php/TUT:snmpwalk" rel="noreferrer"><code>snmp-walk</code></a> from the net-snmp package or any other snmp tool that can use get-next to poll the data. </p> <blockquote> <p>If not, and you're writing your own customized manager, do you have to know the structure of what it reports up front?</p> </blockquote> <p>You do need to know what the device MIB contains - without such information you get only numeric OID and value, which is meaningless both for developers and users. In case of more complicated MIBs you need to know quite a lot of details about the managed device. MIB file hardly ever contains enough information.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload