Application Delivery (ADX)

Reply
New Contributor
Posts: 2
Registered: ‎12-31-2010

ServerIron ADX: Change adminStatus using SNMP

Hello,

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: .1.3.6.1.4.1.1991.1.1.4.22.1.1.4 + 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: 1.3.6.1.4.1.1991.1.1.4.21.1.1.3 + ip of server.

Could someone declare this beheviour?

Thank you for your help!

Jeroen Versleijen

Occasional Contributor
Posts: 11
Registered: ‎06-29-2009

Re: ServerIron ADX: Change adminStatus using SNMP

Hi Jeroen,

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 .1.3.6.1.4.1.1991.1.1.4.21.1.1.5.1.1.1.2 i 5 .1.3.6.1.4.1.1991.1.1.4.21.1.1.3.1.1.1.2 i 0

To enable a Virtual Server:

snmpset -v2c -c public 10.10.10.10 .1.3.6.1.4.1.1991.1.1.4.21.1.1.5.1.1.1.2 i 5 .1.3.6.1.4.1.1991.1.1.4.21.1.1.3.1.1.1.2 i 1

To enable a virtual server port:
snmpset -v2c -c public 10.10.10.10 .1.3.6.1.4.1.1991.1.1.4.22.1.1.7.1.1.1.2.80 i 5 .1.3.6.1.4.1.1991.1.1.4.22.1.1.4.1.1.1.2.80 i 1
To disable virtual server port:
snmpset -v2c -c public 10.10.10.10 .1.3.6.1.4.1.1991.1.1.4.22.1.1.7.1.1.1.2.80 i 5 .1.3.6.1.4.1.1991.1.1.4.22.1.1.4.1.1.1.2.80 i 0
To disable a real server:
snmpset -v2c -c public 10.10.10.10 .1.3.6.1.4.1.1991.1.1.4.19.1.1.6.40.40.40.40 i 5 .1.3.6.1.4.1.1991.1.1.4.19.1.1.3.40.40.40.40 i 0
To disable a real server:
snmpset -v2c -c public 10.10.10.10 .1.3.6.1.4.1.1991.1.1.4.19.1.1.6.40.40.40.40 i 5 .1.3.6.1.4.1.1991.1.1.4.19.1.1.3.40.40.40.40 i 1
To disable a real server port:
snmpset -v2c -c public 10.10.10.10 .1.3.6.1.4.1.1991.1.1.4.20.1.1.5.40.40.40.40.80 i 5 .1.3.6.1.4.1.1991.1.1.4.20.1.1.4.40.40.40.40.80 i 0
To enable a real server port:
snmpset -v2c -c public 10.10.10.10 .1.3.6.1.4.1.1991.1.1.4.20.1.1.5.40.40.40.40.80 i 5 .1.3.6.1.4.1.1991.1.1.4.20.1.1.4.40.40.40.40.80 i 1
Attached a more comprehensive list.
Salvo
New Contributor
Posts: 2
Registered: ‎12-31-2010

Re: ServerIron ADX: Change adminStatus using SNMP

Hi Salvo,

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.

Thank you!

Jeroen

Occasional Contributor
Posts: 11
Registered: ‎06-29-2009

Re: ServerIron ADX: Change adminStatus using SNMP

Hi Jeroen,

Just making sure

Salvo

Join the Community

Get quick and easy access to valuable resource designed to help you manage your Brocade Network.

vADC is now Pulse Secure
Download FREE NVMe eBook