Page 2 of 2

Re: Inboundnrdp passive - Some services host seldom get upd

Posted: Wed Oct 28, 2020 4:58 pm
by ssax
For one of the hosts that you know has updated in NagiosActive but isn't showing the update in NagiosCentral, please run this command against the nagios.log file (if it occurred today) or against the log file in /usr/local/nagios/var/archives that contains it:

Code: Select all

grep 'HOSTNAME' /usr/local/nagios/var/nagios.log
Do you see it trying to submit the result? If it fails to find the host/service you would see this message:

Code: Select all

Error: Got check result for service 'PING' on host 'XxXxXxXx'. Unable to find service

Re: Inboundnrdp passive - Some services host seldom get upd

Posted: Thu Oct 29, 2020 7:22 am
by flashmannag
Hi ssax

First let me confirm that there's no AD integration.

I have tried with a couple of hosts that are not being updated properly and in the nagios.log I only get an ocasional 'SERVICE ALERT' when we receive data from a alerted service.

Code: Select all

[1603938795] SERVICE ALERT: HOSTNAME;FS Discovery;CRITICAL;HARD;1;DISK CRITICAL - /var/lib/containers/storage/overlay is not accessible: Permission denied
Or this kind of warning. Completely normal otoh as we don't have contacts in this Nagios.

Code: Select all

[1603944120] Warning: Service 'Swap Usage' on host 'HOSTNAME' has no default contacts or contactgroups defined!
Got some of those 'Unable to find service errors' but few to be tha main reason for the issue as we have thousands not updated.

Code: Select all

# grep 'Unable to find service' nagios.log | wc -l
133
Should I look out for anything in the sending ActiveNagios?

Thanks and best regards.

Re: Inboundnrdp passive - Some services host seldom get upd

Posted: Thu Oct 29, 2020 4:30 pm
by ssax
Those are normal.

Please create a ticket for this and include a link back to this forum thread so we can get a remote session setup:

https://support.nagios.com/tickets/

I don't think you're hitting the same issue as @BanditBBS, I just did a remote and do not see the error he was seeing in your debug logs.

Let's also check the DB for duplicates:
- Change HOSTNAME to one of the hosts that you are sure isn't updating

Code: Select all

mysql -uroot -pnagiosxi -h 127.0.0.1 nagios -e "select * from nagios_objects where name1 like '%HOSTNAME%';"
Include that info in the ticket.

Re: Inboundnrdp passive - Some services host seldom get upd

Posted: Thu Nov 05, 2020 2:50 pm
by ssax
Locking thread, ticket received, we will continue support through the ticket.

Thank you!