-
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
Resolve leo-project/leofs/issues/941 #1008
Conversation
yosukehara
commented
Mar 23, 2018
•
edited
Loading
edited
- Link: Making more information available over SNMP for storage nodes #941
- Link: [doc] Fix recover-cluster's section because there is a possibility of misunderstanding #1002
I've also fixed recover-related documentation, which is included in this PR. |
| Port | 4010..4014 | | ||
| Branch | 1.3.6.1.4.1.35450 | | ||
| [snmpa\_storage\_0](https://github.com/leo-project/leofs/tree/master/apps/leo_storage/snmp/snmpa_storage_0) | Port: 4020 | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
wrong: Port: 4020
correct: Port: 4010
| Branch | 1.3.6.1.4.1.35450 | | ||
| [snmpa\_storage\_0](https://github.com/leo-project/leofs/tree/master/apps/leo_storage/snmp/snmpa_storage_0) | Port: 4020 | | ||
| [snmpa\_storage\_1](https://github.com/leo-project/leofs/tree/master/apps/leo_storage/snmp/snmpa_storage_1) | Port: 4021 | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
wrong: Port: 4021
correct: Port: 4011
| [snmpa\_storage\_0](https://github.com/leo-project/leofs/tree/master/apps/leo_storage/snmp/snmpa_storage_0) | Port: 4020 | | ||
| [snmpa\_storage\_1](https://github.com/leo-project/leofs/tree/master/apps/leo_storage/snmp/snmpa_storage_1) | Port: 4021 | | ||
| [snmpa\_storage\_2](https://github.com/leo-project/leofs/tree/master/apps/leo_storage/snmp/snmpa_storage_2) | Port: 14020 | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
wrong: Port: 14020
correct: Port: 4012
| [snmpa\_storage\_1](https://github.com/leo-project/leofs/tree/master/apps/leo_storage/snmp/snmpa_storage_1) | Port: 4021 | | ||
| [snmpa\_storage\_2](https://github.com/leo-project/leofs/tree/master/apps/leo_storage/snmp/snmpa_storage_2) | Port: 14020 | | ||
| [snmpa\_storage\_3](https://github.com/leo-project/leofs/tree/master/apps/leo_storage/snmp/snmpa_storage_3) | Port: 14021 | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
wrong: Port: 14021
correct: Port: 4013
end, | ||
SoFar + N | ||
end, 0, ?del_dir_queue_list()), | ||
catch snmp_generic:variable_set(Id, V), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Strictly, check_number should be applied to V
_ -> | ||
0 | ||
end, | ||
catch snmp_generic:variable_set(Id, V), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ditto
@mocchira PTAL |
N; | ||
_ -> | ||
0 | ||
end; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What I meant in the previous comment is that the value should be rounded to leo_math:power(2,32) as check_number does because it can be higher than 4294967296.
N; | ||
_ -> | ||
0 | ||
end; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ditto