Services on Windows host

您所在的位置:网站首页 a47979d2 Services on Windows host

Services on Windows host

2023-03-03 08:18| 来源: 网络整理| 查看: 265

Board index ‹ Community Support Forums For Nagios Commercial Products ‹ Nagios XI

Commercial Support Clients: Clients with support contracts can get escalated support assistance by visiting Nagios Answer Hub. These forums are for community support services. Although we at Nagios try our best to help out on the forums here, we always give priority support to our support clients.

Services on Windows host This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution. Topic locked 13 posts • Page 1 of 2 • 1, 2 Services on Windows host

by bomahony » Tue Jan 29, 2019 6:49 am

I am back again with another issue! TBH I have not really worked with Windows in a good fifteen years, concentrating more on Unix/Linux and Mainframes. Hence I have no damn clue how to approach these.I have a handful of windows machines in my environment due to stupid software requiring them. Unfortunately I cant take them out the back and shoot them. I have enabled the checks via NSClient++ and enabled the default checks. Nothing else really, as they are just basic windows machines. I am getting different errors across the machines, like below:1. Service Control Manager, The WinHTTP Web Proxy Auto-Discovery Service service depends on the DHCP Client service which failed to start because of the following error: The service cannot be started, either because it is disabled or because it has no enabl2. Microsoft-Windows-DistributedCOM, DCOM got error "1068" attempting to start the service netprofm with arguments "Unavailable" in order to run the server: {A47979D2-C419-11D9-A5B4-001185AD2B89}, Service Control Manager, The Network List Service service depAnd so forth. Anychance someone could give me a pointer on how to resolve or ignore this? bomahony   Posts: 133Joined: Wed Jul 04, 2018 10:46 am Top Re: Services on Windows host

by lmiltchev » Tue Jan 29, 2019 11:18 am

How are these checks configured? Are you using check_nt or check_nrpe with NSClient++? Can you show us the actual check run from the command line, along with the output of it? Be sure to check out our Knowledgebase for helpful articles and solutions! lmiltchev Former Nagios Staff   Posts: 13587Joined: Mon May 23, 2011 12:15 pm Top Re: Services on Windows host

by bomahony » Wed Jan 30, 2019 6:21 am

It is check_nrpe I believe.I am not actually sure how to run it from the cli, but ill have a look on the nsclient++ webpage when i get time this afternoon. Hopefully. bomahony   Posts: 133Joined: Wed Jul 04, 2018 10:46 am Top Re: Services on Windows host

by lmiltchev » Wed Jan 30, 2019 9:22 am

Go to the CCM > Services, click on your service, click on the "Run Check Command" button under the "Common Settings" tab, then click on "Run Check Command, and show us the command and the output of it. Be sure to check out our Knowledgebase for helpful articles and solutions! lmiltchev Former Nagios Staff   Posts: 13587Joined: Mon May 23, 2011 12:15 pm Top Re: Services on Windows host

by bomahony » Wed Jan 30, 2019 9:50 am

Microsoft-Windows-DistributedCOM, DCOM got error "1068" attempting to start the service netprofm with arguments "Unavailable" in order to run the server: {A47979D2-C419-11D9-A5B4-001185AD2B89}, Service Control Manager, The Network List Service service depends on the Network Location Awareness service which failed to start because of the following error: The dependency service or group failed to start., Service Control Manager, The Network Location Awareness service depends on the DHCP Client service which failed to start because of the following error: The service cannot be started, either because it is disabled or because it has no enabled devices associated with it., Microsoft-Windows-DistributedCOM, DCOM got error "1068" attempting to start the service netprofm with arguments "Unavailable" in order to run the server: {A47979D2-C419-11D9-A5B4-001185AD2B89}, Service Control Manager, The Network List Service service depends on the Network Location Awareness service which failed to start because of the follBah seems to be looking for DHCP service which is disabled. Is it possible to exclude these from the eventviewer check ? bomahony   Posts: 133Joined: Wed Jul 04, 2018 10:46 am Top Re: Services on Windows host

by lmiltchev » Wed Jan 30, 2019 10:22 am

What is the actual command that you are running? You showed us only the output but not the command itself. Be sure to check out our Knowledgebase for helpful articles and solutions! lmiltchev Former Nagios Staff   Posts: 13587Joined: Mon May 23, 2011 12:15 pm Top Re: Services on Windows host

by bomahony » Wed Jan 30, 2019 10:29 am

Ah sorry mate:usr/local/nagios/libexec/check_nrpe -H win-001 -c checkeventlogHave to jump through numerous hoops to get at the windows machine, so grabbed the cfg:Code: Select all[/settings/NRPE/server]verify mode = noneinsecure = trueport=5666[/modules]CheckExternalScripts = disabledCheckHelpers = disabledCheckEventLog = enabledCheckNSCP = disabledCheckDisk = enabledCheckSystem = enabledNRPEServer = enabled bomahony   Posts: 133Joined: Wed Jul 04, 2018 10:46 am Top Re: Services on Windows host

by lmiltchev » Wed Jan 30, 2019 2:05 pm

Since you are using NSClient++ with checkeventlog, I would recommend reviewing the official NSClient++ documentation here:https://docs.nsclient.org/0.5.0/reference/windows/CheckEventLog.htmlDepending on the agent's version, you may have a different options and filters. You could probably use something like this:Code: Select all/usr/local/nagios/libexec/check_nrpe -H x.x.x.x -c checkeventlog -a file=System "filter=message not like 'string1' AND message not like 'string2' AND message not like 'string3'"where you substitute "string1/2/3" with something that makes sense, based on the output that you need to get rid of. Note: NSClient++ is not developed or maintained by us (Nagios). We would recommend that (for faster resolution) you also ask your questions on the NSClient++ support forum and get help from the agen't developer. Be sure to check out our Knowledgebase for helpful articles and solutions! lmiltchev Former Nagios Staff   Posts: 13587Joined: Mon May 23, 2011 12:15 pm Top Re: Services on Windows host

by bomahony » Thu Feb 07, 2019 11:27 am

Nice one mate. I have been swamped with load testing and troubleshooting so havent had a chance to even view this forum post Ill have a stab off the below later today and get back to you. Provided I dont get hit over the head with another issue. bomahony   Posts: 133Joined: Wed Jul 04, 2018 10:46 am Top Re: Services on Windows host

by lmiltchev » Thu Feb 07, 2019 12:04 pm

Sure. Let us know if you have any further questions. We will keep the topic open for the time being. Be sure to check out our Knowledgebase for helpful articles and solutions! lmiltchev Former Nagios Staff   Posts: 13587Joined: Mon May 23, 2011 12:15 pm Top Topic locked 13 posts • Page 1 of 2 • 1, 2

Return to Nagios XI

Who is online

Users browsing this forum: No registered users and 23 guests



【本文地址】


今日新闻


推荐新闻


CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3