If you turned on Alert on missing data then that would alert if the service isnt running as there would be no availability metric theoretically.
Hi Chad
Under OS Service monitoring we have configured services exclusion which doesn’t needs to be monitored. Does the above configuration will override exclusion?
Under OS Service monitoring we have configured services exclusion which doesn’t needs to be monitored. Does the above configuration will override exclusion, if yes how do we stop alerts for the services which is not to be monitored?.
Hi Chad
Under OS Service monitoring we have configured services exclusion which doesn’t needs to be monitored. Does the above configuration will override exclusion?
Since we organize our Management Zones around HostGroups, we find the following convenient. We have one rule for hosts in a host group and another for the OS services.
Rule 1: Monitored entity → Hosts, Host Group equals “<host group name>”
Rule 2: type(“os:service”),fromRelationship.runsOn(type(“HOST”),hostGroupName(“<same host group name>”)
Hi Chad
Thanks. We want specific servers not be alerted. How do we do this if we do the above metric template.
Thanks
Sundar.v
I think the best way to do that is to adjust the OS Service monitoring rule for those hosts to not Alert for those os services.
Request is with in servers we don’t want few services not be alerted. This services not to be alerts fur more than 100 servers.
Have you found a way to use startsWith or contains with the hostGroupName attribute? I’m trying to use this and it doesn’t like the startsWith.
type(“os:service”),fromRelationships.runsOn(type(“HOST”),hostGroupName.startsWith(“BLAH”))
The hostGroupName clause is for an attribute which does not support the contains modifier. You need to use the entityName clause which does. To do this you need another layer of indirection to get to the host_group entity. I just tried the following which appears to work but you’ll need to verify that it gives you what you need:
type(“os:service”),fromRelationship.runsOn(type(“HOST”), fromRelationship.isInstanceOf(type(“HOST_GROUP”), entityName(“<partial host group name>”) ) )
(I think I have the parens correct)
Hi Chad
when i try to setup above as metric event and it is not showing all services in the hosts.
builtin:osservice.availability:avg - when i execue this in data explorer it is showing only World Wide Web Publishing Service only