localhost Pending Error

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
shailu2014
Posts: 102
Joined: Thu Apr 24, 2014 3:17 am

localhost Pending Error

Post by shailu2014 »

Hi Team,

I have deployed the Nagios XI in my company and getting the Pending status of localhost.(Error attached)

Pls help to get the resolve this issue.

Thanks,
Shailesh
You do not have the required permissions to view the files attached to this post.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: localhost Pending Error

Post by abrist »

I believe this is a bug that has already been fixed for the next version. Check the template for localhost in the CCM. Does it have a check command? If not, add it.
Go to the CCM --> Host templates --> xiwizard_nagiosxiserver_host.
Set the following check command:

Code: Select all

check_xi_host_ping
And the following for the ARGs:

Code: Select all

$ARG1$: 3000.0
$ARG2$: 80%
$ARG3$: 5000.0
$ARG4$: 100
Save and apply. Localhost host checks should schedule and run now.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
shailu2014
Posts: 102
Joined: Thu Apr 24, 2014 3:17 am

Re: localhost Pending Error

Post by shailu2014 »

Hi Abrist,

Thanks for reply,

I have gone through with your steps but still getting same issue,. (Attached the screen shot).

Kindly suggest to fix the issue....

Thanks,
Sjain
You do not have the required permissions to view the files attached to this post.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: localhost Pending Error

Post by tmcdonald »

Did those values already exist or did you add them yourself? If you added them yourself, did you make sure to then save and click Apply Config afterward?
Former Nagios employee
shailu2014
Posts: 102
Joined: Thu Apr 24, 2014 3:17 am

Re: localhost Pending Error

Post by shailu2014 »

Values is not there then I have added as per your note after that save and click on the Applying configuration.

Thanks,
Sjain
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: localhost Pending Error

Post by Box293 »

I think tmcdonald might have pointed you to the wrong template.

Go to CCM --> Host templates --> linux-server

Make the same changes tmcdonald provided above and apply config, everything should be working now.

FYI this is a good exercise in understanding how Nagios uses templates.
  • Go to CCM
    Hosts
    Click localhost
    Click the Manage Templates button
    Here you can see how the linux-server template is assigned
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
shailu2014
Posts: 102
Joined: Thu Apr 24, 2014 3:17 am

Re: localhost Pending Error

Post by shailu2014 »

Hey Box293/tmcdonald

I m appreciate both you to resolve the my issue. Thanks again..... :D :)

Thanks,
Sjain
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: localhost Pending Error

Post by tmcdonald »

Box293 wrote:I think tmcdonald might have pointed you to the wrong template.
I know abrist and I both have beards, but that doesn't make us the same person :ugeek:

Glad to see the issue was resolved!
Former Nagios employee
Locked