Netscaler plugin command line and arguments

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
dlukinski
Posts: 1130
Joined: Tue Oct 06, 2015 9:42 am

Netscaler plugin command line and arguments

Post by dlukinski »

Hello XI support

Would anyone know how to configure Netscaler Nagios plugin?
- https://exchange.nagios.org/directory/P ... th/details

command line and arguments?

Maybe someone have done so previously?

Thank you
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Netscaler plugin command line and arguments

Post by ssax »

Are you receiving any errors? Are you using SNMP v1, 2c, or 3?

Code: Select all

[root@ssc66xi libexec]# ./check_netscaler_health.pl --help

Citrix NetScaler Health SNMP plugin for Nagios
Version: 0.2.1
Date: 1/7/2013

Usage: ./check_netscaler_health.pl [-v] -H <host> [-6] -C <snmp_community> [-2] | (-l login -x passwd [-X pass -L <authp>,<privp>])  [-p <port>] -T (citrix) [-F <rpm>] [-c <celcius>] [-f] [-t <timeout>] [-V]

Options:
-v, --verbose
   Print extra debugging information
-h, --help
   Print this help message
-H, --hostname=HOST
   Hostname or IPv4/IPv6 address of host to check
-6, --use-ipv6
   Use IPv6 connection
-C, --community=COMMUNITY NAME
   Community name for the host's SNMP agent
-1, --v1
   Use SNMPv1
-2, --v2c
   Use SNMPv2c (default)
-l, --login=LOGIN ; -x, --passwd=PASSWD
   Login and auth password for SNMPv3 authentication
   If no priv password exists, implies AuthNoPriv
-X, --privpass=PASSWD
   Priv password for SNMPv3 (AuthPriv protocol)
-L, --protocols=<authproto>,<privproto>
   <authproto> : Authentication protocol (md5|sha : default sha)
   <privproto> : Priv protocole (des|aes : default aes)
-P, --port=PORT
   SNMP port (Default 161)
-T, --type=citrix (Default)
   Health checks for Citrix NetScaler : Fans, voltages, tempertures (thresholds are hardcoded), HA state, SSL engine state
-f, --perfparse
   Perfparse compatible output
-t, --timeout=INTEGER
   Timeout for SNMP in seconds (Default: 5)
-V, --version
   Prints version number

Notes:
- Check the http://exchange.nagios.org website for new versions.
- For questions, problems and patches send me an e-mail ([email protected]).
dlukinski
Posts: 1130
Joined: Tue Oct 06, 2015 9:42 am

Re: Netscaler plugin command line and arguments

Post by dlukinski »

ssax wrote:Are you receiving any errors? Are you using SNMP v1, 2c, or 3?

Code: Select all

[root@ssc66xi libexec]# ./check_netscaler_health.pl --help

Citrix NetScaler Health SNMP plugin for Nagios
Version: 0.2.1
Date: 1/7/2013

Usage: ./check_netscaler_health.pl [-v] -H <host> [-6] -C <snmp_community> [-2] | (-l login -x passwd [-X pass -L <authp>,<privp>])  [-p <port>] -T (citrix) [-F <rpm>] [-c <celcius>] [-f] [-t <timeout>] [-V]

Options:
-v, --verbose
   Print extra debugging information
-h, --help
   Print this help message
-H, --hostname=HOST
   Hostname or IPv4/IPv6 address of host to check
-6, --use-ipv6
   Use IPv6 connection
-C, --community=COMMUNITY NAME
   Community name for the host's SNMP agent
-1, --v1
   Use SNMPv1
-2, --v2c
   Use SNMPv2c (default)
-l, --login=LOGIN ; -x, --passwd=PASSWD
   Login and auth password for SNMPv3 authentication
   If no priv password exists, implies AuthNoPriv
-X, --privpass=PASSWD
   Priv password for SNMPv3 (AuthPriv protocol)
-L, --protocols=<authproto>,<privproto>
   <authproto> : Authentication protocol (md5|sha : default sha)
   <privproto> : Priv protocole (des|aes : default aes)
-P, --port=PORT
   SNMP port (Default 161)
-T, --type=citrix (Default)
   Health checks for Citrix NetScaler : Fans, voltages, tempertures (thresholds are hardcoded), HA state, SSL engine state
-f, --perfparse
   Perfparse compatible output
-t, --timeout=INTEGER
   Timeout for SNMP in seconds (Default: 5)
-V, --version
   Prints version number

Notes:
- Check the http://exchange.nagios.org website for new versions.
- For questions, problems and patches send me an e-mail ([email protected]).
This one does not explain how to define commands and services for the plugin
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Netscaler plugin command line and arguments

Post by Box293 »

I suspect the command is something like:

Code: Select all

check_netscaler_health.pl -H xxx.xxx.xxx.xxx -C public -T citrix
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
dlukinski
Posts: 1130
Joined: Tue Oct 06, 2015 9:42 am

Re: Netscaler plugin command line and arguments

Post by dlukinski »

Box293 wrote:I suspect the command is something like:

Code: Select all

check_netscaler_health.pl -H xxx.xxx.xxx.xxx -C public -T citrix

Please close this thread (were unable to configure for other reasons)
Locked