How to extend NSL storage

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
itsupport_sgp
Posts: 19
Joined: Fri Aug 15, 2014 12:06 am

How to extend NSL storage

Post by itsupport_sgp »

Hi,

We are currently using the CentOS image for the NLS server and would like find out how we can extend the storage on it?
Thanks.
Last edited by itsupport_sgp on Wed Jan 21, 2015 2:35 am, edited 1 time in total.
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: How to extend

Post by Box293 »

Here is a manual on changing data paths for log server but it can be used to add space to the server.
The section "Adding Multiple Paths" describes that.

http://assets.nagios.com/downloads/nagi ... Server.pdf
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
itsupport_sgp
Posts: 19
Joined: Fri Aug 15, 2014 12:06 am

Re: How to extend

Post by itsupport_sgp »

Hi Box293,

Instead of adding multipath, we would like to extend the existing storage.
What Linux command should we be using?

Thanks.
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: How to extend

Post by Box293 »

This document, while it is specific to Nagios XI, will also work for Log Server:

http://assets.nagios.com/downloads/nagi ... M_Disk.pdf
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
itsupport_sgp
Posts: 19
Joined: Fri Aug 15, 2014 12:06 am

Re: How to extend

Post by itsupport_sgp »

Hi,

When we ran the pvresize, we hit this error.
'-bash: pvresize: command not found".

I think it is better to have a new disk expansion guide specially for Nagios Log Server.
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: How to extend

Post by Box293 »

Yes I agree about the documentation.

To get you working now it looks like we need to install the dependencies.

Code: Select all

yum -y install lvm2
Now try pvresize
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
itsupport_sgp
Posts: 19
Joined: Fri Aug 15, 2014 12:06 am

Re: How to extend nls storage

Post by itsupport_sgp »

Hi,

We follow the nagios xi document and hit the 'Error 17' error after the reboot.
Hence, I do not advise other users to do the same for your production instance.

I still have 20GB left, which should last us for 9 days before it runs out of space.
Hopefully, by then, we have a documentation for Nagios Log Server.

Thanks.
User avatar
eloyd
Cool Title Here
Posts: 2190
Joined: Thu Sep 27, 2012 9:14 am
Location: Rochester, NY
Contact:

Re: How to extend NSL storage

Post by eloyd »

You should always be able to extend LVM volumes assuming you have the disk space and that you formatted with ext3 or higher file systems. You said that you installed off the CentOS image - do you mean the VMware image that Nagios Enterprises provides?
Image
Eric Loyd • http://everwatch.global • 844.240.EVER • @EricLoyd
I'm a Nagios Fanatic! • Join our public Nagios Discord Server!
itsupport_sgp
Posts: 19
Joined: Fri Aug 15, 2014 12:06 am

Re: How to extend NSL storage

Post by itsupport_sgp »

eloyd wrote:You should always be able to extend LVM volumes assuming you have the disk space and that you formatted with ext3 or higher file systems. You said that you installed off the CentOS image - do you mean the VMware image that Nagios Enterprises provides?

hi, that is correct. We are using the VMware image.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: How to extend NSL storage

Post by scottwilkerson »

Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked