Build precise queries to find exactly what you need
Press ESC to close
Your review has been submitted and is pending approval.
Check Cisco NTP on MSFC and Switch- Version 2.2 (07/03/2009)> NTP association
Current Version
Last Release Date
May 28, 2009
Owner
Nagios Exchange
Website
http://www.amf-france.org/
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
./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
You must be logged in to submit a review.
To:
From: