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

Check Cisco Devices

Rating
2 votes
Favoured:
0
Current Version
1
Last Release Date
2012-08-22
Compatible With
  • Nagios 3.x
Owner
License
GPL
Hits
78140
Files:
FileDescription
check_cisco.ccheck_cisco source file.
makefileMake file
cisco.cfgexample configuration file using snmp v1
check_cisco.tar.gztarball containing both source & makefile.
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
Checks various statistics for different Cisco devices including switches and firewalls.
Checks various statistics for Cisco devices.

Modes supported:
Memory usage
CPU Load
Sessions
Failover status
Temperature
Temperature (Catalyst 3750 only).

Requires the net-snmp C library and has been tested on ASA5505, ASA5520, ASA5510, Catalyst 4948, 2950, 2960, 3560, and 3750. If you run into any issues please report them and I will do my best to address them. Note: not all of the features are supported by all devices or all IOS versions.

Options supported include the default options from the net-SNMP library plus

-Cm to set mode (cpu|failover|memory|sessions|temp|3750temp)
-Cc to set the critical value
-Cw to set the warning value

Below is the help page which can be printed out by running the program with no options.

USAGE: check_cisco [OPTIONS] AGENT [OID]

Version: 5.4.3
Web: http://www.net-snmp.org/
Email: net-snmp-coders@lists.sourceforge.net

OPTIONS:
-h, --help display this help message
-H display configuration file directives understood
-v 1|2c|3 specifies SNMP version to use
-V, --version display package version number
SNMP Version 1 or 2c specific
-c COMMUNITY set the community string
SNMP Version 3 specific
-a PROTOCOL set authentication protocol (MD5|SHA)
-A PASSPHRASE set authentication protocol pass phrase
-e ENGINE-ID set security engine ID (e.g. 800000020109840301)
-E ENGINE-ID set context engine ID (e.g. 800000020109840301)
-l LEVEL set security level (noAuthNoPriv|authNoPriv|authPriv)
-n CONTEXT set context name (e.g. bridge1)
-u USER-NAME set security name (e.g. bert)
-x PROTOCOL set privacy protocol (DES|AES)
-X PASSPHRASE set privacy protocol pass phrase
-Z BOOTS,TIME set destination engine boots/time
General communication options
-r RETRIES set the number of retries
-t TIMEOUT set the request timeout (in seconds)
Debugging
-d dump input/output packets in hexadecimal
-D TOKEN[,...] turn on debugging output for the specified TOKENs
(ALL gives extremely verbose debugging output)
General options
-m MIB[:...] load given list of MIBs (ALL loads everything)
-M DIR[:...] look in given list of directories for MIBs
-P MIBOPTS Toggle various defaults controlling MIB parsing:
u: allow the use of underlines in MIB symbols
c: disallow the use of "--" to terminate comments
d: save the DESCRIPTIONs of the MIB objects
e: disable errors when MIB symbols conflict
w: enable warnings when MIB symbols conflict
W: enable detailed warnings when MIB symbols conflict
R: replace MIB symbols from latest module
-O OUTOPTS Toggle various defaults controlling output display:
0: print leading 0 for single-digit hex characters
a: print all strings in ascii format
b: do not break OID indexes down
e: print enums numerically
E: escape quotes in string indices
f: print full OIDs on output
n: print OIDs numerically
q: quick print for easier parsing
Q: quick print with equal-signs
s: print only last symbolic element of OID
S: print MIB module-id plus last element
t: print timeticks unparsed as numeric integers
T: print human-readable text along with hex strings
u: print OIDs using UCD-style prefix suppression
U: don't print units
v: print values only (not OID = value)
x: print all strings in hex format
X: extended index format
-I INOPTS Toggle various defaults controlling input parsing:
b: do best/regex matching to find a MIB node
h: don't apply DISPLAY-HINTs
r: do not check values for range/type legality
R: do random access to OID labels
u: top-level OIDs must have '.' prefix (UCD-style)
s SUFFIX: Append all textual OIDs with SUFFIX before parsing
S PREFIX: Prepend all textual OIDs with PREFIX before parsing
-L LOGOPTS Toggle various defaults controlling logging:
e: log to standard error
o: log to standard output
n: don't log at all
f file: log to the specified file
s facility: log to syslog (via the specified facility)

(variants)
[EON] pri: log to standard error, output or /dev/null for level 'pri' and above
[EON] p1-p2: log to standard error, output or /dev/null for levels 'p1' to 'p2'
[FS] pri token: log to file/syslog for level 'pri' and above
[FS] p1-p2 token: log to file/syslog for levels 'p1' to 'p2'
Application specific options.
-C APPOPTS
c: Set the critical threshold.
m: Set the operation mode [cpu|failover|memory|sessions|temp|3750temp]
w: Set the warning threshold.
Reviews (2)
byT1loc, March 27, 2013
Hi,

What did you expect in the command line for : AGENT ?

Thanks a lot.
byThabet.Amer, October 3, 2012
0 of 1 people found this review helpful
helped me with my Cisco's devices CPU and memory monitoring. Thanks a lot.

I yum-installed net-snmp-libs besides the package of 'net-snmp'