Build precise queries to find exactly what you need
Press ESC to close
Nagios World Conference 2026: Sept. 14-17 in St. Paul, MN | Learn More
Your review has been submitted and is pending approval.
Nagios check in python review the license expiration date of a Cisco CSR1000V using snmp.
Current Version
1.0
Last Release Date
2018-01-03
Owner
Igor castro
Download URL
https://exchange.nagios.org/wp-content/uploads/project-files/2018/01/check_cisco_license_date
License
GPL
Compatible With
Nagios check in python to fetch by snmpwalk Cisco OID related to license expiration and trigger alarm based on it. OID is 1.3.6.1.4.1.9.9.543.1.2.3.1.16 which is clmgmtLicenseEndDate. It is setup for Cisco CSR 1000V which can use per year license (eg. in AWS). I have tested only with snmp v3 (no reason to use snmp v1/2c) but it should work with same syntax from snmpwalk.
It is in fact just passing most of parameters "as is" to snmpwalk. I recommend to include some timeout and retry value like below. Adjust based on you need, check syntax from snmpwalk and use "" to define as a single string snmp argument.
Run as follow : /usr/local/nagios/libexec/check_cisco_license_date -H <IP> -c <number of days> -w <number of days> --snmp "-v 3 -a hash -A pass -l authPriv -u mysnmpuser -x cypher -X pass -r 5 -t 30"
You must be logged in to submit a review.
To:
From: