|
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. |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
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 |
#3
|
||||
|
||||
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 |
#4
|
|||
|
|||
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. |
#5
|
||||
|
||||
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 |
#6
|
||||
|
||||
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.6(64) i7-6700 3.4ghz, 8GB RAM, Win10 Pro, 1@ SSD +1@6TB WD Blue, 1 Quad HDHR, ( OTA Winegard HD8200U, CM4221HD), 1@ STP-HD200, 1@ Nvidia Shield , 1 @ Nvidia Shield new round version, 70" & 55" Sony's RV DVR: 2@SageTV v9.2.6, NUC8i5BEK 16GB, SS980Pro NVMe, 5TB Passport, 1@olderNUC, 2 Dual HDHR, , Winegard BatWing, 40", 32", 28" Sony's, Max Transit |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
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 |