Host recovery emails being sent while host is unreachable
-
avandemore
- Posts: 1597
- Joined: Tue Sep 27, 2016 4:57 pm
Re: Host recovery emails being sent while host is unreachabl
I received your profile and have shared it. It's been awhile since we heard from you on this. Is the state of the system the same as when we left off?
Previous Nagios employee
Re: Host recovery emails being sent while host is unreachabl
Yes, problem is still present.
Re: Host recovery emails being sent while host is unreachabl
You have too many nagios processes running, please run these commands to fix that issue (it may resolve the problem):
Then let us know if the issue is resolved.
If it's not, please include the output of this command as well:
Thank you
Code: Select all
service npcd stop
service nagios stop
service ndo2db stop
service mysqld restart
rm -rf /usr/local/nagios/var/rw/nagios.cmd
for i in `ipcs -q | grep nagios |awk '{print $2}'`; do ipcrm -q $i; done
pkill -9 -u nagios
service ndo2db start
service nagios start
service npcd startIf it's not, please include the output of this command as well:
Code: Select all
[ $(grep -c mysql /usr/local/nagiosxi/html/config.inc.php) -eq "2" ] && echo "SELECT relname AS objectname, relkind AS objecttype, reltuples, pg_size_pretty(relpages::bigint*8*1024) AS size FROM pg_class WHERE relpages >= 8 ORDER BY relpages DESC;" | psql nagiosxi nagiosxi || echo "SELECT table_schema as 'DB', table_name AS 'Table', round(((data_length + index_length) / 1024 / 1024), 2) 'Size in MB' FROM information_schema.TABLES ORDER BY (data_length + index_length) DESC \t;" | mysql -uroot -pnagiosxiRe: Host recovery emails being sent while host is unreachabl
The problem looks to be solved, for the past 10 days we had not received false recovery notifications. We will monitor the situation for a couple more days and we will confirm if the issue is resolved permanently.
Thank you very much for your assistance.
Thank you very much for your assistance.
Re: Host recovery emails being sent while host is unreachabl
Sounds good, BIB. We will keep the thread open for a few more days.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Host recovery emails being sent while host is unreachabl
No problem, glad we could help, let us know the results.
Thank you
Thank you
Re: Host recovery emails being sent while host is unreachabl
Hi everyone,
I want to thank you all for assisting us with this problem.
Eventhough changing from check_ping to check_icmp did not help in the first time, after all checks and updates we have done together, we tried once more to change to check_icmp plugin and now it works OK.
Again, thanks to everyone participating.
Kind regards!
I want to thank you all for assisting us with this problem.
Eventhough changing from check_ping to check_icmp did not help in the first time, after all checks and updates we have done together, we tried once more to change to check_icmp plugin and now it works OK.
Again, thanks to everyone participating.
Kind regards!
Re: Host recovery emails being sent while host is unreachabl
Thanks for reporting back your findings. I'll close and lock this post for you but if you have any new issues, feel free to open a new post.
Be sure to check out our Knowledgebase for helpful articles and solutions!