weathermap+cacti opensuse

Force

Участник
Привет, установлена операционная система opensuse 12.3, на ней уже установлен и настроен cacti. Графики работают и устройства все добавлены. Есть задача визуализировать устройства, которые мониторим и создать карту сети для наглядности. Для этой цели был выбран плагин для cacti weathermap. Как его установить в текущей конфигурации и ничего не сломать? Нашел некоторое руководство по установке https://habrahabr.ru/post/143747/ , но немного не подходит - пути не совпадают, версии не те (у меня более свежие и конфиги немного отличаются), короче не то. Как установить weathermap на cacti в opensuse?
 
У меня затык на этапе настройки плагина. Weathermap ставлю как плагин для cacti, а не как отдельное приложение.
Что сделал:
1. Скачал weathermap последней версии http://network-weathermap.com/
2. Распаковал в /cacti/plugins , добавил строчку в файл include/global.php
Код:
$plugins[] = 'weathermap';
Вкладка weathermap в вебморде какти появилась.
Добавил так же
Код:
 $ENABLED=true
в файле /plugins/weathermap/editor.php
Теперь когда хочу зайти в редактор получаю сообщение от интерпретатора php
Код:
Required PHP extensions are not present in your mod_php/ISAPI PHP module. Please check your PHP setup to ensure you have the GD extension installed and enabled.
Какого-то модуля не хватает?
 
Surf_rider сказал(а):
Запустите check.php и вывод сюда.
Вот вывод:
Код:
Some parts of Weathermap need special support in your PHP installation to work.

The gdinfo() function is not available, which means that either the GD extension is not available, not enabled, or not installed.
imagepng()    NOCRITICAL This is required for all of Weathermap. It is part of the GD library and the "gd" PHP extension.
imagecreatetruecolor()    NOCRITICAL This is required for all of Weathermap. It is part of the GD library and the "gd" PHP extension.
imagealphablending()    NOCRITICAL This is required for all of Weathermap. It is part of the GD library and the "gd" PHP extension.
imageSaveAlpha()    NOCRITICAL This is required for all of Weathermap. It is part of the GD library and the "gd" PHP extension.
preg_match()    YES
imagecreatefrompng()    NOCRITICAL This is required for all of Weathermap. It is part of the GD library and the "gd" PHP extension.
imagecreatefromjpeg()    NOnon-critical This is required for JPEG input support for ICON and BACKGROUND. It is an optional part of the GD library and the "gd" PHP extension.
imagecreatefromgif()    NOnon-critical This is required for GIF input support for ICON and BACKGROUND. It is an optional part of the GD library and the "gd" PHP extension.
imagejpeg()    NOnon-critical This is required for JPEG output support. It is an optional part of the GD library and the "gd" PHP extension.
imagegif()    NOnon-critical This is required for GIF output support. It is an optional part of the GD library and the "gd" PHP extension.
imagecopyresampled()    NOnon-critical This is required for Thumbnail creation in the Cacti plugin. It is an optional part of the GD library and the "gd" PHP extension.
imagettfbbox()    NOnon-critical This is required for TrueType font support. It is an optional part of the GD library and the "gd" PHP extension.
memory_get_usage()    YES
 
Код:
php -m
[/quote]
Доустановил через yast, перезапустил apache
Код:
restart service apache2
Теперь при попытке зайти по адресу /weathermap/editor.php выдается варнинг:
The map config directory is not writable by the web server user. You will not be able to edit any files until this is corrected. [WMEDIT01]<p>
Где-то прав не хватает, а где?
 
Дайте права на папку /cacti/plugins/weathermap/configs

Спасибо! Права дал, варнинг исчез. Но теперь в вебморде есть предупреждение вот такое:
0 maps were run in 0 seconds with 1 warnings. (Permissions problem prevents any maps running WMPOLL06)
Видимо еще где-то надо права дать?
Как создать карту в weathermap?

Все разобрался. Спасибо. Просто не на все папки права были розданы.
 
Назад
Верх Низ