Page 2 of 2

Re: report in excel status host

Posted: Thu Jun 24, 2021 3:54 pm
by nmarbue79
Hi,
I have tried it and changed the https to http and verified that the username and password is fine and it generates the pdf but when I open it I only see the main nagios login screen

Re: report in excel status host

Posted: Thu Jun 24, 2021 3:57 pm
by nmarbue79
I am attaching the pdf file so you can see it, you only see the nagios login screen

Re: report in excel status host

Posted: Thu Jun 24, 2021 4:16 pm
by vtrac
Hi,
How are you doing?
As I said before, you must change these values (below) inside the script:

Code: Select all

hostname="x.x.x.x"
username="nagiosadmin"
password="XXXX"
If you don't give the correct "username" and "password", you will only see that login page until you give the correct username & password.

Please NOTE, we are NOT developer. I asked a team member for help and he provided me with the sample script.
The script is just a sample for you to get started. You must find someone in your team to modify it to your needs as we are tech support NOT allowed to write scripts for customer.


Regards,
Vinh

Re: report in excel status host

Posted: Wed Jul 07, 2021 2:38 am
by nmarbue79
It already works for me and I do not get the login screen, I just had to add in the script => curl --noproxy '*'
thank you very much you can close the thread

Re: report in excel status host

Posted: Wed Jul 07, 2021 9:57 am
by vtrac
Great!! .... locking thread .... :-)