Problem with SNMP - Interface Statistics and cacti 1.2.5

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Moderators, Developers

Author
Message
netniV
Cacti Guru User
Posts: 2930
Joined: Sun Aug 27, 2017 12:05 am

Re: Problem with SNMP - Interface Statistics and cacti 1.2.5

#16 Post by netniV » Sat Jul 06, 2019 5:21 am

https://github.com/cacti/cacti/issues/2802

Your issue has been logged and hopefully resolved in the above issue. v1.2.5 will be officially released tomorrow more than likely (pending any major issues).

praxtoneitor
Posts: 21
Joined: Mon Dec 21, 2009 7:57 am

Re: Problem with SNMP - Interface Statistics and cacti 1.2.5

#17 Post by praxtoneitor » Tue Jul 09, 2019 5:52 am

the problem continues:
Total: 0.260000, Delta: 0.000000, Input field located 'ifName' [walk]
Total: 0.270000, Delta: 0.010000, Sort field returned no data. Can not continue Re-Index for OID [.1.3.6.1.2.1.31.1.1.1.1]

netniV
Cacti Guru User
Posts: 2930
Joined: Sun Aug 27, 2017 12:05 am

Re: Problem with SNMP - Interface Statistics and cacti 1.2.5

#18 Post by netniV » Tue Jul 09, 2019 7:24 am

Was that after getting the latest update from GitHub? If so, update the above issue and paste your results.

praxtoneitor
Posts: 21
Joined: Mon Dec 21, 2009 7:57 am

Re: Problem with SNMP - Interface Statistics and cacti 1.2.5

#19 Post by praxtoneitor » Wed Jul 10, 2019 1:23 am

Yes, I made a new installation yesterday from github, and the result is the same as before, same error in the same point.

