Hi,
I'd rather use "kill -HUP `pidof nagios`" (or something similar) to reload the
configuration of nagios.

Best regards,
Boroczki Lajos


On Sat, Jan 12, 2008 at 12:47:28PM +0100, Thomas Glanzmann wrote:
> Hello,
> what is the best way to tell heartbeat to restart ressource? For example
> I have a high available nagios and want to restart it because I touched
> the configuration. I thought about using:
> 
> crm_resource -r nagios -p target_role -v stopped
> sleep 60;
> cibadmin -D -X '<nvpair id="nagios-target_role" name="target_role" 
> value="stopped"/>'
> 
>         Thomas
> _______________________________________________
> Linux-HA mailing list
> [email protected]
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems

-- 
Boroczki Lajos
rendszermernok 
KFKI Rendszerintegracios Zrt.

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to