Page 1 of 1

Nagios Core not picking up correct Windows Service Name

Posted: Fri Jul 03, 2015 5:57 am
by andrewp3283
We have a windows service called "AOS$01" I have put this into the config file as below:

check_nt!SERVICESTATE! -d SHOWALL -l AOS$01

when I run Nagios it then says the service does not exist and is only showing "AOS$" as the service it is not picking up the "01"

How do i get it to pick up the numbers as well

regards
andy

Re: Nagios Core not picking up correct Windows Service Name

Posted: Fri Jul 03, 2015 4:53 pm
by tmcdonald
You need to escape the dollar sign as it is used to denote Nagios macros like $HOSTADDRESS$ and the likes. Instead of just AOS$01 try AOS$$01 and see if that helps.