ID externo
Información de depuración de la consulta de datos
Total: 0.000000, Delta: 0.000000, Archivo XML de consulta de datos encontrado en '/var/www/html/cacti/resource/snmp_queries/interface.xml'
Total: 0.000000, Delta: 0.000000, Ejecutando Consulta de Datos [4].
Total: 0.000000, Delta: 0.000000, Tipo encontrado = '3' [Consulta SNMP].
Total: 0.000000, Delta: 0.000000, Análisis de archivo XML ok.
Total: 0.010000, Delta: 0.010000, Ejecutando SNMP Get para NUM de índices @ ' .1.3.6.1.2.1.2.1.0 ' conteo de índices: 6
Total: 0.060000, Delta: 0.050000, Ejecutando SNMP Walk para la lista de índices @ '.1.3.6.1.2.1.2.2.1.1' cuenta de índice: 6
Total: 0.060000, Delta: 0.000000, Índice encontrado en OID: '.1.3.6.1.2.1.2.2.1.1.1' valor: '1'
Total: 0.060000, Delta: 0.000000, Índice encontrado en OID: '.1.3.6.1.2.1.2.2.1.1.2' valor: '2'
Total: 0.060000, Delta: 0.000000, Índice encontrado en OID: '.1.3.6.1.2.1.2.2.1.1.3' valor: '3'
Total: 0.060000, Delta: 0.000000, Índice encontrado en OID: '.1.3.6.1.2.1.2.2.1.1.4' valor: '4'
Total: 0.060000, Delta: 0.000000, Índice encontrado en OID: '.1.3.6.1.2.1.2.2.1.1.5' valor: '5'
Total: 0.060000, Delta: 0.000000, Índice encontrado en OID: '.1.3.6.1.2.1.2.2.1.1.6' valor: '6'
Haga clic para mostrar la salida de consulta de datos para el campo 'ifIndex'
Total: 0.060000, Delta: 0.000000, Campo de entrada localizado 'ifIndex' [walk]
Total: 0.090000, Delta: 0.030000, Ejecutando SNMP Walk para datos @ '.1.3.6.1.2.1.2.2.1.1'
Elemento encontrado [ifIndex='1'] índice: 1 [de value]
Elemento encontrado [ifIndex='2'] índice: 2 [de value]
Elemento encontrado [ifIndex='3'] índice: 3 [de value]
Elemento encontrado [ifIndex='4'] índice: 4 [de value]
Elemento encontrado [ifIndex='5'] índice: 5 [de value]
Elemento encontrado [ifIndex='6'] índice: 6 [de value]
Haga clic para mostrar la salida de consulta de datos para el campo 'ifOperStatus'
Total: 0.090000, Delta: 0.000000, Campo de entrada localizado 'ifOperStatus' [walk]
Total: 0.130000, Delta: 0.040000, Ejecutando SNMP Walk para datos @ '.1.3.6.1.2.1.2.2.1.8'
Elemento encontrado [ifOperStatus='Up'] índice: 1 [de value]
Elemento encontrado [ifOperStatus='Up'] índice: 2 [de value]
Elemento encontrado [ifOperStatus='Down'] índice: 3 [de value]
Elemento encontrado [ifOperStatus='Up'] índice: 4 [de value]
Elemento encontrado [ifOperStatus='Up'] índice: 5 [de value]
Elemento encontrado [ifOperStatus='Up'] índice: 6 [de value]
Haga clic para mostrar la salida de consulta de datos para el campo 'ifAdminStatus'
Total: 0.130000, Delta: 0.000000, Campo de entrada localizado 'ifAdminStatus' [walk]
Total: 0.180000, Delta: 0.050000, Ejecutando SNMP Walk para datos @ '.1.3.6.1.2.1.2.2.1.7'
Elemento encontrado [ifAdminStatus='Up'] índice: 1 [de value]
Elemento encontrado [ifAdminStatus='Up'] índice: 2 [de value]
Elemento encontrado [ifAdminStatus='Down'] índice: 3 [de value]
Elemento encontrado [ifAdminStatus='Up'] índice: 4 [de value]
Elemento encontrado [ifAdminStatus='Up'] índice: 5 [de value]
Elemento encontrado [ifAdminStatus='Up'] índice: 6 [de value]
Haga clic para mostrar la salida de consulta de datos para el campo 'ifDescr'
Total: 0.180000, Delta: 0.000000, Campo de entrada localizado 'ifDescr' [walk]
Total: 0.210000, Delta: 0.040000, Ejecutando SNMP Walk para datos @ '.1.3.6.1.2.1.2.2.1.2'
Elemento encontrado [ifDescr='lo'] índice: 1 [de value]
Elemento encontrado [ifDescr='eth0'] índice: 2 [de value]
Elemento encontrado [ifDescr='eth1'] índice: 3 [de value]
Elemento encontrado [ifDescr='wifi0'] índice: 4 [de value]
Elemento encontrado [ifDescr='ath0'] índice: 5 [de value]
Elemento encontrado [ifDescr='br0'] índice: 6 [de value]
Haga clic para mostrar la salida de consulta de datos para el campo 'ifName'
Total: 0.210000, Delta: 0.000000, Campo de entrada localizado 'ifName' [walk]
Total: 0.230000, Delta: 0.020000, Sort field returned no data. Can not continue Re-Index for OID[.1.3.6.1.2.1.31.1.1.1.1]

praxtoneitor
Posts: 21
Joined: Mon Dec 21, 2009 7:57 am

Re: Problem with SNMP - Interface Statistics and cacti 1.2.5

#20 Post by praxtoneitor » Thu Jul 11, 2019 1:22 am

I have tried the same with a ubiquiti AC device, and the same happens with the AirOS, the process arrives at the ifname and can not continue.
Total: 0.040000, Delta: 0.000000, Input field located 'ifName' [walk]
Total: 0.040000, Delta: 0.000000, Sort field returned no data. Can not continue Re-Index for OID [.1.3.6.1.2.1.31.1.1.1.1]

User avatar
Osiris
Cacti Pro User
Posts: 863
Joined: Mon Jan 05, 2015 10:10 am

Re: Problem with SNMP - Interface Statistics and cacti 1.2.5

#21 Post by Osiris » Thu Jul 11, 2019 8:21 am

And update was just made to lib/data_query.php. Please test with that.
Before history, there was a paradise, now dust.

praxtoneitor
Posts: 21
Joined: Mon Dec 21, 2009 7:57 am

Re: Problem with SNMP - Interface Statistics and cacti 1.2.5

#22 Post by praxtoneitor » Thu Jul 11, 2019 9:23 am

everything is ok, the problem has been solved with the new data_query.php. Many thanks
Last edited by praxtoneitor on Thu Jul 11, 2019 10:04 am, edited 1 time in total.

