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

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

 



The second version, without formatting stuff.

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                    |    9 +-
 configure.ac               |    7 +
 src/LIBVIRT-MIB.txt        |    9 ++
 src/Makefile.am            |    3 +
 src/README.txt             |    9 +-
 src/libvirtNotifications.c |  109 +++++++++++++++++
 src/libvirtNotifications.h |   21 ++++
 src/libvirtSnmp.c          |  277 +++++++++++++++++++++++++++++++++++++++++++-
 8 files changed, 435 insertions(+), 9 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]