Nagios XI - Problems with $ Signs in the Check Command

Problem Description

Certain services in Microsoft Windows use special characters in the service name like MSSQLFDLauncher$UWCX01. This causes problems with Nagios as it thinks the $ is part of a variable.

 

 

Resolving The Problem

Using NCPA

Your service definition will need two $$ signs.

MSSQLFDLauncher$$UWCX01

 

 

Save and Apply Configuration.

Note: The Test Check Command button will not work due to these special characters.

 

 

 

Using NSClient++

Your service definition will need a backslash \ and two $$ signs.

MSSQLFDLauncher\$$UWCX01

 

 

Save and Apply Configuration.

Note: The Test Check Command button will not work due to these special characters.

 

 

Final Thoughts

For any support related questions please visit the Nagios Support Forums at:

http://support.nagios.com/forum/

Posted by: - Tue, Jan 26, 2016 at 10:41 PM. This article has been viewed 7138 times.
Online URL: https://support.nagios.com/kb/article/nagios-xi-problems-with-$-signs-in-the-check-command-168.html

Powered by PHPKB (Knowledge Base Software)