lotus系统snmp配置手册

合集下载

lotus domino notes 8.5 安装配置使用手册

lotus domino notes 8.5 安装配置使用手册

Lotus Domino/notes 8.5 安装配置使用手册前提知识验证字和验证标识符:其实这就相当于一个密码门的钥匙,比如说你要进一个门,那么不仅要提供钥匙,还要提供密码。

在lotus里面,用户,组织,组织单元都相当于一个密码门,需要使用,就必须提供密码和标识文件,也就是验证字或者说验证标识符组织:这个不说了,就按公司来理解就可以了,一个组织就是一个公司,这样好理解,但是实际上组织只是一个管理上的概念,具体你要看你怎么来划分管理单元决定。

如果你把一个集团公司划成一个组织,那么组织单元就是下属公司了,如果你把一个公司划成组织,那么下面的部门就是组织单元。

所以最终怎么来建立组织,就看你怎么来管理这个服务器了。

组织单元:这个可以理解成部门,结合组织来理解,很简单。

域:域是服务器管理的一个概念。

一个域,就是一组提供特定功能的服务器的集合。

安装1.安装环境:操作系统:Windows server 2008 R2CPU:XEON E5410 2.33G 6核内存:4GDomino版本:8.5.32.配置环境:主机名:lotus(这个按规划可随意设置)外部域名: MX记录已配置Server名:mail组织名:mywind域名:yesnol3.安装步骤:由于lotus的安装步骤比较简单,选择安装目录,全部下一步即可,这里不做详细记录服务器端需要安装administrator tools和notes,方便管理。

4.服务器配置这里需要注意的就是server名,组织名,域名一定要和规划的一样,完整主机名是 其他默认点下一步即可。

(这里没有做分区,而且是第一台服务器)启动,连接,创建组织单元,创建用户1,启动服务器双击lotus domino server ,选择按服务启动还是按程序启动,建议按程序启动。

之后出现下面的启动界面,会有详细的启动过程2,连接到服务器双击domino admin 8.5 ,输入初始配置时候设置的管理员的密码。

SNMP的配置

SNMP的配置

