Search found 11 matches
- Tue Jan 15, 2008 3:53 am
- Forum: Configuration, Maintenance, Troubleshooting
- Topic: Wildcards and log-files with Text-log method
- Replies: 12
- Views: 30176
Quotation Marks
Thanks Max, I adjusted the code and added the use of %~2 as a second option. The fun thing about the first method is that you do not have to use quotation marks. I tried to find a way to have both methods active by finding out if quotation marks are used. This is not hard to do by using this code: S...
- Mon Jan 14, 2008 9:29 am
- Forum: Configuration, Maintenance, Troubleshooting
- Topic: Wildcards and log-files with Text-log method
- Replies: 12
- Views: 30176
Final posting
Hi Max, As you requested I posted the script in the other forum ( http://www.ks-soft.net/cgi-bin/phpBB/viewtopic.php?p=19127#19127 ). I also changed a little bit in the code which now allows search strings up to 8 words :D Please feel free to modify the accompanying text if you find anything unclear...
- Mon Jan 14, 2008 9:23 am
- Forum: Library
- Topic: Check if a string of words is found in a set of files
- Replies: 0
- Views: 32577
Check if a string of words is found in a set of files
The following batch code for NT will help you to check if a string of up to 8 words is found in one or more files. This code can be implemented in HostMonitor as a Shell Script test. HostMonitor Startcmd: cmd /c %Script% %Params% Internal Syntax: script {file(s) to scan, allows wildcards} {search st...
- Mon Jan 14, 2008 5:46 am
- Forum: Configuration, Maintenance, Troubleshooting
- Topic: Wildcards and log-files with Text-log method
- Replies: 12
- Views: 30176
Even more complete
Hi Max, I implemented your suggestion. And to make it even better I added two more things: - the possibility to search for a string of two words - the checked files will be renamed, so they won't be checked again @echo off :-------------------------------------------------------- :: Jump to Help if ...
- Fri Jan 11, 2008 5:11 am
- Forum: Configuration, Maintenance, Troubleshooting
- Topic: Wildcards and log-files with Text-log method
- Replies: 12
- Views: 30176
Integrated file
Hi Max, Since I wanted to have the two batchfiles in just one, I had to change the code. In HostMonitor I could not find how to have one batch script cal another one, so I made one back script out of it. @echo off :-------------------------------------------------------- :: Jump to Help if not all p...
- Wed Jan 09, 2008 3:15 am
- Forum: Configuration, Maintenance, Troubleshooting
- Topic: Wildcards and log-files with Text-log method
- Replies: 12
- Views: 30176
Batch files
Hi Max, I have managed to create batch files to check the appropriate files. Below is a transcript of the two files. These scripts are the manual versions with 'help' info and other parts that will be stripped when used in the HostMonitor of course. file_runcheck.bat @echo off IF "%1"==&qu...
- Mon Jan 07, 2008 3:38 am
- Forum: Configuration, Maintenance, Troubleshooting
- Topic: Wildcards and log-files with Text-log method
- Replies: 12
- Views: 30176
Thanks!
Wow Max,
Thank you for this very elaborate answer!
Indeed I ment the situation when then criterium is experienced in at least one of the files checked.
I am going to work this out and will let you know about the results.
Kind regards,
Gijsbert
Thank you for this very elaborate answer!
Indeed I ment the situation when then criterium is experienced in at least one of the files checked.
I am going to work this out and will let you know about the results.
Kind regards,
Gijsbert
- Fri Jan 04, 2008 6:51 am
- Forum: Configuration, Maintenance, Troubleshooting
- Topic: Wildcards and log-files with Text-log method
- Replies: 12
- Views: 30176
Wildcards and log-files with Text-log method
An application I use generates log files that all have the same file name but all have a different extention. e.g. log.23634 log.56745 log.28764 etc. These extention-numbers correspond with the id of running processes. I tried to use wildcards to monitor these logfiles with the Text-Log method: File...
- Thu Jan 03, 2008 9:29 am
- Forum: Wish list
- Topic: WebSphere MQ
- Replies: 4
- Views: 15098
- Thu Jan 03, 2008 9:28 am
- Forum: Wish list
- Topic: WebSphere MQ
- Replies: 4
- Views: 15098
URL not available
Hi Max,
Thanks for your answer.
One thing though: the URL happens to get me nowhere. I get a 404 on this one. Can you supply me with the correct URL?
Kind regards,
Gijsbert
Thanks for your answer.
One thing though: the URL happens to get me nowhere. I get a 404 on this one. Can you supply me with the correct URL?
Kind regards,
Gijsbert
- Thu Jan 03, 2008 3:10 am
- Forum: Wish list
- Topic: WebSphere MQ
- Replies: 4
- Views: 15098
WebSphere MQ
Hello KS-Soft, Are there any plans to be able to monitor WebSphere MQ items with KS-Monitor, such as QueueManager status, queue depth, channel status, etc? If any other workaround, by means of scripting is available, I would like to hear about that to. We are working with both WebSphere MQ 5.3 and 6...