nagios reboot XP

Palle L Jensen palleje at gmail.com
Wed May 7 14:34:39 CEST 2008


 

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

 

Thanks,

PJ

 

 

  _____  

From: nagios-users-bounces at lists.sourceforge.net
[mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Anthony
Montibello
Sent: Tuesday, May 06, 2008 6:41 PM
To: Jon Terry
Cc: nagios-users at lists.sourceforge.net
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 <Jon.Terry at custom-pak.com> wrote:

> -----Original Message-----
> From: nagios-users-bounces at lists.sourceforge.net
> [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf
> Of Ange AMBEMOU
> Sent: Tuesday, May 06, 2008 4:49 AM
> To: nagios-users at lists.sourceforge.net
> 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
Nagios-users at lists.sourceforge.net
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

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20080507/5a8e482f/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
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
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
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


More information about the Users mailing list