Erinevus lehekülje "Net-snmp" redaktsioonide vahel
Allikas: Kuutõrvaja
4. rida: | 4. rida: | ||
'''freebsd install''' | '''freebsd install''' | ||
− | saab paigaldada portsust /usr/ports/net-mgmt/net-snmp | + | saab paigaldada portsust |
+ | cd /usr/ports/net-mgmt/net-snmp | ||
+ | make install clean | ||
konfifal tekib /usr/local/share/snmp | konfifal tekib /usr/local/share/snmp | ||
10. rida: | 12. rida: | ||
nimega snmpd.conf | nimega snmpd.conf | ||
+ | lisame read /etc/rc.conf | ||
+ | |||
+ | snmpd_enable="YES" | ||
+ | snmpd_flags="-Lsd" | ||
+ | |||
+ | stardime snmp | ||
+ | |||
+ | /usr/local/etc/rc.d/snmpd.sh start | ||
'''gentoo install''' | '''gentoo install''' |
Redaktsioon: 11. oktoober 2006, kell 10:36
net-snmpd
freebsd install
saab paigaldada portsust
cd /usr/ports/net-mgmt/net-snmp make install clean
konfifal tekib /usr/local/share/snmp
nimega snmpd.conf
lisame read /etc/rc.conf
snmpd_enable="YES" snmpd_flags="-Lsd"
stardime snmp
/usr/local/etc/rc.d/snmpd.sh start
gentoo install
emerge net-snmp
/etc/init.d/snmpd start /sbin/rc-update add snmpd default
konfiguratsioon tekitada /etc/snmp/snmpd.conf
konfiguratsioon
syscontact kasutaja sysservices 76 rocommunity public ipaadress kus lubame lugeda #kirjeldada v2ib teenused mille info jagatakse proc mountd proc pure-ftpd proc nfsd proc cron proc syslogd #kettakasutust disk / 1000 disk /usr 1000 disk /var 1000 disk /mnt/tank1 1000 #ja load load 12 14 14
katsetamine
kontrollida saab
snmpwalk -v 1 -c public masina aadress .1.3
commandiga