Jump to content

How do you read in Default Properties from within a script?


Recommended Posts

I wanted to set 3 system-wide variables/properties which I can call/read into my scripts. I've used the Default Properties windows from System Dashboard\Config\Configurations\Properties. 

Having added them, I can't find a way to read them in from a script. Is there a way to collect them?

I've no experience with collecting via SQL and it's a cloud-hosted instance, so I can't look around the database either.

Thanks

Matthew   

Link to post
Share on other sites

Have a look at the internal monitor called LT - Agent Out Dated. It calls 3 properties from the same place you've put them in; here's the answer from that:

SELECT `value` FROM properties WHERE `name` = '_sysAgentVersionLinux'

  • Like 1
Link to post
Share on other sites
  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...