Cloverleaf idx and msg files saving in folder on a daily basis. These files should be auto generated for each day. Can’t figure out how to configure for this.
On 5.8 there an auto save option much like the process history log save option. If you are on an earlier version there is perl script in the contrib directory that works will. I think its called hcicyclesavemsg or something like that. You can set it up to work from cron.
– our installation path is /hci/cis5.8; substitute yours if different
– the script hcicyclesavemsgs is in /hci/cis5.8/integrator/contrib which is in the PATH for userid hci.
We run this for each site, four times a day. It makes assumptions about where the archived smat files will be stored (in ..//exec/processes//Inboundsave or /Outboundsave
I f you have not used hcicyclesavemsgs before, you may need to check the path at the beginning of that file lcoated in the contrib directory. I beleive it still has somehitng like a 3.52 path at the beginning of the file.
Also your thread name limitation is 15 out of the box. If you want longer you would need to modify the format contained in hciconnstatus….
..and I just remembered one thing about that perl script. The way the regex is written to find the thread name from Netconfig is a bit weird. If you have two thread names that have the same/similar name, like conn_1_test and conn_1_prod, then only one thread name will be picked up. I found this out the hard way along with the 15 character limit 😳
Thank you all for your help, we are v5.7. I have the hcicyclesavemsgs file in contrib but nothing said about how to implement the script. Crontab(where do you configure for this)?
create a file, like crontab_entry. Then to run “crontab crontab_entry” from the unix prompt. This put what you have in the file into cron memory. I like to create a file incase someone gets fancy and messes up with crontab -e or just runs crontab with no filename 🙄