I'm very new to nagios, but a quite experienced unix admin.
Possibly there is an issue in the documentation, that I use to consult, when using new software. (Things that aren't understood, when reading the manual often lead to errors in the use of software.)
http://nagios.sourceforge.net/docs/nagi ... ml#contact
The definition of a contact says, that fields in red are required, which are
Code: Select all
contact_name
host_notifications_enabled
service_notifications_enabled
host_notification_period
service_notification_period
host_notification_options
service_notification_options
host_notification_commands
service_notification_commands
Code: Select all
objects/contact.cfg
Code: Select all
define contact {
contact_name nagiosadmin
use generic-contact
alias Nagios Admin
contactgroups admins
email none-of-your-business
}
define contactgroup{
contactgroup_name admins
alias Nagios Administrators
members nagiosadmin
}
Code: Select all
name generic-contact ; The name of this contact template
service_notification_period 24x7 ; service notifications can be sent anytime
host_notification_period 24x7 ; host notifications can be sent anytime
service_notification_options w,u,c,r,f,s ; send notifications for all service states, flapping events, and scheduled downtime events
host_notification_options d,u,r,f,s ; send notifications for all host states, flapping events, and scheduled downtime events
service_notification_commands notify-service-by-email ; send service notifications via email
host_notification_commands notify-host-by-email ; send host notifications via email
register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL CONTACT, JUST A TEMPLATE!
Code: Select all
host_notifications_enabled
service_notifications_enabled
Am I right or am I right?
regards,
ikrabbe