Click to See Complete Forum and Search --> : Nagios installed, but...


smcracraft
09-25-2010, 12:33 PM
When I visit http://localhost/nagios, the client area of the web page says:

Not Found

The requested URL /nagios/< was not found on this server.

On the left, all the buttons with colors (mostly green) are there
but the text doesn't resolve to something human-readable, instead being:

Reports

* /avail.cgi" target="">Availability
* /trends.cgi" target="">Trends
* /history.cgi?host=all" target="">Alerts
o /history.cgi?host=all" target="">History
o /summary.cgi" target="">Summary
o /histogram.cgi" target="">Histogram
* /notifications.cgi?contact=all" target="">Notifications
* /showlog.cgi" target="">Event Log

Anyone have an idea what's happening?

Apache is up. Nagios is up.

smcracraft
09-25-2010, 12:39 PM
With Nagios up and Apache up, visiting

http://localhost/nagios/index.php

in client area of page it says:

Not Found

The requested URL /nagios/< was not found on this server.
Apache/2.2.3 (Red Hat) Server at localhost Port 80

Buttons down left show untranslated text:

Reports

* /avail.cgi" target="">Availability
* /trends.cgi" target="">Trends
* /history.cgi?host=all" target="">Alerts
o /history.cgi?host=all" target="">History
o /summary.cgi" target="">Summary
o /histogram.cgi" target="">Histogram
* /notifications.cgi?contact=all" target="">Notifications
* /showlog.cgi" target="">Event Log

Any ideas as to what is happening?

Perhaps my DocumentRoot is wrong in httpd.conf?

Please do not double post! I have the two threads merged. - saikee

JRefL5
09-27-2010, 04:36 PM
Did you run the "make install-webconf" step?
have you restarted Apache?

Check in your http config directory ( on Cent its /etc/httpd/conf[.d]/ ) for a nagios.conf file.

smcracraft
09-29-2010, 09:11 AM
Did you run the "make install-webconf" step?
have you restarted Apache?

Check in your http config directory ( on Cent its /etc/httpd/conf[.d]/ ) for a nagios.conf file.


Yes on make install-webconf.
Yes on restarted Apache
Yes on nagios.conf file.

If anyone wants to www.teamviewer.com to see the issue happening,
let me know at smcracraft@me.com

--Stuart

JRefL5
09-29-2010, 12:42 PM
Next question, have you setup your configs?
/usr/local/nagios/etc/nagios.cfg
/usr/local/nagios/etc/objects/*

What you have showing are on the bottom left with my system, which would indicate that the http/nagios.conf is being referenced, but you may not have anything configured to monitor.

smcracraft
09-29-2010, 11:35 PM
If possible, to save time, please send a tarball of a standard
/usr/local/etc/nagios.cfg and /usr/local/nagios/etc/objects/
so that it can simply be expanded and fill in for standard kinds
of monitoring (cpu, memory, processes, filesystem, etc.)

--Stuart
smcracraft@me.com

JRefL5
10-01-2010, 10:04 AM
If possible, to save time, please send a tarball of a standard
/usr/local/etc/nagios.cfg and /usr/local/nagios/etc/objects/
so that it can simply be expanded and fill in for standard kinds
of monitoring (cpu, memory, processes, filesystem, etc.)

--Stuart
smcracraft@me.com
The only configurations I have are the ones I have setup for my employers systems, so I can't provide them to you.
You might want to check the Docs at http://www.nagios.org/ or http://nagios.sourceforge.net/docs/nagios-3.pdf
In the pdf document look at the Object def. files and set one up for each system you want to monitor.
Setup to monitor the host system first get that working then add the NPRE configuration and installs for other systems.

smcracraft
10-01-2010, 01:56 PM
The only configurations I have are the ones I have setup for my employers systems, so I can't provide them to you.
Yon might want to check the Docs at http://www.nagios.org/ or http://nagios.sourceforge.net/docs/nagios-3.pdf
In the pdf document look at the Object def. files and set one up for each system you want to monitor.
Setup to monitor the host system first get that working then add the NPRE configuration and installs for other systems.

Odd that there isn't a script to just setup a standard configuration for
cpu, memory, disk, network, processes, filesystem mounts, and so on - a blanket default that can then be tweaked.