一、在思科的路由器上配置SNMP(启用SNMP代理)、开启SNMP服务5、案例:配置网管工作站接收被管设备的陷阱消息(1)启用陷阱消息接收器----打开162端口(2)配置团体名(3)在snmp代理上配置陷阱消息snmp-server host 192.168.4.231 sdxh #配置陷阱消息的目标snmp-server enable traps config #配置启用trap 配置事件(注:只是其中的一种消息类型,可以配置多个)(4)效果二、在思科交换机上配置SNMP1、配置管理地址三、在思科ASA上启用SNMP1、防火墙只支持只读SNMP2、SNMPv3支持更强的认证:用户名、认证密钥、加密密钥四、在Windows Server上启用SNMP在Linux中启用SNMP五、五、在1、yum仓库的配置(以本地光盘为yum安装源)mount /dev/cdrom /media/cdrom/rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release 导入签名密钥1)、vi /etc/yum.repos.d/rhel6.repo[rhel-source] #仓库的名称name=Red Hat Enterprise Linux $releasever - $basearch - Source #描述baseurl=file:///media/cdrom #位置enabled=1 #启用仓库gpgcheck=1 #启用签名检查gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release #签名密钥3)、相关软件包将snmp服务设为开机自动启动:修改允许查看的MIB库信息87 view all included .1 8091 view mib2 included .dod.internet.mgmt.mib-2 fc 设置团体名的权限(在文件的结尾)snmpwalk -v 2c 192.168.4.213 -c sdxh systemsnmpwalk -v 2c 192.168.4.254 -c sdxh ifDescr.1snmpnetstat -v 2c -c sdxh -Ca -Cp tcp 192.168.4.213 #查看tcp连接启用SNMP-V3:3、【补充】Setting Up SNMPThis HowTo will explain how to install and configure the Net-SNMP agent. At time of writing, the latest version available is 5.4 (published on 12/06/2006).Getting Net-SNMP binariesDepending on your operating system, you'll find packages or tarballs to install Net-SNMP :LinuxUsually every Linux distribution comes with Net-SNMP packages :RedHat / Fedora : install the net-snmp, net-snmp-libs and net-snmp-utils packagesDebian / Ubuntu: install the libsnmp-base, libsnmp5, snmp and snmpd packagesSuSE : install the net-snmp packageGentoo : simply emerge the net-snmp ebuildMandriva : install the libnet-snmp5, net-snmp and net-snmp-utils packages.agentaddress 10.20.30.40:10000You can also make it listens on TCP, which is supported by Cactiagentaddress tcp:161The “tcp” keyword can then be used in Cacti :For those who want some more security, you can use the SNMP version 3 protocol, with MD5 or SHA hashing:createUser frederic MD5 mypassphrase DESgroup groupv3 usm fredericview all included .iso 80access groupv3 "" any auth exact all all allThis creates a user “frederic” whose password is “mypassphrase”. To test it:# snmpget -v 3 -l AuthNoPriv -u frederic -A mypassphrase 10.50.80.45 sysName.0SNMPv2-MIB::sysName.0 = STRING: cyclopesIn Cacti, add your device, choose SNMP version 3, and fill the username and password fields:Now that you're done with access control, add these 2 lines in snmpd.conf to indicate the location and contact name of your device:syslocation Bat. C2syscontact someone@They will then appear in Cacti management interface :Some OIDs return a unit, eg ”-153.1 dBm”.It's a safe idea to turn this off, by adding this to snmpd.conf:dontPrintUnits trueNext step is to graph filesystems in Cacti; the easyest way is to add this line in snmpd.conf:includeAllDisksWhen you'll run the “ucd/net - Get Monitored Partitions” Data Query, all the mounted filesystems will show up:If you want a filesystem not to be listed here, add this line to snmpd.conf:ignoredisk /dev/rdsk/c0t2d0Unfortunatly, some older versions of Net-SNMP do not fully work with the includeAllDisks keywordYou'll then have to list explicitly all filesystems you want to graph:disk /disk /usrdisk /vardisk /oracleYou can also specify NFS mount points.Please note that the Net-SNMP agent can only report filesystems which where mounted before its start.If you manually mount filesystems later, you'll have to reload the Net-SNMP agent (send the HUP signal).You can also graph processes, by adding this to snmpd.conf:proc httpdThe result will be accessible under the ucdavis.prTable.prEntry tree:prCount, number of current processes running with the name in questionprNames, the process name you're counting.In our example, the number of Apache processes will be available under the .1.3.6.1.4.1.2021.2.1.5 OID Some useful mib modules are:mibII/mta_sendmail, to graph MTA (Sendmail, Postfix, etc.) statisticsdiskio, to enable to graph I/O statisticsucd-snmp/lmSensors, for hardware monitoring (Linux and Solaris only)Mib modules can be added like this:$ ./configure --with-mib-modules="module1 module2"To compile Net-SNMP and build a compressed archive, follow these steps:$ ./configure --with-your-options$ make# mkdir /usr/local/dist# make install prefix=/usr/local/dist/usr/local exec_prefix=/usr/local/dist/usr/local# cd /usr/local/dist# tar cvf /tmp/net-snmp-5.3.1-dist.tar usr# gzip /tmp/net-snmp-5.3.1-dist.tar# rm -rf /usr/local/distYou can then copy the /tmp/net-snmp-5.3.1-dist.tar.gz file to other servers, and uncompress it from the root directory (everything will get extracted to /usr/local).Test your configurationOnce Net-SNMP is configured and started, here's how to test it:$ snmpwalk -v 1 -c public localhost .1.3.6.1.2.1.1.1.0SNMPv2-MIB::sysDescr.0 = STRING: Linux cronos 2.4.28 #2 SMP ven jan 14 14:12:01 CET 2005 i686This basic query shows that your Net-SNMP agent is reachable.You can even query which Net-SNMP version is running on a host:$ snmpwalk -v 1 -c public localhost .1.3.6.1.4.1.2021.100.2.0UCD-SNMP-MIB::versionTag.0 = STRING: 5.2.1.2An answer like that one$ snmpwalk -v 1 -c foo localhost .1.3.6.1.2.1.1.1.0Timeout: No Response from localhostindicates that either the agent is not started, or that the community string is incorrect, or that this device is unreachable. Check your community string, add firewall rules if necessary, etc.If using SNMP version 3, specifying an unknown user will result in this error message :$ snmpget -v 3 -l AuthNoPriv -u john -A mypassphrase 10.50.80.45 sysName.0snmpget: Unknown user nameAn incorrect passphrase will result in this error message :$ snmpget -v 3 -l AuthNoPriv -u frederic -A badpassphrase 10.50.80.45 sysName.0snmpget: Authentication failure (incorrect password, community or key)This query will show you what filesystems are mounted:$ snmpwalk -v 1 -c public localhost .1.3.6.1.4.1.2021.9.1.2UCD-SNMP-MIB::dskPath.1 = STRING: /UCD-SNMP-MIB::dskPath.2 = STRING: /BBUCD-SNMP-MIB::dskPath.3 = STRING: /dev/shmIf the answer is empty, usually it means the includeAllDisks is not supported by your Net-SNMP agent (you'll have to list each filesystem you want to graph as explained in previous chapter).Finally, this query will you display your network interfaces:$ snmpwalk -v 1 -c public localhost .1.3.6.1.2.1.2.2.1.2IF-MIB::ifDescr.1 = STRING: loIF-MIB::ifDescr.2 = STRING: eth0IF-MIB::ifDescr.3 = STRING: eth1Extending the SNMP AgentA great functionnality of Net-SNMP is that you can “extend” it.Let's run the /tmp/foo.sh script:$ /tmp/foo.sh -arg1123Now put this in snmpd.conf:exec foo /bin/sh /tmp/foo.sh -arg1The result of your script will be accessible under the ucdavis.extTable.extEntry tree: * output of the script :ucdavis.extTable.extEntry.extOutput * exit status: ucdavis.extTable.extEntry.extResult * command:ucdavis.extTable.extEntry.extCommandYou can check the result with this SNMP query:$ snmpwalk -v 1 -c public localhost .1.3.6.1.4.1.2021.8.1UCD-SNMP-MIB::extIndex.1 = INTEGER: 1UCD-SNMP-MIB::extNames.1 = STRING: fooUCD-SNMP-MIB::extCommand.1 = STRING: /bin/sh /tmp/foo.sh -arg1UCD-SNMP-MIB::extResult.1 = INTEGER: 0UCD-SNMP-MIB::extOutput.1 = STRING: 123UCD-SNMP-MIB::extErrFix.1 = INTEGER: 0UCD-SNMP-MIB::extErrFixCmd.1 = STRING:extOutput translates to .1.3.6.1.4.1.2021.8.1.101 As “foo” is our first exec directive, add .1 at the end of the OID.In Cacti, use the “SNMP - Generic OID Template” like this:Voila! Result of the /tmp/foo.sh script is now graphed in Cacti.Now let's run this second script, which returns more than one result:$ /tmp/bar.sh456789It returns two values, one per line (this is important).Another way to call scripts from snmpd.conf is by specifying an OID, like this:exec .1.3.6.1.4.1.2021.555 /bin/sh /tmp/bar.shRun this query:$ snmpwalk -v 1 -c public localhost .1.3.6.1.4.1.2021.555UCD-SNMP-MIB::ucdavis.555.1.1 = INTEGER: 1UCD-SNMP-MIB::ucdavis.555.2.1 = STRING: "/bin/sh"UCD-SNMP-MIB::ucdavis.555.3.1 = STRING: "/tmp/bar.sh"UCD-SNMP-MIB::ucdavis.555.100.1 = INTEGER: 0UCD-SNMP-MIB::ucdavis.555.101.1 = STRING: "456"UCD-SNMP-MIB::ucdavis.555.101.2 = STRING: "789"UCD-SNMP-MIB::ucdavis.555.102.1 = INTEGER: 0UCD-SNMP-MIB::ucdavis.555.103.1 = ""First line returned by the script will be available at .1.3.6.1.4.1.2021.555.101.1, second one at .1.3.6.1.4.1.2021.555.101.2, and so on.You can then use the “SNMP - Generic OID Template” in Cacti (one Data Source per OID).Let's say you want to count the number of entries in a log file. Add this to snmpd.conf:logmatch cactistats /home/cactiuser/cacti/log/cacti.log 120 SYSTEM STATS* the global count of matches will be available under the .1.3.6.1.4.1.2021.16.2.1.5.1 OID * the “Regex match counter” (which is reset with each file rotation) will be available under the .1.3.6.1.4.1.2021.16.2.1.7.1 OIDTo list all the available variables, use this query:$ snmpwalk -v 1 -c public localhost logMatchUCD-SNMP-MIB::logMatchMaxEntries.0 = INTEGER: 50UCD-SNMP-MIB::logMatchIndex.1 = INTEGER: 1UCD-SNMP-MIB::logMatchName.1 = STRING: cactistatsUCD-SNMP-MIB::logMatchFilename.1 = STRING: /home/cactiuser/cacti/log/cacti.logUCD-SNMP-MIB::logMatchRegEx.1 = STRING: SYSTEM STATSUCD-SNMP-MIB::logMatchGlobalCounter.1 = Counter32: 301634UCD-SNMP-MIB::logMatchGlobalCount.1 = INTEGER: 301634UCD-SNMP-MIB::logMatchCurrentCounter.1 = Counter32: 6692UCD-SNMP-MIB::logMatchCurrentCount.1 = INTEGER: 6692https:///autho/forms/CDClogin.html# 获取端口Index[root@redhat mibs]# snmpwalk -v 2c 192.168.4.254 -c sdxh 1.3.6.1.2.1.2.2.1.1 IF-MIB::ifIndex.1 = INTEGER: 1IF-MIB::ifIndex.2 = INTEGER: 2IF-MIB::ifIndex.3 = INTEGER: 3# 获取端口列表及其描述[root@redhat mibs]# snmpwalk -v 2c 192.168.4.254 -c sdxh 1.3.6.1.2.1.2.2.1.2 IF-MIB::ifDescr.1 = STRING: FastEthernet0/0# 以下为获取交换机第2个端口(INT E GE R: 2)所连接主机的M AC地址操作例子################################### 步骤 1 ##############################snmpwalk -v 2c -c Pub_PCon9-CT 192.168.232.25 1.3.6.1.2.1.17.4.3.1 | grep -w "INTEGER: 2"返回结果:SNMPv2-SMI::mib-2.17.4.3.1.2.0.7.233.63.136.173 = INTEGER: 2################################### 步骤 2 ############################### 从以上步骤1的返回结果获取粗体字"0.7.233.63.136.173" ,并执行以下命令snmpwalk -v 2c -c Pub_PCon9-CT 192.168.232.25 1.3.6.1.2.1.17.4.3.1 | grep "0.7.233.63.136.173" | grep "mib-2.17.4.3.1.1"返回结果:SNMPv2-SMI::mib-2.17.4.3.1.1.0.7.233.63.136.173 = Hex-STRING: 00 07 E9 3F 88 AD00 07 E9 3F 88 AD为交换机的第2口所连接的主机网卡地址################################### 步骤 3 ##############################snmpwalk -v 2c -c Pub_PCon9-CT 192.168.232.25 1.3.6.1.2.1.17.1.4.1.2 | grep -w "SNMPv2-SMI::mib-2.17.1.4.1.2.2"这里的红色2是步骤1的 INTEGER: 2返回结果:SNMPv2-SMI::mib-2.17.1.4.1.2.2 = INTEGER: 2步骤3中获取到的INTEGER: 2才是对应的IfIndexsnmpwalk -v 2c -c Pub_PCon9-CT 192.168.232.41 1.3.6.1.2.1.17.4.3.1.1snmpwalk -v 2c -c Pub_PCon9-CT 192.168.232.41 1.3.6.1.2.1.17.4.3.1.2snmpwalk -v 2c -c Pub_PCon9-CT 192.168.232.41 1.3.6.1.2.1.17.1.4.1.2/en/US/tech/tk648/tk362/technologies_tech_note09186a00801576ff.shtml在华为-H3C设备上启用SNMP服务六、六、在华为在线文档:实验环境:1、开启SNMP-Agent<Huawei> system-view[Huawei]interface g0/0/1[Huawei]acl 2001[Huawei]snmp-agent community write xinhua acl 20013、配置SNMP trap消息[AR2220]snmp-agent target-host trap-hostname mbxb address 192.168.4.231 udp-port 162 trap-paramsname sdxh4、保存配置七、在华为交换机上启用SNMP华为交换机的基本操作:[Huawei]interface vlanif 1[Huawei-Vlanif1]ip address 192.168.1.4 24[Huawei]interface GigabitEthernet0/0/1port link-type access #设置接口的类型-accessport default vlan 1 #设置默认VLANundo shutdown[Huawei]snmp-agent community read xinhua[Huawei]snmp-agent sys-info contact 12345[Huawei]snmp-agent sys-info location jinanshi[Huawei]snmp-agent sys-info version all[Huawei]snmp-agent target-host trap address udp-domain 192.168.1.230 udp-port 162 params securityname xinhua [Huawei]snmp-agent trap enable。

