Results 1 to 7 of 7

Thread: YacMon - YAC server log monitor / automatic email notification for Windows.

  1. #1
    Join Date
    Feb 2004
    Location
    Chicago
    Posts
    877

    YacMon - YAC server log monitor / automatic email notification for Windows.

    YacMon is a nifty little command line utility that I wrote that monitors changes made to the YAC server log file, in order to detect new incoming calls received.

    When new calls are detected, you can then specify that the new caller ID data be automatically emailed and/or text messaged to your list of addresses specified.

    In this way, even when you are away from home, you can be immediately notified when someone has called your home, by receiving an email and/or text message on your cell phone, which will include the applicable caller ID data.

    Special thanks http://sunflowerhead.com & Jensen Harris, the writer of YAC, without which YacMon would be pointless.

    Requirements:

    - The YAC server v0.16 (yac.exe) must be running on a Windows 98/XP/2000 machine
    - Yac.exe MUST be installed in the c:\program files\YAC\ directory.
    - YAC server logging MUST be enabled, by placing a checkmark for 'write call log', via the YAC Preferences menu.
    - Internet Explorer 4.0 (or greater), if using the default YacMon HTTP mail server.

    Version History:

    YacMon v1.0 - New Release
    YacMon v2.0 - Integrated SMTP client protocol for using your own or your ISP's mail server in order to send caller ID data, via the -m switch.
    YacMon v2.1 - Coding optimizations (no feature changes). Better memory management. Updated Readme files.
    YacMon v2.2 - Added -x flag, to pass in external file listing names/numbers for which a new call notification should NOT be sent. Added -s flag, which will send a seprate notification for each new call received between interval checks.
    Last edited by JohnSorTivo; 01-06-2005 at 11:52 PM.
    1 HR10-250, upgraded to 570 SD hours, hacked, 6.3b.
    1 HDVR2, upgraded to 206 hours, hacked, 6.2.
    1 HDVR2, upgraded to 168 hours, hacked, 6.2.
    tyExtract - Automated batch extraction utility
    YacMon - YAC Server log monitor for new call(s) notification via email/text message

  2. #2
    Join Date
    Feb 2004
    Location
    Chicago
    Posts
    877

    SMTP Client Protocol Added

    Version 2.0 (released 11/17/2004) integrates client side SMTP capability. This enables YacMon to use any SMTP server you specify, and are able to use, for sending your caller ID data. The previous version could only send mail by making a connection to the remote YacMon HTTP mail server for sending the data. While this functionality is still present, and active by default, it can be overriden, in order to use your own SMTP server, by passing in, via the '-m' switch, the necessary values, i.e:

    -m username;password;mail.yourserver.com

    See the readme (readme.txt) in the attached .zip file for details.
    Last edited by JohnSorTivo; 11-17-2004 at 02:27 PM.
    1 HR10-250, upgraded to 570 SD hours, hacked, 6.3b.
    1 HDVR2, upgraded to 206 hours, hacked, 6.2.
    1 HDVR2, upgraded to 168 hours, hacked, 6.2.
    tyExtract - Automated batch extraction utility
    YacMon - YAC Server log monitor for new call(s) notification via email/text message

  3. #3
    Join Date
    Feb 2004
    Location
    Chicago
    Posts
    877
    I've received a few PM's from people having difficulting getting YacMon to run as a service, by following the instructions I've inlcuded in the RunAsAService.zip file.

    Specifically, when populating the 'Start parameters' field on the 'General' tab for the YacMon service, a Windows error is returned, to the effect of:

    "Could Not Start The YacMon Service on Local Computer. The service did not return an error. This could be an internal Windows error or an Internal service error. If the problem persists, please contact your system administrator".

    You can circumvent this problem by including the start parmeters in the same location where you point to the YacMon executable when making your registry edits, rather than using the 'Start parameters' field on the 'General' tab for your service.

    Specifically, on Step 9 of the instructions, the current instructions state:

    Step 9
    The String Editor Dialog box will open up. Enter the full path to the YacMon executable:
    c:\program files\YAC\YacMon.exe

    If you have Windows 2000, double click Application and type in c:\program files\YAC\YacMon.exe for the value data.

    Click [OK].

    Close it all up and exit the REGEDT32.EXE program.

    Modify the line where you point to the YacMon executable, to include your start parameters as well:

    c:\program files\YAC\YacMon.exe -e youremail -i interval -m user;pass;server -g

    I've updated the instructions as well, to use this option as an alternative, when receiving the above referenced error, or if you are unable to populate the 'Start parameters' field from the services menu (grayed out).
    Last edited by JohnSorTivo; 11-22-2004 at 06:55 PM.
    1 HR10-250, upgraded to 570 SD hours, hacked, 6.3b.
    1 HDVR2, upgraded to 206 hours, hacked, 6.2.
    1 HDVR2, upgraded to 168 hours, hacked, 6.2.
    tyExtract - Automated batch extraction utility
    YacMon - YAC Server log monitor for new call(s) notification via email/text message

  4. #4
    Join Date
    Feb 2004
    Location
    Chicago
    Posts
    877
    Version 2.1 (released 11/22/2004) enables better memory management for reduced load on your PC while running as a service. I've also updated the REAMDE files to reflect any changes / enhancements made since version 1.0.

    Also, if for any reason you were having difficulty getting version 2.0 to run successfully, download v2.1.

    Please report any questions, problems, or successes , you have with YacMon in this thread.

    Thanks,

    John
    Last edited by JohnSorTivo; 11-22-2004 at 07:47 PM.
    1 HR10-250, upgraded to 570 SD hours, hacked, 6.3b.
    1 HDVR2, upgraded to 206 hours, hacked, 6.2.
    1 HDVR2, upgraded to 168 hours, hacked, 6.2.
    tyExtract - Automated batch extraction utility
    YacMon - YAC Server log monitor for new call(s) notification via email/text message

  5. #5
    Join Date
    Feb 2004
    Location
    Chicago
    Posts
    877
    Version 2.2 (released 12/6/2004) introduces the following additional features, as outlined in the included readme file:

    Exclusions List:
    The -x flag enables you to specify an input file that lists, on a separate line, each Name or Number that YacMon should ignore when receiving a call containing the included name or number in the caller ID data. In this manner, no email/text message will be sent for any of the names or numbers listed in the exclude file. The exclude file MUST be located in the same directory as the YAC executable, c:\program files\YAC, and the values you enter must be EXACTLY as they appear in your yac-log.txt file.

    Also, the exclude file is read only once, at program start up. So, if you make any changes to your exclude file, you must stop and re-start YacMon, in order for these changes to be utilized. To use an exclude file, name it anything you want, and again, place this file in c:\program files\YAC\. If you called the file exclude.txt, you would then supply this list to YacMon, using '-x exclude.txt'.

    Exclude.txt can then contain a mix of names and numbers to ignore, such as:

    YAC Test Call
    (773) 555-5555
    Mother In-Law
    Bill Collector

    As you can see from the examples above, you only need to include EITHER the name or the number of a particular caller to ignore, but not BOTH.

    Just make sure to place each unique entry on a separate line. If you typically receive new call notifications while away, and use your cell phone (or work phone, etc) to then call home and check messages, you can make sure you prevent YacMon from sending another new call notification for the call you are making to check your messages, by including your number in the exclude file.

    Send separate emails for EVERY call received:
    The -s flag (does not require a value) allows you to send each new call received as a 'separate' email message.

    The default behavior (not supplying the -s flag) sends all calls received between each interval check as a single email, where each name/number is included on a separate line within the body of the same email / message, and the Subject line of the message is defaulted to 'New Call(s)'.

    If you are sending your caller ID data to a cell phone or text messaging system, some SMS text messaging services do not allow for the inclusion of any body content, and/or if you received many calls between interval checks, the body of some of your caller ID data may become truncated, causing the potential loss of data.

    When using the '-s' flag, since each call received within your checking interval will be sent as a separate message, rather than including the default subject 'New Call(s)' for the notification, the actual caller ID data will be sent as BOTH the subject and the BODY, for each message, individually. In this way, if the body is not received, you will still see the caller ID data in the subject line. In addition, this prevents you from having to view the BODY of your message, as all the applicable data will now appear directly in the subject of the message as well.

    When including the '-s' flag, if multiple calls are received between interval checks, in order to prevent placing too much load on the SMTP or HTTP mail server, YacMon will wait 5 seconds between sending each mail message.
    1 HR10-250, upgraded to 570 SD hours, hacked, 6.3b.
    1 HDVR2, upgraded to 206 hours, hacked, 6.2.
    1 HDVR2, upgraded to 168 hours, hacked, 6.2.
    tyExtract - Automated batch extraction utility
    YacMon - YAC Server log monitor for new call(s) notification via email/text message

  6. #6
    Join Date
    Apr 2004
    Posts
    9

    YacMon for Mac?

    Have you consider porting a simple YAC listener for Mac? I just bought a MacBook Air, which is wonderful, but YAC is such fantastic little utility that I really miss it's functionality on my notebook.

    Thanks for the wonderful program!

    bmckim@usa.com

  7. #7
    Join Date
    Jul 2004
    Posts
    594
    Deleted. Figured it out.
    Last edited by darrin75; 10-05-2009 at 04:43 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •