Still having trouble with npcd...
Re: Still having trouble with npcd...
This is good news!
Thanks for the feedback!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Still having trouble with npcd...
Good deal! Glad to hear it. We're doing some final testing for the 1.8 release, but we're going to include the new npcd version in 1.8.
@MathieuS - I accidentally left some Makefiles in the above tarball for a 32bit machine, so if you're using a 64bit system just wait for the 1.8 release, or else it will break when it compiles.
@MathieuS - I accidentally left some Makefiles in the above tarball for a 32bit machine, so if you're using a 64bit system just wait for the 1.8 release, or else it will break when it compiles.
Re: Still having trouble with npcd...
I'll wait for the update. Seems that I've chosen a bad time to go on a holiday
. Glad you found the problem though! You guys deliver great support!
Re: Still having trouble with npcd...
I've noticed something. Although I have a cron that restarts the npcd service every hour there are still some problems. If I do the command "top" then after a while I see multiple npcd PID's. When I do "service npcd status" I see only one PID being used. But if I do "pgrep npcd" I see all the PID's. This would suggest there are 2 ghost instances running of npcd?
You do not have the required permissions to view the files attached to this post.
Re: Still having trouble with npcd...
What you're seeing there is that npcd spawns multiple child threads. The default thread limit for npcd is 5. This setting is controlled in the /usr/local/nagios/etc/pnp/npcd.cfg file.
Re: Still having trouble with npcd...
Ok, but when I look in the npcd.cfg I see "npcd_max_threads = 5" but there are 7 PID's. Is this possible?
Re: Still having trouble with npcd...
What you you running to look for the parent process?
It's possible there's something goofy from the process being restarted from cron, but that *shouldn't* matter.
How about we just hurry up and get our 1.8 release out the door? I'm hoping to have it out by the end of the day ; )
Code: Select all
ps aux | grep npcdHow about we just hurry up and get our 1.8 release out the door? I'm hoping to have it out by the end of the day ; )
Re: Still having trouble with npcd...
I'm just back from vacation and I was wondering if the NPCD problem is solved in the new 1.8 release?
Re: Still having trouble with npcd...
Yeah, we updated pnp in the latest version, and it appears to have fixed the issue for multiple users.