SNMP配置说明

SNMP配置说明

SNMP配置说明一.配置说明修改配置文件的目的是为了添加代理用户1.MIB version说明:net-snmp代理支持v1, v2c, v3版本,可根据管理侧的版本信息自适应回复相同版本格式的回复。

无需配置。

Mib节点项:无2.Trap community说明:trap共同体,适用于v1/v2c版本。

管理侧侧只有在配置了相同的参数后才能接收到trap.配置方法:trapsink localhost public 162trap2sink 172.18.100.148 public 162以上两条配置项中,共同体名均为public。

其中第一条配置项适用于发送v1版本trap,第二条配置项适用于发送v2c版本trapMib节点项:无3.RO/RW community说明:只读/读写共同体,适用于v1/v2c版本。

管理侧和代理侧在配置了相同的共同体参数后,管理侧才可以对代理侧进行读取或者设置操作。

配置方法:com2sec get default publiccom2sec set default netman只读共同体设置为public, 读写共同体设置为netman。

此配置需要与group和access配置共同使用实现只读/读写功能。

Mib节点项:无4.SNMP Engine ID说明:SNMP引擎标识,适用于v3版本。

SnmpEngineID值可指定也通过某种算法计算得到,目的是为了标识唯一一个SNMP实体。

在net-snmp中是通过计算生成的,使用如下的方法:SnmpEnglineID长度为12个字节,最高bit设置为1,表示使用框架定义的方法(如果为0表示企业定义)。