User avatar
Osiris
Cacti Pro User
Posts: 863
Joined: Mon Jan 05, 2015 10:10 am

Re: Problem with SNMP - Interface Statistics and cacti 1.2.5

#23 Post by Osiris » Thu Jul 11, 2019 9:27 am

That's good to know.
Before history, there was a paradise, now dust.

praxtoneitor
Posts: 21
Joined: Mon Dec 21, 2009 7:57 am

Re: Problem with SNMP - Interface Statistics and cacti 1.2.5

#24 Post by praxtoneitor » Mon Jul 15, 2019 7:39 am

I'm sorry to say that I still have problems with ubiquiti equipment graphics, graphics can not be generated and the log shows the following
- SPINE: Poller [Main Poller] Device [my_host_ip] HT [1] DS [my_host_ip - Broadcast Packets - eth0 / 2] Graphs [my_host_ip - Broadcast Packets - eth0 / 2] SNMP: v1: my_host_ip,

User avatar
Osiris
Cacti Pro User
Posts: 863
Joined: Mon Jan 05, 2015 10:10 am

Re: Problem with SNMP - Interface Statistics and cacti 1.2.5

#25 Post by Osiris » Mon Jul 15, 2019 7:48 am

So, when you perform an snmpget to the OID in question, what do you get? The problem may simply be a slow device. Have you increased the timeouts? Tried snmpv2?
Before history, there was a paradise, now dust.

praxtoneitor
Posts: 21
Joined: Mon Dec 21, 2009 7:57 am

Re: Problem with SNMP - Interface Statistics and cacti 1.2.5

#26 Post by praxtoneitor » Mon Jul 15, 2019 8:50 am

I have several ubiquiti devices, they all work with snmp v1 and the result is the same in all of them.

These same devices are in a 8.8a cacti and they work correctly.

User avatar
Osiris
Cacti Pro User
Posts: 863
Joined: Mon Jan 05, 2015 10:10 am

Re: Problem with SNMP - Interface Statistics and cacti 1.2.5

#27 Post by Osiris » Mon Jul 15, 2019 4:38 pm

Attach screen shots of the poller cache from 0.8.8a and 1.2.5 for the same devices as well as the snmpget output.
Before history, there was a paradise, now dust.

praxtoneitor
Posts: 21
Joined: Mon Dec 21, 2009 7:57 am

Re: Problem with SNMP - Interface Statistics and cacti 1.2.5

#28 Post by praxtoneitor » Tue Jul 16, 2019 1:41 am

The problem is that when selecting the same interface in both cactis, (in this case ath0), cacti 0.8.8a uses a valid OID that returns data, but cacti 1.2.5 uses another one that does not return anything.

Cacti 1.2.5
The OID in interface ath0/5

[email protected]>snmpwalk -v1 -c public 10.50.36.20 .1.3.6.1.2.1.31.1.1.1.3.5
[email protected]>

Cacti 0.8.8a
[email protected]>snmpwalk -v1 -c public 10.50.36.20 .1.3.6.1.2.1.2.2.1.16.5
[email protected]>iso.3.6.1.2.1.2.2.1.16.5 = Counter32: 448739379

User avatar
Osiris
Cacti Pro User
Posts: 863
Joined: Mon Jan 05, 2015 10:10 am

Re: Problem with SNMP - Interface Statistics and cacti 1.2.5

#29 Post by Osiris » Tue Jul 16, 2019 7:40 am

So, where are the screen shots? And do you know why the OID's are different? Send the verbose query output from both as well. So, to summarize, you owe me:

