Switch stack port monitoring via SNMP
Posted: Wed Oct 02, 2019 8:38 am
Hi!
I installed the Nagios program on CentOS 7. After the settings are faced with a problem. I need to monitor the port status of two Dell PowerConnect 7024 switches. The switches are stacked and have a single ip address. When I am in the switch management interface, I see them as "unit 1"and" unit 2". Next, I'm in the configuration file switch.kfg write the next:
...
check_command check_snmp!-C public -o ifOperStatus.1 -r 1 -m RFC1213-MIB
...
И в интерфейс
As a result, in the web interface of Nagios I see the status of the first port of the first switch "Unit 1". The same can be done for any port of the first switch. But I need to monitor and ports of the second switch in a stack which "Unit 2". I tried different options but didn't succeed. I guess I'm not the only one stupid enough to handle a question like that.
Please help me! How do I track the status of the ports on the second switch in the stack?
I installed the Nagios program on CentOS 7. After the settings are faced with a problem. I need to monitor the port status of two Dell PowerConnect 7024 switches. The switches are stacked and have a single ip address. When I am in the switch management interface, I see them as "unit 1"and" unit 2". Next, I'm in the configuration file switch.kfg write the next:
...
check_command check_snmp!-C public -o ifOperStatus.1 -r 1 -m RFC1213-MIB
...
И в интерфейс
As a result, in the web interface of Nagios I see the status of the first port of the first switch "Unit 1". The same can be done for any port of the first switch. But I need to monitor and ports of the second switch in a stack which "Unit 2". I tried different options but didn't succeed. I guess I'm not the only one stupid enough to handle a question like that.
Please help me! How do I track the status of the ports on the second switch in the stack?