前4个字节设为生产代理的企业标识(prvate.enterprise下的企业标识,同IANA分配),如ECI的企业标识为1286。

其他8个字节通过使用IP地址并在地址后面增补随机数来确定。

配置方法:修改net-snmp源代码,将NETSNMP_ENTERPRISE_OID更改为1286.Mib节点项:snmpEngineID(1.3.6.1.6.3.10.2.1.1)5.View name, oid name, include说明:VACM配置相关,适用于v1/v2c/v3版本。

IBM LOTUS配制说明

IBM LOTUS配制说明

前言相信许多管理员都听说过IBM Lotus Domino/Note,它是IBM公司开发的一套办公协作软件。

Lotus Notes/Domino在电子协作、通讯、知识管理、流程控制等方面为用户提供了很好的解决方案,特别是Lotus Notes/Domino的邮件功能,使许多用户安装完Lotus Notes/Domino后,不用做更多的开发,即可在单位内部架构强大的邮件系统。

Lotus Notes/Domino从最早期定位为单纯的信息传送及行事系统,一直演变到至今,已经发展成为功能强大的工作群组软件,其不但可以传送email,更可以达成审核流程、文件管理、知识管理、工作流程管理,甚至是即使通讯等等多项协同合作功能。

Lotus Notes/Domino分为服务端和客户端,应用在不同的主机上。

