Update apache.inc.php (#5938)

Same situation as with pull request https://github.com/librenms/librenms/pull/5919 . snmpget returns multiline output inside quotes (first and last line have quotes).
This commit is contained in:
Michał Margula
2017-02-17 23:18:02 +01:00
committed by Neil Lathwood
parent 07c9535c37
commit c6f6cf1f09

View File

@ -43,7 +43,7 @@ $rrd_def = array(
);
$fields = array(
'access' => $total_access,
'access' => intval(trim($total_access, '"')),
'kbyte' => $total_kbyte,
'cpu' => $cpuload,
'uptime' => $uptime,
@ -62,7 +62,7 @@ $fields = array(
'sb_logging' => $score_logging,
'sb_graceful' => $score_graceful,
'sb_idle' => $score_idle,
'sb_open' => $score_open,
'sb_open' => intval(trim($score_open, '"')),
);
$tags = compact('name', 'app_id', 'rrd_name', 'rrd_def');