Search found 3 matches

by juanlopez1990
Wed Aug 01, 2018 10:23 am
Forum: Open Source Nagios Projects
Topic: kill the application process
Replies: 5
Views: 2358

Re: kill the application process

I can restart a service but I can not finish a process.
Example:

@echo off
net stop service
taskkill / f / t / im Name_process.exe
timeout / t 5
net start service
Alert_MAIL.vbs
@exit 0
by juanlopez1990
Tue Jul 31, 2018 6:11 am
Forum: Open Source Nagios Projects
Topic: kill the application process
Replies: 5
Views: 2358

Re: kill the application process

Hello,
I have configured everything and it works and I can restart the service and the process.
But how do I set it so that when the alert pops up, launch the script?

Sorry for my English.
by juanlopez1990
Mon Jul 30, 2018 10:15 am
Forum: Open Source Nagios Projects
Topic: kill the application process
Replies: 5
Views: 2358

kill the application process

Hello, I have a server that works with an application with port 10000 and I have it monitored and when this application is blocked it stops listening to port 10000 and I get a drop mail from nagios. I want to kill the application process when nagios detects that it is down. Information: Nagios® Core...