Results 1 to 12 of 12

Thread: Watchdog for thttp + Samba2

  1. #1
    Join Date
    Nov 2005
    Location
    Germany
    Posts
    423

    Watchdog for thttp + Samba2

    Hi,

    the original http-Server has a Watchdog.
    When you kill http the the Watchdog restart the http-Server.

    Is it possible to use this Watchdog for a second thttp-Server and for Samba2?

    Thank.

  2. #2
    Quote Originally Posted by WLAN-Fan View Post
    Hi,

    the original http-Server has a Watchdog.
    When you kill http the the Watchdog restart the http-Server.

    Is it possible to use this Watchdog for a second thttp-Server and for Samba2?

    Thank.
    Monit?

  3. #3
    Join Date
    Feb 2007
    Location
    Moscow, Russia
    Posts
    3,805

  4. #4
    Join Date
    Nov 2005
    Location
    Germany
    Posts
    423

    Monit ... Watchdog for Linux

    Hi,
    Quote Originally Posted by ABATAPA View Post
    Monit?
    Do you mean this: ?
    Quelle: http://www.tildeslash.com/monit/
    Code:
    monit is a utility for managing and monitoring, processes, files, directories and devices on a UNIX system. Monit conducts automatic maintenance and repair and can execute meaningful causal actions in error situations.
    Is this the Original Watchdog?
    Or must I install this with ipkg, for example monit.ipkg?
    PHP Code:
    ipkg list | grep monit
    arpwatch 
    2.1a15-The ethernet monitor program; for keeping track of ethernet/ip address pairings.
    atop 1.21-A better top with history monitoring
    ctcs 
    1.4-CTorrent Control Server (CTCSis an interface for monitoring and managing Enhanced CTorrent clients
    monit 
    4.10.1-monit is a utility for managing and monitoringprocessesfilesdirectories and devices on a UNIX systemmonit conducts auto
    nagios
    -plugins 1.4.2-The nagios (network monitor systemplugins
    nload 
    0.6.0-Nload is a console application which monitors network traffic and bandwidth usage in real time
    ntop 
    3.3-Network monitoring software
    smartmontools 
    5.37-Utility programs to control and monitor (SMARTbuilt into most modern ATA and SCSI hard disks.
    vnstat 1.6-Network traffic monitor with log 
    Quote Originally Posted by al37919 View Post
    Sorry, i dont understand.
    What should I do?

    Thanks.
    Last edited by WLAN-Fan; 26-01-2008 at 13:25.

  5. #5
    Join Date
    Jul 2007
    Location
    Austria
    Posts
    1,336
    look at: http://wl500g.info/showpost.php?p=79712&postcount=2

    As you can see, it's simple to add a watchdog and/or autostart for any process.

  6. #6
    Join Date
    Nov 2004
    Location
    Sweden
    Posts
    259

  7. #7
    Join Date
    Nov 2005
    Location
    Germany
    Posts
    423

    It is possible to use the original Watchdog?

    Hi,

    it is possible to use the original Watchdog?
    Because i have Porblems with cron.

    Cron is on my system a CPU-Killer at the Moment.

    Thanks.
    Attached Images Attached Images  

  8. #8
    Join Date
    Jul 2007
    Location
    Austria
    Posts
    1,336
    Are you kidding?
    Cron is running on your system and uses 0.0 % of your cpu!
    Just input a new entry to your crontab and call your cript as stated here http://wl500g.info/showpost.php?p=79712&postcount=2
    Did you know, that you can call your process every second?
    The big advantage of this solution is the fact, that you can add every process to your watchdog.

    Maybe there is an other reason, why you do not want to use cron, but then please let us know.

    Further, as I can see, your cron process doesn't use much of your cpu, disable all other sripts which are started or watched by cron. Maybe there is a fault.

  9. #9
    Join Date
    Nov 2005
    Location
    Germany
    Posts
    423
    Hi,
    Quote Originally Posted by newbiefan View Post
    Are you kidding?
    Cron is running on your system and uses 0.0 % of your cpu!
    No, it is not al the time on a day.

    This have a found by "find | grep watchdog":
    Code:
    find | grep watchdog
    ./sbin/watchdog
    ./tmp/var/run/watchdog.pid
    ./opt/include/asm-sparc64/watchdog.h
    ./opt/include/linux/watchdog.h
    ./proc/7/fd: No such file or directory
    does it help to use the original watchdog for use with own programes?

    By.

  10. #10
    Join Date
    Feb 2007
    Location
    Moscow, Russia
    Posts
    3,805
    no, it will not help.
    To use original watchdog you should take its source, implement what you want, and compile. So better forget it.

  11. #11
    Join Date
    Nov 2005
    Location
    Germany
    Posts
    423

    watchdog.conf

    Hi,
    Quote Originally Posted by al37919 View Post
    no, it will not help.
    To use original watchdog you should take its source, implement what you want, and compile. So better forget it.
    Ok, why is the configuration in the watchdogbinary and not in an watchdog.conf?

    By.

  12. #12
    Join Date
    Feb 2007
    Location
    Moscow, Russia
    Posts
    3,805
    why... It's a rethorical question. Because it is done in such way, because it is intended to do only what it is intended to do, etc. Moreover, watchdog is not a separate binary, but a part of asus's rc binary. It's a good piece of shit, trust me.

Similar Threads

  1. Watchdog thttp + Samba2 mit aufnehmen
    By WLAN-Fan in forum German Discussion - Deutsch (DE)
    Replies: 6
    Last Post: 28-01-2008, 11:57
  2. WL-HDD: Vista und Samba2: kein Speicherplatz??
    By *deLuXe* in forum German Discussion - Deutsch (DE)
    Replies: 10
    Last Post: 21-01-2008, 10:09
  3. Samba2: mehrere User?
    By strubbl in forum German Discussion - Deutsch (DE)
    Replies: 2
    Last Post: 09-11-2007, 20:22
  4. Samba2: SWAT-Einstellungen
    By plan4b in forum German Discussion - Deutsch (DE)
    Replies: 15
    Last Post: 30-08-2007, 15:06

Posting Permissions

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