How to Configure WINRPE with a Domain Service Account

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
charger1129
Posts: 5
Joined: Wed Jan 25, 2017 2:44 pm

How to Configure WINRPE with a Domain Service Account

Post 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.
avandemore
Posts: 1597
Joined: Tue Sep 27, 2016 4:57 pm

Re: How to Configure WINRPE with a Domain Service Account

Post 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/
Previous Nagios employee
charger1129
Posts: 5
Joined: Wed Jan 25, 2017 2:44 pm

Re: How to Configure WINRPE with a Domain Service Account

Post 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?
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: How to Configure WINRPE with a Domain Service Account

Post 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.
charger1129
Posts: 5
Joined: Wed Jan 25, 2017 2:44 pm

Re: How to Configure WINRPE with a Domain Service Account

Post 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
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: How to Configure WINRPE with a Domain Service Account

Post 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/
Former Nagios Employee
charger1129
Posts: 5
Joined: Wed Jan 25, 2017 2:44 pm

Re: How to Configure WINRPE with a Domain Service Account

Post 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?
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: How to Configure WINRPE with a Domain Service Account

Post 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.
Former Nagios Employee
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: How to Configure WINRPE with a Domain Service Account

Post 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?
Former Nagios employee
Locked