Hi,
Trying to use the check_uptime on a remote agent… using:
apply Service “Uptime” {
import “generic-service”
check_command = “uptime”
command_endpoint = host.name
assign where host.vars.os == “Linux” && host.vars.agent == true && host.zone == “rPIpoller.pointpubmedia.com”
}
The same “check_command” works properly on the master itself but on satellite, that are having agent that will match this I got
Attribute ‘check_command’: Object ‘uptime’ of type ‘CheckCommand’ does not exist.