I installed the free 60 day trial version of Nagiosxi and got that to work on VMware Player. Now I'm trying to install Nagios Core on my Windows 7 laptop. I am trying to test out this monitoring system for my office. I just need some help installing Core on my computer. I'm not sure if I need to install a Linux server on VMware player, and then install Core on the virtual server. Please give me a step by step process of how to get started. Please let me know what versions I need to install as well.
Thanks.
New Nagios Core user
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: New Nagios Core user
You will need a RHEL/ CENTOS / Ubuntu vm to follow these steps:
http://assets.nagios.com/downloads/nagi ... Source.pdf
http://assets.nagios.com/downloads/nagi ... Source.pdf
Re: New Nagios Core user
I am working through my first install as well and I am setting Nagios up on an Ubuntu 14.04 LTS server with Apache2. If you are doing the same and following the directions that were previously posted you will need to do a mkdir /etc/httpd and mkdir /etc/httpd/conf.d before running the make install-webconf step. That last step puts the nagios.conf file in the conf.d directory. What I did was copy the following from the nagios.conf file and put it in the apache2.conf file:
ScriptAlias /nagios/cgi-bin "/usr/local/nagios/sbin"
<Directory "/usr/local/nagios/sbin">
# SSLRequireSSL
Options ExecCGI
AllowOverride None
Order allow,deny
Allow from all
# Order deny,allow
# Deny from all
# Allow from 127.0.0.1
AuthName "Nagios Access"
AuthType Basic
AuthUserFile /usr/local/nagios/etc/htpasswd.users
Require valid-user
</Directory>
Alias /nagios "/usr/local/nagios/share"
<Directory "/usr/local/nagios/share">
# SSLRequireSSL
Options None
AllowOverride None
Order allow,deny
Allow from all
# Order deny,allow
# Deny from all
# Allow from 127.0.0.1
AuthName "Nagios Access"
AuthType Basic
AuthUserFile /usr/local/nagios/etc/htpasswd.users
Require valid-user
</Directory>
I did a "vi +150 /etc/apache2/apache2.conf" to get to the correct section. Good luck.
ScriptAlias /nagios/cgi-bin "/usr/local/nagios/sbin"
<Directory "/usr/local/nagios/sbin">
# SSLRequireSSL
Options ExecCGI
AllowOverride None
Order allow,deny
Allow from all
# Order deny,allow
# Deny from all
# Allow from 127.0.0.1
AuthName "Nagios Access"
AuthType Basic
AuthUserFile /usr/local/nagios/etc/htpasswd.users
Require valid-user
</Directory>
Alias /nagios "/usr/local/nagios/share"
<Directory "/usr/local/nagios/share">
# SSLRequireSSL
Options None
AllowOverride None
Order allow,deny
Allow from all
# Order deny,allow
# Deny from all
# Allow from 127.0.0.1
AuthName "Nagios Access"
AuthType Basic
AuthUserFile /usr/local/nagios/etc/htpasswd.users
Require valid-user
</Directory>
I did a "vi +150 /etc/apache2/apache2.conf" to get to the correct section. Good luck.
Re: New Nagios Core user
I tried to use Ubuntu and I could not get Core to work. Then I used CentOS and it took all the commands, but I still could not access Nagios through my browser.
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: New Nagios Core user
Just to verify joel, when you installed, you did so from source and based on the documentation that slansing provided? What kind of output were you getting when attempting to access the webserver?
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
Re: New Nagios Core user
Oops! Google Chrome could not connect to 192.168.198.131
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: New Nagios Core user
OK, that could be all sorts of things. Let's start from the top.
Code: Select all
service iptables status
iptables -L
service httpd statusNagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
Re: New Nagios Core user
Wait... Why is this being done on a live CD? Nothing done on a live CD will persist after a reboot. You need to install the operating system first instead of running it off the CD. This also does not look like a typical CentOS terminal, it looks more like Ubuntu.
And just as an aside, is there a reason you wanted to test Core when you have an XI system working? Core can be pretty Linux-heavy, so if you aren't entirely comfortable at a command line you might find XI easier to maintain.
And just as an aside, is there a reason you wanted to test Core when you have an XI system working? Core can be pretty Linux-heavy, so if you aren't entirely comfortable at a command line you might find XI easier to maintain.
Former Nagios employee
Re: New Nagios Core user
My boss wants to try the Opensource version, so I am trying to set it up.