Unexpected username

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
User avatar
WillemDH
Posts: 2320
Joined: Wed Mar 20, 2013 5:49 am
Location: Ghent
Contact:

Unexpected username

Post 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
Nagios XI 5.8.1
https://outsideit.net
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Unexpected username

Post 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
Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
WillemDH
Posts: 2320
Joined: Wed Mar 20, 2013 5:49 am
Location: Ghent
Contact:

Re: Unexpected username

Post 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
Nagios XI 5.8.1
https://outsideit.net
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Unexpected username

Post by lmiltchev »

No problem, Willem - I already posted an internal FR (TASK ID 8239). :)

I am locking the thread.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked