Page 1 of 1

Unexpected username

Posted: Thu Mar 24, 2016 1:10 pm
by WillemDH
Anyone can tell me what this is doing exactly? This is a log from the NLS syslog Linux program crond from my Nagios production server.

Code: Select all

(apache) CMD (/usr/bin/php /usr/local/nagiosxi/html/includes/components/scheduledreporting/sendreport.php --report=sq7alm --username=username???? > /dev/null 2>&1)
I ntoticed username username???? is a user that does not exist in Nagios.. How can it be a non existant user still has a report scheduled?

Grtz

Willem

Re: Unexpected username

Posted: Thu Mar 24, 2016 1:42 pm
by lmiltchev
Is it possible that this user existed at one time?

Scheduled reports are run on cron. Even though you may not be able to log in as this particular user, you could remove this entry from the apache crontab:

Code: Select all

crontab -u apache -e

Re: Unexpected username

Posted: Thu Apr 07, 2016 8:54 am
by WillemDH
Ludmill,

You are correct. Seems this user existed some day. Cleaned up the Apache crontab. This should get cleaned up the moment a user is deleted though imho. I don't know if there is already some cleanup script runngin when a user is deleted and if this could be easily implemented..? If so please create a very low severity fr.

Thread can be closed.

Grtz

Re: Unexpected username

Posted: Thu Apr 07, 2016 12:06 pm
by lmiltchev
No problem, Willem - I already posted an internal FR (TASK ID 8239). :)

I am locking the thread.