Zabbix monitoring

Hi,

when trying to enable monitoring for zabbix , I am getting follow error on my command line.

Please help !!

[root@localhost stackstorm]# st2 pack install zabbix
Failed to authenticate with credentials provided in the config.
ERROR: 401 Client Error: Unauthorized
MESSAGE: Invalid or missing credentials for url: http://127.0.0.1:9100/tokens

[root@localhost stackstorm]# cd /root/
[root@localhost ~]# st2 pack install zabbix
Failed to authenticate with credentials provided in the config.
ERROR: 401 Client Error: Unauthorized
MESSAGE: Invalid or missing credentials for url: http://127.0.0.1:9100/tokens

As shown at the error message, the reason why you can’t do that is because you haven’t been authenticated yet I think.
And you can do it by st2 login command. Please see below document which describes about authentication for more information.
https://docs.stackstorm.com/authentication.html