-
Notifications
You must be signed in to change notification settings - Fork 155
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[leo_gateway][snmpa] Can not retrieve the object-cache statistics #463
Comments
yosukehara
changed the title
[leo_gateway][snmpa] Not retrieve the object-cache statistics
[leo_gateway][snmpa] Can not retrieve the object-cache statistics
Mar 9, 2016
Result from snmpwalk $ snmpwalk -v 2c -c public 127.0.0.1:4000 .1.3.6.1.4.1.35450
iso.3.6.1.4.1.35450.34.1.0 = STRING: "G0@192.168.100.35"
iso.3.6.1.4.1.35450.34.2.0 = Gauge32: 542
iso.3.6.1.4.1.35450.34.3.0 = Gauge32: 80508340
iso.3.6.1.4.1.35450.34.4.0 = Gauge32: 58260036
iso.3.6.1.4.1.35450.34.5.0 = Gauge32: 22493083
iso.3.6.1.4.1.35450.34.6.0 = Gauge32: 6442284
iso.3.6.1.4.1.35450.34.7.0 = Gauge32: 544
iso.3.6.1.4.1.35450.34.8.0 = Gauge32: 80178420
iso.3.6.1.4.1.35450.34.9.0 = Gauge32: 57641974
iso.3.6.1.4.1.35450.34.10.0 = Gauge32: 22564420
iso.3.6.1.4.1.35450.34.11.0 = Gauge32: 6437567
iso.3.6.1.4.1.35450.34.12.0 = Gauge32: 66011
iso.3.6.1.4.1.35450.34.13.0 = Gauge32: 1253211
iso.3.6.1.4.1.35450.34.14.0 = Gauge32: 0
iso.3.6.1.4.1.35450.34.15.0 = Gauge32: 314912
iso.3.6.1.4.1.35450.34.16.0 = Gauge32: 5984405
iso.3.6.1.4.1.35450.34.17.0 = Gauge32: 0
iso.3.6.1.4.1.35450.34.18.0 = Gauge32: 0
iso.3.6.1.4.1.35450.34.19.0 = Gauge32: 0
iso.3.6.1.4.1.35450.34.20.0 = Gauge32: 0
iso.3.6.1.4.1.35450.34.21.0 = Gauge32: 0
iso.3.6.1.4.1.35450.34.31.0 = Gauge32: 57
iso.3.6.1.4.1.35450.34.32.0 = Gauge32: 141537861
iso.3.6.1.4.1.35450.34.33.0 = Gauge32: 56
iso.3.6.1.4.1.35450.34.34.0 = Gauge32: 142804345 |
I've fix this issue: $ snmpwalk -v 2c -c public 127.0.0.1:4000 .1.3.6.1.4.1.35450
SNMPv2-SMI::enterprises.35450.34.1.0 = STRING: "gateway_0@127.0.0.1"
SNMPv2-SMI::enterprises.35450.34.2.0 = Gauge32: 466
SNMPv2-SMI::enterprises.35450.34.3.0 = Gauge32: 69778323
SNMPv2-SMI::enterprises.35450.34.4.0 = Gauge32: 52912265
SNMPv2-SMI::enterprises.35450.34.5.0 = Gauge32: 16893053
SNMPv2-SMI::enterprises.35450.34.6.0 = Gauge32: 6880533
SNMPv2-SMI::enterprises.35450.34.7.0 = Gauge32: 466
SNMPv2-SMI::enterprises.35450.34.8.0 = Gauge32: 69895370
SNMPv2-SMI::enterprises.35450.34.9.0 = Gauge32: 53002006
SNMPv2-SMI::enterprises.35450.34.10.0 = Gauge32: 16916444
SNMPv2-SMI::enterprises.35450.34.11.0 = Gauge32: 6866305
SNMPv2-SMI::enterprises.35450.34.12.0 = Gauge32: 0
SNMPv2-SMI::enterprises.35450.34.13.0 = Gauge32: 5
SNMPv2-SMI::enterprises.35450.34.14.0 = Gauge32: 0
SNMPv2-SMI::enterprises.35450.34.15.0 = Gauge32: 64
SNMPv2-SMI::enterprises.35450.34.16.0 = Gauge32: 10
SNMPv2-SMI::enterprises.35450.34.17.0 = Gauge32: 0
SNMPv2-SMI::enterprises.35450.34.18.0 = Gauge32: 7 ## Num of cache-hit
SNMPv2-SMI::enterprises.35450.34.19.0 = Gauge32: 1 ## Num of cache-miss
SNMPv2-SMI::enterprises.35450.34.20.0 = Gauge32: 25 ## Total num of cached objects
SNMPv2-SMI::enterprises.35450.34.21.0 = Gauge32: 0
SNMPv2-SMI::enterprises.35450.34.31.0 = Gauge32: 76
SNMPv2-SMI::enterprises.35450.34.32.0 = Gauge32: 91882864
SNMPv2-SMI::enterprises.35450.34.33.0 = Gauge32: 75
SNMPv2-SMI::enterprises.35450.34.34.0 = Gauge32: 92851921 |
There is a remain Issue which is total size of cached objects is zero in spite of existing cached objects into the inner-cache. ### Total size of cached objects
SNMPv2-SMI::enterprises.35450.34.21.0 = Gauge32: 0 |
yosukehara
added a commit
to leo-project/leo_gateway
that referenced
this issue
Mar 9, 2016
DONE: $ snmpwalk -v 2c -c public 127.0.0.1:4000 .1.3.6.1.4.1.35450
SNMPv2-SMI::enterprises.35450.34.1.0 = STRING: "gateway_0@127.0.0.1"
SNMPv2-SMI::enterprises.35450.34.2.0 = Gauge32: 466
SNMPv2-SMI::enterprises.35450.34.3.0 = Gauge32: 83473665
SNMPv2-SMI::enterprises.35450.34.4.0 = Gauge32: 66572063
SNMPv2-SMI::enterprises.35450.34.5.0 = Gauge32: 16931667
SNMPv2-SMI::enterprises.35450.34.6.0 = Gauge32: 6880204
SNMPv2-SMI::enterprises.35450.34.7.0 = Gauge32: 466
SNMPv2-SMI::enterprises.35450.34.8.0 = Gauge32: 80879909
SNMPv2-SMI::enterprises.35450.34.9.0 = Gauge32: 63989941
SNMPv2-SMI::enterprises.35450.34.10.0 = Gauge32: 16909016
SNMPv2-SMI::enterprises.35450.34.11.0 = Gauge32: 6870034
SNMPv2-SMI::enterprises.35450.34.12.0 = Gauge32: 0
SNMPv2-SMI::enterprises.35450.34.13.0 = Gauge32: 8
SNMPv2-SMI::enterprises.35450.34.14.0 = Gauge32: 0
SNMPv2-SMI::enterprises.35450.34.15.0 = Gauge32: 1795
SNMPv2-SMI::enterprises.35450.34.16.0 = Gauge32: 288
SNMPv2-SMI::enterprises.35450.34.17.0 = Gauge32: 0
SNMPv2-SMI::enterprises.35450.34.18.0 = Gauge32: 8 ## Num of cache-hit
SNMPv2-SMI::enterprises.35450.34.19.0 = Gauge32: 1 ## Num of cache-miss
SNMPv2-SMI::enterprises.35450.34.20.0 = Gauge32: 1501 ## Total num of cached objects
SNMPv2-SMI::enterprises.35450.34.21.0 = Gauge32: 33 ## Total size of cached objects
SNMPv2-SMI::enterprises.35450.34.31.0 = Gauge32: 76
SNMPv2-SMI::enterprises.35450.34.32.0 = Gauge32: 110719003
SNMPv2-SMI::enterprises.35450.34.33.0 = Gauge32: 75
SNMPv2-SMI::enterprises.35450.34.34.0 = Gauge32: 108421665 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We've found that LeoGateway's statistics feature could be not put object-cache statistics to SNMPA with the
snmpwalk
command and LeoFS' monitor, Grafana.The text was updated successfully, but these errors were encountered: