mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-12 16:06:25 +02:00
redesigned graph defining system (still seems a bit batshit, but nevermind). lots of improvements to various pollers, only writing RRDs if valid data is returned, etc.
git-svn-id: http://www.observium.org/svn/observer/trunk@1506 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -36,12 +36,11 @@ if($device[os] != "Snom") {
|
||||
$rrdupdate .= ":$value";
|
||||
}
|
||||
|
||||
print_r($data);
|
||||
|
||||
if(isset($data[0]['ipOutRequests']) && isset($data[0]['ipInReceives'])) {
|
||||
if(!file_exists($rrd_file)) { rrdtool_create($rrd_file, $rrd_create); }
|
||||
rrdtool_update($rrd_file, $rrdupdate);
|
||||
$graphs['netstats-ip'] = TRUE;
|
||||
$graphs['netstat_ip'] = TRUE;
|
||||
$graphs['netstat_ip_frag'] = TRUE;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user