Nagios - obsessing over this service: what does this mean?

13

We use Nagios to monitor our servers. I haven't set this up myself, and I want to change some settings. Most services have the setting obsessing enabled. I wonder what this means, and what happens if I disable it.

SPRBRN

Posted 2014-05-06T10:18:59.523

Reputation: 5 185

Answers

8

The Nagios docs explain this setting as:

This directive determines whether or not checks for the service will be "obsessed" over using the ocsp_command.

The ocsp_command is explained here. This is the "Obsessive Compulsive Service Processor Command."

This option allows you to specify a command to be run after every service check, which can be useful in distributed monitoring.

This command is only executed if the obsess_over_services option is enabled globally and if the obsess_over_service directive in the service definition is enabled.

Red Hat says the option should be disabled unless you are doing distributed monitoring.

So if obsess_over_services is enabled globally, you should check your ocsp_command. Disabling the obsess_over_service option for a service means that the ocsp_command will not run each time that service is checked.

Nattgew

Posted 2014-05-06T10:18:59.523

Reputation: 1 059

3Why is distributed monitoring considered "obsessive"? I don't follow the thought process here and so I'm sure I'll be looking for this info again in <6months. – flickerfly – 2017-03-27T14:33:39.240