image_pdfimage_print

Мониторинг лог файлов в Windows

не плохая статья http://nagios.fm4dd.com/howto/monitor-custom-windows-logfiles.htm Introduction Monitoring custom application log files with Nagios is quite a complex task, it deserves a tutorial of its own. I believe there is no turnkey solution and to solve it we need to break the requirement up into functional parts to combine existing software. In this particular example, I will … Читать далее

Alarm call from Nagios(звонки с оповещениями из Нагиос)

Вау, тут в общем посидели, покумекали и слепили такую штуку(пока в тестовом режиме) — звонки с оповещениями из Nagios. в общем, как это настраивается в исходных данных — Nagios 3.4 на Ubuntu 12 что делаем качаем пакет wget http://www.pjsip.org/release/2.0./pjproject-2.0.1.tar.bz2 , можно и более новый — если ОС новее (wget http://www.pjsip.org/release/2.6/pjproject-2.6.tar.bz2) распаковываем заходим в папку, там  ./configure … Читать далее

MSSQL в Nagios

Появилась задача — мониторинг состояние MSSQL сервера средствами Nagios. был выбран плагин check_mssql_health (https://labs.consol.de/nagios/check_mssql_health/) для работы были уставлен модуль Perl cpan install DBD::Sybase на сервера БД был добавлен пользователь nagiosadmin , с паролем nagiosadmin и правами serveradmin   В command.cfg добавляем команду проверки: # ' check_mssql_health' command definition define command{ command_name check_mssql_health command_line $USER1$/check_mssql_health —server=$HOSTADDRESS$ —username=nagiosadmin —password=nagiosadmin … Читать далее

Send Nagios Alert Notification Using WhatsApp

Introduction One of the most important feature of the monitoring platform is the notification system; by default  they use the local mail daemon (postfix, mail, exim) installed on the server to send the notifications. Using local mail daemon has many issues : You need to install and configure your smtp server. Maybe your mail server go down … Читать далее

Nagios Check_logfiles

Берем хост под Ubuntu 16.04 server команды по порядку sudo apt-get install nagios-nrpe-server nagios-plugins nano /etc/nagios/nrpe.cfg allowed_hosts=127.0.0.1, 192.168.1.100 sudo /etc/init.d/nagios-nrpe-server restart Далее идем сюда https://labs.consol.de/nagios/check_logfiles/index.html#download и качаем архив и распаковываем, я распаковал в /usr/lib/nagios/plugins/check_logfiles-3.7.6.3 потом ./configure make make install Дальше настраиваем по https://kamaok.org.ua/?p=1487 Ок, все стоит. В файл nano /etc/nagios/nrpe.cfg добавляем строки вида command[check_log_syslog]=/usr/lib/nagios/plugins/check_logfiles-3.7.6.3/plugins-scripts/check_logfiles -t … Читать далее

VmWare ESX Monitoring(1)

берем скрипт. ставим пакет и качаем его, подробнее тут — https://habrahabr.ru/company/simnetworks/blog/241605/ Скрипт написан на языке программирования Python, требует библиотеку PyWBEM. Под ОС Linux Debian и Ubuntu она устанавливается через стандартные системные репозитории: apt-get install python-pywbem Синтаксис запуска «check_esxi_hardware.py» весьма прост: check_esxi_hardware.py -H XXX.YYY.WWW.ZZZ -U root -P XXXXXXXX В ответ вы получите краткий отчет о состоянии здоровья … Читать далее