I'm trying to setup different contacts so that a printer contacts its owner rather than IT when Ink is needed to be replaced. I've created the contact and set the contact on the device but IT still gets contacted. Any ideas?
Code: Select all
define contact{
contact_name itsupport
alias IT Support
service_notification_period workhours
host_notification_period 24x7
service_notification_options w,u,c,r
host_notification_options d,r
service_notification_commands notify-service-by-email
host_notification_commands notify-host-by-email
email [email protected]
}
define contact{
contact_name marketing
alias Marketing Department
service_notification_period workhours
host_notification_period 24x7
service_notification_options w,u,c,r
host_notification_options d,r
service_notification_commands notify-service-by-email
host_notification_commands notify-host-by-email
email [email protected]
}
define contact{
contact_name software
alias Software Department
service_notification_period workhours
host_notification_period 24x7
service_notification_options w,u,c,r
host_notification_options d,r
service_notification_commands notify-service-by-email
host_notification_commands notify-host-by-email
email [email protected]
}
define contact{
contact_name nathan
alias Nathan Test Group
service_notification_period workhours
host_notification_period 24x7
service_notification_options w,u,c,r
host_notification_options d,r
service_notification_commands notify-service-by-email
host_notification_commands notify-host-by-email
email [email protected]
}
Code: Select all
define host{
use generic-printer ; Inherit default values from a template
host_name Marketing ; The name we're giving to this printer
alias Marketing ; A longer name associated with the printer
address 192.168.1.23 ; IP address of the printer
hostgroups network-printers ; Host groups this printer is associated with
parents Printers
contacts marketing
}
define host{
use generic-printer ; Inherit default values from a template
host_name Marketing Plotter ; The name we're giving to this printer
alias Marketing Plotter ; A longer name associated with the printer
address 192.168.1.132 ; IP address of the printer
hostgroups network-printers ; Host groups this printer is associated with
parents Printers
contacts marketing
}