Pending check issue

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: Pending check issue

Post by ssax »

You need to run "su - nagios" before running the command.

Thank you
haile711
Posts: 197
Joined: Thu May 28, 2015 7:36 am

Re: Pending check issue

Post by haile711 »

Here is the result running as "su - nagios" ssax,

Code: Select all

[root@MA100DLVMON813 scripts]# su - nagios
[nagios@MA100DLVMON813 ~]$ /usr/local/nagios/libexec/check_icmp -H ma100dlvapl823 -w 3000.0,80% -c 5000.0,100% -p 5
OK - ma100dlvapl823: rta 0.161ms, lost 0%|rta=0.161ms;3000.000;5000.000;0; pl=0%;80;100;; rtmax=0.220ms;;;; rtmin=0.110ms;;;;
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Pending check issue

Post by ssax »

Is this only occurring for the Ping checks (meaning you have other checks that work properly)?
haile711
Posts: 197
Joined: Thu May 28, 2015 7:36 am

Re: Pending check issue

Post by haile711 »

yes ssax, as of moments this only happened to the "Ping check" all the other services are working fine.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Pending check issue

Post by ssax »

Please PM me a copy of your profile, you can download it by going to Admin > System Config > System Profile and click the Download Profile button in the top right corner.
haile711
Posts: 197
Joined: Thu May 28, 2015 7:36 am

Re: Pending check issue

Post by haile711 »

hey ssax,
I have sent you a PM with the system profile. Thank you for your time.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Pending check issue

Post by ssax »

Thank you, received.

I notice all the Ping services are defined in /usr/local/nagios/etc/static, maybe that has something to do with it.

Are any of the Ping services working?

This is very strange, it should be working, we may have to move this into a remote session, please send an email to [email protected] with a descriptive subject and a detailed body with a link back to this thread so that we can get one set up.

Thank you
haile711
Posts: 197
Joined: Thu May 28, 2015 7:36 am

Re: Pending check issue

Post by haile711 »

Good morning ssax,

That is correct all my services are in the static directory, and yes other ping services are working, but now if I add anymore ping services they stay in the pending state until I do "force immediate check"
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Pending check issue

Post by ssax »

Please give me a name of a host that you have that it's failing for, I could've been looking at a working one.
haile711
Posts: 197
Joined: Thu May 28, 2015 7:36 am

Re: Pending check issue

Post by haile711 »

hey ssax,

This one wasn't working ma100dlvapl823 i have to "force immediate check"
Locked