NetScaler ‘Counters’ Grab-Bag!

https://www.citrix.com/blogs/author/andrewre/

https://www.citrix.com/blogs/2014/05/02/netscaler-counters-grab-bag/

The NetScaler ADC is a fantastic appliance for doing a host of different things as we all know. But did you know that the NetScaler has a wide range of counters and other detail that can be used to troubleshoot various systems on the appliance?

Simply log into the NetScaler via your favorite SSH client, drop to the SHELL, navigate to the /var/nslog directory, and then use the following ‘nsconmsg’ command to see comprehensive statistics via the different counters available.

Example:

For this example I used the popular and free PUTTY SSH client to log into the NetScaler.

LOGIN to the NetScaler CLI:

Using username “nsroot”.

Using keyboard-interactive authentication.

Password:

Last login: Fri May  2 18:23:05 2014 from 10.54.156.40

Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994

The Regents of the University of California.  All rights reserved.

Done

Drop to the SHELL:

> shell

Copyright (c) 1992-2008 The FreeBSD Project.

Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994

The Regents of the University of California. All rights reserved.

Change to the /var/nslog directory with the following command:

root@netscaler# cd /var/nslog

Issue the following ‘nsconmsg’ command to look at NIC-related statistics:

root@netscaler# nsconmsg -g nic_err -d current

Displaying performance information

NetScaler V20 Performance Data

NetScaler NS10.1: Build 122.17.nc, Date: Dec  5 2013, 17:46:04

reltime:mili second between two records Fri May  2 19:14:46 2014

Index   rtime totalcount-val      delta rate/sec symbol-name&device-no

0    7000      159248567         50        7 nic_err_dropped_pkts interface(0/1)

1       0      256797467        146       20 nic_err_dropped_pkts interface(0/2)

From the above example you can see live statistics about the NIC. There are a host of different counters for each respective system that can yield excellent data to help you understand the health of your appliance, or even give you critical insight when troubleshooting an issue.

As a note, the counters will refresh every (7) seconds with new data for stats averaged over the (7) second interval.

Finding different NetScaler counters is rather simple just by leveraging a Google search for an appropriate CTX article. But to make it easier for you, I’ve put together a really helpful list of the most common counters that you may be interested in examining.

The Most Common Counters:

NetScaler AppFlow Counters

http://support.citrix.com/article/CTX132769

NetScaler Compression (CMP) Counters

http://support.citrix.com/article/CTX131798

NetScaler Internet Protocol (IP) Counters

http://support.citrix.com/article/CTX131805

NetScaler SSL Counters

http://support.citrix.com/article/CTX132779

NetScaler System Counters

http://support.citrix.com/article/CTX133887

NetScaler TCP Counters

http://support.citrix.com/article/CTX133888

NetScaler UDP Counters

http://support.citrix.com/article/CTX133889

NetScaler Virtual Server Counters

http://support.citrix.com/article/CTX133891

NetScaler Audit Log Counters

http://support.citrix.com/article/CTX132770

NetScaler SNMP Counters

http://support.citrix.com/article/ctx132778

Netscaler IPv6 Counters

http://support.citrix.com/article/CTX131806

NetScaler Logging Facility

http://support.citrix.com/article/CTX123977

NetScaler SSLVPN Counters

http://support.citrix.com/article/CTX133884

NetScaler Priority Queuing Counters

http://support.citrix.com/article/CTX132774

Netscaler High Availability Counters

http://support.citrix.com/article/CTX131802

Netscaler HTTP Denial of Service Protection Counters

http://support.citrix.com/article/CTX131800

NetScaler Integrated Caching Counters

http://support.citrix.com/article/CTX131793

NetScaler ICMP Counters

http://support.citrix.com/article/CTX131804

How to Determine the Time Since the Last High Availability Node State Change from a NetScaler Newnslog File

http://support.citrix.com/article/CTX121847

NetScaler High Availability Synchronization Failure Counter – ha_err_sync_failure

http://support.citrix.com/article/CTX135217

FAQ: Can the NetScaler Generate an HTTP 503 Response?

http://support.citrix.com/article/CTX120240

Port Allocation Error not Caused by Port Exhaustion

http://support.citrix.com/article/CTX122808

Netscaler NIC Counters

http://support.citrix.com/article/CTX125102

HTTP Reuse and Non-Trackable Connections

http://support.citrix.com/article/CTX120674

NetScaler DNS Counters

http://support.citrix.com/article/CTX131799

NetScaler RNAT Counters

