add contact
Posted: Mon Jun 17, 2013 9:07 am
Hi,
Can I add an additional contact to all of my services in a single action or easy way from the GUI instead of edit the files and import again ? I have 740 services.
for example, I want to add the "abcdefg" to all of my services contacts.
define service {
host_name Wordpress1
service_description / Disk Usage
use xiwizard_nrpe_service
check_command check_nrpe!check_disk!-a '-w 12% -c 10% -p /'!!!!!!
max_check_attempts 2
check_interval 5
retry_interval 1
check_period xi_timeperiod_24x7
notification_interval 60
first_notification_delay 0
notification_period xi_timeperiod_24x7
notification_options w,c,u,r,f,s,
notifications_enabled 1
contacts nagiosadmin,abcdefg
_xiwizard linux-server
register 1
}
Thanks
Can I add an additional contact to all of my services in a single action or easy way from the GUI instead of edit the files and import again ? I have 740 services.
for example, I want to add the "abcdefg" to all of my services contacts.
define service {
host_name Wordpress1
service_description / Disk Usage
use xiwizard_nrpe_service
check_command check_nrpe!check_disk!-a '-w 12% -c 10% -p /'!!!!!!
max_check_attempts 2
check_interval 5
retry_interval 1
check_period xi_timeperiod_24x7
notification_interval 60
first_notification_delay 0
notification_period xi_timeperiod_24x7
notification_options w,c,u,r,f,s,
notifications_enabled 1
contacts nagiosadmin,abcdefg
_xiwizard linux-server
register 1
}
Thanks