I have a bunch of Dell servers and I’d like to combine several of the checks so they work like a template. Obviously the method below does not “entirely work”, the XXX service gets registered, but Services YYY and ZZZ to not work.
Any suggestions?
thanks in advance.
define service{
name basic-serviceZZZ
use basic-service
service_description Dell-OpenManage-TemperatureZZZ
servicegroups dell-openmanage-temperature
check_command check_openmanage_SNMP_temperature!$USER12$
register 0 ; DONT REGISTER THIS DEFINITION - ITS JUST A TEMPLATE!
}
define service{
name basic-serviceYYY
use basic-serviceZZZ
service_description Dell-OpenManage-DriversYYY
servicegroups dell-openmanage-drivers
check_command check_openmanage_SNMP-all!$USER12$
register 0 ; DONT REGISTER THIS DEFINITION - ITS JUST A TEMPLATE!
}
define service{
name basic-serviceXXX
use basic-serviceYYY
service_description Dell-OpenManage-StatusXXX
servicegroups dell-openmanage
check_command check_openmanage_SNMP!$USER12$
register 0 ; DONT REGISTER THIS DEFINITION - ITS JUST A TEMPLATE!
}
define service{
host_name Dell-Server
use basic-serviceXXX
check_period 24x7
max_check_attempts 5
normal_check_interval 10
contacts admin
notification_interval 120
notification_period workhours
check_command check_openmanage_SNMP_temperature!$USER12$
}