Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Nagios Configuration

Discussion in 'General Discussion' started by gopal, May 5, 2004.

  1. gopal

    gopal Guest

    * #cd /usr/local/nagios/etc/

    * #vi hosts.cfg

    * #vi hostgroups.cfg

    * #vi contacts.cfg

    * #vi contactgroups.cfg

    * #vi service.cfg

    * #/usr/loca/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg

    * #service nagios restart
     
    #1 gopal, May 5, 2004
    Last edited by a moderator: May 5, 2004
  2. myusername

    myusername Well-Known Member
    PartnerNOC

    Joined:
    Mar 6, 2003
    Messages:
    693
    Likes Received:
    1
    Trophy Points:
    168
    Location:
    chown -R us.*yourbase*
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    So how did you secure/password protect the pages/cgis from the general public?

    EDIT: I found it in case anyone else is interested.

    Place your .htaccess files in /usr/local/nagios/sbin for your cgis and /usr/local/nagios/share for your html if you are installing it from their docs. Don't place it in the cgi-bin or www that cpanel creates.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    #2 myusername, Aug 14, 2004
    Last edited: Aug 14, 2004
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice