On Tue, 18 Apr 2006, Subhendu Ghosh wrote:

> On Tue, 18 Apr 2006, ThomasC. wrote:
>
> > I would like to use eventhandlers to restart apache on nagios server because
> > it sometimes fails.
> > My issue is that i have a password on the certificate that i have to give
> > when restarting apache...do you know how i can handle this ?
>
> Use expect as a wrapper script to supply the password.

If you can automate it then there is no use for the password. I suggest
using a key without a password instead of putting another password out for
display in a script.

Hugo.

-- 
        I hate duplicates. Just reply to the relevant mailinglist.
        [EMAIL PROTECTED]               http://hvdkooij.xs4all.nl/
                Don't meddle in the affairs of magicians,
                for they are subtle and quick to anger.


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Nagios-users mailing list
[email protected]
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

Reply via email to