Go to All Forums

Possibility of providing environment variable in apminsight.conf file

hi,

about ruby gem : site24x7_apminsight (1.1)

I tried this, but it didn't work.

https://support.site24x7.com/portal/helpcenter/articles/is-it-possible-to-provide-environment-variable-in-apminsight-conf-file


  1. [root@server1 current]# export site247apminsight_license='aaaa****************'
  2. [root@server1 current]# echo $site247apminsight_license
  3. aaaa****************
  4. [root@server1 current]# cat apminsight.conf
  5. application.name=sample_app
  6. license.key={site247apminsight_license}
  7. agent.server.port=8080
  8. apminsight.log.level=WARNING
  9. [root@server1 current]# bundle exec rails c production
  10. [DEVISE] Devise.use_salt_as_remember_token is deprecated and has no effect. Please remove it.
  11. Loading production environment (Rails 3.2.8)
  12. irb(main):001:0> ManageEngine::APMObjectHolder.instance.config.license_key
  13. => "{site247apminsight_license}"
  14. irb(main):002:0> ENV["site247apminsight_license"]
    => "aaaa****************"


Like (2) Reply
Replies (3)

Re: Possibility of providing environment variable in apminsight.conf file

Hi,

Apologies for the inconvenience. We would like to confirm, if you have downloaded the agent from rubygems.org site?

There is a minor version difference between the agents in our webclient and rubygems.org site and we will update both the places to be in sync, by this week.

Download the agent from Site24x7 webclient APM section, and let us know, if you face the issue in that agent too.

We can have our developer take a remote session and resolve the issues at your end.

Regards,
Raji.

Like (0) Reply



Was this post helpful?