2 formatting
source | link

Which version of Nagios? Nagios Core 3 & 4 require the following for a contact definition:

define contact {
  contact_name                  contact_name
  host_notifications_enabled    [0/1]
  service_notifications_enabled [0/1]
  host_notification_period      timeperiod_name
  service_notification_period   timeperiod_name
  host_notification_options     [d,u,r,f,s,n]
  service_notification_options  [w,u,c,r,f,s,n]
  host_notification_commands    command_name
  service_notification_commands command_name
}

I don't see contact_name host_notifications_enabledcontact_name host_notifications_enabled or service_notifications_enabledservice_notifications_enabled in your example.

If this helps, please upvote my response. tia

https://assets.nagios.com/downloads/nagioscore/docs/nagioscore/4/en/objectdefinitions.html

Which version of Nagios? Nagios Core 3 & 4 require the following for a contact definition:

define contact{
  contact_name  contact_name
  host_notifications_enabled    [0/1]
  service_notifications_enabled [0/1]
  host_notification_period  timeperiod_name
  service_notification_period   timeperiod_name
  host_notification_options [d,u,r,f,s,n]
  service_notification_options  [w,u,c,r,f,s,n]
  host_notification_commands    command_name
  service_notification_commands command_name
}

I don't see contact_name host_notifications_enabled or service_notifications_enabled in your example.

If this helps, please upvote my response. tia

https://assets.nagios.com/downloads/nagioscore/docs/nagioscore/4/en/objectdefinitions.html

Which version of Nagios? Nagios Core 3 & 4 require the following for a contact definition:

define contact {
  contact_name                  contact_name
  host_notifications_enabled    [0/1]
  service_notifications_enabled [0/1]
  host_notification_period      timeperiod_name
  service_notification_period   timeperiod_name
  host_notification_options     [d,u,r,f,s,n]
  service_notification_options  [w,u,c,r,f,s,n]
  host_notification_commands    command_name
  service_notification_commands command_name
}

I don't see contact_name host_notifications_enabled or service_notifications_enabled in your example.

If this helps, please upvote my response. tia

https://assets.nagios.com/downloads/nagioscore/docs/nagioscore/4/en/objectdefinitions.html

1
source | link

Which version of Nagios? Nagios Core 3 & 4 require the following for a contact definition:

define contact{
  contact_name  contact_name
  host_notifications_enabled    [0/1]
  service_notifications_enabled [0/1]
  host_notification_period  timeperiod_name
  service_notification_period   timeperiod_name
  host_notification_options [d,u,r,f,s,n]
  service_notification_options  [w,u,c,r,f,s,n]
  host_notification_commands    command_name
  service_notification_commands command_name
}

I don't see contact_name host_notifications_enabled or service_notifications_enabled in your example.

If this helps, please upvote my response. tia

https://assets.nagios.com/downloads/nagioscore/docs/nagioscore/4/en/objectdefinitions.html