Page 1 of 3
Nagios XI vm install guide for Redhat
Posted: Mon Sep 14, 2015 8:58 am
by gabrotherton
Good morning,
I am looking for the document to install Nagios XI on a Redhat 6.6 VM. I have downloaded the .ova file to the server which will host the VM. However I have no idea how to tell Redhat to use the .ova file as the guest OS.
Thanks,
Gene
Re: Nagios XI vm install guide for Redhat
Posted: Mon Sep 14, 2015 8:59 am
by jdalrymple
Presumably what you mean to ask is how to use the NagiosXI VM installation with a KVM hypervisor?
http://edoceo.com/notabene/ova-to-vmdk-to-qcow2
Re: Nagios XI vm install guide for Redhat
Posted: Mon Sep 14, 2015 9:26 am
by gabrotherton
Yes, that is what I meant to ask
I'll get started with this and post questions if I run into something weird.
Re: Nagios XI vm install guide for Redhat
Posted: Mon Sep 14, 2015 1:33 pm
by hsmith
Let us know if you need any help.
Thanks!
Re: Nagios XI vm install guide for Redhat
Posted: Tue Sep 15, 2015 1:57 pm
by gabrotherton
The .ova extracted well enough and I found the disk image file. I started the Red Hat VM manager and selected the KVM image as the source. When I started the VM I got an error "No boot device found."
Is the .kvm file the entire VM image? Or do I need to install Red Hat as the OS first?
I'm confused as to what the next steps are after extracting the files from the .ova. Can I run the .kvm file on Red Hat's vm hypervisor?
Thanks.
Re: Nagios XI vm install guide for Redhat
Posted: Tue Sep 15, 2015 2:11 pm
by jdalrymple
Having no experience with RHEV, what I can tell you is that in order to use the OVA on one of my KVM boxes I'd do the following (high level):
extract the vmdk from the ova
convert the vmdk to qcow2 using qemu image conversion tool (you could use the VMDK if you prefer)
create a new domain and attach the qcow2 disk image to that machine as the boot drive
That's it
I suspect that when you try to create a domain on RHEV it's a lot like creating a VM in VMware and it expects something like a vmx file (probably an xml file in your case) that defines the domain. You need to define the domain as you see fit and simply attach the disk in this environment.
Make any sense?
Re: Nagios XI vm install guide for Redhat
Posted: Mon Sep 21, 2015 12:57 pm
by gabrotherton
I'll convert the vmdk to qcow2 and see what happens.
Re: Nagios XI vm install guide for Redhat
Posted: Mon Sep 21, 2015 1:10 pm
by jdalrymple
Like I said - that's not explicitly necessary. Most modern builds of qemu will boot a .vmdk disk image.
Nonetheless let us know if you have further issue.
Re: Nagios XI vm install guide for Redhat
Posted: Mon Sep 21, 2015 3:24 pm
by gabrotherton
I extracted the .ova file and found the file:
nagiosxi-2014r2.7-64-disk1.vmdk
which I believed to be the bootable image containing Nagios. Is this correct? My RHEL virtual manager says it cannot find a boot disk.
I believe there are more steps I need to take with this file. Or maybe I'm not setting up the virtual manager correctly.
Re: Nagios XI vm install guide for Redhat
Posted: Mon Sep 21, 2015 4:36 pm
by jdalrymple
That most definitely is a bootable disk. It's not like an iso or anything, it is the system drive (e.g. "C drive") of your Nagios installation. Hundreds of people boot that disk image every day.
Are you most certainly configuring it as your root disk. Something like this:
Code: Select all
<disk type='file' device='disk'>
<driver name='qemu' type='vmdk' cache='none'/>
<source file='/var/lib/libvirt/images/NFS/nagiosxi-2014r2.7-64-disk1.vmdk'/>
<backingStore/>
<target dev='hda' bus='ide'/>
<alias name='ide0-0-0'/>
<address type='drive' controller='0' bus='0' target='0' unit='0'/>
</disk>