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?
Switch stack port monitoring via SNMP
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Switch stack port monitoring via SNMP
Out of curiosity what do you get when you run this against the IP address?
They may just be assigned different SNMP IDs
Code: Select all
snmpwalk -v 2c -c 'public' XXX.XXX.XXX.XXX ifName
They may just be assigned different SNMP IDs
Re: Switch stack port monitoring via SNMP
Thank you so much! You solved my problem.scottwilkerson wrote:Out of curiosity what do you get when you run this against the IP address?Code: Select all
snmpwalk -v 2c -c 'public' XXX.XXX.XXX.XXX ifName
They may just be assigned different SNMP IDs
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Switch stack port monitoring via SNMP
Glad to help!
Locking thread
Locking thread