Categories
windows

Monitor Windows Service from Nagios

install nsclient with nrpe
allow port tcp 5666 on firewall

Put check_winservice.exe in Program Files\NSClient++\scripts

Edit nsclient.ini as admin:
[/settings/external scripts/scripts]
check_adss=check_winservice.exe –service ADSelfServicePlus –warning 200 –critical 600

restart nsclient

test from nagios

su – nagios
cd /usr/local/nagios/libexec
./check_nrpe -H 192.168.1.10 -c check_adss
SERVICE OK – 1 service(s).|’services’=1;200;600

Categories
windows

Win 2008 R2 jadi secondary AD Win 2k

dengan menggunakan DVD Win 2k8 R2 pada server Win 2k:

cd /d d:\support\adprep
adprep32.exe /forestprep
adprep32.exe /rodcprep
adprep32.exe /domainprep

Mulakan dcpromo pada server Win 2k8 R2