Not sending alerts?

After a longtime setting up sendmail… now i know that i can now send email to 4 cell phone on two different provider,
to a pager and our admin email account…

I only have one interface setup in nagios and I block the ip so I could do a test…

nagios now see that its down but its doesnt send me a message???
I know its work because if i click on the interface then click on Send Custom Host Notification its works fine…

and if i go see in /var/log/mail.log i can see that nagios didnt even try to send an email???

what can i do ???
I need help ASAP

thanks everyone
let me know if you need more info…

Plurnay

sorry i was wrong
it did send an alert but it took like 25minutes

its had to do 20 soft attempt (that take 1m20s each) before going to hard state and then send a messages
how can i change its so its send an alert after let say 3 soft attemp

thanks in advance

i figured it out… thanks

What was the solution?

-Rudy

[quote=“deznuts05”]What was the solution?

-Rudy[/quote]

I went to hosts.cfg and change the max_check_attempts to 3 instead of 20
and change the normal_check_interval and notification_interval

now I get a notification in about 5 minutes… (make 3 softcheck that take 60secondes and 1 hardcheck and then I get the notification)

define host{
use generic-host ; Name of host template$

    host_name               PDSN
    alias                   Default Gateway - PDSN Node 0
    address                 Routers Ip
    check_command           check-host-alive
    max_check_attempts      3
    normal_check_interval   1
    notification_interval   60
    notification_period     24x7
    notification_options    d,u,r
    }

thank you!

-Rudy