HI Josh
It seems the display name was wrong.
service { 'nsclient':
name=> 'NSClientpp',
ensure => running,
enable => true,
require => Package['nsclient'],
}
That now works.
Thanks for the help.
On Sunday, December 1, 2013 9:37:58
On Sunday, December 1, 2013, Jeffrey Smith wrote:
> Hi Felix,
>
> The DisplayName from the registry key
> HKEYY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\NSClientpp\DisplayName is
> "NSClient++ (x64)" in binary it is
>
> A hexdump of whats in my puppet manifest on linux gives
>
> 534e 6c43 6569
Hi Felix,
The DisplayName from the registry key
HKEYY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\NSClientpp\DisplayName is
"NSClient++ (x64)" in binary it is
A hexdump of whats in my puppet manifest on linux gives
534e 6c43 6569 746e 2b2b 2820 3678 2934
000a
while what regedit says its sto
Kaustubh's remarks may still have merit, though. Perhaps there is a
subtle typo (think trailing space or similar). Have you copy-pasted the
name from an authoritative source?
Regards,
Felix
On 11/29/2013 01:41 PM, Jeffrey Smith wrote:
>
> The service name is "NSClient++ (x64)" and its listed the
The service name is "NSClient++ (x64)" and its listed there its just not
starting it as its saying it cant find it.
On Friday, November 29, 2013 12:13:29 PM UTC, kaustubh chaudhari wrote:
>
> from what i have seen, this means you are not using the correct service
> name.
>
> Install NS Client
from what i have seen, this means you are not using the correct service
name.
Install NS Client on a windows box manually, go to run -> services.msc ->
Look for NS service in the properties of that you will see the service
Name, Use this service name if your code!
Hope this help!
-Kaustubh
No I just keep getting the error
Error: /Stage[main]/Nsclient/Service[
nsclient]: Could not evaluate: Cannot get status of NSClient++ (x64), error
was: The specified service does not exist as an installed service.
On Friday, November 29, 2013 12:33:12 AM UTC, Felix.Frank wrote:
>
> Hi,
>
> so
Hi,
so are the errors disappearing in subsequent agent runs?
Thanks,
Felix
On 11/27/2013 12:53 PM, Jeffrey Smith wrote:
> I get the following errors during the initial run
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To unsubscribe from th
I am trying to install NSClient on windows 2008r2 using the below manifest
class nsclient ($nagiosservers) {
if ($operatingsystem == "windows") {
file { 'C:/NSClient':
ensure => directory,
owner => 'Administrator',
mode=> '0755',
}