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 2012 01:54, Daniel Wittenberg
daniel.wittenberg.r...@statefarm.com wrote:
 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


--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Nagios-users mailing list
Nagios-users@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

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 hung or dead process, i would recommend you
check it out, i like it alot better than NRPE and there is no client
to install.

Hope that helps.

On Wed, Aug 29, 2012 at 6:29 PM, Tech Support supp...@voipbusiness.us wrote:
 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 about
 NRPE says that allowing command arguments is a very bad idea, I was
 wondering if it is even possible to execute remote event handlers without
 having support for it.

 Thanks;

 John








 --
 Live Security Virtual Conference
 Exclusive live event will cover all the ways today's security and
 threat landscape has changed and how IT managers can respond. Discussions
 will include endpoint security, mobile security and the latest in malware
 threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
 ___
 Nagios-users mailing list
 Nagios-users@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



-- 
---
Nick Smith
Lamp Post Group
IT Support
Ext - 800
nsm...@lamppostgroup.com

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Nagios-users mailing list
Nagios-users@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


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 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 hung or dead process, i would recommend you
 check it out, i like it alot better than NRPE and there is no client
 to install.
 
 Hope that helps.
 
 On Wed, Aug 29, 2012 at 6:29 PM, Tech Support supp...@voipbusiness.us wrote:
 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 about
 NRPE says that allowing command arguments is a very bad idea, I was
 wondering if it is even possible to execute remote event handlers without
 having support for it.
 
 Thanks;
 
 John
 
 
 
 
 
 
 
 
 --
 Live Security Virtual Conference
 Exclusive live event will cover all the ways today's security and
 threat landscape has changed and how IT managers can respond. Discussions
 will include endpoint security, mobile security and the latest in malware
 threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
 ___
 Nagios-users mailing list
 Nagios-users@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
 
 
 
 -- 
 ---
 Nick Smith
 Lamp Post Group
 IT Support
 Ext - 800
 nsm...@lamppostgroup.com
 
 --
 Live Security Virtual Conference
 Exclusive live event will cover all the ways today's security and 
 threat landscape has changed and how IT managers can respond. Discussions 
 will include endpoint security, mobile security and the latest in malware 
 threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
 ___
 Nagios-users mailing list
 Nagios-users@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


--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Nagios-users mailing list
Nagios-users@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