http://support.citrix.com/article/CTX132775

NetScaler HTTP Counters

http://support.citrix.com/article/CTX131803

======================  End

NetScaler ‘Counters’ Grab-Bag!的更多相关文章

  1. Android系统启动分析(Init->Zygote->SystemServer->Home activity)

    整个Android系统的启动分为Linux Kernel的启动和Android系统的启动.Linux Kernel启动起来后,然后运行第一个用户程序,在Android中就是init程序. ------ ...

  2. Unity 官方教程 学习

    Interface & Essentials Using the Unity Interface 1.Interface Overview https://unity3d.com/cn/lea ...

  3. 20 Organizing Go code 组织go代码

    Organizing Go code 16 August 2012 Introduction Go code is organized differently to that of other lan ...

  4. Introducing .NET Core

    At connect(), we announced that .NET Core will be entirely released as open source software. I also ...

  5. Integrate Your Code with the Frameworks---整合你的代码和框架

    Back to Frameworks Integrate Your Code with the Frameworks When you develop an app for OS X or iOS, ...

  6. Network Stack

    Network Stack 目录 1 Overview 2 Code Layout 3 Anatomy of a Network Request (focused on HTTP) 3.1 URLRe ...

  7. 插件化框架解读之android系统服务实现原理(五)

    阿里P7移动互联网架构师进阶视频(每日更新中)免费学习请点击:https://space.bilibili.com/474380680 一.系统服务提供方式 1.我们平时最常见的系统服务使用方式 Wi ...

  8. SNMP OID Reference - NetScaler 10

    SNMP OID Reference - NetScaler 10 https://docs.citrix.com/content/dam/docs/en-us/netscaler/10/downlo ...

  9. Huge Packet Drops (Tx drops) Observed on NetScaler

    Huge Packet Drops (Tx drops) Observed on NetScaler 来源  https://support.citrix.com/article/CTX215843 ...

随机推荐

  1. 北京Uber优步司机奖励政策(1月6日)

    滴快车单单2.5倍,注册地址:http://www.udache.com/ 如何注册Uber司机(全国版最新最详细注册流程)/月入2万/不用抢单:http://www.cnblogs.com/mfry ...

  2. 用PowerDesign反向生成数据库Sql语句问题

            在用Pd15反向生成数据库时,生成的Sql语句在Sql Server Manager Studio里面报错,根本就执行不了.数据库用的是Sql Server 2008 R2.经过一番修 ...

  3. GameplayKit的GKStateMachine用法与实例

    GKStateMachine 玩家进入GameScene场景中 -> 通过GKStateMachine进入到指定的游戏状态GKState 在GameScene场景中 -> 根据不同的逻辑调 ...

  4. [CodeForce431C]k-tree

    Quite recently a creative student Lesha had a lecture on trees. After the lecture Lesha was inspired ...

  5. Solr与Elasticsearch区别

    Elasticsearch Elasticsearch是一个实时的分布式搜索和分析引擎.它可以帮助你用前所未有的速度去处理大规模数据. 它可以用于全文搜索,结构化搜索以及分析. 优点 Elastics ...

  6. react在安卓下输入框被手机键盘遮挡问题

    问题概述   今天遇到了一个问题,在安卓手机上,当我要点击输入"店铺名称"时,手机软键盘弹出来刚好把输入框挡住了:挡住就算了,关键是页面还不能向上滑动,整个手机窗口被压为原来的二分 ...

  7. lintcode50 数组剔除元素后的乘积

    数组剔除元素后的乘积 给定一个整数数组A. 定义B[i] = A[0] * ... * A[i-1] * A[i+1] * ... * A[n-1], 计算B的时候请不要使用除法. 您在真实的面试中是 ...

  8. 爬虫2.2-scrapy框架-文件写入

    目录 scrapy框架-文件写入 1. lowb写法 2. 高端一点的写法 3. 优化版本 scrapy框架-文件写入 1. lowb写法 ~pipelines.py 前提回顾,spider.py中 ...

  9. leetcode个人题解——two sum

    这是leetcode第一题,通过较为简单. 第一题用来测试的,用的c,直接暴力法过, /** * Note: The returned array must be malloced, assume c ...

  10. Java IO(文件操作工具类)

    FileOperate实现的功能: 1. 返回文件夹中所有文件列表 2. 读取文本文件内容 3. 新建目录 4. 新建多级目录 5. 新建文件 6. 有编码方式的创建文件 7. 删除文件 8. 删除指 ...