Spoke too soon - same problem occurring...

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
PhilG
Posts: 286
Joined: Thu Jan 16, 2014 10:24 am

Spoke too soon - same problem occurring...

Post by PhilG »

https://support.nagios.com/forum/viewto ... 16&t=41049

I tried to add the Windows server/Host, but got the "Configuration verification failed" message.
Newbie '14
avandemore
Posts: 1597
Joined: Tue Sep 27, 2016 4:57 pm

Re: Spoke too soon - same problem occurring...

Post by avandemore »

Can you repeat the requests I made in the previous thread?
Previous Nagios employee
PhilG
Posts: 286
Joined: Thu Jan 16, 2014 10:24 am

Re: Spoke too soon - same problem occurring...

Post by PhilG »

Attached, since I received the following after I copy/pasted the output into this post and tried to Submit:
"Your message contains too many URLs. The maximum number of URLs allowed is 10."
You do not have the required permissions to view the files attached to this post.
avandemore
Posts: 1597
Joined: Tue Sep 27, 2016 4:57 pm

Re: Spoke too soon - same problem occurring...

Post by avandemore »

That output indicates the Apply Configuration is working...?

How are you adding the the Windows server/Host?
Previous Nagios employee
PhilG
Posts: 286
Joined: Thu Jan 16, 2014 10:24 am

Re: Spoke too soon - same problem occurring...

Post by PhilG »

I have added a different test Windows Server using the Windows Server Wizard, and only chose "Ping" as a service.

The entry was added with no issue.

I have deleted and applied configuration on the test server entry and that entry was removed with no issue.

I will try to add my initial production Windows server as a Host with some service checks now and will report back with the result as soon as I can. The Host will be using NSClient++ 0.4.3.143.
Newbie '14
PhilG
Posts: 286
Joined: Thu Jan 16, 2014 10:24 am

Re: Spoke too soon - same problem occurring...

Post by PhilG »

"Configuration verification failed".
"/usr/local/nagios/etc/services/<Windows_Server>.cfg" exists.
"/usr/local/nagios/etc/hosts/<Windows_Server>.cfg" exists.

The Windows_Server and its affiliated services do NOT appear in Nagios XI web monitoring console.


PhilG wrote:I have added a different test Windows Server using the Windows Server Wizard, and only chose "Ping" as a service.

The entry was added with no issue.

I have deleted and applied configuration on the test server entry and that entry was removed with no issue.

I will try to add my initial production Windows server as a Host with some service checks now and will report back with the result as soon as I can. The Host will be using NSClient++ 0.4.3.143.
Newbie '14
avandemore
Posts: 1597
Joined: Tue Sep 27, 2016 4:57 pm

Re: Spoke too soon - same problem occurring...

Post by avandemore »

The Windows_Server and its affiliated services do NOT appear in Nagios XI web monitoring console.
Are they in XI > Configure > CCM > Hosts/Services? Are they disabled?
Previous Nagios employee
PhilG
Posts: 286
Joined: Thu Jan 16, 2014 10:24 am

Re: Spoke too soon - same problem occurring...

Post by PhilG »

If I understand you, the Windows_Server is appearing in XI > Configure > CCM > Monitoring > Hosts/Services.
I noted that the Host and its respective Services are appearing in that menu area, and appear to have the "Active" check selected.

Now when I go into my Home Dashboard (is using "Service Status"), the Host and Services appear now, but starting to display Critical for all but "Ping" at this time with message:
connect to address <Windows_Server_IP_Address> and port 12489: Connection refused

I thought the client is supposed to communicate via port 5666.

I'll do some more checking on the client end and with our Firewall guy(s) tomorrow. Time to leave right now.

avandemore wrote:
The Windows_Server and its affiliated services do NOT appear in Nagios XI web monitoring console.
Are they in XI > Configure > CCM > Hosts/Services? Are they disabled?
Newbie '14
avandemore
Posts: 1597
Joined: Tue Sep 27, 2016 4:57 pm

Re: Spoke too soon - same problem occurring...

Post by avandemore »

NRPE runs on port 5666 and the NSClient Windows Agent runs on 12489. Access to both may be required depending on your setup although generally speaking you can do everything with just one or the other. For example some wizard will generate services utilizing check_nt which connects directly to NSClient.
https://docs.nsclient.org/tutorial/nagios/nrpe.html
https://assets.nagios.com/downloads/nag ... ios-XI.pdf

Regarding:
"Configuration verification failed".
"/usr/local/nagios/etc/services/<Windows_Server>.cfg" exists.
"/usr/local/nagios/etc/hosts/<Windows_Server>.cfg" exists.
Please send a screenshot of this.
Previous Nagios employee
PhilG
Posts: 286
Joined: Thu Jan 16, 2014 10:24 am

Re: Spoke too soon - same problem occurring...

Post by PhilG »

After some research and testing, it appears that one must provide an entry in the Service Description field in the Windows Server Wizard in order to avoid the error.

Suggestion: To me, the Service Description should not be a requirement, or at least the Windows Service Wizard should add the "service_description" field and add a blank reference, or not flag that entry as a problem during the Apply Configuration process.

All is working well at this time.

Thank you.
Newbie '14
Locked