Aaron - you're in luck, my friend. I just posted the Grammar Files User's Guide to the KB last night.
There are database changes that need to be created in order for the .gm file to appear in the GUI. They're not loaded straight from the directory. These changes are noted in the BladeLogic Grammar User's Guide.
Also, remember these two things:
1) You'll need to restart the App Server for the .gm file to be recognized and show up in the GUI, as these are cached at startup.
2) A bad grammar file could possibly crash the application server.
Finally, if you've got any questions, Jarrod is the grammar guru in PS.
This document appears to be out of date.
One of the guys at Capgemini (Christos Fragopulos) has added in the solaris patch grammar file
but he had to work out some discrepancies in the document.
The implementation of Ops Mgr is on Windows using MS-SQL Server.
Here are the discrepancies Christos found:
1. nsh/scripts doesn't exist.
- The grammar files are in OM/scripts
2. config_file_meta doesn't exist.
- The table used is server_config_default.
3. The fields in server_config_default are in a different order to those listed in config_file_meta
- The order of fields in server_config_default are:
This ties up with the schematic given to us in January.
4. Step 6 is not required.
- The grammar file is immediately available in CM.
Sorry - that document was passed to my from Jarrod or Greg a few months ago, and it was created, never modified a year or so ago... so, yes, i suppose it would be out of date. thanks for the updated info. I'll fix it.
I've just noticed that the doc doesn't mention what the + and * at the end of key definitions means.
I'm guessing that the * means any number of characters (including 0) and the + means at least one.
Would you say that is correct?
I believe that you are right, though for a final answer, I'll have to defer to Jarrod, as he wrote the doc and has much more experience with grammars than do I.
Someone around the office may be able to help, if anyone's reading this, too.
It is in the document and follows standard Regular Expression syntax. + is 1 or more, * is 0 or more, . is any character
Yep; I've found it now.
Guess that's what I get for skimming documents and only referring to the sections I think I need! :)