Commit 9dcfc08d authored by Miguel Martin's avatar Miguel Martin Committed by Michal Privoznik

Fix wrong object OIDs sent by libvirtMib_subagent

https://bugzilla.redhat.com/show_bug.cgi?id=1624839

The objects OIDs sent by the guest agent are:
libvirtGuestName.0
libvirtGuestUUID.1
libvirtGuestState.2
libvirtGuestRowStatus.3

The expected libvirtGuestNotif objects OID would be:
libvirtGuestName.0
libvirtGuestUUID.0
libvirtGuestState.0
libvirtGuestRowStatus.0
Signed-off-by: 's avatarMiguel Martin <mmartinv@redhat.com>
parent 60ad4fd3
......@@ -38,11 +38,11 @@ send_libvirtGuestNotif_trap(virDomainPtr dom)
const oid libvirtGuestName_oid[] =
{ 1, 3, 6, 1, 4, 1, 36957, 1, 1, 1, 2, 0 };
const oid libvirtGuestUUID_oid[] =
{ 1, 3, 6, 1, 4, 1, 36957, 1, 1, 1, 1, 1 };
{ 1, 3, 6, 1, 4, 1, 36957, 1, 1, 1, 1, 0 };
const oid libvirtGuestState_oid[] =
{ 1, 3, 6, 1, 4, 1, 36957, 1, 1, 1, 3, 2 };
{ 1, 3, 6, 1, 4, 1, 36957, 1, 1, 1, 3, 0 };
const oid libvirtGuestRowStatus_oid[] =
{ 1, 3, 6, 1, 4, 1, 36957, 1, 1, 1, 9, 3 };
{ 1, 3, 6, 1, 4, 1, 36957, 1, 1, 1, 9, 0 };
const char *domName = virDomainGetName(dom);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment