Nagios 4.1.1 too many zombie process and 100% cpu usage

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Nagios 4.1.1 too many zombie process and 100% cpu usage

Post 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
Be sure to check out our Knowledgebase for helpful articles and solutions!
jfrickson

Re: Nagios 4.1.1 too many zombie process and 100% cpu usage

Post 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.
sainudani
Posts: 28
Joined: Mon Sep 05, 2016 8:59 pm

Re: Nagios 4.1.1 too many zombie process and 100% cpu usage

Post 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,
sainudani
Posts: 28
Joined: Mon Sep 05, 2016 8:59 pm

Re: Nagios 4.1.1 too many zombie process and 100% cpu usage

Post by sainudani »

config.log
Attachments
config.log
config.log
(72.67 KiB) Downloaded 464 times
jfrickson

Re: Nagios 4.1.1 too many zombie process and 100% cpu usage

Post 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!
sainudani
Posts: 28
Joined: Mon Sep 05, 2016 8:59 pm

Re: Nagios 4.1.1 too many zombie process and 100% cpu usage

Post 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,
jfrickson

Re: Nagios 4.1.1 too many zombie process and 100% cpu usage

Post 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.
sainudani
Posts: 28
Joined: Mon Sep 05, 2016 8:59 pm

Re: Nagios 4.1.1 too many zombie process and 100% cpu usage

Post by sainudani »

Ok.Thanks.
I will then wait for your test result on Solaris.
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Nagios 4.1.1 too many zombie process and 100% cpu usage

Post 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.
jfrickson

Re: Nagios 4.1.1 too many zombie process and 100% cpu usage

Post by jfrickson »

Locked