FAQ: SNMP on NetScaler Appliance
FAQ: SNMP on NetScaler Appliance
https://support.citrix.com/article/CTX122436
https://docs.citrix.com/content/dam/docs/en-us/netscaler/10/downloads/ctx132381.htm
https://docs.citrix.com/en-us/netscaler/10-1/ns-reference-con/netscaler-snmp-oid-reference.html
https://docs.citrix.com/content/dam/docs/en-us/netscaler/12/downloads/netscaler-12-snmp-oid-reference.pdf
https://developer-docs.citrix.com/projects/netscaler-snmp-oid-reference/en/12.0/
Question and Answers
This article contains frequently asked questions about the Simple Network Management Protocol (SNMP) in the NetScaler appliance.
Q: Is the SET operation for SNMP supported on the NetScaler appliance?
A: No. By default, the NetScaler appliance does not support the SET operation for SNMP. However, if you want to enable the SET operation for SNMP on the NetScaler appliance, contact the Citrix Support team.
Q: What SNMP operations are supported when a community is GET on the NetScaler appliance?
A: When a community is GET, only the SNMP GET is supported. The SNMP GetNext or bulk operations are not supported on this community.
The following is an example for the operations supported on this community:
test# ./snmpget -c private <Host_Address> system.sysDescr.0
SNMPv2-MIB::sysDescr.0 = STRING: NetScaler NS9.0: Build 69.5, Date: Jun 12 2009, 06:00:53
test# ./snmpgetnext -c private <Host_Address> system.sysDescr.0
Timeout: No Response from <host>
Q: What is the procedure to load a Management Base Information (MIB) file to the SNMP Manager on a NetScaler appliance?
A: The procedure to load an MIB file to the SNMP Manager depends on the type of the SNMP Manager. Use any of the following procedures to load an MIB file to the Net SNMP Manager:
To load the MIB file to a UNIX based server by copying it, complete the following procedure:
Copy the MIB file to the /usr/local/share/snmp/mibs/ directory.
Note that the mibs directory location might vary between different UNIX distributions.Open the snmp.conf file in a text editor, such as the vi editor.
Add the following entries to the file:
mibs +IF-MIB
mibs +NS-ROOT-MIBSave and close the file.
Run the following command:
net-snmp-config --snmpconfpath
To load the MIB file by running the snmp command on a UNIX based server, run the following command:
./snmpget -m ./NS-MIB-smiv2.mib -c public <Host_Address> httpTotResponses.0
NS-ROOT-MIB::httpTotResponses.0 = Counter64: 368
Q: How can you identify the object values from the trap messages on the NetScaler appliance?
A: The SNMP Manager receives the netScalerConfigChange trap message when a virtual server is enabled or disabled. The following is the MIB definition for the trap message:
netScalerConfigChange NOTIFICATION-TYPE
OBJECTS { nsUserName , configurationCmd , authorizationStatus ,
commandExecutionStatus , sysIpAddress
}
"This trap is sent when the configuration on the NetScaler is changed."
::= { netScalerEventsV2 25 }
The following is the sample output of the trap message:
2009-08-19 22:02:05 10.102.14.230 [UDP: [0.0.0.0]->[10.102.14.230]:3000]:
DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (111347565) 12 days, 21:17:55.65
SNMPv2-MIB::snmpTrapOID.0 = OID: NS-ROOT-MIB::netScalerConfigChange
NS-ROOT-MIB::nsUserName.0 = STRING: "nsroot"
NS-ROOT-MIB::configurationCmd.0 = STRING: "disable lb vserver namivserver"
NS-ROOT-MIB::authorizationStatus.0 = INTEGER: authorized(1)
NS-ROOT-MIB::commandExecutionStatus.0 = INTEGER: successful(2)
NS-ROOT-MIB::sysIpAddress.0 = IpAddress: 10.102.14.230
2009-08-19 22:02:05 10.102.14.230 [UDP: [0.0.0.0]->[10.102.14.230]:3000]:
In the preceding sample, the authorizationStatus.0 object has the authorized(1) value. The entry in the output is highlighted in bold face for your reference.
Q: On a NetScaler appliance, is it possible to receive a trap message on the SNMP Manager by using a different port than the default port?
A: Yes. By default, the trap messages are received on port 162. You can run the following command to set another port to receive the trap messages on the SNMP Manager:
./snmptrapd -c /root/snmptrapd.conf -P udp:<New_Port_Number>
Q: Does the NetScaler appliance support the inform messages?
A: No. The NetScaler appliance does not support the inform messages.
Q: What are the commands to configure SNMP on a NetScaler appliance?
A: You can run the following commands to configure SNMP on a NetScaler appliance:
add snmp community <Community_Name> <Access>
add snmp trap generic <Manager_Address>
add snmp trap specific <Manager_Address>
You can also run the following command to enable threshold value related alarms:
set snmp alarm <Alarm_Name> -time <Threshold_Value>
Q: What is the location of the NetScaler MIB file?
A: The NetScaler MIB files, NS-MIB-smiv1.mib and NS-MIB-smiv2.mib, are available in the /netscaler/snmp directory of the NetScaler appliance or in the Downloads section in the GUI. All Object IDs (OIDs) are available in the mib.txt and trap.txt files available in the /netscaler/snmp directory.
Additional Resources
SNMP version 3 queries are now supported on the NetScaler SDX appliance. SNMPv3 enhances the basic architecture of SNMPv1 and SNMPv2 to incorporate administration and security capabilities, such as authentication, access control, data integrity check, data origin verification, message timeliness check, and data confidentiality.
Question:
Can we Disable SNMP v1 because Set "add snmp community citrix All" from NetScaler Device will enable both SNMP v1 and v2.
Answer: Deactivation of the a specific snmp version is not supported.
|
||
| Question: Can we Disable SNMP v1 because Set "add snmp community citrix All" from NetScaler Device will enable both SNMP v1 and v2. Answer: Deactivation of the a specific snmp version is not supported. |
| Question : Customer needs to monitor the individual interface statics via SNMP. Does NetScaler have OIDs to gather information on per interface basis?
Answer : Currently NetScaler doesn’t have SNMP OIDs to monitor the traffic per interface level. Netscaler has option for cumulative values only. |
FAQ: SNMP on NetScaler Appliance的更多相关文章
- Spanning Tree Protocol (STP) in NetScaler Appliance
Spanning Tree Protocol (STP) in NetScaler Appliance 来源 https://support.citrix.com/article/CTX112341 ...
- SNMP OID Reference - NetScaler 10
SNMP OID Reference - NetScaler 10 https://docs.citrix.com/content/dam/docs/en-us/netscaler/10/downlo ...
- NetScaler ‘Counters’ Grab-Bag!
NetScaler ‘Counters’ Grab-Bag! https://www.citrix.com/blogs/author/andrewre/ https://www.citrix.com/ ...
- NetScaler Best Practice With VMAC In A High Availability Configuration
NetScaler Best Practice With VMAC In A High Availability Configuration https://www.citrix.com/blogs/ ...
- How to Create a Perl Based Custom Monitor on NetScaler
How to Create a Perl Based Custom Monitor on NetScaler https://support.citrix.com/article/CTX227727 ...
- NetScaler 10.1的配置以及结合StoreFront的部署
工作需要,所以英文+中文,绝壁不是装逼...(关于这点勿喷) This post will cover only the basics for getting NetScaler up and run ...
- NetScaler + Wireshark = A Perfect Combination!
NetScaler + Wireshark = A Perfect Combination! https://www.citrix.com/blogs/2014/05/03/netscaler-wir ...
- Give NetScaler a “Tune-Up”
Give NetScaler a “Tune-Up” https://www.citrix.com/blogs/2014/10/21/give-netscaler-a-tune-up/ To Opti ...
- NetScaler VLAN’s Demystified
NetScaler VLAN’s Demystified https://www.citrix.com/blogs/2014/12/29/netscaler-vlans-demystified/ Th ...
随机推荐
- 05 shell编程之正则表达式
正则表达式&&文本处理利器 学习目标: l 掌握正则表达式的运用 l 掌握sed.awk文本处理工具的使用 目录结构: 正则表达式 正则表达式概述 l 正则表达式:使用单个字 ...
- Centos7安装FastDFS
离线安装包准备: 将相关的安装包上传到 /usr/local 目录,安装包下载 并解压到当前目录 1.安装 gcc yum install -y gcc gcc-c++ 2.安装 perl yum i ...
- Python学习笔记:第一天python基础
目录 1. python简介 2. python的安装 3. 编写第一个helloword 4. 变量和常量 5. 数据类型 6. 输入 7. if语句 1. python简介 python是在198 ...
- unity独立游戏开发日志2018/09/22
f::很头痛之前rm做的游戏在新电脑工程打不开了...只能另起炉灶... 还不知道新游戏叫什么名...暂且叫方块世界.(素材已经授权) 首先是规划下场景和素材文件夹的建立. unity常用的文件夹有: ...
- android 怎么判断activity 从哪里启动的
有时候,你想要知道,有一个activity 从哪里启动的.怎么才能知道呢? 1.前提是,androidstadio 你下载了源码.找到你的activityBase的实现类,在startActivity ...
- 从C到C++ (3)
从C到C++ (3) 一. C++中增加了引用 1.引用是给某一个变量起别名.引用的一般格式: 类型 &引用名 = 变量名 定义引用时一定要初始化.在实际应用中,引用一般用作参数传递与返 ...
- Get Error when restoring database in Sql Server 2008 R2
When I restored a database I got an error: "The backup set holds a backup of a database ot ...
- RevealTrans图片切换效果
RevealTrans 更新时间:2013-06-01 17:11:59 | RevealTrans兼容性:IE5.5+ 语法: filter : progid:DXImageTransform.Mi ...
- Android学习笔记之,调用系统图库,添加自定义字体,屏幕截图
新年开始的第一天就来学习了慕课迎春活动中的Android心愿分享一课,学到了几个知识点,在此记录一下. 1.调用系统图库调用系统图库用的是intent,步骤为弹出系统图库选择器,选择图片后获取到所选择 ...
- 每天一个Linux命令(12):su命令
su命令用于切换当前用户身份到其他用户身份,变更时须输入所要变更的用户帐号与密码. 语法: su(选项)(参数) 选项: -c<指令>或--command=<指令>:执行完指定 ...