Nagios XI 2.8c
Centos 6 64 bit
I found an interesting issue with sending out reports. We created a user that logs in automatically. After that we click on reports and choose the availability report. Next we click on the email button and try sending out a report. This is the error I get:
Report failed to send. ARGV: Array ( [0] => /usr/local/guardian/html/includes/components/scheduledreporting/sendreport.php [1] => --report=nstjaj [2] => --username=generic_view [3] => only ) ARGS: Array ( [report] => nstjaj [username] => generic_view [0] => only ) Error: Bad username
It puts up a big nice debugging message for us.
Can you give me some clues as to what is going on?
Invalid user with reports
Re: Invalid user with reports
I was not able to recreate the issue... I created a user, called "test-auto":
Authorization Level = User
Can see all hosts and services = checked
I logged in once as this user to accept the License Agreement. I set this user to auto-login, auto-logged in as "test-auto", and sent an Availability Report to users email successfully...
Did you follow the same steps? BTW, do you have error reporting enabled in the "/etc/php.ini" file?
Authorization Level = User
Can see all hosts and services = checked
I logged in once as this user to accept the License Agreement. I set this user to auto-login, auto-logged in as "test-auto", and sent an Availability Report to users email successfully...
Did you follow the same steps? BTW, do you have error reporting enabled in the "/etc/php.ini" file?
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Invalid user with reports
I'll check that out today.
Re: Invalid user with reports
Sure, let us know how it went.
Be sure to check out our Knowledgebase for helpful articles and solutions!