亚洲av成人无遮挡网站在线观看,少妇性bbb搡bbb爽爽爽,亚洲av日韩精品久久久久久,兔费看少妇性l交大片免费,无码少妇一区二区三区

  免費(fèi)注冊(cè) 查看新帖 |

Chinaunix

  平臺(tái) 論壇 博客 文庫(kù)
最近訪問(wèn)板塊 發(fā)新帖
查看: 1277 | 回復(fù): 0
打印 上一主題 下一主題

Configuring SNMP Agents [復(fù)制鏈接]

論壇徽章:
0
跳轉(zhuǎn)到指定樓層
1 [收藏(0)] [報(bào)告]
發(fā)表于 2005-11-01 19:49 |只看該作者 |倒序?yàn)g覽

Configuring SNMP agent in Windows XP/2000,2003
/
Configuring SNMP agent in Solaris
Configuring SNMP agent in Linux versions prior to 8
/
Configuring the Agent in Linux versions 8 and above
Configuring SNMP Agent in Windows XP, 2000, and 2003 Systems

For details about installing SNMP agents in Windows systems, refer to
Installing SNMP Agent on Windows Systems
.

To configure SNMP agent in Windows XP and 2000 systems, follow the steps given below:
Click Start, point to Settings, click Control Panel.
Under Administrative Tools, click Services.
In the details pane, right-click SNMP Service and select Properties.
In the Security tab, select Send authentication trap if you want a trap message to be sent whenever authentication fails.
Under Accepted community names, click Add.
Under Community Rights, select a permission level for this host to process SNMP requests from the selected community.
In Community Name, type a case-sensitive community name, and then click Add.
Specify whether or not to accept SNMP packets from a host:
    To accept SNMP requests from any host on the network, regardless of identity, click Accept SNMP packets from any host.
    To limit acceptance of SNMP packets, click Accept SNMP packets from these hosts, click Add, type the appropriate host name, IP or IPX address, and then click Add again.
Click Apply to apply the changes.
Top
To configure SNMP traps, follow the steps given below:
Click Start, point to Settings, click Control Panel.
Under Administrative Tools, click Services.
In the details pane, right-click SNMP Service and select Properties.
In the Traps tab, under Community name, type the case-sensitive community name to which this computer will send trap messages, and then click Add to list.
Under Trap destinations, click Add.
In the Host name, IP or IPX address field, type host name or its IP address of the server (OpManager server) to send the trap, and click Add.
Repeat steps 5 through 7 until you have added all the communities and trap destinations you want.
Click OK to apply the changes.
Top
Configuring SNMP Agent in Windows NT Systems

For details about installing SNMP agents in Windows systems, refer to
Installing SNMP Agent on Windows Systems
.

To configure SNMP agent in Windows NT systems, follow the steps given below:
Click Start, point to Settings, click Control Panel.
Under Administrative Tools, click Services.
In the details pane, right-click SNMP Service and select Properties.
In the Security tab, select Send authentication trap if you want a trap message to be sent whenever authentication fails.
Under Accepted Community Names, click Add.
In the Community Names box, type the community name to authenticate the SNMP requests.
To move the name to the Accepted Community Names list, click Add.
Repeat steps 6 and 7 for any additional community name.
To specify whether to accept SNMP packets from any host or from only specified hosts, click one of two options:
    Accept SNMP Packets From Any Host, if no SNMP packets are to be rejected on the basis of source computer ID.
    Only Accept SNMP Packets From These Hosts, if SNMP packets are to be accepted only from the computers listed. To designate specific hosts, click Add, type the names or addresses of the hosts from which you will accept requests in the IP Host or IPX Address box, and then click Add.
