2017-12-07 1 views
0

모든 장치에서 모든 정보를 성공적으로 가져 오는 observium을 설치했지만 그래프를 표시하지 않습니다. enter image description here그래프가 Observium에 표시되지 않습니다.

내가 수동으로 실행할 때이 오류가 표시되지 않습니다/옵션/observium/RRD

의 파일을 볼 수

cd /opt/observium && ./discovery.php -h all && ./poller.php -h all 

내가 크롬과 파이어 폭스에서 테스트했습니다. 나는 이것이 알려 주시기 바랍니다 해결할 수있는 다른 정보를 제공 할 수있는 경우

내 config.php를

<?php 

## Check http://www.observium.org/docs/config_options/ for documentation of possible settings 

// Database config --- This MUST be configured 
$config['db_extension'] = 'mysqli'; 
$config['db_host']  = '192.168.1.10'; 
$config['db_user']  = 'observium'; 
$config['db_pass']  = 'somepass'; 
$config['db_name']  = 'observium'; 

// Base directory 
#$config['install_dir'] = "/opt/observium"; 

// Default community list to use when adding/discovering 
$config['snmp']['community'] = array("public"); 

// Authentication Model 
$config['auth_mechanism'] = "mysql"; // default, other options: ldap, http-auth, please see documentation for config help 

// Enable alerter 
// $config['poller-wrapper']['alerter'] = TRUE; 

//$config['web_show_disabled'] = FALSE; // Show or not disabled devices on major pages. 

// Set up a default alerter (email to a single address) 
$config['email']['default']  = "[email protected]"; 
$config['email']['from']   = "Observium <[email protected]>"; 
$config['email']['default_only'] = TRUE; 

$config['enable_syslog']    = 1; // Enable Syslog 

// End config.php 

입니다.

Seetings : enter image description here

장치 그래프 설정 : enter image description here

Nginx의 conf의 :

server { 
    listen 80; 
    server_name observium.mydomain.com; 

    root /opt/observium/html; 
    client_max_body_size 10m; 
    client_body_buffer_size 8K; 
    client_header_buffer_size 1k; 
    large_client_header_buffers 4 8k; 

    location/{ 
    index index.php index.html index.htm; 
    autoindex on; 
    try_files $uri $uri/ /index.php; 

    location ~ \.php$ { 
     fastcgi_split_path_info ^(.+\.php)(/.+)$; 
     fastcgi_pass unix:/var/run/php/php7.0-fpm.sock; 
     fastcgi_index index.php; 
     fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; 
     include fastcgi_params; 
    } 
    } 
} 

당신에게

+0

브라우저 콘솔의 기능은 무엇입니까? –

+0

DevTools가 SourceMap을 구문 분석하지 못했습니다. http://observium.mydomain.com/css/bootstrap-select.css.map DevTools가 SourceMap을 구문 분석하지 못했습니다. http://observium.mydomain.com/js/bootstrap-select.js .map – CroiOS

+0

@LawrenceCherone - 문제가되지 않습니다. 나는 그래프에서 CroiOS

답변

0

찾을 문제를 감사드립니다. config.php 파일 상단에 빈 줄이 있습니다. <?php

관련 문제