- [Show pagesource]
- [Old revisions]
- [[unknown link type]]
- []
Table of Contents
Ineptus eco [cebin.cz]
RedHatoviny
configy jsou v /etc/sysconfig
IBM
firma@panelnet.cz
heslo o trojku vic
CISCO
telnet 10.0.4.9 show mac-address table
je potreba delat ze stroje, ktery ma ctyrkovou adresu
HP Health
service hp-health status
service hp-health restart
Supermicro
Tukan -sc933t -board je H8DA8
Presto-servery
1] uziv na ineptus
2] najit v historii prikaz s -p….
3] tim se dostanu na master ⇒ pak uz normalne ssh mezi servery
Ostatni
check_snmp_supermicro.pl
http://www.mmnt.net/db/0/0/supermicro.com/CDR-0010_2.10_IPMI_Server_Managment/Firmware/IPMI20
Kdyz se neda prihlasit {chybi homefolder} tak se pres alt+ctrl+f1 prihlasit na root a tam zadat mount -a
“mail -s <subject> servery@panelnet.cz”
DNS zaznamy v /etc/bind/kancl
export LANG=C
/etc/init.d/bind9 restart
rsync
–exclude mysql/
IPMI
lsmod | grep ipmi {na funkcnim}
modprobe ipmi_si
modprobe ipmi_devintf
modprobe ipmi_msghandler
XEN
root@ineptus
xm console ….
pr.: xm console xen-nagios
Nagios
tail -f /var/log/nagios3/nagios.log
netstat -nlpt = musi poslouchat na portu 5666
na server je potreba nainstalovat nagios-nrpe-server
nrpe.cfg - do host_allowed pridat IP adresu
/etc/nagios3/conf.d
/etc/nagios/nrpe_local.cfg
- zde musi byt volany prikaz z nrpe.cfg
/etc/init.d/nagios3 reload
Chkconfig
chkconfig –list …
{pr: chkconfig –list nrpe
}
chkconfig –level 2345 nrpe on
ets.kancl
/etc/init.d/nagios-nrpe-server stop
Squid
proxy server na cerna
config /etc/squid3/squid.conf
GIT
po editovani:
git commit
git push
pro aktualizaci:
git pull
pro pridani souboru:
git add <jmeno souboru>