go to post Fabian Haupt · Jan 14, 2022 Have a look at the Store and StoreFiles methods: https://docs.intersystems.com/irislatest/csp/documatic/%25CSP.Documatic....
go to post Fabian Haupt · Aug 30, 2020 For next time, this might be helpfull: https://docs.intersystems.com/irislatest/csp/documatic/%25CSP.Documatic.... In windows it just triggers the service restart (which you can also do from the service.msc terminal), in linux it restarts the daemon. Neither of which will be helpful if apache is properly frozen, in that case you'll have to kill it manually first.
go to post Fabian Haupt · May 9, 2020 You will benefit much more directly by letting your instance have that extra memory directly and not via that added extra step of creating that virtual drive. Give your instance more global buffers. Also from the sounds of it you might want to look at your queries and associated query plans in a bit more detail. You should get in touch with the WRC for that, they're great at sorting out why queries run slow ( you might want to reach out to car-part first, maybe they've fixed some of the queries)
go to post Fabian Haupt · Jun 5, 2019 The datamodel in COS is such that you have multi-modal access to your data in different ways. Having the ability to access your data via objects (class definitions), SQL (tables), and raw globals is what makes it so powerful. Ultimately the data is always stored in globals. The mapping for the other modes of access are done via class definitions. Class definitions are also transparently mapped to SQL tables. So any time you create a class, a corresponding table is being created and vice-versa. The SQL-concept of "views" is separate from all of this and sits on top. @Robert already pointed out the documentation for storage mapping which actually allows you to customize the relationship between the global structure and a class(/table). This is usually not recommended unless you have legacy data you need to access. The default storage strategy does a very good job to store data effectively. Note: Just creating a class will not create the global structure just yet, it will only be created once you start putting data in. Note2: Indices are just additional globals that get added to your class storage. Note3: If you are having trouble with your indices, it might be a good start to open a WRC issue. They have very good people to help you sort through any issues quickly.
go to post Fabian Haupt · Apr 26, 2019 There are quite a few different possible causes for this. A 500 error generally indicates a problem of IIS getting any data from the backend. This could be a permissions issue, or a network issue (among others). Without more information it's hard to tell. If you want to debug yourself, you should start by looking at the CSP Gateway logs (CSP.log), possibly increase the gateway log level (in the gateway management page). This will tell you where to go next. Of you need a quicker solution it would probably help to contact the WRC (https://www.intersystems.com/support-learning/support/), they debug this kind of thing all the time and will be able to sort you out quickly.
go to post Fabian Haupt · Apr 26, 2019 If you're hitting the 511 encoded character limit for a global reference, generally that means you should revisit your data design. What are you trying to do that you hit that limit?
go to post Fabian Haupt · Feb 19, 2019 Yes, you can. See https://docs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls?KEY... for details on what you need to setup.
go to post Fabian Haupt · Feb 13, 2019 Hi Thomas, sorry for the long wait here, I just noticed this. From what I am reading about the OData specification, it is just a standard further clarifying on how to further structure your REST api beyond the general REST guidelines. (https://www.oasis-open.org/committees/tc_home.php?wg_abbrev=odata) As such your starting point to implement this would be the Creating REST Services. While it has been discussed a couple of times, I'm not aware of anyone having done this already. Best, Fab
go to post Fabian Haupt · Sep 24, 2018 Every instance has it's own apache installed. And unless you have manually forced it to not start, you will have it running. The default port for it is 57772.
go to post Fabian Haupt · Aug 22, 2018 Consider contacting the WRC (https://www.intersystems.com/support-learning/support/), we'll be able to have a look at your machine and help sorting out any issues you might have.
go to post Fabian Haupt · Aug 22, 2018 This kind of error is known to come up when using very outdated browsers with current versions of ZEN. But that's just a guess, really you'll have to use the brower's debug tools to figure out which object it doesn't get and why (the one it tries to set the title on)
go to post Fabian Haupt · Jun 27, 2018 You might also use http://docs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls?KEY=... to get more details. Sometimes applications don't actually log anything to ^ERRORS (despite the error message saying so). You'd have to check the code of the csp page you tried to open.
go to post Fabian Haupt · May 9, 2018 For this kind of specific issue, you'll get the best immediate help by contacting the WRC directly: https://www.intersystems.com/support-learning/support/
go to post Fabian Haupt · Mar 28, 2018 There really isn't a general answer as to what the 'best way' (tm) is. There are way too many dependencies on that. It really depends on your workflow and requirements of your backend. Zabbix is very well capable of ingesting SNMP data, just as well as ODBC (https://www.zabbix.com/documentation/3.4/manual/config/items/itemtypes/snmp). Usually the answer to 'the best way' comes down to: what are you most familiar with? To use ODBC you'd need to implement some glue code on the Caché side, same if you were to go with a REST interface. Since you mentioned you have custom indicators, you'll have to write some code in any case. So, again, it comes down to your preferences and preexisting experiences. Evgeny already pointed out one of the local SNMP articles to get you started on this. Cheers, Fab
go to post Fabian Haupt · Mar 20, 2018 This: https://www.regular-expressions.info/ is a very good resource to get started on regexes. Cheers
go to post Fabian Haupt · Feb 1, 2018 The first thing I'd check are the permissions on these files. If you created them as root, they might not be readable for other users?
go to post Fabian Haupt · Jan 8, 2018 you need to add a mapping for api/atelier to the csp gateway in your webserver. see also this previous discussion: https://community.intersystems.com/post/atelier-and-external-web-server
go to post Fabian Haupt · Dec 26, 2017 That's a server side error. Nothing you can do about it, we'll have to wait till they resolve it on the server side. -Fab
go to post Fabian Haupt · Nov 29, 2017 something like this would work: s contains=($BITLOGIC(aa|bb)=aa)||($BITLOGIC(aa|bb)=bb) You could also implement it with w ($ZB(aa,bb,7)=bb)||($ZB(aa,bb,7)=aa)
go to post Fabian Haupt · Nov 27, 2017 I don't think there's a quick answer for these questions. Please open a WRC issue and we can sort this out. -Fab