Nagios father, script son ??

enrico fanti e.fanti at pointercom.it
Fri Nov 18 11:54:35 CET 2005


Hi to all

I have this problem

Nagios executes a script. 

This script have to restart the Nagios process in this way:

/etc/init.d/nagios stop
/etc/init.d/sendmail restart
/etc/init.d/named
/etc/init.d/nagios start

The problem is that when the script execute this sequence, it executes only:

/etc/init.d/nagios stop
/etc/init.d/sendmail stop

It seems that the father Nagios execute the son script, but this script dies when the father dies (Nagios).


Is there a way to run the son script separately from the father 

Thak you

Enrico

-- 
=======================================
Enrico Fanti
PointerCom s.p.a - http://www.pointercom.it
Via Francesco De Sanctis, 9
00195 Roma - ITALY
tel. +39-06-37591259
fax +39-06-37591202
e.fanti at pointercom.it
================================ 



-------------- next part --------------
A non-text attachment was scrubbed...
Name: e.fanti.vcf
Type: text/x-vcard
Size: 238 bytes
Desc: not available
URL: <https://www.monitoring-lists.org/archive/users/attachments/20051118/5094a019/attachment.vcf>


More information about the Users mailing list