Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
check_cisco_license_date
1.0
2018-01-03
- Nagios 4.x
- Nagios XI
GPL
6294
File | Description |
---|---|
check_cisco_license_date | check_cisco_license_date |
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!
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 -c -w --snmp "-v 3 -a hash -A pass -l authPriv -u mysnmpuser -x cypher -X pass -r 5 -t 30"
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
Reviews (0)
Be the first to review this listing!