Re: How SNMP works?
Dave Shield <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
2009/2/9 malar vizhi <[email protected]>: > So, from where the snmp retriving all the details abt SQL?. Well, the first thing to realise is that SNMP is simply a *protocol*. An agreed way of asking questions, so that different programs (written by different people) can communicate successfully. So in essence, SNMP just provides a framework whereby your application (e.g. "snmpwalk") can talk to another program (the "SNMP agent"), and get some information back. The OIDs are the standard way of specifying what bits of information you are interested in. The role of the agent ("snmpd") is to accept these requests, work out what is being asked for (using its knowledge about what the various OIDs mean), and retrieve the relevant information from the local system. > Whether from sql sytem tables or MIB? *How* it retrieves this information will depend on what OIDs are being asked for. Some information will be held within the agent itself (e.g. how long it has been running, or the SNMP access control settings). Some information can be determined from the operating system (e.g. how much memory there is, or what programs are running). Some information will need to be retrieved by asking another program. I suspect that this last is the case here - the SNMP agent is probably talking to the SQL server process, to find out SQL-related information. But that will be specific to this particular set of tables, and this particular agent. A different agent, or a different set of OIDs, might retrieve the information in a different way. Note that the "MIB" doesn't really exist as such - it's simply the name for the definition of a particular set of OIDs. The actual information will typically be retrieved from system tables or the like. Dave ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ 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