笔者首先利用本文讲述一下服务端的安装和首次配置的过程,为今后的深度配置打一个基础。

系统要求Domino安装基本硬盘空间要270MB,建议为其他程序和数据保留1GB剩余空间。

内存最低配置为48MB,建议配置96MB(以WINNT操作系统为例),操作系统Wiindows 2000 Advance Server或Windows 2003 Server以上版本。

模拟配置的环境操作系统:Windows XP Professional SP3虚拟机:VMware Workstation 6.0.2 build 59824 + VMware Tools虚拟操作系统:Windows 2000 Advance Server SP4浏览器:IE6.0 SP1Lotus版本:IBM Lotus Domino 7.0安装软件将安装光盘放进光驱,双击安装文件出现以下安装提示信息:安装提示点击“Next”进入下一步:软件许可证协议选择“我接受许可证协议中的全部条款”,点击“Next”,安装路径这一步是选择安装路径,指定Lotus基础文件安装到哪里。

SNMP命令手册

SNMP命令手册

SNMP命令手册目录1简介 (3)1.1概述 (3)1.2SNMP协议简述 (4)1.2.1SNMP的工作原理 (4)1.2.2SNMPV3介绍 (5)2配置SNMP (5)3典型配置 (9)1简介1.1概述SNMP是简单网络管理协议(Simple Network Management Protocol)的缩写,它的突出优点就是使用简单,消耗系统资源较少。

