1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Tivo nightly update - status message alert

Discussion in 'TiVo Coffee House - TiVo Discussion' started by ps56k, Mar 16, 2010.

  1. ps56k

    ps56k New Member

    133
    0
    Oct 6, 2006
    Chicago...
    have Tivo HD - connected via Ethernet to our home network. Just wondering if there is a "status message" alert if the nightly transfer fails to connect.

    Basically, if someone unplugs the Ethernet cable, I'd like to know about it via an onscreen alert message (like you see with channel changes or software updates) without having to check the Account Info to see when the last Update was performed and if it was successful.
     
  2. socrplyr

    socrplyr Active Member

    1,076
    1
    Jul 19, 2006
    I don't believe there is, but if the guide data gets down to just a couple of days, it will alert you then (via a message). So I guess that counts as a 10 day delayed alert or so. :)
     
  3. HomeUser

    HomeUser Active Member

    2,376
    1
    Jan 12, 2003
    A2 Michigan
    If you have a PC that runs 24/7 There are a lot of free networking monitoring tools out there you can run. Most have an e-mail notification option for when a device like your TiVo stops responding.

    Easy to setup The Dude

    I use Nagios It is an industrial grade network/resource monitor and takes a little research to set it up.
     
  4. Thom

    Thom Active Member

    1,694
    14
    Jun 5, 2000
    Whittier,...
    On my series 3, I get a message that pops up at the 7 day mark. I can't remember if it is 7 days without a call in, or 7 days until guide data runs out.

    This is on a machine that uses a phone line, not ethernet.
     
  5. windracer

    windracer joined the 10k club

    11,580
    3
    Jan 3, 2003
    St. Pete, FL
    I use Nagios as well, though it's probably overkill for what the OP is trying to accomplish.

    [​IMG]
     
  6. bmgoodman

    bmgoodman Member

    970
    0
    Dec 20, 2000
    Northern...
    I'd appreciate if you could write up a few sentences on what you're monitoring on your Tivo boxes and how you added them. Though maybe it's way too difficult to explain succinctly. The tool does seem a little daunting so far! Thanks.
     
  7. TheDreamer

    TheDreamer New Member

    3
    0
    May 2, 2008
    Manhattan, KS
    Hmmm, where do I find the nagios service checks for these?
     
  8. windracer

    windracer joined the 10k club

    11,580
    3
    Jan 3, 2003
    St. Pete, FL
    For HMO services I am simply using the check_http nagios plugin to ping port 80 on the TiVo. For TiVoToGo services, I am using the same plugin but with the -S flag to check port 443 (https).

    The free space one is a bit trickier. I'm using the old XML/RSS feed output method to generate an Now Playing List page like this for each of my TiVos. Then I use a custom check_tivo Nagios plugin (attached) that parses that output and checks the "Available Space" line to see how much space is left.

    To use that, you'd need to add a new custom command for the plugin (i.e., in your custom_commands.cfg file):

    Code:
    # 'check_tivo' command definition
    define command{
            command_name    check_tivo
            command_line    $USER1$/check_tivo $ARG1$ $ARG2$ $ARG3$
            }
    
    And then define a service to use the command:

    Code:
    define service{
            use                       network-service-occasional
            host_name                 tivo-bedroom
            service_description       Free Space
            servicegroups             file_services
            check_command             check_tivo!25600!12800!Bedroom
            }
    
    The above service will trigger a warning if the free disk space goes below 25gb and a critical alert if it goes below 12gb.

    Finally, you'll need to edit the check_tivo plugin to customize the URL where the XML file is available (you'll see www.windracer.net in there currently).

    Hope that helps!
     

    Attached Files:

  9. rick430

    rick430 New Member

    7
    0
    May 14, 2007
    I also use najious and love it.
     
  10. mpogge

    mpogge New Member

    8
    0
    Sep 12, 2010
    I have use najious and enjoy its ease of use!
     
  11. TheDreamer

    TheDreamer New Member

    3
    0
    May 2, 2008
    Manhattan, KS
    Hmmm, I had tried https checking, but didn't yield a usable result....it returns WARNING, and due to 401 Authorization required, and the check_http only does basic auth and the TiVo wants digest auth.

    Guess I need to investigate this further....

    Space check is cool, though the output of my page isn't formatted quite the way the check_tivo wanted....

    The Dreamer
     
  12. windracer

    windracer joined the 10k club

    11,580
    3
    Jan 3, 2003
    St. Pete, FL
    Ah, I looked into this more and apparently I wrote a "custom" service for the https check, which assumes the 401 error is OK:

    Code:
    # 'check_tivo_https' command definition
    define command{
            command_name    check_tivo_https
            command_line    $USER1$/check_http -I $HOSTADDRESS$ -S -e "HTTP/1.1 401 Authorization Required"
            }
    
    and then:
    Code:
    define service{
            use                       network-service-occasional
            hostgroup_name            tivos
            service_description       TiVoToGo
            servicegroups             media_services
            check_command             check_tivo_https
            }
    
    Sorry I missed that before. ;)
     
  13. TheDreamer

    TheDreamer New Member

    3
    0
    May 2, 2008
    Manhattan, KS
    Well, I went with building the check_curl plugin, which can auth into my TiVo. :D

    I always worry about running out of space on my TiVos, because I'll have stuff on there that is years old (even predating when I upgraded storage, because I transferred stuff back....but still haven't gotten to watching).

    Now hopefully I'll get enough notice before it starts deleting stuff on me....again.

    The Dreamer.
     

Share This Page