Page 1 of 1
How to Configure WINRPE with a Domain Service Account
Posted: Wed Jan 25, 2017 2:54 pm
by charger1129
Hi. I am trying to set up WINRPE so that it will monitor my other services on my windows servers however, I want to know if it is possible to use an account other than the default SvcXinet service account that it creates. The issue with this account is that I cannot add it through GPO to have "logon as a service" right to my servers so I need it to be a domain account if possible.
If I change the service after installing WINRPE to a domain account, i can get the service to start. But it never checks in properly to my Nagios so I assume this is related to the way the initial installation is completed.
Re: How to Configure WINRPE with a Domain Service Account
Posted: Wed Jan 25, 2017 5:54 pm
by avandemore
While it looks interesting, WINRPE isn't our product. You should consult their support and documentation for this question.
On the other hand, options like NCPA and NSClient are things we work with:
https://www.nagios.org/ncpa/help.php
https://www.nsclient.org/
Re: How to Configure WINRPE with a Domain Service Account
Posted: Wed Jan 25, 2017 6:10 pm
by charger1129
Ah ok understood.
If I switched over to NSClient++ how difficult would it be to configure it so that it would monitor my windows server and check in to my existing Nagios server?
Re: How to Configure WINRPE with a Domain Service Account
Posted: Thu Jan 26, 2017 10:21 am
by dwhitfield
Well, the difficulty depends on what exactly you are trying to do. Here's are documentation:
https://assets.nagios.com/downloads/nag ... ios-XI.pdf (there is other documentation available, but that's probably a good place to start)
Are you using the Windows monitoring wizard? That uses NSClient by default.
If you have any specific questions in getting it set up, please let us know.
Re: How to Configure WINRPE with a Domain Service Account
Posted: Sat Feb 04, 2017 4:12 pm
by charger1129
Hi. I'm working to set up the NSClient and seeing some errors below. Any idea what I would need to do to resolve those? I assume something in the .INI file.
CPU Utilization
UNKNOWN 02-04-2017 16:11:21 0d 0h 7m 17s 3/3 Unknown command(s): pdm_cpuload
Disk Usage
UNKNOWN 02-04-2017 16:05:17 0d 0h 11m 20s 3/3 Unknown command(s): pdm_disk_c
Ping
OK 02-04-2017 16:06:01 9d 4h 57m 41s 1/3 PING OK - Packet loss = 0%, RTA = 0.79 ms
Swap Usage
UNKNOWN 02-04-2017 16:09:13 0d 0h 9m 25s 3/3 Unknown command(s): pdm_memload
Re: How to Configure WINRPE with a Domain Service Account
Posted: Mon Feb 06, 2017 10:43 am
by rkennedy
You need to define commands in the nsclient configuration file that link to scripts on the Windows machine. It looks like it's expecting pdm_cpuload, pdm_disk_c, and you do not have commands for it. Take a look at this link -
https://docs.nsclient.org/howto/external_scripts/
Re: How to Configure WINRPE with a Domain Service Account
Posted: Fri Feb 10, 2017 8:27 am
by charger1129
Hi. I apologize I'm a bit confused with the link. So for these commands I would need to create external scripts for all of them? They're not defaults in the .INI file?
Re: How to Configure WINRPE with a Domain Service Account
Posted: Fri Feb 10, 2017 1:52 pm
by rkennedy
charger1129 wrote:Hi. I apologize I'm a bit confused with the link. So for these commands I would need to create external scripts for all of them? They're not defaults in the .INI file?
I would look through the nsclient.ini - depending on how you installed it, they could be there by default. If a ctrl+f doesn't show it mentioned anywhere, then yes, you'll need to define it.
Re: How to Configure WINRPE with a Domain Service Account
Posted: Wed Mar 01, 2017 2:18 pm
by tmcdonald
Just checking in since we have not heard from you in a while. Did
@rkennedy's post clear things up or has the issue otherwise been resolved?