Results 1 to 4 of 4
  1. #1

    Default Nagios on Linux VPS

    Hi,

    A nice quiet weekend coming up, so I thought I would try and install Nagios on my Linux VPS.

    Anyone here had any luck with it ? I downloaded the latest version and followed the centos 5 install guide - the web-install failed, so I did that manually (adding into httpd.conf), restarted apache and started nagios....

    I followed the usual installation instructions make .... etc.
    I get asked for my nagiosadmin password ok - so htaccess if working..

    The Nagios verification from the comman dline is ok, no errors

    Here is the problem -

    http://myhost/nagois/ results in the 500 internal server - lots of google links but no solution that I found.
    http://myhost/nagios/cgi/bin/status.cgi - no problems, displays status etc fine
    http://myhost/nagios/index.html (when I touched index.html) - fine - blank page

    So, basically, I cannot get into the standard admin interface, but can run the cgis directly.

    SELinux is disabled

    Any ideas ?


    Cheers

    Andy
    Last edited by andymc; 23-07-2011 at 09:45. Reason: More info

  2. #2

    Default

    Hi,

    I got it workign by changing my php 5 handler from SuPHP to CGI

    Anyone know what the security implications/problems of doing that are ?

    Cheers

    Andy

  3. #3

    Default

    Hi,

    I think I solved it

    I reverted my PHP handler back to using SuPHP as I wasnt happy changing it to cgi.

    Then I added

    suPHP_Engine on
    suPHP_UserGroup nagios nagios

    after the Require valid-user in the nagios.conf generated by the nagios installation.

    I added this in both the sbin and share entries.

    I then remove 'group' write access from everything in /usr/local/nagios (I noticed an error abotu writeable group in the log files)

    and everything works now

    Hope this helps someone else

    Cheers


    Andy

  4. #4
    Join Date
    Oct 2006
    Location
    localhost
    Posts
    3,375

    Smile

    Quote Originally Posted by andymc View Post
    Hi,

    A nice quiet weekend coming up, so I thought I would try and install Nagios on my Linux VPS.

    Anyone here had any luck with it ? I downloaded the latest version and followed the centos 5 install guide - the web-install failed, so I did that manually (adding into httpd.conf), restarted apache and started nagios....

    I followed the usual installation instructions make .... etc.
    I get asked for my nagiosadmin password ok - so htaccess if working..

    The Nagios verification from the comman dline is ok, no errors

    Here is the problem -

    http://myhost/nagois/ results in the 500 internal server - lots of google links but no solution that I found.
    http://myhost/nagios/cgi/bin/status.cgi - no problems, displays status etc fine
    http://myhost/nagios/index.html (when I touched index.html) - fine - blank page

    So, basically, I cannot get into the standard admin interface, but can run the cgis directly.

    SELinux is disabled

    Any ideas ?


    Cheers

    Andy
    Quote Originally Posted by andymc View Post
    Hi,

    I got it workign by changing my php 5 handler from SuPHP to CGI

    Anyone know what the security implications/problems of doing that are ?

    Cheers

    Andy
    Quote Originally Posted by andymc View Post
    Hi,

    I think I solved it

    I reverted my PHP handler back to using SuPHP as I wasnt happy changing it to cgi.

    Then I added

    suPHP_Engine on
    suPHP_UserGroup nagios nagios

    after the Require valid-user in the nagios.conf generated by the nagios installation.

    I added this in both the sbin and share entries.

    I then remove 'group' write access from everything in /usr/local/nagios (I noticed an error abotu writeable group in the log files)

    and everything works now

    Hope this helps someone else

    Cheers


    Andy
    Glad to know that you got it working as the way you wanted Andy.. Good luck...

    Rock _a.k.a._ Jack
    Windows Hosting || Windows Reseller Hosting
    Cloud Hosting 100% UPTIME! || Powerful Dedicated Servers
    Follow eUKhost on Twitter || Join eUKhost Community on Facebook

    For complaints, grievances or suggestions kindly email our FeedBack Dept.
    Proper action will be taken accordingly & instantaneously!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •