12-31-2010 02:30 AM
We are developing an application that can monitor a serveriron using SNMP for intern use. We also would like to have the functionality to change the adminStatus of virtual/real servers and server ports. When we send a SET-request to the serveriron to change the adminStatus of a serverport, we get a response from the serveriron with the changed value. So it looks like it's working. But when we send a GET-request, we see that the value didn't changed at all.
The OID that we use is: .188.8.131.52.4.1.19184.108.40.206.220.127.116.11 + ip of server + port number. Community is correct.
When we send a SET-request to the serveriron to change the adminStatus of the server itself, we get the error: SET failed. Information: Inconsistent Value.
The OID we use is: 18.104.22.168.4.1.1922.214.171.124.126.96.36.199 + ip of server.
Could someone declare this beheviour?
Thank you for your help!
01-08-2011 08:35 AM
You'll have to send 2 snmp set instructions at the same time to the ADX.
First one tells what you want to do(modify) while the second one sets the actual value.
Here some example:
To disable a Virtual Server:
snmpset -v2c -c public 10.10.10.10 .188.8.131.52.4.1.19184.108.40.206.220.127.116.11.18.104.22.168 i 5 .22.214.171.124.4.1.19126.96.36.199.188.8.131.52.184.108.40.206 i 0
To enable a Virtual Server:
snmpset -v2c -c public 10.10.10.10 .220.127.116.11.4.1.1918.104.22.168.22.214.171.124.126.96.36.199 i 5 .188.8.131.52.4.1.19184.108.40.206.220.127.116.11.18.104.22.168 i 1
01-10-2011 12:23 AM
We already received an answer from Brocade about this issue with the same solution as yours.
We used this solution and everything is working just fine! We're able to disable and enable ports en servers with SNMP.