Re: [Nagios-users] Remote event handlers using NRPE

2012-08-30 Thread Steven Carr
You could create an NRPE command who's sole purpose is to restart a single service, that way all you do is call the command and it restarts the service. Though yes, if you have lots of services to restart then you are going to have to configure lots of separate NRPE commands. Steve On 30 August

Re: [Nagios-users] Remote event handlers using NRPE

2012-08-29 Thread Daniel Wittenberg
WMI assumes you are running Windows… With NRPE I haven't seen a way to do it without being pass arguments. I'm just careful with scripts that can take arguments that they scrub what's being passed in. Dan On Aug 29, 2012, at 6:47 PM, Nick Smith wrote: > I dont have an answer about your NRPE

Re: [Nagios-users] Remote event handlers using NRPE

2012-08-29 Thread Nick Smith
I dont have an answer about your NRPE question, but if i had to guess i would say its not possible with out support compiled in. I did recently find this however: http://www.edcint.co.nz/checkwmiplus/ I have it running all kinds of checks via WMI on my domain and it has the ability to restart a

[Nagios-users] Remote event handlers using NRPE

2012-08-29 Thread Tech Support
All; I'm trying to setup event handlers on remote machines that I am monitoring using NRPE to restart dead or hung services. I've been reading up on a few how-to's I found online but they all seem to require that NRPE be compiled with support for command arguments. Since everything I read abou