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 -c check_adss
SERVICE OK – 1 service(s).|’services’=1;200;600

Leave a Reply

Your email address will not be published. Required fields are marked *