Hi,
we receive host down messagen from deleted hosts, e.g.
atvieltk5 is DOWN - PROBLEM Host Alert
Nagios XI
Today, 7:19 PMScharf, Thomas
***** Nagios XI Alert *****
Nagios has detected a problem with this host.
Notification Type: PROBLEM
Host: atvieltk5
State: DOWN
Address: atvieltk5.xxx.xxx.com
Info: check_icmp: Failed to resolve atvieltk5.global.baxter.com
Date/Time: 2018-10-29 19:19:44
Respond: http://atvinag003.xxx.xxx. com/nagiosxi/?xiwindow=includes%2Fcomponents%2Fxicore%2Fstatus.php%3Fshow%3Dhostdetail%26host%3Datvieltk5 => if i click on this link i will be forwaded to => see attachment ghosthost.
I can't find an entry in the dashboard or a the hostfile in the repository, i tried https://support.nagios.com/kb/article.php?id=27 but failed. Any suggestions?
Best Regards
notification from deleted hosts ?
notification from deleted hosts ?
You do not have the required permissions to view the files attached to this post.
-
npolovenko
- Support Tech
- Posts: 3457
- Joined: Mon May 15, 2017 5:00 pm
Re: notification from deleted hosts ?
Hello, @scharft. Let's start with checking the database and restarting the NDO2DB daemon. Please run the following commands in order:
echo "truncate table xi_events; truncate table xi_meta; truncate table xi_eventqueue;" | psql nagiosxi nagiosxi
mysqlcheck -r -f -uroot -pnagiosxi --all-databases
service nagios stop
service ndo2db stop
mv /usr/local/nagios/var/ndo2db.lock /usr/local/nagios/var/ndo2db.lock.bak
mv /usr/local/nagios/var/ndo.sock /usr/local/nagios/var/ndo.sock.bak
service ndo2db start
service nagios start
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: notification from deleted hosts ?
everything was fine till:
[root@atvinag003 ~]# mv /usr/local/nagios/var/ndo2db.lock /usr/local/nagios/var/ndo2db.lock.bak
mv: cannot stat `/usr/local/nagios/var/ndo2db.lock': No such file or directory
[root@atvinag003 ~]# mv /usr/local/nagios/var/ndo.sock /usr/local/nagios/var/ndo.sock.bak
mv: cannot stat `/usr/local/nagios/var/ndo.sock': No such file or directory
[root@atvinag003 ~]# service ndo2db start
Starting ndo2db: done.
[root@atvinag003 ~]# service nagios start
Starting nagios: another instance of nagios is already running.
[root@atvinag003 ~]# Starting nagios: another instance of nagios is already running.
[root@atvinag003 ~]# mv /usr/local/nagios/var/ndo2db.lock /usr/local/nagios/var/ndo2db.lock.bak
mv: cannot stat `/usr/local/nagios/var/ndo2db.lock': No such file or directory
[root@atvinag003 ~]# mv /usr/local/nagios/var/ndo.sock /usr/local/nagios/var/ndo.sock.bak
mv: cannot stat `/usr/local/nagios/var/ndo.sock': No such file or directory
[root@atvinag003 ~]# service ndo2db start
Starting ndo2db: done.
[root@atvinag003 ~]# service nagios start
Starting nagios: another instance of nagios is already running.
[root@atvinag003 ~]# Starting nagios: another instance of nagios is already running.
-
npolovenko
- Support Tech
- Posts: 3457
- Joined: Mon May 15, 2017 5:00 pm
Re: notification from deleted hosts ?
@scharft, This is expected:
As far as this message:mv: cannot stat `/usr/local/nagios/var/ndo2db.lock': No such file or directory
mv: cannot stat `/usr/local/nagios/var/ndo.sock': No such file or directory
Please run the following commands:Starting nagios: another instance of nagios is already running.
Have you updated XI just recently? Please upload the init script:service nagios stop
killall -9 nagios
service nagios start
/etc/init.d/nagios
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: notification from deleted hosts ?
the service restart worked, we are running on nagios 5.5.4 and updated 2-3 weeks ago.
the ghost host is still visible through the link from the notification.
the ghost host is still visible through the link from the notification.
Re: notification from deleted hosts ?
Please PM me a fresh copy of your profile, you can download it from Admin > System Profile > Download Profile.