[libvirt-snmp][PATCH v3 0/3] Add SNMP trap/notification support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The third version with micro-version number change.

Finally, we have a proof-of-concept implementation of SNMP trap.
Two new files were first generated using mib2c then edited, so be
careful when re-generating them.

Destination of traps is defined in snmpd.conf (trap2sink), and to
receive them snmptrapd must be configured and up.

The idea behind is - create a thread in which we poll for domain
events. Once we receive event notification, we just fire up
trap sending.


Michal Privoznik (3):
  Add notification-type object to libvirt MIB
  Create functions to fill in and send notification packets.
  Add SNMP trap/notification support.

 INSTALL.1st                |    9 +-
 configure.ac               |    9 ++-
 libvirt-snmp.spec.in       |    5 +-
 src/LIBVIRT-MIB.txt        |    9 ++
 src/Makefile.am            |    3 +
 src/README.txt             |    9 +-
 src/libvirtNotifications.c |  121 +++++++++++++++++++
 src/libvirtNotifications.h |   33 +++++
 src/libvirtSnmp.c          |  277 +++++++++++++++++++++++++++++++++++++++++++-
 9 files changed, 464 insertions(+), 11 deletions(-)
 create mode 100644 src/libvirtNotifications.c
 create mode 100644 src/libvirtNotifications.h

-- 
1.7.4

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]