I believe I found my issue. It looks like the SNMP input/output
rate/packets poller item was at fault. It listed two different MIBs to poll
for this information, and the poller was using the 2nd MIB listed, which did
not work (that MIB was actually trying to retrieve the MAC address of the
interface!). I removed the 2nd MIB, and now the poller is collecting
traffic information for the interface.
Was that the intent all along? To provide both, and have the user manually
edit the field to get the one they needed?
On Tue, May 13, 2008 at 3:58 PM, Kyle Gonzales <[EMAIL PROTECTED]>
wrote:
> JFFNMS is not capturing the Cisco inteface traffic when the poller runs,
> so my traffic graphs are full of nans.
>
> Here is the output of a snmpwalk on the main interface:
>
> # snmpwalk -v 2c -c XXXX X.X.X.X .1.3.6.1.2.1.2.2.1 | grep '\.2'
> IF-MIB::ifIndex.2 = INTEGER: 2
> IF-MIB::ifDescr.2 = STRING: FastEthernet0
> IF-MIB::ifType.2 = INTEGER: ethernetCsmacd(6)
> IF-MIB::ifMtu.2 = INTEGER: 1500
> IF-MIB::ifSpeed.2 = Gauge32: 100000000
> IF-MIB::ifPhysAddress.2 = STRING: 0:9:e8:4d:6:5f
> IF-MIB::ifAdminStatus.2 = INTEGER: up(1)
> IF-MIB::ifOperStatus.2 = INTEGER: up(1)
> IF-MIB::ifLastChange.2 = Timeticks: (1167) 0:00:11.67
> IF-MIB::ifLastChange.4 = Timeticks: (2025) 0:00:20.25
> IF-MIB::ifInOctets.2 = Counter32: 306636965
> IF-MIB::ifInUcastPkts.2 = Counter32: 5955112
> IF-MIB::ifInNUcastPkts.2 = Counter32: 34698
> IF-MIB::ifInDiscards.2 = Counter32: 0
> IF-MIB::ifInErrors.2 = Counter32: 31
> IF-MIB::ifInUnknownProtos.2 = Counter32: 0
> IF-MIB::ifOutOctets.2 = Counter32: 1800442189
> IF-MIB::ifOutUcastPkts.2 = Counter32: 4581948
> IF-MIB::ifOutNUcastPkts.2 = Counter32: 6864
> IF-MIB::ifOutDiscards.2 = Counter32: 0
> IF-MIB::ifOutErrors.2 = Counter32: 47
> IF-MIB::ifOutQLen.2 = Gauge32: 0
> IF-MIB::ifSpecific.2 = OID: SNMPv2-SMI::zeroDotZero
>
> Here is the output of the poller on the same interface:
>
> # php -e poller2.php 2 4
> 15:50:05 : H 2 : Poller Start : 19 Items.
> 15:50:05 : H 2 : I 4 : P 10 : verify_interface_number(): 2 ->
> verify_interface_number(): interfacenumber not changed (time P: 4.27 | B:
> 1.04)
> 15:50:05 : H 2 : I 4 : P 15 :
> cisco_snmp_ping_start:cisco_snmp_ping_start():
> -1 -> buffer(): 1 (time P: 0.56 | B: 0.09)
> 15:50:05 : H 2 : I 4 : P 16 : interface_oper_status(8): up ->
> alarm(3,,180): Nothing was done (time P: 7.79 | B: 1.12)
> 15:50:05 : H 2 : I 4 : P 17 : interface_admin_status(7): up ->
> db(show_rootmap,down=2|up=1,0): 0 (time P: 9.65 | B: 0.09)
> 15:50:05 : H 2 : I 4 : P 20 : snmp_counter:input(.1.3..6.2): ->
> buffer(): 2 (time P: 8.25 | B: 0.09)
> 15:50:05 : H 2 : I 4 : P 25 : snmp_counter:inpackets(.1.3..7.2):
> -> buffer(): 3 (time P: 7.89 | B: 0.09)
> 15:50:05 : H 2 : I 4 : P 30 : snmp_counter:output(.1.3..0.2): ->
> buffer(): 4 (time P: 7.93 | B: 0.09)
> 15:50:05 : H 2 : I 4 : P 35 :
> snmp_counter:outpackets(.1.3..1.2): -> buffer(): 5 (time P: 7.93 | B: 0.09)
>
> 15:50:05 : H 2 : I 4 : P 40 :
> snmp_counter:outputerrors(.1.3..0.2): 47 -> buffer(): 6 (time P: 10.05 | B:
> 0.09)
> 15:50:05 : H 2 : I 4 : P 45 :
> snmp_counter:inputerrors(.1.3..4.2): 31 -> buffer(): 7 (time P: 5.4 | B:
> 0.09)
> 15:50:05 : H 2 : I 4 : P 46 : snmp_counter:drops(.1.3..9.2): 0 ->
> buffer(): 8 (time P: 4.58 | B: 0.1)
> 15:50:05 : H 2 : I 4 : P 47 : db:bandwidthin(band..tes): 12500000
> -> buffer(): 9 (time P: 0.08 | B: 0.09)
> 15:50:05 : H 2 : I 4 : P 48 : db:bandwidthout(band..tes):
> 12500000 -> buffer(): 10 (time P: 0.07 | B: 0.09)
> 15:50:05 : H 2 : I 4 : P 50 : cisco_snmp_ping_wait(): -1 ->
> no_backend(): 0 (time P: 0.12 | B: 0.04)
> 15:50:05 : H 2 : I 4 : P 55 :
> cisco_snmp_ping_get_pl:packetloss(): 0 -> buffer(): 11 (time P: 0.11 | B:
> 0.09)
> 15:50:05 : H 2 : I 4 : P 60 : cisco_snmp_ping_get_rtt:rtt(): 0 ->
> buffer(): 12 (time P: 0.11 | B: 0.08)
> 15:50:05 : H 2 : I 4 : P 65 : cisco_snmp_ping_end(): -1 ->
> no_backend(): 0 (time P: 0.11 | B: 0.04)
> 15:50:05 : H 2 : I 4 : P 80 : no_poller(): 0 -> rrd(*):
> inputerrors:31 - outputerrors:47 - rtt:0 - packetloss:0 - drops:0 -
> bandwidthin:12500000 - bandwidthout:12500000 (time P: 0.07 | B: 23.77)
> 15:50:05 : H : I 4 : P LPD : last_poll_date(): 1210708205 ->
> db(last_poll_date): 1 (time P: 0.07 | B: 3.45)
> 15:50:05 : H 2 : Poller End, Total Time: 131 msec.
>
> I THINK from my investigation that the poller is being told the wrong MIB
> to look for input/output on (.6.2 and .7.2, but should be .10.2 and .11.2).
> Is this an error with the JFFNMS setup or am I doing something wrong?
>
>
> --
> Kyle Gonzales
> [EMAIL PROTECTED]
> GPG Pub Key: 9C3FBD51
>
> Read My Tech Blog:
> http://techiebloggiethingie.blogspot.com/
--
Kyle Gonzales
[EMAIL PROTECTED]
GPG Pub Key: 9C3FBD51
Read My Tech Blog:
http://techiebloggiethingie.blogspot.com/
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
jffnms-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jffnms-users