Hello,
Maybe you could rename Citrix Netscaler to Citrix Netscaler ADC
I encounter a problem with the type of VServer sslvpn.
The mode vserver-status give a false return when you use a sslvpn.
You don’t have Health, Traffic and Client like a Loadbalancer VServer.
Is it possible to implement this distinction ?
Documentation about the OID of a Citrix ADC here https://developer-docs.citrix.com/projects/citrix-adc-snmp-oid-reference/en/latest/ not mention health, traffic and client about this type of vserver.
-bash-4.2$ /usr/lib/centreon/plugins/centreon_netscaler.pl --plugin=network::citrix::netscaler::snmp::plugin --mode=vserver-status --hostname='@IP_of_Ctrix_ADC' --snmp-version='3' --snmp-community='private' --snmp-username centreon --authprotocol SHA --authpassphrase "my_auth_passphrase" --privprotocol AES --privpassphrase "my_priv_passphrase" --filter-name='VS_sslvpn' --filter-type='' --warning-health='@50:75' --critical-health='@0:50' --filter-type='sslvpn'
CRITICAL: Virtual Server 'VS_sslvpn' Health: 0.00 % | 'health'=0.00%;@50:75;@0:50;0;100 'traffic_in'=0.00b/s;;;0; 'traffic_out'=0.00b/s;;;0; 'clients'=0;;;0; 'servers'=0;;;0;
-bash-4.2$ /usr/lib/centreon/plugins/centreon_netscaler.pl --plugin=network::citrix::netscaler::snmp::plugin --mode=vserver-status --hostname='@IP_of_Ctrix_ADC' --snmp-version='3' --snmp-community='' --snmp-username centreon --authprotocol SHA --authpassphrase "my_auth_passphrase" --privprotocol AES --privpassphrase "my_priv_passphrase" --filter-name='VS_sslvpn' --filter-type='sslvpn'
OK: Virtual Server 'VS_sslvpn' State : up, Health: 0.00 %, Traffic In: 0.00 b/s, Traffic Out: 0.00 b/s, Total Client Connections : 0, Total Server Connections : 0 | 'health'=0.00%;;;0;100 'traffic_in'=0.00b/s;;;0; 'traffic_out'=0.00b/s;;;0; 'clients'=0;;;0; 'servers'=0;;;0;
-bash-4.2$ /usr/lib/centreon/plugins/centreon_netscaler.pl --plugin=network::citrix::netscaler::snmp::plugin --mode=vserver-status --hostname='@IP_of_Ctrix_ADC' --snmp-version='3' --snmp-community='' --snmp-username centreon --authprotocol SHA --authpassphrase "my_auth_passphrase" --privprotocol AES --privpassphrase "my_priv_passphrase" --filter-name='VS_sslvpn' --filter-type='sslvpn' --debug
OK: Virtual Server 'VS_sslvpn' State : up, Health: 0.00 %, Traffic In: 0.00 b/s, Traffic Out: 0.00 b/s, Total Client Connections : 0, Total Server Connections : 0 | 'health'=0.00%;;;0;100 'traffic_in'=0.00b/s;;;0; 'traffic_out'=0.00b/s;;;0; 'clients'=0;;;0; 'servers'=0;;;0;
.1.3.6.1.4.1.5951.4.1.3.1.1.5.11.86.83.95.65.68.95.90.80.82.73.86 = 7
.1.3.6.1.4.1.5951.4.1.3.1.1.5.11.86.83.95.83.70.95.90.80.82.73.86 = 7
.1.3.6.1.4.1.5951.4.1.3.1.1.5.12.86.83.95.68.78.83.95.90.80.82.73.86 = 7
.1.3.6.1.4.1.5951.4.1.3.1.1.5.12.86.83.95.78.84.80.95.90.80.82.73.86 = 7
.1.3.6.1.4.1.5951.4.1.3.1.1.5.12.86.83.95.83.65.83.95.90.80.82.73.86 = 7
.1.3.6.1.4.1.5951.4.1.3.1.1.5.15.86.83.95.82.65.68.73.85.83.95.90.80.82.73.86 = 7
.1.3.6.1.4.1.5951.4.1.3.1.1.5.17.86.83.95.65.68.95.90.80.82.73.86.95.69.50.82.48.50 = 7
.1.3.6.1.4.1.5951.4.1.3.1.1.5.22.86.83.95.115.118.99.48.50.46.115.112.111.116.105.109.97.103.101.46.99.111.109 = 7
.1.3.6.1.4.1.5951.4.1.3.1.1.5.23.86.83.95.115.118.99.99.105.116.46.115.112.111.116.105.109.97.103.101.46.99.111.109 = 7
.1.3.6.1.4.1.5951.4.1.3.1.1.59.11.86.83.95.65.68.95.90.80.82.73.86 = VS_AD_LB
.1.3.6.1.4.1.5951.4.1.3.1.1.59.11.86.83.95.83.70.95.90.80.82.73.86 = VS_SF_LB
.1.3.6.1.4.1.5951.4.1.3.1.1.59.12.86.83.95.68.78.83.95.90.80.82.73.86 = VS_DNS_LB
.1.3.6.1.4.1.5951.4.1.3.1.1.59.12.86.83.95.78.84.80.95.90.80.82.73.86 = VS_NTP_LB
.1.3.6.1.4.1.5951.4.1.3.1.1.59.12.86.83.95.83.65.83.95.90.80.82.73.86 = VS_SAS_LB
.1.3.6.1.4.1.5951.4.1.3.1.1.59.15.86.83.95.82.65.68.73.85.83.95.90.80.82.73.86 = VS_RADIUS_LB
.1.3.6.1.4.1.5951.4.1.3.1.1.59.17.86.83.95.65.68.95.90.80.82.73.86.95.69.50.82.48.50 = VS_AD_LB
.1.3.6.1.4.1.5951.4.1.3.1.1.59.22.86.83.95.115.118.99.48.50.46.115.112.111.116.105.109.97.103.101.46.99.111.109 = VS_sslvpn2
.1.3.6.1.4.1.5951.4.1.3.1.1.59.23.86.83.95.115.118.99.99.105.116.46.115.112.111.116.105.109.97.103.101.46.99.111.109 = VS_sslvpn
.1.3.6.1.4.1.5951.4.1.3.1.1.64.11.86.83.95.65.68.95.90.80.82.73.86 = 1
.1.3.6.1.4.1.5951.4.1.3.1.1.64.11.86.83.95.83.70.95.90.80.82.73.86 = 1
.1.3.6.1.4.1.5951.4.1.3.1.1.64.12.86.83.95.68.78.83.95.90.80.82.73.86 = 1
.1.3.6.1.4.1.5951.4.1.3.1.1.64.12.86.83.95.78.84.80.95.90.80.82.73.86 = 1
.1.3.6.1.4.1.5951.4.1.3.1.1.64.12.86.83.95.83.65.83.95.90.80.82.73.86 = 1
.1.3.6.1.4.1.5951.4.1.3.1.1.64.15.86.83.95.82.65.68.73.85.83.95.90.80.82.73.86 = 1
.1.3.6.1.4.1.5951.4.1.3.1.1.64.17.86.83.95.65.68.95.90.80.82.73.86.95.69.50.82.48.50 = 1
.1.3.6.1.4.1.5951.4.1.3.1.1.64.22.86.83.95.115.118.99.48.50.46.115.112.111.116.105.109.97.103.101.46.99.111.109 = 3
.1.3.6.1.4.1.5951.4.1.3.1.1.64.23.86.83.95.115.118.99.99.105.116.46.115.112.111.116.105.109.97.103.101.46.99.111.109 = 3
skipping Virtual Server 'VS_SF_LB'.
skipping Virtual Server 'VS_NTP_LB'.
skipping Virtual Server 'VS_AD_LB'.
skipping Virtual Server 'VS_SAS_LB'.
skipping Virtual Server 'VS_RADIUS_LB'.
skipping Virtual Server 'VS_ssslvpn2'.
skipping Virtual Server 'VS_DNS_LB'.
skipping Virtual Server 'VS_AD_LB'.
.1.3.6.1.4.1.5951.4.1.3.1.1.13.23.86.83.95.115.118.99.99.105.116.46.115.112.111.116.105.109.97.103.101.46.99.111.109 = undef
.1.3.6.1.4.1.5951.4.1.3.1.1.14.23.86.83.95.115.118.99.99.105.116.46.115.112.111.116.105.109.97.103.101.46.99.111.109 = undef
.1.3.6.1.4.1.5951.4.1.3.1.1.17.23.86.83.95.115.118.99.99.105.116.46.115.112.111.116.105.109.97.103.101.46.99.111.109 = undef
.1.3.6.1.4.1.5951.4.1.3.1.1.18.23.86.83.95.115.118.99.99.105.116.46.115.112.111.116.105.109.97.103.101.46.99.111.109 = undef
.1.3.6.1.4.1.5951.4.1.3.1.1.31.23.86.83.95.115.118.99.99.105.116.46.115.112.111.116.105.109.97.103.101.46.99.111.109 = 0
.1.3.6.1.4.1.5951.4.1.3.1.1.33.23.86.83.95.115.118.99.99.105.116.46.115.112.111.116.105.109.97.103.101.46.99.111.109 = 0
.1.3.6.1.4.1.5951.4.1.3.1.1.56.23.86.83.95.115.118.99.99.105.116.46.115.112.111.116.105.109.97.103.101.46.99.111.109 = 0
.1.3.6.1.4.1.5951.4.1.3.1.1.62.23.86.83.95.115.118.99.99.105.116.46.115.112.111.116.105.109.97.103.101.46.99.111.109 = 0
.1.3.6.1.4.1.5951.4.1.3.1.1.65.23.86.83.95.115.118.99.99.105.116.46.115.112.111.116.105.109.97.103.101.46.99.111.109 = 0
Virtual Server 'VS_sslvpn' State : up, Health: 0.00 %, Traffic In: 0.00 b/s, Traffic Out: 0.00 b/s, Total Client Connections : 0, Total Server Connections : 0
-bash-4.2$ /usr/lib/centreon/plugins/centreon_netscaler.pl --plugin=network::citrix::netscaler::snmp::plugin --mode=vserver-status --hostname='@IP_of_Citrix_ADC' --snmp-version='3' --snmp-community='' --snmp-username centreon --authprotocol SHA --authpassphrase "my_authpassphrase" --privprotocol AES --privpassphrase "my_priv_passphrase" --filter-name='VS_sslvpn' --filter-type='' --warning-health='@50:75' --critical-health='@0:50' --filter-type='sslvpn' --debug
CRITICAL: Virtual Server 'VS_sslvpn' Health: 0.00 % | 'health'=0.00%;@50:75;@0:50;0;100 'traffic_in'=0.00b/s;;;0; 'traffic_out'=0.00b/s;;;0; 'clients'=0;;;0; 'servers'=0;;;0;
.1.3.6.1.4.1.5951.4.1.3.1.1.5.11.86.83.95.65.68.95.90.80.82.73.86 = 7
.1.3.6.1.4.1.5951.4.1.3.1.1.5.11.86.83.95.83.70.95.90.80.82.73.86 = 7
.1.3.6.1.4.1.5951.4.1.3.1.1.5.12.86.83.95.68.78.83.95.90.80.82.73.86 = 7
.1.3.6.1.4.1.5951.4.1.3.1.1.5.12.86.83.95.78.84.80.95.90.80.82.73.86 = 7
.1.3.6.1.4.1.5951.4.1.3.1.1.5.12.86.83.95.83.65.83.95.90.80.82.73.86 = 7
.1.3.6.1.4.1.5951.4.1.3.1.1.5.15.86.83.95.82.65.68.73.85.83.95.90.80.82.73.86 = 7
.1.3.6.1.4.1.5951.4.1.3.1.1.5.17.86.83.95.65.68.95.90.80.82.73.86.95.69.50.82.48.50 = 7
.1.3.6.1.4.1.5951.4.1.3.1.1.5.22.86.83.95.115.118.99.48.50.46.115.112.111.116.105.109.97.103.101.46.99.111.109 = 7
.1.3.6.1.4.1.5951.4.1.3.1.1.5.23.86.83.95.115.118.99.99.105.116.46.115.112.111.116.105.109.97.103.101.46.99.111.109 = 7
.1.3.6.1.4.1.5951.4.1.3.1.1.59.11.86.83.95.65.68.95.90.80.82.73.86 = VS_AD_LB
.1.3.6.1.4.1.5951.4.1.3.1.1.59.11.86.83.95.83.70.95.90.80.82.73.86 = VS_SF_LB
.1.3.6.1.4.1.5951.4.1.3.1.1.59.12.86.83.95.68.78.83.95.90.80.82.73.86 = VS_DNS_LB
.1.3.6.1.4.1.5951.4.1.3.1.1.59.12.86.83.95.78.84.80.95.90.80.82.73.86 = VS_NTP_LB
.1.3.6.1.4.1.5951.4.1.3.1.1.59.12.86.83.95.83.65.83.95.90.80.82.73.86 = VS_SAS_LB
.1.3.6.1.4.1.5951.4.1.3.1.1.59.15.86.83.95.82.65.68.73.85.83.95.90.80.82.73.86 = VS_RADIUS_LB
.1.3.6.1.4.1.5951.4.1.3.1.1.59.17.86.83.95.65.68.95.90.80.82.73.86.95.69.50.82.48.50 = VS_AD_LB
.1.3.6.1.4.1.5951.4.1.3.1.1.59.22.86.83.95.115.118.99.48.50.46.115.112.111.116.105.109.97.103.101.46.99.111.109 = VS_sslvpn2
.1.3.6.1.4.1.5951.4.1.3.1.1.59.23.86.83.95.115.118.99.99.105.116.46.115.112.111.116.105.109.97.103.101.46.99.111.109 = VS_sslvpn
.1.3.6.1.4.1.5951.4.1.3.1.1.64.11.86.83.95.65.68.95.90.80.82.73.86 = 1
.1.3.6.1.4.1.5951.4.1.3.1.1.64.11.86.83.95.83.70.95.90.80.82.73.86 = 1
.1.3.6.1.4.1.5951.4.1.3.1.1.64.12.86.83.95.68.78.83.95.90.80.82.73.86 = 1
.1.3.6.1.4.1.5951.4.1.3.1.1.64.12.86.83.95.78.84.80.95.90.80.82.73.86 = 1
.1.3.6.1.4.1.5951.4.1.3.1.1.64.12.86.83.95.83.65.83.95.90.80.82.73.86 = 1
.1.3.6.1.4.1.5951.4.1.3.1.1.64.15.86.83.95.82.65.68.73.85.83.95.90.80.82.73.86 = 1
.1.3.6.1.4.1.5951.4.1.3.1.1.64.17.86.83.95.65.68.95.90.80.82.73.86.95.69.50.82.48.50 = 1
.1.3.6.1.4.1.5951.4.1.3.1.1.64.22.86.83.95.115.118.99.48.50.46.115.112.111.116.105.109.97.103.101.46.99.111.109 = 3
.1.3.6.1.4.1.5951.4.1.3.1.1.64.23.86.83.95.115.118.99.99.105.116.46.115.112.111.116.105.109.97.103.101.46.99.111.109 = 3
skipping Virtual Server 'VS_SF_LB'.
skipping Virtual Server 'VS_NTP_LB'.
skipping Virtual Server 'VS_AD_LB'.
skipping Virtual Server 'VS_SAS_LB'.
skipping Virtual Server 'VS_RADIUS_LB'.
skipping Virtual Server 'VS_sslvpn2'.
skipping Virtual Server 'VS_DNS_LB'.
skipping Virtual Server 'VS_AD_LB'.
.1.3.6.1.4.1.5951.4.1.3.1.1.13.23.86.83.95.115.118.99.99.105.116.46.115.112.111.116.105.109.97.103.101.46.99.111.109 = undef
.1.3.6.1.4.1.5951.4.1.3.1.1.14.23.86.83.95.115.118.99.99.105.116.46.115.112.111.116.105.109.97.103.101.46.99.111.109 = undef
.1.3.6.1.4.1.5951.4.1.3.1.1.17.23.86.83.95.115.118.99.99.105.116.46.115.112.111.116.105.109.97.103.101.46.99.111.109 = undef
.1.3.6.1.4.1.5951.4.1.3.1.1.18.23.86.83.95.115.118.99.99.105.116.46.115.112.111.116.105.109.97.103.101.46.99.111.109 = undef
.1.3.6.1.4.1.5951.4.1.3.1.1.31.23.86.83.95.115.118.99.99.105.116.46.115.112.111.116.105.109.97.103.101.46.99.111.109 = 0
.1.3.6.1.4.1.5951.4.1.3.1.1.33.23.86.83.95.115.118.99.99.105.116.46.115.112.111.116.105.109.97.103.101.46.99.111.109 = 0
.1.3.6.1.4.1.5951.4.1.3.1.1.56.23.86.83.95.115.118.99.99.105.116.46.115.112.111.116.105.109.97.103.101.46.99.111.109 = 0
.1.3.6.1.4.1.5951.4.1.3.1.1.62.23.86.83.95.115.118.99.99.105.116.46.115.112.111.116.105.109.97.103.101.46.99.111.109 = 0
.1.3.6.1.4.1.5951.4.1.3.1.1.65.23.86.83.95.115.118.99.99.105.116.46.115.112.111.116.105.109.97.103.101.46.99.111.109 = 0
Virtual Server 'VS_sslvpn' State : up, Health: 0.00 %, Traffic In: 0.00 b/s, Traffic Out: 0.00 b/s, Total Client Connections : 0, Total Server Connections : 0
Regards,
Greg