Page 1 of 1

Netscaler plugin command line and arguments

Posted: Wed Aug 03, 2016 2:42 pm
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

Re: Netscaler plugin command line and arguments

Posted: Wed Aug 03, 2016 2:57 pm
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]).

Re: Netscaler plugin command line and arguments

Posted: Tue Aug 09, 2016 5:01 pm
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

Re: Netscaler plugin command line and arguments

Posted: Tue Aug 09, 2016 7:58 pm
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

Re: Netscaler plugin command line and arguments

Posted: Wed Aug 31, 2016 9:23 am
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)