Top Banner
İçindekiler ...........................................................................................................................................1 NagVIS Eklentisi ..................................................................................................................................1 Bağımlılıklar; .......................................................................................................................................1 Nagvis kurulumu .................................................................................................................................1 Yapılandırma.......................................................................................................................................5 Örnek bir kullanım şekli ...................................................................................................................5 Alternatif Araçlar ................................................................................................................................7 Referanslar .........................................................................................................................................7 İçindekiler Ön Söz Bu belge temel olarak Nagios monitoring sistemi için Nagvis eklentisinin kurulumunu ele almaktadır. Belgenin yeni sürümlerine http://www.cehturkiye.com adresinden ulaşabilirsiniz. Belge Ozan UÇAR tarafından yazılmıştır ve yazarın ismine sadık kalmak kaydı ile belge izin alınmaksızın her şekilde paylaşılabilir ve dağıtılabilir. NagVIS Eklentisi NagVis, network yönetim sistemi Nagios için geliştirilmiş bir sanallaştırma/görselleştirme eklentisidir. IT departmanınızı, sunucu odanızı ve network şemanızı NagVis ile sanal olarak kullanabilirsiniz. Bağımlılıklar; Hostların durumlarını canlı izlemek için mk-live yazılımına ihtiyaç duymaktadır. # cd /usr/src/nagios # wget http://mathias-kettner.de/download/mk-livestatus-1.1.10b2.tar.gz # tar zxvf mk-livestatus-1.1.10b2.tar.gz;cd mk-livestatus-1.1.10b2 # ./configure # make -j 8 # make install Kurulum sonrası nagios.conf dosyasına aşağıdaki satırları ekleyiniz; broker_module=/usr/local/lib/mk-livestatus/livestatus.o /var/lib/nagios/rw/live event_broker_options=-1 Nagvis kurulumu En güncel sürümüne http://www.nagvis.org/downloads adresinden ulaşabilirsiniz.Bu dökümanda şuan geçerli olan en güzel sürüm 1.5.8 kullanılmıştır.
7

İçindekiler · | Please enter the web path to NagVis [/nagvis]: enter | Please enter the name of the web-server user [apache]: enter | Please enter the name of the web-server group

Apr 18, 2020

Download

Documents

dariahiddleston
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: İçindekiler · | Please enter the web path to NagVis [/nagvis]: enter | Please enter the name of the web-server user [apache]: enter | Please enter the name of the web-server group

İçindekiler ...........................................................................................................................................1

NagVIS Eklentisi ..................................................................................................................................1

Bağımlılıklar; .......................................................................................................................................1

Nagvis kurulumu .................................................................................................................................1

Yapılandırma.......................................................................................................................................5

Örnek bir kullanım şekli ...................................................................................................................5

Alternatif Araçlar ................................................................................................................................7

Referanslar .........................................................................................................................................7

İçindekiler

Ön Söz Bu belge temel olarak Nagios monitoring sistemi için Nagvis eklentisinin kurulumunu ele almaktadır.

Belgenin yeni sürümlerine http://www.cehturkiye.com adresinden ulaşabilirsiniz.

Belge Ozan UÇAR tarafından yazılmıştır ve yazarın ismine sadık kalmak kaydı ile belge izin

alınmaksızın her şekilde paylaşılabilir ve dağıtılabilir.

NagVIS Eklentisi NagVis, network yönetim sistemi Nagios için geliştirilmiş bir sanallaştırma/görselleştirme eklentisidir.

IT departmanınızı, sunucu odanızı ve network şemanızı NagVis ile sanal olarak kullanabilirsiniz.

Bağımlılıklar; Hostların durumlarını canlı izlemek için mk-live yazılımına ihtiyaç duymaktadır.

# cd /usr/src/nagios

# wget http://mathias-kettner.de/download/mk-livestatus-1.1.10b2.tar.gz

# tar zxvf mk-livestatus-1.1.10b2.tar.gz;cd mk-livestatus-1.1.10b2

# ./configure

# make -j 8

# make install

Kurulum sonrası nagios.conf dosyasına aşağıdaki satırları ekleyiniz;

broker_module=/usr/local/lib/mk-livestatus/livestatus.o /var/lib/nagios/rw/live

event_broker_options=-1

Nagvis kurulumu En güncel sürümüne http://www.nagvis.org/downloads adresinden ulaşabilirsiniz.Bu dökümanda

şuan geçerli olan en güzel sürüm 1.5.8 kullanılmıştır.

Page 2: İçindekiler · | Please enter the web path to NagVis [/nagvis]: enter | Please enter the name of the web-server user [apache]: enter | Please enter the name of the web-server group

# /usr/src/nagios

# wget http://sourceforge.net/projects/nagvis/files/NagVis%201.5/nagvis-1.5.8.tar.gz/download

# tar zxvf nagvis-1.5.8.tar.gz;cd nagvis-1.5.8 # ./install.sh

+------------------------------------------------------------------------------+

| Welcome to NagVis Installer 0.2.16 |

+------------------------------------------------------------------------------+

| This script is built to facilitate the NagVis installation and update |

| procedure for you. The installer has been tested on the following systems: |

| - Debian Etch, Hardy (4.0, 5.0) |

| - Ubuntu Hardy, Intrepid, Jaunty, Karmic, Lucid (8.04 to 10.04) |

| - SuSE Linux Enterprise Server 10 and 11 |

| |

| Similar distributions to the ones mentioned above should work as well. |

| That (hopefully) includes RedHat, Fedora, CentOS, OpenSuSE |

| |

