?
Solved

Nagios Ubuntu and Web Interface for Config

Posted on 2011-09-23
9
Medium Priority
?
825 Views
Last Modified: 2012-05-12
I have a fresh install of Ubuntu Server 11.04 64-Bit.

I have install Nagios and it is running well.

I would Like to install Nagios Administrator ( I am use to it) but I am unsure how to do that. I really need step by step.

I am open to other Nagios Config generators.  But again I need step by step.
0
Comment
Question by:RickEpnet
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 4
9 Comments
 
LVL 2

Expert Comment

by:Roy
ID: 36592826
If you are use to of it then  you must be knowing how to generate the config file. please follow the instruction below change the language to "English" and then just configure your webserver to pick the app from directory. It should work for you.

http://www.voipphreak.ca/2008/10/06/nagios-administrator-change-language-default-to-english-instead-of-german/
0
 
LVL 14

Author Comment

by:RickEpnet
ID: 36592855
I have never installed it. How do I get the Nagios Administrator installed. Do I simple copy the folder over the /var/www/ folder? I am sure there is more to it than that?
0
 
LVL 14

Author Comment

by:RickEpnet
ID: 36707480
r00t4u Thank for posting but this just tells me how to get the software to default to English. That does not help me to install it
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 2

Accepted Solution

by:
Roy earned 2000 total points
ID: 36707828
Hello Rick, I have tried to intsall Nagios Administrator but unfortunately it uses a very old php setup which i don't have available with me. Though i did a little bit of RnD and found this website. this website is very straight forward and you can generate you Nagios Config very easily. Try out this:

http://www.linickx.com/nagios

There is one more entrprize level Nagios configuration genetator avaialble called NConf, which i used long back. here is the URL for that:

http://sourceforge.net/projects/nconf/files/nconf/1.2.6-0/nconf-1.2.6-0.tgz/download

it is also very straight forward.

1. download the package.
2. copy the folder in your /var/www/html directory and configure apache to read it.
3. it requires MySQL so you should have DB installed create a DB, DB user etc.
4. though once you open the browser INSTALL.php will run from the browser and it will guide you for the next steps.
5. Once you get the DB connection page make sure you create the DB and the DB user before you click next because it will try to connect with the given DB name and user.
6. After that it is pretty much next next next and you are done.

Though i will still recommend the first URL because your will the required config with doing any extra efforts..... Hope this helps
0
 
LVL 14

Author Comment

by:RickEpnet
ID: 36710879
I need a little more help with this line

copy the folder in your /var/www/html directory and configure apache to read it

What do I have to do to get apache to read it?
0
 
LVL 2

Expert Comment

by:Roy
ID: 36711126
rename the folder to nconf and copy the folder under /var/www/html and check the permissions.
go to your browser and type "http://localhost/nconf" if PHP is installed on the system and you will see the index.php page loading...
0
 
LVL 14

Author Comment

by:RickEpnet
ID: 36893283
nconf seem to be working except.
I have configured it all  seems to work except when I go to generate a config Nagios does not seem to change. It is like the config files are not reaching Nagios. I cannot see where they are going I did a find but it could not find the config files it says it generated. Any ideas?
0
 
LVL 2

Expert Comment

by:Roy
ID: 36893816
Once you added host and configured the checks. You need to click on "generate nagios configuration" it will generate the configuration. By default nagios configuration is saved in nconf/output/.

--Optional

You can change folder to nagios default configuration folder i.e /usr/local/nagios/etc/objects/.

You need to copy latest config from output folder to nagios actual configuration folder.

To make NConf work with Nagios add followings in /usr/local/nagios/etc/nagios.cfg
cfg_file=/usr/local/nagios/etc/objects/checkcommands.cfg
cfg_file=/usr/local/nagios/etc/objects/contactgroups.cfg
cfg_file=/usr/local/nagios/etc/objects/hosts.cfg
cfg_file=/usr/local/nagios/etc/objects/hostgroups.cfg
cfg_file=/usr/local/nagios/etc/objects/services.cfg
cfg_file=/usr/local/nagios/etc/objects/servicegroups.cfg
cfg_file=/usr/local/nagios/etc/objects/extended_service_info.cfg
0
 
LVL 14

Author Comment

by:RickEpnet
ID: 36896838
Ok I had to change the rights on the Output folder to get it to work. Now it make an archive with two folders.

One is Default Collector and the other is global which one have the new config files they both seem to have config files in them.
0

Featured Post

Get your Disaster Recovery as a Service basics

Disaster Recovery as a Service is one go-to solution that revolutionizes DR planning. Implementing DRaaS could be an efficient process, easily accessible to non-DR experts. Learn about monitoring, testing, executing failovers and failbacks to ensure a "healthy" DR environment.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
In this article we will learn how to backup a VMware farm using Nakivo Backup & Replication. In this tutorial we will install the software on a Windows 2012 R2 Server.
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…

719 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question