Hello all,
I am trying to write a script to obtain certain graphs automatically. When I try and access the graph link directly from my local machine it is successful as I am already authenticated. The link I am using to access the graphs is:
This works fine until I want to access this page on my development machine. When I try and wget this file I receive a page that I am not authenticated and the image is not downloaded. I tried the suggestion from this stackoverflow article: http://stackoverflow.com/questions/1...raph-png-files but I still receive the same error.
The command I tried for authentication is:
wget --no-check-certificate --save-cookies=z.coo -4 --keep-session-cookies -O - -S --post-data='request=&name=user&password=password&autolog in=1&enter=Sign+in' 'http://zabbix.domain/zabbix/index.php?login=1'
Any suggestions on how I can authenticate in order to download the image? The development machine is running Debian.
I am trying to write a script to obtain certain graphs automatically. When I try and access the graph link directly from my local machine it is successful as I am already authenticated. The link I am using to access the graphs is:
This works fine until I want to access this page on my development machine. When I try and wget this file I receive a page that I am not authenticated and the image is not downloaded. I tried the suggestion from this stackoverflow article: http://stackoverflow.com/questions/1...raph-png-files but I still receive the same error.
The command I tried for authentication is:
wget --no-check-certificate --save-cookies=z.coo -4 --keep-session-cookies -O - -S --post-data='request=&name=user&password=password&autolog in=1&enter=Sign+in' 'http://zabbix.domain/zabbix/index.php?login=1'
Any suggestions on how I can authenticate in order to download the image? The development machine is running Debian.