LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-15-2010, 08:57 PM   #1
chuafengru
LQ Newbie
 
Registered: Jun 2010
Posts: 28

Rep: Reputation: 0
Nagios "Page Cannot Be Found" Problem


Hi Guys,

i have a problem with nagios. I can only click on the Home & Documentation on the side.php. However, i wasnt able to click on anything below it, like current status. The buttons under the Current Status Tab are also not displaying correctly. They are showing codes instead of the button. When i click on it. it will display page cannot be found.

A check on the apache2 log file shows that the "file does not exists: /usr/local/nagios/share<"

I have done a check on my scriptAlias. Despite that, it still didnt work.

Yes, im using a stable release of Nagios, on 3.2.1 so it shouldnt cause any problems.

Any ideas?

Rgds,
FR
 
Old 09-15-2010, 10:03 PM   #2
quanta
Member
 
Registered: Aug 2007
Location: Vietnam
Distribution: RedHat based, Debian based, Slackware, Gentoo
Posts: 724

Rep: Reputation: 101Reputation: 101
Did you install PHP? Post your Nagios configuration file for Apache (/etc/httpd/conf.d/nagios.conf if you're using Red Hat based)?
 
1 members found this post helpful.
Old 09-20-2010, 02:58 AM   #3
chuafengru
LQ Newbie
 
Registered: Jun 2010
Posts: 28

Original Poster
Rep: Reputation: 0
Multiple servers, same result

After installing PHP, i created some plugins for it. and i realized one thing is that the result of these services like checking the available memory, and the default check_swap script reports the exact values through out all the servers.

So it means that nagios are executing the scripts in its localhost instead of these servers, and simply just put in the values.

Do i need to use add-ons like NRPE or NSCA?
 
Old 09-20-2010, 04:27 AM   #4
quanta
Member
 
Registered: Aug 2007
Location: Vietnam
Distribution: RedHat based, Debian based, Slackware, Gentoo
Posts: 724

Rep: Reputation: 101Reputation: 101
Quote:
Originally Posted by chuafengru View Post
Do i need to use add-ons like NRPE or NSCA?
You have 2 options: http://nagios.sourceforge.net/docs/3...ing-linux.html
 
Old 09-23-2010, 08:48 PM   #5
chuafengru
LQ Newbie
 
Registered: Jun 2010
Posts: 28

Original Poster
Rep: Reputation: 0
$servicelongoutput$

Okay, thanks for the feedback. Nagios is up and working. Instead of opening another thread, i will post another qn here.

I tried using $SERVICELONGOUTPUT$, it seems that im doing it the wrong way. Any idea, how to do it correctly? I tried google but those documentations aren't really friendly enough.

Regards,
FR
 
Old 09-23-2010, 09:05 PM   #6
kirukan
Senior Member
 
Registered: Jun 2008
Location: Eelam
Distribution: Redhat, Solaris, Suse
Posts: 1,278

Rep: Reputation: 148Reputation: 148
There is a well documented guide for installation and configuration in nagios official website, i think its more than enough to setup Nagios
 
Old 09-23-2010, 10:36 PM   #7
quanta
Member
 
Registered: Aug 2007
Location: Vietnam
Distribution: RedHat based, Debian based, Slackware, Gentoo
Posts: 724

Rep: Reputation: 101Reputation: 101
Quote:
Originally Posted by chuafengru View Post
I tried using $SERVICELONGOUTPUT$, it seems that im doing it the wrong way. Any idea, how to do it correctly?
Where did you try it? Post your configuration section?
 
Old 09-23-2010, 11:55 PM   #8
quanta
Member
 
Registered: Aug 2007
Location: Vietnam
Distribution: RedHat based, Debian based, Slackware, Gentoo
Posts: 724

Rep: Reputation: 101Reputation: 101
Hi chuafengru,

I have tried to change the $SERVICEOUTPUT$ to $SERVICELONGOUTPUT$ in notify-service-by-email section. Checked the configuration file with no error but it returns only '$' in Additional info. I think it is deprecated.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
automount 5.0.3 with auto.smb script yields "key "<name>" not found in map" rbergen Linux - Software 0 01-01-2010 12:27 PM
Does "mtd write" clear/erase the end of the mtd block by default? (no man page found) maddes.b Linux - Kernel 0 08-17-2009 03:07 AM
LFS6.3 - Ch5.4.1 "/bin/sh sort not found" error at "make bootstrap" ubyt3m3 Linux From Scratch 2 06-23-2008 12:09 AM
Standard commands give "-bash: open: command not found" even in "su -" and "su root" mibo12 Linux - General 4 11-11-2007 10:18 PM
Suggestion: for "subscribed threads" & "top of page" buttons Old_Fogie LQ Suggestions & Feedback 7 07-10-2006 05:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:07 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration