Home Directory Plugins Network Protocols * Routing CDP check_snmp_cdp-neighbor.sh

Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

check_snmp_cdp-neighbor.sh

Rating
0 votes
Favoured:
0
Hits
94908
Files:
FileDescription
check_snmp_cdp-neighbor.shcheck_snmp_cdp-neighbor.sh
Nagios CSP

Meet The New Nagios Core Services Platform

Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.

Monitoring Made Magically Better

  • Nagios Core on Overdrive
  • Powerful Monitoring Dashboards
  • Time-Saving Configuration Wizards
  • Open Source Powered Monitoring On Steroids
  • And So Much More!
This plugin allows you to check the Cisco Discovery Protocol (CDP) neighbor adjacency status of a switch to make sure the link you think is your backup will actually work when needed most.
This plugin uses SNMPv2 to check CDP neighbor status. You can also use this script to list the neighbors to make writing the Nagios services easier. The "neighbor name" argument is not case sensitive.

Usage:
./check_snmp_cdp-neighbor.sh [snmp community] [device hostname/IP] [neighbor name or 'list'] (count)

The list argument is used list all cdp neighbors. The optional count
parameters specifies how many physical links should exist between
the host and the neighbor.