summaryrefslogtreecommitdiff
path: root/kpov_judge/tasks/snmp_agent_uptime/howtos
diff options
context:
space:
mode:
authordn3250@student.uni-lj.si <dn3250@student.uni-lj.si@5cf9fbd1-b2bc-434c-b4b7-e852f4f63414>2014-12-12 22:37:03 +0000
committerdn3250@student.uni-lj.si <dn3250@student.uni-lj.si@5cf9fbd1-b2bc-434c-b4b7-e852f4f63414>2014-12-12 22:37:03 +0000
commit2a627b9a975e7156f74d8e0d6c358d5ef4b65c26 (patch)
treec003874c4fe70bde58e5a673bf1b7e27320186b6 /kpov_judge/tasks/snmp_agent_uptime/howtos
parent757cace7db02f0bcb84111e5e9d58d3baba65c4d (diff)
Next instructions HOWTO.
git-svn-id: https://svn.lusy.fri.uni-lj.si/kpov-public-svn/kpov-public@66 5cf9fbd1-b2bc-434c-b4b7-e852f4f63414
Diffstat (limited to 'kpov_judge/tasks/snmp_agent_uptime/howtos')
-rw-r--r--kpov_judge/tasks/snmp_agent_uptime/howtos/en/index.html87
1 files changed, 76 insertions, 11 deletions
diff --git a/kpov_judge/tasks/snmp_agent_uptime/howtos/en/index.html b/kpov_judge/tasks/snmp_agent_uptime/howtos/en/index.html
index f063d6d..e6ecc16 100644
--- a/kpov_judge/tasks/snmp_agent_uptime/howtos/en/index.html
+++ b/kpov_judge/tasks/snmp_agent_uptime/howtos/en/index.html
@@ -64,21 +64,86 @@
<h3>Set up of SNMPServer</h3>
<ol>
<li>
- a
- <ol type="disc">
- <li>
- aa
- </li>
- <li>
- aaa
- </li>
- </ol>
+ Install snmpd and snmp packages and tools for inspecting the
+ data available over SNMP.
+ <ol type="disc">
+ <li>
+ command <i>apt-get install snmpd snmp snmp-mibs-downloader</i>
+ </li>
+ </ol>
+ <li>
+ RECOMMENDATION! Before doing any changes to your /etc/snmp/snmpd.conf
+ file take a copy of original file.
+ <ol type="disc">
+ <li>
+ command <i>cp /etc/snmp/snmpd.conf /etc/snmp/snmpd.conf.orig</i>
+ </li>
+ </ol>
+ </li>
+ <li>
+ Set up the snmp server to allow all other computers to access it = edit
+ snmpd.conf file.
+ <ol type="disc">
+ <li>
+ command <i>nano /etc/snmp/snmpd.conf</i>
+ (you can use different editor)
+ </li>
+ <li>
+ (un)comment these four lines as below:<br>
+ <i># Listen for connections from the local system only<br>
+ #agentAddress udp:127.0.0.1:161<br>
+ # Listen for connections on all interfaces (both IPv4 *and* IPv6)<br>
+ agentAddress udp:161,udp6:[::1]:161</i>
+ </li>
+ </ol>
+ </li>
+ <li>
+ Add a group (community) of computers we deem to be worthy of
+ accessing all data. This group will be called students = again edit
+ snmpd.conf file.
+ <ol type="disc">
+ <li>
+ rocommunity students 0.0.0.0/0
+ </li>
+ </ol>
+ </li>
+ <li>
+ OPTIONAL CONFIGURATION. Lower in the same file you can set the
+ location of the computer snmpd is running on and the name
+ of the administrator.
+ <ol type="disc">
+ <li>
+ find under # SYSTEM INFORMATION
+ </li>
+ </ol>
+ </li>
+ <li>
+ You need to restart the snmp services.
+ <ol type="disc">
+ <li>
+ command <i>/etc/init.d/snmpd restart</i>
+ </li>
+ </ol>
</li>
+ <li>
+ You can test your configuration.
+ <ol type="disc">
+ <li>
+ command <i>snmpwalk localhost -c public -v1</i>
+ </li>
+ </ol>
+ </li>
</ol>
<h3>Set up of SNMPClient</h3>
<ol>
<li>
- a
+ Install snmp package on client side and tools for inspecting the
+ data available over SNMP.
+ <ol type="disc">
+ <li>
+ command <i>apt-get install snmp snmp-mibs-downloader</i>
+ </li>
+ </ol>
</li>
<li>
aa
@@ -107,7 +172,7 @@
<i>exit 0</i>
</li>
<li>
- don't forget to make the program runtable:<br>
+ don't forget to make the program runnable:<br>
command <i>chmod +x /home/test/upminutes</i>
</li>
<li>