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

Directory Tree

check-netscaler-activeservices

Current Version
0.1.0
Last Release Date
2016-11-18
Compatible With
  • Nagios 3.x
  • Nagios 4.x
Owner
License
GPL
Hits
7308
Files:
FileDescription
check-netscaler-activeservicescheck
Nagios CSP

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!
A Nagios plugin to check the number of active backend services of a netscaler frontend instance. This program makes use of the Nitro API for Citrix Netscaler (tested with v1). The URLs supplied to -u are the specific for your configuration. At the moment, a lbvserver (Load Balancing Virtual Server) configuration is assumed.
check-netscaler-activeservices

A Nagios plugin to check the number of active backend services of a netscaler frontend instance.

This program makes use of the Nitro API for Citrix Netscaler (tested with v1). The URLs supplied to -u are the specific for your configuration. At the moment, a lbvserver (Load Balancing Virtual Server) configuration is assumed.
Usage

See the help page:

$ check-netscaler-activeservices -h
check-netscaler-activeservices 0.1.0.
Nagios check for the number of active services.
Bugs to Claudio Ramirez .

Usage:
check-netscaler-activeservices
-u -f
[-i -t ]
[-w -c -p]
check-netscaler-activeservices -s
check-netscaler-activeservices -h
check-netscaler-activeservices --version

Options:
-u Netscaler Nitro Endpoint for service
-f Configuration file
-w Threshold for warning state
[default:0] (absolute value)
-c Threshold for critical state
[default:0] (absolute value)
-t Seconds after which the connection will timeout
[default:10]
-p The threshold are not absolute and represent percentages
[default:false]
-i Don't check the SSL certificate
[default:false]
-s Print a sample YAML configuration file to STDOUT
-h, --help Show this screen
--version Show version

Netscaler check with absolute count of services:

$ check-netscaler-activeservices -f config.yml
-u https://netscaler/nitro/v1/config/lbvserver/WEB_T_LBVSRV_WEB_somehost_HTTPS
-c 1 -w 2
[CRITICAL] Threshold (1), Active (1), Total (4)

Netscaler check with relative count of services (percentage of total):

$ check-netscaler-activeservices -f config.yml
-u https://netscaler/nitro/v1/config/lbvserver/WEB_T_LBVSRV_WEB_somehost_HTTPS
-c 25 -w 50 -p
[CRITICAL] Threshold (1), Active (1), Total (4)

Configuration

A configuration file is used to store the user and password. You can create a configuration file with the -s switch:

$ check-netscaler-activeservices -s
---
### check-netscaler-activeservices configuration ###
user: "some_user"
pass: "some_password"