Unconfigured objects not showing up

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
johndoe
Posts: 114
Joined: Fri Oct 28, 2011 10:14 am

Unconfigured objects not showing up

Post by johndoe »

Recently i've had no unconfigured objects showing up, they are using NRDP and they reach the server as can be seen from the logs.
Apr 11 14:10:00 localhost nagios: Warning: Check result queue contained results for service 'MySQL' on host 'testhost' but the service could not be found! Perhaps you forgot to define the service in your config files?
This has happened in the past but i can't recall how it was solved (I guess it was solved on the Customer NAGIOS XI forum which now i have no access to).

Nagios XI 2012R1.6
Nagios XI 2012R2.8c Running on Ubuntu 12.04 Using 99% passive checks for monitoring
Monitoring nearly 800 Passive services spread through roughly 40 machines
Running on an 8 core, KVM virtualized VM, with 15 GB of RAM and using RAMDisk
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Unconfigured objects not showing up

Post by slansing »

Are these NRDP plugin results coming from a Windows server or a Linux server? Has this happened to all of your NRDP objects? Troubleshooting steps will be different for each.
johndoe
Posts: 114
Joined: Fri Oct 28, 2011 10:14 am

Re: Unconfigured objects not showing up

Post by johndoe »

Hi slansing, the normal checks for the machine for objects that are already configured show up, just new ones don't.

They are coming from a linux server (any linux server with a new object to be configured)
Nagios XI 2012R2.8c Running on Ubuntu 12.04 Using 99% passive checks for monitoring
Monitoring nearly 800 Passive services spread through roughly 40 machines
Running on an 8 core, KVM virtualized VM, with 15 GB of RAM and using RAMDisk
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Unconfigured objects not showing up

Post by lmiltchev »

When you run on the client:

Code: Select all

crontab -u nagios -l
do you see the "testhost" in there?
Be sure to check out our Knowledgebase for helpful articles and solutions!
johndoe
Posts: 114
Joined: Fri Oct 28, 2011 10:14 am

Re: Unconfigured objects not showing up

Post by johndoe »

I actually see no crontab for the user

Code: Select all

# crontab -u nagios -l
no crontab for nagios
Nagios XI 2012R2.8c Running on Ubuntu 12.04 Using 99% passive checks for monitoring
Monitoring nearly 800 Passive services spread through roughly 40 machines
Running on an 8 core, KVM virtualized VM, with 15 GB of RAM and using RAMDisk
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Unconfigured objects not showing up

Post by lmiltchev »

Do you see any errors if you try to reinstall NRDS on the client machine?

Code: Select all

./installnrds HOSTNAME INTERVAL
You can view all of the commands you need to run on the client under the NRDS Config Manager. Click on the "Client Install Instructions" next to your config.

Are there any spaces in the hostname, that you are using?
Be sure to check out our Knowledgebase for helpful articles and solutions!
johndoe
Posts: 114
Joined: Fri Oct 28, 2011 10:14 am

Re: Unconfigured objects not showing up

Post by johndoe »

it's NRDP not NRDS.. I believe the problem lies on the SERVER, not the CLIENT :)
Nagios XI 2012R2.8c Running on Ubuntu 12.04 Using 99% passive checks for monitoring
Monitoring nearly 800 Passive services spread through roughly 40 machines
Running on an 8 core, KVM virtualized VM, with 15 GB of RAM and using RAMDisk
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Unconfigured objects not showing up

Post by slansing »

Please run the following:

Code: Select all

tail -50 /var/log/messages

tail -50 /usr/local/nagios/var/nagios.log
Please reply with this information and wrap it in

Code: Select all

  wrap.
johndoe
Posts: 114
Joined: Fri Oct 28, 2011 10:14 am

Re: Unconfigured objects not showing up

Post by johndoe »

Hi Slansing, i have cut this down to fewer lines, some are just repeated OK statuses so not of much value... also the hosts were hidden for security however as previously stated on a previous message you can see there the " Check result queue contained results for service 'TIME' on host 'XXXXX', but the service could not be found! Perhaps you forgot to define the service in your config files?" this tells me that the checks are reaching the server, so no issue with the client here i guess?

Code: Select all

