Writing a batch that restart/start /stop etc. is np, but how would you call
the batch/script file from Nagios? 

 

Thanks,

PJ

 

 

  _____  

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Anthony
Montibello
Sent: Tuesday, May 06, 2008 6:41 PM
To: Jon Terry
Cc: [email protected]
Subject: Re: [Nagios-users] nagios reboot XP

 

NC_Net and NRPE also can provide the ability to run scripts on the windows
Host.

 

to restart a service the net start/stop command works well in windows

 

 

You can also setup the services on the windows box to automatically restart
through the windows service manager

Tony (author of NC_Net)


 

On Tue, May 6, 2008 at 8:26 AM, Jon Terry <[EMAIL PROTECTED]> wrote:

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf
> Of Ange AMBEMOU
> Sent: Tuesday, May 06, 2008 4:49 AM
> To: [email protected]
> Subject: [Nagios-users] nagios reboot XP
>
> hello all,
>
> i have two questions
>
> 1- Is possible to nagios to reboot et midcrosft box  or one
> service on this box    if there are a  mistake  ?

 As Sebastian indicated, you could use NSClient++ in order to execute
psshutdown and or psservice from Sysinternals as part of an
eventhandler.

http://trac.nakednuns.org/nscp/wiki/CheckExternalScripts

http://technet.microsoft.com/en-us/sysinternals/bb896649.aspx



> 2- nagios can accepte the trap snmp only and dont do the get snmp ?
>

 I'm not sure I understand.  Have you looked at the check_snmp plugin?

Jon


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javao
ne
_______________________________________________
Nagios-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting
any issue.
::: Messages without supporting info will risk being sent to /dev/null

 

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Nagios-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Reply via email to