-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
72 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,4 +2,7 @@ | |
|
||
config.json | ||
logos.cfg | ||
logs.txt | ||
logs.txt | ||
|
||
*.exe | ||
*.ospx |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
# monitor | ||
|
||
> Библиотека разработана в рамках мастер-класса "[От базовой библиотеки до полного расцвета с ОСенью. Разработка базовой версии](infostart.ru/1c/articles/2275659/)" | ||
Библиотека `monitor` предназначена для выполнения мониторинга различных системных параметров с гибкой настройкой через JSON-конфигурацию. | ||
|
||
--- | ||
|
||
## Возможности | ||
- Мониторинг дисков. | ||
- Гибкая конфигурация через файл `config.json`. | ||
- Поддержка добавления пользовательских проверок через интерфейсы. | ||
- Уведомления о результатах мониторинга (Telegram, Email и др.). | ||
- Логирование выполнения и ошибок. | ||
|
||
--- | ||
|
||
## Использование | ||
1. Создайте файл `config.json` на основе `example_config.json`. | ||
2. Укажите параметры для каждой проверки: | ||
```json | ||
{ | ||
"Проверки": { | ||
"ПроверкаДисков": { | ||
"Использовать": true, | ||
"Диски": ["C", "D"], | ||
"Порог": 20 | ||
} | ||
} | ||
} | ||
``` | ||
|
||
--- | ||
|
||
## Расширение библиотеки | ||
Для добавления новой проверки: | ||
1. Создайте файл проверки в папке `Модули` с именем `Проверка<Название>.os`. | ||
2. Реализуйте процедуру `ВыполнитьПроверку(ПараметрыПроверки) Экспорт`. | ||
3. Добавьте новую проверку в функцию `ДоступныеПроверки()` модуля `Мониторинг.os`. | ||
|
||
--- | ||
|
||
## Контрибьюция | ||
Мы будем рады вашим предложениям и улучшениям! | ||
1. Создайте fork репозитория. | ||
2. Сделайте изменения. | ||
3. Отправьте pull request. | ||
|
||
--- | ||
|
||
## Обратная связь | ||
Если у вас есть вопросы или предложения, пишите нам через Issues или создавайте pull request! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
Описание.Имя("monitor") | ||
.Версия("1.0.0") | ||
.Автор("Ochakovskii Vladimir") | ||
.АдресАвтора("https://github.com/Razdolie") | ||
.Описание("Мониторинг ресурсов сервера") | ||
.ВерсияСреды("1.9.2") | ||
.ВключитьФайл("src") | ||
.ВключитьФайл("main.os") | ||
.ВключитьФайл("example_config.json") | ||
.ВключитьФайл("packagedef") | ||
.ЗависитОт("logos") | ||
.ЗависитОт("InternetMail") | ||
.ЗависитОт("1connector") | ||
|
||
.ИсполняемыйФайл("main.os", "monitor") | ||
; |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.