I have NagiosXI server installed,
Installed Windows Agent on my MS Domain Controller,
I currently have 2 Domain Controllers
I installed Nagios Agent on one nicely, but it failed for some checks,
like cpu usage, memory
here are the error messages I'm getting (attached screenshot.jpg)
I found this solution online
http://www.nsclient.org/nscp/discussion/topic/1172
when I ran this command
nscp sys --validate, I couldn't get any results (attached screenshot1.jpg)
I also don't have the 'Performance Counter DLL Host' in my Services...
please advise...
issue with Windows Agent
issue with Windows Agent
You do not have the required permissions to view the files attached to this post.
Re: issue with Windows Agent
What version of nsclient are you running? Did you use our stable agent from the wizard (0.39), or one of the "unstable" .40 version?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Re: issue with Windows Agent
I'm running NSCP-0.4.1.101-x64, NSCP-0.4.1.101-Win32
Re: issue with Windows Agent
My suggestion would be to roll back to 0.39 (the "stable" agent available in our wizard) as it will be easier to resolve than the missing libraries/modules. (unless you have already deployed to a large number of servers)
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Re: issue with Windows Agent
I already deployed to 15 Windows Servers/VM
they all work except for this specific one
I'm trying to figure out if there's a service I need to start that's related to this PDH counter...
I also got this working on another domain controller mirror, so it must be some configuration issue...
they all work except for this specific one
I'm trying to figure out if there's a service I need to start that's related to this PDH counter...
I also got this working on another domain controller mirror, so it must be some configuration issue...
Re: issue with Windows Agent
Do you have a "modules" folder in the nsclient program directory? If so, what files are in it?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Re: issue with Windows Agent
yes, attached
You do not have the required permissions to view the files attached to this post.
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: issue with Windows Agent
Can you send one of us a copy via PM of your nsclient.log file? It will be located in NSClient++'s home directory.
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: issue with Windows Agent
The version of NSClient++ you are using could be a bit buggy and it may be isolated to only this server. However, lets first try a couple things, one would be rebuilding your performance counters. From command prompt run:
lodctr /R
Then restart the nsclient service, and try to schedule and immediate check for your cpu check service in nagios XI.
lodctr /R
Then restart the nsclient service, and try to schedule and immediate check for your cpu check service in nagios XI.
Re: issue with Windows Agent
I went that route, installed the stable 0.39 agent 32 bit,
ran the command lodctr /R, and restarted the agent
same results...
ran the command lodctr /R, and restarted the agent
same results...