Not getting notificaitons for the VMs which are rebooting within 25 seconds

Hello,

I am not getting notifications for the virtual servers that are rebooting within 25 seconds.
Could someone please help me with configuration?

I have the following in my host.conf for the VMs as follows…

object Host “test1” {
import “generic-host”
address = “test1”
check_command = “ping4”
check_interval = 1s
retry_interval = 1s
vars.os = “Linux VM”
}

and the notification.conf as follows…

apply Notification “mail-UNIX Team” to Host {
import “mail-host-notification”
command = “mail-host-notification”
users = [ “UNIX Team” ]
states = [ Up, Down ]
types = [ Problem, Acknowledgement, Recovery, Custom,
FlappingStart, FlappingEnd,
DowntimeStart, DowntimeEnd, DowntimeRemoved ]
assign where host.vars.os == “Linux VM”
assign where host.vars.os == “Linux Physical”
assign where host.vars.os == “Solaris VM”
assign where host.vars.os == “Solaris Physical”
assign where host.vars.os == “VMware Hosts”
assign where host.vars.os == “Storage Array”
assign where host.vars.os == “NAS”
assign where host.vars.os == “Blade Enclosure”
assign where host.vars.os == “Switch-SAN”

vars += {
notification_icingaweb2url = “https://test.local.com/icingaweb2
notification_from = “Icinga 2 Host Monitoring <test.local.com>”
notification_logtosyslog = false
}

period = “24x7”
}

Thanks in advance,
Balaji.