[libvirt] [snmp PATCH 0/2] Fix build and use proper OID

Michael Corcoran posted 2 patches 6 years, 1 month ago
Only 0 patches received!
src/LIBVIRT-MIB.txt                                |  7 ++++---
src/defaults/node-libvirtGuestCpuTime.m2d          |  2 +-
src/libvirtGuestTable-README-libvirtGuestTable.txt | 20 ++++++++++----------
src/libvirtGuestTable.h                            |  6 +++---
src/libvirtGuestTable_data_access.c                |  4 ++--
src/libvirtGuestTable_data_access.h                |  2 +-
src/libvirtGuestTable_data_get.c                   | 20 ++++++++++----------
src/libvirtGuestTable_data_get.h                   |  4 ++--
src/libvirtGuestTable_data_set.c                   |  6 +++---
src/libvirtGuestTable_data_set.h                   |  6 +++---
src/libvirtGuestTable_interface.c                  | 10 +++++-----
src/libvirtGuestTable_oids.h                       |  2 +-
src/libvirtNotifications.c                         | 10 +++++-----
13 files changed, 50 insertions(+), 49 deletions(-)
[libvirt] [snmp PATCH 0/2] Fix build and use proper OID
Posted by Michael Corcoran 6 years, 1 month ago
The first patch fixes the build against net-snmp newer than 2016ish, where they removed their U64 typedef from headers to avoid a Perl incompability.

Second patch replaces the placeholder organisation OID (12345) with the IANA registered libvirt OID (36957).

I have tested these patches lightly on my local machine, but only get. My goal is purely monitoring.

Thanks to Michal Privoznik for his advice.

Michael Corcoran (2):
  Replace U64 with struct counter64 to fix build
  Replace placeholder org OID with libvirt OID

 src/LIBVIRT-MIB.txt                                |  7 ++++---
 src/defaults/node-libvirtGuestCpuTime.m2d          |  2 +-
 src/libvirtGuestTable-README-libvirtGuestTable.txt | 20 ++++++++++----------
 src/libvirtGuestTable.h                            |  6 +++---
 src/libvirtGuestTable_data_access.c                |  4 ++--
 src/libvirtGuestTable_data_access.h                |  2 +-
 src/libvirtGuestTable_data_get.c                   | 20 ++++++++++----------
 src/libvirtGuestTable_data_get.h                   |  4 ++--
 src/libvirtGuestTable_data_set.c                   |  6 +++---
 src/libvirtGuestTable_data_set.h                   |  6 +++---
 src/libvirtGuestTable_interface.c                  | 10 +++++-----
 src/libvirtGuestTable_oids.h                       |  2 +-
 src/libvirtNotifications.c                         | 10 +++++-----
 13 files changed, 50 insertions(+), 49 deletions(-)


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