Hello all,
a current project of mine uses the Zabbix API from a mobile platform (iOS and Android) to communicate with a zabbix server.
While all of this is working wonderfully, I would like to keep the load on the server when it comes to generating graph images and to a lesser important degree maps.
I know that I can add the needed groups with read only access to the Guest group to access for example the charts2.php directly. This works perfectly, of course.
Then again, this solution is not one I prefer or think I can get away with, as anyone could now access the graphs.
Is there a way to basically use the authtoken from the API to also access the php-frontend, like replacing the Session ID or something?
I know that it can be done via Curl, but I don't have this in the frameworks I am using.
Is this possible without changing the frontend code?
best regards
tuo
a current project of mine uses the Zabbix API from a mobile platform (iOS and Android) to communicate with a zabbix server.
While all of this is working wonderfully, I would like to keep the load on the server when it comes to generating graph images and to a lesser important degree maps.
I know that I can add the needed groups with read only access to the Guest group to access for example the charts2.php directly. This works perfectly, of course.
Then again, this solution is not one I prefer or think I can get away with, as anyone could now access the graphs.
Is there a way to basically use the authtoken from the API to also access the php-frontend, like replacing the Session ID or something?
I know that it can be done via Curl, but I don't have this in the frameworks I am using.
Is this possible without changing the frontend code?
best regards
tuo
Comment