[...]
Apr 16 10:52:19 localhost nagios: Warning: The results of service 'TIME' on host 'XXXXX' are stale by 0d 0h 1m 0s (threshold=0d 0h 4m 0s).  I'm forcing an immediate check of the service.
Apr 16 10:52:19 localhost nagios: Warning: The results of service 'Swap Usage' on host 'XXXXX' are stale by 0d 0h 1m 0s (threshold=0d 0h 4m 0s).  I'm forcing an immediate check of the service.
Apr 16 10:52:19 localhost nagios: Warning: The results of service 'PING' on host 'XXXXX' are stale by 0d 0h 1m 0s (threshold=0d 0h 4m 0s).  I'm forcing an immediate check of the service.
Apr 16 10:52:19 localhost nagios: Warning: The results of service 'TIME' on host 'XXXXX' are stale by 0d 0h 1m 0s (threshold=0d 0h 4m 0s).  I'm forcing an immediate check of the service.
Apr 16 10:52:24 localhost nagios: SERVICE ALERT: vXXXXX;Memory;OK;HARD;1;OK - 22.4% (1718372 kB) used.
Apr 16 10:52:27 localhost rsyslogd-2177: imuxsock begins to drop messages from pid 10577 due to rate-limiting
Apr 16 10:52:28 localhost rsyslogd-2177: imuxsock lost 52 messages from pid 10577 due to rate-limiting
Apr 16 10:52:34 localhost nagios: Warning: Check result queue contained results for service 'PING' on host 'XXXXX', but the service could not be found!  Perhaps you forgot to define the service in your config files?
Apr 16 10:52:34 localhost nagios: SERVICE ALERT: XXXXX;PING;OK;HARD;1;PING OK - Packet loss = 0%, RTA = 0.05 ms
Apr 16 10:52:34 localhost nagios: SERVICE ALERT: XXXXX;Memory;OK;HARD;1;OK - 23.2% (1176488 kB) used.
Apr 16 10:52:34 localhost nagios: SERVICE ALERT: XXXXX;Current Load;OK;HARD;1;OK - load average: 0.08, 0.10, 0.13
Apr 16 10:52:34 localhost nagios: Warning: Check result queue contained results for service 'NAS' on host 'XXXXX', but the service could not be found!  Perhaps you forgot to define the service in your config files?
Apr 16 10:52:34 localhost nagios: SERVICE ALERT: XXXXX;Current Load;OK;HARD;1;OK - load average: 0.01, 0.06, 0.11
Apr 16 10:52:34 localhost nagios: SERVICE ALERT: XXXXX;HTTPS;OK;HARD;1;HTTP OK: HTTP/1.1 200 OK - 4736 bytes in 0.387 second response time
Apr 16 10:52:34 localhost nagios: SERVICE ALERT: XXXXX;Memory;OK;HARD;1;OK - 62.6% (5118156 kB) used.
Apr 16 10:52:34 localhost nagios: SERVICE ALERT: XXXXX;Memory;OK;HARD;1;OK - 47.6% (4876364 kB) used.
Apr 16 10:52:34 localhost nagios: SERVICE ALERT: XXXXX;Memory;OK;HARD;1;OK - 31.2% (1907100 kB) used.
Apr 16 10:52:34 localhost nagios: SERVICE ALERT: XXXXX;Memory;OK;HARD;1;OK - 38.2% (2337784 kB) used.
Apr 16 10:52:34 localhost nagios: SERVICE ALERT: XXXXX;PING;OK;HARD;1;PING OK - Packet loss = 0%, RTA = 0.06 ms
Apr 16 10:52:34 localhost nagios: SERVICE ALERT: XXXXX;Current Load;OK;HARD;1;OK - load average: 0.54, 0.45, 0.51
Apr 16 10:52:34 localhost nagios: SERVICE ALERT: XXXXX;Current Load;OK;HARD;1;OK - load average: 0.36, 0.29, 0.15
Apr 16 10:52:34 localhost nagios: Warning: Check result queue contained results for service 'TIME' on host 'XXXXX', but the service could not be found!  Perhaps you forgot to define the service in your config files?
[...]
Same here:

Code: Select all

[1366110104] SERVICE ALERT: XXXXX;Memory;OK;HARD;1;OK - 37.8% (24935388 kB) used.
[1366110104] SERVICE ALERT: XXXXX;Root Partition;OK;HARD;1;DISK OK - free space: / 7784 MB (85% inode=94%):
[1366110104] SERVICE ALERT: XXXXX;Total Processes;OK;HARD;1;PROCS OK: 127 processes with STATE = RSZDT
[1366110104] Warning: Check result queue contained results for service 'SSH' on host 'XXXXX', but the service could not be found!  Perhaps you forgot to define the service in your config files?
[1366110104] SERVICE ALERT: XXXXX;Root Partition;OK;HARD;1;DISK OK - free space: / 7579 MB (83% inode=94%):
[1366110105] SERVICE NOTIFICATION:XXXXX;XXXXX;Root Partition;OK;xi_service_notification_handler;DISK OK - free space: / 7579 MB (83% inode=94%):
[1366110105] SERVICE ALERT: XXXXX;TIME;OK;HARD;1;TIME OK - 1 second time difference
Nagios XI 2012R2.8c Running on Ubuntu 12.04 Using 99% passive checks for monitoring
Monitoring nearly 800 Passive services spread through roughly 40 machines
Running on an 8 core, KVM virtualized VM, with 15 GB of RAM and using RAMDisk
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Unconfigured objects not showing up

Post by scottwilkerson »

Is the feedproc cron running?

Code: Select all

ps -ef |grep feedproc
If so, are you getting any errors when tailing this log

Code: Select all

tail -f /usr/local/nagiosxi/var/feedproc.log
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked