نمایش نتایج: از شماره 1 تا 3 , از مجموع 3

موضوع: مشکل در نصب Nagios

Threaded View

پست قبلی پست قبلی   پست بعدی پست بعدی
  1. #2
    کاربر اخراج شده
    تاریخ عضویت
    Jul 2011
    محل سکونت
    ایران
    نوشته ها
    187
    تشکر تشکر کرده 
    142
    تشکر تشکر شده 
    419
    تشکر شده در
    284 پست

    پیش فرض پاسخ : مشکل در نصب Nagios

    طبق این برید جلو اگه جواب نداد پیام خضوصی بدید تا چک کنم

    Installing Nagios server and network monitoring on Centos 5 server
    The official documentation can be found at Nagios Library - Nagios Core Manuals
    Install necessary packages

    yum install httpd gcc glibc glibc-common gd gd-devel php Create Nagios User account and group

    useradd -m nagios Create nagcmd group for allowing external commands to be submitted through the web interface. Add both the nagios user and the apache user
    groupadd nagcmd
    usermod -a -G nagcmd nagios
    usermod -a -G nagcmd apache Create Directory to store Nagios installation files

    mkdir /opt/Nagios Download Nagios and Plugins

    Save file to directory /opt/Nagios
    Nagios - Nagios Downloads
    As of this writing Nagios 3.0.6 (Stable) and Nagios Plugins 1.4.13 (Stable)
    Extract Files:
    cd /opt/Nagios

    tar xzf nagios-3.0.6.tar.gz

    cd nagios-3.0.6 Compile and Configure Nagios

    ./configure --with-command-group=nagcmd Compile Nagios:
    make all Compile binaries, init script, sample config files:
    make install

    make install-init

    make install-config

    make install-commandmode ** Do Not Start Nagios **
    Nagios has now been installed to the directory /usr/local/nagios/
    Install Nagios Web Interface:
    make install-webconf Nagios Web Interface installed to /usr/local/nagios/share ( http conf file added to /etc/httpd/conf.d/nagios.conf )
    Create Web Interface Login User:
    ** This is not the most secure method **
    We will create user “nagiosadmin” ( remember the password you assign !)
    htpasswd -c /usr/local/nagios/etc/htpasswd.users nagiosadmin Restart Apache:
    service httpd restart Install Nagios Plugins

    Extract Files:
    cd /opt/Nagios

    tar xzf nagios-plugins-1.4.13.tar.gz

    cd nagios-plugins1.4.13 Compile and Configure Nagios Plugins

    ./configure --with-nagios-user=nagios --with-nagios-group=nagios

    make

    make install Configure nagiosadmin email address for alerts

    vi /usr/local/nagios/etc/objects/contacts.cfg

    email nagios@localhost ; <<***** CHANGE THIS TO YOUR EMAIL ADDRESS ****** Verify the sample Nagios configuration files

    /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg

    Total Warnings: 0
    Total Errors: 0 Start Nagios

    Enable Nagios to start at system startup / boot
    chkconfig --add nagios

    chkconfig nagios on

    chkconfig httpd on Start Nagios
    service nagios start Log into Web Interface

    http://ip-address/nagios/

  2. تعداد تشکر ها از payaserver به دلیل پست مفید


اطلاعات موضوع

کاربرانی که در حال مشاهده این موضوع هستند

در حال حاضر 1 کاربر در حال مشاهده این موضوع است. (0 کاربران و 1 مهمان ها)

موضوعات مشابه

  1. نصب و کانفیگ Nagios در لینوکس اوبونتو
    توسط ebrahimsh در انجمن مباحث و منابع آموزشی
    پاسخ ها: 0
    آخرين نوشته: February 3rd, 2017, 22:40
  2. درخواست آموزش نصب nagios
    توسط benii در انجمن شبکه های لینوکسی
    پاسخ ها: 2
    آخرين نوشته: July 28th, 2012, 11:40
  3. Learning Nagios 3.0
    توسط aalireza439 در انجمن مباحث دیگر
    پاسخ ها: 0
    آخرين نوشته: November 27th, 2010, 21:48

مجوز های ارسال و ویرایش

  • شما نمیتوانید موضوع جدیدی ارسال کنید
  • شما امکان ارسال پاسخ را ندارید
  • شما نمیتوانید فایل پیوست کنید.
  • شما نمیتوانید پست های خود را ویرایش کنید
  •