SNMP
Z old-wiki.siliconhill.cz
(Rozdíly mezi verzemi)
m |
(→Unix) |
||
(Není zobrazeno 9 mezilehlých verzí od 1 uživatele.) | |||
Řádka 1: | Řádka 1: | ||
− | ==Uvod== | + | __FORCETOC__ |
− | Tento manual popisuje, ako nainstalovat | + | == Uvod == |
+ | Tento manual popisuje, ako nainstalovat SNMPD na SH server. Server tak zacne byt monitorovany a objavi sa na stranke: https://nms1.sh.cvut.cz/cacti/graph_view.php?action=tree. Podmienkou spravneho nainstalovania je, aby mal server funkcnu SH-VPN siet! | ||
+ | |||
+ | == Postup == | ||
+ | |||
+ | === Unix === | ||
+ | * Pokial nemate na serveri nainstalovanu SH-VPN, pokracujte na adrese: http://mediawiki.sh.cvut.cz/index.php/VPN-SERVER nainstalujte vpn podla manualu a vratte sa na tento dokument. | ||
+ | |||
+ | * Nainstalujte balik "snmpd" | ||
+ | |||
+ | <code> | ||
+ | apt-get install snmpd | ||
+ | </code> | ||
+ | |||
+ | * Zeditujte subor /etc/snmp/snmpd.conf | ||
+ | |||
+ | Priklad: | ||
+ | {{Box File|/etc/snmp/snmpd.conf|<pre> | ||
+ | com2sec local 127.0.0.1/32 public | ||
+ | com2sec local 192.168.127.1 public | ||
+ | |||
+ | group public v1 local | ||
+ | group public v2c local | ||
+ | group public usm local | ||
+ | |||
+ | view all included .1 80 | ||
+ | |||
+ | access public "" any noauth exact all none none | ||
+ | |||
+ | syslocation SiliconHill | ||
+ | syscontact Alexander Leonov <nms1@sh.cvut.cz> | ||
+ | </pre>}} | ||
+ | |||
+ | * Spustime snmpd: | ||
+ | |||
+ | <code> | ||
+ | /etc/init.d/snmpd start | ||
+ | </code> | ||
+ | |||
+ | * Povolte vo firewalle port 161 z pocitaca 192.168.127.1. | ||
+ | |||
+ | * Nahlaste emailom spravcovi nms1 (nms1@sh.cvut.cz) nainstalovane SNMP. Do subjectu napiste "SNMP - $hostname". | ||
+ | |||
+ | Note: Za $hostname dosadte plny hostname serveru | ||
+ | |||
+ | === Windows === | ||
+ | |||
+ | --[[Uživatel:Admin|Admin]] 11:25, 6. 2. 2006 (CET) |
Aktuální verze z 17. 6. 2009, 14:17
Obsah |
[editovat] Uvod
Tento manual popisuje, ako nainstalovat SNMPD na SH server. Server tak zacne byt monitorovany a objavi sa na stranke: https://nms1.sh.cvut.cz/cacti/graph_view.php?action=tree. Podmienkou spravneho nainstalovania je, aby mal server funkcnu SH-VPN siet!
[editovat] Postup
[editovat] Unix
- Pokial nemate na serveri nainstalovanu SH-VPN, pokracujte na adrese: http://mediawiki.sh.cvut.cz/index.php/VPN-SERVER nainstalujte vpn podla manualu a vratte sa na tento dokument.
- Nainstalujte balik "snmpd"
apt-get install snmpd
- Zeditujte subor /etc/snmp/snmpd.conf
Priklad:
File: /etc/snmp/snmpd.conf |
com2sec local 127.0.0.1/32 public com2sec local 192.168.127.1 public group public v1 local group public v2c local group public usm local view all included .1 80 access public "" any noauth exact all none none syslocation SiliconHill syscontact Alexander Leonov <nms1@sh.cvut.cz> |
- Spustime snmpd:
/etc/init.d/snmpd start
- Povolte vo firewalle port 161 z pocitaca 192.168.127.1.
- Nahlaste emailom spravcovi nms1 (nms1@sh.cvut.cz) nainstalovane SNMP. Do subjectu napiste "SNMP - $hostname".
Note: Za $hostname dosadte plny hostname serveru
[editovat] Windows
--Admin 11:25, 6. 2. 2006 (CET)