Репозитории ALT
S: | 1.2.24-alt1 |
5.1: | 0.8.7b-alt4 |
4.1: | 0.8.7b-alt2 |
4.0: | 0.8.6j-alt1 |
Группа :: Мониторинг
Пакет: cacti
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: cacti-log-verbosity.patch
Скачать
Скачать
diff -ur cacti-0.8.7f/poller.php cacti-0.8.7f.new/poller.php
--- cacti-0.8.7f/poller.php 2010-06-01 13:43:17.107441381 +0400
+++ cacti-0.8.7f.new/poller.php 2010-06-01 14:19:58.211438562 +0400
@@ -489,7 +489,8 @@
$num_polling_items,
$rrds_processed);
- cacti_log("STATS: " . $cacti_stats , true, "SYSTEM");
+ if (read_config_option('log_verbosity') > POLLER_VERBOSITY_NONE)
+ cacti_log("STATS: " . $cacti_stats , true, "SYSTEM");
/* insert poller stats into the settings table */
db_execute("REPLACE INTO settings (name,value) VALUES ('stats_poller','$cacti_stats')");