Page 4 of 5
Re: Nagios 4.1.1 too many zombie process and 100% cpu usage
Posted: Wed Oct 05, 2016 4:47 pm
by tgriep
Take a look at this link for instructions on installing MYSQL on your Solaris server.
https://dev.mysql.com/doc/refman/5.7/en ... ation.html
Re: Nagios 4.1.1 too many zombie process and 100% cpu usage
Posted: Wed Oct 05, 2016 4:49 pm
by jfrickson
If tgriep's suggestion doesn't help, upload your config.log so I can take a look at it. From the bit you posted, it looks like it found the library, but I can't tell if it found the headers.
Re: Nagios 4.1.1 too many zombie process and 100% cpu usage
Posted: Wed Oct 05, 2016 8:28 pm
by sainudani
Look like no 'mysql' installed.
1.Not able to see any process with 'sql' name while Nagios is running.
bash-3.2# ps -ef|grep -i sql
root 5229 5158 0 11:39:56 pts/1 0:00 grep -i sql
bash-3.2#
2.Currenly no user or group with 'mysql' name present on this server.
Just wondering can Nagios work without a database ?
If I install MySQL as part of ndoutil upgrade, will it break my current configurations?
Which version of MySQL is compatible with Nagios 4.1. or ndo 2.1 ?
Attached the config.log
Meanwhile, I will read tgriep's suggestion.
Thanks,
Re: Nagios 4.1.1 too many zombie process and 100% cpu usage
Posted: Wed Oct 05, 2016 8:34 pm
by sainudani
config.log
Re: Nagios 4.1.1 too many zombie process and 100% cpu usage
Posted: Thu Oct 06, 2016 9:01 am
by jfrickson
sainudani wrote:Just wondering can Nagios work without a database ?
If I install MySQL as part of ndoutil upgrade, will it break my current configurations?
Which version of MySQL is compatible with Nagios 4.1. or ndo 2.1 ?
ndoutils is
only used to export Nagios data to a database. If you don't need that data in a database (it's all in the log files) you don't need MySQL or ndoutils.
If you want that information in a database, install any fairly recent version of MySQL or MariaDB, and nodutils. Installing a database and ndoutils will not effect your current configuration.
I hope this clears it up for you!
Re: Nagios 4.1.1 too many zombie process and 100% cpu usage
Posted: Thu Oct 06, 2016 10:21 pm
by sainudani
So, does it mean I cant upgrade ndoutil if MySQL is not installed historically ?
My issue was high cpu usage and too many defunct processes.
And now I end up installing MySQL as part of ndoutil upgrade. Am I on right track?
Is there a way to skip MySQL part and upgrade ndoutil ?
Thanks,
Re: Nagios 4.1.1 too many zombie process and 100% cpu usage
Posted: Fri Oct 07, 2016 8:57 am
by jfrickson
sainudani wrote:So, does it mean I cant upgrade ndoutil if MySQL is not installed historically ?
My issue was high cpu usage and too many defunct processes.
And now I end up installing MySQL as part of ndoutil upgrade. Am I on right track?
Is there a way to skip MySQL part and upgrade ndoutil ?
It sounds to me like you don't need ndoutils at all.
Re: Nagios 4.1.1 too many zombie process and 100% cpu usage
Posted: Sun Oct 09, 2016 10:05 pm
by sainudani
Ok.Thanks.
I will then wait for your test result on Solaris.
Re: Nagios 4.1.1 too many zombie process and 100% cpu usage
Posted: Mon Oct 10, 2016 10:33 am
by dwhitfield
I went ahead and added this thread to the notes at
https://github.com/NagiosEnterprises/na ... issues/285
Since this is a development/testing issue, it might make sense to just follow the github issue directly. Obviously, we can pull the developers in here if you don't have or want a github account.
Re: Nagios 4.1.1 too many zombie process and 100% cpu usage
Posted: Tue Oct 11, 2016 1:51 pm
by jfrickson