Fail Over/vent handlers not working.
Roberto Moral
roberto at quantiva.com
Tue Aug 20 17:01:58 CEST 2002
None one knows anything about this?
On Fri, 2002-08-16 at 14:45, Roberto Moral wrote:
> Hello there,
>
> I am trying to set up a basic fail over procedure following the steps
> outlined in the Documentation and using the scripts provided in the
> distribution ( Nagios 1.0b5).
>
> Monitoring the master hosts and the Nagios process in the master log
> works, and I see the event handler being called
> (handle-master-proc-event, handle-master-host-event). However fail
> over doesn't happen, after debugging the scripts
> (handle-master-proc-event, handle-master-host-event) I found out that
> the event doesn't pass the state of the master server to the script,
> this is easy to find out by putting a echo $1 $2 before the case
> statement and sending that to a file, after Nagios detecting the
> problem and issuing the handler event the file gets created but it is
> empty (no arguments are passed by event handler).
>
> If I run the scripts manually passing the right parameters and it
> worked without a problem.
>
> Any ideas on how to fix this behavior?
>
>
> Roberto Moral
> SR. UNIX Systems Administrator
> -------------------------------------
> roberto at quantiva.com
> Tel: 609-514-8513 | cell: 609-346-5601
> Quantiva, inc.
> 100 Village Blvd. 3rd Floor
> Princeton, NJ 08540
Roberto Moral
SR. UNIX Systems Administrator
-------------------------------------
roberto at quantiva.com
Tel: 609-514-8513 | cell: 609-346-5601
Quantiva, inc.
100 Village Blvd. 3rd Floor
Princeton, NJ 08540
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20020820/7d46e368/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 232 bytes
Desc: This is a digitally signed message part
URL: <https://www.monitoring-lists.org/archive/users/attachments/20020820/7d46e368/attachment.sig>
More information about the Users
mailing list