Debian: 3.2.0-4-amd64 #1 SMP Debian 3.2.46-1 x86_64 GNU/Linux
Observium 0.13.8.4367

Gauthier


2013/8/30 Paul Gear <observium@gear.dyndns.org>
I'll see if I can replicate your problem tomorrow if I get some time.  What distro and version are you running on?


On 08/30/2013 06:08 PM, Gauthier DOUCHET wrote:
I don't think because when I removed all these lines, it's ok.

I did some tests and this is this line which creates the blank page:
$config['frontpage']['order']     = array('device_status_boxes', 'minigraphs', 'micrographs', 'status_summary', 'eventlog');  

Is this one correct? I copied it from your mail but maybe there was a mistake in the original line.

Gauthier


2013/8/30 Paul Gear <observium@gear.dyndns.org>
The part you showed me looked OK to my brain, but it's not a PHP parser, so YMMV.  Look for a syntax error earlier in your config.php.


On 08/30/2013 05:03 PM, Gauthier DOUCHET wrote:
I tried some high values like memory_limit = 512M in my apache2/php.ini and didn't change.
Adding a /debug after URL doesn't make any change.

The only clue is this log line in Apache log: "File does not exist: /opt/observium/html/favicon.ico" which appears only if I put the lines I wrote in my previous mail. If I don't change my config.php, this line doesn't appear.

Gauthier




2013/8/30 Paul Gear <observium@gear.dyndns.org>
Normally a blank page would indicate either your PHP memory limit is exceeded, or there's a syntax error in your config.  Check memory_limit in /etc/php5/apache2/php.ini and see if increasing it makes a difference.  If not, try adding /debug on the end of your Observium URL and see if you get any output on the page.

Paul


On 08/30/2013 01:23 AM, Gauthier DOUCHET wrote:
Hello,

I tried to follow your example but when I add my settings, I got a blank page when I go on my Observium site (and nothing in Apache logs except "File does not exist: /opt/observium/html/favicon.ico")

How can I debug what's wrong with the following config below?

Thank you,
Gauthier

$config['frontpage']['order']     = array('device_status_boxes', 'minigraphs', 'micrographs', 'status_summary', 'eventlog');
$config['frontpage']['minigraphs']['ids'] = '1,port_bits,cpe-01;6,port_bits,srv-01';
$config['frontpage']['minigraphs']['title'] = 'WAN';
$config['frontpage']['micrographs']['servers']['ids'] = '6,device_bits,srv-01;7,device_bits,srv-02;15,device_bits,srv-03;8,device_bits,srv-04;14,device_bits,srv-05';
$config['frontpage']['micrographs']['servers']['title'] = 'Servers - Traffic';
$config['frontpage']['micrographs']['servers']['ids'] = '6,device_processor,srv-01;7,device_processor,srv-02;15,device_processor,srv-03;8,device_processor,srv-04;14,device_processor,srv-05';
$config['frontpage']['micrographs']['servers']['title'] = 'Servers - CPU Load';


2013/8/17 Peter Persson <peter.persson@bredband2.se>
Hey,

We've made some changes in our frontpage, but donno if we use standard frontpage...

Infogad bild 2

/Peter


2013/8/17 Ryan Milton <rmilton@mvsusa.com>
Terrific!

Thanks!

Ryan Milton
MVS Network Manager
O: 201-447-1505 x124
C: 862-249-5230
From: observium <observium-bounces@observium.org> on behalf of Paul Gear <observium@gear.dyndns.org>
Sent: Friday, August 16, 2013 8:26:31 PM
To: Observium Network Observation System
Subject: Re: [Observium] Front Page
 
On 08/16/2013 08:00 AM, Ryan Milton wrote:

I am looking to spice up my frontpage and am currently adding the minigraphs. Is there a way in the config to name each graph as opposed to a custom name for the field?

 

How about with the legends, to select what is shown in the legend, so that they aren’t 3x’s as large as the graph itself?


Hi Ryan,

Here's what my front page looks like:



And here's the config which produces it:

$config['frontpage']['order']     = array('device_status_boxes', 'minigraphs', 'micrographs', 'status_summary', 'eventlog');
$config['frontpage']['minigraphs']['ids'] = '1234,port_bits,ISP1;2345,port_bits,ISP2;3456,port_bits,office VLAN;4567,port_bits,guest VLAN';
$config['frontpage']['minigraphs']['title'] = '';
$config['frontpage']['micrographs']['network']['ids'] = '12,device_bits,vpnrouter;23,device_bits,switch1;34,device_bits,fw1;45,device_bits,fw1';
$config['frontpage']['micrographs']['network']['title'] = 'Network';
$config['frontpage']['micrographs']['servers']['ids'] = '56,device_bits,vmhost1;67,device_bits,observium;78,device_bits,nas;89,device_bits,vmhost2;90,device_bits,backup';
$config['frontpage']['micrographs']['servers']['title'] = 'Servers';

(I just realised I've used fw1 twice - the second one should be fw2.)

There's doco on the main Observium page and also in defaults.inc.php.  Hopefully between them and the working example above you should find what you're looking for.

Regards,
Paul


_______________________________________________
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium



_______________________________________________
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium




--
Gauthier DOUCHET


_______________________________________________
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium


_______________________________________________
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium




--
Gauthier DOUCHET


_______________________________________________
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium


_______________________________________________
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium




--
Gauthier DOUCHET


_______________________________________________
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium


_______________________________________________
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium




--
Gauthier DOUCHET