1) Screen shots 0.8.8 and 1.x Poller Cache
2) Verbose query output for both
3) Add the resource/snmp_query/*.xml file too.
Before history, there was a paradise, now dust.

praxtoneitor
Posts: 21
Joined: Mon Dec 21, 2009 7:57 am

Re: Problem with SNMP - Interface Statistics and cacti 1.2.5

#30 Post by praxtoneitor » Tue Jul 16, 2019 11:44 am

Attach the screenshots and /snmp_queries/interface.xml in the cactis.

snmp_query/interface.xml in cacti 1.2.5

<interface>
<name>Get SNMP Interfaces</name>
<description>Queries a host for a list of monitorable interfaces</description>
<oid_index>.1.3.6.1.2.1.2.2.1.1</oid_index>
<oid_num_indexes>.1.3.6.1.2.1.2.1.0</oid_num_indexes>
<index_order>ifName:ifDescr:ifHwAddr:ifIndex</index_order>
<index_order_type>numeric</index_order_type>
<index_title_format>|chosen_order_field|</index_title_format>

<fields>
<ifIndex>
<name>Index</name>
<method>walk</method>
<source>value</source>
<direction>input</direction>
<oid>.1.3.6.1.2.1.2.2.1.1</oid>
</ifIndex>
<ifOperStatus>
<name>Status</name>
<method>walk</method>
<source>VALUE/REGEXP:[a-zA-Z]{1,}\(([1-]{1})+\)$</source>
<direction>input-output</direction>
<oid>.1.3.6.1.2.1.2.2.1.8</oid>
</ifOperStatus>
<ifAdminStatus>
<name>AdminStatus</name>
<method>walk</method>
<source>VALUE/REGEXP:[a-zA-Z]{1,}\(([1-]{1})+\)$</source>
<direction>input-output</direction>
<oid>.1.3.6.1.2.1.2.2.1.7</oid>
</ifAdminStatus>
<ifDescr>
<name>Description</name>
<method>walk</method>
<source>value</source>
<direction>input</direction>
<oid>.1.3.6.1.2.1.2.2.1.2</oid>
</ifDescr>
<ifName>
<name>Name (IF-MIB)</name>
<method>walk</method>
<source>value</source>
<direction>input</direction>
<oid>.1.3.6.1.2.1.31.1.1.1.1</oid>
</ifName>
<ifAlias>
<name>Alias (IF-MIB)</name>
<method>walk</method>
<output_format>ascii</output_format>
<source>value</source>
<direction>input</direction>
<oid>.1.3.6.1.2.1.31.1.1.1.18</oid>
</ifAlias>
<ifType>
<name>Type</name>
<method>walk</method>
<output_format>ascii</output_format>
<source>value</source>
<direction>input</direction>
<oid>.1.3.6.1.2.1.2.2.1.3</oid>
</ifType>
<ifSpeed>
<name>Speed</name>
<method>walk</method>
<source>value</source>
<direction>input</direction>
<oid>.1.3.6.1.2.1.2.2.1.5</oid>
</ifSpeed>
<ifHighSpeed>
<name>High Speed</name>
<method>walk</method>
<source>value</source>
<direction>input</direction>
<oid>.1.3.6.1.2.1.31.1.1.1.15</oid>
</ifHighSpeed>
<ifHwAddr>
<name>Hardware Address</name>
<method>walk</method>
<output_format>hex</output_format>
<source>value</source>
<direction>input</direction>
<oid>.1.3.6.1.2.1.2.2.1.6</oid>
</ifHwAddr>
<ifInOctets>
<name>Bytes In</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.2.1.2.2.1.10</oid>
</ifInOctets>
<ifOutOctets>
<name>Bytes Out</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.2.1.2.2.1.16</oid>
</ifOutOctets>
<ifHCInOctets>
<name>Bytes In - 64-bit Counters</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.2.1.31.1.1.1.6</oid>
</ifHCInOctets>
<ifHCOutOctets>
<name>Bytes Out - 64-bit Counters</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.2.1.31.1.1.1.10</oid>
</ifHCOutOctets>
<ifInOctetsIPv4>
<name>IPv4 Bytes In</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.2.1.4.31.3.1.5.1</oid>
</ifInOctetsIPv4>
<ifOutOctetsIPv4>
<name>IPv4 Bytes Out</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.2.1.4.31.3.1.32.1</oid>
</ifOutOctetsIPv4>
<ifHCInOctetsIPv4>
<name>IPv4 Bytes In - 64-bit Counters</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.2.1.4.31.3.1.6.1</oid>
</ifHCInOctetsIPv4>
<ifHCOutOctetsIPv4>
<name>IPv4 Bytes Out - 64-bit Counters</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.2.1.4.31.3.1.33.1</oid>
</ifHCOutOctetsIPv4>
<ifInOctetsIPv6>
<name>IPv6 Bytes In</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.2.1.4.31.3.1.5.2</oid>
</ifInOctetsIPv6>
<ifOutOctetsIPv6>
<name>IPv6 Bytes Out</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.2.1.4.31.3.1.32.2</oid>
</ifOutOctetsIPv6>
<ifHCInOctetsIPv6>
<name>IPv6 Bytes In - 64-bit Counters</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.2.1.4.31.3.1.6.2</oid>
</ifHCInOctetsIPv6>
<ifHCOutOctetsIPv6>
<name>IPv6 Bytes Out - 64-bit Counters</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.2.1.4.31.3.1.33.2</oid>
</ifHCOutOctetsIPv6>
<ifInDiscards>
<name>Discarded Packets In</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.2.1.2.2.1.13</oid>
</ifInDiscards>
<ifOutDiscards>
<name>Discarded Packets Out</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.2.1.2.2.1.19</oid>
</ifOutDiscards>
<ifInNUcastPkts>
<name>Non-Unicast Packets In</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.2.1.2.2.1.12</oid>
</ifInNUcastPkts>
<ifOutNUcastPkts>
<name>Non-Unicast Packets Out</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.2.1.2.2.1.18</oid>
</ifOutNUcastPkts>
<ifInUcastPkts>
<name>Unicast Packets In (Legacy)</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.2.1.2.2.1.11</oid>
</ifInUcastPkts>
<ifOutUcastPkts>
<name>Unicast Packets Out (Legacy)</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.2.1.2.2.1.17</oid>
</ifOutUcastPkts>
<ifHCInUcastPkts>
<name>Unicast Packets In - 64-bit Counters</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.2.1.31.1.1.1.7</oid>
</ifHCInUcastPkts>
<ifHCOutUcastPkts>
<name>Unicast Packets Out - 64-bit Counters</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.2.1.31.1.1.1.11</oid>
</ifHCOutUcastPkts>
<ifInMulticastPkts>
<name>Multicast Packets In (Legacy)</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.2.1.31.1.1.1.2</oid>
</ifInMulticastPkts>
<ifOutMulticastPkts>
<name>Multicast Packets Out (Legacy)</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.2.1.31.1.1.1.4</oid>
</ifOutMulticastPkts>
<ifHCInMulticastPkts>
<name>Multicast Packets In - 64-bit Counters</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.2.1.31.1.1.1.8</oid>
</ifHCInMulticastPkts>
<ifHCOutMulticastPkts>
<name>Multicast Packets Out - 64-bit Counters</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.2.1.31.1.1.1.12</oid>
</ifHCOutMulticastPkts>
<ifInBroadcastPkts>
<name>Broadcast Packets In (Legacy)</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.2.1.31.1.1.1.3</oid>
</ifInBroadcastPkts>
<ifOutBroadcastPkts>
<name>Broadcast Packets Out (Legacy)</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.2.1.31.1.1.1.5</oid>
</ifOutBroadcastPkts>
<ifHCInBroadcastPkts>
<name>Broadcast Packets In - 64-bit Counters</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.2.1.31.1.1.1.9</oid>
</ifHCInBroadcastPkts>
<ifHCOutBroadcastPkts>
<name>Broadcast Packets Out - 64-bit Counters</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.2.1.31.1.1.1.13</oid>
</ifHCOutBroadcastPkts>
<ifInErrors>
<name>Errors In</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.2.1.2.2.1.14</oid>
</ifInErrors>
<ifOutErrors>
<name>Errors Out</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.2.1.2.2.1.20</oid>
</ifOutErrors>
<ifIP>
<name>IP Address</name>
<method>walk</method>
<source>OID/REGEXP:^\.?1\.3\.6\.1\.2\.1\.4\.20\.1\.2\.([0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}).*</source>
<direction>input</direction>
<oid>.1.3.6.1.2.1.4.20.1.2</oid>
</ifIP>
</fields>
</interface>


snmp_queries/interface.xml in cacti 0.8.8a

<interface>
<name>Get SNMP Interfaces</name>
<description>Queries a host for a list of monitorable interfaces</description>
<oid_index>.1.3.6.1.2.1.2.2.1.1</oid_index>
<oid_num_indexes>.1.3.6.1.2.1.2.1.0</oid_num_indexes>
<index_order>ifDescr:ifName:ifHwAddr:ifIndex</index_order>
<index_order_type>numeric</index_order_type>
<index_title_format>|chosen_order_field|</index_title_format>

<fields>
<ifIndex>
<name>Index</name>
<method>walk</method>
<source>value</source>
<direction>input</direction>
<oid>.1.3.6.1.2.1.2.2.1.1</oid>
</ifIndex>
<ifOperStatus>
<name>Status</name>
<method>walk</method>
<source>value</source>
<direction>input</direction>
<oid>.1.3.6.1.2.1.2.2.1.8</oid>
</ifOperStatus>
<ifDescr>
<name>Description</name>
<method>walk</method>
<source>value</source>
<direction>input</direction>
<oid>.1.3.6.1.2.1.2.2.1.2</oid>
</ifDescr>
<ifName>
<name>Name (IF-MIB)</name>
<method>walk</method>
<source>value</source>
<direction>input</direction>
<oid>.1.3.6.1.2.1.31.1.1.1.1</oid>
</ifName>
<ifAlias>
<name>Alias (IF-MIB)</name>
<method>walk</method>
<source>value</source>
<direction>input</direction>
<oid>.1.3.6.1.2.1.31.1.1.1.18</oid>
</ifAlias>
<ifType>
<name>Type</name>
<method>walk</method>
<source>value</source>
<direction>input</direction>
<oid>.1.3.6.1.2.1.2.2.1.3</oid>
</ifType>
<ifSpeed>
<name>Speed</name>
<method>walk</method>
<source>value</source>
<direction>input</direction>
<oid>.1.3.6.1.2.1.2.2.1.5</oid>
</ifSpeed>
<ifHighSpeed>
<name>High Speed</name>
<method>walk</method>
<source>value</source>
<direction>input</direction>
<oid>.1.3.6.1.2.1.31.1.1.1.15</oid>
</ifHighSpeed>
<ifHwAddr>
<name>Hardware Address</name>
<method>walk</method>
<source>value</source>
<direction>input</direction>
<oid>.1.3.6.1.2.1.2.2.1.6</oid>
</ifHwAddr>
<ifInOctets>
<name>Bytes In</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.2.1.2.2.1.10</oid>
</ifInOctets>
<ifOutOctets>
<name>Bytes Out</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.2.1.2.2.1.16</oid>
</ifOutOctets>
<ifHCInOctets>
<name>Bytes In - 64-bit Counters</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.2.1.31.1.1.1.6</oid>
</ifHCInOctets>
<ifHCOutOctets>
<name>Bytes Out - 64-bit Counters</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.2.1.31.1.1.1.10</oid>
</ifHCOutOctets>
<ifInDiscards>
<name>Discarded Packets In</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.2.1.2.2.1.13</oid>
</ifInDiscards>
<ifOutDiscards>
<name>Discarded Packets Out</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.2.1.2.2.1.19</oid>
</ifOutDiscards>
<ifInNUcastPkts>
<name>Non-Unicast Packets In</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.2.1.2.2.1.12</oid>
</ifInNUcastPkts>
<ifOutNUcastPkts>
<name>Non-Unicast Packets Out</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.2.1.2.2.1.18</oid>
</ifOutNUcastPkts>
<ifInUcastPkts>
<name>Unicast Packets In</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.2.1.2.2.1.11</oid>
</ifInUcastPkts>
<ifOutUcastPkts>
<name>Unicast Packets Out</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.2.1.2.2.1.17</oid>
</ifOutUcastPkts>
<ifInErrors>
<name>Errors In</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.2.1.2.2.1.14</oid>
</ifInErrors>
<ifOutErrors>
<name>Errors Out</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.2.1.2.2.1.20</oid>
</ifOutErrors>
<ifIP>
<name>IP Address</name>
<method>walk</method>
<source>OID/REGEXP:.*\.([0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3})$</source>
<direction>input</direction>
<oid>.1.3.6.1.2.1.4.20.1.2</oid>
</ifIP>
</fields>
</interface>
Attachments
screenshot3.jpg
screenshot3.jpg (520.89 KiB) Viewed 877 times
screenshot2.jpg
screenshot2.jpg (282.93 KiB) Viewed 877 times
screenshot1.jpg
screenshot1.jpg (581.89 KiB) Viewed 877 times

Post Reply