| If you experience any problems using these or other distributions, please |

| report that to the NagVis team. |

+------------------------------------------------------------------------------+

| Do you want to proceed? [y]: Bu işlemi yapmak istiyor musun ? (yes)

| Starting installation of NagVis 1.5.8 |

+------------------------------------------------------------------------------+

| OS : CentOS release 5.5 (Final) |

| Perl: 5.008008 |

| |

+--- Checking for tools -------------------------------------------------------+

| Using packet manager /bin/rpm found |

| |

+--- Checking paths -----------------------------------------------------------+

| Please enter the path to the nagios base directory [/usr/local/nagios]: nagios

dizini farklı bir alandaysa belirtin.

| nagios path /usr/local/nagios found |

| Please enter the path to NagVis base [/usr/local/nagvis]:

| |

Page 3: İçindekiler · | Please enter the web path to NagVis [/nagvis]: enter | Please enter the name of the web-server user [apache]: enter | Please enter the name of the web-server group

+--- Checking prerequisites ---------------------------------------------------+

| Nagios Core 3.2.3 found |

| PHP 5.1 found |

| PHP Module: gd php found |

| PHP Module: mbstring php found |

| PHP Module: gettext compiled_in found |

| PHP Module: session compiled_in found |

| PHP Module: xml php found |

| Apache mod_php found |

| Checking Backends. (Available: mklivestatus,ndo2db,ido2db,merlinmy) |

| Do you want to use backend mklivestatus? [y]: mklivestatus kullanacağız (y)

| Do you want to use backend ndo2db? [n]: n

| Do you want to use backend ido2db? [n]: n

| Do you want to use backend merlinmy? [n]: n

| Livestatus Socket (/usr/local/nagios/var/rw/live) found |

| PHP Module: sockets compiled_in found |

| Graphviz 2.26 found |

| Graphviz Module dot 2.26.3 found |

| Graphviz Module neato 2.26.3 found |

| Graphviz Module twopi 2.26.3 found |

| Graphviz Module circo 2.26.3 found |

| Graphviz Module fdp 2.26.3 found |

| |

+--- Trying to detect Apache settings -----------------------------------------+

| Please enter the web path to NagVis [/nagvis]: enter

| Please enter the name of the web-server user [apache]: enter

| Please enter the name of the web-server group [apache]: enter

| create Apache config file [y]: y

| |

+--- Checking for existing NagVis ---------------------------------------------+

| NagVis 1.5.8 found |

| Do you want the installer to update your config files when possible? [y]: enter

Page 4: İçindekiler · | Please enter the web path to NagVis [/nagvis]: enter | Please enter the name of the web-server user [apache]: enter | Please enter the name of the web-server group

| Remove backup directory after successful installation? [n]: enter

| |

+------------------------------------------------------------------------------+

| Summary |

+------------------------------------------------------------------------------+

| NagVis home will be: /usr/local/nagvis |

| Owner of NagVis files will be: apache |

| Group of NagVis files will be: apache |

| Path to Apache config dir is: /etc/httpd/conf.d |

| Apache config will be created: yes |

| |

| Installation mode: update |

| Old version: 1.5.8 |

| New version: 1.5.8 |

| Backup directory: /usr/local/nagvis.old-1301487444 |

| |

| Note: The current NagVis directory will be moved to the backup directory. |

| The backup directory will be NOT removed after successful installation |

| Your configuration files will be copied. |

| The configuration files will be updated if possible. |

| |

| Do you really want to continue? [y]: Evet. İşemler bitiyor

...

...

...

+------------------------------------------------------------------------------+

| Installation complete |

| |

| You can safely remove this source directory. |

| |

| For later update/upgrade you may use this command to have a faster update: |

| ./install.sh -n /usr/local/nagios -p /usr/local/nagvis -B

/usr/local/nagios/bin/nagios -l "u nix:/usr/local/nagios/var/rw/live"

-b mklivestatus -u apache -g apache -w /etc/httpd/conf.d -a y

Page 5: İçindekiler · | Please enter the web path to NagVis [/nagvis]: enter | Please enter the name of the web-server user [apache]: enter | Please enter the name of the web-server group

| |

| What to do next? |

| - Read the documentation |

| - Maybe you want to edit the main configuration file? |

| Its location is: /usr/local/nagvis/etc/nagvis.ini.php |

| - Configure NagVis via browser |

| <http://localhost/nagvis/config.php> |

| - Initial admin credentials: |

| Username: nagiosadmin |

| Password: nagiosadmin |

+------------------------------------------------------------------------------+

Yapılandırma http://localhost/nagvis/ adresine giriş yaparak nagvis kullanımına bağlayabilirsiniz.

Örnek bir kullanım şekli;

Bu örnekte, türkiye'nin 81 ilinde çalışan sistemlerimiz türkiye haritası üzerinden takip edilmektedir.

HTTP,SSH servisleri ve PING süreleri monitor edilmektedir.

Yeni host ekleme

Page 6: İçindekiler · | Please enter the web path to NagVis [/nagvis]: enter | Please enter the name of the web-server user [apache]: enter | Please enter the name of the web-server group
Page 7: İçindekiler · | Please enter the web path to NagVis [/nagvis]: enter | Please enter the name of the web-server user [apache]: enter | Please enter the name of the web-server group

Alternatif Araçlar Nagvis eklentisi ile benzer görevi yapan bazı araçların listesi;

http://exchange.nagios.org/index.php?option=com_mtree&task=search&Itemid=74&searchword=vi

sualize

Referanslar http://nagvis.org/