Sunday, May 26, 2013

Strange Nagios Error

Hi Friends,

Recently, I have migrated our Nagios from One Server to Other. Everything(Installation, configuration and migration) has been completed successfully. Now something starts happening strange "Whenever I tried to access Nagsio from Web Interface, It was so slow and even I have to click 3-4 time on link to get output". It was seriously so irritating. Initially I thought that there may be some issues with Performance of Web Server and its not able to handle CGI request properly and thus taking time.

           But I was worried that for day to day monitoring activities it will be a headache to click one link again and again  to get response. There seems something wrong with server. Then I have searched the logs and found below continuous WARNING messages in nagios.log file.

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Warning: Check result queue contained results for service ' ' on host ' ', but the service could not be foundPerhaps you forgot to define the service in your config files?"
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



After doing some search I found this may be due to two nagios processes running at same time, which were checking all configured processes on different intervals and creating issues. Then I have stopped Nagios using init script. After this when I ran ps -ef to find other nagios process, then it shows me another one :).

Then I though ohhh this was creating issue. Now I have restarted the nagios again and everything seems working fine :).

Thanks!!
Kuldeep

3 comments:

  1. Great Job Guru :-)
    Very nice blog and very Helpful

    ReplyDelete
  2. This article sheds light on some of the peculiar Nagios errors we might encounter! It's always frustrating to troubleshoot monitoring tools, but understanding these errors can significantly improve our system's reliability. For more troubleshooting tips and insights on Nagios, check out Skynode!

    ReplyDelete

Kubernetes 1.31 || Testing the Image Volume mount feature using Minikube

With Kubernetes new version 1.31 ( https://kubernetes.io/blog/2024/08/13/kubernetes-v1-31-release/ ) there are so many features releases for...