Jump to content
Калькуляторы

Cacti Weathermap ICON

Проблема вообщем такая, есть Cacti, есть Wethermap. Все нормально рисовало, обновил php с 5.3.3 до 5.3.4 - перестала рисовать. Убераю все ICON из конфига - рисует.

 

В логах последние сообщения :

 

12/24/2010 03:55:12 PM - WEATHERMAP: Poller[0] DEBUG: [ProcessString@Weathermap.class.php:517] [Map 2] Art: Trace: ProcessString(images/Router.png, node:node08483)  
12/24/2010 03:55:12 PM - WEATHERMAP: Poller[0] DEBUG: [pre_render@WeatherMapNode.class.php:249] [Map 2] Art: Node->pre_render: node08483 Label Metrics are: 56 x 13 -> 60 x 17  
12/24/2010 03:55:12 PM - WEATHERMAP: Poller[0] DEBUG: [ProcessString@Weathermap.class.php:517] [Map 2] Art: Trace: ProcessString(11-pb063, node:node08483)  
12/24/2010 03:55:12 PM - WEATHERMAP: Poller[0] DEBUG: [DrawMap@Weathermap.class.php:3461] [Map 2] Art: Pre-rendering node08483 to get bounding boxes.  
12/24/2010 03:55:12 PM - WEATHERMAP: Poller[0] DEBUG: [DrawMap@Weathermap.class.php:3461] [Map 2] Art: Pre-rendering DEFAULT to get bounding boxes.  
12/24/2010 03:55:12 PM - WEATHERMAP: Poller[0] DEBUG: [DrawMap@Weathermap.class.php:3461] [Map 2] Art: Pre-rendering :: DEFAULT :: to get bounding boxes.  
12/24/2010 03:55:12 PM - WEATHERMAP: Poller[0] DEBUG: [AllocateScaleColours@Weathermap.class.php:3366] [Map 2] Art: AllocateScaleColours: DEFAULT/gdref1 85_100 (255,0,0)  
12/24/2010 03:55:12 PM - WEATHERMAP: Poller[0] DEBUG: [AllocateScaleColours@Weathermap.class.php:3366] [Map 2] Art: AllocateScaleColours: DEFAULT/gdref1 70_85 (255,192,0)  
12/24/2010 03:55:12 PM - WEATHERMAP: Poller[0] DEBUG: [AllocateScaleColours@Weathermap.class.php:3366] [Map 2] Art: AllocateScaleColours: DEFAULT/gdref1 55_70 (240,240,0)  
12/24/2010 03:55:12 PM - WEATHERMAP: Poller[0] DEBUG: [AllocateScaleColours@Weathermap.class.php:3366] [Map 2] Art: AllocateScaleColours: DEFAULT/gdref1 40_55 (0,240,0)  
12/24/2010 03:55:12 PM - WEATHERMAP: Poller[0] DEBUG: [AllocateScaleColours@Weathermap.class.php:3366] [Map 2] Art: AllocateScaleColours: DEFAULT/gdref1 25_40 (0,192,255)  
12/24/2010 03:55:12 PM - WEATHERMAP: Poller[0] DEBUG: [AllocateScaleColours@Weathermap.class.php:3366] [Map 2] Art: AllocateScaleColours: DEFAULT/gdref1 10_25 (32,32,255)  
12/24/2010 03:55:12 PM - WEATHERMAP: Poller[0] DEBUG: [AllocateScaleColours@Weathermap.class.php:3366] [Map 2] Art: AllocateScaleColours: DEFAULT/gdref1 1_10 (140,0,255)  
12/24/2010 03:55:12 PM - WEATHERMAP: Poller[0] DEBUG: [AllocateScaleColours@Weathermap.class.php:3366] [Map 2] Art: AllocateScaleColours: DEFAULT/gdref1 0_1 (255,255,255)  
12/24/2010 03:55:12 PM - WEATHERMAP: Poller[0] DEBUG: [AllocateScaleColours@Weathermap.class.php:3366] [Map 2] Art: AllocateScaleColours: DEFAULT/gdref1 0_0 (192,192,192)  
12/24/2010 03:55:12 PM - WEATHERMAP: Poller[0] DEBUG: [AllocateScaleColours@Weathermap.class.php:3366] [Map 2] Art: AllocateScaleColours: DEFAULT/gdref1 TIME (0,0,0)  
12/24/2010 03:55:12 PM - WEATHERMAP: Poller[0] DEBUG: [AllocateScaleColours@Weathermap.class.php:3366] [Map 2] Art: AllocateScaleColours: DEFAULT/gdref1 TITLE (0,0,0)  
12/24/2010 03:55:12 PM - WEATHERMAP: Poller[0] DEBUG: [AllocateScaleColours@Weathermap.class.php:3366] [Map 2] Art: AllocateScaleColours: DEFAULT/gdref1 BG (255,255,255)  
12/24/2010 03:55:12 PM - WEATHERMAP: Poller[0] DEBUG: [AllocateScaleColours@Weathermap.class.php:3366] [Map 2] Art: AllocateScaleColours: DEFAULT/gdref1 KEYBG (255,255,255)  
12/24/2010 03:55:12 PM - WEATHERMAP: Poller[0] DEBUG: [AllocateScaleColours@Weathermap.class.php:3366] [Map 2] Art: AllocateScaleColours: DEFAULT/gdref1 KEYOUTLINE (0,0,0)  
12/24/2010 03:55:12 PM - WEATHERMAP: Poller[0] DEBUG: [AllocateScaleColours@Weathermap.class.php:3366] [Map 2] Art: AllocateScaleColours: DEFAULT/gdref1 KEYTEXT (0,0,0)  
12/24/2010 03:55:12 PM - WEATHERMAP: Poller[0] DEBUG: [DrawMap@Weathermap.class.php:3398] [Map 2] Art: Start of Map Drawing  
12/24/2010 03:55:12 PM - WEATHERMAP: Poller[0] DEBUG: [DrawMap@Weathermap.class.php:3397] [Map 2] Art: =====================================  
12/24/2010 03:55:12 PM - WEATHERMAP: Poller[0] DEBUG: [DrawMap@Weathermap.class.php:3395] [Map 2] Art: Finished Post-Processing Plugins...  
12/24/2010 03:55:12 PM - WEATHERMAP: Poller[0] DEBUG: [run@WeatherMapPostProcessorTest.php:26] [Map 2] Art: WeatherMapPostProcessorTest Not Enabled  
12/24/2010 03:55:12 PM - WEATHERMAP: Poller[0] DEBUG: [DrawMap@Weathermap.class.php:3390] [Map 2] Art: Running WeatherMapPostProcessorTest->run()  
12/24/2010 03:55:12 PM - WEATHERMAP: Poller[0] DEBUG: [DrawMap@Weathermap.class.php:3387] [Map 2] Art: Running Post-Processing Plugins...  
12/24/2010 03:55:12 PM - WEATHERMAP: Poller[0] DEBUG: [DrawMap@Weathermap.class.php:3375] [Map 2] Art: Trace: DrawMap()  
12/24/2010 03:55:12 PM - WEATHERMAP: Poller[0] DEBUG: [weathermap_memory_check@poller-common.php:11] [Map 2] Art: MEM pre-render 0: memory_get_usage() says 17.3MBytes used. Limit is 512M  
12/24/2010 03:55:12 PM - WEATHERMAP: Poller[0] [Map 2] Art: About to write image file. If this is the last message in your log, increase memory_limit in php.ini [WMPOLL01]  
12/24/2010 03:55:12 PM - WEATHERMAP: Poller[0] DEBUG: [weathermap_memory_check@poller-common.php:11] [Map 2] Art: MEM postdata 0: memory_get_usage() says 17.3MBytes used. Limit is 512M

 

Гугл и яндекс перерыл, ничего похожего не нашел...

Share this post


Link to post
Share on other sites

Стоит на чтение всем.

Share this post


Link to post
Share on other sites

Нашел причину. После апдейта, пресобрался GD. Перестала работать Cacti с PNG. С другими форматами работает, поменял формат картинки и все пошло. GD проверил, собран с поддержкой PNG. Х.з. в чем дело.

 

Попутно вопрос, собрал на серваке lagg0 в нем есть вланы. Раньше без lagg'а отображались графики вланов нормально в 64-бита. Сейчас только в 32. В 64 пусто (nan).

 

FreeBSD 8.1, bsnmpd.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this