Nagios XI Installation
-
nagios_aws
- Posts: 76
- Joined: Wed May 18, 2016 3:34 am
Nagios XI Installation
Hello everyone,
i'm planning to install Nagios XI on RHEL 6.7 physical machine and I have some questions that Nagios salesmen cannot respond :
- Is it possible to install Nagios XI using a user coming from an Active Directory through a QAS client (http://software.dell.com/products/authe ... -services/) ? I mean the user that will be used to perform installation and be the owner of Nagios' files will come from AD.
- Is it possible to install Nagios XI on a dedicated filesystem ? this filesystem will be used for Nagios, MySQL and everything coming within the installation script.
- Can I change the variables in the xi-sys.cfg file ?
- I'm planning to have 100's clients to monitor, so how big will be the database ? approximately 100 GB ? more ? less ?
Thank you for your answers, I will glady respond to any questions to narrow my ideas !
i'm planning to install Nagios XI on RHEL 6.7 physical machine and I have some questions that Nagios salesmen cannot respond :
- Is it possible to install Nagios XI using a user coming from an Active Directory through a QAS client (http://software.dell.com/products/authe ... -services/) ? I mean the user that will be used to perform installation and be the owner of Nagios' files will come from AD.
- Is it possible to install Nagios XI on a dedicated filesystem ? this filesystem will be used for Nagios, MySQL and everything coming within the installation script.
- Can I change the variables in the xi-sys.cfg file ?
- I'm planning to have 100's clients to monitor, so how big will be the database ? approximately 100 GB ? more ? less ?
Thank you for your answers, I will glady respond to any questions to narrow my ideas !
Re: Nagios XI Installation
Possibly. Depends on what that user is permitted to do. I would recommend you use root.nagios_aws wrote:- Is it possible to install Nagios XI using a user coming from an Active Directory through a QAS client (http://software.dell.com/products/authe ... -services/) ? I mean the user that will be used to perform installation and be the owner of Nagios' files will come from AD.
I've seem symlinked installations work before. Done correctly it's possible.nagios_aws wrote:- Is it possible to install Nagios XI on a dedicated filesystem ? this filesystem will be used for Nagios, MySQL and everything coming within the installation script.
Can you elaborate more on why you want to do this? I can't promise your installation will still be supported or work if you do.nagios_aws wrote:- Can I change the variables in the xi-sys.cfg file ?
It depends. 100GB should get you a long ways.nagios_aws wrote:- I'm planning to have 100's clients to monitor, so how big will be the database ? approximately 100 GB ? more ? less ?
Former Nagios Employee.
me.
me.
-
nagios_aws
- Posts: 76
- Joined: Wed May 18, 2016 3:34 am
Re: Nagios XI Installation
Hello,
first, thank you for your quick answer.
To be clear about the first point, is it possible to use the user "nagios" created in AD with my installation ?
I've decided to make an standard install then move to /var/lib/MySQL to another filesystem and it seems to work flawlessly.
could you please confirm that this is the path for all the Nagios' database ?
by doing that, I don't have to modify the xi-sys.cfg file
first, thank you for your quick answer.
To be clear about the first point, is it possible to use the user "nagios" created in AD with my installation ?
I've decided to make an standard install then move to /var/lib/MySQL to another filesystem and it seems to work flawlessly.
could you please confirm that this is the path for all the Nagios' database ?
by doing that, I don't have to modify the xi-sys.cfg file
Re: Nagios XI Installation
What do you mean the user 'nagios' with your installation? We reccomend that the installation runs as root as @hsmith mentioned.
As for SQL, look at our offloading document - https://assets.nagios.com/downloads/nag ... Server.pdf
As for SQL, look at our offloading document - https://assets.nagios.com/downloads/nag ... Server.pdf
Former Nagios Employee
-
nagios_aws
- Posts: 76
- Joined: Wed May 18, 2016 3:34 am
Re: Nagios XI Installation
Hello,
thanks for your replies. OK for installation using root user.
During installation, the scripts create some users :
mysql
27:27:MySQL Server:/var/lib/mysql:/bin/bash
postgres
26:26:PostgreSQL Server:/var/lib/pgsql:/bin/bash
apache
48:48:Apache:/var/www:/sbin/nologin
nagios
501:501::/home/nagios:/bin/bash
ajaxterm
496:492:Ajaxterm user:/usr/share/ajaxterm:/sbin/nologin
If those users are already existing in AD, Nagios' installation will create them as local users, right (/etc/passwd file)?
Is it possible to change the UID of these users before installation ?
Or do I need to create the users, change their UID then proceed with installation ?
thank you
thanks for your replies. OK for installation using root user.
During installation, the scripts create some users :
mysql
postgres
apache
nagios
ajaxterm
If those users are already existing in AD, Nagios' installation will create them as local users, right (/etc/passwd file)?
Is it possible to change the UID of these users before installation ?
Or do I need to create the users, change their UID then proceed with installation ?
thank you
-
nagios_aws
- Posts: 76
- Joined: Wed May 18, 2016 3:34 am
Re: Nagios XI Installation
And another question :
I'm planning to install nagios' agent on a large range of servers (Windows server, red hat, AIX, solaris ...) and it seems that the installation script needs Internet to work.
Is there a way to install those agents without internet connection ?
Thank you
I'm planning to install nagios' agent on a large range of servers (Windows server, red hat, AIX, solaris ...) and it seems that the installation script needs Internet to work.
Is there a way to install those agents without internet connection ?
Thank you
Re: Nagios XI Installation
1. Nagios will create them as local users regardless. If you're looking to achieve something different, then you may need to alter the install script to fit your environment. Be aware, that changing around a lot of what Nagios depends on can mess things up down the road if it isn't done properly. This document might help for the SQL related part - https://assets.nagios.com/downloads/nag ... Server.pdfnagios_aws wrote: During installation, the scripts create some users :
mysql27:27:MySQL Server:/var/lib/mysql:/bin/bash
postgres26:26:PostgreSQL Server:/var/lib/pgsql:/bin/bash
apache48:48:Apache:/var/www:/sbin/nologin
nagios501:501::/home/nagios:/bin/bash
ajaxterm496:492:Ajaxterm user:/usr/share/ajaxterm:/sbin/nologin
1. If those users are already existing in AD, Nagios' installation will create them as local users, right (/etc/passwd file)?
2. Is it possible to change the UID of these users before installation ?
3. Or do I need to create the users, change their UID then proceed with installation ?
2. Are you referring to the UID in /etc/passwd?
3. Creating the users before could cause issues as Nagios won't be expecting that, I believe you'll need to change them after.
With this in mind, Nagios expects things to be a clean minimal install. Give it a try, and we can help work through the issues as they come (provided it's not becoming custom development).
Yes, I believe NSClient++ can be installed offline without issues. This is provided you have all the dependencies needed. The same goes for NRPE, see this document - https://assets.nagios.com/downloads/nag ... ios-XI.pdfI'm planning to install nagios' agent on a large range of servers (Windows server, red hat, AIX, solaris ...) and it seems that the installation script needs Internet to work.
Former Nagios Employee
-
nagios_aws
- Posts: 76
- Joined: Wed May 18, 2016 3:34 am
Re: Nagios XI Installation
Hello,
I have managed to solve all my questions with the client and now i'm trying to install the Nagios XI enterprise in a production environment on client's server.
And I'm stuck in the 0-repos script here, after lauching the fullinstall script, you can find the error in the attached file.
to solve this, as you suggest, I ran this : "yum-config-manager --enable rhel-6-server-optional-rpms", it gave me this :
Loaded plugins: product-id, refresh-packagekit, rhnplugin
This system is receiving updates from RHN Classic or RHN Satellite.
I have access to those repos and I can't get access to another single one due to client's policy:
client-extra-tools-6-update
licon-extra-tools-6-update
rhel-server-6-update
rhel-server-optional-6-update
Red Hat Enterprise Linux 6Server - x86_64 - Source
Red Hat Enterprise Linux 6Server Beta - x86_64 - Source
thirdparty-oracle-java-6-update
tools-rhel-server-6-update
So, as i saw in the 0-repos script, there is a test " if `yum repolist all | grep optional-rpms | grep -qF enabled`" about the optional-rpms.
Is it possible to get rid of this test and proceed with installation ?
Or maybe you can provide me a list of all packages installed by the Nagios XI script so I can install them by myself ?
Thank you
I have managed to solve all my questions with the client and now i'm trying to install the Nagios XI enterprise in a production environment on client's server.
And I'm stuck in the 0-repos script here, after lauching the fullinstall script, you can find the error in the attached file.
to solve this, as you suggest, I ran this : "yum-config-manager --enable rhel-6-server-optional-rpms", it gave me this :
Loaded plugins: product-id, refresh-packagekit, rhnplugin
This system is receiving updates from RHN Classic or RHN Satellite.
I have access to those repos and I can't get access to another single one due to client's policy:
client-extra-tools-6-update
licon-extra-tools-6-update
rhel-server-6-update
rhel-server-optional-6-update
Red Hat Enterprise Linux 6Server - x86_64 - Source
Red Hat Enterprise Linux 6Server Beta - x86_64 - Source
thirdparty-oracle-java-6-update
tools-rhel-server-6-update
So, as i saw in the 0-repos script, there is a test " if `yum repolist all | grep optional-rpms | grep -qF enabled`" about the optional-rpms.
Is it possible to get rid of this test and proceed with installation ?
Or maybe you can provide me a list of all packages installed by the Nagios XI script so I can install them by myself ?
Thank you
You do not have the required permissions to view the files attached to this post.
Re: Nagios XI Installation
Code: Select all
package centos-release is not installed
ERROR: Please add the 'Optional' channel to your Red Hat systems subscriptions.
You can do so in the Redhat Network web interface or using the rhn-channel command.
or, install the yum-utils package and use the following command:
yum-config-manager --enable rhel-6-server-optional-rpms
If that's going to be an issue, you may be able to do an offline install. However, it still has some dependencies as well. Take a look at this document -
https://assets.nagios.com/downloads/nag ... onment.pdf
Former Nagios Employee
-
nagios_aws
- Posts: 76
- Joined: Wed May 18, 2016 3:34 am
Re: Nagios XI Installation
Thank you for your quick reply.
Does the offline installation is now in a production state ?
if I have access to those packages on my server, can I proceed with installation without any errors?
thanks
Does the offline installation is now in a production state ?
if I have access to those packages on my server, can I proceed with installation without any errors?
Code: Select all
graphviz-gd.x86_64
perl-IO-stringy.noarch
perl-Parse-RecDescent.noarch
perl-XML-Simple.noarch
php-mbstring.x86_64
php-snmp.x86_64
rrdtool-perl.x86_64
rrdtool-python.x86_64