Inboundnrdp passive - Some services host seldom get updated

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Inboundnrdp passive - Some services host seldom get upd

Post 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
flashmannag
Posts: 6
Joined: Thu Nov 23, 2017 5:56 am

Re: Inboundnrdp passive - Some services host seldom get upd

Post 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.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Inboundnrdp passive - Some services host seldom get upd

Post 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.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Inboundnrdp passive - Some services host seldom get upd

Post by ssax »

Locking thread, ticket received, we will continue support through the ticket.

Thank you!
Locked