SNMP的基本功能包括监视网络性能、检测分析网络差错和配置网络设备等。

如果网络工作正常,那么可以利用SNMP实现统计、配置和测试等功能。

如果网络出现故障,那么可以通过错误报告实现错误检测和恢复功能。

SNMP 是一种应用协议,工作模式为管理者和代理方式,SNMP协议为SNMP管理者(NMS)和代理(AGENT)间的通信定义了协议消息格式。

SNMP管理者可以是网络管理系统(NMS)的一部分,代理和管理信息库(MIB)包含在交换机上,通过配置交换机上的SNMP,你可以规定管理者同代理之间的联系。

SNMP代理包含SNMP管理者能够请求或更改的管理变量。

管理者能够从代理那里获得管理变量值或者向代理设置管理变量值。

代理从MIB(包含设备的参数和网络数据信息)中收集管理信息。

代理也能够响应管理者发出的设置或请求操作。

代理能够向管理者主动发出TRAP信息。

TRAP信息是用来向管理者通告网络中的某种事件的发生。

TRAP信息能够通告你认证失败、重启动、连接状态、拓扑改变等重要的事件的发生。

SNMP是基于TCP/IP的管理协议,有四个基本的组成元素:①被管理节点/代理(Agent);②网管站(NMS/Manager);③管理信息库(MIB);④管理协议(SNMP)。

SNMP协议通过UDP数据包进行通讯,端口号为161/162.。

SNMP目前支持3个版本:V1、V2、V3。

1.2SNMP协议简述1.2.1SNMP的工作原理SNMP规定了5种协议数据单元PDU(也就是SNMP报文),用来在管理进程和代理之间的交换。

SNMP配置手册

SNMP配置手册

精心整理1交换机部分1.1Cisco交换机使用以下配置命令前,均需要执行以下步骤:1.登陆交换机。

(可以使用串口线直接连接,如果交换机配置有管理IP并且允许telnet登陆,则也可以通过telnet进行登陆。

)231212配置交换机的读写community为public1.1.2TRAP配置1.配置交换机允许发送trapsnmp-serverenabletraps2.配置交换机接收trap的主机snmp-serverhosttraps public指定交换机SNMPTrap的接收者为,发送Trap时采用public作为字串1.1.3Syslog配置1.打开交换机的syslog功能2.341.21登2.输入system命令进入配置模式。

使用完配置命令后,均需要执行以下步骤进行保存:1.输入return命令退出配置模式。

2.Save保存配置文件。

1.2.1SNMP配置1.启用SNMPsnmp-agent2.配置snmp协议的版本号snmp-agentsys-infoversionall上面的命令是指对SNMPV1、V2C、V3都支持。

3.配置snmp只读community41.2.2TRAP121.2.3Syslog配置1.启用交换机的syslog功能info-centerenable2.指定接收syslog的主机,为该主机的ip地址。

info-centerloghostlanguageEnglish以上命令是配置接收syslog,syslog的语言为英文。

3.选择发送warning以上级别的syslog信息。

info-centersourcedefaultchannelloghostloglevelwarning1.3中兴交换机1.登2.3.1.1.3.1SNMP1snmp-serverviewAllViewinternetincludedsnmp-serverviewtestzxr10IPAddrTableincludedsnmp-serverviewtestzteincludedsnmp-serverviewtestmib-2included1.3.2TRAP配置1.配置交换机允许发送trapsnmp-serverenabletrap2.配置交换机接收trap的主机snmp-serverhosttrapversion2cpublic1.3.3Syslog12.3.2在操作系统缺省的SNMP团体名。

SNMP操作手册上

SNMP操作手册上

SNMP操作手册目录一SNMP协议概述 (3)1什么是SNMP协议 (3)2SNMP版本 (3)3SNMP的基本操作 (4)4网管站和代理 (5)5ASN.1和SMI (5)6SNMP报文 (6)6.1SNMP的5种协议数据单元 (7)7管理变量的表示 (11)8SNMP的运行过程 (11)8.1G ET R EQUEST PDU (12)8.2G ET N EXT R EQUEST PDU (12)8.3G ET R ESPONSE PDU (14)8.4S ET R EQUEST PDU (14)8.5T RAP PDU (14)9SNMP MIB编译器的功能 (15)二SNMP操作实例 .............................................................................. 错误!未定义书签。

