Windows Service name with $ in named service
Posted: Mon Mar 10, 2014 1:14 pm
In Windows 2003 I had a work around functioning by prefixing the $ with \\$$ for a single $ in the service name
When I upgraded to nagios
4.0.1 I now get warning SQLAgent: Error
When ever try something different I get a red error service not found!
Has anyone found a fix?
here is how the service is defined:
define service{
use engine
host_name rmh-eq2-02
service_description SQLAgent-HEMS2008
check_command check_nt!SERVICESTATE! -d SHOWALL -l SQLAgent\\$$HEMS2008
servicegroups windows service
}
When I upgraded to nagios
4.0.1 I now get warning SQLAgent: Error
When ever try something different I get a red error service not found!
Has anyone found a fix?
here is how the service is defined:
define service{
use engine
host_name rmh-eq2-02
service_description SQLAgent-HEMS2008
check_command check_nt!SERVICESTATE! -d SHOWALL -l SQLAgent\\$$HEMS2008
servicegroups windows service
}