- Популярные видео
- Авто
- Видео-блоги
- ДТП, аварии
- Для маленьких
- Еда, напитки
- Животные
- Закон и право
- Знаменитости
- Игры
- Искусство
- Комедии
- Красота, мода
- Кулинария, рецепты
- Люди
- Мото
- Музыка
- Мультфильмы
- Наука, технологии
- Новости
- Образование
- Политика
- Праздники
- Приколы
- Природа
- Происшествия
- Путешествия
- Развлечения
- Ржач
- Семья
- Сериалы
- Спорт
- Стиль жизни
- ТВ передачи
- Танцы
- Технологии
- Товары
- Ужасы
- Фильмы
- Шоу-бизнес
- Юмор
Nagios - configure a service
In this video, I’ll explain how to add a service for monitoring in Nagios.
I will cover the various parameters you can set for a service and a service template. Additionally, I’ll demonstrate how to add monitoring for this service to a host that is already configured in your Nagios system.
I invite you to check out my Nagios playlist for a complete list of all my videos on Nagios:
https://www.youtube.com/playlist?list=PLjGtyZkpg2jZHkHCTNrb7nimK7x1VyZGu
You can use your preferred text editor to modify the configuration files. In the video, I use vi, as I am very familiar with it, but other users may prefer nano, which is generally easier to use than vi.
-----
0:00 Intro
1:28 Prerequisites
1:44 Create and configure a service configuration.
16:29 Add the service to a host
18:34 Verify the new configuration
19:08 Test the change
20:49 Conclusion
------
Here are some other videos that may help you with this topic:
Installing a Nagios Core Server on an Ubuntu Server
https://youtu.be/bFWJV6lc-as
Nagios - Adding a Host to Monitor
https://youtu.be/HkxNY6H9__o
Here is the webpage for Nagios object definitions:
https://assets.nagios.com/downloads/nagioscore/docs/nagioscore/3/en/objectdefinitions.html
----------------
# Here are some commands I use in this video.
# To navigate to the Nagios objects directory:
cd /etc/nagios4/objects/
# To list the contents
ls
# To open the service.cfg configuration file previously created in another # video.
sudo nano services.cfg
# An example configuration to add:
define service{
use generic-service
hostgroup_name web-server
service_description monitoring port 80
check_command check_tcp!80
}
# To view and modify the templates configured in your Nagios environment.
sudo nano /etc/nagios4/objects/templates.cfg
# To configure a dedicated file to store host groups:
sudo nano /etc/nagios4/objects/host_groups.cfg
# An example of configuring a host group.
define hostgroup {
Видео Nagios - configure a service канала benlinux-en
I will cover the various parameters you can set for a service and a service template. Additionally, I’ll demonstrate how to add monitoring for this service to a host that is already configured in your Nagios system.
I invite you to check out my Nagios playlist for a complete list of all my videos on Nagios:
https://www.youtube.com/playlist?list=PLjGtyZkpg2jZHkHCTNrb7nimK7x1VyZGu
You can use your preferred text editor to modify the configuration files. In the video, I use vi, as I am very familiar with it, but other users may prefer nano, which is generally easier to use than vi.
-----
0:00 Intro
1:28 Prerequisites
1:44 Create and configure a service configuration.
16:29 Add the service to a host
18:34 Verify the new configuration
19:08 Test the change
20:49 Conclusion
------
Here are some other videos that may help you with this topic:
Installing a Nagios Core Server on an Ubuntu Server
https://youtu.be/bFWJV6lc-as
Nagios - Adding a Host to Monitor
https://youtu.be/HkxNY6H9__o
Here is the webpage for Nagios object definitions:
https://assets.nagios.com/downloads/nagioscore/docs/nagioscore/3/en/objectdefinitions.html
----------------
# Here are some commands I use in this video.
# To navigate to the Nagios objects directory:
cd /etc/nagios4/objects/
# To list the contents
ls
# To open the service.cfg configuration file previously created in another # video.
sudo nano services.cfg
# An example configuration to add:
define service{
use generic-service
hostgroup_name web-server
service_description monitoring port 80
check_command check_tcp!80
}
# To view and modify the templates configured in your Nagios environment.
sudo nano /etc/nagios4/objects/templates.cfg
# To configure a dedicated file to store host groups:
sudo nano /etc/nagios4/objects/host_groups.cfg
# An example of configuring a host group.
define hostgroup {
Видео Nagios - configure a service канала benlinux-en
Комментарии отсутствуют
Информация о видео
28 марта 2025 г. 5:12:39
00:22:04
Другие видео канала




















