项目作者: slauger

项目描述 :
Nagios Plugin which checks if an update is available for a Citrix ADC (formerly Citrix NetScaler)
高级语言: Python
项目地址: git://github.com/slauger/check_nsupdates.git
创建时间: 2018-03-24T11:46:01Z
项目社区:https://github.com/slauger/check_nsupdates

开源协议:MIT License

下载


check_nsupdates

Documentation

Nagios Plugin which checks if an update is available for a Citrix NetScaler.

The plugin connects to citrix.com and parses the RSS feed to get a dict of all available NetScaler relases and the latest available build per release.

To get the installed version of the target NetScaler the plugin uses the NITRO API.

Dependencies

  • python-feedparser
  • python-requests
  • python-packaging

Usage

  1. # check with default credentials
  2. ./check_nsupdates.py -U http://10.0.0.100
  3. WARNING: http://10.0.0.240: update available (installed: 13.0 71.44, available: 13.0 82.42)
  4. # check with credentials given via cli
  5. ./check_nsupdates.py -U http://10.0.0.100 -u admin -p admin
  6. WARNING: http://10.0.0.240: update available (installed: 13.0 71.44, available: 13.0 82.42)
  7. # check with credentials given by ENV
  8. export NETSCALER_USERNAME=admin
  9. export NETSCALER_PASSWORD=admin
  10. ./check_nsupdates.py -U http://10.0.0.100
  11. WARNING: http://10.0.0.240: update available (installed: 13.0 71.44, available: 13.0 82.42)

Author