1说明.................................................................................................... 错误!未定义书签。

2SNMP V1测试................................................................................. 错误!未定义书签。

3SNMP V2测试................................................................................. 错误!未定义书签。

4SNMP V3测试 ................................................................................ 错误!未定义书签。

4.1基于“NO A UTH N O P RIV”的安全模式的SNMP V3测试 ............. 错误!未定义书签。

路由器的SNMP配置指南

路由器的SNMP配置指南

路由器的SNMP配置指南SNMP(Simple Network Management Protocol)是一种TCP/IP协议,它允许网络管理系统与连接在网络上的设备之间通信。

SNMP可以用于路由器的远程管理和监控。

本文将介绍如何配置SNMP,以及如何使用SNMP进行路由器的监控和管理。

一、SNMP基本概念SNMP是一种网络管理协议,用于监测网络设备的状态和性能。

SNMP包括三个组件:管理器、代理和MIB。

- 管理器:监测网络中的设备,并从这些设备中收集信息。

管理器可以通过SNMP查询设备的状态、配置和性能等信息。

- 代理:响应管理器的请求,并提供管理器所需要的数据。

代理还可以将设备的状态和性能信息报告给管理器。

- MIB(管理信息库):包含了所有可以被SNMP管理器访问的对象的信息。

每个对象都由一个唯一的标识符来识别。

二、配置SNMPSNMP可以通过路由器的命令行界面(CLI)或者路由器的Web界面来配置。

CLI是更常用的一种方法,因为它更加灵活和强大。

以下是一些基本的SNMP配置:1. 开启SNMP服务首先,需要在路由器上开启SNMP服务。

使用下面的命令来开启SNMP服务:Router(config)#snmp-server engineID remote 1.3.6.1.4.1.8072.99992. 配置团体名团体名是SNMP中的一个重要概念,它用于标识允许访问SNMP的设备。

使用下面的命令来配置团体名:Router(config)#snmp-server community public RO在上面的命令中,public是团体名,RO表示只读权限。

如果需要设置读写权限,则使用如下命令:Router(config)#snmp-server community private RW在上面的命令中,private是团体名,RW表示读写权限。

3. 配置SNMP目标SNMP目标是SNMP代理,它用于接收SNMP请求并返回SNMP 响应。

  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

Lotus snmp配置手册
Louts snmp 配置流程:
1.配置系统环境变量path
将Lotus Domino的安装路径加入到系统环境变量中,具体操作为:右击我的电脑属性---选择高级选项卡---点击环境变量—双击系统变量中的path变量,在跳出的编辑宽中加入Louts Domino的安装路径(注意:在添加时一定先添加分割符“;”例:安装在C:\Program Files\Lotus\Domino下的话,添加的值必须为:“;C:\Program Files\Lotus\Domino”)。

2.运行Lotus/Domino目录下的lnsnmp.exe文件。

(注:该文件运行后会跳出个DOS框,然后会自动关闭,等自动关闭后就说明运行成功了)。

3.将Lotus的snmp服务加入到windows服务中
进入CMD窗口,依次运行如下命令:
lnsnmp –Sc
net start snmp
net start lnsnmp
至此Lotus 的snmp 代理运行完毕. 在以后windows服务中就会有Lotus Domino Snmp Agent服务, 可以根据需要设置启动方式.
4.若要对louts参数进行监控,还必须启动Domino服务器的任务,在Lotus Domino Server 的窗口中输入以下命令:
load quryset 启动snmp查询功能
5.加quryset服务加入自启动:
打开Lotus/Domino目录下的notes.ini文件,找到ServerTasks这一行,在最后添加“quryset”这个服务.如下图:
添加前:
添加后:
添加后保存在下次Lotus启动时就会自己启动该服务了。

至此Lotus的snmp配置全部完成,可以进行监控了。

注意事项:
1.Lotus的snmp代理的开启需要windows本身的snmp支持,所以开启Lotus的snmp 前请先开启windows的snmp。

2.适用版本:lotus6.5;lotus7.0;lotus8.0.。

相关文档
最新文档