Excluding services in nsclient++ that have spaces in the name


#1

When I try to exclude a service that Nagios displays as “Sophos Message Router” I get the following error:

CRITICAL: Message: not found (critical), Router: not found (critical)

It seems to ignore the "'s I put around the exclude (“exclude=Sophos Message Router”)

This service starts and stops all the time and is driving me nuts with all the alerts.

Any ideas on how I should handle it?


#2

Services have separate service and display names. Does that service really have spaces in its service name?