Page 1 of 1
localhost Pending Error
Posted: Wed Sep 17, 2014 6:59 am
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
Re: localhost Pending Error
Posted: Wed Sep 17, 2014 9:51 am
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:
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.
Re: localhost Pending Error
Posted: Wed Sep 17, 2014 10:51 am
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
Re: localhost Pending Error
Posted: Wed Sep 17, 2014 10:59 am
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?
Re: localhost Pending Error
Posted: Wed Sep 17, 2014 11:11 am
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
Re: localhost Pending Error
Posted: Wed Sep 17, 2014 1:12 pm
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
Re: localhost Pending Error
Posted: Thu Sep 18, 2014 12:36 am
by shailu2014
Hey Box293/tmcdonald
I m appreciate both you to resolve the my issue. Thanks again.....
Thanks,
Sjain
Re: localhost Pending Error
Posted: Thu Sep 18, 2014 9:49 am
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
Glad to see the issue was resolved!