Owner of Nagios Folder Changes / Nagios User Dissapears

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.
Locked
pmfunder
Posts: 19
Joined: Wed Jul 25, 2012 9:31 am

Owner of Nagios Folder Changes / Nagios User Dissapears

Post by pmfunder »

Hi All,

I have NRPE and Nagios Plugins running on remote servers. Everything is functioning fine, but every now and then (seems random) I will notice service connection errors from Nagios XI. The problem is that the owner of the /usr/local/nagios AND /usr/local/nagios/libexec folder changes to 34806.34806 instead of nagios.nagios

The root solution to fixing this problem is re-adding the nagios user again:

Code: Select all

./usr/sbin/useradd nagios
In which the system says "user 'nagios' already exists", and also has a few other lines about the nagios profile which I don't have on hand right now, and can't obtain until the issue occurs again. I've noticed that when I add the nagios user when there is no problem, all I see is adduser: "user 'nagios' already exists". I will try to get this additional output so we can further debug the problem.

In the meantime, any idea as to what could be causing this?

Regards
Phil

I'm using RHEL release 6.3 server. Linux 2.6.32-279.el6.x86_64 x86_64 with Proxy
Locked