NRPE Check All Service Help

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
kwhogster
Posts: 644
Joined: Wed Oct 14, 2015 6:51 pm
Location: Wood Ridge NJ USA
Contact:

NRPE Check All Service Help

Post by kwhogster »

Nagios Core 4.1

I have this setup for all my Windows servers

Code: Select all

define service {
        host_name                       SERVER6
        service_description             Check All Service
        check_command                   check_nrpe!checkservicestate! -a CheckAll exclude=WLMS
        servicegroups                   AllServices
        check_interval                  1
        use                             generic-service
}
I recently added three new VM Servers and have NRPE working

But this service check gives this error on all three

CRITICAL: RemoteRegistry: stopped (critical)

I checked on all three servers two are Windows 2008 R2 the other is Windows 2012 R2 and on all three the Remote Registry service is running

Any ideas why this is happening on these three and not the others?

Thanks

Tom
Last edited by dwhitfield on Tue Jan 03, 2017 10:55 am, edited 1 time in total.
Reason: marking with green check mark
User avatar
ruffsense
Posts: 140
Joined: Thu Apr 11, 2013 12:40 am

Re: NRPE Check All Service Help

Post by ruffsense »

key : HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\RemoteRegistry
name : DisableIdleStop
REG_DWORD, data : 1

and restart it.
I don't insult, I diagnose.
kwhogster
Posts: 644
Joined: Wed Oct 14, 2015 6:51 pm
Location: Wood Ridge NJ USA
Contact:

Re: NRPE Check All Service Help

Post by kwhogster »

RuffSense

Thanks for the reply
My RemoteRegistry service is not located in that path on the Windows 2008 R2 or the Windows 2012 R2 servers

Mine is here

HKLM\System\CurrentControlSet\Services


SO I added that a a new Dword Key DisableidleStop value 1

restarted the service same error

Thoughts
User avatar
ruffsense
Posts: 140
Joined: Thu Apr 11, 2013 12:40 am

Re: NRPE Check All Service Help

Post by ruffsense »

I checked it myself on windows 2012 r2 it is there or you need to create it.
I don't insult, I diagnose.
kwhogster
Posts: 644
Joined: Wed Oct 14, 2015 6:51 pm
Location: Wood Ridge NJ USA
Contact:

Re: NRPE Check All Service Help

Post by kwhogster »

Ruffsense,

Found it on the Windows 2012 R2 server made the change

funny thing restarted the service and then all three servers started working

The other two are windows 2008 R2 and that key does not exist I checked on my other Windows 2008 R2 servers which this NRPE Check All Services is working and that key does not exist on those servers either.


Thoughts
User avatar
ruffsense
Posts: 140
Joined: Thu Apr 11, 2013 12:40 am

Re: NRPE Check All Service Help

Post by ruffsense »

because it goes idle every 10 minutes but if anyone logon to those server it will stay active.
I don't insult, I diagnose.
kwhogster
Posts: 644
Joined: Wed Oct 14, 2015 6:51 pm
Location: Wood Ridge NJ USA
Contact:

Re: NRPE Check All Service Help

Post by kwhogster »

Thanks

This issue can be locked as resolved.
Locked