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.
How to Configure WINRPE with a Domain Service Account
-
charger1129
- Posts: 5
- Joined: Wed Jan 25, 2017 2:44 pm
-
avandemore
- Posts: 1597
- Joined: Tue Sep 27, 2016 4:57 pm
Re: How to Configure WINRPE with a Domain Service Account
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/
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
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?
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
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.
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
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
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
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
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
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.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?
Former Nagios Employee
Re: How to Configure WINRPE with a Domain Service Account
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