Nagios XI vm install guide for Redhat

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
gabrotherton
Posts: 57
Joined: Wed Dec 03, 2014 11:16 am

Nagios XI vm install guide for Redhat

Post 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
jdalrymple
Skynet Drone
Posts: 2620
Joined: Wed Feb 11, 2015 1:56 pm

Re: Nagios XI vm install guide for Redhat

Post 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
gabrotherton
Posts: 57
Joined: Wed Dec 03, 2014 11:16 am

Re: Nagios XI vm install guide for Redhat

Post 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.
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: Nagios XI vm install guide for Redhat

Post by hsmith »

Let us know if you need any help.

Thanks!
Former Nagios Employee.
me.
gabrotherton
Posts: 57
Joined: Wed Dec 03, 2014 11:16 am

Re: Nagios XI vm install guide for Redhat

Post 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.
jdalrymple
Skynet Drone
Posts: 2620
Joined: Wed Feb 11, 2015 1:56 pm

Re: Nagios XI vm install guide for Redhat

Post 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?
gabrotherton
Posts: 57
Joined: Wed Dec 03, 2014 11:16 am

Re: Nagios XI vm install guide for Redhat

Post by gabrotherton »

I'll convert the vmdk to qcow2 and see what happens.
jdalrymple
Skynet Drone
Posts: 2620
Joined: Wed Feb 11, 2015 1:56 pm

Re: Nagios XI vm install guide for Redhat

Post 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.
gabrotherton
Posts: 57
Joined: Wed Dec 03, 2014 11:16 am

Re: Nagios XI vm install guide for Redhat

Post 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.
jdalrymple
Skynet Drone
Posts: 2620
Joined: Wed Feb 11, 2015 1:56 pm

Re: Nagios XI vm install guide for Redhat

Post 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>
Locked