jainvishal / agentx-tutorial

12 stars 8 forks source link

agentX order of displyed rows? #4

Closed Jelassi closed 5 years ago

Jelassi commented 5 years ago

Hello Vishal, I'am trying to implement the example you provide for extending the MIB for an array datatype. My question is regarding display order of added rows. Indeed, we give in /var/tmp/dummy.conf the following content three 3 four 4 two 2 one 1 zero 0

However, the snmptable return the same content but the order is different: vishalj@dreams:~/workspace/agentx-tutorial⟫ snmptable localhost myTestTable SNMP table: AGENTX-TUTORIAL-MIB::myTestTable

myROStringCol1 myROIntCol2 one 1 two 2 four 4 zero 0 three 3

is that ok? can we tell to agentX to respect that order or it is a display issue related to snmptable? Sincerely Thanks

Jelassi commented 5 years ago

The issue has been resolved, Sincerely, Sofiene