The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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:
    691
    Likes Received:
    1
    Trophy Points:
    18
    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.
     
    #2 myusername, Aug 14, 2004
    Last edited: Aug 14, 2004
Loading...

Share This Page