Allow_unauth_graphs not working anymore

Tags: #<Tag:0x00007fdb74dc8488>


i’m ebedding librenms graphs into an own dashboard, this is done using the settions (allow_unauth_graphs / allow_unauth_graphs_cidr).

It looks like, that since this commit (
the function to allow unauthenticated graphs is not working any more.

I only get an error picture (port*bits) in red font color.

My librenms version is: 21.4.0-59-gbb39b4a - Mon May 03 2021 16:48:15 GMT+0200

Have the same exact problem aswell. the config doesnt work anymore
see my thread too

my workaround is:

— includes/html/graphs/ 2021-05-04 11:40:16.309302592 +0200
+++ includes/html/graphs/ 2021-05-04 12:12:25.928765481 +0200
@@ -31,7 +31,7 @@

$graph_image_type = $vars[‘graph_type’] ?? Config::get(‘webui.graph_type’);
$rrd_options = ‘’;
-$auth = false;
+//$auth = false;

require Config::get(‘install_dir’) . “/includes/html/graphs/$type/”;

I have just submitted a PR which should fix this:


im having the same thing…have been rumbling my head around this over and over…kindly let us know when the PR is going to get merged into the daily update.

thanks a lot

The PR was already merged on the same day. :slightly_smiling_face:

i did run ./ on my installation and took the latest version of the code from the master branch.

but i still have empty graphs on my emails (ive done all the steps , like adding on the config the unathorized_graph=true; but it still empty on my mail as per the attached photo:

today is showing like Error Drawing Graph: Error : opening `` : no such file or directory (yesterday was completely empty only port*bits)