![]() | |
Sun Java System Web Proxy Server 4.0.1 ����ָ�� |
�� 10 ��
���ӷ��������½��ܼ��ӷ�����ķ��������а�(���ü��ӹ��ߺͼ��������Э�� (SNMP)��
������������е������豸��������Խ� SNMP �� Sun Java System ������Ϣ�� (MIB) �Լ��������������� HP OpenView�����ʹ��4ʵʱ���ӷ�����
����ʹ��ͳ�����Ի� SNMP 4ʵʱ�鿴�������״̬���� UNIX �� Linux �ϣ����ƻ�ʹ�� SNMP������Ϊ Proxy Server ����������á������ṩ���� UNIX �� Linux ���� Proxy Server һ��ʹ�� SNMP �������Ϣ��
���°�(���¸�ڣ�
ʹ��ͳ����Ϣ���ӷ����������ʹ��ͳ������4���ӷ�����ĵ�ǰ���ͳ����Ϣ��ʾ�˷���������������Ŀ�Լ���Щ����Ĵ���״�����ʽ������������÷�������������࣬�������Ҫ������������û�ϵͳ�������ں���������Щ����Ĭ������½���ͳ����Ϣ����Ϊ�ռ�ͳ����Ϣ����� Proxy Server ��ϵͳ����һ������ͳ����Ϣ���������Ὺʼ�ռ��ͱ���ͳ����Ϣ��
����ͳ����Ϣ������Բ鿴���·����ͳ����Ϣ��
����ʽ�����������ᱨ����ַ�����ͳ����Ϣ�ĺϼơ��й���Щͳ����Ϣ��˵��μ�j������е� "Monitor Current Activity" ҳ�档
���� Proxy Server ͳ����Ϣ
��ʹ��һ���Ϊ stats-xml �����ú���4�ռ� Proxy Server ͳ����Ϣ���������ô˺���ɴ� Server Manager �в鿴ͳ����Ϣ����ʹ�� perfdump ������ɱ��档����ʹ�� stats-xml ����4�����¼�̽�飬����ͨ��ʹ���Զ��� NSAPI �������ͳ����Ϣ�����ġ��ڷ�����������ͳ����Ϣ���¼�̽������ obj.conf �ļ��е�һ���Ϊ stats-init �ķ���������г�ʼ�����Կ�ʼͳ����Ϣ���ռ���
Init profiling="on" fn="stats-init"
���ᴴ��һ�� NameTrans ָ�����������������з���ͳ����Ϣ��
NameTrans fn="assign-name" name="stats-xml" from="(/stats-xml|/stats-xml/.*)
����ͳ����Ϣʱ��������һ�� Service ָ�������ѡ���� NameTrans ָ��ʱ���� stats-xml ����
<Object name="stats-xml">
Service fn="stats-xml"
</Object>
��ʹ������ URL ���� stats-xml ���
http://computer_name:proxyport/stats-xml/proxystats.xml
��������һ���� Proxy Server ͳ����Ϣ�� XML ҳ�档һЩ������������������в鿴��ݣ�������һЩ��Ҫ����ݱ������ⲿ�ļ������ⲿ�鿴����в鿴�����ܶ��������ݵIJ�ͬ��ͼ����ͳ����Ϣ�������Ϣ����;����ʮ�����ԡ��ɽ�������4��ɴ˴����̡���û�н���ߣ��������ͨ�� Server Manager �� perfdump SAF 4�۲� stats-xml ���
���ƶ� stats-xml ���ķ���
���Ҫ�Կ���ͨ�������鿴������ stats-xml ͳ����Ϣ���û��������ƣ�ӦΪ /stats-xml URI ����һ�� ACL��
�������� obj.conf �ļ��� stats-xml �����������ø� ACL �ļ������磬���Ϊ /stats-xml URI ������һ������ ACL������Ҫ�ڸö������ PathCheck ��������ø� ACL �ļ���������ʾ��
<Object name="stats-xml">
PathCheck fn="check-acl" acl="stats.acl"
Service fn="stats-xml"
</Object>
����ͳ����Ϣ
�������� Proxy Server �ϼ���ͳ����Ϣ�����ܶ����ܽ��м��ӡ�����ͨ�� Server Manager ��ͨ��༭ obj.conf �� magnus.conf �ļ�4��ɴ˲���Ϊ���Ӻ͵�ڴ����Զ��������д�Զ��������û����ܸ�Ը��ֱ�Ӵ��� stats-xml��
�� Server Manager ������ͳ����Ϣ
ʹ�� stats-xml ���������Ϣ
������ obj.conf �е� stats-init ��һ��ʾ��
Init profiling="on" fn="stats-init" update-interval="5"
����ʾ����������ָ�����¸��
ʹ��ͳ����Ϣ
����ͳ����Ϣ���ɻ���йط�����ʵ������״��ĸ�����Ϣ��ͳ����Ϣ�����ֳɶ������
����ͳ����Ϣ
- ���� Server Manager��Ȼ�� "Server Status" ѡ���
- ���� "Monitor Current Activity" t�ӡ�
- �� "Select Refresh Interval" ��-ʽ�б���ѡ��ˢ�¼��
ˢ�¼����}�θ�������ʾͳ����Ϣ��������
- �� "Select Statistics To Be Displayed" ��-ʽ�б���ѡ��Ҫ��ʾ��ͳ����Ϣ���ࡣ�й�ͳ����Ϣ���͵ĸ����Ϣ���μ��� Server Manager ����ʾͳ����Ϣ��
- ���� "Submit"��
��������ʵ��������������������ͳ����Ϣ/�¼�̽�飬��ῴ��һ����ʾ����ѡͳ����Ϣ�����ҳ�档��ҳ��ÿ�� 5-15 �����һ�Σ���������ѡ���ˢ�¼���
- ����-ʽ�б���ѡ���� ID��
��ͨ�� Server Manager �鿴��ǰ���������Щ�����ȫ�������ĵ����ء�����ʹ�� Perfdump ͳ����Ϣ4��ڷ�����
�� Server Manager ����ʾͳ����Ϣ
���ڽ�����β����� Server Manager �в鿴 proxystats.xml ����Ӽ���
���Բ��úϼ�ͼ�����ֵͼ������ͼ������ͼ4�鿴�� Proxy Server l�ӡ�DNS ���?���ֵֻ�����ٻ���ͷ����������йص���Ϣ��
�½ڽ����ܿ�Ϊ��������õ���Ϣ���͡�
l��ͳ����Ϣ
�ɴ� Server Manager �������l��ͳ����Ϣ��
DNS ͳ����Ϣ
�ɴ� Server Manager ������� DNS ͳ����Ϣ��
���ֻͳ����Ϣ
�ɴ� Server Manager ������±��ֻͳ����Ϣ��
���ٻ���ͳ����Ϣ
�ɴ� Server Manager ��������ļ����ٻ���ͳ����Ϣ��
����������ͳ����Ϣ
�ɴ� Server Manager ������·�����ͳ����Ϣ��
ʹ�� perfdump ʵ�ó�����ӵ�ǰ�
prfdump ʵ�ó����� Proxy Server �����õ�һ�������Ӧ�ó����� (SAF)�����ڴ� Proxy Server �ڲ�ͳ����Ϣ���ռ������������Ƭ�β��� ASCII �ı���ʽ������ʾ����ͨ�� Server Manager �ɻ�õ�ͳ����Ϣ������ȣ����� perfdump Ӧ�ó���ɼ��Ӹ����ͳ����Ϣ��
���� perfdump �ɽ�ͳ����Ϣ���һ�塣�����Ǽ��ӵ����̣����ǽ�ͳ����Ϣ���Խ����������Դ������ϸ��ȷ���˽����������
���� perfdump ʵ�ó���
ֻ���������� stats-xml ����֮��������� perfdump SAF������ֻ��ͨ��ֱ�ӱ༭ obj.conf �ļ�4������
���� perfdump SAF��
http://computer_name:proxyport/.perf
������ perfdump ͳ����Ϣ����ָ���������Զ�ˢ��Ƶ�ʣ�����ƣ�������ʾ���ˢ������Ϊÿ�� 5 ��һ�Σ�
http://computer_name:proxyport/.perf?refresh=5
perfdump �������
����Ϊ perfdump �������
proxyd pid: 6751
Sun Java System Web Proxy Server 4.0 B05/02/2005 15:32 (SunOS DOMESTIC)
Server started Thu May 19 13:15:14 2005
Process 6751 started Thu May 19 13:15:14 2005
ConnectionQueue:
-----------------------------------------
Current/Peak/Limit Queue Length 0/1/4096
Total Connections Queued 1
Average Queue Length (1, 5, 15 minutes) 0.00, 0.00, 0.00
Average Queueing Delay 0.09 milliseconds
ListenSocket ls1:
------------------------
Address http://0.0.0.0:8081
Acceptor Threads 1
KeepAliveInfo:
--------------------
KeepAliveCount 0/256
KeepAliveHits 0
KeepAliveFlushes 0
KeepAliveRefusals 0
KeepAliveTimeouts 0
KeepAliveTimeout 30 seconds
SessionCreationInfo:
------------------------
Active Sessions 1
Keep-Alive Sessions 0
Total Sessions Created 48/128
CacheInfo:
------------------
enabled yes
CacheEntries 0/1024
Hit Ratio 0/0 ( 0.00%)
Maximum Age 0
Native pools:
----------------------------
NativePool:
Idle/Peak/Limit 1/1/128
Work Queue Length/Peak/Limit 0/0/0
Server DNS cache disabled
Async DNS disabled
Performance Counters:
------------------------------------------------
Average Total Percent
Total number of requests: 1
Request processing time: 0.2559 0.2559
default-bucket (Default bucket)
Number of Requests: 1 (100.00%)
Number of Invocations: 7 (100.00%)
Latency: 0.2483 0.2483 ( 97.04%)
Function Processing Time: 0.0076 0.0076 ( 2.96%)
Total Response Time: 0.2559 0.2559 (100.00%)
Sessions:
----------------------------
Process Status Function
6751 response service-dump
�й���Щ����ĸ����Ϣ���μ�Sun ONE Web Server 6.1 Performance Tuning, Sizing, and Scaling Guide���ڶ����е� "Using Statistics to Tune Your Server"����ַΪ��
http://docs.sun.com/source/817-6249/index.html
���ƶ� perfdump ���ķ���
���Ҫ�Կ���ͨ�������鿴������ perfdump ͳ����Ϣ���û��������ƣ���ҪΪ /.perf URI ����һ�� ACL��
�������� obj.conf �ļ��� perf �����������ø� ACL �ļ������磬���Ϊ /.perf URI ������һ������ ACL������Ҫ�ڸö������ PathCheck ��������ø� ACL �ļ���������ʾ��
<Object name="perf">
PathCheck fn="check-acl" acl="perf.acl"
Service fn="service-dump"
</Object>
ʹ�����ܴ洢Ͱ
���ܴ洢Ͱ��������洢Ͱ������t�ӵ�����ͬ�ķ�������ÿ�ε�������ij����ʱ����������ռ�ͳ����ݲ�������ӵ��洢Ͱ�С����磬send-cgi �� NSServletService ����ֱ�����Ϊ CGI ����� Java servlet �����ṩ�����Զ���}��洢Ͱ4Ϊ CGI ����� servlet ����ά�����5ļ�����Ҳ�ɴ���һ��洢Ͱ4��}�����͵Ķ�̬����������м����ռ�����Ϣ�Ŀ�����٣��Է��������ܵ�Ӱ��ͨ�����Ժ��Բ��ơ�֮����ʹ�� perfdump ʵ�ó���4���ʴ���Ϣ���洢Ͱ�д洢��������Ϣ��
- Name of the bucket����������ڽ��洢Ͱ�뺯�����j��
- Description���Դ洢Ͱ���j���������
- Number of requests for this function����ʹ�˺�����õ���������
- Number of times the function was invoked������Ŀ�����뺯���������һ�£���Ϊ���ڵ���������Щ������ܻ�ִ��һ�����ϡ�
- Function latency or the dispatch time����������ú�����ѵ�ʱ�䡣
- Function time�����ں������ʱ�䡣
default-bucket �ɷ�����Ԥ���塣��Ϊ�����κ��û�����洢Ͱ��j�ĺ����¼ͳ����Ϣ��
����
����Ϊ magnus.conf �� obj.conf �ļ��е����ܴ洢Ͱָ������������Ϣ��ֻ��Ĭ�ϴ洢Ͱ�Ż��Զ����á�
���ȣ����밴ʹ�� perfdump ʵ�ó�����ӵ�ǰ��������������ܲ���
����ʾ��չʾ������� magnus.conf �ж����µĴ洢Ͱ��
Init fn="define-perf-bucket" name="acl-bucket" description="ACL bucket"
Init fn="define-perf-bucket" name="file-bucket" description="Non-cached responses"
Init fn="define-perf-bucket" name="cgi-bucket" description="CGI Stats"
�����ʾ��ᴴ�����洢Ͱ��acl-bucket��file-bucket �� cgi-bucket��Ҫʹ��Щ�洢Ͱ�뺯�����j��������Ҫ�����ܵ� obj.conf ������� bucket=bucket-name��
ʾ��
PathCheck fn="check-acl" acl="default" bucket="acl-bucket"
...
Service method="(GET|HEAD|POST)" type="*~magnus-internal/*" fn="send-file" bucket="file-bucket"
...
<Object name="cgi">
ObjectType fn="force-type" type="magnus-internal/cgi"
Service fn="send-cgi" bucket="cgi-bucket"
</Object>
���ܱ���
����ʹ�� perfdump ʵ�ó���4���ʴ洢Ͱ�еķ�����ͳ����Ϣ�����ܴ洢Ͱ��Ϣλ�� perfdump ��ر�������һ���֡�
�ñ��溬��������Ϣ��
- Average��Total �� Percent �и�����������ÿһ��ͳ����ݡ�
- Request Processing Time �Ƿ�������������յ������������������ʱ�䡣
- Number of Requests �Ǻ������������
- Number of Invocations �Ǻ�����ܵ��ô������Ŀ��������IJ�֮ͬ�����ڣ�����һ������ʱ���ܻ��ε���ij������еİٷֱ����Dz������д洢Ͱ���ܵ��ô������ó�ġ�
- Latency �� Proxy Server Ϊ���ú���������ѵ�ʱ�䣨����ƣ���
- Function Processing Time �� Proxy Server ���ں����ڲ���ʱ�䣨����ƣ���Function Processing Time �� Total Response Time �İٷֱ��DZ����ܵ� Request Processing Time ����ó�ġ�
- Total Response Time Ϊ Function Processing Time �� Latency ֮�ͣ�����ƣ���
������ͨ�� perfdump ���Ի�õ����ܴ洢Ͱ��Ϣ��һ��ʾ��
SNMP ��ԭ��SNMP �����ڽ����й���������ݵ�Э�顣���� SNMP�������ڱ�������豸���������վ (NMS) ֮�䴫����ݡ���������豸������ SNMP ���κ��豸�����·�������������Լ������ϵ����������NMS �����ڶԸ��������Զ�̹����ϵͳ��NMS ���ͨ���ṩͼ��4��ʾ�ռ�����ݣ���ʹ����Щ���ȷ�����������ض������������С�
NMS ͨ���ǰ�װ��һ������������Ӧ�ó���Ĺ���ǿ��Ĺ���վ���������Ӧ�ó������� HP OpenView����ͼ�η�ʽ��ʾ�йر������豸������ Web ���������Ϣ�����磬�������ʾ�����ҵ�з�����Ĵ�ر��������յ��Ĵ�����Ϣ���������͡�����������һ��ʹ�� SNMP ʱ����ͨ��ʹ��}�����͵Ĵ��?�Ӵ��������?�� NMS �������֮�䴫�ʹ���Ϣ��
�Ӵ����ռ��йط��������Ϣ����������Ϣ���ݸ�����������?ÿ�������Administration Server ���⣩����һ���Ӵ��?
������� NMS ����ͨ�š�������� Administration Server һ��װ��
�������һ̨����ϰ�װ����Ӵ��?����ֻ�ܰ�װһ������?���磬�����ͬһ̨����ϰ�װ�� Directory Server��Proxy Server �� Messaging Server����ÿ���������Ӵ��?����ͬһ����������ͨ�š�
������Ϣ��Proxy Server �洢������������йصı����������Է��ʵı���Ϊ�����������Щ�����ڳ�Ϊ������Ϣ�� (MIB) ����״�ṹ�ж��塣ͨ�� MIB �ɶ� Proxy Server �������á�״̬��ͳ����Ϣ���з��ʡ�ʹ�� SNMP �ɴ� NMS �в鿴����Ϣ��MIB ��Ķ������ Internet �����ʶ������ĸ�����directory (1)��mgmt (2)��experimental (3) �� private (4)��private (4) ����� enterprises (1) �ڵ㡣enterprises (1) �ڵ��е�ÿ������������һ��5���ҵ����ҵ��ע�����Լ��ض� MIB )չ����֯��Ȼ����ҵ�������������´����ض���Ʒ����������ҵ������ MIB λ�� enterprises (1) �ڵ��¡�Sun Java System ������ MIB Ҳλ�� enterprises (1) �ڵ��¡�ÿ�� Sun Java System �������Ӵ��?�ṩ��һ������ SNMP ͨ�ŵ� MIB��������ͨ���Ͱ���Щ������Ϣ�����彫��Ҫ�¼������ NMS��NMS �����Բ�ѯ������� MIB 4��ȡ��ݣ�������Զ�̷�ʽ��� MIB �еı���ÿ�� Sun Java System ��������и��Ե� MIB������ Sun Java System ������ MIB ��λ�ڣ�
server_root/plugins/snmp
Proxy Server �� MIB ��һ���Ϊ proxyserv40.mib ���ļ����� MIB ���� Proxy Server ����������йصĸ��ֱ��Ķ��塣����ʹ�� Proxy Server MIB 4�鿴�й� Proxy Server �Ĺ�����Ϣ���Լ�ʵʱ���ӷ�����
���� SNMPһ����ԣ�Ҫʹ�� SNMP��������ϵͳ�ϰ�װ������һ������������һ���Ӵ��?Ҫ�����Ӵ��?��Ҫ�Ȱ�װ����?
���� SNMP �Ĺ�̸�ݲ�ͬ��ϵͳ��ͬ��
��ʼǰ��Ӧ����֤}�����飺
�й������֤��Щ��Ϣ����Ϣ���μ����ϵͳ�ĵ���
�� 1 ���� SNMP �������Ӵ���Ĺ�̸���
ʹ�ô�������� SNMP ���� (UNIX)�������һ�������������У�������Ҫ������ Proxy Server �����һ��ͬʱʹ��������Ҫʹ�ô�������� SNMP ���?�ڿ�ʼ֮ǰ����ȷ��ֹͣ��������?���й���ϸ��Ϣ���μ����ϵͳ�ĵ�����
���ڰ�(�������⣺
��װ��������� SNMP ����
���ij�� SNMP ��������ϵͳ�����У�������ϣ�����ʹ�ñ��� SNMP �ػ���̣���ִ�����¸���еIJ��裺
- ��װ SNMP ����?�μ���װ SNMP �������
- ��װ������������ SNMP ���?Ȼ����������� SNMP �ػ���̡��μ�ʹ�ô�������� SNMP ���� (UNIX)��
- �� SNMP ����?�μ����ú��� SNMP �������
- �����Ӵ��?�μ������Ӵ�����
Ҫ��װ SNMP �����������?��༭ CONFIG �ļ�����Ϊ���ļ�ָ����һ��ͬ��ƣ���ʹ��� SNMP �ػ���̽�Ҫ����Ķ˿ڡ����ļ�λ�ڷ������Ŀ¼�µ� plugins/snmp/sagt �С����л���Ҫ��(��������� SNMP ���?Ҫת���� MIB ������塣
������һ�� CONFIG �ļ�ʾ��
AGENT AT PORT 1161 WITH COMMUNITY public
SUBTREES 1.3.6.1.2.1.1,
1.3.6.1.2.1.2,
1.3.6.1.2.1.3,
1.3.6.1.2.1.4,
1.3.6.1.2.1.5,
1.3.6.1.2.1.6,
1.3.6.1.2.1.7,
1.3.6.1.2.1.8
FORWARD ALL TRAPS;���������� SNMP ����
Ҫ���������� SNMP ���?����������ʾ�����룺
��������� SNMP �ػ����
���������� SNMP �������Ҫ�� CONFIG �ļ���ָ���Ķ˿���������� SNMP �ػ���̡�Ҫ����� SNMP �ػ���̣�����������ʾ�����룺
# snmpd -P port_number
���� port_number ���� CONFIG �ļ���ָ���Ķ˿ںš����磬�� Solaris ƽ̨�ϣ���Ҫʹ������ CONFIG �ļ�ʾ���еĶ˿ڣ���Ӧ���룺
# snmpd -P 1161
�������� SNMP ���������� SNMP �ػ���������� AIX �ϣ�����֧�� SMUX����ˣ����谲װ����?���ǣ�������� AIX SNMP �ػ�������á�
AIX ʹ�ö�������ļ�4�q���ͨ�š���Ҫ��� snmpd.conf������һ�������ļ�����ʹ SNMP �ػ���̽��ܴ� SMUX �Ӵ����յ�����Ϣ���йظ����Ϣ���μ� snmpd.conf ��j���ֲ�ҳ������Ҫ���һ���Զ���ÿ���Ӵ��?
���磬����Խ�������ӵ� snmpd.conf �У�
IP_address �������Ӵ�������� IP ��ַ��net_mask �Ǹ������������롣
��װ SNMP �����Ҫ���� SNMP ����?������������û���ݰ�װ Administration Server ʵ���ǣ���ʹ�Ƿ������û���Ҳ����ͨ������ SNMP �Ӵ����Ա��������һ����Ӷ��� Web ������ʵ������ɻ� SNMP �������� MIB ��#���
��װ�� SNMP ����
- �Գ����û���ݵ�¼��
- ���˿� 161 ���Ƿ������� SNMP �ػ���� (snmpd)��
���û������ SNMP �ػ���̣���ת������ 4��
��������� SNMP �ػ���̣���ȷ��֪��������������Լ���֧����Щ MIB ��
- ��������� SNMP �ػ���̣�����ֹ���̡�
- �� Administration Server �У��� "Global Settings" ѡ���ѡ�� "Set SNMP Master Agent Trap" ҳ�档
- ������������������������ϵͳ����ơ�
- �����������ϵͳ��4��������Ķ˿ںš������õĶ˿��� 162�����й�����ĸ����Ϣ���μ���������Ŀ����
- ����Ҫ��������ʹ�õ������ַ��й������ַ�ĸ����Ϣ���μ����������ַ���
- ���� "OK"��
- �� Administration Server �У��� "Global Settings" ѡ���ѡ�� "Set SNMP Master Agent Community" ҳ�档
- ���������������ַ�
- ѡ������IJ���
- ���� "New"��
���ú��� SNMP �����������������Ϊ CONFIG �Ĵ��������ļ��н����˶��塣�����ʹ�� Server Manager �༭ CONFIG �ļ���Ҳ�����ֶ��༭���ļ���Ҫ���� SNMP �Ӵ��?�����Ȱ�װ SNMP ����?
����������������ʱ���������� "System Error: Could not bind to port" �İ�����ʹ�� ps -ef | grep snmp ��� magt �Ƿ������С�����������У���ʹ�� kill -9 pid �������ý�̡�Ȼ��SNMP �� CGI �����¿�ʼ����
���ڰ�(�������⣺
������˿����������
������治���� 161 ����Ķ˿����� SNMP ����?
�ֶ�������˿����������
Ȼ������?����ϣ��Ķ˿���������ǣ��û������ܹ�����������������С�
�ֶ����� SNMP �����
�ֶ����� SNMP �����
�༭������ CONFIG �ļ�
�ֶ����� SNMP �����
���� sysContact �� sysLocation ��
����Ա༭ CONFIG �ļ���Ϊָ���� sysContact �� sysLocation MIB-II ���� sysContact �� sysLocation ��ӳ�ʼֵ����ʾ���� sysContact �� sysLocation ���ַ����������ڡ��κΰ�ո��з��Ʊ��ȵ��ַ������������ڡ���Ҳ������ʮ����Ƽ���4ָ��ֵ��
������һ�� CONFIG �ļ�ʾ�����ж����� sysContract �� sysLocation ����
COMMUNITY public
ALLOW ALL OPERATIONS
MANAGER nms2
SEND ALL TRAPS TO PORT 162
WITH COMMUNITY public
INITIAL sysLocation "Server room
987 East Cannon Road
Mountain View, CA 94043
USA"
INITIAL sysContact "Jill Dawson
email: jdawson@example.com"���� SNMP �Ӵ���
��������� SNMP �Ӵ����Լ��ӷ�����
���� SNMP �Ӵ���
- ���� Server Manager��Ȼ�� "Server Status" ѡ���
- ���� "Configure SNMP Subagent" t�ӡ�����ʾ "Configure SNMP Subagent" ҳ�档
- �� "Master Host" �ֶ���������������ƺ���
- ���������������(����ϵͳ��Ϣ��
- ���븺��÷��������֯��
- �� "Location" �ֶ������������ľ��·����
- �� "Contact" �ֶ��У����븺��÷��������Ա�������jϵ��Ϣ��
- ѡ�� "On" ���� SNMP ͳ����Ϣ�ռ���
- ���� "OK"��
- ���� "Restart Required"�������� "Apply Changes" ҳ�档
- ���� "Restart Proxy Server" ��ť��Ӧ�ø�ġ�
�� SNMP �����
��װ SNMP ������������ֶ������ͨ�� Administration Server ���
�ֶ��� SNMP �����
Ҫ�ֶ�������?����������ʾ�������������
INIT �ļ��ǰ� MIB-II ϵͳ����Ϣ����(ϵͳλ�ú�jϵ��Ϣ���ķ���ʧ���ļ������ INIT �в����ڣ�������״��������ʱ��������� CONFIG �ļ��еĹ����������Ч���������������ʧ�ܡ�
Ҫ�ڷDZ��˿���������?��ʹ������}�ַ���֮һ��
����һ���� CONFIG �ļ��У�Ϊ�������4����4�Թ������ SNMP �����ÿ��ӿ�ָ������ӳ�䡣����ӳ�������������ܱ��˿ںͷDZ��˿��ϵ�l�ӡ�����?�����ڷDZ��˿��Ͻ��� SNMP ͨ�š����� SNMP �������Ŀ������Ŀ��ϵͳ��ÿ���̵Ĵ����ֻ��ļ��������Ŀ�����ơ�������һ����ӳ����Ŀʾ��
�ֶ��༭ CONFIG �ļ�����Ӧ����������ʾ��������������Ա��ֶ�������?
���������༭ /etc/services �ļ����������������ܱ��˿ںͷDZ��˿��ϵ�l�ӡ�
ʹ�� Administration Server �� SNMP �����
ʹ�� Administration Server �� SNMP �����
������ͨ�� "Control SNMP Master Agent" ҳ��ֹͣ�������� SNMP ����?
���� SNMP ���������������?�������������ij���Ӵ������Ҫ�������� Administration Server����Ҫ��ָ�������ַ������Ŀ�ꡣ
���������ַ�
�����ַ��� SNMP ������4������Ȩ���ı��ַ�����ζ���������վ�ڷ�������ÿ����Ϣ�ж�����һ�������ַ�Ȼ����Ϳ�����֤�������վ�Ƿ���Ȩ��ȡ��Ϣ�������ַ��� SNMP ���з���ʱû�б����أ��ַ��� ASCII �ı���ʽ���͡�
����ͨ�� Administration Server �е� "Set SNMP Master Agent Community" ҳ��Ϊ SNMP ��������������ַ������Զ����ض���������ִ�е��� SNMP ��صIJ����� Administration Server �У������Բ鿴���༭��ɾ�������õ����塣
��������Ŀ��
SNMP ������ SNMP ���?���������վ����Ϣ�����磬���ӿڵ�״̬�ɴ�Ϊ�ر�ʱ��SNMP ���?����һ�����塣SNMP �������֪���������վ�ĵ�ַ���Ա�֪����δ��������塣���Դ� Proxy Server ��Ϊ SNMP ��������ô�����Ŀ�ꡣ�����Բ鿴���༭��ɾ�������õ�����Ŀ�ꡣʹ�� Proxy Server ��������Ŀ��ʱ����ʵ�Ƕ� CONFIG �ļ����б༭��
�����Ӵ�����װ�� Administration Server �����������������ڳ�������֮ǰΪ��ķ�����ʵ�������Ӵ��?�йذ�װ�����ĸ����Ϣ���μ���װ SNMP ������������ʹ�� Server Manager �����Ӵ��?
Ҫ�� UNIX �� Linux ƽ̨��ֹͣ SNMP ���ܣ�������ֹͣ�Ӵ��?Ȼ����ֹͣ����?�����ֹͣ����?������ֹͣ�Ӵ��?������������������������?ֹͣ�Ӵ��?Ȼ��ֹͣ����?
Ҫ���� SNMP �Ӵ��?��ʹ�� Server Manager �е� "Configure SNMP Subagent" ҳ�棬Ȼ��� "Control SNMP Subagent" ҳ�������Ӵ��?�йظ����Ϣ���μ�j������е���ӦС�ڡ�
�����Ӵ�����ͨ�� "Control SNMP Subagent" ҳ�� �� Windows �ķ���������4���ֹͣ����������Ӵ��?
�˽� SNMP ��ϢGET �� SET �� SNMP �����}�����͵���Ϣ��GET �� SET ��Ϣ���������վ (NMS) ��������?�����ͨ�� Administration Server ʹ������һ���}��ʹ�á�
SNMP ��Э����ݵ�Ԫ (PDU) ��ʽ����������Ϣ����Щ��Ԫ���йش洢�ڱ������豸������ Web �������ϵı�����Ϣ����Щ����Ҳ��Ϊ�����������ֵ�ͱ��⣬ֵ�ͱ��⽫����Ҫʱ����� NMS���ɷ������� NMS ��Э����ݵ�ԪҲ��Ϊ“����”���������˵���� GET��SET ��“����”��Ϣ��ʹ�á�
NMS ���ͨ�š�NMS ���ӷ�����������Ϣ�����߸�Ĵ洢�ڷ����� MIB �еı���ֵ�����磺
���������ͨ�š�������Ҫ�¼�ʱ���������Ӵ��?�� NMS ����һ����Ϣ����“����”�������磺