Skip to content

uhei/nagios-netscaler-checks

Repository files navigation

Simple Python scripts to monitor some Citrix Netscaler and Netscaler MAS values.

The scripts are using the nsnitro package (s. https://github.com/favoretti/nsnitro) or the nitro-python SDKs (provided by Citrix since 10.5 (s. /var/netscaler/nitro/nitro-python.tgz on your Netscaler or the Downloads section on the WebUI)

When you're running a HA pair it makes sense to use a SNIP to monitor the connections and the vservers.

Regarding SSL: It looks like the Nitro SDK uses certifi (s. https://github.com/certifi/python-certifi) to verify CA certificates. To add your internal CA cert edit the certifi CA file (e.g. /usr/local/lib/python2.7/dist-packages/certifi-14.05.14-py2.7.egg/certifi/cacert.pem). Depending on the installed python modules it is also possible that /etc/ssl/certs/ca-certificates.crt is used to verify the certificate. Contrary to the Citrix SDK documentation you can't disable the certificate/hostname verification (tested with release 10.5 51.10).