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
Nagios Core not picking up correct Windows Service Name
-
- Posts: 1
- Joined: Fri Jul 03, 2015 5:54 am
Re: Nagios Core not picking up correct Windows Service Name
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.
Former Nagios employee