SageTV Community  

Go Back   SageTV Community > SageTV Development and Customizations > SageTV v7 Customizations

Notices

SageTV v7 Customizations This forums is for discussing and sharing user-created modifications for the SageTV version 7 application created by using the SageTV Studio or through the use of external plugins. Use this forum to discuss plugins for SageTV version 7 and newer.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 10-20-2010, 10:39 PM
SkierHiker SkierHiker is offline
Sage Advanced User
 
Join Date: Jan 2006
Location: Issaquah, WA
Posts: 102
HD-PVR email Notification of Failures

My new HD-PVR just failed for the first time and I lost numerous recordings until I noticed the failure messages on the information page. Is there any way to have SageTV notify me via email of a HD-PVR failure? That way I could immediately restart the HD-PVR and that would minimize the number of lost recordings.
__________________
Server: SageTV 7, Google Mini, Intel Pentium 4, 3.0 Ghz, 2 GB RAM, 3 TB Sata, Comcast RNG110, ActiSys IR200L, Hauppauge HD-PVR.
Client: Windows 7 64 Bit, Dell Studio 15, Intel Core 2 Duo T8100 2.1 ghz Processor, 4 GB RAM, 300 GB IDE, Intel RDPDD Graphics, Dell HD Audio.
Network: Cat 6, 1G
Reply With Quote
  #2  
Old 10-20-2010, 11:19 PM
GKusnick's Avatar
GKusnick GKusnick is offline
SageTVaholic
 
Join Date: Dec 2005
Posts: 5,083
The SageAlert plugin can do this. However it's not free; you'll have to buy a license to use the email feature (or else modify the source code to remove the licensing requirement).
__________________
-- Greg
Reply With Quote
  #3  
Old 10-21-2010, 10:41 AM
darcilicious's Avatar
darcilicious darcilicious is offline
Sage Icon
 
Join Date: Jul 2009
Location: Venus
Posts: 1,306
If for some strange reason you don't feel like donating for the email feature you can use something like Growl to monitor the SageAlert messages and use Growl to send the email.
__________________
SageTV Server 7.1.x w/Gemstone and Plex Home Theater v1.0.10 w/PlexPass
HD-PVR w/v1.5.6 drivers / Hauppauge IR blaster / FiOS Extreme HD / Motorola QIP6200 / SPDIF+720p Fixed Output
on HP Media Center 8400F (Phenom 9500 QuadCore 2.2GHz, nVidia GeForce 8500 GT)
via Olevia 247TFHD/Onyko TX-SR606/Harmony 550/HP MediaSmart EX490 WHS w/12TB
Plex Media Server v0.9.9.5 on HP Touchsmart Envy 23 d16qd
Sonos Play:3, Connect / SimpleTV v2 / Roku 2 XS+Plex / iPhone 5 / iPad 2
Reply With Quote
  #4  
Old 10-21-2010, 11:11 PM
SkierHiker SkierHiker is offline
Sage Advanced User
 
Join Date: Jan 2006
Location: Issaquah, WA
Posts: 102
Just curious, where do the HD-PVR failure messages get logged to? I'm a MS.Net developer so if I could get access to the messages, I could write my own simple app. It would be even better if they were logged to the Windows Event Log. It would then be a no-brainer to get notified.

Edit: I found it, file name 'sagetvmsgs.log'. Now I just have to write my small app to monitor it for HD-PVR failures. Still would be nice if Sage had an option to log messages to the event log.
__________________
Server: SageTV 7, Google Mini, Intel Pentium 4, 3.0 Ghz, 2 GB RAM, 3 TB Sata, Comcast RNG110, ActiSys IR200L, Hauppauge HD-PVR.
Client: Windows 7 64 Bit, Dell Studio 15, Intel Core 2 Duo T8100 2.1 ghz Processor, 4 GB RAM, 300 GB IDE, Intel RDPDD Graphics, Dell HD Audio.
Network: Cat 6, 1G

Last edited by SkierHiker; 10-22-2010 at 01:45 AM.
Reply With Quote
  #5  
Old 10-22-2010, 01:59 AM
GKusnick's Avatar
GKusnick GKusnick is offline
SageTVaholic
 
Join Date: Dec 2005
Posts: 5,083
You can access the system message queue programmatically using the SystemMessageAPI (which is how SageAlert does it).

Sage doesn't use the Windows event log because it's written in Java to run on other platforms besides Windows. For the same reason, the SageTV API is designed for Java rather than .Net. There's a third-party plugin that lets you access the API via HTTP, which would be callable from .Net. But if you're serious about developing for Sage, you're better off in the long run learning Java and using the Java-based API.

And again, SageAlert does exactly what you want already. That's its whole purpose: to provide real-time notification of system events via email, SMS, Twitter, etc.
__________________
-- Greg
Reply With Quote
  #6  
Old 10-25-2010, 11:13 PM
bigbill's Avatar
bigbill bigbill is offline
Sage Aficionado
 
Join Date: Dec 2006
Location: San Diego, California
Posts: 444
I bet you could use the free version of Splunk to monitor that log and send email when it finds the string you want. Actually it can monitor any log or inbound syslog from routers/switches.. whatever you have that you to log.
__________________
Home DVR: SageTV v9.2.2(64)
i3-6100 3.7ghz, 4GB RAM, Win10 Pro, 3 small fast SSD +1@6TB WD Blue, 1 Quad HDHR, ( OTA Winegard HD8200U, CM4221HD), 1@ STP-HD200, 1@ Nvidia Shield , 1 @ Nvidia Shield new round, 70", 55" & 40" Sony's
RV DVR: 2@SageTV v9.2.2, NUC8i5BEK 16GB, SS980Pro NVMe, 5TB Passport, 1@olderNUC, 2 Dual HDHR, , Winegard BatWing, 40", 32", 28" Sony's, Max Transit
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Win7-64, HDHR, HD-PVR -- fixes n failures. teedublu SageTV Beta Test Software 0 06-07-2010 02:17 PM
email or text notification of system errors? RichardS SageTV Customizations 7 08-02-2009 11:45 PM
Periodic failures jake_friz SageTV Linux 2 06-14-2009 11:03 PM
DHCP failures on MVP lotus SageTV Media Extender 21 10-29-2006 10:43 PM
Email notification Wheemer General Discussion 9 04-18-2005 02:35 PM


All times are GMT -6. The time now is 05:56 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2022, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.