谁能给我介绍下下边几个OID获取到的都是些什么信息呢?
看MIB库文档都看不太懂啊,能稍微通俗得给解释下吗?
另外,有没有相应的command获取这些信息呢?
不胜感激!
swAdmStatus 1.3.6.1.4.1.1588.2.1.1.1.1.8
The desired administrative status of the switch.
swDiagResult 1.3.6.1.4.1.1588.2.1.1.1.1.20
The result of the power-on startup test (POST) diagnostics.
swOperStatus 1.3.6.1.4.1.1588.2.1.1.1.1.7
The current operational status of the switch.
已解决! 转到解答。
MIB这种信息brocade有个文档专门做详细解释,Fabric OS MIB Reference v7.0。
swAdmStatus:用来查询/设置交换机运行状态
swDiagResult:用来提示交换机beacon功能有没有打开
swOperStatus:获取交换机运行状态
下面是我从文档中摘要的信息:
Object and OID | Access | Description |
swAdmStatus 1.3.6.1.4.1.1588.2.1.1.1.1.8 | Read-write | The desired administrative status of the switch. A management station might place the switch in a desired state by setting this object accordingly. Possible values are: • online (1) - Set the switch to be accessible by an external FC port. • offline (2) - Set the switch to be inaccessible. • testing (3) - Set the switch to run the built-in test. • faulty (4) - Set the switch to a “soft” faulty condition. • reboot (5) - Set the chassis to reboot in 1 second. • fastboot (6) - Set the chassis to fastboot in 1 second. Fastboot causes the chassis to boot but omit the POST. When the switch is in faulty state, only two states can be set: faulty and reboot/fastboot For the Brocade 3250, 3850, 3900, 8000, 24000, 48000 and DCX director the testing (3) and faulty (4) values are not applicable. The possible values for Brocade 300, 5100 and 5300 are either online (1) or offline (2). |
swDiagResult 1.3.6.1.4.1.1588.2.1.1.1.1.20 | Read only | The desired status of the switch beacon. Possible values are: • on (1) - The LEDs on the front panel of the switch run alternately from left to right and right to left. Set the color to yellow. • off (2) - Set each LED to its regular status, indicating color and state. |
swOperStatus 1.3.6.1.4.1.1588.2.1.1.1.1.7 | Read only | The current operational status of the switch. Possible values are: • online (1) - The switch is accessible by an external Fibre Channel port. • offline (2) - The switch is not accessible. • testing (3) - The switch is in a built-in test mode and is not accessible by an external Fibre Channel port. • faulty (4) - The switch is not operational. |
如果想看交换机有没有配置这个监控,可以使用命令snmpconfig查看。
help snmpconfig可以看到命令使用帮助。
MIB这种信息brocade有个文档专门做详细解释,Fabric OS MIB Reference v7.0。
swAdmStatus:用来查询/设置交换机运行状态
swDiagResult:用来提示交换机beacon功能有没有打开
swOperStatus:获取交换机运行状态
下面是我从文档中摘要的信息:
Object and OID | Access | Description |
swAdmStatus 1.3.6.1.4.1.1588.2.1.1.1.1.8 | Read-write | The desired administrative status of the switch. A management station might place the switch in a desired state by setting this object accordingly. Possible values are: • online (1) - Set the switch to be accessible by an external FC port. • offline (2) - Set the switch to be inaccessible. • testing (3) - Set the switch to run the built-in test. • faulty (4) - Set the switch to a “soft” faulty condition. • reboot (5) - Set the chassis to reboot in 1 second. • fastboot (6) - Set the chassis to fastboot in 1 second. Fastboot causes the chassis to boot but omit the POST. When the switch is in faulty state, only two states can be set: faulty and reboot/fastboot For the Brocade 3250, 3850, 3900, 8000, 24000, 48000 and DCX director the testing (3) and faulty (4) values are not applicable. The possible values for Brocade 300, 5100 and 5300 are either online (1) or offline (2). |
swDiagResult 1.3.6.1.4.1.1588.2.1.1.1.1.20 | Read only | The desired status of the switch beacon. Possible values are: • on (1) - The LEDs on the front panel of the switch run alternately from left to right and right to left. Set the color to yellow. • off (2) - Set each LED to its regular status, indicating color and state. |
swOperStatus 1.3.6.1.4.1.1588.2.1.1.1.1.7 | Read only | The current operational status of the switch. Possible values are: • online (1) - The switch is accessible by an external Fibre Channel port. • offline (2) - The switch is not accessible. • testing (3) - The switch is in a built-in test mode and is not accessible by an external Fibre Channel port. • faulty (4) - The switch is not operational. |
如果想看交换机有没有配置这个监控,可以使用命令snmpconfig查看。
help snmpconfig可以看到命令使用帮助。