Tony Murray 4dd56bc72e refactor: Wifi cleanup (#7607)
* refactor: remove duplicated data collection in old wifi module
Still a bit more work before we can fully remove it

* remove unused graphs
update overview graphs for some wireless os
2017-11-02 21:07:58 +00:00

89 lines
1.8 KiB
PHP

<?php
echo ' Siklu Wireless ';
// Poll interface statistics
$mib_oids = array(
'rfInPkts' => array(
'1',
'rfInPkts',
'In Packets',
'DERIVE',
array('min' => 0, 'max' => 12500000000),
),
'rfOutPkts' => array(
'1',
'rfOutPkts',
'Out Packets',
'DERIVE',
array('min' => 0, 'max' => 12500000000),
),
'rfInGoodPkts' => array(
'1',
'rfInGoodPkts',
'Good Packets',
'DERIVE',
),
'rfInErroredPkts' => array(
'1',
'rfInErroredPkts',
'Errored Packets',
'DERIVE',
),
'rfInLostPkts' => array(
'1',
'rfInLostPkts',
'Lost Packets',
'DERIVE',
),
'rfInOctets' => array(
'1',
'rfInOctets',
'In Packets',
'DERIVE',
array('min' => 0, 'max' => 12500000000),
),
'rfOutOctets' => array(
'1',
'rfOutOctets',
'Out Packets',
'DERIVE',
array('min' => 0, 'max' => 12500000000),
),
'rfInGoodOctets' => array(
'1',
'rfInGoodOctets',
'Good Packets',
'DERIVE',
),
'rfInErroredOctets' => array(
'1',
'rfInErroredOctets',
'Errored Packets',
'DERIVE',
),
'rfInIdleOctets' => array(
'1',
'rfInIdleOctets',
'Lost Packets',
'DERIVE',
),
'rfOutIdleOctets' => array(
'1',
'rfOutIdleOctets',
'Lost Packets',
'DERIVE',
),
);
$mib_graphs = array(
'siklu_rfinterfacePkts',
'siklu_rfinterfaceOtherPkts',
'siklu_rfinterfaceOctets',
'siklu_rfinterfaceOtherOctets',
);
unset($graph, $oids, $oid);
poll_mib_def($device, 'RADIO-BRIDGE-MIB:siklu-interface', 'siklu', $mib_oids, $mib_graphs, $graphs);