mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-27 16:08:55 +02:00
add ability to pass error message to graph, and use this for mac accounting
git-svn-id: http://www.observium.org/svn/observer/trunk@2353 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -91,14 +91,19 @@ function graph_error($string)
|
||||
exit();
|
||||
}
|
||||
|
||||
if (!$auth)
|
||||
{
|
||||
if ($error_msg) {
|
||||
|
||||
graph_error($graph_error);
|
||||
|
||||
} elseif (!$auth) {
|
||||
|
||||
if ($width < 200)
|
||||
{
|
||||
graph_error("No Auth");
|
||||
} else {
|
||||
graph_error("No Authorisation");
|
||||
}
|
||||
|
||||
} else {
|
||||
#$rrd_options .= " HRULE:0#999999";
|
||||
if ($no_file)
|
||||
|
||||
Reference in New Issue
Block a user