SNMP Agent API PowerPoint PPT Presentation

presentation player overlay
About This Presentation
Transcript and Presenter's Notes

Title: SNMP Agent API


1
SNMP Agent API
  • What is SNMP for?
  • How do I convert the MIBs?

2
SNMP Agent API
  • WHAT IT IS
  • The Simple Network Management Protocol (SNMP) is
    used to communicate management and diagnostic
    information between network management stations
    and network devices.
  • WHAT IT DOES
  • SNMP works by sending messages, called protocol
    data units (PDUs), to different parts of a
    network. SNMP-compliant devices, called agents,
    store data about themselves in Management
    Information Bases (MIBs) and return this data to
    the SNMP requesters.
  • The API supports SNMP version 1 (RFC 1157.),
    which reports whether a device is functioning
    properly.

3
Example API call
  • snmpd_load Function
  • include ltsnmpapi.hgt
  • Usage
  • int snmpd_load (void)
  • Example
  • int retval snmpd_load ()
  • Return value
  • A return of 0 indicates that the agent was
    started successfully.
  • A return of -1 indicates an error or timeout was
    encountered,
  • and the agent was not started.
Write a Comment
User Comments (0)
About PowerShow.com