Page 1 of 2
Shat down server
Posted: Tue Nov 13, 2012 9:15 am
by inserm
Hello,
I am trying to create a script that stops a server if it detects CRITICAL.
Can someone help me.
Thanks
Re: Shat down server
Posted: Tue Nov 13, 2012 11:27 am
by GaWd
What kind of server? Windows or Linux/Unix?
Re: Shat down server
Posted: Tue Nov 13, 2012 12:03 pm
by inserm
GaWd wrote:What kind of server? Windows or Linux/Unix?
Linux
Re: Shat down server
Posted: Tue Nov 13, 2012 1:48 pm
by GaWd
Look here:
http://assets.nagios.com/presentations/ ... Nagios.odp
You should be able to utilize the event handler service to trigger scripts if certain states are detected.
Re: Shat down server
Posted: Wed Nov 14, 2012 3:15 am
by inserm
I can not open it shows me:
Could not open "Sam_Lansing_Automating_Windows_Application_Testing_and_Problem_Resolution_With_Nagios.odp"
Archive type not supported.
Re: Shat down server
Posted: Wed Nov 14, 2012 6:20 am
by V3xX
With PowerPoint 2010 I can open this file...
Re: Shat down server
Posted: Thu Nov 15, 2012 5:09 am
by inserm
How do I know if nrpe is up and running?
In /usr/lib/nagios/plugins/
check_nrpe exists.
I installed :
sudo apt-get install nagios3 nagios-nrpe-plugin
Re: Shat down server
Posted: Thu Nov 15, 2012 5:32 am
by inserm
I can not find the file nrpe.cfg.
Which directory is?
Re: Shat down server
Posted: Thu Nov 15, 2012 4:11 pm
by slansing
It is located in:
Here is the link to the event handler document I had in my presentation, It is a little more than mid way down:
http://assets.nagios.com/downloads/nagi ... h_NRPE.pdf
Re: Shat down server
Posted: Mon Nov 19, 2012 3:33 am
by inserm
slansing wrote:It is located in:
It does not exist!