When an account is created in Fusion 4.1.5 with the "Email User Account Information" option checked, no username is passed along in the email received, it simply displays "Username: none".
This passed Nagios internal QA testing, so lets assume it was by design. In that case, what is the purpose of not displaying the UID? Furthermore, if this is not intentional, can we get a fix ASAP?
Email User Account Info DOES NOT DISPLAY USERNAME?
Email User Account Info DOES NOT DISPLAY USERNAME?
Nagios XI 5.9.1 (8 Servers)
Nagios Fusion 2024R1.0.2
Nagios Fusion 2024R1.0.2
Re: Email User Account Info DOES NOT DISPLAY USERNAME?
This is definitely not "by design". I filed an internal bug report (task_id=13680), and our developers will be looking into it as soon as they can. Thank you!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Email User Account Info DOES NOT DISPLAY USERNAME?
Update:
Here's a fix for you. Open vi /usr/local/nagiosfusion/html/admin/users.php in a text editor, and change lines 379 to 385 to look like this:
Note: You will be replacing $username with $server_username.
Let us know if this helped.
Here's a fix for you. Open vi /usr/local/nagiosfusion/html/admin/users.php in a text editor, and change lines 379 to 385 to look like this:
Code: Select all
foreach ($user_mapping as $server_id => $server_username) {
if ($server_username == 'none') {
delete_current_mapped_user($server_id, $user_id);
} else {
set_current_mapped_user($server_id, $server_username, $user_id);
}
}
Let us know if this helped.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Email User Account Info DOES NOT DISPLAY USERNAME?
Issue resolved by changing three (3) occurrences of $username to $server_username.
Please send my "Nagios bug hunter of the month" trophy in the mail.
Thanks again,
Please send my "Nagios bug hunter of the month" trophy in the mail.
Thanks again,
Nagios XI 5.9.1 (8 Servers)
Nagios Fusion 2024R1.0.2
Nagios Fusion 2024R1.0.2
Re: Email User Account Info DOES NOT DISPLAY USERNAME?
LOLPlease send my "Nagios bug hunter of the month" trophy in the mail.
Let us know if you have any more questions.
Be sure to check out our Knowledgebase for helpful articles and solutions!