Hi Abel,

It seems like the interface you are polling is the .1, that si the lo0 not the 
hme0.

Look in the poller output all OIDs end with a .1

I'm sure we're using the correct OIDs, the IFMIB is a standard, if we used other
OIDs no device will work.

Javier


Abel Aberra wrote:
> The interface bieng monitored is a Solaris 5.9 Hme0 interface. I mention the 
> OS and version due to
> SNMP questions regarding the values I see below. It looks like the poller 
> isn't catching the
> input/output packets from the output the poller script is showing. Am I 
> reading this correctly? I
> was thinking the reason why it may not be graphing correctly is if it is 
> using the wrong OIDs to
> poll the data....
> 
> 
> 
> 
> ----------------------SNMP WALK INTERFACE TABLE----------------------
> HERE IS A WALK OF THE INTERFACES TABLE(NUMERIC VIEW)
> 
> #snmpwalk -On -v2c -c<community> localhost interfaces 
> .1.3.6.1.2.1.2.1.0 = INTEGER: 2
> .1.3.6.1.2.1.2.2.1.1.1 = INTEGER: 1
> .1.3.6.1.2.1.2.2.1.1.2 = INTEGER: 2
> .1.3.6.1.2.1.2.2.1.2.1 = STRING: lo0
> .1.3.6.1.2.1.2.2.1.2.2 = STRING: hme0
> .1.3.6.1.2.1.2.2.1.3.1 = INTEGER: softwareLoopback(24)
> .1.3.6.1.2.1.2.2.1.3.2 = INTEGER: ethernetCsmacd(6)
> .1.3.6.1.2.1.2.2.1.4.1 = INTEGER: 8232
> .1.3.6.1.2.1.2.2.1.4.2 = INTEGER: 1500
> .1.3.6.1.2.1.2.2.1.5.1 = Gauge32: 127000000
> .1.3.6.1.2.1.2.2.1.5.2 = Gauge32: 100000000
> .1.3.6.1.2.1.2.2.1.6.1 = STRING: 
> .1.3.6.1.2.1.2.2.1.6.2 = STRING: 8:0:20:f0:19:50
> .1.3.6.1.2.1.2.2.1.7.1 = INTEGER: up(1)
> .1.3.6.1.2.1.2.2.1.7.2 = INTEGER: up(1)
> .1.3.6.1.2.1.2.2.1.8.1 = INTEGER: up(1)
> .1.3.6.1.2.1.2.2.1.8.2 = INTEGER: up(1)
> .1.3.6.1.2.1.2.2.1.9.1 = Timeticks: (0) 0:00:00.00
> .1.3.6.1.2.1.2.2.1.9.2 = Timeticks: (0) 0:00:00.00
> .1.3.6.1.2.1.2.2.1.10.1 = Counter32: 0
> .1.3.6.1.2.1.2.2.1.10.2 = Counter32: 1167118073
> .1.3.6.1.2.1.2.2.1.11.1 = Counter32: 6448068
> .1.3.6.1.2.1.2.2.1.11.2 = Counter32: 52584747
> .1.3.6.1.2.1.2.2.1.12.1 = Counter32: 0
> .1.3.6.1.2.1.2.2.1.12.2 = Counter32: 22303558
> .1.3.6.1.2.1.2.2.1.13.1 = Counter32: 0
> .1.3.6.1.2.1.2.2.1.13.2 = Counter32: 0
> .1.3.6.1.2.1.2.2.1.14.1 = Counter32: 0
> .1.3.6.1.2.1.2.2.1.14.2 = Counter32: 0
> .1.3.6.1.2.1.2.2.1.15.1 = Counter32: 0
> .1.3.6.1.2.1.2.2.1.15.2 = Counter32: 0
> .1.3.6.1.2.1.2.2.1.16.1 = Counter32: 0
> .1.3.6.1.2.1.2.2.1.16.2 = Counter32: 2814627693
> .1.3.6.1.2.1.2.2.1.17.1 = Counter32: 6448068
> .1.3.6.1.2.1.2.2.1.17.2 = Counter32: 25864337
> .1.3.6.1.2.1.2.2.1.18.1 = Counter32: 0
> .1.3.6.1.2.1.2.2.1.18.2 = Counter32: 5238 
> .1.3.6.1.2.1.2.2.1.19.1 = Counter32: 0
> .1.3.6.1.2.1.2.2.1.19.2 = Counter32: 0
> .1.3.6.1.2.1.2.2.1.20.1 = Counter32: 0
> .1.3.6.1.2.1.2.2.1.20.2 = Counter32: 0
> .1.3.6.1.2.1.2.2.1.21.1 = Gauge32: 0
> .1.3.6.1.2.1.2.2.1.21.2 = Gauge32: 0
> 
> 
> #snmpwalk -v2c -c<community> localhost interfaces 
> IF-MIB::ifNumber.0 = INTEGER: 2
> IF-MIB::ifIndex.1 = INTEGER: 1
> IF-MIB::ifIndex.2 = INTEGER: 2
> IF-MIB::ifDescr.1 = STRING: lo0
> IF-MIB::ifDescr.2 = STRING: hme0
> IF-MIB::ifType.1 = INTEGER: softwareLoopback(24)
> IF-MIB::ifType.2 = INTEGER: ethernetCsmacd(6)
> IF-MIB::ifMtu.1 = INTEGER: 8232
> IF-MIB::ifMtu.2 = INTEGER: 1500
> IF-MIB::ifSpeed.1 = Gauge32: 127000000
> IF-MIB::ifSpeed.2 = Gauge32: 100000000
> IF-MIB::ifPhysAddress.1 = STRING: 
> IF-MIB::ifPhysAddress.2 = STRING: 8:0:20:f0:19:50
> IF-MIB::ifAdminStatus.1 = INTEGER: up(1)
> IF-MIB::ifAdminStatus.2 = INTEGER: up(1)
> IF-MIB::ifOperStatus.1 = INTEGER: up(1)
> IF-MIB::ifOperStatus.2 = INTEGER: up(1)
> IF-MIB::ifLastChange.1 = Timeticks: (0) 0:00:00.00
> IF-MIB::ifLastChange.2 = Timeticks: (0) 0:00:00.00
> IF-MIB::ifInOctets.1 = Counter32: 0
> IF-MIB::ifInOctets.2 = Counter32: 1167144197
> IF-MIB::ifInUcastPkts.1 = Counter32: 6448156
> IF-MIB::ifInUcastPkts.2 = Counter32: 52585036
> IF-MIB::ifInNUcastPkts.1 = Counter32: 0
> IF-MIB::ifInNUcastPkts.2 = Counter32: 22303629
> IF-MIB::ifInDiscards.1 = Counter32: 0
> IF-MIB::ifInDiscards.2 = Counter32: 0
> IF-MIB::ifInErrors.1 = Counter32: 0
> IF-MIB::ifInErrors.2 = Counter32: 0
> IF-MIB::ifInUnknownProtos.1 = Counter32: 0
> IF-MIB::ifInUnknownProtos.2 = Counter32: 0
> IF-MIB::ifOutOctets.1 = Counter32: 0
> IF-MIB::ifOutOctets.2 = Counter32: 2814642154
> IF-MIB::ifOutUcastPkts.1 = Counter32: 6448156
> IF-MIB::ifOutUcastPkts.2 = Counter32: 25864468
> IF-MIB::ifOutNUcastPkts.1 = Counter32: 0
> IF-MIB::ifOutNUcastPkts.2 = Counter32: 5238
> IF-MIB::ifOutDiscards.1 = Counter32: 0
> IF-MIB::ifOutDiscards.2 = Counter32: 0
> IF-MIB::ifOutErrors.1 = Counter32: 0
> IF-MIB::ifOutErrors.2 = Counter32: 0
> IF-MIB::ifOutQLen.1 = Gauge32: 0
> IF-MIB::ifOutQLen.2 = Gauge32: 0
> 
> 
> 
> -----------------------MANUALY POLLING INTERFACE THAT ISN"T GRAPHING
> CORRECTLY----------------------
> @soc00aec:/opt/jffnms/engine> php -q poller2.php 3 68
> 23:34:57  :  H   3 : Poller Start : 19 Items.
> 23:34:58  :  H   3 :  I  68 :  P  10 : verify_interface_number(): 1 -> 
> verify_interface_number():
> interfacenumber not changed (time P: 152.19 | B: 2.81) 
> Error in packet.
> Reason: notWritable (that object does not support modification)
> Failed object: SNMPv2-SMI::enterprises.9.9.16.1.1.1.16.5968
> 
> 23:34:58  :  H   3 :  I  68 :  P  15 : 
> cisco_snmp_ping_start:cisco_snmp_ping_start(): -5 ->
> buffer(): 1 (time P: 151.32 | B: 0.24) 
> 23:34:58  :  H   3 :  I  68 :  P  16 : interface_oper_status(8): up -> 
> alarm(3,,180): Nothing was
> done (time P: 300.93 | B: 2.64) 
> 23:34:58  :  H   3 :  I  68 :  P  17 : interface_admin_status(7): up ->
> db(show_rootmap,down=2|up=1,0): 0 (time P: 299.98 | B: 0.26) 
> 23:34:59  :  H   3 :  I  68 :  P  20 : snmp_counter:input(.1.3..6.1):  -> 
> buffer(): 2 (time P:
> 293.28 | B: 0.29) 
> 23:34:59  :  H   3 :  I  68 :  P  25 : snmp_counter:inpackets(.1.3..7.1):  -> 
> buffer(): 3 (time P:
> 291.68 | B: 0.24) 
> 23:34:59  :  H   3 :  I  68 :  P  30 : snmp_counter:output(.1.3..0.1):  -> 
> buffer(): 4 (time P:
> 292.05 | B: 0.24) 
> 23:35:00  :  H   3 :  I  68 :  P  35 : snmp_counter:outpackets(.1.3..1.1):  
> -> buffer(): 5 (time
> P: 290.57 | B: 0.24) 
> 23:35:00  :  H   3 :  I  68 :  P  40 : snmp_counter:outputerrors(.1.3..0.1): 
> 0 -> buffer(): 6
> (time P: 148.01 | B: 0.25) 
> 23:35:00  :  H   3 :  I  68 :  P  45 : snmp_counter:inputerrors(.1.3..4.1): 0 
> -> buffer(): 7 (time
> P: 146.75 | B: 0.25) 
> 23:35:00  :  H   3 :  I  68 :  P  46 : snmp_counter:drops(.1.3..9.1): 0 -> 
> buffer(): 8 (time P:
> 145.58 | B: 0.26) 
> 23:35:00  :  H   3 :  I  68 :  P  47 : db:bandwidthin(band..tes): 15875000 -> 
> buffer(): 9 (time P:
> 0.13 | B: 0.28) 
> 23:35:00  :  H   3 :  I  68 :  P  48 : db:bandwidthout(band..tes): 15875000 
> -> buffer(): 10 (time
> P: 0.12 | B: 0.26) 
> 23:35:00  :  H   3 :  I  68 :  P  50 : cisco_snmp_ping_wait(): -1 -> 
> no_backend(): 0 (time P: 0.26
> | B: 0.09) 
> 23:35:00  :  H   3 :  I  68 :  P  55 : cisco_snmp_ping_get_pl:packetloss(): 0 
> -> buffer(): 11
> (time P: 0.24 | B: 0.26) 
> 23:35:00  :  H   3 :  I  68 :  P  60 : cisco_snmp_ping_get_rtt:rtt(): 0 -> 
> buffer(): 12 (time P:
> 0.25 | B: 0.31) 
> Error in packet.
> Reason: notWritable (that object does not support modification)
> Failed object: SNMPv2-SMI::enterprises.9.9.16.1.1.1.16.5968
> 
> 23:35:00  :  H   3 :  I  68 :  P  65 : cisco_snmp_ping_end(): 1 -> 
> no_backend(): 0 (time P: 145.93
> | B: 0.1) 
> 23:35:00  :  H   3 :  I  68 :  P  80 : no_poller(): 0 -> rrd(*): 
> inputerrors:0 - outputerrors:0 -
> rtt:0 - packetloss:0 - drops:0 - bandwidthin:15875000 - bandwidthout:15875000 
> (time P: 0.09 | B:
> 303.59) 
> 23:35:00  :  H     :  I  68 :  P LPD : last_poll_date(): 1115609700 -> 
> db(last_poll_date): 1 (time
> P: 0.11 | B: 11.23) 
> 23:35:00  :  H   3 : Poller End, Total Time: 3058 msec.
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by: NEC IT Guy Games.
> Get your fingers limbered up and give it your best shot. 4 great events, 4
> opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
> win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
> _______________________________________________
> jffnms-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jffnms-users

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Javier Szyszlican, Project Leader, JFFNMS
[EMAIL PROTECTED]

I hope JFFNMS or I were helpful to you, if you
can, please donate at http://jffnms.org/donate



-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
_______________________________________________
jffnms-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jffnms-users

Reply via email to