Cannot find Host in service escalation

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
User avatar
JohnFLi
Posts: 559
Joined: Mon Jun 17, 2013 3:11 pm

Re: Cannot find Host in service escalation

Post by JohnFLi »

it wouldn't let me add a forth picture.


define service {
host_name BearCam
service_description Ping
check_command check_ping!!!!!!!!
max_check_attempts 5
check_interval 5
retry_interval 1
check_period xi_timeperiod_24x7
notification_interval 60
notification_period xi_timeperiod_24x7
contacts myEmail
_xiwizard genericnetdevice
register 1
}
You do not have the required permissions to view the files attached to this post.
Everybody is somebody else’s weirdo
User avatar
JohnFLi
Posts: 559
Joined: Mon Jun 17, 2013 3:11 pm

Re: Cannot find Host in service escalation

Post by JohnFLi »

Well, somethign was amiss for sure.

I deleted the Service Escalation, applied config....
Remade the Service Escalation (with all the same settings and hosts)....Applied Config

Went to the services of BearCam, deleted (it was happy)
Deleted the BearCam host, applied.

Nagios is now fine again.

Wierd.


But I still have
# tail -50 /var/log/mysqld.log
150731 14:15:03 [ERROR] /usr/libexec/mysqld: Table './nagios/nagios_customvariablestatus' is marked as crashed and should be repaired
150731 14:15:03 [ERROR] /usr/libexec/mysqld: Table './nagios/nagios_servicestatus' is marked as crashed and should be repaired
150731 14:15:03 [ERROR] /usr/libexec/mysqld: Table './nagios/nagios_customvariablestatus' is marked as crashed and should be repaired
150731 14:15:03 [ERROR] /usr/libexec/mysqld: Table './nagios/nagios_servicestatus' is marked as crashed and should be repaired
150731 14:15:03 [ERROR] /usr/libexec/mysqld: Table './nagios/nagios_customvariablestatus' is marked as crashed and should be repaired
150731 14:15:03 [Note] /usr/libexec/mysqld: Normal shutdown
Everybody is somebody else’s weirdo
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Cannot find Host in service escalation

Post by Box293 »

For the mysql error you'll need to do:

Code: Select all

cd /usr/local/nagiosxi/scripts/
./repair_databases.sh
This may take a while to complete. Once it has, please scroll back up through the history to make sure there were not any database errors (you may see an ndo2db error when stopping the service but this is ok).
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
JohnFLi
Posts: 559
Joined: Mon Jun 17, 2013 3:11 pm

Re: Cannot find Host in service escalation

Post by JohnFLi »

yup...it looks good now.

Thanks.
Everybody is somebody else’s weirdo
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: Cannot find Host in service escalation

Post by hsmith »

JohnFLi wrote:yup...it looks good now.

Thanks.
Are we all right to mark this one as resolved?
Former Nagios Employee.
me.
User avatar
JohnFLi
Posts: 559
Joined: Mon Jun 17, 2013 3:11 pm

Re: Cannot find Host in service escalation

Post by JohnFLi »

please do
Everybody is somebody else’s weirdo
Locked