Page 1 of 1

Email reports fails

Posted: Mon Nov 11, 2013 6:04 am
by mrbrico
NagiosXI 2012R2.5

Issue
Downloading pdf report works fine, sending the report via email ends up with empty report

httpd error log warning certificate common name does not match hostname

I checked the CN in the cert and it matches.. I am not sure where its getting the CN mentioned in the error

WARNING: certificate common name `access.qualitas-it.com' doesn't match requested host name `access.centerpriseps.co.uk'.
HTTP request sent, awaiting response... 404 Not Found

Cert subject output
subject= /C=UK/ST=London/L=London/O=Centerprise International/OU=Professional Services/CN=access.centerpriseps.co.uk

Thanks in advance

Re: Email reports fails

Posted: Mon Nov 11, 2013 11:48 am
by abrist
Do you use ssl then?

Re: Email reports fails

Posted: Wed Nov 13, 2013 5:44 am
by mrbrico
Hi

Yes SSL is enabled, although the error is the same if I access using http..

Re: Email reports fails

Posted: Wed Nov 13, 2013 1:51 pm
by lmiltchev
Go to CCM->Manage System Config and post a screenshot of this page. Also, run the following command and post the output:

Code: Select all

cat /etc/hosts

Re: Email reports fails

Posted: Thu Nov 14, 2013 12:18 pm
by mrbrico
Hosts file
127.0.0.1 localhost.localdomain localhost.localdomain localhost4 localhost4.localdomain4 localhost
172.20.10.126 qualngs.local.qualitas-it.net qualngs
::1 localhost.localdomain localhost.localdomain localhost6 localhost6.localdomain6 localhost

I do not see anything related to the error though..

Re: Email reports fails

Posted: Thu Nov 14, 2013 4:37 pm
by lmiltchev
Can you go to Admin->Manage System Config and clear out temporarily the text from the "External URL" text box, click on the "Update Settings", and test reporting again? I believe this can be causing the issue?

Re: Email reports fails

Posted: Thu Nov 14, 2013 4:53 pm
by mrbrico
I removed the external address and it does now work..

Thank you very much for the help