Repeat step 11 for any additional hosts.
In the Agent tab, specify the appropriate information (such as comments about the user, location, and services).
Click OK to apply the changes.
Further, the SNMP Agent running Windows NT does not respond to Host Resource Data, by default. To include this support, you should have Windows NT Service Pack 6 & above. Verify this and then follow the steps given below:
Extract the NTHR-MIB.zip available at  
http://bonitas.adventnet.com/opmanager/09Sep2004/NTHR-MIB.zip
into C:WinNTsystem32 folder.
Double click on the registry files to import the mibs into Windows registry.
Restart your Windows NT box.
Top
To Configure SNMP Traps, follow the steps given below:
Click Start, point to Settings, and then click Control Panel. Double-click Administrative Tools, and then double-click Services.
In the details pane, click SNMP Service, and then click Properties.
Click the Traps tab.
To identify each community to which you want this computer to send traps, type the name in the Community Name box. Community names are case sensitive.
After typing each name, click Add to add the name to the list.
To specify hosts for each community you send traps to, after you have added the community and while it is still highlighted, click Add under Trap Destination.
To move the name or address to the Trap Destination list for the selected community, type the host name in the IP Host/Address or IPX Address box, and then click Add.
Repeat step 10 for any additional hosts.
Click OK to apply the changes.
Top
Configuring the Agent in Linux versions prior to 8

For details about installing SNMP agents in Linux systems, refer to
Installing SNMP Agent on Linux Systems
.
Stop the agent if it is running already using the command:
/etc/rc.d/init.d/snmpd stop
Make the following changes in /etc/rc.d/init.d/snmpd file
    Replace the line
    daemon /usr/sbin/snmpd $OPTIONS

    with
    daemon /root/ucd_agent/sbin/snmpd $OPTIONS

    Replace the line
    killproc /usr/sbin/snmpd

    with
    killproc /root/ucd_agent/sbin/snmpd

    This is to choose the current installed version while starting and stopping the SNMP agent.
Start the agent using the command /etc/rc.d/init.d/snmpd start.
Top
Configuring the Agent in Linux versions 8 and above

On Linux versions 8 and above, the latest version of SNMP will already be available. You need to just make the following changes in snmpd.conf file:
Insert the line
view    allview      included   .1.3.6

next to the line
#       name           incl/excl    subtree         mask(optional)

Change the line
access  notConfigGroup ""      any       noauth   exact  systemview none none

next to the line
#       group          context sec.modelsec.level prefix read   write  notif

as
access  notConfigGroup ""      any       noauth   exact  allview none none

Then restart the snmp agent using the following command:
/etc/rc.d/init.d/snmpd restart

Top
Configuring the Agent in Solaris Systems

For details about installing SNMP agents in Solaris systems, refer to
Installing SNMP Agent on Solaris Systems
.
Stop the agent if it is running already using the following command:
/etc/init.d/init.snmpdx stop

Make the following changes in /etc/init.d/init.snmpdx file
    Replace the lines
    if [ -f /etc/snmp/conf/snmpdx.rsrc -a -x /usr/lib/snmp/snmpdx ]; then
    /usr/lib/snmp/snmpdx -y -c /etc/snmp/conf -d 3 -f 0
    fi

    with
    /sbin/snmpd

    Replace the line
    /usr/bin/pkill -9 -x -u 0 '(snmpdx|snmpv2d|mibiisa)'

    with
    /usr/bin/pkill -9 -x -u 0 '(snmpd)'

Restart the agent using the following command:
/etc/init.d/init.snmpdx start
.
Top
OpManager - Network Monitoring Software
Copyright © 2003-2005,
AdventNet
Inc. All Rights Reserved.

本文來(lái)自ChinaUnix博客,如果查看原文請(qǐng)點(diǎn):http://blog.chinaunix.net/u/9924/showart_54703.html
您需要登錄后才可以回帖 登錄 | 注冊(cè)

本版積分規(guī)則 發(fā)表回復(fù)

  

北京盛拓優(yōu)訊信息技術(shù)有限公司. 版權(quán)所有 京ICP備16024965號(hào)-6 北京市公安局海淀分局網(wǎng)監(jiān)中心備案編號(hào):11010802020122 niuxiaotong@pcpop.com 17352615567
未成年舉報(bào)專區(qū)
中國(guó)互聯(lián)網(wǎng)協(xié)會(huì)會(huì)員  聯(lián)系我們:huangweiwei@itpub.net
感謝所有關(guān)心和支持過(guò)ChinaUnix的朋友們 轉(zhuǎn)載本站內(nèi)容請(qǐng)注明原作者名及出處

清除 Cookies - ChinaUnix - Archiver - WAP - TOP