File Check

capik79capik79
I want to perform FILE check. Problem now I'm blur when configure it. I want to check if there any file missing inside that folder. But I dont the checking will refer to waht rule? Let say I want to check files in folder C:/demo, then how do i know there are missing file inside that folder?

Pls help me on this. I'm evaluation this product for my company. If it will help then we will proceed to buy this /sware



Regards

Comments

  • AdministratorAdministrator
    ServersCheck only checks if a predefined file can be found or not. Per file you need to define a rule.



    For example if you want to check if a file called example.txt is in your C:demo then you need to define it as such:

    FILEEXIST check with as value c:demosample.txt
  • capik79capik79
    Hi Administrator,

    I'd read at help section taht we can read file content to check list file that we need. SO its mean I create 1 file call filelist.txt, then i put each file name to check? one more thing how do i create device? let say I want to check file inside demo. So the device equal to C:/demo right?
  • AdministratorAdministrator
    A device is typically the computer name, router name etc...



    The device list is managed through the ADMIN tab
  • capik79capik79
    Thx man



    Regards
  • capik79capik79
    I still unable to create a rule for file check. I tried to create rule for file check. When come to step 4 of 5. In help text, it said " The full path to the file (including in its filename) or check the flag to read it from a file. It will then open the filelist.txt in the agendirectory and verify for each filename - one perline - if it exist" the problem is I cant see "flag tp read it from file" but only "Read content from file". But when i check that, no filelist.txt open from whatever directory. Ho to create arule to check list of file from txt file. Please help me on this.



    Regards
  • AdministratorAdministrator
    The filelist.txt needs to be located in your agents subdirectory
  • capik79capik79
    Hi Administrator, thx for the prompt rpl. But where is the agents subdirectory. If can, can u give me full cyle of creating this type of rule. the wizard not help me alot.



    Regards
  • AdministratorAdministrator
    Agents subdirectory is a subdirectory of your main ServersCheck directory.



    I don't know it what folder and on what drive you installed it.



    In there create a file called filelist.txt. Edit it and at the full path to each file (one file per row). Save it.



    Then in the interface, set the flag. Leave the file path in the rule settings empty.



    (see explanation in question mark for the rule when you are in the rule definition)
  • capik79capik79
    Here what I do, I create subdirectory folder inside C:Program FilesServersCheck_Monitoringsubdirectory. Then I create filelist.txt and I insert file name to check : "C:DloadSetuptest123.txt". But it return "DOWN". It should not return down because that file was exist. Pls advice.



    Regards,
  • capik79capik79
    Any advice admnistrator?



    Regards,
  • AdministratorAdministrator
    Did you create the file in

    C:Program FilesServersCheck_Monitoringsubdirectory

    or in

    C:Program FilesServersCheck_Monitoringagents

    (like stated in my posts?)
  • capik79capik79
    Hii Admin,



    I create a file in C:Program FilesServersCheck_Monitoringagents. I leave "Filename (including path)" field empty and check "Read content from file" but it still return "DOWN" Inside filelist.txt and insert this path "C:DloadSetuptest123.txt" is it the right format to insert it? or got different format? Pls Advise





    Regards
  • AdministratorAdministrator
    Seems like the filelist feature is not supported in the trial version. You need to create one rule per file you want to check.
  • capik79capik79
    owh...

    ok thx a lot



    Regards
  • AdministratorAdministrator
    The feature is now added in the trial version of the 6.2.2 version.
  • capik79capik79
    Hi Administrator,

    I'd already install new version. It works, but when i put 1 file in the list that no exist. Checking still return OK. It should return DOWN because that file not exist. Pls advice
  • AdministratorAdministrator
    The flag is set and the file name field is empty?
  • capik79capik79
    Yup, flag was check and file name field is empty
  • capik79capik79
    any advise?





    Regards
  • AdministratorAdministrator
    Run ServersCheck in debug mode and post the output as a reply to this message:

    http://kb.serverscheck.com/index.php?page=index_v2&id=33&c=6
  • capik79capik79
    # M Fri Apr 7 16:04:23 2006 Monitoring_manager instances allowed: 1

    # M Fri Apr 7 16:04:24 2006 Monitoring_manager instances counted: 1

    #

    # M Fri Apr 7 16:04:24 2006 Loading language file: EN.lang

    # M Fri Apr 7 16:04:29 2006 ServersCheck Monitoring Manager

    # M Fri Apr 7 16:04:29 2006 15 Day Evaluation version 6.1.0 - for evaluation purposes use only

    # M Fri Apr 7 16:04:29 2006 Started OK

    # M Fri Apr 7 16:04:29 2006 1 instances

    # 1 Fri Apr 7 16:04:31 2006 Starting Monitoring Rule Thread 1

    # 1 Fri Apr 7 16:04:31 2006 ServersCheck Monitoring Component

    # 1 Fri Apr 7 16:04:31 2006 TRIAL 6.2.2 - for eval only

    # 1 Fri Apr 7 16:04:31 2006 monitoring_rule instances allowed: 1

    # 1 Fri Apr 7 16:04:31 2006 monitoring_rule instances counted: 1

    # M Fri Apr 7 16:04:32 2006 1144317813FILE job queued

    # 1 Fri Apr 7 16:04:32 2006 1144317813FILE - Starting check

    # 1 Fri Apr 7 16:04:32 2006 opening file list

    # 1 Fri Apr 7 16:04:32 2006 1144317813FILE - OK -

    # M Fri Apr 7 16:05:02 2006 1144317813FILE job queued

    # 1 Fri Apr 7 16:05:03 2006 1144317813FILE - Starting check

    # 1 Fri Apr 7 16:05:03 2006 opening file list

    # 1 Fri Apr 7 16:05:03 2006 1144317813FILE - OK -

    # M Fri Apr 7 16:05:34 2006 1144317813FILE job queued

    # 1 Fri Apr 7 16:05:34 2006 1144317813FILE - Starting check

    # 1 Fri Apr 7 16:05:34 2006 opening file list

    # 1 Fri Apr 7 16:05:34 2006 1144317813FILE - OK -

    # M Fri Apr 7 16:06:04 2006 Monitoring Rule Process Watcher: 1 found

    # M Fri Apr 7 16:06:06 2006 1144317813FILE job queued

    # 1 Fri Apr 7 16:06:06 2006 1144317813FILE - Starting check

    # 1 Fri Apr 7 16:06:06 2006 opening file list

    # 1 Fri Apr 7 16:06:06 2006 1144317813FILE - OK -

    # M Fri Apr 7 16:06:36 2006 1144317813FILE job queued

    # 1 Fri Apr 7 16:06:37 2006 1144317813FILE - Starting check

    # 1 Fri Apr 7 16:06:37 2006 opening file list

    # 1 Fri Apr 7 16:06:37 2006 1144317813FILE - OK -

    # M Fri Apr 7 16:07:08 2006 1144317813FILE job queued

    # 1 Fri Apr 7 16:07:09 2006 1144317813FILE - Starting check

    # 1 Fri Apr 7 16:07:09 2006 opening file list

    # 1 Fri Apr 7 16:07:09 2006 1144317813FILE - OK -

    # M Fri Apr 7 16:07:38 2006 Monitoring Rule Process Watcher: 1 found

    # M Fri Apr 7 16:07:41 2006 1144317813FILE job queued

    # 1 Fri Apr 7 16:07:41 2006 1144317813FILE - Starting check

    # 1 Fri Apr 7 16:07:41 2006 opening file list

    # 1 Fri Apr 7 16:07:41 2006 1144317813FILE - OK -

    # M Fri Apr 7 16:08:12 2006 1144317813FILE job queued

    # 1 Fri Apr 7 16:08:13 2006 1144317813FILE - Starting check

    # 1 Fri Apr 7 16:08:13 2006 opening file list

    # 1 Fri Apr 7 16:08:13 2006 1144317813FILE - OK -

    # M Fri Apr 7 16:08:13 2006 Runaway job: A1144317813FILE.0.897613525390625

    # M Fri Apr 7 16:08:43 2006 1144317813FILE job queued

    # 1 Fri Apr 7 16:08:44 2006 1144317813FILE - Starting check

    # 1 Fri Apr 7 16:08:44 2006 opening file list

    # 1 Fri Apr 7 16:08:44 2006 1144317813FILE - OK -

    # M Fri Apr 7 16:09:14 2006 Monitoring Rule Process Watcher: 1 found

    # M Fri Apr 7 16:09:16 2006 1144317813FILE job queued

    # M Fri Apr 7 16:09:16 2006 Runaway job: A1144317813FILE.0.987945556640625

    # 1 Fri Apr 7 16:09:16 2006 1144317813FILE - Starting check

    # 1 Fri Apr 7 16:09:16 2006 opening file list

    # 1 Fri Apr 7 16:09:16 2006 1144317813FILE - OK -

    # M Fri Apr 7 16:09:47 2006 1144317813FILE job queued

    # 1 Fri Apr 7 16:09:47 2006 1144317813FILE - Starting check

    # 1 Fri Apr 7 16:09:47 2006 opening file list

    # 1 Fri Apr 7 16:09:47 2006 1144317813FILE - OK -

    # M Fri Apr 7 16:10:17 2006 1144317813FILE job queued

    # 1 Fri Apr 7 16:10:18 2006 1144317813FILE - Starting check

    # 1 Fri Apr 7 16:10:18 2006 opening file list

    # 1 Fri Apr 7 16:10:18 2006 1144317813FILE - OK -

    # M Fri Apr 7 16:10:49 2006 1144317813FILE job queued

    # M Fri Apr 7 16:10:50 2006 Monitoring Rule Process Watcher: 1 found

    # 1 Fri Apr 7 16:10:50 2006 1144317813FILE - Starting check

    # 1 Fri Apr 7 16:10:50 2006 opening file list

    # 1 Fri Apr 7 16:10:50 2006 1144317813FILE - OK -

    # M Fri Apr 7 16:11:21 2006 1144317813FILE job queued

    # 1 Fri Apr 7 16:11:21 2006 1144317813FILE - Starting check

    # 1 Fri Apr 7 16:11:21 2006 opening file list

    # 1 Fri Apr 7 16:11:21 2006 1144317813FILE - OK -

    # M Fri Apr 7 16:11:51 2006 1144317813FILE job queued

    # 1 Fri Apr 7 16:11:51 2006 1144317813FILE - Starting check

    # 1 Fri Apr 7 16:11:51 2006 opening file list

    # 1 Fri Apr 7 16:11:51 2006 1144317813FILE - OK -

    # M Fri Apr 7 16:12:21 2006 1144317813FILE job queued

    # 1 Fri Apr 7 16:12:22 2006 1144317813FILE - Starting check

    # 1 Fri Apr 7 16:12:22 2006 opening file list

    # 1 Fri Apr 7 16:12:22 2006 1144317813FILE - OK -

    # M Fri Apr 7 16:12:24 2006 Monitoring Rule Process Watcher: 1 found

    # M Fri Apr 7 16:12:53 2006 1144317813FILE job queued

    # 1 Fri Apr 7 16:12:54 2006 1144317813FILE - Starting check

    # 1 Fri Apr 7 16:12:54 2006 opening file list

    # 1 Fri Apr 7 16:12:54 2006 1144317813FILE - OK -

    # M Fri Apr 7 16:13:24 2006 1144317813FILE job queued

    # 1 Fri Apr 7 16:13:25 2006 1144317813FILE - Starting check

    # 1 Fri Apr 7 16:13:25 2006 opening file list

    # 1 Fri Apr 7 16:13:25 2006 1144317813FILE - OK -

    # M Fri Apr 7 16:13:56 2006 1144317813FILE job queued

    # 1 Fri Apr 7 16:13:56 2006 1144317813FILE - Starting check

    # 1 Fri Apr 7 16:13:56 2006 opening file list

    # 1 Fri Apr 7 16:13:56 2006 1144317813FILE - OK -

    # M Fri Apr 7 16:14:00 2006 Monitoring Rule Process Watcher: 1 found

    # M Fri Apr 7 16:14:27 2006 1144317813FILE job queued

    # 1 Fri Apr 7 16:14:28 2006 1144317813FILE - Starting check

    # 1 Fri Apr 7 16:14:28 2006 opening file list

    # 1 Fri Apr 7 16:14:28 2006 1144317813FILE - OK -

    # M Fri Apr 7 16:14:59 2006 1144317813FILE job queued

    # 1 Fri Apr 7 16:14:59 2006 1144317813FILE - Starting check

    # 1 Fri Apr 7 16:14:59 2006 opening file list

    # 1 Fri Apr 7 16:14:59 2006 1144317813FILE - OK -

    # M Fri Apr 7 16:15:29 2006 1144317813FILE job queued

    # 1 Fri Apr 7 16:15:30 2006 1144317813FILE - Starting check

    # 1 Fri Apr 7 16:15:30 2006 opening file list

    # 1 Fri Apr 7 16:15:30 2006 1144317813FILE - OK -

    # M Fri Apr 7 16:15:35 2006 Monitoring Rule Process Watcher: 1 found

    # M Fri Apr 7 16:16:00 2006 1144317813FILE job queued

    # 1 Fri Apr 7 16:16:01 2006 1144317813FILE - Starting check

    # 1 Fri Apr 7 16:16:01 2006 opening file list

    # 1 Fri Apr 7 16:16:01 2006 1144317813FILE - OK -

    # M Fri Apr 7 16:16:31 2006 1144317813FILE job queued

    # 1 Fri Apr 7 16:16:31 2006 1144317813FILE - Starting check

    # 1 Fri Apr 7 16:16:31 2006 opening file list

    # 1 Fri Apr 7 16:16:31 2006 1144317813FILE - OK -

    # M Fri Apr 7 16:17:01 2006 1144317813FILE job queued

    # 1 Fri Apr 7 16:17:01 2006 1144317813FILE - Starting check

    # 1 Fri Apr 7 16:17:01 2006 opening file list

    # 1 Fri Apr 7 16:17:01 2006 1144317813FILE - OK -

    # M Fri Apr 7 16:17:11 2006 Monitoring Rule Process Watcher: 1 found

    # M Fri Apr 7 16:17:31 2006 1144317813FILE job queued

    # 1 Fri Apr 7 16:17:32 2006 1144317813FILE - Starting check

    # 1 Fri Apr 7 16:17:32 2006 opening file list

    # 1 Fri Apr 7 16:17:32 2006 1144317813FILE - OK -

    # M Fri Apr 7 16:18:03 2006 1144317813FILE job queued

    # 1 Fri Apr 7 16:18:04 2006 1144317813FILE - Starting check

    # 1 Fri Apr 7 16:18:04 2006 opening file list

    # 1 Fri Apr 7 16:18:04 2006 1144317813FILE - OK -

    # M Fri Apr 7 16:18:35 2006 1144317813FILE job queued

    # 1 Fri Apr 7 16:18:36 2006 1144317813FILE - Starting check

    # 1 Fri Apr 7 16:18:36 2006 opening file list

    # 1 Fri Apr 7 16:18:36 2006 1144317813FILE - OK -

    # M Fri Apr 7 16:18:45 2006 Monitoring Rule Process Watcher: 1 found

    # M Fri Apr 7 16:19:07 2006 1144317813FILE job queued

    # 1 Fri Apr 7 16:19:08 2006 1144317813FILE - Starting check

    # 1 Fri Apr 7 16:19:08 2006 opening file list

    # 1 Fri Apr 7 16:19:08 2006 1144317813FILE - OK -

    # M Fri Apr 7 16:19:38 2006 1144317813FILE job queued

    # 1 Fri Apr 7 16:19:38 2006 1144317813FILE - Starting check

    # 1 Fri Apr 7 16:19:38 2006 opening file list

    # 1 Fri Apr 7 16:19:38 2006 1144317813FILE - OK -

    # M Fri Apr 7 16:20:09 2006 1144317813FILE job queued

    # 1 Fri Apr 7 16:20:10 2006 1144317813FILE - Starting check

    # 1 Fri Apr 7 16:20:10 2006 opening file list

    # 1 Fri Apr 7 16:20:10 2006 1144317813FILE - OK -

    # M Fri Apr 7 16:20:22 2006 Monitoring Rule Process Watcher: 1 found

    # M Fri Apr 7 16:20:41 2006 1144317813FILE job queued

    # 1 Fri Apr 7 16:20:41 2006 1144317813FILE - Starting check

    # 1 Fri Apr 7 16:20:41 2006 opening file list

    # 1 Fri Apr 7 16:20:41 2006 1144317813FILE - OK -

    # M Fri Apr 7 16:21:11 2006 1144317813FILE job queued

    # 1 Fri Apr 7 16:21:11 2006 1144317813FILE - Starting check

    # 1 Fri Apr 7 16:21:11 2006 opening file list

    # 1 Fri Apr 7 16:21:11 2006 1144317813FILE - OK -

    # M Fri Apr 7 16:21:41 2006 1144317813FILE job queued

    # 1 Fri Apr 7 16:21:41 2006 1144317813FILE - Starting check

    # 1 Fri Apr 7 16:21:41 2006 opening file list

    # 1 Fri Apr 7 16:21:41 2006 1144317813FILE - OK -

    # M Fri Apr 7 16:21:57 2006 Monitoring Rule Process Watcher: 1 found

    # M Fri Apr 7 16:22:11 2006 1144317813FILE job queued

    # 1 Fri Apr 7 16:22:11 2006 1144317813FILE - Starting check

    # 1 Fri Apr 7 16:22:11 2006 opening file list

    # 1 Fri Apr 7 16:22:11 2006 1144317813FILE - OK -

    # M Fri Apr 7 16:22:41 2006 1144317813FILE job queued

    # 1 Fri Apr 7 16:22:42 2006 1144317813FILE - Starting check

    # 1 Fri Apr 7 16:22:42 2006 opening file list

    # 1 Fri Apr 7 16:22:42 2006 1144317813FILE - OK -

    # M Fri Apr 7 16:23:12 2006 1144317813FILE job queued

    # 1 Fri Apr 7 16:23:13 2006 1144317813FILE - Starting check

    # 1 Fri Apr 7 16:23:13 2006 opening file list

    # 1 Fri Apr 7 16:23:13 2006 1144317813FILE - OK -

    # M Fri Apr 7 16:23:34 2006 Monitoring Rule Process Watcher: 1 found

    # M Fri Apr 7 16:23:44 2006 1144317813FILE job queued

    # 1 Fri Apr 7 16:23:45 2006 1144317813FILE - Starting check

    # 1 Fri Apr 7 16:23:45 2006 opening file list

    # 1 Fri Apr 7 16:23:45 2006 1144317813FILE - OK -

    # M Fri Apr 7 16:24:15 2006 1144317813FILE job queued

    # 1 Fri Apr 7 16:24:15 2006 1144317813FILE - Starting check

    # 1 Fri Apr 7 16:24:15 2006 opening file list

    # 1 Fri Apr 7 16:24:15 2006 1144317813FILE - OK -

    # M Fri Apr 7 16:24:45 2006 1144317813FILE job queued

    # 1 Fri Apr 7 16:24:45 2006 1144317813FILE - Starting check

    # 1 Fri Apr 7 16:24:45 2006 opening file list

    # 1 Fri Apr 7 16:24:45 2006 1144317813FILE - OK -

    # M Fri Apr 7 16:25:09 2006 Monitoring Rule Process Watcher: 1 found

    # M Fri Apr 7 16:25:15 2006 1144317813FILE job queued

    # 1 Fri Apr 7 16:25:15 2006 1144317813FILE - Starting check

    # 1 Fri Apr 7 16:25:15 2006 opening file list

    # 1 Fri Apr 7 16:25:15 2006 1144317813FILE - OK -

    # M Fri Apr 7 16:25:46 2006 1144317813FILE job queued

    # 1 Fri Apr 7 16:25:47 2006 1144317813FILE - Starting check

    # 1 Fri Apr 7 16:25:47 2006 opening file list

    # 1 Fri Apr 7 16:25:47 2006 1144317813FILE - OK -

    # M Fri Apr 7 16:26:18 2006 1144317813FILE job queued

    # 1 Fri Apr 7 16:26:19 2006 1144317813FILE - Starting check

    # 1 Fri Apr 7 16:26:19 2006 opening file list

    # 1 Fri Apr 7 16:26:19 2006 1144317813FILE - OK -

    # M Fri Apr 7 16:26:44 2006 Monitoring Rule Process Watcher: 1 found

    # M Fri Apr 7 16:26:49 2006 1144317813FILE job queued

    # 1 Fri Apr 7 16:26:49 2006 1144317813FILE - Starting check

    # 1 Fri Apr 7 16:26:49 2006 opening file list

    # 1 Fri Apr 7 16:26:49 2006 1144317813FILE - OK -

    # M Fri Apr 7 16:27:19 2006 1144317813FILE job queued

    # 1 Fri Apr 7 16:27:20 2006 1144317813FILE - Starting check

    # 1 Fri Apr 7 16:27:20 2006 opening file list

    # 1 Fri Apr 7 16:27:20 2006 1144317813FILE - OK -

    # M Fri Apr 7 16:27:51 2006 1144317813FILE job queued

    # 1 Fri Apr 7 16:27:52 2006 1144317813FILE - Starting check

    # 1 Fri Apr 7 16:27:52 2006 opening file list

    # 1 Fri Apr 7 16:27:52 2006 1144317813FILE - OK -
  • AdministratorAdministrator
    Can you give the content of your filelist.txt file? It is not reading even one file from that list.
  • capik79capik79
    C:ShaffiqtransactionvoidnavReporthjjkkk.cfm

    C:Shaffiqtransactionvoidprocess.cfm



    1st file not exist, 2nd file exist. But it not return DOWN. Thx for your prompt action.





    Regards,
  • AdministratorAdministrator
    It is not executing the file list.



    When executing the file list it should return something like:

    # test Fri Apr 7 09:34:35 2006 TEST - Starting check

    # test Fri Apr 7 09:34:35 2006 opening file list

    # test Fri Apr 7 09:34:35 2006 testing c:serverscheck.mdb

    # test Fri Apr 7 09:34:35 2006 testing c:serverscheck2.mdb

    # test Fri Apr 7 09:34:35 2006 testing c:serverscheck.mdb

    # test Fri Apr 7 09:34:35 2006 TEST - DOWN? - c:serverscheck2.mdb not found



    Please reinstall ServersCheck correctly, make sure the file name is "filelist.txt" with one filename per line.
  • capik79capik79
    Hi Admin,

    Thx for the very supportive action and reply.

    I manage to perform that task after reinstall it.

    But the check will return only 1 file that not exist. Is got 2 or 3 files it wil return the last row of file, that not exist. Is there any way to return all files taht not exist?



    Btw thank for the great support.



    Regards
  • AdministratorAdministrator
    No it will return only the last file it found that does not exist
This discussion has been closed.