report in excel status host

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
nmarbue79
Posts: 31
Joined: Thu Jul 30, 2020 2:17 am

Re: report in excel status host

Post 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
nmarbue79
Posts: 31
Joined: Thu Jul 30, 2020 2:17 am

Re: report in excel status host

Post by nmarbue79 »

I am attaching the pdf file so you can see it, you only see the nagios login screen
You do not have the required permissions to view the files attached to this post.
User avatar
vtrac
Posts: 903
Joined: Tue Oct 27, 2020 1:35 pm

Re: report in excel status host

Post 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
nmarbue79
Posts: 31
Joined: Thu Jul 30, 2020 2:17 am

Re: report in excel status host

Post 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
User avatar
vtrac
Posts: 903
Joined: Tue Oct 27, 2020 1:35 pm

Re: report in excel status host

Post by vtrac »

Great!! .... locking thread .... :-)
Locked