NTP and Time

Cisco – Check NTP on MSFC and Switch

Description:

Check Cisco NTP on MSFC and Switch- Version 2.2 (07/03/2009)> NTP association

Current Version

Last Release Date

May 28, 2009

Compatible With


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!
Project Files
Project Notes
This script check Cisco firewall (tested on Cisco PIX-515E and ASA-5500). Modules included : ### Mode 1 - Association ### - NTP association status check_cisco_ntp.sh -H hostname -V version -M asso [-C|-l|-u|-a|-d|-h] ### PARAMETERS ### -H Hostname (IP adresse or DNS name) -V Version (1|2c|3) -M Mode (asso) ### OPTIONNAL ### -C Community (name) *** Use on Version 1|2 *** -l Login (NoAuthNoPriv | AuthNoPriv | AuthPriv) *** Use on Version 3 *** -u Username *** Use on Version 3 *** -a Password *** Use on Version 3 *** -d Debug mode -h Help (print command usage, and quit) Sample commands: #./check_cisco_ntp.sh -H 192.168.0.1 -V 1 -M asso -C Public OK - Node status : noWarning - Source status : 10.0.0.1 (client mode) : OK | ok=1 #./check_cisco_ntp.sh -H 192.168.0.1 -V 3 -l AuthNoPriv -u user -a password -M asso OK - Node status : noWarning - Source status : 10.0.0.1 (client mode) : OK | ok=1 #./check_cisco_ntp.sh -h Display help #./check_cisco_ntp.sh xxxxxx -d Active debug mod
Reviews (1) Add a Review
error on cisco switch and router
by Majed, March 31, 2018
./check_cisco_ntp.sh -H 10.02.10.2 -V 3 -M asso -u doubly -l AuthPriv -a shubly
snmpwalk: USM generic error
./check_cisco_ntp.sh: line 64: [: !=: unary operator expected
snmpwalk: USM generic error
./check_cisco_ntp.sh: line 64: [: !=: unary operator expected
.1.3.6.1.4.1.9.9.168.1.2.1.1.2.: Unknown Object Identifier (Sub-id not found: enterprises -> )
./check_cisco_ntp.sh: line 64: [: !=: unary operator expected
.1.3.6.1.4.1.9.9.168.1.2.1.1.3.: Unknown Object Identifier (Sub-id not found: enterprises -> )
.1.3.6.1.4.1.9.9.168.1.2.1.1.4.: Unknown Object Identifier (Sub-id not found: enterprises -> )
./check_cisco_ntp.sh: line 64: [: !=: unary operator expected
.1.3.6.1.4.1.9.9.168.1.2.1.1.8.: Unknown Object Identifier (Sub-id not found: enterprises -> )
./check_cisco_ntp.sh: line 64: [: !=: unary operator expected
.1.3.6.1.4.1.9.9.168.1.2.1.1.21.: Unknown Object Identifier (Sub-id not found: enterprises -> )
./check_cisco_ntp.sh: line 64: [: !=: unary operator expected
Unknown - Node status : noWarning | ok=0
Helpful? Yes  No 
Add a Review

You must be logged in to submit a review.

Thank you for your review!

Your review has been submitted and is pending approval.

Recommend

To:


From:


Thank you for your recommendation!

Your recommendation has been sent.

Project Stats
Rating
1 (1)
Favorites
0
Views
97,185