Raspberry PI running raspbian
Nagios 4.1 Core
Have many services working from my Windows Server platform no issues.
I tried to add this service which has a space in the name which from what I read is supported but it fails to find the services
define service{
use generic-service
host_name SERV013
service_description ADManager Plus
check_command check_nt!SERVICESTATE!-d SHOWALL -l ADManager Plus
}
This is the service details from the server
[serv013]: PS C:> get-service ad* | fl
Name : ADManager Plus
DisplayName : ManageEngine ADManager Plus
Status : Running
DependentServices : {}
ServicesDependedOn : {}
CanPauseAndContinue : False
CanShutdown : True
CanStop : True
ServiceType : Win32OwnProcess, InteractiveProcess
Thoughts
Thanks
Nagios define service help
Re: Nagios define service help
can you try this I use NagiosXI and i use backslash to avoid space issue.
edit: if above doesnt work try adding single quote
Code: Select all
check_command check_nt!SERVICESTATE!-d SHOWALL -l ADManager\ Plus
edit: if above doesnt work try adding single quote
Code: Select all
'ADManager Plus'
Re: Nagios define service help
Thanks
the
check_command check_nt!SERVICESTATE!-d SHOWALL -l ADManager\ Plus
Worked
This issue has been reolved
the
check_command check_nt!SERVICESTATE!-d SHOWALL -l ADManager\ Plus
Worked
This issue has been reolved
Re: Nagios define service help
Glad we were able to help. We'll lock this thread now and feel free to open another should you require assistance with anything else.
Be sure to check out the Knowledgebase for helpful articles and solutions!