-1

I would like to disable some services notifications in Centreon through Nagios web interface. Does anybody know how do that in Nagios ?

1
  • 1
    When asking questions like this it is useful to include: Nagios verstion, NDOUtils version and Centreon version. Please can you update your question to include this information. Thanks.
    – Kev
    Sep 4, 2013 at 17:51

1 Answer 1

1

I am presuming you mean disabling notifications from the Service Information page for a service, i.e. the one that contains the Service State Information table with the Service Command table on the right?:

enter image description here

If you click on "Disable notifications for this service" and confirm the "Commit" on the following page:

enter image description here

...Centreon will pick this up. You need to be patient because the command is queued and may not execute immediately. On a busy Nagios server it may take several minutes for the command to execute and for Centreon to see this change. When it does eventually happen you'll see a small "splat" next to the service under Monitoring -> Services -> :

enter image description here

This was verified on my test environment running Nagios 3.5.0, NDOUtils 1.4b9 and Centreon 2.4.4.

You can also verify when the command was sent by tailing the Nagios log:

tail -f /usr/local/nagios/var/nagios.log

When the command is processed you'll see something like:

[1378315436] EXTERNAL COMMAND: DISABLE_SVC_NOTIFICATIONS;Buzz;HTTP

Where Buzz is my host name and HTTP is the check name.

Your log location may vary and you can find it by checking the "Log file" configuration value in Centreon under:

Configuration -> Monitoring Engines -> main.cfg

Or, if you're running an older version prior to the release of the Centreon fork of Nagios:

Configuration -> Nagios -> nagios.cfg

enter image description here

If this isn't happening then we'd need to see your service configuration and "Data Processing" options.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .