Restarting a service

Steve Shipway s.shipway at auckland.ac.nz
Thu Oct 21 22:18:57 CEST 2004


We currently do this very successfully using Event Handlers, and a simple
NRPE agent script.  It makes it a lot easier if the Nagios
Service_Description is the Windows Service Name, then you can write a
generic event handler and NRPE plugin (since Event Handler's dont take
parameters, the only way to get the Wervice name to pass to the NRPE plugin
is from the Service_Description.  Alternatively, code a separate event
handler for every service....)
 
Steve

---
Steve Shipway: ITSS, University of Auckland
Email: s.shipway at auckland.ac.nz  Web: http://www.steveshipway.org/ 
** We can only discover new oceans when we have the **
** courage to lose sight of the shore.              ** 

-----Original Message-----
From: nagios-users-admin at lists.sourceforge.net
[mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Brian J. Dent
Sent: Friday, 22 October 2004 4:15 a.m.
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] Restarting a service



I have a service being monitored that occasionally dies and needs to be
restarted.  I thought there was a way to connect an action to attempt a
restart from NAGIOS?

 

Brian J. Dent

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20041022/73c170c7/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Steve Shipway.vcf
Type: text/x-vcard
Size: 154 bytes
Desc: not available
URL: <https://www.monitoring-lists.org/archive/users/attachments/20041022/73c170c7/attachment.vcf>


More information about the Users mailing list